/* =========================================================
   株式会社無限商社 — サイト共通スタイル
   トーン: 柔らかく・ほわんと・親しみ / アイスの青系 / 信頼感
   ========================================================= */

:root {
  /* アイスブルー */
  --c-ice:      #5BC4E8;
  --c-blue:     #1E7FB0;
  --c-blue-dk:  #155E84;
  --c-sky:      #EAF6FB;
  --c-sky-2:    #F4FAFD;
  --c-mist:     #DCEEF7;

  /* テキスト・ニュートラル */
  --c-ink:      #1B2A3A;
  --c-body:     #3F4F5E;
  --c-gray:     #6C7B89;
  --c-line:     #E3ECF2;
  --c-white:    #ffffff;

  /* レイアウト */
  --maxw: 1080px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow:    0 10px 40px rgba(30,127,176,.10);
  --shadow-sm: 0 6px 22px rgba(30,127,176,.08);
  --ease: cubic-bezier(.4,0,.2,1);

  --font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 17px; }

body {
  font-family: var(--font);
  color: var(--c-body);
  background: var(--c-white);
  line-height: 1.9;
  font-size: 17px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-blue-dk); }

.wrap { width: 90%; max-width: var(--maxw); margin-inline: auto; }
.narrow { max-width: 760px; }

/* ---------- 見出し ---------- */
h1, h2, h3 { color: var(--c-ink); line-height: 1.45; letter-spacing: .03em; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--c-blue);
  margin-bottom: .9rem;
}

.sec-title {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  margin-bottom: .6rem;
}
.sec-lead { color: var(--c-gray); font-size: 1rem; }

.center { text-align: center; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: .55rem; }
.brand img { height: 40px; width: auto; display: block; }
.brand-text { display: flex; align-items: center; }
.brand-name { font-weight: 700; font-size: 1rem; letter-spacing: .08em; color: var(--c-ink); }
.site-footer .brand img { height: 36px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer .brand-text { border-left-color: rgba(255,255,255,.18); }
.site-footer .brand-name { color: #fff; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--c-ink); font-size: 1rem; font-weight: 500;
  position: relative; padding: .3rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--c-ice); transition: width .25s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--c-blue); }

.nav a.nav-cta {
  background: var(--c-blue); color: #fff !important; padding: .7rem 2.4rem;
  border-radius: 999px; font-weight: 600; font-size: .95rem;
  box-shadow: 0 6px 18px rgba(30,127,176,.28);
}
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { background: var(--c-blue-dk); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .25s var(--ease); }

/* ナビ ドロップダウン（商品） */
.nav-drop { position: relative; display: flex; align-items: center; padding: 10px 0; }
.nav-drop-top { color: var(--c-ink); font-size: .92rem; font-weight: 500; display: inline-flex; align-items: center; gap: .3rem; padding: .3rem 0; position: relative; cursor: pointer; }
.nav-drop-top .caret { font-size: 1.95rem; line-height: 1; position: relative; top: -.05em; }
.nav-drop-top::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--c-ice); transition: width .25s var(--ease); }
.nav-drop:hover .nav-drop-top::after, .nav-drop-top.active::after { width: 100%; }
.nav-drop-top.active { color: var(--c-blue); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--c-line); border-radius: 14px; box-shadow: var(--shadow);
  padding: .5rem; min-width: 200px; display: flex; flex-direction: column; gap: .1rem;
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; z-index: 120;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a { padding: .65rem .9rem; border-radius: 10px; font-size: .9rem; color: var(--c-ink); white-space: nowrap; }
.nav-drop-menu a::after { display: none; }
.nav-drop-menu a:hover { background: var(--c-sky-2); color: var(--c-blue); }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.8rem; border-radius: 999px; font-weight: 600;
  font-size: .98rem; transition: all .25s var(--ease); cursor: pointer; border: 0;
}
.btn-primary { background: var(--c-blue); color: #fff; box-shadow: 0 10px 26px rgba(30,127,176,.30); }
.btn-primary:hover { background: var(--c-blue-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,127,176,.36); }
.btn-ghost { background: #fff; color: var(--c-blue); border: 1.5px solid var(--c-mist); }
.btn-ghost:hover { border-color: var(--c-ice); background: var(--c-sky-2); }

/* =========================================================
   ヒーロー（トップ）
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background: url('../img/hero-bg.webp') center/cover no-repeat, linear-gradient(180deg,#E7F1F7 0%,#F8FBFC 100%);
  background-color: #EAF4F9;
  min-height: clamp(520px, 78vh, 820px);
  min-height: clamp(520px, 78dvh, 820px);
  display: flex; align-items: center;
}
.hero-smoke { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; display: block; opacity: .85; }
.hero-visual .photo-frame img { transform: scale(1.3); }
.hero-inner { position: relative; z-index: 2; padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy h1 { text-shadow: 0 0 9px rgba(255,255,255,0.65), 0 0 18px rgba(255,255,255,0.46); }
.hero-copy .eyebrow { text-shadow: 0 0 11px rgba(255,255,255,0.85), 0 0 22px rgba(255,255,255,0.6), 0 0 6px rgba(255,255,255,0.7); }
.hero-copy h1 .hl { text-shadow: none; }
.hero-visual { min-width: 0; }
.hero-inner .stats { grid-column: 1 / -1; }

.story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.story-text { min-width: 0; }
.story-photo { min-width: 0; }
.story-photo .photo-frame { aspect-ratio: 3 / 2; }
.story-teaser { position: relative; display: block; max-width: 880px; margin: 2.4rem auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.story-teaser:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 20px 40px rgba(20,60,100,.18)); }
.story-teaser img { width: 100%; height: auto; display: block; }
.story-teaser-cta { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); background: var(--c-blue); color: #fff; padding: .8rem 2rem; border-radius: 999px; font-weight: 600; font-size: .95rem; box-shadow: 0 10px 26px rgba(30,127,176,.34); transition: background .25s var(--ease); }
.story-teaser:hover .story-teaser-cta { background: var(--c-blue-dk); }
@media (max-width: 760px) {
  .story-teaser-cta { bottom: 1.1rem; padding: .7rem 1.6rem; font-size: .88rem; }
}
.hero .eyebrow { font-size: 1.01rem; }
.hero h1 {
  font-size: clamp(1.95rem, 5.06vw, 3.1rem); line-height: 1.4; letter-spacing: .04em;
  margin-bottom: 1.3rem;
}
.hero h1 .hl {
  background: linear-gradient(120deg, #2A85B3 0%, #3CA3CD 55%, #87DAF0 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 4px rgba(255,255,255,0.95))
    drop-shadow(0 0 14px rgba(255,255,255,0.6));
}
.hero p.lead { font-size: clamp(1rem, 2.3vw, 1.15rem); color: var(--c-body); max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ふわっと浮く氷ブロブ */
.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(8px); opacity: .4; pointer-events: none; }
.blob-1 { width: 220px; height: 220px; right: 6%; top: 14%;
  background: radial-gradient(circle at 30% 30%, #BFE8F7, #7FD0EE); animation: float 9s ease-in-out infinite; }
.blob-2 { width: 130px; height: 130px; right: 26%; bottom: 12%;
  background: radial-gradient(circle at 30% 30%, #E5F6FC, #AEDFF3); animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }

/* 数字ストリップ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 3.2rem; }
.stat { background: rgba(255,255,255,.7); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 1.2rem 1rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.3rem; color: var(--c-blue); letter-spacing: .02em; line-height: 1.3; }
.stat span { font-size: .85rem; color: var(--c-gray); }

/* =========================================================
   写真差し替え枠 / アイコン
   ========================================================= */
.photo-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--c-sky), var(--c-mist));
  border: 1px solid var(--c-line); box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--c-blue);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.photo-frame:hover { box-shadow: var(--shadow); }
.photo-frame.portrait { aspect-ratio: 4 / 5; }
.photo-frame.wide { aspect-ratio: 16 / 10; }
.photo-frame.square { aspect-ratio: 1 / 1; }
#company .photo-frame { background: #fff; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.zoom img { transform: scale(1.35); transform-origin: center 75%; }
.ph-inner { text-align: center; opacity: .75; padding: 1rem; }
.ph-inner svg { width: 40px; height: 40px; margin: 0 auto .5rem; display: block; }
.ph-label { font-size: .82rem; font-weight: 700; letter-spacing: .12em; }
.ph-note { font-size: .72rem; color: var(--c-gray); margin-top: .25rem; }

.ico { color: var(--c-blue); }
.ico svg { width: 28px; height: 28px; }
.contact-list .ico svg { width: 22px; height: 22px; }

/* =========================================================
   汎用セクション
   ========================================================= */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.tint { background: linear-gradient(180deg, var(--c-sky-2), #fff); }
.section.tint-2 { background: var(--c-sky); }

/* 強み（3本柱） */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 2.8rem; }
.pillar {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 2.2rem 1.7rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar .ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-sky), var(--c-mist)); margin-bottom: 1.1rem; font-size: 1.6rem;
}
.pillar .no { font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--c-ice); }
.pillar h3 { font-size: 1.2rem; margin: .2rem 0 .7rem; }
.pillar p { font-size: 1rem; color: var(--c-body); }

