/*
Theme Name: K.Works
Theme URI:
Author: K.Works
Author URI:
Description: 分析コンサルタント K.Works のオリジナルテーマ。LP形式のトップページと、
             支援内容資料のスライダー、PHPメールフォームを内蔵しています。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kworks
Tags: one-column, custom-colors, custom-menu, translation-ready
*/

/* --------------------------------------------------------------------------
   ここから下は site/prototype/assets/css/style.css の内容です。
   直接編集せず、プロトタイプ側を直して tools/build_theme.py を実行してください。
   -------------------------------------------------------------------------- */

/* ==========================================================================
   K.Works — design system
   ベース：白 × グリーン / アクセント：オレンジ
   緑は彩度を抑えたディープグリーンを主役に、明るい緑は「面」ではなく
   ハイライト・背景の淡いトーンで使うことで目が疲れないようにしている。
   ========================================================================== */

:root {
  /* base */
  --bg:          #FFFFFF;
  --bg-2:        #F5FAF7;   /* セクション背景（ごく淡い緑） */
  --surface:     #FFFFFF;
  --surface-2:   #F2F8F4;
  --line:        #E4EBE7;
  --line-strong: #CEDCD4;

  /* green — 主役 */
  --green:       #1A9339;   /* ロゴの緑（#14C441）から、大面積用に彩度・明度を調整 */
  --green-dark:  #14712C;
  --green-light: #30CF59;
  --green-tint:  #E7F8EC;
  --green-tint2: #D9F2DF;
  --green-logo:  #14C441;   /* ロゴそのものの色。小さなアクセント・ロゴ周りにのみ使用 */

  /* orange — アクセント */
  --orange:      #EE7326;
  --orange-dark: #C95B14;
  --orange-tint: #FDEFE4;

  /* text */
  --text:        #14231C;
  --text-2:      #47574F;
  --muted:       #7B8A83;

  /* shadow */
  --sh-sm:  0 1px 2px rgba(20, 35, 28, .05), 0 2px 8px rgba(20, 35, 28, .04);
  --sh-md:  0 2px 6px rgba(20, 35, 28, .05), 0 12px 28px -12px rgba(20, 35, 28, .14);
  --sh-lg:  0 4px 12px rgba(20, 35, 28, .06), 0 30px 60px -28px rgba(20, 35, 28, .22);

  /* metrics */
  --radius:      14px;
  --radius-lg:   22px;
  --shell:       1160px;
  --shell-nar:   860px;
  --header-h:    72px;

  --ease:        cubic-bezier(.22, .61, .36, 1);

  --font-ja: "Zen Kaku Gothic New", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
             "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Outfit", var(--font-ja);
}

/* --------------------------------------------------------- reset / base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--green-tint2); color: var(--green-dark); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------- layout */
.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }
.shell--narrow { width: min(100% - 40px, var(--shell-nar)); }

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tint { background: var(--bg-2); }

.only-mobile { display: none; }
.sp-only { display: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }

.h-sec {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700; line-height: 1.45; letter-spacing: .01em;
  margin-bottom: 20px;
}
.h-sec .accent { color: var(--green); }

.lead { color: var(--text-2); font-size: clamp(15px, 1.5vw, 17px); max-width: 62ch; }

.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { text-align: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head--center .eyebrow::before { display: none; }

/* ---------------------------------------------------------------- button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--green); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(23, 164, 94, .75);
}
.btn--primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(23, 164, 94, .6); }

.btn--accent {
  background: var(--orange); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(238, 115, 38, .8);
}
.btn--accent:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); background: #fff; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(20, 35, 28, .4); }
.site-header .shell { display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--text); }
.brand img { width: 30px; height: 30px; flex: none; }
.brand .dot { color: var(--orange); }

.gnav { margin-left: auto; }
.gnav ul { display: flex; align-items: center; gap: 26px; }
.gnav a { font-size: 14px; color: var(--text-2); position: relative; padding: 6px 0; transition: color .2s; }
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.gnav a:hover { color: var(--text); }
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: min(100svh, 840px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 88px;
  overflow: hidden;
  background: linear-gradient(180deg, #F3FAF6 0%, #FFFFFF 72%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(48% 42% at 82% 8%, rgba(63, 197, 126, .22), transparent 66%),
    radial-gradient(34% 34% at 6% 88%, rgba(238, 115, 38, .13), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 35, 28, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 35, 28, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(72% 62% at 50% 38%, #000 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(72% 62% at 50% 38%, #000 10%, transparent 100%);
}
/* 分析っぽさを出すための装飾（ドーナツグラフ・棒グラフ）。
   狭い画面でだけ、文字の背後にごく薄く表示する。PCでは右のカードがあるので出さない。 */
.hero__deco { display: none; position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero .shell { position: relative; z-index: 1; }

.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid var(--green-tint2); background: var(--green-tint);
  font-size: 12.5px; color: var(--green-dark); font-weight: 700; letter-spacing: .06em;
  margin-bottom: 26px;
}
.hero__badge .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(238, 115, 38, .45); }
  70%  { box-shadow: 0 0 0 9px rgba(238, 115, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(238, 115, 38, 0); }
}

