/* =====================================================================
   有田ケーブル・ネットワーク  トップページ
   Design: Modern Japanese Minimalism / Arita porcelain indigo
   Fonts:  Noto Sans JP (body) / Shippori Mincho (headings)
   ===================================================================== */

:root{
  --indigo:#1F4E8C;
  --indigo-dark:#17396A;
  --navy:#0E2748;
  --bg:#F8FAFC;
  --ink:#1E293B;
  --muted:#5B6472;
  --muted-2:#626C7A;
  --soft:#EAF2FB;
  --line:#EAF0F7;
  --accent:#DCEAF7;
  --alert:#B23B34;
  --maxw:1200px;
  --header-h:57px;      /* sticky ヘッダー実測高（サブナビ配置・scroll-margin の基準） */
  --radius:16px;        /* 新コンポーネント用（既存はハードコードのまま） */
  --radius-sm:11px;
}

/* スムーズスクロール（reduced-motion 尊重・ページ内ナビ用） */
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg);
  font-family:"Noto Sans JP",system-ui,sans-serif;
  color:var(--ink);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:var(--indigo);text-decoration:none}
a:hover{color:var(--indigo-dark)}
button{font-family:inherit}
::selection{background:var(--accent)}

/* zoom-based font scaling (from utility bar) */
.page{transition:zoom .2s}

.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* ---------- shared section head ---------- */
.section{padding:92px 0}
.section--soft{background:var(--soft)}
.section--dark{background:var(--navy)}

.section-head{text-align:center;margin-bottom:52px}
.section-head__eyebrow{font-size:12px;letter-spacing:.26em;font-weight:600;color:var(--indigo);margin-bottom:14px}
.section-head__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:34px;margin:0 0 14px;letter-spacing:.03em}
.section-head__lead{color:var(--muted);font-size:15px;margin:0}

