/* 5案目（白黒）下層ページ用。前半はトップ（mono-top.html）の CSS をそのまま切り出したもの */
:root {
  --black: #000;
  --ink: #0b0b0b;
  --white: #fff;
  --gray-1: #ddd;
  --gray-2: #9a9a9a;
  --gray-3: #5c5c5c;
  --line: #262626;
  --dim: rgba(0,0,0,.35);
  --ring: #DC1F35;             /* ロゴの輪の赤。数字のゲージと街並みの線の点だけに使う */
  --skew: -22deg;
  --cut: 44px;                 /* カードの角を落とす量 */
  --ease: cubic-bezier(.22,.61,.36,1);
  --jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --en: 'Jost', 'Noto Sans JP', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--black); color: var(--white); }
body {
  font-family: var(--jp); font-size: 15px; line-height: 1.8; letter-spacing: .03em;
  font-feature-settings: "palt" 1; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.en { font-family: var(--en); text-transform: uppercase; }

/* ------------------------------------------------------------
   斜めボタン（READ MORE）：平行四辺形の地。ホバーで白黒反転
   ------------------------------------------------------------ */
.btn-skew {
  position: relative; z-index: 0; display: inline-flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 30px 0 22px;
  font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--black); transition: color .175s ease;
}
.btn-skew::before, .btn-skew::after {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew));
}
.btn-skew::before { background: var(--white); border: 1px solid var(--white); transition: background-color .175s ease; }
.btn-skew::after { background: var(--gray-3); inset: 4px -6px -4px 6px; z-index: -2; }
.btn-skew .ar { transition: transform .175s ease; }
.btn-skew:hover { color: var(--white); }
.btn-skew:hover::before { background: var(--black); }
.btn-skew:hover .ar { transform: translateX(4px); }
.btn-skew.jp { font-family: var(--jp); font-weight: 700; letter-spacing: .1em; }

/* 斜めのラベル（カード見出しの英字） */
/* 斜めのラベル：平行四辺形は中央を軸に傾けて、左右の斜めの辺が文字から同じだけ離れるようにする。
   右の余白は、最後の文字の後ろに付く字間（.08em）ぶん少なくして、見た目で釣り合わせる */
.tag-skew {
  position: relative; z-index: 0; display: inline-block; padding: 6px calc(1.1em - .08em) 6px 1.1em;
  font-family: var(--en); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .08em;
  text-transform: uppercase; color: var(--black); line-height: 1.2; white-space: nowrap;   /* RENEWABLE ENERGY なども 1 行で */
}
.tag-skew::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--white);
  transform: skewX(var(--skew)); transform-origin: center;
}

/* ------------------------------------------------------------
   ヘッダー：ロゴとハンバーガーだけ
   ------------------------------------------------------------ */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; padding: 0 clamp(16px, 2.4vw, 32px);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,0));
  transition: background-color .35s ease;
}
.head.is-solid { background-color: rgba(0,0,0,.92); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.brand .names { display: flex; flex-direction: column; line-height: 1.15; }
.brand .jpn { font-weight: 700; font-size: 16px; letter-spacing: .12em; }
.brand .enn { font-family: var(--en); font-weight: 500; font-size: 9px; letter-spacing: .32em; color: var(--gray-1); }
.burger {
  position: relative; z-index: 70; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  display: grid; place-items: center;
}
.burger i { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .2s, background-color .35s; }
.burger i:nth-child(1) { top: 14px; }
.burger i:nth-child(2) { top: 21px; }
.burger i:nth-child(3) { top: 28px; }
/* メニューを開いている間はヘッダーをパネルより上に出し、閉じるボタン（×）だけ見せる */
.menu-open .head { z-index: 65; background: transparent; }
/* PC の幅では、ヘッダーに横並びのナビを出す（狭い画面はハンバーガーのメニュー） */
.gnav { display: none; align-items: center; gap: 34px; margin-left: auto; }
.gnav > a, .gnav .dd > a {
  position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 0;
  font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-1);
  transition: color .2s ease;
}
.gnav > a:not(.cta)::after, .gnav .dd > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--white);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.gnav > a:hover, .gnav .dd:hover > a, .gnav .dd:focus-within > a { color: var(--white); }
.gnav > a:not(.cta):hover::after, .gnav .dd:hover > a::after, .gnav .dd:focus-within > a::after { transform: scaleX(1); }
.gnav .dd { position: relative; }
.gnav .dd > a i { width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid currentColor; }
.gnav .dd ul {
  position: absolute; top: calc(100% + 10px); left: -20px; min-width: 220px; margin: 0; padding: 10px 0; list-style: none;
  background: rgba(10,10,10,.96); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s var(--ease), visibility .2s;
}
.gnav .dd ul::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* マウスの移動中に閉じないよう隙間を埋める */
.gnav .dd:hover ul, .gnav .dd:focus-within ul { opacity: 1; visibility: visible; transform: none; }
.gnav .dd ul a { display: block; padding: 10px 20px; font-size: 13px; color: var(--gray-1); letter-spacing: .06em; transition: color .15s ease, background-color .15s ease; }
.gnav .dd ul a:hover { color: var(--white); background: #1a1a1a; }
.gnav .cta { margin-left: 6px; padding: 10px 22px; border: 1px solid rgba(255,255,255,.6); color: var(--white); transition: background-color .2s ease, color .2s ease; }
.gnav .cta:hover { background: var(--white); color: var(--black); }
@media (min-width: 1100px) {
  .gnav { display: flex; }
  .burger { display: none; }
}
.brand { transition: opacity .25s ease; }
.menu-open .brand { opacity: 0; pointer-events: none; }
.menu-open .burger i { background: var(--black); }
.menu-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* メニュー：画面いっぱいの白い面がふわっと出る。中身は真ん中の一列にまとめる */
.menu {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
}
.menu .veil { display: none; }
.menu .panel {
  position: absolute; inset: 0;
  background: var(--white); color: var(--black);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
  padding: 104px 24px 48px; overflow-y: auto;
}
.menu .panel > * { max-width: 560px; margin-left: auto; margin-right: auto; }
.menu-open .menu { pointer-events: auto; }
.menu-open .menu .panel { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.menu nav > a, .menu nav .grp > a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0; white-space: nowrap;
  font-weight: 700; font-size: 22px; letter-spacing: .08em;
  opacity: 0; transform: translateX(30px); transition: opacity .4s ease, transform .5s var(--ease);
}
.menu nav .num { font-family: var(--en); font-size: 11px; color: var(--gray-3); letter-spacing: .1em; width: 22px; }
.menu nav .en { font-size: 11px; font-weight: 500; letter-spacing: .28em; color: var(--gray-3); margin-left: auto; }
.menu nav a:hover { color: var(--gray-3); }
/* 項目ごとに細い線で区切る（子のリンクを持つ項目は、子のリンクの下で区切る） */
.menu nav > a, .menu nav > .grp { border-bottom: 1px solid #dcdcdc; }
.menu nav > a:first-child { border-top: 1px solid #dcdcdc; }
.menu nav > a, .menu nav .grp > a { padding: 16px 0; }
.menu .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; padding: 0 0 18px 36px; }
.menu .sub a { font-size: 13px; color: #333; padding: 4px 0; white-space: nowrap; opacity: 0; transition: opacity .4s ease .2s; }
.menu .sub a:hover { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.menu-open .menu nav > a, .menu-open .menu nav .grp > a, .menu-open .menu .sub a { opacity: 1; transform: none; }
.menu-open .menu nav > *:nth-child(2) > a, .menu-open .menu nav > a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu nav > *:nth-child(3) > a, .menu-open .menu nav > a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu nav > *:nth-child(4) > a, .menu-open .menu nav > a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu nav > *:nth-child(5) > a, .menu-open .menu nav > a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu nav > *:nth-child(6) > a, .menu-open .menu nav > a:nth-child(6) { transition-delay: .25s; }
.menu .menu-foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e2e2e2; font-size: 12px; color: var(--gray-3); line-height: 1.9; }
.menu .menu-foot .sns { display: flex; gap: 18px; margin-top: 12px; color: var(--black); }
@media (max-width: 640px) {
  .menu .panel { padding: 88px 24px 32px; }
  .menu nav > a, .menu nav .grp > a { font-size: 19px; }
  .menu .sub { grid-template-columns: 1fr; padding-left: 36px; }
}

/* ------------------------------------------------------------
   セクション見出し：大きな英字＋小さな和文
   ------------------------------------------------------------ */
.sec { padding: clamp(96px, 12vw, 160px) 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 clamp(20px, 8vw, 120px); margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .en { margin: 0; font-weight: 600; font-size: clamp(44px, 7vw, 104px); line-height: .9; letter-spacing: .06em; }
.sec-head .jpn { margin-top: 16px; font-size: 14px; letter-spacing: .3em; color: var(--gray-2); }
.sec-head .count { font-family: var(--en); font-size: 13px; letter-spacing: .2em; color: var(--gray-2); white-space: nowrap; }
.sec-head .count b { font-weight: 300; font-size: 40px; color: var(--white); letter-spacing: 0; margin-right: 6px; }

/* 出現：見出しは左から、写真はゆっくり横へ */
.rv { opacity: 0; transform: translateX(-36px); transition: transform .65s var(--ease), opacity .5s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

/* ------------------------------------------------------------
   ノッチカード：角を斜めに落とした写真カード。左右交互
   ------------------------------------------------------------ */
.notch-list { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.notch {
  position: relative; display: block; width: calc(100% - clamp(20px, 8vw, 120px)); min-height: clamp(420px, 42vw, 600px);
  overflow: hidden; background: var(--ink);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.notch.r { margin-left: auto; }
.notch .ph { position: absolute; inset: 0 -60px 0 -60px; background: center / cover no-repeat; transform: translateX(-60px); transition: transform 2s ease-in-out; }
.notch.in .ph { transform: translateX(-30px); }
.notch:hover .ph { transform: translateX(-30px) scale(1.03); }
.notch::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  /* 写真はなるべく明るいまま。文字の下だけ薄く沈め、文字には薄い影をつけて読ませる */
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.38) 40%, rgba(0,0,0,0) 70%);
}
.notch.r::after { background: linear-gradient(270deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.38) 40%, rgba(0,0,0,0) 70%); }
.notch .body { text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 2px 18px rgba(0,0,0,.5); }
.notch .body .tag-skew, .notch .body .btn-skew { text-shadow: none; }
.notch .body {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: min(560px, 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 5vw, 72px);
}
.notch.r .body { left: auto; right: 0; }
.notch .idx { font-family: var(--en); font-size: 12px; letter-spacing: .24em; color: var(--gray-1); margin-bottom: 18px; }
.notch .idx b { font-weight: 500; color: var(--white); }
.notch .title { opacity: 0; transform: translateX(-36px); transition: transform .65s var(--ease), opacity .5s ease; }
.notch.in .title { opacity: 1; transform: none; }
.notch h3 { margin: 22px 0 14px; font-weight: 700; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.45; letter-spacing: .06em; }
.notch .jpn { font-size: 13px; letter-spacing: .3em; color: var(--gray-1); margin-bottom: 14px; }
.notch p { margin: 0 0 30px; font-size: 14px; line-height: 2; color: rgba(255,255,255,.82); }
.notch .btn-skew { align-self: flex-start; opacity: 0; transition: opacity .5s ease .4s, color .175s ease; }
.notch.in .btn-skew { opacity: 1; }
.notch .links { display: flex; flex-direction: column; margin: 0 0 30px; border-top: 1px solid rgba(255,255,255,.2); }
.notch .links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.2); font-weight: 500; transition: padding-left .175s ease; }
.notch .links a span { font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--gray-2); }
.notch .links a:hover { padding-left: 12px; }
@media (max-width: 760px) {
  :root { --cut: 26px; }
  /* スマホ：写真に文字を重ねると写真の半分以上が隠れるので、写真を上、文字を下に分ける。写真の下端は地の色へ溶かす */
  .notch { display: flex; flex-direction: column; width: calc(100% - 16px); min-height: 0; }
  .notch .ph { position: relative; inset: auto; flex: none; height: 62vw; margin: 0 -24px; transform: translateX(0); }
  .notch.in .ph, .notch:hover .ph { transform: translateX(-16px); }
  .notch::after, .notch.r::after { background: linear-gradient(180deg, rgba(0,0,0,0) calc(62vw - 100px), var(--ink) 62vw); }
  .notch .body, .notch.r .body { position: relative; inset: auto; width: auto; margin-top: -40px; padding: 0 24px 40px; }
  .notch p { font-size: 13px; }
}