.hero h1 {
  font-size: clamp(32px, 5.4vw, 60px);
  line-height: 1.32; font-weight: 700; letter-spacing: -.005em;
  margin-bottom: 26px;
}
.hero h1 .mark { color: var(--green-dark); position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .mark::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .28em;
  background: linear-gradient(90deg, rgba(238, 115, 38, .28), rgba(238, 115, 38, .1));
  border-radius: 4px; z-index: -1;
}
.hero__lead { color: var(--text-2); font-size: clamp(15px, 1.6vw, 17px); max-width: 46ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats dt { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.hero__stats dd { font-family: var(--font-en); font-size: 27px; font-weight: 600; line-height: 1.3; color: var(--text); }
.hero__stats dd span { font-size: 14px; color: var(--text-2); margin-left: 3px; }

/* hero visual — 解析ダッシュボード風のモチーフ */
.hero__visual { position: relative; }
.dash {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--sh-lg);
}
.dash__top { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.dash__top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.dash__top i:first-child { background: var(--orange); }
.dash__top i:nth-child(2) { background: var(--green-light); }
.dash__top span { margin-left: auto; font-family: var(--font-en); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 11px; }
.kpi b { display: block; font-family: var(--font-en); font-size: 19px; font-weight: 600; line-height: 1.2; }
.kpi em { font-style: normal; font-size: 11px; color: var(--green-dark); letter-spacing: .04em; font-weight: 700; }
.kpi small { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: .06em; margin-bottom: 6px; }
.dash__chart svg { width: 100%; display: block; }

/* -------------------------------------------------------------- problems */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.problem {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--sh-sm);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.problem:hover { border-color: var(--green-tint2); transform: translateY(-3px); box-shadow: var(--sh-md); }
.problem .tick { flex: none; margin-top: 4px; width: 20px; height: 20px; color: var(--orange); }
.problem p { font-size: 15px; color: var(--text-2); }
.problem p strong { color: var(--text); font-weight: 700; }

.problem-bridge { text-align: center; margin-top: 52px; }
.problem-bridge p { font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; line-height: 1.7; }
.problem-bridge .accent { color: var(--green); }

/* -------------------------------------------------------------- services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); gap: 18px; }
.svc {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px 30px; box-shadow: var(--sh-sm);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--green-tint2); }
.svc:hover::before { transform: scaleX(1); }

.svc__no { font-family: var(--font-en); font-size: 12px; letter-spacing: .18em; color: var(--orange); font-weight: 600; margin-bottom: 16px; display: block; }
.svc__icon {
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-dark);
}
.svc__icon svg { width: 23px; height: 23px; }
.svc h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; line-height: 1.6; }
.svc p { font-size: 14.5px; color: var(--text-2); margin-bottom: 18px; }
.svc ul { display: grid; gap: 8px; }
.svc li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.svc li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--green-light);
}

/* --------------------------------------------------------------- reasons */
.reason-list { display: grid; }
.reason {
  display: grid; grid-template-columns: 96px 1fr; gap: clamp(20px, 4vw, 48px); align-items: start;
  padding: 34px 0; border-top: 1px solid var(--line);
}
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason__no {
  font-family: var(--font-en); font-size: clamp(40px, 6vw, 62px); font-weight: 700; line-height: 1;
  color: var(--orange);
}
.reason h3 { font-size: clamp(19px, 2.3vw, 24px); font-weight: 700; margin-bottom: 12px; line-height: 1.6; }
.reason p { color: var(--text-2); font-size: 15px; max-width: 66ch; }

/* ================================================== capability slider === */
.deck { position: relative; }
.deck__frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--sh-lg);
}

