/* ============================================================
   下層ページ（固定ページ・一覧・記事・検索・404・フォーム）
   ※TOPでは読み込まない（functions.php で制御）
   ============================================================ */

:root {
    --pink: #e75297;
    --pink-light: #f9deea;
    --pink-pale: #f7d6d8;
    --yellow: #fff100;
    --yellow-deep: #fbe63b;
    --text: #545454;
    --line: #eadfe3;
    --radius: 20px;
    --content-max: 960px;
}

#body {
    color: var(--text);
}

.page-main {
    padding: 0 0 8rem;
}


/* ------------------------------------------------------------
   タイトルエリア
   ------------------------------------------------------------ */
.page-hero {
    position: relative;
    width: 95%;
    max-width: var(--desktop-max);
    margin: 0 auto;
    padding: 6rem 6% 5.5rem;
    border-radius: 30px;
    background-color: var(--pink-pale);
    background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 2px, transparent 2.5px);
    background-size: 22px 22px;
    overflow: clip;
}

/*.page-hero::after {
    content: "";
    position: absolute;
    width: 26rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--yellow-deep);
    right: -6rem;
    bottom: -14rem;
    opacity: .8;
}*/

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero-en {
    display: inline-block;
    padding: .3rem .9rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: #fff;
    color: var(--pink);
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .2em;
}

.page-hero-title {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    line-height: 1.45;
    letter-spacing: .05em;
    color: var(--text);
    max-width: 70%;
}

.page-hero-chara {
    position: absolute;
    z-index: 1;
    right: 6%;
    bottom: 0;
    width: clamp(7rem, 16vw, 13rem);
}

/* パンくず */
.breadcrumb {
    width: 90%;
    max-width: var(--desktop-max);
    margin: 1.25rem auto 0;
    font-size: .8rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .5rem;
    list-style: none;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: .5rem;
    color: #c9b7bd;
}

.breadcrumb a:hover {
    color: var(--pink);
}

.breadcrumb li[aria-current] {
    color: #999;
}


/* ------------------------------------------------------------
   本文カード
   ------------------------------------------------------------ */
.entry-card {
    width: 98%;
    max-width: var(--content-max);
    margin: 4rem auto 0;
    padding: 2rem clamp(1.5rem, 3vw, 3rem);
    border-radius: 30px;
    background: #fff;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-eyecatch {
    margin: 0 0 3rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.entry-eyecatch img {
    width: 100%;
}

/* 本文タイポグラフィ */
.entry-content {
    font-size: 1rem;
    line-height: 2;
    overflow-wrap: anywhere;
}

.entry-content > * + * {
    margin-top: 1.5em;
}

.entry-content p {
    line-height: 2;
}

.entry-content a {
    color: var(--pink);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.entry-content a:hover {
    text-decoration: none;
}

.entry-content h2 {
    margin-top: 3.5em;
    font-family: "LINE Seed JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    padding-bottom: .9rem;
    background: linear-gradient(to right, var(--yellow) 4rem, var(--line) 4rem) left bottom / 100% 4px no-repeat;
}

.entry-content h2 + * {
    margin-top: 1.75em;
}

.entry-content h3 {
    margin-top: 2.5em;
    font-size: 1.3rem;
    line-height: 1.5;
    padding-left: 1rem;
    border-left: 6px solid var(--pink);
}

.entry-content h4 {
    margin-top: 2em;
    font-size: 1.1rem;
    color: var(--pink);
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5em;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li::marker {
    color: var(--pink);
}

.entry-content li + li {
    margin-top: .4em;
}

.entry-content img {
    height: auto;
    border-radius: 12px;
}

.entry-content figure figcaption,
.entry-content .wp-element-caption {
    font-size: .8rem;
    color: #888;
    text-align: center;
    margin-top: .5rem;
}

.entry-content blockquote {
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    background: var(--pink-light);
    position: relative;
}

.entry-content blockquote::before {
    content: "“";
    position: absolute;
    top: -.4rem;
    left: 1rem;
    font-size: 3rem;
    line-height: 1;
    color: var(--pink);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.entry-content th,
.entry-content td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    line-height: 1.8;
}

.entry-content th {
    width: 28%;
    background: #fff8fb;
    font-weight: 700;
    white-space: nowrap;
}

.entry-content hr {
    border: 0;
    border-top: 2px dashed var(--line);
    margin: 3em 0;
}

.entry-content iframe {
    max-width: 100%;
}

.entry-content .emb_video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 12px;
}

.entry-content .emb_map iframe {
    width: 100%;
    border: 0;
    border-radius: 12px;
}

.entry-content .wp-block-button__link,
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--text) !important;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 5px 0 var(--text);
    transition: transform .2s, box-shadow .2s;
}

