@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* 全体 */
.post_content>* {
    margin-bottom: 0;
}

.post_content {
    position: relative;
    z-index: 2;
}

.post_content a {
    transition: 0.4s;
}

.post_content p {
    line-height: 30px;
    font-weight: 500;
}

.post_content li {
    margin: .5em 0;
}

.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 {
    z-index: 2;
}

.l-topTitleArea .l-topTitleArea__body h1 {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 30px;
}

.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 Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-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;
}

.c-gnav {
    padding-top: 20px;
    padding-bottom: 20px;
}

.c-gnav>.menu-item {
    transition: 0.4s;
}

.c-gnav>.menu-item:hover {
    color: #1063C8;
}

.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: "Cardo", serif; */
}

.c-gnav a::after {
    height: 1px;
}


.sec_headline {
    display: flex;
    justify-content: center;
    position: relative;
    font-size: clamp(42px, 5.2vw, 55px);
    text-align: center;
    font-family: 'Heebo', sans-serif;
    font-style: oblique;
    font-weight: bold;
    letter-spacing: 3px;
    color: #1a4186;
    line-height: 1.2;
    margin-bottom: 0;
}

.top-content h2 {
    font-size: clamp(22px, 2.4vw, 26px);
    text-align: center;
    line-height: 1.6;
    color: #1a4186 !important;
    margin-top: 1em !important;
}

.sec_headline::before {
    display: inline-block;
    position: absolute;
    content: '';
    bottom: -2px;
    left: 50%;
    width: 40px;
    height: 2px;
    transform: translateX(-50%);
    background-color: #1a4186;
}

.swell-block-button a {
    padding: 1em;
}

.more-btn-01 a {
    background-color: #fff;
    font-weight: bold;
}

.more-btn-01 a:hover {
    border: 1px solid;
    background: linear-gradient(100deg, var(--the-btn-color) 0%, var(--the-btn-color2) 100%);
    color: #fff !important;
}

.subpage-content .page-lead {
    color: #1a4186;
    width: 100%;
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    padding: 0 !important;
    margin-bottom: 4rem !important;
    text-align: center;
}

@media (max-width: 768px) {
    .sec_headline {
        font-size: 45px;
    }

    .top-content h2 {
        font-size: 20px;
    }

    .subpage-content .page-lead {
        font-size: 24px;
    }
}


/* 左：ロゴ、右：ボタン＋メニューの横並び設定 */
.custom-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.l-fixHeader__inner {
    justify-content: space-between;
}

/* 右側：上にボタン、下にメニュー */
.header-right-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.header-top-buttons .swell-block-button {
    white-space: nowrap;
    width: auto;
    max-width: 100%;
}

.header-top-buttons .swell-block-button span {
    font-size: 0.8em;
}

.header-top-buttons .swell-block-button a {
    padding: 10px;
}

/* 通常ヘッダー */
.custom-header-wrap .header-right-wrap .menu-item a {
    padding-bottom: 10px !important;
}

/* 追従ヘッダー */
.l-fixHeader .header-right-wrap .menu-item a {
    padding-bottom: 10px !important;
}

@media screen and (max-width: 767px) {
    .header-top-buttons {
        display: none;
    }

    .header-right-wrap {
        display: none !important;
    }
}


/* ==============================
  トップページ MVテキスト
============================== */

/* MV内のテキストレイヤー */
#main_visual .p-mainVisual__textLayer {
    text-align: left !important;
    text-shadow: none !important;
}

/* ブログパーツの余白調整 */
#main_visual .p-blogParts,
#main_visual .top-mv-text,
#main_visual .top-mv-text .wp-block-group__inner-container {
    margin: 0;
    padding: 0;
}

/* 空のpを非表示 */
#main_visual .p-blogParts>p:empty {
    display: none;
}

/* 共通 */
#main_visual .top-mv-text {
    margin-left: 3%;
}

#main_visual .top-mv-text p {
    margin: 0;
    color: #222;
    font-weight: 700;
    text-align: left;
    text-shadow: none !important;
    word-break: keep-all;
}

/* 1行ずつ背景 */
#main_visual .mv-text-slide-01 p span,
#main_visual .mv-text-slide-02 p span {
    display: inline-block;
    padding: 0.08em 0.35em;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* 1枚目 */
#main_visual .mv-text-slide-01 p {
    font-size: clamp(2.4rem, 2.8vw, 4.4rem);
    line-height: 1.45;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* 2枚目 */
#main_visual .mv-text-slide-02 p {
    font-size: clamp(1.6rem, 1.7vw, 2.8rem);
    line-height: 1.65;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* スマホ */
@media (max-width: 767px) {
    #main_visual .top-mv-text {
        margin-left: 4%;
    }

    #main_visual .mv-text-slide-01 p span,
    #main_visual .mv-text-slide-02 p span {
        padding: 0.06em 0.28em;
        border-radius: 3px;
    }

    #main_visual .mv-text-slide-01 p {
        font-size: clamp(1.4rem, 4.2vw, 2.2rem);
        line-height: 1.45;
        letter-spacing: 0.03em;
        white-space: normal;
    }

    #main_visual .mv-text-slide-02 p {
        font-size: clamp(1.1rem, 3vw, 1.6rem);
        line-height: 1.55;
        letter-spacing: 0.02em;
        white-space: normal;
    }
}


/* 
=====================================
  トップ コンテンツ
=====================================
*/

/* ==============================
  ABOUT チェックリスト
============================== */

/* 全体の囲み */
.top-about-points {
    padding: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(14, 60, 126, 0.12);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 70, 130, 0.05);
}

/* SWELLの中コンテナ */
.top-about-points .wp-block-group__inner-container {
    padding: 30px 34px !important;
}