/* 特長リード行 */
.feature-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center; }
.feature-card {
  background: linear-gradient(150deg, var(--c-blue), var(--c-blue-dk));
  color: #fff; border-radius: var(--radius); padding: 2.6rem; box-shadow: var(--shadow);
}
.feature-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 1rem; }
.feature-card ul { list-style: none; display: grid; gap: .9rem; }
.feature-card li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; }
.feature-card li::before { content: "✓"; color: var(--c-ice); font-weight: 800; }

/* feature-row 左右反転（交互レイアウト用） */
.feature-row.rev > :first-child { order: 2; }

/* 4本柱を均等4カラムに */
.pillars.cols4 { grid-template-columns: repeat(4, 1fr); }

/* CTA 帯 */
.cta-band {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(91,196,232,.25), transparent 60%),
    linear-gradient(135deg, var(--c-blue), var(--c-blue-dk));
  color: #fff; border-radius: var(--radius); padding: clamp(2.4rem,6vw,3.6rem); text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem,3.4vw,2rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 1.8rem; }
.cta-band .btn-primary { background: #fff; color: var(--c-blue); }
.cta-band .btn-primary:hover { background: var(--c-sky); color: var(--c-blue-dk); }

/* =========================================================
   ページ共通ヘッダー（下層ページ）
   ========================================================= */
.page-hero {
  background:
    radial-gradient(800px 400px at 85% -20%, #DBF1FA, rgba(219,241,250,0) 60%),
    linear-gradient(180deg, #F7FCFE, #fff);
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--c-line);
  text-align: center;
}
.page-hero .hero-chips, .page-hero .hero-actions { justify-content: center; }
.page-hero h1 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); margin-bottom: .5rem; }
.page-hero p { color: var(--c-gray); }
.breadcrumb { font-size: .88rem; color: var(--c-gray); margin-bottom: 1rem; }
.breadcrumb a { color: var(--c-gray); }
.breadcrumb a:hover { color: var(--c-blue); }
.page-hero .hero-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.page-hero .hero-chips .chip { display: inline-flex; align-items: center; padding: .35rem .85rem; background: rgba(255,255,255,.8); border: 1px solid var(--c-line); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--c-ink); }
.page-hero .hero-meta { margin-top: 1rem; }
.page-hero .hero-price { display: inline-flex; align-items: baseline; gap: .35rem; font-size: clamp(1.4rem, 3.4vw, 1.8rem); font-weight: 700; color: var(--c-blue); }
.page-hero .hero-price small { font-size: .55em; color: var(--c-gray); font-weight: 500; }
.page-hero .hero-actions { margin-top: 1.2rem; }

/* =========================================================
   目次（会社案内ページ）
   ========================================================= */
.toc {
  display: flex; flex-wrap: wrap; gap: .55rem;
  background: var(--c-sky-2); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
}
.toc a {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  background: #fff; color: var(--c-ink); font-size: .92rem; font-weight: 500;
  text-decoration: none; border: 1px solid var(--c-line); transition: all .2s var(--ease);
}
.toc a:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); transform: translateY(-1px); }

/* スティッキーヘッダー分のスクロールオフセット */
[id="company"], [id="business"], [id="usecase"], [id="message"],
[id="name"], [id="clients"], [id="values"], [id="history"], [id="faq"],
[id="story"] {
  scroll-margin-top: 90px;
}

/* =========================================================
   会社概要テーブル
   ========================================================= */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); }
