/* 全体設計 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ブランドカラー */
    --color-primary: #1a5638;
    --color-primary-hover: #144a2f;
    --color-primary-soft: #e8f3ec;
    --color-accent: #2d6b4a;
    --color-accent-hover: #1a5638;
    --color-tel: #ff8e3c;
    --color-tel-hover: #e86a20;
    /* 暖色セクション */
    --color-hero-bg: #fff7de;
    --color-yellow: #f5ebb8;
    --color-yellow-hover: #ede3a8;
    --color-yellow-soft: #fffbf0;
    --color-yellow-border: #e8dcc0;
    --color-notice-hover: #fff5e0;
    --color-gold: #a8956a;
    --color-warm-border: rgba(168, 149, 106, 0.22);
    --color-warm-border-strong: rgba(168, 149, 106, 0.35);
    /* ナビ（ブランド緑に統一） */
    --color-nav-bar: #1a5638;
    --color-nav-text: #ffffff;
    --color-nav-hover-bg: rgba(255, 255, 255, 0.12);
    --color-nav-submenu-bg: #144a2f;
    --color-nav-submenu-hover: rgba(255, 255, 255, 0.1);
    --color-nav-border: rgba(255, 255, 255, 0.18);
    --color-nav: var(--color-nav-bar);
    --color-nav-hover: var(--color-nav-hover-bg);
    --color-nav-submenu-hover: var(--color-nav-submenu-hover);
    /* ベース */
    --color-bg: #fdfdfd;
    --color-bg-alt: #f8fcf9;
    --color-bg-placeholder: #ecf6f0;
    --color-surface: #ffffff;
    --color-text: #243830;
    --color-text-muted: #4f635c;
    --color-border: #e2efe8;
    /* LINE公式色（装飾緑とは別） */
    --color-line: #06c755;
    --color-line-hover: #05a847;
    --color-line-banner: var(--color-line);
    --color-line-banner-hover: var(--color-line-hover);
    --color-seminar-banner: #fff9b0;
    --color-seminar-banner-hover: #fff495;
    --color-seminar-banner-border: #f0dc50;
    --color-seminar-banner-border-hover: #e5d040;
    --color-seminar-banner-text: #1a5638;
    /* フッター */
    --color-footer: #f9fcfa;
    --color-footer-link: var(--color-primary);
    --color-footer-text: #243830;
    --color-footer-muted: #6a7e76;
    /* ヒーロー文言 */
    --color-hero-tel: var(--color-tel);
    --color-hero-tel-hover: var(--color-tel-hover);
    --color-hero-line: var(--color-line);
    --color-hero-line-hover: var(--color-line-hover);
    --color-hero-heading: #1a5638;
    --color-hero-sub: #5a7a68;
    --layout-header-pad-y: 16px;
    --layout-header-pad-x: 28px;
    --layout-nav-pad-y: 15px;
    --layout-section-pad-y: 80px;
    --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-serif: var(--font-sans);
    /* タイポグラフィ階層 */
    --font-hero-title: clamp(28px, 4.2vw, 36px);
    --font-page-title: clamp(24px, 3.2vw, 30px);
    --font-section-title: clamp(28px, 5vw, 34px);
    --font-card-title: 17px;
    --font-body: 16px;
    --font-lead: 16px;
    --font-small: 14px;
    --font-caption: 13px;
    --font-button: 15px;
    --font-card-num: 26px;
    --font-phone: clamp(22px, 2.5vw, 28px);
    --line-height-body: 1.8;
    --line-height-tight: 1.5;
    --shadow-soft: none;
    --shadow-card: none;
    --radius-flat: 0;
    --radius-box: 4px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: var(--line-height-body);
    background-color: var(--color-bg);
    font-size: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 共通パーツ */
.section {
    padding: var(--layout-section-pad-y) 20px;
    max-width: 1150px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-sans);
    text-align: center;
    background-color: transparent;
    color: var(--color-primary);
    padding: 0 0 16px;
    font-size: var(--font-section-title);
    font-weight: 600;
    letter-spacing: 0.12em;
    position: relative;
    margin-bottom: 44px;
    border-bottom: none;
    border-radius: var(--radius-flat);
    box-shadow: none;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background-color: var(--color-gold);
}

.section-sub {
    text-align: center;
    margin-top: -24px;
    margin-bottom: 48px;
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: var(--font-lead);
    line-height: var(--line-height-body);
    letter-spacing: 0.02em;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* ボタン共通 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-flat);
    font-weight: 600;
    text-align: center;
    font-size: var(--font-button);
    letter-spacing: 0.04em;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    box-shadow: none;
}

.btn:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

.btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

.btn-tel {
    background-color: var(--color-tel);
    color: #fff;
    border: 1px solid var(--color-tel);
    box-shadow: none;
}

.btn-tel:hover {
    background-color: var(--color-tel-hover);
    border-color: var(--color-tel-hover);
    color: #fff;
    box-shadow: none;
}

.btn-line {
    background-color: var(--color-line);
    color: #fff;
    border: 1px solid var(--color-line);
    box-shadow: none;
}

.btn-line:hover {
    background-color: var(--color-line-hover);
    border-color: var(--color-line-hover);
    color: #fff;
    box-shadow: none;
}

.btn-form {
    background-color: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    box-shadow: none;
}

.btn-form:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #fff;
    box-shadow: none;
}