.entry-content .wp-block-button__link:hover,
.btn-primary:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 var(--text);
}

.entry-content .alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.entry-content .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: block; clear: both; }

.page-links {
    margin-top: 2rem;
    font-weight: 700;
}

.dp_sc_post_list ul {
    list-style: none;
    padding: 0;
}

.dp_sc_post_list li {
    border-bottom: 1px dashed var(--line);
}

.dp_sc_post_list a {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: .75rem 0;
    color: var(--text);
    text-decoration: none;
}


/* ------------------------------------------------------------
   一覧（共通）
   ------------------------------------------------------------ */
.archive-wrap {
    width: 90%;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.archive-desc {
    margin: 0 0 2.5rem;
    text-align: center;
}

.not-found,
.search-count {
    text-align: center;
    margin: 2rem 0;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .9rem;
    font-size: .8rem;
    letter-spacing: .05em;
}

.post-meta time {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
}

.post-updated {
    color: #999;
}

.post-cat {
    display: inline-block;
    padding: .2rem .8rem;
    border-radius: 999px;
    background: var(--pink-light);
    color: var(--pink);
    font-weight: 700;
    font-size: .75rem;
    line-height: 1.6;
}

/* カテゴリータブ */
.cat-tabs {
    margin: 0 0 3rem;
}

.cat-tabs ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
}

.cat-tabs a {
    display: block;
    padding: .6rem 1.4rem;
    border-radius: 999px;
    background: #fff;
    border: 2px solid var(--line);
    font-size: .9rem;
    font-weight: 700;
    transition: border-color .25s, background-color .25s, color .25s;
}

.cat-tabs a:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.cat-tabs a[aria-current] {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
}

/* カードグリッド（ブログ） */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem 2rem;
}

.post-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 0 rgba(84, 84, 84, .06);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
}

.post-card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px -12px rgba(231, 82, 151, .35);
}

.post-card-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--pink-light);
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.post-card-link:hover .post-card-thumb img {
    transform: scale(1.06);
}

.post-card-thumb .no-image {
    display: grid;
    place-items: center;
    height: 100%;
}

.post-card-thumb .no-image img {
    width: 45%;
    height: auto;
    object-fit: contain;
    opacity: .5;
}

.post-card-body {
    display: grid;
    gap: .75rem;
    padding: 1.5rem 1.5rem 1.75rem;
}

