/* ============================================
   shinano-theme
   スキャフォールド用CSS（デザインモック承認後に本実装へ更新）
   デザイントークンは proposal.html 準拠
   ============================================ */
/* ロゴ（#0D4F40 実測）を基点にした深緑 × アンティークゴールドのトーン。
   参考デザイン「高級感Ver.」の実測色をベースに調整 */
:root {
    --green: #1f4638;
    /* ロゴ由来の緑。文字・アイコンのブランド色 */
    --green-deep: #16261f;
    /* 最も暗い緑（ヒーロー / CTA の下地） */
    --green-band: #263a2d;
    /* 深緑バンド・フッター（参考デザイン実測 #273729） */
    --green-mid: #2f6a58;
    --sand: #af9766;
    /* アンティークゴールド（参考デザインのボタン実測） */
    --sand-deep: #907c50;
    --sand-soft: #cbb488;
    /* 深緑上でのゴールド文字 */
    --sand-line: rgba(175, 151, 102, .35);
    /* ゴールドのヘアライン */
    --ink: #26251f;
    --body: #3f3d38;
    /* 本文グレー（明朝は線が細いので濃いめに） */
    --bg: #f1ede5;
    /* 生成りのクリーム（参考デザイン実測） */
    --line: #ddd6c8;
    --tint: #e6e2db;
    /* 一段濃いベージュ（サービス背景など） */
    --panel: #faf8f2;
    /* ベージュ地の上に置く明るいパネル */
    --muted: #625e56;
    --header-h: 76px;
    --cream: #f1ede5;
    --font-ja: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
    --font-en: 'Cormorant Garamond', 'Times New Roman', 'Georgia', serif;
    /* 和紙の地合い。単色ベタを避けて“紙に刷った”質感を出すための微細ノイズ。
       明るい地には黒、深緑の地には白のノイズを薄く重ねる */
    --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
    --paper-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.09' style='fill:%23fff'/%3E%3C/svg%3E");
}

/* ---- base ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-ja);
    color: var(--body);
    background-color: var(--bg);
    background-image: var(--paper);
    line-height: 2;
    font-size: 16px;
    letter-spacing: .04em;
    /* Noto Serif JP の 400 は画面上で線が細く読みづらいため、本文の基準を 500 にする */
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    /* Cormorant Garamond は既定がオールドスタイル数字で「01」が「oI」に見えるため、
       サイト全体でライニング数字に固定する */
    font-variant-numeric: lining-nums;
}

/* 明朝は字面が小さいので、見出しは字間をゆったり取って上品に見せる */
h1,
h2,
h3,
h4 {
    font-feature-settings: "palt";
    letter-spacing: .08em;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: var(--green-mid);
    text-decoration: none;
}

/* リンクの下線はホバー時も出さない（ワイヤー感防止・ユーザー指定）。
   例外は投稿詳細の本文内リンク（.post-detail__content a）のみ */
a:hover {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.sp {
    display: none;
}

/* ---- section 共通 ---- */
.section {
    padding: 112px 0;
    position: relative;
}

.section--tint {
    background-color: var(--tint);
    background-image: var(--paper);
}

.section-header {
    margin-bottom: 48px;
}

/* 見出しの型は参考デザイン「高級感Ver.」に合わせて2種類。
   (A) 既定 … 英字セリフを大きく黒で置き、日本語を小さく添える（Services / FAQ / News）
   (B) --eyebrow … 英字を小さくゴールドの前置きにし、日本語を主役に大きく置く（About / Why Us） */
.section-label {
    font-family: var(--font-en);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: .015em;
    text-transform: none;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 2px;
}

.section-title {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: .22em;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* (B) ゴールドの小さな英字 + 大きな日本語見出し */
.section-header--eyebrow .section-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--sand-deep);
    margin-bottom: 10px;
}

.section-header--eyebrow .section-title {
    font-size: clamp(25px, 2.4vw, 32px);
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--ink);
    margin-bottom: 22px;
}

/* 英字と日本語を同じベースラインに並べる型（FAQ / News の小見出し） */
.section-header--inline {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
}

.section-header--inline .section-label,
.section-header--inline .section-title {
    margin-bottom: 0;
}

.section-header--inline .section-label {
    font-size: 30px;
}

.section-lead {
    font-size: 15.5px;
    line-height: 2.1;
    color: var(--body);
    max-width: 640px;
}

.section-more {
    margin-top: 48px;
    text-align: center;
}

/* コンテンツがコンテナより狭いセクションは、見出しごと中央寄せに統一 */
.section-header--center {
    text-align: center;
}

.section-header--center .section-lead {
    margin-inline: auto;
}

/* 見出しを左・リード文を右に振り分ける2カラムヘッダー（参考デザインのServices） */
.section-header--split {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px clamp(40px, 6vw, 88px);
    align-items: end;
    justify-content: start;
}

.section-header--split .section-title {
    margin-bottom: 0;
}

.section-header--split .section-lead {
    max-width: 560px;
    justify-self: start;
    font-size: 15px;
}

/* ---- ボタン ---- */
/* 角丸なしの矩形＋細い矢印。参考デザインの意匠に合わせた */
.btn {
    position: relative;
    display: inline-block;
    padding: 15px 56px 15px 32px;
    border-radius: 0;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: .12em;
    line-height: 1.6;
    transition: background .25s, color .25s, border-color .25s;
}

/* 矢印（線＋くの字）。ホバーで少し伸びる */
.btn::after,
.btn::before {
    content: "";
    position: absolute;
    right: 24px;
    background: currentColor;
    transition: transform .25s;
}

.btn::after {
    top: 50%;
    width: 22px;
    height: 1px;
}

