@charset "UTF-8";

/* ==================================================================
 * oki-takken — 一般社団法人 沖縄県不動産流通機構
 *
 * 土台部分（リセット・変数・レイアウト基準）。
 * 各セクションのスタイルはこの下に追記していく。
 *
 * 【デザイン基準】Figma fileKey: TqYjbPQrD18ngj00ArGEpJ
 *   キャンバス 1440px / コンテンツ 1120px（左右余白160px対称）
 *   2カラム 539px(gap 42) / 3カラム 367px(gap 10) / 4カラム 265px(gap 20)
 *   → Figma の px 値を 1/10 して rem で書けば PC で一致する（下の html 参照）
 * ================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ------------------------------------------------------------------
 * カラー変数（Figma デザインから実測した値）
 * Figma 側で定義されていた変数は green / red の 2 つだけだったため、
 * 残りは各ノードの指定値を拾ってここに集約している。
 * セクションを実装するたびに追記する。
 * ------------------------------------------------------------------ */
:root {
    /* 主要カラー */
    --primary: #084f95;                    /* フッター・CTA・見出しの紺 */
    --primary-deep: #023c76;               /* ヘッダー背景のベース色 */
    --header-bg: rgba(2, 60, 118, 0.6);    /* ヘッダー（半透明） */
    --accent: #d93448;                     /* Figma変数 red：検索ボタン・会員ログイン */
    --green: #32a783;                      /* Figma変数 green */

    /* トピックスのカテゴリ色（タブ・記事のカテゴリラベルで共用） */
    --cat-news: #084f95;
    --cat-property: #d93448;
    --cat-trainingvideo: #326da7;
    --cat-case: #8b3291;
    --cat-officer: #a77232;
    --heading-navy: #033f7c;               /* 一覧見出し・ページャの紺 */
    --article-text: #01090d;               /* トピックス詳細の本文色 */
    --band-bg: #f1f8ff;                    /* 下層ページの帯（薄い水色） */
    --bar-bg: #d5e9fd;                     /* 小見出しの帯 */

    /* 補助カラー */
    --bnr-bg: #fffad4;                     /* 「バナー広告募集中」の帯 */
    --text-color: #333;
    --text-black: #000;
    --gray: #9b9b9b;                       /* 「広告募集中」プレースホルダ */
    --border: #b7b7b7;
    --border-light: #f9f9f9;
    --bg-light: #eee;

    /* レイアウト */
    --content-width: 116.8rem;             /* 内寸 1120px（padding 2.4rem×2 を含む） */
    --transition: 0.3s ease-in-out;
}

/* ------------------------------------------------------------------
 * リセット
 * ------------------------------------------------------------------ */
html,
body,
h1,
h2,
h3,
h4,
a,
table,
tr,
th,
td,
fieldset {
    border: 0;
    font-size: 100%;
    font-weight: normal;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

article,
header,
footer,
aside,
figure,
figcaption,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    -webkit-text-size-adjust: 100%;
}

/* padding を消さないとブラウザ既定の padding-inline-start:40px が残り、
   リスト系がすべて 40px 右にずれる。 */
ol,
ul {
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

figure {
    margin: 0;
}

a {
    color: inherit;
    display: block;
    text-decoration: none;
}

/* object-fit:contain は縦横比の保険。width と height を両方指定しても歪まない。
   写真を切り抜く箇所だけ個別に cover を指定する。 */
img {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

input,
button,
select,
textarea {
    background: transparent;
    border: none;
    border-radius: 0;
    font: inherit;
    outline: none;
}

textarea {
    resize: vertical;
}

input[type="submit"],
input[type="button"],
label,
button,
select {
    cursor: pointer;
}

input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}

select::-ms-expand {
    display: none;
}

pre {
    white-space: pre-wrap;
}

/* ------------------------------------------------------------------
 * フォントサイズの基準（1rem = 10px 相当）
 *
 * SP           : 62.5% = 10px 固定
 * 768〜1167px  : 0.85616vw ＝ ビューポート連動で可変
 *                （1168px のとき 10.0px になる係数）
 * 1168px 以上  : 10px 固定
 *
 * この機構のおかげで Figma（1440px 基準）の px 値を 1/10 して
 * rem で書くだけで PC 表示が一致し、タブレットでは自動縮小する。
 * ------------------------------------------------------------------ */
html {
    font-size: 62.5%;
}

@media screen and (min-width: 768px) {
    html {
        font-size: 0.85616vw;
    }
}

@media screen and (min-width: 1168px) {
    html {
        font-size: 10px;
    }
}

body {
    color: var(--text-color);
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    width: 100%;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 1.4rem;
    }
}

/* ------------------------------------------------------------------
 * レイアウト
 * ------------------------------------------------------------------ */
/* padding-top は position:fixed のヘッダーの高さ分。body.home で打ち消す。 */
.wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 11.4rem;
    position: relative;
}

@media screen and (max-width: 767px) {
    .wrap {
        padding-top: 15vw;
    }
}

.main {
    flex: 1;
}

.fixed {
    height: 100%;
    position: fixed;
    width: 100%;
}

/* コンテンツ幅。Figma のコンテンツ幅 1120px に合わせている。
   1440px 表示時: max-width 1168px を中央寄せ → 左右余白 136px、
   さらに内側 padding 24px で文字の左端が 160px = Figma と一致する。 */
.inner {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--content-width);
    padding-left: 2.4rem;
    padding-right: 2.4rem;
    position: relative;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .inner {
        padding-left: 5vw;
        padding-right: 5vw;
    }
}

/* ------------------------------------------------------------------
 * 表示切替ユーティリティ
 * ------------------------------------------------------------------ */