/* リスト本体 */
.top-about-points ul,
.top-about-points ul.is-style-check_list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 1項目 */
.top-about-points li,
.top-about-points ul.is-style-check_list li {
    position: relative;
    margin: 0 !important;
    padding: 0 0 0 34px !important;
    color: #222;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.02em;
}

/* 項目間 */
.top-about-points li+li {
    margin-top: 12px !important;
}

/* 青丸チェック：SWELLのチェックを上書き */
.top-about-points li::before,
.top-about-points ul.is-style-check_list li::before {
    content: "" !important;
    position: absolute !important;
    top: 0.55em !important;
    left: 0 !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #0e3c7e 0%, #258bd0 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    transform: none !important;
}

/* 白チェック */
.top-about-points li::after,
.top-about-points ul.is-style-check_list li::after {
    content: "" !important;
    position: absolute !important;
    top: 0.88em !important;
    left: 5px !important;
    width: 8px !important;
    height: 4px !important;
    border-left: 2px solid #fff !important;
    border-bottom: 2px solid #fff !important;
    transform: rotate(-45deg) !important;
}

/* スマホ */
@media (max-width: 767px) {
    .top-about-points {
        margin-top: 28px !important;
    }

    .top-about-points .wp-block-group__inner-container {
        padding: 24px 20px !important;
    }

    .top-about-points li,
    .top-about-points ul.is-style-check_list li {
        padding-left: 30px !important;
        font-size: 15px;
        line-height: 1.85;
    }

    .top-about-points li+li {
        margin-top: 10px !important;
    }

    .top-about-points li::before,
    .top-about-points ul.is-style-check_list li::before {
        top: 0.55em !important;
        width: 17px !important;
        height: 17px !important;
    }

    .top-about-points li::after,
    .top-about-points ul.is-style-check_list li::after {
        top: 0.88em !important;
        left: 5px !important;
        width: 7px !important;
        height: 4px !important;
    }
}