/* ------------------------------------------------------------
   数字
   ------------------------------------------------------------ */
/* 3案目（オリジナル）の輪のゲージ */
.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 clamp(20px, 8vw, 120px); }
.gauge { text-align: center; }
.gauge .g { position: relative; width: min(180px, 100%); aspect-ratio: 1; margin: 0 auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gauge .track { fill: none; stroke: var(--line); stroke-width: 1.5; }
.gauge .bar { fill: none; stroke: var(--white); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.gauge .bar.red { stroke: var(--ring); stroke-width: 3; }
.gauge .seg { fill: none; stroke: var(--white); stroke-width: 3; stroke-dasharray: 0 1; transition: stroke-dasharray 2s var(--ease); }
.gauge .dot { fill: var(--white); opacity: 0; transition: opacity .3s ease; }
.gauge.in .bar { stroke-dashoffset: 0; }
.gauge .val { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 38%; }
.gauge .val b { font-family: var(--en); font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.01em; }
.gauge .val small { margin-left: 4px; font-size: 13px; color: var(--gray-1); }
.gauge .lb { margin-top: 18px; font-size: 13px; color: var(--gray-2); letter-spacing: .1em; }
@media (max-width: 760px) { .gauges { grid-template-columns: 1fr 1fr; gap: 40px 16px; } }

/* ------------------------------------------------------------
   街並みの線（3案目から）：区切り。画面に入ると左から描かれる
   ------------------------------------------------------------ */
.skyline { padding: 0 clamp(20px, 8vw, 120px); margin: clamp(80px, 10vw, 140px) 0 0; }
.skyline svg { width: 100%; height: auto; overflow: visible; }
.skyline path { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.skyline.in path { transition: stroke-dashoffset 3.2s var(--ease); stroke-dashoffset: 0; }
.skyline + .foot { margin-top: 0; border-top: 0; }

/* ------------------------------------------------------------
   お問い合わせ
   ------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin: 0 clamp(20px, 8vw, 120px); }
.ccard {
  position: relative; display: flex; flex-direction: column; padding: 44px 40px 40px; min-height: 260px;
  background: var(--ink); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  transition: background-color .25s ease, border-color .25s ease;
}
.ccard .k { font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--gray-2); }
.ccard h3 { margin: 14px 0 10px; font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: .06em; }
.ccard p { margin: 0; font-size: 13px; line-height: 1.9; color: var(--gray-2); flex: 1; }
.ccard .go { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .2em; padding-top: 16px; border-top: 1px solid var(--line); }
/* ホバーは白く塗らず、地を少しだけ明るくして、枠と区切り線を白く、矢印を右へ */
.ccard .go span { transition: transform .25s var(--ease); }
.ccard:hover { background: #161616; border-color: rgba(255,255,255,.55); }
.ccard:hover .go { border-top-color: rgba(255,255,255,.55); }
.ccard:hover .go span { transform: translateX(6px); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; margin: 0 16px; } .ccard { padding: 32px 24px; } }

/* ------------------------------------------------------------
   フッター
   ------------------------------------------------------------ */
.foot { margin-top: clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); padding: 56px clamp(20px, 8vw, 120px) 36px; }
.foot .row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot .addr { margin-top: 18px; font-size: 12px; line-height: 2; color: #c4c4c4; }
.foot .follow { margin-top: 26px; }
.foot .follow .lbl { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 12px; }
.foot .sns-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.foot .sns-btns a {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px;
  border: 1px solid rgba(255,255,255,.45); color: var(--white); font-size: 13px; letter-spacing: .06em;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.foot .sns-btns svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.foot .sns-btns svg .dot, .foot .sns-btns svg .play { fill: currentColor; stroke: none; }
.foot .sns-btns a:hover { background: var(--white); color: var(--black); border-color: var(--white); }
/* SNS は線のアイコン（文字ではなく）。色は文字色に合わせる */
.sns a { display: grid; place-items: center; width: 28px; height: 28px; }
.sns svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.sns svg .dot, .sns svg .play { fill: currentColor; stroke: none; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.foot .links a { color: var(--gray-1); transition: color .175s ease; }
.foot .links a:hover { color: var(--white); }
.foot .row3 { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.foot .copy { font-family: var(--en); font-size: 11px; letter-spacing: .14em; color: var(--gray-2); }
.foot .accel img { width: 220px; height: auto; }

/* トップに戻る */
.totop {
  position: fixed; z-index: 40; right: 20px; bottom: 20px; height: 40px; padding: 0 20px;
  border: 0; background: none; cursor: pointer; font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--black); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease;
}
.totop::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: skewX(var(--skew)); }
.totop.is-on { opacity: 1; pointer-events: auto; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv, .notch .title, .slide .kicker, .slide h2, .slide .logo, .slide .sub, .slide .btn-skew, .notch .btn-skew { opacity: 1 !important; transform: none !important; }
}
/* ページの一番大きな見出し：検索・AI・読み上げ用。画面には出さない（見た目の主役はヒーローのロゴと言葉） */
.vh-h1 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.slide .ph-img, .notch .ph-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* 見出しの「〜」は途中で折り返さない */
.nw { display: inline-block; }
/* 事業カードの本文は日本語の文節で折り返す（文節の切れ目に <wbr>。lighten.py が入れる） */
.notch p { word-break: keep-all; overflow-wrap: anywhere; }

/* ============================================================
   下層ページ（事業一覧・各事業）だけで使う部品
   ============================================================ */

/* 背景で敷いた写真に重ねる同じ写真（alt を持たせるため）。見た目は背景と同じに覆う */
.ph-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ktwo .ph, .btab .ph, .mini .ph { position: relative; overflow: hidden; }

/* ページの頭：写真を全幅に敷き、左下に見出し。写真はトップと同じくゆっくり横へ流れる */
.phero { position: relative; height: 100vh; height: 100svh; min-height: 560px;   /* 参考サイトと同じく、画面いっぱいのビジュアル */
  overflow: hidden; background: var(--black); }
.phero .ph { position: absolute; inset: -2% -60px -2% 0; background: center / cover no-repeat; animation: drift 14s linear forwards; }
@keyframes drift { from { transform: translateX(0) scale(1.04); } to { transform: translateX(-60px) scale(1.04); } }
.phero::after {
  content: ''; position: absolute; inset: 0;
  /* 参考サイトと同じ薄さ：下の 4 割だけ、いちばん下で黒 50% */
  background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 40%);
}
.phero .copy { position: absolute; z-index: 2; left: clamp(20px, 8vw, 120px); right: clamp(20px, 8vw, 120px); bottom: clamp(56px, 11vh, 110px); max-width: 920px; }
/* パンくず：写真の上（看板などと重なる）ではなく、写真のすぐ下に細い線で区切った帯として置く */
.crumb { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px clamp(20px, 8vw, 120px); border-bottom: 1px solid var(--line); font-family: var(--en); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gray-2); }
.crumb > span:last-child { color: var(--white); }
.crumb a { color: var(--gray-1); transition: color .175s ease; }
.crumb a:hover { color: var(--white); }
.phero .kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-1); }
.phero .kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.phero .kicker b { font-weight: 500; color: var(--white); }
/* 地の白い写真のヒーロー（事業一覧）：見出しを下に寄せ、その下の帯だけに黒いグラデーションをかけて白い文字を読ませる */
.phero.lt::after { background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 40%); }   /* 参考サイトのヒーローと同じ：下の 4 割だけ、いちばん下で黒 50% */
.phero.lt .copy { bottom: clamp(36px, 7vh, 72px); }   /* 見出しはグラデーションの濃いところ（下の方）に置く */
.phero.lt .kicker { color: var(--white); }
.phero.lt .copy, .phero.lt h1 { text-shadow: 0 1px 2px rgba(0,0,0,.25); }   /* 文字のまわりがにじんで暗く見えないよう、影はごく細くだけ */
.phero h1 { margin: 0; font-weight: 700; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.4; letter-spacing: .06em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
/* 開いたとき、見出しが左から順に滑り込む */
.phero .copy > * { opacity: 0; transform: translateX(-36px); }
.is-ready .phero .copy > * { opacity: 1; transform: none; transition: transform .65s var(--ease) .2s, opacity .5s ease .2s; }
.is-ready .phero .copy > :nth-child(2) { transition-delay: .3s; }
.is-ready .phero .copy > :nth-child(3) { transition-delay: .4s; }

/* 導入：大きな一文の下に本文を置く（ビジョンの帯と同じ縦の流れ）。
   本文は左の縦線で見出しとつなぎ、1行が長くなりすぎないよう幅を絞る */
.lead { display: grid; gap: clamp(32px, 4vw, 48px); padding: 0 clamp(20px, 8vw, 120px); }
.lead p { max-width: 34em; }
.lead .en-s { display: block; margin-bottom: 18px; font-family: var(--en); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-2); }
.lead h2 { margin: 0; font-weight: 700; font-size: clamp(24px, 3vw, 40px); line-height: 1.6; letter-spacing: .06em; }
.lead p { margin: 0 0 .5em; padding-left: clamp(20px, 2.4vw, 36px); border-left: 1px solid rgba(255,255,255,.35); font-size: 16px; line-height: 2.2; color: rgba(255,255,255,.85); }
@media (max-width: 1000px) { .lead p { font-size: 15px; } }
@media (max-width: 600px) { .lead h2 { font-size: 20px; } }   /* 「遊ぶための場所であると同時に、」が 1 行に収まる大きさ */