.info-table th, .info-table td { padding: 1.05rem 1.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); font-size: 1rem; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 32%; background: var(--c-sky-2); color: var(--c-ink); font-weight: 600; white-space: nowrap; }
.info-table td { color: var(--c-body); }

/* バリュー / 沿革 */
.step-timeline { position: relative; padding-left: 60px; }
.step-row { position: relative; margin-bottom: 1.4rem; }
.step-row:last-child { margin-bottom: 0; }
.step-row::before { content: ""; position: absolute; left: -34px; top: 0; bottom: calc(-1.4rem); width: 2px; background: linear-gradient(180deg, var(--c-mist), var(--c-ice)); opacity: .55; z-index: 0; }
.step-row:first-child::before { top: 50%; }
.step-row:last-child::before { bottom: 50%; }
.step-no { position: absolute; left: -60px; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: var(--c-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; box-shadow: 0 6px 16px rgba(30,127,176,.25); z-index: 1; }
.step-card { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: 0 6px 22px rgba(20,60,100,.06); display: grid; grid-template-columns: 78px 1.55fr 1fr; align-items: center; gap: 1.6rem; }
.step-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--c-sky); color: var(--c-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-ico svg { width: 30px; height: 30px; }
.step-text h3 { font-size: 1.1rem; color: var(--c-ink); margin-bottom: .55rem; }
.step-text p { font-size: .9rem; color: var(--c-body); line-height: 1.7; }
.step-points { list-style: none; padding: 0; margin: 0; font-size: .88rem; color: var(--c-body); }
.step-points li { position: relative; padding-left: 1rem; margin-bottom: .45rem; line-height: 1.6; }
.step-points li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); }
.step-points li:last-child { margin-bottom: 0; }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 3vw, 2.4rem); align-items: start; }
.company-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: stretch; }
.company-info-grid .info-table { margin: 0; height: 100%; }
.company-info-grid .info-table tr { height: 1px; }
.company-info-grid .info-table tr th, .company-info-grid .info-table tr td { height: 100%; }
.story-body { font-size: 1.02rem; line-height: 2; color: var(--c-body); }
.story-body p { margin-bottom: 1.3rem; }
.story-body p:last-child { margin-bottom: 0; }
.story-chapter { font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: var(--c-ink); margin: 2.4rem 0 1.2rem; padding-left: .8rem; border-left: 4px solid var(--c-blue); line-height: 1.5; }
.story-chapter:first-child { margin-top: 0; }
.flow-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.flow-step { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: clamp(1rem, 2vw, 1.6rem); background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: 0 2px 10px rgba(20,60,100,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.flow-step:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,60,100,.1); border-color: var(--c-blue); }
.flow-step-num { background: var(--c-blue); color: #fff; font-weight: 700; padding: .35rem .55rem; border-radius: 6px; font-size: .78rem; letter-spacing: .05em; min-width: 34px; text-align: center; }
.flow-step-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--c-sky-2); color: var(--c-blue); display: grid; place-items: center; flex-shrink: 0; }
.flow-step-icon svg { width: 26px; height: 26px; }
.flow-step-chevron { color: var(--c-blue); font-size: 1.6rem; line-height: 1; font-weight: 300; }
.flow-step-body h3 { font-size: 1.15rem; margin: 0 0 .5rem; color: var(--c-ink); letter-spacing: .02em; }
.flow-step-body p { color: var(--c-body); line-height: 1.95; font-size: .96rem; margin: 0; }
@media (max-width: 760px) {
  .flow-step { grid-template-columns: auto auto 1fr; gap: .8rem; padding: 1rem 1.1rem; }
  .flow-step-chevron { display: none; }
  .flow-step-icon { width: 44px; height: 44px; }
  .flow-step-icon svg { width: 22px; height: 22px; }
  .flow-step-body { grid-column: 1 / -1; }
  .flow-step-body h3 { font-size: 1rem; }
  .flow-step-body p { font-size: .86rem; }
}
.flow-summary { display: flex; align-items: center; justify-content: space-between; gap: clamp(.4rem, 1.2vw, 1rem); flex-wrap: wrap; width: 100%; }
.flow-summary .flow-summary-item { flex: 1 1 0; min-width: 0; }
.flow-summary .flow-arrow { flex: 0 0 auto; }
.flow-summary-item { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-decoration: none; color: var(--c-ink); }
.flow-no-circle { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--c-mist); background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--c-blue); font-size: .92rem; letter-spacing: .04em; }
.flow-name { font-size: .9rem; font-weight: 600; color: var(--c-ink); }
.flow-arrow { color: var(--c-ice); font-size: 1.6rem; font-weight: 300; line-height: 1; align-self: flex-start; margin-top: 18px; }
.flow-detail-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.flow-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 6px 22px rgba(20,60,100,.06); display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; text-align: left; }
.flow-card-head { display: flex; flex-direction: column; align-items: center; gap: .7rem; flex-shrink: 0; }
.flow-card-head h3 { font-size: 1rem; color: var(--c-ink); margin: 0; text-align: center; line-height: 1.4; }
.flow-card .step-ico { width: 100px; height: 100px; border-radius: 50%; background: var(--c-sky); color: var(--c-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.flow-card .step-ico svg { width: 48px; height: 48px; }
.flow-card-no { color: var(--c-blue); font-weight: 800; letter-spacing: .06em; display: inline-block; margin-bottom: .15rem; }
.sp-only { display: none; }
.flow-card-body p { font-size: .9rem; color: var(--c-body); line-height: 1.85; margin: 0; }
.flow-card-body .step-points { padding-top: .8rem; margin-top: .2rem; border-top: 1px solid rgba(0,0,0,0.06); list-style: none; padding-left: 0; }
.flow-card-body .step-points li { position: relative; padding-left: 1rem; margin-bottom: .4rem; font-size: .85rem; color: var(--c-body); line-height: 1.6; }
.flow-card-body .step-points li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); }
.flow-card-body .step-points li:last-child { margin-bottom: 0; }
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; margin-top: 2.4rem; }
.values.cols3 { grid-template-columns: repeat(3,1fr); }
.value {
  background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-ice);
  border-radius: var(--radius-sm); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm);
}
.value h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.value p { font-size: 1rem; }
.value .client-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-sky), var(--c-mist));
  color: var(--c-blue); display: grid; place-items: center; margin-bottom: .9rem;
}
.value .client-ico svg { width: 24px; height: 24px; }

