@charset "UTF-8";
/*
    Template: swell
    Theme Name: イナズマWeb テーマ02
    Theme URI: https://www.wisesips.com/
    Description: イナズマWeb専用のカスタムテーマです。
    Version: 1.0.0
    Author: 有限会社ワイズシップス
    Author URI: https://www.wisesips.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/




/* 全体 */
.post_content>* {
    margin-bottom: 0;
}

.post_content a {
    transition: 0.4s;
}

.post_content p {
    line-height: 30px;
    font-weight: 500;
}

.l-header__inner,
.l-fixHeader__inner {
    max-width: 100%;
}

/* .l-container {
  max-width: none;
  } */

.l-content {
    margin: 0 auto;
}

.l-content p {
    line-height: 28px;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.c-pageTitle__subTitle {
    display: none;
}

.l-topTitleArea .l-topTitleArea__body h1 {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 30px;
    font-family: "Yu Mincho", "游明朝", serif;
}

.l-topTitleArea .l-topTitleArea__body h1 .c-pageTitle__subTitle {
    margin: auto;
    font-style: normal;
    opacity: 1;
}

.l-topTitleArea .l-topTitleArea__body h1 {
    /* font-family: "Cardo", serif; */
}

.l-topTitleArea .l-topTitleArea__body h1 .c-pageTitle__subTitle {
    font-family: "Yu Mincho", "游明朝", serif;
}

.header-menu-btn span {
    font-size: 1.0vw;
}

img {
    pointer-events: none;
}

.swell-block-fullWide+.swell-block-fullWide {
    margin-top: 0;
}

.top #content {
    padding-top: 0;
}

.more_btn a {
    padding: 15px;
}

.blog .l-content,
.single-post .l-content,
.archive .l-content {
    padding-bottom: 5em !important;
}

@media not all and (min-width: 960px) {
    .l-topTitleArea .l-topTitleArea__body h1 {
        font-size: 25px;
    }
}


:root {
    /* メインカラー系 */
    --color_main: #bf9224;
    --color_main_thin: #5a7ba0;
    --color_main_dark: #00264a;
    --color_main_hover: #bf9224;

    /* テキスト・リンク・見出しなど */
    --color_text: #333333;
    --color_link: #bf9224;
    --color_htag: #bf9224;

    /* 背景・グラデーション */
    --color_bg: #ffffff;
    --color_gradient1: #003b6f;
    --color_gradient2: #006cb7;

    /* チェックリスト・アイコンカラー系 */
    --color_list_check: #006cb7;
    --color_list_num: #003b6f;
    --color_list_good: #003b6f;
    --color_list_triangle: #003b6f;
    --color_list_bad: #003b6f;

    /* グラデボタン */
    --the-btn-color: #3d9fd9;
    --the-btn-color2: #bf9224;
    --the-btn-bg: linear-gradient(100deg, var(--the-btn-color) 0%, var(--the-btn-color2) 100%);

    /* FAQ */
    --color_faq_q: #006cb7;
    --color_faq_a: #006cb7;

    /* ヘッダー・フッター */
    --color_header_bg: #ffffff;
    --color_header_text: #333;
    --color_footer_text: #fff;
}


/* SWELLブロックボタン共通 */
.swell-block-button .swell-block-button__link {
    padding: 0.8em 2em;
    display: inline-block;
    /* transition: background-color 0.3s; */
    text-decoration: none;
    padding: 1em 2em;
}

/* ホバー時 */
.swell-block-button__link:hover {
    background-color: var(--color_main_hover);
    color: #fff;
}

/* リストスタイルの背景を白に固定 */
.is-style-border_sm,
.is-style-border_md,
.is-style-border_lg {
    background-color: #fff;
}

/* ヘッダー */
.c-gnav {
    padding-top: 20px;
    padding-bottom: 20px;
}

.c-gnav>.menu-item {
    transition: 0.4s;
}