/* ==========================================
   ★修正：画像に合わせたヘッダーレイアウト
========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background-color: var(--color-surface);
    border-top: 5px solid var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    box-shadow: none;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--layout-header-pad-y) var(--layout-header-pad-x);
}

/* 左側：ロゴ・屋号エリア */
.header-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ロゴ */
.logo-mark {
    display: block;
    height: 64px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 右側：情報・連絡先エリア */
.header-info-area {
    display: flex;
    align-items: center;
    gap: 35px;
}

/* 中央寄り：アクセス・テキストリンク */
.header-access-box {
    text-align: right;
}

.access-station {
    font-size: var(--font-small);
    color: var(--color-text);
    margin-bottom: 6px;
    font-weight: 500;
}

.header-links-group {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.header-link-item {
    display: inline-block;
    padding: 9px 20px;
    border-radius: var(--radius-flat);
    font-size: var(--font-small);
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-link-item:hover {
    box-shadow: none;
}

.header-link-item:active {
    transform: translateY(0);
}

.header-link-item:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.header-btn-line {
    background-color: var(--color-line);
    color: #fff;
    border-color: var(--color-line);
    box-shadow: none;
}

.header-btn-line:hover {
    background-color: var(--color-line-hover);
    border-color: var(--color-line-hover);
    color: #fff;
    box-shadow: none;
}

.header-btn-contact {
    background-color: #fff;
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: none;
}

.header-btn-contact:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #fff;
    box-shadow: none;
}

/* 右端：電話番号ボックス */
.header-phone-box {
    text-align: right;
}

.phone-meta-text {
    font-size: var(--font-caption);
    color: var(--color-text);
    margin-top: 4px;
    margin-bottom: 0;
    font-weight: 500;
}

.phone-furigana {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
    line-height: 1.2;
}

.main-phone-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.free-dial-mark {
    width: auto;
    height: 36px;
    flex-shrink: 0;
    transform: translateY(-5px);
}

.main-phone-number {
    margin: 0;
    font-size: var(--font-phone);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
}

/* ナビゲーション */
.nav-bar {
    background-color: var(--color-nav-bar);
    border-top: 1px solid var(--color-nav-border);
    border-bottom: 1px solid var(--color-nav-border);
}

.nav-bar ul {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    list-style: none;
}

.nav-bar li {
    flex: 1;
    text-align: center;
}

.nav-bar a {
    display: block;
    padding: var(--layout-nav-pad-y) 8px;
    color: var(--color-nav-text);
    font-size: var(--font-small);
    letter-spacing: 0.08em;
    border-right: 1px solid var(--color-nav-border);
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-bar li:last-child > a {
    border-right: none;
}

.nav-bar a:hover,
.nav-bar a:focus-visible {
    background-color: var(--color-nav-hover-bg);
    color: #fff;
}

/* お手続きサブメニュー */
.nav-item-has-submenu {
    position: relative;
}

.nav-link-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.nav-submenu-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #fff;
    transition: transform 0.2s ease;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1002;
    min-width: 100%;
    width: max-content;
    max-width: min(280px, 90vw);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background-color: var(--color-nav-submenu-bg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: none;
    border-radius: 0 0 var(--radius-box) var(--radius-box);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
    overflow: hidden;
}

/* 親項目からサブメニューへ移動しても閉じないよう橋渡し */
.nav-submenu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.nav-submenu li {
    margin: 0;
    background-color: var(--color-nav-submenu-bg);
}

.nav-submenu a {
    display: block;
    padding: 12px 18px;
    font-size: var(--font-small);
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    background-color: var(--color-nav-submenu-bg);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-submenu li:last-child a {
    border-bottom: none;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
    background-color: var(--color-nav-submenu-hover);
    color: #fff;
}

.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-item-has-submenu:hover > .nav-link-parent,
.nav-item-has-submenu:focus-within > .nav-link-parent {
    background-color: var(--color-nav-hover-bg);
    color: #fff;
}

.nav-item-has-submenu:hover .nav-submenu-icon,
.nav-item-has-submenu:focus-within .nav-submenu-icon {
    transform: rotate(180deg);
}

/* ハンバーガーメニューボタン（モバイルのみ） */
.header-menu-toggle {
    display: none;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: var(--radius-flat);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.header-menu-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: var(--radius-flat);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-menu-toggle:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.header.is-menu-open .header-menu-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header.is-menu-open .header-menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.header.is-menu-open .header-menu-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-extra {
    display: none;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.mobile-menu-links .header-link-item {
    display: block;
    text-align: center;
}

.mobile-menu-info {
    padding: 0 20px 24px;
    text-align: center;
}

.mobile-menu-info .access-station {
    margin-bottom: 8px;
}

.mobile-menu-info .phone-meta-text {
    margin-top: 6px;
    margin-bottom: 0;
}

.mobile-menu-info .main-phone-row {
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.mobile-menu-info .phone-number-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mobile-menu-info .phone-number-stack .phone-furigana {
    margin-bottom: 2px;
}

.mobile-menu-info .phone-number-stack .main-phone-number {
    margin: 0;
}

.mobile-menu-info .main-phone-number a {
    color: var(--color-primary);
    font-size: var(--font-phone);
    font-weight: bold;
    text-decoration: none;
}

.mobile-menu-info .main-phone-number a:hover {
    text-decoration: underline;
}

body.is-menu-open {
    overflow: hidden;
}

.header-menu-backdrop {
    display: none;
}

/* メインビジュアル（ヒーロー） */
.hero {
    display: flex;
    flex-direction: column;
    background-color: var(--color-hero-bg);
    padding: 0;
    border-bottom: 1px solid var(--color-warm-border);
    overflow: hidden;
}

.hero-container {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(360px, auto);
    align-items: stretch;
    gap: 0;
    min-height: 360px;
}

.hero-content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 52px 36px 140px;
}

.hero-image {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    display: flex;
    align-self: stretch;
    min-height: 100%;
    min-width: 0;
    overflow: hidden;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-content h1 {
    font-family: var(--font-sans);
    font-size: var(--font-hero-title);
    line-height: var(--line-height-tight);
    color: var(--color-hero-heading);
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hero-lead {
    font-size: var(--font-lead);
    line-height: var(--line-height-body);
    color: var(--color-hero-sub);
    margin: 0 0 26px;
    letter-spacing: 0.02em;
    font-weight: 500;
    max-width: 420px;
}

.hero-lead-br {
    display: none;
}

@media (min-width: 769px) {
    .hero-lead-br {
        display: inline;
    }
}

.hero-intro-box {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: end;
    justify-self: center;
    z-index: 3;
    width: calc(100% - 40px);
    max-width: 860px;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-box);
    box-shadow: none;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-intro-box .hero-sub {
    font-size: var(--font-caption);
    color: var(--color-primary);
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22%;
    min-width: 150px;
    border-bottom: none;
    border-right: 1px solid var(--color-warm-border);
    padding: 8px 18px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    background-color: var(--color-primary-soft);
    border-radius: var(--radius-flat);
}

.hero-fields-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    flex: 1 1 78%;
    max-width: 78%;
    min-width: 0;
    padding: 0;
}

.hero-fields-wrap > .hero-fields + .hero-fields {
    border-top: 1px solid var(--color-warm-border-strong);
}

.hero-intro-box > .hero-fields {
    flex: 1 1 78%;
    max-width: 78%;
    align-self: stretch;
    padding: 0;
}

.hero-fields {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    align-self: stretch;
}

.hero-fields-wrap > .hero-fields {
    display: flex;
    flex-wrap: nowrap;
}

.hero-fields-wrap > .hero-fields li {
    flex: 1 1 0;
    min-width: 0;
}

.hero-fields li {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    font-size: var(--font-small);
    line-height: var(--line-height-tight);
    border-left: 1px solid var(--color-warm-border);
    border-top: 1px solid var(--color-warm-border);
}

@media (min-width: 769px) {
    .hero-fields li:nth-child(3n + 1) {
        border-left: none;
    }

    .hero-fields li:nth-child(-n + 3) {
        border-top: none;
    }

    /* 2列目の右ボーダーで縦線を揃える（3列目は左線なし） */
    .hero-fields li:nth-child(3n + 2) {
        border-right: 1px solid var(--color-warm-border);
    }

    .hero-fields li:nth-child(3n) {
        border-left: none;
    }

    /* 3列グリッドで最終行が欠ける場合の下辺（5項目時など） */
    .hero-fields li:nth-child(3n):nth-last-child(3) {
        border-bottom: none;
        box-shadow: 0 1px 0 var(--color-warm-border);
    }
}

.hero-fields-wrap > .hero-fields li {
    border-top: none;
}

.hero-fields-wrap > .hero-fields li + li {
    border-left: 1px solid var(--color-warm-border-strong);
}

.hero-fields li + li::before {
    content: none;
    display: none;
}

.hero-fields a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 7px 8px;
    font-size: var(--font-small);
    font-weight: 600;
    line-height: var(--line-height-tight);
    letter-spacing: 0.03em;
    color: var(--color-primary);
    text-decoration: none;
    background-color: transparent;
    border: none;
    border-radius: var(--radius-flat);
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-fields a:hover,
.hero-fields a:focus-visible {
    background-color: var(--color-primary-soft);
    color: var(--color-primary);
    box-shadow: none;
}

.hero-fields a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 380px;
}

.hero-buttons .btn {
    font-size: var(--font-button);
    padding: 14px 25px;
    border-radius: var(--radius-flat);
    box-shadow: none;
}

.hero-photo {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center top;
    border: none;
    border-radius: var(--radius-flat);
    box-shadow: none;
}

/* お知らせ & LINEバナー（横並び） */
.mid-notification-area {
    max-width: 950px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
}

.notice-box,
.line-banner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 28px;
    border-radius: var(--radius-flat);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.notice-box:focus-visible,
.line-banner:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

.notice-box {
    background: var(--color-seminar-banner);
    border: 2px solid var(--color-seminar-banner-border);
    box-shadow: none;
}

.notice-box:hover {
    border-color: var(--color-seminar-banner-border-hover);
    box-shadow: none;
    background: var(--color-seminar-banner-hover);
}

.notice-box:active {
    transform: none;
    box-shadow: none;
}

.notice-tag {
    flex-shrink: 0;
    background-color: var(--color-primary);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-flat);
    font-weight: bold;
    font-size: var(--font-small);
    white-space: nowrap;
    letter-spacing: 0.08em;
    box-shadow: none;
}

.notice-title {
    flex: 1;
    font-size: var(--font-body);
    font-weight: 700;
    color: var(--color-seminar-banner-text);
    line-height: var(--line-height-tight);
    letter-spacing: 0.02em;
    text-align: center;
}

.line-banner {
    background: var(--color-line-banner);
    color: #fff;
    border: 2px solid var(--color-line-hover);
    box-shadow: none;
}

.line-banner:hover {
    border-color: #048c3f;
    box-shadow: none;
    background: var(--color-line-banner-hover);
    color: #fff;
}

.line-banner:active {
    transform: none;
    box-shadow: none;
}

.line-banner-text {
    flex: 1;
    font-size: var(--font-body);
    font-weight: 700;
    line-height: var(--line-height-body);
    text-align: center;
}

.banner-cta-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-flat);
    font-size: 22px;
    line-height: 1;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.notice-box .banner-cta-icon {
    background-color: rgba(26, 86, 56, 0.12);
    color: var(--color-seminar-banner-text);
    box-shadow: none;
}

.notice-box:hover .banner-cta-icon {
    transform: none;
    background-color: rgba(26, 86, 56, 0.2);
}

.line-banner .banner-cta-icon {
    background-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.line-banner:hover .banner-cta-icon {
    transform: none;
    background-color: rgba(255, 255, 255, 0.32);
    color: #fff;
}

/* お知らせ */
.section-news {
    max-width: 950px;
    margin: 0 auto;
    padding: 8px 20px 40px;
}

.section-news .section-title {
    margin-bottom: 28px;
}

.news-list {
    list-style: none;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-surface);
    border-radius: 0 0 var(--radius-box) var(--radius-box);
}

.news-list li {
    border-bottom: 1px solid var(--color-border);
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 16px 12px;
    color: var(--color-text);
    transition: background-color 0.2s ease;
}

.news-list a:hover {
    background-color: var(--color-bg-alt);
}

.news-list a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.news-date {
    flex-shrink: 0;
    min-width: 6.5em;
    font-size: var(--font-small);
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.news-title {
    flex: 1;
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    font-weight: 500;
}

@media (max-width: 560px) {
    .news-list a {
        flex-direction: column;
        gap: 6px;
        padding: 14px 10px;
    }

    .news-date {
        min-width: 0;
    }
}

/* お知らせ 個別記事 */
.page-news-article .page-hero .page-title {
    margin-top: 8px;
}

.news-article-meta-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 0 0 4px;
}

.news-article-meta-hero .news-date {
    font-size: var(--font-small);
    color: var(--color-hero-sub);
    font-weight: 600;
}

.news-article-category {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(26, 86, 56, 0.2);
    border-radius: var(--radius-box);
}

.news-article-body {
    padding-top: 36px;
}

.news-article-body .news-figure {
    margin: 28px auto;
    max-width: 100%;
}

.news-article-body .news-figure-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-box);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-placeholder);
}

.news-article-body .news-figure figcaption {
    margin-top: 10px;
    font-size: var(--font-small);
    color: var(--color-text-muted);
    line-height: var(--line-height-body);
    text-align: center;
}

.news-article-body .news-figure--wide {
    max-width: 100%;
}

.news-article-body .news-figure--half {
    max-width: min(520px, 100%);
}

.news-article-body .news-figure-grid {
    display: grid;
    gap: 16px;
    margin: 28px 0;
}

.news-article-body .news-figure-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-article-body .news-figure--grid-item {
    margin: 0;
}

@media (max-width: 640px) {
    .news-article-body .news-figure-grid--2 {
        grid-template-columns: 1fr;
    }
}

.news-article-nav {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.news-article-nav > .btn {
    margin-bottom: 20px;
}

.news-article-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.news-article-prev,
.news-article-next {
    font-size: var(--font-small);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.news-article-prev:hover,
.news-article-next:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-article-prev[href="#"],
.news-article-next[href="#"] {
    opacity: 0.45;
    pointer-events: none;
    text-decoration: none;
}

@media (max-width: 560px) {
    .news-article-nav-links {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* ご挨拶・代表メッセージ */
.greeting {
    --greeting-photo-max: 420px;
    --greeting-photo-overhang-bottom: 40px;
    background-color: var(--color-hero-bg);
    padding: 6px 20px 4px;
    border-top: 1px solid var(--color-warm-border);
    border-bottom: 1px solid var(--color-warm-border);
    overflow: visible;
    position: relative;
    z-index: 1;
}

.greeting-container {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    overflow: visible;
}

.greeting-image {
    flex: 0 0 auto;
    max-width: 46%;
    min-width: 280px;
    margin-top: calc(var(--greeting-photo-max) * -0.06);
    margin-bottom: calc(var(--greeting-photo-overhang-bottom) * -1);
    position: relative;
    z-index: 2;
}

.greeting-photo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: var(--greeting-photo-max);
    object-fit: contain;
    border-radius: var(--radius-flat);
    border: none;
}

.greeting-text {
    flex: 1;
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    color: var(--color-text);
    position: relative;
}

.greeting-text p {
    font-size: inherit;
    line-height: inherit;
}

.greeting-text::before {
    content: "代表司法書士メッセージ";
    display: block;
    font-size: var(--font-small);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid var(--color-gold);
    letter-spacing: 0.14em;
}

.greeting-name {
    font-size: var(--font-card-title);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
}

.greeting-reg {
    font-size: var(--font-caption);
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: var(--line-height-tight);
}

/* 特徴・強みレイアウト */
.section-strengths {
    padding: 56px 20px;
    background-color: var(--color-bg-alt);
}

.greeting + .section-strengths {
    padding-top: 108px;
}

.section-strengths .section-title {
    margin-bottom: 36px;
    letter-spacing: 0.08em;
}

.section-strengths .section-title-main {
    display: block;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: inherit;
    line-height: var(--line-height-tight);
    color: var(--color-primary);
}

.strengths-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 28px;
}

.strengths-visual {
    display: flex;
    min-height: 100%;
}

.strengths-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-box);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    min-width: 0;
}

.section-strengths .card {
    padding: 18px 20px;
    border-top-width: 4px;
}

.section-strengths .card h3 {
    font-size: var(--font-card-title);
    margin-bottom: 10px;
    gap: 8px;
}

.section-strengths .card-num {
    font-size: var(--font-card-num);
}

.section-strengths .card p {
    font-size: var(--font-body);
    line-height: var(--line-height-body);
}

/* 特徴カード */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 28px;
    border-top: 3px solid var(--color-accent);
    border-radius: var(--radius-box);
    box-shadow: none;
}