.deck__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.deck__stage:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.deck__slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transform: scale(1.012);
  transition: opacity .42s var(--ease), transform .42s var(--ease), visibility 0s .42s;
}
.deck__slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.deck__slide img { width: 100%; height: 100%; object-fit: contain; }

/* 左右クリック領域（PC はホバーで矢印が浮く / スマホは常時うっすら表示）
   クリック範囲は広いまま、矢印だけを左右の端に寄せてスライドの文字を隠さないようにする */
.deck__zone {
  position: absolute; top: 0; bottom: 0; width: 26%;
  border: 0; background: transparent; cursor: pointer;
  display: grid; align-items: center;
  padding-inline: 8px;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}
.deck__zone--prev { left: 0; justify-items: start; }
.deck__zone--next { right: 0; justify-items: end; }
.deck__zone i {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-md);
  backdrop-filter: blur(6px);
  color: var(--text);
  opacity: 0; transform: translateY(4px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.deck__zone i svg { width: 19px; height: 19px; }
.deck__stage:hover .deck__zone i { opacity: 1; transform: none; }
.deck__zone:hover i { background: var(--green); color: #fff; border-color: var(--green); }

.deck__counter {
  position: absolute; left: 14px; bottom: 14px; z-index: 4;
  font-family: var(--font-en); font-size: 12.5px; letter-spacing: .1em; font-weight: 500;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  padding: 5px 13px; border-radius: 999px; color: var(--text-2);
  pointer-events: none;
}
.deck__counter b { color: var(--orange); font-weight: 700; }

.deck__tools { position: absolute; right: 14px; bottom: 14px; z-index: 4; display: flex; gap: 8px; }
.deck__tool {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  box-shadow: var(--sh-sm); cursor: pointer; color: var(--text-2);
  transition: color .2s, border-color .2s, background-color .2s;
}
.deck__tool svg { width: 16px; height: 16px; }
.deck__tool:hover { color: var(--green); border-color: var(--green-tint2); }
.deck__tool[aria-pressed="true"] { color: #fff; background: var(--orange); border-color: var(--orange); }

.deck__progress { height: 3px; background: var(--surface-2); border-radius: 3px; overflow: hidden; margin-top: 14px; }
.deck__progress span { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--orange)); transition: width .42s var(--ease); }

.deck__thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 6px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.deck__thumbs::-webkit-scrollbar { height: 6px; }
.deck__thumbs::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.deck__thumb {
  flex: none; width: 108px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden;
  border: 1.5px solid var(--line); background: var(--surface-2); cursor: pointer; padding: 0;
  opacity: .62; transition: opacity .25s, border-color .25s, transform .25s;
}
.deck__thumb img { width: 100%; height: 100%; object-fit: contain; }
.deck__thumb:hover { opacity: 1; transform: translateY(-2px); }
.deck__thumb.is-active { opacity: 1; border-color: var(--orange); }

.deck__hint { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.deck__hint kbd {
  font-family: var(--font-en); font-size: 11px; padding: 2px 7px; border-radius: 5px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text-2); margin: 0 2px;
  box-shadow: 0 1px 0 var(--line-strong);
}

/* fullscreen */
.deck.is-fullscreen .deck__frame {
  position: fixed; inset: 0; z-index: 200; border-radius: 0; border: 0;
  background: #fff; box-shadow: none;
  display: flex; flex-direction: column; justify-content: center;
  padding: 20px;
}
.deck.is-fullscreen .deck__stage { max-height: calc(100vh - 40px); }

/* ============================================ サンプル資料のポップアップ */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: clamp(12px, 3vw, 32px);
}
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(12, 24, 18, .62);
  backdrop-filter: blur(3px);
  animation: modalFade .2s var(--ease);
}
.modal__panel {
  position: relative; z-index: 1;
  width: min(100%, 1120px); max-height: 100%;
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(12, 24, 18, .55);
  overflow: hidden;
  animation: modalRise .28s var(--ease);
}
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(14px) scale(.985); } }