.btn::before {
    top: calc(50% - 3px);
    width: 6px;
    height: 6px;
    background: none;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.btn:hover::after,
.btn:hover::before {
    transform: translateX(4px);
}

.btn:hover::before {
    transform: translateX(4px) rotate(45deg);
}

/* ゴールドは単色ベタではなく斜めのグラデーションで置く（箔の照りを出すため） */
.btn--primary {
    background-image: linear-gradient(105deg, #c9b17e 0%, var(--sand) 45%, #9d8659 100%);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.btn--primary:hover {
    background-image: linear-gradient(105deg, #bda471 0%, #a48c5c 45%, #8d774d 100%);
}

.btn--outline {
    border: 1px solid var(--sand-line);
    color: var(--ink);
    background: transparent;
}

.btn--outline:hover {
    background: var(--sand);
    color: #fff;
    border-color: var(--sand);
}

/* 「戻る」用。矢印を左側に置いて左向きにする */
.btn--back {
    padding: 15px 32px 15px 56px;
}

.btn--back::after,
.btn--back::before {
    right: auto;
    left: 24px;
}

.btn--back::before {
    transform: rotate(-135deg);
}

.btn--back:hover::after,
.btn--back:hover::before {
    transform: translateX(-4px);
}

.btn--back:hover::before {
    transform: translateX(-4px) rotate(-135deg);
}

/* 深緑の上に置くゴールドの線ボタン（ヘッダーCTA など） */
.btn--gold-line {
    border: 1px solid var(--sand);
    color: var(--sand-soft);
    background: transparent;
}

.btn--gold-line:hover {
    background: var(--sand);
    color: #fff;
}

.btn--large {
    width: 100%;
    max-width: 320px;
    padding: 19px 56px 19px 32px;
    font-size: 15.5px;
}

/* ---- header ---- */
/* 参考デザイン準拠: トップでは写真の上に透過で重ね、スクロールで生成り地の帯に切り替える。
   下層ページは常に生成り地（既定値）。 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(241, 237, 229, .95);
    backdrop-filter: saturate(1.1) blur(6px);
    border-bottom: 1px solid rgba(175, 151, 102, .18);
    transition: background-color .35s, border-color .35s;
}

/* ヘッダーが浮いた分、本文を押し下げる（トップはヒーローが下に潜り込むので不要） */
.main {
    padding-top: var(--header-h);
    overflow-x: clip;
}

body.home .main {
    padding-top: 0;
}

/* トップの最上部だけ透過。文字とロゴは白抜きにする */
body.home .header:not(.is-scrolled) {
    background-color: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

body.home .header:not(.is-scrolled) .header__logo-img {
    filter: brightness(0) invert(1);
}

body.home .header:not(.is-scrolled) .nav-menu__link,
body.home .header:not(.is-scrolled) .lang-dropdown__toggle {
    color: #fff;
}

body.home .header:not(.is-scrolled) .lang-dropdown {
    border-left-color: rgba(255, 255, 255, .28);
}

body.home .header:not(.is-scrolled) .lang-dropdown__arrow {
    color: rgba(255, 255, 255, .7);
}

body.home .header:not(.is-scrolled) .header__btn span {
    background: #fff;
}

.header__inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 28px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo-link {
    display: inline-flex;
    align-items: center;
}

.header__logo-img {
    display: block;
    height: 42px;
    width: auto;
    transition: filter .35s;
}

.header__nav {
    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu__link {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--ink);
    transition: color .3s;
}

.nav-menu__link:hover {
    color: var(--sand-deep);
}

/* ヘッダー右端のCTA（コンテンツの .btn--primary と同じ斜めゴールドグラデ + 封筒アイコン） */
.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 22px;
    border: 1px solid transparent;
    background-image: linear-gradient(105deg, #c9b17e 0%, var(--sand) 45%, #9d8659 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .1em;
    color: #fff;
    white-space: nowrap;
    transition: background-image .3s, opacity .3s;
}

.header__cta svg {
    display: block;
    flex-shrink: 0;
}

.header__cta:hover {
    background-image: linear-gradient(105deg, #bda471 0%, #a48c5c 45%, #8d774d 100%);
    color: #fff;
}

/* トップ上部（透過ヘッダー時）も同じグラデを維持。白縁を少し強めて背景写真から浮かせる */
body.home .header:not(.is-scrolled) .header__cta {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

/* 言語切替ドロップダウン（Polylang・言語追加してもUIが崩れない） */
.lang-dropdown {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--line);
}

.lang-dropdown__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    font-family: inherit;
    padding: 6px 2px;
}

.lang-dropdown__arrow {
    font-size: 10px;
    color: var(--muted);
    transition: transform .2s;
}

.lang-dropdown.is-open .lang-dropdown__arrow {
    transform: rotate(180deg);
}

.lang-dropdown__list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(44, 74, 57, .12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 120;
}

.lang-dropdown.is-open .lang-dropdown__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown__item a {
    display: block;
    padding: 8px 12px;
    border-radius: 0;
    font-size: 13px;
    color: var(--ink);
}

.lang-dropdown__item a:hover {
    background: var(--tint);
    color: var(--green-mid);
}

.lang-dropdown__item.is-current a {
    color: var(--green-mid);
    font-weight: 700;
    background: var(--tint);
}

/* ハンバーガー（〜1024pxで表示） */
.header__btn {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 110;
}

.header__btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-deep);
    margin: 5px auto;
    transition: transform .3s, opacity .3s;
}

.header__btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__btn.is-open span:nth-child(2) {
    opacity: 0;
}

.header__btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- hero ---- */
/* 参考デザイン準拠: 写真は右側をそのまま見せ、左からのグラデーションだけで文字を載せる。
   全面に緑をかぶせると写真の色が死ぬため、覆うのは左半分だけに留める。 */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 88vh, 860px);
    padding: calc(var(--header-h) + 40px) 0 60px;
    background-color: var(--green-deep);
    color: #fff;
    /* 固定背景（パララックス）を自セクションの範囲だけに切り抜く。
       background-attachment: fixed は iOS で効かないため、擬似要素を fixed で敷き clip-path で閉じ込める */
    clip-path: inset(0);
    isolation: isolate;
}

/* 固定背景（ビューポートに張り付き、スクロールで手前のコンテンツだけが流れる） */
.hero::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    background-color: var(--green-deep);
    background-image: url(../images/stock/hero.jpg);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* 覆いは左半分だけ。背景を多層にすると写真の見え方が環境で揺れるため擬似要素で敷く */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(93deg,
            rgba(16, 29, 23, .96) 0%,
            rgba(16, 29, 23, .92) 32%,
            rgba(18, 32, 26, .66) 54%,
            rgba(18, 32, 26, .28) 78%,
            rgba(18, 32, 26, .12) 100%),
        linear-gradient(rgba(16, 29, 23, .28), rgba(16, 29, 23, .28));
}