/* 狭い画面：大きな英字の見出しの右に置く件数（11 Stores など）が、長い見出しの横ではみ出さない大きさに */
@media (max-width: 600px) { .sec-head .count { letter-spacing: .1em; } .sec-head .count b { font-size: 30px; margin-right: 4px; } }

/* 事業一覧のカードに載せる数字 */
.notch .stats { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: -6px 0 28px; }
.notch .stats div { display: flex; flex-direction: column; }
.notch .stats b { font-family: var(--en); font-weight: 300; font-size: 30px; line-height: 1.1; }
.notch .stats b small { margin-left: 3px; font-family: var(--jp); font-size: 13px; font-weight: 500; }
.notch .stats span { font-size: 11px; letter-spacing: .1em; color: var(--gray-1); }

/* ------------------------------------------------------------
   アミューズメント（組み直し）：トップの部品（大きな英字の見出し・角を落としたカード・輪のゲージ・街並みの線）でつなぐ
   ------------------------------------------------------------ */
/* 一文：大きな英字の見出しの下に、和文の一文、その下に本文。本文は左の縦線で一文とつなぎ、1行が長くなりすぎないよう幅を絞る */
.stmt { display: grid; gap: clamp(32px, 4vw, 56px); padding: 0 clamp(20px, 8vw, 120px); }
.stmt h3 { margin: 0; font-weight: 700; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.6; letter-spacing: .06em; }
.stmt p { max-width: 48em; margin: 0; padding-left: clamp(20px, 2.4vw, 36px); border-left: 1px solid rgba(255,255,255,.35); font-size: 15px; line-height: 2.2; color: rgba(255,255,255,.85); }
@media (max-width: 600px) { .stmt h3 { font-size: 20px; } }

/* ブランド：トップと同じ角落としカード。ロゴを見出しの上に */
.notch .brandlogo { display: block; width: min(260px, 70%); margin: 0 0 22px; }

/* ビジョン：黒地の中央に一文と輪のゲージ。写真は暗くせず、その下に横いっぱいの一枚で明るいまま見せる。
   画面に入ると写真が少し引いて落ち着く */
.band { position: relative; display: flex; flex-direction: column; margin-top: clamp(96px, 12vw, 160px); padding: clamp(110px, 13vw, 180px) 0 0; overflow: hidden; }
.band .bg { position: relative; order: 9; width: 100%; height: clamp(240px, 42vw, 620px); margin-top: clamp(72px, 9vw, 120px); background: center / cover no-repeat; transform: scale(1.08); transition: transform 3s ease-out; }
.band.in .bg { transform: scale(1); }
.band > :not(.bg) { position: relative; z-index: 2; }
.vis { text-align: center; padding: 0 20px; }
.vis .en-s { font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: var(--gray-1); }
.vis h2 { margin: 26px 0 0; font-weight: 700; font-size: clamp(26px, 4vw, 56px); line-height: 1.5; letter-spacing: .1em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.vis .rule { width: 1px; height: 64px; margin: 34px auto; background: rgba(255,255,255,.5); }
.vis p { max-width: 36em; margin: 0 auto; font-size: 15px; line-height: 2.2; color: rgba(255,255,255,.85); }
.vis p + p { margin-top: 1.2em; }
.vis + .gauges { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 200px); justify-content: center; gap: clamp(16px, 6vw, 96px); margin: clamp(56px, 7vw, 88px) clamp(16px, 8vw, 120px) 0; }   /* 輪は 1 つでも 3 つでも中央に並ぶ */
.vis + .gauges .lb { color: var(--gray-1); }
/* 輪が 1 つだけの段（アミューズメントの店舗数）は、左寄せの文字に合わせて、輪と説明を横に並べる */
.band .gauges:has(> .gauge:only-child) .gauge { display: flex; align-items: center; gap: 28px; text-align: left; }
.band .gauges:has(> .gauge:only-child) .g { flex: none; width: 150px; margin: 0; }
.band .gauges:has(> .gauge:only-child) .lb { margin: 0; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.35); font-size: 14px; line-height: 1.8; }
/* 輪の欄（幅 200px の格子）に押し込まれて説明が縦に潰れないよう、格子をやめて横幅いっぱいに */
.band .gauges:has(> .gauge:only-child) { display: block; }
.band .gauges:has(> .gauge:only-child) .lb { white-space: nowrap; }
@media (max-width: 600px) {
  .band .gauges:has(> .gauge:only-child) .gauge { gap: 18px; }
  .band .gauges:has(> .gauge:only-child) .g { width: 110px; }
  .band .gauges:has(> .gauge:only-child) .lb { padding-left: 18px; font-size: 13px; white-space: normal; }
}
/* PC は文字と写真を左右に並べる：左に一文と数字、右に写真。左右とも本文と同じ余白をとる。スマホは縦に積んだまま */
@media (min-width: 901px) {
  .band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: clamp(40px, 5vw, 96px); align-items: center; padding: 0 clamp(20px, 8vw, 120px); }
  .band > :not(.bg) { grid-column: 1; }
  .band .bg { grid-column: 2; grid-row: 1 / span 2; order: 0; height: 100%; min-height: clamp(460px, 46vw, 720px); margin: 0; }
  .band .vis { align-self: end; padding: 0; text-align: left; }
  .band .vis h2 { font-size: clamp(26px, 2.9vw, 46px); }
  .band .vis .rule { width: 64px; height: 1px; margin: 30px 0; }
  .band .vis p { margin: 0; }
  .band .vis + .gauges { align-self: start; justify-content: start; margin: clamp(40px, 4vw, 64px) 0 0; }
  .band .vals { align-self: start; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: start; gap: 20px; margin: clamp(40px, 4vw, 64px) 0 0; text-align: left; }
  .band .vis:last-child { grid-row: 1 / span 2; align-self: center; }   /* 数字のない段は、一文を写真の高さの真ん中に */
}
/* 狭い画面は、事業紹介の段（写真の下に文字）と同じ見せ方：上に余白つきの写真、下に左寄せの文字と数字 */
@media (max-width: 900px) {
  .band { padding: 0 clamp(20px, 8vw, 120px); }
  .band .bg { order: -1; height: auto; aspect-ratio: 4 / 3; margin: 0 0 clamp(32px, 6vw, 48px); }
  .band .vis { padding: 0; text-align: left; }
  .band .vis .rule { width: 48px; height: 1px; margin: 24px 0; }
  .band .vis p { margin: 0; }
  .band .vis + .gauges { justify-content: start; margin: 40px 0 0; }
  .band .vals { justify-content: start; margin: 40px 0 0; text-align: left; }
}
/* 輪が 4 つのとき、狭い画面では 1 列に詰めず 2×2 に */
@media (max-width: 600px) { .vis + .gauges:has(> :nth-child(4)) { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 150px)); row-gap: 36px; } }
@media (max-width: 600px) { .vis p br { display: none; } .vis + .gauges .val b { font-size: 26px; } .vis + .gauges .val small { font-size: 11px; } .vis + .gauges .lb { font-size: 11px; letter-spacing: 0; } }

/* 店舗一覧：1店舗＝1行。番号・写真（左上の角を落とす）・名前・住所・電話を細い線で区切って並べる */
.slist { list-style: none; margin: 0; padding: 0 clamp(20px, 8vw, 120px); border-top: 1px solid var(--line); }
.slist li { display: grid; grid-template-columns: 56px 168px minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
.slist li:hover { background: #0e0e0e; }
.slist .no { font-family: var(--en); font-weight: 300; font-size: 30px; line-height: 1; color: var(--gray-2); transition: color .25s ease; }
.slist li:hover .no { color: var(--white); }
.slist .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px); }
.slist .ph i { position: relative; display: block; height: 100%; background: center / cover no-repeat; transition: transform .8s var(--ease); }
.slist li:hover .ph i { transform: scale(1.06); }
.slist .city { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gray-2); }
.slist h3 { margin: 6px 0 0; font-weight: 700; font-size: 17px; letter-spacing: .06em; }
.slist .ad { margin: 0; font-size: 13px; line-height: 1.9; color: #c4c4c4; }
.slist .tel { font-family: var(--en); font-size: 14px; letter-spacing: .08em; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.3); transition: border-color .175s ease; }
.slist .tel:hover { border-color: var(--white); }
.slist-note { margin: 18px clamp(20px, 8vw, 120px) 0; font-size: 12px; letter-spacing: .1em; color: var(--gray-2); text-align: right; }
@media (max-width: 1000px) {
  .slist li { grid-template-columns: 40px 140px minmax(0, 1fr); gap: 8px 20px; }
  .slist .ph { grid-row: span 3; }
  .slist .ad, .slist .tel { grid-column: 3; }
  .slist .tel { justify-self: start; }
  .slist .no { grid-row: span 3; align-self: start; padding-top: 4px; }
}
@media (max-width: 600px) {
  .slist { padding: 0 16px; }
  .slist li { grid-template-columns: 112px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; }
  .slist .no { display: none; }
  .slist .ph { grid-row: span 3; align-self: start; }
  .slist .ad, .slist .tel { grid-column: 2; }
  .slist h3 { font-size: 15px; }
  .slist .ad { font-size: 12px; line-height: 1.7; }
}