.c-gnav>.menu-item:hover {
    color: var(--color_main);
}

.c-gnav>.menu-item>a {
    /* padding: 24px 12px; */
    padding: 0 12px;
}

.c-gnav>.menu-item>a .ttl {
    display: block;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: "Noto Serif JP", serif;
}

.c-gnav a::after {
    height: 1px;
}

.l-fixHeader::before {
    opacity: 0.9;
}

/* .p-mainVisual__inner img {
  object-position: bottom;
} */



#top_title_area .l-topTitleArea__img {
    object-position: center 10%;
    /* ← 数値を小さくするとさらに上へ（例: 10%） */
}


/* 共通 */
.l-content p {
    line-height: 1.9em;
}

.top-content .ttl-jp,
.contact-area .ttl-jp,
.subpage-content .ttl-jp {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8em;
}

.top-content .ttl-en,
.contact-area .ttl-en,
.subpage-content .ttl-en {
    font-family: 'Cormorant Infant', serif;
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 15px;
    font-weight: 300;
    color: #CCCCCC;
}

.subpage-content h2 {
    margin-top: 1em;
    margin-bottom: 3em;
}

@media (max-width: 959px) {

    .top-content .ttl-jp,
    .contact-area .ttl-jp,
    .subpage-content .ttl-jp {
        font-size: 1.3em;
    }

    .top-content .ttl-en,
    .contact-area .ttl-en,
    .subpage-content .ttl-en {
        font-size: 2.5rem;
    }

    .subpage-content h2 {
        margin-bottom: 1em;
    }
}

/* ====== トップ mv ====== */
/* ▼ MVテキストブロックを左寄せに移動 */

.p-mainVisual__textLayer .mv-text {
    position: absolute;
    left: 0;
    top: 70%;
    /* 好みで 55〜62% くらいで微調整 */
    transform: none;
    /* ← これでOK */
    text-align: left !important;
    z-index: 2;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgb(0 0 0 / 20%);
}

/* ▼ メインテキスト（英語） */
.mv-text .mv-text-maintext {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 .4em;
    text-shadow: 0 2px 6px rgb(0 0 0 / 20%);
}

/* ▼ サブテキスト（日本語） */
.mv-text .mv-text-subtext {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    letter-spacing: .05em;
    line-height: 1.6;
    display: inline-block;
    color: #fff;
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.6),
        1px 1px 3px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    border-bottom: 1px solid #fff;
}

/* ▼ モバイルでは中央に戻す（人物が切れやすいため） */
@media (max-width: 959px) {
    .p-mainVisual__textLayer .mv-text {
        top: 90%;
        width: 90%;
    }

    .mv-text .mv-text-maintext {
        font-size: clamp(2rem, 6vw, 3rem);
        /* 英語タイトル */
    }

    .mv-text .mv-text-subtext {
        font-size: clamp(1rem, 4vw, 1.4rem);
        /* 日本語テキスト */
    }
}


/* ====== トップ about ====== */
.top-about {
    background: linear-gradient(135deg, rgba(25, 57, 122, 0.08), transparent 70%), linear-gradient(-135deg, rgba(255, 215, 0, 0.12), transparent 70%), linear-gradient(to bottom, #ffffff, #fafafa);
}

.top-about .swell-block-fullWide__inner {
    text-align: center;
}

.top-about .ttl-jp {
    margin-top: 2em;
}

.top-about .about-text {
    width: 70%;
    margin: auto;
}

.top_about_img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 959px) {
    .top-about .about-text {
        width: 100%;
        text-align: left;
    }
}



/* ====== トップ service ====== */
.top-service h2 {
    font-family: 'Noto Serif JP', serif;
    margin-top: 1em;
    margin-bottom: 4em;
    text-align: left;
}

.top-service img {
    width: 100%;
    height: 290px;
    object-fit: cover;
}

/* .top-service .swell-block-columns {
  margin-bottom: 10rem;
} */