.card h3 {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: var(--font-card-title);
    color: var(--color-primary);
    margin-bottom: 14px;
    line-height: var(--line-height-tight);
}

.card-num {
    flex-shrink: 0;
    font-size: var(--font-card-num);
    font-style: normal;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.card p {
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    color: var(--color-text);
}

/* お客様の声 */
.section-voice .section-title {
    margin-bottom: 48px;
}

.voice-questionary-wrap {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 36px;
}

.voice-questionary {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.voice-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 0;
    border-radius: var(--radius-box);
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.voice-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(26, 86, 56, 0.08);
}

a.voice-card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.voice-card-thumb {
    flex-shrink: 0;
    overflow: hidden;
    aspect-ratio: 800 / 520;
    border-bottom: 2px solid var(--color-accent);
    background: var(--color-bg-placeholder);
}

.voice-card-survey {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.voice-card:hover .voice-card-survey {
    transform: scale(1.06);
}

.voice-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
}

.voice-card h4 {
    color: var(--color-primary);
    font-size: var(--font-card-title);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    line-height: var(--line-height-tight);
}

.voice-meta {
    font-size: var(--font-caption);
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

.voice-card p {
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    color: var(--color-text);
}

.voice-card-more {
    display: block;
    margin-top: auto;
    padding-top: 16px;
    font-size: var(--font-small);
    font-weight: 600;
    color: var(--color-primary);
    text-align: right;
}

.grid-3 .voice-card {
    height: 100%;
}

/* お客様の声 個別ページ */
.page-voice-article .page-hero .page-title {
    margin-top: 8px;
}

.voice-article-meta-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 0 0 4px;
}

.voice-article-meta-hero .voice-article-meta {
    font-size: var(--font-small);
    color: var(--color-hero-sub);
    font-weight: 600;
}

.voice-article-category {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(26, 86, 56, 0.2);
    border-radius: var(--radius-box);
}

.voice-article-body {
    padding-top: 36px;
}

.voice-survey-figure {
    margin: 0 0 36px;
    text-align: center;
}

.voice-survey-image {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-box);
    background: var(--color-bg-placeholder);
}