.post-card-title {
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-excerpt {
    font-size: .85rem;
    line-height: 1.8;
    color: #888;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* リスト（お知らせ） */
.news-list {
    max-width: var(--content-max);
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    padding: 1rem clamp(1.25rem, 4vw, 3rem);
}

.news-row + .news-row {
    border-top: 2px dashed var(--line);
}

.news-row a {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.6rem .25rem;
}

.news-row time {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: .9rem;
}

.news-row-title {
    font-weight: 500;
    line-height: 1.7;
    transition: color .25s;
}

.news-row-arrow {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23545454' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.news-row a:hover .news-row-title {
    color: var(--pink);
}

.news-row a:hover .news-row-arrow {
    transform: translateX(.35rem);
}

/* ページ送り */
.pagination {
    margin: 4rem 0 0;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.pagination .page-numbers {
    display: grid;
    place-items: center;
    min-width: 3rem;
    height: 3rem;
    padding: 0 .75rem;
    border-radius: 999px;
    background: #fff;
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    transition: background-color .25s, color .25s;
}

.pagination a.page-numbers:hover {
    background: var(--pink-light);
    color: var(--pink);
}

.pagination .page-numbers.current {
    background: var(--pink);
    color: #fff;
}

.pagination .page-numbers.dots {
    background: transparent;
}


/* ------------------------------------------------------------
   記事詳細
   ------------------------------------------------------------ */
.entry-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--line);
    display: grid;
    gap: 1.5rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.post-tags a {
    display: inline-block;
    padding: .3rem .9rem;
    border-radius: 999px;
    background: #f5f5f5;
    font-size: .8rem;
}

.post-tags a::before {
    content: "#";
    color: var(--pink);
    margin-right: .2em;
}

.share {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.share-label {
    font-size: .8rem;
    letter-spacing: .2em;
    color: var(--pink);
    margin-right: .5rem;
}

.share a {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--pink-light);
    color: var(--pink);
    font-size: .65rem;
    font-weight: 700;
    transition: background-color .25s, color .25s;
}

.share a:hover {
    background: var(--pink);
    color: #fff;
}

.share svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

/* 前後の記事 */
.post-nav {
    width: 90%;
    max-width: var(--content-max);
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.post-nav a {
    display: grid;
    gap: .4rem;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
    background: #fff;
    transition: background-color .25s;
}

.post-nav a:hover {
    background: var(--pink-light);
}

.post-nav-next {
    grid-column: 2;
    text-align: right;
}

.post-nav-label {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .2em;
    color: var(--pink);
}

.post-nav-title {
    font-size: .9rem;
    line-height: 1.6;
}

/* 関連記事 */
.related {
    width: 90%;
    max-width: 1200px;
    margin: 6rem auto 0;
}

.related-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.related-title span {
    display: block;
    font-size: .8rem;
    letter-spacing: .25em;
    color: var(--pink);
    margin-bottom: .25rem;
}

.back-to-list {
    text-align: center;
    margin: 4rem 0 0;
}

/* コメント */
.comments-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.comment-list {
    list-style: none;
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comment-list .children {
    list-style: none;
    margin: 1rem 0 0 2rem;
}


/* ------------------------------------------------------------
   検索・404
   ------------------------------------------------------------ */
.search-form {
    display: flex;
    max-width: 560px;
    margin: 0 auto 3rem;
    border-radius: 999px;
    background: #fff;
    border: 2px solid var(--line);
    overflow: hidden;
    transition: border-color .25s;
}

.search-form:focus-within {
    border-color: var(--pink);
}

.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 1rem 1.5rem;
    border: 0;
    background: transparent;
    font-size: 1rem;
    outline: none;
}

.search-form button {
    padding: 0 1.75rem;
    border: 0;
    background: var(--pink);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.notfound-card {
    text-align: center;
    display: grid;
    gap: 2rem;
}

.notfound-card .search-form {
    margin: 0 auto;
    width: 100%;
}


/* ------------------------------------------------------------
   お問い合わせフォーム
   （Contact Form 7 / MW WP Form / Snow Monkey Forms / 素のフォーム共通）
   ------------------------------------------------------------ */
.entry-content form {
    accent-color: var(--pink);
}

.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content input[type="number"],
.entry-content input[type="date"],
.entry-content input[type="password"],
.entry-content select,
.entry-content textarea {
    width: 100%;
    max-width: 100%;
    padding: .95rem 1.15rem;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: #fffdf5;
    font-size: 1rem; /* iOSのズーム防止 */
    line-height: 1.6;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.entry-content textarea {
    min-height: 12rem;
    resize: vertical;
}

.entry-content input::placeholder,
.entry-content textarea::placeholder {
    color: #bbb;
}

.entry-content input:focus,
.entry-content select:focus,
.entry-content textarea:focus {
    outline: none;
    border-color: var(--pink);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(231, 82, 151, .15);
}

/* 入力後にエラーとなった項目 */
.entry-content input:user-invalid,
.entry-content textarea:user-invalid,
.entry-content .wpcf7-not-valid {
    border-color: #d93c3c;
    background: #fff6f6;
}

.entry-content input[type="checkbox"],
.entry-content input[type="radio"] {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0 .5rem 0 0;
    vertical-align: -.2em;
}

/* チェックボックス・ラジオの選択肢をタップしやすいピル型に */
.entry-content .wpcf7-list-item,
.entry-content .mwform-checkbox-field,
.entry-content .mwform-radio-field {
    display: inline-block;
    margin: 0 .5rem .6rem 0;
}

.entry-content .wpcf7-list-item label,
.entry-content .mwform-checkbox-field label,
.entry-content .mwform-radio-field label {
    display: inline-flex;
    align-items: center;
    padding: .55rem 1rem;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

.entry-content .wpcf7-list-item label:hover,
.entry-content .mwform-checkbox-field label:hover,
.entry-content .mwform-radio-field label:hover {
    border-color: var(--pink);
}

.entry-content .wpcf7-list-item label:has(input:checked),
.entry-content .mwform-checkbox-field label:has(input:checked),
.entry-content .mwform-radio-field label:has(input:checked) {
    border-color: var(--pink);
    background: var(--pink-light);
}

/* 項目名 */
.entry-content form label {
    font-weight: 700;
}

.entry-content form p {
    margin-top: 1.75rem;
}

/* 必須・任意バッジ（「必須」「任意」をspanやemで囲んでいる場合） */
.entry-content form .required,
.entry-content form .must,
.entry-content form .hissu {
    display: inline-block;
    margin-left: .5rem;
    padding: .1rem .55rem;
    border-radius: 6px;
    background: var(--pink);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    vertical-align: .15em;
}

.entry-content form .optional,
.entry-content form .nini {
    display: inline-block;
    margin-left: .5rem;
    padding: .1rem .55rem;
    border-radius: 6px;
    background: #ddd;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    vertical-align: .15em;
}

/* テーブル組みのフォーム */
.entry-content form table th {
    width: 30%;
    white-space: normal;
    background: transparent;
    padding: 1.5rem 1.25rem 1.5rem 0;
}

.entry-content form table td {
    padding: 1.25rem 0;
}

/* 送信ボタン */
.entry-content input[type="submit"],
.entry-content button[type="submit"],
.entry-content .wpcf7-submit,
.entry-content .smf-button-control__control {
    display: block;
    width: min(100%, 22rem);
    margin: 3rem auto 0;
    padding: 1.25rem 2rem;
    border: 0;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--text);
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .1em;
    box-shadow: 0 6px 0 var(--text);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.entry-content input[type="submit"]:hover,
.entry-content button[type="submit"]:hover,
.entry-content .wpcf7-submit:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--text);
}

.entry-content input[type="submit"]:disabled,
.entry-content .wpcf7-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 6px 0 var(--text);
}

/* 戻るボタン（確認画面のあるフォーム） */
.entry-content input[type="submit"][name="submitBack"],
.entry-content .mw_wp_form input[name="submitBack"] {
    background: #fff;
    border: 2px solid var(--line);
    box-shadow: none;
}

/* メッセージ */
.entry-content .wpcf7-not-valid-tip,
.entry-content .mw_wp_form .error {
    display: block;
    margin-top: .4rem;
    color: #d93c3c;
    font-size: .85rem;
    font-weight: 700;
}

.entry-content .wpcf7 form .wpcf7-response-output {
    margin: 2rem 0 0;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border-width: 2px;
    font-weight: 700;
    text-align: center;
}

.entry-content .wpcf7 form.sent .wpcf7-response-output {
    background: #f1fbe9;
}

.entry-content .wpcf7-spinner {
    display: block;
    margin: 1rem auto 0;
}

/* プライバシーポリシー同意など、フォーム末尾の同意欄 */
.entry-content .wpcf7-acceptance .wpcf7-list-item label {
    font-weight: 700;
}


/* ------------------------------------------------------------
   タブレット・スマホ
   ------------------------------------------------------------ */
@media (width <= 768px) {

.page-hero {
    width: 100%;
    border-radius: 0;
    padding: 3.5rem 6% 3.5rem;
}

.page-hero::after {
    width: 16rem;
    right: -5rem;
    bottom: -9rem;
}

.page-hero-title {
    max-width: 100%;
    font-size: 1.6rem;
}

.page-hero-chara {
    width: 9.5rem;
    right: 4%;
}

.entry-card {
    width: 92%;
    margin-top: 2.5rem;
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius);
}

.entry-content h2 {
    font-size: 1.35rem;
}

.entry-content h3 {
    font-size: 1.15rem;
}

.entry-content th,
.entry-content td {
    padding: .8rem;
}

.entry-content th {
    white-space: normal;
}

/* テーブル組みのフォームは縦積みに */
.entry-content form table,
.entry-content form tbody,
.entry-content form tr,
.entry-content form th,
.entry-content form td {
    display: block;
    width: 100%;
}

.entry-content form table th {
    padding: 1.25rem 0 .5rem;
    border-bottom: 0;
}

.entry-content form table td {
    padding: 0 0 1.25rem;
}

.archive-wrap {
    width: 92%;
    margin-top: 2.5rem;
}

.cat-tabs ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: .5rem;
    scrollbar-width: none;
}

.cat-tabs a {
    white-space: nowrap;
}

.post-grid {
    gap: 1.5rem;
}

.news-row a {
    grid-template-columns: auto 1fr auto;
    gap: .5rem 1rem;
    padding: 1.25rem 0;
}

.news-row .news-row-title {
    grid-column: 1 / 3;
    grid-row: 2;
}

.news-row .news-row-arrow {
    grid-row: 1 / 3;
    grid-column: 3;
}

.news-row:not(:has(.post-cat)) .news-row-title {
    grid-column: 1 / 3;
}

.post-nav {
    grid-template-columns: 1fr;
}

.post-nav-next {
    grid-column: 1;
}

}


/* コメントフォーム */
.comment-form {
    display: grid;
    gap: 1.25rem;
    accent-color: var(--pink);
}

.comment-form label {
    display: block;
    font-weight: 700;
    margin-bottom: .4rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .95rem 1.15rem;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: #fffdf5;
    font-size: 1rem;
    color: var(--text);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(231, 82, 151, .15);
}

.comment-form .comment-form-cookies-consent label {
    display: inline;
    font-weight: 400;
}

.comment-form .submit {
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

/*お問合せ*/

.wpcf7-turnstile {
    text-align: center;
    margin: 3rem auto 0;
}

.page-id-5617 .wp-block-dp-ex-blocks-button:has(strong){
	text-align: center;
}

.page-id-5617 .deb-button-link strong {
    background: var(--pink);
    color: #fff;
    display: inline-block;
    font-size: 1.25rem;
    transform: none;
    box-shadow: 0 6px 0 var(--pink-pale);
    padding: 1.25rem 5rem;
    border-radius: 100px;
}


/*社員紹介*/

.dp_sc_flip_card .card_item .flipper,.dp_sc_flip_card .card_item .flipper::before,.dp_sc_flip_card .card_item .flipper::after {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden
}

.dp_sc_flip_card {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 20px
}

.dp_sc_flip_card.colnum4 .card_item {
    width: calc(25% - 20px)
}

.dp_sc_flip_card.colnum5 .card_item {
    width: calc(20% - 10px);
}

.dp_sc_flip_card.colnum6 .card_item {
    width: calc(16.66% - 20px)
}

.dp_sc_flip_card.sprt0 .card_item .caption::before {
    content: none
}

.dp_sc_flip_card.sprth2 .card_item .caption::before {
    height: 2px
}

.dp_sc_flip_card.sprth3 .card_item .caption::before {
    height: 3px
}

.dp_sc_flip_card.sprth4 .card_item .caption::before {
    height: 4px
}

.dp_sc_flip_card.sprtblack .card_item .caption::before {
    background-color: #000
}

.dp_sc_flip_card.rdlv0 .card_item .flipper,.dp_sc_flip_card.rdlv0 .card_item .flipper::before,.dp_sc_flip_card.rdlv0 .card_item .flipper::after {
    border-radius: 0
}

.dp_sc_flip_card.rdlv2 .card_item .flipper,.dp_sc_flip_card.rdlv2 .card_item .flipper::before,.dp_sc_flip_card.rdlv2 .card_item .flipper::after {
    border-radius: 6px
}

.dp_sc_flip_card.rdlv3 .card_item .flipper,.dp_sc_flip_card.rdlv3 .card_item .flipper::before,.dp_sc_flip_card.rdlv3 .card_item .flipper::after {
    border-radius: 12px
}

.dp_sc_flip_card.rdlv4 .card_item .flipper,.dp_sc_flip_card.rdlv4 .card_item .flipper::before,.dp_sc_flip_card.rdlv4 .card_item .flipper::after {
    border-radius: 24px
}

.dp_sc_flip_card.rdlv5 .card_item .flipper, .dp_sc_flip_card.rdlv5 .card_item .flipper::before, .dp_sc_flip_card.rdlv5 .card_item .flipper::after {
    border-radius: 20px;
}

.dp_sc_flip_card.no-line .card_item .caption::before {
    content: none
}

.dp_sc_flip_card.boxshadow .flipper {
    -webkit-box-shadow: 0 18px 15px -12px rgba(0,0,0,0.22);
    box-shadow: 0 18px 15px -12px rgba(0,0,0,0.22)
}

.dp_sc_flip_card.flatbg .card_item .flipper::before,.dp_sc_flip_card.flatbg .card_item .flipper::after {
    background-image: none
}

.dp_sc_flip_card:not(.noshadow) .card_item * {
    text-shadow: 3px 3px 12px rgba(0,0,0,0.32)
}

.dp_sc_flip_card.fx2 .card_item:hover .cntnr {
    -ms-transform: rotateX(-180deg);
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg)
}

.dp_sc_flip_card.fx2 .card_item .flipper.back {
    -ms-transform: rotateX(180deg);
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg)
}