.top-service .swell-block-columns__inner {
    justify-content: space-between;
    align-items: center;
}

/* 画像の親だけを相対配置にする */
.top-service .service-card-img {
    position: relative;
    /* はみ出して見せたいので visible のままでOK */
    overflow: visible;
    line-height: 0;
    /* 余白防止 */
}

/* 金色の枠（画像のうしろ・左上にずらす） */
.top-service .service-card-img::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color_main);
    box-sizing: border-box;
    z-index: 0;
}

/* 画像は前面に */
.top-service .service-card-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 290px;
    object-fit: cover;
}

.top-service .swell-block-columns__inner .swell-block-column:nth-of-type(-n+2) {
    margin-bottom: 5em;
}

.top-service .service-card-content h2 {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 1em;
}

.top-service .service-card-content .num {
    position: relative;
    font-family: 'Noto Serif JP', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--color_main);
    line-height: 1;
    display: inline-block;
    box-sizing: border-box;
    padding: 6px 8px;
}

.top-service .service-card-content .num::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -14px;
    width: 28px;
    height: 48px;
    border-left: 1px solid var(--color_main);
    rotate: 45deg;
    background-color: #fff;
    pointer-events: none;
}

.top-service .more-btn-01 {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 2em;
}

@media (max-width: 959px) {
    .top-service h2 {
        margin-bottom: 2em;
    }

    .top-service img {
        height: 220px;
        object-fit: cover;
    }

    .top-service .swell-block-columns {
        margin-bottom: 0;
    }

    .top-service .swell-block-columns__inner .swell-block-column {
        margin-bottom: 3em !important;
    }

    /* 金枠を内側に＋画像の上に表示 */
    .top-service .service-card-img::before {
        top: 8px;
        left: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 16px);
        border-width: 1px;
        z-index: 2;
        /* ← これで画像より前に */
    }

    /* 2番目・4番目だけ右上へ（内側に） */
    .top-service .swell-block-columns__inner>*:nth-of-type(2) .service-card-img::before,
    .top-service .swell-block-columns__inner>*:nth-of-type(4) .service-card-img::before {
        left: auto;
        right: 8px;
        top: 8px;
        z-index: 2;
        /* 念のため */
    }

    /* 画像は z-index:1 に下げる */
    .top-service .service-card-img img {
        z-index: 1;
    }

    /* 見出し間隔を少し詰める */
    .top-service .service-card-content h2 {
        margin-bottom: .8em;
        gap: 28px;
    }
}


/* ====== トップ 注目コンテンツ ====== */
.feature-content .service-item-01 {
    border: 1px solid #ccc;
    padding: 20px 25px;
}

.feature-content .service-item-01 img {
    width: 200px;
    height: auto;
}

.feature-content .service-item-01 h3 {
    margin-bottom: 1em;
}

.feature-content .service-item-01 a {
    text-decoration: underline;
}



/* ====== トップ news ====== */
.top-news .ttl-jp {
    margin-top: 1em;
}

.p-postList__item .p-postList__body {
    display: flex;
    align-items: center;
    width: 100%;
}

.p-postList__item .p-postList__meta {
    display: contents;
}

.p-postList__item .p-postList__times {
    color: #252525;
    width: 10%;
    justify-content: center;
}

.p-postList__item .p-postList__cat {
    display: inline-block;
    width: 120px;
    padding: 4px 8px;
    text-align: center;
    white-space: nowrap;
    /* 折り返さない */
    box-sizing: border-box;
}

.p-postList__item .p-postList__title {
    width: 80%;
    font-weight: 500;
}

.post_content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1.3px;
    background: linear-gradient(90deg, #9a7b2f 0%, #bf9224 20%, #e6c766 40%, #bf9224 60%, #9a7b2f 80%);
}


/* 日付とカテゴリーのアイコン非表示 */
.p-postList__item time.c-postTimes__posted.icon-posted::before,
.p-postList__item span.p-postList__cat.icon-folder::before {
    display: none;
}