.modal__head {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  flex: none;
}
.modal__title { font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.modal__title small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.modal__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.modal__dl {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--green-dark);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px;
  transition: border-color .2s, color .2s;
}
.modal__dl svg { width: 14px; height: 14px; }
.modal__dl:hover { border-color: var(--green); color: var(--green); }
.modal__close {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); cursor: pointer;
  color: var(--text-2); transition: background-color .2s, color .2s, border-color .2s;
}
.modal__close svg { width: 17px; height: 17px; }
.modal__close:hover { background: var(--orange-tint); color: var(--orange-dark); border-color: transparent; }

.modal__body { padding: 14px 16px 18px; overflow-y: auto; }

/* ポップアップ内のスライダーは、枠の中に入るので装飾を最小限にする */
.deck--modal .deck__frame { border: 0; box-shadow: none; padding: 0; background: none; }
.deck--modal .deck__hint { margin-top: 12px; }

@media (max-width: 760px) {
  .modal { padding: 0; }
  .modal__panel { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .modal__body { display: grid; align-content: center; }
  .modal__dl span { display: none; }
  .modal__dl { padding: 7px 10px; }
}

/* ---------------------------------------------------------------- steps */
.steps { display: grid; position: relative; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 0 0 40px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 31px; top: 46px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--green-tint2), var(--line));
}
.step:last-child::before { display: none; }
.step__no {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: #fff; border: 1.5px solid var(--green-tint2); box-shadow: var(--sh-sm);
  font-family: var(--font-en); font-size: 11px; letter-spacing: .1em; color: var(--muted);
  line-height: 1.2; text-align: center;
}
.step__no b { display: block; font-size: 21px; font-weight: 700; color: var(--green); }
.step__body { padding-top: 8px; }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 14.5px; max-width: 62ch; }
.step .tag {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--orange-dark);
  background: var(--orange-tint); padding: 4px 12px; border-radius: 999px; letter-spacing: .05em;
}

/* ---------------------------------------------------------------- works */
/* 実績は件数が増えると縦に長くなるため、見出しだけ並べて詳細は開閉式にしている。
   PCでは2列。タブレット以下は自動で1列に落ちる。 */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; align-items: start; }
@media (min-width: 1001px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }

.work {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--sh-sm); overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.work:hover, .work.is-open { border-color: var(--green-tint2); box-shadow: var(--sh-md); }

.work__head {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: grid; grid-template-columns: 1fr 18px; gap: 6px 14px;
  padding: 20px 22px;
}
.work__cat { grid-column: 1; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--green); }
.work__title { grid-column: 1; font-size: 16.5px; font-weight: 700; line-height: 1.6; color: var(--text); }
.work__head .chev {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  width: 18px; height: 18px; color: var(--muted);
  transition: transform .3s var(--ease), color .3s;
}
.work.is-open .work__head .chev { transform: rotate(180deg); color: var(--green); }

.work__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.work.is-open .work__body { grid-template-rows: 1fr; }
.work__body > div { overflow: hidden; }
.work__inner { padding: 0 22px 22px; display: grid; gap: 12px; }
.work__inner p { font-size: 14px; color: var(--text-2); }
.work__result {
  display: flex; align-items: baseline; gap: 10px;
  padding: 14px 16px; border-radius: 10px;
  background: var(--orange-tint);
}
.work__result b { font-family: var(--font-en); font-size: 30px; font-weight: 700; color: var(--orange-dark); line-height: 1; }
.work__result span { font-size: 13px; color: var(--text-2); }
.work__meta { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* ------------------------------------------------------------- clients */
.client-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; max-width: 900px; margin-inline: auto;
}
.client {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--sh-sm); padding: 24px 20px;
  display: grid; gap: 12px; justify-items: center; text-align: center;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.client:hover { border-color: var(--green-tint2); box-shadow: var(--sh-md); }
.client__logo {
  height: 56px; width: 100%;
  display: grid; place-items: center;
}
.client__logo img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.client__logo--empty {
  border: 1px dashed var(--line-strong); border-radius: 10px;
  color: var(--muted); font-size: 11.5px; letter-spacing: .04em;
}
.client__name { font-size: 13.5px; font-weight: 700; color: var(--text); line-height: 1.5; }
.client__note { font-size: 11.5px; color: var(--muted); }
.client-lead { text-align: center; font-size: 13px; color: var(--muted); margin-top: 22px; }