.dp_sc_flip_card .card_item {
    display: inline-block;
    width: calc(33.33% - 20px);
    margin: 0 5px 20px;
    -webkit-perspective: 900px;
    perspective: 900px;
}

.dp_sc_flip_card .card_item:hover .cntnr {
    z-index: 2;
    -ms-transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg)
}

.dp_sc_flip_card .card_item:hover .flipper.back {
    -ms-backface-visibility: visible
}

.dp_sc_flip_card .card_item .cntnr,.dp_sc_flip_card .card_item .flipper {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.dp_sc_flip_card .card_item .cntnr {
    max-width: var(--cntnr-max-width, 340px);
    margin: auto;
    z-index: 1;
    -webkit-transition: -webkit-transform .66s cubic-bezier(0.6, 0.05, 0.19, 1.01);
    transition: -webkit-transform .66s cubic-bezier(0.6, 0.05, 0.19, 1.01);
    transition: transform .66s cubic-bezier(0.6, 0.05, 0.19, 1.01);
    transition: transform .66s cubic-bezier(0.6, 0.05, 0.19, 1.01), -webkit-transform .66s cubic-bezier(0.6, 0.05, 0.19, 1.01)
}

.dp_sc_flip_card .card_item .cntnr.has-link {
    cursor: pointer
}

.dp_sc_flip_card .card_item .flipper {
    position: relative;
    padding: 50% 0;
    background-color: #BBDAED;
    background-position: center;
    background-size: cover;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    font-size: 13px;
    line-height: 1.6
}

.dp_sc_flip_card .card_item .flipper a,.dp_sc_flip_card .card_item .flipper a:hover {
    color: #fff
}

.dp_sc_flip_card .card_item .flipper::before, .dp_sc_flip_card .card_item .flipper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 3px;
    /* background-image: linear-gradient(120deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.07) 58%, rgba(0, 0, 0, 0.15) 100%); */
}

