/* =========================================================
   株式会社飽海商事 コーポレートサイト
   書体の規則: 縦は明朝（Shippori Mincho B1）、横はゴシック（IBM Plex Sans JP）
   角の規則: 画面から来たもの（縦型の画像・動画）は角丸16px、紙と書類は角2px、写真と面は角0
   図形の規則: ロゴの円、ロゴの上昇矢印、営業資料の紺の斜めパネル、東京から東北への航路線
   ========================================================= */

:root {
  color-scheme: light;
  --bg: #F5F7F7;          /* 白磁 */
  --paper: #FFFFFF;
  --slip: #E6EEF4;        /* 伝票青 */
  --ink: #0F2233;         /* 夜の海 */
  --mute: #566472;        /* 鈍色 */
  --line: #C6D0D8;        /* 潮線 */
  --flame: #3B8BEB;       /* ロゴの青。成果の数字とロゴ由来の図形だけ */
  --ai: #1D5FC4;          /* 藍。リンク、フォーカス、ホバー */
  --navy: #0F2233;        /* 斜めパネルの面 */
  --on-navy: #F5F7F7;
  --on-navy-mute: #A9B8C6;
  --navy-line: #2B4560;
  --logo-plate: transparent;

  --f-sans: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --wrap: 1280px;
  --gutter: 40px;
  --sec: 112px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui: cubic-bezier(0.2, 0.7, 0.2, 1);
  --r-screen: 16px;
  --r-paper: 2px;
}


@media (max-width: 767px) {
  :root { --gutter: 16px; --sec: 80px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img { display: block; max-width: 100%; }
a { color: var(--ai); text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ai); outline-offset: 2px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 30;
  background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: var(--r-paper);
}
.skip:focus { top: 8px; }

.h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-feature-settings: "palt";
}
.lead { color: var(--mute); max-width: 36em; margin-top: 20px; }

/* セクション見出しの印: ロゴの円を小さく反復する */
.mark {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; color: var(--mute); letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.mark::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--flame);
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 7px var(--flame);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px;
  border-radius: var(--r-paper);
  font: 700 15px/1 var(--f-sans); letter-spacing: 0.06em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 200ms var(--ease-ui), color 200ms var(--ease-ui), transform 120ms var(--ease-ui);
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 18px; transition: transform 240ms var(--ease-ui); }
.btn:hover i { transform: translate(2px, -2px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--ai); color: #fff; }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--mute); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.on-navy .btn-primary { background: var(--on-navy); color: var(--navy); }
.on-navy .btn-primary:hover { background: var(--flame); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow:hover { color: var(--ai); }
.link-arrow i { font-size: 16px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-ui);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; background: var(--logo-plate); border-radius: var(--r-paper); }
.brand span { font-weight: 700; font-size: 16px; letter-spacing: 0.08em; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.gnav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.06em; }
.gnav a:not(.btn):hover { color: var(--ai); }
.gnav .btn { height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; }

@media (max-width: 959px) {
  .site-header .wrap { height: 60px; }
  .gnav { display: none; }
  .menu-btn {
    display: inline-flex; margin-left: auto; align-items: center; gap: 8px;
    height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-paper);
    background: transparent; color: var(--ink); font: 500 14px/1 var(--f-sans); letter-spacing: 0.06em;
    box-shadow: inset 0 0 0 1px var(--line); cursor: pointer;
  }
  .menu-btn i { font-size: 20px; }
}
.mobile-menu {
  position: fixed; inset: 60px 0 0 0; z-index: 19;
  background: var(--bg);
  padding: 32px var(--gutter);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity 200ms var(--ease-ui), visibility 0s linear 200ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 200ms var(--ease-ui); }
.mobile-menu a:not(.btn) {
  font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(8px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.mobile-menu.is-open a:not(.btn) { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 40ms; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 80ms; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 120ms; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 160ms; }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu .menu-meta { margin-top: auto; font-size: 13px; color: var(--mute); line-height: 1.8; }

/* =========================================================
   HERO: 縦の帯
   ========================================================= */
.hero { position: relative; padding: 120px 0 72px; overflow: hidden; }
@media (max-width: 767px) { .hero { padding: 92px 0 56px; } }

/* 背景の大きな円: ロゴの AS を囲むリング */
.hero-ring {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(84vw, 1100px); aspect-ratio: 1;
  right: -22vw; top: -18vw;
  color: var(--line);
}
.hero-ring svg { width: 100%; height: 100%; overflow: visible; }

.hero .wrap { position: relative; z-index: 1; }
.band {
  --band-h: clamp(380px, 62svh, 640px);
  display: flex; align-items: stretch; gap: 40px;
  height: var(--band-h);
}
@media (max-width: 767px) {
  .band { --band-h: clamp(320px, 50svh, 420px); gap: 14px; }
  .hero-title { font-size: calc(var(--band-h) / 10.5); }
  .route { font-size: 12px; gap: 8px; }
}

.hero-title {
  flex: none;
  writing-mode: vertical-rl;
  font-family: var(--f-mincho);
  font-weight: 800;
  font-size: calc(var(--band-h) / 8.7);
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--ink);
  height: 100%;
}
.hero-title .l { display: block; }
.hero-title .l1 { text-align-last: justify; text-align: justify; height: 100%; }

/* 縦型の列 */
.reel {
  position: relative; flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter)));
}
/* 航路線: 東京から酒田へ、右上がりに抜ける（ロゴの矢印と同じ向き） */
.route {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 500; color: var(--mute); letter-spacing: 0.08em;
  padding-right: var(--gutter);
}
.route .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex: none; }
.route .dot.to { background: var(--flame); box-shadow: 0 0 0 4px color-mix(in srgb, var(--flame) 22%, transparent); }
.route .path { flex: 1; height: 12px; position: relative; color: var(--flame); }
.route .path svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.reel-track {
  flex: 1; min-height: 0;
  display: flex; gap: 10px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-right: var(--gutter);
  scroll-padding-left: 0;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-item {
  flex: none; height: 100%; aspect-ratio: 9 / 16;
  border-radius: var(--r-screen); overflow: hidden;
  scroll-snap-align: start; position: relative;
  background: var(--slip);
}
.reel-item img { width: 100%; height: 100%; object-fit: cover; }
.reel-item.tokyo img { filter: saturate(0.9) contrast(1.02); }
.reel-item.tohoku img { filter: saturate(0.85); }

.hero-foot {
  margin-top: 36px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end;
}
.hero-foot p { max-width: 34em; color: var(--ink); }
.hero-foot p span { color: var(--mute); }
.hero-actions { display: flex; gap: 12px; align-items: center; }
.reel-ctrl { display: flex; gap: 8px; }
.reel-ctrl button {
  width: 44px; height: 44px; border: 0; border-radius: var(--r-paper);
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; cursor: pointer; font-size: 18px;
  transition: box-shadow 200ms var(--ease-ui);
}
.reel-ctrl button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 767px) {
  .hero-foot { grid-template-columns: 1fr; margin-top: 24px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 auto; }
  .reel-ctrl { display: none; }
}

