@charset "utf-8";
/* =========================================================
   senior.html 専用スタイル（LP表示）
   common.css の「あと」に読み込むこと。
   すべて body.lp の内側にだけ効くので、他のページには影響しません。

   考え方
   ・他ページとの統一感を保つことを前提にする。
     英字ラベル・中央揃えの見出し・カード・配色は、共通スタイルのまま使う。
   ・LPらしさは「見出しの飾り」ではなく、次の3つで出す。
       1. ファーストビュー（キャッチを大きく組み、行動導線と事実を置く）
       2. ページ途中と画面下のお問い合わせ導線
       3. 読み手（60〜80代の方とそのご家族）に合わせた文字の大きさ
   ・強い色（オレンジ）はお問い合わせ導線だけに使う。
   ========================================================= */

body.lp {
    --lp-ink:       #1F2A2B;   /* ティール寄りの黒 */
    --lp-body:      #4A5654;   /* 本文。白地で約8:1 */
    --lp-teal:      #007377;   /* 共通のティールより少し濃く。可読性の確保 */
    --lp-teal-deep: #004E50;
    --lp-rule:      #DCE7E8;
    --lp-sun:       #E4541B;   /* お問い合わせ導線だけに使う */
}

/* ---------- 読みやすさ（共通スタイルからの微調整） ----------
   15px → 16px。行間を広げる。
   大きく変えると他ページと別サイトに見えるため、上げ幅は最小限にとどめる。 */
body.lp .container-narrow p,
body.lp .container p.body-text {
    font-size: 16px;
    line-height: 1.95;
    color: var(--lp-body);
    margin-bottom: 20px;
}
body.lp .check-list li {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 14px;
    color: var(--lp-body);
}
body.lp .check-list li strong { color: var(--lp-ink); }
body.lp .section-lead { font-size: 16px; line-height: 1.9; }
body.lp h3.sub-title { font-size: 18px; }
body.lp .text-small { font-size: 14px; line-height: 1.85; }
body.lp .faq-item summary { font-size: 16px; line-height: 1.7; }
body.lp .faq-item .answer { font-size: 15px; line-height: 1.9; }

/* 英字ラベルごと見えるようにアンカーの着地位置を下げる */
body.lp h2.section-title[id] { scroll-margin-top: 118px; }

/* ---------- ファーストビュー ---------- */
body.lp .page-header {
    margin-top: 72px;
    padding: 0;
    text-align: left;
    background: linear-gradient(180deg, #EDF6F7 0%, #F7FBFB 100%);
    border-bottom: 1px solid var(--lp-rule);
}
body.lp .lp-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 44px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 900px) {
    body.lp .lp-hero {
        padding: 72px 24px 64px;
        grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
        column-gap: 52px;
        row-gap: 40px;
        align-items: center;
    }
    body.lp .lp-hero-main  { grid-column: 1; grid-row: 1; }
    body.lp .lp-hero-photo { grid-column: 2; grid-row: 1; }
    body.lp .lp-facts      { grid-column: 1 / -1; grid-row: 2; }
}

/* ヒーローの写真 */
body.lp .lp-hero-photo {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(0, 62, 63, .14);
}
body.lp .lp-hero-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
@media (max-width: 899px) {
    body.lp .lp-hero-photo img { aspect-ratio: 16 / 9; }
}

/* 目次（リードの下に置いたので、上下の余白を詰める） */
body.lp .lp-toc-block { margin-top: -26px; margin-bottom: 4px; }

body.lp .page-header h1 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--lp-teal);
    margin: 0 0 18px;
    line-height: 1.4;
}
body.lp .lp-catch {
    font-size: clamp(28px, 7.4vw, 50px);
    line-height: 1.38;
    font-weight: 700;
    color: var(--lp-ink);
    margin: 0 0 20px;
}
body.lp .lp-catch em {
    font-style: normal;
    color: var(--lp-teal-deep);
}
body.lp .page-header p.lp-sub {
    font-size: 16px;
    line-height: 1.9;
    color: var(--lp-body);
    margin: 0 0 30px;
    max-width: 34em;
}

/* 行動導線 */
body.lp .lp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 26px;
    margin-bottom: 0;
}
body.lp .lp-actions .btn { padding: 16px 32px; font-size: 16px; }
body.lp .lp-tel { display: block; line-height: 1.35; }
body.lp .lp-tel small {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-body);
    margin-bottom: 2px;
}
body.lp .lp-tel strong {
    font-size: 25px;
    font-weight: 700;
    color: var(--lp-teal-deep);
    font-variant-numeric: tabular-nums;
}
body.lp .lp-tel:hover strong { text-decoration: underline; }