.dp_sc_flip_card .card_item .flipper.front.colorfilter1::before,.dp_sc_flip_card .card_item .flipper.back.colorfilter1::before {
    background-color: #000;
    opacity: .32
}

.dp_sc_flip_card .card_item .flipper.front.colorfilter2::before,.dp_sc_flip_card .card_item .flipper.back.colorfilter2::before {
    background-color: #000;
    opacity: .54
}

.dp_sc_flip_card .card_item .flipper.front.colorfilter3::before,.dp_sc_flip_card .card_item .flipper.back.colorfilter3::before {
    background-color: #fff;
    opacity: .48
}

.dp_sc_flip_card .card_item .flipper.front.colorfilter4::before,.dp_sc_flip_card .card_item .flipper.back.colorfilter4::before {
    background-color: #fff;
    opacity: .68
}

.dp_sc_flip_card .card_item .flipper.back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg)
}

.dp_sc_flip_card .card_item .cinner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding: 0 4%;
    -ms-transform: translateY(-50%) translateZ(64px) scale(0.94);
    -webkit-transform: translateY(-50%) translateZ(64px) scale(0.94);
    transform: translateY(-50%) translateZ(64px) scale(0.94)
}

.dp_sc_flip_card .card_item p.fr-title {
    font-size: 18px;
    margin: 0;
    padding: 0
}