.p-postList__item .p-postList__cat,
.p-postList__item time.c-postTimes__posted {
    font-size: 14px;
}

.p-postList__item .p-postList__link:hover {
    background-color: #fff;
    color: var(--color_main);
}

.p-postList__item .p-postList__cat {
    color: var(--color_main);
    border: 1px solid var(--color_main);
    background-color: #fff;
    margin-right: 20px;
    opacity: 1;
}

.-type-simple .p-postList__link {
    transition: .1s linear;
}

/* 詳細ページ 見出し下のカテゴリー非表示 */
.p-articleFoot {
    display: none;
}

/* 詳細ページ 見出し下のカテゴリー */
.p-articleMetas .c-categoryList::before {
    display: none;
}

.p-articleMetas .c-categoryList a {
    font-size: 13px;
    color: var(--color_main);
    border: 1px solid var(--color_main);
    background-color: #fff;
}

.c-tabList {
    justify-content: flex-start;
}

.is-style-balloon>.c-tabList .c-tabList__button:hover,
.is-style-balloon>.c-tabList .c-tabList__button[aria-selected=true] {
    background-color: var(--color_main);
}

.is-style-balloon>.c-tabList .c-tabList__button:before {
    border-top: 8px solid #3e8ac1;
}

@media (max-width: 959px) {
    .top-news .ttl-jp {
        text-align: center;
    }

    .p-postList__item .p-postList__body {
        flex-direction: column;
    }

    .p-postList__item .p-postList__meta {
        display: flex;
        width: 100%;
    }

    .p-postList__item .p-postList__times {
        width: 25%;
        justify-content: left;
    }

    .p-postList__item .p-postList__cat {
        width: 36%;
        text-align: center;
        padding: 4px;
    }

    .p-postList__item .p-postList__title {
        width: 100%;
        margin-top: 5px;
    }

    .top-news .swell-block-fullWide__inner.l-article {
        padding: 3rem 0.5rem;
        margin: 0 15px;
    }
}

@media (min-width: 960px) {
    [data-width-pc="25"]>.c-tabList {
        --the-tab-flex_wrap: wrap;
        --the-tab-flex: 0 0 16%;
    }
}










/* 調整しやすい色（落ち着いたゴールド） */
:root {
    --gold-1: #bf9224;
    /* ベース */
    --gold-2: #9a7b2f;
    /* 濃いめ（ホバー時） */
    --gold-1-weak: rgba(177, 144, 58, .35);
    /* 薄い下線用 */
    --text: #333333;
    --bg: #FDFBF7;
    /* ページのベース背景想定 */
}


/* ベース */
.more-btn-01 {
    --underline-h: 1px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    text-decoration: none;
    line-height: 1;
    padding: 8px 2px;
    /* テキスト下線が見えるよう最小の上下だけ */
    position: relative;
    transition: color .25s ease;
}

/* テキスト下線：常時うすい線＋ホバーで濃い線が左→右に伸びる */
.more-btn-01 .more-text {
    position: relative;
    padding-bottom: 6px;
    font-size: 18px;
    color: var(--color_main);
}

.more-btn-01 .more-text::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: var(--underline-h);
    background-color: var(--gold-1-weak);
    /* 常時うすい線 */
}

.more-btn-01 .more-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: var(--underline-h);
    background-color: var(--gold-1);
    /* 走る濃い線 */
    transition: width .45s ease;
}

.more-btn-01:hover .more-text::after {
    width: 100%;
}

/* 右側の丸アイコン（枠は細め、角丸＝円のみ） */
.more-btn-01 .more-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold-1);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: var(--gold-1);
    /* SVGのstroke色 */
    background: transparent;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

/* ホバー演出：丸が色付き→矢印が白／少しだけ動く */
.more-btn-01:hover .more-icon {
    background: var(--gold-2);
    color: #fff;
    /* SVGが白に */
    border-color: var(--gold-2);
    transform: translateX(2px);
    /* ほんの少しだけ動く */
}

