/* splight AI サイト スタイルシート · 尾道デニム×夕陽パレット
 * palette: paper #ffffff · ink #1f2321 · denim #35509E/#29345F · grad #4263C7→#D96845（見出し1フレーズ限定）
 * display: M PLUS 2 800 · body: IBM Plex Sans JP 16/1.9 · 円形画像禁止・枠カード最小
 * design-system: design.md（2026-08-27ロック・変更はオーナー承認必須）
 * pre-emit critique: P4 H4 E4 S4 R4 V4 */

:root {
  --paper: #ffffff;
  --paper-warm: #fdfaf3;
  --ink: #1f2321;
  --ink-soft: #565b58;
  --ink-faint: #676c68;
  --denim: #c74309;
  --denim-deep: #2f2418;
  --coral: #f4645f;
  --grad-s: #ffc233;
  --grad-e: #f4645f;
  --accent: var(--denim);
  --accent-deep: var(--denim-deep);
  --chip-bg: #fdf3d9;
  --chip-line: #f0d68a;
  --card-line: #e7e5e0;
  --font-disp: "M PLUS 2", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "M PLUS 2", "Avenir Next", sans-serif;
  --font-body: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --grad: linear-gradient(120deg, var(--grad-s), var(--grad-e));
  --ease: cubic-bezier(0.5, 0.05, 0.3, 1);
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- ボタン・共通パーツ ---------- */

.btn-pill {
  display: inline-block;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 18px 52px;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill:active { transform: translateY(0); }
.btn-pill:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 12px 30px rgba(35, 31, 29, 0.25); }
.btn-line { background: transparent; color: var(--denim); border: 2px solid var(--denim); padding: 16px 40px; }
.btn-line:hover { background: var(--denim); color: #fff; }
.btn-white { background: #ffffff; color: var(--denim); }
.btn-white:hover { box-shadow: 0 12px 30px rgba(15, 22, 48, 0.35); }

.text-link {
  display: inline-block;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 2px solid var(--chip-line);
  padding-bottom: 2px;
  transition: color 0.25s;
}
.text-link::after { content: " →"; }
.text-link:hover { color: var(--accent-deep); }

.section { padding: 110px 0; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.section-en { font-family: var(--font-en); font-weight: 600; font-size: clamp(38px, 4.6vw, 56px); line-height: 1; color: var(--ink); }
.section-ja { font-family: var(--font-disp); font-weight: 700; font-size: 18px; color: var(--ink-soft); }

/* ---------- オープニング（30枚モザイク→整列） ---------- */

.opening {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 10px;
  padding: 12px;
  transition: opacity 0.65s ease 0.05s, visibility 0s linear 0.75s;
}
.opening .op-tile {
  border-radius: 10px;
  overflow: clip;
  opacity: 0;
  transform: scale(0.7) rotate(var(--rot, 0deg));
  will-change: transform, opacity;
}
.opening .op-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.opening .op-tile.in {
  opacity: 1;
  transform: scale(1) rotate(var(--rot, 0deg));
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.34, 1.3, 0.4, 1);
}
.opening .op-tile.fly {
  opacity: var(--fly-o, 1);
  transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--sx, 1), var(--sy, 1)) rotate(0deg);
  transition: transform 0.78s cubic-bezier(0.55, 0.05, 0.3, 1), opacity 0.62s ease 0.18s;
}
.opening .opening-logo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  z-index: 5;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.2, 0.4, 1);
}
.opening .opening-logo em { font-style: normal; color: var(--denim); }
.opening .opening-logo .ol-mark {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad);
  background-size: 220% 220%;
  animation: gradShift 8s ease-in-out infinite alternate;
}
.opening.show-logo .opening-logo { opacity: 1; transform: translate(-50%, -50%) scale(1); }
body.is-loaded .opening { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 700px) {
  .opening { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); }
  .opening .op-tile:nth-child(n+13) { display: none; }
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 22px 0;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.6s var(--ease) 0.1s, transform 0.6s var(--ease) 0.1s;
  pointer-events: none;
}
body.is-loaded .site-header { opacity: 1; transform: none; }
.site-header.is-hidden { transform: translateY(-130%); transition: transform 0.35s var(--ease); }
.site-header:has(.site-nav.is-open) { transform: none !important; }