@media (prefers-reduced-motion: reduce) {
    .voice-card-survey {
        transition: none;
    }

    .voice-card:hover .voice-card-survey {
        transform: none;
    }
}

.voice-survey-caption {
    margin-top: 12px;
    font-size: var(--font-caption);
    color: var(--color-text-muted);
}

.voice-article-nav {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.voice-article-nav > .btn {
    margin-bottom: 20px;
}

.voice-article-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.voice-article-prev,
.voice-article-next {
    font-size: var(--font-small);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.voice-article-prev:hover,
.voice-article-next:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.voice-article-nav-empty {
    opacity: 0.45;
    pointer-events: none;
    text-decoration: none;
}

@media (max-width: 560px) {
    .voice-article-nav-links {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

.btn-green-outline {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: var(--color-surface);
    border-radius: var(--radius-flat);
    padding: 12px 48px;
    font-size: var(--font-button);
    font-weight: bold;
    box-shadow: none;
}

.btn-green-outline:hover {
    background: var(--color-primary-hover);
    color: #fff;
    border-color: var(--color-primary-hover);
    box-shadow: none;
}

/* 業務内容 */
.section-services .service-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
    .section-services .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .section-services .service-grid {
        grid-template-columns: 1fr;
    }
}

.grid-3 .service-box {
    height: 100%;
}

.service-box {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-box);
    box-shadow: none;
    overflow: hidden;
}

.service-box-image {
    flex-shrink: 0;
    overflow: hidden;
    border-bottom: 2px solid var(--color-accent);
    background-color: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    min-height: 200px;
    box-sizing: border-box;
}

.service-box-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 168px;
    object-fit: contain;
    object-position: center center;
}

.service-box-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 26px;
    text-align: center;
}