/* 読み込み時の一度きりの演出 */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .l { clip-path: inset(0 0 100% 0); animation: write 700ms var(--ease) forwards; }
  .js .hero-title .l1 { animation-delay: 120ms; }
  .js .hero-title .l2 { animation-delay: 420ms; }
  .js .reel-item { opacity: 0; transform: translateY(18px); animation: rise 700ms var(--ease) forwards; }
  .js .reel-item:nth-child(1) { animation-delay: 700ms; }
  .js .reel-item:nth-child(2) { animation-delay: 770ms; }
  .js .reel-item:nth-child(3) { animation-delay: 840ms; }
  .js .reel-item:nth-child(4) { animation-delay: 910ms; }
  .js .reel-item:nth-child(5) { animation-delay: 980ms; }
  .js .reel-item:nth-child(n+6) { animation-delay: 1050ms; }
  .js .route .path svg { transform: scaleX(0); transform-origin: left center; animation: draw 900ms var(--ease) 500ms forwards; }
}
@keyframes write { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }

/* =========================================================
   取引先
   ========================================================= */
.clients { padding: 40px 0 0; }
.clients .wrap { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
.clients .wrap::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 16px; }
.clients h2 { font-size: 14px; font-weight: 500; color: var(--mute); letter-spacing: 0.08em; }
/* 取引先ロゴ: 白い板は敷かず、高さをそろえて単色で並べる */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 56px; }
.logo-row li { display: flex; align-items: center; height: 36px; }
.logo-row img { display: block; height: 36px; width: auto; max-width: none; object-fit: contain; filter: brightness(0); opacity: 0.74; transition: opacity 200ms var(--ease-ui); }
.logo-row li:hover img { opacity: 1; }
/* ダークモードでは黒いロゴが沈むので、白一色に反転する */
@media (max-width: 767px) {
  .clients .wrap { grid-template-columns: 1fr; }
  .logo-row { gap: 20px 32px; }
  .logo-row li, .logo-row img { height: 26px; }
}

/* =========================================================
   港の物語
   ========================================================= */
.minato .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.minato figure {
  grid-column: 1 / span 7;
  margin-left: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter)));
  position: relative;
}
.minato figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* 写真の右下を斜めに切る: 営業資料の斜めパネル */
.minato figure .cut { clip-path: polygon(0 0, 100% 0, 100% 78%, 86% 100%, 0 100%); }
.minato figcaption { font-size: 13px; line-height: 1.6; color: var(--mute); margin-top: 12px; padding-left: max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter)); }
.minato figcaption a { color: inherit; }
.minato .text { grid-column: 8 / span 5; display: flex; gap: 32px; padding-top: 8px; }
.v-head {
  writing-mode: vertical-rl;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(36px, 4.2vw, 56px); line-height: 1.5; letter-spacing: 0.1em;
  flex: none;
}
.minato .body p + p { margin-top: 1.2em; }
.minato .body strong { font-weight: 700; }
@media (max-width: 959px) {
  .minato figure { grid-column: 1 / -1; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .minato figcaption { padding-left: var(--gutter); }
  .minato .text { grid-column: 1 / -1; flex-direction: row-reverse; justify-content: flex-end; gap: 20px; margin-top: 16px; }
  .v-head { font-size: 34px; }
}

/* 往路・復路: 紺の斜めパネル */
.voyage {
  margin-top: 96px;
  position: relative;
  color: var(--on-navy);
}
.voyage::before {
  content: ""; position: absolute; z-index: 0;
  inset: 0 calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter))) 0 8%;
  background: var(--navy);
  clip-path: polygon(48px 0, 100% 0, 100% 100%, 0 100%);
}
.voyage-inner { position: relative; z-index: 1; padding: 56px 0 56px calc(8% + 88px); display: grid; gap: 8px; }
.leg { display: grid; grid-template-columns: 72px minmax(120px, 280px) 1fr; align-items: center; gap: 24px; padding: 18px 0; }
.leg + .leg { border-top: 1px solid var(--navy-line); }
.leg .k { font-size: 14px; font-weight: 500; color: var(--on-navy-mute); letter-spacing: 0.12em; }
.leg .arrow { position: relative; height: 14px; color: var(--flame); }
.leg .arrow::before { content: ""; position: absolute; left: 0; right: 2px; top: 50%; height: 1.5px; margin-top: -0.75px; background: currentColor; }
.leg .arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.leg.back .arrow { transform: scaleX(-1); color: var(--on-navy-mute); }
.leg .v { font-size: clamp(20px, 2.3vw, 30px); font-weight: 700; line-height: 1.5; font-feature-settings: "palt"; }
.voyage-note { margin-top: 28px; padding-left: calc(8% + 88px); position: relative; z-index: 1; font-weight: 500; }
@media (max-width: 767px) {
  .voyage { margin-top: 64px; }
  .voyage::before { inset: 0 calc(-1 * var(--gutter)); clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); }
  .voyage-inner { padding: 40px 0 40px 8px; }
  .leg { grid-template-columns: 1fr; gap: 6px; }
  .leg .arrow { width: 120px; }
  .voyage-note { padding: 24px 0 0 0; color: var(--on-navy); }
}
.voyage-tail { margin-top: 28px; font-weight: 500; }

/* =========================================================
   取扱品目
   ========================================================= */
