/* Ribura の HP・LP v2 の共通の見た目（2026/10/30）
   規定：色は #151c2a（文字）と #37b4e9（アクセント）の2色、面は #f5f5f5 と #D6EFFD（配車くんの規定の背景）、線は #d9d9d9、書体は Noto Sans JP だけ。
   グラデーションは使わない。営業資料 v5・積水ハウス様の構想の資料と同じ部品（斜めの帯の強調、斜体の番号と斜めの線、実物の画面と吹き出し、濃い面のタイル、薄い大きな英字）で組む。 */

:root {
  --ink: #151c2a;
  --ink-2: #3d4554;      /* 説明の文。#151c2a を白へ寄せた色 */
  --ink-3: #7a8190;      /* 注記・英字の小見出し */
  --sky: #37b4e9;
  --sky-deep: #1b86b8;   /* 白地で小さい文字に使うときだけ。#37b4e9 は白地で薄いため */
  --sky-wash: #d6effd;   /* 配車くんの規定の背景色 */
  --sky-mist: #eef8fd;
  --panel: #f5f5f5;
  --line: #d9d9d9;
  --line-soft: #e9ecf0;
  --bg: #ffffff;
  --night: #151c2a;
  --night-2: #1f2838;
  --night-line: #2e384a;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --r: 16px;
  --r-s: 10px;
  --shadow: 0 1px 2px rgba(21,28,42,.04), 0 12px 32px -8px rgba(21,28,42,.10);
  --shadow-lg: 0 2px 4px rgba(21,28,42,.04), 0 30px 80px -20px rgba(21,28,42,.22);
  --ease: cubic-bezier(.2,.7,.1,1);
  --head-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
::selection { background: var(--sky); color: var(--ink); }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.45; letter-spacing: .02em; font-feature-settings: "palt" 1; }
h1, h2, h3, .lead, .stmt { word-break: auto-phrase; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.pc { display: inline; } .sp { display: none; }
@media (max-width: 720px) { .pc { display: none; } .sp { display: inline; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.band { position: relative; padding-block: clamp(88px, 11vw, 168px); }
.band--tight { padding-block: clamp(64px, 8vw, 112px); }
.band--panel { background: var(--panel); }
.band--mist { background: var(--sky-mist); }
.band--night { background: var(--night); color: #fff; }

/* 上の進み具合の細い線 */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 90; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--sky); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ── ヘッダー ───────────────────────── */
.head { position: fixed; inset: 0 0 auto; z-index: 80; height: var(--head-h); transition: transform .45s var(--ease), background .3s, box-shadow .3s; }
.head .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.head__logo img { height: 26px; width: auto; }
.head__logo { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 14px; }
.head__logo .sub { font-size: 12px; font-weight: 700; color: var(--ink-2); padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.2; letter-spacing: .06em; }
.head__nav { display: flex; gap: 30px; margin-left: auto; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; }
.head__nav a { position: relative; padding-block: 6px; }
.head__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.head__nav a:hover::after, .head__nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.head__cta { display: flex; gap: 10px; flex: none; }
.head.is-scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 rgba(21,28,42,.06); }
.head.is-hidden { transform: translateY(-100%); }
.head__burger { display: none; width: 44px; height: 44px; border-radius: 50%; margin-left: auto; position: relative; }
.head__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.head__burger span:nth-child(1) { top: 16px; } .head__burger span:nth-child(2) { top: 21px; } .head__burger span:nth-child(3) { top: 26px; }
.menu-open .head__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .head__burger span:nth-child(2) { opacity: 0; }
.menu-open .head__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 70; background: #fff; padding: calc(var(--head-h) + 24px) var(--gut) 40px; display: flex; flex-direction: column; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
.drawer a.dl { font-size: 22px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: baseline; }
.drawer a.dl small { font-size: 11px; color: var(--ink-3); letter-spacing: .14em; font-weight: 700; }
.drawer .btns { display: grid; gap: 10px; margin-top: 28px; }
.menu-open .drawer { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
@media (max-width: 560px) { .head__logo .sub { font-size: 10.5px; padding-left: 10px; max-width: 9.5em; line-height: 1.35; } .tag em { display: none; } }
@media (max-width: 980px) {
  .head__nav, .head__cta { display: none; }
  .head__burger { display: block; }
  :root { --head-h: 64px; }
  .head__logo img { height: 22px; }
}

/* ── ボタン ───────────────────────── */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; padding: 8px 8px 8px 26px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; letter-spacing: .06em; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s; position: relative; isolation: isolate; overflow: hidden; }
.btn .ar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; overflow: hidden; position: relative; }
.btn .ar::before, .btn .ar::after { content: ""; position: absolute; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .45s var(--ease); }
.btn .ar::after { transform: translateX(-28px); }
.btn:hover .ar::before { transform: translateX(28px); }
.btn:hover .ar::after { transform: translateX(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(21,28,42,.45); }
.btn--sky { --bg: var(--sky); --fg: var(--ink); }
.btn--sky .ar { background: rgba(21,28,42,.1); }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line .ar { background: var(--ink); color: #fff; }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--white .ar { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 5px 5px 5px 18px; font-size: 13px; gap: 12px; }
.btn--sm .ar { width: 32px; height: 32px; }
.btn--wide { width: 100%; }
.band--night .btn--line { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.band--night .btn--line .ar { background: #fff; color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.link::after { content: ""; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23151c2a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.link:hover::after { transform: translateX(4px); background-color: var(--sky); }

/* ── 名札（段の左上の小見出し）と見出し ─────────── */
.tag { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--ink); }
.tag::before { content: ""; width: 5px; height: 22px; background: var(--sky); border-radius: 1px; flex: none; }
.tag em { font-style: normal; font-size: 11px; color: var(--ink-3); letter-spacing: .22em; font-weight: 700; text-transform: uppercase; }
.band--night .tag { color: #fff; }
.band--night .tag em { color: #8f9ab0; }
.h-xl { font-size: clamp(34px, 5.4vw, 72px); font-weight: 900; line-height: 1.32; letter-spacing: .01em; }
.h-l { font-size: clamp(28px, 3.9vw, 50px); font-weight: 700; line-height: 1.42; }
.h-m { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; line-height: 1.5; }
.h-s { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; line-height: 1.55; }
.lead { font-size: clamp(16px, 1.35vw, 18px); color: var(--ink-2); line-height: 2; }
.body { font-size: 15.5px; color: var(--ink-2); line-height: 2; }
.note { font-size: 12px; color: var(--ink-3); line-height: 1.8; letter-spacing: .03em; }
.band--night .lead, .band--night .body { color: #c3cad6; }
.band--night .note { color: #8f9ab0; }
.sec-head { position: relative; z-index: 2; display: grid; gap: 26px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 900px; }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 28px 64px; }
.sec-head--split .tag { grid-column: 1 / -1; }
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; } }

/* 斜めの帯の強調（営業資料と同じ）：要の語だけ。帯は見えたときに左から引かれる */
.mk { position: relative; display: inline; color: var(--ink); padding-inline: .18em; margin-inline: .06em; z-index: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; white-space: nowrap; }
/* 狭い画面で1行に入らない帯は折り返し、斜めの帯をやめて1行ずつの面にする（site.js が mk--wrap を付ける） */
@media (max-width: 720px) { .mk { white-space: normal; } }
.mk::before { content: ""; position: absolute; inset: .06em -.02em .02em; background: var(--sky); transform: skewX(-12deg) scaleX(var(--mk, 1)); transform-origin: 0 50%; z-index: -1; transition: transform .9s var(--ease) .15s; }
.mk--w { color: #fff; }
.js .rv .mk, .js .mk.rv { --mk: 0; }
.js .rv.is-in .mk, .js .mk.rv.is-in { --mk: 1; }
.mk--wrap { white-space: normal; background: var(--sky); padding-inline: .14em; }
.mk--wrap::before { display: none; }
/* 下線の帯（小さい強調） */
.ul { background: linear-gradient(transparent 62%, var(--sky-wash) 62%); padding-inline: .05em; }

/* 斜体の番号と斜めの線（営業資料の「01/」） */
.no { display: inline-flex; align-items: flex-end; gap: 6px; font-weight: 900; font-style: italic; color: var(--sky); line-height: 1; letter-spacing: -.02em; font-size: 56px; }
.no::after { content: ""; width: 2px; height: .9em; background: var(--sky); transform: skewX(-20deg) translateY(.06em); margin-left: 6px; }
.no--s { font-size: 34px; }
.no--xs { font-size: 22px; }
.no--xs::after { width: 1.5px; }

/* 薄い大きな英字（営業資料の「HAISHA-KUN」「OUR MISSION」） */
.ghost { position: absolute; left: 0; right: 0; pointer-events: none; user-select: none; font-weight: 900; font-size: clamp(80px, 17vw, 260px); line-height: .8; letter-spacing: -.02em; color: var(--sky-mist); white-space: nowrap; overflow: hidden; z-index: 0; }
.band--panel .ghost { color: #ececec; }
.band--night .ghost { color: #1b2333; }
.ghost--v { writing-mode: vertical-rl; left: auto; right: 0; top: 0; bottom: auto; font-size: clamp(60px, 9vw, 150px); }
.z1 { position: relative; z-index: 1; }

/* 札：提供中／開発中／構想 */
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; line-height: 1; padding: 7px 12px 7px 10px; border-radius: 999px; letter-spacing: .06em; white-space: nowrap; vertical-align: middle; }
.pill--on { background: var(--sky-wash); color: var(--ink); }
.pill--on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgba(55,180,233,.25); animation: beat 2.4s infinite; }
.pill--dev { background: var(--ink); color: #fff; }
.pill--plan { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); background: transparent; }
.pill--plan::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px dashed var(--ink-3); }
.band--night .pill--plan { color: #fff; box-shadow: inset 0 0 0 1.5px #6b778d; }
.band--night .pill--dev { background: #fff; color: var(--ink); }
@keyframes beat { 0%,100% { box-shadow: 0 0 0 3px rgba(55,180,233,.25); } 50% { box-shadow: 0 0 0 6px rgba(55,180,233,0); } }

/* ── 見えたら出る（動きを減らす設定では出しっぱなし） ── */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv--fade { transform: none; }
.js .rv--img > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv--img.is-in > * { clip-path: inset(-60px -60px -90px -60px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv--img > * { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .js .rv .mk, .js .mk.rv { --mk: 1; }
  .mk::before { transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ── 実物の画面の枠と吹き出し ───────────── */
.screen { position: relative; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(21,28,42,.06); overflow: hidden; }
.screen img { width: 100%; height: auto; }
.screen--bar { padding-top: 30px; }
.screen--bar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px; background: #f3f5f8; border-bottom: 1px solid var(--line-soft); }
.screen--bar::after { content: ""; position: absolute; top: 11px; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: #d8dde4; box-shadow: 14px 0 0 #d8dde4, 28px 0 0 #d8dde4; }
.crop { overflow: hidden; border-radius: 14px; }
.crop img { width: 100%; height: 100%; object-fit: cover; }
.callout { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.5; padding: 10px 14px 10px 10px; border-radius: 12px; box-shadow: 0 16px 34px -14px rgba(21,28,42,.6); max-width: 280px; letter-spacing: .04em; }
.callout b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sky); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-style: italic; }
.callout--sky { background: var(--sky); color: var(--ink); }
.callout--sky b { background: var(--ink); color: #fff; }
.callout--white { background: #fff; color: var(--ink); box-shadow: 0 16px 40px -16px rgba(21,28,42,.4), 0 0 0 1px rgba(21,28,42,.06); }
.ring { position: absolute; z-index: 2; border: 2.5px solid var(--sky); border-radius: 10px; box-shadow: 0 0 0 6px rgba(55,180,233,.18); pointer-events: none; }
.js .callout.rv { transform: translateY(12px) scale(.96); }
.js .callout.rv.is-in { transform: none; }
@media (max-width: 720px) { .callout { font-size: 11.5px; padding: 7px 10px 7px 7px; gap: 7px; border-radius: 10px; max-width: 210px; } .callout b { width: 20px; height: 20px; font-size: 11px; } }

/* ── カード・面・表 ───────────────── */
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(24px, 2.6vw, 36px); position: relative; }
.card--panel { background: var(--panel); box-shadow: none; }
.card--sky { background: var(--sky-wash); box-shadow: none; }
.card--night { background: var(--night); color: #fff; box-shadow: none; }
.card--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .g3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .g2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .g4 { grid-template-columns: 1fr; } }
.ico { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--sky); flex: none; }
.ico svg { width: 24px; height: 24px; }
.card--panel .ico, .card--sky .ico { background: #fff; }
.card .ico + h3 { margin-top: 18px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--line); line-height: 1.75; }
.tbl thead th { font-size: 12.5px; color: var(--ink-3); font-weight: 700; letter-spacing: .06em; border-bottom: 2px solid var(--ink); padding-block: 12px; }
.tbl tbody th { font-weight: 700; white-space: nowrap; }
.tbl .us { background: var(--sky-wash); font-weight: 700; }
.tbl thead .us { background: var(--sky); color: var(--ink); border-bottom-color: var(--sky); }

/* 流れ（番号つきの段を左から右へ、矢印） */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; align-items: stretch; }
.flow__step { position: relative; background: var(--sky-wash); border-radius: var(--r); padding: 26px 22px 24px; display: grid; justify-items: center; text-align: center; gap: 10px; margin-right: 34px; }
.flow__step:last-child { margin-right: 0; }
.flow__step:not(:last-child)::after { content: ""; position: absolute; right: -26px; top: 50%; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 14px; border-color: transparent transparent transparent var(--sky); transform: translateY(-50%); }
.flow__step--ai { background: var(--night); color: #fff; }
.flow__step h4 { font-size: 16px; line-height: 1.5; }
.flow__step p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.flow__step--ai p { color: #b9c2d0; }
@media (max-width: 860px) {
  .flow { grid-auto-flow: row; }
  .flow__step { margin-right: 0; margin-bottom: 30px; grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 16px; padding: 18px 20px; }
  .flow__step .ico { grid-row: span 2; }
  .flow__step:last-child { margin-bottom: 0; }
  .flow__step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -24px; border-width: 13px 9px 0; border-color: var(--sky) transparent transparent; transform: translateX(-50%); }
}

/* 数字 */
.stat { display: grid; gap: 8px; align-content: start; }
.stat__v { display: flex; align-items: baseline; gap: 6px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.stat__v .n { font-size: clamp(56px, 6.4vw, 92px); color: var(--sky); font-variant-numeric: tabular-nums; }
.stat__v .u { white-space: nowrap; font-size: clamp(18px, 1.8vw, 24px); font-style: normal; font-weight: 700; letter-spacing: .04em; }
.stat__k { font-size: 15px; font-weight: 700; line-height: 1.6; }
.stat__d { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.band--night .stat__v { color: #fff; }
.band--night .stat__d { color: #b9c2d0; }

/* ロゴの帯（流れる） */
.logos { position: relative; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; gap: 0; width: max-content; animation: marquee 48s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item { flex: none; width: 220px; height: 96px; display: grid; place-items: center; padding-inline: 28px; }
.logos__item img { max-height: 40px; max-width: 160px; width: auto; height: auto; object-fit: contain; }
.logos__item img.tall { max-height: 52px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .logos__item { width: 160px; height: 76px; padding-inline: 18px; } .logos__item img { max-height: 30px; max-width: 120px; } }

/* ニュースの行 */
.news { border-top: 1px solid var(--ink); }
.news a { display: grid; grid-template-columns: 112px 128px minmax(0, 1fr) 40px; align-items: center; gap: 20px; padding: 26px 4px; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .3s; }
.news a:hover { padding-inline: 16px 8px; background: var(--sky-mist); }
.news time { font-size: 14px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.news .cat { white-space: nowrap; font-size: 12px; font-weight: 700; justify-self: start; padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); letter-spacing: .08em; }
.news .t { font-size: 15.5px; font-weight: 500; line-height: 1.7; }
.news .go { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23151c2a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: background-color .3s; }
.news a:hover .go { background-color: var(--sky); box-shadow: none; }
@media (max-width: 720px) { .news a { grid-template-columns: auto auto 1fr; gap: 6px 14px; padding: 20px 0; } .news .t { grid-column: 1 / -1; } .news .go { display: none; } }

/* 切り替え（タブ） */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); letter-spacing: .04em; transition: background .25s, color .25s, box-shadow .25s; display: inline-flex; align-items: center; gap: 10px; }
.tab small { font-size: 11px; color: var(--ink-3); font-weight: 700; }
.tab:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tab[aria-selected="true"] small { color: #9aa6ba; }
.band--night .tab { box-shadow: inset 0 0 0 1.5px #3a4559; color: #fff; }
.band--night .tab[aria-selected="true"] { background: var(--sky); color: var(--ink); }
.band--night .tab[aria-selected="true"] small { color: var(--ink); }
[role="tabpanel"][hidden] { display: none; }
.js [role="tabpanel"]:not([hidden]) { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

/* よくある質問 */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 22px 24px; font-weight: 700; font-size: 16px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-style: italic; font-weight: 900; color: var(--sky); font-size: 22px; line-height: 1; }
.faq summary::after { content: ""; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .a { padding: 0 24px 24px 62px; color: var(--ink-2); font-size: 15px; line-height: 2; }

/* 濃い面の大きな呼びかけ */
.cta-band { position: relative; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cta-card { position: relative; display: grid; gap: 18px; align-content: space-between; min-height: 280px; padding: clamp(28px, 3.4vw, 48px); border-radius: 20px; background: var(--night-2); color: #fff; overflow: hidden; transition: transform .5s var(--ease); }
.cta-card--sky { background: var(--sky); color: var(--ink); }
.cta-card:hover { transform: translateY(-4px); }
.cta-card .en { font-size: 12px; font-weight: 700; letter-spacing: .24em; opacity: .7; }
.cta-card h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.45; }
.cta-card p { font-size: 14.5px; line-height: 1.9; opacity: .86; max-width: 30em; }
.cta-card .go { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; justify-self: end; transition: transform .5s var(--ease); }
.cta-card--sky .go { background: var(--ink); color: #fff; }
.cta-card:hover .go { transform: translateX(6px) rotate(-45deg); }
.cta-card .go svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .cta-grid { grid-template-columns: 1fr; } .cta-card { min-height: 220px; } }

/* ── フッター ───────────────────────── */
.foot { background: var(--panel); padding-block: clamp(64px, 7vw, 96px) 36px; font-size: 13.5px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .7fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.foot__brand img { height: 30px; width: auto; }
.foot__brand p { margin-top: 22px; color: var(--ink-2); line-height: 1.9; }
.foot__brand .mission { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 26px; }
.foot h4 { font-size: 12px; letter-spacing: .2em; color: var(--ink-3); margin-bottom: 18px; }
.foot li + li { margin-top: 12px; }
.foot li a { font-weight: 500; position: relative; padding-left: 16px; }
.foot li a::before { content: ""; position: absolute; left: 0; top: .82em; width: 8px; height: 1.5px; background: var(--sky); }
.foot li a:hover { color: var(--sky-deep); }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; color: var(--ink-3); font-size: 12px; flex-wrap: wrap; }
.foot__bottom a:hover { color: var(--ink); }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* 試作の印（公開のときは外す） */
.proto { position: fixed; left: 14px; bottom: 14px; z-index: 95; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 7px 12px; border-radius: 999px; letter-spacing: .08em; opacity: .9; pointer-events: none; }
/* 1180px より狭いと、ヘッダーのメニューとボタンが1行に入らないので詰める */
@media (max-width: 1180px) and (min-width: 981px) { .head__nav { gap: 18px; font-size: 13px; } .head .wrap { gap: 20px; } .head__logo .sub { display: none; } }

/* ── LP の部品（2026/10/31、構成の見直し `outputs/brand/20261031_lp-kousei-an.html`） ──
   スマホでは細かいところを「もっと見る」で畳み、PC では開いたまま見せる（site.js が PC で open にする）。
   約2画面ごとに段の終わりで呼びかけ、スマホは画面の下に2つのボタンの帯を付ける。 */
.more { margin-top: 20px; }
.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; width: 12px; height: 12px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center/12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 12px no-repeat; transition: transform .35s var(--ease); }
.more[open] > summary::after { transform: rotate(135deg); }
.more[open] > summary { margin-bottom: 20px; }
.band--panel .more > summary { background: #fff; }
.band--night .more > summary { background: var(--night-2); color: #fff; box-shadow: inset 0 0 0 1px var(--night-line); }
.band--night .more > summary::after { background: linear-gradient(#fff, #fff) center/12px 2px no-repeat, linear-gradient(#fff, #fff) center/2px 12px no-repeat; }
@media (min-width: 900px) { .js .more > summary { display: none; } .more { margin-top: 0; } }
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: block; } .pc-only { display: none !important; } }

.mid-cta { margin-top: clamp(36px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 36px); border-radius: 18px; background: var(--ink); color: #fff; }
.mid-cta p { font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; }
.mid-cta p small { display: block; font-size: 12.5px; color: #9aa6ba; font-weight: 700; }
.mid-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.mid-cta .btn--line { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.mid-cta .btn--line .ar { background: #fff; color: var(--ink); }

.sp-bar { display: none; }
@media (max-width: 767px) {
  .sp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px -12px rgba(21,28,42,.35); transform: translateY(110%); transition: transform .45s var(--ease); }
  .sp-bar.is-on { transform: none; }
  .sp-bar a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: 13.5px; line-height: 1.3; text-align: center; white-space: nowrap; padding-inline: 8px; }
  .sp-bar a small { display: block; font-size: 10px; font-weight: 700; opacity: .75; }
  .sp-bar__main { background: var(--sky); color: var(--ink); }
  .sp-bar__sub { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); background: #fff; }
  .lp .proto { bottom: 86px; }
  .lp .foot { padding-bottom: 90px; }
  /* LP はスマホで段の上下の余白を詰める（段の数 × 余白で、1画面以上を余白に使っていた） */
  .lp .band { padding-block: 60px; }
  .lp .sec-head { margin-bottom: 28px; gap: 14px; }
}