.timeline { margin-top: 2.4rem; position: relative; padding-left: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--c-mist); }
.tl-item { position: relative; padding: 0 0 1.6rem 1.4rem; }
.tl-item::before { content: ""; position: absolute; left: -1.6rem; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--c-ice); box-shadow: 0 0 0 4px var(--c-sky); }
.tl-item b { color: var(--c-blue); font-size: .98rem; letter-spacing: .05em; }
.tl-item p { font-size: 1rem; margin-top: .2rem; }

/* =========================================================
   代表メッセージ
   ========================================================= */
.message-body { font-size: 1.08rem; line-height: 2.1; color: var(--c-body); }
.message-body p { margin-bottom: 1.5rem; }
.message-lead { font-size: clamp(1.2rem,2.8vw,1.5rem); color: var(--c-ink); font-weight: 700; line-height: 1.7; margin-bottom: 2rem; text-align: center; }
.message-photo { width: 300px; margin: .4rem 0 1.2rem 1.6rem; float: right; clear: both; }
.message-photo.left { float: left; margin: .4rem 1.6rem 1.2rem 0; }
.message-body::after { content: ""; display: block; clear: both; }
.message-intro { font-size: 1.05rem; color: var(--c-ink); margin-bottom: 2rem; text-align: center; }
.message-chapter { background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.7); border-left: 4px solid var(--c-blue); border-radius: var(--radius); padding: clamp(1.4rem, 3.4vw, 2rem) clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1.2rem; position: relative; overflow: hidden; }
.message-chapter > summary { list-style: none; cursor: pointer; position: relative; padding-right: 3rem; }
.message-chapter > summary::-webkit-details-marker { display: none; }
.message-chapter > summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--c-blue); color: #fff; font-size: 1.3rem; font-weight: 300; display: flex; align-items: center; justify-content: center; transition: transform .25s ease; line-height: 1; }
.message-chapter[open] > summary::after { content: '−'; }
.message-chapter .chapter-no { display: inline-block; font-size: .72rem; letter-spacing: .22em; color: var(--c-blue); font-weight: 700; margin-bottom: .35rem; position: relative; z-index: 1; }
.message-chapter h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); color: var(--c-ink); margin-bottom: .5rem; position: relative; z-index: 1; }
.message-chapter .chapter-lead { font-size: 1rem; color: var(--c-body); font-weight: 600; margin: 0; line-height: 1.6; position: relative; z-index: 1; }
.message-chapter .chapter-big { position: absolute; right: 3.4rem; top: 50%; transform: translateY(-50%); font-size: clamp(4.4rem, 10vw, 7rem); font-weight: 900; color: rgba(42, 133, 179, 0.07); line-height: .85; letter-spacing: -0.04em; pointer-events: none; z-index: 0; font-family: 'Helvetica Neue', Arial, sans-serif; }
.message-chapter .chapter-content { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(0,0,0,0.06); }
.message-chapter .chapter-content::after { content: ""; display: block; clear: both; }

/* === 物語セクション: スライドカルーセル === */
#story .story-carousel.reveal { position: relative; display: block; }
#story .story-carousel.reveal .carousel-nav { position: absolute; top: calc(50% - 24px); transform: translateY(-50%); z-index: 5; }
#story .story-carousel.reveal .carousel-nav.prev { left: -28px; }
#story .story-carousel.reveal .carousel-nav.next { right: -28px; }
.carousel-viewport { overflow: hidden; padding: 1rem 0; position: relative; min-height: 580px; }
#story .carousel-foot { display: flex; justify-content: center; align-items: center; gap: 1rem; margin: 1rem auto 0; transform: scale(.8); transform-origin: center top; }
#story .carousel-dots { display: none; }
#story .carousel-hint { display: none; }
@media (max-width: 760px) {
  #story .carousel-hint { display: flex; justify-content: center; align-items: center; gap: .35rem; margin: .8rem auto 0; font-size: .82rem; color: var(--c-gray); letter-spacing: .04em; transition: opacity .4s ease; }
  #story .carousel-hint.dismissed { opacity: 0; pointer-events: none; }
}
.carousel-track { display: contents; }
.story-slide { position: absolute; inset: 0; background: #fff; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; border: 1px solid rgba(20,60,100,.10); box-shadow: 0 2px 10px rgba(20,60,100,.06); opacity: 0; visibility: hidden; transition: opacity .55s cubic-bezier(.4,.2,.2,1), visibility 0s linear .55s; }
.story-slide.active { opacity: 1; visibility: visible; transition: opacity .55s cubic-bezier(.4,.2,.2,1), visibility 0s linear 0s; z-index: 1; }
.story-slide.story-cover { display: block; min-height: 560px; background: #1d3a52; overflow: hidden; border: 0; box-shadow: none; }
.story-cover .cover-bg { position: absolute; inset: 0; display: block; }
.story-cover .cover-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.story-cover .cover-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.10) 40%, rgba(255,255,255,0) 100%); }
.story-cover .cover-content { position: relative; z-index: 1; text-align: center; padding: clamp(3rem, 8vw, 5rem) clamp(1.6rem, 4vw, 3rem) clamp(3rem, 6vw, 4rem); display: flex; flex-direction: column; align-items: center; gap: 1.4rem; min-height: 100%; justify-content: center; }
.story-cover .cover-content::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(80%, 720px); height: min(60%, 360px); background: radial-gradient(ellipse at center, rgba(255,255,255,.85) 0%, rgba(255,255,255,.55) 40%, rgba(255,255,255,0) 75%); pointer-events: none; z-index: -1; filter: blur(4px); }
.story-cover .cover-eyebrow { color: var(--c-blue); font-weight: 700; letter-spacing: .22em; font-size: .9rem; }
.story-cover .cover-title { font-size: clamp(2rem, 5vw, 3rem); color: var(--c-blue-dk); margin: 0; letter-spacing: .02em; line-height: 1.3; }
/* 表紙の添え書き：明朝＋濃い青＋字間広め＋両脇の細線。フォントは「はじまりと、これから。」の字だけ読み込み（文言を変えたら index/about の text= も直す） */
.story-cover .cover-sub { font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--c-blue-dk); letter-spacing: .2em; font-feature-settings: "palt"; margin: 0; display: inline-flex; align-items: center; gap: .9em; text-shadow: 0 0 14px rgba(255,255,255,.95), 0 0 4px rgba(255,255,255,.9); }
.story-cover .cover-sub::before, .story-cover .cover-sub::after { content: ""; width: 2.2em; height: 1px; background: currentColor; opacity: .45; }
.story-cover .cover-sub::after { margin-left: -.2em; } /* 句点の空きと字間の分だけ右の線を寄せて中央に */
.story-cover .cover-cta { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .6rem; background: var(--c-blue); color: #fff; border: 0; padding: .95rem 2.2rem; border-radius: 999px; font-weight: 600; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 26px rgba(30,127,176,.30); transition: all .25s var(--ease); }
.story-cover .cover-cta:hover { background: var(--c-blue-dk); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,127,176,.36); }
.story-cover .cover-cta svg { width: 18px; height: 18px; }
/* 旧横並びカルーセルの遺物: フェード切替では不要 */
.story-slide-photo { background: linear-gradient(150deg, var(--c-sky), var(--c-mist)); display: grid; place-items: center; min-height: 380px; overflow: hidden; position: relative; }
.story-slide-photo .ph-inner { color: var(--c-blue); }
.story-slide-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.story-slide-body { padding: 2.4rem clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; }
.story-slide-body .chapter-no { color: var(--c-blue); font-weight: 700; letter-spacing: .22em; font-size: .75rem; margin-bottom: .6rem; }
.story-slide-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--c-ink); margin-bottom: .9rem; }
.story-slide-body .chapter-lead { color: var(--c-blue); font-weight: 700; font-size: 1rem; margin: 0 0 1.2rem; }
.story-slide-body p { font-size: .92rem; line-height: 1.95; color: #1F2F46; margin-bottom: .9rem; }
.story-slide-body p:last-of-type { margin-bottom: 1.2rem; }
.story-quote { background: var(--c-sky-2); border-left: 3px solid var(--c-blue); border-radius: 8px; padding: .9rem 1.2rem; margin: 0; }
.story-quote b { display: block; color: var(--c-ink); font-size: .92rem; margin-bottom: .25rem; }
.story-quote span { display: block; color: var(--c-gray); font-size: .82rem; }
.carousel-nav { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--c-line); color: var(--c-blue); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(20,60,100,.08); transition: all .25s; }
.carousel-nav:hover { background: var(--c-blue); color: #fff; transform: scale(1.05); }
.carousel-nav svg { width: 22px; height: 22px; }
.carousel-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: .8rem; }
.carousel-dots { display: flex; gap: .55rem; }
.carousel-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(30,127,176,.25); border: 0; padding: 0; cursor: pointer; transition: background .25s, transform .25s; }
.carousel-dots .dot.active { background: var(--c-blue); transform: scale(1.25); }
.carousel-counter { color: var(--c-gray); font-size: .85rem; letter-spacing: .12em; }
.carousel-counter .counter-current { color: var(--c-ink); font-weight: 700; }

