/* =============================================================
   0. 変数
   ============================================================ */
:root {
    --brand: rgb(37, 56, 100); /* 基調色（リンク下線など） */
    --brand-red: rgb(37, 56, 100);
    --radius: 12px; /* カード角丸 */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    --body-font: 1.1rem; /* 基本文字サイズ */
}

/* =============================================================
   1. HERO
   ============================================================ */
.lca-hero {
    background: #fff;
    padding: 96px 5% 0; /* ヘッダー下の余白 */
    position: relative;
}

/* ---------- パンくず ---------- */
.breadcrumb {
    max-width: 1200px; /* ← h1 と同じ幅制限で左右中央寄せ */
    margin: 0 auto 32px; /* 上-下余白 32px */
    font-size: 0.8rem;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.breadcrumb li + li::before {
    content: "›";
    margin: 0 7px;
    color: #999;
}
.breadcrumb a {
    color: #666;
    text-decoration: none;
}

/* ---------- ヒーローテキスト ---------- */
.lca-hero-head {
    max-width: 1200px;
    margin: 0 auto 56px;
    text-align: left;
}
.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--brand-red);
    margin: 0 0 12px;
    font-weight: 700;
}
.lca-hero-head h1 {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
}

/* ---------- セクションナビ ---------- */
.section-nav {
    position: sticky;
    top: 64px; /* ヘッダー高に合わせ調整 */
    z-index: 90;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.section-nav ul {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    gap: clamp(24px, 4vw, 72px);
    list-style: none;
    overflow-x: auto;
    padding: 0;
}
.section-nav a {
    display: block;
    padding: 14px 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}
.section-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}
.section-nav a:hover::after,
.section-nav a.is-active::after {
    transform: scaleX(1);
}

/* =============================================================
   2. ADVANTAGES
   ============================================================ */
.advantage-cards {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.advantage-cards article {
    padding: 24px;
    border: 1px solid #eee;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.advantage-cards h3 {
    margin: 0 0 12px;
    line-height: 1.35;
}
.advantage-cards p {
    margin: 0;
    font-size: var(--body-font);
    line-height: 1.6;
}

/* ---------- セクション見出し (h2) ---------- */
section h2 {
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 800;
    margin: 0 0 24px;
    line-height: 1.3;
}

/* =============================================================
  3. PLAN TABLE
   ============================================================ */
.plan-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--body-font);
}
.plan-table thead th {
    background: #f7f7f7;
    font-weight: 700;
    padding: 12px;
    border: 1px solid #ddd;
}
.plan-table tbody td {
    border: 1px solid #ddd;
    padding: 12px;
    vertical-align: top;
}
.plan-table ul {
    margin: 0;
    padding-left: 1.2em;
}
.plan-table li {
    margin-bottom: 0.3em;
}

/* =============================================================
  4. 支援フロー画像（PC で巨大化させない）
   ============================================================ */
#flow picture,
#flow img {
    max-width: 800px; /* 必要に応じ 720〜1024px で調整 */
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* =============================================================
  5. 余白ユーティリティ
   ============================================================ */
.block-64 {
    padding-block: 64px;
}

.pb-15 {
    padding-bottom: 1.5rem;
}

.mb-20 {
    margin-bottom: 2rem;
}

/* =============================================================
   6. JS 連動スタイル
   ============================================================ */
.section-nav a.is-active {
    color: var(--brand);
}

/* 特長セクション内の補足テキストブロック */
.advantages .advantage-detail {
    margin-top: 2rem; /* 好みの値に調整 */
    line-height: 1.6; /* ついでに読みやすさを調整 */
}

.pt-1 {
    padding-top: 1rem;
}

.line-18 {
    line-height: 1.8 !important;
}

.make-small {
    font-size: 0.8rem;
}

/* =============================================================
   7.  算定支援フロー画像（PC で巨大化させない）
   ============================================================ */
#advantages picture,
#advantages img {
    max-width: 800px; /* 必要に応じ 720〜1024px で調整 */
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* =============================================================
   8.  算定支援フロー画像（PC で巨大化させない）
   ============================================================ */
#merits picture,
#merits img {
    max-width: 500px; /* 必要に応じ 720〜1024px で調整 */
    width: 100%;
    height: auto;
    margin: 0 auto;
}


/* =============================================================
   その他
   ============================================================ */
.make-link {
    text-decoration: none;
    color: #116b86;
    overflow-wrap: anywhere;
}


.smaller-h1 {
    font-size: clamp(2.4rem, 4vw, 2.9rem) !important;
}


.max-600 {
    max-width: 600px !important;
}