.hero__inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.hero__label {
    font-family: var(--font-en);
    font-size: 15px;
    letter-spacing: .3em;
    color: var(--sand-soft);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero__title {
    font-size: clamp(32px, 3.9vw, 54px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .09em;
    color: #fff;
    margin-bottom: 32px;
    text-shadow: 0 2px 26px rgba(0, 0, 0, .35);
}

.hero__subtitle {
    font-size: 20px;
    line-height: 2.2;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 44px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
}

/* ---- top: 会社紹介 ---- */
/* 参考デザイン準拠: 左にテキスト、右に有機的な形でトリミングした写真を画面右端まで抜く。
   写真がはみ出すのでセクション側で clip する。 */
.top-about {
    overflow-x: clip; /* 縦は見せる（結び目装飾がまたぐ） */
}

.top-about .section-lead {
    font-size: 16px;
    line-height: 2.15;
    max-width: 640px;
}

.top-about__inner {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.top-about__description {
    margin-bottom: 30px;
    color: var(--body);
    font-size: 15px;
}

.top-about__image {
    position: relative;
    width: calc(100% + (100vw - min(1200px, 100vw) + 56px) / 2);
}

.top-about__img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 37% 63% 56% 44% / 58% 44% 56% 42%;
}

/* 実績・数字（会社概要ページから統合）
   参考デザイン準拠: 丸いゴールドのメダリオン + 数字。区切りはヘアラインのみ */
.top-about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: clamp(48px, 5vw, 76px) 0 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 24px);
    padding: 10px clamp(12px, 2.4vw, 36px);
}

.stat:first-child {
    padding-left: 0;
}

.stat+.stat {
    border-left: 1px solid var(--line);
}

.stat__icon {
    flex-shrink: 0;
    width: clamp(60px, 5.8vw, 80px);
    height: clamp(60px, 5.8vw, 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(175, 151, 102, .55);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fffdf8, #e9e2d1);
    color: var(--sand-deep);
}

.stat__icon svg {
    display: block;
    width: clamp(24px, 2.4vw, 32px);
    height: auto;
}

.stat__body {
    min-width: 0;
}

.stat__value {
    display: block;
    font-size: clamp(16px, 1.5vw, 21px);
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink);
    line-height: 1.3;
}

/* 数字だけ英字セリフ + ゴールドで大きく組み、単位・説明との主従をはっきりさせる */
.stat__num {
    font-family: var(--font-en);
    font-size: clamp(32px, 3.6vw, 50px);
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--sand-deep);
    margin-right: 3px;
}

.stat__value--ja {
    font-size: clamp(22px, 2.4vw, 32px);
    color: var(--sand-deep);
}

.stat__label {
    display: block;
    font-size: clamp(12px, 1.1vw, 15px);
    letter-spacing: .06em;
    line-height: 1.7;
    color: var(--body);
    margin-top: 6px;
}

/* 画像プレースホルダ（素材支給まで） */
.img-placeholder {
    background: var(--tint);
    border: 1px dashed var(--green-mid);
    border-radius: 0;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    color: var(--green-mid);
    line-height: 1.8;
}

/* ---- top: サービス ---- */
/* 一言コピー（「管理代行とは」の集約先・提案書のanswer-box） */
.answer-box {
    background: var(--green-deep);
    color: #fff;
    border-radius: 0;
    padding: 26px 32px;
    margin-bottom: 36px;
}

.answer-box__text {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.9;
    margin: 0;
}

/* 事業ステータスバッジ */
.badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: .16em;
    padding: 3px 10px;
    border-radius: 0;
    vertical-align: middle;
    margin-left: 10px;
    font-weight: 500;
    line-height: 1.6;
}

.badge--live {
    background: var(--green);
    color: #fff;
}

.badge--soon {
    border: 1px solid var(--sand);
    color: var(--sand-deep);
    background: transparent;
}

/* 市松（モザイク）レイアウト。
   テキストパネルと画像を1行ずつ左右入れ替えて隙間なく積む。
   参考デザイン「高級感Ver.」のServices準拠 */
/* 参考デザインと同じ比率にするため、モザイクだけコンテナ(1032px)より広く取る */
.top-service__items {
    display: flex;
    flex-direction: column;
    gap: 0;
    --mosaic-w: min(1240px, calc(100vw - 48px));
    width: var(--mosaic-w);
    margin-inline: calc((100% - var(--mosaic-w)) / 2);
}

.top-service__item {
    display: grid;
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    align-items: stretch;
    min-height: clamp(320px, 27vw, 400px);
    color: inherit;
}

.top-service__item:nth-child(even) {
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
}

.top-service__item:nth-child(even) .top-service__image {
    grid-column: 1;
    grid-row: 1;
}

.top-service__item:nth-child(even) .top-service__body {
    grid-column: 2;
    grid-row: 1;
}

/* 画像は absolute で敷き込む。写真ごとの縦横比が行の高さを左右しないようにして、
   どの行も同じ高さの市松に揃える */
.top-service__image {
    position: relative;
    overflow: hidden;
}

.top-service__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

/* テキスト面はベージュ地から一段明るく抜いて市松に見せる */
.top-service__body {
    background: var(--panel);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 3.6vw, 52px) clamp(28px, 3.4vw, 48px);
}

.top-service__num {
    font-family: var(--font-en);
    font-size: clamp(46px, 4.6vw, 62px);
    font-weight: 400;
    font-variant-numeric: lining-nums;
    line-height: 1;
    letter-spacing: .02em;
    color: var(--sand);
    margin-bottom: 14px;
}

.top-service__title {
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--ink);
    margin-bottom: 18px;
}

.top-service__description {
    font-size: 14px;
    line-height: 2.1;
    color: var(--body);
}

.top-service__item--link:hover .top-service__image img {
    transform: scale(1.05);
}

/* 「詳しく見る」＋細い矢印（線＋くの字） */
.top-service__more {
    position: relative;
    display: inline-block;
    align-self: flex-start;
    margin-top: 26px;
    padding-right: 48px;
    font-size: 13.5px;
    letter-spacing: .1em;
    color: var(--sand-deep);
}

.top-service__more::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 34px;
    height: 1px;
    background: currentColor;
    transition: transform .25s;
}

.top-service__more::before {
    content: "";
    position: absolute;
    right: 0;
    top: calc(50% - 3px);
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s;
}

/* hover: 線と矢印をくっつけたまま一緒に右へ */
.top-service__item--link:hover .top-service__more::after {
    transform: translateX(8px);
}