/* -------------------------------------------------------------- profile */
.profile { display: grid; grid-template-columns: 180px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
/* 顔写真は使わない方針。ロゴを置いた小さめの正方形カードにしている
   （ロゴ原本が正方形なので、枠もそれに合わせる） */
.profile__mark {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 1 / 1; border-radius: var(--radius);
  display: grid; place-items: center; box-shadow: var(--sh-sm);
  background:
    radial-gradient(120% 90% at 50% 100%, var(--green-tint2), transparent 70%),
    linear-gradient(160deg, var(--green-tint), #FFFFFF 60%);
}
.profile__mark img { width: 62%; height: auto; filter: drop-shadow(0 10px 20px rgba(20, 147, 57, .16)); }
.profile h3 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 700; margin-bottom: 6px; }
.profile__role { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: .1em; margin-bottom: 22px; }
.profile p + p { margin-top: 16px; }
.profile p { color: var(--text-2); font-size: 15px; }

.creds { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.creds li {
  font-size: 12.5px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-2); background: #fff;
}
.creds li.is-key { border-color: transparent; color: var(--green-dark); background: var(--green-tint); font-weight: 700; }

/* --------------------------------------------------------------- pricing */
/* プランは4枚。PC幅で1行に並ぶよう最小幅を調整している */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); gap: 16px; align-items: stretch; }
.price {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; display: flex; flex-direction: column; box-shadow: var(--sh-sm);
}
.price.is-featured {
  border: 2px solid var(--green); box-shadow: var(--sh-md);
}
.price__flag {
  position: absolute; top: -12px; left: 28px;
  font-size: 11.5px; letter-spacing: .12em; font-weight: 700;
  background: var(--orange); color: #fff; padding: 4px 14px; border-radius: 999px;
  box-shadow: 0 6px 14px -8px rgba(238, 115, 38, .9);
}
.price h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.price__desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; min-height: 3em; }
.price__amount { font-family: var(--font-en); font-size: 34px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; color: var(--green-dark); }
.price__amount small { font-family: var(--font-ja); font-size: 13px; color: var(--muted); margin-left: 4px; font-weight: 400; }
.price__note { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.price ul { display: grid; gap: 11px; margin-bottom: 28px; }
.price li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text-2); }
.price li::before {
  content: ""; position: absolute; left: 0; top: .46em; width: 14px; height: 14px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.price .btn { margin-top: auto; }
/* ボタンの下に添える小さなリンク（サンプル資料など） */
.price__sample {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: 12.5px; font-weight: 700;
  color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s;
}
.price__sample svg { width: 14px; height: 14px; flex: none; }
.price__sample:hover { color: var(--orange-dark); }
.price-note { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------------- faq */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh-sm); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; font-size: 15.5px; font-weight: 700; line-height: 1.7;
}
.faq__q::before { content: "Q"; font-family: var(--font-en); color: var(--orange); flex: none; font-size: 18px; font-weight: 700; line-height: 1.55; }
.faq__q .chev { margin-left: auto; flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.faq__item.is-open .faq__q .chev { transform: rotate(180deg); color: var(--green); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 24px 24px 58px; color: var(--text-2); font-size: 14.5px; }

/* ------------------------------------------------------------------ cta */
.cta { position: relative; overflow: hidden; }
.cta__box {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--green-tint2);
  background: linear-gradient(135deg, var(--green-tint) 0%, #FFFFFF 75%);
  padding: clamp(34px, 5vw, 56px);
  text-align: center; color: var(--text);
  box-shadow: var(--sh-sm);
}
.cta__box::after {
  content: ""; position: absolute; right: -8%; top: -40%; width: 46%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(238, 115, 38, .1), transparent 65%);
  pointer-events: none;
}
.cta__box h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1.5; margin-bottom: 16px; position: relative; color: var(--text); }
.cta__box p { color: var(--text-2); max-width: 56ch; margin: 0 auto 28px; position: relative; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }

