/* 縦文字だけ: Noto Sans JP Bold を縦文字の字だけに絞り vert/vrt2 を残した同梱フォント（OFL）。
   Google Fonts の分割配信では縦組み字形（右上の句読点・回転する括弧）が効かず Figma と字形がずれるため。 */
@font-face { font-family: "JSS Vertical"; src: url("../assets/font/jss-vertical-bold.woff2") format("woff2"); font-weight: 700; font-display: block; }

/* =====================================================================
   TOP v3 — Figma 1098:5179「大きいとき」(2000 幅・2026-10-07 SOU 途中版)
   座標はコンテンツ左端 440 / MV 基準点 (440,224) からの差分。値の出どころは各行コメント。
   1200 未満〜768 は従来どおり 1200 固定の横スクロール、767 以下は SP（Figma なし＝ここで設計）。
   ===================================================================== */
/* 右下の三角（全ページ共通・SOU 2026-10-12「右 2px／下 2px のマージンで共通化」）
   形と位置はここだけで決める。各部品は background（色）だけを持つ。Figma "Rectangle 73" 12px。 */
.card > a::after, .story__item > a::after, .ev > a::after, .dt > a::after, .fbox::after,
.t3-diag a::after, .t3-ccard a::after, .t3-evp__list a::after, .t3-db__grid a::after,
.phero__img::after, .regional-app .region-card::after {
  content: ""; position: absolute; right: 2px; bottom: 2px; width: 12px; height: 12px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.v3 {
  --ink: #322823;         /* Figma 本文色 */
  --wine: #6e2823;        /* Figma アクセント（LIFE / 枠線 / 数字） */
  --bg: #f4f2e8;          /* Figma フレーム背景 */
  --navy: #322823;        /* 従来セクション（地域帯・フッター）も同じ焦げ茶へ寄せる */
  --t3-shadow: 2px 2px 8px rgb(0 0 0 / 4%);  /* Figma DROP_SHADOW 2/2/8 4% */
  --t3-gap: 120px;        /* セクション間: 1095→1215 / 1785→1905 / 2525→2645 */
  background: var(--bg);
  color: var(--ink);
}
.v3 main { overflow-x: clip; }   /* 横から出る演出の待機位置（translateX）で横スクロールを出さない */
.v3 .ic { display: block; width: 20px; height: 20px; flex: none; }

/* ---------- 上帯（1098:5203） ---------- */
.t3-topbar { background: var(--ink); color: #fff; }
.t3-topbar__in { display: flex; align-items: center; width: var(--cw); height: 60px; margin: 0 auto; }
.t3-topbar__lead { font-size: 16px; font-weight: 600; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
.t3-topbar__sub { display: flex; gap: 20px; margin-left: auto; }   /* 1184→1204 */
.t3-topbar__sub a { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .04em; line-height: 1; white-space: nowrap; }
.t3-topbar__sub a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.t3-search { position: relative; flex: 0 0 200px; height: 40px; margin-left: 20px; }   /* 1340→1360 */
.t3-search input { width: 100%; height: 100%; padding: 0 48px 0 20px; border: 0; border-radius: 100px; background: #fff; color: var(--ink); font-family: inherit; font-size: 12px; font-weight: 400; line-height: 1; letter-spacing: .04em; }
.t3-search input::placeholder { color: #b5afa5; }
.t3-search button { position: absolute; top: 8px; right: 15px; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.t3-search .ic { width: 24px; height: 24px; }

/* ---------- ヘッダー（1098:5261: y100 / 110 高） ---------- */
.t3-bar { display: flex; justify-content: space-between; width: var(--cw); height: 110px; margin: 40px auto 0; }   /* 60→100 */
.t3-logo { position: relative; flex: none; width: 250px; height: 110px; }
.t3-logo__mark { position: absolute; left: 0; top: 0; width: 110px; height: 110px; }   /* ループロゴ（24 秒・SMIL）をマーク位置 110×110 に重ねる */
.t3-logo img:not(.t3-logo__mark) { width: 250px; height: 110px; }
.t3-menu { display: none; }
.t3-nav { display: flex; flex-direction: column; align-items: flex-end; width: 800px; }
.t3-nav__main { display: flex; gap: 30px; height: 40px; }     /* 879→909 */
.t3-nav__main a { display: flex; align-items: center; gap: 10px; height: 40px; font-size: 18px; font-weight: 700; letter-spacing: .06em; line-height: 1; white-space: nowrap; }
.t3-nav__ico { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--wine); border-radius: 50%; transition: background-color .25s; }
.t3-nav__ico img { width: auto; max-width: 30px; height: auto; }
.t3-nav__main a:is(:hover, :focus-visible) .t3-nav__ico { background: #fff; }
.t3-nav__cat { display: flex; align-items: center; width: 800px; height: 50px; margin-top: 20px; padding: 0 27px 0 28px; border-radius: 100px; background: #fff; box-shadow: var(--t3-shadow); }   /* 140→160, 760→788 */
.t3-nav__cat li { display: flex; align-items: center; }
.t3-nav__cat li + li::before { content: ""; width: 1px; height: 16px; margin: 0 10px; background: #d7d2c8; }   /* 857→867→868→878 */
.t3-nav__cat a { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.t3-nav__cat a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.t3-nav__cat a:is(:hover, :focus-visible) { color: var(--wine); }

/* ---------- MV（1098:5181 基準点 440,224） ---------- */
.t3-mv__in { position: relative; width: var(--cw); height: 471px; margin: 14px auto 0; }   /* 210→224 / 224→695 */
.t3-mv__copy { position: relative; z-index: 2; padding-top: 34px; }   /* 258-224 */
.t3-mv__en { font-family: Roboto, sans-serif; font-size: 86px; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.t3-mv__en b { font-weight: 800; color: var(--wine); }
.t3-mv__en i { font-style: normal; font-weight: 300; }
.t3-mv__catch { margin-top: 10px; font-size: 24px; font-weight: 700; line-height: 1.6; letter-spacing: .08em; }   /* 258+258=516→526 */
/* 絵の箱 = 動画左上(338,71.5)〜風景右下(1071,476)。PC/SP とも同じ比率で中を並べる */
.t3-mv__art { position: absolute; left: 338px; top: 71.5px; width: 733px; aspect-ratio: 733 / 404.5; }
.t3-mv__land { position: absolute; left: 8.731%; top: 0.371%;   /* SOU 2026-10-07: 背景だけ 30px 上へ（31.5 → 1.5px / 箱の高さ 404.5。SP も同じ比率で上がる）*/ width: 91.269%; height: auto; }
/* 動画 1280×720 を 640 で表示 = 2x（レティーナ規約）。家族の足元と中心は Figma の家族レイヤーに合わせた */
.t3-mv__video { position: absolute; left: 0; top: 0; width: 87.312%; height: auto; }
.t3-mv__ttl { position: absolute; top: 31px; left: 945px; z-index: 3; width: 136px; height: 372px; }   /* 箱 1385,255 - 基準 440,224 */
/* Figma: 28px / 行送り 30.8（= 字送り）/ 縦組み字形。字送りは letter-spacing 2.8 で合わせる */
.t3-mv__ttl span { position: absolute; top: 0; width: 40px; padding: 9.5px 0 0 0; border-radius: 6px; background: #fff; box-shadow: var(--t3-shadow); font-family: "JSS Vertical", "Noto Sans JP", sans-serif; font-size: 28px; font-weight: 700; line-height: 40px; letter-spacing: 2.8px; writing-mode: vertical-rl; white-space: nowrap; }   /* padding-top 9.5 = 字面の上端を Figma 実測に合わせる（2x 重ね合わせで +4.5） */
.t3-mv__ttl em { color: var(--wine); font-style: normal; }
.t3-mv__ttl span:nth-child(1) { left: 96px; height: 370px; }
.t3-mv__ttl span:nth-child(2) { left: 48px; height: 356px; }   /* 1103:7299「移住と子育てのリアルや」11 字 */
.t3-mv__ttl span:nth-child(3) { left: 0; height: 276px; }
.t3-mv__kicker { position: absolute; top: 38px; left: 1102px; z-index: 3; width: 18px; font-family: "JSS Vertical", "Noto Sans JP", sans-serif; font-size: 16px; font-weight: 700; line-height: 18px; letter-spacing: 2px; writing-mode: vertical-rl; white-space: nowrap; }   /* 字送り 17.6 */

/* ---------- 診断 + 3 導線（1098:5220） ---------- */
.t3-diag { position: relative; z-index: 4; width: var(--cw); margin: 0 auto; }
.t3-diag ul { display: grid; gap: 20px; }
.t3-diag__lg { grid-template-columns: repeat(2, 550px); }
.t3-diag__sm { grid-template-columns: repeat(3, 360px); margin-top: 20px; }   /* 915→935 */
.t3-diag a { position: relative; display: block; height: 220px; padding: 46px 0 0 280px; border-radius: 24px 24px 0 24px; background: var(--c); box-shadow: var(--t3-shadow); color: #fff; text-align: center; transition: transform .25s, filter .25s; }
.t3-diag a::after { background: #fff; }   /* 位置・形は冒頭の「右下の三角（全ページ共通）」 */
.t3-diag a:is(:hover, :focus-visible) { transform: translateY(-2px); filter: brightness(1.08); }
.t3-diag__sub { display: block; width: 250px; font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.t3-diag__ttl { display: block; width: 250px; font-size: 48px; font-weight: 800; line-height: 1.4; letter-spacing: .02em; }
.t3-diag__sm a { height: 160px; padding: 22px 0 0 155px; border-radius: 16px 16px 0 16px; }
/* イラスト（1101:6486・静止画）: カードの上にはみ出して置く。座標はカード左上からの差 */
.t3-diag__img { position: absolute; z-index: 1; pointer-events: none; }
/* 動画はカードの上へはみ出してよいが、下端より下は見せない（SOU 2026-10-07）。上 160px まで広げた箱で包み、下端だけ切る */
.t3-diag__clip { position: absolute; inset: -160px 0 0 0; z-index: 1; overflow: hidden; border-radius: 0 0 0 24px; pointer-events: none; }
.t3-diag__clip .t3-diag__img { margin-top: 160px; }
.t3-diag__img--kakei { left: -12.7px; top: -78.1px; width: 342px; height: 342px; }   /* 動画は静止画より余白が広い → 絵の範囲を Figma の静止画(10,-50 286□)に合わせて拡大（1.87x・原本 640 が上限） */
.t3-diag__img--chiiki { left: 10px; top: -45px; width: 284px; height: 284px; }
.t3-diag__img--kakei-still { left: 10px; top: -50px; width: 286px; height: 286px; }   /* 下層の導線は静止画（Figma の静止画位置そのまま） */
.t3-diag__img--event { left: 8px; top: -13px; width: 144px; height: 171px; }
.t3-diag__img--data { left: 16px; top: -14px; width: 144px; height: 172px; }
.t3-diag__img--support { left: 16px; top: -14px; width: 136px; height: 172px; }
.t3-diag__sub, .t3-diag__ttl { position: relative; z-index: 2; }
.t3-diag__sm a::after { right: 2px; bottom: 2px; }
.t3-diag__sm .t3-diag__sub { width: 175px; font-size: 15px; letter-spacing: .04em; }
.t3-diag__sm .t3-diag__ttl { width: 175px; margin-top: 4px; font-size: 24px; line-height: 1.3; letter-spacing: .02em; }   /* 957+46=1003→1007 */

/* ---------- セクション見出し（STORY/COLUMN/AREA 共通） ---------- */
.t3-sec { margin-top: var(--t3-gap); }
.t3-head2 { display: flex; align-items: flex-start; justify-content: space-between; width: var(--cw); height: 62px; margin: 0 auto 28px; }   /* 62+28 = 90 */
.t3-head2__ttl { display: flex; align-items: flex-start; gap: 21px; }
.t3-head2__en { font-family: Roboto, sans-serif; font-size: 62px; font-weight: 800; line-height: 1; letter-spacing: 0; }
.t3-head2__ja { padding-top: 20px; font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: .06em; }
.t3-more { display: inline-flex; align-items: center; justify-content: space-between; width: 280px; height: 60px; padding: 0 20px 0 30px; border: 1px solid var(--wine); border-radius: 100px; color: var(--wine); font-size: 15px; font-weight: 700; letter-spacing: .04em; line-height: 1; transition: background-color .25s, color .25s; }
.t3-more:is(:hover, :focus-visible) { background: var(--wine); color: #fff; }

/* ---------- STORY（1098:5417: 320×480 / 間隔 40 / 帯は画面端まで） ---------- */
.t3-story__strip { overflow: hidden; }
.t3-story__row { display: flex; gap: 40px; width: max-content; margin-left: calc(50vw - 1240px);   /* Figma: 4 枚目が画面中央（1000 - 160 - 360×3） */ animation: t3-flow 70s linear infinite; }
.t3-story__strip:hover .t3-story__row { animation-play-state: paused; }
@keyframes t3-flow { to { transform: translateX(-2160px); } }   /* 1 周 = 6 × (320 + 40) */
.t3-scard { flex: none; width: 320px; }
.t3-scard a { position: relative; display: block; height: 480px; }
.t3-scard__img { overflow: hidden; width: 320px; height: 320px; border-radius: 42px 42px 0 42px; }
.t3-scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.t3-scard a:is(:hover, :focus-visible) .t3-scard__img img { transform: scale(1.04); }
.t3-scard__tags { position: absolute; top: 305px; left: 10px; display: flex; gap: 5px; }   /* 1610-1305 */
.t3-pill { display: grid; place-items: center; width: 120px; height: 30px; padding: 0; border: 1px solid var(--wine); border-radius: 100px; background: #fff; color: var(--wine); font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .04em; white-space: nowrap; }
.t3-pill--fill { width: 80px; background: var(--wine); color: #fff; }
.t3-scard__who { margin: 31px 0 0 10px; color: var(--wine); font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .04em; }   /* 1656-1625 */
.t3-scard__q { display: -webkit-box; overflow: hidden; width: 300px; margin: 8px 0 0 10px; font-size: 24px; font-weight: 800; line-height: 1.5; letter-spacing: .02em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }   /* 1669→1677 */
.t3-scard__q em { color: var(--wine); font-style: normal; }

/* ---------- COLUMN（1098:5530: 大 415×530 + 小 220×260 ×6） ---------- */
.t3-col__grid { display: grid; grid-template-columns: 430px repeat(3, 220px); grid-template-rows: repeat(2, 260px); gap: 10px; width: var(--cw); margin: 0 auto; }   /* 440+415+25=880 */
.t3-ccard--lg { grid-row: span 2; width: 415px; }
.t3-ccard a { position: relative; display: block; height: 100%; border-radius: 12px 12px 0 12px; background: #fff; box-shadow: var(--t3-shadow); transition: transform .25s; }
.t3-ccard a::after { background: var(--c); }
.t3-ccard a:is(:hover, :focus-visible) { transform: translateY(-2px); }
.t3-ccard__img { overflow: hidden; width: 200px; height: 120px; border-radius: 12px 0 12px 0; }
.t3-ccard__img img { width: 100%; height: 100%; object-fit: cover; }
.t3-ccard__tag { position: absolute; top: 100px; left: 10px; display: grid; place-items: center; width: 100px; height: 30px; border-radius: 100px; background: var(--c); color: #fff; font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .04em; }
.t3-ccard__ttl { display: -webkit-box; overflow: hidden; width: 180px; margin: 18px 0 0 20px; font-size: 18px; font-weight: 800; line-height: 1.4; letter-spacing: .02em; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }   /* 2133-2115 */
.t3-ccard--lg .t3-ccard__img { width: 395px; height: 260px; }
.t3-ccard--lg .t3-ccard__tag { top: 245px; left: 30px; }   /* 2240-1995 */
.t3-ccard--lg .t3-ccard__ttl { width: 355px; margin: 35px 0 0 30px; font-size: 38px; line-height: 1.3; letter-spacing: .04em; }   /* 2290-2255 */

/* ---------- 管理人コラム（1103:7694）: COLUMN の下 50・見出し行 60・2 列 × 2 行 ---------- */
.t3-admin { width: var(--cw); margin: 50px auto 0; }   /* 2525 → 2575 */
.t3-admin .t3-admin__head { align-items: flex-start; margin-top: 0; }
.t3-admin__ttl { font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: .02em; }
.t3-admin__ttl em { color: var(--wine); font-style: normal; }
.t3-admin__sub { margin-top: 16px; font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: .04em; }   /* 2603 → 2619 */
.t3-ccard__tag--admin { width: 130px; background: #23557d; }

/* ---------- AREA（1098:5607） ---------- */
.t3-area__tabs { display: flex; gap: 10px; width: var(--cw); margin: 0 auto; }
.t3-tab { width: 120px; height: 60px; padding: 0; border: 1px solid var(--wine); border-bottom: 0; border-radius: 8px 8px 0 0; background: #fff; color: var(--wine); font-family: inherit; font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: .02em; cursor: pointer; transition: background-color .25s, color .25s; }
.t3-tab.is-on, .t3-tab:hover { background: var(--wine); color: #fff; }
.t3-area__band { overflow: hidden; height: 480px; margin: 0 40px; border-radius: 42px; }   /* 40..1960 / 2000 */
.t3-area__band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }   /* Figma: 原本を 2000 幅で置き帯の上端が 212px 下 → 212/(1081-480) */
.t3-area__panel { position: relative; z-index: 1; width: var(--cw); margin: -61px auto 0; }   /* 3214 - 3275 */
.t3-area__en { font-family: Roboto, sans-serif; font-size: 122px; font-weight: 800; line-height: 1; letter-spacing: 0; color: var(--wine); }
.t3-area__intro { display: flex; margin-top: 30px; }   /* 3336→3366 */
.t3-area__name { flex: 0 0 440px; color: var(--ink); font-size: 92px; font-weight: 800; line-height: 1; letter-spacing: 0; }
.t3-area__txt { width: 680px; }
.t3-area__lead { font-size: 24px; font-weight: 800; line-height: 1.6; letter-spacing: .04em; }
.t3-area__desc { margin-top: 15px; font-size: 16px; font-weight: 500; line-height: 1.8; letter-spacing: .04em; }   /* 3480→3495 */
.t3-stats { display: grid; grid-template-columns: repeat(4, 265px); gap: 20px; margin-top: 49.2px; }   /* 3553→3603（本文の行送り 38.4×3+28.8×2 の端数 0.8 を吸収） */
.t3-stats li { height: 240px; padding: 30px 20px 0; border-radius: 12px; background: var(--c); color: #fff; box-shadow: var(--t3-shadow); text-align: center; }
.t3-stat__h { font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.t3-stat__v { display: flex; justify-content: center; margin-top: 5px; }   /* 3633+28=3661→3666 */
.t3-stat__v b { font-family: Roboto, sans-serif; font-size: 62px; font-weight: 800; line-height: 1; letter-spacing: 0; }
.t3-stat__v i { margin: 6px 0 0 4px; font-size: 24px; font-style: normal; font-weight: 800; line-height: 1; text-align: left; }
.t3-stat__v--rank i { margin-top: 28px; }
.t3-stat__t { text-wrap: pretty; overflow-wrap: anywhere; margin-top: 10px; font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }   /* 3728→3738 */
.t3-stat__t--b { font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
/* 2段目（Figma 1119:5722・SOU 10/8「2段目を印象薄く」）: 白地・高さ180・数字だけ色・本文12px Regular */
.t3-stats .t3-stat--sub { height: 180px; padding-top: 26px; background: #fff; color: #322823; }
.t3-stat--sub .t3-stat__h { font-size: 18px; line-height: 1; }
.t3-stat--sub .t3-stat__v { margin-top: 7px; }   /* 5334→5341 */
.t3-stat--sub .t3-stat__v b { font-size: 52px; color: var(--n); }
.t3-stat--sub .t3-stat__v i { margin-top: 4px; font-size: 20px; }
.t3-stat--sub .t3-stat__v--rank i { margin-top: 23px; }
.t3-stat--sub .t3-stat__t { margin-top: 7px; font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: 0; }   /* 5393→5400 */

/* 関連記事（1101:6668）: 見出しとボタンの行 → 罫線 → 2 列 × 2 行（行 141 = 余白 21 + 画像 120 + 罫線） */
.t3-rel__head { display: flex; align-items: center; justify-content: space-between; margin-top: 50px; }   /* 4103→4153 */
.t3-rel__ttl { font-size: 24px; font-weight: 800; line-height: 1.5; letter-spacing: .02em; }
.t3-rel__ttl em { color: var(--wine); font-style: normal; }
.t3-rel__cols { display: grid; grid-template-columns: repeat(2, 520px); justify-content: space-between; margin-top: 20px; }   /* 4213→4233 */
.t3-rel__list { border-top: 1px solid #d7d2c8; }
.t3-rel__list a { position: relative; display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #d7d2c8; }
.t3-rel__img { flex: none; overflow: hidden; width: 200px; height: 120px; border-radius: 12px 0 12px 0; }
.t3-rel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.t3-rel__list a:is(:hover, :focus-visible) .t3-rel__img img { transform: scale(1.04); }
.t3-rel__list .t3-ccard__tag { top: 20px; left: 220px; }
.t3-rel__t { display: -webkit-box; overflow: hidden; width: 300px; margin-top: 42px; font-size: 18px; font-weight: 800; line-height: 1.4; letter-spacing: .02em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

/* ---------- EVENT（1101:6714: 全幅の帯 #fafaf4・上下 120） ---------- */
.t3-event { margin-top: var(--t3-gap); padding: 120px 0; background: #fafaf4; }   /* 4556→4676 / 4796 */
.t3-event__cols { display: grid; grid-template-columns: repeat(2, 540px); justify-content: space-between; width: var(--cw); margin: 0 auto; }
.t3-evp { padding: 24px 20px 20px; border-radius: 12px 12px 0 12px; background: #ece6d8; }
.t3-evp__ttl { font-size: 24px; font-weight: 600; line-height: 1; letter-spacing: .02em; text-align: center; }
.t3-evp__ttl em { color: var(--wine); font-style: normal; }
.t3-evp__list { display: grid; gap: 10px; margin-top: 22px; }   /* 4910+24 → 4956 */
.t3-evp__list a { position: relative; display: block; height: 160px; padding: 23px 20px 0 220px; border-radius: 16px 16px 0 16px; background: #fff; box-shadow: var(--t3-shadow); transition: transform .25s; }
.t3-evp__list a::after, .t3-db__grid a::after { background: var(--wine); }
.t3-evp__list a:is(:hover, :focus-visible), .t3-db__grid a:is(:hover, :focus-visible) { transform: translateY(-2px); }
.t3-evp__img { position: absolute; left: 10px; top: 10px; overflow: hidden; width: 190px; height: 140px; border-radius: 12px; }
.t3-evp__img img { width: 100%; height: 100%; object-fit: cover; }
.t3-evp__date { display: -webkit-box; overflow: hidden; width: 260px; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.t3-evp__t { display: -webkit-box; overflow: hidden; width: 250px; margin-top: 4px; font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: .02em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }   /* 4979+45=5024 → 5029 */

/* ---------- DATABASE（1101:6789: 360×110 の 3×3） ---------- */
.t3-db { padding-bottom: 120px; }   /* フッター前 120 は塗りの内側で取る（margin だと地色の帯になる＝塗り足しなし禁止） */
.v3 main > section.t3-db { padding-bottom: 120px; }   /* quality.css の「最後のセクション下 80」より優先（Figma: DB 6176 → フッター 6296 = 120） */
.t3-db__grid { display: grid; grid-template-columns: repeat(3, 360px); gap: 20px; width: var(--cw); margin: 0 auto; }
.t3-db__grid a { position: relative; display: block; height: 110px; padding: 39px 20px 0; border-radius: 8px 8px 0 8px; background: #fff; box-shadow: var(--t3-shadow); transition: transform .25s; }
.t3-db__lbl { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 160px; height: 30px; padding-bottom: 3px; border-radius: 8px 0 8px 0; background: var(--wine); color: #fff; font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .04em; }
.t3-db__t { display: -webkit-box; overflow: hidden; width: 310px; font-size: 20px; font-weight: 800; line-height: 1.4; letter-spacing: .02em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* ---------- フッター（1101:6882）: 共通フッターの骨格に TOP の色だけ載せる ---------- */
.v3 .foot__logo { position: relative; display: block; flex: none; }
.v3 .foot__logo .foot__mark { position: absolute; left: 0; top: 0; width: 80px; height: 80px; }   /* ループロゴ（ヘッダーと同じ配色・24 秒） */
.v3 .foot { border-top: 0; }
.v3 .foot__lead em { color: var(--wine); font-style: normal; }
.v3 .foot__lead { border-bottom-color: #d7d2c8; }
/* PC の寸法（Figma 2000 幅）。SP は共通フッターの縦積みのまま */
@media (min-width: 768px) {
  .v3 .foot__top-in { gap: 60px; height: 140px; padding: 30px 0 0; }   /* ロゴ 440+180+60 = 本文 680 */
  .v3 .foot__lead { padding-bottom: 23px; border-bottom-color: #d7d2c8; line-height: 1; letter-spacing: .08em; }   /* 6326 → 罫線 6373 */
  .v3 .foot__nav { flex-wrap: nowrap; gap: 20px; margin-top: 16px; line-height: 1; }
  .v3 .foot__nav a { min-height: 0; line-height: 1; }
  .v3 .foot__logo { flex: none; }
  .v3 .foot__intro { width: 880px; flex: none; }
  .v3 .foot__mid-in { grid-template-columns: 220px 540px 1fr; column-gap: 20px; }
  .v3 .fside { justify-self: end; width: 300px; }   /* 地図 1220 → 右列 1260 = 40 */
}
.v3 .foot__nav .ic { width: 14px; height: 14px; color: var(--wine); }   /* .v3 .ic の 20px を Figma の 14px へ戻す */
.v3 .foot__bg::after { content: none; }   /* 書き出し画像に青 30% とぼかしを焼き込み済み */
.v3 .fcol li + li::before { background: #d7d2c8; }
.v3 .fcol a .ic--arw { color: var(--c); }
.v3 .fcol a { padding: 0 38px 4px 18px; }   /* Figma: 文字は矢印を除いた幅で中央（-10px）・字面 2px 上 */
.v3 .fcol__h { padding-bottom: 5px; }
.v3 .fcol a:is(:hover, :focus-visible) { color: var(--wine); background: #f4f2e8; }
.v3 .fmap__h em, .v3 .fbox__ttl em { color: var(--wine); }
.v3 .fbox::after { background: var(--wine); }
.v3 .foot__search input::placeholder { color: #a0afb9; }
.v3 .foot__btm-in > p:first-child { font-size: 14px; line-height: 22.4px; }
.v3 .foot__copy { line-height: 19.2px; }
.v3 .foot__nav a:is(:hover, :focus-visible) { color: var(--wine); }

/* 字面の光学補正: Figma は Noto Sans JP の 1 行ラベルを CSS の上下中央より 1.5px 上に置く（2000 幅の全テキスト照合 2026-10-07） */
.t3-topbar__sub span, .t3-nav__t, .t3-more > span { position: relative; top: -1.5px; }
.t3-pill, .t3-ccard__tag { padding-bottom: 3px; }


/* =====================================================================
   SP（767 以下）: Figma なし。PC の並び・色・角の形をそのまま縦積みにする
   ===================================================================== */
@media (max-width: 767px) {
  .v3 { --t3-gap: 72px; }
  .t3-topbar { display: none; }
  .t3-bar { align-items: center; width: auto; height: 64px; margin: 12px 16px 0; }
  .t3-logo, .t3-logo img:not(.t3-logo__mark) { width: 145px; height: 64px; }
  .t3-logo__mark { width: 64px; height: 64px; }   /* 110/250 × 145 */
  .v3 .foot__logo .foot__mark { width: 60px; height: 60px; }   /* 文字 135×60 に合わせる */
  .t3-nav { display: none; }
  .t3-menu { display: flex; position: static; margin-right: -8px; }

  .t3-mv__in { display: flex; flex-direction: column; width: auto; height: auto; margin: 20px 16px 0; }
  .t3-mv__copy { padding-top: 0; }
  .t3-mv__en { font-size: 46px; }
  .t3-mv__catch { margin-top: 12px; font-size: 16px; }
  .t3-mv__art { position: relative; left: auto; top: auto; width: 100%; margin-top: 12px; }
  .t3-mv__ttl { position: static; order: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: auto; height: auto; margin-top: 12px; }
  .t3-mv__ttl span { position: static; width: auto; height: auto !important; padding: 4px 10px; font-size: 20px; writing-mode: horizontal-tb; font-family: "Noto Sans JP", sans-serif; letter-spacing: 0; line-height: 1.5; }
  .t3-mv__kicker { position: static; order: 4; margin-top: 12px; font-size: 13px; writing-mode: horizontal-tb; width: auto; font-family: "Noto Sans JP", sans-serif; letter-spacing: .04em; }

  .t3-diag { width: auto; margin: 32px 16px 0; margin-top: 56px; }
  .t3-diag ul { grid-template-columns: 1fr; gap: 12px; }
  .t3-diag__sm { margin-top: 36px; gap: 24px; }
  .t3-diag a { height: auto; padding: 26px 16px 30px; border-radius: 20px 20px 0 20px; }
  .t3-diag__clip { border-radius: 0 0 0 20px; }
  .t3-diag__sm a { padding: 18px 12px 20px 92px; border-radius: 14px 14px 0 14px; min-height: 104px; }
  .t3-diag__sub, .t3-diag__ttl, .t3-diag__sm .t3-diag__sub, .t3-diag__sm .t3-diag__ttl { width: auto; }
  .t3-diag__sub { font-size: 15px; }
  .t3-diag__ttl { font-size: 30px; }
  .t3-diag__sm .t3-diag__sub { font-size: 13px; }
  .t3-diag__sm .t3-diag__ttl { font-size: 20px; }
  .t3-diag__lg { gap: 40px; }
  .t3-diag__lg a { padding: 26px 12px 30px 140px; text-align: center; }
  .t3-diag__img--kakei { left: -6px; top: -42px; width: 167px; height: 167px; }   /* 140 の静止画相当（342/286） */
  .t3-diag__img--chiiki, .t3-diag__img--kakei-still { left: 4px; top: -30px; width: 140px; height: 140px; }
  .t3-diag__img--event, .t3-diag__img--data, .t3-diag__img--support { left: 8px; top: -12px; width: 72px; height: auto; }
  .t3-event { padding: 64px 0; }
  .t3-event__cols { grid-template-columns: 1fr; gap: 20px; width: auto; margin: 0 16px; }
  .t3-evp { padding: 18px 10px 10px; }
  .t3-evp__ttl { font-size: 19px; }
  .t3-evp__list { margin-top: 16px; }
  .t3-evp__list a { height: auto; min-height: 112px; padding: 12px 18px 16px 132px; }
  .t3-evp__img { left: 8px; top: 8px; width: 116px; height: 96px; }
  .t3-evp__date, .t3-evp__t { width: auto; }
  .t3-evp__date { font-size: 12px; }
  .t3-evp__t { font-size: 16px; }
  .t3-db, .v3 main > section.t3-db { padding-bottom: 72px; }
  .t3-db__grid { grid-template-columns: 1fr; gap: 12px; width: auto; margin: 0 16px; }
  .t3-db__grid a { height: auto; padding: 40px 18px 18px; }
  .t3-db__t { width: auto; font-size: 17px; }
  .t3-rel__head { flex-wrap: wrap; row-gap: 14px; margin-top: 36px; }
  .t3-admin { width: auto; margin: 40px 16px 0; }
  .t3-admin__ttl { font-size: 22px; }
  .t3-admin__sub { font-size: 13px; line-height: 1.6; margin-top: 10px; }
  .t3-ccard__tag--admin { width: 104px; }

  .t3-head2 { flex-wrap: wrap; row-gap: 16px; width: auto; height: auto; margin: 0 16px 24px; }
  .t3-head2__ttl { gap: 12px; }
  .t3-head2__en { font-size: 40px; }
  .t3-head2__ja { padding-top: 14px; font-size: 14px; }
  .t3-more { width: 100%; height: 52px; }

  .t3-story__row { gap: 16px; margin-left: 16px; animation-duration: 50s; }
  @keyframes t3-flow { to { transform: translateX(-1536px); } }   /* 6 × (240 + 16) */
  .t3-scard { width: 240px; }
  .t3-scard a { height: auto; }
  .t3-scard__img { width: 240px; height: 240px; border-radius: 32px 32px 0 32px; }
  .t3-scard__tags { top: 225px; }
  .t3-scard__q { width: 225px; font-size: 18px; }

  .t3-col__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 12px; width: auto; margin: 0 16px; }
  .t3-ccard--lg { grid-column: span 2; grid-row: auto; width: auto; }
  .t3-ccard a { padding-bottom: 20px; }
  .t3-ccard__img { width: calc(100% - 10px); height: auto; aspect-ratio: 5 / 3; }
  .t3-ccard__tag { top: auto; position: relative; margin: -15px 0 0 8px; width: 92px; }
  .t3-ccard__ttl { width: auto; margin: 12px 12px 0; font-size: 15px; }
  .t3-ccard--lg .t3-ccard__img { width: calc(100% - 20px); height: auto; aspect-ratio: 395 / 260; }
  .t3-ccard--lg .t3-ccard__tag { top: auto; left: auto; margin-left: 16px; }
  .t3-ccard--lg .t3-ccard__ttl { width: auto; margin: 16px 16px 0; font-size: 24px; }

  .t3-area__tabs { overflow-x: auto; width: auto; margin: 0 16px; scrollbar-width: none; }
  .t3-tab { flex: none; width: 84px; height: 46px; font-size: 17px; }
  .t3-area__band { height: 220px; margin: 0 16px; border-radius: 24px; }
  .t3-area__panel { width: auto; margin: -28px 16px 0; }
  .t3-area__en { font-size: 56px; }
  .t3-area__intro { flex-direction: column; margin-top: 16px; }
  .t3-area__name { flex: none; font-size: 44px; }
  .t3-area__txt { width: auto; margin-top: 16px; }
  .t3-area__lead { font-size: 18px; }
  .t3-area__desc { font-size: 14px; }
  .t3-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
  .t3-stats li { height: auto; padding: 18px 10px 20px; }
  .t3-stat__h { font-size: 15px; }
  .t3-stat__v b { font-size: 44px; }
  .t3-stat__v i { margin-top: 2px; font-size: 18px; }
  .t3-stat__v--rank i { margin-top: 22px; }
  .t3-stat__t { font-size: 13px; }
  .t3-stats .t3-stat--sub { height: auto; padding: 16px 10px 18px; }
  .t3-stat--sub .t3-stat__h { font-size: 13px; line-height: 1.4; }
  .t3-stat--sub .t3-stat__v b { font-size: 36px; }
  .t3-stat--sub .t3-stat__v i { margin-top: 2px; font-size: 15px; }
  .t3-stat--sub .t3-stat__v--rank i { margin-top: 17px; }
  .t3-stat--sub .t3-stat__t { font-size: 11px; }
  .t3-rel__ttl { font-size: 18px; }
  .t3-rel__cols { grid-template-columns: 1fr; }
  .t3-rel__cols .t3-rel__list + .t3-rel__list { border-top: 0; }
  .t3-rel__list a { gap: 12px; padding: 14px 0; }
  .t3-rel__img { width: 120px; height: 72px; }
  .t3-rel__list .t3-ccard__tag { position: absolute; top: 14px; left: 132px; width: 84px; height: 24px; margin: 0; font-size: 11px; }
  .t3-rel__t { width: auto; margin-top: 30px; font-size: 14px; }

}

/* 最狭幅（320–359）: 数字カードの文字が縁から 7px まで寄っていた（spacing-gate 320） */
@media (max-width: 359px) {
  .t3-stats li { padding: 18px 12px 20px; }
  .t3-stat__v b { font-size: 38px; }
  .t3-stats .t3-stat--sub { padding: 16px 12px 18px; }
  .t3-stat--sub .t3-stat__v b { font-size: 32px; }
}

/* =====================================================================
   画像の塗り足し（全ページ・絶対ルール・SOU 2026-10-09「200×200 なら 202×202 を最小に」）
   枠（overflow:hidden＋角丸）いっぱいに敷く画像は、枠より上下左右 1px ずつ大きく置く。
   角丸の縁・端数幅（aspect-ratio / calc / %）・枠の背景色が重なると、縁に下地が 1px 覗いて線に見えるため。
   新しい画像枠を作ったらここにセレクタを足す。scripts/image-bleed-gate.mjs が漏れを FAIL にする。
   ===================================================================== */
.v3 :is(.phero__img, .card__img, .story__img, .ev__img, .t3-scard__img, .t3-ccard__img, .t3-area__band, .t3-rel__img, .t3-evp__img, .article__eyecatch, .profile__img) > :is(img, video) {
  display: block; width: calc(100% + 2px); max-width: none; margin: -1px;
}
.v3 :is(.phero__img, .card__img, .story__img, .ev__img, .t3-scard__img, .t3-ccard__img, .t3-area__band, .t3-rel__img, .t3-evp__img) > :is(img, video) { height: calc(100% + 2px); }   /* 枠の高さが決まっているもの（eyecatch / profile は画像の高さなり） */
.fmap__swipe { display: none; }   /* SP だけ（sp-v4.css）で表示する横スクロールの合図 */
.t3-tab--all { display: none; }   /* SP の 3×3 タブを埋める「一覧」（sp-v4.css）。PC は 8 県のまま */

/* 2026-10-18 SOU 指摘：SP 専用の流れる文字（sp-v4.css で display:flex）が PC では素の文字で出ていた。PC のデザインには無いので消す */
.t3-mv__ticker{display:none}

/* 題名は4行固定（各行7字まで。2026-11-20、11/19 は3行）。カードでは同じ切れ目で出す */
.ttl-l { display: inline; }
.t3-ccard__ttl .ttl-l, .art-card__ttl .ttl-l { display: block; }
@media (max-width: 767px) { .t3-rel__t .ttl-l { display: block; } }
@media (max-width: 359px) { .t3-rel__t .ttl-l { display: inline; } }
/* 関連記事の小さいカードは幅339px以下で枠が91pxになる。7字が1行に入る大きさにする */
@media (max-width: 339px) { body .art-card:not(.art-card--lg) .art-card__ttl { font-size: 12.5px; letter-spacing: 0; } }
/* 1続きで流す枠では、4行目の前に全角の空きを入れる（2026-11-20） */
.ttl-l:last-child::before { content: "\3000"; }
.t3-ccard__ttl .ttl-l:last-child::before, .art-card__ttl .ttl-l:last-child::before { content: none; }
@media (max-width: 767px) { .t3-rel__t .ttl-l:last-child::before { content: none; } }
@media (max-width: 359px) { .t3-rel__t .ttl-l:last-child::before { content: "\3000"; } }
/* 一覧カードの見出し＝題名と同じ4行（各行7字まで）。7字が1行に入る大きさで出す（2026-11-20） */
body .card-grid--list .card--lg .card__ttl--column { font-size: 32px; line-height: 1.38; padding-top: 18px; }
@media (max-width: 767px) { body .card-grid--list .card--lg .card__ttl--column { font-size: 30px; } }
@media (max-width: 359px) { body .card-grid--list .card--lg .card__ttl--column { font-size: 28px; } }