.top-service__item--link:hover .top-service__more::before {
    transform: translateX(8px) rotate(45deg);
}

.top-service__item--soon .top-service__image img {
    opacity: .9;
}

/* ---- top: 選ばれる理由（深緑バンド + ゴールドの線画アイコン） ---- */
.top-reason {
    background-color: var(--green-band);
    background-image: var(--paper-light);
    overflow-x: clip; /* 縦は見せる（結び目装飾がまたぐ） */
}

/* 大きな日本語のステートメントを中央に置くだけの見出し */
.top-reason__head {
    text-align: center;
    margin-bottom: clamp(48px, 5vw, 72px);
}

.top-reason__lead {
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: .1em;
    color: var(--cream);
    margin: 0 auto;
    max-width: 800px;
}

/* 白い箱をやめ、細い縦罫だけで4カラムに区切る */
.top-reason__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.top-reason__item {
    text-align: center;
    padding: 0 clamp(12px, 2vw, 28px);
}

.top-reason__item+.top-reason__item {
    border-left: 1px solid rgba(203, 180, 136, .28);
}

.top-reason__icon {
    width: 76px;
    margin: 0 auto 18px;
    color: var(--sand-soft);
}

.top-reason__icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.top-reason__title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--cream);
    margin-bottom: 12px;
}

.top-reason__description {
    font-size: 13.5px;
    line-height: 2;
    color: rgba(241, 237, 229, .85);
}

/* クチコミ（Googleレビュー・実文は後日反映）
   参考デザイン準拠: カードをやめ、深緑地にそのまま引用を置く */
.top-reason__voice {
    margin-top: clamp(56px, 6vw, 84px);
}

/* ラベルを中央に置き、左右にゴールドのヘアラインを伸ばす */
.top-reason__voice-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 36px);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--sand-soft);
    margin-bottom: 36px;
}

.top-reason__voice-label::before,
.top-reason__voice-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(203, 180, 136, .45);
}

.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.review {
    padding: 0 clamp(16px, 2.4vw, 34px);
}

.review+.review {
    border-left: 1px solid rgba(203, 180, 136, .28);
}

.review__text {
    font-size: 16px;
    line-height: 2.05;
    color: rgba(241, 237, 229, .92);
}

/* SPスライダー(slick)のドット。深緑地なのでゴールド系で */
.reviews .slick-dots {
    position: static;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.reviews .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.reviews .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    border: none;
    border-radius: 50%;
    background: rgba(203, 180, 136, .35);
    transition: background .25s;
}

.reviews .slick-dots li button::before {
    content: none;
}

.reviews .slick-dots li.slick-active button {
    background: var(--sand-soft);
}

.review__source {
    display: block;
    font-size: 12.5px;
    letter-spacing: .06em;
    color: rgba(203, 180, 136, .95);
    margin-top: 16px;
}


/* ---- top: FAQ + お知らせ（2カラム） ---- */
/* 参考デザイン準拠: 縦に積むと間延びするため、左にFAQ・右にお知らせを並べる */
.top-info {
    overflow-x: clip; /* 縦は見せる（結び目装飾がまたぐ） */
}

.top-info__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 72px);
}

.top-info__col--faq {
    padding-right: clamp(20px, 3vw, 40px);
    border-right: 1px solid var(--line);
}

.top-faq__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-faq__item {
    background: var(--panel);
    border: 1px solid rgba(221, 214, 200, .8);
    overflow: hidden;
}

.top-faq__question {
    margin: 0;
}

/* アコーディオンの開閉ボタン（質問行全体がクリック領域） */
.top-faq__toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 17px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 14.5px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.8;
    font-feature-settings: "palt";
    letter-spacing: .06em;
    transition: background .2s;
}

.top-faq__toggle:hover {
    background: #fff;
}

.top-faq__q-text {
    flex: 1;
}

/* +/− アイコン（開くと縦棒が消えて − になる） */
.top-faq__icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.top-faq__icon::before,
.top-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 1px;
    background: var(--muted);
    transform: translate(-50%, -50%);
    transition: transform .25s, opacity .25s;
}

.top-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.top-faq__toggle[aria-expanded="true"] .top-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

/* 回答パネル（初期は閉じ、JSのslideToggleで開閉） */
.top-faq__answer-wrap {
    display: none;
}

.top-faq__answer {
    font-size: 13.5px;
    line-height: 2.1;
    color: var(--body);
    margin: 0 20px;
    padding: 14px 0 20px;
    border-top: 1px solid var(--line);
}

/* ---- お知らせ（トップ・共通） ---- */
.news__items {
    border-top: 1px solid var(--line);
}

.news__item {
    display: flex;
    gap: 24px;
    align-items: baseline;
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
}

.news__date {
    font-family: var(--font-en);
    font-size: 15px;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: .04em;
    color: var(--sand-deep);
    white-space: nowrap;
}

.news__title {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .05em;
}

.news__title a {
    color: var(--ink);
}

.news__title a:hover {
    color: var(--sand-deep);
}

.news__empty {
    padding: 18px 4px;
    font-size: 14px;
    color: var(--muted);
}

/* 2カラム内の「一覧を見る」は左寄せ（参考デザイン準拠） */
.top-info .section-more {
    margin-top: 28px;
    text-align: left;
}

/* ---- CTA ---- */
/* 参考デザイン準拠: 深緑の帯の上に写真を右側だけ見せ、文字は左に寄せる */
.cta {
    position: relative;
    background-color: var(--green-deep);
    color: #fff;
    padding: clamp(80px, 8vw, 118px) 0;
    /* hero と同じ固定背景方式（同じ写真を再掲する違和感を、固定で"続き"に見せて薄める） */
    clip-path: inset(0);
    isolation: isolate;
    margin-bottom: -1px;
}

.cta::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    background-color: var(--green-deep);
    background-image: url(../images/stock/hero.jpg);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(93deg,
            rgba(16, 29, 23, .97) 0%,
            rgba(16, 29, 23, .95) 34%,
            rgba(18, 32, 26, .72) 54%,
            rgba(18, 32, 26, .32) 76%,
            rgba(18, 32, 26, .14) 100%),
        linear-gradient(rgba(16, 29, 23, .3), rgba(16, 29, 23, .3));
}

.cta .container {
    position: relative;
}

.cta__inner {
    position: relative;
    text-align: left;
    max-width: 560px;
}