/* 3 つの心がけ（コンビニ）：写真の帯の中、一文の下に番号・大きな和文・英字・一言を 3 列で並べる */
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: clamp(20px, 5vw, 72px); margin: clamp(56px, 7vw, 88px) clamp(20px, 8vw, 120px) 0; text-align: center; }
.vals .val { padding: 28px 12px 24px; border-top: 1px solid rgba(255,255,255,.5); }
.vals .val .n { display: block; font-family: var(--en); font-weight: 300; font-size: 13px; letter-spacing: .2em; color: var(--gray-1); }
.vals .val b { display: block; margin-top: 14px; font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: .2em; }
.vals .val .e { display: block; margin-top: 6px; font-family: var(--en); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gray-1); }
.vals .val p { margin: 18px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
@media (max-width: 600px) { .vals { grid-template-columns: 1fr; gap: 0; } .vals .val { padding: 22px 0; } }

/* 発電所マップ：左に県境の線画と発電所の点（広い画面では画面に留まる）、右に発電所の一覧。行と点はどちらに触れても両方が光る */
.pmap-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding: 0 clamp(20px, 8vw, 120px); }
.pmap { position: sticky; top: 96px; }
.pmap svg { display: block; width: 100%; height: auto; max-height: calc(100vh - 140px); overflow: visible; }
.pmap path { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pmap path.has { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.6); }
.pmap .labels text { fill: var(--gray-2); font-family: var(--en); font-size: 30px; letter-spacing: .3em; text-anchor: middle; text-transform: uppercase; }
.pmap .pt { cursor: pointer; }
.pmap .pt .c { fill: var(--white); transition: fill .2s ease; }
.pmap .pt .halo { fill: none; stroke: var(--ring); stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .25s ease, transform .35s var(--ease); }
.pmap .pt.on .c { fill: var(--ring); }
.pmap .pt.on .halo { opacity: 1; transform: none; }
.plist { padding: 0; }
.plist li { grid-template-columns: 44px 128px minmax(0, 1fr); gap: 20px; padding: 14px 0; }
.plist li.on { background: #0e0e0e; }
.plist li.on .no { color: var(--white); }
.plist h3 { font-size: 15px; }
@media (max-width: 860px) {
  .pmap-wrap { grid-template-columns: 1fr; }
  .pmap { position: static; }
  .pmap svg { max-height: 70vh; margin: 0 auto; }
}
@media (max-width: 600px) {
  .pmap-wrap { padding: 0 16px; }
  .plist li { grid-template-columns: 96px minmax(0, 1fr); gap: 4px 14px; }
  .plist .ph { grid-row: auto; }
}

/* ------------------------------------------------------------
   私たちについて（会社）：参考サイトの会社ページの組み方に寄せる
     ヒーロー（全面の写真に左下の見出し）→ 明るい地に切り替わる代表メッセージ
     → 中央の一本線に沿って左右交互に並ぶ沿革（下に「JUMP TO」の帯）→ 会社概要 → さらに知る
   ------------------------------------------------------------ */
/* 見出し：番号・線・英字・和文の小さな札 */
.ih { display: flex; align-items: center; gap: 16px; padding: 0 clamp(20px, 8vw, 120px); margin-bottom: clamp(40px, 5vw, 72px); font-family: var(--en); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.ih .no { color: var(--ring); }
.ih i { flex: none; width: 56px; height: 1px; background: currentColor; opacity: .4; }
.ih .jp { margin-left: 8px; font-family: var(--jp); font-size: 12px; letter-spacing: .2em; opacity: .6; }


/* 代表メッセージ：ここだけ明るい無地。写真やぼかしは使わず、左に見出し（追従）、右に本文と署名の二段組みで見せる */
.cmsg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); padding: clamp(104px, 12vw, 180px) clamp(20px, 8vw, 120px); background: #ededeb; color: #111; }
.cmsg .hd { align-self: start; position: sticky; top: 120px; }
.cmsg .ih { padding: 0; color: #111; }
.cmsg h2 { margin: 0; font-weight: 700; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.55; letter-spacing: .06em; }
.cmsg .bd { margin-top: clamp(52px, 5vw, 84px); padding-top: 40px; border-top: 1px solid #111; }
.cmsg p { margin: 0; font-size: 16px; font-weight: 500; line-height: 2.3; color: #2a2a2a; }
.cmsg p + p { margin-top: 1.8em; }
/* 代表メッセージの本文：大事な言葉だけ少し大きく太く（一本調子にしない） */
.cmsg .kw { font-style: normal; font-weight: 700; font-size: 1.3em; letter-spacing: .04em; color: #111; }
.cmsg .sign { display: flex; align-items: baseline; justify-content: flex-end; gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.cmsg .sign span { font-size: 12px; letter-spacing: .24em; color: #666; }
.cmsg .sign b { font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .4em; }
@media (max-width: 860px) {
  .cmsg { grid-template-columns: 1fr; gap: 40px; }
  .cmsg .hd { position: static; }
  .cmsg .bd { margin-top: 0; }
  .cmsg p { font-size: 15px; }
}

/* 沿革の入口：4つの時代を横一列に。上の白い線と点は、沿革ページの一本線を横にしたもの */
.eras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 clamp(20px, 8vw, 120px); border-top: 1px solid var(--white); }
.eras a { position: relative; display: block; padding: 40px 24px 8px 0; transition: opacity .2s ease; }
.eras a::before { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border: 1px solid var(--white); border-radius: 50%; background: var(--black); }
.eras a:first-child::before { background: var(--ring); border-color: var(--ring); }
.eras .y { font-family: var(--en); font-weight: 600; font-size: clamp(28px, 3vw, 44px); letter-spacing: .02em; line-height: 1; }
.eras .y small { font-size: .5em; color: var(--gray-1); }
.eras b { display: block; margin-top: 16px; font-size: 16px; letter-spacing: .16em; }
.eras b em { margin-right: 10px; font-style: normal; font-family: var(--en); font-weight: 500; color: var(--ring); }
.eras p { margin: 10px 0 0; font-size: 13px; line-height: 1.9; color: var(--gray-1); }
.eras a:hover { opacity: .7; }
.eras + .go-line { margin: clamp(48px, 5vw, 72px) clamp(20px, 8vw, 120px) 0; }
@media (max-width: 760px) {
  .eras { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--white); margin-left: 24px; }
  .eras a { padding: 0 0 36px 28px; }
  .eras a::before { top: 6px; left: -6px; }
}
@media (max-width: 600px) { .cmsg p br { display: none; } }   /* PC 用に短く切った改行は、狭い画面では自然な折り返しに任せる */

/* 下：時代のタブ（文字だけ。いまの時代の下を斜めの赤い線が滑る）と、進み具合の線 */
.hfoot { position: relative; display: flex; align-items: center; gap: 40px; padding: 0 clamp(20px, 8vw, 120px) clamp(28px, 5vh, 48px); }
.ejump { display: flex; align-items: center; gap: 28px; }
.ejump .lb { font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-2); }
.ejump .tabs { position: relative; display: flex; gap: 28px; }
.ejump button { padding: 10px 0; border: 0; background: none; font-weight: 700; font-size: 14px; letter-spacing: .12em; color: var(--gray-2); cursor: pointer; transition: color .2s ease; }
.ejump button b { margin-right: 8px; font-family: var(--en); font-weight: 600; font-size: 12px; }
.ejump button:hover, .ejump button[aria-current="true"] { color: var(--white); }
.ejump button[aria-current="true"] b { color: var(--ring); }
.ejump .ind { position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--ring); transform: skewX(var(--skew)); transition: left .4s var(--ease), width .4s var(--ease); }

@media (max-width: 760px) {
  .hfoot { flex-direction: column; align-items: stretch; gap: 16px; padding: 0 20px 24px; }
  .ejump { overflow-x: auto; }
  .ejump .lb { display: none; }
  .ejump .tabs { gap: 20px; }
  .ejump button { flex: none; font-size: 13px; }
}

/* 会社概要：左に社屋の写真（広い画面では画面に留まる）、右に細い線で区切った表 */
.profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding: 0 clamp(20px, 8vw, 120px); }
.profile .ph { position: sticky; top: 110px; aspect-ratio: 1; background: center / cover no-repeat; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.profile dl { margin: 0; border-top: 1px solid var(--line); }
.profile .row { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 20px; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.profile dt { font-size: 13px; letter-spacing: .14em; color: var(--gray-2); line-height: 1.9; }
.profile dt span { display: block; font-family: var(--en); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: #5c5c5c; }
.profile dd { margin: 0; font-size: 15px; line-height: 1.9; }
.profile dd small { margin-left: 6px; font-size: 12px; color: var(--gray-2); }
.profile dd a { display: inline-block; margin-top: 8px; font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .16em; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .175s ease; }
.profile dd a:hover { border-color: var(--white); }
.profile .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.profile .tags span { padding: 3px 12px; border: 1px solid var(--line); font-size: 13px; }
.profile.solo { grid-template-columns: minmax(0, 1fr); max-width: 1040px; }   /* 写真なしで表だけ */
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } .profile .ph { position: static; aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .profile .row { grid-template-columns: 1fr; gap: 4px; padding: 18px 2px; } }

/* さらに知る：沿革・地域とのつながり・採用情報への入口。トップの角落としを小さく */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 clamp(20px, 8vw, 120px); }
.more a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(260px, 26vw, 380px); padding: 28px; overflow: hidden; background: var(--ink); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.more a i { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .55; transition: transform .8s var(--ease), opacity .4s ease; }
.more a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 65%); }
.more a > :not(i) { position: relative; z-index: 1; }
.more .k { font-family: var(--en); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-1); }
.more b { margin-top: 8px; font-weight: 700; font-size: 22px; letter-spacing: .08em; }
.more .go { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.3); font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.more .go span { transition: transform .25s var(--ease); }
.more a:hover i { transform: scale(1.05); opacity: .75; }
.more a:hover .go span { transform: translateX(6px); }
@media (max-width: 860px) { .more { grid-template-columns: 1fr; } .more a { min-height: 200px; } }