.products .head { max-width: 980px; }
.catalog { margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.item-main {
  grid-column: 1 / span 7; background: var(--slip); border-radius: var(--r-paper);
  padding: 44px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
}
/* 9:16 の枠を図形として置く */
.frame916 {
  width: 120px; aspect-ratio: 9 / 16; border-radius: var(--r-screen);
  border: 1.5px solid var(--ink); position: relative; align-self: start;
}
.frame916::before { content: ""; position: absolute; left: 50%; top: 10px; width: 28px; height: 4px; margin-left: -14px; border-radius: 2px; background: var(--ink); opacity: 0.35; }
.frame916 i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: var(--flame); }
.item-main h3, .item h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; line-height: 1.5; font-weight: 700; }
.item-main h3 i, .item h3 i { font-size: 26px; color: var(--ink); }
.item-main p, .item p { margin-top: 12px; }
.spec { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: 15px; line-height: 1.7; }
.spec dt { color: var(--mute); }
.spec dd .price { font-size: 28px; font-weight: 700; letter-spacing: 0.02em; }
.spec dd .price small { font-size: 15px; font-weight: 500; margin-left: 2px; }
.item-main .link-arrow { margin-top: 32px; }
.item-side { grid-column: 8 / span 5; display: flex; flex-direction: column; }
.item { padding: 26px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; padding-top: 4px; }
.item p { font-size: 15px; line-height: 1.85; color: var(--ink); }
.item .meta { margin-top: 10px; font-size: 13px; color: var(--mute); }
.item .partner { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 6px 12px 6px 6px; border-radius: var(--r-paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 1.4; }
.item .partner img { width: 64px; height: 28px; object-fit: contain; background: #fff; border-radius: 2px; padding: 2px 4px; }
@media (max-width: 959px) {
  .item-main, .item-side { grid-column: 1 / -1; }
  .item-main { padding: 28px 22px; grid-template-columns: 1fr; }
  .frame916 { display: none; }
}

/* =========================================================
   料金プラン（帳簿の表）
   ========================================================= */
.plans .head { display: flex; flex-direction: column; }
.plan-cols { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan { padding: 40px 32px 44px; position: relative; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.pick { background: var(--slip); }
/* 選ばれているプランは右上を斜めに切る（営業資料の斜めパネル） */
.plan.pick::before { content: ""; position: absolute; top: -1px; right: -1px; width: 40px; height: 40px; background: var(--bg); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.plan header { min-height: 214px; display: flex; flex-direction: column; }
.plan-name { font-size: 26px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.3; }
.plan-ja { font-size: 13px; color: var(--mute); font-weight: 500; }
.plan-for { margin-top: 14px; font-size: 14px; color: var(--mute); line-height: 1.7; }
.plan-price { margin-top: auto; padding-top: 20px; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.plan-price span { font-size: 20px; margin-left: 4px; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--mute); margin-left: 4px; }
.plan ul { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; line-height: 1.6; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; }
.plan li i { font-size: 18px; color: var(--flame); margin-top: 2px; }
.badge { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--bg); background: var(--ink); padding: 4px 10px; border-radius: var(--r-paper); margin-bottom: 12px; }
@media (max-width: 959px) {
  .plan-cols { grid-template-columns: 1fr; border-bottom: 0; }
  .plan { padding: 32px 20px; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan header { min-height: 0; }
  .plan-price { padding-top: 16px; font-size: 48px; }
}
.plans .note { margin-top: 20px; font-size: 13px; color: var(--mute); line-height: 1.8; }

/* =========================================================
   実績（紺の斜めパネル＋帳簿）
   ========================================================= */
.results { position: relative; overflow: hidden; }
.results .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; margin-top: 56px; }
.case {
  grid-column: 1 / span 4; position: relative; color: var(--on-navy);
  padding: 40px 36px 36px; isolation: isolate;
}
.case::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
}
.case .frame { width: 62%; aspect-ratio: 9 / 16; border-radius: var(--r-screen); overflow: hidden; margin: 0 auto; }
.case .frame { display: grid; place-items: center; align-content: center; gap: 10px; box-shadow: inset 0 0 0 1.5px var(--navy-line); color: var(--on-navy-mute); font-size: 12px; text-align: center; }
.case .frame i { font-size: 40px; color: var(--flame); }
.case h3 { margin-top: 24px; font-size: 18px; font-weight: 700; line-height: 1.6; }
.case p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--on-navy-mute); }
.case .case-num { display: flex; gap: 24px; margin-top: 18px; }
.case .case-num div { font-size: 13px; color: var(--on-navy-mute); line-height: 1.5; }
.case .case-num b { display: block; font-size: 26px; color: var(--on-navy); line-height: 1.2; font-weight: 700; }
.ledger { grid-column: 6 / span 7; }
.ledger li { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); }
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.ledger .label { font-weight: 700; font-size: 17px; line-height: 1.6; }
.ledger .sub { grid-column: 1; font-size: 14px; color: var(--mute); line-height: 1.8; }
.ledger .amt { grid-row: 1 / span 2; grid-column: 2; font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: 1; color: var(--flame); letter-spacing: 0.01em; text-align: right; }
.ledger .amt small { font-size: 0.36em; font-weight: 700; margin-left: 4px; color: var(--ink); }
.genres { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.genres li { font-size: 13px; line-height: 1; padding: 9px 12px; border-radius: var(--r-paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
@media (max-width: 959px) {
  .case { grid-column: 1 / -1; display: grid; grid-template-columns: 40% 1fr; gap: 20px; align-items: center; padding: 28px 22px; }
  .case .frame { width: 100%; }
  .case h3 { margin-top: 0; }
  .ledger { grid-column: 1 / -1; }
  .ledger li { grid-template-columns: 1fr; }
  .ledger .amt { grid-row: auto; grid-column: 1; text-align: left; }
}

/* =========================================================
   お取引の約束（左に余白、番号なしの宣言）
   ========================================================= */
.terms .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.terms .head { grid-column: 1 / span 4; position: sticky; top: 120px; align-self: start; }
.terms ul { grid-column: 6 / span 7; display: grid; gap: 56px; }
.terms li { position: relative; padding-left: 40px; }
/* 上昇矢印: ロゴの矢印の向き */
.terms li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 18px; height: 18px;
  background: var(--flame);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 16 L15 3 M7 3 H15 V11' fill='none' stroke='black' stroke-width='2'/%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 18 18'%3E%3Cpath d='M2 16 L15 3 M7 3 H15 V11' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.terms li h3 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.5; font-weight: 700; font-feature-settings: "palt"; }
.terms li p { margin-top: 10px; color: var(--mute); font-size: 16px; max-width: 34em; }
@media (max-width: 959px) {
  .terms .head { grid-column: 1 / -1; position: static; }
  .terms ul { grid-column: 1 / -1; gap: 40px; margin-top: 16px; }
}

/* =========================================================
   人（段違い）
   ========================================================= */
.people .grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.person { display: grid; gap: 24px; }
.person.ceo { grid-column: 1 / span 6; grid-template-columns: minmax(0, 1fr); }
.person.ceo .portrait { width: 78%; }
.person.coo { grid-column: 7 / span 6; margin-top: 200px; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; background: var(--slip); overflow: hidden;
  display: grid; place-items: center;
}
.person.coo .portrait { width: 64%; }
/* 写真が届くまでの枠: ロゴの円と縦組みの名前 */
.portrait .ring { position: absolute; width: 120%; aspect-ratio: 1; right: -40%; bottom: -30%; color: var(--line); }
.portrait .ring svg { width: 100%; height: 100%; }
.portrait .vname {
  position: relative; writing-mode: vertical-rl; font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px); letter-spacing: 0.24em; color: var(--ink);
}
.portrait .slot { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: var(--mute); letter-spacing: 0.06em; }
.person .role { font-size: 14px; color: var(--mute); font-weight: 500; letter-spacing: 0.06em; }
.person .name { font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; }
.person .name small { display: block; font-size: 13px; font-weight: 500; color: var(--mute); letter-spacing: 0.12em; }
.person .bio { margin-top: 14px; max-width: 32em; }
.person .also {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 16px 10px 10px; background: var(--paper); border-radius: var(--r-paper);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.5;
}
.person .also img { width: 84px; height: 38px; object-fit: contain; background: #fff; border-radius: 2px; padding: 3px 6px; }
.person .ig { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: 15px; }
.pair-note { grid-column: 1 / -1; margin-top: 56px; padding: 32px 36px; background: var(--slip); border-radius: var(--r-paper); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.pair-note .glyph { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 700; }
.pair-note .glyph span { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 22px; }
.pair-note .glyph span + span { margin-left: -20px; border-color: var(--flame); color: var(--flame); background: var(--slip); }
.pair-note p { font-size: 16px; }
@media (max-width: 959px) {
  .person.ceo, .person.coo { grid-column: 1 / -1; margin-top: 0; }
  .person.coo { margin-top: 32px; }
  .person.ceo .portrait { width: 100%; }
  .person.coo .portrait { width: 70%; margin-left: auto; }
  .pair-note { grid-template-columns: 1fr; padding: 24px 22px; }
}

/* =========================================================
   流れ（路線図）
   ========================================================= */
.process ol {
  margin-top: 56px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative;
}
.process li { position: relative; padding: 36px 16px 0 0; }
.process li::before { /* 線 */
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line);
}
.process li.run::before { height: 3px; top: 6px; background: var(--ink); }
.process li:last-child::before { right: 24px; }
.process li::after { /* 停留点: ロゴの円 */
  content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--ink);
}
.process li.run::after { border-color: var(--flame); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 8px var(--flame); }
.process li:last-child .tip { position: absolute; right: 0; top: -2px; width: 24px; height: 20px; color: var(--ink); }
.process li:last-child .tip svg { width: 100%; height: 100%; }
.process .when { font-size: 13px; color: var(--mute); font-weight: 500; letter-spacing: 0.06em; }
.process .what { font-size: 17px; font-weight: 700; line-height: 1.5; margin-top: 4px; }
.process .how { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--mute); }
.process .seg { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--mute); }
.process .seg span:last-child { color: var(--ink); font-weight: 700; }
@media (max-width: 959px) {
  .process ol { grid-template-columns: 1fr; gap: 0; }
  .process li { padding: 0 0 28px 36px; }
  .process li::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process li.run::before { width: 3px; left: 6px; height: auto; }
  .process li:last-child::before { display: none; }
  .process li:last-child .tip { display: none; }
  .process .seg { display: none; }
}