/* === 商品ギャラリー（横スライド） === */
.box-gallery { position: relative; }
.box-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: var(--radius); }
.box-gallery-track::-webkit-scrollbar { display: none; }
.box-gallery-track > .photo-frame { flex: 0 0 100%; scroll-snap-align: center; }
.box-gallery > .carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 42px; height: 42px; }
.box-gallery > .carousel-nav.prev { left: 10px; }
.box-gallery > .carousel-nav.next { right: 10px; }
.box-gallery > .carousel-nav svg { width: 18px; height: 18px; }
.box-gallery-dots { justify-content: center; margin-top: .9rem; }
/* 会社概要スライダーの矢印は、物語カルーセルと同じ「カードの外側・56px」に揃える
   （box.htmlのボックスギャラリーは横にテキストが並ぶため外に出せない。#company に限定する） */
#company .box-gallery > .carousel-nav { width: 56px; height: 56px; }
#company .box-gallery > .carousel-nav svg { width: 22px; height: 22px; }
#company .box-gallery > .carousel-nav.prev { left: -28px; }
#company .box-gallery > .carousel-nav.next { right: -28px; }

/* === 物語セクション: 4枚カードグリッド (旧) === */
#story > div:nth-of-type(2) > .reveal:not(.story-carousel) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: start; }
#story .message-chapter { background: #fff; border: 2px solid transparent; border-left: 2px solid transparent; border-radius: 18px; padding: 1.8rem 1.4rem 2.2rem; margin-bottom: 0; box-shadow: 0 6px 22px rgba(20,60,100,.06); transition: border-color .25s ease, box-shadow .25s ease; min-height: 380px; display: flex; flex-direction: column; }
#story .message-chapter[open] { grid-column: 1 / -1; min-height: auto; }
#story .message-chapter > summary { padding-right: 0; display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; position: relative; }
#story .message-chapter > summary::after { display: none; }
#story .message-chapter[open] > summary { border-bottom: 1px solid rgba(0,0,0,0.06); padding-bottom: 1.4rem; margin-bottom: 1.4rem; }
#story .message-chapter .chapter-big { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-size: 4.6rem; font-weight: 900; color: rgba(42, 133, 179, 0.08); letter-spacing: -0.04em; pointer-events: none; line-height: 1; font-family: 'Helvetica Neue', Arial, sans-serif; }
#story .chapter-illust { width: 88px; height: 88px; border-radius: 50%; background: var(--c-sky); color: var(--c-blue); display: flex; align-items: center; justify-content: center; margin: 1.2rem 0 1.2rem; position: relative; z-index: 1; opacity: .85; }
#story .chapter-illust svg { width: 50px; height: 50px; }
#story .message-chapter .chapter-no { color: var(--c-blue); font-weight: 700; letter-spacing: .18em; font-size: .72rem; margin-bottom: .6rem; }
#story .message-chapter h3 { font-size: 1.05rem; font-weight: 700; color: var(--c-ink); margin-bottom: .7rem; line-height: 1.5; }
#story .message-chapter .chapter-lead { font-size: .85rem; color: var(--c-gray); font-weight: 500; line-height: 1.65; margin: 0 0 1.2rem; }
#story .chapter-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--c-blue); color: var(--c-blue); display: flex; align-items: center; justify-content: center; margin-top: auto; transition: background .25s, color .25s; }
#story .chapter-arrow svg { width: 16px; height: 16px; }
#story .message-chapter:hover { border-color: var(--c-blue); box-shadow: 0 12px 28px rgba(30,127,176,.18); }
#story .message-chapter:hover .chapter-arrow { background: var(--c-blue); color: #fff; }
#story .message-chapter[open] { border-color: var(--c-blue); box-shadow: 0 12px 28px rgba(30,127,176,.16); }
#story .message-chapter[open] .chapter-arrow { background: var(--c-blue); color: #fff; transform: rotate(90deg); }
.sign { margin-top: 2.4rem; text-align: right; }
.sign span { display: block; font-size: .85rem; color: var(--c-gray); }
.sign b { font-size: 1.2rem; color: var(--c-ink); letter-spacing: .12em; }