.service-box h3 {
    color: var(--color-primary);
    margin: 0 0 14px;
    font-size: var(--font-card-title);
    font-weight: bold;
    line-height: var(--line-height-tight);
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-bg-alt);
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-box-body > p:not(.service-box-link) {
    margin: 0;
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    color: var(--color-text);
    text-align: left;
    flex: 1;
}

.service-box-link {
    margin: 18px 0 0;
    text-align: center;
}

.service-box-btn {
    padding: 10px 24px;
    font-size: var(--font-button);
    min-width: 9em;
}

/* 事務所紹介（業務内容より下 — タイポ統一） */
.office-gallery {
    background-color: var(--color-bg-alt);
    padding: 60px 20px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.office-gallery .section-title {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}

.gallery-container {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.gallery-img-box {
    flex: 1;
    min-width: 0;
}

.gallery-photo {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-box);
    border: 1px solid var(--color-border);
    box-shadow: none;
}

.access-map-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: var(--radius-box);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: border-color 0.2s ease;
}

.access-map-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    text-align: left;
}

.access-map-zoom-hint {
    display: none;
}

.access-map-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.access-map-modal.is-open {
    display: flex;
}

.access-map-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 36, 30, 0.72);
}

.access-map-modal-panel {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    padding: 16px;
    border-radius: var(--radius-box);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: 0 16px 40px rgba(20, 36, 30, 0.24);
}

.access-map-modal-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 120px);
    object-fit: contain;
}

.access-map-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-flat);
    background: var(--color-surface);
    color: var(--color-primary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.access-map-modal-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.access-map-modal-close:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

body.is-access-map-modal-open {
    overflow: hidden;
}

@media (min-width: 993px) {
    .access-map-trigger {
        cursor: zoom-in;
        position: relative;
    }

    .access-map-trigger:hover .access-map-image,
    .access-map-trigger:focus-visible .access-map-image {
        border-color: var(--color-primary);
    }

    .access-map-trigger:focus-visible {
        outline: 3px solid var(--color-primary);
        outline-offset: 4px;
    }

    .access-map-zoom-hint {
        display: block;
        position: absolute;
        right: 12px;
        bottom: 12px;
        padding: 6px 10px;
        border-radius: var(--radius-flat);
        background: rgba(26, 86, 56, 0.88);
        color: #fff;
        font-size: var(--font-caption);
        font-weight: 600;
        letter-spacing: 0.04em;
        pointer-events: none;
    }
}

@media (max-width: 992px) {
    .access-map-trigger {
        cursor: default;
        pointer-events: none;
    }
}

/* 事務所写真スライダー */
.office-slider {
    position: relative;
}

.office-slider-viewport {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-box);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    touch-action: pan-y pinch-zoom;
    cursor: pointer;
}

.office-slider-track {
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.35s ease;
    will-change: transform;
}

.office-slider-slide {
    flex: 0 0 100%;
    height: 100%;
    margin: 0;
}