/* 事実を3つだけ。飾りではなく、判断のための材料として置く */
body.lp .lp-facts {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid var(--lp-rule);
    list-style: none;
}
body.lp .lp-facts li {
    padding: 2px 24px 2px 0;
    margin-right: 24px;
    border-right: 1px solid var(--lp-rule);
    font-size: 16px;
    font-weight: 700;
    color: var(--lp-ink);
    line-height: 1.5;
}
body.lp .lp-facts li:last-child { border-right: none; margin-right: 0; padding-right: 0; }
/* 「創業66年」の 66 は、年数を自動で計算して入れる span。
   下の display:block がここにも効くと「創業／66／年」と3行に折り返してしまうので、
   この span だけは文字の流れの中に戻す */
body.lp .lp-facts span.since { display: inline; font-size: inherit; color: inherit; margin: 0; }
body.lp .lp-facts span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-teal);
    margin-bottom: 2px;
}

/* ---------- 目次 ---------- */
body.lp .toc a { font-size: 15px; }

/* ---------- ページ途中のお問い合わせ導線 ---------- */
body.lp .lp-inline-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    margin-top: 40px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--lp-rule);
    border-left: 5px solid var(--lp-sun);
    border-radius: var(--radius);
}
body.lp .lp-inline-cta p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: var(--lp-ink) !important;
    margin: 0 !important;
    font-weight: 700;
}
body.lp .lp-inline-cta p small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--lp-body);
    margin-top: 4px;
}
body.lp .lp-inline-cta .btn { flex: none; }

/* ---------- 画面下に固定するお問い合わせ（スマホのみ） ---------- */
body.lp .lp-sticky {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    gap: 10px;
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--lp-rule);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .07);
}
body.lp .lp-sticky a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}
body.lp .lp-sticky .lp-sticky-tel {
    color: var(--lp-teal-deep);
    background: #fff;
    border: 2px solid var(--lp-teal);
}
body.lp .lp-sticky .lp-sticky-ask {
    color: #fff;
    background: var(--lp-sun);
}

@media (max-width: 767px) {
    body.lp .lp-sticky { display: flex; }
    body.lp { padding-bottom: 78px; }
    body.lp .lp-actions { gap: 18px; }
    body.lp .lp-actions .btn { width: 100%; }
    body.lp .lp-facts li {
        width: 100%;
        padding: 10px 0;
        margin-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--lp-rule);
    }
    body.lp .lp-facts li:last-child { border-bottom: none; padding-bottom: 0; }
    body.lp .lp-inline-cta { padding: 22px; }
    /* 横いっぱいでも、左右38pxの余白で文字が折り返していた。
       スマホは余白を詰めて1行に収める（2026-09-28） */
    body.lp .lp-inline-cta .btn { width: 100%; padding-left: 16px; padding-right: 16px; }
}

/* =========================================================
   ここから：記事風から抜けるための調整
   ・淡色の交互（#F4F8F9 と #F0F8FA）は差が1〜2%で目に見えないため作り直す
   ・写真を大きくする（420px中央 → 段の幅いっぱい）
   ・見出しと余白を大きくして、セクションの区切りを立てる
   ・「緊急時への備え」だけ反転させ、ページ全体の重心を作る
   ========================================================= */