/* =========================================================
   会社概要
   ========================================================= */
.company .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.profile { grid-column: 1 / span 7; }
.profile div { display: grid; grid-template-columns: 9em 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.profile div:last-child { border-bottom: 1px solid var(--line); }
.profile dt { color: var(--mute); font-weight: 500; }
.history { grid-column: 9 / span 4; }
.history h3 { font-size: 15px; font-weight: 700; color: var(--mute); letter-spacing: 0.06em; }
.history ol { margin-top: 16px; position: relative; }
.history ol::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.history li { position: relative; padding: 0 0 22px 28px; font-size: 15px; line-height: 1.7; }
.history li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink); }
.history li:last-child::before { border-color: var(--flame); background: var(--flame); }
.history time { display: block; font-size: 13px; color: var(--mute); font-weight: 500; }
@media (max-width: 959px) {
  .profile, .history { grid-column: 1 / -1; }
  .history { margin-top: 32px; }
  .profile div { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   相談の帯
   ========================================================= */
.contact { padding: 0 0 var(--sec); }
.contact-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--on-navy);
  padding: 80px 72px;
  clip-path: polygon(0 0, calc(100% - 72px) 0, 100% 72px, 100% 100%, 0 100%);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: end;
}
.contact-band .ring { position: absolute; z-index: -1; width: 560px; aspect-ratio: 1; right: -210px; top: -390px; color: var(--navy-line); }
.contact-band .ring svg { width: 100%; height: 100%; overflow: visible; }
.contact-band h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.45; font-weight: 700; font-feature-settings: "palt"; }
.contact-band p { margin-top: 20px; color: var(--on-navy-mute); max-width: 32em; }
.contact-actions { display: grid; gap: 18px; }
.contact-actions .btn { height: 60px; font-size: 16px; }
.contact-actions .mail { font-size: 14px; color: var(--on-navy-mute); line-height: 1.6; }
.contact-actions .mail a { color: var(--on-navy); font-size: 17px; font-weight: 500; }
@media (max-width: 959px) {
  .contact-band { grid-template-columns: 1fr; padding: 56px 24px 40px; gap: 32px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
  .contact .wrap { padding: 0; }
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; line-height: 1.9; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 1fr; gap: 32px; }
.foot-brand img { width: 56px; height: 56px; object-fit: contain; background: var(--logo-plate); border-radius: var(--r-paper); }
.foot-brand b { display: block; margin-top: 14px; font-size: 16px; }
.foot-brand span { color: var(--mute); }
.site-footer h3 { font-size: 13px; color: var(--mute); font-weight: 500; letter-spacing: 0.06em; margin-bottom: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--ai); text-decoration: underline; }
.credits { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; color: var(--mute); display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.credits a { color: var(--mute) !important; text-decoration: underline !important; }
@media (max-width: 959px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .credits { grid-template-columns: 1fr; }
}
@media (max-width: 559px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   下層ページ共通
   ========================================================= */
.gnav a[aria-current="page"] { color: var(--ai); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

.page-head { position: relative; overflow: hidden; padding: 128px 0 88px; border-bottom: 1px solid var(--line); }
.page-head .hero-ring { width: min(64vw, 820px); right: -16vw; top: -22vw; }
.page-head .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: end; }
.page-title {
  writing-mode: vertical-rl; font-family: var(--f-mincho); font-weight: 800;
  font-size: clamp(44px, 5.4vw, 76px); line-height: 1.3; letter-spacing: 0.14em; min-height: 4.4em;
}
.crumb { display: flex; gap: 10px; font-size: 13px; color: var(--mute); margin-bottom: 28px; }
.crumb a { color: var(--mute); }
.page-lead { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.55; font-feature-settings: "palt"; max-width: 22em; }
.page-sub { margin-top: 20px; color: var(--mute); max-width: 36em; }
@media (max-width: 767px) {
  .page-head { padding: 96px 0 56px; }
  .page-head .wrap { grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
  .page-title { font-size: 40px; }
  .page-lead { font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .page-title { clip-path: inset(0 0 100% 0); animation: write 800ms var(--ease) 100ms forwards; }
}

/* 2つの大きな言明（使命・目指す未来） */
.mvv { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.mvv article { grid-column: span 6; position: relative; padding: 48px 44px 52px; background: var(--slip); overflow: hidden; isolation: isolate; }
.mvv article + article { margin-top: 96px; }
.mvv .ring { position: absolute; z-index: -1; width: 320px; aspect-ratio: 1; right: -110px; bottom: -150px; color: var(--line); }
.mvv .ring svg { width: 100%; height: 100%; }
.mvv .k { font-size: 14px; color: var(--mute); font-weight: 500; letter-spacing: 0.08em; }
.mvv h3 { margin-top: 14px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.5; font-weight: 700; font-feature-settings: "palt"; }
.mvv p { margin-top: 18px; max-width: 30em; }
@media (max-width: 959px) {
  .mvv article { grid-column: 1 / -1; padding: 32px 22px 36px; }
  .mvv article + article { margin-top: 0; }
}

/* 大切にしていること（2×2、上昇矢印つき） */
.values-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.values-grid li { padding: 40px 40px 44px 0; position: relative; border-bottom: 1px solid var(--line); }
.values-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.values-grid li:nth-child(even) { padding-left: 40px; padding-right: 0; }
.values-grid h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.5; display: flex; gap: 14px; align-items: baseline; }
.values-grid h3 i { color: var(--flame); font-size: 0.8em; }
.values-grid p { margin-top: 12px; color: var(--mute); max-width: 28em; }
@media (max-width: 767px) {
  .values-grid { grid-template-columns: 1fr; }
  .values-grid li, .values-grid li:nth-child(even) { padding: 28px 0; border-right: 0; }
}

/* 紺の斜めパネルの文章ブロック（原点の話など） */
.panel-navy { position: relative; color: var(--on-navy); padding: 80px 0; isolation: isolate; }
.panel-navy::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter)));
  right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter)));
  background: var(--navy);
  clip-path: polygon(0 0, calc(100% - 96px) 0, 100% 96px, 100% 100%, 0 100%);
}
.panel-navy .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.panel-navy h2 { grid-column: 1 / span 5; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.5; font-weight: 700; font-feature-settings: "palt"; }
.panel-navy .body { grid-column: 7 / span 6; }
.panel-navy .body p { color: var(--on-navy-mute); }
.panel-navy .body p + p { margin-top: 1.2em; }
.panel-navy .body strong { color: var(--on-navy); font-weight: 700; }
.panel-navy .mark { color: var(--on-navy-mute); }
.panel-navy .mark::before { box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 7px var(--flame); }
@media (max-width: 959px) {
  .panel-navy { padding: 56px 0; }
  .panel-navy::before { clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%); }
  .panel-navy h2, .panel-navy .body { grid-column: 1 / -1; }
}