.office-slider-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.office-slider-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-primary);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.office-slider-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.office-slider-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.office-slider-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.office-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.office-slider-dot.is-active {
    background: var(--color-primary);
    transform: scale(1.15);
}

.office-slider-dot:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gallery-text-box {
    flex: 1;
}

.gallery-text-box h3 {
    font-size: var(--font-card-title);
    font-weight: bold;
    line-height: 1.4;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.gallery-text-box p {
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    color: var(--color-text);
}

.gallery-buttons {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.gallery-buttons .btn {
    background: var(--color-surface);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    flex: 1;
    font-size: var(--font-body);
    padding: 12px 20px;
    border-radius: var(--radius-flat);
    box-shadow: none;
}

.gallery-buttons .btn:hover {
    background: var(--color-primary-hover);
    color: #fff;
    border-color: var(--color-primary-hover);
    box-shadow: none;
}

/* よくある質問 */
.section-faq .section-title {
    margin-bottom: 40px;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-surface);
    padding: 22px 24px;
    margin-bottom: 18px;
    border-radius: var(--radius-box);
    border-left: 4px solid var(--color-accent);
    box-shadow: none;
}

.faq-q {
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: var(--font-card-title);
    line-height: 1.45;
}

.faq-a {
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    color: var(--color-text);
}

/* 下層ページ */
.page-hero {
    background-color: var(--color-hero-bg);
    border-bottom: 1px solid var(--color-warm-border);
    padding: 28px 20px 36px;
}

.page-hero-inner {
    max-width: 1150px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 14px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    list-style: none;
    font-size: var(--font-small);
    color: var(--color-hero-sub);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 10px;
    color: rgba(26, 86, 56, 0.55);
    font-weight: bold;
}

.breadcrumb a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.breadcrumb [aria-current="page"] {
    color: var(--color-text-muted);
    font-weight: 500;
}

.page-title {
    font-family: var(--font-sans);
    font-size: var(--font-page-title);
    font-weight: 600;
    color: var(--color-hero-heading);
    letter-spacing: 0.06em;
    line-height: var(--line-height-tight);
}

@media (min-width: 769px) {
    .page-hero .page-title {
        white-space: nowrap;
    }

    .page-hero .page-lead {
        white-space: nowrap;
        max-width: none;
    }

    .page-news-article .page-hero .page-title,
    .page-404 .page-hero .page-lead {
        white-space: normal;
    }
}

.page-lead {
    margin-top: 12px;
    font-size: var(--font-lead);
    font-weight: 500;
    color: var(--color-hero-sub);
    line-height: var(--line-height-body);
    max-width: 42em;
}

.page-main {
    max-width: 1150px;
    margin: 0 auto;
    padding: 56px 20px 72px;
}

.page-content {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-box);
    padding: 40px 44px;
    box-shadow: none;
}

.page-content > *:first-child {
    margin-top: 0;
}

.page-content > *:last-child {
    margin-bottom: 0;
}

.page-content h2 {
    font-size: var(--font-card-title);
    color: var(--color-primary);
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary-soft);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: var(--font-card-title);
    color: var(--color-primary);
    margin: 28px 0 12px;
}

.page-content p,
.page-content li {
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    color: var(--color-text);
}

.page-content p {
    margin-bottom: 1.2em;
}

.page-content ul,
.page-content ol {
    margin: 0 0 1.2em 1.4em;
}

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

.page-content a:not(.btn) {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-content a:not(.btn):hover {
    color: var(--color-primary-hover);
}

.page-content .center-btn {
    margin-top: 32px;
}

.fee-note {
    font-size: var(--font-small);
    color: var(--color-text-muted);
}

.fee-updated {
    margin: -8px 0 16px;
    font-size: var(--font-small);
    font-weight: 600;
    color: var(--color-primary);
}

.fee-table small {
    display: block;
    margin-top: 4px;
    font-size: var(--font-caption);
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: var(--line-height-body);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 32px;
    font-size: var(--font-body);
}

.fee-table th,
.fee-table td {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.fee-table th {
    background-color: var(--color-primary-soft);
    color: var(--color-primary);
    font-weight: 700;
}

.fee-table tbody tr:nth-child(even) {
    background-color: var(--color-bg-alt);
}

/* お問い合わせフォーム */
.contact-form {
    margin-top: 26px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.contact-form-field {
    margin-bottom: 18px;
}

.contact-form-field label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-primary);
}

.contact-form-field label .contact-form-required {
    font-size: 12px;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: var(--radius-box);
    font-weight: 700;
    color: #fff;
    background-color: var(--color-tel);
    vertical-align: middle;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-box);
    background-color: #fff;
    padding: 11px 12px;
    font-size: var(--font-body);
    color: var(--color-text);
}

.contact-form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    outline: 3px solid rgba(26, 86, 56, 0.2);
    border-color: var(--color-primary);
}

.contact-form-check {
    margin-top: 8px;
}

.contact-form-check-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--font-small);
    color: var(--color-text-muted);
    cursor: pointer;
}

.contact-form-check-text {
    line-height: 1.6;
}

.contact-form-privacy-link {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    font-size: inherit;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.contact-form-privacy-link:hover {
    color: var(--color-tel);
}

.contact-form-privacy-link:focus-visible {
    outline: 3px solid rgba(26, 86, 56, 0.2);
    outline-offset: 2px;
}

/* プライバシーポリシーモーダル */
.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.privacy-modal.is-open {
    display: flex;
}

.privacy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 36, 30, 0.72);
}

.privacy-modal-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    padding: 24px 20px 20px;
    border-radius: var(--radius-box);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: 0 16px 40px rgba(20, 36, 30, 0.24);
}

.privacy-modal-title {
    margin: 0 36px 16px 0;
    font-size: var(--font-h2);
    color: var(--color-primary);
}

.privacy-modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 160px);
    padding-right: 4px;
}

.privacy-modal-body h2 {
    margin-top: 1.4em;
}

