/* Quuma — shared styles. Tokens live in :root; everything else derives from them. */
:root {
  --teal: #039FAD;
  --teal-ink: #027C88;
  --teal-soft: #BBE7EB;
  --mist: #EAF6F7;
  --deep: #062F35;
  --deep-2: #0A434B;
  --deep-3: #041F23;
  --ink: #333333;
  --muted: #5A6669;
  --line: #DCE5E6;
  --grey: #D3DEDF;
  --bg: #FFFFFF;
  --bg-alt: #F8F8F8;
  --error: #B3261E;
  --orange: #C24E00;      /* ボタン（白文字でAA） */
  --orange-dark: #A34100;
  --pink: #AD325A;        /* 「進め方」見出し（薄ティール地でAA） */
  --dot: #37C2C9;

  --f-head: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --f-en: Roboto, "Helvetica Neue", Arial, sans-serif;


  /* Shared type scale: the same role uses the same size on every page. */
  --text-small: .75rem;
  --text-label: .875rem;
  --text-body: 1rem;
  --text-lead: clamp(1rem, 1.5vw, 1.125rem);
  --text-card: clamp(1.125rem, 1.6vw, 1.25rem);
  --text-section: clamp(1.5rem, 3vw, 2.25rem);
  --text-display: clamp(1.5rem, 3.2vw, 2.5rem);
  --text-hero: clamp(1.875rem, 8vw, 2.5rem);
  --text-page-intro: clamp(1.5rem, 2.4vw, 1.875rem);
  --text-page-en: clamp(2rem, 5vw, 4rem);
  --text-product: clamp(2rem, 4vw, 3rem);
  --text-brand: 1.5rem;
  --weight-body: 400;
  --weight-lead: 500;
  --weight-heading: 700;
  --leading-body: 1.8;
  --leading-heading: 1.45;

  --max: 1100px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 16px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --hd: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 26px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  line-break: strict;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; }