.cta__label {
    font-family: var(--font-en);
    font-size: 17px;
    letter-spacing: .16em;
    text-transform: none;
    color: var(--sand-soft);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 18px;
}

.cta__title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 500;
    letter-spacing: .09em;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 22px;
    text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}

.cta__description {
    font-size: 14.5px;
    line-height: 2.1;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 40px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
}

/* ---- セクション装飾（ロゴの結び目マーク） ----
   大きな結び目をセクションの境目にまたがせ、左右交互に画面端で見切らせる。
   セクション同士を「結ぶ＝HUB」イメージ。PNGは緑1色なので mask で薄いゴールドに塗り替える。
   はみ出し分は main の overflow-x: clip で横スクロールを出さない */
.section--hub-r,
.section--hub-l {
    isolation: isolate;
}

.section--hub-r::before,
.section--hub-l::before {
    --orn-w: max(320px, 34vw);
    content: "";
    position: absolute;
    top: 0;
    z-index: -1;
    width: var(--orn-w);
    aspect-ratio: 1 / 1;
    transform: translateY(-50%);
    background: var(--sand);
    -webkit-mask: url(../images/stock/logo-only.png) center / contain no-repeat;
    mask: url(../images/stock/logo-only.png) center / contain no-repeat;
    opacity: .14;
    pointer-events: none;
}

.section--hub-r::before {
    right: calc(var(--orn-w) * -0.3);
}

.section--hub-l::before {
    left: calc(var(--orn-w) * -0.3);
}

.top-reason.section--hub-r::before,
.top-reason.section--hub-l::before {
    background: var(--sand-soft);
    opacity: .16;
}

/* ---- footer ---- */
/* 参考デザイン準拠の深緑フッター。ロゴPNGは緑1色なのでCSSフィルタで白抜きにする */
.footer {
    background-color: var(--green-band);
    background-image: var(--paper-light);
    color: rgba(241, 237, 229, .88);
    padding: clamp(56px, 6vw, 80px) 0 0;
    position: relative;
    z-index: 1;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}


.footer__content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px clamp(28px, 4vw, 56px);
    align-items: start;
    justify-content: space-between;
    padding-bottom: 44px;
}

/* 左ブロック: ブランド(ロゴ+SNS) と ナビ2列 を横並びに（ナビはPCのみ・SPは非表示） */
.footer__left {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px clamp(40px, 5vw, 72px);
}

.footer__nav {
    display: flex;
    gap: 30px clamp(20px, 4vw, 30px);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-menu__link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .06em;
    color: rgba(241, 237, 229, .92);
    transition: color .25s;
}

.footer-menu__link:hover {
    color: var(--sand-soft);
}

.footer__about {
    flex: 0 1 460px;
}

.footer__logo-img {
    display: block;
    height: 46px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .95;
}

.footer__social {
    margin-top: 24px;
    display: flex;
    gap: 16px;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(241, 237, 229, .88);
    transition: color .25s;
}

.footer__social-link:hover {
    color: var(--sand-soft);
}

/* フッター内の見出し（会社概要 等）。ゴールドの短い罫を添えて見出しと分かるようにする */
.footer__heading {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--sand-soft);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(203, 180, 136, .4);
}

/* 会社概要（フッター内・コンパクト表示） */
.footer-company {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-company__row {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    font-size: 13px;
    line-height: 1.8;
}

.footer-company__label {
    color: rgba(241, 237, 229, .62);
    font-weight: 500;
}

.footer-company__value {
    color: rgba(241, 237, 229, .92);
}

.footer__bottom {
    border-top: 1px solid rgba(241, 237, 229, .14);
    padding: 22px 0;
    text-align: center;
}

.footer__copyright {
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: .1em;
    color: rgba(241, 237, 229, .7);
}

/* ---- ページトップ ---- */
.page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    /* MVを過ぎるまでは隠す（JSで .is-visible を付与） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .3s, visibility .3s, transform .3s;
}

.page-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* 参考デザイン準拠: ベタ塗りの丸ではなく、細いゴールドの線の丸に矢印 */
.page-top__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--sand);
    background: rgba(241, 237, 229, .9);
    color: var(--sand-deep);
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: .1em;
    transition: background .25s, color .25s;
}

.page-top__link:hover {
    background: var(--sand);
    color: #fff;
}

/* ---- SP 下部固定CTA（PCでは非表示） ---- */
.sp-cta {
    display: none;
}

/* ---- 下層ページ共通 ---- */
.page-header {
    background-color: var(--tint);
    background-image: var(--paper);
    padding: 60px 0;
    border-bottom: 1px solid rgba(175, 151, 102, .18);
}

.page-title {
    font-size: 32px;
    color: var(--ink);
}

/* 英字併記がある場合は「英字大・日本語小」へ反転 */
.page-title:has(.page-title__en) {
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
    font-size: 13px;
    letter-spacing: .22em;
    color: var(--muted);
    font-weight: 400;
}

.page-title__en {
    display: block;
    font-family: var(--font-en);
    font-size: 42px;
    letter-spacing: .01em;
    text-transform: none;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.1;
    margin-left: 0;
}

.breadcrumb-bar {
    padding: 16px 0;
}

.breadcrumb {
    font-size: 12px;
    color: var(--muted);
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
}

/* セパレーターは疑似要素で出す（2個目以降の item の前に付く） */
.breadcrumb__item+.breadcrumb__item::before {
    content: ">";
    margin: 0 8px;
    color: var(--muted);
}

.breadcrumb__item a {
    color: var(--muted);
}

.breadcrumb__item a:hover {
    color: var(--green-mid);
}

.page-content {
    padding: 60px 0 80px;
    max-width: 820px;
    margin: 0 auto;
}

/* 汎用ページ本文（プライバシーポリシー等・the_contentの出力） */
.page-content h2 {
    font-size: 18px;
    color: var(--green-deep);
    margin: 2em 0 .8em;
    padding-left: 12px;
    border-left: 4px solid var(--sand);
}

.page-content p {
    margin-bottom: 1.2em;
    font-size: 15px;
    color: #333;
}

.page-content ol,
.page-content ul {
    margin: 0 0 1.2em;
    padding-left: 24px;
    font-size: 15px;
    color: #333;
}

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

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

.page-content li {
    margin-bottom: .4em;
}

.page-content .policy-date {
    text-align: right;
    color: var(--muted);
    font-size: 13px;
}