/* アクセシビリティ：キーボードフォーカス */
.more-btn-01:focus-visible {
    outline: 2px solid var(--gold-1);
    outline-offset: 3px;
}


/* =============================
   SWELLボタン：金テキスト＋円内に矢印
   hover時は円が金塗り＋矢印が白
   ============================= */

:root {
    --gold-1: #bf9224;
    --gold-2: #9a7b2f;
    --gold-1-weak: rgba(177, 144, 58, .35);
    --text: #333;
    --bg: #FDFBF7;
}

/* SWELLボタン本体（親はそのまま） */
.swell-block-button.more-btn-01 {
    color: var(--gold-1);
}

/* リンク要素の見た目と書体 */
.swell-block-button.more-btn-01 .swell-block-button__link {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: currentColor !important;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1.2px;
    padding: 8px 2px;
    line-height: 1;
    position: relative;
    padding-right: 48px;
}

/* テキスト下線アニメーション */
.swell-block-button.more-btn-01 .swell-block-button__link>span {
    position: relative;
    padding-bottom: 6px;
}

.swell-block-button.more-btn-01 .swell-block-button__link>span::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold-1-weak);
}

.swell-block-button.more-btn-01 .swell-block-button__link>span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width .45s ease;
}

.swell-block-button.more-btn-01 .swell-block-button__link:hover>span::after {
    width: 100%;
}

/* 円（リンク::after） */
.swell-block-button.more-btn-01 .swell-block-button__link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold-1);
    border-radius: 50%;
    background: transparent;
    transform: translate3d(0, -50%, 0);
    will-change: transform, background-color, border-color;
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

/* 矢印SVG配置（.__icon は SWELLのSVGに付くクラス） */
.swell-block-button.more-btn-01 .swell-block-button__link .__icon {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 15px;
    height: 15px;
    transform: translate3d(0, -50%, 0);
    will-change: transform, color;
    transition: transform .25s ease, color .25s ease;
    z-index: 1;
    pointer-events: none;
    color: var(--gold-1);
}

.swell-block-button.more-btn-01 .swell-block-button__link .__icon [stroke] {
    stroke: currentColor !important;
}

/* ホバー（円=金塗り／矢印=白） */
.swell-block-button.more-btn-01 .swell-block-button__link:hover::after {
    background: var(--gold-1);
    border-color: var(--gold-1);
    transform: translate3d(2px, -50%, 0);
}

.swell-block-button.more-btn-01 .swell-block-button__link:hover .__icon {
    color: #fff;
    transform: translate3d(2px, -50%, 0);
}

/* フォーカスリングはリンクに */
.swell-block-button.more-btn-01 .swell-block-button__link:focus-visible {
    outline: 2px solid var(--gold-1);
    outline-offset: 3px;
}