.ib { display: inline-block; }
.sp-only { display: none; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
  margin: 0;
  font-feature-settings: "palt";
  letter-spacing: .03em;
}
p { margin: 0; }
h1, h2, h3, p, li, legend { text-wrap: pretty; }
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-en);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal-ink);
  line-height: 1;
}
.label::before { content: ""; width: 22px; height: 2px; background: var(--teal); }
.label-light { color: var(--teal-soft); }
.label-light::before { background: var(--teal-soft); }
.h-sec { font-size: var(--text-section); margin-top: 16px; font-weight: 700; }
.lead { color: var(--muted); font-size: var(--text-lead); max-width: 40em; }
.en { font-family: var(--f-en); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid var(--teal-ink);
  font-weight: 700;
  font-size: var(--text-body);
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn .arw { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost { background: #fff; border-color: var(--orange); color: var(--orange); }
.btn-ghost:hover { background: #FFF7EA; }
.btn-white { background: #fff; color: var(--orange); border-color: #fff; }
.btn-white:hover { background: #FFF7EA; border-color: #FFF7EA; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--text-body);
  color: var(--teal-ink);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--teal-soft);
  transition: border-color .2s;
}
.link-more .arw { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-more:hover { border-color: var(--teal-ink); }
.link-more:hover .arw { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hd { display: flex; align-items: center; gap: 28px; height: var(--hd); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.site-footer .brand img { width: 150px; }
.brand b { font-family: var(--f-en); font-weight: 700; font-size: var(--text-brand); letter-spacing: .22em; color: var(--deep); line-height: 1; }
.brand small { font-size: var(--text-small); color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 520px) { .site-header .brand small { display: none; } }
.gnav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.gnav a { position: relative; display: block; padding: 8px 0; font-size: var(--text-body); font-weight: 700; text-decoration: none; }
.gnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--teal-ink); }
.hd-cta { min-height: 46px; padding: 0 22px; font-size: var(--text-body); }
.menu-toggle { display: none; }

@media (max-width: 1000px) {
  .menu-toggle {
    display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto; margin-right: -10px; padding: 0;
    border: 0; border-radius: 0; background: transparent; color: var(--deep); cursor: pointer;
  }
  .menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), background-color .3s; }
  .menu-toggle i { position: relative; }
  .menu-toggle i::before, .menu-toggle i::after { content: ""; position: absolute; left: 0; }
  .menu-toggle i::before { top: -7px; }
  .menu-toggle i::after { top: 7px; }
  .nav-open .menu-toggle i { background: transparent; }
  .nav-open .menu-toggle i::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-toggle i::after { transform: translateY(-7px) rotate(-45deg); }
  .gnav {
    position: fixed; left: 0; right: 0; top: calc(var(--hd) + 1px); bottom: 0; z-index: 49;
    background: #fff; padding: 8px var(--gut) 32px; overflow-y: auto; display: none;
  }
  .nav-open .gnav { display: block; }
  .nav-open { overflow: hidden; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: var(--text-body); }
  .gnav a::after { display: none; }
  .hd-cta { display: none; }
  .sp-only { display: block; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(48px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.sec-tight { padding: clamp(40px, 5vw, 64px) 0; }
.alt { background: var(--bg-alt); }
.sec-head { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head > div { display: grid; justify-items: center; }
.sec-head .label { display: none; }
.sec-head .h-sec { margin-top: 0; }
.sec-head .h-sec::after { content: ""; display: block; width: 50px; height: 5px; margin: 20px auto 0; background: var(--teal); }
.sec-head .lead, .sec-head .link-more { margin-top: 28px; }
.sec-head .lead { max-width: 46em; font-weight: 700; font-size: var(--text-lead); line-height: 1.75; color: var(--ink); }

/* ---------- hero (top) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); }
.hero, .page-hero { isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--text-hero); line-height: 1.35; letter-spacing: .02em; }
.hero-sub { margin-top: 12px; font-family: var(--f-en); font-weight: 700; font-size: var(--text-lead); line-height: 1.3; color: var(--teal); }
.hero .lead { margin-top: 20px; font-weight: 700; font-size: var(--text-lead); line-height: 1.75; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { position: relative; aspect-ratio: 560 / 480; }
.hero .hero-offer { display: block; font-size: clamp(1.25rem, 2.1vw, 1.625rem); font-weight: var(--weight-heading); line-height: 1.55; color: var(--teal-ink); }
.hero-offer .ib { max-width: 100%; }
.hero-description { display: block; margin-top: 10px; }
.hero .hero-cta { align-items: center; gap: 16px 24px; margin-top: 28px; }
.hero-cta .btn.btn-lg { width: auto; min-height: 56px; padding: 12px 24px; font-size: var(--text-body); }
.hero-cta .btn-lg .arw { position: static; margin: 0; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  br.pc { display: none; }
}


/* ---------- statement (SCENE) ---------- */
.statement { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding: clamp(48px, 7vw, 96px) 0; }
.statement > .wrap { position: relative; z-index: 1; }
.statement .q { font-size: var(--text-section); font-weight: var(--weight-heading); line-height: 1.35; margin-top: 24px; }
.lines { display: grid; gap: 14px; margin-top: 44px; max-width: 760px; font-family: var(--f-head); font-weight: 500; font-size: var(--text-lead); line-height: 1.8; color: #CFE9EC; }
.lines p:last-child { color: #fff; font-weight: 700; }
.st-bg { position: absolute; right: -4vw; top: 50%; width: min(560px, 56vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.st-bg .f-s { fill: #0B4750; }
.st-bg .sk-q { stroke: #10606B; }
@media (max-width: 700px) { .st-bg { opacity: .5; right: -24vw; width: 90vw; } }

/* ---------- CTA bands ---------- */
.cta-band {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 5vw, 56px); border-radius: 10px; background: var(--mist);
}
.cta-band h2 { font-size: var(--text-section); font-weight: var(--weight-heading); }
.cta-band p { color: var(--muted); margin-top: 6px; }
.cta-ill { width: clamp(110px, 12vw, 150px); aspect-ratio: 160 / 120; }
.cta-band.dark { background: var(--deep); color: #fff; }
.cta-band.dark .big { font-family: var(--f-en); font-weight: 700; font-size: var(--text-display); letter-spacing: .06em; line-height: 1.2; }
.cta-band.dark p { color: #CFE9EC; }
.cta-band.dark .f-d { fill: var(--teal); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }


/* =========================================================
   トップページ（cloudpack と同じ並び・型）
   ========================================================= */
.badges { background: var(--bg-alt); padding: 14px 0; }
.badges ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; }
.badges li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--text-body); line-height: 1.5; }
.badges svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
@media (max-width: 760px) { .badges ul { flex-direction: column; align-items: flex-start; gap: 4px; } .badges li { font-size: var(--text-body); } }

.cta-row { text-align: center; margin-top: clamp(36px, 5vw, 56px); }
.btn.btn-lg { position: relative; width: min(354px, 100%); min-height: 78px; padding: 0 52px; font-size: var(--text-card); }
.btn-lg .arw { position: absolute; right: 24px; top: 50%; margin-top: -9px; }
.btn-lg:hover .arw { transform: translateX(4px); }

/* 課題カード：白いカードと小さなラベル。行ごとに3段の高さをそろえる */
.issue { background: var(--bg-alt); color: var(--ink); }
.issue .h-sec { color: var(--deep); }
.issue .sec-head .lead { color: var(--muted); }
.issue .h-sec::after { display: none; }
.issue .sec-head .lead { margin-top: 16px; }
.issue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.issue-card {
  display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 0;
  padding: clamp(20px, 2vw, 24px) clamp(24px, 2.8vw, 36px); border: 1px solid var(--line); border-radius: 20px;
  background: #fff; color: var(--ink); box-shadow: 0 6px 24px rgba(6, 47, 53, .025);
}
.ic-tag {
  justify-self: start; align-self: start; max-width: 100%; padding: 5px 12px; border-radius: 6px;
  background: var(--mist); color: var(--teal-ink); font-weight: 700; font-size: var(--text-label); line-height: 1.5;
}
.ic-body { padding: 16px 0 18px; }
.issue-card h3 { font-size: var(--text-card); color: var(--deep); line-height: 1.6; }
.issue-card .ib { max-width: 100%; }
.ic-body p { margin-top: 10px; color: var(--muted); font-size: var(--text-body); line-height: 1.8; }
.ic-sol { padding-top: 16px; border-top: 1px solid var(--line); }
.ic-sol h4 { font-size: var(--text-body); line-height: 1.5; color: var(--teal-ink); }
.ic-sol ul { margin: 10px 0 0; padding-left: 1.2em; font-size: var(--text-body); line-height: 1.8; }
.ic-sol li::marker { color: var(--teal-ink); }
.ic-sol li + li { margin-top: 6px; }
@media (max-width: 860px) { .issue-grid { grid-template-columns: 1fr; gap: 16px; } }

/* 解決：3つの考え方が中央で重なるベン図。説明文は重なりから外す。 */
.sol-diagram { display: grid; grid-template-columns: minmax(0, 1fr); width: min(820px, 100%); margin-inline: auto; }
.sol-list { grid-area: 1 / 1; position: relative; isolation: isolate; width: min(820px, 100%); aspect-ratio: 50 / 47; margin-inline: auto; }
.sol-center { grid-area: 1 / 1; place-self: center; z-index: 1; min-width: 212px; margin: 0; padding: 14px 18px; transform: translateY(46px); border: 1px solid rgba(3, 159, 173, .2); border-radius: 14px; background: rgba(255, 255, 255, .97); color: var(--deep); font-size: var(--text-body); font-weight: var(--weight-lead); line-height: 1.6; text-align: center; }
.sol-center span, .sol-center strong { display: block; }
.sol-center strong { font-size: var(--text-card); font-weight: var(--weight-heading); }
.sol-small-break { display: none; }
.sol, .sol-mobile-circle { --venn-fill: rgba(3, 159, 173, .12); position: absolute; width: 60%; aspect-ratio: 1; }
.sol:nth-child(1), .sol-mobile-circle:nth-child(1) { top: 0; left: 20%; }
.sol:nth-child(2), .sol-mobile-circle:nth-child(2) { bottom: 0; left: 0; --venn-fill: rgba(76, 180, 190, .15); }
.sol:nth-child(3), .sol-mobile-circle:nth-child(3) { right: 0; bottom: 0; --venn-fill: rgba(3, 159, 173, .18); }
.sol::before, .sol-mobile-circle::before { content: ""; position: absolute; z-index: -1; inset: 0; border: 1px solid rgba(3, 159, 173, .35); border-radius: 50%; background: var(--venn-fill); }
.sol-content { position: absolute; top: 30%; left: 16%; width: 68%; text-align: center; }
.sol:nth-child(2) .sol-content { top: 44%; left: 14.1667%; width: 51.6666%; }
.sol:nth-child(3) .sol-content { top: 44%; left: 34.1667%; width: 51.6666%; }
.sol h3 { font-size: clamp(1.375rem, 1.8vw, 1.5rem); color: var(--teal-ink); }
.sol p { margin-top: 12px; font-size: var(--text-body); }
.sol-mobile-diagram { display: none; }
@media (max-width: 900px) {
  .sol-mobile-diagram { grid-area: 1 / 1; display: block; position: relative; isolation: isolate; width: min(360px, 100%); aspect-ratio: 50 / 47; margin: 0 auto 24px; }
  .sol-center { min-width: 144px; padding: 8px 10px; transform: translateY(6px); border-radius: 10px; font-size: 12px; line-height: 1.5; }
  .sol-center strong { font-size: 14px; line-height: 1.5; }
  .sol-mobile-circle span { position: absolute; top: 30%; left: 16%; width: 68%; color: var(--teal-ink); font-size: clamp(.75rem, 3.7vw, .875rem); font-weight: var(--weight-heading); line-height: 1.5; text-align: center; }
  .sol-mobile-circle:nth-child(2) span { top: 48%; left: 14.1667%; width: 51.6666%; }
  .sol-mobile-circle:nth-child(3) span { top: 48%; left: 34.1667%; width: 51.6666%; }
  .sol-list { grid-area: 2 / 1; display: grid; width: 100%; aspect-ratio: auto; }
  .sol-list .sol { position: static; width: auto; aspect-ratio: auto; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .sol-list .sol::before { display: none; }
  .sol-list .sol .sol-content { position: static; width: auto; text-align: left; }
}

/* 理念：番号付きの一覧＋図 */
[aria-labelledby="h-philosophy"] .sec-head { margin-bottom: 32px; }
.strength { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.checks { flex: 1; list-style: none; margin: 0; padding: 0; counter-reset: philosophy-item; }
.checks li { position: relative; padding-left: 32px; counter-increment: philosophy-item; }
.checks li + li { margin-top: 16px; }
.checks li::before { content: counter(philosophy-item); position: absolute; left: 0; top: 0; color: var(--teal-ink); font-family: var(--f-en); font-size: var(--text-card); font-weight: 700; line-height: var(--leading-heading); }
.checks b { display: block; font-size: var(--text-card); line-height: 1.5; }
.checks li > div > span { display: block; margin-top: 2px; font-size: var(--text-body); color: var(--muted); }
.strength-fig { position: relative; flex: none; width: min(360px, 36%); aspect-ratio: 1; border-radius: 10px; background: var(--mist); }
.strength-fig[data-anim] > svg { position: absolute; inset: 6%; width: 88%; height: 88%; }
@media (max-width: 860px) { .strength { flex-direction: column; align-items: flex-start; gap: 24px; } .strength-fig { width: min(240px, 100%); } }

/* 進め方：2×2 の白いカード（人が作業する図） */
.change-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.change { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px; border-radius: 10px; background: #fff; }
.change .scene { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 12px; background: #eaf6fd; }
.change .scene img { display: block; width: 100%; height: 100%; object-fit: contain; }
.change h3 { font-size: var(--text-card); color: var(--teal-ink); text-align: center; }
.change p { font-size: var(--text-body); }
@media (max-width: 760px) { .change-grid { grid-template-columns: 1fr; gap: 12px; } .change { padding: 16px; } }

/* 事例：図・日付・タイトル */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.case-card { display: flex; flex-direction: column; text-decoration: none; }
.case-card .vis { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.case-card .vis img, .case-vis img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.case-card .body { padding: 16px 2px 0; }
.case-card time { font-family: var(--f-en); font-size: var(--text-label); color: var(--muted); }
.case-card h3 { font-size: var(--text-card); margin-top: 4px; }
.case-card:hover h3 { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }

/* 事業紹介：タブ＋パネル */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; margin: 0 auto 30px; }
.tab { padding: 12px 20px; border: 0; border-radius: 30px; background: var(--teal-soft); color: var(--deep); font-weight: 700; font-size: var(--text-body); line-height: 1.3; cursor: pointer; transition: background-color .2s, color .2s; }
.tab:hover { background: #A6DDE2; }
.tab[aria-selected="true"] { background: var(--teal-ink); color: #fff; }
.tab-panel { padding: 30px; border-radius: 10px; background: #fff; }
.tab-panel[hidden] { display: none; }
.tab-panel .en { font-size: var(--text-small); color: var(--muted); }
.tab-panel h3 { font-size: var(--text-card); color: var(--teal-ink); margin-top: 4px; }
.tab-panel .sub, .tab-panel .d { margin-top: 12px; padding: 15px 20px; border-radius: 6px; background: var(--bg-alt); font-weight: 700; line-height: 1.6; }
.tab-panel .sub { font-size: var(--text-lead); }
.tab-panel .d { margin-top: 8px; font-size: var(--text-body); }
.tab-panel .link-more { margin-top: 20px; }
@media (max-width: 760px) { .tabs { gap: 10px; } .tab { width: calc(50% - 5px); padding: 10px; font-size: var(--text-label); } .tab-panel { padding: 16px; } }

/* ---------- news / faq ---------- */
.info { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); }
.list { list-style: none; padding: 0; margin: 32px 0 28px; border-top: 1px solid var(--line); }
.list li { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 20px 4px; align-items: baseline; text-decoration: none; }
.row time { font-family: var(--f-en); font-weight: 600; font-size: var(--text-small); letter-spacing: .08em; color: var(--teal-ink); }
.faq .row { grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: center; transition: background-color .2s; }
.faq .row:hover { background: var(--bg-alt); }
.q-mark { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-ink); color: #fff; display: grid; place-items: center; font-family: var(--f-en); font-weight: 700; font-size: var(--text-label); }
.faq .chev { width: 16px; height: 16px; color: var(--teal-ink); }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; gap: 2px; } .faq .row { grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 12px; } }

/* ---------- contact band ---------- */
.contact-band { background: var(--mist); color: var(--ink); padding: clamp(48px, 7vw, 88px) 0; }
.cb-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; justify-items: center; text-align: center; }
.cb-grid > div { min-width: 0; }
.contact-band .label { margin: 0 0 16px; font-size: var(--text-small); font-weight: 700; line-height: 1; color: var(--teal-ink); }
.contact-band h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.45; color: var(--deep); }
.contact-band p { margin-top: 20px; font-size: var(--text-lead); color: var(--muted); }
.contact-band .cb-copy { font-size: clamp(.75rem, 4vw, 1.125rem); white-space: nowrap; }
.cb-actions { display: grid; justify-items: center; gap: 20px; width: 100%; max-width: 354px; }
.cb-actions .btn { width: 100%; min-height: 68px; font-size: var(--text-card); }
.contact-band .cb-mail { margin: 0; font-size: var(--text-label); font-weight: var(--weight-body); line-height: 1.8; text-align: center; }
.cb-mail a { display: block; margin-top: 6px; font-family: var(--f-en); font-weight: 600; font-size: var(--text-body); color: var(--teal-ink); text-underline-offset: 4px; }

/* ---------- footer ---------- */
.site-footer { background: #fff; color: #0C2E36; padding: 48px 0 0; font-size: var(--text-label); border-top: 1px solid var(--line); }
.ft { display: grid; justify-items: center; gap: 24px; text-align: center; }
.site-footer .brand { margin: 0; }
.site-footer .brand b { color: #0C2E36; }
.site-footer .brand small { color: #555; }
.ft-tag { font-family: var(--f-en); font-weight: 700; letter-spacing: .12em; font-size: var(--text-small); margin-top: 10px; }
.ft-mail { margin-top: 6px; }
.ft-mail a { font-family: var(--f-en); font-size: var(--text-body); color: var(--teal-ink); }
.ft nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.ft nav a { text-decoration: none; }
.ft nav a:hover, .ft-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-bottom { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding: 20px 0; font-size: var(--text-small); color: #666; background: var(--bg-alt); box-shadow: 0 0 0 100vmax var(--bg-alt); clip-path: inset(0 -100vmax); }

/* ---------- page hero (sub pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 clamp(28px, 5vw, 56px); font-size: var(--text-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--grey); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--teal-ink); }
.ph-grid, .ph-solo { min-block-size: 400px; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: start; }
.ph-grid > div { min-width: 0; }
.ph-en { font-family: var(--f-en); font-weight: 700; font-size: var(--text-page-en); line-height: 1.05; letter-spacing: .02em; color: var(--deep); white-space: nowrap; }
.page-hero h1 { display: inline-flex; align-items: center; gap: 12px; font-size: var(--text-card); color: var(--teal-ink); margin-top: 20px; }
.page-hero h1::before { content: ""; width: 22px; height: 2px; background: var(--teal); }
.ph-copy { font-family: var(--f-head); font-weight: var(--weight-heading); font-size: var(--text-display); line-height: 1.45; margin-top: 28px; font-feature-settings: "palt"; }
.ph-copy--intro { font-size: var(--text-page-intro); }
.page-hero .lead { margin-top: 18px; }
.page-hero .ib { max-width: 100%; }
.ph-visual, .ph-photo { justify-self: end; width: 100%; max-width: 400px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--mist); }
.ph-visual { padding: 6%; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-photo[data-anim] { padding: 3%; }
@media (max-width: 860px) {
  .ph-grid, .ph-solo { min-block-size: 0; }
  .ph-grid { grid-template-columns: 1fr; gap: 32px; }
  .ph-visual, .ph-photo { justify-self: start; }
}

/* ---------- compact page introductions ---------- */
.page-hero-compact { padding: 24px 0 32px; }
.page-hero-compact .wrap { max-width: 900px; }
.page-hero-compact .crumbs { margin-bottom: 24px; }
.page-hero-compact .ph-solo { min-block-size: 0; }
.page-hero-compact .ph-copy--intro { margin-top: 20px; color: var(--muted); font-size: var(--text-lead); font-weight: var(--weight-body); line-height: var(--leading-body); }
.page-hero-compact + .sec { padding-top: 32px; }

/* ---------- company: location ---------- */
.loc { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 32px; align-items: center; }
.loc figure { margin: 0; }
.loc img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.loc iframe { display: block; width: 100%; height: clamp(280px, 28vw, 360px); border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.loc figcaption { margin-top: 8px; font-size: var(--text-small); color: var(--muted); }
.loc-title { margin-bottom: 12px; font-size: var(--text-card); color: var(--deep); }
.loc-addr { margin-bottom: 18px; font-style: normal; font-weight: 700; font-size: var(--text-lead); line-height: 1.8; }
.ext { margin-left: 4px; font-weight: 400; font-size: var(--text-small); }
@media (max-width: 760px) { .loc { grid-template-columns: 1fr; } }

/* 理念の冒頭：木漏れ日と水面のある風景を全面に配置。 */
.philosophy-hero { background: #edf2f1; }
.philosophy-hero__background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.philosophy-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .62) 20%, rgb(255 255 255 / .48) 42%, transparent 72%); }
.philosophy-hero__content { max-width: 900px; min-block-size: clamp(300px, 21.6vw, 400px); }
@media (max-width: 860px) {
  .philosophy-hero__content { min-block-size: 280px; }
  .philosophy-hero__background { object-position: 40% center; }
  .philosophy-hero::before { background: linear-gradient(180deg, rgb(255 255 255 / .70), rgb(255 255 255 / .58) 65%, rgb(255 255 255 / .10)); }
}

/* ---------- philosophy page ---------- */
.philosophy-principles { background: linear-gradient(180deg, #fbfdfd, #fff 18%, #fff 82%, #f8fbfc); }
.pr-rows { --pr-gap: clamp(40px, 5vw, 56px); display: grid; gap: var(--pr-gap); max-width: 1000px; }
.pr-row { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pr-row > * { min-width: 0; }
.pr-row:nth-child(even) .pr-vis { order: 2; }
.pr-vis { width: 100%; max-width: 440px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 20px; background: #eaf6fd; justify-self: center; }
.pr-vis img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pr-copy { width: 100%; max-width: 440px; padding-block: 12px; justify-self: center; }
.pr-rows .pr-row .no { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--teal-ink); font-family: var(--f-en); font-weight: 700; line-height: 1; letter-spacing: .02em; }
.pr-number { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #d9ecee; border-radius: 12px; background: #edf7f8; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.pr-divider { flex: none; width: 18px; height: 1px; background: #88c6ce; font-size: 0; }
.pr-name { font-size: .75rem; letter-spacing: .12em; }
.pr-rows .pr-row h2 { margin-top: 18px; color: var(--deep); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: var(--weight-heading); line-height: 1.45; letter-spacing: .025em; }
.pr-rows .pr-row .sub { margin-top: 16px; color: var(--deep); font-family: var(--f-head); font-size: var(--text-body); font-weight: 700; line-height: 1.7; text-wrap: balance; }
.pr-rows .pr-row .body { max-width: 27em; margin-top: 8px; color: var(--muted); font-size: var(--text-body); line-height: 1.9; text-wrap: balance; }
.pr-connector { position: absolute; top: 100%; left: 40%; width: 20%; height: var(--pr-gap); color: #91cbd2; overflow: visible; pointer-events: none; }
.pr-row:nth-child(even) .pr-connector { transform: scaleX(-1); }
@media (max-width: 600px) {
  .pr-rows { --pr-gap: 36px; }
  .pr-row { gap: 16px; }
  .pr-vis { border-radius: 14px; }
  .pr-copy { padding-block: 4px; }
  .pr-rows .pr-row .no { gap: 7px; }
  .pr-number { width: 32px; height: 32px; border-radius: 9px; font-size: 1.125rem; }
  .pr-divider { width: 10px; }
  .pr-name { font-size: .6875rem; letter-spacing: .04em; }
  .pr-rows .pr-row h2 { margin-top: 12px; font-size: 1.125rem; }
  .pr-rows .pr-row .sub { margin-top: 10px; font-size: var(--text-label); }
  .pr-rows .pr-row .body { margin-top: 6px; font-size: var(--text-label); line-height: 1.75; }
}
@media (max-width: 360px) {
  .pr-row { grid-template-columns: 1fr; gap: 16px; }
  .pr-row:nth-child(even) .pr-vis { order: 0; }
  .pr-connector { left: calc(50% - 30px); width: 60px; }
}

/* 事業紹介の冒頭：青空と街並みの背景にメッセージを重ねる。 */
.services-hero { background: #e4f2f8; }
.services-hero__background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.services-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / .12), rgb(255 255 255 / .24) 42%, transparent 72%); }
.services-hero__content { max-width: 660px; min-block-size: clamp(300px, 21.6vw, 400px); }
.services-hero__line { display: block; }
@media (max-width: 860px) {
  .services-hero__content { min-block-size: 280px; }
  .services-hero__line { display: inline; }
  .services-hero::before { background: linear-gradient(90deg, rgb(255 255 255 / .76), rgb(255 255 255 / .60) 58%, rgb(255 255 255 / .24)); }
  .services-hero__background { object-position: 42% center; }
}

/* ---------- services page ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.toc a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: var(--text-label); font-weight: 700; text-decoration: none; transition: border-color .2s, background-color .2s; }
.toc a:hover { border-color: var(--teal); background: var(--mist); }
.toc .n { font-family: var(--f-en); font-size: var(--text-small); color: var(--teal-ink); }
.svc-rows { display: grid; gap: clamp(24px, 3vw, 32px); }
.svc-row {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 28px;
}
.svc-vis { width: 100%; max-width: 440px; aspect-ratio: 4 / 3; padding: 8%; border-radius: 10px; background: var(--mist); justify-self: center; }
.svc-vis--image { aspect-ratio: 4 / 3; padding: 0; overflow: hidden; background: #fff; }
.svc-vis--image svg { display: block; width: 100%; height: 100%; }
.svc-row .en { font-size: var(--text-small); color: var(--teal-ink); margin-top: 10px; }
.svc-row h2 { font-size: var(--text-section); font-weight: var(--weight-heading); margin-top: 8px; }
.svc-row .sub { font-family: var(--f-head); font-weight: 700; font-size: var(--text-card); margin-top: 18px; line-height: 1.6; }
.svc-row .body { color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; } .svc-vis { max-width: none; } }

/* small index label (01 / QUESTION など) */
.no { font-family: var(--f-en); font-weight: 600; font-size: var(--text-small); letter-spacing: .16em; color: var(--teal-ink); }

/* numbered dot on a progress line */
.dot {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--line);
  font-family: var(--f-en); font-weight: 700; font-size: var(--text-label); color: var(--muted); transition: background-color .4s, border-color .4s, color .4s;
}
.is-reached > .dot { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }

/* 仕事の進め方の冒頭：木漏れ日のある会議室の背景。 */
.approach-hero { background: #e8f0f2; }
.approach-hero__background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.approach-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / .12), rgb(255 255 255 / .62) 32%, rgb(255 255 255 / .35) 52%, transparent 76%); }
.approach-hero__content { max-width: 800px; min-block-size: clamp(300px, 21.6vw, 400px); }
.approach-hero .approach-hero__content .lead { max-width: 620px; }
@media (max-width: 860px) {
  .approach-hero__content { min-block-size: 280px; }
  .approach-hero__background { object-position: 42% center; }
  .approach-hero::before { background: linear-gradient(90deg, rgb(255 255 255 / .90), rgb(255 255 255 / .78) 58%, rgb(255 255 255 / .50)); }
}

/* ---------- approach page ---------- */
.flow-nav { padding: 28px 0; }
.flow-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; }
.flow-strip a { display: block; height: 100%; padding: 16px 24px; text-decoration: none; transition: color .2s; }
.flow-strip a:hover, .flow-strip a:focus-visible { color: var(--teal-ink); }
.flow-strip a:hover b, .flow-strip a:focus-visible b { text-decoration: underline; text-underline-offset: 5px; }
.flow-strip .en { display: block; font-size: var(--text-small); color: var(--teal-ink); }
.flow-strip b { font-family: var(--f-head); font-size: var(--text-card); }
@media (max-width: 760px) { .flow-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.timeline { --tl-pad: 104px; --tl-x: 32px; --dot: 56px; position: relative; list-style: none; margin: 0; padding: 0 0 0 var(--tl-pad); display: grid; gap: clamp(56px, 8vw, 104px); }
.timeline::before, .timeline::after { content: ""; position: absolute; left: calc(var(--tl-x) - 1px); top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.timeline::after { background: var(--teal); transform: scaleY(var(--p, 0)); transform-origin: top; }
.tl-step { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tl-step .dot { position: absolute; left: calc(var(--tl-x) - var(--tl-pad) - var(--dot) / 2); top: 0; width: var(--dot); height: var(--dot); font-size: var(--text-body); }
.tl-step h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: var(--weight-heading); margin-top: 0; padding-top: max(0px, calc((var(--dot) - 1.45em) / 2)); }
.tl-step h2 .ib { max-width: 100%; }
.tl-step .body { color: var(--ink); margin-top: 14px; font-size: var(--text-body); }
.tl-sub { margin-top: 20px; padding: 16px 20px; border-left: 3px solid var(--teal); background: var(--bg-alt); border-radius: 0 12px 12px 0; }
.tl-sub b { display: block; font-family: var(--f-head); font-size: var(--text-label); color: var(--teal-ink); }
.tl-sub p { color: var(--ink); font-size: var(--text-body); margin-top: 6px; }
.tl-vis { width: 100%; aspect-ratio: 160 / 120; border-radius: 24px; background: var(--mist); }
@media (max-width: 860px) {
  .timeline { --tl-pad: 60px; --tl-x: 20px; --dot: 40px; }
  .tl-step { grid-template-columns: 1fr; }
  .tl-step .dot { font-size: var(--text-small); }
  .tl-vis { max-width: 360px; }
}

/* ---------- works page ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.case + .case { margin-top: clamp(56px, 8vw, 104px); }
.case:nth-child(even) .case-vis { order: 2; }
.case-vis { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.case time { font-family: var(--f-en); font-weight: 600; font-size: var(--text-label); letter-spacing: .1em; color: var(--teal-ink); }
.case h2 { font-size: var(--text-section); font-weight: var(--weight-heading); margin-top: 12px; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case:nth-child(even) .case-vis { order: 0; } }

/* 会社概要の冒頭：自然光の入るオフィスの背景。 */
.company-hero { background: #eaf3f8; }
.company-hero__background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.company-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / .12), rgb(255 255 255 / .65) 25%, rgb(255 255 255 / .48) 42%, transparent 72%); }
.company-hero__content { max-width: 700px; min-block-size: clamp(300px, 21.6vw, 400px); }
.company-hero .company-hero__content .lead { max-width: 620px; }
@media (max-width: 860px) {
  .company-hero__content { min-block-size: 280px; }
  .company-hero__background { object-position: 58% center; }
  .company-hero::before { background: linear-gradient(90deg, rgb(255 255 255 / .90), rgb(255 255 255 / .78) 58%, rgb(255 255 255 / .48)); }
}

/* ---------- company page ---------- */
.dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.dl + .link-more { margin-top: 24px; }
.dl dt, .dl dd { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-family: var(--f-head); font-weight: 700; color: var(--deep); }
.dl ul { margin: 0; padding-left: 1.2em; }
.dl a { color: var(--teal-ink); font-family: var(--f-en); font-weight: 600; }
@media (max-width: 640px) { .dl { grid-template-columns: 1fr; } .dl dt { padding-bottom: 4px; border-bottom: 0; } .dl dd { padding-top: 0; } }

/* ---------- contact form ---------- */
.form-wrap { max-width: 800px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 4.5vw, 48px); }
.contact-form-title { font-size: clamp(24px, 2.4vw, 28px); }
.form-intro { margin: 12px 0 32px; color: var(--muted); font-size: var(--text-label); }
.form-card .field label { font-size: var(--text-body); }
.req { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--mist); color: var(--teal-ink); font-size: var(--text-small); font-weight: 700; vertical-align: 1px; }
.form-card .form-privacy { margin-top: 24px; }
.form-actions.contact-submit { justify-content: center; }
.contact-submit .btn { width: 240px; max-width: 100%; }
.contact-form-mail { margin-top: 24px; font-size: var(--text-label); text-align: center; }
.contact-form-mail a { color: var(--teal-ink); overflow-wrap: anywhere; }
.form-card .to { font-family: var(--f-head); font-weight: 700; color: var(--muted); font-size: var(--text-label); padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px dashed var(--line); }
.form-section + .form-section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.step-no { font-family: var(--f-en); font-weight: 600; font-size: var(--text-small); letter-spacing: .16em; color: var(--teal-ink); margin-bottom: 10px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .form-h { font-family: var(--f-head); font-weight: var(--weight-heading); font-size: var(--text-section); line-height: 1.45; padding: 0; }
.hint { font-size: var(--text-label); color: var(--muted); margin-top: 6px; }
.hint a { color: var(--teal-ink); }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.topic { position: relative; }
.topic.wide { grid-column: 1 / -1; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 700; font-size: var(--text-body); line-height: 1.5; cursor: pointer; transition: border-color .2s, background-color .2s; }
.topic span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--grey); background: #fff; transition: border-color .2s, box-shadow .2s; }
.topic span:hover { border-color: var(--teal); }
.topic input:checked + span { border-color: var(--teal-ink); background: var(--mist); color: var(--deep); }
.topic input:checked + span::before { border-color: var(--teal-ink); box-shadow: inset 0 0 0 4px #fff; background: var(--teal-ink); }
.topic input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.field { display: grid; gap: 8px; margin-top: 24px; }
.field label, .more summary { font-weight: 700; font-size: var(--text-label); }
.opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-size: var(--text-small); font-weight: 700; vertical-align: 1px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: var(--text-body); line-height: 1.6; padding: 14px 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 168px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 4px rgba(3, 159, 173, .16); }
.field-foot { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.field-foot .hint { margin: 0; }
.count { flex: none; font-family: var(--f-en); font-size: var(--text-small); color: var(--muted); }
.picked { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--mist); font-size: var(--text-label); }
.more { margin-top: 24px; padding: 16px 18px; border: 1px dashed var(--grey); border-radius: 14px; }
.more summary { cursor: pointer; }
.more .field:first-of-type { margin-top: 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: var(--text-label); font-weight: 700; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal-ink); }
.form-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.form-actions.end { justify-content: flex-end; }
.back { background: none; border: 0; padding: 8px 0; color: var(--muted); font-weight: 700; cursor: pointer; }
.back:hover { color: var(--ink); }
.status { color: var(--error); font-weight: 700; font-size: var(--text-label); margin-top: 16px; }
.status:empty { display: none; }
.done { text-align: center; }
.done-ill { width: 180px; aspect-ratio: 160 / 120; margin: 0 auto 20px; }
.done p { color: var(--muted); margin-top: 12px; }
.done .btn { margin-top: 28px; }
.side { display: grid; gap: 16px; }
.side-card { padding: 28px; border-radius: 22px; background: var(--mist); }
.side-card p:not(.label) { margin-top: 14px; font-size: var(--text-body); }
.side-card .mail { display: inline-block; margin-top: 6px; font-family: var(--f-en); font-weight: 600; font-size: var(--text-lead); color: var(--teal-ink); }
.side-faq { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.side-faq a { display: block; font-size: var(--text-label); font-weight: 700; text-decoration: none; padding: 12px 14px; border-radius: 12px; background: #fff; }
.side-faq a:hover { color: var(--teal-ink); }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .topics { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } .form-actions { flex-direction: column-reverse; align-items: stretch; } .form-actions.end { align-items: stretch; } }

/* =========================================================
   図（assets/anims.js が静止SVGを差し込む）。線の太さは画面上で一定。
   ========================================================= */
[data-anim] svg { width: 100%; height: 100%; overflow: visible; }
[data-anim] svg [stroke] { vector-effect: non-scaling-stroke; }
.sk-q { fill: none; stroke: var(--deep); stroke-width: 7; stroke-linecap: round; }
.f-t { fill: var(--teal); } .f-s { fill: var(--teal-soft); }
.c-lbl { font: 700 12px var(--f-body); fill: var(--deep); letter-spacing: .04em; }
.c-lbl.w { fill: #fff; }
.c-lbl.t { fill: var(--teal-ink); }
.c-lbl.en { font-family: var(--f-en); text-transform: none; letter-spacing: .06em; }

/* =========================================================
   コーポレートサイトとしての仕上げ（実績・FAQ・お知らせ・ポリシー・フッター）
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inline-link { color: var(--teal-ink); font-weight: 700; }
.ph-solo .lead { max-width: 46em; }

/* footer: company address */
.ft-addr { margin-top: 12px; font-style: normal; font-size: var(--text-label); line-height: 1.8; color: #3B4A4D; }
.ft-addr a { color: var(--teal-ink); font-family: var(--f-en); }
.ft-bottom small { font-size: var(--text-small); }

/* top: case cards（cloudpack の事例と同じ型：現場 → 課題 → ▼ → 成果） */
/* 横に並ぶカード同士で「現場・名前・課題・▼・成果・リンク」の行をそろえる */
.case-card { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 8px; align-content: start; }
.case-card .body { display: contents; }
.case-card .case-meta { margin-top: 10px; }
.case-meta { font-size: var(--text-small); color: var(--muted); }
.case-card h3 { margin: 0; font-size: var(--text-card); }
.case-problem { font-size: var(--text-body); line-height: 1.75; }
.case-arrow { width: 0; height: 0; margin: 2px auto; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid var(--teal); }
.case-result { font-weight: 700; font-size: var(--text-body); line-height: 1.6; color: var(--pink); }
.case-more { justify-self: start; font-weight: 700; font-size: var(--text-label); color: var(--teal-ink); text-decoration: underline; text-underline-offset: 4px; }
.case-card:hover h3 { text-decoration: none; }

/* lists: news rows with a category */
.list a.row { transition: background-color .2s; }
.list a.row:hover { background: var(--bg-alt); }
.news .row { grid-template-columns: 96px 76px minmax(0, 1fr) 18px; align-items: center; }
.news .chev { width: 16px; height: 16px; color: var(--teal-ink); }
.cat { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--mist); color: var(--teal-ink); font-size: var(--text-small); font-weight: 700; text-align: center; line-height: 1.6; }
.news-wrap { max-width: 900px; }
.news-wrap .list { margin-top: 0; }
@media (max-width: 640px) { .news .row { grid-template-columns: auto 1fr 18px; gap: 4px 10px; } .news .row > span:not(.cat) { grid-column: 1 / 3; } }

/* 成果物の冒頭：ダッシュボードのあるデスクの背景。 */
.works-hero { background: #edf6fa; }
.works-hero__background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.works-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / .10), transparent 62%); }
.works-hero__content { max-width: 760px; min-block-size: clamp(300px, 21.6vw, 400px); }
.works-hero .works-hero__content .lead { max-width: 620px; }
@media (max-width: 860px) {
  .works-hero__content { min-block-size: 280px; }
  .works-hero__background { object-position: 60% center; }
  .works-hero::before { background: linear-gradient(90deg, rgb(255 255 255 / .91), rgb(255 255 255 / .78) 58%, rgb(255 255 255 / .48)); }
}

/* works: products */
.works-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; margin-top: 28px; }
.works-jump a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 14px 20px; border: 1px solid var(--teal-ink); border-radius: 10px; background: rgb(255 255 255 / .96); color: var(--teal-ink); text-decoration: none; transition: background-color .2s, border-color .2s; }
.works-jump a:hover { background: var(--mist); border-color: var(--deep); }
.works-jump b { display: block; font-size: var(--text-body); line-height: 1.5; }
.works-jump small { display: block; margin-top: 2px; font-size: var(--text-small); line-height: 1.5; color: var(--muted); }
.works-jump svg { flex: none; width: 20px; height: 20px; }
.works-toc { margin-bottom: clamp(28px, 4vw, 40px); }
.works-toc .toc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.works-toc .toc li { min-width: 0; }
.works-toc .toc a { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; height: 100%; min-height: 88px; padding: 16px; border-radius: 10px; white-space: normal; }
.works-toc .toc .n { padding-top: 2px; font-size: var(--text-small); line-height: 1.5; }
.works-toc__label { min-width: 0; }
.works-toc__name { display: block; font-size: var(--text-body); line-height: 1.5; }
.works-toc__purpose { display: block; margin-top: 4px; font-size: var(--text-label); font-weight: var(--weight-body); line-height: 1.6; color: var(--muted); }
@media (max-width: 1000px) { .works-toc .toc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .works-jump a { gap: 8px; padding: 12px; }
  .works-jump svg { width: 18px; height: 18px; }
  .works-toc .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .works-toc .toc a { gap: 8px; padding: 12px 10px; }
  .works-toc__name { font-size: var(--text-label); }
}
@media (max-width: 360px) { .works-toc .toc { grid-template-columns: 1fr; } }
.product { display: grid; gap: clamp(24px, 3vw, 32px); padding: clamp(40px, 5vw, 64px) 0; border-top: 2px solid var(--line); }
.product:first-of-type { border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 32px); }
.product-overview { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.product-overview > *, .product-detail > * { min-width: 0; }
@media (min-width: 861px) {
  .product-overview > .product-body { padding-top: 16px; }
}
.product-vis { margin: 0; }
.product-vis img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.product-vis figcaption { margin-top: 8px; font-size: var(--text-small); color: var(--muted); }
.product-image { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); cursor: zoom-in; }
.product-image img { display: block; border: 0; border-radius: 0; transform: scale(var(--preview-scale, 1)); transform-origin: var(--preview-focus, center); }
.product-image-hint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--teal-ink); font-size: var(--text-small); font-weight: 700; line-height: 1.4; pointer-events: none; }
.product-image:hover .product-image-hint { border-color: var(--teal-ink); }
.product .no { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.4; letter-spacing: .08em; }
.product .tag { padding: 6px 14px; border-radius: 999px; background: var(--mist); font-family: var(--f-body); font-weight: 700; font-size: var(--text-label); line-height: 1.5; letter-spacing: .02em; color: var(--teal-ink); }
.product h3 { margin-top: 0; font-size: var(--text-product); font-weight: 700; line-height: 1.3; }
.product-lead { margin-top: 6px; font-weight: 700; font-size: var(--text-lead); color: var(--teal-ink); }
.product-summary { margin-top: 12px; font-size: var(--text-body); line-height: 1.85; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts div { padding: 16px 20px; border-radius: 8px; background: var(--bg-alt); }
.facts dt { font-size: var(--text-small); color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: var(--text-label); line-height: 1.5; }
.product-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(28px, 4vw, 56px); }
.product-detail h4 { font-size: var(--text-body); color: var(--pink); }
.product-detail p, .product-detail li { font-size: var(--text-body); line-height: 1.8; }
.product-detail p { margin-top: 8px; }
.product-detail ul { margin: 8px 0 0; padding-left: 1.2em; }
.source-note { margin-top: 24px; font-size: var(--text-small); color: var(--muted); text-align: right; }
@media (max-width: 860px) { .product-overview, .product-detail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .facts { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* Work screenshots: fit the viewport or inspect the original pixels. */
.image-viewer { width: min(1400px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 24px 80px rgba(6, 47, 53, .25); }
.image-viewer[open] { display: flex; flex-direction: column; }
.image-viewer::backdrop { background: rgba(4, 31, 35, .78); }
.image-viewer-header { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.image-viewer-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-card); font-weight: 700; }
.image-viewer-actions { display: flex; flex: none; align-items: center; gap: 8px; }
.image-viewer-control { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--deep); font: inherit; font-size: var(--text-label); font-weight: 700; cursor: pointer; }
.image-viewer-control:hover { background: var(--mist); border-color: var(--teal-ink); }
.image-viewer-close { width: 40px; padding: 0; }
.image-viewer-stage { min-height: 0; padding: 16px; overflow: auto; overscroll-behavior: contain; background: var(--bg-alt); text-align: center; line-height: 0; }
.image-viewer-image { display: inline-block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 128px); vertical-align: middle; }
.image-viewer.is-actual-size .image-viewer-stage { text-align: left; }
.image-viewer.is-actual-size .image-viewer-image { width: var(--original-width); max-width: none; max-height: none; }

/* works: web */
.web-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.web-card { display: flex; flex-direction: column; text-decoration: none; }
.web-card .vis { aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s; }
.web-card .vis img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.web-card:hover .vis { border-color: var(--teal); }
.web-card .body { padding: 14px 2px 0; }
.web-card h3 { margin-top: 4px; font-size: var(--text-card); }
.web-card p:not(.no) { font-size: var(--text-body); color: var(--muted); }
.ext-link { display: inline-block; margin-top: 8px; font-weight: 700; font-size: var(--text-small); color: var(--teal-ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) { .web-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .web-grid { grid-template-columns: 1fr; } }

/* services: link to related works */
.svc-row .link-more { margin-top: 18px; }

/* FAQ */
.faq-wrap { max-width: 900px; }
.faq-toc { justify-content: center; margin-bottom: clamp(32px, 4vw, 48px); }
.faq-toc .n { margin-left: 2px; }
.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 56px); }
.faq-group > h2 { padding-bottom: 12px; border-bottom: 3px solid var(--teal); font-size: var(--text-section); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 18px 4px; cursor: pointer; list-style: none; font-weight: 700; font-size: var(--text-body); line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary > span:not(.q-mark), .case-problem, .product-detail li { text-wrap: pretty; }
.qa summary::after { content: "+"; font: 400 26px/1 var(--f-en); color: var(--teal-ink); text-align: center; }
.qa[open] summary::after { content: "−"; }
.qa summary:hover { background: var(--bg-alt); }
.qa .ans { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 4px 4px 24px; }
.a-mark { width: 32px; height: 32px; border: 2px solid var(--teal-ink); border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--f-en); color: var(--teal-ink); }
.qa .ans p { font-size: var(--text-body); line-height: 1.85; }
.qa .ans .link-more { margin-top: 10px; }
.faq-end { margin-top: clamp(40px, 5vw, 56px); display: grid; justify-items: center; gap: 20px; text-align: center; }

/* privacy policy */
.privacy-page .page-hero { padding: 28px 0 32px; }
.privacy-page .page-hero .wrap { max-width: 880px; }
.privacy-page .ph-solo { min-block-size: 0; }
.privacy-page .crumbs { margin-bottom: 24px; }
.privacy-page .page-hero + .sec { padding-top: 28px; }
.policy { max-width: 880px; }
.policy-date { font-size: var(--text-label); color: var(--muted); }
.policy > section { margin-top: clamp(24px, 3vw, 32px); }
.policy h2 { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--line); font-size: var(--text-section); }
.policy h3 { margin-top: 22px; font-size: var(--text-card); }
.policy p, .policy li { font-size: var(--text-body); line-height: 1.9; }
.policy h2 + p, .policy h2 + ul, .policy h3 + p { margin-top: 14px; }
.policy p + p, .policy ul + p, .policy .refs + p { margin-top: 12px; }
.policy ul { margin: 14px 0 0; padding-left: 1.2em; }
.policy a { color: var(--teal-ink); }
.policy .refs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; font-size: var(--text-body); font-weight: var(--weight-body); }
.policy .dl { margin-top: 16px; }
.policy-contact { padding: 16px 20px; border-radius: 10px; background: var(--bg-alt); font-weight: 700; }

/* 404 */
.err-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }


/* The type scale also applies inside page-specific components. */
.hero h1, .ph-copy {
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
}
.h-sec, .statement .q, .cta-band h2,
.pr-row h2, .svc-row h2, .case h2,
.faq-group > h2, .policy h2, legend, .form-h {
  font-size: var(--text-section);
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
}
.issue-card h3, .change h3, .case-card h3,
.tab-panel h3, .web-card h3, .policy h3,
.checks b, .flow-strip b {
  font-size: var(--text-card);
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
}
.ic-sol h4, .product-detail h4 {
  font-size: var(--text-body);
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
}
.lead, .hero .lead, .sec-head .lead, .contact-band p,
.pr-row .sub, .svc-row .sub, .product-lead, .tab-panel .sub, .lines {
  font-size: var(--text-lead);
  font-weight: var(--weight-lead);
  line-height: var(--leading-body);
}
.ic-body p, .ic-sol ul, .sol p, .change p, .checks li > div > span,
.pr-row .body, .svc-row .body, .tl-step .body, .tl-sub p,
.tab-panel .d, .case-problem, .case-result, .product-summary,
.product-detail p, .product-detail li, .web-card p:not(.no),
.qa .ans p, .policy p, .policy li, .side-card p:not(.label) {
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
}
.btn, .hd-cta, .tab, .link-more {
  font-size: var(--text-body);
  line-height: 1.3;
}

/* Service selection → related work → consultation. */
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.tab-panel .service-actions .link-more, .svc-row .service-actions .link-more { margin-top: 0; }
.service-actions .btn { min-height: 48px; padding: 12px 22px; }
.service-context { display: inline-flex; padding: 4px 10px; margin-bottom: 12px; border-radius: 6px; background: var(--mist); color: var(--teal-ink); font-size: var(--text-label); font-weight: var(--weight-heading); line-height: 1.5; }
.services-overview { margin-top: 24px; text-align: center; }
.consultation-context { margin-bottom: 24px; padding: 14px 16px; border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; background: var(--mist); color: var(--deep); font-size: var(--text-label); line-height: 1.8; }
@media (max-width: 520px) {
  .service-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .service-actions .btn { width: 100%; }
  .service-actions .link-more { align-self: flex-start; }
}

/* Contact page: guidance above a centered form. */
.contact-page .contact-main { padding: 24px 0 72px; }
.contact-page .crumbs { margin-bottom: 32px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 48px); max-width: 800px; align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-intro { padding-top: 4px; }
.contact-intro h1 { font-size: var(--text-section); color: var(--deep); }
.contact-intro-copy { margin-top: 24px; color: var(--ink); font-size: var(--text-card); font-weight: var(--weight-heading); line-height: 1.7; }
.contact-intro-description { margin-top: 16px; color: var(--muted); font-size: var(--text-body); line-height: var(--leading-body); }
.contact-intro .ib { max-width: 100%; }
.contact-topics { display: grid; gap: 12px; list-style: none; margin: 28px 0 0; padding: 0; }
.contact-topics li { position: relative; padding-left: 26px; font-size: var(--text-body); font-weight: var(--weight-heading); color: var(--deep); }
.contact-topics li::before { content: ""; position: absolute; left: 3px; top: .65em; width: 10px; height: 6px; border: solid var(--teal-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.contact-method { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-page .contact-method .contact-form-mail { margin: 0; text-align: left; color: var(--muted); }
.contact-method .contact-form-mail a { display: block; margin-top: 8px; font-family: var(--f-en); font-size: var(--text-card); font-weight: var(--weight-heading); text-underline-offset: 5px; }
.contact-page .contact-layout .form-card { padding: 32px; border: 0; border-radius: 12px; background: #f1f6f7; }
.contact-page .contact-form-title { text-align: center; }
.contact-page .form-intro { margin: 8px 0 24px; text-align: center; }
.contact-page .field { margin-top: 20px; }
.contact-page [data-form-fields] > .field:first-child { margin-top: 0; }
.contact-page .field input, .contact-page .field textarea { padding: 12px 14px; border-radius: 6px; }
.contact-page .field textarea { min-height: 120px; }
.contact-page .form-card .form-privacy { margin-top: 20px; }
.contact-page .contact-submit { margin-top: 24px; }
.contact-page .contact-submit .btn { width: 100%; max-width: 280px; min-height: 52px; }
@media (max-width: 800px) {
  .contact-page .contact-main { padding-bottom: 48px; }
}
@media (max-width: 520px) {
  .contact-page .contact-layout .form-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .timeline::after { transform: none; }
}