.site-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(42, 32, 24, 0.08);
  border-radius: 999px;
  padding: 12px 14px 12px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo-mark {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--grad);
  background-size: 200% 200%;
  animation: gradShift 8s ease-in-out infinite alternate;
}
.site-logo-text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.site-logo-text em { font-style: normal; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: right 0.3s var(--ease);
}
.site-nav a:hover::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--accent-deep); font-weight: 700; }
.site-nav-contact {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 11px 26px !important;
  font-weight: 700;
  transition: background 0.25s, color 0.25s;
}
.site-nav-contact::after { display: none; }
.site-nav-contact:hover { background: var(--accent-deep); color: #fff; }

.nav-toggle { display: none; }

/* ---------- ヒーロー（白地×極太見出し×写真ストリップ） ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(128px, 16vh, 168px) 0 0;
}

@keyframes gradShift {
  from { background-position: 0% 30%; }
  to   { background-position: 100% 70%; }
}

/* 写真ストリップ（横に流れ続ける・見て分かる動き） */
.strip {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  overflow: clip;
  padding-bottom: 84px;
}
.strip-track {
  display: flex;
  gap: 16px;
  width: max-content;
}
.strip-track.is-running { animation: stripSlide 80s linear infinite; }
html.no-js .strip-track { animation: stripSlide 80s linear infinite; }
.strip:hover .strip-track.is-running { animation-play-state: paused; }
.strip-track img {
  width: 450px;
  height: 300px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  background: #eceff5;
}
@keyframes stripSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ヒーローのリボン（帯が右から進入→1周ぐるり→写真の裏を左へ抜ける。5色が順番に流れる） */
.hero-lines {
  position: absolute;
  left: 0; right: 0; top: 0;
  width: 100%;
  height: 920px;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  animation: heroFade 0.9s ease 0.25s forwards;
}
@keyframes heroFade { to { opacity: 1; } }
.hero-lines path {
  fill: none;
  stroke-width: 112;
  stroke-linecap: round;
  stroke-dasharray: 45 230;
  animation: snakeFlow 14s linear infinite;
  animation-timing-function: linear(0, 0.0291 2.75%, 0.0582 5.44%, 0.0982 8.83%, 0.1236 11.15%, 0.1509 14.43%, 0.1745 17.35%, 0.2018 19.96%, 0.2327 22.69%, 0.2727 26.46%, 0.3273 31.91%, 0.4 39.27%, 0.5273 52.16%, 0.7273 72.40%, 1);
}
.hl-s1 { stroke: url(#snakeG1); animation-delay: -14s; }
.hl-s2 { stroke: url(#snakeG2); animation-delay: -11.2s; }
.hl-s3 { stroke: url(#snakeG3); animation-delay: -8.4s; }
.hl-s4 { stroke: url(#snakeG4); animation-delay: -5.6s; }
.hl-s5 { stroke: url(#snakeG5); animation-delay: -2.8s; }
@keyframes snakeFlow { from { stroke-dashoffset: 45; } to { stroke-dashoffset: -230; } }
@media (max-width: 1080px) {
  .hero-lines { height: 100%; opacity: 0.85; }
  .hero-lines path { stroke-width: 64; }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #565b58;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease) 0.05s, transform 0.6s var(--ease) 0.05s;
}
.hero-title {
  margin-top: 24px;
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(31px, 4.3vw, 58px);
  line-height: 1.52;
  letter-spacing: 0.02em;
  max-width: 21em;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hero-title .line:nth-child(1) { transition-delay: 0.15s; }
.hero-title .line:nth-child(2) { transition-delay: 0.25s; }
.hero-title .line:nth-child(3) { transition-delay: 0.35s; }
.hero-title .grad {
  background: linear-gradient(90deg, #9c6a00, #e2571f, #d33a4e, #5a8f10, #9c6a00);
  background-size: 500% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 18s linear infinite;
}
@keyframes gradFlow {
  to { background-position-x: 125%; }
}
.hero-sub {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 38em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease) 0.5s, transform 0.6s var(--ease) 0.5s;
}
.hero-cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease) 0.62s, transform 0.6s var(--ease) 0.62s;
}
.hero-price { font-size: 15px; font-weight: 700; }
.hero-price .tax { font-size: 12px; font-weight: 500; color: var(--ink-faint); }
.hero-note { font-size: 12px; color: var(--ink-faint); }
body.is-loaded .hero-eyebrow,
body.is-loaded .hero-title .line,
body.is-loaded .hero-sub,
body.is-loaded .hero-cta { opacity: 1; transform: none; }


/* ---------- リビール共通 ---------- */

.js-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 信頼の根拠 ---------- */

.section-trust { background: var(--paper-warm); position: relative; overflow: clip; }
.trust-curve {
  position: absolute;
  left: 0; right: 0; top: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.trust-curve path {
  fill: none;
  stroke: url(#trustCurveGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.section-trust.is-visible .trust-curve path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.8s var(--ease) 0.2s;
}
.trust-inner { position: relative; }
.trust-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.trust-photos { display: flex; align-items: center; }
.trust-ph {
  width: 176px; height: 132px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(31, 35, 33, 0.16);
}
.trust-ph + .trust-ph { margin-left: -30px; }
.trust-ph:nth-child(2) { transform: translateY(-18px); z-index: 2; position: relative; }
.trust-ph:nth-child(3) { transform: translateY(10px); }
.trust-title {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.7;
  letter-spacing: 0.03em;
}
.trust-body > p { margin-top: 18px; font-size: 15px; line-height: 1.95; color: var(--ink-soft); max-width: 38em; }

/* ---------- スクロール文字色フィル（スクロールに応じて文字色が変わる） ---------- */

.fill-text {
  --fill: 0%;
  background: linear-gradient(100deg, var(--ink) var(--fill), #d3c6b8 var(--fill));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fill-text-body {
  background: linear-gradient(100deg, var(--ink-soft) var(--fill), #d9cec1 var(--fill));
  -webkit-background-clip: text;
  background-clip: text;
}
html.no-js .fill-text { background: none; color: var(--ink); }
html.no-js .fill-text-body { background: none; color: var(--ink-soft); }

/* ---------- サービス詳細カルーセル ---------- */

.car { margin-top: 44px; }
.car-viewport { overflow: clip; }
.car-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.car-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  align-items: center;
  padding: 10px 8px;
  box-sizing: border-box;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.car-slide.is-active { opacity: 1; }
.car-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.car-slide h3 {
  margin-top: 6px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(21px, 2.2vw, 27px);
  letter-spacing: 0.03em;
}
.car-desc { margin-top: 12px; font-size: 14.5px; line-height: 1.95; color: var(--ink-soft); max-width: 34em; }
.car-slide .text-link { margin-top: 18px; }
.car-visual { display: flex; justify-content: center; }
.car-photo {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 16px 44px rgba(31, 35, 33, 0.18);
}
.car-controls {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.car-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.car-btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.car-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.car-dots { display: flex; align-items: center; gap: 10px; }
.car-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--card-line);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.car-dot[aria-current="true"] {
  background: var(--accent);
  transform: scale(1.25);
}
.car-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- 料金 ---------- */

.pricing-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.pricing-grid { gap: 0; }
.pricing-card {
  position: relative;
  padding: 30px 34px 34px;
  border-left: 1px solid var(--card-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-card:first-child { border-left: none; }
.pricing-card { cursor: pointer; transition: background 0.25s; }
.pricing-card:hover { background: var(--paper-warm); }
.pricing-card:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.pricing-card[aria-selected="true"] {
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper-warm) 96%, var(--denim) 96%);
}
.pricing-more { font-size: 11.5px; font-weight: 700; color: var(--denim); letter-spacing: 0.06em; }
.pricing-card[aria-selected="true"] .pricing-more { color: var(--ink-faint); }
.pricing-panel {
  border-top: 1px solid var(--ink);
  margin-top: 0;
  padding: 26px 8px 6px;
}
.pricing-panel dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px 22px; max-width: 56em; }
.pricing-panel dt { font-size: 13px; font-weight: 700; color: var(--denim); letter-spacing: 0.04em; }
.pricing-panel dd { font-size: 14px; line-height: 1.95; color: var(--ink-soft); }
.pricing-badge {
  position: absolute;
  top: -14px; left: 26px;
  background: var(--denim);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card h3 { font-family: var(--font-disp); font-weight: 700; font-size: 18px; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pricing-price .num { font-family: var(--font-en); font-weight: 700; font-size: 42px; line-height: 1; }
.pricing-price .unit { font-size: 16px; font-weight: 700; }
.pricing-price .tax { font-size: 12px; color: var(--ink-faint); }
.pricing-desc { font-size: 13px; line-height: 1.9; color: var(--ink-soft); }
.pricing-note { margin-top: 34px; font-size: 12.5px; color: var(--ink-faint); text-align: center; line-height: 2; }

/* ---------- メンバー ---------- */

.section-members { padding-top: 0; }
.members-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.member-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.member-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  object-position: center 22%;
}
.member-photo-placeholder {
  background: var(--grad);
  background-size: 220% 220%;
  animation: gradShift 8s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-photo-placeholder span {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 42px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(42, 32, 24, 0.25);
}
.member-role {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--denim);
  letter-spacing: 0.06em;
}
.member-name {
  margin-top: 6px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
}
.member-kana { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0.06em; margin-top: 3px; }
.member-link { margin-top: 12px; font-size: 12.5px; }
.member-bio {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  text-align: left;
}

/* ---------- News ---------- */

.news-grid {
  margin-top: 36px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
}
.news-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 20px 8px;
  border-bottom: 1px solid var(--card-line);
  transition: background 0.25s, padding-left 0.25s;
}
.news-card:hover { background: var(--paper-warm); padding-left: 18px; }
.news-card-meta { display: flex; align-items: center; gap: 12px; }
.news-chip {
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 999px;
}
.news-date { font-family: var(--font-en); font-weight: 600; font-size: 13px; color: var(--ink-faint); }
.news-title { margin-top: 0; font-size: 14.5px; font-weight: 700; line-height: 1.9; }

/* ---------- CTA帯 ---------- */

.cta-band { background: var(--denim-deep); color: #fff; overflow: clip; }
.marquee { overflow: clip; padding: 16px 0; opacity: 0.5; }
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  width: max-content;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.cta-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-title { font-family: var(--font-disp); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: 0.04em; }
.cta-band-note { margin-top: 8px; font-size: 13px; color: #c3cbe4; }

/* ---------- フッター ---------- */

.site-footer { background: #fff; color: var(--ink); border-top: 1px solid #e9e7e2; }
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px;
  flex-wrap: wrap;
}
.site-footer-brand .site-logo-text { color: var(--ink); font-size: 21px; }
.site-footer-brand .site-logo-text em { color: var(--accent); }
.site-footer-brand p { margin-top: 10px; font-size: 12px; line-height: 1.9; color: #565b58; }
.site-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 40px;
  font-size: 13px;
  font-weight: 500;
}
.site-footer-nav a { color: #43484a; }
.site-footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer-copy {
  text-align: center;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #9daac9;
  padding: 0 0 26px;
}

/* ---------- 下層ページ共通（Phase2で本対応・最低限のトークン適用） ---------- */

.page-hero { padding: 170px 0 56px; }
.page-hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.page-title-en { font-family: var(--font-en); font-weight: 600; font-size: clamp(44px, 6vw, 76px); line-height: 1; color: var(--chip-bg); -webkit-text-stroke: 1px var(--chip-line); user-select: none; }
.page-title-ja { margin-top: 14px; font-family: var(--font-disp); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; }

.form-row + .form-row { margin-top: 26px; }
.form-row label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.form-row .req {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  color: var(--ink);
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  padding: 1px 10px;
  vertical-align: 1px;
}
.form-row input, .form-row textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #faf7f2;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.25s, background 0.25s;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }
.form-row textarea { min-height: 190px; resize: vertical; }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-submit {
  margin-top: 36px;
  display: inline-block;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 16px 56px;
  cursor: pointer;
  transition: background 0.25s;
}
.form-submit:hover { background: var(--accent-deep); }
.form-submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-submit:disabled { opacity: 0.45; cursor: wait; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--ink-faint); }
.form-result { margin-top: 24px; font-size: 14px; font-weight: 700; display: none; }
.form-result.is-ok { display: block; color: #2d6a45; }
.form-result.is-error { display: block; color: #b0442e; }


/* ---------- 下層ページ ---------- */

.page-hero { padding: 168px 0 20px; }
.page-lead { margin-top: 18px; font-size: 15px; line-height: 1.95; color: var(--ink-soft); max-width: 42em; }

/* サービス詳細（交互2カラム） */
.svc-detail { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; scroll-margin-top: 120px; }
.svc-detail + .svc-detail { margin-top: 110px; }
.svc-detail:nth-of-type(even) .svc-detail-media { order: -1; }
.svc-num { font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: 0.18em; color: var(--denim); }
.svc-detail h2 { margin-top: 6px; font-family: var(--font-disp); font-weight: 700; font-size: clamp(23px, 2.6vw, 30px); letter-spacing: 0.02em; }
.svc-detail .svc-copy { margin-top: 14px; font-size: 15px; line-height: 1.95; color: var(--ink-soft); max-width: 36em; }
.svc-list { margin-top: 18px; list-style: none; }
.svc-list li { padding-left: 22px; position: relative; font-size: 14px; line-height: 1.95; }
.svc-list li + li { margin-top: 8px; }
.svc-list li::before { content: ""; position: absolute; left: 2px; top: 0.8em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.svc-price-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-faint); }
.svc-detail-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 16px 44px rgba(31, 35, 33, 0.16); }

/* 会社概要テーブル */
.company-table { margin-top: 40px; width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.company-table th, .company-table td { padding: 22px 10px; border-bottom: 1px solid var(--card-line); text-align: left; vertical-align: top; font-size: 15px; line-height: 1.9; }
.company-table th { width: 180px; font-weight: 700; font-size: 13.5px; white-space: nowrap; letter-spacing: 0.06em; color: var(--ink); }
.company-table a { color: var(--denim); font-weight: 700; }
.company-table a:hover { color: var(--denim-deep); text-decoration: underline; }
.company-photos { margin-top: 34px; display: flex; gap: 16px; }
.company-photos img { width: 33.3%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; margin-top: 30px; }
.contact-aside h2 { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; display: flex; align-items: center; gap: 12px; }
.contact-aside h2::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.contact-steps { margin: 14px 0 0; list-style: none; counter-reset: cs; }
.contact-steps li { counter-increment: cs; position: relative; padding: 0 0 16px 40px; font-size: 13.5px; line-height: 1.9; color: var(--ink-soft); }
.contact-steps li::before { content: counter(cs, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--font-en); font-weight: 600; font-size: 13px; color: var(--denim); }
.contact-aside p { font-size: 13.5px; line-height: 1.95; color: var(--ink-soft); margin-top: 12px; }
.contact-aside .blk + .blk { margin-top: 30px; }

/* AI診断 */
.diag-wrap { max-width: 860px; }
.diag-progress { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; color: var(--denim); margin-bottom: 18px; }
.diag-q { border: none; }
.diag-q legend { font-family: var(--font-disp); font-weight: 700; font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 18px; letter-spacing: 0.02em; }
.diag-opt { display: block; margin-bottom: 12px; cursor: pointer; }
.diag-opt input { position: absolute; opacity: 0; }
.diag-opt span {
  display: block;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s;
}
.diag-opt:hover span { background: var(--paper-warm); }
.diag-opt input:checked + span { border-color: var(--denim); background: var(--chip-bg); font-weight: 700; }
.diag-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.diag-nav { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.diag-back { background: none; border: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-faint); cursor: pointer; }
.diag-back:hover { color: var(--ink); }
.diag-next:disabled { opacity: 0.4; cursor: not-allowed; }
.diag-result-label { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; color: var(--denim); }
.diag-result-title { margin-top: 10px; font-family: var(--font-disp); font-weight: 700; font-size: clamp(22px, 3vw, 30px); }
.diag-result-body { margin-top: 14px; font-size: 15px; line-height: 2; color: var(--ink-soft); max-width: 40em; }
.diag-result-plan { margin-top: 20px; border-left: 3px solid var(--denim); padding: 4px 0 4px 18px; }
.diag-plan-name { font-weight: 700; font-size: 15px; }
.diag-plan-why { margin-top: 4px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }
.diag-result-cta { margin-top: 26px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.diag-result-cta .text-link { margin-top: 0; }
.diag-result #diagRetry { margin-top: 22px; }

/* 404 */
.notfound { text-align: center; padding: 210px 28px 120px; }
.notfound .nf-en { font-family: var(--font-en); font-weight: 800; font-size: clamp(70px, 12vw, 130px); line-height: 1; background: linear-gradient(120deg, #e2571f, #d33a4e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { margin-top: 18px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .page-hero { padding: 132px 0 8px; }
  .svc-detail { grid-template-columns: 1fr; gap: 26px; }
  .svc-detail:nth-of-type(even) .svc-detail-media { order: 0; }
  .svc-detail + .svc-detail { margin-top: 76px; }
  .company-table th { width: 108px; }
  .company-photos { gap: 8px; }
  .company-photos img { border-radius: 10px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------- no-js フォールバック ---------- */

html.no-js .opening { display: none; }
html.no-js .site-header,
html.no-js .hero-eyebrow,
html.no-js .hero-title .line,
html.no-js .hero-sub,
html.no-js .hero-cta,
html.no-js .js-reveal { opacity: 1; transform: none; transition: none; }

/* ---------- レスポンシブ ---------- */

@media (max-width: 900px) {
  .site-header { padding: 10px 12px 0; }
  .site-header-inner { border-radius: 999px; padding: 10px 12px 10px 20px; }
  .site-header-inner { backdrop-filter: none; background: rgba(255, 255, 255, 0.98); }
  .site-nav {
    position: fixed;
    inset: 0;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0s linear 0.3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s; }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 110;
    width: 42px; height: 42px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    position: absolute;
    left: 8px; right: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.3s, top 0.3s;
  }
  .nav-toggle span:nth-child(1) { top: 16px; }
  .nav-toggle span:nth-child(2) { top: 25px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

  .hero { padding-top: 116px; }
  .strip { margin-top: 44px; padding-bottom: 64px; }
  .strip-track img { width: 285px; height: 190px; border-radius: 10px; }

  .section { padding: 76px 0; }
  .trust-inner { grid-template-columns: 1fr; gap: 40px; }
  .trust-ph { width: 128px; height: 96px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-left: none; border-top: 1px solid var(--card-line); padding: 24px 8px 28px; }
  .pricing-card:first-child { border-top: none; }
  .news-card { grid-template-columns: 1fr; gap: 6px; padding: 16px 4px; }
  .car-slide { grid-template-columns: 1fr; gap: 26px; padding: 32px 26px; }
  .car-visual { order: -1; }
  .car-circle { width: 150px; height: 150px; }
  .car-circle svg { width: 34px; height: 34px; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .site-footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  /* 390px幅で「ホームページも、集客も、」(12字)が1行に収まるサイズ */
  .hero-title { font-size: 25px; letter-spacing: 0.02em; }
  .hero-title .line { text-wrap: balance; }
  .btn-pill { padding: 16px 40px; }
}

/* ---------- reduced motion ---------- */

/* メンバー節: スクロール連動ライン（左→右に描かれる） */
.section-members { position: relative; }
.member-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; height: 100%; pointer-events: none; z-index: 0; opacity: 0.6; overflow: visible; }
.member-line path { fill: none; stroke-width: 22; stroke-linecap: round; stroke-dasharray: 40 335; animation: memberFlow 14s linear infinite; }
.member-line .ml-s1 { stroke: #ffc233; animation-delay: -14s; }
.member-line .ml-s2 { stroke: #ff8f3f; animation-delay: -11.2s; }
.member-line .ml-s3 { stroke: #f4645f; animation-delay: -8.4s; }
.member-line .ml-s4 { stroke: #9ed13f; animation-delay: -5.6s; }
.member-line .ml-s5 { stroke: #e0d94a; animation-delay: -2.8s; }
@keyframes memberFlow { from { stroke-dashoffset: 40; } to { stroke-dashoffset: -335; } }
.section-members .section-head, .members-grid { position: relative; z-index: 1; }

/* フッターのリボン（5色の帯が左→右へ流れ続ける） */
.site-footer { position: relative; overflow: hidden; }
.foot-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.foot-lines path { fill: none; stroke-width: 13; stroke-linecap: round; stroke-dasharray: 38 437; animation: footFlow 20s linear infinite; }
.foot-lines .fl-s1 { stroke: #ffc233; animation-delay: -20s; }
.foot-lines .fl-s2 { stroke: #ff8f3f; animation-delay: -16s; }
.foot-lines .fl-s3 { stroke: #f4645f; animation-delay: -12s; }
.foot-lines .fl-s4 { stroke: #9ed13f; animation-delay: -8s; }
.foot-lines .fl-s5 { stroke: #e0d94a; animation-delay: -4s; }
@keyframes footFlow { from { stroke-dashoffset: 38; } to { stroke-dashoffset: -437; } }
.site-footer-inner { padding-top: 150px; }
.site-footer-inner, .site-footer-copy { position: relative; z-index: 1; }
.site-footer-copy { color: #6b706c; }
.site-footer-address { font-style: normal; margin-top: 14px; font-size: 13px; line-height: 2.0; }
.site-footer-address a { color: inherit; text-decoration: none; }
.site-footer-address a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .hero-lines { opacity: 0.62; width: 220%; left: -120%; right: auto; }
  .hero-lines path { stroke-width: 96; }
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 5px;
  border-radius: 4px 6px 5px 3px;
  background: linear-gradient(90deg, #ffc233, #ff8f3f, #f4645f);
  transform: rotate(-2deg);
  flex: none;
}

/* Service: カード（色板オフセット・写真はみ出し・斜めタグ）＋縫うライン */
.svc-cards { position: relative; margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }

/* 主役サービス（月額伴走）: 横並びの大カード */
.svc-lead { --plate: #f4645f; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); margin-top: 52px; text-decoration: none; color: inherit; }
.svc-lead .svc-plate { left: 22px; right: -12px; top: 28px; bottom: -14px; }
.svc-lead-photo { position: relative; z-index: 2; display: block; }
.svc-lead-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 18px 0 0 18px; display: block; }
.svc-lead-body { position: relative; z-index: 1; background: #fff; border-radius: 0 18px 18px 0; padding: 42px 40px 46px; box-shadow: 0 18px 42px rgba(31, 35, 33, 0.14); display: flex; flex-direction: column; }
.svc-lead-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; color: #b23a2c; }
.svc-lead-label::before { content: ""; width: 26px; height: 5px; border-radius: 4px 6px 5px 3px; background: var(--plate); transform: rotate(-2deg); }
.svc-lead-title { display: block; margin-top: 12px; font-family: var(--font-disp); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: 0.02em; }
.svc-lead-desc { display: block; margin-top: 14px; font-size: 14px; line-height: 1.95; color: var(--ink-soft); }
.svc-lead-price { display: block; margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--plate); font-size: 13px; color: var(--ink-soft); }
.svc-lead-price em { font-style: normal; font-family: var(--font-en); font-weight: 800; font-size: 27px; color: var(--ink); margin-right: 4px; }
.svc-lead .svc-arrow { right: 22px; bottom: 20px; }
.svc-lead:hover .svc-lead-body, .svc-lead:hover .svc-lead-photo { transform: translateY(-4px); }
.svc-lead-body, .svc-lead-photo { transition: transform 0.3s var(--ease); }
.svc-lead:hover .svc-arrow { background: var(--ink); color: #fff; }
.svc-lead:focus-visible { outline: 3px solid var(--denim); outline-offset: 4px; border-radius: 20px; }
.svc-lead .svc-tag { right: auto; left: 18px; bottom: 18px; }

/* 制作系グループの見出し */
.svc-group { margin-top: 58px; font-family: var(--font-disp); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; color: var(--ink-soft); display: flex; align-items: center; gap: 14px; }
.svc-group::after { content: ""; flex: 1; height: 1px; background: var(--card-line); }
.svc-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.svc-line path { fill: none; stroke-width: 16; stroke-linecap: round; stroke-dasharray: 40 335; animation: svcFlow 15s linear infinite; }
.svc-line .sl-s1 { stroke: #ffc233; animation-delay: -15s; }
.svc-line .sl-s2 { stroke: #ff8f3f; animation-delay: -12s; }
.svc-line .sl-s3 { stroke: #f4645f; animation-delay: -9s; }
.svc-line .sl-s4 { stroke: #9ed13f; animation-delay: -6s; }
.svc-line .sl-s5 { stroke: #e0d94a; animation-delay: -3s; }
@keyframes svcFlow { from { stroke-dashoffset: 40; } to { stroke-dashoffset: -335; } }
.svc-card { position: relative; display: block; z-index: 1; text-decoration: none; color: inherit; }
.svc-card--1 { --plate: #ffc233; margin-top: 34px; }
.svc-card--2 { --plate: #ff8f3f; margin-top: 0; }
.svc-card--3 { --plate: #f4645f; margin-top: 52px; }
.svc-card--4 { --plate: #9ed13f; margin-top: 26px; }
.svc-card--4 { --plate: #9ed13f; margin-top: 14px; }
.svc-plate { position: absolute; z-index: 0; left: 16px; right: -10px; top: 46px; bottom: -12px; background: var(--plate); border-radius: 22px; opacity: 0.92; }
.svc-photo { display: block; position: relative; z-index: 2; margin: 0 12px -20px; transition: transform 0.3s var(--ease); }
.svc-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 28px rgba(31, 35, 33, 0.2); display: block; }
.svc-tag { position: absolute; right: -7px; bottom: 16px; background: var(--plate); color: var(--ink); font-family: var(--font-en); font-weight: 600; font-size: 11.5px; letter-spacing: 0.08em; padding: 5px 13px; border-radius: 8px; transform: rotate(-3deg); box-shadow: 0 4px 12px rgba(31, 35, 33, 0.18); }
.svc-panel { display: block; position: relative; z-index: 1; background: #fff; border-radius: 18px; padding: 36px 20px 52px; box-shadow: 0 14px 34px rgba(31, 35, 33, 0.12); transition: transform 0.3s var(--ease); }
.svc-cnum { display: block; font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; color: var(--plate); }
.svc-ctitle { display: block; margin-top: 6px; font-family: var(--font-disp); font-weight: 700; font-size: 19px; letter-spacing: 0.02em; line-height: 1.5; }
.svc-cdesc { display: block; margin-top: 10px; font-size: 13px; line-height: 1.85; color: var(--ink-soft); }
.svc-arrow { position: absolute; right: 16px; bottom: 14px; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background 0.25s, color 0.25s; }
.svc-card:hover .svc-photo, .svc-card:hover .svc-panel { transform: translateY(-5px); }
.svc-card:hover .svc-arrow { background: var(--ink); color: #fff; }
.svc-card:focus-visible { outline: 3px solid var(--denim); outline-offset: 4px; border-radius: 20px; }
@media (max-width: 1080px) {
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
  .svc-card--1, .svc-card--3 { margin-top: 0; }
  .svc-card--2, .svc-card--4 { margin-top: 30px; }
  .svc-lead { grid-template-columns: 1fr; }
  .svc-lead-photo img { border-radius: 18px 18px 0 0; min-height: 220px; }
  .svc-lead-body { border-radius: 0 0 18px 18px; padding: 32px 26px 40px; }
}
@media (max-width: 640px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-card--1, .svc-card--2, .svc-card--3, .svc-card--4 { margin-top: 0; }
  .svc-photo img { aspect-ratio: 8 / 3; }
  .svc-detail-media img { aspect-ratio: 8 / 3; }
  .svc-lead-photo img { min-height: 0; aspect-ratio: 8 / 3; height: auto; }
  .svc-group { margin-top: 46px; }
}

/* Pricing: 3枚比較カード（色板オフセット・スタンダード推し） */
.pricing-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; align-items: stretch; }
.plan { position: relative; display: flex; }
.plan--light { --plate: #e0d94a; }
.plan--standard { --plate: #ffc233; }
.plan--premium { --plate: #9ed13f; }
.plan-plate { position: absolute; z-index: 0; left: 14px; right: -10px; top: 22px; bottom: -12px; background: var(--plate); border-radius: 22px; opacity: 0.92; }
.plan-inner { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 30px 24px 24px; box-shadow: 0 14px 34px rgba(31, 35, 33, 0.12); }
.plan--standard .plan-inner { box-shadow: 0 20px 44px rgba(31, 35, 33, 0.17); }
.plan-badge { position: absolute; top: -13px; left: 18px; background: #f4645f; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 0.04em; padding: 5px 14px; border-radius: 8px; transform: rotate(-2.5deg); box-shadow: 0 4px 12px rgba(31, 35, 33, 0.2); }
.plan-name { font-family: var(--font-disp); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; }
.plan-for { margin-top: 8px; font-size: 12.5px; line-height: 1.8; color: var(--ink-soft); min-height: 3.6em; }
.plan-price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; border-bottom: 2px solid var(--plate); padding-bottom: 14px; }
.pp-num { font-family: var(--font-en); font-weight: 800; font-size: 54px; line-height: 1; color: var(--ink); }
.pp-unit { font-weight: 700; font-size: 15px; }
.pp-tax { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ink-faint); border: 1px solid var(--card-line); border-radius: 999px; padding: 3px 10px; }
.plan-list { margin: 16px 0 0; list-style: none; padding: 0; }
.plan-list li { position: relative; padding-left: 26px; font-size: 13px; line-height: 1.8; }
.plan-list li + li { margin-top: 9px; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 16px; height: 16px; border-radius: 50%; background: var(--plate); opacity: 0.15; }
.plan-list li::after { content: ""; position: absolute; left: 4.5px; top: calc(0.32em + 4px); width: 7px; height: 4.5px; border-left: 2px solid var(--plate); border-bottom: 2px solid var(--plate); transform: rotate(-45deg); }
.plan-step { margin-top: auto; padding-top: 16px; font-size: 11.5px; line-height: 1.75; color: var(--ink-faint); }
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 30px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan--standard { margin-top: 0; }
  .plan-for { min-height: 0; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
  .plan--premium { grid-column: 1 / -1; width: calc(50% - 15px); margin-left: auto; margin-right: auto; }
}

/* business: サービス詳細の写真に色板+タグ */
#web { --plate: #ffc233; }
#seo { --plate: #ff8f3f; }
#kaizen { --plate: #f4645f; }
#consulting { --plate: #ff8f3f; }
#subsidy { --plate: #9ed13f; }
.svc-detail-media { position: relative; }
.svc-detail-media::before { content: ""; position: absolute; z-index: -1; left: 18px; right: -12px; top: 20px; bottom: -14px; background: var(--plate, var(--denim)); border-radius: 20px; opacity: 0.9; }
.svc-detail-media .svc-tag { right: -8px; bottom: 18px; }

/* 規約系ページ */
.legal-body { max-width: 760px; font-size: 14.5px; line-height: 2.0; color: var(--ink); }
.legal-body h2 { margin-top: 40px; font-family: var(--font-disp); font-weight: 700; font-size: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--chip-line); }
.legal-body p { margin-top: 14px; }
.legal-body ul { margin: 14px 0 0; padding-left: 24px; }
.legal-body li { margin-top: 6px; }
.legal-body a { color: var(--denim); font-weight: 700; }
.legal-date { margin-top: 36px; color: var(--ink-faint); font-size: 12.5px; }

/* DSレビュー対応（2026-08-28） */
@media (max-width: 640px) {
  .members-grid { grid-template-columns: 1fr; gap: 40px; }
}
.page-hero--plain .page-title-en { display: none; }

/* スキップリンク（キーボード利用者向け） */
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 300; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 0 0 10px 10px; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .opening { display: none; }
  .site-header,
  .hero-eyebrow, .hero-title .line, .hero-sub, .hero-cta,
  .js-reveal { opacity: 1; transform: none; transition: none; }
  .site-logo-mark, .car-circle { animation: none; }
  .strip-track, .strip-track.is-running { animation: none; }
  .hero-title .grad { animation: none; }
  .marquee-track { animation: none; }
  .hero-lines { opacity: 1; animation: none; }
  .hero-lines path { animation: none; }
  .hl-s1 { stroke-dashoffset: 0; }
  .hl-s3 { stroke-dashoffset: -55; }
  .hl-s2, .hl-s4, .hl-s5 { stroke-dashoffset: 60; }
  .foot-lines path { animation: none; }
  .fl-s1 { stroke-dashoffset: 0; }
  .fl-s3 { stroke-dashoffset: -55; }
  .fl-s2, .fl-s4, .fl-s5 { stroke-dashoffset: 60; }
  .member-line path { animation: none; }
  .svc-line path { animation: none; }
  .sl-s1 { stroke-dashoffset: 0; }
  .sl-s3 { stroke-dashoffset: -55; }
  .sl-s2, .sl-s4, .sl-s5 { stroke-dashoffset: 60; }
  .ml-s1 { stroke-dashoffset: 0; }
  .ml-s3 { stroke-dashoffset: -55; }
  .ml-s2, .ml-s4, .ml-s5 { stroke-dashoffset: 60; }
  .trust-curve path { stroke-dashoffset: 0; transition: none; }
  .fill-text { background: none; color: var(--ink); }
  .fill-text-body { background: none; color: var(--ink-soft); }
  .car-track { transition: none; }
  .car-slide { opacity: 1; transition: none; }
  .btn-pill, .svc-card, .news-card { transition: none; }
}

/* ---------- ロゴ（2026-09-24 案1「文字だけ」の画像に差し替え・オーナー決定 9/17） ----------
 * ヘッダー（トップ以外）とフッター（全ページ）の <img>。高さは DS の目安（ヘッダー PC 21px・スマホ 19px。フッターは今までの文字と同じ 21px）
 * 旧の文字と●の指定（.site-logo-mark・.site-logo-text）は使っていないが、戻しやすさのため残している */
.site-logo-img { height: 21px; width: auto; max-width: none; }
/* フッター: 旧の文字のロゴは行の高さ 39.890625px・ベースラインが上から 28px。画像のベースラインは上から 16.0823px（21×758.7÷990.7）なので、
   上下の内側の余白で同じ場所に置き、住所から下の位置を今までと同じにする（1/64px 単位: 上 11.921875px＋画像 21px＋下 6.96875px＝39.890625px）
   外側の余白（margin）にすると、下の余白が住所の上の余白 14px と重なって消えるため、内側の余白（padding）にしている */
.site-footer-logo { box-sizing: content-box; height: 21px; width: auto; max-width: none; padding: 11.921875px 0 6.96875px; }
@media (max-width: 699px) {
  .site-logo-img { height: 19px; }
}