/* SWELLの line スタイル無効化（保険） */
.swell-block-button.more-btn-01.is-style-btn_line {
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* 動き軽減 */
@media (prefers-reduced-motion:reduce) {

    .swell-block-button.more-btn-01 .swell-block-button__link::after,
    .swell-block-button.more-btn-01 .swell-block-button__link .__icon,
    .swell-block-button.more-btn-01 .swell-block-button__link>span::after {
        transition: none !important;
    }
}













/* 
=====================================
  コンタクトエリア
=====================================
*/
.contact-area .l-article {
    background-color: rgb(255 255 255 / 90%);
    padding: 50px 50px;
}

.contact-area {
    padding-top: 150px !important;
    z-index: 0;
}

.contact-area .ttl-en {
    text-align: center;
    margin-bottom: 10px;
}

.contact-area .ttl-jp {
    margin-top: 1em;
    margin-bottom: 30px;
    text-align: center;
}

.contact-area p {
    text-align: center;
}

.contact-area .swell-block-columns__inner {
    justify-content: center;
}

.contact-area .contact-btn a {
    padding: 15px;
    font-weight: bold;
}

.contact-area .l-article a {
    padding: 15px;
}

@media not all and (min-width: 960px) {
    .contact-area {
        padding-top: 80px !important;
    }

    .contact-area .l-article {
        padding: 40px 20px;
        margin: 10px;
    }

    .contact-area .contact-btn {
        --the-width: 80% !important;
    }

    .contact-area .contact-btn a {
        font-size: 16px;
    }

    .contact-area .ttl-en {
        font-size: 50px;
        font-weight: bold;
        line-height: 1;
        top: -40px;
    }

    .contact-area .ttl-jp {
        font-size: 25px;
        font-weight: bold;
        line-height: 1.5;
    }

    .top-content.contact-area .contact-btn.tel-btn {
        margin-bottom: 15px !important;
    }
}


/* 
=====================================
  フッター
=====================================
*/
.l-footer__widgetArea {
    padding-top: 4em;
}

.w-beforeFooter {
    margin: 0;
}

.l-footer__nav {
    gap: 1em;
    padding: 1em 0 4em;
}

.l-footer__nav a {
    border-right: none;
}

.l-footer__nav li:first-child a {
    border-left: none;
}

.l-footer__nav>li>a {
    font-weight: 700;
    font-size: 14px;
}

.l-footer__nav .sub-menu {
    margin-top: 0.25em;
    display: grid;
    gap: 0.15em;
}

.l-footer__nav .sub-menu>li {
    margin-left: 0.75em;
}

.l-footer__nav .sub-menu>li a {
    padding: 0 0.75em;
    position: relative;
    font-size: 13px;
}

.l-footer__nav .sub-menu>li a::before {
    content: "";
    width: 5px;
    height: 1px;
    background-color: var(--color_footer_text);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.l-footer a {
    border-bottom: none;
}

.w-footer__box .menu-item a {
    font-size: 14px;
}

.footer-text p {
    font-size: 14px;
}

.copyright {
    color: #333;
}

@media screen and (max-width: 767px) {
    .l-footer__nav {
        gap: 0.5em;
        flex-direction: column;
    }

    .l-footer__nav>li:nth-of-type(n + 2) {
        padding-bottom: 0.5em;
    }

    .l-footer__nav>li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .l-footer__nav>li>a {
        font-size: 13px;
    }

    .l-footer__nav .sub-menu {
        margin-top: 0.2em;
        gap: 0.5em;
    }

    .l-footer__nav .sub-menu>li a {
        font-size: 12px;
    }
}





/* 
=====================================
  事業内容ページ
=====================================
*/
.subpage-content.service h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8em;
    margin-top: 10px;
    margin-bottom: 2em;
}

.subpage-content.service .ttl-en {
    color: #bf9224;
    font-family: 'Cormorant Infant', serif;
    font-size: 16px;
    font-weight: 500;
}

/* .subpage-content.service img {
  width: 100%;
  height: 290px;
  object-fit: cover;
} */

/* .subpage-content.service .swell-block-columns {
  margin-bottom: 5rem;
} */

.subpage-content.service .swell-block-columns__inner {
    justify-content: space-between;
    align-items: center;
}

/* 画像の親だけを相対配置にする */
.subpage-content.service .service-card-img {
    position: relative;
    /* はみ出して見せたいので visible のままでOK */
    overflow: visible;
    line-height: 0;
    /* 余白防止 */
}

/* 金色の枠（画像のうしろ・左上にずらす） */
.subpage-content.service .service-card-img::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color_main);
    box-sizing: border-box;
    z-index: 0;
}

/* 画像は前面に */
.subpage-content.service .service-card-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 290px;
    object-fit: cover;
}

/* --- 2番目と4番目だけ右上にずらす --- */
.subpage-content.service :nth-of-type(2) .service-card-img::before,
.subpage-content.service :nth-of-type(4) .service-card-img::before {
    left: auto;
    right: -20px;
}