/* ---- ページ内アンカーナビ ---- */
.page-anchor {
    background: var(--bg);
}

.page-anchor__list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.page-anchor__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    background: transparent;
    border: 1px solid var(--sand-line);
    border-radius: 0;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: .08em;
    color: var(--ink);
    white-space: nowrap;
    transition: background .25s, color .25s;
}

.page-anchor__link:hover {
    background: var(--sand);
    border-color: var(--sand);
    color: #fff;
}

.page-anchor__link:hover::after {
    border-color: #fff;
}

.page-anchor__link::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-style: solid;
    border-color: var(--sand-deep);
    border-width: 0 1px 1px 0;
    transform: translateY(-2px) rotate(45deg);
    transition: border-color .25s;
}

/* ---- services ---- */
/* リード文の下の余白をセクション間で統一（カードが続く場合は少し多めに） */
.svc-overview .section-header,
.svc-plan .section-header,
.svc-works .section-header {
    margin-bottom: 48px;
}

.svc-plan .plan-grid,
.svc-works .works {
    margin-top: 8px;
}

.svc-group {
    margin-bottom: 40px;
}

.svc-group__title {
    font-size: 19px;
    color: var(--green-deep);
    padding-left: 12px;
    border-left: 4px solid var(--sand);
    margin-bottom: 8px;
}

.svc-group__lead {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
}

/* 1つの大枠の中に箇条書き（Airbnbのアメニティ一覧風・2カラム）
   非クリック要素なのでボーダー・シャドウなしのフラットな白面(ユーザー指定) */
.svc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 48px;
    background: var(--panel);
    padding: 28px 32px;
}

.svc-list__item {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    padding-left: 18px;
    position: relative;
}

.svc-list__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sand);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.plan {
    background: var(--panel);
    padding: 24px 18px;
    text-align: center;
    position: relative;
}

.plan--featured {
    border: 1px solid var(--green-mid);
}

.plan__badge {
    display: inline-block;
    font-size: 11px;
    background: var(--green-mid);
    color: #fff;
    padding: 2px 12px;
    border-radius: 0;
    margin-bottom: 8px;
}

.plan__name {
    font-size: 15px;
    color: var(--green-deep);
    margin-bottom: 8px;
}

.plan__price {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 600;
    color: var(--green-mid);
    margin-bottom: 8px;
}

.plan__price-unit {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.plan__description {
    font-size: 12.5px;
    color: var(--muted);
    text-align: left;
}

/* プランに含まれる内容（チェックリスト） */
.plan__includes {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    text-align: left;
    font-size: 12.5px;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.plan__includes li {
    padding-left: 18px;
    position: relative;
    line-height: 1.6;
}

.plan__includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green-mid);
    font-weight: 700;
}

/* 定額料金ブロック（開業費用・オフシーズン管理） */
.svc-group--fees {
    margin-top: 56px;
    margin-bottom: 0;
}

.plan-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.svc-plan__note {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 24px;
}

/* 実績: 2列固定。件数が増えたら自動で下の行に積まれる */
.works {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.works__item {
    background: var(--panel);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    color: inherit;
}

.works__body {
    flex: 1;
}

.works__image {
    flex: 0 0 25%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    overflow: hidden;
}

.works__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

/* <a class="works__item"> のときだけホバー演出（<div> のカードには付かない） */
a.works__item {
    transition: box-shadow .3s;
}

a.works__item:hover {
    box-shadow: 0 8px 24px rgba(44, 74, 57, .12);
}

a.works__item:hover .works__image img {
    transform: scale(1.04);
}

.works__title {
    font-size: 16px;
    color: var(--green-deep);
}

/* URLは無い物件もあるため、ここには余白を持たせない（余白は description 側で揃える） */
.works__url {
    font-size: 12px;
    color: var(--green-mid);
    font-family: monospace;
    margin-top: 4px;
}

.works__description {
    font-size: 14px;
    color: #555;
    margin-top: 12px;
}

/* ---- contact ---- */
.contact {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 0 80px;
}

.contact__intro {
    margin-bottom: 40px;
    text-align: center;
    font-size: 15px;
    color: #444;
}

/* Contact Form 7 */
.wpcf7 label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--ink);
    margin-bottom: 26px;
}

.wpcf7-required {
    color: var(--sand-deep);
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    font-size: 15px;
    font-family: inherit;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: 2px solid var(--green-mid);
    border-color: transparent;
}

/* 送信ボタンは .btn--primary と同じゴールドのグラデーションに揃える */
.wpcf7 input[type="submit"] {
    display: block;
    margin: 36px auto 0;
    padding: 17px 64px;
    background-image: linear-gradient(105deg, #c9b17e 0%, var(--sand) 45%, #9d8659 100%);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: .12em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    cursor: pointer;
    transition: background-image .25s;
}

.wpcf7 input[type="submit"]:hover {
    background-image: linear-gradient(105deg, #bda471 0%, #a48c5c 45%, #8d774d 100%);
}

/* ---- お知らせ一覧 / single ----
   ※ ブロック名に archive / single / page 等の WP body class と
     同名の単語を使わない（body に同クラスが付き全体が崩れる） */
.news-archive {
    padding: 0;
    max-width: none;
}

.news-archive__item {
    border-bottom: 1px solid var(--line);
}

.news-archive__link {
    display: block;
    padding: 24px 4px;
    color: inherit;
}

.news-archive__content {
    flex: 1;
    min-width: 0;
}


.news-archive__link:hover .news-archive__title {
    color: var(--green-mid);
}

.news-archive__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 6px;
}

.news-archive__date {
    font-size: 13px;
    color: var(--muted);
}

.news-archive__category {
    font-size: 11px;
    background: var(--tint);
    color: var(--green-mid);
    padding: 2px 10px;
    border-radius: 0;
}

.news-archive__title {
    font-size: 17px;
    color: var(--green-deep);
}

.news-archive__excerpt {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 6px;
}

/* single: 記事+サイドバーの2カラム */
.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
    padding: 60px 0 80px;
}

.single-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.sidebar__widget {
    background: var(--panel);
    padding: 22px;
}

.sidebar__widget+.sidebar__widget {
    margin-top: 20px;
}

.sidebar__title {
    font-size: 15px;
    color: var(--green-deep);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sand);
    margin-bottom: 6px;
}

.sidebar-posts__item {
    border-bottom: 1px solid var(--line);
}