.privacy-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-flat);
    background: var(--color-surface);
    color: var(--color-primary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.privacy-modal-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.privacy-modal-close:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

body.is-privacy-modal-open {
    overflow: hidden;
}

/* お問い合わせ完了 */
.contact-thanks-message {
    margin-bottom: 28px;
    padding: 20px 22px;
    border-radius: var(--radius-box);
    border: 1px solid var(--color-border);
    background: var(--color-primary-soft);
}

.contact-thanks-message p {
    margin: 0;
}

.contact-thanks-message p + p {
    margin-top: 12px;
}

.contact-thanks-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* 404ページ */
.page-404-code {
    margin: 0 0 8px;
    font-size: clamp(56px, 12vw, 88px);
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--color-hero-heading);
    text-shadow: 0 2px 10px rgba(26, 86, 56, 0.25);
    opacity: 0.92;
}

.page-404-links {
    list-style: none;
    margin: 0 0 1.2em;
    padding: 0;
}

.page-404-links li {
    margin-bottom: 0.65em;
}

.page-404-links a {
    font-weight: 600;
}

/* 下部コンタクトエリア（お問い合わせ） */
.footer-cta {
    background-color: var(--color-hero-bg);
    padding: 72px 20px;
    color: var(--color-text);
    text-align: center;
    border-top: 1px solid var(--color-warm-border);
    border-bottom: 1px solid var(--color-warm-border);
}

.cta-title {
    font-family: var(--font-sans);
    font-size: var(--font-section-title);
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.cta-lead {
    font-size: var(--font-lead);
    font-weight: 500;
    max-width: 36em;
    margin: 0 auto 32px;
    line-height: var(--line-height-body);
    color: var(--color-text-muted);
}

.footer-cta .hero-buttons {
    max-width: 440px;
    margin: 0 auto;
}

.footer-cta .hero-buttons .btn {
    display: block;
    width: 100%;
    font-size: var(--font-button);
    padding: 16px 25px;
}

/* フッター */
.footer {
    background-color: var(--color-footer);
    color: var(--color-footer-text);
    text-align: center;
    padding: 52px 20px;
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    border-top: 2px solid var(--color-primary);
}

.footer-logo {
    font-family: var(--font-sans);
    font-size: var(--font-card-title);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-primary);
    letter-spacing: 0.08em;
}

.footer-credentials {
    font-size: var(--font-small);
    color: var(--color-footer-muted);
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 24px;
}

.footer-links a {
    margin: 0 10px;
    color: var(--color-footer-link);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--color-primary-hover);
}

.footer-address {
    color: var(--color-footer-text);
    line-height: 1.9;
    margin-bottom: 24px;
}

.footer-legal {
    margin-bottom: 12px;
}