.dp_sc_flip_card .card_item p.fr-title.bld {
    font-weight: bold
}

.dp_sc_flip_card .card_item p.fr-title.itl {
    font-style: italic
}

#body .dp_sc_flip_card .card_item .caption {
    position: relative;
    display: block;
    font-size: 12px;
    padding-top: 6%;
    margin-top: 6%;
    opacity: .88
}

.dp_sc_flip_card .card_item .caption::before {
    content: '';
    position: absolute;
    top: -3%;
    left: 0;
    right: 0;
    width: 28%;
    height: 1px;
    margin: 0 auto;
    background-color: #fff;
    opacity: .52
}

.dp_sc_flip_card .card-link {
    display: block
}

@media only screen and (min-width: 0) and (max-width: 920px) {
    .dp_sc_flip_card.colnum4 .card_item,.dp_sc_flip_card.colnum5 .card_item,.dp_sc_flip_card.colnum6 .card_item {
        width:calc(33.33% - 20px)
    }

    .dp_sc_flip_card .card_item p.fr-title {
        font-size: 18px !important
    }

    .dp_sc_flip_card .card_item .caption {
        font-size: 12px !important
    }
}

@media only screen and (min-width: 0) and (max-width: 680px) {
    .dp_sc_flip_card .card_item,.dp_sc_flip_card.colnum4 .card_item,.dp_sc_flip_card.colnum5 .card_item,.dp_sc_flip_card.colnum6 .card_item {
        width:calc(50% - 20px)
    }
}