/* ほかの事業：小さなカードを横に並べる（狭い画面は横にスクロール） */
.minis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 0 clamp(20px, 8vw, 120px); }
.mini {
  display: flex; flex-direction: column; background: var(--ink); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  transition: background-color .25s ease, border-color .25s ease;
}
.mini .ph { aspect-ratio: 4 / 3; background: center / cover no-repeat; }
.mini .b { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 20px; }
.mini .k { font-family: var(--en); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gray-2); }
.mini h3 { margin: 8px 0 6px; font-weight: 700; font-size: 16px; letter-spacing: .06em; }
.mini p { flex: 1; margin: 0; font-size: 12px; line-height: 1.8; color: var(--gray-2); }
.mini .go { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .2em; display: flex; justify-content: space-between; }
.mini .go span { transition: transform .25s var(--ease); }
.mini:hover { background: #161616; border-color: rgba(255,255,255,.55); }
.mini:hover .go { border-top-color: rgba(255,255,255,.55); }
.mini:hover .go span { transform: translateX(6px); }
@media (max-width: 1100px) {
  .minis { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 40%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: clamp(20px, 8vw, 120px); padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: #5c5c5c transparent; }
  .mini { scroll-snap-align: start; }
}
@media (max-width: 600px) { .minis { grid-auto-columns: 72%; padding: 0 16px 12px; } }

@media (prefers-reduced-motion: reduce) {
  .phero .copy > * { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------
   事業一覧：6つの事業の目録。事業ごとに、上に写真（右上を斜めに欠いた形）、下に番号・事業名・一言・説明。
   スマホは 1 列、PC は 2 列に並べる。カーソルを合わせると矢印が右へ
   ------------------------------------------------------------ */
.bwrap { padding: 0 clamp(20px, 8vw, 120px); }
.bix { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 80px) clamp(32px, 4vw, 64px); margin: 0; padding: 0; }
.bix a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 32px; grid-template-areas: "th th th" "no nm ar" "no cp ar" "no d ar"; column-gap: 16px; }
.bix .th { grid-area: th; position: relative; aspect-ratio: 16 / 9; margin-bottom: 24px; overflow: hidden; background: center / cover no-repeat; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.bix .no { grid-area: no; padding-top: 12px; font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .1em; color: var(--ring); }
.bix .nm { grid-area: nm; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.bix .nm b { font-weight: 700; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: .08em; line-height: 1.4; }
.bix .nm .en { font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gray-1); }
.bix .cp { grid-area: cp; margin-top: 8px; font-size: 14px; letter-spacing: .06em; color: var(--gray-1); }
.bix .d { grid-area: d; margin-top: 12px; font-size: 13px; line-height: 1.9; color: var(--gray-1); }
.bix .ar { grid-area: ar; align-self: start; padding-top: 10px; font-family: var(--en); font-size: 20px; transition: transform .3s var(--ease); }
.bix a:hover .ar { transform: translateX(6px); }
@media (max-width: 900px) {
  .bix { grid-template-columns: none; gap: 56px; }
  .bix a { grid-template-columns: 36px minmax(0, 1fr) 24px; column-gap: 12px; }
  .bix .th { margin-bottom: 20px; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
}

/* ------------------------------------------------------------
   お知らせ一覧：上に注目記事の切り替わる写真、斜めの絞り込みの帯（画面上に追従）、明るい地に記事の行
   ------------------------------------------------------------ */
.nhero { position: relative; height: 80vh; height: 80svh; min-height: 540px; overflow: hidden; background: var(--black); }
.nslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.nslide.on { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.nslide .ph { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.06); transition: transform 7s linear; }
.nslide.on .ph { transform: none; }
/* 下層ページのヒーローと同じ薄さ：下の 4 割だけ、いちばん下で黒 50%。文字には薄い影 */
.nslide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 40%); }
.nslide .copy { text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 2px 20px rgba(0,0,0,.5); }
.nslide .copy .btn-skew, .nslide .copy .ndate, .ahero .copy .ndate { text-shadow: none; }   /* 白い札の上の黒文字に影を付けない（にじんで汚く見える） */
.nslide .copy { position: absolute; z-index: 2; left: clamp(20px, 8vw, 120px); right: clamp(260px, 30vw, 460px); bottom: clamp(48px, 9vh, 96px); }
.nslide h2 { margin: 18px 0 28px; font-weight: 700; font-size: clamp(24px, 3vw, 42px); line-height: 1.5; letter-spacing: .06em; }
.nslide .copy > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .8s var(--ease); }
.nslide.on .copy > * { opacity: 1; transform: none; }
.nslide.on .copy > :nth-child(2) { transition-delay: .1s; }
.nslide.on .copy > :nth-child(3) { transition-delay: .2s; }
/* 日付の札：斜めに切った地に日付 */
.ndate { display: inline-block; padding: 5px 22px 5px 14px; background: var(--white); color: var(--black); font-weight: 700; font-size: 12px; letter-spacing: .1em; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.nhead { position: absolute; z-index: 3; top: 112px; left: clamp(20px, 8vw, 120px); }
.nhead .kicker { display: flex; align-items: center; gap: 14px; font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-1); }
.nhead .kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.nhead .t { margin-top: 10px; font-weight: 700; font-size: 18px; letter-spacing: .2em; }
.nthumbs { position: absolute; z-index: 3; right: clamp(20px, 8vw, 120px); bottom: clamp(48px, 9vh, 96px); display: flex; gap: 10px; }
.nthumbs button { position: relative; width: 72px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.35); background: center / cover no-repeat; cursor: pointer; opacity: .55; transition: opacity .2s ease, border-color .2s ease; }
.nthumbs button:hover { opacity: .85; }
.nthumbs button.on { opacity: 1; border-color: var(--white); }
/* 小さな写真の下の線：次の記事へ移るまでの残り時間 */
.nthumbs button i { position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--white); transform: scaleX(0); transform-origin: left; }
.nthumbs button.on i { animation: nprog 6s linear forwards; }
@keyframes nprog { to { transform: scaleX(1); } }