.message-card {
  background: #fff;
  border-radius: var(--radius); padding: clamp(2rem,5vw,3.2rem); box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
}
.message-head { margin-bottom: 2.4rem; }
.message-head .sec-lead { color: var(--c-gray); font-size: .98rem; margin-top: .6rem; }
.message-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: stretch; }
.message-photo-area { height: 100%; }
.message-photo-area .photo-frame { height: 100%; aspect-ratio: auto; border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 36px rgba(20,60,100,.12); }
.message-text-area { min-width: 0; }
.message-catch { font-size: clamp(1.4rem, 2.8vw, 1.85rem); color: var(--c-blue-dk); font-weight: 800; line-height: 1.65; margin-bottom: 1.8rem; letter-spacing: .02em; }
.message-text-area .message-body { font-size: .96rem; line-height: 1.95; color: var(--c-body); }
.message-text-area .message-body p { margin-bottom: 1.1rem; }
.message-text-area .message-body p:last-child { margin-bottom: 0; }
.message-text-area .sign { margin-top: 1.8rem; text-align: right; }
.message-text-area .sign span { display: block; font-size: .78rem; color: var(--c-gray); }
.message-text-area .sign b { font-size: 1.25rem; font-family: 'Hiragino Mincho ProN', 'YuMincho', serif; letter-spacing: .15em; color: var(--c-ink); margin-top: .2rem; display: inline-block; }

/* =========================================================
   事業内容 / 商品
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 2.6rem; }
.index-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; grid-auto-rows: 1fr; }
.index-cards.compact { grid-template-columns: repeat(6,1fr); gap: .6rem; }
.index-cards.compact a.card { padding: .55rem .45rem; display: flex; align-items: center; justify-content: center; gap: .35rem; text-align: left; }
.index-cards.compact a.card .ico { width: 24px; height: 24px; border-radius: 7px; grid-row: auto; grid-column: auto; flex-shrink: 0; }
.index-cards.compact a.card .ico svg { width: 14px; height: 14px; }
.index-cards.compact a.card h3 { font-size: .72rem; line-height: 1.35; margin: 0; grid-column: auto; align-self: center; }
.section-tight { padding-top: 0; padding-bottom: 1.4rem; }
#index.section-tight { border-bottom: 1px solid var(--c-line); }
@media (max-width: 760px) {
  .index-cards.compact { grid-template-columns: repeat(3,1fr); }
}
.index-cards a.card { text-decoration: none; color: var(--c-ink); padding: 1.2rem 1.1rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; }
.index-cards a.card .ico { width: 48px; height: 48px; border-radius: 12px; margin: 0; flex-shrink: 0; grid-row: 1 / span 2; align-self: center; }
.index-cards a.card h3 { color: var(--c-ink); font-size: 1.02rem; margin: 0 0 .2rem; grid-column: 2; align-self: end; }
.index-cards a.card p { color: var(--c-gray); font-size: .82rem; line-height: 1.4; margin: 0; grid-column: 2; align-self: start; }
.index-cards a.card:hover h3 { color: var(--c-blue); }
@media (max-width: 900px) { .index-cards { grid-template-columns: repeat(2,1fr); } }
.cards.two { grid-template-columns: repeat(2,1fr); }
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-sky), var(--c-mist)); margin-bottom: 1rem; font-size: 1.5rem; }
.card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.card p { font-size: 1rem; color: var(--c-body); }

/* 商品カード（写真入り） */
.card.card-product { padding: 0; overflow: hidden; }
.card-product .card-photo {
  aspect-ratio: 1 / 1; background: linear-gradient(150deg, var(--c-sky), var(--c-mist));
  overflow: hidden;
}
.card-product .card-photo.card-photo-short { aspect-ratio: 3 / 2; background: #fff; padding: 1.6rem; box-sizing: border-box; }
.card-product .card-photo.card-photo-wide { aspect-ratio: 16 / 9; }
.card-product .card-photo.card-photo-short img { object-fit: cover; border-radius: 14px; transition: none; }
.card-product:hover .card-photo.card-photo-short img { transform: none; }
.card-product .card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card-product:hover .card-photo img { transform: scale(1.05); }
.card-product .card-body { padding: 1.7rem 1.7rem 1.5rem; }
.card-product h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.card-product p { font-size: 1rem; color: var(--c-body); }

.spec { margin-top: 1rem; font-size: .85rem; color: var(--c-gray); border-top: 1px dashed var(--c-line); padding-top: .8rem; }
.spec b { color: var(--c-blue); }

.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 2.2rem; box-shadow: var(--shadow-sm); margin-top: 1.6rem;
}
.tag { display: inline-block; background: var(--c-sky); color: var(--c-blue); font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .7rem; }
.price { font-size: 1.5rem; color: var(--c-blue); font-weight: 800; margin-top: .6rem; }
.price small { font-size: .8rem; color: var(--c-gray); font-weight: 500; }

/* =========================================================
   お問い合わせ
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 2.2rem; box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--c-sky); color: var(--c-blue); font-size: 1.1rem; }
.contact-list .lab { font-size: .76rem; color: var(--c-gray); letter-spacing: .06em; }
.contact-list .val { font-size: 1.05rem; color: var(--c-ink); font-weight: 600; }

.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: .86rem; font-weight: 600; color: var(--c-ink); margin-bottom: .4rem; }
.form-field .req { color: #d9534f; font-size: .75rem; margin-left: .3rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--c-ink); background: var(--c-sky-2); transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--c-ice); background: #fff; }
.form-note { font-size: .8rem; color: var(--c-gray); margin-top: 1rem; }

/* =========================================================
   お問い合わせ：3カラム連絡先カード + 所在地バナー
   ========================================================= */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2.4rem; }