.sidebar-posts__item:last-child {
    border-bottom: none;
}

.sidebar-posts__link {
    display: block;
    padding: 10px 2px;
}

.sidebar-posts__link:hover .sidebar-posts__title {
    color: var(--green-mid);
}

.sidebar-posts__date {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.sidebar-posts__title {
    font-size: 13.5px;
    color: var(--ink);
    line-height: 1.6;
}

.sidebar-posts__empty {
    font-size: 13px;
    color: var(--muted);
    padding: 10px 2px;
}

.post-detail {
    min-width: 0;
}

.post-detail__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.post-detail__date {
    font-size: 13px;
    color: var(--muted);
}

.post-detail__category {
    font-size: 11px;
    background: var(--tint);
    color: var(--green-mid);
    padding: 2px 10px;
    border-radius: 0;
}

.post-detail__title {
    font-size: 28px;
    color: var(--green-deep);
    margin-bottom: 28px;
}

/* 記事のアイキャッチ: 幅いっぱい・16:9でトリミング */
.post-detail__thumbnail {
    margin: 0 0 36px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--tint);
}

.post-detail__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-detail__content {
    font-size: 15px;
    color: #333;
}

/* 本文内の画像: 大きい画像は本文幅に収め、小さい画像は元サイズのまま（引き伸ばさない） */
.post-detail__content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.post-detail__content figure,
.post-detail__content .wp-block-image {
    margin: 1.8em 0;
}

.post-detail__content .wp-block-image.aligncenter img,
.post-detail__content .aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.post-detail__content figcaption {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.7;
    letter-spacing: .04em;
    color: var(--muted);
}

.post-detail__content p {
    margin-bottom: 1.2em;
}

.post-detail__content h2 {
    font-size: 20px;
    color: var(--green-deep);
    margin: 1.6em 0 .8em;
    padding-left: 12px;
    border-left: 4px solid var(--sand);
}