/* ----------------------------------------------------------------- form */
.form { display: grid; gap: 20px; }
.form-title { font-size: clamp(19px, 2.4vw, 23px); font-weight: 700; color: var(--text); }
.form__row { display: grid; gap: 8px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { font-size: 13.5px; font-weight: 700; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.form .req { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 2px 8px; border-radius: 4px; background: var(--orange); color: #fff; }
.form .opt { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--line-strong); color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 16px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px;
  color: var(--text); font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 150px; resize: vertical; line-height: 1.8; }
.form input::placeholder, .form textarea::placeholder { color: #A9B5AF; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint);
}
.form select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B8A83' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.form__consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); font-weight: 400; }
.form__consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--green); }
.form__consent a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.form__error { font-size: 12.5px; color: #C62F2F; min-height: 1px; }
.form__note { font-size: 12.5px; color: var(--muted); text-align: center; }

.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-side { display: grid; gap: 14px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--sh-sm); }
.contact-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.contact-card h4 svg { width: 17px; height: 17px; color: var(--orange); }
.contact-card p { font-size: 13.5px; color: var(--text-2); }
.contact-card a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }

/* --------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .desc { font-size: 13px; color: var(--muted); max-width: 34ch; }
.footer-col h5 { font-size: 12px; letter-spacing: .14em; color: var(--green); margin-bottom: 16px; font-family: var(--font-en); text-transform: uppercase; font-weight: 600; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 13.5px; color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  font-size: 12px; color: var(--muted);
}
.footer-bottom nav { margin-left: auto; display: flex; gap: 20px; }

/* -------------------------------------------- 下層ページ / 記事本文 */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 56px;
  background: linear-gradient(180deg, #F1F9F4, #FFFFFF);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -6%; top: -60%; width: 34%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(238, 115, 38, .12), transparent 66%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; line-height: 1.45; position: relative; }
.page-hero .eyebrow { margin-bottom: 12px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 18px; position: relative; }
.breadcrumb a { color: var(--green-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb li { display: flex; }

.entry { font-size: 15.5px; color: var(--text-2); }
.entry > * + * { margin-top: 1.4em; }
.entry h2 {
  font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--text);
  margin-top: 2.4em; padding-left: 16px; line-height: 1.6; position: relative;
}
.entry h2::before {
  content: ""; position: absolute; left: 0; top: .22em; bottom: .22em; width: 5px;
  border-radius: 3px; background: linear-gradient(180deg, var(--green), var(--orange));
}
.entry h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-top: 2em; line-height: 1.7; }
.entry h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-top: 1.8em; }
.entry a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: var(--orange-dark); }
.entry strong { color: var(--text); font-weight: 700; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: none; padding-left: 0; }
.entry ul > li { position: relative; padding-left: 22px; }
.entry ul > li + li, .entry ol > li + li { margin-top: .6em; }
.entry ul > li::before {
  content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--green-light);
}
.entry ol { list-style: decimal; }
.entry ol > li::marker { color: var(--green); font-weight: 700; }
.entry blockquote {
  border-left: 3px solid var(--green-tint2); background: var(--bg-2);
  padding: 18px 22px; border-radius: 0 10px 10px 0; color: var(--text-2);
}
.entry table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.entry th { background: var(--surface-2); font-weight: 700; color: var(--text); white-space: nowrap; }
.entry img { border-radius: 10px; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.entry code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .92em; }
.entry dl { display: grid; }
.entry dt { font-weight: 700; color: var(--text); margin-top: 1.2em; }
.entry dd { margin-left: 0; }

/* 送信完了 */
.result-box {
  max-width: 660px; margin-inline: auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 60px); box-shadow: var(--sh-md);
}
.result-box__icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 26px;
  display: grid; place-items: center; background: var(--green-tint); color: var(--green-dark);
}
.result-box__icon svg { width: 34px; height: 34px; }
.result-box h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-bottom: 16px; line-height: 1.5; }
.result-box p { color: var(--text-2); font-size: 15px; }
.result-box p + p { margin-top: 14px; }
.result-box .btn { margin-top: 32px; }