/* 代表メッセージ */
.message .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.message .grid > blockquote { grid-column: 1 / span 8; margin: 0; }
.message blockquote p { font-size: 17px; line-height: 2.05; }
.message blockquote p + p { margin-top: 1.1em; }
.message blockquote .first { font-size: clamp(20px, 2.1vw, 28px); font-weight: 700; line-height: 1.6; font-feature-settings: "palt"; }
.message .sign { grid-column: 9 / span 4; align-self: end; border-top: 1px solid var(--line); padding-top: 20px; }
.message .sign .role { font-size: 13px; color: var(--mute); }
.message .sign .name { font-size: 22px; font-weight: 700; letter-spacing: 0.1em; }
@media (max-width: 959px) { .message blockquote, .message .sign { grid-column: 1 / -1; } }

/* 事業内容: サービスの段 */
.svc { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.svc .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 48px; align-items: start; }
.svc .about { grid-column: 1 / span 6; }
.svc .visual { grid-column: 8 / span 5; }
.svc.flip .about { grid-column: 7 / span 6; grid-row: 1; }
.svc.flip .visual { grid-column: 1 / span 5; grid-row: 1; }
.svc .no { font-size: 13px; color: var(--mute); letter-spacing: 0.1em; font-weight: 500; }
.svc h2 { margin-top: 8px; display: flex; align-items: center; gap: 14px; font-size: clamp(28px, 3vw, 38px); line-height: 1.4; font-weight: 700; }
.svc h2 i { font-size: 0.9em; }
.svc .about > p { margin-top: 20px; max-width: 34em; }
.tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 14px; line-height: 1; padding: 10px 14px; border-radius: var(--r-paper); box-shadow: inset 0 0 0 1px var(--line); }
.svc .about .price-line { margin-top: 28px; display: flex; align-items: baseline; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.svc .about .price-line b { font-size: 30px; font-weight: 700; }
.svc .about .price-line span { color: var(--mute); font-size: 14px; }
@media (max-width: 959px) {
  .svc .about, .svc .visual, .svc.flip .about, .svc.flip .visual { grid-column: 1 / -1; grid-row: auto; }
  .svc .visual { margin-top: 24px; }
}
/* SNS運用: 売上までの導線（伝票青の面） */
.flowcard { background: var(--slip); padding: 36px 32px; position: relative; }
.flowcard h3 { font-size: 17px; font-weight: 700; }
.flowcard ol { margin-top: 20px; display: grid; gap: 0; }
.flowcard li { position: relative; padding: 0 0 22px 34px; font-size: 15px; line-height: 1.7; }
.flowcard li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--slip); }
.flowcard li::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 2px; width: 1px; background: var(--line); }
.flowcard li:last-child { padding-bottom: 0; }
.flowcard li:last-child::after { display: none; }
.flowcard li:last-child::before { border-color: var(--flame); box-shadow: inset 0 0 0 3px var(--slip), inset 0 0 0 8px var(--flame); }
.flowcard li b { display: block; }
.flowcard li span { color: var(--mute); font-size: 14px; }

/* Meta広告: 運用と広告の循環（2つの円と往復の矢印） */
.loop { position: relative; aspect-ratio: 5 / 3; max-width: 520px; }
.loop svg { width: 100%; height: 100%; overflow: visible; }
.loop .c-label { font: 700 15px/1.4 var(--f-sans); fill: var(--ink); }
.loop .c-sub { font: 500 12px/1.4 var(--f-sans); fill: var(--mute); letter-spacing: 0.06em; }
.loop .arc-label { font: 500 13px/1.4 var(--f-sans); fill: var(--mute); }

/* 動画: 構成のタイムライン */
.cuts { margin-top: 8px; }
.cuts .bar { display: grid; grid-template-columns: 2fr 19fr 7fr; height: 64px; }
.cuts .bar span { display: flex; align-items: center; padding: 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.cuts .bar .hook { background: var(--flame); color: #fff; padding: 0 8px; justify-content: center; }
.cuts .bar .body { background: var(--slip); box-shadow: inset 0 0 0 1px var(--line); }
.cuts .bar .cta { background: var(--ink); color: var(--bg); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); }
.cuts .times { display: grid; grid-template-columns: 2fr 19fr 7fr; margin-top: 8px; font-size: 12px; color: var(--mute); }
.cuts .times span { padding-left: 2px; }
.cuts dl { margin-top: 24px; display: grid; gap: 12px; font-size: 15px; line-height: 1.7; }
.cuts dl div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; }
.cuts dt { font-weight: 700; letter-spacing: 0.08em; font-size: 13px; padding-top: 2px; }
.cuts dd { color: var(--mute); }
.cuts .partner { margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--slip); font-size: 14px; line-height: 1.7; }
.cuts .partner img { width: 96px; height: 44px; object-fit: contain; background: #fff; padding: 4px 8px; border-radius: 2px; flex: none; }

/* AQUA */
.aqua-box { position: relative; color: var(--on-navy); padding: 40px 36px; isolation: isolate; }
.aqua-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); }
.aqua-box .ring { position: absolute; z-index: -1; width: 260px; aspect-ratio: 1; right: -60px; bottom: -90px; color: var(--navy-line); }
.aqua-box .ring svg { width: 100%; height: 100%; }
.aqua-box .name { font-size: 40px; font-weight: 700; letter-spacing: 0.2em; }
.aqua-box .tag { font-size: 13px; color: var(--on-navy-mute); letter-spacing: 0.1em; }
.aqua-box dl { margin-top: 24px; display: grid; gap: 14px; font-size: 15px; line-height: 1.7; }
.aqua-box dt { font-size: 13px; color: var(--on-navy-mute); }
.aqua-box a { color: var(--on-navy); }

/* なぜ外に任せるのか（3つの理由、番号なし・横並びの罫線区切り） */
.reasons { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.reasons li { padding: 28px 28px 8px 0; }
.reasons li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.reasons i { font-size: 30px; color: var(--ink); }
.reasons h3 { margin-top: 14px; font-size: 19px; font-weight: 700; line-height: 1.5; }
.reasons p { margin-top: 8px; font-size: 15px; color: var(--mute); line-height: 1.85; }
@media (max-width: 959px) {
  .reasons { grid-template-columns: 1fr; }
  .reasons li, .reasons li + li { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .reasons li:first-child { border-top: 0; }
}

/* よくあるご質問 */
.faq { margin-top: 48px; border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 24px 0; font-size: 17px; font-weight: 700; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 22px; transition: transform 240ms var(--ease-ui); justify-self: end; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq summary:hover { color: var(--ai); }
.faq details p { padding: 0 44px 28px 0; color: var(--ink); }

/* 実績: 規模の階段（右上がり） */
.stairs { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 0; }
.stairs li { position: relative; padding: 20px 20px 22px; border-top: 3px solid var(--ink); background: var(--slip); }
.stairs li:nth-child(1) { min-height: 140px; }
.stairs li:nth-child(2) { min-height: 190px; }
.stairs li:nth-child(3) { min-height: 240px; }
.stairs li:nth-child(4) { min-height: 290px; border-top-color: var(--flame); }
.stairs li + li { box-shadow: inset 1px 0 0 var(--line); }
.stairs b { display: block; font-size: 18px; line-height: 1.5; }
.stairs span { display: block; margin-top: 6px; font-size: 14px; color: var(--mute); line-height: 1.7; }
@media (max-width: 767px) {
  .stairs { grid-template-columns: 1fr 1fr; gap: 0; }
  .stairs li { min-height: 0 !important; }
}

/* 地方 × SNS の3つの言葉 */
.local-points { margin-top: 40px; display: grid; gap: 0; }
.local-points li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--navy-line); }
.local-points b { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; color: var(--on-navy); }
.local-points span { color: var(--on-navy-mute); }
@media (max-width: 767px) { .local-points li { grid-template-columns: 1fr; gap: 6px; } }

/* メディア掲載 */
.media-list { margin-top: 40px; border-top: 1px solid var(--line); }
.media-list a { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.media-list a:hover .t { color: var(--ai); text-decoration: underline; }
.media-list .k { font-size: 13px; color: var(--mute); }
.media-list .t { font-size: 17px; font-weight: 700; line-height: 1.6; }
.media-list i { font-size: 20px; }
@media (max-width: 767px) { .media-list a { grid-template-columns: 1fr auto; } .media-list .k { grid-column: 1 / -1; } }

/* お問い合わせフォーム */
.contact-page .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 48px; align-items: start; }
.form { grid-column: 1 / span 7; display: grid; gap: 28px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.req { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--paper); background: var(--ink); padding: 3px 7px; border-radius: var(--r-paper); }
.opt { font-size: 11px; font-weight: 500; color: var(--mute); box-shadow: inset 0 0 0 1px var(--mute); padding: 2px 7px; border-radius: var(--r-paper); }
.field .help { font-size: 13px; color: var(--mute); line-height: 1.6; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: 400 16px/1.6 var(--f-sans); color: var(--ink); background: var(--paper);
  border: 1px solid var(--mute); border-radius: var(--r-paper); padding: 13px 14px;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ai); outline-offset: 1px; border-color: var(--ai); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.choices label { font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-paper); box-shadow: inset 0 0 0 1px var(--mute); cursor: pointer; }