/* トップページ about */
.top-about {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.top-about .lead-copy {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    padding-bottom: 6rem !important;
    margin-bottom: 0 !important;
    background: linear-gradient(135deg, #0E3C7E, #2677B9, #2C9FD9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-about .swell-block-fullWide__inner::before {
    content: '';
    background: url(/wp-content/uploads/decoration_bg01-scaled.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 1450px;
    height: 100vh;
    max-width: 1450px;
    max-height: 1450px;
    position: absolute;
    top: -47px;
    right: -530px;
    transform: rotate(45deg);
    z-index: -1;
}

.top-about .about-bms .swell-block-columns__inner {
    justify-content: space-between;
}

.top-about .right-image-bg img,
.top-about .left-image-bg img {
    object-fit: cover;
    width: 100%;
    height: 300px;
}

/* 背景を画面いっぱいに伸ばす */
.top-about .right-image-bg {
    position: relative;
    z-index: 1;
}

.top-about .right-image-bg::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 125px;
    transform: translateY(-50%);
    width: 100vw;
    /* height: calc(100% + 80px); */
    height: calc(100% + 100px);
    background: linear-gradient(90deg, #2f80ed, #6ee0d9);
    /* background: linear-gradient(90deg, #3b6db2, #4cb8ff); */
    /* background: linear-gradient(90deg, #2d5fa5, #4cb8ff); */
    /* background: linear-gradient(90deg, #1a4186, #4cb8ff); */
    /* background: linear-gradient(90deg, #f1f9ff, #e7f4fc); */
    z-index: -1;
}

.top-about .left-image-bg {
    position: relative;
    z-index: 1;
}

.top-about .left-image-bg::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 145px;
    transform: translateY(-50%);
    width: 100vw;
    height: calc(100% + 80px);
    background: linear-gradient(90deg, #2f80ed, #6ee0d9);
    z-index: -1;
}

@media (max-width: 768px) {
    .top-about {
        padding-bottom: 7em !important;
    }

    .top-about .swell-block-fullWide__inner::before {
        width: 1200px;
        height: 100vh;
        max-width: 1200px;
        max-height: 1200px;
        right: -641px;
    }

    .top-about .about-bms .swell-block-columns__inner {
        gap: 100px;
    }

    .top-about .about-mstage .swell-block-columns__inner {
        flex-direction: column-reverse;
    }

    .top-about .right-image-bg::before {
        left: 55px;
    }

    .top-about .left-image-bg::before {
        right: 55px;
    }
}



/* ==============================
  BMSが選ばれる理由
============================== */

/* 見出し周り */
.top-reason .sec_headline,
.top-reason .is-style-section_ttl {
    text-align: center;
}

.top-reason .is-style-section_ttl {
    margin-bottom: 70px;
}

/* 各項目 */
.top-reason-card {
    position: relative;
    padding: 90px 28px 36px !important;
    margin-bottom: 0 !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 70, 130, 0.06);
    overflow: hidden;
}

/* 背景っぽい大きな番号 */
.top-reason-num {
    position: absolute;
    top: 30px;
    z-index: 0;
    margin: 0;
    color: rgba(15, 70, 130, 0.06);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(4.4rem, 4.6vw, 6.6rem);
    font-weight: 300;
    line-height: 0.8;
    letter-spacing: -0.05em;
    pointer-events: none;
}

/* 番号より本文を前面に */
.top-reason-card>*:not(.top-reason-num) {
    position: relative;
    z-index: 1;
}

/* REASONセクション内のh3余白調整 */
.post_content .top-reason h3.top-reason-title {
    margin: 0 0 26px !important;
}

/* 本文 */
.top-reason-text {
    margin-top: 24px;
}

/* スマホ */
@media (max-width: 767px) {
    .top-reason .is-style-section_ttl {
        margin-bottom: 40px;
    }

    .top-reason-card {
        padding: 80px 24px 30px !important;
    }

    .top-reason-num {
        top: 27px;
        font-size: clamp(4rem, 12vw, 5.8rem);
    }

    .post_content .top-reason h3.top-reason-title {
        margin: 0 0 22px !important;
    }
}


/* ==============================
  BMSの仕組み
============================== */

/* 横線を引くための親 */
.top-flow-list .swell-block-columns__inner {
    position: relative;
}

/* 数字の後ろの横線 */
.top-flow-list .swell-block-columns__inner::before {
    content: "";
    position: absolute;
    top: 22px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 2px;
    background: linear-gradient(90deg, #0e3c7e 0%, #258bd0 100%);
    z-index: 0;
}

/* 各カラム */
.top-flow-item {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 0 !important;
}

/* 番号 */
.top-flow-num {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 24px !important;
    border-radius: 50%;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
}

/* 番号ごとに色を変える */
.top-flow-item:nth-child(1) .top-flow-num {
    background: #0e3c7e;
}

.top-flow-item:nth-child(2) .top-flow-num {
    background: #125292;
}

.top-flow-item:nth-child(3) .top-flow-num {
    background: #1768a8;
}

.top-flow-item:nth-child(4) .top-flow-num {
    background: #1b79ba;
}

.top-flow-item:nth-child(5) .top-flow-num {
    background: #2186c9;
}

.top-flow-item:nth-child(6) .top-flow-num {
    background: #258bd0;
}

/* カード */
.top-flow-card {
    height: auto;
    min-height: 0;
    padding: 22px 12px 24px;
    background: #fff;
    border: 1px solid rgba(14, 60, 126, 0.16);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 70, 130, 0.05);
}

/* SWELLのグループ内余白調整 */
.top-flow-card .wp-block-group__inner-container {
    margin: 0;
    padding: 0;
}

/* アイコン */
.top-flow-icon {
    margin: 0 auto 14px !important;
    text-align: center;
}

.top-flow-icon img {
    width: 56px;
    max-width: 100%;
    height: auto;
}

/* テキスト */
.top-flow-title {
    margin: 0 !important;
    color: #0e3c7e;
    font-size: 18px;
    font-weight: bold !important;
    line-height: 1.5;
    text-align: center;
}

/* フロー下メッセージ */
.top-flow-message {
    margin: 50px 0 40px !important;
    color: #0e3c7e;
    font-size: 20px;
    font-weight: bold !important;
    line-height: 1.8 !important;
    text-align: center;
}

/* スマホ */
@media (max-width: 767px) {
    .top-flow-list .swell-block-columns__inner {
        position: relative;
        padding-left: 0 !important;
    }

    /* スマホ用の縦線：1本で引く */
    .top-flow-list .swell-block-columns__inner::before {
        content: "";
        position: absolute;
        top: 22px;
        bottom: 22px;
        left: 43px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, #0e3c7e 0%, #258bd0 100%);
        z-index: 0;
    }

    .top-flow-item {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 44px 1fr;
        align-items: center;
        column-gap: 16px;
        text-align: left;
        margin-bottom: 16px !important;
        padding-left: 0 !important;
    }

    .top-flow-item::before,
    .top-flow-item::after {
        content: none !important;
    }

    .top-flow-item:last-child {
        margin-bottom: 0 !important;
    }

    .top-flow-num {
        position: relative;
        z-index: 2;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        font-size: 1.5rem;
    }

    .top-flow-card {
        position: relative;
        z-index: 1;
        min-height: auto;
        padding: 18px;
    }

    .top-flow-card .wp-block-group__inner-container {
        display: flex;
        align-items: center;
    }

    .top-flow-icon {
        flex-shrink: 0;
        margin: 0 14px 0 0 !important;
    }

    .top-flow-icon img {
        width: 48px;
    }

    .top-flow-title {
        text-align: left;
    }
}





/* ==============================
  実際に起きているマッチング
============================== */

/* セクション全体 */
.top-matching {
    position: relative;
    overflow: hidden;
}

/* 左上・右上の背景装飾共通 */
.top-matching::before,
.top-matching::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
}

/* 左上：点と線の装飾 */
.top-matching::before {
    top: 0;
    left: 0;
    width: 420px;
    height: 300px;
    background-image: url("/wp-content/uploads/decoration_bg01-scaled.png");
    background-position: left top;
    background-size: auto 300px;
    opacity: 0.5;
}

/* 右上：街並み */
.top-matching::after {
    top: 0;
    right: 0;
    width: 620px;
    height: 360px;
    background-image: url("/wp-content/uploads/matching-bg-city.png");
    background-position: right top;
    background-size: contain;
    opacity: 0.75;

    /* 下の境目をぼかす */
    box-shadow: inset 0 -90px 70px #f7f9fc;
}

/* 中身を前面に */
.top-matching .swell-block-fullWide__inner {
    position: relative;
    z-index: 1;
}

/* 見出し周り */
.top-matching .sec_headline,
.top-matching .is-style-section_ttl,
.top-matching-lead {
    text-align: center;
}

.top-matching .is-style-section_ttl {
    margin-bottom: 24px;
}

/* 説明文 */
.top-matching-lead {
    margin: 0 0 54px !important;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
}

/* カード */
.top-matching-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 190px;
    padding: 42px 42px 42px 34px !important;
    margin-bottom: 0 !important;
    background: #fff;
    border: 1px solid rgba(14, 60, 126, 0.14);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 70, 130, 0.06);
    overflow: hidden;
}