.subpage-content.service .service-card-content h2 {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 1em;
}

.subpage-content.service .service-card-content .num {
    position: relative;
    font-family: 'Noto Serif JP', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--color_main);
    line-height: 1;
    display: inline-block;
    box-sizing: border-box;
    padding: 6px 8px;
}

.subpage-content.service .service-card-content .num::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -14px;
    width: 28px;
    height: 48px;
    border-left: 1px solid var(--color_main);
    rotate: 45deg;
    background-color: #fff;
    pointer-events: none;
}

.subpage-content.service .service-store-items {
    justify-content: center;
}

.subpage-content.service .service-store-items h3 {
    margin-bottom: 0.6em;
}

.subpage-content.service .service-store-items h3::after {
    content: none;
}

.subpage-content.service .service-store-items img {
    object-fit: contain !important;
    height: 100px;
}

.subpage-content.service .service-item-01 img {
    height: 200px;
}

.subpage-content.service .service-item {
    border: 1px solid #ccc;
    padding: 20px 25px;
}

.subpage-content.service .service-item .store-link {
    margin-bottom: 0;
}

.subpage-content.service .service-item a {
    display: inline-block;
    text-decoration: underline;
}

.subpage-content.service .service-item a:not(:last-child) {
    margin-bottom: 15px;
}

@media (max-width: 959px) {
    .subpage-content.service h2 {
        margin-bottom: 2em;
        font-size: 1.5em;
    }

    .subpage-content.service img {
        height: 220px;
        object-fit: cover;
    }

    .subpage-content.service .swell-block-columns {
        margin-bottom: 3rem;
    }

    /* 金枠を内側に＋画像の上に表示 */
    .subpage-content.service .service-card-img::before {
        top: 8px;
        left: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 16px);
        border-width: 1px;
        z-index: 2;
        /* ← これで画像より前に */
    }

    /* 2番目・4番目だけ右上へ（内側に） */
    .subpage-content.service .swell-block-columns__inner>*:nth-of-type(2) .service-card-img::before,
    .subpage-content.service .swell-block-columns__inner>*:nth-of-type(4) .service-card-img::before {
        left: auto;
        right: 8px;
        top: 8px;
        z-index: 2;
        /* 念のため */
    }

    /* 画像は z-index:1 に下げる */
    .subpage-content.service .service-card-img img {
        z-index: 1;
    }

    /* 見出し間隔を少し詰める */
    .subpage-content.service .service-card-content h2 {
        margin-bottom: .8em;
        gap: 28px;
    }

    .subpage-content.service .reverse-sp .swell-block-columns__inner {
        flex-direction: column-reverse;
    }
}


/* 
=====================================
  お問い合わせページ
=====================================
*/
/* contact form */
.contact_form_wrap {
    margin: auto;
}

.contact_form_inner div {
    display: flex;
    border-top: 1px solid #ebebeb;
}

.contact_form_inner dt,
.contact_form_inner dd {
    padding: 25px 15px;
}

.contact_form_inner dt {
    width: 25%;
}

.contact_form_inner dt p {
    font-weight: bold;
}

.contact_form_inner dd p select,
.contact_form_inner dd p option {
    font-weight: 500;
}

.contact_form_inner .zip-code-wrap {
    display: flex;
    align-items: center;
}

.contact_form_inner dd .wpcf7-list-item:not(:last-child) {
    padding-bottom: 5px;
}

.contact_form_confirmation {
    margin: 70px 0 24px;
    text-align: center;
}

.contact_form_confirmation .wpcf7-list-item-label {
    border-bottom: 2px solid red;
}

.contact_form_btn_send {
    margin: 70px 0 24px;
    padding: 0 15px;
    text-align: center;
}

.contact_form_btn_send input {
    background: #414141;
    color: #fff;
    font-weight: bold;
    width: 140px;
    padding: 10px;
    border: none;
}