.footer-legal a {
    color: var(--color-footer-link);
    font-size: var(--font-small);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal a:hover {
    color: var(--color-primary-hover);
}

.privacy-updated {
    margin-top: 2em;
    font-size: var(--font-small);
    color: var(--color-text-muted);
    text-align: right;
}

.copyright {
    color: var(--color-footer-muted);
    font-size: var(--font-small);
    line-height: 1.6;
}

/* レスポンシブ調整 — タブレット以下はスマホと同じヘッダー */
@media (max-width: 992px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        gap: 0;
        text-align: left;
    }

    .header-logo-area {
        flex: 1;
        min-width: 0;
    }

    .logo-mark {
        height: 58px;
        max-width: 240px;
    }

    .header-info-area {
        display: none;
    }

    .header-menu-toggle {
        display: flex;
    }

    .header-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 998;
        border: none;
        padding: 0;
        background-color: rgba(26, 86, 56, 0.22);
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .header.is-menu-open .header-menu-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header-nav-panel {
        position: fixed;
        top: var(--header-top-height, 72px);
        left: 0;
        right: 0;
        z-index: 999;
        display: block;
        max-height: calc(100vh - var(--header-top-height, 72px));
        overflow-x: hidden;
        overflow-y: auto;
        background-color: var(--color-nav-bar);
        border-top: 1px solid var(--color-nav-border);
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-16px);
        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    .header.is-menu-open .header-nav-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .header-nav-panel .nav-bar > ul > li {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .header.is-menu-open .header-nav-panel .nav-bar > ul > li {
        opacity: 1;
        transform: translateY(0);
    }

    .header.is-menu-open .header-nav-panel .nav-bar > ul > li:nth-child(1) { transition-delay: 0.04s; }
    .header.is-menu-open .header-nav-panel .nav-bar > ul > li:nth-child(2) { transition-delay: 0.08s; }
    .header.is-menu-open .header-nav-panel .nav-bar > ul > li:nth-child(3) { transition-delay: 0.12s; }
    .header.is-menu-open .header-nav-panel .nav-bar > ul > li:nth-child(4) { transition-delay: 0.16s; }
    .header.is-menu-open .header-nav-panel .nav-bar > ul > li:nth-child(5) { transition-delay: 0.20s; }
    .header.is-menu-open .header-nav-panel .nav-bar > ul > li:nth-child(6) { transition-delay: 0.24s; }

    .header-nav-panel .mobile-menu-extra {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.25s ease 0.2s, transform 0.25s ease 0.2s;
    }

    .header.is-menu-open .header-nav-panel .mobile-menu-extra {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-extra {
        display: block;
        background-color: var(--color-surface);
    }

    .nav-bar ul {
        flex-direction: column;
        max-width: none;
    }

    .nav-bar li {
        flex: none;
        width: 100%;
        text-align: left;
    }

    .nav-bar a {
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid var(--color-nav-border);
        font-size: var(--font-body);
        color: var(--color-nav-text);
    }

    .nav-bar li:last-child a {
        border-bottom: none;
    }

    .nav-link-parent {
        justify-content: space-between;
    }

    .nav-item-has-submenu.is-submenu-open {
        background-color: rgba(255, 255, 255, 0.08);
    }

    .nav-item-has-submenu .nav-submenu {
        position: static;
        left: auto;
        width: 100%;
        max-width: none;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transform: none;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: var(--radius-flat);
        box-shadow: none;
        background-color: var(--color-nav-submenu-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item-has-submenu .nav-submenu::before {
        display: none;
    }

    .nav-item-has-submenu.is-submenu-open > .nav-link-parent {
        background-color: var(--color-nav-hover-bg);
        border-bottom: 1px solid var(--color-nav-border);
        color: #fff;
    }

    .nav-item-has-submenu.is-submenu-open .nav-submenu {
        pointer-events: auto;
        max-height: 420px;
        padding: 4px 0 8px;
    }

    .nav-item-has-submenu.is-submenu-open .nav-submenu-icon {
        transform: rotate(180deg);
    }

    .nav-item-has-submenu .nav-submenu li,
    .nav-item-has-submenu .nav-submenu a {
        background-color: var(--color-nav-submenu-bg);
    }

    .nav-submenu a {
        padding: 13px 20px 13px 36px;
        font-size: var(--font-small);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        white-space: normal;
        color: #fff;
    }

    .nav-submenu a:hover,
    .nav-submenu a:focus-visible {
        background-color: var(--color-nav-submenu-hover);
        color: #fff;
    }
}

@media (max-width: 768px) {
    .hero {
        overflow-x: hidden;
    }

    .hero-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        min-height: 0;
        max-width: none;
        width: 100%;
    }

    .hero-image {
        grid-column: 1;
        grid-row: 1;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        min-height: 0;
        max-height: none;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        clip-path: none;
    }

    .hero-content {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        padding: 44px 20px 24px;
    }

    .hero-intro-box {
        grid-column: 1;
        grid-row: 3;
        align-self: stretch;
        justify-self: center;
        width: calc(100% - 24px);
        max-width: none;
        margin: 0 0 24px;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        padding: 0;
    }

    .hero-photo {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        object-fit: cover;
        object-position: center 22%;
        transform: none;
        transform-origin: center center;
    }

    .hero-lead {
        margin-bottom: 16px;
    }

    .hero-intro-box .hero-sub {
        flex: none;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid var(--color-warm-border-strong);
        padding: 9px 12px;
        white-space: normal;
        border-radius: var(--radius-flat);
    }

    .hero-fields-wrap,
    .hero-intro-box > .hero-fields {
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .hero-intro-box .hero-fields {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-fields-wrap > .hero-fields {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex-wrap: unset;
    }

    .hero-fields-wrap > .hero-fields li {
        flex: unset;
    }

    .hero-intro-box .hero-fields li {
        border-left: 1px solid var(--color-warm-border-strong);
        border-top: 1px solid var(--color-warm-border-strong);
    }

    .hero-intro-box .hero-fields li:nth-child(2n + 1) {
        border-left: none;
    }

    .hero-intro-box .hero-fields li:nth-child(-n + 2) {
        border-top: none;
    }

    /* 2列目は左ボーダーのみ（右ボーダーなし） */
    .hero-intro-box .hero-fields li:nth-child(2n) {
        border-left: 1px solid var(--color-warm-border-strong);
        border-right: none;
    }

    /* 最終行1列のみの項目（5項目時の法人など） */
    .hero-intro-box .hero-fields li:nth-child(2n + 1):last-child {
        border-right: none;
        box-shadow: 1px 0 0 var(--color-warm-border-strong);
    }

    /* 2列グリッドで最終行が欠ける場合の下辺（5項目時など） */
    .hero-intro-box .hero-fields li:nth-child(2n):nth-last-child(2) {
        border-bottom: none;
        box-shadow: 0 1px 0 var(--color-warm-border-strong);
    }

    .hero-fields-wrap > .hero-fields + .hero-fields li:nth-child(-n + 2) {
        border-top: 1px solid var(--color-warm-border-strong);
    }

    .hero-fields a {
        min-height: 44px;
        padding: 8px 6px;
        font-size: var(--font-caption);
    }

    .hero-fields li {
        font-size: var(--font-caption);
    }

    .page-content {
        padding: 28px 22px;
        overflow-x: clip;
    }

    .grid-3 {
        gap: 20px;
    }

    .voice-card-body {
        padding: 20px;
    }

    .hero-buttons {
        width: 100%;
    }

    .mid-notification-area {
        flex-direction: column;
    }

    .notice-box,
    .line-banner {
        padding: 18px 20px;
    }

    .strengths-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }

    .strengths-visual {
        display: block;
    }

    .strengths-image {
        width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

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

    .greeting-container,
    .gallery-container {
        flex-direction: column;
        text-align: center;
    }

    .greeting {
        --greeting-photo-max: 320px;
        --greeting-photo-visible-ratio: 0.8;
        padding: 8px 20px 40px;
    }

    .greeting + .section-strengths {
        padding-top: 48px;
    }

    .greeting-image {
        max-width: min(280px, 78vw);
        min-width: 0;
        width: min(280px, 78vw);
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        margin-bottom: 16px;
        overflow: hidden;
        max-height: calc(var(--greeting-photo-max) * var(--greeting-photo-visible-ratio));
    }

    .greeting-photo {
        display: block;
        width: 100%;
        height: var(--greeting-photo-max);
        max-height: var(--greeting-photo-max);
        margin: 0 auto;
        object-fit: cover;
        object-position: center top;
    }

    .greeting-text {
        text-align: left;
        padding-bottom: 8px;
    }

    .greeting-text p:last-child {
        margin-bottom: 0;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-menu-backdrop,
    .header-nav-panel,
    .header-nav-panel .nav-bar > ul > li,
    .header-nav-panel .nav-bar .nav-submenu li,
    .header-nav-panel .mobile-menu-extra,
    .header-menu-toggle-bar {
        transition: none !important;
        transform: none !important;
    }
}