.contact-bigcard {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 2.4rem 1.5rem 2rem; box-shadow: var(--shadow-sm);
  text-align: center; text-decoration: none; color: var(--c-ink);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.contact-bigcard:not(.is-static):hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-mist); color: var(--c-blue);
}
.contact-bigcard .big-ico {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-sky), var(--c-mist));
  display: grid; place-items: center; color: var(--c-blue);
  margin-bottom: .8rem;
}
.contact-bigcard .big-ico svg { width: 28px; height: 28px; }
.contact-bigcard .big-lab {
  font-size: .72rem; letter-spacing: .2em; font-weight: 700; color: var(--c-gray);
}
.contact-bigcard .big-val {
  font-size: 1.18rem; font-weight: 700; color: var(--c-ink); letter-spacing: .02em;
}
.contact-bigcard .big-sub { font-size: .8rem; color: var(--c-gray); margin-top: .2rem; }

.contact-address {
  margin-top: 1.4rem; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 1.4rem 1.7rem;
  display: flex; align-items: center; gap: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.contact-address .big-ico { width: 48px; height: 48px; border-radius: 14px;
  background: #fff; color: var(--c-blue); display: grid; place-items: center; flex: none; }
.contact-address .big-ico svg { width: 24px; height: 24px; }
.contact-address .big-lab {
  display: block; font-size: .7rem; letter-spacing: .2em; font-weight: 700; color: var(--c-gray); margin-bottom: .15rem;
}
.contact-address .big-val { font-size: 1rem; font-weight: 600; color: var(--c-ink); line-height: 1.6; }

/* =========================================================
   ご利用の流れ（ステップ）
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 2.6rem; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.8rem 1.3rem 1.5rem; box-shadow: var(--shadow-sm); text-align: center;
}
.step .num {
  width: 44px; height: 44px; margin: 0 auto .9rem; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-ice), var(--c-blue)); color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(30,127,176,.28);
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--c-body); }
.step:not(:last-child)::after {
  content: "→"; position: absolute; top: 50%; right: -0.75rem; transform: translateY(-50%);
  color: var(--c-ice); font-weight: 800; font-size: 1.1rem; z-index: 2;
}

/* =========================================================
   FAQ（アコーディオン）
   ========================================================= */
.faq { margin-top: 2.4rem; display: grid; gap: .9rem; }
.faq-item {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; color: var(--c-ink);
  font-size: 1.05rem; display: flex; align-items: center; gap: .8rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; flex: none; width: 28px; height: 28px; border-radius: 8px;
  background: var(--c-sky); color: var(--c-blue); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--c-ice); font-size: 1.3rem; font-weight: 400; transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a { padding: 0 1.4rem 1.3rem 4rem; font-size: 1rem; color: var(--c-body); }

/* =========================================================
   プライバシーポリシー（本文）
   ========================================================= */
.doc h2 { font-size: 1.2rem; margin: 2.2rem 0 .8rem; padding-left: .8rem; border-left: 4px solid var(--c-ice); }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 1rem; color: var(--c-body); }
.doc ul { padding-left: 1.4rem; margin: .6rem 0; }
.doc li { margin-bottom: .4rem; }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: var(--c-ink); color: #cfdbe6; padding: 3.2rem 0 1.6rem; margin-top: 0; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .95rem; color: #9fb0c0; margin-top: .8rem; max-width: 320px; }
.footer-nav { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .88rem; letter-spacing: .1em; margin-bottom: .9rem; }
.footer-col a { display: block; color: #b5c4d2; font-size: .95rem; margin-bottom: .55rem; }
.footer-col a:hover { color: var(--c-ice); }
.footer-bottom { padding-top: 1.4rem; font-size: .85rem; color: #7d92a4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

/* =========================================================
   出現アニメーション
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
body.nav-open { overflow: hidden; }
body.page-privacy .reveal { opacity: 1; transform: none; transition: none; }
.biz-card { display: flex; flex-direction: column; }
.biz-card .biz-photo { aspect-ratio: 16 / 9; margin-bottom: 1rem; overflow: hidden; border-radius: 12px; }
.biz-card .biz-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.biz-card p { font-size: .92rem; line-height: 1.75; margin: 0; }
@media (max-width: 760px) {
  .biz-cards { gap: 1rem; }
  .biz-card { padding: 1.2rem; }
  .biz-card h3 { font-size: 1rem; }
  .biz-card p { font-size: .88rem; line-height: 1.7; }
}
.header-tel { display: none; }
@media (max-width: 860px) {
  .header-tel { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; color: var(--c-ink); margin-left: auto; margin-right: .35rem; flex-shrink: 0; transition: color .2s; }
  .header-tel:hover { color: var(--c-blue); }
  .header-tel svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 860px) {
  .nav {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 90px 6% 2rem; gap: .3rem;
    overflow-y: auto; transform: translateY(-100%); transition: transform .3s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--c-line); }
  .nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: .6rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* モバイル: 商品ドロップダウンは展開表示 */
  .nav-drop { display: block; padding: 0; }
  .nav-drop-top { padding: .85rem 0; border-bottom: 1px solid var(--c-line); }
  .nav-drop-top .caret { display: none; }
  .nav-drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0; min-width: 0; background: transparent;
  }
  .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { transform: none; }
  .nav-drop-menu a { padding: .7rem 0; border-bottom: 1px solid var(--c-line); border-radius: 0; color: var(--c-gray); text-align: left; }

  .blob { display: none; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .pillars, .cards, .cards.two { grid-template-columns: 1fr; }
  .pillars.cols4 { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: .8rem; }
  .step { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; text-align: left; }
  .step .num { margin: 0; width: 40px; height: 40px; font-size: .95rem; }
  .step h3 { margin-bottom: 0; }
  .values.cols3 { grid-template-columns: 1fr; gap: 1rem; }
  .cta-band h2 { font-size: clamp(1.1rem, 4.6vw, 1.4rem); text-align: center; }
  .footer-brand p { display: none; }
  .footer-col:not(:last-child) { display: none; }
  .footer-nav { gap: 1.5rem; }
  .site-footer { text-align: center; }
  .footer-top { align-items: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-nav { justify-content: center; width: 100%; }
  .footer-col { text-align: center; }
  .footer-bottom { flex-direction: column; gap: .4rem; align-items: center; }
  .step:not(:last-child)::after { display: none; }
  .faq-item .a { padding-left: 1.4rem; }
  .feature-row { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .feature-row.rev > :first-child { order: 0; }
  .feature-row > .reveal:first-child { display: contents; }
  .feature-row > .reveal:first-child > .eyebrow { order: 0; }
  .feature-row > .reveal:first-child > .sec-title { order: 1; }
  .feature-row > .reveal:last-child { order: 2; margin: 1.2rem 0; }
  .feature-row > .reveal:first-child > p { order: 3; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero .eyebrow { font-size: .77rem; }
  .hero h1 { font-size: clamp(1.5rem, 3.87vw, 2.37rem); }
  .hero .btn { font-size: .75rem; padding: .69rem 1.38rem; }
  .hero-smoke { width: 160%; left: -60%; }
  .hero { background-image: url('../img/hero-bg-mobile.webp'); background-position: center center; background-size: cover; min-height: calc(100dvh - 75px); }
  .hero-inner { padding-top: clamp(2rem, 8vw, 5rem); padding-bottom: clamp(2rem, 8vw, 5rem); }
  .hero-copy { text-align: center; }
  .hero h1 .punct { display: inline-block; width: 0; overflow: visible; }
  .hero-actions { justify-content: center; }
  .story-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .story-text { text-align: center; }
  .story-text p.sec-lead { text-align: center !important; }
  .message-photo, .message-photo.left { float: none; width: 100%; margin: 0 0 1.4rem; }
  .message-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .message-catch { font-size: 1.3rem; }
  #story > div:nth-of-type(2) > .reveal { grid-template-columns: 1fr 1fr; gap: .8rem; }
  #story .message-chapter { min-height: 320px; padding: 1.4rem 1rem 1.6rem; }
  #story .message-chapter h3 { font-size: .95rem; }
  #story .chapter-illust { width: 70px; height: 70px; }
  #story .chapter-illust svg { width: 38px; height: 38px; }
  .story-carousel { grid-template-columns: 1fr; gap: .8rem; }
  #story .story-carousel.reveal .carousel-nav { display: grid; width: 36px; height: 36px; }
  #story .story-carousel.reveal .carousel-nav svg { width: 16px; height: 16px; }
  #story .story-carousel.reveal .carousel-nav.prev { left: -5vw; }
  #story .story-carousel.reveal .carousel-nav.next { right: -5vw; }
  /* 会社概要スライダーの矢印もモバイルで物語カルーセルに揃える */
  #company .box-gallery > .carousel-nav { width: 36px; height: 36px; }
  #company .box-gallery > .carousel-nav svg { width: 16px; height: 16px; }
  #company .box-gallery > .carousel-nav.prev { left: -5vw; }
  #company .box-gallery > .carousel-nav.next { right: -5vw; }
  .story-slide { grid-template-columns: 1fr; min-height: auto; }
  .story-slide { display: flex; flex-direction: column; }
  .story-slide-photo { flex: 0 0 auto; min-height: 170px; aspect-ratio: 16 / 9; }
  .story-slide-body { flex: 1 1 auto; padding: 1.2rem 2.6rem 1.4rem; justify-content: center; }
  .story-slide-body .chapter-no { font-size: .68rem; margin-bottom: .4rem; }
  .story-slide-body h3 { font-size: 1.18rem; margin-bottom: .55rem; line-height: 1.4; }
  .story-slide-body .chapter-lead { font-size: .88rem; margin-bottom: .8rem; }
  .story-slide-body p { font-size: .88rem; line-height: 1.85; margin-bottom: .7rem; }
  .story-slide-body p:last-of-type { margin-bottom: 0; }
  .story-cover .cover-content { padding: 2.4rem 1.4rem; min-height: 100%; gap: .8rem; justify-content: center; }
  .story-cover .cover-eyebrow { font-size: .78rem; }
  .story-cover .cover-title { font-size: 1.6rem; line-height: 1.35; }
  .story-cover .cover-sub { font-size: 1.02rem; letter-spacing: .14em; gap: .6em; }
  .story-cover .cover-sub::before, .story-cover .cover-sub::after { width: 1.4em; }
  .story-cover .cover-sub::after { margin-left: -.14em; }
  .story-cover .cover-cta { font-size: .9rem; padding: .75rem 1.5rem; margin-top: .6rem; }
  .story-slide.story-cover { min-height: 380px; }
  /* カードの高さは最長コンテンツに合わせる */
  #story .carousel-foot { gap: .6rem; margin-top: .6rem; }
  #story .carousel-counter { font-size: .8rem; color: var(--c-gray); }
  #story .carousel-hint { margin-top: .5rem; }
  .values { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .company-info-grid { grid-template-columns: 1fr; gap: 1rem; }
  .flow-detail-grid { grid-template-columns: 1fr; }
  .flow-card { padding: 1.2rem; gap: 1rem; }
  .flow-card .step-ico { width: 76px; height: 76px; }
  .flow-card .step-ico svg { width: 36px; height: 36px; }
  .flow-card-head h3 { font-size: .9rem; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .flow-summary { flex-wrap: nowrap; gap: .25rem; }
  .flow-summary-item { gap: .35rem; flex: 1 1 0; min-width: 0; }
  .flow-no-circle { width: 36px; height: 36px; font-size: .7rem; }
  .flow-name { font-size: .68rem; white-space: nowrap; }
  .flow-arrow { font-size: .85rem; margin-top: 10px; flex-shrink: 0; }
  .step-timeline { padding-left: 40px; }
  .step-timeline::before { left: 16px; }
  .step-no { left: -40px; width: 36px; height: 36px; font-size: .8rem; }
  .step-row::before { left: -23px; }
  .step-card { grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.2rem 1.2rem; }
  .step-card .step-points { grid-column: 1 / -1; padding-top: .4rem; border-top: 1px dashed rgba(0,0,0,0.08); }
  .step-ico { width: 48px; height: 48px; }
  .step-ico svg { width: 24px; height: 24px; }
  .product { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 0; background: transparent; color: var(--c-blue); font-size: .82rem; }
  .info-table td { padding-top: .4rem; }
  /* モバイルでは info-table を1枚ずつ独立カードとして積む（gapは上の .company-info-grid ルールで1rem）。
     以前は :first-child/:last-child で2枚を1枚のカードに融合させていたが、
     表が1枚だと両方に一致して角が壊れ、2枚でも上下で影が食い違い段差に見えたため廃止。
     各カードは基底 .info-table の border-radius / box-shadow をそのまま使う＝枚数に依存せず崩れない。 */
  .company-info-grid .info-table { margin: 0; height: auto; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .pillars.cols4 { grid-template-columns: 1fr; }
}