@media only screen and (min-width: 0) and (max-width: 567px) {
    .dp_sc_flip_card .card_item p.fr-title {
        font-size:15px !important
    }

    .dp_sc_flip_card .card_item .caption {
        font-size: 11px !important
    }
}

@media only screen and (min-width: 0) and (max-width: 480px) {
    .dp_sc_flip_card .card_item,.dp_sc_flip_card.colnum4 .card_item,.dp_sc_flip_card.colnum5 .card_item,.dp_sc_flip_card.colnum6 .card_item {
        width:calc(100% - 20px)
    }

    .dp_sc_flip_card .card_item p.fr-title {
        font-size: 20px !important
    }

    .dp_sc_flip_card .card_item .caption {
        font-size: 12px !important
    }
}

/*事業一覧*/

.page-id-5561{
	
}

.page-id-5561 .entry-content > * + * {
    margin-top: 5.5em;
}

.page-id-5561 h3{
	margin: 0;
}

.page-id-5561 p[class*="-box-deco"]::after{
	border: none;
}

.page-id-5561 .entry-content p {
    box-shadow: none;
    padding: .5rem 0 0 0;
    padding-bottom: 0em !important;
    margin: 0;
}

.page-id-5561 figure{
	
}

.page-id-5561 .wp-block-column:has(>figure) {
    flex-basis: 45%!important;
}

.page-id-5561 .wp-block-column {
    flex-basis: 55%!important;
}

.page-id-5561 .is-layout-flex {
    align-items: flex-start!important;
}

.page-id-5561 .wp-block-column.is-vertically-aligned-center {
    align-self: flex-start;
}

.page-id-5561 .entry-content a {
    background: var(--pink)!important;
    color: #fff;
    text-decoration: none;
    padding: .5rem 2rem;
    display: inline-block;
    border-radius: 50px;
    margin: 1rem auto 3rem;
}