.choices input { accent-color: var(--ai); width: 18px; height: 18px; margin: 0; }
.choices label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ai); }
.err { font-size: 13px; color: #B3261E; font-weight: 500; min-height: 0; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B3261E; }
.form .submit { display: grid; gap: 12px; justify-items: start; padding-top: 8px; border-top: 1px solid var(--line); }
.form .submit .btn { height: 60px; padding: 0 36px; font-size: 16px; border: 0; cursor: pointer; }
.form .submit p { font-size: 13px; color: var(--mute); line-height: 1.7; }
.form-status { font-size: 15px; font-weight: 500; color: var(--ink); background: var(--slip); padding: 14px 16px; border-radius: var(--r-paper); }
.aside { grid-column: 9 / span 4; display: grid; gap: 32px; position: sticky; top: 112px; }
.aside .box { background: var(--slip); padding: 28px 26px; }
.aside h2 { font-size: 16px; font-weight: 700; }
.aside .mailbig { margin-top: 10px; font-size: 19px; font-weight: 700; }
.aside p { font-size: 14px; color: var(--mute); line-height: 1.8; margin-top: 8px; }
.aside ol { margin-top: 16px; }
.aside ol li { position: relative; padding: 0 0 16px 28px; font-size: 15px; line-height: 1.6; }
.aside ol li::before { content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--slip); }
.aside ol li::after { content: ""; position: absolute; left: 6px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.aside ol li:last-child::after { display: none; }
.aside ol li span { display: block; font-size: 13px; color: var(--mute); }
@media (max-width: 959px) { .form, .aside { grid-column: 1 / -1; position: static; } }
.aqua-box { overflow: hidden; }
.svc .about .price-line b:not(.num) { font-size: 20px; }
.gnav a.btn[aria-current="page"] { color: var(--bg); text-decoration: none; }
/* 日本語の見出しを文節で改行する（対応ブラウザのみ） */
h1, h2, h3, .page-lead, .lead, .v, .terms li h3, .contact-band h2 { word-break: auto-phrase; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; }
@media (max-width: 959px) {
  .svc .grid, .contact-page .grid { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
}
.svc .about .price-line { flex-wrap: wrap; row-gap: 4px; }
.svc .about .price-line b { white-space: nowrap; }

/* =========================================================
   写真（フリー素材の仮置き。クライアント撮影の写真が届いたら差し替える）
   写真は角0。斜めの切り欠きは営業資料の紺パネルと同じ角度で入れる
   ========================================================= */
.cutc { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.ph-fill { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 取扱品目: 9:16 の枠に縦型の写真を入れる */
.frame916.photo { width: 176px; overflow: hidden; border: 0; box-shadow: 0 0 0 1.5px var(--ink); }
.frame916.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame916.photo::before { z-index: 1; background: #fff; opacity: 0.7; }
.frame916.photo .rec { position: absolute; z-index: 1; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: #fff; }
.frame916.photo .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--flame); }
.item.has-ph { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start; }
.item.has-ph > img { width: 112px; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); margin-top: 6px; }
@media (max-width: 959px) {
  .item-main { grid-template-columns: minmax(0, 1fr); }
  .frame916.photo { display: block; grid-row: 1; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-paper); }
  .frame916.photo::before { display: none; }
}
@media (max-width: 559px) {
  .item.has-ph { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .item.has-ph > img { width: 84px; }
}

/* 対応するSNS（ロゴの円を各媒体の印にする） */
.channels { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.channels li { padding: 32px 28px 8px 0; display: grid; align-content: start; gap: 10px; }
.channels li + li { padding-left: 28px; box-shadow: inset 1px 0 0 var(--line); }
.channels .ic { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 26px; margin-bottom: 8px; }
.channels li:last-child .ic { border-color: var(--flame); color: var(--flame); }
.channels h3 { font-size: 20px; font-weight: 700; line-height: 1.4; }
.channels .role { font-size: 14px; font-weight: 700; color: var(--ai); }
.channels p { font-size: 15px; line-height: 1.85; color: var(--mute); }
.channels-note { margin-top: 28px; font-weight: 500; }
@media (max-width: 959px) {
  .channels { grid-template-columns: 1fr 1fr; }
  .channels li:nth-child(3) { padding-left: 0; box-shadow: none; }
  .channels li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 559px) {
  .channels { grid-template-columns: 1fr; }
  .channels li, .channels li + li { padding: 24px 0 16px; box-shadow: none; }
  .channels li + li { border-top: 1px solid var(--line); }
}

/* よくある進め方との違い（比較表） */
.compare { margin-top: 48px; width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 14px; font-weight: 700; padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.compare tbody th { font-weight: 700; width: 18%; padding-left: 0; }
.compare .gen { color: var(--mute); width: 34%; }
.compare .us { background: var(--navy); color: var(--on-navy); border-bottom-color: var(--navy-line); width: 48%; }
.compare thead .us { background: var(--navy); border-bottom-color: var(--flame); }
.compare td.us b { display: block; font-weight: 700; }
.compare td.us span { display: block; color: var(--on-navy-mute); font-size: 14px; margin-top: 4px; }
.compare td.us i { color: var(--flame); margin-right: 8px; font-size: 18px; vertical-align: -3px; }
.compare thead .us img { width: 22px; height: 22px; vertical-align: -6px; margin-right: 8px; background: var(--on-navy); border-radius: 50%; padding: 1px; }
@media (max-width: 767px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto !important; }
  .compare thead { display: none; }
  .compare tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare td { padding: 0; border: 0; }
  .compare .gen { margin-top: 8px; font-size: 14px; }
  .compare .gen::before { content: "よくある進め方　"; font-weight: 700; }
  .compare td.us { margin-top: 12px; padding: 16px 18px; }
}

/* 支援ジャンル（写真のタイル） */
.genre-tiles { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.genre-tiles figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--slip); }
.genre-tiles figure:last-child { clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.genre-tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.genre-tiles figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(15 34 51 / 0.78), rgb(15 34 51 / 0) 58%); }
.genre-tiles figcaption { position: absolute; z-index: 1; left: 16px; bottom: 14px; color: #fff; font-weight: 700; font-size: 16px; line-height: 1.4; }
.genre-tiles figure:hover img { transform: scale(1.04); }
.genres.rest { margin-top: 16px; }
@media (max-width: 767px) { .genre-tiles { grid-template-columns: 1fr 1fr; gap: 8px; } .genre-tiles figcaption { font-size: 14px; left: 12px; bottom: 10px; } }

/* 途中の相談導線（写真の上に紺を重ねる） */
.mid-cta { position: relative; isolation: isolate; overflow: hidden; color: var(--on-navy); padding: 96px 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), calc(100% - 64px) 100%, 0 100%); }
.mid-cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mid-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(15 34 51 / 0.94) 0%, rgb(15 34 51 / 0.82) 45%, rgb(15 34 51 / 0.35) 100%); }
.mid-cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.mid-cta h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.45; font-weight: 700; font-feature-settings: "palt"; }
.mid-cta p { margin-top: 16px; color: var(--on-navy-mute); max-width: 32em; }
@media (max-width: 767px) {
  .mid-cta { padding: 64px 0 80px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%); }
  .mid-cta .wrap { grid-template-columns: 1fr; gap: 28px; }
  .mid-cta::before { background: rgb(15 34 51 / 0.86); }
}