/* アイコン */
.top-matching-icon {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    margin: 0 34px 0 0 !important;
    border-radius: 50%;
    background: rgba(37, 139, 208, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-matching-icon img {
    width: 56px;
    max-width: 56px;
    height: auto;
}

/* 本文エリア */
.top-matching-body {
    position: relative;
    z-index: 1;
    margin: 0 !important;
}

.top-matching-body .wp-block-group__inner-container {
    margin: 0;
    padding: 0;
}

/* タイトル */
.post_content .top-matching-title {
    position: relative;
    margin: 0 0 24px !important;
    padding: 0 !important;
    color: #0e3c7e;
    font-weight: bold;
    line-height: 1.5;
}

/* SWELLのh3下線を消す */
.post_content .top-matching-title::before {
    content: none !important;
}

/* タイトル下の短い線 */
.post_content .top-matching-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 46px;
    height: 2px;
    background: linear-gradient(90deg, #0e3c7e 0%, #258bd0 100%);
}

/* 本文 */
.top-matching-text {
    margin: 0 !important;
    color: #333;
    line-height: 1.8;
}

/* ボタン */
.top-matching-btn {
    margin-top: 48px;
    text-align: center;
}

.top-matching-btn .swell-block-button__link {
    min-width: 260px;
}

@media (max-width: 767px) {
    .top-matching::before {
        top: 0;
        left: 0;
        width: 240px;
        height: 180px;
        background-size: auto 180px;
        opacity: 0.5;
    }

    .top-matching::after {
        top: 20px;
        right: -50px;
        width: 360px;
        height: 240px;
        background-size: contain;
        opacity: 0.5;
        box-shadow: inset 0 -70px 60px #f7f9fc;
    }

    .top-matching .is-style-section_ttl {
        margin-bottom: 20px;
    }

    .top-matching-lead {
        margin-bottom: 34px !important;
        font-size: 16px;
        text-align: left;
    }

    .top-matching-list .swell-block-columns__inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .top-matching-card {
        display: flex;
        align-items: center;
        min-height: auto;
        padding: 24px 20px !important;
    }

    .top-matching-icon {
        flex-shrink: 0;
        width: 64px;
        height: 64px;
        margin: 0 18px 0 0 !important;
    }

    .top-matching-icon img {
        width: 40px;
        max-width: 40px;
    }

    .top-matching-body {
        flex: 1;
        min-width: 0;
    }

    .post_content .top-matching-title {
        margin-bottom: 20px !important;
        padding-right: 0 !important;
        font-size: 18px;
        line-height: 1.5;
    }

    .post_content .top-matching-title::after {
        bottom: -10px;
        width: 38px;
    }

    .top-matching-text {
        line-height: 1.75;
    }

    .top-matching-btn {
        margin-top: 34px;
    }

    .top-matching-btn .swell-block-button__link {
        width: 100%;
        max-width: 320px;
        min-width: 0;
    }
}


















/* トップページ service */
.top-service {
    /* background: linear-gradient(to bottom, #eaf1fb 0%, #ffffff 100%); */
    /* background-color: #f5f7fa;
    background-color: #eef6fb; */
}

.service-cards .swell-block-columns__inner {
    display: flex;
    justify-content: space-between;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px 15px 20px !important;
    border: 2px solid #1a4186;
    display: flex;
    flex-direction: column;
}

.service-cards h3 {
    margin: 0;
    color: #1a4186;
}

.service-cards h3::before {
    background: none;
}

.service-card img {
    width: 90%;
    height: 180px;
    object-fit: contain;
    object-position: center;
    background-color: #fff;
    padding: 10px;
    display: block;
    margin: auto;
}

.service-card .swell-block-button {
    margin-top: auto;
}

.service-cards .swell-block-column:nth-child(-n+3) {
    margin-bottom: 20px;
}

.top-service .swell-block-button {
    margin-top: 15px;
}

.top-service .swell-block-button a {
    padding: var(--the-padding);
}

@media (max-width: 768px) {
    .service-cards .swell-block-column {
        margin-bottom: 20px;
    }
}


/* トップページ overview */
.top-overview .c-bannerLink__title {
    font-size: 2.1rem;
    font-weight: bold;
}

.top-overview .c-bannerLink__description {
    font-size: 1.3rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .top-overview p {
        text-align: left;
    }
}

/* トップページ join */
.top-join {
    /* background: linear-gradient(135deg, #0E3C7E, #2C9FD9); */
    background: linear-gradient(135deg, #0E3C7E, #2677B9, #2C9FD9);
    color: #fff;
}

.top-join .sec_headline,
.top-join h2 {
    color: #fff !important;
}

.top-join .sec_headline::before {
    background-color: #fff;
}

.top-join .swell-block-fullWide__inner::before {
    content: '';
    background: url(/wp-content/uploads/decoration_bg02-scaled.png);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.2;
    width: 100vw;
    height: 60vh;
    position: absolute;
    bottom: 45px;
    left: 0;
    z-index: -1;
}

.top-join .join-text {
    margin: auto;
    width: 80%;
}

@media (max-width: 768px) {
    .top-join .join-text {
        width: 100%;
    }
}

/* ==============================
  開催スケジュール
============================== */

.top-schedule .schedule-text {
    margin: auto;
    width: 80%;
}

@media (max-width: 768px) {
    .top-schedule .schedule-text {
        width: 100%;
    }
}

.top-schedule-calendar-lead {
    margin: 50px 0 20px !important;
    color: #0e3c7e;
    font-weight: bold !important;
    text-align: center;
}

/* カレンダー外枠 */
.top-schedule-calendar {
    max-width: 760px;
    margin: 35px auto 0 !important;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(14, 60, 126, 0.14);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 70, 130, 0.08);
    overflow: hidden;
}

/* SWELLグループ内の余白リセット */
.top-schedule-calendar .wp-block-group__inner-container {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

/* iframe */
.top-schedule-calendar iframe {
    display: block;
    width: 100% !important;
    height: 620px;
    border: none;
    border-radius: 6px;
}

/* スマホ */
@media (max-width: 767px) {
    .top-schedule-calendar {
        margin-top: 32px !important;
        padding: 10px;
        border-radius: 8px;
    }

    .top-schedule-calendar iframe {
        height: 560px;
        border-radius: 4px;
    }
}





/* ==============================
  各ユニット情報
============================== */
/* 説明文 */
.top-unit-lead {
    margin: 0 auto 30px !important;
    line-height: 1.9;
    text-align: center;
}

/* 全体レイアウト */
.top-unit-info .swell-block-columns__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 48px;
    align-items: center;
}

/* SWELLカラム幅の影響をリセット */
.top-unit-info .swell-block-column {
    width: auto !important;
    max-width: none !important;
    margin-bottom: 0 !important;
}

/* 左側：ユニット一覧 */
.top-unit-list {
    display: grid;
    grid-template-columns: 130px 1fr;
    column-gap: 18px;
    row-gap: 18px;
    padding: 36px 34px !important;
    background: #fff;
    border: 1px solid rgba(14, 60, 126, 0.14);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 70, 130, 0.06);
}

/* 地域名 */
.post_content .top-unit-list h3 {
    position: relative;
    grid-column: 1;
    margin: 0 !important;
    padding: 0 0 0 16px !important;
    color: #0e3c7e;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    white-space: nowrap;
}

/* SWELLのh3下線を消す */
.post_content .top-unit-list h3::before,
.post_content .top-unit-list h3::after {
    content: none !important;
}

/* 地域名の丸 */
.post_content .top-unit-list h3::before {
    content: "" !important;
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, #0e3c7e 0%, #258bd0 100%);
    border-radius: 50%;
}

/* ユニット名エリア */
.top-unit-list p {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    line-height: 1.6;
}

/* ユニット名リンク */
.top-unit-list p a {
    display: inline-block;
    padding: 5px 12px;
    color: #0e3c7e;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none !important;
    background: rgba(37, 139, 208, 0.08);
    border: 1px solid rgba(37, 139, 208, 0.18);
    border-radius: 999px;
    transition: 0.2s ease;
}

/* hover */
.top-unit-list p a:hover {
    color: #fff;
    background: linear-gradient(135deg, #0e3c7e 0%, #258bd0 100%);
    border-color: transparent;
}

/* 右側：地図 */
.top-unit-map-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 地図画像 */
.top-unit-map {
    margin: 0 !important;
    text-align: center;
}

.top-unit-map img {
    width: min(100%, 430px);
    height: auto;
}

/* スマホ */
@media (max-width: 767px) {
    .top-unit-info .swell-block-columns__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .top-unit-list {
        display: block;
        padding: 28px 22px !important;
    }

    .post_content .top-unit-list h3 {
        margin: 0 0 10px !important;
        font-size: 17px;
        white-space: nowrap;
    }

    .top-unit-list p {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin: 0 0 22px !important;
    }

    .top-unit-list p:last-child {
        margin-bottom: 0 !important;
    }

    .top-unit-list p a {
        padding: 5px 10px;
        font-size: 13px;
    }

    .top-unit-map img {
        width: min(100%, 360px);
    }
}

/* ==============================
  CTA
============================== */

/* CTAの横長エリア */
.top-cta .swell-block-fullWide__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: 48px;
    row-gap: 0;
    align-items: center;
    max-width: 1100px;
    padding: 58px 58px;
    overflow: hidden;
    border: 1px solid rgba(14, 60, 126, 0.12);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 70, 130, 0.07);
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(238, 248, 254, 0.46) 100%),
        url("/wp-content/uploads/matching-bg-city.png");
    background-repeat: no-repeat, no-repeat;
    background-position: center, right bottom;
    background-size: cover, auto 100%;
}