@media screen and (min-width: 768px) {
    .sp-only {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .pc-only {
        display: none !important;
    }
}

/* ドロワー内のサイト内検索。PC の検索窓が出ない幅の代わり。 */
.nav-drawer__search {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem auto 0;
    max-width: 90%;
    width: 36rem;
}

.nav-drawer__searchField {
    align-items: center;
    background-color: #fff;
    border: 1px solid #cbcbcb;
    border-radius: 0.4rem;
    display: flex;
    flex: 1 1 0;
    gap: 0.6rem;
    min-width: 0;
    padding: 0 1.2rem;
}

.nav-drawer__searchField img {
    flex-shrink: 0;
    height: 1.7rem;
    width: 1.7rem;
}

.nav-drawer__searchField input {
    font-size: 1.4rem;
    height: 4.2rem;
    width: 100%;
}

.nav-drawer__searchBtn {
    background-color: var(--accent);
    border-radius: 0.4rem;
    color: #fff;
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 700;
    height: 4.2rem;
    padding: 0 1.6rem;
}

@media screen and (max-width: 767px) {
    /* ログインボタン・連絡先ブロックと左右をそろえる。 */
    .nav-drawer__search {
        gap: 2vw;
        margin-top: 4vw;
        width: 90%;
    }

    .nav-drawer__searchField {
        border-radius: 0.8rem;
        padding: 0 3vw;
    }

    .nav-drawer__searchField img {
        height: 4vw;
        width: 4vw;
    }

    .nav-drawer__searchField input {
        font-size: 3.6vw;
        height: 11vw;
    }

    .nav-drawer__searchBtn {
        border-radius: 0.8rem;
        font-size: 3.6vw;
        height: 11vw;
        padding: 0 5vw;
    }
}

/* ------------------------------------------------------------------
 * WordPress 標準の配置クラス
 * ------------------------------------------------------------------ */
.aligncenter,
.aligncenter img {
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

.alignright,
.alignright img {
    height: auto;
    margin-left: auto;
    max-width: 100%;
}

.alignnone,
.alignnone img {
    height: auto;
    max-width: 100%;
}

/* ==================================================================
 * ヘッダー   Figma: 4061:3543（1440×114）
 * ================================================================== */
/* z-index は .nav-drawer(35) より必ず大きくする。小さいとドロワーに覆われて
   ハンバーガーが押せず、メニューを閉じられなくなる。 */
.header {
    transition: background-color 0.3s, box-shadow 0.3s;
    align-items: center;
    background-color: var(--header-bg);
    display: flex;
    height: 11.4rem;
    justify-content: space-between;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
}

/* スクロール後は青の半透明＋blur に切り替える（PC/SP共通）。
   下地（::before）を消さないと blur が効かないので合わせて消す。
   blur 非対応ブラウザでは背後の文字が透けて読みにくくなるため、
   @supports で切り分けて不透明度を上げている。 */
.header.scrolled {
    background-color: rgba(2, 60, 118, 0.85);
    box-shadow: 8px 8px 16px 0 rgba(0, 0, 0, 0.03);
}

.header.scrolled::before {
    display: none;
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
    .header.scrolled {
        -webkit-backdrop-filter: blur(8px);
                backdrop-filter: blur(8px);
        background-color: rgba(2, 60, 118, 0.55);
    }
}

/* 半透明ヘッダーの下地。FV がある TOP では body.home 側で消す。 */
.header::before {
    background-color: var(--primary-deep);
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}

.header__logoArea {
    align-self: stretch;
    background-color: #fff;
    border-bottom-right-radius: 2rem;
    flex-shrink: 0;
    position: relative;
    width: 24.5rem;
}

.header__logo {
    left: 2.8rem;
    position: absolute;
    top: 2.5rem;
    width: 19rem;
}

.header__utility {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-left: auto;
    padding: 1rem 1rem 1.4rem 3rem;
}

/* --- サイト内検索 --- */
.header__search {
    align-items: center;
    background-color: #fff;
    border-radius: 0.4rem;
    display: flex;
    gap: 1rem;
    padding: 0.4rem;
}

.header__searchField {
    align-items: center;
    background-color: #fff;
    border: 1px solid #cbcbcb;
    border-radius: 0.4rem;
    display: flex;
    gap: 0.4rem;
    height: 2.6rem;
    padding: 0 1rem;
    width: 21.4rem;
}

.header__searchIcon {
    flex-shrink: 0;
    height: 1.7rem;
    width: 1.7rem;
}

.header__searchField input {
    font-size: 1.3rem;
    letter-spacing: 0.056em;
    line-height: 1.8rem;
    width: 100%;
}

.header__searchField input::placeholder {
    color: #d6d6d6;
}

.header__searchBtn {
    background-color: var(--accent);
    border-radius: 0.4rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    height: 2.6rem;
    letter-spacing: 0.04em;
    line-height: 1.8rem;
    padding: 0 1.2rem;
}

/* --- グローバルナビ --- */
.header__navList {
    align-items: flex-end;
    display: flex;
}

/* デザイン値は 17px / padding 0 1.4rem。 */
.header__navItem a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.8rem;
    padding: 0 1.8rem;
    text-align: center;
    transition: opacity var(--transition);
    /* 幅が足りないときに語の途中で折れるのを防ぐ。
       <br> を入れている「情報公開・コンプライアンス」だけは意図した2行。 */
    white-space: nowrap;
}

.header__navItem a:hover {
    opacity: 0.7;
}

/* --- 会員ログイン --- */
.header__login {
    align-items: center;
    align-self: stretch;
    background-color: var(--accent);
    border-radius: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 700;
    gap: 0.8rem;
    justify-content: center;
    letter-spacing: 0.04em;
    line-height: 1.8rem;
    /* ナビとの間が 1rem しかなく詰まって見えたため左マージンを 2rem に */
    margin: 1rem 1rem 1rem 2rem;
    text-align: center;
    transition: opacity var(--transition);
    width: 11rem;
}

.header__login:hover {
    opacity: 0.85;
}

/* icon-lock.svg は 10.9325×20 の縦長。高さのみ指定して比率を保つ。 */
.header__login img {
    flex-shrink: 0;
    height: 2rem;
    width: auto;
}

/* ==================================================================
 * SP ハンバーガー／ドロワー（流用元テーマの構造を踏襲）
 * ================================================================== */
/* display:none は base に置く。SP のメディアクエリ内だけに書くと PC で
   .nav-drawer が表示されてしまう。 */
.hamburgerArea,
.nav-drawer {
    display: none;
}

.nav-drawer__btn img {
    flex-shrink: 0;
    width: auto;
}

@media screen and (max-width: 767px) {
    .header {
        background-color: rgb(2 60 118 / 0%);
        height: 15vw;
        justify-content: flex-start;
    }

    /* SPはヘッダーの地色を出さず、ロゴ白版とハンバーガーだけを乗せる。 */
    .header.scrolled {
        -webkit-backdrop-filter: blur(0px);
                backdrop-filter: blur(0px);
        background-color: rgb(2 60 118 / 0%);
        box-shadow: 8px 8px 16px 0 rgba(0, 0, 0, 0);
    }

    .header__logoArea {
        border-bottom-right-radius: 0;
        margin-right: auto;
        width: 44vw;
    }

    .header__logo {
        left: 3vw;
        top: 50%;
        transform: translateY(-50%);
        width: 40vw;
    }

    .header__login {
        border-radius: 0;
        font-size: 2.6vw;
        gap: 0.4vw;
        line-height: 1.3;
        margin: 0;
        width: 15vw;
    }

    /* 鍵アイコンは 10.93×20 の縦長。高さのみ指定して比率を保つ。 */
    .header__login img {
        height: 3.6vw;
        width: auto;
    }

    .hamburgerArea {
        align-items: stretch;
        display: flex;
    }

    .hamburger {
        background-color: var(--primary);
        border: none;
        cursor: pointer;
        /* ヘッダー（.header の height）と同じにする。17vw だと会員ログインより高くなる。 */
        height: 15vw;
        outline: none;
        padding: 0;
        position: relative;
        transition: background-color 0.5s ease-out;
        width: 15vw;
        z-index: 40;
    }

    .hamburger span {
        background-color: #fff;
        height: 0.35vw;
        left: 0;
        margin: auto;
        position: absolute;
        right: 0;
        transition: all 0.5s ease-out;
        width: 4.7vw;
    }

    /* 高さを変えても崩れないよう中心（50%）基準にしている。 */
    .hamburger__lineTop {
        top: calc(50% - 1.3vw);
    }

    .hamburger__lineCenter {
        top: 50%;
    }

    .hamburger__lineBottom {
        top: calc(50% + 1.3vw);
    }

    /* .open はボタン自身に付くので子孫セレクタ（.open .hamburger）にしない。 */
    .hamburger.open {
        background-color: var(--primary-deep);
    }

    .hamburger.open .hamburger__lineTop {
        top: 50%;
        transform: rotate(45deg);
    }

    .hamburger.open .hamburger__lineCenter {
        display: none;
    }

    .hamburger.open .hamburger__lineBottom {
        top: 50%;
        transform: rotate(-45deg);
    }

    /* --- SPのドロワーメニュー ---
       中央揃えのテキストだけだと押しにくく現在地も分からないため、
       ロゴ＋左揃えの行＋矢印＋連絡先の構成にしている。
       表示は jQuery の fadeIn（display:none → block）なので、
       display が切り替わるたびに下の animation が再生される。 */
    .nav-drawer {
        background-color: #fff;
        display: none;
        height: 100vh;
        overflow-y: auto;
        padding: 0 0 12vw;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 35;
    }

    .nav-drawer__nav {
        animation: okiDrawerIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes okiDrawerIn {
        from { opacity: 0; transform: translateY(-2vw); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* ロゴ帯。固定ヘッダー（15vw）と同じ高さにして重なりを合わせる。 */
    .nav-drawer__head {
        align-items: center;
        display: flex;
        height: 15vw;
        padding: 0 5vw;
    }

    .nav-drawer__logo {
        display: block;
        width: 42vw;
    }

    .nav-drawer__logo img {
        height: auto;
        width: 100%;
    }

    .nav-drawer__list {
        display: block;
        padding: 4vw 5vw 0;
    }

    .nav-drawer__item {
        border-bottom: 1px solid #ededed;
    }

    .nav-drawer__item:not(:first-of-type) {
        margin-top: 0;
    }

    /* 1行ずつ少し遅らせて出す。 */
    .nav-drawer__item {
        animation: okiDrawerRow 0.4s ease both;
    }

    @keyframes okiDrawerRow {
        from { opacity: 0; transform: translateX(2vw); }
        to   { opacity: 1; transform: translateX(0); }
    }

    .nav-drawer__item:nth-child(1) { animation-delay: 0.06s; }
    .nav-drawer__item:nth-child(2) { animation-delay: 0.10s; }
    .nav-drawer__item:nth-child(3) { animation-delay: 0.14s; }
    .nav-drawer__item:nth-child(4) { animation-delay: 0.18s; }
    .nav-drawer__item:nth-child(5) { animation-delay: 0.22s; }
    .nav-drawer__item:nth-child(6) { animation-delay: 0.26s; }
    .nav-drawer__item:nth-child(7) { animation-delay: 0.30s; }

    /* 行全体を押せるようにする。矢印は CSS で描き画像を増やさない。 */
    .nav-drawer__link {
        align-items: center;
        color: var(--text-color);
        display: flex;
        font-size: 4vw;
        font-weight: 700;
        justify-content: space-between;
        letter-spacing: 0.04em;
        padding: 4.6vw 1vw;
        text-align: left;
    }

    .nav-drawer__link::after {
        border-right: 0.5vw solid var(--primary);
        border-top: 0.5vw solid var(--primary);
        content: "";
        flex-shrink: 0;
        height: 2.2vw;
        transform: rotate(45deg);
        width: 2.2vw;
    }

    .nav-drawer__btn {
        align-items: center;
        background-color: var(--accent);
        border-radius: 0.8rem;
        color: #fff;
        display: flex;
        font-size: 4vw;
        font-weight: 700;
        gap: 2vw;
        justify-content: center;
        margin: 7vw auto 0;
        padding: 4vw;
        width: 90%;
    }

    /* 鍵アイコンは縦長（縦横比0.547）。高さのみ指定して比率を保つ。 */
    .nav-drawer__btn img {
        height: 5vw;
        width: auto;
    }

    /* --- メニュー内の連絡先 --- */
    .nav-drawer__contact {
        background-color: var(--band-bg);
        border-radius: 0.8rem;
        margin: 7vw auto 0;
        padding: 5vw 4vw;
        text-align: center;
        width: 90%;
    }

    .nav-drawer__contactLabel {
        color: var(--primary);
        font-size: 3.4vw;
        font-weight: 700;
        letter-spacing: 0.08em;
    }

    .nav-drawer__tel {
        align-items: center;
        color: var(--primary);
        display: inline-flex;
        font-size: 6.4vw;
        font-weight: 700;
        gap: 2vw;
        justify-content: center;
        letter-spacing: 0.02em;
        margin-top: 1vw;
    }

    .nav-drawer__tel img {
        height: 5vw;
        width: auto;
    }

    .nav-drawer__contactNote {
        font-size: 3.2vw;
        line-height: 1.6;
    }
}

/* ------------------------------------------------------------------
 * ヘッダーの中間幅（769〜1439px）
 *
 * 承認範囲は 1440px。それを下回るとナビが1行に収まらないため、
 * 長いラベルだけ 2行に折る。折り位置は決め打ちで、語の途中では折らない。
 *   入会の / メリット ・ 物件登録に / ついて ・ 優良会員 / 認定業者
 *   （情報公開・ / コンプライアンス は全幅で2行）
 * 1168px 未満は rem が vw 連動（0.85616vw）なので、この1段だけで
 * 769px まで比率を保って縮む。
 * ★このブロックはヘッダー基本CSSより後ろに置くこと。前に置くと同じ詳細度の
 *   基本値に上書きされて何も効かない。
 * ------------------------------------------------------------------ */
.header__navBr {
    display: none;
}

@media screen and (max-width: 1439px) {
    .header__navBr {
        display: inline;
    }

    .header__logoArea {
        width: 22rem;
    }

    .header__logo {
        left: 2.2rem;
        width: 18rem;
    }

    .header__logo img {
        height: auto;
        width: 100%;
    }

    .header__utility {
        padding-left: 2rem;
    }

    .header__navItem a {
        padding: 0 1.4rem;
    }

    .header__searchField {
        width: 19rem;
    }

    .header__login {
        margin-left: 1.4rem;
        width: 10.5rem;
    }
}

/* 768px 以下はハンバーガー、769px 以上は PC と同じヘッダー。
   .sp-only / .pc-only の !important より後ろに置かないと打ち消されて
   ナビもハンバーガーも出ない（＝ヘッダーが空になる）ので、順番を変えないこと。 */
@media screen and (max-width: 768px) {
    .header__utility.pc-only {
        display: none !important;
    }

    .hamburgerArea.sp-only {
        display: flex !important;
    }

    .header__login {
        margin-left: auto;
    }

    .header__logoArea {
        width: 17rem;
    }

    .header__logo {
        left: 2vw;
        width: 16rem;
    }
}

/* SPはヘッダーの地色を出さないため、半透明ヘッダー用の下地も消す。
   残すと透明なヘッダーの裏に紺の帯が出る。 */
@media screen and (max-width: 767px) {
    .header::before {
        background-color: transparent;
    }
}

/* 768px ちょうどの1点だけ用。767px 以下は vw 指定が効くが、768px は
   min-width:768px 側（rem = 0.85616vw）になるため寸法を rem で作り直す。 */
@media screen and (min-width: 768px) and (max-width: 768px) {
    .hamburgerArea {
        align-items: center;
        display: flex;
        margin-left: 2rem;
    }

    .hamburger {
        background-color: var(--primary);
        border: none;
        border-radius: 0.4rem;
        cursor: pointer;
        height: 6.4rem;
        outline: none;
        padding: 0;
        position: relative;
        transition: background-color 0.5s ease-out;
        width: 6.4rem;
        z-index: 40;
    }

    .hamburger span {
        background-color: #fff;
        height: 0.2rem;
        left: 0;
        margin: auto;
        position: absolute;
        right: 0;
        transition: all 0.5s ease-out;
        width: 2.8rem;
    }

    .hamburger__lineTop {
        top: 2.4rem;
    }

    .hamburger__lineCenter {
        top: 3.2rem;
    }

    .hamburger__lineBottom {
        top: 4rem;
    }

    .hamburger.open {
        background-color: var(--primary-deep);
    }

    .hamburger.open .hamburger__lineTop {
        top: 3.2rem;
        transform: rotate(45deg);
    }

    .hamburger.open .hamburger__lineCenter {
        display: none;
    }

    .hamburger.open .hamburger__lineBottom {
        top: 3.2rem;
        transform: rotate(-45deg);
    }

    .nav-drawer {
        align-items: center;
        background-color: #fff;
        display: none;
        height: 100vh;
        justify-content: center;
        overflow-y: auto;
        padding: 14rem 0 8rem;
        position: fixed;
        text-align: center;
        top: 0;
        width: 100%;
        z-index: 35;
    }

    .nav-drawer__list {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .nav-drawer__item:not(:first-of-type) {
        margin-top: 3rem;
    }

    .nav-drawer__link {
        font-size: 2.2rem;
        font-weight: 700;
    }

    .nav-drawer__btn {
        align-items: center;
        background-color: var(--accent);
        color: #fff;
        display: flex;
        font-size: 1.8rem;
        font-weight: 700;
        gap: 1rem;
        justify-content: center;
        margin: 4rem auto 0;
        max-width: 90%;
        padding: 1.6rem;
        width: 36rem;
    }

    .nav-drawer__btn img {
        height: 2.4rem;
        width: auto;
    }
}

/* ==================================================================
 * フッター   Figma: 4022:788（1440×2157）
 * ================================================================== */

/* --- 広告掲載 --- */
.footerAd {
    padding-bottom: 4rem;
    padding-top: 6rem;
}

@media screen and (max-width: 767px) {
    .footer {
        margin-top: 4rem;
    }

    .footerAd {
        padding-bottom: 4rem;
        padding-top: 0;
    }

    .footerAd__label {
        margin: 4rem auto 3rem;
    }
}

/* 見出しは下向きの吹き出し（角丸4隅＋下中央に三角）。 */
.footerAd__label {
    background-color: var(--bnr-bg);
    border-radius: 0.8rem;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 3rem;
    margin: 0 auto 4rem;
    padding: 1rem 4rem;
    position: relative;
    text-align: center;
    width: fit-content;
}

.footerAd__label::after {
    border-left: 1.2rem solid transparent;
    border-right: 1.2rem solid transparent;
    border-top: 1.2rem solid var(--bnr-bg);
    content: "";
    left: 50%;
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
}

.footerAd__list {
    display: flex;
    gap: 1.2rem;
}

.footerAd__item {
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--border-light);
    border-radius: 0.6rem;
    display: flex;
    justify-content: center;
    min-height: 8rem;
    padding: 0.8rem;
    width: 27.1rem;
}

.footerAd__item img {
    width: auto;
    max-height: 8rem;
}

.footerAd__item--vacant {
    background-color: var(--bg-light);
    color: var(--gray);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.footerAd__notice {
    align-items: center;
    background-color: var(--bnr-bg);
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 1.6rem 1rem;
}

.footerAd__noticeMain {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 3rem;
}

.footerAd__noticeMain strong {
    font-size: 3.2rem;
    font-weight: 700;
}

.footerAd__noticeSub {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 3rem;
}

/* --- 関連リンク --- */
.footerLink {
    padding-bottom: 6rem;
    padding-top: 6rem;
}

.footerLink__heading {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.footerLink__deco {
    height: 6rem;
    width: auto;
}

.footerLink__heading span {
    color: var(--primary);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 4.8rem;
}

.footerLink__list {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footerLink__item {
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    display: flex;
    height: 7.9rem;
    justify-content: center;
    padding: 1rem 1.6rem;
    transition: opacity var(--transition);
    width: 27.1rem;
}

.footerLink__item:hover {
    opacity: 0.7;
}

.footerLink__item img {
    max-height: 100%;
    width: auto;
}

/* --- お問い合わせ CTA --- */
.footerCta {
    background-color: var(--primary);
    padding-top: 7rem;
    position: relative;
}

.footerCta__heading {
    align-items: center;
    border-bottom: 2px solid #fff;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto 4rem;
    padding-bottom: 2rem;
    width: fit-content;
}

.footerCta__en {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.8rem;
    text-transform: capitalize;
}

.footerCta__jp {
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.footerCta__text {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 3.2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.footerCta__box {
    background-color: #fff;
    border-radius: 14rem;
    margin: 0 auto;
    max-width: 109rem;
    padding: 4rem 2rem;
    text-align: center;
}

.footerCta__boxTitle {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

.footerCta__tel {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.footerCta__tel img {
    height: 3.4rem;
    width: 3.4rem;
}

.footerCta__tel a {
    display: inline-block;
    font-size: 3.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.footerCta__time {
    font-size: 1.2rem;
    font-weight: 700;
}

/* CTA 下端の街並みイラスト */
.footerCta__town {
    display: flex;
    margin-top: 4rem;
    overflow: hidden;
}

.footerCta__town img {
    flex-shrink: 0;
    width: 50%;
}

/* --- フッターナビ＋地図＋住所 --- */
.footerNav {
    padding-bottom: 4rem;
    padding-top: 6rem;
}

.footerNav__inner {
    display: flex;
    gap: 4rem;
}

.footerNav__menu {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 56rem;
}

.footerNav__btnRow {
    display: flex;
    gap: 4rem;
}

.footerNav__btn {
    align-items: center;
    background-color: var(--primary);
    border-radius: 0.6rem;
    color: #fff;
    display: flex;
    flex-shrink: 0; /* 既定の 1 だと親に収めようとして文字が途中で折り返す */
    font-size: 1.6rem;
    font-weight: 700;
    gap: 2rem;
    justify-content: space-between;
    letter-spacing: 0.04em;
    line-height: 2.4rem;
    padding: 1.4rem 1.5rem;
    transition: opacity var(--transition);
    white-space: nowrap;
    width: fit-content;
}

/* 矢印はマスクで描く。ホバーで色を反転させるため。 */
.footerNav__btn::after {
    background-color: #fff;
    content: "";
    flex-shrink: 0;
    height: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 0.6rem;
    -webkit-mask-image: url(../img/common/icon-arrow-right.svg);
            mask-image: url(../img/common/icon-arrow-right.svg);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

/* 白い面が左から右へスウィープして文字と矢印が紺に反転し、矢印が少し右へ寄る。
   もっとみるボタン（円が横に広がる）と動きの向きを揃えている。
   ※ background-position のパーセントは
        offset = (領域サイズ - 画像サイズ) × 割合
      で決まるため、グラデーションを領域の2倍幅にしないと動かない。 */
.footerNav__btn {
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 2px solid var(--primary);
    transition: background-position 0.4s ease, color 0.3s ease;
}

.footerNav__btn:hover {
    background-position: 0 0;
    color: var(--primary);
}

.footerNav__btn:hover::after {
    background-color: var(--primary);
    transform: translateX(0.4rem);
}

.footerNav__cols {
    display: flex;
    gap: 3rem;
}

.footerNav__col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footerNav__group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footerNav__subList {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footerNav__subList a {
    align-items: center;
    color: var(--text-black);
    display: flex;
    font-size: 1.5rem;
    gap: 1rem;
    transition: color var(--transition);
}

.footerNav__subList a::before {
    color: var(--primary);
    content: "●";
    font-size: 1.5rem;
    font-weight: 700;
}

.footerNav__subList a:hover {
    color: var(--primary);
}

/* 要認証カテゴリには鍵アイコンを添える。
   filter で色を作ると SVG の元色に依存して外れやすいので mask に統一した。
   幅は icon-lock.svg の比（0.547）に合わせる＝縦横比を崩さない。 */
.footerNav__lock {
    color: var(--primary);
    flex-shrink: 0;
    height: 1.4rem;
    width: 0.7653rem;
}

.footerNav__info {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    width: 52rem;
}

.footerNav__map {
    line-height: 0;
}

.footerNav__map iframe {
    height: 57.4rem;
    width: 100%;
}

.footerNav__address {
    align-items: flex-start;
    display: flex;
    gap: 2rem;
}

.footerNav__logo {
    flex-shrink: 0;
    width: 21.7rem;
}

.footerNav__addressText {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.4rem;
}

/* --- コピーライト --- */
.footerCopy {
    background-color: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 2rem 1rem;
    text-align: center;
    text-transform: capitalize;
}

/* --- フッター SP --- */
@media screen and (max-width: 767px) {
    .footerAd__list,
    .footerLink__list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footerAd__item,
    .footerLink__item {
        font-size: 1.6rem;
        width: calc(50% - 0.6rem);
    }

    .footerAd__notice {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .footerAd__noticeMain {
        font-size: 1.6rem;
    }

    .footerAd__noticeMain strong {
        font-size: 2.2rem;
    }

    .footerAd__noticeSub {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .footerLink {
        padding-top: 1rem;
    }

    .footerLink__heading {
        gap: 0;
        margin-bottom: 0;
        padding-bottom: 1rem;
    }

    /* 花のアイコンは 91.9417:60.0768（比率1.5304）。縦横比を変えないため
       height 8vw に対する幅は 12.24vw にしている。 */
    .footerLink__deco {
        height: 8vw;
        width: 12.24vw;
    }

    .footerLink__heading span,
    .footerCta__jp {
        font-size: 2.8rem;
    }

    .footerCta {
        padding-top: 4rem;
    }

    .footerCta__box {
        border-radius: 2rem;
        padding: 1rem 1.5rem;
    }

    .footerCta__boxTitle {
        font-size: 1.8rem;
    }

    .footerCta__tel a {
        font-size: 2.8rem;
    }

    .footerCta__text {
        font-size: 1.4rem;
        line-height: 2.4rem;
        text-align: left;
    }

    .footerNav__inner {
        flex-direction: column;
    }

    .footerNav__menu,
    .footerNav__info {
        gap: 1.2rem;
        width: 100%;
    }

    .footerNav__btnRow {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 1.2rem;
    }

    .footerNav__cols {
        flex-direction: column;
    }

    .footerNav__map iframe {
        height: 60vw;
    }

    .footerNav__address {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footerNav {
        padding-bottom: 0;
        padding-top: 3rem;
    }

    .footerNav__btn {
        width: 100%; /* -webkit-fill-available 非対応ブラウザ用のフォールバック */
        width: -webkit-fill-available;
    }
}

/* ==================================================================
 * TOP: FV   Figma: fv=4001:20 / 組織名バー=4091:4892 / キャッチ=4069:6373
 *           白パネル=4070:6422 / ピル=4070:6423〜6425 / 沖縄地図=4070:6436
 * ================================================================== */

/* FV があるページ（TOP）はヘッダーを FV 画像に重ねる。
   ヘッダーは半透明 rgba(2,60,118,0.6) なので、下に写真が来ると
   デザインどおりの見え方になる。 */
body.home .wrap {
    padding-top: 0;
}

body.home .header::before {
    display: none;
}

.fv {
    aspect-ratio: 2.5 / 1.3;
    border-bottom-left-radius: 7rem;
    border-top: 3px solid var(--primary);
    min-height: 65.2rem;
    overflow: hidden;
    position: relative;
}

/* 1024px 以下は縦を詰める（ユーザー指定） */
@media screen and (max-width: 1024px) {
    .fv {
        aspect-ratio: 2.5 / 1.4;
        min-height: 50.2rem;
    }
}

.fv__bg {
    inset: 0;
    position: absolute;
}

.fv__bg img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* キャッチ一式は MV 内で縦中央に置く。
   以前は top を rem 固定していたため、.fv の高さが aspect-ratio で伸縮する一方
   中身は動かず、画面幅によって上寄り・下寄りになっていた。
   上下に同じだけ padding を入れているので、中央は保ったまま固定ヘッダーとも重ならない。 */
.fv__body {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 11.4rem 4rem;
    position: relative;
}

/* 組織名バー（598×64・33px・padding 20px） */
.fv__org {
    align-items: center;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    font-size: 3.3rem;
    font-weight: 700;
    height: 6.4rem;
    justify-content: center;
    letter-spacing: 0.04em;
    max-width: 59.8rem;
    width: 100%;
}

/* キャッチコピー。デザインは文字ごとにサイズが異なる（行高は78px共通）。 */
.fv__catch {
    color: #fff;
    font-weight: 700;
    margin-top: 0.5rem;
    white-space: nowrap;
}

/* 行高はデザインのテキストボックス（2行で126px）に合わせる。
   Figma の指定値 78px そのままだと下に伸びて白パネルに接触する。 */
.fv__catchRow {
    display: block;
    line-height: 6.3rem;
}

.fv__lg {
    font-size: 6.5rem;
    letter-spacing: 0.05em;
}

.fv__md {
    font-size: 5.9rem;
    letter-spacing: 0.05em;
}

.fv__sm {
    font-size: 4.9rem;
    letter-spacing: 0.05em;
}

.fv__ex {
    font-size: 6rem;
    letter-spacing: 0.05em;
}

/* 左の padding 7.1rem は沖縄地図の居場所。地図はパネル左端より外へはみ出す。 */
.fv__badge {
    align-items: center;
    background-color: #fff;
    border-radius: 1rem;
    display: flex;
    gap: 1.1rem;
    margin-left: 5.53rem;
    margin-top: 0;
    padding: 1.7rem 1.8rem 1.4rem 7.1rem;
    position: relative;
}

.fv__map {
    left: -4.83rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12rem;
}

.fv__points {
    display: flex;
    gap: 1.1rem;
}

.fv__points li {
    background-color: var(--primary);
    border-radius: 1rem;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 3.1rem;
    padding: 1.45rem 1.6rem;
    text-align: center;
}

/* ==================================================================
 * 共通パーツ: ボタンのホバーアニメーション
 *
 * 上から色面がスライドインして色が反転する。
 * 擬似要素＋z-index:-1 ではなく background-position を動かす方式。
 * 理由: 親に background-color があると z-index:-1 の擬似要素はその背後に
 * 回り込んで見えなくなる。また矢印を描いている ::after と競合しない。
 *
 * ★グラデーションは領域の2倍の高さにして「上半分＝色／下半分＝透明」にする。
 *   background-position のパーセントは
 *     offset = (領域サイズ - 画像サイズ) × 割合
 *   で決まるため、background-size:100% 100%（＝同サイズ）では括弧内が0になり
 *   何%を指定しても動かない。2倍にして初めてスライドする。
 * ------------------------------------------------------------------ */

/* ==================================================================
 * 共通パーツ: もっとみるボタン
 *
 * 動きは弊社制作の ayumi0901.com の .button a を踏襲（複製可の確認済み）。
 *   ::after = 円。ホバーでボタン全幅まで横に広がる（0.5s）
 *   ::before = 矢印。ホバーで少し右へ寄る（0.3s・borderで描くので画像不要）
 *   .moreBtn__label = 文字。円に飲み込まれるので白へ反転（z-index で前面に置く）
 * ================================================================== */
.moreBtn {
    align-items: center;
    color: var(--text-black);
    display: flex;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.8;
    padding: 0.8rem 2.8rem 0.8rem 6.8rem;
    position: relative;
    transition: 0.3s ease-in-out;
    width: fit-content;
}

.moreBtn::after {
    background: var(--primary);
    border-radius: 4rem;
    content: "";
    display: block;
    height: 4.8rem;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s;
    width: 4.8rem;
    z-index: 1;
}

.moreBtn::before {
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    content: "";
    display: block;
    height: 0.8rem;
    left: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s;
    width: 0.8rem;
    z-index: 2;
}

.moreBtn__label {
    position: relative;
    transition: all 0.3s;
    z-index: 3;
}

.moreBtn:hover::after {
    width: 100%;
}

.moreBtn:hover::before {
    left: 2.6rem;
}

.moreBtn:hover .moreBtn__label {
    color: #fff;
}

/* 緑（私たちについて） */
.moreBtn--green::after {
    background: var(--green);
}

/* 白（紺地の上）。円が白なので矢印と反転後の文字は紺にする。 */
.moreBtn--white {
    color: #fff;
}

.moreBtn--white::after {
    background: #fff;
}

.moreBtn--white::before {
    border-right-color: var(--primary);
    border-top-color: var(--primary);
}

.moreBtn--white:hover .moreBtn__label {
    color: var(--primary);
}

@media screen and (max-width: 767px) {
    .moreBtn {
        font-size: 3.4vw;
        padding: 1.5vw 5vw 1.5vw 11vw;
    }

    .moreBtn::after {
        height: 8vw;
        width: 8vw;
    }

    .moreBtn::before {
        height: 1.6vw;
        left: 3.2vw;
        width: 1.6vw;
    }

    .moreBtn:hover::before {
        left: 4.2vw;
    }
}

/* ==================================================================
 * TOP: 会員向け情報の4タイル
 * Figma: 見出し=4008:3 / 円=4091:4877〜4880（白地・紺3px枠・radius170）
 *        街並み区切り=Group 371（y=1091・タイル下端に重なる）
 * ================================================================== */
.homeMember {
    padding-top: 6rem;
    position: relative;
}

.homeMember__heading {
    align-items: center;
    border-bottom: 2px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
    padding-bottom: 2rem;
    width: fit-content;
}

.homeMember__headingIcon {
    height: 3.2rem;
    width: auto;
}

.homeMember__heading span {
    color: var(--primary);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 4.8rem;
}

.homeMember__list {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
}

.homeMember__item a {
    align-items: center;
    background-color: #fff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 26.5rem;
    justify-content: center;
    transition: background-color var(--transition), color var(--transition);
    width: 26.5rem;
}

.homeMember__item a:hover {
    background-color: #407cb8;
    color: #fff;
}

.homeMember__icon {
    align-items: center;
    display: flex;
    height: 9rem;
    justify-content: center;
}

.homeMember__icon img {
    max-height: 9rem;
    width: auto;
}

.homeMember__label {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}

/* 街並みイラストはタイルの下端に重ねる（デザイン y=1091 / タイル下端 1108）。 */
.homeMember__town {
    line-height: 0;
    margin-top: -1.7rem;
}

.homeMember__town img {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .homeMember {
        padding-top: 8vw;
    }

    .homeMember__headingIcon {
        height: 5vw;
    }

    .homeMember__heading span {
        font-size: 6.4vw;
        line-height: 1.2;
    }

    .homeMember__list {
        flex-wrap: wrap;
        gap: 4vw;
        margin-top: 6vw;
    }

    .homeMember__item {
        width: calc(50% - 2vw);
    }

    .homeMember__item a {
        gap: 2vw;
        height: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .homeMember__icon {
        height: 16vw;
    }

    .homeMember__icon img {
        max-height: 16vw;
    }

    .homeMember__label {
        font-size: 4vw;
    }

    .homeMember__town {
        margin-top: -2vw;
    }
}

/* ==================================================================
 * TOP: お知らせ   Figma: 背景=4054:3458 / カード=4054:3459 / 中身=4008:130
 * ================================================================== */
/* 紺帯はデザイン実測で y=1209〜1745（536px）。カードは 1248〜1633。 */
.homeNews {
    background-color: var(--primary);
    padding-bottom: 11.2rem;
    padding-top: 3.9rem;
}

.homeNews__card {
    background-color: #fff;
    border-radius: 4rem;
    padding: 5rem 6rem 6.6rem;
}

.homeNews__head {
    float: left;
    width: 18.6rem;
}

.homeNews__heading {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
}

.homeNews__deco {
    height: 6rem;
    width: auto;
}

.homeNews__heading span {
    color: var(--primary);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 4.8rem;
}

.homeNews__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-left: 22.6rem;
}

.homeNews__meta {
    align-items: center;
    display: flex;
    gap: 1.2rem;
}

.homeNews__date {
    font-size: 1.4rem;
    font-weight: 700;
    min-width: 8rem;
}

.homeNews__cat {
    background-color: var(--primary);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 0.7rem 0.9rem;
}

.homeNews__title {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition);
    white-space: nowrap;
}

.homeNews__item a:hover .homeNews__title {
    color: var(--primary);
}

.homeNews__empty {
    margin-left: 22.6rem;
}

@media screen and (max-width: 767px) {
    .homeNews {
        padding-bottom: 18vw;
        padding-top: 9vw;
    }

    .homeNews__card {
        border-radius: 2rem;
        padding: 6vw 5vw;
    }

    .homeNews__head {
        align-items: center;
        display: flex;
        float: none;
        justify-content: space-between;
        margin-bottom: 5vw;
        width: 100%;
    }

    .homeNews__heading {
        gap: 1.5vw;
        padding-bottom: 0;
    }

    .homeNews__deco {
        height: 8vw;
    }

    .homeNews__heading span {
        font-size: 6.4vw;
        line-height: 1.2;
    }

    .homeNews__list,
    .homeNews__empty {
        margin-left: 0;
    }

    .homeNews__list {
        gap: 5vw;
    }

    .homeNews__date {
        font-size: 3.2vw;
        min-width: 0;
    }

    .homeNews__cat {
        font-size: 3.2vw;
        padding: 1vw 1.6vw;
    }

    .homeNews__title {
        font-size: 3.6vw;
        line-height: 1.6;
        white-space: normal;
    }
}

/* ==================================================================
 * TOP: 私たちについて
 * Figma: 見出し=4008:476（緑）/ リード=4008:502 / 本文=4008:501
 *        写真=4008:473(460×320) + 4008:474(312×217・右下に重なる)
 * 紺帯の上に、上端が角丸の白ブロックとして重なる。
 * ================================================================== */
.homeAbout {
    background-color: #fff;
    border-top-left-radius: 7rem;
    border-top-right-radius: 7rem;
    margin-top: -6rem;
    padding-bottom: 8rem;
    padding-top: 5.5rem;
    position: relative;
    z-index: 1;
}

.homeAbout__heading {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto 6rem;
    padding-bottom: 2rem;
    width: fit-content;
}

.homeAbout__deco {
    height: 6rem;
    width: auto;
}

.homeAbout__heading span {
    color: var(--green);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 4.8rem;
}

.homeAbout__body {
    display: flex;
    gap: 4rem;
}

/* 写真は大の右下に小が重なる（デザイン: 大 x=160,y=1944 / 小 x=408,y=2155）。 */
.homeAbout__photos {
    flex-shrink: 0;
    padding-bottom: 10.8rem;
    position: relative;
    width: 56rem;
}

.homeAbout__photo1 {
    border-radius: 1rem;
    width: 46rem;
}

.homeAbout__photo2 {
    border-radius: 1rem;
    bottom: 0;
    left: 24.8rem;
    position: absolute;
    width: 31.2rem;
}

.homeAbout__text {
    flex-shrink: 0;
    width: 52rem;
}

.homeAbout__lead {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 4.6rem;
    margin-bottom: 3rem;
}

.homeAbout__desc {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 3.2rem;
    margin-bottom: 7rem;
}

/* --- 私たちについての子項目4つ（2×2グリッド） --- */
.homeAboutLinks {
    border-bottom: 1px solid var(--primary);
    border-top: 1px solid var(--green);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 5.5rem;
}

.homeAboutLinks__item:nth-child(odd) {
    border-right: 1px solid var(--green);
}

.homeAboutLinks__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--green);
}

.homeAboutLinks__item a {
    display: block;
    height: 28.4rem;
    overflow: hidden;
    padding: 2rem;
    position: relative;
}

/* 写真は通常 229×137 で右上に、ホバーでカード全面へ広がる。 */
.homeAboutLinks__photo {
    border-radius: 1rem;
    height: 13.7rem;
    overflow: hidden;
    position: absolute;
    right: 2rem;
    top: 3.1rem;
    transition: all 0.4s ease;
    width: 22.9rem;
}

.homeAboutLinks__item a:hover .homeAboutLinks__photo {
    border-radius: 0;
    height: 100%;
    right: 0;
    top: 0;
    width: 100%;
}

/* ホバーで写真がカード全面に広がるので、文字が読めるよう暗幕を重ねる。 */
.homeAboutLinks__photo::after {
    background-color: rgba(16, 16, 16, 0.43);
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.4s ease;
}

.homeAboutLinks__item a:hover .homeAboutLinks__photo::after {
    opacity: 1;
}

.homeAboutLinks__photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.homeAboutLinks__no {
    color: var(--green);
    display: block;
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 3.2rem;
    position: relative;
    transition: color var(--transition);
}

/* アイコンは単色PNGをマスクとして使い、色はCSS側で決める。
   step-02.png はホバー用に白で書き出されているため、img で置くと
   白カード上で見えなくなる。 */
.homeAboutLinks__icon {
    background-color: var(--green);
    display: block;
    height: 10.8rem;
    margin-top: 1rem;
    position: relative;
    transition: background-color var(--transition);
    width: 5.8rem;
    -webkit-mask-position: left center;
            mask-position: left center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.homeAboutLinks__item--01 .homeAboutLinks__icon {
    -webkit-mask-image: url(../img/home/step-01.png);
            mask-image: url(../img/home/step-01.png);
}

.homeAboutLinks__item--02 .homeAboutLinks__icon {
    -webkit-mask-image: url(../img/home/step-02.png);
            mask-image: url(../img/home/step-02.png);
}

.homeAboutLinks__item--03 .homeAboutLinks__icon {
    -webkit-mask-image: url(../img/home/step-03.png);
            mask-image: url(../img/home/step-03.png);
}

.homeAboutLinks__item--04 .homeAboutLinks__icon {
    -webkit-mask-image: url(../img/home/step-04.png);
            mask-image: url(../img/home/step-04.png);
}

.homeAboutLinks__label {
    display: block;
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 3rem;
    margin-top: 2rem;
    position: relative;
    transition: color var(--transition);
}

/* 矢印は緑円＋白矢印。ホバーで 84px の白円＋緑矢印に反転する。 */
.homeAboutLinks__arrow {
    background-color: var(--green);
    border-radius: 50%;
    bottom: 2rem;
    height: 4.8rem;
    position: absolute;
    right: 2rem;
    transition: all 0.4s ease;
    width: 4.8rem;
}

.homeAboutLinks__arrow::after {
    background-color: #fff;
    content: "";
    height: 1.2rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: background-color var(--transition);
    width: 0.82rem;
    -webkit-mask-image: url(../img/common/icon-arrow-circle.svg);
            mask-image: url(../img/common/icon-arrow-circle.svg);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.homeAboutLinks__item a:hover .homeAboutLinks__no,
.homeAboutLinks__item a:hover .homeAboutLinks__label {
    color: #fff;
}

.homeAboutLinks__item a:hover .homeAboutLinks__icon {
    background-color: #fff;
}

.homeAboutLinks__item a:hover .homeAboutLinks__arrow {
    background-color: #fff;
    height: 8.4rem;
    width: 8.4rem;
}

.homeAboutLinks__item a:hover .homeAboutLinks__arrow::after {
    background-color: var(--green);
    height: 2.1rem;
    width: 1.43rem;
}

@media screen and (max-width: 767px) {
    .homeAboutLinks {
        grid-template-columns: 1fr;
        margin-top: 8vw;
    }

    .homeAboutLinks__item:nth-child(odd) {
        border-right: 0;
    }

    .homeAboutLinks__item:not(:last-child) {
        border-bottom: 1px solid var(--green);
    }

    .homeAboutLinks__item a {
        height: auto;
        min-height: 34vw;
        padding: 4vw;
    }

    .homeAboutLinks__photo {
        height: 22vw;
        right: 4vw;
        top: 6vw;
        width: 36vw;
    }

    .homeAboutLinks__no {
        font-size: 5.6vw;
        line-height: 1;
    }

    .homeAboutLinks__icon {
        height: 12vw;
        margin-top: 2vw;
        width: 12vw;
    }

    .homeAboutLinks__label {
        font-size: 4.4vw;
        line-height: 1.4;
        margin-top: 2vw;
    }

    .homeAboutLinks__arrow {
        bottom: 4vw;
        height: 8vw;
        right: 4vw;
        width: 8vw;
    }

    .homeAboutLinks__arrow::after {
        height: 2.6vw;
        width: 1.8vw;
    }
}

@media screen and (max-width: 767px) {
    .homeAbout {
        border-top-left-radius: 3rem;
        border-top-right-radius: 3rem;
        margin-top: -9vw;
        padding-bottom: 10vw;
        padding-top: 8vw;
    }

    .homeAbout__deco {
        height: 8vw;
    }

    .homeAbout__heading {
        gap: 1.5vw;
        margin-bottom: 2vw;
    }

    .homeAbout__heading span {
        font-size: 6.4vw;
        line-height: 1.2;
    }

    .homeAbout__body {
        flex-direction: column;
        gap: 6vw;
    }

    .homeAbout__photos {
        padding-bottom: 22vw;
        width: 100%;
    }

    .homeAbout__photo1 {
        width: 82%;
    }

    .homeAbout__photo2 {
        left: auto;
        right: 0;
        width: 56%;
    }

    .homeAbout__text {
        width: 100%;
    }

    .homeAbout__lead {
        font-size: 5vw;
        line-height: 1.5;
        margin-bottom: 4vw;
    }

    .homeAbout__desc {
        font-size: 3.6vw;
        line-height: 1.9;
        margin-bottom: 8vw;
    }
}

/* ==================================================================
 * TOP: 入会のメリット
 * Figma: 見出し=Frame 31226 / 写真=4008:472 / 紺ブロック=4008:218
 *        帯=Union×3(#fff5ad) / カード=Rectangle 60×3 / 項目=Frame 31227〜31235
 * ================================================================== */
.homeMerit {
    position: relative;
}

/* 写真は白背景から紺ブロックへまたいで重なる（デザイン y=3067〜3600）。
   幅は rem 固定にしない。1440px 以下では写真の左端だけが動かず本文に覆いかぶさる。
   680/1440 = 47.2% を割合で持たせて、どの幅でも本文との間隔を保つ。 */
.homeMerit__photo {
    border-bottom-left-radius: 6rem;
    border-top-left-radius: 6rem;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    width: 47%;
    z-index: 2;
}

.homeMerit__photo img {
    height: auto;
    width: 100%;
}

.homeMerit__upper {
    padding-bottom: 3rem;
    padding-top: 8rem;
}

.homeMerit__heading {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: fit-content;
}

.homeMerit__deco {
    height: 6rem;
    width: auto;
}

.homeMerit__heading span {
    color: var(--primary);
    font-size: 4.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 7.5rem;
}

.homeMerit__panel {
    background-color: var(--primary);
    border-top-left-radius: 10rem;
    border-top-right-radius: 10rem;
    overflow: hidden;
    padding-bottom: 10rem;
    padding-top: 4rem;
    position: relative;
}

.homeMerit__panel > .inner {
    position: relative;
    z-index: 1;
}

/* 幅を制限しないと右上の写真に文字が潜り込む（デザインは 520/560px）。
   写真が画面幅に対して 47% なので、内寸の 50% を上限にしておけば重ならない。 */
.homeMerit__lead {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 4.6rem;
    margin-bottom: 3rem;
    max-width: min(52rem, 50%);
}

.homeMerit__desc {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 3.2rem;
    margin-bottom: 4rem;
    max-width: min(56rem, 50%);
}

/* --- 3カード（薄黄色の帯＋白カード） --- */
.homeMerit__cards {
    display: flex;
    gap: 1rem;
    padding-top: 6rem;
}

.homeMerit__card {
    flex: 1;
}

/* 帯は下端中央に吹き出しの尾がつく（Union 367×113）。CSSで再現している。 */
.homeMerit__cardTitle {
    background-color: #fff5ad;
    border-radius: 1rem;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 3rem;
    padding: 1.6rem 1rem;
    position: relative;
    text-align: center;
}

.homeMerit__cardTitle::after {
    border-left: 1.2rem solid transparent;
    border-right: 1.2rem solid transparent;
    border-top: 1.2rem solid #fff5ad;
    bottom: -1.2rem;
    content: "";
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.homeMerit__items {
    background-color: #fff;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.4rem;
    padding: 3rem 2rem;
}

.homeMerit__items li {
    align-items: center;
    display: flex;
    font-size: 1.8rem;
    font-weight: 600;
    gap: 1.6rem;
    letter-spacing: 0.08em;
    line-height: 3rem;
}

/* チェックアイコンは1ファイルをマスクにして色をカードごとに変える。 */
.homeMerit__items li::before {
    content: "";
    flex-shrink: 0;
    height: 3.8rem;
    width: 4.6rem;
    -webkit-mask-image: url(../img/home/icon-check.png);
            mask-image: url(../img/home/icon-check.png);
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.homeMerit__card--red .homeMerit__items li::before {
    background-color: var(--accent);
}

.homeMerit__card--green .homeMerit__items li::before {
    background-color: var(--green);
}

.homeMerit__card--navy .homeMerit__items li::before {
    background-color: var(--primary);
}

/* 街並みイラストは紺ブロックの下端に敷き、カードの背面に置く
   （デザイン y=3973 でカード 3823〜4041 に重なる）。 */
.homeMerit__town {
    bottom: 0;
    left: 0;
    line-height: 0;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.homeMerit__town img {
    width: 100%;
}

@media screen and (max-width: 767px) {
    /* SPは 見出し → 写真 → 紺パネル の順に積む。
       DOM は 写真 → 見出し → パネル なので order で入れ替える。 */
    .homeMerit {
        display: flex;
        flex-direction: column;
    }

    .homeMerit__upper {
        order: 1;
    }

    .homeMerit__photo {
        border-radius: 0;
        margin-left: auto;
        order: 2;
        position: relative;
        width: 100%;
    }

    .homeMerit__upper {
        padding-bottom: 4vw;
        padding-top: 8vw;
    }

    .homeMerit__deco {
        height: 8vw;
    }

    .homeMerit__heading {
        align-items: center;
        gap: 1.5vw;
        margin: 0 auto;
    }

    .homeMerit__heading span {
        font-size: 6.4vw;
        line-height: 1.2;
    }

    .homeMerit__panel {
        border-top-left-radius: 0;
        border-top-right-radius: 5rem;
        margin-top: -7rem;
        order: 3;
        padding-bottom: 5rem;
        padding-top: 8vw;
        z-index: 2;
    }

    .homeMerit__lead {
        font-size: 5vw;
        line-height: 1.5;
        margin-bottom: 4vw;
        max-width: none;
    }

    .homeMerit__desc {
        font-size: 3.6vw;
        line-height: 1.9;
        margin-bottom: 6vw;
        max-width: none;
    }

    .homeMerit__cards {
        flex-direction: column;
        gap: 6vw;
        padding-top: 8vw;
    }

    .homeMerit__cardTitle {
        font-size: 4.4vw;
        line-height: 1.4;
        padding: 3vw 2vw;
    }

    .homeMerit__items {
        gap: 2vw;
        margin-top: 4vw;
        padding: 5vw 4vw;
    }

    .homeMerit__items li {
        font-size: 3.6vw;
        gap: 3vw;
        line-height: 1.5;
    }

    .homeMerit__items li::before {
        height: 6vw;
        width: 7.2vw;
    }
}

/* ==================================================================
 * TOP: 会員名簿 / 優良会員認定業者（2カラムカード）
 * Figma: 紺帯=4091:4889・4874(539×204) / 写真=540×297（上部204pxを除いた分）
 * ================================================================== */
.homeTwoCol {
    background-color: #fff;
    padding-bottom: 10rem;
    padding-top: 8rem;
}

.homeTwoCol__list {
    display: flex;
    gap: 4rem;
}

.homeTwoCol__item {
    flex: 1;
}

.homeTwoCol__item a {
    background-color: var(--primary);
    border-radius: 2rem;
    display: block;
    overflow: hidden;
    transition: opacity var(--transition);
}

.homeTwoCol__item a:hover {
    opacity: 0.85;
}

.homeTwoCol__head {
    display: block;
    min-height: 20.4rem;
    padding: 3rem 4rem;
    position: relative;
}

.homeTwoCol__title {
    color: #fff;
    display: block;
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 3.2rem;
    margin-top: 2rem;
}

.homeTwoCol__desc {
    color: #fff;
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 2.9rem;
    margin-top: 2rem;
    max-width: 34rem;
}

.homeTwoCol__arrow,
.homeInfo__bandArrow {
    background-color: #fff;
    border-radius: 50%;
    height: 4.8rem;
    position: absolute;
    width: 4.8rem;
}

.homeTwoCol__arrow {
    right: 4rem;
    top: 4rem;
}

.homeTwoCol__arrow::after,
.homeInfo__bandArrow::after {
    background-color: var(--primary);
    content: "";
    height: 1.2rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0.82rem;
    -webkit-mask-image: url(../img/common/icon-arrow-circle.svg);
            mask-image: url(../img/common/icon-arrow-circle.svg);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.homeTwoCol__photo {
    display: block;
    line-height: 0;
    position: relative;
}

.homeTwoCol__badge {
    bottom: 1.3rem;
    left: 2.1rem;
    position: absolute;
    width: 12.8rem;
}

/* 2枚を縦に並べ、見出し・本文・矢印・バッジを画面幅基準に置き換える。
   767px 以下は rem が 10px 固定に戻るため、指定が無いと PC の px がそのまま出て崩れる。 */
@media screen and (max-width: 767px) {

    

    .homeTwoCol__item a {
        border-radius: 2vw;
    }

    .homeTwoCol__title {
        font-size: 5.6vw;
        line-height: 2.2;
        margin-top: 0;
    }

    

    .homeTwoCol__arrow::after {
        height: 2.4vw;
        width: 1.6vw;
    }

    .homeTwoCol__badge {
        bottom: 2vw;
        left: 3vw;
        width: 22vw;
    }
}

/* ==================================================================
 * TOP: 公開情報・コンプライアンス
 * Figma: 背景写真=4008:637(1440×569) / 帯=4008:669(紺)・4055:3477(赤)
 * ================================================================== */
.homeInfo {
    background-image: url(../img/home/sec-bnr-bg.jpg);
    background-position: center;
    background-size: cover;
    padding-bottom: 9rem;
    padding-top: 7rem;
}

.homeInfo__inner {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
}

.homeInfo__text {
    flex-shrink: 0;
    width: 46rem;
}

.homeInfo__heading {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 花の装飾は既存SVGをマスクにして色を指定する（赤版の画像は不要）。 */
.homeInfo__deco {
    background-color: var(--accent);
    display: block;
    height: 6rem;
    width: 9.2rem;
    -webkit-mask-image: url(../img/common/deco-flower.svg);
            mask-image: url(../img/common/deco-flower.svg);
    -webkit-mask-position: left center;
            mask-position: left center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.homeInfo__heading > span:last-child {
    color: var(--accent);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 4.8rem;
}

.homeInfo__desc {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 3.2rem;
}

.homeInfo__bands {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 0.1rem;
    width: 63.1rem;
}

/* 写真は背景を抜いた PNG。帯の色は CSS 側で敷き、写真は右端に原寸比で置く。
   色はデザインの帯から実測（紺 #074785 / 赤 #c32e41）。 */
.homeInfo__band a {
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    border-radius: 1rem;
    display: block;
    height: 20rem;
    position: relative;
    transition: opacity var(--transition), background-size var(--transition);
}

.homeInfo__band a.is-info {
    background-color: #074785;
    background-position: right 80%;
    background-size: 50%;
}

.homeInfo__band a.is-compliance {
    background-color: #c32e41;
    background-position: 90%;
    background-size: 30%;
}

.homeInfo__band a:hover {
    opacity: 0.85;
}

.homeInfo__band a.is-info:hover {
    background-size: 55%;
}

.homeInfo__band a.is-compliance:hover {
    background-size: 34%;
}

.homeInfo__band a:hover .homeInfo__bandArrow {
    transform: translateY(-50%) scale(1.15);
}

.homeInfo__band:first-child a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.homeInfo__band:last-child a {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.homeInfo__bandTitle {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    left: 4rem;
    letter-spacing: 0.08em;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.homeInfo__bandArrow {
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition);
}

.homeInfo__band:last-child .homeInfo__bandArrow::after {
    background-color: var(--accent);
}

@media screen and (max-width: 767px) {
    .homeTwoCol {
        padding-bottom: 10vw;
        padding-top: 10vw;
    }

    .homeTwoCol__list {
        flex-direction: column;
        gap: 6vw;
    }

    .homeTwoCol__head {
        min-height: 0;
        padding: 5vw;
    }

    .homeTwoCol__title {
        font-size: 5.6vw;
        line-height: 1.2;
    }

    .homeTwoCol__desc {
        font-size: 3.6vw;
        line-height: 1.8;
        margin-top: 3vw;
        max-width: 70%;
    }

    .homeTwoCol__arrow {
        height: 8vw;
        right: 5vw;
        top: 6vw;
        width: 8vw;
    }

    .homeTwoCol__arrow::after,
    .homeInfo__bandArrow::after {
        height: 2.6vw;
        width: 1.8vw;
    }

    .homeInfo {
        padding-bottom: 10vw;
        padding-top: 10vw;
    }

    .homeInfo__inner {
        flex-direction: column;
        gap: 8vw;
    }

    .homeInfo__text,
    .homeInfo__bands {
        width: 100%;
    }

    .homeInfo__deco {
        height: 8vw;
        width: 12.3vw;
    }

    .homeInfo__heading {
        gap: 2vw;
        margin-bottom: 4vw;
    }

    .homeInfo__heading > span:last-child {
        font-size: 6.4vw;
        line-height: 1.3;
    }

    .homeInfo__desc {
        font-size: 3.6vw;
        line-height: 1.9;
    }

    .homeInfo__band a {
        height: 28vw;
    }

    .homeInfo__bandTitle {
        font-size: 5vw;
        left: 5vw;
    }

    .homeInfo__bandArrow {
        height: 8vw;
        right: 4vw;
        width: 8vw;
    }
}

/* --- FV: SP ---
   デザインは PC(1440px)のみのため、すべて vw で比例縮小させる。 */
@media screen and (max-width: 767px) {
    .fv {
        border-bottom-left-radius: 4rem;
        height: auto;
        min-height: 100vw;
        width: 100%;
    }

    /* 上の padding は固定ヘッダー（15vw）の分。TOPは body.home で .wrap の
       padding-top を打ち消しているため、ここで空けないと組織名バーが
       ヘッダーの下に潜り込む。 */
    /* SPは中身をセンター揃えにする。 */
    .fv__body {
        align-items: center;
        justify-content: center;
        min-height: 100vw;
        padding: 20vw 5vw 8vw;
        text-align: center;
    }

    .fv__bg img {
        object-position: 30% center;
    }

    .fv__org {
        font-size: 3.6vw;
        height: auto;
        margin: 0 0 1rem;
        max-width: none;
        padding: 1.6vw 8vw;
        width: fit-content;
    }

    .fv__catch {
        margin-top: 0;
        white-space: normal;
    }

    .fv__catchRow {
        line-height: 1.35;
    }

    .fv__lg {
        font-size: 8.2vw;
    }

    .fv__md {
        font-size: 7.4vw;
    }

    .fv__sm {
        font-size: 6.2vw;
    }

    .fv__ex {
        font-size: 7.6vw;
    }

    .fv__badge {
        gap: 1.4vw;
        margin-left: 0;
        margin-top: 2vw;
        padding: 3vw 2vw 3vw 15vw;
        width: fit-content;
    }

    .fv__map {
        left: -2vw;
        width: 16vw;
    }

    .fv__points {
        gap: 1.4vw;
    }

    .fv__points li {
        font-size: 3.2vw;
        line-height: 1.35;
        padding: 1.6vw 1.8vw;
    }
}

/* ==================================================================
 * 会員限定コンテンツのパスワード画面
 * ================================================================== */
.memberGate {
    padding: 8rem 2.4rem 12rem;
}

.memberGate__box {
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: 2rem;
    margin: 0 auto;
    max-width: 60rem;
    padding: 4rem 4rem;
    text-align: center;
}

.memberGate__icon {
    color: var(--primary);
    display: block;
    height: 3rem;
    margin: 0 auto 1.5rem;
    width: 2.7331rem;
}

.memberGate__title {
    color: var(--primary);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
}

.memberGate__lead {
    line-height: 2;
    margin-bottom: 3rem;
}

.memberGate__error {
    background-color: #fdecee;
    border-radius: 0.6rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 2rem;
    padding: 1.2rem;
}

.memberGate__form {
    margin: 0 auto 3rem;
    max-width: 36rem;
    text-align: left;
}

.memberGate__label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.memberGate__input {
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    margin-bottom: 1rem;
    padding: 1.2rem;
    width: 100%;
}

.memberGate__input:focus {
    border-color: var(--primary);
}

.memberGate__submit {
    background-color: var(--primary);
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 2px solid var(--primary);
    border-radius: 0.6rem;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 2rem;
    padding: 1.2rem;
    transition: background-position 0.3s ease, color 0.3s ease;
    width: 100%;
}

.memberGate__submit:hover {
    background-position: 0 0;
    color: var(--primary);
}

.memberGate__note {
    font-size: 1.4rem;
    line-height: 1.9;
    margin-bottom: 3rem;
}

/* リセットの a{display:block} が効いて電話番号が単独行に落ちるため戻す。 */
.memberGate__note a,
.memberGate__lead a {
    display: inline;
}

.memberGate__back {
    color: var(--primary);
    display: inline-block;
    font-weight: 700;
    text-decoration: underline;
}

.memberGate__links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 0 auto 3rem;
    max-width: 36rem;
}

.memberGate__links a {
    background-color: var(--primary);
    border-radius: 0.6rem;
    color: #fff;
    font-weight: 700;
    padding: 1.4rem;
    transition: opacity var(--transition);
}

/* 固定ヘッダーの分だけアンカーの着地位置を下げる（フッターCTAへの #contact など）。 */
:target {
    scroll-margin-top: 13rem;
}

@media screen and (max-width: 767px) {
    :target {
        scroll-margin-top: 18vw;
    }
}

@media screen and (max-width: 767px) {
    .memberGate {
        padding: 8vw 5vw 14vw;
    }

    .memberGate__box {
        padding: 8vw 5vw;
    }

    .memberGate__title {
        font-size: 5vw;
    }
}

/* ==================================================================
 * 404 / 土台確認用
 * ================================================================== */
/* 左右余白は内側の .inner が持つ。同じ要素に .inner と併記すると
   この padding ショートハンドが .inner の左右余白を 0 に打ち消してしまう。 */
.error404 {
    padding: 8rem 0 12rem;
    text-align: center;
}

.error404__title {
    color: var(--primary);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.error404__text {
    line-height: 2;
    margin-bottom: 4rem;
}

/* 検索欄は検索結果ページ（.searchPage__form）と同じ体裁にそろえている。 */
.error404__search {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto 5rem;
    max-width: 60rem;
}

.error404__search input {
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    flex: 1 1 0;
    font-family: inherit;
    font-size: 1.6rem;
    height: 5rem;
    min-width: 0;
    padding: 0 1.6rem;
    -webkit-appearance: none;
            appearance: none;
}

.error404__search button {
    background-color: var(--primary);
    border-radius: 0.4rem;
    color: #fff;
    flex-shrink: 0;
    font-size: 1.6rem;
    font-weight: 700;
    height: 5rem;
    padding: 0 3rem;
    transition: opacity var(--transition);
}

.error404__search button:hover {
    opacity: 0.8;
}

.error404__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.error404__links a {
    border-bottom: 1px solid var(--primary);
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
    padding-bottom: 0.2rem;
}

@media screen and (max-width: 767px) {
    .error404 {
        padding: 10vw 0 16vw;
    }

    .error404__title {
        font-size: 5vw;
        line-height: 1.5;
    }

    .error404__text {
        font-size: 3.6vw;
        margin-bottom: 8vw;
    }

    .error404__search {
        flex-direction: column;
        margin-bottom: 8vw;
    }

    .error404__search input,
    .error404__search button {
        font-size: 3.6vw;
        height: 12vw;
    }

    .error404__links {
        gap: 3vw 5vw;
        margin-bottom: 8vw;
    }

    .error404__links a {
        font-size: 3.6vw;
    }
}

.error404__back {
    background-color: var(--primary);
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 2px solid var(--primary);
    border-radius: 0.6rem;
    color: #fff;
    display: inline-block;
    font-weight: 700;
    padding: 1.2rem 3rem;
    transition: background-position 0.3s ease, color 0.3s ease;
}

.error404__back:hover {
    background-position: 0 0;
    color: var(--primary);
}

.memberGate__links a {
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 2px solid var(--primary);
    transition: background-position 0.3s ease, color 0.3s ease;
}

.memberGate__links a:hover {
    background-position: 0 0;
    color: var(--primary);
    opacity: 1;
}

/* ------------------------------------------------------------------
 * 下層ページ共通のキービジュアル
 * Figma: Rectangle 45(4062:3910) 1440×460 ／ heading2(4016:2656)
 * 写真の上に白70%を重ね、下角だけ 100px 丸める。
 * ヘッダーは position:fixed のため .wrap の padding-top(11.4rem) を
 * 打ち消してKVをヘッダーの下まで敷き、同じ分の padding で文字を戻す。
 * ------------------------------------------------------------------ */
.pageHero {
    height: 40rem;
    margin-top: -10.4rem;
    padding-top: 10.4rem;
    position: relative;
}

.pageHero__bg {
    border-radius: 0 0 10rem 10rem;
    inset: 0;
    overflow: hidden;
    position: absolute;
}

.pageHero__bg img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.pageHero__bg::after {
    background-color: rgba(255, 255, 255, 0.7);
    content: "";
    inset: 0;
    position: absolute;
}

.pageHero__body {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    height: 100%;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.pageHero__en {
    color: var(--primary);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.384rem;
    line-height: 1;
}

.pageHero__jp {
    color: var(--text-black);
    font-size: 5.4rem;
    font-weight: 700;
    letter-spacing: 0.256rem;
    line-height: 1;
}

@media screen and (max-width: 767px) {
    .pageHero {
        height: 60vw;
        margin-top: -15vw;
        padding-top: 15vw;
    }

    .pageHero__bg {
        border-radius: 0 0 6vw 6vw;
    }

    .pageHero__body {
        gap: 3vw;
    }

    .pageHero__en {
        font-size: 4.4vw;
    }

    .pageHero__jp {
        font-size: 8vw;
    }
}

/* ------------------------------------------------------------------
 * トピックス（一覧・カテゴリアーカイブ）
 * Figma: トピックス一覧 4016:2649
 * ------------------------------------------------------------------ */
.topicsPage {
    padding-bottom: 12rem;
    padding-top: 6rem;
}

/* カテゴリタブ Frame 31313(4016:3174)。5等分・gap 4px・64px高。 */
.topicsTabs__list {
    display: flex;
    gap: 0.4rem;
}

.topicsTabs__item {
    flex: 1 1 0;
}

.topicsTabs__item a {
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--cat-news);
    color: var(--text-black);
    display: flex;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 0.8rem;
    height: 6.4rem;
    justify-content: center;
    line-height: 1.3;
    text-align: center;
    transition: background-color var(--transition), color var(--transition);
}

.topicsTabs__item--property a { border-color: var(--cat-property); }
.topicsTabs__item--trainingvideo a { border-color: var(--cat-trainingvideo); }
.topicsTabs__item--case a { border-color: var(--cat-case); }
.topicsTabs__item--officer a { border-color: var(--cat-officer); }

.topicsTabs__item a:hover,
.topicsTabs__item.is-current a {
    background-color: var(--cat-news);
    color: #fff;
    opacity: 1;
}

.topicsTabs__item--property a:hover,
.topicsTabs__item--property.is-current a { background-color: var(--cat-property); }
.topicsTabs__item--trainingvideo a:hover,
.topicsTabs__item--trainingvideo.is-current a { background-color: var(--cat-trainingvideo); }
.topicsTabs__item--case a:hover,
.topicsTabs__item--case.is-current a { background-color: var(--cat-case); }
.topicsTabs__item--officer a:hover,
.topicsTabs__item--officer.is-current a { background-color: var(--cat-officer); }

/* 鍵アイコンは1枚の SVG をマスクにして、カテゴリ色／ホバー時の白に塗り分ける。 */
.topicsTabs__lock {
    display: block;
    flex-shrink: 0;
    height: 2rem;
    width: 1.0932rem;
}

/* 鍵はカテゴリの色（＝タブの枠線と同色）で描く。SVGは fill="currentColor"。
   タブが塗りつぶしになるホバー時・選択時は白に反転させる。 */
.topicsTabs__item--property .topicsTabs__lock { color: var(--cat-property); }
.topicsTabs__item--trainingvideo .topicsTabs__lock { color: var(--cat-trainingvideo); }
.topicsTabs__item--case .topicsTabs__lock { color: var(--cat-case); }
.topicsTabs__item--officer .topicsTabs__lock { color: var(--cat-officer); }

.topicsTabs__item a:hover .topicsTabs__lock,
.topicsTabs__item.is-current .topicsTabs__lock {
    color: #fff;
}

@media screen and (max-width: 767px) {
    /* 3段組み。1段目は「お知らせ」だけを1カラム（全幅）、2段目以降は2カラム。 */
    .topicsTabs__list {
        display: grid;
        gap: 2vw;
        grid-template-columns: repeat(2, 1fr);
    }

    .topicsTabs__item--news {
        grid-column: 1 / -1;
    }

    .topicsTabs__item a {
        font-size: 3.2vw;
        gap: 1vw;
        height: 13vw;
        padding: 0 2vw;
    }

    .topicsTabs__lock {
        height: 3.4vw;
        width: 1.8586vw; /* 10.9325:20 の比率を保つ */
    }

}

/* 見出し行 Frame 602(4016:3013)。見出し 32px Medium・右にカテゴリ絞り込み。 */
.topicsList {
    padding-top: 6rem;
}

.topicsList__head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-bottom: 2rem;
}

.topicsList__heading {
    color: var(--heading-navy);
    font-size: 3.2rem;
    font-weight: 500;
}

.topicsList__filter {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.topicsList__filterLabel {
    color: var(--heading-navy);
    font-size: 1.4rem;
    font-weight: 500;
}

.topicsList__select {
    position: relative;
    width: 25.1rem;
}

/* ▼はブラウザ既定の矢印を消して疑似要素で描く（見た目を揃えるため）。 */
.topicsList__select::after {
    color: var(--text-black);
    content: "▼";
    font-size: 1.4rem;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.topicsList__select select {
    appearance: none;
    background-color: #fff;
    border: 1px solid #a3a3a3;
    border-radius: 1rem;
    color: var(--text-black);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.4rem;
    height: 3.8rem;
    padding: 0 4rem 0 1.5rem;
    width: 100%;
    -webkit-appearance: none;
}

/* 記事1件 Frame 401(4048:6076)。日付＋カテゴリ／タイトル1行・下罫線。
   1件あたり 119px（本体89＋間隔30）のリズム。先頭だけ上の余白を持たない。 */
.topicsList__item {
    border-bottom: 1px solid #d6d6d6;
}

.topicsList__item a {
    display: block;
    padding: 3rem 0;
}

.topicsList__item:first-child a {
    padding-top: 0;
}

.topicsList__body {
    display: block;
}

.topicsList__meta {
    align-items: center;
    display: flex;
    gap: 2rem;
}

.topicsList__date {
    font-size: 1.4rem;
    font-weight: 700;
}

.topicsList__cat {
    align-items: center;
    background-color: var(--cat-news);
    color: #fff;
    display: flex;
    font-size: 1.4rem;
    font-weight: 700;
    height: 2.4rem;
    justify-content: center;
    line-height: 1;
    min-width: 12.2rem;
    padding: 0 0.9rem;
    text-align: center;
}

.topicsList__cat--property { background-color: var(--cat-property); }
.topicsList__cat--trainingvideo { background-color: var(--cat-trainingvideo); }
.topicsList__cat--case { background-color: var(--cat-case); }
.topicsList__cat--officer { background-color: var(--cat-officer); }

.topicsList__title {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 1.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topicsList__item a:hover .topicsList__title {
    color: var(--primary);
    text-decoration: underline;
}

/* --- 研修会動画のサムネイル付き行 ---
   一覧で動画の内容が分かるよう、研修会動画だけ左にサムネイルを出す。
   画像は YouTube のサムネイルをメディアに取り込んだもの（16:9）。 */
.topicsList__item--thumb a {
    align-items: center;
    display: flex;
    gap: 2.4rem;
}

.topicsList__thumb {
    background-color: #000;
    border-radius: 0.6rem;
    display: block;
    flex-shrink: 0;
    line-height: 0;
    overflow: hidden;
    position: relative;
    width: 21.6rem;
}

.topicsList__thumb img {
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    width: 100%;
}

.topicsList__item--thumb a:hover .topicsList__thumb img {
    transform: scale(1.06);
}

/* 動画であることが分かる再生マーク。画像を足さず CSS の三角で描く。 */
.topicsList__play {
    align-items: center;
    background-color: rgba(2, 60, 118, 0.82);
    border-radius: 50%;
    display: flex;
    height: 4.4rem;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: background-color var(--transition);
    width: 4.4rem;
}

.topicsList__play::before {
    border-bottom: 0.8rem solid transparent;
    border-left: 1.4rem solid #fff;
    border-top: 0.8rem solid transparent;
    content: "";
    margin-left: 0.3rem;
}

.topicsList__item--thumb a:hover .topicsList__play {
    background-color: var(--primary);
}

/* サムネイルがある行は本文側を伸ばす。 */
.topicsList__item--thumb .topicsList__body {
    flex: 1 1 0;
    min-width: 0;
}

.topicsList__empty {
    padding: 6rem 0;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .topicsPage {
        padding-bottom: 15vw;
        padding-top: 8vw;
    }

    .topicsList {
        padding-top: 10vw;
    }

    .topicsList__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 3vw;
    }

    .topicsList__heading {
        font-size: 6vw;
    }

    .topicsList__filter {
        width: 100%;
    }

    .topicsList__select {
        flex: 1;
        width: auto;
    }

    .topicsList__item a {
        padding: 5vw 0;
    }

    .topicsList__meta {
        gap: 3vw;
    }

    .topicsList__date {
        font-size: 3.4vw;
    }

    .topicsList__cat {
        font-size: 3.2vw;
        height: 6vw;
        min-width: 26vw;
        padding: 0 2vw;
    }

    .topicsList__title {
        font-size: 3.8vw;
        margin-top: 3vw;
        white-space: normal;
    }

    /* SPは横並びだと文字が潰れるのでサムネイルを上に置く。 */
    .topicsList__item--thumb a {
        display: block;
    }

    .topicsList__thumb {
        margin-bottom: 3vw;
        width: 100%;
    }

    .topicsList__play {
        height: 12vw;
        width: 12vw;
    }

    .topicsList__play::before {
        border-bottom-width: 2.2vw;
        border-left-width: 3.8vw;
        border-top-width: 2.2vw;
        margin-left: 0.8vw;
    }
}

/* ------------------------------------------------------------------
 * ページャ（下層ページ共通）
 * Figma: page(4016:3126)。36px角・間隔15px・現在地は塗り。
 * ------------------------------------------------------------------ */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 6rem;
}

.pager .page-numbers {
    align-items: center;
    border: 1px solid var(--heading-navy);
    color: var(--heading-navy);
    display: flex;
    font-size: 1.4rem;
    height: 3.6rem;
    justify-content: center;
    min-width: 3.6rem;
    transition: background-color var(--transition), color var(--transition);
}

.pager .page-numbers:hover,
.pager .page-numbers.current {
    background-color: var(--heading-navy);
    color: #fff;
    opacity: 1;
}

.pager .page-numbers.dots {
    border: none;
    color: var(--heading-navy);
}

.pager .page-numbers.dots:hover {
    background-color: transparent;
    color: var(--heading-navy);
}

/* 読み上げ専用テキスト（鍵アイコンの「会員限定」など） */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* ------------------------------------------------------------------
 * トピックス詳細
 * Figma: トピックス詳細 4048:7200（本文幅 1020px）
 * ------------------------------------------------------------------ */
.entry {
    margin-left: auto;
    margin-right: auto;
    max-width: 102rem;
}

.entry__head {
    border-bottom: 2px solid var(--article-text);
    padding-bottom: 3rem;
}

.entry__meta {
    align-items: center;
    display: flex;
    gap: 2rem;
}

.entry__date {
    color: var(--article-text);
    font-size: 1.4rem;
}

/* 一覧のラベルは塗り、詳細は白地に枠線（Figma 4048:7810）。 */
.entry__cat {
    align-items: center;
    border: 1px solid var(--cat-news);
    color: var(--cat-news);
    display: flex;
    font-size: 1.2rem;
    font-weight: 700;
    height: 2.3rem;
    justify-content: center;
    letter-spacing: 0.048rem;
    line-height: 1;
    padding: 0 0.8rem;
}

.entry__cat--property { border-color: var(--cat-property); color: var(--cat-property); }
.entry__cat--trainingvideo { border-color: var(--cat-trainingvideo); color: var(--cat-trainingvideo); }
.entry__cat--case { border-color: var(--cat-case); color: var(--cat-case); }
.entry__cat--officer { border-color: var(--cat-officer); color: var(--cat-officer); }

.entry__title {
    color: var(--article-text);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.072rem;
    line-height: 1.6667;
    margin-top: 2rem;
}

/* 本文。ブロックの間隔は Figma の gap 40px に合わせる。 */
.entry__body {
    border-bottom: 2px solid var(--article-text);
    color: var(--article-text);
    font-size: 1.6rem;
    line-height: 2;
    padding: 4rem 0;
}

/* Figma のブロック間隔は 40px だが、それは見出しを含むブロック同士の間隔。
   移行した既存記事は短い <p> が連続するため、段落同士は 2.4rem に抑える。 */
.entry__body > * + * {
    margin-top: 2.4rem;
}

.entry__body > * + h2,
.entry__body > * + h3,
.entry__body > * + h4,
.entry__body > * + h5 {
    margin-top: 4rem;
}

.entry__body h2 {
    border-bottom: 1px solid var(--article-text);
    border-left: 3px solid var(--primary);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.128rem;
    line-height: 1.4;
    padding: 0.6rem 1.2rem;
}

/* h3 の罫線は「紺の短い線＋間隔＋ベージュの長い線」（Figma 4048:7823）。
   2本を別要素にせず、下辺に敷いたグラデーションで再現する。 */
.entry__body h3 {
    background-image: linear-gradient(to right,
        var(--primary) 0 7.992rem,
        transparent 7.992rem 11.8rem,
        #f2e5dc 11.8rem);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% 0.3rem;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.112rem;
    line-height: 1.4;
    padding-bottom: 1.3rem;
}

.entry__body h4 {
    border-bottom: 2px solid var(--primary);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.096rem;
    line-height: 1.4;
    padding-bottom: 1rem;
}

.entry__body h5 {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.088rem;
    line-height: 1.4;
}

.entry__body h2 + *,
.entry__body h3 + *,
.entry__body h4 + *,
.entry__body h5 + * {
    margin-top: 1rem;
}

.entry__body a {
    color: var(--primary);
    text-decoration: underline;
}

/* 求む物件情報の記事は「概要／募集要件／添付ファイル／問合せ先」の表で構成されている
   （現行サイトはカスタムフィールドから組んでいた）。法人概要の表と体裁をそろえる。 */
.entryTable {
    border-collapse: collapse;
    width: 100%;
}

.entryTable th,
.entryTable td {
    border-bottom: 1px solid var(--border);
    font-size: 1.6rem;
    line-height: 1.8;
    padding: 2rem;
    text-align: left;
    vertical-align: top;
}

.entryTable th {
    background-color: var(--band-bg);
    font-weight: 700;
    white-space: nowrap;
    width: 16rem;
}

@media screen and (max-width: 767px) {
    /* 2列のままだと本文が潰れるので縦積みにする。 */
    .entryTable,
    .entryTable tbody,
    .entryTable tr,
    .entryTable th,
    .entryTable td {
        display: block;
        width: auto;
    }

    .entryTable tr + tr {
        margin-top: 4vw;
    }

    .entryTable th {
        border-bottom: 0;
        font-size: 3.8vw;
        padding: 2vw 3vw;
    }

    .entryTable td {
        font-size: 3.6vw;
        padding: 3vw;
    }
}

.entry__body ul,
.entry__body ol {
    padding-left: 2.4rem;
}

.entry__body ul li {
    list-style: disc;
}

.entry__body ol li {
    list-style: decimal;
}

.entry__body img {
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

.entry__foot {
    display: flex;
    justify-content: center;
    padding: 4rem 0 0;
}

/* 一覧へ戻る（Figma btn 4048:7833）。角丸49pxのピル。
   ホバーは箱型ボタンと同じ横スイープ。 */
.entry__back {
    align-items: center;
    background-color: var(--primary);
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 2px solid var(--primary);
    border-radius: 4rem;
    color: #fff;
    display: flex;
    font-size: 1.8rem;
    font-weight: 700;
    height: 4.9rem;
    justify-content: center;
    letter-spacing: 0.18rem;
    transition: background-position 0.4s ease, color 0.3s ease;
    width: 24.4rem;
}

.entry__back:hover {
    background-position: 0 0;
    color: var(--primary);
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .entry__head {
        padding-bottom: 5vw;
    }

    .entry__date {
        font-size: 3.2vw;
    }

    .entry__cat {
        font-size: 3vw;
        height: 5.5vw;
    }

    .entry__title {
        font-size: 4.4vw;
        margin-top: 4vw;
    }

    .entry__body {
        font-size: 3.8vw;
        padding: 8vw 0;
    }

    .entry__body > * + * {
        margin-top: 4vw;
    }

    .entry__body > * + h2,
    .entry__body > * + h3,
    .entry__body > * + h4,
    .entry__body > * + h5 {
        margin-top: 8vw;
    }

    .entry__body h2 {
        font-size: 5.6vw;
    }

    .entry__body h3 {
        background-size: 100% 0.3rem;
        font-size: 5vw;
    }

    .entry__body h4 {
        font-size: 4.6vw;
    }

    .entry__body h5 {
        font-size: 4.2vw;
    }

    .entry__foot {
        padding-top: 8vw;
    }

    .entry__back {
        font-size: 4vw;
        height: 12vw;
        width: 60vw;
    }
}

/* ------------------------------------------------------------------
 * 法人概要
 * Figma: 法人概要 4015:175
 * ------------------------------------------------------------------ */
.orgPage {
    padding-bottom: 12rem;
    padding-top: 8rem;
}

/* 番号つきセクション見出し（01〜04で共通・下層ページで再利用する）
   Figma heading2 4015:338 ほか */
.secHead {
    border-bottom: 2px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
}

.secHead__no {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.168rem;
    line-height: 1;
}

.secHead__jp {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.16rem;
    line-height: 1;
}

/* 01 流通機構について。写真520 + 余白40 + テキスト560 の2カラム。 */
.orgAbout__body {
    align-items: center;
    display: flex;
    gap: 4rem;
    padding-top: 3.8rem;
}

.orgAbout__photo {
    flex: 0 0 52rem;
}

.orgAbout__text {
    flex: 1 1 auto;
}

.orgAbout__lead {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.256rem;
    line-height: 1.4375;
}

.orgAbout__desc {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 2rem;
}

/* 02・04 の帯。薄い水色の全幅帯の中に白いパネルを置く。 */
.orgBand {
    background-color: var(--band-bg);
    border-radius: 1rem;
    margin-top: 10rem;
    padding: 8rem 1rem 10rem;
}

.orgBand__panel {
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    max-width: 112rem;
    padding: 6rem 4rem;
    width: 100%;
}

.orgBand__body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ブロック間は 60px。.orgBand__body の gap 3rem と合算して 6rem になる。 */
.orgBlock + .orgBlock {
    margin-top: 3rem;
}

/* 小見出しの帯 Figma 4015:345 */
.orgBar {
    background-color: var(--bar-bg);
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.096rem;
    line-height: 1;
    padding: 2rem;
}

.orgBlock__text {
    font-size: 1.6rem;
    line-height: 2;
    margin-top: 2rem;
}

.orgBlock__list {
    font-size: 1.6rem;
    line-height: 2;
    margin-top: 2rem;
    padding-left: 2.4rem;
}

.orgBlock__list li {
    list-style: decimal;
}

/* 概要テーブル Figma Table 4015:349。見出し列は紺の下罫、データ列はグレーの下罫。
   行の隙間（縦3px・横2px）は border-spacing で出す。 */
.orgTable {
    border-collapse: separate;
    border-spacing: 0.2rem 0.3rem;
    margin-top: 2rem;
    width: 100%;
}

.orgTable th,
.orgTable td {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 1.8rem;
    text-align: left;
    vertical-align: top;
}

.orgTable th {
    border-bottom: 1px solid var(--primary);
    white-space: nowrap;
    width: 20rem;
}

.orgTable td {
    border-bottom: 1px solid #c7c7c7;
}

/* 03 組織図・委員会 */
/* 直前の紺帯セクションと詰まって見えるため見出しの上に余白を取る。 */
.orgCommittee .secHead {
    margin-top: 7rem;
}

.orgCommittee .orgChart {
    margin-top: 4rem;
}

.orgTeam {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.orgTeam__table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 74.667rem;
}

.orgTeam__table th,
.orgTeam__table td {
    border: 1px solid #d7d7d7;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    width: 50%;
}

.orgTeam__name {
    background-color: #f6f6f6;
    height: 6rem;
}

.orgTeam__vp {
    background-color: var(--bar-bg);
    height: 6rem;
}

.orgTeam__member {
    border-color: #f2f2f2;
    height: 11.6rem;
    padding: 1rem;
}

.orgTeam__member span {
    display: block;
}

/* 雛形テーマの reset が a{display:block} なので、文章の中に出るリンクは
   inline に戻さないと単独行に落ちる。 */
.entry__body a,
.orgTeam__member a,
.orgAccess__info a {
    display: inline;
}

.orgTeam__member a {
    text-decoration: underline;
}

/* 理事・監事。委員会より広い幅（Figma 4015:682 は 960px）。 */
.orgRoster {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.orgRoster__table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 96rem;
}

.orgRoster__table th,
.orgRoster__table td {
    border: 1px solid #d7d7d7;
    font-size: 1.6rem;
    font-weight: 400;
    height: 6rem;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
}

.orgRoster__head {
    background-color: #f6f6f6;
}

/* 04 アクセス */
.orgAccess__map {
    aspect-ratio: 1040 / 470;
    width: 100%;
}

.orgAccess__map iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.orgAccess__info {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 4rem;
    text-align: center;
}

.orgAccess__info a {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .orgPage {
        padding-bottom: 15vw;
        padding-top: 10vw;
    }

    .secHead {
        gap: 2.5vw;
        padding-bottom: 3vw;
    }

    .secHead__no {
        font-size: 3vw;
    }

    .secHead__jp {
        font-size: 5.4vw;
        line-height: 1.4;
    }

    .orgAbout__body {
        flex-direction: column;
        gap: 6vw;
        padding-top: 6vw;
    }

    .orgAbout__photo {
        flex: none;
        width: 100%;
    }

    .orgAbout__lead {
        font-size: 5.4vw;
        margin: 0 0 1vh;
    }

    .orgAbout__desc {
        font-size: 3.8vw;
        line-height: 1.8;
        margin-top: 4vw;
    }

    .orgBand {
        margin-top: 15vw;
        padding: 10vw 5vw 12vw;
    }

    .orgBand__panel {
        padding: 8vw 5vw;
    }

    .orgBlock + .orgBlock {
        margin-top: 5vw;
    }

    .orgBar {
        font-size: 4.4vw;
        padding: 3.5vw;
    }

    .orgBlock__text,
    .orgBlock__list {
        font-size: 3.8vw;
    }

    /* 2列テーブルはSPで縦積みにする（見出し列20remのままだと本文が潰れる）。 */
    .orgTable,
    .orgTable tbody,
    .orgTable tr,
    .orgTable th,
    .orgTable td {
        display: block;
        width: auto;
    }

    .orgTable {
        border-spacing: 0;
    }

    /* 縦積みにすると th と td の下線が2本並んで罫線だらけに見えるため、
       罫線は1行につき1本（tr の下）だけにし、項目名は色と太さで区別する。 */
    .orgTable tr {
        border-bottom: 1px solid var(--border);
        padding-bottom: 3.5vw;
    }

    .orgTable tr:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .orgTable th {
        border-bottom: 0;
        color: var(--primary);
        font-size: 3.4vw;
        font-weight: 700;
        padding: 0 1vw 1.5vw;
    }

    .orgTable td {
        border-bottom: 0;
        padding: 0 1vw;
    }

    .orgTable tr + tr {
        margin-top: 3.5vw;
    }

    .orgTable td {
        font-size: 3.8vw;
        line-height: 1.7;
    }

    .orgCommittee .secHead {
        margin-top: 10vw;
    }

    .orgCommittee .orgChart {
        margin-top: 6vw;
        overflow-x: auto;
    }

    .orgCommittee .orgChart img {
        max-width: none;
        width: 100%;
    }

    .orgTeam,
    .orgRoster {
        margin-top: 0;
        overflow-x: auto;
    }

    .orgTeam__table {
        width: 100%;
    }

    .orgTeam__table th,
    .orgTeam__table td {
        border-color: #e8e8e8;
        font-size: 3.2vw;
    }

    .orgTeam__member {
        height: auto;
        padding: 3vw 1vw;
    }

    .orgRoster__table {
        width: 100%;
    }

    .orgRoster__table th,
    .orgRoster__table td {
        border-color: #e8e8e8;
        font-size: 3.1vw;
        height: 11vw;
    }

    .orgAccess__map {
        aspect-ratio: 4 / 3;
    }

    .orgAccess__info {
        font-size: 3.6vw;
        margin-top: 6vw;
    }
}

/* ------------------------------------------------------------------
 * 入会のメリット
 * Figma: 入会のメリット 4015:1256
 * ------------------------------------------------------------------ */

/* 01・03・05 の帯。法人概要の .orgBand と違い、中に白パネルは置かない。 */
.meritBand {
    background-color: var(--band-bg);
    border-radius: 1rem;
    margin-top: 10rem;
    padding: 8rem 0 10rem;
}

/* 01 こんな事業者様におすすめ Figma 4048:8281 */

/* 02 7つの入会メリット */

.meritCard__text,
.meritCard__note {
    font-size: 1.6rem;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.meritCard__note {
    margin-top: 2rem;
}

.meritCard__photo {
    display: block;
    height: 16.3rem;
    margin-top: 1.8rem;
    object-fit: cover;
    position: relative;
    width: 24.4rem;
    z-index: 1;
}

/* 会員ページ等へ渡すボタン Figma 4015:1813 */

/* 03 入会後にできること Figma 4048:11869 */

/* 04 入会までの流れ Figma 4048:11060 */
.meritFlow {
    margin-top: 4.2rem;
}

/* ステップ間の下向き三角（Figma Polygon 11〜14・43×43） */

/* 05 よくある質問 Figma 4048:11129 */

/* 雛形の reset で a が block になるため、本文中のリンクは inline に戻す。 */

/* 入会申込 Figma 4061:3490 / 4061:3495 */
.meritCta {
    margin-bottom: 6rem;
    margin-top: 0;
}

@media screen and (max-width: 767px) {

    .meritBand {
        margin-top: 12vw;
        padding: 10vw 0 12vw;
    }

    

    

    .meritCard__text,
    .meritCard__note {
        font-size: 3.6vw;
    }

    .meritCard__photo {
        height: auto;
        width: 60vw;
    }

    

    .meritFlow {
        margin-top: 12vw;
    }

    

    

    

    

    

    

    

    

}

/* ------------------------------------------------------------------
 * 情報公開・コンプライアンス
 * Figma: 情報公開・コンプライアンス 4015:2063
 * ------------------------------------------------------------------ */

.docList__item a:hover {
    background-color: var(--band-bg);
}

.docList__icon {
    flex: none;
    height: 2rem;
    width: 1.7rem;
}

.docList__label {
    flex: 1 1 0;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.6;
}

/* ------------------------------------------------------------------
 * 物件登録について
 * Figma: 物件登録について 4065:3795
 * ------------------------------------------------------------------ */
.brkPage {
    padding-top: 6rem;
}

/* 01 媒介契約とは */
.brkAbout__body {
    align-items: center;
    display: flex;
    gap: 4rem;
    padding-top: 3.8rem;
}

.brkAbout__photo {
    flex: 0 0 52rem;
}

.brkAbout__photo img {
    border-radius: 1rem;
}

.brkAbout__lead {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4375;
}

.brkAbout__desc {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 2rem;
}

/* 02・04 の帯 */
.brkBand {
    background-color: var(--band-bg);
    margin-top: 10rem;
    padding: 6rem 0 10rem;
}

/* 02 2カラム（タブ＋カード） */
.brkWays {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 3.7rem;
}

.brkWay__tab {
    align-items: center;
    background-color: var(--primary);
    border-radius: 1rem;
    color: #fff;
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 3rem 4rem 4.6rem;
    position: relative;
}

/* 左（01）はデザインでは薄い紺。 */
.brkWay__tab--sub {
    background-color: #326da7;
}

.brkWay__tab::after {
    border-left: 0.9rem solid transparent;
    border-right: 0.9rem solid transparent;
    border-top: 1.2rem solid #fff;
    bottom: 2rem;
    content: "";
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.brkWay__no {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

.brkWay__label {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

.brkWay__card {
    background-color: #fff;
    border: 1px solid #326ca7;
    border-radius: 1rem;
    margin-top: 3rem;
    padding: 3rem 2rem 3rem 1.7rem;
}

/* ステップ（丸バッジ＋縦線） */
.brkStep {
    padding-bottom: 3rem;
    padding-left: 7.7rem;
    position: relative;
}

.brkStep:last-child {
    padding-bottom: 0;
}

.brkStep::before {
    background-color: #326da7;
    bottom: 0;
    content: "";
    left: 2.75rem;
    position: absolute;
    top: 5.7rem;
    width: 0.2rem;
}

.brkStep.is-last::before {
    display: none;
}

.brkStep__head {
    align-items: center;
    display: flex;
    gap: 2rem;
    margin-left: -7.7rem;
}

.brkStep__no {
    align-items: center;
    background-color: #326da7;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 5.7rem;
    font-size: 2.4rem;
    font-weight: 700;
    height: 5.7rem;
    justify-content: center;
    letter-spacing: 0.04em;
    position: relative;
    width: 5.7rem;
    z-index: 1;
}

.brkStep__ttl {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.brkStep__body {
    padding-top: 0;
}

.brkStep__text {
    font-size: 1.5rem;
    line-height: 2.2rem;
    margin-top: 0;
}

.brkStep__text b {
    color: var(--primary);
    font-weight: 700;
}

.brkStep__text a {
    color: var(--primary);
    display: inline;
    font-weight: 700;
}

/* 電話ボックス Figma Rectangle 384 */
.brkTel {
    background-color: #eef4fb;
    border-radius: 1rem;
    margin-top: 3.4rem;
    padding: 2.2rem 2rem 2.6rem;
    text-align: center;
}

.brkTel__name {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

.brkTel__num {
    font-size: 3.9rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
    margin-top: 1.4rem;
}

.brkTel__num a {
    align-items: center;
    color: var(--text-black);
    display: inline-flex;
    font-weight: 700;
    gap: 1rem;
}

.brkTel__num a img {
    flex: none;
    height: 3.4rem;
    width: 3.4rem;
}

/* ※ 注記 */
.brkNotes {
    margin-top: 2.4rem;
}

.brkNotes li {
    display: flex;
    font-size: 1.5rem;
    gap: 0.6rem;
    line-height: 2.2rem;
}

.brkNotes li + li {
    margin-top: 1rem;
}

.brkNotes span {
    flex: none;
}

/* 外部リンクボタン Figma Frame 31458 */
.brkStep__linkWrap {
    margin-top: 2rem;
}

.brkLink {
    align-items: center;
    background-color: var(--primary);
    border-radius: 2.5rem;
    color: #fff;
    display: inline-flex;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 1rem;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 1.5rem 2.5rem;
    transition: opacity var(--transition);
}

.brkLink:hover {
    opacity: 0.8;
}

.brkLink__icon {
    flex: none;
    height: 2.1rem;
    width: 3rem;
}

.brkLink__ext {
    flex: none;
    height: 1.8rem;
    margin-left: 1rem;
    width: 1.8rem;
}

/* 操作画面のスクリーンショット Figma Rectangle 390〜394 */
.brkShot {
    background-color: #fff;
    border: 1px solid var(--primary);
    border-radius: 1rem;
    margin-top: 2rem;
    padding: 2rem;
    text-align: center;
}

.brkShot img {
    height: auto;
    max-width: 100%;
    width: auto;
}

/* 04・05 は本文とスクリーンショットを左右に並べる */
.brkSteps--wide {
    margin-top: 5.3rem;
}

/* 左に見出し＋本文、右に画面キャプチャの2カラム。
   Figma: 本文424px / 画像枠570px / 間 49px（コンテンツ1120 − 番号の列77）。
   行は「見出し＝max-content」にしないと、2行にまたがる画像が見出し行の高さも
   引き上げて本文が下に離れてしまう。 */
.brkSteps--wide .brkStep {
    column-gap: 4.9rem;
    display: grid;
    grid-template-columns: 1fr 57rem;
    grid-template-rows: max-content 1fr;
    padding-bottom: 2.5rem;
}

.brkSteps--wide .brkStep__head {
    grid-column: 1;
    grid-row: 1;
}

.brkSteps--wide .brkStep__body {
    align-self: start;
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
}

.brkSteps--wide .brkShots {
    align-self: start;
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
}

/* 03 取得可能な証明書 */
.brkCert {
    margin-top: 10rem;
}

.brkCert__body {
    display: grid;
    gap: 2.1rem;
    grid-template-columns: 55rem 1fr;
    margin-top: 3.3rem;
}

.brkCert__list {
    background-color: #edf1f7;
    border-radius: 1rem;
    padding: 2.5rem 3.8rem;
    position: relative;
}

.brkCert__list li {
    align-items: center;
    color: var(--primary);
    display: flex;
    font-size: 2rem;
    font-weight: 700;
    gap: 1rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.brkCert__list li + li {
    margin-top: 1.9rem;
}

.brkCert__list li img {
    flex: none;
    height: 3rem;
    width: 3.6rem;
}

.brkCert__illust {
    bottom: 0;
    height: 19.9rem;
    position: absolute;
    right: 1.5rem;
    width: 25.1rem;
}

.brkCaution__ttl {
    background-color: #d47480;
    border-radius: 0.6rem;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 1.5rem;
    text-align: center;
}

.brkCaution__list {
    margin-top: 2rem;
}

.brkCaution__list li {
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding-left: 2.7rem;
    position: relative;
}

.brkCaution__list li + li {
    margin-top: 1.6rem;
}

.brkCaution__list li::before {
    background-color: #d47480;
    border-radius: 50%;
    content: "";
    height: 1.7rem;
    left: 0;
    position: absolute;
    top: 0.4rem;
    width: 1.7rem;
}

/* 05 */
.brkSeller {
    margin-top: 9rem;
    padding-bottom: 10rem;
}

@media screen and (max-width: 767px) {
    .brkPage {
        padding-top: 8vw;
    }

    .brkAbout__body {
        display: block;
        padding-top: 6vw;
    }

    .brkAbout__photo {
        margin-bottom: 5vw;
    }

    .brkAbout__lead {
        font-size: 5.2vw;
    }

    .brkAbout__desc {
        font-size: 3.6vw;
        line-height: 1.7;
    }

    .brkBand {
        margin-top: 12vw;
        padding: 8vw 0 12vw;
    }

    .brkWays {
        gap: 8vw;
        grid-template-columns: 1fr;
        margin-top: 8vw;
    }

    .brkWay__tab {
        gap: 3vw;
        padding: 5vw 4vw 8vw;
    }

    /* 下余白を広げた分、三角の位置も下げる。 */
    .brkWay__tab::after {
        bottom: 1rem;
    }

    .brkWay__no {
        font-size: 4.4vw;
    }

    .brkWay__label {
        font-size: 3.6vw;
    }

    .brkWay__card {
        margin-top: 5vw;
        padding: 5vw 4vw;
    }

    .brkStep {
        padding-bottom: 6vw;
        padding-left: 0;
    }

    .brkStep::before {
        display: none;
    }

    .brkStep__head {
        align-items: center;
        display: flex;
        gap: 3vw;
        margin-left: 0;
    }

    .brkStep__no {
        flex: 0 0 11vw;
        font-size: 4.4vw;
        height: 11vw;
        width: 11vw;
    }

    .brkStep__ttl {
        font-size: 4.4vw;
    }

    .brkStep__body {
        padding-top: 2vw;
    }

    /* ステップ間の余白を詰める。PC（承認済みの1440px）は変えない。 */
    .brkSteps {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .brkStep__text,
    .brkNotes li {
        font-size: 3.6vw;
        line-height: 1.7;
        margin: 0 0 4vw;
    }

    .brkTel__name {
        font-size: 3.6vw;
    }

    .brkTel__num {
        font-size: 7vw;
        margin-bottom: 0;
    }

    .brkTel {
        margin-top: 0.4rem;
        padding: 1.2rem 1rem 1.6rem;
    }

    .brkStep__linkWrap {
        margin-top: 0;
    }

    .brkTel__num a img {
        height: 5vw;
        width: 5vw;
    }

    .brkLink {
        font-size: 3.6vw;
        padding: 3vw 4vw;
    }

    .brkSteps--wide .brkStep {
        display: block;
    }

    .brkSteps--wide .brkStep__body {
        padding-top: 4vw;
    }

    .brkSteps--wide .brkShots {
        margin-top: 4vw;
    }

    .brkShot {
        padding: 3vw;
    }

    /* SPは2枚横並びだと潰れるので縦積みに戻す。 */
    .brkShots {
        flex-direction: column;
        gap: 4vw;
        padding: 4vw;
    }

    .brkShots .brkShot {
        flex: 0 1 auto;
        width: 100%;
    }

    .brkCert {
        margin-top: 12vw;
    }

    .brkCert__body {
        gap: 8vw;
        grid-template-columns: 1fr;
        margin-top: 8vw;
    }

    .brkCert__list {
        padding: 5vw 4vw 10vw;
    }

    .brkSteps--wide {
        margin-top: 2.3rem;
    }

    .brkCert__list li {
        font-size: 4vw;
    }

    .brkCert__list li img {
        height: 5vw;
        width: 6vw;
    }

    .brkCert__illust {
        height: auto;
        right: 4vw;
        width: 45vw;
    }

    .brkCaution__ttl {
        font-size: 4.4vw;
        padding: 3vw;
    }

    .brkCaution__list li {
        font-size: 3.6vw;
        line-height: 1.7;
        padding-left: 6vw;
    }

    .brkCaution__list li::before {
        height: 3vw;
        top: 1.5vw;
        width: 3vw;
    }

    .brkSeller {
        margin-top: 12vw;
        padding-bottom: 12vw;
    }
}

/* ------------------------------------------------------------------
 * 入会のメリット
 * Figma: 入会のメリット 4015:1256
 * ------------------------------------------------------------------ */
.meritPage {
    padding-top: 6rem;
}

.meritLead {
    padding-bottom: 0;
    text-align: center;
}

.meritLead__title {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.256rem;
    line-height: 1.4375;
}

.meritLead__text {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 2rem;
}

/* 01・03・05 の帯（法人概要と同じ薄い水色。中に白パネルは置かない） */
.meritBand {
    background-color: var(--band-bg);
    border-radius: 1rem;
    padding: 8rem 0 10rem;
}

/* 01 こんな事業者様におすすめ。3列×2段。 */
.meritReco {
    display: grid;
    gap: 3rem 1.2rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 7rem;
}

.meritReco__item {
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start;
    padding: 2rem;
    position: relative;
}

/* 番号はカード左上の枠に半分掛ける。Figma も同じ置き方（top:-1px の64px）。 */
.meritReco__no {
    color: var(--primary);
    font-size: 6.4rem;
    font-weight: 700;
    left: 1rem;
    line-height: 1;
    position: absolute;
    top: -2rem;
}

.meritReco__img {
    height: 20rem;
    object-fit: contain;
    width: 20rem;
}

.meritReco__label {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.25;
    margin-top: auto;
    text-align: center;
}

/* 02 会員特典。2列グリッド。カードは水色地で、見出しがカード上辺に掛かる。 */
.meritBenefit {
    padding: 10rem 0;
}

.meritCards {
    align-items: start;
    display: grid;
    gap: 6rem 2rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 7rem;
}

.meritCard {
    background-color: var(--band-bg);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 2rem 3rem;
    position: relative;
}

.meritCard__title {
    align-items: center;
    display: flex;
    gap: 2rem;
    margin-top: -1.5rem;
    padding-bottom: 1.5rem;
}

.meritCard__no {
    color: var(--primary);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.16rem;
    line-height: 1;
}

.meritCard__name {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.096rem;
    line-height: 1.25;
}

/* アイコンはカード右下に敷く透かし。本文は幅いっぱいに流して前面に置く。 */
.meritCard__body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.meritCard__text {
    font-size: 1.6rem;
    line-height: 1.75;
}

.meritCard__note {
    font-size: 1.4rem;
    line-height: 1.75;
}

.meritCard__photo {
    height: auto;
    width: 24.4rem;
}

.meritCard__icon {
    bottom: 3rem;
    z-index: 0;
    height: auto;
    object-fit: contain;
    opacity: 0.4;
    position: absolute;
    right: 2rem;
    width: 12.8rem;
}

/* カード内ボタン。ホバーは箱型と同じ横スウィープ。 */
.meritCard__btn {
    align-items: center;
    background-color: var(--primary);
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    color: #fff;
    display: flex;
    font-size: 1.6rem;
    font-weight: 500;
    gap: 2rem;
    justify-content: center;
    line-height: 1.75;
    padding: 1rem 4rem;
    transition: background-position 0.4s ease, color 0.3s ease;
    width: fit-content;
}

.meritCard__btn::after {
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    height: 0.7rem;
    transform: rotate(45deg);
    transition: border-color 0.3s ease;
    width: 0.7rem;
}

.meritCard__btn:hover {
    background-position: 0 0;
    color: var(--primary);
    opacity: 1;
}

/* 申込手順・注意事項・申請用紙（現行サイトの追記分）。 */
.meritCard__subhead {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.75;
    margin-bottom: 0.4rem;
}

.meritCard__docs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.meritCard__doc {
    align-items: center;
    display: inline-flex;
    font-size: 1.5rem;
    gap: 0.8rem;
    line-height: 1.5;
    text-decoration: underline;
}

.meritCard__doc img {
    flex-shrink: 0;
    height: 2.4rem;
    width: 2.4rem;
}

/* 03 入会後にできること。2列×2段の写真カード。 */
.meritCanDo {
    display: grid;
    gap: 5.4rem 3rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 7rem;
}

.meritCanDo__item {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
}

.meritCanDo__photo {
    aspect-ratio: 545 / 332;
    object-fit: cover;
    width: 100%;
}

.meritCanDo__body {
    padding: 3.1rem 2rem 0;
}

.meritCanDo__title {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.25;
}

.meritCanDo__text {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 2rem;
}

/* 04 入会の流れ */
.meritFlow {
    padding: 10rem 0;
}

.meritSteps {
    margin-top: 3rem;
}

.meritStep {
    align-items: center;
    background-color: var(--band-bg);
    border-radius: 2rem;
    display: flex;
    gap: 3rem;
    padding: 3rem;
}

/* ステップ間の下向き三角。SVGを使わず border で描く。 */
.meritStep + .meritStep {
    margin-top: 6.3rem;
    position: relative;
}

.meritStep + .meritStep::before {
    border-left: 2.15rem solid transparent;
    border-right: 2.15rem solid transparent;
    border-top: 3.3rem solid var(--primary);
    content: "";
    left: 50%;
    position: absolute;
    top: -5rem;
    transform: translateX(-50%);
}

.meritStep__no {
    align-items: center;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    width: 7.9rem;
}

.meritStep__no em {
    font-size: 5.6rem;
    font-style: normal;
    line-height: 1.1;
}

.meritStep__photo {
    aspect-ratio: 200 / 140;
    flex-shrink: 0;
    object-fit: cover;
    width: 20rem;
}

.meritStep__body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.meritStep__title {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6;
}

.meritStep__text {
    color: var(--article-text);
    font-size: 1.6rem;
    line-height: 2;
}

.meritStep__btn {
    align-items: center;
    background-color: var(--primary);
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 2px solid var(--primary);
    border-radius: 4rem;
    color: #fff;
    display: flex;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 1rem;
    justify-content: center;
    line-height: 2;
    padding: 1rem 2rem;
    transition: background-position 0.4s ease, color 0.3s ease;
    width: fit-content;
}

.meritStep__btn:hover {
    background-position: 0 0;
    color: var(--primary);
    opacity: 1;
}

/* 電話ボタンの受話器は共通アイコンをマスクにして色を反転できるようにする。 */
.meritStep__btn--tel::before {
    background-color: currentColor;
    content: "";
    height: 1.8rem;
    mask-image: url(../img/common/icon-tel.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    width: 1.8rem;
    -webkit-mask-image: url(../img/common/icon-tel.svg);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

/* 05 よくある質問 */
.faq {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 7rem;
    max-width: 90rem;
}

.faq__q {
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--primary);
    border-radius: 1.4rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    font-family: inherit;
    gap: 3.2rem;
    min-height: 7rem;
    padding: 1.6rem 5.6rem 1.6rem 2.2rem;
    position: relative;
    text-align: left;
    transition: background-color var(--transition), color var(--transition);
    width: 100%;
}

.faq__q:hover {
    background-color: var(--band-bg);
}

.faq__mark {
    flex-shrink: 0;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
}

.faq__q .faq__text {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
}

/* 開閉マークは border の chevron。開いたら上向きに回す。 */
.faq__q::after {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    height: 1rem;
    position: absolute;
    right: 2.4rem;
    top: calc(50% - 0.8rem);
    transform: rotate(45deg);
    transition: transform var(--transition);
    width: 1rem;
}

.faq__q[aria-expanded="true"]::after {
    top: calc(50% - 0.2rem);
    transform: rotate(-135deg);
}

.faq__a[hidden] {
    display: none;
}

.faq__a {
    align-items: center;
    display: flex;
    gap: 3.1rem;
    padding-left: 2.7rem;
}

.faq__a .faq__text {
    font-size: 1.6rem;
    line-height: 2;
}

.faq__mark--a {
    color: var(--primary);
}

.faq__todo {
    color: var(--accent);
    font-style: normal;
}

/* 入会申込。上 373px が写真＋紺45%、その下は紺ベタ。白カードが境目に掛かる。 */
.meritCta {
    background-color: var(--primary);
    padding: 8rem 0 10rem;
    position: relative;
}

.meritCta__bg {
    height: 37.3rem;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}

.meritCta__bg img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.meritCta__bg::after {
    background-color: rgba(8, 79, 149, 0.45);
    content: "";
    inset: 0;
    position: absolute;
}

.meritCta__inner {
    position: relative;
    z-index: 1;
}

.meritCta__title {
    color: #fff;
    font-size: 4.8rem;
    font-weight: 700;
    letter-spacing: 0.192rem;
    line-height: 1;
    text-align: center;
}

.meritCta__lead {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.064rem;
    line-height: 2.375;
    margin-top: 2.4rem;
    text-align: center;
}

.meritCta__cards {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 4.2rem;
}

.meritCta__card {
    align-items: center;
    background-color: #fff;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 33.8rem;
    padding: 4rem 2rem;
}

.meritCta__cardTitle {
    color: var(--primary);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.096rem;
    line-height: 1;
}

.meritCta__tel {
    align-items: center;
    display: flex;
    gap: 1rem;
    margin-top: 2.4rem;
}

.meritCta__tel img {
    height: 3.4rem;
    width: 3.4rem;
}

.meritCta__tel a {
    display: inline-block;
    font-size: 3.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.meritCta__time {
    align-items: center;
    display: flex;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 1rem;
    margin-top: 1.6rem;
}

.meritCta__time span {
    background-color: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    padding: 0.4rem 1rem;
}

.meritCta__staff {
    border: 1px solid var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.064rem;
    line-height: 2.375;
    margin-top: 3.6rem;
    padding: 0.8rem 1rem;
    text-align: center;
    width: 32.4rem;
}

.meritCta__note {
    font-size: 1.6rem;
    line-height: 1.75;
    margin-top: 2.4rem;
}

.meritCta__dl {
    align-items: center;
    background-color: var(--primary);
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    color: #fff;
    display: flex;
    font-size: 2.4rem;
    font-weight: 700;
    gap: 4rem;
    justify-content: center;
    letter-spacing: 0.096rem;
    margin-top: 2rem;
    max-width: 50rem;
    min-height: 8rem;
    padding: 1rem 2rem;
    transition: background-position 0.4s ease, color 0.3s ease;
    width: 100%;
}

.meritCta__dl img {
    height: 5.1rem;
    width: 4.2rem;
}

.meritCta__dl:hover {
    background-position: 0 0;
    color: var(--primary);
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .meritPage {
        padding-top: 8vw;
    }

    .meritLead {
        padding-bottom: 0;
    }

    .meritLead__title {
        font-size: 5.4vw;
    }

    .meritLead__text {
        font-size: 3.8vw;
        line-height: 1.8;
        margin-top: 4vw;
    }

    .meritBand {
        padding: 12vw 0 14vw;
    }

    .meritReco {
        gap: 8vw 3vw;
        grid-template-columns: repeat(1, 1fr);
        margin-top: 10vw;
    }

    /* SPは1列にして、イラストとラベルを横並びにする。 */
    .meritReco__item {
        align-items: center;
        flex-direction: row;
        gap: 3vw;
        justify-content: center;
        padding: 4vw 3vw;
    }

    .meritReco__no {
        font-size: 10vw;
        top: -3.5vw;
    }

    .meritReco__img {
        height: 26vw;
        width: 26vw;
    }

    .meritReco__label {
        font-size: 3.6vw;
        margin-top: 0;
    }

    .meritBenefit {
        padding: 14vw 0;
    }

    .meritCards {
        gap: 10vw;
        grid-template-columns: 1fr;
        margin-top: 10vw;
    }

    .meritCard {
        padding: 0 4vw 5vw;
    }

    .meritCard__title {
        gap: 3vw;
        margin-top: -3vw;
        padding-bottom: 3vw;
    }

    .meritCard__no {
        font-size: 7vw;
    }

    .meritCard__name {
        font-size: 4.4vw;
    }

    .meritCard__body {
        gap: 4vw;
    }

    .meritCard__text {
        font-size: 3.8vw;
    }

    .meritCard__note {
        font-size: 3.4vw;
    }

    .meritCard__photo {
        width: 45vw;
    }

    /* SPも背景の透かしとしてカード右下に置く（本文の下に回さない）。 */
    .meritCard__icon {
        bottom: 4vw;
        position: absolute;
        right: 4vw;
        width: 20vw;
    }

    .meritCard__btn {
        font-size: 3.6vw;
        padding: 2.5vw 5vw;
    }

    .meritCard__subhead {
        font-size: 3.8vw;
    }

    .meritCard__doc {
        font-size: 3.6vw;
    }

    .meritCard__doc img {
        height: 5vw;
        width: 5vw;
    }

    .meritCanDo {
        gap: 8vw;
        grid-template-columns: 1fr;
        margin-top: 10vw;
    }

    .meritCanDo__body {
        padding: 5vw 4vw 0;
    }

    .meritCanDo__title {
        font-size: 4.4vw;
    }

    .meritCanDo__text {
        font-size: 3.8vw;
        margin-top: 3vw;
    }

    .meritFlow {
        padding: 14vw 0;
    }

    .meritSteps {
        margin-top: 6vw;
    }

    /* SPは step番号＋写真を1段目、本文を2段目に折り返す。 */
    .meritStep {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 4vw;
        padding: 5vw 4vw;
    }

    .meritStep + .meritStep {
        margin-top: 14vw;
    }

    .meritStep + .meritStep::before {
        border-left-width: 4vw;
        border-right-width: 4vw;
        border-top-width: 5vw;
        top: -9vw;
    }

    /* SPは写真が全幅になるので、step番号を写真の上に重ねる。 */
    .meritStep__no {
        background: #f2f8ff;
        font-size: 4.6vw;
        padding: 0.4rem 1.3rem;
        position: absolute;
        top: auto;
        width: auto;
    }

    .meritStep__no em {
        font-size: 8vw;
    }

    .meritStep__photo {
        width: 100%;
    }

    .meritStep__body {
        gap: 0;
        width: 100%;
    }

    .meritStep__title {
        font-size: 4.2vw;
    }

    .meritStep__text {
        font-size: 3.8vw;
        line-height: 1.8;
    }

    .meritStep__btn {
        font-size: 3.6vw;
        padding: 2.5vw 5vw;
    }

    .faq {
        gap: 4vw;
        margin-top: 10vw;
    }

    .faq__q {
        gap: 4vw;
        min-height: 0;
        padding: 4vw 10vw 4vw 4vw;
    }

    .faq__mark {
        font-size: 6.4vw;
    }

    .faq__q .faq__text {
        font-size: 3.6vw;
    }

    .faq__a {
        align-items: baseline;
        display: flex;
        gap: 4vw;
        padding-left: 4vw;
    }

    .faq__a .faq__text {
        font-size: 3.6vw;
    }

    .meritCta {
        padding: 12vw 0 14vw;
    }

    .meritCta__bg {
        height: 55vw;
    }

    .meritCta__title {
        font-size: 8vw;
    }

    .meritCta__lead {
        font-size: 3.4vw;
        line-height: 1.7;
        margin-top: 4vw;
    }

    .meritCta__cards {
        gap: 6vw;
        grid-template-columns: 1fr;
        margin-top: 8vw;
    }

    .meritCta__card {
        min-height: 0;
        padding: 8vw 5vw;
    }

    .meritCta__cardTitle {
        font-size: 4.8vw;
    }

    .meritCta__tel a {
        font-size: 8vw;
    }

    .meritCta__staff {
        font-size: 3.6vw;
        margin-top: 6vw;
        width: 100%;
    }

    .meritCta__note {
        font-size: 3.6vw;
    }

    .meritCta__dl {
        font-size: 4.2vw;
        gap: 5vw;
        min-height: 16vw;
    }

    .meritCta__dl img {
        height: 9vw;
        width: 7.4vw;
    }
}

/* ------------------------------------------------------------------
 * 情報公開・コンプライアンス
 * Figma: 情報公開・コンプライアンス 4015:2063
 * ------------------------------------------------------------------ */
.infoPage {
    padding-bottom: 12rem;
    padding-top: 6rem;
}

.infoSection + .infoSection {
    margin-top: 8rem;
}

/* ダウンロード行 Figma download_li(4016:2533)。800px幅を中央に置く。 */
.docList {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 6rem auto 0;
    max-width: 80rem;
}

.docList__item a {
    align-items: center;
    background-color: #fff;
    background-image: linear-gradient(to right, var(--band-bg) 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 1px solid var(--primary);
    border-radius: 0.6rem;
    display: flex;
    gap: 2rem;
    min-height: 7.2rem;
    padding: 2rem 3rem;
    position: relative;
    transition: background-position 0.4s ease;
}

.docList__item a:hover {
    background-position: 0 0;
    opacity: 1;
}

.docList__icon {
    flex-shrink: 0;
    height: 2rem;
    object-fit: contain;
    width: 2rem;
}

.docList__label {
    flex: 1 1 0;
    font-size: 2rem;
    line-height: 1.6;
}

/* 拡張子は読み上げ用も兼ねたラベル。矢印はその右に疑似要素で置く。 */
.docList__ext {
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06rem;
    padding-right: 3rem;
}

.docList__ext::after {
    background-color: var(--primary);
    content: "";
    height: 1.6rem;
    mask-image: url(../img/common/icon-chevron.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    -webkit-mask-image: url(../img/common/icon-chevron.svg);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

@media screen and (max-width: 767px) {
    .infoPage {
        padding-bottom: 15vw;
        padding-top: 8vw;
    }

    .infoSection + .infoSection {
        margin-top: 12vw;
    }

    .docList {
        gap: 3vw;
        margin-top: 8vw;
    }

    .docList__item a {
        gap: 3vw;
        min-height: 0;
        padding: 4vw 4vw 4vw 3vw;
    }

    .docList__icon {
        height: 4.5vw;
        width: 4.5vw;
    }

    .docList__label {
        font-size: 3.8vw;
        line-height: 1.5;
    }

    .docList__ext {
        font-size: 2.8vw;
        padding-right: 5vw;
    }

    .docList__ext::after {
        height: 3.2vw;
        right: 4vw;
        width: 2vw;
    }
}

/* ------------------------------------------------------------------
 * 優良会員認定業者（一覧・詳細）
 * Figma: 優良会員認定業者 4016:4922 ／ 詳細 4048:4033
 * ------------------------------------------------------------------ */
.excPage {
    padding-bottom: 12rem;
    padding-top: 6rem;
}

/* 01 制度の説明。法人概要の2カラムと同じ組み。 */
.excAbout__body {
    align-items: center;
    display: flex;
    gap: 4rem;
    padding-top: 3.8rem;
}

.excAbout__photo {
    flex: 0 0 52rem;
}

.excAbout__lead {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.256rem;
    line-height: 1.4375;
}

.excAbout__desc {
    font-size: 1.6rem;
    line-height: 1.75;
    margin-top: 2rem;
}

.excBenefit {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 6rem;
}

.excBenefit__item img {
    aspect-ratio: 490 / 327;
    object-fit: cover;
    width: 100%;
}

.excBenefit__caption {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 1.6rem;
    text-align: center;
}

.excCond {
    margin-top: 8rem;
}

.excCond__head {
    background-color: var(--primary);
    color: #fff;
    font-size: 2.4rem;
    line-height: 1.5;
    padding: 2rem 3rem;
    text-align: center;
}

.excCond__lead {
    font-size: 1.6rem;
    margin-top: 2rem;
    text-align: center;
}

.excCond__box {
    background-color: var(--band-bg);
    margin-top: 2rem;
    padding: 4rem 11.5rem;
}

.excCond__list li {
    font-size: 1.6rem;
    line-height: 1.5;
    list-style: disc;
    margin-left: 2rem;
}

.excCond__list li + li {
    margin-top: 0.8rem;
}

.excCond__note {
    font-size: 1.6rem;
    margin-top: 3rem;
    text-align: center;
}

.excCond__pdf {
    align-items: center;
    background-color: var(--primary);
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    color: #fff;
    display: flex;
    font-size: 2.4rem;
    font-weight: 700;
    gap: 4rem;
    justify-content: center;
    letter-spacing: 0.096rem;
    margin: 5rem auto 0;
    min-height: 8rem;
    padding: 1rem 2rem;
    transition: background-position 0.4s ease, color 0.3s ease;
    width: 52rem;
}

.excCond__pdf img {
    height: 5.1rem;
    width: 4.2rem;
}

.excCond__pdf:hover {
    background-position: 0 0;
    color: var(--primary);
    opacity: 1;
}

/* 02 一覧。検索ボックス Figma 4048:6171 */
.excList {
    padding-top: 10rem;
}

.excSearch {
    background-color: var(--band-bg);
    margin-top: 5rem;
    padding: 2.8rem 0 4rem;
    text-align: center;
}

.excSearch__title {
    font-size: 1.8rem;
    font-weight: 700;
}

.excSearch__note {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 2rem;
}

.excSearch__field {
    align-items: center;
    background-color: #fff;
    border: 1px solid #cbcbcb;
    border-radius: 7.4rem;
    display: flex;
    gap: 2rem;
    margin: 2.4rem auto 0;
    max-width: 78rem;
    /* 右は角丸の半径より内側に入れる。4rem だと虫眼鏡が丸みに乗って外へはみ出す。 */
    padding: 1rem 4.6rem 1rem 4rem;
}

.excSearch__field input {
    background: none;
    border: 0;
    flex: 1 1 0;
    font-family: inherit;
    font-size: 1.6rem;
    height: 5.6rem;
    /* min-width の既定 auto だと input が固有幅より縮まず、
       iOS Safari の searchfield は固有幅が広いため虫眼鏡が枠外へ押し出される。 */
    min-width: 0;
    -webkit-appearance: none;
            appearance: none;
}

.excSearch__field img {
    flex-shrink: 0;
}

.excSearch__field input::placeholder {
    color: #d6d6d6;
    font-weight: 700;
}

.excSearch__field img {
    height: 3rem;
    width: 3rem;
}

/* エリア別の索引。4列＝エリア、その下に市町村。 */
.excIndex {
    display: grid;
    gap: 3.5rem;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 5rem;
}

/* エリア・市町村は絞り込みボタン（ページ内リンクではない）。 */
.excIndex__area {
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--primary);
    border-radius: 9rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    gap: 0.8rem;
    justify-content: center;
    padding: 2.4rem 1rem;
    text-align: center;
    transition: background-color var(--transition), color var(--transition);
    width: 100%;
}

/* 件数。どのエリア・市町村に何件あるか押す前に分かるようにする。 */
.excIndex__count {
    background-color: var(--band-bg);
    border-radius: 0;
    color: var(--primary);
    font-size: 1.3rem;
    min-width: 3.4rem;
    padding: 0.2rem 0.8rem;
    transition: background-color var(--transition), color var(--transition);
}

.excIndex__area:hover .excIndex__count,
.excIndex__area[aria-pressed="true"] .excIndex__count,
.excIndex__city:hover .excIndex__count,
.excIndex__city[aria-pressed="true"] .excIndex__count {
    background-color: #fff;
    color: var(--primary);
}

.excIndex__area[aria-pressed="true"] .excIndex__count {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.excIndex__area:hover,
.excIndex__area[aria-pressed="true"] {
    background-color: var(--primary);
    color: #fff;
}

.excIndex__cities {
    margin-top: 2rem;
}

.excIndex__city {
    align-items: center;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--primary);
    color: var(--text-black);
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    justify-content: space-between;
    padding: 1rem 3rem;
    position: relative;
    transition: background-color var(--transition), color var(--transition);
    width: 100%;
}

.excIndex__city:hover,
.excIndex__city[aria-pressed="true"] {
    background-color: var(--band-bg);
    color: var(--primary);
}

/* 市町村名と件数の間を空ける（::after のシェブロンは右端に置いたまま）。 */
.excIndex__city > span:first-child {
    margin-right: auto;
}

/* 件数バッジとシェブロンが接近して読みづらいので離す。 */
.excIndex__city .excIndex__count {
    margin-right: 1.2rem;
}

.excIndex__city::after {
    background-color: var(--primary);
    content: "";
    height: 1.2rem;
    mask-image: url(../img/common/icon-chevron.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    width: 0.8rem;
    -webkit-mask-image: url(../img/common/icon-chevron.svg);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.excTools {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 4rem;
}

.excTools__state {
    font-size: 1.5rem;
    font-weight: 700;
}

.excTools__reset {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-color);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.4rem;
    padding: 0.8rem 1.6rem;
    transition: background-color var(--transition), color var(--transition);
}

.excTools__reset:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.excGroup {
    margin-top: 8rem;
    scroll-margin-top: 14rem;
}

.excGroup__city {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.excCards {
    display: grid;
    gap: 2.6rem 2rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 3rem;
}

/* カード Figma Rectangle 374(4094:4947 相当)。ロゴ212＋会社名＋認定者。 */
.excCard a {
    background-color: #fff;
    border: 1px solid var(--primary);
    border-radius: 0.7rem;
    display: flex;
    gap: 2rem;
    min-height: 25.2rem;
    overflow: hidden;
    padding: 2rem;
    position: relative;
    transition: background-color var(--transition);
}

.excCard a:hover {
    background-color: var(--band-bg);
    opacity: 1;
}

.excCard__city {
    align-items: center;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    font-size: 1.3rem;
    font-weight: 700;
    height: 4.1rem;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 13.3rem;
}

/* 写真は 1:1 に切り出し済み（顔の中心が上から42%）。contain だと元の縦横比が
   バラバラで大きさが揃わないため cover で枠いっぱいに出す。 */
.excCard__logo {
    background-color: #fff;
    flex-shrink: 0;
    height: 21.2rem;
    object-fit: cover;
    width: 21.2rem;
}

.excCard__body {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding-top: 4.1rem;
}

.excCard__name {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
}

.excCard__person {
    font-size: 1.4rem;
}

/* 市町村で絞り込み中は見出しを畳む（クラスは js/main.js が付ける）。
   状態表示・選択中ボタン・見出しで同じ市町村名が3回出るため。 */
.excGroups.is-solo-city .excGroup__city {
    display: none;
}

.excGroups.is-solo-city .excGroup {
    margin-top: 0;
}

.excGroups__empty {
    font-size: 1.6rem;
    padding: 6rem 0;
    text-align: center;
}

/* 詳細 Figma 4048:4033 */
.excDetail {
    padding-bottom: 12rem;
    padding-top: 6rem;
}

.excDetail__breadcrumb {
    border-bottom: 1px solid var(--border);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 2.2rem 4rem;
}

.excDetail__head {
    display: flex;
    gap: 3rem;
    padding-top: 6rem;
}

.excDetail__logo {
    flex: 0 0 27.7rem;
}

/* 一覧のカードと縦横比をそろえる（1:1）。 */
.excDetail__logo img {
    aspect-ratio: 1 / 1;
    background-color: #fff;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.excDetail__person {
    display: flex;
    font-size: 1.5rem;
    gap: 2rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.excDetail__person span {
    font-size: 1.2rem;
}

.excDetail__name {
    border: 1px solid var(--border);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 2rem;
}

.excDetail__note {
    align-items: center;
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.excDetail__note img {
    flex-shrink: 0;
    height: 15rem;
    object-fit: contain;
    width: 15rem;
}

.excDetail__note p {
    font-size: 1.6rem;
    line-height: 1.625;
}

.excDetail__table {
    margin-top: 7rem;
}

.excDetail__table a {
    display: inline;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .excPage {
        padding-bottom: 15vw;
        padding-top: 8vw;
    }

    .excAbout__body {
        flex-direction: column;
        gap: 6vw;
        padding-top: 6vw;
    }

    .excAbout__photo {
        flex: none;
        width: 100%;
    }

    .excAbout__lead {
        font-size: 5.4vw;
    }

    .excAbout__desc {
        font-size: 3.8vw;
        margin-top: 4vw;
    }

    .excBenefit {
        gap: 6vw;
        grid-template-columns: 1fr;
        margin-top: 10vw;
    }

    .excBenefit__caption {
        font-size: 3.8vw;
        margin-top: 3vw;
    }

    .excCond {
        margin-top: 12vw;
    }

    .excCond__head {
        font-size: 4.2vw;
        padding: 4vw;
    }

    .excCond__lead,
    .excCond__note {
        font-size: 3.6vw;
        margin-top: 4vw;
        text-align: left;
    }

    .excCond__box {
        margin-top: 4vw;
        padding: 6vw 5vw;
    }

    .excCond__list li {
        font-size: 3.6vw;
        line-height: 1.7;
        margin-left: 4vw;
    }

    .excCond__pdf {
        font-size: 4.2vw;
        gap: 5vw;
        margin-top: 8vw;
        min-height: 16vw;
        width: 100%;
    }

    .excCond__pdf img {
        height: 9vw;
        width: 7.4vw;
    }

    .excList {
        padding-top: 14vw;
    }

    .excSearch {
        margin-top: 8vw;
        padding: 6vw 4vw 8vw;
    }

    .excSearch__title {
        font-size: 4.2vw;
    }

    .excSearch__note {
        font-size: 3.6vw;
        margin-top: 3vw;
    }

    .excSearch__field {
        gap: 3vw;
        margin-top: 5vw;
        padding: 1vw 8.5vw 1vw 5vw;
    }

    .excSearch__field input {
        font-size: 3.6vw;
        height: 12vw;
    }

    .excSearch__field img {
        height: 6vw;
        width: 6vw;
    }

    .excIndex {
        gap: 6vw 4vw;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 8vw;
    }

    /* --- SPは市町村リストをアコーディオンにする ---
       4エリア分の市町村を開いたままだと最初の画面が市町村名で埋まるため、
       エリアを選ぶまで閉じておく。開閉状態は絞り込みと連動させているので
       専用の開閉ボタンは置いていない（js/main.js が .is-open を付ける）。
       PCは常に開いたまま（この指定は 767px 以下だけ）。 */
    .excIndex {
        gap: 2vw;
        grid-template-columns: 1fr;
    }

    .excIndex__cities {
        display: none;
        margin-top: 2vw;
    }

    .excIndex__col.is-open .excIndex__cities {
        display: block;
    }

    .excIndex__area {
        border-radius: 1rem;
        font-size: 4vw;
        justify-content: flex-start;
        padding: 3.5vw 4vw;
        text-align: left;
    }

    /* 開閉が分かるように右端に三角を出す。 */
    .excIndex__area::after {
        border-left: 1.2vw solid transparent;
        border-right: 1.2vw solid transparent;
        border-top: 1.6vw solid currentColor;
        content: "";
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .excIndex__col.is-open .excIndex__area::after {
        transform: rotate(180deg);
    }

    .excIndex__count {
        font-size: 3.2vw;
        min-width: 8vw;
        padding: 0.4vw 2vw;
    }

    .excIndex__city {
        font-size: 3.4vw;
        padding: 2.5vw 3vw;
    }

    .excTools {
        flex-wrap: wrap;
        gap: 3vw;
        margin-top: 8vw;
    }

    .excTools__state { font-size: 3.4vw; width: 100%; }
    .excTools__reset { font-size: 3.2vw; padding: 2vw 4vw; }

    .excGroup {
        margin-top: 12vw;
        scroll-margin-top: 20vw;
    }

    .excGroup__city {
        font-size: 5vw;
    }

    .excCards {
        gap: 5vw;
        grid-template-columns: 1fr;
        margin-top: 5vw;
    }

    /* PCと同じ横並び（ロゴ左・会社名右）を維持する。縦積みにすると1枚が縦に伸びすぎる。 */
    .excCard a {
        gap: 3vw;
        min-height: 0;
        padding: 3vw;
    }

    .excCard__city {
        font-size: 3vw;
        height: 8vw;
        width: 28vw;
    }

    .excCard__logo {
        height: 26vw;
        width: 26vw;
    }

    .excCard__body {
        flex: 1 1 0;
        gap: 2vw;
        min-width: 0;
        padding-top: 8vw;
    }

    .excCard__name {
        font-size: 4vw;
    }

    .excCard__person {
        font-size: 3.4vw;
    }

    .excDetail {
        padding-bottom: 15vw;
        padding-top: 8vw;
    }

    .excDetail__breadcrumb {
        font-size: 3.4vw;
        padding: 3vw 2vw;
    }

    .excDetail__head {
        flex-direction: column;
        gap: 6vw;
        padding-top: 8vw;
    }

    .excDetail__logo {
        flex: none;
    }

    /* SPは全幅だと写真が大きすぎるので半分にして中央に置く。 */
    .excDetail__logo img {
        margin: 0 auto;
        width: 50%;
    }

    .excDetail__person {
        align-items: center;
    }

    .excDetail__name {
        font-size: 4.6vw;
        padding: 4vw;
    }

    .excDetail__note {
        flex-direction: column;
        gap: 4vw;
        margin-top: 5vw;
    }

    .excDetail__note img {
        height: 30vw;
        width: 30vw;
    }

    .excDetail__note p {
        font-size: 3.6vw;
    }

    .excDetail__table {
        margin-top: 10vw;
    }
}

/* ------------------------------------------------------------------
 * 会員名簿
 * Figma: 会員名簿一覧2 4047:2159
 * エリアごとの色は地図（member-map.png）の塗り分けと対応させている。
 * ------------------------------------------------------------------ */
.memPage {
    padding-bottom: 12rem;
    padding-top: 6rem;
}

.memPage {
    --area: #008ab4;
    --area-tint: #e6f4f9;
}

.memArea__block--south { --area: #008ab4; --area-tint: #e6f4f9; }
.memArea__block--central { --area: #e2a425; --area-tint: #fef6e6; }
.memArea__block--north { --area: #e4abc8; --area-tint: #fbeef4; }
.memArea__block--island { --area: #5d986d; --area-tint: #eef4f0; }

.memSearch {
    border: 1px solid var(--primary);
    margin-top: 3rem;
    padding: 2.8rem 0 4rem;
    text-align: center;
}

.memSearch__title {
    font-size: 1.8rem;
    font-weight: 700;
}

.memSearch__note {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 2rem;
}

.memSearch__field {
    align-items: center;
    background-color: #fff;
    border: 1px solid #cbcbcb;
    border-radius: 7.4rem;
    display: flex;
    gap: 2rem;
    margin: 2.4rem auto 0;
    max-width: 78rem;
    /* 右は角丸の半径より内側に入れる。4rem だと虫眼鏡が丸みに乗って外へはみ出す。 */
    padding: 1rem 4.6rem 1rem 4rem;
}

.memSearch__field input {
    background: none;
    border: 0;
    flex: 1 1 0;
    font-family: inherit;
    font-size: 1.6rem;
    height: 5.6rem;
    /* min-width の既定 auto だと input が固有幅より縮まず、
       iOS Safari の searchfield は固有幅が広いため虫眼鏡が枠外へ押し出される。 */
    min-width: 0;
    -webkit-appearance: none;
            appearance: none;
}

.memSearch__field img {
    flex-shrink: 0;
}

/* iOS Safari が type="search" に足す装飾。幅を持つので消す。 */
.excSearch__field input::-webkit-search-decoration,
.excSearch__field input::-webkit-search-cancel-button,
.memSearch__field input::-webkit-search-decoration,
.memSearch__field input::-webkit-search-cancel-button {
    -webkit-appearance: none;
            appearance: none;
}

.memSearch__field input::placeholder {
    color: #d6d6d6;
    font-weight: 700;
}

.memSearch__field img {
    height: 3rem;
    width: 3rem;
}

.memArea__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 6rem;
    text-align: center;
}

.memArea {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 2rem;
}

/* 絞り込みボタンは地図の塗り分けと同じ色を各自に持たせる。
   --btn を差し替えるだけで枠線・文字色・選択時の塗りが揃う。 */
.memArea__btn {
    --btn: var(--primary);
    align-items: center;
    background: none;
    border: 1px solid var(--btn);
    color: var(--btn);
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 700;
    height: 6.4rem;
    justify-content: center;
    transition: background-color var(--transition), color var(--transition);
    width: 100%;
}

.memArea__btn--south { --btn: #008ab4; }
.memArea__btn--central { --btn: #e2a425; }
.memArea__btn--north { --btn: #e4abc8; }
.memArea__btn--island { --btn: #5d986d; }

.memArea__btn:hover,
.memArea__btn[aria-pressed="true"] {
    background-color: var(--btn);
    color: #fff;
}

/* 地図の上に置くエリアボタン。位置は Figma の座標を % にしてインラインで渡す。 */
.memMap {
    margin-top: 3rem;
    position: relative;
}

/* エリアごとのハイライト。ベース画像の上に該当エリアだけ色が乗った
   透過PNGを重ね、.is-on の付いた層だけ見せる。
   ボタン（.memMap__pin）より前に置いてあるのでピンが上に来る。 */
.memMap__base {
    display: block;
    height: auto;
    width: 100%;
}

.memMap__layer {
    height: auto;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transition: opacity 0.3s ease;
    width: 100%;
}

.memMap__layer.is-on {
    opacity: 1;
}

/* 地図上のボタンは .memArea__btn と同じ挙動にする。
   通常＝白地・枠線・エリア色の文字／選択とホバー＝エリア色で塗って白文字。
   --btn を差し替えるだけで枠線・文字色・塗りが揃う。 */
.memMap__pin {
    --btn: var(--primary);
    background-color: #fff;
    border: 1px solid var(--btn);
    border-radius: 0.6rem;
    color: var(--btn);
    cursor: pointer;
    font-family: inherit;
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem 2rem;
    position: absolute;
    transition: background-color var(--transition), color var(--transition);
    white-space: nowrap;
}

.memMap__pin--south { --btn: #008ab4; }
.memMap__pin--central { --btn: #e2a425; }
.memMap__pin--north { --btn: #e4abc8; }
.memMap__pin--island { --btn: #5d986d; }

.memMap__pin:hover,
.memMap__pin[aria-pressed="true"] {
    background-color: var(--btn);
    color: #fff;
}

/* 絞り込みの状態表示とPDF出力ボタン */
.memTools {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    margin-top: 8rem;
}

.memTools__state {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: auto;
}

.memTools__reset {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-color);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.4rem;
    padding: 0.8rem 1.6rem;
    transition: background-color var(--transition), color var(--transition);
}

.memTools__reset:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.memTools__pdf {
    align-items: center;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 0.6rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 2rem;
    font-weight: 500;
    gap: 1rem;
    padding: 1rem 2rem;
    transition: background-color var(--transition), color var(--transition);
}

.memTools__pdf img {
    height: 2.2rem;
    object-fit: contain;
    width: 2.6rem;
}

.memTools__pdf:hover {
    background-color: #fff;
    color: var(--primary);
}

.memArea__block {
    margin-top: 8rem;
    scroll-margin-top: 14rem;
}

/* 絞り込み中は重複する見出しを畳む（クラスは js/main.js が付ける）。
   ・エリアを選ぶと 状態表示・選択中ボタン・セクション見出し で3回同じ言葉が出る
   ・五十音を選ぶと 選択中ボタンと「ア行」の小見出しが重なる
   「すべて」のときは区切りとして必要なので出したままにする。 */
.memGroups.is-solo-area .memArea__heading {
    display: none;
}

.memGroups.is-solo-area .memArea__block {
    margin-top: 2rem;
}

.memGroups.is-solo-row .memCity__name {
    display: none;
}

/* 住所は「〒900-0013」のあとで必ず改行させる。
   SPの td は display:flex なので、テキストと <br> が別々の匿名フレックス
   アイテムになり <br> が効かない。span で1つの塊にして中で改行させる。 */
.memTable__addr {
    display: block;
}

.memArea__heading {
    border-bottom: 2px solid var(--area);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: 1.6rem;
}

.memCity {
    margin-top: 4rem;
}

.memCity__name {
    background-color: var(--area-tint);
    font-size: 1.8rem;
    font-weight: 500;
    padding: 2rem;
}

.memTable__wrap {
    margin-top: 2rem;
    overflow-x: auto;
}

.memTable {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.memTable th {
    background-color: var(--area);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 1.6rem 1rem;
    text-align: center;
}

.memTable td {
    border-bottom: 1px solid var(--border);
    font-size: 1.4rem;
    line-height: 1.6;
    padding: 1.6rem 1rem;
    vertical-align: middle;
}

.memTable tbody tr:nth-child(even) {
    background-color: var(--area-tint);
}

.memTable__license { text-align: center; width: 15.8rem; }
.memTable__name { text-align: center; width: 33.9rem; }
.memTable__tel { text-align: center; width: 23.8rem; }
.memTable__address { width: 37.9rem; }

.memTable__name span,
.memTable__tel span {
    display: block;
}

.memTable__tel a {
    display: inline;
}

.memGroups__empty {
    font-size: 1.6rem;
    padding: 6rem 0;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .memPage {
        padding-bottom: 15vw;
        padding-top: 8vw;
    }

    .memSearch {
        margin-top: 6vw;
        padding: 6vw 4vw 8vw;
    }

    .memSearch__title { font-size: 4.2vw; }
    .memSearch__note { font-size: 3.6vw; margin-top: 3vw; }

    .memSearch__field {
        gap: 3vw;
        margin-top: 5vw;
        padding: 1vw 8.5vw 1vw 5vw;
    }

    .memSearch__field input { font-size: 3.6vw; height: 12vw; }
    .memSearch__field img { height: 6vw; width: 6vw; }

    .memArea__title { font-size: 4.2vw; margin-top: 10vw; }

    /* トピックスのカテゴリタブと同じ組み方。
       「すべて」だけ全幅、残り4つを2カラム。 */
    .memArea {
        gap: 2vw;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 4vw;
    }

    .memArea__item:first-child {
        grid-column: 1 / -1;
    }

    .memArea__btn { font-size: 3.6vw; height: 13vw; }

    .memMap { margin-top: 6vw; }

    /* SPは地図が小さくなるのでボタンも縮める。 */
    .memMap__pin {
        font-size: 3vw;
        padding: 1.2vw 2vw;
    }

    /* 位置はPC値をインラインで出しているため、SPは !important で差し替える。 */
    .memMap__pin--central {
        left: 0 !important;
        top: 34.68% !important;
    }

    .memMap__pin--island {
        left: 35.82% !important;
        top: 62.55% !important;
    }

    .memMap__pin--south {
        left: 12.23% !important;
        top: 90.21% !important;
    }

    .memTools {
        flex-wrap: wrap;
        gap: 3vw;
        margin-top: 6vw;
    }

    .memTools__state { font-size: 3.4vw; width: 100%; }

    /* 解除とPDFは1行に並べる（縦に3段積むと間延びする）。 */
    .memTools__reset,
    .memTools__pdf {
        flex: 1 1 0;
    }

    .memTools__reset {
        font-size: 3.2vw;
        padding: 2vw 3vw;
    }

    .memTools__pdf {
        font-size: 3.6vw;
        justify-content: center;
        padding: 2vw 3vw;
    }

    /* dl.png は 53×44（比率1.2045）。縦横比を変えないため
       height 1.2rem に対する幅は 1.45rem にしている。 */
    .memTools__pdf img {
        height: 1.2rem;
        width: 1.45rem;
    }

    .memArea__block { margin-top: 12vw; scroll-margin-top: 20vw; }
    .memArea__heading { font-size: 6vw; padding-bottom: 3vw; }

    .memCity { margin-top: 8vw; }
    .memCity__name { font-size: 4.2vw; padding: 3.5vw; }

    /* SPは横スクロールをやめ、1件を1枚のカードに縦積みする。
       4列のままだと 150vw 必要で、指をずらさないと住所が読めなかった。
       見出し行は消し、項目名は td の data-label から出す。 */
    .memTable__wrap {
        margin-top: 4vw;
        overflow-x: visible;
    }

    .memTable {
        min-width: 0;
        table-layout: auto;
    }

    .memTable thead {
        display: none;
    }

    .memTable,
    .memTable tbody,
    .memTable tr,
    .memTable td {
        display: block;
        width: auto;
    }

    /* order で商号をカードの先頭に出すため flex にする（block だと order が効かない）。 */
    .memTable tr {
        border: 1px solid var(--border);
        border-radius: 1.5vw;
        display: flex;
        flex-direction: column;
        margin-top: 3vw;
        padding: 4vw;
    }

    .memTable td {
        border-bottom: 0;
        display: flex;
        font-size: 3.4vw;
        gap: 2vw;
        line-height: 1.6;
        padding: 0;
        text-align: left;
    }

    .memTable td + td {
        margin-top: 2vw;
    }

    .memTable td[data-label]::before {
        color: var(--text-black);
        content: attr(data-label);
        flex: 0 0 20vw;
        font-size: 3.2vw;
        font-weight: 700;
    }

    /* 商号・代表者名はカードの見出し。項目名は出さず、先頭に置く。
       display は `.memTable td` の flex に勝つよう要素付きで指定する。 */
    .memTable td.memTable__name {
        border-bottom: 1px solid var(--border);
        display: block;
        margin-bottom: 3vw;
        margin-top: 0;
        order: -1;
        padding-bottom: 3vw;
    }

    .memTable__name span:first-child {
        font-size: 4vw;
        font-weight: 700;
    }

    .memTable__name span + span {
        font-size: 3.4vw;
        margin-top: 1vw;
    }

    .memTable td:first-child {
        margin-top: 0;
    }

    .memTable__tel span {
        display: inline;
    }

    .memTable__tel span + span::before {
        content: " / ";
    }
}

/* 1ステップに複数の画面キャプチャが入る（先方支給の手順書に合わせた）。 */
/* 1ステップに複数の画面キャプチャが入る（先方支給の手順書に合わせた）。
   枠は .brkShots 側が持ち、中の figure は枠なしで横に並べる。 */
.brkShots {
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--primary);
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 2rem;
}

.brkShots .brkShot {
    background: none;
    border: 0;
    border-radius: 0;
    flex: 1 1 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}

/* 1枚だけのときは横並びの必要がないので幅を伸ばさない。 */
.brkShots .brkShot:only-child {
    flex: 0 1 auto;
}

/* ------------------------------------------------------------------
 * ページトップ（全ページ共通）
 * ------------------------------------------------------------------ */
.pageTop {
    bottom: 4rem;
    position: fixed;
    right: 4rem;
    z-index: 40;
}

.pageTop a {
    align-items: center;
    background-color: var(--primary);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    height: 7.2rem;
    justify-content: center;
    transition: background-color var(--transition), color var(--transition);
    width: 7.2rem;
}

/* 矢印は単色SVGなので mask で塗る。ホバー時に文字色ごと紺へ反転する。 */
.pageTop__icon {
    background-color: currentColor;
    height: 1.3rem;
    mask-image: url(../img/common/page-top.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    width: 1.3rem;
    -webkit-mask-image: url(../img/common/page-top.svg);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.pageTop__label {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.pageTop a:hover {
    background-color: #fff;
    color: var(--primary);
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .pageTop {
        bottom: 4vw;
        right: 4vw;
    }

    .pageTop a {
        height: 14vw;
        width: 14vw;
    }

    .pageTop__icon {
        height: 2.6vw;
        width: 2.6vw;
    }

    .pageTop__label {
        font-size: 2.4vw;
    }
}

/* ------------------------------------------------------------------
 * 縦に流れるフローチャートのスクロール演出
 * 参考: sunabe-tent.co.jp/company/「砂辺松福テントのあゆみ」（弊社制作）
 *   .js-fadeUp → .is-inview で下からフェードアップ
 *   縦線は高さ0から伸ばす
 * ここでは線を scaleY で伸ばし、番号の丸を少し遅れて出す。
 * ------------------------------------------------------------------ */
.brkStep {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 0.9s ease, transform 0.7s ease;
}

.brkStep.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* 線は上端を起点に伸ばす。丸が出たあとに動き出すよう少し遅らせる。 */
.brkStep::before {
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.7s ease 0.25s;
}

.brkStep.is-inview::before {
    transform: scaleY(1);
}

.brkStep__no {
    transform: scale(0.6);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.brkStep.is-inview .brkStep__no {
    transform: scale(1);
}

/* ステップ間の三角も同じタイミングで出す（入会の流れ） */
.meritStep {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 0.9s ease, transform 0.7s ease;
}

.meritStep.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* 動きを減らす設定の人には出さない。 */
/* 会員名簿／優良会員認定業者の2枚。セクション（.homeTwoCol）が出るのに合わせて
   写真のズームアウトとバッジを動かす。 */
/* 写真は少し大きめから寄る。カード外へはみ出さないよう .homeTwoCol__photo で切る。 */
.homeTwoCol__photo {
    overflow: hidden;
}

.homeTwoCol__photo img {
    transform: scale(1.08);
    transition: transform 1.2s ease;
}

.homeTwoCol.is-inview .homeTwoCol__photo img {
    transform: scale(1);
}

.homeTwoCol__item a:hover .homeTwoCol__photo img {
    transform: scale(1.05);
}

.homeTwoCol__badge {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.5s ease 0.5s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

.homeTwoCol.is-inview .homeTwoCol__badge {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------------
 * スクロールでのフェードイン（.is-inview は js/main.js が付ける）
 *
 * 単位は「セクション」。要素ごとに出すと細かく動きすぎるため、
 * セクションの外枠だけをフェードさせ、中身はまとめて出す。
 * 縦フローチャート（.brkStep / .meritStep）だけは従来どおり1ステップずつ動く。
 *
 * ★隠すのは JS でクラスを足すのではなく CSS 側で行う。
 *   JS で opacity:0 を後付けすると、初回描画で一度見えてから消え、
 *   スクロールで出てくる——という不自然な動きになる（ページ途中での再読込で顕著）。
 *   <head> のインラインスクリプトが html に .js-anim を付けるので、
 *   最初の描画から隠れた状態で始まる。JS 無効時は .js-anim が付かず常に表示。
 *
 * ★会員名簿の一覧（.memArea__block / .memGroups）と優良会員の一覧
 *   （.excList / .excCards / .excGroup）は対象にしない。件数が多く重いうえ、
 *   絞り込みで display:none になった要素は交差判定が起きず opacity:0 のまま残る。
 * ------------------------------------------------------------------ */
.js-anim .homeMember,
.js-anim .homeNews,
.js-anim .homeAbout,
.js-anim .homeMerit,
.js-anim .homeTwoCol,
.js-anim .homeInfo,
.js-anim .orgAbout,
.js-anim .orgBand,
.js-anim .orgCommittee,
.js-anim .meritBand,
.js-anim .meritBenefit,
.js-anim .meritFlow,
.js-anim .meritCta,
.js-anim .infoSection,
.js-anim .excAbout,
.js-anim .brkAbout,
.js-anim .brkBand,
.js-anim .brkCert,
.js-anim .brkSeller,
.js-anim .topicsPage,
.js-anim .entry {
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity 0.8s ease, transform 0.7s ease;
}

/* 上の並びと詳細度が同じなので、必ずこの順（後ろ）に置く。 */
.js-anim .is-inview {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .brkStep,
    .meritStep,
    .brkStep::before,
    .brkStep__no,
    .homeTwoCol__photo img,
    .homeTwoCol__badge {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* フェードイン対象も動きを止める。上の一覧と同じ並びを使う。 */
@media (prefers-reduced-motion: reduce) {
    .js-anim .homeMember,
    .js-anim .homeNews,
    .js-anim .homeAbout,
    .js-anim .homeMerit,
    .js-anim .homeTwoCol,
    .js-anim .homeInfo,
    .js-anim .orgAbout,
    .js-anim .orgBand,
    .js-anim .orgCommittee,
    .js-anim .meritBand,
    .js-anim .meritBenefit,
    .js-anim .meritFlow,
    .js-anim .meritCta,
    .js-anim .infoSection,
    .js-anim .excAbout,
    .js-anim .brkAbout,
    .js-anim .brkBand,
    .js-anim .brkCert,
    .js-anim .brkSeller,
    .js-anim .topicsPage,
    .js-anim .entry {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 五十音の絞り込み（会員名簿）。エリア見出しの下に置く。 */
.memRow {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.4rem;
}

.memRow__btn {
    background: none;
    border: 1px solid var(--area);
    color: var(--area);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 7rem;
    padding: 0.8rem 1.4rem;
    transition: background-color var(--transition), color var(--transition);
}

.memRow__btn:hover,
.memRow__btn[aria-pressed="true"] {
    background-color: var(--area);
    color: #fff;
}

@media screen and (max-width: 767px) {
    .memRow {
        gap: 2vw;
        margin-top: 4vw;
    }

    .memRow__btn {
        font-size: 3.2vw;
        min-width: 14vw;
        padding: 1.6vw 2.4vw;
    }
}

/* ------------------------------------------------------------------
 * 検索結果
 * ------------------------------------------------------------------ */
.searchPage {
    padding-bottom: 12rem;
    padding-top: 6rem;
}

.searchPage__head {
    align-items: baseline;
    border-bottom: 2px solid var(--primary);
    display: flex;
    gap: 2rem;
    padding-bottom: 2rem;
}

.searchPage__title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.searchPage__count {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.searchPage__form {
    align-items: center;
    display: flex;
    gap: 1rem;
    margin-top: 4rem;
}

.searchPage__form input {
    background-color: #fff;
    border: 1px solid #cbcbcb;
    border-radius: 7.4rem;
    flex: 1 1 0;
    font-family: inherit;
    font-size: 1.6rem;
    height: 6rem;
    padding: 0 3rem;
}

.searchPage__form button {
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 7.4rem;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 700;
    height: 6rem;
    padding: 0 4rem;
    transition: background-color var(--transition), color var(--transition);
}

.searchPage__form button:hover {
    background-color: #fff;
    color: var(--primary);
}

.searchList {
    border-top: 1px solid var(--border);
    margin-top: 5rem;
}

.searchList__item {
    border-bottom: 1px solid var(--border);
}

.searchList__item a {
    display: block;
    padding: 3rem 0;
    transition: background-color var(--transition);
}

.searchList__item a:hover {
    background-color: var(--band-bg);
    opacity: 1;
}

.searchList__meta {
    align-items: center;
    display: flex;
    gap: 2rem;
}

/* 種別のラベル。どこの情報かひと目で分かるようにする。 */
.searchList__type {
    align-items: center;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    font-size: 1.3rem;
    font-weight: 700;
    height: 2.4rem;
    justify-content: center;
    min-width: 12.2rem;
    padding: 0 1rem;
}

/* 種別ごとの色。投稿はトピックスのタブと同じカテゴリ色にそろえ、
   固定ページ・会員名簿・優良会員はそれぞれ別色にして一覧で見分けられるようにする。 */
.searchList__type--page { background-color: #32a783; }
.searchList__type--member { background-color: var(--primary); }
.searchList__type--excellent { background-color: #a77232; }
.searchList__type--cat-news { background-color: var(--cat-news); }
.searchList__type--cat-property { background-color: var(--cat-property); }
.searchList__type--cat-trainingvideo { background-color: var(--cat-trainingvideo); }
.searchList__type--cat-case { background-color: var(--cat-case); }
.searchList__type--cat-officer { background-color: var(--cat-officer); }

.searchList__date {
    font-size: 1.4rem;
    font-weight: 700;
}

.searchList__title {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 1.2rem;
}

.searchList__excerpt {
    color: var(--text-color);
    display: block;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-top: 0.8rem;
}

.searchPage__empty {
    font-size: 1.6rem;
    line-height: 2;
    padding: 6rem 0 0;
}

.searchPage__links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.searchPage__links a {
    border: 1px solid var(--primary);
    color: var(--primary);
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.2rem 2.4rem;
    transition: background-color var(--transition), color var(--transition);
}

.searchPage__links a:hover {
    background-color: var(--primary);
    color: #fff;
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .searchPage {
        padding-bottom: 15vw;
        padding-top: 8vw;
    }

    .searchPage__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 2vw;
        padding-bottom: 3vw;
    }

    .searchPage__title { font-size: 5.4vw; }
    .searchPage__count { font-size: 3.8vw; }

    .searchPage__form {
        flex-wrap: wrap;
        gap: 3vw;
        margin-top: 6vw;
    }

    .searchPage__form input {
        font-size: 3.8vw;
        height: 13vw;
        padding: 0 5vw;
        width: 100%;
    }

    .searchPage__form button {
        font-size: 3.8vw;
        height: 13vw;
        width: 100%;
    }

    .searchList { margin-top: 8vw; }
    .searchList__item a { padding: 5vw 0; }
    .searchList__meta { gap: 3vw; }
    .searchList__type { font-size: 3vw; height: 6vw; min-width: 26vw; }
    .searchList__date { font-size: 3.4vw; }
    .searchList__title { font-size: 4.2vw; margin-top: 3vw; }
    .searchList__excerpt { font-size: 3.4vw; }

    .searchPage__empty { font-size: 3.8vw; padding-top: 8vw; }
    .searchPage__links { gap: 3vw; margin-top: 6vw; }
    .searchPage__links a { font-size: 3.6vw; padding: 3vw 5vw; }
}