/*採用情報*/

.page-id-5503 .entry-content h2 {
    margin: 3.5em 0 2rem;
}

.page-id-5503 .wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th {
    /* word-break: break-word; */
    display: block;
    border: none;
}

.page-id-5503 .wp-block-table strong span {
    font-size: 1.25rem;
}

.page-id-5503 .wp-block-table td:has(> strong > span.disp-blk.al-l) {
    background: #efffe0;
    position: relative;
    font-weight: bold;
    padding: 5px 20px;
    margin: 3rem 0 0.25rem;
    width: 100%;
    /* border: none; */
}

.page-id-5503 .wp-block-table td:has(> strong > span.disp-blk.al-l)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #82977b;
}

/*SDGs*/

.page-id-6045{
	
}

.page-id-6045 .entry-eyecatch{
    display: none;
}

.page-id-6045 .wp-block-image:not(.is-style-stripe , .is-resized){
    width: 80%;
    margin: 0 auto;
    background: #fff4e3;
    box-sizing: border-box;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 2rem auto;
}

.page-id-6045{
	
}

.page-id-6045 p.wp-block-paragraph {

}

.page-id-6045 p.wp-block-paragraph:has(strong) {
    font-size: 1.25rem;
    margin: 2rem auto 1rem;
    text-align: center;
}

.page-id-6045 .wp-container-core-columns-is-layout-8f761849:has(>.wp-block-column>.wp-block-paragraph) {
    display: block;
}

.page-id-6045 .wp-block-columns .wp-block-column:has(figure) {
    flex-basis: auto;
    flex-grow: 0;
    width: 26%;
}

.page-id-6045 .entry-content a {
    margin: 0;
    padding: .25rem 0;
    background: none!important;
    color: var(--pink)!important;
}


.page-id-6045 .wp-block-columns figure {
}

.page-id-6045 .wp-container-core-columns-is-layout-8f761849 {
    margin: 5rem auto 0;
}

.page-id-6045 .entry-content > * + * {
    width: 80%;
    margin: 0 auto 0;
}

.page-id-6045 .entry-content .wp-container-core-columns-is-layout-8f761849 {
    margin: 4rem auto 0;
    justify-content: center;
}

.page-id-6045 .wp-container-core-columns-is-layout-8f761849:has(>.wp-block-column>.wp-block-paragraph) .wp-block-column:has(>figure){
	margin: 0 auto;
}

.page-id-6045 .entry-content h2 {
    margin: 5rem auto 2rem;
}

.page-id-6045 .entry-content h3 {
    margin: 3rem auto 0;
}


/*社員紹介個別ページ*/

.parent-pageid-5706 .entry-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.parent-pageid-5706 .entry-content > figure:first-of-type {
    display: inline-block;
    width: 45%;
}

.parent-pageid-5706 .entry-content p:first-of-type {
    width: 45%;
    box-shadow: none;
    padding: 0!important;
    margin: 0 auto!important;
}

.parent-pageid-5706 p[class*="-bordered"]::after{
    border: none;
}

.parent-pageid-5706 .entry-content p:first-of-type span{
    font-size: 1.5rem;
    margin: 1rem 0 0px;
    display: block;
}
.parent-pageid-5706 .entry-content h3,
.parent-pageid-5706 .entry-content h4{
	width: 100%;
}


/*人材*/
.page-id-5246 .is-layout-flex:has( hr) {
    display: block;
}

.page-id-5246 .is-layout-flex:has( hr) > div {
    background: #fffaf5;
    margin: 1rem auto;
    box-sizing: border-box;
    padding: 2rem;
    border-radius: 20px;
}

.page-id-5246 .entry-content hr {
    border: 0;
    border-top: 2px dashed var(--line);
    margin: 1rem 0;
    display: none;
}

.page-id-5246 .is-layout-flex:has( hr) strong{
    border-bottom: 2px dashed var(--line);
    display: block;
    font-size: 1.05rem;
}


.contact_dl{
	
}
.contact_dl dd{
	margin-bottom:1rem;
}