/* JOIN BMSが残っていた場合は非表示 */
.top-cta .sec_headline {
    display: none;
}

/* 背景のBMSロゴ */
.top-cta .swell-block-fullWide__inner::before {
    content: "";
    position: absolute;
    left: -10px;
    bottom: 10px;
    width: 280px;
    height: 110px;
    background-image: url("/wp-content/uploads/bms-logo-01.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
}

/* 中身を前面に */
.post_content .top-cta-title,
.top-cta-text,
.top-cta-buttons {
    position: relative;
    z-index: 1;
}

/* 見出し */
.post_content .top-cta-title {
    grid-column: 1;
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: #0e3c7e;
    font-size: clamp(28px, 2.55vw, 36px);
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
    background: none !important;
    border: none !important;
}

/* SWELLの見出し装飾を消す */
.post_content .top-cta-title::before,
.post_content .top-cta-title::after {
    content: none !important;
}

/* 2行目をPCでは途中で割らない */
.top-cta-line {
    display: inline-block;
    white-space: nowrap;
}

/* リアルBMSだけ強調 */
.top-cta-em {
    color: #1178d0;
}

/* 本文 */
.top-cta-text {
    grid-column: 1;
    margin: 0 !important;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    text-align: left;
}

/* ボタンエリア */
.top-cta-buttons {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    margin: 0 !important;
}

/* ボタンを縦並び */
.top-cta-buttons .swell-block-columns__inner {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}

/* SWELLカラム幅リセット */
.top-cta-buttons .swell-block-column {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    margin-bottom: 0 !important;
}

/* ボタン共通 */
.top-cta-button {
    width: 100%;
    margin: 0 !important;
}

.top-cta-button .swell-block-button__link {
    width: 100%;
    min-height: 64px;
    padding: 0.9em 2em;
    border-radius: 6px;
    font-size: 17px;
    font-weight: bold;
}

/* メインボタン：イベント一覧 */
.top-cta-button-main .swell-block-button__link {
    color: #fff !important;
    background: linear-gradient(90deg, #0e3c7e 0%, #258bd0 100%) !important;
    box-shadow: 0 6px 16px rgba(0, 70, 130, 0.22);
}

/* サブボタン：お問い合わせ */
.top-cta-button-sub .swell-block-button__link {
    color: #0e3c7e !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(14, 60, 126, 0.35);
    box-shadow: 0 4px 12px rgba(0, 70, 130, 0.08);
}

/* サブボタンのアイコン色 */
.top-cta-button-sub .swell-block-button__link svg {
    fill: #0e3c7e;
}

/* スマホ */
@media (max-width: 767px) {
    .top-cta .swell-block-fullWide__inner {
        display: block;
        padding: 42px 24px 46px;
        border-radius: 10px;
        background-image:
            linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(238, 248, 254, 0.7) 100%),
            url("/wp-content/uploads/matching-bg-city.png");
        background-repeat: no-repeat, no-repeat;
        background-position: center, center bottom;
        background-size: cover, auto 42%;
    }

    .top-cta .swell-block-fullWide__inner::before {
        left: -12px;
        bottom: 14px;
        width: 200px;
        height: 80px;
        opacity: 0.04;
    }

    .post_content .top-cta-title {
        margin-bottom: 14px !important;
        font-size: 28px;
        line-height: 1.48;
        text-align: center;
    }

    .top-cta-line {
        white-space: normal;
    }

    .top-cta-text {
        margin-bottom: 28px !important;
        font-size: 16px;
        line-height: 1.8;
        text-align: center;
    }

    .top-cta-buttons {
        margin-top: 28px !important;
    }

    .top-cta-buttons .swell-block-columns__inner {
        gap: 12px;
    }

    .top-cta-button {
        max-width: 320px;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .top-cta-button .swell-block-button__link {
        min-height: 56px;
        font-size: 16px;
    }
}







/* トップページ お知らせ一覧 */
.top-news .p-postList__item .p-postList__body {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.p-postList__item .p-postList__meta {
    display: contents;
}

.top-news .p-postList__item .p-postList__times {
    width: 10%;
    justify-content: center;
    margin-right: 0;
}

.p-postList__item .p-postList__cat {
    width: 10%;
    text-align: center;
    padding: 4px;
}

.top-news .p-postList__item .p-postList__title {
    /* width: 80%; */
    font-weight: 500;
    margin-top: 0 !important;
    margin-left: 50px;
}

/* 日付とカテゴリーのアイコン非表示 */
.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 {
    transition: opacity 0.2s;
}

.p-postList__item .p-postList__link:hover {
    background: none;
    opacity: 0.6;
}

.p-postList__item .p-postList__cat {
    color: #1a4186;
    border: 1px solid #1a4186;
    background-color: #fff;
    margin-right: 0;
}

@media (max-width: 768px) {
    .p-postList__item .p-postList__body {
        flex-direction: column;
    }

    .p-postList__item .p-postList__meta {
        display: flex;
        width: 100%;
    }

    .top-news .p-postList__item .p-postList__times {
        width: 25%;
        justify-content: left;
    }

    .p-postList__item .p-postList__cat {
        width: 45%;
        text-align: center;
        padding: 4px;
    }

    .top-news .p-postList__item .p-postList__title {
        width: 100%;
        margin-left: 0;
    }
}

/* 
=====================================
  コンタクトエリア
=====================================
*/
.contact-area .l-article {
    background-color: #ffffff96;
    backdrop-filter: blur(2px);
    padding: 50px;
}


/* 
=====================================
  フッター
=====================================
*/
/* フッター全体のベース */
.custom-footer-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 1rem;
    /* background: #19397A; */
    color: #fff;
}

/* ロゴ・住所など左カラム */
.footer-col--logo {
    flex: 1 1 220px;
    min-width: 220px;
}

.footer-col--logo img {
    max-width: 180px;
    margin-bottom: 1rem;
}

.footer-col--logo p {
    margin: 0 0 0.5em;
    font-size: 14px;
    line-height: 1.5;
}

.footer-company-info a {
    display: flex;
    align-items: center;
    padding-top: 5px;
}

.footer-company-info a .material-symbols-outlined {
    font-size: 15px;
    margin-right: 3px;
}

/* メニュー群全体（右側） */
.footer-menus-all {
    flex: 2 1 600px;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

/* メニュー各列 */
.footer-menus-all .footer-col {
    width: 30%;
    min-width: 150px;
}

/* メニュー共通 */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.3em;
    font-size: 14px;
}

.footer-menu>li:first-child>a {
    font-size: 1rem;
    font-weight: bold;
}

.footer-menu li a {
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-menu li a:hover {
    opacity: 0.7;
}

/* モバイル対応 */
/* @media screen and (max-width: 768px) {

  .custom-footer-wrap {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-col--logo,
  .footer-menus-all .footer-col {
    flex: 1 1 100%;
    min-width: auto;
  }

  .footer-menus-all {
    flex-direction: column;
  }
} */

@media screen and (max-width: 768px) {
    .footer-menus-all {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-menus-all .footer-col {
        width: calc(50% - 0.5rem);
        /* gap考慮して2列 */
        min-width: 0;
    }

    .footer-col--logo {
        width: 100%;
    }
}


/* フッター直前ウィジェット */
.w-beforeFooter {
    margin-top: 0;
    margin-bottom: 0;
}


/* 
=====================================
  下層ページ
=====================================
*/
/* 会社概要 */
.company-profile .company_table tr:first-child th,
.company-profile .company_table tr:first-child td {
    border-top: none;
}

.company-profile .company_table th {
    border-bottom: 1px solid #1a4186;
}

.company-profile .company_table td {
    padding: 25px 0px 25px 20px;
}

@media (min-width: 600px) {
    .company-profile .company_table th {
        width: 20% !important;
    }

    .company-profile .company_table td {
        width: 80% !important;
    }
}

@media not all and (min-width: 960px) {
    .company-profile .company_table th {
        width: 200px;
        padding: 15px 0px 10px 10px;
    }

    .company-profile .company_table td {
        padding: 20px 0px 20px 10px;
    }

    .company-profile .company_table.wp-block-table {
        --table-border: none;
    }
}

.officer .officer-01 {
    margin-bottom: 100px;
}

.officer .officer-inner .swell-block-columns__inner {
    justify-content: space-between;
}

.subpage-content.officer .officer-inner:not(:last-of-type) {
    margin-bottom: 80px;
}

.officer .officer-inner .swell-block-columns__inner img {
    height: 300px;
    width: 300px;
}

.officer .officer_text_wrap .officer {
    font-weight: 600;
    font-size: 25px;
    border-bottom: 2px solid;
    border-image: linear-gradient(140deg, #0E3C7E 0%, #2677B9 30%, #2C9FD9 80%);
    border-image-slice: 1;
    margin-bottom: 30px;
    padding-bottom: 6px;
}

.officer .officer_text_wrap .officer span {
    font-size: 18px;
    font-weight: 500;
    padding-left: 25px;
    color: #1a4186;
}

.officer .officer_text_wrap .position {
    font-weight: bold;
}

.officer .officer_text_wrap p {
    margin-bottom: 5px;
}


/* 5つの行動指針 */
.guidelines .card-link {
    padding: 20px !important;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    background-color: #fff;
}

.guidelines .card-link figure {
    margin-bottom: 1em;
}

.guidelines .card-link a {
    color: var(--color_text);
}

.guidelines .card-link .scroll-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CSR（社会的活動） */
@media (max-width: 768px) {
    .subpage-content.csr .swell-block-columns .swell-block-columns__inner {
        flex-direction: column-reverse;
    }
}


/* ユニット紹介 */
.subpage-content.units {
    background-size: 60%;
    padding-top: 0 !important;
}

.subpage-content.units .unit-box {
    background: linear-gradient(rgb(255 255 255 / 55%), rgb(255 255 255 / 55%));
    border: 1px solid #f0f0f0;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
    display: block;
}

.subpage-content.units .unit-box.card-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.subpage-content.units .unit-left {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.subpage-content.units .unit-region,
.subpage-content.units .unit-region a {
    display: flex;
    align-items: center;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1a4186;
    gap: 8px;
}

.subpage-content.units .unit-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.subpage-content.units .unit-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.6);
}

.subpage-content.units .unit-card p {
    color: var(--color_text);
}

.subpage-content.units .unit-arrow {
    color: #19397A;
    font-size: 1rem;
    margin-left: 1em;
    flex-shrink: 0;
    align-self: center;
}

.subpage-content.units .unit-links a {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 6px 12px;
    border: 1px solid #cce0f5;
    border-radius: 6px;
    background-color: #f8fbff;
    color: #1a4186;
    text-decoration: none;
    font-size: 0.95em;
    transition: 0.2s;
}

.subpage-content.units .unit-links a:hover {
    background-color: #e6f1ff;
    border-color: #99c7f0;
}


/* 下層固定ページだけに適用する背景 */
.page:not(.home):not(.page-units) #content::before {
    content: '';
    background: url(/wp-content/uploads/decoration_bg01-scaled.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 1450px;
    height: 100vh;
    max-width: 1450px;
    max-height: 1450px;
    position: absolute;
    top: -47px;
    right: -530px;
    transform: rotate(45deg);
    z-index: 1;
    pointer-events: none;
}

#body_wrap.page.page-id-206 #content::before {
    display: none;
}

@media (max-width: 768px) {
    .page:not(.home):not(.page-units) #content::before {
        width: 1200px;
        height: 100vh;
        max-width: 1200px;
        max-height: 1200px;
        right: -641px;
    }
}


/* リアルBMS */
.real-bms-flow .swell-block-step__number .__label {
    color: #1a4186;
    font-size: 1.2em;
    opacity: 1;
}


/* Webマッチング */
.web-matching-rule h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.web-matching-rule .rules_number {
    font-size: 1.2em;
    font-weight: bold;
    color: #1a4186;
}

@media (max-width: 768px) {
    .web-matching-rule .swell-block-columns .swell-block-columns__inner {
        flex-direction: column-reverse;
    }
}

/* マッチング事例 */
.matching-case {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    padding: 1.2em;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: inherit;
}

.matching-case:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.matching-card {
    display: flex;
    gap: 15px;
    align-items: center;
}

.matching-case img {
    max-height: 50px;
}

.matching-card-header {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.6em;
}

.matching-card-icon {
    vertical-align: middle;
}

.matching-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1a4186;
}

.matching-card-text {
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 5px;
}

.matching-case .right-arrow {
    color: #1a4186;
    font-size: 1.8rem;
}


/* お問い合わせエリア */
.contact-area {
    z-index: 0;
}

.contact-area .l-article {
    background-color: #ffffffd9;
    backdrop-filter: blur(2px);
    padding: 50px;
}

.contact-area .l-article a {
    padding: 15px;
    font-size: 20px;
}

/* 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;
} */



/* ==============================
  ページネーション
============================== */

.c-pagination.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    clear: both;
    margin: 36px 0 0 !important;
    padding-bottom: 56px;
}