/* ---------- primary button ---------- */
.btn-primary{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--indigo);color:#fff;font-weight:700;font-size:14.5px;
  padding:11px 22px;border-radius:11px;
  box-shadow:0 6px 16px rgba(31,78,140,.22);
  transition:background .2s;
}
.btn-primary:hover{background:var(--indigo-dark);color:#fff}
.btn-primary__arrow{font-size:12px}

/* 番組表アプリへのCTAボタン（トップ／コミチャン） */
.epg-app-cta .btn-primary{font-size:15.5px;padding:14px 30px}

/* 番組表ビューワーの埋め込み（トップ／コミチャン共通） */

/* ---------- round nav arrows ---------- */
.round-arrow{
  width:42px;height:42px;border-radius:50%;border:1px solid #E1E8F1;background:#fff;
  color:var(--indigo);font-size:18px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .2s,border-color .2s;
}
.round-arrow:hover{background:var(--soft)}

/* =====================================================================
   アラート
   ===================================================================== */
.alert{background:var(--alert);color:#fff}
.alert.is-hidden{display:none}
.alert__inner{max-width:var(--maxw);margin:0 auto;padding:9px 24px;display:flex;align-items:center;gap:14px;font-size:13.5px}
.alert__label{flex:none;display:inline-flex;align-items:center;gap:7px;font-weight:700;letter-spacing:.02em}
.alert__dot{width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.25)}
.alert__text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.96}
.alert__link{flex:none;color:#fff;text-decoration:underline;text-underline-offset:3px;font-size:13px}
.alert__link:hover{color:#fff}
.alert__close{flex:none;background:transparent;border:0;color:#fff;font-size:16px;cursor:pointer;opacity:.85;line-height:1;padding:2px 4px}
.alert__close:hover{opacity:1}

/* =====================================================================
   ユーティリティバー
   ===================================================================== */
.utility{background:#fff;border-bottom:1px solid var(--line)}
.utility__inner{max-width:var(--maxw);margin:0 auto;padding:7px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12.5px;color:var(--muted)}
.utility__region{letter-spacing:.02em}
.utility__right{display:flex;align-items:center;gap:18px}
.utility__link{color:var(--muted)}
.utility__link:hover{color:var(--indigo)}
.utility__sep{color:#DCE3EC}
.fontsize{display:inline-flex;align-items:center;gap:6px;margin-left:6px}
.fontsize__label{color:var(--muted-2);font-size:11.5px}
.fontsize__btn{width:26px;height:24px;border:1px solid #D6DEE8;background:#fff;border-radius:6px;color:var(--muted);cursor:pointer}
.fontsize__btn.is-active{border-color:var(--indigo);color:var(--indigo);background:var(--soft)}

/* =====================================================================
   ヘッダー
   ===================================================================== */
.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;box-shadow:0 1px 12px rgba(31,78,140,.04)}
.header__inner{max-width:var(--maxw);margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.header__logo{flex:none;display:flex;align-items:center}
.header__logo img{height:34px;width:auto}
.header__actions{flex:none;display:flex;align-items:center;gap:14px}

/* =====================================================================
   モザイクヒーロー（画像コラージュ・全幅・ファーストビュー）
   ===================================================================== */
.mosaic{background:#fff;padding:0}
.mosaic__inner{max-width:none;margin:0;padding:0}
.mosaic__grid{display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(6,1fr);gap:8px;height:clamp(440px,40vw,620px)}
.mosaic__tile{position:relative;overflow:hidden;border-radius:10px;margin:0;background:var(--soft)}
/* 初回表示：各タイルがマスクワイプで登場（ease-out・ステガー）。方向は4種を混在。角丸はワイプ中も維持 */
@keyframes mosaicWipeLR{ from{clip-path:inset(0 100% 0 0 round 10px)} to{clip-path:inset(0 0 0 0 round 10px)} }  /* 左→右 */
@keyframes mosaicWipeRL{ from{clip-path:inset(0 0 0 100% round 10px)} to{clip-path:inset(0 0 0 0 round 10px)} }  /* 右→左 */
@keyframes mosaicWipeTB{ from{clip-path:inset(0 0 100% 0 round 10px)} to{clip-path:inset(0 0 0 0 round 10px)} }  /* 上→下 */
@keyframes mosaicWipeBT{ from{clip-path:inset(100% 0 0 0 round 10px)} to{clip-path:inset(0 0 0 0 round 10px)} }  /* 下→上 */
@media (prefers-reduced-motion:no-preference){
  .mosaic__tile{animation-duration:.8s;animation-timing-function:ease-out;animation-fill-mode:both}
  .mosaic__tile--a{animation-name:mosaicWipeRL;animation-delay:0s}
  .mosaic__tile--c{animation-name:mosaicWipeTB;animation-delay:.08s}
  .mosaic__tile--b{animation-name:mosaicWipeBT;animation-delay:.10s}
  .mosaic__tile--d{animation-name:mosaicWipeBT;animation-delay:.16s}
  .mosaic__tile--g{animation-name:mosaicWipeLR;animation-delay:.16s}
  .mosaic__tile--e{animation-name:mosaicWipeRL;animation-delay:.20s}
  .mosaic__tile--h{animation-name:mosaicWipeLR;animation-delay:.24s}
  .mosaic__tile--f{animation-name:mosaicWipeTB;animation-delay:.28s}
}
.mosaic__tile::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0) 45%)}
.mosaic__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(1.03) saturate(.97)}
/* PC配置（12列×6行・8タイル） */
.mosaic__tile--a{grid-column:1/4;grid-row:1/4}
.mosaic__tile--c{grid-column:4/8;grid-row:1/4}
.mosaic__tile--d{grid-column:8/11;grid-row:1/3}
.mosaic__tile--h{grid-column:11/13;grid-row:1/3}
.mosaic__tile--e{grid-column:8/11;grid-row:3/7}
.mosaic__tile--f{grid-column:11/13;grid-row:3/7}
.mosaic__tile--b{grid-column:1/5;grid-row:4/7}
.mosaic__tile--g{grid-column:5/8;grid-row:4/7}
@media (max-width:1024px){
  .mosaic__grid{grid-template-rows:repeat(4,1fr);height:clamp(300px,44vw,460px)}
  .mosaic__tile--c{grid-column:1/7;grid-row:1/3}
  .mosaic__tile--d{grid-column:7/13;grid-row:1/3}
  .mosaic__tile--a{grid-column:1/5;grid-row:3/5}
  .mosaic__tile--g{grid-column:5/9;grid-row:3/5}
  .mosaic__tile--e{grid-column:9/13;grid-row:3/5}
  .mosaic__tile--b,.mosaic__tile--f,.mosaic__tile--h{display:none}
}
@media (max-width:640px), (max-height:500px) and (max-width:960px){
  /* スマホはグリッドをやめ、1枚の全幅画像が入れ替わるスライドショーに（表示は c のみ）。16:9で画像全体が収まる。
     縦画面(≤640px)に加え、横向きスマホ(高さ≤500 かつ 幅≤960)も同じ1枚表示にする */
  .mosaic__grid{grid-template-columns:1fr;grid-template-rows:1fr;gap:0;aspect-ratio:16/9;height:auto}
  .mosaic__tile--c{grid-column:1;grid-row:1;display:block}
  .mosaic__tile--a,.mosaic__tile--b,.mosaic__tile--d,.mosaic__tile--e,.mosaic__tile--f,.mosaic__tile--g,.mosaic__tile--h{display:none}
}

#services{scroll-margin-top:calc(var(--header-h) + 10px)}

/* =====================================================================
   カテゴリナビ（ヒーロー下のボタン）
   ===================================================================== */

/* =====================================================================
   サービス案内
   ===================================================================== */
.services{padding:60px 0 92px}

/* =====================================================================
   新着情報
   ===================================================================== */
/* 上が8pxなのは、直前セクションの下paddingを上余白として使う作りのため */
.news{padding:8px 0 24px}
.news__container{max-width:1160px;margin:0 auto;padding:0 24px}
.news__panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 6px 22px rgba(31,78,140,.06);display:flex;flex-wrap:wrap;overflow:hidden}
.news__side{flex:none;width:236px;background:var(--soft);padding:26px 30px;display:flex;flex-direction:column;justify-content:center}
.news__eyebrow{font-size:11px;letter-spacing:.24em;font-weight:600;color:var(--indigo);margin-bottom:8px}
.news__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:22px;margin:0 0 16px;letter-spacing:.02em}
.news__all{font-size:13px;font-weight:700;color:var(--indigo);display:inline-flex;align-items:center;gap:6px}
.news__list{flex:1;min-width:300px;padding:4px 30px}
.news__item{display:flex;align-items:center;gap:18px;padding:15px 0;border-bottom:1px solid #EEF2F7;color:var(--ink)}
.news__item:hover{color:var(--indigo)}
.news__date{flex:none;width:84px;font-size:12.5px;color:var(--muted-2);font-family:"Shippori Mincho",serif}
.news__tag{flex:none;width:84px;text-align:center;font-size:11px;font-weight:700;padding:3px 0;border-radius:5px}
.news__headline{flex:1;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* =====================================================================
   キャンペーン
   ===================================================================== */
/* モザイクの直下に来るので、上は詰めめに取る（旧ヒーローの余白40pxに近い間） */
.campaign{padding:56px 0 72px}
/* キャンペーン スライダー（お客さまの声と同方式） */
/* 見出しは置かず、前後ボタンだけを右端に載せる帯。
   space-between のままだと、子が1つになったボタンが左端に寄ってしまう */
.campaign__head{display:flex;align-items:center;justify-content:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:20px}
.campaign__controls{display:flex;gap:10px}
.campaign__viewport{overflow:hidden}
.campaign__track{display:flex;gap:20px;transition:transform .7s cubic-bezier(.4,0,.2,1);touch-action:pan-y}
.campaign__track .promo-card{flex:0 0 calc((100% - 40px) / 3)}
.campaign__dots{display:flex;justify-content:center;gap:9px;margin-top:24px}
.campaign__dot{height:7px;border:0;border-radius:4px;cursor:pointer;padding:0;transition:all .4s;width:8px;background:#D6DEE8}
.campaign__dot.is-active{width:26px;background:var(--indigo)}
@media(max-width:900px){.campaign__track .promo-card{flex:0 0 calc((100% - 20px) / 2)}}
@media(max-width:640px){.campaign__track .promo-card{flex:0 0 100%}}
.promo-card{display:block;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 6px 22px rgba(31,78,140,.06);transition:transform .3s,box-shadow .3s}
.promo-card:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(31,78,140,.13)}
.promo-card__img{width:100%;height:210px;object-fit:cover}
.promo-card__body{padding:22px 22px 26px}
.promo-card__title{font-family:"Shippori Mincho",serif;font-weight:600;font-size:19px;margin:0 0 8px}
.promo-card__desc{color:var(--muted);font-size:14px;margin:0}
.promo-card__line{height:210px;background:#06C755;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.promo-card__line-badge{width:66px;height:66px;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;color:#06C755;font-weight:800;font-size:18px;letter-spacing:.03em}
.promo-card__line-text{color:#fff;font-weight:700;font-size:16px}

/* ===== Bento Grid（サービス案内） ===== */
.bento{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;grid-auto-rows:248px}
.bento-card{position:relative;display:block;border-radius:20px;overflow:hidden;box-shadow:0 6px 22px rgba(31,78,140,.08);transition:transform .3s,box-shadow .3s}
.bento-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(31,78,140,.16)}
.bento-card--lg{grid-column:span 2}
.bento-card__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.bento-card:hover .bento-card__img{transform:scale(1.05)}
.bento-card__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,39,72,0) 34%,rgba(14,39,72,.34) 62%,rgba(14,39,72,.82) 100%)}
.bento-card__accent{position:absolute;left:0;top:0;bottom:0;width:5px;z-index:1}
.bento-card__body{position:absolute;left:0;right:0;bottom:0;padding:22px 24px;color:#fff;z-index:1}
.bento-card__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:20px;margin:0 0 5px;color:#fff;line-height:1.3;text-shadow:0 1px 8px rgba(0,0,0,.3)}
.bento-card--lg .bento-card__title{font-size:30px}
.bento-card__desc{font-size:13px;margin:0;color:#fff;opacity:.94;line-height:1.6;text-shadow:0 1px 6px rgba(0,0,0,.35);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bento-card--lg .bento-card__desc{font-size:15px}
.bento-card__more{display:inline-flex;align-items:center;gap:5px;margin-top:10px;font-size:12.5px;font-weight:700;color:#fff}
.bento-card__new{position:absolute;top:14px;right:14px;background:#C77A2B;color:#fff;font-size:11px;font-weight:700;letter-spacing:.06em;padding:4px 11px;border-radius:20px;z-index:2}
@media (max-width:900px){
  .bento{grid-template-columns:repeat(2,1fr);grid-auto-rows:200px}
  .bento-card--lg{grid-column:span 2}
  .bento-card--lg .bento-card__title{font-size:26px}
}
@media (max-width:560px){
  .bento{grid-template-columns:1fr;grid-auto-rows:172px;gap:14px}
  .bento-card--lg{grid-column:span 1}
  .bento-card--lg .bento-card__title{font-size:24px}
}

/* ===== キャンペーン 非対称グリッド ===== */

/* ===== 番組表 タイムライン ===== */
.timeline{list-style:none;margin:0 auto;padding:0;max-width:720px}
.timeline__item{position:relative;display:grid;grid-template-columns:52px 1fr;gap:22px;padding-bottom:20px}
.timeline__item:last-child{padding-bottom:0}
.timeline__item::before{content:"";position:absolute;left:62px;top:6px;bottom:-14px;width:2px;background:var(--line)}
.timeline__item:last-child::before{display:none}
.timeline__item::after{content:"";position:absolute;left:57px;top:5px;width:12px;height:12px;border-radius:50%;background:var(--indigo);border:2px solid #fff;box-shadow:0 0 0 2px var(--indigo)}
.timeline__time{text-align:right;font-weight:700;color:var(--indigo);font-size:14px;padding-top:3px;font-family:"Shippori Mincho",serif}
.timeline__card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 6px 22px rgba(31,78,140,.06);padding:16px 20px;display:flex;align-items:center;gap:16px}
.timeline__icon{width:46px;height:46px;border-radius:13px;background:var(--soft);display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}
.timeline__info{min-width:0}
.timeline__name{font-weight:700;font-size:16px;margin:0 0 4px;color:var(--ink);line-height:1.4}
.timeline__meta{font-size:13px;color:var(--muted);margin:0}
.timeline__ch{color:var(--indigo);font-weight:700}
.timeline__now{display:inline-block;margin-left:.5em;font-size:11px;font-weight:700;color:#fff;background:var(--indigo);border-radius:999px;padding:2px 9px;vertical-align:middle;letter-spacing:.02em}
.timeline__item.is-live .timeline__card{border-color:var(--indigo);box-shadow:0 8px 24px rgba(31,78,140,.14)}
@media (max-width:560px){
  .timeline__item{grid-template-columns:44px 1fr;gap:16px}
  .timeline__item::before{left:50px}
  .timeline__item::after{left:45px}
  .timeline__card{padding:13px 15px;gap:12px}
  .timeline__icon{width:40px;height:40px;font-size:20px}
}
.chip{display:inline-block;font-size:11.5px;font-weight:700;padding:4px 12px;border-radius:20px;margin-bottom:12px}

/* =====================================================================
   初めて / ご加入中
   ===================================================================== */
.split__grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.split .split__grid--4{grid-template-columns:repeat(4,1fr);gap:22px}
@media (max-width:1000px){.split .split__grid--4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.split .split__grid--4{grid-template-columns:1fr}}
.feature-card{position:relative;display:block;border-radius:20px;overflow:hidden;min-height:280px}
.feature-card:hover{opacity:.96}
.feature-card__img{width:100%;height:100%;min-height:280px;object-fit:cover;position:absolute;inset:0}
.feature-card__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,39,72,.15),rgba(14,39,72,.82))}
.feature-card__body{position:relative;padding:34px;display:flex;flex-direction:column;justify-content:flex-end;min-height:280px;color:#fff}
.feature-card__eyebrow{font-size:11px;letter-spacing:.24em;font-weight:600;color:#BFD6F0;margin-bottom:10px}
.feature-card__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:26px;margin:0 0 10px}
.feature-card__more{font-weight:700;font-size:14.5px;display:inline-flex;align-items:center;gap:8px}
.feature-card__arrow{font-size:12px}

/* =====================================================================
   コミュニティチャンネル / YouTube
   ===================================================================== */
.community{padding:92px 0}
.community .section-head{margin-bottom:44px}
.yt{margin-bottom:64px}
.yt__head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}
.yt__brand{display:flex;align-items:center;gap:14px}
.yt__icon{width:46px;height:46px;border-radius:12px;background:var(--alert);display:flex;align-items:center;justify-content:center;flex:none}
.yt__eyebrow{font-size:11px;letter-spacing:.16em;font-weight:600;color:#7E5AA8}
.yt__name{font-family:"Shippori Mincho",serif;font-weight:700;font-size:18px}
.yt__subscribe{display:inline-flex;align-items:center;gap:8px;background:var(--alert);color:#fff;font-weight:700;padding:11px 22px;border-radius:11px;font-size:14px;transition:background .2s}
.yt__subscribe:hover{background:#93302a;color:#fff}
.yt__viewport-wrap{position:relative}
.yt__viewport{overflow:hidden;border-radius:14px}
.yt__track{display:flex;gap:20px;transition:transform .7s cubic-bezier(.4,0,.2,1)}
.yt-card{flex:0 0 calc((100% - 40px) / 3);border-radius:14px;overflow:hidden;background:#fff;border:1px solid #EAE3F4;box-shadow:0 6px 20px rgba(31,78,140,.07);display:block;transition:transform .3s}
.yt-card:hover{transform:translateY(-4px)}
.yt-card__media{position:relative}
.yt-card__media img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.yt-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,39,72,.02),rgba(14,39,72,.30))}
.yt-card__play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:rgba(178,59,52,.94);display:flex;align-items:center;justify-content:center}
.yt-card__tri{border-left:17px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent;margin-left:4px}
.yt-card__body{padding:15px 18px 17px}
.yt-card__title{font-weight:700;font-size:16px;margin-bottom:3px;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.yt-card__sub{font-size:12px;color:var(--muted-2)}
.yt__arrow{position:absolute;top:calc(50% - 34px);transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid #EAE3F4;background:#fff;color:var(--alert);font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.12);z-index:2}
.yt__arrow--prev{left:-16px}
.yt__arrow--next{right:-16px}
.yt__dots{display:flex;justify-content:center;gap:9px;margin-top:22px}
.yt__dot{height:7px;border:0;border-radius:4px;cursor:pointer;padding:0;transition:all .4s;width:8px;background:#D8CEE8}
.yt__dot.is-active{width:26px;background:#7E5AA8}

/* ---------- 番組表 ---------- */
.epg__tab{padding:11px 26px;border-radius:11px;font-weight:700;font-size:14.5px;cursor:pointer;border:1px solid #C9D8EA;transition:all .25s;background:#fff;color:var(--muted)}
.epg__tab.is-active{background:var(--indigo);color:#fff}
.epg__row{display:flex;align-items:center;gap:24px;padding:16px 0;border-bottom:1px solid #EEF2F7}
.epg__time{flex:none;width:64px;font-weight:700;font-size:18px;color:var(--indigo)}
.epg__name{flex:1;font-size:15.5px;font-weight:500;color:var(--ink)}
.epg__ch{flex:none;font-size:12px;color:var(--muted-2);background:#F1F5FA;padding:4px 12px;border-radius:20px}

/* =====================================================================
   Instagram
   ===================================================================== */
.instagram{padding:92px 0}
.instagram__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:28px}
.instagram__intro{max-width:640px}
.instagram__eyebrow{text-align:left;margin-bottom:14px}
.instagram__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:32px;margin:0 0 14px;letter-spacing:.03em;line-height:1.5}
.instagram__lead{color:var(--muted);font-size:15px;margin:0 0 18px;max-width:714px}
.instagram__handle-wrap{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.instagram__handle{display:inline-flex;align-items:center;gap:10px;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:9px 16px}
.instagram__handle-icon{width:32px;height:32px;border-radius:9px;background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF);display:flex;align-items:center;justify-content:center}
.instagram__handle-name{font-weight:700;font-size:14px;color:var(--ink)}
.instagram__controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.instagram__follow{display:inline-flex;align-items:center;gap:7px;background:var(--ink);color:#fff;font-weight:700;padding:11px 22px;border-radius:11px;font-size:13.5px;transition:background .2s}
.instagram__follow:hover{background:var(--navy);color:#fff}
.instagram__track{overflow:hidden;padding:4px 2px 12px}
.instagram__marquee{display:flex;gap:18px;width:max-content;will-change:transform}

@media (prefers-reduced-motion:reduce){.instagram__marquee{transform:none!important}}
.ig-card{flex:none;width:262px;height:262px;position:relative;display:block;border-radius:16px;overflow:hidden;box-shadow:0 6px 22px rgba(31,78,140,.08)}
.ig-card:hover{opacity:.95}
.ig-card img{width:262px;height:262px;object-fit:cover}
.ig-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 60%,rgba(0,0,0,.34))}
.ig-card__icon{position:absolute;top:12px;left:12px;width:30px;height:30px;border-radius:8px;background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF);display:flex;align-items:center;justify-content:center}

/* =====================================================================
   お客さまの声
   ===================================================================== */
.voice{padding:88px 0}
.voice__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:36px}
.voice__eyebrow{text-align:left;margin-bottom:14px}
.voice__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:34px;margin:0;letter-spacing:.03em}
.voice__controls{display:flex;align-items:center;gap:10px}
.voice__viewport{overflow:hidden}
.voice__track{display:flex;gap:22px;transition:transform 1.1s cubic-bezier(.4,0,.2,1);touch-action:pan-y}
.voice-card{flex:0 0 calc((100% - 44px) / 3);background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 6px 22px rgba(31,78,140,.06);padding:28px 26px;display:flex;flex-direction:column}
.voice-card__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:18px;text-align:center;line-height:1.6;margin:0 0 16px}
.voice-card__text{font-size:13.5px;color:var(--muted);line-height:1.95;margin:0 0 18px}
.voice-card__meta{text-align:center;font-size:12.5px;font-weight:700;color:var(--ink);margin-bottom:16px}
.voice-card__avatar-wrap{margin-top:auto;display:flex;justify-content:center}
.voice-card__avatar{width:92px;height:92px;border-radius:50%;background:var(--soft);display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.voice-card__avatar img{width:74px;height:74px;object-fit:contain}
.voice__dots{display:flex;justify-content:center;gap:9px;margin-top:24px}
.voice__dot{height:7px;border:0;border-radius:4px;cursor:pointer;padding:0;transition:all .4s;width:8px;background:#D6DEE8}
.voice__dot.is-active{width:26px;background:var(--indigo)}

/* =====================================================================
   サービス対応エリア
   ===================================================================== */
.area{padding:88px 0}
.area__container{max-width:1000px;margin:0 auto;padding:0 24px}
.area .section-head{margin-bottom:40px}
.area__panel{background:#fff;border-radius:20px;padding:24px;box-shadow:0 8px 28px rgba(31,78,140,.08);display:flex;flex-direction:column;gap:22px}
.area__map{border-radius:16px;overflow:hidden;background:var(--soft);line-height:0}
.area__map img{width:100%;height:auto;display:block}

/* =====================================================================
   加入受付 CTA
   ===================================================================== */
.reception{background:var(--indigo);padding:64px 0}
.reception__inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.reception__copy{color:#fff}
.reception__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:28px;margin:0 0 8px;letter-spacing:.03em}
.reception__lead{margin:0;color:#C9DBF0;font-size:15px}
.reception__buttons{display:flex;gap:14px;flex-wrap:wrap}
.reception__btn{font-weight:700;padding:16px 34px;border-radius:12px;font-size:16px}
.reception__btn--solid{background:#fff;color:var(--indigo);box-shadow:0 8px 22px rgba(0,0,0,.18)}
.reception__btn--solid:hover{background:#EAF2FB;color:var(--indigo)}
.reception__btn--ghost{border:1px solid rgba(255,255,255,.6);color:#fff}
.reception__btn--ghost:hover{background:rgba(255,255,255,.12);color:#fff}

/* =====================================================================
   フッター
   ===================================================================== */
.footer{background:var(--navy);color:#B7C6DA;padding:60px 0 30px}
.footer__top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px;padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer__logo{display:inline-flex;background:#fff;border-radius:12px;padding:10px 16px;margin-bottom:18px}
.footer__logo img{height:50px;width:auto}
.footer__address{font-size:13px;line-height:1.9;margin:0;color:#8FA1B8}
.footer__heading{color:#fff;font-weight:700;font-size:14px;margin-bottom:16px}
.footer__links{display:flex;flex-direction:column;gap:11px;font-size:13.5px}
.footer__links a{color:#B7C6DA}
.footer__links a:hover{color:#fff}
.footer__bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding-top:24px}
.footer__legal{display:flex;gap:22px;font-size:12.5px;flex-wrap:wrap}
.footer__legal a{color:#8FA1B8}
.footer__legal a:hover{color:#fff}
.footer__copy{font-size:12px;color:#9AAABF}

/* =====================================================================
   レスポンシブ
   ===================================================================== */
@media (max-width:1080px){
  .footer__top{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .section{padding:64px 0}
  .section-head__title{font-size:28px}
  .voice-card{flex:0 0 calc((100% - 22px) / 2)}
  .yt-card{flex:0 0 calc((100% - 20px) / 2)}
}
@media (max-width:640px){
  .container,.news__container,.area__container,.reception__inner,.alert__inner,.utility__inner,.header__inner{padding-left:16px;padding-right:16px}
  .split__grid{grid-template-columns:1fr}
  .news__panel{flex-direction:column}
  .news__side{width:100%}
  .news__item{flex-wrap:wrap;gap:8px 12px}
  .news__date{width:auto}
  .news__tag{width:auto;min-width:76px;padding:3px 10px}
  .news__headline{flex:1 0 100%;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.6}
  .footer__top{grid-template-columns:1fr}
  .utility__region{display:none}
  .header__inner{gap:10px}
  .header__logo img{height:auto;max-width:168px}
  .header__cta{padding:9px 16px;font-size:13px}
  .voice-card{flex:0 0 100%}
  .yt-card{flex:0 0 calc((100% - 20px) / 1)}
  .reception__inner{flex-direction:column;align-items:flex-start}
}

/* =====================================================================
   ▼▼▼ 多ページ共通フレームワーク（ヘッダーメニュー / ドロワー / 下層UI） ▼▼▼
   単一ブレイクポイント 768px。既存トークン・質感を踏襲。
   ===================================================================== */

/* ---------- アクセシビリティ基盤 ---------- */
.skip-link{position:absolute;left:16px;top:-48px;z-index:200;background:var(--indigo);color:#fff;padding:10px 16px;border-radius:0 0 10px 10px;font-weight:700;font-size:13px;transition:top .2s}
.skip-link:focus{top:0;color:#fff}
:focus-visible{outline:3px solid #6FA8DC;outline-offset:2px;border-radius:4px}

/* ---------- ヘッダー：メニューボタン ---------- */
.header__menu{width:44px;height:44px;border:1px solid #E1E8F1;border-radius:10px;background:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;transition:border-color .2s}
.header__menu:hover{border-color:var(--indigo)}
.header__menu-bar{width:20px;height:2px;background:var(--indigo);border-radius:2px}

/* 下層ページのヘッダー内グローバルナビ（主要サービス） */
.header__nav{flex:1;display:flex;align-items:center;justify-content:center;gap:20px;font-size:13.5px;font-weight:500;white-space:nowrap}
.header__nav a{color:var(--ink);padding:6px 2px}
.header__nav a:hover{color:var(--indigo)}
.header__nav a.is-current{color:var(--indigo);font-weight:700}
/* ヘッダー内容（ロゴ296+ナビ593+ボタン165+gap40+padding48＝約1142px）が収まらない幅では
   横並びナビを隠してハンバーガーに切り替える。900pxのままだと901〜1142pxで横はみ出しが起きていた。 */
@media (max-width:1160px){ .header__nav{display:none} }

/* ---------- ドロワーナビ ---------- */
.drawer-overlay{position:fixed;inset:0;background:rgba(14,39,72,.44);opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;z-index:80}
.drawer-overlay.is-open{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;right:0;height:100%;width:320px;max-width:86vw;background:#fff;z-index:90;padding:26px 24px 32px;display:flex;flex-direction:column;box-shadow:-16px 0 40px rgba(14,39,72,.16);transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);overflow-y:auto}
.drawer.is-open{transform:translateX(0)}
.drawer__title{font-size:11px;letter-spacing:.24em;font-weight:600;color:var(--muted-2);margin:0 0 14px;text-transform:uppercase}
.drawer__list{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-direction:column}
.drawer__list a{display:block;padding:14px 8px;font-size:15px;font-weight:500;color:var(--ink);border-bottom:1px solid var(--line)}
.drawer__list a:hover{color:var(--indigo)}
.drawer__list a.is-current{color:var(--indigo);font-weight:700}
.drawer__cta{justify-content:center;margin-top:auto}

/* ---------- QRライトボックス（公式LINE等） ---------- */
.qr-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(14,39,72,.5);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
.qr-modal.is-open{opacity:1;visibility:visible}
.qr-modal__dialog{position:relative;background:#fff;border-radius:18px;box-shadow:0 24px 60px rgba(14,39,72,.3);padding:30px 28px 26px;max-width:340px;width:100%;text-align:center;transform:translateY(10px);transition:transform .25s ease}
.qr-modal.is-open .qr-modal__dialog{transform:none}
.qr-modal__close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-size:15px;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;transition:color .2s,border-color .2s}
.qr-modal__close:hover{color:var(--indigo);border-color:var(--indigo)}
.qr-modal__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:18px;margin:0 0 16px;color:var(--ink)}
.qr-modal__img{width:240px;height:240px;max-width:100%;margin:0 auto;display:block;border-radius:12px}
.qr-modal__note{font-size:12.5px;color:var(--muted);margin:16px 0 0;line-height:1.7}
@media (prefers-reduced-motion:reduce){.qr-modal,.qr-modal__dialog{transition:none}}

/* ---------- reveal（フェードイン。JS無効時は常時表示） ---------- */
.reveal{transition:opacity .6s ease,transform .6s ease}
.js .reveal{opacity:0;transform:translateY(14px);will-change:opacity,transform}
.js .reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none;transition:none}}

/* ---------- ページヒーロー / パンくず ---------- */
.page-hero{background:var(--soft);border-bottom:1px solid var(--line)}
.page-hero__inner{max-width:var(--maxw);margin:0 auto;padding:34px 24px 40px}
.breadcrumb{font-size:12.5px;color:var(--muted);margin-bottom:16px}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.breadcrumb li::after{content:"›";margin-left:8px;color:var(--muted-2)}
.breadcrumb li:last-child::after{content:""}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--indigo)}
.breadcrumb [aria-current]{color:var(--ink)}
.page-hero__eyebrow{font-size:12px;letter-spacing:.26em;font-weight:600;color:var(--indigo);margin-bottom:12px}
.page-hero__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:32px;line-height:1.45;margin:0 0 12px;letter-spacing:.03em}
/* 見出し1行目のサービス名（いれぶんテレビ／アリタネット光 等）を一回り大きく見せる */
.page-hero__brand{display:inline-block;font-size:1.32em;line-height:1.3;color:var(--indigo);letter-spacing:.02em}
.page-hero__lead{color:var(--muted);font-size:15px;line-height:1.9;margin:0;max-width:720px}
/* 写真ヒーロー（サービス詳細等・左に文字を重ねる） */
.page-hero--photo{position:relative;overflow:hidden;background:var(--soft)}
.page-hero--photo .page-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left center}
.page-hero--photo .page-hero__scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(248,250,252,.97) 0%,rgba(248,250,252,.9) 32%,rgba(248,250,252,.55) 54%,rgba(248,250,252,0) 80%)}
.page-hero--photo .page-hero__inner{position:relative;min-height:340px;display:flex;flex-direction:column;justify-content:center}
@media (max-width:768px){
  .page-hero--photo .page-hero__inner{min-height:230px}
  .page-hero--photo .page-hero__scrim{background:linear-gradient(90deg,rgba(248,250,252,.97) 0%,rgba(248,250,252,.9) 46%,rgba(248,250,252,.62) 72%,rgba(248,250,252,.35) 100%)}
}

/* 写真ヒーローのパララックス（--parallax を付けたページのみ。現在はコミュニティチャンネル）
   背景を枠より上下44px大きく取り、その中で±40px translateY させる。振れ幅より4px大きく
   取るのは、両端でちょうど0だとサブピクセル丸めで縁に隙間が出るため。
   overflow:hidden は --photo 側にある。
   タイムラインは名前付きにする：--photo の overflow:hidden 自体がスクロールコンテナに
   なるため、無名の view() だとヒーロー基準に解決されて動かない。
   非対応ブラウザ（Firefox 等）と reduce 指定時は、丸ごと効かず従来どおりの静止表示。 */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .page-hero--parallax{view-timeline-name:--heroPar}
    .page-hero--parallax .page-hero__bg{
      height:calc(100% + 88px);top:-44px;bottom:auto;
      animation:heroParallax 1ms linear both;
      animation-timeline:--heroPar;
      animation-range:exit;
    }
    @keyframes heroParallax{from{transform:translateY(-40px)}to{transform:translateY(40px)}}
  }
}

/* ---------- コンテンツ節 / 本文リズム ---------- */
.content-section{padding:72px 0}
.content-section--soft{background:var(--soft)}
.section-lead-head{max-width:760px;margin:0 0 34px}
.section-lead-head__eyebrow{font-size:12px;letter-spacing:.24em;font-weight:600;color:var(--indigo);margin-bottom:12px}
.section-lead-head__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:27px;margin:0 0 12px;letter-spacing:.02em}
.section-lead-head__lead{color:var(--muted);font-size:15px;line-height:1.95;margin:0}
.prose{font-size:15px;line-height:1.95;color:var(--ink);max-width:760px}
.prose p{margin:0 0 16px}
.prose strong{color:var(--indigo)}
/* リッチ本文（microCMSフリーページ等）の表・画像・見出し・リスト */
.prose h2{font-family:"Shippori Mincho",serif;font-weight:700;font-size:22px;margin:30px 0 12px;color:var(--ink);line-height:1.5}
.prose h3{font-family:"Shippori Mincho",serif;font-weight:700;font-size:18px;margin:24px 0 10px;color:var(--ink);line-height:1.5}
.prose h4{font-weight:700;font-size:16px;margin:20px 0 8px;color:var(--ink)}
.prose ul,.prose ol{margin:0 0 16px;padding-left:1.5em}
.prose li{margin:0 0 6px}
.prose a{color:var(--indigo);text-decoration:underline}
.prose blockquote{margin:0 0 16px;padding:10px 18px;border-left:4px solid var(--indigo);background:var(--soft);color:var(--muted);border-radius:0 8px 8px 0}
.prose hr{border:0;border-top:1px solid var(--line);margin:24px 0}
.prose figure{margin:0 0 20px}
.prose img{max-width:100%;height:auto;border-radius:10px;display:block}
.prose figure img{margin:0 auto}
.prose table{border-collapse:collapse;width:100%;margin:0 0 22px;font-size:14px;background:#fff}
.prose caption{caption-side:top;text-align:left;font-weight:700;color:var(--indigo);margin-bottom:8px}
.prose th,.prose td{border:1px solid var(--line);padding:9px 12px;text-align:left;vertical-align:top;line-height:1.7}
.prose th{background:var(--soft);font-weight:700;color:var(--indigo)}
@media (max-width:600px){
  .prose table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* ---------- 特徴カード ---------- */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feature-card2{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px 24px;box-shadow:0 6px 22px rgba(31,78,140,.06)}
.feature-card2__icon{width:52px;height:52px;border-radius:13px;background:var(--soft);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.feature-card2__icon img{width:30px;height:30px;object-fit:contain}
.feature-card2__title{font-family:"Shippori Mincho",serif;font-weight:600;font-size:17px;margin:0 0 8px}
.feature-card2__text{color:var(--muted);font-size:14px;line-height:1.9;margin:0}

/* ---------- 料金カード / 表 ---------- */
.plan-card .btn-primary{justify-content:center;margin-top:auto}
.price-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;font-size:14px}
.price-table caption{caption-side:top;text-align:left;color:var(--muted);font-size:13px;margin-bottom:10px}
.price-table--matrix caption{font-family:"Shippori Mincho",serif;font-weight:700;font-size:18px;color:var(--indigo);margin-bottom:14px}
/* caption 見出しの直下に置く補足行（見出しの明朝・indigo・太字を継承させない） */
.caption-note{display:block;margin-top:6px;font-family:"Noto Sans JP",sans-serif;font-weight:400;font-size:13px;line-height:1.8;color:var(--muted)}
.price-table th,.price-table td{padding:14px 18px;border-bottom:1px solid var(--line);text-align:left}
.price-table thead th{background:var(--soft);color:var(--indigo);font-weight:700;font-size:13.5px}
.price-table tbody tr:last-child td{border-bottom:0}
.price-table td:last-child,.price-table th:last-child{text-align:right;font-weight:700}
.rate-note{color:var(--muted);font-size:13px;line-height:1.9;margin:16px 0 0;max-width:760px}
.rate-note p{margin:0}

/* ---------- セット割：組み合わせた数で割引額が決まる ----------
   料金表は「いくらになるか」を示すので、ここは表に無い「いくら安くなるか」を示す。
   金額の見せ方は電話ページの .fee-year（明朝の大きな数字＋おトク）に合わせ、
   段階の強さは .cmp-row の --cmp（薄い青→インディゴ→ネイビー）に合わせている。 */
.bundle{margin-top:32px}
.bundle__head{margin:0 0 18px}
.bundle__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:22px;color:var(--ink);margin:0 0 6px;letter-spacing:.02em}
.bundle__title em{font-style:normal;color:var(--indigo)}
.bundle__note{font-size:13.5px;color:var(--muted);line-height:1.9;margin:0}

/* 選べる3サービス（軸のアリタネット光は上の見出しで1度だけ触れる） */
.bundle__picks{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px;padding:0;list-style:none}
.bundle__pick{--cat:var(--indigo);display:inline-flex;align-items:center;gap:9px;font-size:15px;font-weight:700;
  color:var(--cat);background:color-mix(in srgb,var(--cat) 9%,#fff);border-radius:26px;padding:10px 20px 10px 16px;white-space:nowrap}
.bundle__pick svg{width:22px;height:22px;flex:none}
.bundle__pick--phone{--cat:#2E8B70}
.bundle__pick--cam{--cat:#C77A2B}

/* 3段階のカード。--tier で濃さが上がる */
/* 年間額の吹き出しは普段隠れているが、出たときに上の .bundle__picks をほぼ避けられる
   高さ（56px）だけ空けておく。常時出ていた頃の74pxのままだと、ただの空白に見えてしまう */
.bundle__tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:56px}
.bundle__tier{--tier:#6B97CF;position:relative;background:#fff;border:1px solid var(--line);border-top:3px solid var(--tier);
  border-radius:16px;padding:18px 22px;box-shadow:0 6px 22px rgba(31,78,140,.06)}
.bundle__tier--tri{--tier:var(--indigo)}
/* 最上位は他と同じ白地のまま、紺の枠線と濃いめの影だけで格上げする。
   （濃紺の塗りつぶしは重く、淡い青の塗りは弱かったため、塗らずに輪郭で示す） */
.bundle__tier--quad{--tier:var(--navy);background:#fff;border-color:var(--navy);border-top-width:4px;
  box-shadow:0 12px 30px rgba(14,39,72,.13)}
/* 段階名（小＋大の2行）を左、金額を右に振り分ける */
.bundle__row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.bundle__label{min-width:0}
/* 「どれか1つと／ダブル割」は2行で1つのまとまり。行間を詰めて大小の対比で見せる */
.bundle__count{font-size:13px;font-weight:700;color:var(--muted-2);margin:0 0 2px;line-height:1.5}
.bundle__name{font-family:"Shippori Mincho",serif;font-weight:700;font-size:19px;color:var(--tier);margin:0;letter-spacing:.02em;line-height:1.4}
.bundle__amount{margin:0;line-height:1.05;white-space:nowrap;color:var(--ink)}
.bundle__amount b{font-family:"Shippori Mincho",serif;font-weight:700;font-size:38px;letter-spacing:.01em}
.bundle__amount span{font-size:13px;font-weight:700;color:var(--muted);margin-left:3px}
/* 年間おトク額（3段階すべて）。普段は隠し、カードにマウスを乗せたときだけ
   カードの欄外＝右上に吹き出しで出す。
   display:none / visibility:hidden ではなく opacity:0 にしているのは、
   目に見えないままスクリーンリーダーの読み上げには残すため。
   背景は3枚とも紺で固定する（--tier だと最下段の淡い青に白文字となりAA不合格） */
.bundle__year{position:absolute;right:14px;bottom:calc(100% + 11px);z-index:2;
  display:inline-flex;align-items:baseline;gap:4px;margin:0;white-space:nowrap;
  font-size:13px;font-weight:700;color:#fff;background:var(--navy);
  border-radius:14px;padding:9px 18px;box-shadow:0 8px 20px rgba(14,39,72,.18);
  opacity:0;pointer-events:none;transform:translateY(4px);
  transition:opacity .2s ease,transform .2s ease}
.bundle__tier:hover .bundle__year{opacity:1;transform:none}
.bundle__year b{font-family:"Shippori Mincho",serif;font-weight:700;font-size:22px;letter-spacing:.01em}
/* 吹き出しのしっぽ（下向き＝カードを指す） */
.bundle__year::after{content:"";position:absolute;top:100%;right:26px;
  border:9px solid transparent;border-bottom:0;border-top-color:var(--navy)}
@media (prefers-reduced-motion:reduce){.bundle__year{transition:none}}
/* 吹き出しをやめて、カード内の小さな文字で常時出す条件は2つ。
   ・マウスが無い端末＝そもそもホバーできない
   ・狭い画面＝カードが1列に積まれ、吹き出しが上のカードの金額を隠してしまう */
@media (max-width:900px), (hover:none){
  .bundle__year{position:static;opacity:1;transform:none;pointer-events:auto;
    display:block;margin:0 0 6px;padding:0;background:none;box-shadow:none;
    color:var(--navy);font-size:12.5px;text-align:right}
  .bundle__year b{font-size:16px}
  .bundle__year::after{display:none}
  .bundle__hint{display:none}
}
.bundle__foot{font-size:12px;color:var(--muted-2);line-height:1.85;margin:14px 0 0}
.bundle__hint{margin-left:.4em}
@media (max-width:900px){
  .bundle__tiers{grid-template-columns:1fr;gap:14px;margin-top:20px}
  .bundle__amount b{font-size:34px}
}
/* 横長テーブルのスクロール（料金マトリクス等） */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:16px}
.table-scroll .price-table{min-width:700px}
.price-table--matrix{font-size:15.5px;box-shadow:0 10px 30px rgba(31,78,140,.10)}
.price-table--matrix th,.price-table--matrix td{text-align:center;padding:17px 22px}
.price-table--matrix th:first-child,.price-table--matrix td:first-child{text-align:left;font-weight:700}
.price-table--matrix thead th{font-size:15px}
.price-table--matrix tbody td{font-weight:600}
.price-table--matrix td:last-child{text-align:center;font-weight:700}
/* 基底の .price-table th:last-child{text-align:right} を打ち消す（最終列の見出しだけ右揃えになるのを防ぐ） */
.price-table--matrix th:last-child{text-align:center}
/* 5POINT等の可変グリッド */
/* 価格ボックス（基本料など） */
.phone-lead .prose{font-size:19px;line-height:2;max-width:none;margin:0 0 18px}
.phone-lead .rate-note{margin:0 0 24px}
.phone-lead .product-card__price dd b{font-size:26px}
@media (max-width:640px){.phone-lead{padding:28px 18px}.phone-lead .prose{font-size:17px}}

/* ---------- テレビ：単一プラン料金カード ---------- */
.tv-price{max-width:560px;margin:0 auto;text-align:center;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 30px rgba(31,78,140,.09);padding:40px 34px}
.tv-price__label{font-size:15px;font-weight:700;color:var(--muted);margin:0 0 6px}
.tv-price__amount{margin:0 0 26px;color:var(--ink);line-height:1}
.tv-price__amount b{font-family:"Shippori Mincho",serif;font-size:52px;font-weight:700;color:var(--indigo);letter-spacing:.01em}
.tv-price__amount span{font-size:18px;font-weight:700;margin-left:6px}
.tv-price__pay-head{font-size:14px;color:var(--ink);margin:0 0 14px}
.tv-price__pay-list{list-style:none;margin:0 0 24px;padding:0;display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.tv-price__pay-list li{background:var(--soft);color:var(--indigo);font-weight:700;font-size:14px;padding:10px 22px;border-radius:999px}
.tv-price__bonus{display:inline-block;margin:0 auto 22px;background:var(--soft);border:1px solid #CFE0F2;color:var(--indigo);font-weight:700;font-size:14px;padding:11px 20px;border-radius:12px;white-space:nowrap}
.tv-price__note{font-size:12px;color:var(--muted-2);margin:0}
.tv-price-cta{text-align:center;margin-top:32px}
.tv-price-cta .btn-primary{font-size:16px;padding:15px 36px}
@media (max-width:640px){.tv-price{padding:32px 20px}.tv-price__amount b{font-size:42px}.tv-price__bonus{white-space:normal;font-size:13px;padding:10px 16px;line-height:1.7}}

/* ===== 月額料金シミュレーション ===== */
.simulator{max-width:920px;margin:0 auto}
.sim-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.sim-group{border:1px solid var(--line);border-radius:16px;background:#fff;padding:16px 18px 12px;margin:0;box-shadow:0 6px 22px rgba(31,78,140,.05);min-width:0}
.sim-group__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:16px;color:var(--indigo);padding:0 0 8px;margin:0;display:block;width:100%;border-bottom:1px solid var(--line);line-height:1.4}
.sim-group__hint{font-family:"Noto Sans JP",sans-serif;font-weight:500;font-size:11.5px;color:var(--muted);margin-left:8px;background:var(--soft);padding:2px 8px;border-radius:20px;white-space:nowrap}
.sim-opt{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:10px;cursor:pointer;transition:background .2s}
.sim-opt:hover{background:var(--soft)}
.sim-opt input{width:18px;height:18px;accent-color:var(--indigo);flex:none;margin:0;cursor:pointer}
.sim-opt__name{flex:1;font-size:14.5px;color:var(--ink);min-width:0}
.sim-opt__price{font-weight:700;font-size:14px;color:var(--indigo);white-space:nowrap}
.sim-total{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:24px;background:var(--indigo);color:#fff;border-radius:16px;padding:20px 28px;box-shadow:0 12px 30px rgba(31,78,140,.18)}
.sim-total__label{font-size:16px;font-weight:700}
.sim-total__amount{font-size:18px;font-weight:700}
.sim-total__amount b{font-family:"Shippori Mincho",serif;font-size:40px;letter-spacing:.01em;margin-right:4px}
.sim-note{font-size:12px;color:var(--muted-2);margin:16px 0 0;line-height:1.9}
.sim-toggle{display:flex;justify-content:center;margin:8px 0 4px}
.sim-toggle .btn-primary{font-size:15.5px;padding:14px 32px}
.sim-qty{display:flex;align-items:center;gap:12px;margin-top:6px;padding:10px 8px 2px;border-top:1px dashed var(--line)}
.sim-qty__label{font-size:14px;font-weight:600;color:var(--ink)}
.sim-qty__select{flex:0 0 auto;min-width:110px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font-size:14px;color:var(--ink);background:#fff;cursor:pointer}
.sim-guide{margin-top:18px;text-align:center}
.sim-guide__lead{font-size:14.5px;line-height:1.9;color:var(--ink);font-weight:600;margin:0}
.sim-jump{display:flex;justify-content:center;margin-top:32px}
.sim-jump .btn-primary{font-size:15.5px;padding:14px 32px}
@media (max-width:720px){
  .sim-grid{grid-template-columns:1fr}
  .sim-total{flex-direction:column;align-items:flex-start;gap:6px}
  .sim-total__amount b{font-size:34px}
}
/* テレビ：追加コース（いれぶんNEXT） */
.tv-addon{max-width:560px;margin:18px auto 0;background:#fff;border:1px solid #CFE0F2;border-radius:16px;padding:22px 26px;text-align:center}
.tv-addon__head{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:14px}
.tv-addon__name{font-family:"Shippori Mincho",serif;font-weight:700;font-size:18px;color:var(--ink);margin:0}
.tv-addon__tag{font-size:11px;font-weight:800;letter-spacing:.06em;color:#fff;background:var(--indigo);padding:3px 10px;border-radius:999px}
.tv-addon__price{display:flex;justify-content:center;gap:36px;margin:0;flex-wrap:wrap}
.tv-addon__price>div{display:flex;flex-direction:column;gap:2px}
.tv-addon__price dt{font-size:12.5px;color:var(--muted);margin:0}
.tv-addon__price dd{margin:0;font-weight:700;color:var(--ink);font-size:15px}
.tv-addon__price dd b{font-family:"Shippori Mincho",serif;font-size:26px;color:var(--indigo);margin-right:2px}

/* ---------- トップ：会社概要/料金案内ボタン ---------- */

/* ---------- お電話からの加入受付 ---------- */
.tel-reception{max-width:720px;margin:28px auto 0;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 28px rgba(31,78,140,.07);padding:32px 34px}
.tel-reception__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:20px;margin:0 0 6px;color:var(--ink);text-align:center}
.tel-reception__lead{font-size:13.5px;color:var(--muted);margin:0 0 22px;text-align:center}
.tel-reception__tel{text-align:center;margin:0 0 20px}
.tel-reception__tel a{font-family:"Shippori Mincho",serif;font-weight:700;font-size:34px;color:var(--indigo);letter-spacing:.02em}
.tel-reception__tel span{display:block;font-size:13px;color:var(--muted);margin-top:4px}
.tel-reception__info{margin:0;border-top:1px solid var(--line)}
.tel-reception__info div{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.tel-reception__info dt{flex:0 0 96px;color:var(--muted);font-weight:700;margin:0}
.tel-reception__info dd{margin:0;color:var(--ink)}
@media (max-width:640px){.tel-reception{padding:26px 18px}.tel-reception__tel a{font-size:27px}}

/* ---------- 会社概要：ごあいさつ ---------- */
.greeting{display:grid;grid-template-columns:260px 1fr;gap:38px;align-items:start;max-width:980px;margin:0 auto}
.greeting__photo{margin:0}
.greeting__photo img{width:100%;height:auto;border-radius:16px;display:block;box-shadow:0 10px 30px rgba(31,78,140,.10)}
.greeting__photo figcaption{font-size:13px;color:var(--muted);margin-top:12px;text-align:center;line-height:1.7}
.greeting__body p{color:var(--ink);font-size:15px;line-height:2;margin:0 0 18px}
.greeting__sign{margin:24px 0 0;text-align:right;line-height:1.9;color:var(--ink)}
.greeting__sign b{font-family:"Shippori Mincho",serif;font-weight:700;font-size:17px}
@media (max-width:768px){.greeting{grid-template-columns:1fr;max-width:480px}.greeting__photo{max-width:300px;margin:0 auto}}

/* ---------- テレビ：チャンネル一覧（行カード） ---------- */
.ch-list{max-width:900px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.ch-row{display:grid;grid-template-columns:120px 1fr;gap:22px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 6px 22px rgba(31,78,140,.06);padding:18px 22px}
.ch-logo{width:120px;height:68px;border-radius:10px;background:var(--soft);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden}
.ch-logo img{max-width:88%;max-height:80%;width:auto;height:auto;object-fit:contain;display:block}
.ch-name{font-family:"Shippori Mincho",serif;font-weight:700;font-size:17px;color:var(--ink);margin:0 0 5px}
.ch-num{display:inline-block;min-width:34px;text-align:center;font-family:"Noto Sans JP",sans-serif;font-size:12px;font-weight:800;color:var(--indigo);background:var(--soft);border-radius:6px;padding:2px 7px;margin-right:10px;vertical-align:middle}
.ch-genre{font-family:"Shippori Mincho",serif;font-weight:600;font-size:16px;color:var(--indigo);margin:30px 0 14px;padding-left:12px;border-left:3px solid var(--indigo)}
.ch-genre:first-of-type{margin-top:8px}
.ch-info{color:var(--muted);font-size:13.5px;line-height:1.8;margin:0}
/* 放送局サイトへのリンク行（行全体がクリック可能）。リンクなしの行(div.ch-row)と見た目を揃える */
a.ch-row{text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s,transform .2s}
a.ch-row:hover{border-color:var(--indigo);box-shadow:0 10px 26px rgba(31,78,140,.14);transform:translateY(-2px)}
a.ch-row:hover .ch-name{color:var(--indigo)}
a.ch-row:focus-visible{outline:2px solid var(--indigo);outline-offset:2px}
/* 料金・セット料金の注記（説明文の横に表示） */
.ch-price{display:inline-block;margin-left:8px;font-weight:700;color:var(--indigo);white-space:nowrap}
@media (max-width:640px){
  .ch-row{grid-template-columns:1fr;justify-items:center;text-align:center;gap:12px;padding:18px}
  .ch-body{text-align:center}
}

/* ---------- 防犯カメラ：製品カード ---------- */
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 6px 22px rgba(31,78,140,.06);display:flex;flex-direction:column}
.product-card__media{background:var(--soft);display:flex;align-items:center;justify-content:center;padding:22px;min-height:210px}
.product-card__media img{max-height:190px;width:auto;max-width:82%;object-fit:contain}
.product-card__body{padding:20px 22px 24px}
.product-card__model{font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--muted-2);margin:0 0 4px}
.product-card__name{font-family:"Shippori Mincho",serif;font-weight:700;font-size:18px;margin:0 0 14px}
.product-card__price{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.product-card__price:first-of-type{border-top:0}
.product-card__price dt{font-size:13px;color:var(--muted);margin:0}
.product-card__price dd{margin:0;font-weight:700;color:var(--ink)}
.product-card__price dd b{font-size:20px}
.product-card__price dd span{font-size:12px;color:var(--muted);font-weight:500}
a.product-card{color:inherit;transition:transform .3s,box-shadow .3s,border-color .3s}
a.product-card:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(31,78,140,.13);border-color:#CFE0F2;color:inherit}
.product-card__more{display:inline-flex;align-items:center;gap:6px;color:var(--indigo);font-weight:700;font-size:13px;margin-top:16px}

/* ---------- 防犯カメラ：特徴4列 ---------- */
.feature-grid--4{grid-template-columns:repeat(4,1fr)}
/* ---------- テレビ：特徴2×2 ---------- */
/* テレビ：特徴アイコン拡大（--lg 限定スコープ） */
.feature-grid--lg .feature-card2__icon{width:64px;height:64px;border-radius:16px}

/* ---------- 防犯カメラ：特徴（実写カード） ---------- */
.feat-photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;max-width:960px;margin:0 auto}
.feat-photo{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 6px 22px rgba(31,78,140,.06)}
.feat-photo__img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.feat-photo__body{padding:22px 26px 24px}
.feat-photo__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:18px;margin:0 0 8px;color:var(--ink)}
.feat-photo__text{color:var(--muted);font-size:14px;line-height:1.9;margin:0}
@media (max-width:768px){.feat-photo-grid{grid-template-columns:1fr;max-width:440px}}
/* テレビ特徴：横1列（4カラム） */
.feat-photo-grid--row{grid-template-columns:repeat(4,1fr);max-width:none}
@media (max-width:900px){.feat-photo-grid--row{grid-template-columns:repeat(2,1fr)}}
@media (max-width:768px){.feat-photo-grid--row{grid-template-columns:1fr;max-width:440px}}
/* 実写カード：3列（内容5枚→3+2、3枚→1段） */
.feat-photo-grid--3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1040px;margin:0 auto}
@media (max-width:900px){.feat-photo-grid--3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.feat-photo-grid--3{grid-template-columns:1fr;max-width:440px}}

/* ---------- 防犯カメラ：利用シーンカード ---------- */
.scene-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.scene-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 6px 22px rgba(31,78,140,.06)}
.scene-card__media{position:relative}
.scene-card__media img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.scene-card__label{padding:14px 16px;font-weight:700;font-size:14.5px;color:var(--ink);text-align:center}

/* ---------- 防犯カメラ：警察署提携ステッカー枠 ---------- */
.police-partner__text p{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.95}
.police-partner__gift{display:table;margin:14px auto 0;font-weight:800;font-size:15px;color:var(--indigo)!important;background:var(--soft);border:1px solid #CFE0F2;border-radius:12px;padding:12px 22px;line-height:1.7;text-align:center}
.sticker-frame{border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--bg);text-align:center}
.sticker-frame img{width:100%;max-width:210px;height:auto;margin:0 auto;display:block}
.sticker-frame figcaption{font-size:11.5px;color:var(--muted-2);margin-top:8px}
/* 警察署：協定式写真＋ステッカーを白カード内に横並び */
.police-media{max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 28px rgba(31,78,140,.07);padding:30px;display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:26px;align-items:center}
.police-photo{margin:0}
.police-photo img{width:100%;height:auto;border-radius:12px;display:block}
.police-photo figcaption{font-size:11.5px;color:var(--muted-2);margin-top:8px;text-align:center}
@media (max-width:768px){ .police-media{grid-template-columns:1fr;max-width:420px} }

/* ---------- ステップ3列 ---------- */
.step-flow.step-flow--3{grid-template-columns:repeat(3,1fr)}

@media (max-width:768px){
  .product-grid{grid-template-columns:1fr}
  .feature-grid--4{grid-template-columns:1fr 1fr}
  .scene-grid{grid-template-columns:1fr 1fr}
  .sticker-frame{max-width:260px;margin:0 auto}
  .step-flow.step-flow--3{grid-template-columns:1fr}
}
@media (max-width:480px){
  .feature-grid--4,.scene-grid{grid-template-columns:1fr}
}

/* ---------- 加入の流れ（ステップ） ---------- */
.step-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:step}
.step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 22px;box-shadow:0 6px 22px rgba(31,78,140,.06);position:relative;overflow:hidden}
/* 写真はカード全面の“ごく薄い”背景（地紋程度）。番号・タイトル・本文が主役。
   顔を守るため上寄り(50% 38%)、彩度も少し落として文字の可読性を確保する。 */
.step__media{position:absolute;inset:0;z-index:0;pointer-events:none}
.step__media img{width:100%;height:100%;object-fit:cover;object-position:50% 38%;display:block;opacity:.13;filter:grayscale(.25)}
/* 本文は背景写真の上。番号→タイトル→本文の通常の並びに戻す。 */
.step__num{counter-increment:step;position:relative;z-index:1;width:34px;height:34px;border-radius:50%;background:var(--indigo);color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.step__num::before{content:counter(step)}
.step__title{position:relative;z-index:1;font-weight:700;font-size:15.5px;margin:0 0 6px}
.step__text{position:relative;z-index:1;color:var(--muted);font-size:13.5px;line-height:1.85;margin:0}

/* ---------- 会社概要テーブル ---------- */
.spec-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;font-size:14.5px}
.spec-table th,.spec-table td{padding:16px 22px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.spec-table tr:last-child th,.spec-table tr:last-child td{border-bottom:0}
.spec-table th{width:210px;background:var(--soft);color:var(--ink);font-weight:700;white-space:nowrap}
.spec-table td{color:var(--muted);line-height:1.9}

/* ---------- FAQ アコーディオン ---------- */
.faq{max-width:840px}
.faq__item{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 6px 22px rgba(31,78,140,.05);margin-bottom:14px;overflow:hidden}
.faq__q{width:100%;text-align:left;background:none;border:0;cursor:pointer;padding:20px 56px 20px 22px;font-size:15px;font-weight:700;color:var(--ink);position:relative;line-height:1.7}
.faq__q::before{content:"Q";position:absolute;left:22px;display:none}
.faq__q::after{content:"";position:absolute;right:24px;top:50%;width:11px;height:11px;border-right:2px solid var(--indigo);border-bottom:2px solid var(--indigo);transform:translateY(-70%) rotate(45deg);transition:transform .3s}
.faq__item.is-open .faq__q::after{transform:translateY(-30%) rotate(225deg)}
.faq__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.faq__item.is-open .faq__a{grid-template-rows:1fr}
.faq__a-inner{overflow:hidden}
.faq__a p{margin:0;padding:0 22px 22px;color:var(--muted);font-size:14px;line-height:1.95}

/* ---------- タブ（番組表 等） ---------- */
.tabs{display:flex;gap:10px;margin-bottom:22px;flex-wrap:wrap}

/* ---------- フォーム ---------- */
.form{max-width:720px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 8px 28px rgba(31,78,140,.07)}
.field{margin-bottom:20px}
.field__label{display:block;font-weight:700;font-size:14px;margin-bottom:8px;color:var(--ink)}
.field__req{color:var(--alert);font-size:12px;margin-left:6px}
.field__opt{color:var(--muted-2);font-size:12px;margin-left:6px;font-weight:500}
.field input,.field textarea,.field select{width:100%;border:1px solid #D6DEE8;border-radius:10px;padding:12px 14px;font-size:15px;font-family:inherit;color:var(--ink);background:#fff;transition:border-color .2s,box-shadow .2s}
.field textarea{min-height:140px;resize:vertical;line-height:1.8}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--indigo);box-shadow:0 0 0 3px rgba(31,78,140,.14)}
.field [aria-invalid="true"]{border-color:var(--alert);box-shadow:0 0 0 3px rgba(178,59,52,.12)}
.field__error{color:var(--alert);font-size:12.5px;margin-top:6px;min-height:1em}
.field__help{color:var(--muted);font-size:12.5px;margin-top:6px}
.field--check{display:flex;align-items:flex-start;gap:10px}
.field--check input{width:auto;margin-top:3px}
.field--check label{font-size:14px;color:var(--muted);font-weight:500}
.form__status{margin:4px 0 16px;font-size:13.5px;color:var(--indigo);min-height:1em}
.form__status.is-success{color:#1E7A46;font-weight:600}
.form__status.is-error{color:var(--alert);font-weight:600}
.container--narrow{max-width:820px}
.form__submit{display:flex;justify-content:center}
.form__submit .btn-primary{font-size:16px;padding:15px 40px}

/* ---------- 動画スクロールスナップ列（コミュニティ） ---------- */

/* ---------- 番組紹介カード（コミュニティチャンネル） ---------- */
.prog-group__label{font-family:"Shippori Mincho",serif;font-weight:700;font-size:19px;margin:0 0 18px;padding-left:14px;border-left:4px solid var(--indigo);color:var(--ink);line-height:1.4}
/* ---------- 番組紹介：番組名を選ぶと写真が飛んで来る ----------
   参考：Codrops「Animated Grid Previews」。ただし向こうは1項目あたり8〜9枚の
   画像を持つ構成。こちらは1番組1枚（しかも19番組中10番組は写真が未入手）なので、
   背景の19枚を整列したグリッドに並べ、選ばれた1枚が中央へ飛んで来る形に翻案している。
   ライブラリは使わず /js/community-programs.js（このページのみ）で制御。
   グリッド位置・倍率は JS が --x/--y/--rot/--s に入れる。 */
.prog-explore{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}
.prog-explore__stage{position:relative;height:520px;perspective:1200px}

.prog-shot{
  position:absolute;margin:0;width:190px;aspect-ratio:16/9;
  left:var(--x,50%);top:var(--y,50%);
  border-radius:12px;overflow:hidden;background:var(--soft);
  border:1px solid var(--line);box-shadow:0 10px 26px rgba(31,78,140,.13);
  transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(var(--s,.8));
  /* left/top もトランジションに含める＝グリッドのセルから中央へ「飛んで来る」 */
  transition:left .6s cubic-bezier(.16,1,.3,1),top .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1),opacity .4s ease,filter .4s ease,box-shadow .45s ease;
  will-change:left,top,transform;
}
.prog-shot img{width:100%;height:100%;object-fit:cover;display:block}

/* 選ばれた1枚：中央へ飛んで来て、まっすぐ・大きく・手前に */
.prog-shot.is-active{
  left:50%;top:50%;
  transform:translate(-50%,-50%) rotate(0deg) scale(2.1);
  z-index:60!important;
  box-shadow:0 26px 60px rgba(14,39,72,.3);
}
/* それ以外：奥へ引いて、少し霞ませる */
.prog-shot.is-dim{opacity:.42;filter:saturate(.65)}

.prog-explore__menu{max-height:560px;overflow-y:auto;scrollbar-width:thin}
.prog-explore__menu .prog-group__label{font-size:15px;margin:18px 0 8px}
.prog-explore__menu .prog-group__label:first-child{margin-top:0}
.prog-menu{list-style:none;margin:0 0 4px;padding:0}
.prog-menu__item{
  display:block;width:100%;text-align:left;cursor:pointer;
  background:none;border:0;border-radius:10px;padding:8px 12px;
  color:var(--muted);transition:background .25s ease,color .25s ease;
}
.prog-menu__name{display:block;font-weight:700;font-size:14.5px;color:var(--ink);line-height:1.5}
.prog-menu__text{display:block;font-size:12px;line-height:1.7;margin-top:2px;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.prog-menu__item:hover,.prog-menu__item:focus-visible,.prog-menu__item.is-active{background:var(--soft)}
.prog-menu__item.is-active .prog-menu__name{color:var(--indigo)}
.prog-menu__item:focus-visible{outline:2px solid var(--indigo);outline-offset:2px}

/* スマホ・タブレット：19枚を並べると潰れるので、舞台は選んだ1枚だけを見せる。
   舞台を sticky で画面上部に固定する＝メニューの下の方の番組を選んでも、
   固定された舞台に写真が出るので必ず見える（固定しないと画像が画面外になる）。
   固定位置はヘッダー(--header-h)＋サブナビ(実測51px)の下。 */
@media (max-width:900px){
  .prog-explore{grid-template-columns:1fr;gap:14px}
  .prog-explore__stage{
    position:sticky;top:calc(var(--header-h,69px) + 52px);z-index:5;
    height:210px;perspective:none;
    background:var(--soft);border:1px solid var(--line);border-radius:14px;
    box-shadow:0 10px 24px rgba(31,78,140,.10);
  }
  .prog-shot{
    left:50%;top:50%;width:min(360px,84%);
    transform:translate(-50%,-50%) scale(.9);
    opacity:0;pointer-events:none;transition:opacity .35s ease,transform .35s ease;
  }
  .prog-shot.is-active{transform:translate(-50%,-50%) scale(1);opacity:1}
  .prog-shot.is-dim{opacity:0}
  .prog-explore__menu{max-height:none;overflow:visible}
  .prog-menu__text{-webkit-line-clamp:2}
}

/* 動き低減：飛ばさず・回さず、選んだ1枚を静かに見せるだけ */
@media (prefers-reduced-motion:reduce){
  .prog-shot{transition:none;transform:translate(-50%,-50%) scale(.86);opacity:0;pointer-events:none;left:50%;top:50%;width:min(420px,90%)}
  .prog-shot.is-active{transform:translate(-50%,-50%) scale(1);opacity:1}
  .prog-shot.is-dim{opacity:0}
  .prog-explore__stage{perspective:none;height:260px}
}

/* JS無効時：舞台は成立しないので隠し、メニューの文字だけで読めるようにする */
.no-js .prog-explore__stage{display:none}
.no-js .prog-explore{grid-template-columns:1fr}
.no-js .prog-menu__text{-webkit-line-clamp:3}

@media (max-width:600px){
  .prog-group__label{font-size:16px}
}

/* ---------- 公式LINE誘導 ---------- */
.line-cta{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 28px rgba(31,78,140,.07);padding:32px;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.line-cta__badge{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.06em;color:#fff;background:#06C755;padding:5px 14px;border-radius:20px;margin-bottom:12px}
.line-cta__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:22px;margin:0 0 8px;color:var(--ink)}
.line-cta__text{color:var(--muted);font-size:14px;margin:0;max-width:600px;line-height:1.9}
.line-cta__btn{flex:none;display:inline-flex;align-items:center;gap:10px;background:#06C755;color:#fff;font-weight:700;font-size:15px;padding:14px 28px;border-radius:12px;box-shadow:0 8px 20px rgba(6,199,85,.28);cursor:pointer;transition:background .2s}
.line-cta__btn:hover{background:#06985F;color:#fff}
.line-cta__btn-line{background:#fff;color:#06C755;font-weight:800;font-size:12px;padding:2px 8px;border-radius:6px}
@media (max-width:768px){
  .line-cta{padding:24px}
  .line-cta__btn,.line-cta__btn-alt{width:100%;justify-content:center}
}

/* ---------- お知らせ一覧 / ページャ ---------- */
.newslist{max-width:900px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 6px 22px rgba(31,78,140,.06);padding:6px 30px}
/* お知らせ一覧：読み込み中／0件のときの1行 */
.newslist__empty{margin:0;padding:22px 0;color:var(--muted);font-size:14px;text-align:center}

/* ---------- 汎用CTA帯（reception を流用） ---------- */
.cta-band{background:var(--indigo);padding:56px 0}
.cta-band__inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.cta-band__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:26px;color:#fff;margin:0 0 8px;letter-spacing:.02em}
.cta-band__lead{color:#C9DBF0;font-size:14.5px;margin:0}
.cta-band__actions{display:flex;gap:14px;flex-wrap:wrap}
.cta-band__btn{font-weight:700;padding:15px 32px;border-radius:12px;font-size:15px}
.cta-band__btn--solid{background:#fff;color:var(--indigo);box-shadow:0 8px 22px rgba(0,0,0,.18)}
.cta-band__btn--solid:hover{background:#EAF2FB;color:var(--indigo)}
.cta-band__btn--ghost{border:1px solid rgba(255,255,255,.6);color:#fff}
.cta-band__btn--ghost:hover{background:rgba(255,255,255,.12);color:#fff}

/* ---------- 汎用トーンヘルパ ---------- */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
/* 文章側を広めに取る版。指定の改行位置どおりに1行ずつ収めたい導入文で使う
   （テレビページの4行の導入文。等分だと1行目が折り返して5行になっていた）。
   768px以下は下の共通ルールで1カラムに戻る。 */
.two-col--text-wide{grid-template-columns:1.2fr .8fr}
.media-round{border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(31,78,140,.10)}
.media-round img{width:100%;height:auto;display:block}

/* 防犯カメラ詳細：おもな特徴の機能紹介画像（スマホはタップで原寸表示） */
.detail-figure{margin:30px 0 0}
.detail-figure__link{display:block}
.detail-figure__note{display:none}

/* ---------- 下層レスポンシブ（768px） ---------- */
@media (max-width:768px){
  .content-section{padding:52px 0}
  .feature-grid{grid-template-columns:1fr}
  .step-flow{grid-template-columns:1fr 1fr}
  .two-col{grid-template-columns:1fr}
  .page-hero__title{font-size:26px}
  .spec-table th{width:130px;padding:14px 14px}
  .spec-table td{padding:14px 14px}
  .form{padding:22px}
  .cta-band__inner{flex-direction:column;align-items:flex-start}
  .price-table{font-size:13px}
  .price-table th,.price-table td{padding:11px 12px}
  .detail-figure{margin-top:22px}
  .detail-figure__note{display:block;margin:10px 0 0;font-size:12.5px;color:var(--muted-2);text-align:center}
}
@media (max-width:480px){
  .step-flow{grid-template-columns:1fr}
}

/* ---------- プラン比較表 ---------- */
.cmp-dots[data-level="4"] .cmp-dot:nth-child(-n+4) i,
.cmp-dots[data-level="6"] .cmp-dot:nth-child(-n+6) i,
.cmp-dots[data-level="4"] .cmp-dot:nth-child(-n+3)::after,
.cmp-dots[data-level="6"] .cmp-dot:nth-child(-n+5)::after,
@media(max-width:640px){.cmp-row{grid-template-columns:190px 1fr}.cmp-badge{width:60px;height:60px}}

/* ---------- アクセス ---------- */
.access-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:28px;align-items:stretch;max-width:1000px;margin:0 auto}
.access-info{display:flex;flex-direction:column;gap:18px}
.access-info .spec-table{margin:0}
.access-map{border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 6px 22px rgba(31,78,140,.06);min-height:340px}
.access-map iframe{width:100%;height:100%;min-height:340px;border:0;display:block}
@media (max-width:768px){
  .access-grid{grid-template-columns:1fr}
  .access-map{min-height:280px}
  .access-map iframe{min-height:280px}
}

/* ---------- コミュニティチャンネル紹介 ---------- */
@media (max-width:400px){ .cc-card__body{grid-template-columns:104px 1fr} }

/* ---------- 料金表：スマホ縦向き最適化 ---------- */
@media (max-width:600px){
  /* 横スクロールをやめ画面幅に収める（2列表はラベルが折り返して収まる） */
  .table-scroll{overflow-x:visible}
  .table-scroll .price-table{min-width:0}
  /* 5列マトリクス表 → 1件=1カードの縦積み（ラベル: 値） */
  .price-table--matrix{border:0;box-shadow:none;background:transparent;font-size:14px}
  .price-table--matrix thead{display:none}
  .price-table--matrix tbody,.price-table--matrix tr,.price-table--matrix td{display:block}
  .price-table--matrix tr{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 6px 22px rgba(31,78,140,.06);padding:6px 16px 12px;margin-bottom:14px}
  .price-table--matrix tr:last-child{margin-bottom:0}
  .price-table--matrix td{border-bottom:1px solid var(--line);padding:10px 0;display:flex;justify-content:space-between;align-items:baseline;gap:14px;text-align:right;font-weight:600}
  .price-table--matrix td:last-child{border-bottom:0}
  .price-table--matrix td::before{content:attr(data-label);color:var(--muted);font-weight:700;font-size:12.5px;text-align:left}
  .price-table--matrix td:first-child{display:block;text-align:left;font-family:"Shippori Mincho",serif;font-size:17px;color:var(--indigo);padding:4px 0 10px;border-bottom:2px solid var(--soft)}
  .price-table--matrix td:first-child::before{content:none}
}

/* ---------- プラン比較表：スマホ縦向き最適化 ---------- */
@media (max-width:600px){
  .cmp-dots[data-level="4"] .cmp-dot:nth-child(-n+4) i::after,
  .cmp-dots[data-level="6"] .cmp-dot:nth-child(-n+6) i::after,
}

/* =====================================================================
   下層ページ共通コンポーネント（subnav / compare / diagnosis / mobile-cta）
   ===================================================================== */

/* スクリーンリーダー専用テキスト */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* アンカー先のスクロール位置（ヘッダー＋サブナビ分オフセット） */
[data-anchor]{scroll-margin-top:calc(var(--header-h) + 62px)}

/* ---------- ページ内サブナビ（sticky・スクロールスパイ） ---------- */
.subnav{position:sticky;top:var(--header-h);z-index:40;background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(6px);border-bottom:1px solid var(--line)}
.subnav__inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}
.subnav__inner::-webkit-scrollbar{display:none}
.subnav__link{flex:0 0 auto;padding:15px 16px;font-size:14px;font-weight:700;color:var(--muted);white-space:nowrap;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.subnav__link:hover{color:var(--indigo)}
.subnav__link.is-active{color:var(--indigo);border-bottom-color:var(--indigo)}
@media (max-width:768px){
  .subnav__inner{padding:0 10px;gap:0}
  .subnav__link{padding:13px 12px;font-size:13px}
}

/* ---------- コース比較表（主役） ---------- */
.compare-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--radius)}
.compare{width:100%;min-width:820px;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;font-size:14px}
.compare thead th{background:var(--soft);color:var(--indigo);font-weight:700;font-size:12.5px;line-height:1.4;padding:13px 8px;text-align:center;vertical-align:bottom;border-bottom:1px solid var(--line)}
.compare thead th:first-child{text-align:left;width:230px;font-size:12px;color:var(--muted)}
.compare tbody th[scope=row]{text-align:left;padding:20px 18px;vertical-align:top;border-bottom:1px solid var(--line)}
.compare tbody td{text-align:center;padding:16px 8px;border-bottom:1px solid var(--line);border-left:1px solid var(--line);color:var(--ink);font-weight:600}
.compare tbody tr:last-child th,.compare tbody tr:last-child td{border-bottom:0}
.compare__tag{display:inline-block;font-size:11px;font-weight:700;color:var(--indigo);background:var(--soft);padding:3px 11px;border-radius:20px;margin-bottom:9px}
.compare__name{display:block;font-family:"Shippori Mincho",serif;font-weight:700;font-size:23px;color:var(--indigo);line-height:1.2;margin-bottom:7px;letter-spacing:.02em}
.compare__desc{display:block;font-size:12.5px;color:var(--muted);font-weight:400;line-height:1.7;margin-bottom:14px}
.compare__apply{display:inline-flex;align-items:center;gap:6px;background:var(--indigo);color:#fff;font-weight:700;font-size:13.5px;padding:9px 18px;border-radius:var(--radius-sm);box-shadow:0 6px 16px rgba(31,78,140,.22);transition:background .2s}
.compare__apply:hover{background:var(--indigo-dark);color:#fff}
.compare__val{font-weight:700}
.compare__val small{display:block;font-weight:400;font-size:11px;color:var(--muted-2);margin-top:2px}
/* おすすめ列（光1ギガ行）を強調 */
.compare__row--rec>th[scope=row],.compare__row--rec>td{background:var(--soft)}
.compare__rec-badge{display:inline-block;font-size:11px;font-weight:800;color:#fff;background:var(--indigo);padding:2px 10px;border-radius:20px;margin-bottom:8px;letter-spacing:.04em}
/* 評価マーク ◎○△（色＋記号＋SR文で伝える） */
.rate-mark{font-size:21px;font-weight:700;line-height:1}
.rate-mark--best{color:var(--indigo)}
.rate-mark--good{color:#3E7CC4}
.rate-mark--ok{color:var(--muted-2)}
.compare-legend{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin:16px 0 0;color:var(--muted);font-size:12.5px}
.compare-legend span{display:inline-flex;align-items:center;gap:6px}
@media (max-width:768px){
  .compare-wrap{overflow-x:visible;border-radius:0}
  .compare{min-width:0;border:0;background:transparent;border-radius:0;font-size:14px}
  .compare thead{display:none}
  .compare tbody,.compare tbody tr,.compare tbody th,.compare tbody td{display:block;width:auto}
  .compare tbody tr{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 6px 22px rgba(31,78,140,.06);margin-bottom:16px;overflow:hidden}
  .compare tbody tr:last-child{margin-bottom:0}
  .compare tbody th[scope=row]{border-bottom:1px solid var(--line);padding:18px}
  .compare tbody td{border-left:0;display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:right;padding:11px 18px;font-weight:700}
  .compare tbody td:last-child{border-bottom:0}
  .compare tbody td::before{content:attr(data-label);font-size:13px;font-weight:700;color:var(--muted);text-align:left}
  .compare__row--rec{outline:2px solid var(--indigo);outline-offset:-2px}
  .compare__row--rec>th[scope=row],.compare__row--rec>td{background:transparent}
}

/* ---------- 簡易診断「あなたに合うコースは？」 ---------- */
.diagnosis{max-width:720px;margin:0 auto}
.diag-q{font-weight:700;font-size:15px;color:var(--ink);margin:0 0 16px;text-align:center}
.diag-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
.diag-opt{display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;cursor:pointer;font-weight:700;font-size:14.5px;color:var(--ink);transition:border-color .2s,box-shadow .2s,background .2s}
.diag-opt:hover{border-color:var(--indigo)}
.diag-opt input{accent-color:var(--indigo);width:18px;height:18px;flex:none;margin:0;cursor:pointer}
.diag-opt:has(input:checked){border-color:var(--indigo);background:var(--soft)}
.diag-result{position:relative;overflow:hidden;margin-top:22px;background:var(--navy);color:#fff;border-radius:var(--radius);padding:26px 28px}
.diag-result[hidden]{display:none}
/* 選択に応じた写真をカード背面にごく薄く敷く（opacity .22＝白文字の可読性を実測で確保）。
   navy 背景の上に載るので明るい写真でも暗く沈み、白文字とのコントラストが保たれる。 */
.diag-result__media{position:absolute;inset:0;z-index:0;pointer-events:none}
.diag-result__media img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;display:block;opacity:.22}
.diag-result__label{position:relative;z-index:1;font-size:13px;color:#C9DBF0;margin:0 0 4px}
.diag-result__course{position:relative;z-index:1;font-family:"Shippori Mincho",serif;font-weight:700;font-size:30px;margin:0 0 8px;letter-spacing:.02em}
.diag-result__reason{position:relative;z-index:1;font-size:14px;color:#E7EEF7;line-height:1.9;margin:0 0 18px}
.diag-result__actions{position:relative;z-index:1;display:flex;gap:12px;flex-wrap:wrap}
.diag-result__actions a{font-weight:700;font-size:14px;padding:12px 24px;border-radius:var(--radius-sm)}
.diag-btn--solid{background:#fff;color:var(--indigo)}
.diag-btn--solid:hover{background:#EAF2FB;color:var(--indigo)}
.diag-btn--ghost{border:1px solid rgba(255,255,255,.6);color:#fff}
.diag-btn--ghost:hover{background:rgba(255,255,255,.12);color:#fff}
@media (max-width:600px){.diag-form{grid-template-columns:1fr}}

/* ---------- モバイル固定CTA（≤768px） ---------- */
.mobile-cta{display:none}
@media (max-width:768px){
  .mobile-cta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);backdrop-filter:saturate(180%) blur(6px);border-top:1px solid var(--line);box-shadow:0 -4px 18px rgba(31,78,140,.10);transition:transform .3s ease}
  .mobile-cta.is-hidden{transform:translateY(120%)}
  .mobile-cta a{flex:1;text-align:center;padding:13px 8px;border-radius:11px;font-weight:700;font-size:14px}
  .mobile-cta__primary{background:var(--indigo);color:#fff}
  .mobile-cta__primary:hover{color:#fff}
  .mobile-cta__ghost{background:var(--soft);color:var(--indigo)}
  body:has(.mobile-cta){padding-bottom:76px}
}

/* =====================================================================
   ケーブルプラス電話ページ用（anshin-points / fee-hero / change-compare / anshin-band）
   読みやすさ重視：本文・数字を大きめに、高コントラスト
   ===================================================================== */

/* ---------- 安心の4ポイント（概要・各セクションへジャンプ） ---------- */
.anshin-points{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:8px}
.anshin-point{display:block;text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 20px;box-shadow:0 6px 22px rgba(31,78,140,.06);color:var(--ink);transition:border-color .2s,box-shadow .2s,transform .2s}
a.anshin-point:hover{border-color:#Bcd4ee;box-shadow:0 14px 30px rgba(31,78,140,.12);transform:translateY(-2px);color:var(--ink)}
.anshin-point__ic{width:60px;height:60px;border-radius:50%;background:var(--soft);color:var(--indigo);display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.anshin-point__ic svg{width:32px;height:32px}
.anshin-point__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:17px;color:var(--indigo);margin:0 0 6px;line-height:1.4}
.anshin-point__text{font-size:13.5px;color:var(--muted);line-height:1.8;margin:0}
@media (max-width:768px){.anshin-points{grid-template-columns:1fr 1fr;gap:14px}}
@media (max-width:420px){.anshin-points{grid-template-columns:1fr;max-width:340px;margin-left:auto;margin-right:auto}}

/* ---------- 月額基本料 大きな表示 ---------- */
/* 基本料金 比較（NTT加入電話 vs ケーブルプラス電話）※フラット・影控えめ */
.fee-compare{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:stretch;max-width:820px;margin:0 auto}
.fee-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 24px;text-align:center}
.fee-card__label{font-weight:700;font-size:15.5px;color:var(--ink);margin:0 0 10px}
.fee-card__amount{margin:0;line-height:1;white-space:nowrap}
.fee-card__amount b{font-family:"Shippori Mincho",serif;font-weight:700;font-size:40px;letter-spacing:.01em}
.fee-card__amount span{font-size:16px;font-weight:700;margin-left:4px}
.fee-card__unit{font-size:12.5px;color:var(--muted);margin:6px 0 0}
.fee-card__desc{font-size:12.5px;color:var(--muted-2);line-height:1.7;margin:12px 0 0}
.fee-card--ntt{background:#F3F5F7;border-color:#E3E7EC}
.fee-card--ntt .fee-card__label{color:var(--muted)}
.fee-card--ntt .fee-card__amount b{color:#6B7280}
.fee-card--acn{background:var(--soft);border:1.5px solid var(--indigo)}
.fee-card--acn .fee-card__amount b{color:var(--indigo)}
.fee-card__badge{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:var(--indigo);color:#fff;font-size:11.5px;font-weight:700;padding:3px 14px;border-radius:20px;white-space:nowrap}
.fee-card__incl{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:9px;text-align:left}
.fee-card__incl li{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--indigo)}
.fee-card__incl svg{width:16px;height:16px;flex:none}
.fee-save{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:0 4px}
.fee-save__arrow{width:0;height:0;border-style:solid;border-width:9px 0 9px 13px;border-color:transparent transparent transparent var(--indigo)}
.fee-save__text{margin:0;font-size:12.5px;font-weight:700;color:var(--indigo);white-space:nowrap;line-height:1.4;text-align:center}
.fee-save__text b{font-family:"Shippori Mincho",serif;font-size:19px;display:block}
.fee-year{grid-column:1/-1;text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 24px;margin-top:2px}
.fee-year__lead{font-size:13.5px;color:var(--muted);font-weight:700;margin:0 0 2px}
.fee-year__amount{margin:0;line-height:1.1;white-space:nowrap}
.fee-year__amount b{font-family:"Shippori Mincho",serif;font-weight:700;font-size:40px;color:var(--indigo);letter-spacing:.01em}
.fee-year__toku{font-size:20px;font-weight:800;color:var(--alert);margin-left:6px}
.fee-year__calc{font-size:12px;color:var(--muted-2);margin:6px 0 0}
.fee-compare__notes{max-width:720px;margin:22px auto 0;text-align:left}
@media (max-width:768px){
  .fee-compare{grid-template-columns:1fr;gap:12px;max-width:420px}
  .fee-save{flex-direction:row;gap:10px}
  .fee-save__arrow{border-width:13px 9px 0 9px;border-color:var(--indigo) transparent transparent transparent}
  .fee-save__text b{display:inline}
  .fee-card__amount b{font-size:38px}
  .fee-year__amount b{font-size:36px}
}

/* ---------- 「変わらない／変わる」比較 ---------- */
.change-compare{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:960px;margin:0 auto}
.change-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 6px 22px rgba(31,78,140,.06)}
.change-panel__head{padding:18px 24px;font-family:"Shippori Mincho",serif;font-weight:700;font-size:19px;line-height:1.4}
.change-panel--keep .change-panel__head{background:var(--soft);color:var(--indigo)}
.change-panel--change .change-panel__head{background:var(--indigo);color:#fff}
.change-list{list-style:none;margin:0;padding:8px 24px 20px}
.change-list li{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:16px;line-height:1.7;color:var(--ink)}
.change-list li:last-child{border-bottom:0}
.change-list__mark{flex:none;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;margin-top:1px}
.change-panel--keep .change-list__mark{background:#E6F3EE;color:#2E8B70}
.change-panel--change .change-list__mark{background:var(--soft);color:var(--indigo)}
.change-list b{color:var(--indigo)}
@media (max-width:768px){.change-compare{grid-template-columns:1fr;max-width:520px}}

/* ---------- 迷惑電話 明るい安心バンド ---------- */
.anshin-band{background:linear-gradient(180deg,#EAF2FB 0%,#F4F8FD 100%);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:60px 0}
.anshin-band .container{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.anshin-band__ic{width:72px;height:72px;border-radius:20px;background:var(--indigo);color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:20px;box-shadow:0 10px 24px rgba(31,78,140,.22)}
.anshin-band__ic svg{width:40px;height:40px}
.anshin-band__eyebrow{font-size:12px;letter-spacing:.24em;font-weight:600;color:var(--indigo);margin:0 0 10px}
.anshin-band__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:30px;color:var(--navy);margin:0 0 16px;letter-spacing:.02em;line-height:1.45}
.anshin-band__text{font-size:16.5px;line-height:2;color:var(--ink);margin:0}
.anshin-band__media{border-radius:var(--radius);overflow:hidden;box-shadow:0 16px 40px rgba(31,78,140,.16)}
.anshin-band__media img{width:100%;height:auto;display:block}
@media (max-width:768px){
  .anshin-band{padding:44px 0}
  .anshin-band .container{grid-template-columns:1fr;gap:26px}
  .anshin-band__media{order:-1}
  .anshin-band__title{font-size:25px}
  .anshin-band__text{font-size:16px}
}

/* =====================================================================
   防犯カメラページ用（use-cat / cam-compare / partner-band）
   清潔感・安心感：暗くしない、白＋淡ブルー＋藍アクセント
   ===================================================================== */

/* ---------- 利用目的カテゴリ見出し ---------- */
.use-cat{margin-top:40px}
.use-cat:first-of-type{margin-top:8px}
.use-cat__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:20px;color:var(--indigo);margin:0 0 6px;padding-left:14px;border-left:4px solid var(--indigo);line-height:1.4}
.use-cat__desc{font-size:13.5px;color:var(--muted);margin:0 0 20px;padding-left:18px}

/* ---------- 地域連携 明るい信頼バンド ---------- */
.partner-band{background:linear-gradient(180deg,#EAF2FB 0%,#F4F8FD 100%);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:60px 0}
.partner-band .section-lead-head{text-align:center;max-width:820px;margin-left:auto;margin-right:auto}
.partner-band .section-lead-head__lead{margin-left:auto;margin-right:auto}
@media (max-width:768px){.partner-band{padding:44px 0}}


/* =====================================================================
   動画マップ（コミュニティチャンネルページ内・vmap-*）
   地図は Google Maps。クラス名はすべて vmap 接頭辞で、既存に触れない。
   ===================================================================== */

/* hidden 属性は本来 display:none で効くが、下に書いた display 指定の方が強く、
   消えずに残ってしまうことがある。JS が hidden を付けたら必ず消えるようここで優先させる */
.vmap [hidden]{display:none !important}

/* --- 状態のお知らせ（読み込み中・失敗・0件） --- */
.vmap__notice{background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);
  padding:16px 18px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.vmap__notice-text{margin:0;font-size:14.5px;color:var(--ink);line-height:1.8}
.vmap__notice--error{background:#FBEBEA;border-color:#F0D3D1}
.vmap__notice-cta{flex:none}

/* --- 地域の切り替えボタン（地図のすぐ上） --- 見た目は .tabs__btn に合わせる */
.vmap__regions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.vmap__region{padding:10px 20px;border-radius:11px;font-family:inherit;font-weight:700;font-size:14.5px;
  cursor:pointer;border:1px solid #C9D8EA;background:#fff;color:var(--muted);transition:all .25s}
.vmap__region:hover{border-color:var(--indigo);color:var(--indigo)}
.vmap__region[aria-selected="true"]{background:var(--indigo);color:#fff;border-color:var(--indigo)}
.vmap__region:focus-visible{outline:3px solid var(--indigo);outline-offset:3px}

/* --- 地図（横幅いっぱい） --- */
.vmap__mapwrap{display:flex;flex-direction:column;gap:10px}
.vmap__map{height:clamp(480px,64vh,680px);border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);background:var(--soft)}
.vmap__maphint{margin:0;font-size:12px;color:var(--muted-2);line-height:1.7}

/* --- ピン（AdvancedMarkerElement の content に入れる） --- */
.vmap-pin{position:relative;width:34px;height:42px;cursor:pointer;transform-origin:50% 100%;
  transition:transform .18s ease,filter .18s ease}
.vmap-pin:hover{transform:scale(1.1)}
.vmap-pin.is-active{transform:scale(1.18);filter:drop-shadow(0 6px 12px rgba(14,39,72,.4))}
.vmap-pin:focus-visible{outline:3px solid var(--indigo);outline-offset:3px;border-radius:6px}
.vmap-pin svg{display:block;width:100%;height:100%}

/* --- ピンのタイトル札 ---
   出す／出さないは video-map.js の layoutLabels() が決める。
   隠すときも display ではなく opacity を使う（幅を測れなくなるため） */
.vmap-pin__label{position:absolute;top:calc(100% + 1px);left:50%;transform:translateX(-50%);
  max-width:150px;padding:2px 8px;border-radius:999px;
  background:rgba(255,255,255,.95);border:1px solid rgba(31,78,140,.28);
  color:var(--indigo);font-size:11px;font-weight:700;line-height:1.55;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  box-shadow:0 1px 4px rgba(14,39,72,.2);
  opacity:0;pointer-events:none;transition:opacity .15s ease}
.vmap-pin.has-label .vmap-pin__label,
.vmap-pin:hover .vmap-pin__label,
.vmap-pin:focus-visible .vmap-pin__label,
.vmap-pin.is-active .vmap-pin__label{opacity:1}
.vmap-pin.is-active .vmap-pin__label{background:var(--indigo);border-color:var(--indigo);color:#fff}
/* 下が塞がっているときの逃がし先。layoutLabels() が選ぶ */
.vmap-pin__label.is-above{top:auto;bottom:calc(100% + 2px)}
.vmap-pin__label.is-right{top:6px;left:calc(100% + 2px);transform:none}
.vmap-pin__label.is-left{top:6px;left:auto;right:calc(100% + 2px);transform:none}
@media (max-width:760px){
  .vmap-pin__label{max-width:112px;font-size:10px;padding:1px 6px}
}

/* --- 動画カードの横スライド --- */
.vmap__rail{margin-top:22px}
.vmap__rail-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.vmap__rail-title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:17px;margin:0}
.vmap__rail-nav{display:flex;gap:8px;flex:none}
.vmap__rail-empty{margin:0 0 4px;font-size:13.5px;color:var(--muted-2);line-height:1.7}
.vmap__rail-nav .round-arrow:disabled{opacity:.35;cursor:default}
.vmap__rail-nav .round-arrow:disabled:hover{background:#fff;color:var(--indigo);border-color:#E1E8F1}

/* --vmap-n ＝ 1画面に見せる枚数。position:relative は card.offsetLeft の基準になる */
.vmap__cards{--vmap-n:5;--vmap-gap:14px;
  position:relative;
  display:flex;gap:var(--vmap-gap);margin:0;padding:2px 2px 8px;list-style:none;
  overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-behavior:smooth;
  scrollbar-width:none;-ms-overflow-style:none}
.vmap__cards::-webkit-scrollbar{display:none}
.vmap__card{flex:0 0 auto;scroll-snap-align:start;
  width:calc((100% - (var(--vmap-n) - 1) * var(--vmap-gap)) / var(--vmap-n))}

.vmap__card-btn{position:relative;display:block;width:100%;aspect-ratio:1/1;padding:0;
  border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--soft);
  cursor:pointer;text-align:left;font-family:inherit;
  transition:transform .2s ease,box-shadow .2s ease}
.vmap__card-btn:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(31,78,140,.16)}
.vmap__card-btn:focus-visible{outline:3px solid var(--indigo);outline-offset:3px}
.vmap__card-btn.is-active{border-color:var(--indigo);box-shadow:0 0 0 2px var(--indigo)}
/* サムネイルが取れなかったときはカテゴリー色のベタ塗りに落とす */
.vmap__card-btn.is-noimg{background:var(--vmap-card-bg,var(--soft))}
.vmap__card-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.vmap__card-meta{position:absolute;left:0;right:0;bottom:0;padding:26px 12px 10px;
  background:linear-gradient(180deg,rgba(14,39,72,0) 0%,rgba(14,39,72,.72) 55%,rgba(14,39,72,.92) 100%)}
.vmap__card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  color:#fff;font-weight:700;font-size:13px;line-height:1.5}
.vmap__card-place{display:block;color:rgba(255,255,255,.82);font-size:11.5px;margin-top:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vmap__card-place:empty{display:none}

/* --- 動画：広い画面は中央モーダル（暗幕＋中身の2層） --- */
/* visibility には時間をかけない。閉じるときだけフェードの後に切り替える。
   開いた直後に閉じるボタンへフォーカスを当てるため、表示は即座である必要がある
   （時間をかけると、まだ非表示扱いでフォーカスが当たらない瞬間ができる） */
.vmap__overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;
  padding:24px;background:rgba(14,39,72,.5);opacity:0;visibility:hidden;
  transition:opacity .25s ease,visibility 0s linear .25s}
.vmap__overlay.is-open{opacity:1;visibility:visible;
  transition:opacity .25s ease,visibility 0s}

.vmap__detail{position:relative;background:#fff;border-radius:18px;
  width:min(880px,100%);max-height:min(86vh,760px);overflow-y:auto;padding:24px;
  box-shadow:0 24px 60px rgba(14,39,72,.3);
  transform:translateY(10px);transition:transform .25s ease}
.vmap__overlay.is-open .vmap__detail{transform:none}
.vmap__grip{display:none}
.vmap__close{position:absolute;top:12px;right:12px;width:36px;height:36px;z-index:2;
  border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);
  cursor:pointer;font-size:15px;line-height:1;display:flex;align-items:center;justify-content:center}
.vmap__close:hover{color:var(--indigo);border-color:var(--indigo)}
.vmap__frame{width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden;margin-bottom:16px}
.vmap__frame iframe{width:100%;height:100%;border:0;display:block}
.vmap__title{font-family:"Shippori Mincho",serif;font-weight:700;font-size:20px;line-height:1.5;margin:0 0 8px}
.vmap__place{font-size:13px;color:var(--muted-2);margin:0 0 14px}
.vmap__place:empty{display:none}
.vmap__desc{font-size:14px;color:var(--muted);line-height:1.9;margin:0 0 18px;white-space:pre-wrap}
.vmap__desc:empty{display:none}
.vmap__yt{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--indigo)}
.vmap__yt::after{content:"\25B8";font-size:11px}

/* =========== 1024px以下：暗幕をやめ、地図の下からせり上がるシートにする =========== */
@media (max-width:1024px){
  /* 狭い画面では暗幕を出さない。地図を触れることに価値があるので、
     overlay を当たり判定ゼロの素通し層に戻し、中の .vmap__detail が
     自前の position:fixed でシートとして振る舞う。
     これで「暗幕クリックで閉じる」も自然に広い画面だけの挙動になる */
  .vmap__overlay{position:static;display:block;padding:0;background:none;
    opacity:1;visibility:visible;transition:none}

  .vmap__map{height:clamp(420px,58vh,600px)}

  .vmap__detail{position:fixed;left:0;right:0;bottom:0;z-index:60;width:auto;height:auto;
    max-height:min(78vh,640px);border-radius:18px 18px 0 0;
    box-shadow:0 -12px 34px rgba(14,39,72,.22);padding:8px 20px 24px;
    overscroll-behavior:contain;
    transform:translateY(100%);visibility:hidden;
    /* visibility は時間をかけず、閉じるときだけスライドの後に切り替える。
       開いた直後に閉じるボタンへフォーカスを当てるため、表示は即座である必要がある */
    transition:transform .28s cubic-bezier(.22,.61,.36,1),visibility 0s linear .28s}
  .vmap__overlay.is-open .vmap__detail{transform:translateY(0);visibility:visible;
    transition:transform .28s cubic-bezier(.22,.61,.36,1),visibility 0s}
  /* 掴んで下げるための取っ手 */
  .vmap__grip{display:block;width:100%;height:26px;border:0;background:none;cursor:grab;
    padding:0;margin:0 0 4px;touch-action:none}
  .vmap__grip::before{content:"";display:block;width:44px;height:4px;border-radius:2px;
    background:#CBD5E1;margin:8px auto 0}
  .vmap__grip:active{cursor:grabbing}
  .vmap__close{top:6px}
}

@media (max-width:1199px){.vmap__cards{--vmap-n:4}}
@media (max-width:900px){.vmap__cards{--vmap-n:3}}

@media (max-width:640px){
  .vmap__map{height:56vh;min-height:340px}
  /* 半端に見せて「まだ続きがある」と分かるようにする */
  .vmap__cards{--vmap-n:2.2;--vmap-gap:12px}
  .vmap__rail-nav{display:none}   /* 指でなぞる方が速い */
  .vmap__detail{max-height:min(84vh,560px);padding:8px 16px 20px}
  .vmap__title{font-size:18px}
}

/* .is-open が付いた側の指定の方が「詳しい」ので、そちらも並べないと打ち消せない
   （並べないと、暗幕のフェードとシートのせり上がりだけが残ってしまう） */
@media (prefers-reduced-motion:reduce){
  .vmap__detail,.vmap__overlay,.vmap-pin,.vmap-pin__label,.vmap__card-btn,
  .vmap__overlay.is-open,.vmap__overlay.is-open .vmap__detail{transition:none}
  .vmap__cards{scroll-behavior:auto}
}

/* --- トップのキャンペーンカード（動画マップへの誘導） ---
   LINEカード（.promo-card__line）と同じ「アイコン＋文字」の組み立てにして、
   キャンペーン列に並んだときのリズムを揃える。
   絵柄はSVG1つとCSSだけで作る。スライダーがカードを複製するため、
   SVGに id / defs / url(#…) を使えないことに注意 */
.promo-card__vmap{position:relative;height:210px;overflow:hidden;
  background:radial-gradient(118% 96% at 50% 30%,#2B60A6 0%,#1F4E8C 46%,#102C50 100%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
/* 地図の道筋を思わせる薄い格子。ピンを主役にしたいので、うっすらとだけ敷く */
.promo-card__vmap::before{content:"";position:absolute;inset:-30%;transform:rotate(-12deg);
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.075) 0 1px,transparent 1px 44px),
             repeating-linear-gradient(0deg,rgba(255,255,255,.075) 0 1px,transparent 1px 44px)}
.promo-card__vmap-pin{position:relative;display:block;width:132px;height:132px;flex:none}
.promo-card__vmap-text{position:relative;color:#fff;font-weight:700;font-size:15px;letter-spacing:.14em}

@media (max-width:520px){.promo-card__vmap-pin{width:118px;height:118px}}