.contact_form_btn_send {
    padding: 0 15px;
    text-align: center;
}

.contact_form_btn_send input,
.contact_form_btn_send button {
    background: #414141;
    color: #fff;
    font-weight: bold;
    width: 140px;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.contact_form_btn_send button:hover {
    background: #666;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #0d73c0;
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
    text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #e41212;
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
    text-align: center;
    color: #e41212;
}

.wpcf7 form .acceptance-privacy-policy {
    background-color: #efefef;
    padding: 30px;
}

.wpcf7-not-valid-tip {
    color: red;
    font-weight: 500;
}

.contact-recapcha {
    font-size: 13px;
    color: #6e6e6e;
    margin-top: 80px;
}

/* === モーダルの背景（非表示＆中央配置）=== */
#confirm-modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: auto;
    margin-top: 30px;
    padding: 20px;
    z-index: 99999 !important;
    transform: none !important;
    top: 0;
    left: 0;


}

/* === モーダル本体のボックス === */
.modal-box {
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin: auto;
    max-height: 70vh;
    /* ← モーダル内に収まるよう制限 */
    overflow-y: auto;
    /* ← 内容が長くなったときにスクロール */
}

/* === モーダル見出し === */
.modal-heading {
    background: #0066cc;
    color: #fff;
    padding: 10px;
    margin: -20px -20px 20px;
    font-size: 18px;
}

/* === ボタンエリア中央寄せ＆横並び === */
#confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* === ボタン共通スタイル === */
#confirm-buttons button {
    font-size: 16px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, transform 0.2s ease;
}

#back-btn {
    background: #ccc;
    color: #333;
}

#back-btn:hover {
    background: #bbb;
    transform: translateY(-1px);
}

#final-submit-btn {
    background: #0066cc;
    color: #fff;
}

#final-submit-btn:hover {
    background: #005bb5;
    transform: translateY(-1px);
}

.message .inquiry-details {
    width: 100%;
}

@media (max-width: 960px) {
    .contact_form_wrap {
        width: 100%;
    }

    .contact_form_inner div {
        flex-direction: column;
    }

    .contact_form_inner dt {
        width: 100%;
        padding: 15px 0;
    }

    .contact_form_inner dd {
        padding: 0 0 15px;
    }

    .contact_form_inner dd .wpcf7-text {
        width: 100%;
    }

    .contact_form_inner>div:nth-child(6)>dd>p>span>textarea {
        width: 100%;
    }

    .contact_form_inner textarea.message-area {
        width: 100%;
    }

    .wpcf7 form .acceptance-privacy-policy {
        padding: 20px;
        font-size: 14px;
    }

    .wpcf7-list-item {
        font-size: 14px;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}

/* 
=====================================
  会社概要ページ
=====================================
*/
.company-vision h2 {
    text-align: center !important;
    margin-bottom: 1.3em !important;
}

.company-vision p {
    text-align: center;
    width: 80%;
    margin: auto;
}

@media (max-width: 959px) {
    .company-vision p {
        text-align: left;
        width: 100%;
    }
}


.company-table tr:first-child th,
.company-table tr:first-child td {
    border-top: none;
}

.company-table th {
    border-bottom: 1px solid var(--color_main);
    color: #333;
    padding: 23px 8px;
}

.company-table td {
    padding: 23px 0px 23px 20px;
}

@media (min-width: 600px) {
    .company-table th {
        width: 200px !important;
    }
}

@media (max-width: 959px) {
    .company-table th {
        width: 200px;
        padding: 15px 0px 10px 10px;
    }

    .company-table td {
        padding: 15px 0px 20px 10px;
    }

    .company-table.wp-block-table {
        --table-border: none;
    }
}


/* 
=====================================
  プライバシーポリシー
=====================================
*/

.privacy-policy h3 {
    margin-bottom: 1.3em;
}

.privacy-policy h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1.3px;
    background: var(--color_main_hover)
}