/* 数字・次へ 共通 */
.c-pagination.pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
    min-width: 38px;
    height: 38px;
    padding: 0 12px !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1 !important;
    text-decoration: none !important;
    vertical-align: top;
    background: #d9d9d9;
    border: none !important;
    border-radius: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* 現在ページ */
.c-pagination.pagination .page-numbers.current {
    background: #1a4186;
}

/* リンクhover */
.c-pagination.pagination a.page-numbers:hover {
    background: #258bd0;
}

/* 前へ・次へ */
.c-pagination.pagination .page-numbers.prev,
.c-pagination.pagination .page-numbers.next {
    min-width: 58px;
}

/* スマホ */
@media (max-width: 767px) {
    .c-pagination.pagination {
        gap: 8px;
        margin-top: 30px !important;
        padding-bottom: 42px;
    }

    .c-pagination.pagination .page-numbers {
        min-width: 34px;
        height: 34px;
        padding: 0 9px !important;
        font-size: 14px;
    }

    .c-pagination.pagination .page-numbers.prev,
    .c-pagination.pagination .page-numbers.next {
        min-width: 52px;
    }
}




/* 
=====================================
  コラム一覧ページ
=====================================
*/

/* コラム一覧全体 */
.column-archive {
    padding: 40px 0 60px;
}