/* 相談の帯に写真を薄く敷く */
.contact-band > .bgph { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 46%; height: 100%; object-fit: cover; opacity: 0.32; -webkit-mask-image: linear-gradient(to right, transparent, #000 60%); mask-image: linear-gradient(to right, transparent, #000 60%); }
@media (max-width: 959px) { .contact-band > .bgph { width: 100%; opacity: 0.16; } }

/* 下層ページ: 見出しの下に写真の帯 */
.page-photo { position: relative; height: clamp(220px, 30vw, 420px); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), calc(100% - 72px) 100%, 0 100%); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-photo .tag { position: absolute; left: max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter)); bottom: 20px; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-shadow: 0 1px 8px rgb(0 0 0 / 0.5); }
.page-photo .tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; }
.page-head.has-photo { border-bottom: 0; padding-bottom: 64px; }
@media (max-width: 767px) { .page-photo { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%); } }

/* 事業内容: 各サービスの写真 */
.svc-ph { position: relative; margin-bottom: 28px; }
.svc-ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.svc-ph.duo { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; align-items: end; }
.svc-ph.duo img:last-child { aspect-ratio: 4 / 5; clip-path: none; }
.svc-ph .ring { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -18%; top: -22%; color: var(--line); }
.svc-ph .ring svg { width: 100%; height: 100%; overflow: visible; }
.svc { position: relative; isolation: isolate; overflow: hidden; }