/* 例外: 記事本文内のリンクだけ下線を付ける（本文中はリンクと分かる必要があるため） */
.post-detail__content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-navigation {
    margin-top: 48px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.post-navigation__inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.post-navigation__link {
    font-size: 13px;
    color: var(--muted);
}

.post-navigation__title {
    display: block;
    color: var(--green-deep);
    font-weight: 500;
}

.back-to-list {
    padding: 48px 0 0;
    text-align: center;
}

/* ---- pagination ---- */
.pagination {
    margin: 40px 0;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-block;
    min-width: 38px;
    padding: 6px 10px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 0;
    font-size: 14px;
    color: var(--green-mid);
    background: #fff;
}

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

/* ---- thanks / 404 ---- */
.thanks,
.not-found {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 0 80px;
    text-align: center;
}

.thanks__title {
    font-size: 24px;
    color: var(--green-deep);
    margin-bottom: 20px;
}

.thanks__message {
    font-size: 15px;
    color: #444;
    margin-bottom: 32px;
}

.thanks__note {
    background: var(--panel);
    border-radius: 0;
    padding: 20px 28px;
    text-align: left;
    margin-bottom: 40px;
}

.thanks__note-title {
    font-size: 14px;
    color: var(--green-deep);
    margin-bottom: 8px;
}

.thanks__note-list {
    list-style: disc;
    padding-left: 20px;
    font-size: 13px;
    color: var(--muted);
}

.thanks__actions,
.not-found__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.not-found__message {
    margin-bottom: 32px;
    color: #444;
}

/* ============================================
   レスポンシブ（タブレット: 〜1024px）
   PCナビが折り返す帯があるため、ここからドロワーに切替
   ============================================ */
@media (max-width: 1024px) {

    /* 閉じているドロワー（画面外に逃がした .header__nav）が横スクロールを生むため抑止。
       overflow-x: hidden はスクロールコンテナを作って sticky ヘッダーが効かなくなるので、
       スクロールコンテナを作らない clip を使う。html・body の両方に必要 */
    html,
    body {
        overflow-x: clip;
    }

    .header__btn {
        display: block;
    }

    /* ヘッダーCTAはドロワー内に移すのでPCヘッダーからは隠す */
    .header__cta--desktop {
        display: none;
    }

    /* 4カラムは詰まりすぎるので2列に折る */
    .top-reason__items {
        grid-template-columns: 1fr 1fr;
        gap: 40px 0;
    }

    .top-reason__item:nth-child(3),
    .top-reason__item:nth-child(4) {
        padding-top: 40px;
        border-top: 1px solid rgba(203, 180, 136, .28);
    }

    .top-reason__item:nth-child(odd) {
        border-left: none;
    }

    /* FAQとお知らせは縦積みに */
    .top-info__inner {
        grid-template-columns: 1fr;
    }

    .top-info__col--faq {
        padding-right: 0;
        padding-bottom: clamp(40px, 5vw, 56px);
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .footer__content {
        flex-direction: column;
    }

    .footer__about {
        flex: none;
        width: 100%;
    }

    /* ドロワーメニュー */
    .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(78vw, 320px);
        height: 100vh;
        background: var(--green-deep);
        padding: 90px 32px 32px;
        transform: translateX(100%);
        transition: transform .3s;
        z-index: 105;
    }

    .header__nav.is-open {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nav-menu__link {
        color: #fff;
        font-size: 16px;
    }

    /* ドロワー内の言語ドロップダウンはアコーディオン式 */
    .lang-dropdown {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, .2);
        padding-top: 20px;
        width: 100%;
    }

    .lang-dropdown__toggle {
        color: #fff;
        font-size: 15px;
    }

    .lang-dropdown__arrow {
        color: rgba(255, 255, 255, .7);
    }

    .lang-dropdown__list {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 4px 0 0 8px;
        display: none;
    }

    .lang-dropdown.is-open .lang-dropdown__list {
        display: block;
    }

    .lang-dropdown__item a {
        color: rgba(255, 255, 255, .85);
    }

    .lang-dropdown__item a:hover {
        background: rgba(255, 255, 255, .08);
        color: #fff;
    }

    .lang-dropdown__item.is-current a {
        background: rgba(255, 255, 255, .1);
        color: #fff;
    }

    .header__btn.is-open span {
        background: #fff;
    }

    /* サイドバーは記事下に回す */
    .single-layout {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        position: static;
    }

}

/* ============================================
   レスポンシブ（SP: 〜768px）
   ============================================ */
@media (max-width: 768px) {
    .sp {
        display: block;
    }

    .section {
        padding: 56px 0;
    }

    .section--hub-r::before,
    .section--hub-l::before {
        --orn-w: 200px;
    }

    .section-label {
        font-size: 32px;
    }

    .section-title {
        font-size: 15px;
    }

    .cta__label {
        font-size: 24px;
    }

    .page-title__en {
        font-size: 32px;
    }

    /* SP: 縦割り(左右)だと細長い深緑の帯になるので、上下の横割りに切り替える。
       上部に文字、下部は写真をそのまま見せる */
    .hero {
        align-items: flex-start;
        min-height: clamp(560px, 92svh, 760px);
        padding: calc(var(--header-h) + 36px) 0 50vh;
    }

    .hero::before {
        background:
            linear-gradient(180deg,
                rgba(16, 29, 23, .96) 0%,
                rgba(16, 29, 23, .92) 36%,
                rgba(18, 32, 26, .66) 56%,
                rgba(18, 32, 26, .28) 78%,
                rgba(18, 32, 26, .12) 100%),
            linear-gradient(rgba(16, 29, 23, .2), rgba(16, 29, 23, .2));
    }

    .hero__title {
        font-size: 30px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    /* SPはMVのボタンを外し、下部固定CTAに集約する */
    .hero__cta {
        display: none;
    }

    .sp-cta {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(241, 237, 229, .94);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-top: 1px solid rgba(175, 151, 102, .3);
        /* MVを過ぎるまでは画面外に退避（JSで .is-visible を付与） */
        transform: translateY(100%);
        transition: transform .3s;
    }

    .sp-cta.is-visible {
        transform: none;
    }

    .sp-cta__link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 16px;
        background-image: linear-gradient(105deg, #c9b17e 0%, var(--sand) 45%, #9d8659 100%);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
        color: #fff;
        font-size: 14.5px;
        font-weight: 500;
        letter-spacing: .12em;
    }

    .sp-cta__link svg {
        flex-shrink: 0;
    }

    /* 固定バーぶんの逃げ。ページトップボタンもバーの上に退避 */
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }

    .page-top {
        bottom: calc(82px + env(safe-area-inset-bottom));
    }

    /* サービス一覧・実績はgridなので1列に（flex-direction はgridに効かない） */
    .svc-list,
    .works {
        grid-template-columns: 1fr;
    }

    .works {
        gap: 16px;
    }

    /* 私たちについて: gridなので1列に。テキスト→写真の縦並び */
    .top-about__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* 写真の右抜きは解除してカラム幅いっぱいに */
    .top-about__image {
        width: 100%;
    }

    .top-about__description {
        margin-bottom: 0;
    }


    /* 選ばれる理由: 2列だと窮屈なので1列。アイコン左・テキスト左寄せの横並びにして縦を詰める */
    .top-reason__items {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .top-reason__item {
        display: flex;
        align-items: flex-start;
        gap: 18px;
        text-align: left;
        padding: 24px 0;
    }

    .top-reason__item+.top-reason__item {
        border-left: none;
        border-top: 1px solid rgba(203, 180, 136, .28);
    }

    .top-reason__item:nth-child(3),
    .top-reason__item:nth-child(4) {
        padding-top: 24px;
    }

    .top-reason__icon {
        flex: none;
        margin: 0;
    }

    .top-reason__title {
        margin-bottom: 6px;
    }

    /* お客様の声はslickスライダー(1枚ずつ・オートプレイ)。gridを解除する */
    .reviews {
        display: block;
    }

    .review,
    .review+.review {
        padding: 0 4px;
        border-left: none;
    }

    .post-detail__thumbnail {
        margin-bottom: 28px;
    }

    .top-reason__voice-label {
        font-size: 24px;
        margin-bottom: 28px;
    }

    /* SPはフッターナビを出さない（ドロワーと下部CTAで足りる） */
    .footer__nav {
        display: none;
    }

    .footer__copyright {
        font-size: 11.5px;
        letter-spacing: .06em;
    }

    /* サービスは縦積み（画像が上・テキストが下）。市松は解除する */
    .top-service__item,
    .top-service__item:nth-child(even) {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .top-service__item:nth-child(even) .top-service__image,
    .top-service__item .top-service__image {
        grid-column: 1;
        grid-row: 1;
    }

    .top-service__item:nth-child(even) .top-service__body,
    .top-service__item .top-service__body {
        grid-column: 1;
        grid-row: 2;
    }

    /* 画像は絶対配置のままなので、比率はラッパー側で確保する */
    .top-service__image {
        aspect-ratio: 16 / 10;
    }

    .top-service__body {
        padding: 28px 24px 36px;
    }

    .top-service__num {
        font-size: 42px;
        margin-bottom: 10px;
    }

    .top-service__title {
        font-size: 20px;
        margin-bottom: 14px;
    }

    /* 見出し2カラムヘッダーは縦積みに */
    .section-header--split {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-header--split .section-lead {
        justify-self: start;
        max-width: none;
    }

    /* 数字は3列のままだと潰れるので1列に */
    .top-about__stats {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat {
        padding: 18px 0;
    }

    .stat+.stat {
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .stat__num {
        font-size: 26px;
    }

    .top-reason__icon {
        width: 64px;
    }

    .cta__inner {
        max-width: none;
    }

    /* SPはテキストが写真の明るい部分に重なるので、左右グラデーションではなく全面オーバーレイにする */
    .cta::before {
        background:
            linear-gradient(rgba(16, 29, 23, .86), rgba(16, 29, 23, .86));
    }

    /* SPは「一覧を見る」とCTAボタンを中央寄せに */
    .top-info .section-more,
    .cta__actions {
        text-align: center;
    }

    .answer-box {
        padding: 20px 22px;
    }

    .answer-box__text {
        font-size: 15px;
    }

    .plan-grid {
        grid-template-columns: 1fr;
    }

    .svc-list {
        row-gap: 12px;
        padding: 22px 20px;
    }

    /* ページ内アンカーナビ: 横スクロールをやめて折り返し・中央寄せ */
    .page-anchor__list {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }

    /* 実績カード: 画像を上に、テキストを下にフルブリードで積む */
    .works__item {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .works__image {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .page-title {
        font-size: 26px;
    }

    .cta__title {
        font-size: 22px;
    }

    .news__item {
        flex-direction: column;
        gap: 4px;
    }
}