/* 説明文 */
.column-archive__header {
    margin-bottom: 40px;
}

.column-archive__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

/* カード一覧 */
.column-card-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* カード */
.column-card {
    background: #fff;
    border: 1px solid #ddd;
}

.column-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.column-card__link:hover {
    opacity: 0.75;
}

/* サムネイル */
.column-card__thumb {
    overflow: hidden;
    background: #f5f5f5;
}

.column-card__thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* アイキャッチ未設定時 */
.column-card__noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    color: #999;
    font-size: 13px;
    letter-spacing: 0.08em;
}

/* カード本文 */
.column-card__body {
    padding: 20px;
}

.column-card__date {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

/* カードタイトル */
.column-card__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

/* SWELLの本文内h2装飾をコラムカード内だけ解除 */
.post_content .column-card-list .column-card__title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    background: none !important;
    color: inherit !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.post_content .column-card-list .column-card__title::before,
.post_content .column-card-list .column-card__title::after {
    content: none !important;
    display: none !important;
}

.column-card__excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* ページネーション */
.column-pagination {
    margin-top: 40px;
}

/* 投稿がない場合 */
.column-archive__empty {
    margin: 0;
    padding: 32px;
    background: #f7f7f7;
    text-align: center;
}

/* タブレット */
@media screen and (max-width: 959px) {
    .column-card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* スマホ */
@media screen and (max-width: 767px) {
    .column-archive {
        padding: 32px 0 48px;
    }

    .column-archive__header {
        margin-bottom: 28px;
    }

    .column-archive__lead {
        font-size: 15px;
    }

    .column-card-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .column-card__body {
        padding: 18px;
    }

    .column-card__title,
    .post_content .column-card-list .column-card__title {
        font-size: 18px;
    }

    .column-card__excerpt {
        font-size: 14px;
    }
}




/* ==============================
  BMS：次にお読みいただきたいページ
============================== */

/* セクション全体 */
.bms-next-links {
    margin: 64px 0 56px;
    padding: 36px 32px 40px;
    background: #f7f9fc;
    border-top: 3px solid #0e3c7e;
    box-sizing: border-box;
}

/* SWELLのグループ内側 */
.bms-next-links .wp-block-group__inner-container {
    max-width: 100%;
}

/* 見出し：このパーツ内だけ青帯を解除 */
.bms-next-links .wp-block-heading {
    width: auto;
    max-width: 100%;
    margin: 0 0 32px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    color: #0e3c7e;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    box-sizing: border-box;
}

/* 見出しの疑似要素がある場合は消す */
.bms-next-links .wp-block-heading::before,
.bms-next-links .wp-block-heading::after {
    content: none !important;
    display: none !important;
}

/* ボタン全体の並び */
.bms-next-links .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 24px;
    margin: 0 !important;
}

/* ボタン1個 */
.bms-next-links .wp-block-button {
    flex: 0 1 420px;
    margin: 0 !important;
}

/* ボタンリンク */
.bms-next-links .wp-block-button__link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75em 1.4em;
    border: 1px solid #0e3c7e !important;
    border-radius: 999px;
    background: #fff !important;
    color: #0e3c7e !important;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    box-shadow: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* ボタン内の矢印 */
.bms-next-links .wp-block-button__link::after {
    content: "›";
    display: inline-block;
    margin-left: 0.55em;
    font-size: 1.35em;
    font-weight: 400;
    line-height: 1;
    transform: translateY(1px);
}

/* hover */
.bms-next-links .wp-block-button__link:hover {
    background: #0e3c7e !important;
    color: #fff !important;
    border-color: #0e3c7e !important;
    opacity: 1;
}

/* スマホは1列 */
@media screen and (max-width: 600px) {
    .bms-next-links {
        margin: 48px 0 40px;
        padding: 28px 18px 32px;
    }

    .bms-next-links .wp-block-heading {
        margin-bottom: 24px !important;
        font-size: 1.2rem;
        text-align: left;
    }

    .bms-next-links .wp-block-button {
        flex-basis: 100%;
    }
}



/* ==============================
  お知らせ一覧：アイキャッチ未設定時
============================== */
/* お知らせ一覧：アイキャッチ未設定時 */
#post_list_tab_1 .p-postList__thumb.noimg_ .c-postThumb__figure {
    position: relative;
    background: #f0f0f0;
}

/* SWELL標準のNO IMAGE画像を見えなくする */
#post_list_tab_1 .p-postList__thumb.noimg_ .c-postThumb__img {
    opacity: 0;
}

/* NO IMAGEの文字を表示 */
#post_list_tab_1 .p-postList__thumb.noimg_ .c-postThumb__figure::after {
    content: "NO IMAGE";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    letter-spacing: 0.08em;
    pointer-events: none;
}

/* reCAPTCHAバッジの表示位置 */
.grecaptcha-badge {
    z-index: 999999;
    bottom: 90px !important;
}