/* 会社案内: 東京と酒田の2枚を航路線でつなぐ */
.two-places { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; }
.two-places figure { margin: 0; position: relative; }
.two-places img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.two-places figure:first-child img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.two-places figure:last-child img { clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.two-places figcaption { margin-top: 14px; display: grid; gap: 4px; }
.two-places figcaption b { font-size: 20px; font-weight: 700; }
.two-places figcaption span { font-size: 14px; color: var(--mute); line-height: 1.7; }
.two-places .link { display: grid; justify-items: center; gap: 10px; color: var(--flame); padding-bottom: 72px; }
.two-places .link svg { width: 100%; height: 40px; overflow: visible; }
.two-places .link span { font-size: 12px; color: var(--mute); letter-spacing: 0.08em; writing-mode: vertical-rl; font-family: var(--f-mincho); font-size: 15px; color: var(--ink); }
@media (max-width: 767px) {
  .two-places { grid-template-columns: 1fr; gap: 0; }
  .two-places .link { padding: 16px 0; }
  .two-places .link svg { width: 40px; height: 64px; transform: rotate(90deg); }
  .two-places .link span { writing-mode: horizontal-tb; }
}

/* 実績: 地方の写真を紺パネルに添える */
.panel-ph { margin-top: 40px; display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.panel-ph img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.panel-ph img:last-child { aspect-ratio: auto; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
@media (max-width: 767px) { .panel-ph { grid-template-columns: 1fr; } .panel-ph img:last-child { display: none; } }

/* お問い合わせ: 横の写真 */
.aside-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.genre-head { margin-top: 64px; font-size: 18px; font-weight: 700; }
.compare thead .us img { display: inline-block; }
.channels .role, .channels p { word-break: auto-phrase; }
.two-places .link { gap: 14px; }
.two-places .link span { writing-mode: vertical-rl; line-height: 1; }

/* お取引の約束・ご相談の流れに添える写真 */
.terms-ph { margin-top: 36px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.process-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: end; margin-bottom: 56px; }
.process-head img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
@media (max-width: 959px) {
  .terms-ph { aspect-ratio: 16 / 9; max-width: 560px; }
  .process-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
}
.process-head + ol { margin-top: 0; }
.reasons .r-ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; margin-bottom: 22px; }
.reasons li:last-child .r-ph { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.spec dd .price { white-space: nowrap; }

/* ロゴのない取引先は社名で並べる */
.clients-body { display: grid; gap: 24px; min-width: 0; }
.name-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.name-wall li { display: flex; align-items: center; min-height: 72px; padding: 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; line-height: 1.5; }
.name-wall.compact { margin-top: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; border: 0; }
.name-wall.compact li { min-height: 0; padding: 0; border: 0; font-size: 13px; color: var(--mute); }
.name-wall.compact li.more a { color: var(--ai); }
@media (max-width: 959px) { .name-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .name-wall li { min-height: 60px; font-size: 14px; } }

/* =========================================================
   往路・復路の地図（点の日本地図。東北6県だけ青く灯す）
   ========================================================= */
.voyage-map { --vm-dot: color-mix(in srgb, var(--on-navy) 24%, transparent); }
.vm-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 48px; align-items: center; padding: 64px 0 56px calc(8% + 72px); }
.vm-kicker { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; letter-spacing: 0.08em; color: var(--on-navy); }
.vm-legs { margin-top: 28px; }
.voyage-map .leg { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 20px 0; }
.voyage-map .leg .k { display: inline-flex; align-items: center; gap: 8px; }
.voyage-map .leg .k::before { content: ""; width: 18px; height: 2px; background: var(--flame); }
.voyage-map .leg.back .k::before { background: var(--on-navy); opacity: 0.7; }
.voyage-map .leg .v { font-size: clamp(19px, 1.9vw, 25px); }
.voyage-map .leg .s { grid-column: 2; font-size: 14px; line-height: 1.8; color: var(--on-navy-mute); }
.vm-prefs { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.vm-prefs li { font-size: 13px; font-weight: 500; line-height: 1; padding: 8px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--flame); color: var(--on-navy); }
.vm-map { margin: 0; justify-self: center; width: 100%; max-width: 560px; }
.vm-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.vm-land, .vm-tohoku { fill: none; stroke-width: 5.4; stroke-linecap: round; }
.vm-land { stroke: var(--vm-dot); }
.vm-tohoku { stroke: var(--flame); }
.vm-inset { fill: none; stroke: var(--navy-line); stroke-width: 1; }
.vm-region { writing-mode: vertical-rl; font-family: var(--f-mincho); font-weight: 800; font-size: 34px; letter-spacing: 0.2em; fill: var(--flame); }
.vm-route { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.vm-route.go { stroke: var(--flame); stroke-width: 2.8; }
.vm-route.back { stroke: var(--on-navy); opacity: 0.75; }
.vm-dest { fill: var(--on-navy); transform-box: fill-box; transform-origin: center; }
.vm-label { font-family: var(--f-sans); font-size: 15px; font-weight: 700; fill: var(--on-navy); }
.vm-label.home { fill: var(--flame); font-size: 17px; }
.vm-home { fill: var(--flame); }
.vm-ring, .vm-ping { fill: none; stroke: var(--flame); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.vm-ping { opacity: 0; }
.vm-pkt { opacity: 0; }
.vm-pkt.go { fill: #fff; }
.vm-pkt.back { fill: var(--flame); }
.voyage-map.is-flowing .vm-pkt { opacity: 1; transition: opacity 400ms; }

/* 再生前の状態は、JS が is-armed を付けたときだけ作る（JSなし・動きを減らす設定では最初から完成形） */
.voyage-map.is-armed .vm-tohoku { stroke: var(--vm-dot); }
.voyage-map.is-armed .vm-route { stroke-dashoffset: 1; }
.voyage-map.is-armed .vm-dest { transform: scale(0); }
.voyage-map.is-armed .vm-region, .voyage-map.is-armed .vm-label:not(.home) { opacity: 0; }
.voyage-map.is-armed .leg { opacity: 0.35; }
.voyage-map.is-armed.is-in .leg { opacity: 1; transition: opacity 600ms var(--ease); }
.voyage-map.is-armed.is-in .leg.back { transition-delay: 2000ms; }
.voyage-map.is-armed.is-in .vm-route.go { stroke-dashoffset: 0; transition: stroke-dashoffset 1000ms var(--ease) 200ms; }
.voyage-map.is-armed.is-in .vm-tohoku { stroke: var(--flame); transition: stroke 500ms var(--ease) calc(1100ms + var(--i) * 110ms); }
.voyage-map.is-armed.is-in .vm-region { opacity: 1; transition: opacity 700ms var(--ease) 1700ms; }
.voyage-map.is-armed.is-in .vm-route.back { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease) calc(2100ms + var(--j) * 160ms); }
.voyage-map.is-armed.is-in .vm-dest { transform: scale(1); transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(2850ms + var(--j) * 160ms); }
.voyage-map.is-armed.is-in .vm-label:not(.home) { opacity: 1; transition: opacity 500ms var(--ease) 2900ms; }
@media (prefers-reduced-motion: no-preference) {
  .voyage-map.is-in .vm-ping { animation: vm-ping 2.8s var(--ease) 1100ms infinite; }
}
@keyframes vm-ping { 0% { opacity: 0.9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.8); } }

@media (max-width: 959px) {
  .voyage-map::before { inset: 0 calc(-1 * var(--gutter)); clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); }
  .vm-grid { grid-template-columns: 1fr; padding: 48px 0 40px 16px; }
  .vm-map { max-width: 460px; }
}

/* =========================================================
   人物はイラストで描く（Loose Drawing。差し色の黄をロゴの青へ寄せる加工をしている）
   ========================================================= */
img.illo { background: #fff; object-fit: contain; filter: hue-rotate(172deg) saturate(1.1); }
.frame916.is-illo { background: #fff; }
.frame916.is-illo img { padding: 18% 8%; }
.item.has-ph > img.illo { padding: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.reasons .r-ph.illo { padding: 6% 18%; box-shadow: inset 0 0 0 1px var(--line); }
.svc-ph img.illo { padding: 6% 14%; box-shadow: inset 0 0 0 1px var(--line); }
.terms-ph.illo { aspect-ratio: 1; padding: 10%; box-shadow: inset 0 0 0 1px var(--line); }
.process-head img.illo { padding: 4% 18%; box-shadow: inset 0 0 0 1px var(--line); }
.aside-ph.illo { padding: 6% 16%; box-shadow: inset 0 0 0 1px var(--line); }

/* 途中の相談導線（白基調。写真の代わりにイラスト） */
.mid-cta.is-light { color: var(--ink); background: var(--slip); }
.mid-cta.is-light::before { display: none; }
.mid-cta.is-light .wrap { grid-template-columns: minmax(0, 1fr) auto minmax(0, 300px); }
.mid-cta.is-light p { color: var(--mute); }
.mid-cta.is-light .mid-ill { width: 100%; aspect-ratio: 4 / 3; padding: 4%; border-radius: var(--r-paper); }
@media (max-width: 959px) {
  .mid-cta.is-light .wrap { grid-template-columns: 1fr; }
  .mid-cta.is-light .mid-ill { max-width: 320px; grid-row: 1; }
}
@media (max-width: 959px) {
  .frame916.is-illo { aspect-ratio: 16 / 10; max-width: 380px; }
  .frame916.is-illo img { padding: 5% 10%; }
}

/* =========================================================
   ページを移動するときの演出（今の akumishoji.com と同じ流れ）
   押した瞬間に淡くフェード → 次のページでロゴを見せてから開く
   ========================================================= */
/* 本文が描かれる前から背景色で覆っておく（head のスクリプトが pt-in を付ける） */
html.pt-in::after { content: ""; position: fixed; inset: 0; z-index: 200; background: var(--bg); }
/* ロゴを見せている間は、ページ側の読み込みアニメーションを止めておく */
html.pt-hold .hero-title .l, html.pt-hold .reel-item, html.pt-hold .route .path svg, html.pt-hold .page-title { animation-play-state: paused; }

.pt-veil { position: fixed; inset: 0; z-index: 210; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity 350ms var(--ease-ui); }
.pt-veil.is-on { opacity: 1; pointer-events: auto; }

.pt-boot { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; background: var(--bg); transition: opacity 700ms var(--ease-ui); }
.pt-boot::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(560px, 86vw); height: min(440px, 68vw); transform: translate(-50%, -56%); background: radial-gradient(at 50% 70%, color-mix(in srgb, var(--flame) 18%, transparent), transparent 66%); filter: blur(30px); opacity: 0; animation: pt-glow 1.6s ease 100ms forwards; }
.pt-boot.is-out { opacity: 0; pointer-events: none; }
.pt-boot-in { position: relative; display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(16px) scale(0.985); filter: blur(6px); animation: pt-in 1.15s cubic-bezier(0.22, 0.61, 0.36, 1) 100ms forwards; }
.pt-boot img { width: 76px; height: 76px; object-fit: contain; }
.pt-boot .bw { margin-top: 22px; font-size: clamp(23px, 4.6vw, 52px); font-weight: 400; letter-spacing: 0.3em; color: var(--ink); white-space: nowrap; line-height: 1.2; }
.pt-boot .bline { width: 0; height: 1px; margin-top: 20px; background: linear-gradient(90deg, transparent, var(--flame), transparent); animation: pt-line 1.3s cubic-bezier(0.22, 0.61, 0.36, 1) 550ms forwards; }
.pt-boot .bs { margin-top: 18px; font-size: 10.5px; letter-spacing: 0.44em; color: var(--mute); }
@keyframes pt-glow { to { opacity: 1; } }
@keyframes pt-in { 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes pt-line { to { width: min(220px, 52vw); } }
@media (prefers-reduced-motion: reduce) { html.pt-in::after, .pt-veil, .pt-boot { display: none; } }