/* WordPress 標準クラス */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.alignleft  { float: left;  margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry .wp-block-image figcaption { font-size: 12.5px; color: var(--muted); text-align: center; }

/* --------------------------------------------------- scroll animations */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- mobile */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__lead { max-width: none; }

  /* 狭い画面ではグラフが場所を取りすぎるので、カードとしては置かず
     背景の装飾として薄く敷く。枠・KPI は落として線だけ残す。
     実績の数字に線が重ならないよう、ボタンの高さあたりまで持ち上げている
     （ボタンの背面に入る分は隠れて構わない）。 */
  .hero__copy { position: relative; z-index: 1; }
  .hero__visual {
    position: absolute; left: -5%; right: -5%; bottom: 150px;
    z-index: 0; pointer-events: none;
    max-width: none; width: auto; margin: 0;
    opacity: .12;   /* うっすら気配が残る程度。濃くしたいときはここを上げる */
    /* 上端をフェードさせて、本文にかかる部分をさらに薄くする */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  }
  .hero__visual .dash { background: none; border: 0; box-shadow: none; padding: 0; }
  .hero__visual .dash__top,
  .hero__visual .dash__kpis { display: none; }
  .hero__visual .dash__chart svg { width: 100%; height: 170px; }

  /* ドーナツグラフと棒グラフを添えて、ひと目で「分析」と分かるようにする */
  .hero__deco {
    display: block;
    opacity: .22;
    background-repeat: no-repeat, no-repeat;
    background-position: right -18px top 30%, right 14px bottom 26px;
    background-size: 116px 116px, 96px 64px;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='34' fill='none' stroke='%231A9339' stroke-opacity='.3' stroke-width='26'/%3E%3Ccircle cx='50' cy='50' r='34' fill='none' stroke='%231A9339' stroke-width='26' stroke-dasharray='118 96' transform='rotate(-90 50 50)'/%3E%3Ccircle cx='50' cy='50' r='34' fill='none' stroke='%23EE7326' stroke-width='26' stroke-dasharray='45 169' stroke-dashoffset='-118' transform='rotate(-90 50 50)'/%3E%3C/svg%3E"),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Crect x='2' y='48' width='18' height='32' rx='3' fill='%231A9339'/%3E%3Crect x='27' y='34' width='18' height='46' rx='3' fill='%231A9339'/%3E%3Crect x='52' y='41' width='18' height='39' rx='3' fill='%231A9339'/%3E%3Crect x='77' y='20' width='18' height='60' rx='3' fill='%231A9339'/%3E%3Crect x='102' y='6' width='16' height='74' rx='3' fill='%23EE7326'/%3E%3C/svg%3E");
  }
  .profile { grid-template-columns: 1fr; }
  .profile__mark { max-width: 160px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* ナビは項目数が多く、タブレット幅では1行に収まらず折り返してしまう。
     この幅から先はハンバーガーメニューに切り替える。 */
  .only-mobile { display: block; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    padding: 8px 20px 26px;
    display: none;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav li { border-bottom: 1px solid var(--line); }
  .gnav li.only-mobile { border-bottom: 0; }
  .gnav a { display: block; padding: 15px 4px; font-size: 15px; color: var(--text); }
  .gnav a::after { display: none; }
  /* .gnav a の色・余白指定より優先させて、ボタン本来の見た目（白文字・横余白）に戻す */
  .gnav .btn { display: inline-flex; margin-top: 18px; width: 100%; padding: 15px 20px; color: #fff; }
  .gnav .btn--ghost { color: var(--text); }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .shell, .shell--narrow { width: min(100% - 32px, var(--shell)); }

  .sp-only { display: inline; }

  .reason { grid-template-columns: 1fr; gap: 10px; }
  .step { grid-template-columns: 48px 1fr; gap: 18px; }
  .step__no { width: 48px; height: 48px; font-size: 9.5px; }
  .step__no b { font-size: 17px; }
  .step::before { left: 23px; top: 36px; }
  .form__row--2 { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom nav { margin-left: 0; width: 100%; }

  .deck__frame { padding: 10px; }
  /* スマホは画面が狭く、常時表示だと矢印がスライドの本文に重なってしまう。
     タップ領域は残したまま矢印だけ隠し、送りはタップ / スワイプに任せる
     （操作方法はスライド下のヒントに書いてある）。 */
  .deck__zone { width: 34%; }
  .deck__zone i { display: none; }
  .deck__thumbs { display: none; }
  .hero__stats { gap: 14px 26px; }
  .hero__stats dd { font-size: 23px; }
}