/* 絞り込みの帯：下の記事の行と同じ明るい地。区分は文字だけ。選んでいる区分の下を斜めの赤い線が滑る。ヘッダーの下に追従 */
.nbar { position: sticky; top: 72px; z-index: 30; display: flex; align-items: stretch; gap: clamp(24px, 3vw, 48px); height: 64px; padding: 0 clamp(20px, 8vw, 120px); background: #f2f2f2; color: #111; border-bottom: 1px solid #cfcfcf; }
.nbar .lb { display: flex; align-items: center; font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #8a8a8a; }
.nbar .tabs { position: relative; display: flex; gap: clamp(24px, 2.8vw, 40px); }
.nbar button { position: relative; padding: 0; border: 0; background: transparent; font-weight: 700; font-size: 15px; letter-spacing: .12em; color: #9a9a9a; cursor: pointer; transition: color .2s ease; }
.nbar button:hover, .nbar button[aria-pressed="true"] { color: #111; }
/* 斜めの赤い線：サイト共通の22°で傾けた平行四辺形 */
.nbar .ind { position: absolute; bottom: -1px; left: 0; width: 0; height: 4px; background: var(--ring); transform: skewX(var(--skew)); transition: left .4s var(--ease), width .4s var(--ease); }
.nbar .sort { display: flex; align-items: center; gap: 10px; margin-left: auto; font-weight: 700; color: #111; }
.nbar .sort em { font-style: normal; font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .3em; color: #8a8a8a; }
.nbar .sort b { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid #111; border-radius: 50%; font-family: var(--en); font-weight: 500; font-size: 13px; transition: transform .3s var(--ease), background-color .2s ease, color .2s ease; }
.nbar .sort:hover b { background: #111; color: #fff; }
.nbar .sort.asc b { transform: rotate(180deg); }

/* 記事の行：明るい地。左に写真、右に日付の札・区分・見出し・概要・続きを読む */
.nwrap { padding: clamp(40px, 5vw, 72px) clamp(20px, 8vw, 120px) clamp(80px, 9vw, 140px); background: #f2f2f2; color: #111; }
.nrow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 3.4vw, 56px); padding: clamp(32px, 3.6vw, 48px) 0; border-bottom: 1px solid #cfcfcf; }
.nrow[hidden] { display: none; }
.nrow .th { display: block; aspect-ratio: 16 / 9; background: #111 center / cover no-repeat; transition: opacity .2s ease; }
.nrow .th:hover { opacity: .85; }
/* 写真のない記事：黒地にロゴ */
.nrow .th.noimg { background: #111 url('/logo-mark.png') center / 64px auto no-repeat; }
.nrow .meta { display: flex; align-items: center; gap: 14px; }
.nrow .ndate { background: var(--black); color: var(--white); }
.nrow .cat { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #666; }
.nrow h3 { margin: 18px 0 0; font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.6; letter-spacing: .04em; }
.nrow h3 a { transition: opacity .2s ease; }
.nrow h3 a:hover { opacity: .65; }
.nrow p { margin: 12px 0 24px; font-size: 14px; line-height: 2; color: #444; }
.nempty { margin: 48px 0 0; text-align: center; color: #666; }
/* 明るい地の上の斜めボタン：黒地に白字、ホバーで白黒反転 */
.btn-skew.dk { color: var(--white); }
.btn-skew.dk::before { background: var(--black); border-color: var(--black); }
.btn-skew.dk::after { background: #9a9a9a; }
.btn-skew.dk:hover { color: var(--black); }
.btn-skew.dk:hover::before { background: var(--white); }
@media (max-width: 760px) {
  .nslide .copy { right: clamp(20px, 8vw, 120px); bottom: 108px; }
  .nthumbs { left: clamp(20px, 8vw, 120px); right: auto; bottom: 40px; }
  .nthumbs button { width: 56px; height: 38px; }
  .nhead { top: 96px; }
  .nbar { gap: 0; height: 52px; }
  .nbar .lb { display: none; }
  .nbar .tabs { gap: 20px; }
  .nbar .sort em { display: none; }
  .nrow { grid-template-columns: 1fr; gap: 20px; }
}

/* ------------------------------------------------------------
   お問い合わせ：黒地の見出しと段階（入力・確認・完了）→ 明るい地に、電話と所在地、その下にフォーム
   ------------------------------------------------------------ */
/* 文字のページの見出し：写真のある見出しより小さく詰め、右下に改定日などの補足を置く */
.chead { padding: clamp(120px, 11vw, 160px) 0 clamp(36px, 4vw, 52px); }
.chead .sec-head { margin-bottom: 0; }
.chead .sec-head .en { font-size: clamp(40px, 5.2vw, 76px); }
.chead .count .upd { display: flex; align-items: baseline; gap: 14px; font-family: var(--jp); font-size: 12px; letter-spacing: .16em; color: var(--gray-2); }
.chead .count .upd b { font-weight: 500; font-size: 14px; letter-spacing: .08em; color: var(--white); }
@media (max-width: 760px) { .chead .sec-head { flex-wrap: wrap; } .chead .count { width: 100%; margin-top: 20px; } }
.clead { margin: clamp(24px, 3vw, 32px) 0 0; padding: 0 clamp(20px, 8vw, 120px); font-size: 15px; line-height: 2.1; color: var(--gray-1); }
/* 段階：番号と名前。いまの段階は白、済んだ段階は赤い番号、まだの段階は灰色。間を細い線でつなぐ */
.csteps { display: flex; align-items: center; gap: 0; list-style: none; margin: clamp(40px, 5vw, 56px) 0 0; padding: 0 clamp(20px, 8vw, 120px); font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--gray-2); }
.csteps li { display: flex; align-items: baseline; gap: 10px; transition: color .3s ease; }
.csteps li + li::before { content: ''; align-self: center; width: clamp(32px, 6vw, 88px); height: 1px; margin: 0 clamp(14px, 2vw, 24px); background: currentColor; opacity: .5; }
.csteps b { font-family: var(--en); font-weight: 600; font-size: 22px; letter-spacing: .04em; }
.csteps li.cur { color: var(--white); }
.csteps li.done { color: var(--gray-1); }
.csteps li.done b, .csteps li.cur b { color: var(--ring); }

/* スマホと同じ一段組み：上に電話と所在地、その下にフォーム。広い画面では幅を抑え、左端は見出しにそろえる */
.cwrap { padding: clamp(64px, 8vw, 120px) clamp(20px, 8vw, 120px) clamp(96px, 10vw, 160px); background: #f2f2f2; color: #111; }
.cwrap > * { max-width: 880px; }
/* お問い合わせ：見出し・案内・手順・フォームを、幅 880px の 1 本の列にそろえて画面の真ん中に置く（広い画面で右が空かないように） */
.cc { --side: max(clamp(20px, 8vw, 120px), calc((100% - 880px) / 2)); }
.chead.cc .sec-head, .chead.cc .clead, .chead.cc .csteps, .cwrap.cc { padding-left: var(--side); padding-right: var(--side); }
.cside { margin-bottom: clamp(40px, 5vw, 64px); padding-bottom: 32px; border-bottom: 1px solid #111; }
.cside .k { font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #8a8a8a; }
.cside .k ~ .k { margin-top: 28px; }
.cside .tel { display: block; margin-top: 10px; font-family: var(--en); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: .04em; }
.cside p { margin: 10px 0 0; font-size: 13px; line-height: 2; color: #555; }

/* フォームの項目：番号・項目名・必須の札。入力欄は下線だけ。誤りは赤い文と赤い下線 */
.cbox > * { display: none; }
.cbox[data-step="input"] .cform, .cbox[data-step="confirm"] .cconf, .cbox[data-step="sending"] .cconf,
.cbox[data-step="error"] .cerr, .cbox[data-step="complete"] .cdone { display: block; }
.fld { padding: 0 0 clamp(36px, 4vw, 48px); }
.fld + .fld { padding-top: clamp(32px, 3.6vw, 44px); border-top: 1px solid #d6d6d6; }
.fl { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.fl .no { font-family: var(--en); font-weight: 600; font-size: 14px; color: var(--ring); }
.fl b { font-size: 17px; letter-spacing: .1em; }
.fl em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ring); }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea {
  display: block; width: 100%; box-sizing: border-box; padding: 14px 2px; border: 0; border-bottom: 1px solid #9a9a9a; border-radius: 0;
  background: transparent; font: inherit; font-size: 16px; color: #111; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.cform textarea { padding: 16px; border: 1px solid #9a9a9a; resize: vertical; line-height: 1.9; }
.cform input:focus, .cform textarea:focus { border-color: #111; box-shadow: 0 1px 0 #111; }
.cform textarea:focus { box-shadow: inset 0 0 0 1px #111; }
.cform ::placeholder { color: #b0b0b0; }
.fld .two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fld .cnt { margin-top: 8px; text-align: right; font-family: var(--en); font-size: 12px; letter-spacing: .1em; color: #8a8a8a; }
.fld .err { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--ring); }
.fld .err:empty { display: none; }
.fld.bad input[type="text"], .fld.bad input[type="email"], .fld.bad input[type="tel"], .fld.bad textarea { border-color: var(--ring); }

/* 種類の選択：丸（輪）の印。選ぶと輪の中が赤く満ち、行は黒字に */
.opts { display: grid; grid-template-columns: 1fr; }
.opt { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #dcdcdc; cursor: pointer; font-size: 15px; color: #555; transition: color .2s ease; }
.opt:hover { color: #111; }
.opt input, .chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt i, .chk i { position: relative; flex: none; width: 20px; height: 20px; border: 1px solid #8a8a8a; border-radius: 50%; transition: border-color .2s ease; }
.opt i::after, .chk i::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ring); transform: scale(0); transition: transform .25s var(--ease); }
.opt input:checked + i, .chk input:checked + i { border-color: var(--ring); }
.opt input:checked + i::after, .chk input:checked + i::after { transform: none; }
.opt input:checked ~ span { color: #111; font-weight: 700; }
.opt input:focus-visible + i, .chk input:focus-visible + i { outline: 2px solid #111; outline-offset: 3px; }
.fld.bad .opt i, .fld.bad .chk i { border-color: var(--ring); }

.chk { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 14px; line-height: 1.9; color: #333; }
.chk i { margin-top: 3px; }
.chk a { text-decoration: underline; text-underline-offset: 3px; }
.cbox .act { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: clamp(32px, 4vw, 48px); }
/* フォームの斜めボタンは <button>。ブラウザ既定の四角い枠と地を消す */
button.btn-skew { border: 0; background: none; cursor: pointer; }
.cbox .act .btn-skew { height: 52px; padding: 0 40px 0 30px; font-size: 15px; }
.cbox .back { padding: 0; border: 0; background: none; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: #555; cursor: pointer; }
.cbox .back:hover { color: #111; }

/* 確認・完了・失敗 */
.cbox h2 { margin: 0; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .08em; }
.cbox .note { margin: 16px 0 0; font-size: 14px; line-height: 2; color: #555; }
.cconf dl { margin: clamp(28px, 3vw, 40px) 0 0; border-top: 1px solid #111; }
.cconf .row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 0; border-bottom: 1px solid #d6d6d6; }
.cconf dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #666; }
.cconf dd { margin: 0; font-size: 15px; line-height: 1.9; word-break: break-all; }
.cconf .sending { display: none; margin-top: 20px; font-weight: 700; color: #555; }
.cbox[data-step="sending"] .cconf .act { opacity: .4; pointer-events: none; }
.cbox[data-step="sending"] .cconf .sending { display: block; }
.cdone { text-align: center; padding-top: 16px; }
.cdone .ring { width: 80px; height: 80px; margin: 0 auto 28px; }
.cdone .ring svg { display: block; width: 100%; height: 100%; fill: none; stroke-width: 2; }
.cdone .ring circle { stroke: var(--ring); }
.cdone .ring path { stroke: #111; stroke-linecap: round; stroke-linejoin: round; }
.cdone .rc { display: inline-flex; align-items: baseline; gap: 16px; margin-top: 28px; padding: 14px 28px; border: 1px solid #111; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #666; }
.cdone .rc b { font-family: var(--en); font-weight: 600; font-size: 20px; letter-spacing: .08em; color: #111; }
.cdone .act { justify-content: center; }
@media (max-width: 600px) {
  .clead br { display: none; }
  .csteps { font-size: 13px; }
  .csteps b { font-size: 18px; }
  .fld .two { gap: 16px; }
}

/* ------------------------------------------------------------
   プライバシーポリシー：お問い合わせと同じ組み（黒地の見出し → 明るい地の一段組み）。上に目次、その下に本文
   見出しの番号・項目名の札（.fl）と、地・幅（.cwrap）はお問い合わせのものを使う
   ------------------------------------------------------------ */
.ptoc { margin-bottom: clamp(48px, 6vw, 80px); padding-bottom: 8px; border-bottom: 1px solid #111; }
.ptoc .k { font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #8a8a8a; }
.ptoc ol { list-style: none; margin: 16px 0 0; padding: 0; }
.ptoc li + li { border-top: 1px solid #d6d6d6; }
.ptoc a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-size: 15px; font-weight: 700; letter-spacing: .08em; transition: color .2s ease; }
.ptoc a b { font-family: var(--en); font-weight: 600; font-size: 14px; color: var(--ring); }
.ptoc a .ar { margin-left: auto; font-family: var(--en); color: #8a8a8a; transition: transform .3s var(--ease); }
.ptoc a:hover { color: #555; }
.ptoc a:hover .ar { transform: translateY(3px); }
.psec { scroll-margin-top: 104px; }
.psec + .psec { margin-top: clamp(56px, 6vw, 80px); padding-top: clamp(40px, 4.4vw, 56px); border-top: 1px solid #d6d6d6; }
.psec .fl b { font-size: clamp(19px, 1.8vw, 22px); }
.psec .fl em { font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #8a8a8a; }
.psec p { margin: 0; font-size: 15px; line-height: 2.1; color: #333; }
.psec p + p { margin-top: 1.2em; }
.psec p a { text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.psec p a:hover { color: var(--ring); }
/* 9か条：赤い番号と本文の行 */
.pitems { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid #111; }
.pitems li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid #d6d6d6; font-size: 15px; line-height: 2; color: #333; }
.pitems b { flex: none; width: 28px; padding-top: 1px; font-family: var(--en); font-weight: 600; font-size: 14px; color: var(--ring); }
/* 窓口：黒い枠の中に会社名と電話 */
.pdesk { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; margin-top: 28px; padding: 24px 28px; border: 1px solid #111; }
.pdesk .k { width: 100%; font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #8a8a8a; }
.pdesk b { font-size: 17px; letter-spacing: .08em; }
.pdesk .t { display: flex; align-items: baseline; gap: 12px; }
.pdesk .t em { font-style: normal; font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .2em; color: #8a8a8a; }
.pdesk .t a { font-family: var(--en); font-weight: 600; font-size: 24px; letter-spacing: .04em; }
.pend { margin: clamp(56px, 6vw, 80px) 0 0; padding-top: 24px; border-top: 1px solid #111; font-size: 12px; letter-spacing: .1em; color: #8a8a8a; }
@media (max-width: 600px) {
  .pitems li { gap: 14px; font-size: 14px; }
  .psec p { font-size: 14px; }
  .pdesk { padding: 20px; }
}

/* ------------------------------------------------------------
   地域とのつながり（CSR）：参考サイトの作品ページの組み方
   ------------------------------------------------------------ */
/* ヒーロー下端の斜めのタブ帯：黒い斜めの札「Contents:」と、斜めに切った灰色のタブ */
.phero.kh .copy { bottom: clamp(96px, 15vh, 150px); }
.kbar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: stretch; height: 44px; padding: 0 clamp(20px, 8vw, 120px); background: rgba(0,0,0,.72); overflow-x: auto; }
.kbar .lb { flex: none; display: flex; align-items: center; margin-right: 10px; font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.kbar a { flex: none; display: flex; align-items: center; margin-left: -4px; padding: 0 26px; background: #3a3a3a; font-weight: 700; font-size: 13px; letter-spacing: .1em; white-space: nowrap; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: background-color .2s ease, color .2s ease; }
.kbar a:first-of-type { background: var(--white); color: var(--black); }
.kbar a:hover { background: var(--white); color: var(--black); }
/* 狭い画面：横に並べると右が切れて横スクロールになるので、札を折り返して全部見せる。見出しはその分上へ */
@media (max-width: 760px) {
  .kbar { flex-wrap: wrap; align-items: center; gap: 8px 6px; height: auto; padding: 14px 20px 16px; overflow: visible; }
  .kbar .lb { flex-basis: 100%; margin: 0 0 2px; font-size: 11px; letter-spacing: .24em; color: var(--gray-1); }
  .kbar a { height: 34px; margin-left: 0; padding: 0 18px; font-size: 12px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
  .phero.kh .copy { bottom: 190px; }
}

/* 写真の大きなカルーセル：16:9 の枠、左右に丸い矢印、下に小さな写真の列 */
.kgal { padding: clamp(64px, 8vw, 112px) clamp(20px, 8vw, 120px) 0; }
.kgal .stage { position: relative; aspect-ratio: 16 / 9; max-height: 78vh; margin: 0 auto; overflow: hidden; background: #111; }
.kgal figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.kgal figure.on { opacity: 1; }
.kgal figure .ph { position: absolute; inset: 0; background: center / cover no-repeat; }
.kgal figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 26px 10px 18px; background: var(--white); color: var(--black); font-weight: 700; font-size: 14px; letter-spacing: .08em; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.kgal .nav { position: absolute; z-index: 2; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,0,0,.35); color: var(--white); font-size: 22px; line-height: 1; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.kgal .nav:hover { background: var(--white); color: var(--black); }
.kgal .prev { left: 16px; } .kgal .next { right: 16px; }
.kgal .thumbs { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.kgal .thumbs button { width: 80px; height: 48px; padding: 0; border: 2px solid transparent; background: center / cover no-repeat; opacity: .45; cursor: pointer; transition: opacity .2s ease, border-color .2s ease; }
.kgal .thumbs button:hover { opacity: .8; }
.kgal .thumbs button.on { opacity: 1; border-color: var(--white); }

/* 章：左に写真、右に章の札・引用風の一言・本文・活動の一覧・斜めボタン */
.ktwo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding: clamp(72px, 8vw, 120px) clamp(20px, 8vw, 120px) 0; scroll-margin-top: 72px; }
.ktwo .ph { aspect-ratio: 4 / 3; background: center / cover no-repeat; }
.ktwo .tag { display: inline-flex; align-items: baseline; gap: 12px; padding: 6px 24px 6px 16px; background: var(--white); color: var(--black); font-weight: 700; font-size: 13px; letter-spacing: .12em; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.ktwo .tag b { font-family: var(--en); font-weight: 600; font-size: 14px; color: var(--ring); }
.ktwo h2 { margin: 24px 0 0; font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.6; letter-spacing: .06em; }
.ktwo p { margin: 16px 0 0; font-size: 15px; line-height: 2; color: var(--gray-1); }
.ktwo .stat { display: flex; align-items: baseline; gap: 16px; margin-top: 20px; }
.ktwo .stat b { font-family: var(--en); font-weight: 600; font-size: 56px; line-height: 1; }
.ktwo .stat b small { font-size: .5em; color: var(--ring); }
.ktwo .stat span { font-size: 14px; color: var(--gray-1); }
/* 活動の一覧：黒丸の箇条書き */
.ktwo ul { list-style: none; margin: 28px 0 0; padding: 0; }
.ktwo li { position: relative; padding-left: 22px; }
.ktwo li + li { margin-top: 18px; }
.ktwo li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.ktwo li em { display: inline-block; margin-right: 10px; padding: 1px 10px; border: 1px solid rgba(255,255,255,.6); font-style: normal; font-family: var(--en); font-size: 11px; letter-spacing: .1em; vertical-align: 2px; }
.ktwo li b { font-size: 16px; letter-spacing: .06em; }
.ktwo li span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.9; color: var(--gray-1); }
/* 活動が2つ以上ある段では、リンクをその活動の下に小さく付ける */
.ktwo li .go { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s ease; }
.ktwo li .go:hover { color: var(--ring); }
.ktwo .btn-skew { margin-top: 32px; }
.ktwo .btn-skew + .btn-skew { margin-left: 20px; }

/* 段ごとの組み方の違い */
/* rev：写真を右に */
.ktwo.rev .ph { order: 2; }
/* big：数字を段の主役に。一言の下に大きく置く */
.ktwo.big .stat { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 28px; }
.ktwo.big .stat b { font-size: clamp(88px, 10vw, 160px); letter-spacing: -.01em; }
.ktwo.big .stat span { font-size: 15px; }
/* sub：前の段を補う小さな段。写真を小さく、上の間を詰める */
.ktwo.sub { grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); padding-top: clamp(40px, 5vw, 64px); }
.ktwo.sub .ph { aspect-ratio: 16 / 10; }
.ktwo.sub h2 { margin-top: 18px; font-size: clamp(19px, 1.8vw, 24px); }

/* 関連するお知らせ：白い斜めの札（章の札と同じ形）に細い線を続け、その下に白い記事カード2枚 */
.kother { padding: clamp(96px, 10vw, 140px) 0 0; }
.kother .hd { display: flex; align-items: center; gap: 20px; padding: 0 clamp(20px, 8vw, 120px); }
.kother .hd span { flex: none; padding: 8px 30px 8px 18px; background: var(--white); color: var(--black); font-weight: 700; font-size: 14px; letter-spacing: .14em; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.kother .hd::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.3); }
.kother .list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); padding: clamp(28px, 3vw, 40px) clamp(20px, 8vw, 120px) 0; }
.kother .list > a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; padding: 16px; background: var(--white); color: var(--black); transition: opacity .2s ease; }
.kother .list > a:hover { opacity: .9; }
.kother i { aspect-ratio: 1; background: center / cover no-repeat; }
.kother .t { display: flex; flex-direction: column; align-items: flex-start; }
.kother time { font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: #777; }
.kother .t b { margin-top: 10px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; letter-spacing: .04em; }
.kother .t .btn-skew { margin-top: auto; color: var(--white); }
.kother .t .btn-skew::before { background: var(--black); border-color: var(--black); }
.kother .t .btn-skew::after { background: #9a9a9a; }

@media (max-width: 900px) {
  .ktwo, .ktwo.sub { grid-template-columns: 1fr; }
  .ktwo.rev .ph { order: 0; }
  .kother .list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .kgal .thumbs { justify-content: flex-start; overflow-x: auto; }
  .kgal .thumbs button { flex: none; width: 64px; height: 40px; }
  .kgal .nav { width: 38px; height: 38px; margin-top: -19px; font-size: 18px; }
  .kgal figcaption { font-size: 12px; padding: 8px 20px 8px 12px; }
  .kother .list > a { grid-template-columns: 110px 1fr; gap: 14px; padding: 12px; }
  .kother .t .btn-skew { margin-top: 14px; }
}

/* 沿革：背景の大きな年号（動きは HTL_JS） */
/* 背景の大きな年号：輪郭だけの薄い数字。年が変わるたびに下からせり上がる */
.bigyr { position: absolute; z-index: 0; top: 50%; right: clamp(20px, 8vw, 120px); transform: translateY(-50%); font-family: var(--en); font-weight: 600; font-size: clamp(180px, 24vw, 380px); line-height: .8; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); pointer-events: none; }
.bigyr.flip { animation: yrflip .55s var(--ease); }
@keyframes yrflip { from { opacity: 0; transform: translateY(calc(-50% + 40px)); } to { opacity: 1; transform: translateY(-50%); } }
@media (max-width: 760px) { .bigyr { font-size: 38vw; } }

/* ------------------------------------------------------------
   お知らせの記事：今後の記事の型
   頭（写真あり .ahero ／写真なし .ahead）→ 明るい地の本文 .abody → 前後の記事・一覧へ → ほかのお知らせ（.kother）
   ------------------------------------------------------------ */
/* 頭：日付の札（.ndate）と区分、題名 */
.ahero { position: relative; height: 72vh; height: 72svh; min-height: 480px; overflow: hidden; background: var(--black); }
.ahero .ph { position: absolute; inset: 0; background: center / cover no-repeat; }
/* 頭が動画の記事：枠いっぱいに敷く。元の大きさ（1920x1080）より引き伸ばさないよう、それより広い画面では左右に黒を残す */
.ahero .ph-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1921px) { .ahero .ph-video { object-fit: contain; } }
/* 縦長・狭い画面では、動画を横長のまま（16:9）全部見せる。切り取らず、見出しは動画の下に置く。上はヘッダーの分だけ空ける */
@media (max-aspect-ratio: 4/3) {
  .ahero.vid { height: auto; min-height: 0; padding-top: 72px; }
  .ahero.vid .ph { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .ahero.vid .ph-video { object-fit: contain; }
  .ahero.vid::after { content: none; }
  .ahero.vid .copy { position: relative; left: auto; right: auto; bottom: auto; padding: 28px clamp(20px, 8vw, 120px) 40px; text-shadow: none; }
}
/* 下層ページのヒーローと同じ薄さ：下の 4 割だけ、いちばん下で黒 50%。文字には薄い影 */
.ahero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 40%); }
.ahero .copy { text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 2px 20px rgba(0,0,0,.5); }
.ahero .copy, .ahead .copy { position: relative; z-index: 1; max-width: 960px; }
.ahero .copy { position: absolute; left: clamp(20px, 8vw, 120px); right: clamp(20px, 8vw, 120px); bottom: clamp(40px, 7vh, 72px); }
.ahead { padding: clamp(128px, 12vw, 176px) clamp(20px, 8vw, 120px) clamp(40px, 5vw, 64px); }
.ahero .meta, .ahead .meta { display: flex; align-items: center; gap: 14px; }
.ahero .cat, .ahead .cat { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gray-1); }
.ahero h1, .ahead h1 { margin: 18px 0 0; font-weight: 700; font-size: clamp(24px, 3vw, 40px); line-height: 1.5; letter-spacing: .06em; word-break: auto-phrase; text-wrap: balance; }

/* 本文：明るい地。左端は見出しにそろえ、行の長さを抑える */
.abody { padding: clamp(56px, 7vw, 104px) clamp(20px, 8vw, 120px) clamp(80px, 9vw, 128px); background: #f2f2f2; color: #111; }
.abody .col { max-width: 760px; }
.abody p { margin: 0; font-size: 16px; line-height: 2.1; color: #333; }
.abody p + p { margin-top: 1.2em; }
.abody p.alead { font-size: clamp(17px, 1.5vw, 19px); line-height: 2; color: #111; font-weight: 500; }
/* 小見出し：前に短い斜めの赤い線 */
.abody h2 { position: relative; margin: clamp(48px, 5vw, 64px) 0 20px; padding-left: 34px; font-weight: 700; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.6; letter-spacing: .06em; }
.abody h2::before { content: ''; position: absolute; left: 0; top: .78em; width: 20px; height: 4px; background: var(--ring); transform: skewX(var(--skew)); }
/* 写真：1枚は本文の幅いっぱい。縦長のチラシは幅を抑えて置く。説明は写真の下に小さく */
.abody figure { margin: 36px 0; }
.abody figure img { display: block; width: 100%; height: auto; }
.abody figure.video video { display: block; width: 100%; max-width: 1920px; height: auto; aspect-ratio: 16 / 9; background: #000; }
.abody figure.poster { max-width: 460px; }
.abody figure.poster img { box-shadow: 0 2px 24px rgba(0,0,0,.12); }
.abody figcaption { margin-top: 12px; font-size: 13px; line-height: 1.8; color: #666; }
.abody figcaption::before { content: ''; display: inline-block; width: 16px; height: 1px; margin-right: 10px; vertical-align: middle; background: currentColor; }
/* 写真を並べる：2枚は横に2つ、3枚は1枚目を大きく、残りを横に2つ */
.abody .gal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0; }
.abody .gal figure { margin: 0; }
.abody .gal img { aspect-ratio: 3 / 2; object-fit: cover; }
.abody .gal.n3 figure:first-child { grid-column: 1 / -1; }
.abody .gal.n3 figure:first-child img { aspect-ratio: 16 / 9; }
/* 表：上に黒い線、行ごとに細い線 */
.abody .spec { margin: 0; border-top: 1px solid #111; }
.abody .spec > div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid #d6d6d6; }
.abody .spec dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #666; }
.abody .spec dd { margin: 0; font-size: 15px; line-height: 1.9; }
/* 締めの一文：細い線で区切る */
.abody p.close { margin-top: clamp(40px, 5vw, 56px); padding-top: 28px; border-top: 1px solid #cfcfcf; color: #111; }
.abody p.file { margin-top: 32px; }
/* 関連ページ：矢印つきの行 */
.abody .alinks { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid #111; }
.abody .alinks li { border-bottom: 1px solid #d6d6d6; }
.abody .alinks a { display: flex; align-items: center; padding: 16px 0; font-size: 15px; font-weight: 700; letter-spacing: .06em; transition: color .2s ease; }
.abody .alinks .ar { margin-left: auto; font-family: var(--en); transition: transform .3s var(--ease); }
.abody .alinks a:hover { color: var(--ring); }
.abody .alinks a:hover .ar { transform: translateX(4px); }

@media (max-width: 600px) {
  .abody p { font-size: 15px; }
  .abody .spec > div { grid-template-columns: 1fr; gap: 4px; }
}

/* 記事の本文と右の欄：本文の行の長さは抑えたまま、右の空きに「最新のお知らせ」を置く（PC は画面に残る） */
.abody { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 300px); justify-content: space-between; gap: clamp(40px, 6vw, 120px); align-items: start; }
.abody .aside { position: sticky; top: 112px; padding-top: 4px; }
.abody .aside .k { font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #8a8a8a; }
.abody .aside ul { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid #111; }
.abody .aside li { border-bottom: 1px solid #d6d6d6; }
.abody .aside li a { display: block; padding: 16px 0; transition: color .2s ease; }
.abody .aside time { display: block; font-family: var(--en); font-size: 12px; letter-spacing: .12em; color: #8a8a8a; }
.abody .aside b { display: block; margin-top: 6px; font-size: 14px; line-height: 1.7; letter-spacing: .04em; }
.abody .aside li a:hover { color: var(--ring); }
.abody .aside .all { display: inline-flex; gap: 10px; margin-top: 20px; font-size: 14px; font-weight: 700; letter-spacing: .1em; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .2s ease; }
.abody .aside .all:hover { color: var(--ring); }
@media (max-width: 960px) {
  .abody { grid-template-columns: minmax(0, 1fr); }
  .abody .aside { position: static; margin-top: clamp(56px, 8vw, 80px); }
}

/* ------------------------------------------------------------
   事業ページの中の部品（角を落としたカードの代わり）
   ------------------------------------------------------------ */
/* ひとつだけ見せたいもの：地域とのつながりの段（.ktwo）を、見出しの下に置く形で使う */
.ktwo.bt { padding-top: 0; }
.ktwo.bt .tag { font-family: var(--en); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ktwo.bt .brandlogo { display: block; width: min(300px, 70%); margin-top: 24px; }

/* 同じ種類のものが並ぶところ：上に文字のタブ（いま選んでいるタブの下を斜めの赤い線が滑る）、下に大きな写真と説明 */
.btab { padding: 0 clamp(20px, 8vw, 120px); }
.btab .tabs { position: relative; display: flex; gap: clamp(24px, 3vw, 44px); border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; }
.btab .tabs button { flex: none; padding: 0 0 16px; border: 0; background: none; font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--gray-2); cursor: pointer; white-space: nowrap; transition: color .2s ease; }
.btab .tabs button b { margin-right: 10px; font-family: var(--en); font-weight: 600; font-size: 13px; }
.btab .tabs button:hover, .btab .tabs button[aria-selected="true"] { color: var(--white); }
.btab .tabs button[aria-selected="true"] b { color: var(--ring); }
.btab .ind { position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--ring); transform: skewX(var(--skew)); transition: left .4s var(--ease), width .4s var(--ease); }
.btab .panes { display: grid; margin-top: clamp(32px, 4vw, 48px); }
.btab .pane { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.btab .pane.on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.btab .pane .ph { aspect-ratio: 16 / 10; background: center / cover no-repeat; }
.btab .pane .en { font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ring); }
.btab .pane h3 { margin: 14px 0 0; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.55; letter-spacing: .06em; }
.btab .pane p { margin: 16px 0 0; font-size: 15px; line-height: 2; color: var(--gray-1); }
.btab .pane p b { display: inline-block; margin-bottom: 4px; padding: 2px 10px; background: var(--ring); color: var(--white); font-family: var(--en); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.btab + .slist-note { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) {
  .btab .pane { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}

/* ------------------------------------------------------------
   沿革：大きな半円の輪。中心を画面の左の外に置き、輪の右半分だけを見せる。
   スクロールで輪が縦に回り、輪の上の写真が下から上へ流れる。右端（正面）に来た 1 枚が大きく手前へ出る
   ------------------------------------------------------------ */
.hwhl { position: relative; --edge: 38vw; --pw: clamp(200px, 17vw, 460px); }   /* 輪の右端（正面の写真の中心）と写真の幅。広い画面でも左右の余白がつり合うよう、画面幅に合わせる */
.hwhl .pin { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; height: 100svh; overflow: hidden; }
/* 輪：直径は画面の高さの 1.5 倍ほど。中心は左の外 */
.hwhl .wheel { --d: min(150vh, 120vw); position: absolute; z-index: 1; top: 50%; left: calc(var(--edge) - var(--d)); width: var(--d); height: var(--d); margin-top: calc(var(--d) * -0.5); }
.hwhl .rim { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.55) 0 .3deg, transparent .3deg 6.5deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 14px), #000 calc(100% - 13px));
          mask: radial-gradient(closest-side, transparent calc(100% - 14px), #000 calc(100% - 13px)); }
.hwhl .wp { position: absolute; left: 50%; top: 50%; width: var(--pw); height: calc(var(--pw) * .625); cursor: pointer; transform-origin: 50% 50%; will-change: transform, opacity; }
.hwhl .wp i { position: absolute; inset: 0; background: center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.18); transition: box-shadow .3s ease; }
.hwhl .wp .noimg { position: absolute; inset: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); background: var(--black); font-family: var(--en); font-weight: 600; font-size: 30px; }
.hwhl .wp b { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .08em; white-space: nowrap; transition: opacity .3s ease; }
.hwhl .wp.near b { opacity: 0; }
.hwhl .wp.origin b { color: var(--ring); }
.hwhl .wp.now i { box-shadow: 0 0 0 2px var(--ring), 0 30px 60px rgba(0,0,0,.6); }
/* 正面の出来事の文字：輪の右側 */
.hwhl .texts { position: absolute; z-index: 2; top: 50%; left: calc(var(--edge) + var(--pw) * .8 + 48px); right: clamp(20px, 6vw, 96px); height: 280px; margin-top: -150px; }
.hwhl .st { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .5s var(--ease); pointer-events: none; }
.hwhl .st.on { opacity: 1; transform: none; pointer-events: auto; }
.hwhl .st .era { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; font-weight: 700; font-size: 13px; letter-spacing: .14em; white-space: nowrap; }
.hwhl .st .era .no { font-family: var(--en); font-weight: 600; font-size: 12px; color: var(--ring); }
.hwhl .st .era em { font-style: normal; font-family: var(--en); font-weight: 500; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-2); }
.hwhl .st .y b { display: block; font-family: var(--en); font-weight: 600; font-size: clamp(48px, 5.4vw, 120px); line-height: 1; letter-spacing: .02em; }
.hwhl .st.origin .y b { color: var(--ring); }
.hwhl .st .y span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .14em; color: var(--gray-2); }
.hwhl .st h3 { margin: 22px 0 0; font-weight: 700; font-size: clamp(18px, 1.7vw, 34px); line-height: 1.6; letter-spacing: .06em; }
.hwhl .st p { margin: 8px 0 0; font-size: 14px; line-height: 1.8; color: var(--gray-1); }
.hwhl .bigyr { z-index: 0; }
/* 大きな画面：文字も写真に合わせて大きく */
@media (min-width: 1600px) {
  .hwhl .texts { height: 380px; margin-top: -190px; }
  .hwhl .st .era { font-size: 15px; }
  .hwhl .st .y span { font-size: 14px; }
  .hwhl .st p { font-size: 16px; }
  .hwhl .wp b { font-size: 18px; }
}
.hwhl .hfoot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; }
.hwhl .prog { flex: 1; height: 1px; background: rgba(255,255,255,.2); }
.hwhl .prog i { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
@media (max-width: 760px) {
  /* スマホ：輪は上半分に小さく、文字は下 */
  .hwhl .wheel { --d: 150vw; top: 34%; left: calc(52vw - var(--d)); }
  .hwhl .wp { width: 130px; height: 82px; }
  .hwhl .wp b { font-size: 11px; }
  .hwhl .texts { top: auto; bottom: 120px; left: 20px; right: 20px; height: 200px; margin-top: 0; }
  .hwhl .st .y b { font-size: 44px; }
  .hwhl .st h3 { margin-top: 14px; }
}

/* ------------------------------------------------------------
   沿革のヒーロー：大きな年号が 1950 → 2026 と数えあがり、下でトップの町が 1 軒ずつ育つ（絵が主役のヒーロー）。
   年号は各桁が縦に回るだけで点滅させない。止まると年号が白く塗られ、見出しが出る
   ------------------------------------------------------------ */
.yhero { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 82vh; height: 82svh; min-height: 560px; padding: clamp(100px, 15vh, 150px) 0 0; box-sizing: border-box; overflow: hidden; background: var(--black); }
/* 上：年号は左、見出しは右 */
.yh-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 0 clamp(20px, 8vw, 120px); }
.yh-yr { display: flex; margin-bottom: -.1em; font-family: var(--en); font-weight: 600; font-size: clamp(96px, min(17vw, 26vh), 300px); line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--white); transition: color .6s ease; }
.yh-yr .digits { display: flex; }
.yh-yr .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* 読み上げ用。画面には出さない */
.yh-yr .dg { display: block; height: 1em; overflow: hidden; }
.yh-yr .strip { display: block; transition: transform .1s var(--ease); }
.yh-yr .strip span { display: block; height: 1em; text-align: center; }
.yhero.done .yh-yr { color: var(--white); }
.yhero .copy { flex: none; text-align: right; }
.yhero .kicker { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-bottom: 16px; font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-1); }
.yhero .kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.yhero h1 { margin: 0; font-weight: 700; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.4; letter-spacing: .06em; }
.yh-sub { display: flex; justify-content: flex-end; align-items: baseline; gap: 18px; margin: 12px 0 0; font-family: var(--en); font-size: 14px; letter-spacing: .2em; color: var(--gray-1); }
.yh-sub span { font-family: var(--jp); font-weight: 700; font-size: 15px; letter-spacing: .12em; color: var(--white); }
.yhero .copy > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .8s var(--ease); }
.yhero.done .copy > * { opacity: 1; transform: none; }
.yhero.done .copy > :nth-child(2) { transition-delay: .08s; }
.yhero.done .copy > :nth-child(3) { transition-delay: .16s; }
/* 下：トップの町。横幅いっぱい。1 軒ずつ白い線で描かれる */
.yh-town { display: block; width: 100%; height: auto; max-height: 34vh; margin-top: 32px; overflow: visible; }
/* 線の太さは町の単位で指定（non-scaling-stroke にすると pathLength の描き出しが崩れるため） */
.yh-town polygon, .yh-town line { fill: none; stroke: rgba(255,255,255,.85); stroke-width: .6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.yh-town polygon { fill: transparent; transition: stroke-dashoffset .3s var(--ease), fill .3s ease .2s; }   /* 建つまでは透明（地面の線を隠さない） */
.yh-town .b.up { stroke-dashoffset: 0; fill: var(--black); }
.yh-town .gd { transition: stroke-dashoffset .5s var(--ease); }
.yhero.go .yh-town .gd { stroke-dashoffset: 0; }
@media (max-width: 900px) {
  .yh-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .yhero .copy { text-align: left; }
  .yhero .kicker, .yh-sub { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .yhero { height: auto; min-height: 0; padding-top: 110px; }
  .yh-yr { font-size: 28vw; }
  /* スマホは町を横に大きく切り取って、真ん中あたりを見せる */
  .yh-town { width: 190%; max-height: none; margin: 32px 0 0 -45%; }
  .yh-town polygon, .yh-town line { stroke-width: 1.4; }
}

/* 見出しの「〜」は途中で折り返さない（lighten.py が見出しの中の「〜」を .nw で包む） */
.nw { display: inline-block; }