/* ---------- 背景 ---------- */
body.lp .section.bg-light,
body.lp .section.bg-tint { background: #EDF4F5; }   /* はっきり見える淡いティール */

/* ---------- 余白 ---------- */
body.lp .section { padding: 76px 0; }
@media (min-width: 768px) { body.lp .section { padding: 112px 0; } }
body.lp .section.section--tight-top { padding-top: 64px; }
/* 節と節のあいだの余白：中身が続くところは詰める（全ページ共通・2026-09-12） */
body.lp .section.section--tight-top { padding-bottom: 36px; }
body.lp .section.section--tight-top + .section { padding-top: 46px; }
body.lp .section:not(.bg-tint):not(.lp-dark):has(+ .section:not(.bg-tint):not(.lp-dark)) { padding-bottom: 46px; }
body.lp .section:not(.bg-tint):not(.lp-dark) + .section:not(.bg-tint):not(.lp-dark) { padding-top: 46px; }
body.lp .section.bg-tint:has(+ .section.bg-tint) { padding-bottom: 46px; }
body.lp .section.bg-tint + .section.bg-tint { padding-top: 46px; }

/* ---------- 見出し ---------- */
body.lp .eyebrow {
    font-size: 12px;
    letter-spacing: .24em;
    margin-bottom: 14px;
    opacity: .9;
}
body.lp .section-title {
    font-size: clamp(25px, 3.5vw, 36px);
    line-height: 1.45;
    letter-spacing: .015em;
    margin-bottom: 16px;
    text-wrap: balance;
}
body.lp .section-lead { margin-bottom: 44px; }

/* ---------- 写真 ---------- */
/* 420px の中央寄せをやめ、段の幅いっぱいに。小さい写真の連続が記事風の主因 */
body.lp .section-photo {
    max-width: 100%;
    margin: 4px 0 36px;
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(0, 62, 63, .12);
}
body.lp .section-photo img { aspect-ratio: 16 / 9; }
body.lp .section-photo figcaption {
    font-size: 13px;
    padding: 12px 4px 0;
    letter-spacing: .02em;
}
body.lp .media-block { gap: 48px; margin: 40px 0 0; }
body.lp .media-block .media-img { border-radius: 14px; overflow: hidden; box-shadow: 0 16px 44px rgba(0, 62, 63, .12); }
body.lp .gallery figure img { border-radius: 12px; }

/* ---------- 反転セクション（緊急時への備え） ---------- */
body.lp .section.lp-dark {
    background: linear-gradient(155deg, #00595C 0%, #007E81 100%);
    color: #fff;
}
body.lp .section.lp-dark .eyebrow { color: #8FD6D7; }
body.lp .section.lp-dark .section-title { color: #fff; }
body.lp .section.lp-dark .container-narrow p,
body.lp .section.lp-dark .container p.body-text,
body.lp .section.lp-dark .section-lead { color: rgba(255, 255, 255, .90); }
body.lp .section.lp-dark .check-list li { color: rgba(255, 255, 255, .88); }
body.lp .section.lp-dark .check-list li strong { color: #fff; }
body.lp .section.lp-dark .check-list li::before { background: #8FD6D7; }
body.lp .section.lp-dark .section-photo { box-shadow: 0 20px 50px rgba(0, 0, 0, .22); }
body.lp .section.lp-dark .section-photo figcaption { color: rgba(255, 255, 255, .72); }
body.lp .section.lp-dark a { color: #C4EDEE; text-decoration: underline; text-underline-offset: .2em; }
body.lp .section.lp-dark a:focus-visible { outline-color: #fff; }

/* ---------- 表・カード ---------- */
body.lp .card { border-radius: 14px; }
body.lp .table-menu { font-size: 15px; }

/* =========================================================
   写真まわり（11枚 → 19枚に増やしたことへの対応）
   ========================================================= */

/* ---------- ヒーロー：2枚を重ねる ---------- */
body.lp .lp-hero-photo { position: relative; }
body.lp .lp-hero-photo figure { margin: 0; }
body.lp .lp-photo-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(0, 62, 63, .18);
}
body.lp .lp-photo-main img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}
body.lp .lp-photo-sub {
    position: absolute;
    left: -34px;
    bottom: -30px;
    width: 46%;
    border-radius: 12px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 14px 34px rgba(0, 62, 63, .20);
}
body.lp .lp-photo-sub img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
@media (max-width: 899px) {
    body.lp .lp-photo-main img { aspect-ratio: 16 / 10; }
    body.lp .lp-photo-sub { left: auto; right: 12px; bottom: -24px; width: 40%; border-width: 5px; }
    body.lp .lp-hero { row-gap: 46px; }
}

/* ---------- ギャラリー ---------- */
body.lp .gallery { gap: 18px; margin: 0 0 8px; }
body.lp .gallery figure {
    border: none;
    border-radius: 14px;
    background: transparent;
    box-shadow: 0 12px 32px rgba(0, 62, 63, .10);
    overflow: hidden;
}
body.lp .gallery img { aspect-ratio: 4 / 3; }
body.lp .gallery figcaption {
    font-size: 13px;
    line-height: 1.6;
    padding: 12px 14px 14px;
    color: var(--lp-body);
    background: #fff;
}
body.lp .gallery-2 img { aspect-ratio: 3 / 2; }

/* 反転セクションの中のギャラリー */
body.lp .section.lp-dark .gallery figure { box-shadow: 0 18px 44px rgba(0, 0, 0, .24); }
body.lp .section.lp-dark .gallery figcaption { color: var(--lp-body); background: #fff; }

/* 撮影待ち枠もギャラリーの見た目に合わせる */
body.lp .gallery .placeholder {
    aspect-ratio: 4 / 3;
    border: 2px dashed #C6D6D8;
    border-radius: 0;
    background: repeating-linear-gradient(45deg, #F3F7F8, #F3F7F8 10px, #E9F0F1 10px, #E9F0F1 20px);
    color: #7C9092;
    font-size: 13px;
}
body.lp .gallery-2 .placeholder { aspect-ratio: 3 / 2; }

@media (max-width: 700px) {
    body.lp .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    body.lp .gallery-2 { grid-template-columns: 1fr; }
    body.lp .gallery figcaption { font-size: 12.5px; padding: 10px 12px 12px; }
}

/* =========================================================
   (1) 2カラム（左＝説明と写真／右＝箇条書き）
   ========================================================= */
body.lp .lp-split { display: grid; grid-template-columns: 1fr; gap: 34px; }
@media (min-width: 820px) {
    body.lp .lp-split {
        grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
        column-gap: 52px;
        align-items: start;
    }
}
body.lp .lp-split .sub-title { margin-top: 0; }
body.lp .lp-split-photo {
    margin: 26px 0 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 62, 63, .10);
}
body.lp .lp-split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
body.lp .lp-split-photo figcaption {
    font-size: 13px; line-height: 1.6; padding: 12px 14px 14px;
    color: var(--lp-body); background: #fff;
}
body.lp .lp-split .check-list li:last-child { margin-bottom: 0; }

/* =========================================================
   (2) 費用の比較ギャラリー
   ========================================================= */
body.lp .lp-price-gallery { margin-top: 28px; margin-bottom: 32px; }
body.lp .lp-price-gallery img { aspect-ratio: 4 / 3; }
body.lp .lp-price-gallery figcaption { padding: 14px 16px 16px; }
body.lp .lp-price-gallery figcaption b {
    display: block;
    font-size: 16px;
    color: var(--lp-ink);
    margin-bottom: 2px;
}

/* =========================================================
   (3) ご入居までの4ステップ
       箱を4つ並べるだけの見た目をやめ、番号でつないだ手順に見せる
   ========================================================= */
body.lp .flow-grid { gap: 0; margin-top: 44px; position: relative; }
@media (min-width: 900px) {
    body.lp .flow-grid { grid-template-columns: repeat(4, 1fr); }
    /* ステップをつなぐ横線 */
    body.lp .flow-grid::before {
        content: "";
        position: absolute;
        top: 30px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background: repeating-linear-gradient(90deg, #B9DCDD 0 8px, transparent 8px 16px);
    }
}
body.lp .flow-step {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}
body.lp .flow-step .no {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    font-size: 22px;
    background: #fff;
    color: var(--lp-teal-deep);
    border: 2px solid var(--lp-teal);
    box-shadow: 0 6px 18px rgba(0, 62, 63, .10);
}
body.lp .section.bg-tint .flow-step .no { background: #fff; }
body.lp .flow-step h3 {
    font-size: 17px;
    color: var(--lp-ink);
    margin-bottom: 8px;
}
body.lp .flow-step p { font-size: 15px !important; line-height: 1.85 !important; }

@media (max-width: 899px) {
    body.lp .flow-grid { grid-template-columns: 1fr; gap: 26px; }
    body.lp .flow-step {
        display: grid;
        grid-template-columns: 60px 1fr;
        column-gap: 18px;
        align-items: start;
        text-align: left;
        padding: 0;
    }
    body.lp .flow-step .no { margin-bottom: 0; grid-row: 1 / span 2; }
    body.lp .flow-step h3 { margin-top: 4px; }
}

/* =========================================================
   リードの見出し
   トップページの .about-title（27px の大きな見出し＋本文）と
   同じ組み方に合わせる。問いかけの2文を見出しとして立てる。
   ========================================================= */
body.lp .container-narrow p.lp-lead-title {
    font-size: clamp(21px, 2.7vw, 28px);
    line-height: 1.62;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--lp-ink);
    margin-bottom: 24px;
    text-wrap: balance;
}
body.lp .media-block .media-img { flex: 1; }

/* ============================================================
   記事へのリンクカード（サムネイル＋タイトル＋説明）
   別のページの記事へ渡すためのもの。CTAより一段弱い見た目にする。
   ============================================================ */
body.lp .a-linkcards{ display:grid; gap:14px; margin:22px 0 8px; }
body.lp .a-linkcard{
  display:grid; grid-template-columns:150px 1fr; align-items:stretch;
  border:1px solid var(--lp-rule); border-radius:12px; overflow:hidden; background:#fff;
  text-decoration:none; transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
body.lp .a-linkcard:hover,
body.lp .a-linkcard:focus-visible{ border-color:var(--lp-teal); transform:translateY(-2px); box-shadow:0 8px 20px rgba(0,62,63,.10); }
body.lp .a-linkcard img{ width:100%; height:100%; min-height:112px; object-fit:cover; display:block; }
body.lp .a-linkcard .tx{ padding:15px 18px 14px; display:flex; flex-direction:column; }
body.lp .a-linkcard .ttl{ margin:0 0 6px; font-size:17px; font-weight:700; line-height:1.5; color:var(--lp-ink); }
body.lp .a-linkcard .ds{ margin:0 0 10px; font-size:14px; line-height:1.75; color:var(--lp-body); }
body.lp .a-linkcard .more{ margin-top:auto; align-self:flex-start; font-size:13.5px; font-weight:700; color:var(--lp-teal-deep); }
body.lp .a-linkcard .more::after{ content:" →"; }
body.lp .a-linkcard:hover .ttl{ color:var(--lp-teal-deep); }
@media (max-width:560px){
  body.lp .a-linkcard{ grid-template-columns:104px 1fr; }
  body.lp .a-linkcard .tx{ padding:12px 14px 12px; }
  body.lp .a-linkcard .ttl{ font-size:15.5px; }
  body.lp .a-linkcard .ds{ font-size:13.5px; margin-bottom:8px; }
}

/* ==========================================================
   ヒーローのキャッチ：語中での改行を防ぐ
     2列レイアウト（900px以上）では、左の段が約408〜510px。
     50pxのままだと「杉本町駅から徒歩3分、」の1行が段に収まらず、
     「徒歩3」「分、」のように語の途中で折り返していた。
     段の幅（およそ (画面幅−100px)×0.51 ）を11.2文字で割った大きさに合わせる。
   ========================================================== */
@media (min-width: 900px) {
    body.lp .lp-hero .lp-catch { font-size: min(45px, calc(4.55vw - 4.55px)); }
}


/* ==========================================================
   濃い背景の節（.lp-dark）の中にある「白いカード」の文字色を戻す
     .lp-dark は節ぜんぶを白文字にする。その中に白い背景のカードを
     置くと、<b> や <span> で囲まれていない裸のテキストが
     「白の上に白」で消える（2026-09-18 依頼主の指摘）。

     例： <li><b>TV・冷蔵庫</b>有料レンタル。シェアルームに…</li>
                              ↑ここが囲まれておらず、白いまま

     カードの側で文字色を決め直せば、中の裸テキストも読めるようになる。
     法人ページ・短期ページの両方で同じことが起きていた。
   ========================================================== */
body.lp .section.lp-dark .lp-items > div,
body.lp .section.lp-dark .card,
body.lp .section.lp-dark .lp-feature-grid > div {
    color: var(--lp-body);
}

/* 濃い背景の節の中で、まとまりを分ける白い帯の見出し。
   短期ページ（css/short/v01.css）にしか無く、ほかのページでは
   ただの文字になっていた。どのページでも使えるよう共通に置く。
   ※ short/v01.css の同じ指定は残してある（そちらが後から効く） */
body.lp .lp-subhead {
    display: block; width: fit-content; max-width: 100%;
    margin: 40px auto 20px;
    padding: 9px 26px;
    background: #fff;
    color: var(--corporate-color);
    font-size: 16.5px; font-weight: 700; line-height: 1.5; letter-spacing: .04em;
    text-align: center; border-radius: 999px;
}
body.lp .lp-subhead:first-of-type { margin-top: 28px; }
@media (max-width: 767px) {
    body.lp .lp-subhead { margin: 30px auto 16px; padding: 8px 20px; font-size: 15px; }
}
