/* ========== brand tokens =========
   colors: kk-santo.com 準拠
   typography rhythm: honeyee.com 準拠 (white-heavy editorial)
*/
:root {
  --c-accent: #3AA1E2;        /* メインブルー */
  --c-accent-dark: #014986;   /* 濃紺 */
  --c-btn: #008BFF;           /* ボタンブルー */
  --c-orange: #F39701;        /* アクセントオレンジ */
  --c-green: #A0C345;         /* サブグリーン */

  /* honeyee 由来のテキスト/UI階調 */
  --c-text: #232323;
  --c-text-2: #646464;
  --c-text-3: #787878;
  --c-text-4: #aaaaaa;
  --c-line: #d9d9d9;
  --c-line-soft: #ececec;
  --c-bg: #ffffff;
  --c-bg-tint: #f5f5f5;
  --c-bg-tint-blue: #f7fbfd;

  --font-default: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Noto Sans JP", "Meiryo", sans-serif;
  --font-display: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-en: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-en-display: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700;800&display=swap');

/* ========== reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font-default);
  color: var(--c-text);
  background: #fff;
  line-height: 1.85;
  font-weight: 400;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
a { color: inherit; text-decoration: none; transition: opacity .15s ease, color .15s ease; }
a:hover { opacity: .65; }
img { max-width: 100%; display: block; }

/* ========== utility ========== */
.label-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.label-en.accent { color: var(--c-accent); }

/* ========== layout (designed for 1536px PC default) ========== */
.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ========== header ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-line-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 80px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
.site-header-inner > .logo { margin-right: auto; }
.site-header-inner > .nav { margin-right: 24px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.logo:hover { opacity: .8; }
.logo-badge {
  font-size: 10px;
  background: var(--c-text);
  color: #fff;
  padding: 3px 10px;
  letter-spacing: 0.2em;
  font-family: var(--font-en);
  font-weight: 500;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 1;
  flex-wrap: nowrap;
}
.nav a {
  color: var(--c-text);
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 1px solid var(--c-line);
  transition: border-color .15s ease, color .15s ease;
}
.nav a:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); opacity: 1; }

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.06em;
}
.btn-google:hover { border-color: var(--c-text); opacity: 1; }
.btn-google svg { width: 16px; height: 16px; }

/* 査定 primary CTA — kk-santo orange (ピル形) */
.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-orange);
  color: #fff;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.btn-quote::after { content: "→"; font-weight: 400; }
.btn-quote:hover { background: #c87b00; opacity: 1; color: #fff; }
.btn-quote.lg { padding: 16px 36px; font-size: 13px; letter-spacing: 0.18em; }
.btn-quote.sm { padding: 8px 16px; font-size: 11px; }

/* ========== hamburger / mobile menu ========== */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--c-text);
  margin: 6px auto;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
  padding: 16px 24px 24px;
  z-index: 9;
}
.mobile-menu.active { display: block; }
.mobile-menu .btn-google {
  width: 100%;
  justify-content: center;
  padding: 14px;
  margin-bottom: 4px;
  font-size: 13px;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
}
.mobile-menu nav a {
  padding: 18px 4px;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.06em;
}
.mobile-menu nav a:last-child { border-bottom: none; }
.mobile-menu nav a::after { content: "→"; color: var(--c-text-4); font-weight: 300; }

/* ========== hero (editorial) ========== */
.hero {
  position: relative;
  padding: 140px 0 200px;
  border-bottom: none;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.55) 100%),
    url('hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
.hero .label-en { margin-bottom: 28px; display: block; }
.hero .label-en.accent { color: var(--c-orange); }
.hero h1 {
  font-family: var(--font-display);
  font-size: 50px;
  margin: 0 0 20px;
  letter-spacing: 0;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  max-width: 1100px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.92);
  margin: 0;
  letter-spacing: 0.04em;
  max-width: 640px;
  line-height: 1.95;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
/* ===== straddle form: spans hero and concept boundary ===== */
.straddle-form {
  position: relative;
  z-index: 3;
  margin-top: -140px;     /* pull up into hero */
  margin-bottom: -60px;   /* push down into concept */
  padding: 0 48px;
}
.straddle-inner {
  max-width: 1344px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  padding: 36px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  border-top: 4px solid #4296D8;
  border-radius: 20px;
}
.straddle-head {
  padding-right: 24px;
  border-right: 1px solid var(--c-line);
}
.straddle-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #4296D8;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.straddle-head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.straddle-head p.sub {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #4296D8;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.straddle-head p {
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 1.85;
  margin: 0;
  letter-spacing: 0.04em;
}
/* wizard inside straddle — no extra border/bg */
.straddle-form .wizard {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}
.straddle-form .wizard-step .q-num {
  font-size: 11px;
  margin-bottom: 10px;
}
.straddle-form .wizard-step .q-text {
  font-size: 18px;
  margin: 0 0 20px;
}

/* form card on hero — translucent so the photo shows through */
.hero-form {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 28px 26px 22px;
  color: var(--c-text);
}
.hero-form-head {
  text-align: center;
  margin-bottom: 18px;
}
.hero-form-eyebrow {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #4296D8;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-form-head h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-text);
  margin: 0;
  line-height: 1.4;
}

/* override wizard to fit compact card style */
.hero-form .wizard {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}
.hero-form .wizard-step .q-num {
  font-size: 10px;
  margin-bottom: 8px;
}
.hero-form .wizard-step .q-text {
  font-size: 17px;
  margin: 0 0 18px;
}
.hero-form .q-options .opt {
  padding: 16px 14px;
  font-size: 13px;
}
.hero-form .wizard-actions {
  margin-top: 18px;
  padding-top: 14px;
}

/* ========== concept ========== */
.concept {
  padding: 160px 0 96px;
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.20) 15%,
      rgba(255,255,255,0.20) 100%
    ),
    url("concept-bg.jpeg") center/cover no-repeat;
  border-bottom: 1px solid var(--c-line-soft);
}
.concept-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.concept p,
.concept p.lead,
.concept p.quotes,
.concept p.close {
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 16px rgba(255, 255, 255, 0.85),
    0 0 24px rgba(255, 255, 255, 0.6);
}
.concept .label-en { display: block; margin-bottom: 24px; }
.concept p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--c-text);
  margin: 0 0 26px;
  letter-spacing: 0.04em;
}
.concept p.lead {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #4296D8;
  margin-bottom: 36px;
}
.concept p strong { color: var(--c-text); font-weight: 700; }
.concept p.close,
.concept p.quotes {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.85;
}
.concept p.close { margin-top: 32px; }

/* PC only: copy on left, figure on right */
@media (min-width: 1024px) {
  .concept {
    background:
      linear-gradient(
        to bottom,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.20) 15%,
        rgba(255,255,255,0.20) 100%
      ),
      linear-gradient(
        to right,
        rgba(255,255,255,0.55) 0%,
        rgba(255,255,255,0.55) 40%,
        rgba(255,255,255,0) 60%
      ),
      url("concept-bg.jpeg") 20% center/cover no-repeat;
  }
  .concept-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
  }
  .concept-inner > * {
    max-width: 620px;
  }
}
.concept .cta-row { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.concept .cta-row .note {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--c-text-3);
  letter-spacing: 0.18em;
}

/* ========== service band ========== */
.service-band {
  background: #4296D8;
  color: #fff;
  padding: 88px 0;
}
.service-band-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-band .label-en { color: var(--c-orange); display: block; margin-bottom: 20px; }
.service-band h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
  margin: 0 0 22px;
  color: #fff;
}
.service-band p {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.95;
  margin: 0 0 32px;
  letter-spacing: 0.04em;
}
.service-band .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-band .stat {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  background: rgba(255,255,255,0.06);
}
.service-band .stat .num {
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.service-band .stat .num small {
  font-size: 14px;
  letter-spacing: 0;
  margin-left: 2px;
}
.service-band .stat .label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-en);
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  display: block;
  margin-top: 4px;
}
.service-band .stat .ja {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
  display: block;
}

/* ========== final CTA section (before footer) ========== */
.final-cta {
  padding: 88px 0;
  background: var(--c-bg-tint);
  text-align: center;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.final-cta .label-en { color: var(--c-orange); display: block; margin-bottom: 16px; }
.final-cta h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
  margin: 0 0 16px;
  color: var(--c-text);
}
.final-cta p {
  color: var(--c-text-2);
  font-size: 14px;
  margin: 0 0 32px;
  line-height: 1.95;
}
.final-cta .note {
  margin-top: 16px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-text-3);
  text-transform: uppercase;
}

/* ========== quote wizard form ========== */
.quote-form {
  padding: 96px 0;
  background:
    linear-gradient(rgba(1, 73, 134, 0.72), rgba(1, 73, 134, 0.72)),
    url("quote-form-bg.jpeg") center/cover no-repeat;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.quote-form > .quote-form-inner > h2 { color: #fff !important; }
.quote-form > .quote-form-inner > p.sub { color: #d6ecff !important; }
.quote-form > .quote-form-inner > p { color: rgba(255,255,255,0.85) !important; }
.quote-form .usp-strip { color: rgba(255,255,255,0.9); border-top-color: rgba(255,255,255,0.35); }
.quote-form .usp-strip span b { color: #ffd66b; }
.quote-form-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.quote-form .label-en { color: var(--c-orange); display: block; margin-bottom: 16px; text-align: center; }
.quote-form > .quote-form-inner > h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--c-text);
  text-align: center;
}
.quote-form > .quote-form-inner > p.sub {
  text-align: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #4296D8;
  margin: 0 0 18px;
  letter-spacing: 0.04em;
}
.quote-form > .quote-form-inner > p {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-2);
  margin: 0 0 40px;
  letter-spacing: 0.05em;
  line-height: 1.85;
}

.wizard {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  padding: 40px 36px 32px;
  position: relative;
}
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line-soft);
}
.wizard-progress .bar {
  flex: 1;
  height: 2px;
  background: var(--c-line);
  position: relative;
}
.wizard-progress .bar .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #4296D8;
  transition: width .35s ease;
}
.wizard-progress .counter {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--c-text-3);
}
.wizard-progress .counter b { color: var(--c-text); font-weight: 700; }

.wizard-step {
  display: none;
  animation: wiz-fade .25s ease;
}
.wizard-step.active { display: block; }
@keyframes wiz-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.wizard-step .q-num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #4296D8;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.wizard-step .q-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 28px;
  line-height: 1.55;
  color: var(--c-text);
}
.q-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.q-options.three { grid-template-columns: repeat(3, 1fr); }
.q-options.one { grid-template-columns: 1fr; }
.q-options .opt {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 22px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
  text-align: center;
  transition: all .15s ease;
  line-height: 1.5;
}
.q-options .opt:hover {
  border-color: #4296D8;
  background: #f0f7fd;
  transform: translateY(-1px);
}
.q-options .opt.selected {
  border-color: #4296D8;
  background: #4296D8;
  color: #fff;
}

.q-select {
  width: 100%;
  padding: 18px 20px;
  font-size: 15px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  color: var(--c-text);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232323' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  cursor: pointer;
}
.q-email {
  width: 100%;
  padding: 18px 20px;
  font-size: 16px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  color: var(--c-text);
  letter-spacing: 0.04em;
}
.q-email:focus, .q-select:focus { outline: none; border-color: #4296D8; }

/* 郵便番号入力 */
.zip-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.q-zip {
  flex: 0 0 220px;
  padding: 18px 20px;
  font-size: 18px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  outline: none;
  color: var(--c-text);
}
.q-zip:focus { border-color: #4296D8; }
.zip-resolved {
  flex: 1 1 240px;
  font-size: 14px;
  color: var(--c-text);
  letter-spacing: 0.02em;
  line-height: 1.6;
  min-height: 1.6em;
}
.zip-resolved.error { color: #c00; }
.zip-resolved:empty::before {
  content: "7桁入力すると市区町村・町名まで住所を自動取得いたします";
  color: var(--c-text-3);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line-soft);
}
.wizard-actions .back-btn {
  background: none;
  border: none;
  color: var(--c-text-3);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 0;
}
.wizard-actions .back-btn:hover { color: var(--c-text); }
.wizard-actions .back-btn[disabled] { opacity: 0.3; cursor: not-allowed; }

.wizard-step .submit-btn {
  margin-top: 16px;
  width: 100%;
  background: #4296D8;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
  font-family: inherit;
}
.wizard-step .submit-btn:hover { background: #2c7bb8; }
.wizard-step .submit-btn::after { content: " →"; }

.wizard-step .privacy {
  margin-top: 12px;
  font-size: 11px;
  color: var(--c-text-3);
  letter-spacing: 0.04em;
  text-align: center;
}
.wizard-step .privacy a { border-bottom: 1px solid var(--c-line); }

.wizard-done {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.wizard-done.active { display: block; animation: wiz-fade .3s ease; }
.wizard-done .check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #4296D8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
}
.wizard-done h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--c-text);
}
.wizard-done p {
  font-size: 14px;
  color: var(--c-text-2);
  margin: 0 0 8px;
  line-height: 1.85;
}
.wizard-done .small {
  font-size: 12px;
  color: var(--c-text-3);
  margin-top: 16px;
}

.usp-strip {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--c-line);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-text-3);
  text-transform: uppercase;
}
.usp-strip span b { color: #4296D8; margin-right: 6px; font-weight: 700; }

/* ========== inline CTA (article body) ========== */
.inline-cta {
  background: var(--c-bg-tint);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 48px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.inline-cta .label-en { color: var(--c-orange); display: block; margin-bottom: 8px; }
.inline-cta h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1.5;
}
.inline-cta p {
  margin: 0;
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 1.75;
}

/* ========== bottom sticky CTA bar (article mobile) ========== */
.bottom-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  padding: 12px 14px;
  z-index: 50;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bottom-cta-bar .text {
  font-size: 11px;
  line-height: 1.5;
  color: var(--c-text-2);
  flex: 1;
}
.bottom-cta-bar .text b {
  color: var(--c-text);
  font-weight: 700;
  font-size: 13px;
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.bottom-cta-bar .btn-quote { padding: 12px 18px; font-size: 11px; flex-shrink: 0; }

/* ========== section ========== */
.section { padding: 88px 0; }
.section-tinted { background: var(--c-bg-tint); }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 40px;
}
.section-head > div:first-child { flex-shrink: 0; }
.archive-section .section-head { justify-content: flex-start; }
.archive-section .section-head .category-tabs { justify-content: flex-start; margin: 0; }
.section-head .label-en { display: block; margin-bottom: 6px; color: var(--c-text-3); }
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.section-head .more {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text);
  font-weight: 500;
  white-space: nowrap;
}
.section-head .more:hover { color: var(--c-accent); }

/* カテゴリ切替タブ */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  flex: 1;
  justify-content: center;
  margin: 0 24px;
}
.category-tabs .cat-tab {
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-text-2);
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.category-tabs .cat-tab:hover { border-color: var(--c-text); color: var(--c-text); }
.category-tabs .cat-tab.active {
  background: var(--c-text);
  color: #fff;
  border-color: var(--c-text);
}

/* ========== theme list (editorial bordered) ========== */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
.theme-card {
  display: block;
  padding: 36px 24px 28px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-text);
  position: relative;
  transition: background .2s ease;
  min-height: 200px;
}
.theme-card:hover { background: var(--c-bg-tint); opacity: 1; }
.theme-card .num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--c-text-3);
  margin-bottom: 18px;
  display: block;
}
.theme-card .name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}
.theme-card .count {
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--c-text-4);
  font-weight: 500;
}
.theme-card .accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.theme-card:hover .accent-bar { transform: scaleX(1); }
.theme-card.tc-1 .accent-bar { background: var(--c-accent); }
.theme-card.tc-2 .accent-bar { background: #B05151; }
.theme-card.tc-3 .accent-bar { background: var(--c-green); }
.theme-card.tc-4 .accent-bar { background: var(--c-orange); }
.theme-card.tc-5 .accent-bar { background: #5A6E8C; }

/* ========== article cards (editorial) ========== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
}
.article-card {
  display: block;
  background: transparent;
  color: var(--c-text);
  border: none;
}
.article-card:hover { opacity: 1; }
.article-card .thumb {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 24px;
  font-size: 16px;
  line-height: 1.55;
  position: relative;
  font-family: var(--font-display);
  overflow: hidden;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  border-radius: 16px;
}
.article-card .thumb img,
.article-card .thumb > .ph {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: transform .4s ease;
}
.article-card:hover .thumb > .ph { transform: scale(1.04); }
.article-card .thumb .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.96);
  color: var(--c-text);
  padding: 4px 12px;
  font-size: 10px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 1;
  border-radius: 999px;
}
.article-card .meta-top {
  display: flex;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 10px;
  font-weight: 500;
}
.article-card .meta-top .cat { color: var(--c-text); }
.article-card .title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.55;
  color: var(--c-text);
  letter-spacing: 0.01em;
}
.article-card:hover .title { color: var(--c-accent); }
.article-card .excerpt {
  font-size: 13px;
  color: var(--c-text-2);
  margin: 0 0 12px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .meta-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--c-text-3);
  font-family: var(--font-en);
  letter-spacing: 0.1em;
}
.stars { color: var(--c-orange); letter-spacing: 1px; font-size: 12px; font-family: var(--font-default); }

/* テーマ別サムネ背景は廃止 — 実写真を入れる想定。
   写真未設定の場合のフォールバックとしてニュートラルなグレー単色を使う */
.article-card .thumb {
  background: #e5e5e5;
  color: var(--c-text-3);
  transition: transform .4s ease;
}
.article-card:hover .thumb { transform: scale(1.02); }
.article-card .thumb .ph {
  color: rgba(35,35,35,0.55);
  font-weight: 500;
}
.article-card .thumb .badge {
  background: rgba(255,255,255,0.96);
  color: var(--c-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.tc-1 .badge, .tc-2 .badge, .tc-3 .badge, .tc-4 .badge, .tc-5 .badge {
  background: rgba(255,255,255,0.96);
  color: var(--c-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.tc-1, .tc-2, .tc-3, .tc-4, .tc-5 { background: #e5e5e5; }

/* ========== article detail ========== */
.article-hero { background: #fff; padding: 56px 0 40px; }
.article-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-eyebrow {
  display: flex;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 20px;
}
.article-eyebrow .cat { color: var(--c-accent); }
.article-hero h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--c-text);
  margin: 0 0 28px;
}
.cover {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: #fff;
  margin: 32px 0 0;
  font-family: var(--font-display);
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.cover .label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
  background: rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.article-body {
  max-width: 720px;
  margin: 56px auto 200px;
  padding: 0 24px;
  font-size: 16px;
  line-height: 2;
  color: var(--c-text);
  letter-spacing: 0.04em;
}
@media (max-width: 1023px) {
  .article-body { margin-bottom: 100px; }
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 64px 0 20px;
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1.5;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 12px;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--c-text);
}
.article-body p { margin: 0 0 24px; }
.article-body strong { color: var(--c-text); font-weight: 700; }
.article-body ul { padding-left: 24px; margin: 0 0 24px; }
.article-body li { margin-bottom: 10px; }
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.article-body figure { margin: 32px 0; text-align: center; }
.article-body figure img { margin: 0 auto 8px; }
.article-body figcaption { font-size: 12px; color: var(--c-text-3); letter-spacing: 0.04em; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}
.article-body th, .article-body td {
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  letter-spacing: 0.02em;
}
.article-body th {
  background: transparent;
  font-weight: 600;
  color: var(--c-text-3);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-text);
}
.article-body blockquote {
  border-left: none;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 24px 0;
  color: var(--c-text);
  background: transparent;
  margin: 36px 0;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.85;
  font-family: var(--font-display);
}
.cta-box {
  background: var(--c-bg-tint);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 32px 32px;
  margin: 48px 0;
}
.cta-box .label-en { display: block; margin-bottom: 12px; color: var(--c-accent); }
.cta-box h3 {
  margin: 0 0 12px;
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.cta-box p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--c-text-2);
  line-height: 1.85;
}
.cta-box .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--c-text);
  color: #fff;
  padding: 14px 32px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-en);
  border-radius: 999px;
}
.cta-box .btn:hover { background: var(--c-accent-dark); opacity: 1; }
.cta-box .btn::after { content: "→"; }

/* ========== rating ========== */
.rating-box {
  border: 1px solid var(--c-line);
  border-radius: 16px;
  background: #fff;
  padding: 36px;
  margin: 64px auto 24px;
  text-align: center;
  max-width: 720px;
}
.rating-box .label-en { display: block; margin-bottom: 12px; }
.rating-box h3 {
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--c-text);
  font-family: var(--font-display);
  letter-spacing: 0;
  font-weight: 700;
}
.rating-stars-input {
  display: inline-flex;
  gap: 10px;
  font-size: 36px;
  cursor: pointer;
  color: var(--c-line);
}
.rating-stars-input span:hover,
.rating-stars-input span:hover ~ span { color: inherit; }
.rating-stars-input span.active { color: var(--c-orange); }
.rating-summary {
  margin-top: 16px;
  font-size: 11px;
  color: var(--c-text-3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-en);
}

/* ========== comments ========== */
.comments {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
}
.comments h3 {
  margin: 0 0 24px;
  font-size: 12px;
  color: var(--c-text-3);
  font-family: var(--font-en);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-text);
}
.comment-item {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line-soft);
}
.comment-item:last-child { border-bottom: none; }
.avatar {
  width: 40px;
  height: 40px;
  background: var(--c-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  flex-shrink: 0;
  font-family: var(--font-en);
  border-radius: 50%;
  font-size: 14px;
}
.comment-body { flex: 1; }
.comment-name { font-weight: 700; font-size: 14px; }
.comment-date {
  font-size: 11px;
  color: var(--c-text-3);
  margin-left: 12px;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
}
.comment-text { margin: 8px 0 6px; font-size: 14px; line-height: 1.85; color: var(--c-text-2); }
.comment-stars { font-size: 11px; color: var(--c-orange); letter-spacing: 1px; }
.login-prompt {
  text-align: center;
  padding: 24px;
  background: var(--c-bg-tint);
  border-radius: 12px;
  color: var(--c-text-2);
  font-size: 13px;
  margin-top: 24px;
  letter-spacing: 0.04em;
}
.login-prompt b { color: var(--c-text); font-weight: 700; }

/* ========== footer ========== */
.site-footer {
  background: #fff;
  color: var(--c-text);
  padding: 56px 0 32px;
  margin-top: 96px;
  font-size: 12px;
}
.santo-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
}
.santo-block .santo-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-text-3);
  font-weight: 500;
  font-family: var(--font-default);
}
.santo-block .santo-head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.santo-block .santo-logo {
  height: 30px;
  width: auto;
  flex-shrink: 0;
}
.santo-block .santo-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-text);
}
.santo-block .santo-info {
  font-size: 13px;
  line-height: 2;
  color: var(--c-text-2);
  letter-spacing: 0.04em;
}
.santo-block .santo-info .tel {
  font-family: var(--font-en);
  letter-spacing: 0.04em;
  color: var(--c-text);
}
.santo-block .santo-info .tel b {
  font-family: var(--font-default);
  font-weight: 700;
  margin-right: 4px;
}
.site-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 80px;
}
.site-footer .brand {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--c-text);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.site-footer .operator {
  font-size: 12px;
  color: var(--c-text-3);
}
.site-footer .operator a { color: var(--c-accent); border-bottom: 1px solid var(--c-line); }
.site-footer .operator a:hover { border-color: var(--c-accent); opacity: 1; }
.site-footer .copyright {
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--c-text-3);
  margin-top: 32px;
  text-align: center;
  width: 100%;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.site-footer .right-block {
  font-size: 12px;
  color: var(--c-text-3);
  line-height: 1.9;
}
.site-footer .right-block a {
  color: var(--c-text-2);
  border-bottom: 1px solid transparent;
}
.site-footer .right-block a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
  opacity: 1;
}

/* フッタサイトマップ (2カラム) */
.footer-sitemap {
  display: flex;
  gap: 56px;
}
.footer-sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 2;
}
.footer-sitemap li::before {
  content: "›";
  margin-right: 6px;
  color: var(--c-text-3);
  font-weight: 400;
}
.footer-sitemap a {
  color: var(--c-text-2);
  display: inline-block;
  letter-spacing: 0.04em;
}
.footer-sitemap a:hover {
  color: var(--c-accent);
  opacity: 1;
}

/* ========== admin ========== */
.admin-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: calc(100vh - 76px);
}
.admin-sidebar {
  background: #fff;
  border-right: 1px solid var(--c-line-soft);
  padding: 24px 18px;
  overflow-y: auto;
}
.admin-sidebar h3 {
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin: 8px 8px 16px;
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
}
.draft-item {
  padding: 14px 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 4px;
  border-left: 2px solid transparent;
}
.draft-item:hover { background: var(--c-bg-tint); }
.draft-item.active {
  background: var(--c-bg-tint-blue);
  border-left-color: var(--c-accent);
}
.draft-item .draft-title {
  font-weight: 700;
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.6;
}
.draft-item .draft-cat {
  font-size: 10px;
  color: var(--c-text-3);
  margin-top: 6px;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}
.draft-item .draft-date {
  font-size: 10px;
  color: var(--c-text-4);
  margin-top: 4px;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
}

.editor {
  background: #fff;
  padding: 64px 64px 140px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
.editor input.title-input {
  width: 100%;
  font-size: 36px;
  font-weight: 700;
  border: none;
  outline: none;
  padding: 8px 0;
  font-family: var(--font-display);
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.editor input.title-input::placeholder { color: var(--c-line); }
.editor .cover-upload {
  margin: 32px 0;
  border: 1px dashed var(--c-line);
  padding: 48px;
  text-align: center;
  color: var(--c-text-3);
  font-size: 13px;
  cursor: pointer;
  background: var(--c-bg-tint);
  letter-spacing: 0.04em;
}
.editor .cover-upload:hover { border-color: var(--c-text); color: var(--c-text); }
.editor .block {
  position: relative;
  padding: 8px 0;
  font-size: 16px;
  line-height: 2;
  outline: none;
  letter-spacing: 0.04em;
  color: var(--c-text);
}
.editor .block:hover .block-handle { opacity: 1; }
.editor .block-handle {
  position: absolute;
  left: -32px;
  top: 12px;
  font-size: 14px;
  color: var(--c-line);
  opacity: 0;
  transition: opacity .1s;
  cursor: grab;
}
.editor h2.block {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-line);
  padding: 0 0 12px;
  letter-spacing: -0.01em;
}
.editor .toolbar {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 5;
}
.editor .toolbar button {
  background: none;
  border: none;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  color: var(--c-text-2);
  font-family: inherit;
  letter-spacing: 0.04em;
}
.editor .toolbar button:hover { background: var(--c-bg-tint); color: var(--c-text); }
.editor .toolbar button.primary {
  background: var(--c-text);
  color: #fff;
  font-weight: 500;
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 8px 18px;
}
.editor .toolbar button.primary:hover { background: var(--c-accent-dark); color: #fff; }

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #fff;
  border-bottom: 1px solid var(--c-line-soft);
}
.admin-topbar .breadcrumb {
  font-size: 11px;
  color: var(--c-text-3);
  letter-spacing: 0.15em;
  font-family: var(--font-en);
  text-transform: uppercase;
}
.admin-topbar .breadcrumb b {
  color: var(--c-text);
  font-family: var(--font-default);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}
.admin-topbar .actions { display: flex; gap: 8px; }
.admin-topbar button {
  background: none;
  border: 1px solid var(--c-line);
  padding: 7px 16px;
  font-size: 11px;
  cursor: pointer;
  color: var(--c-text);
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.admin-topbar button:hover { border-color: var(--c-text); }
.admin-topbar button.publish {
  background: var(--c-text);
  color: #fff;
  border-color: var(--c-text);
  font-weight: 500;
}
.admin-topbar button.publish:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #fff; }

/* ========== Akiちゃん FAB (Custom GPT への直リンク) ========== */
.chat-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFE600;
  color: #232323;
  text-decoration: none;
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  font-family: var(--font-default);
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(255, 200, 0, 0.45), 0 2px 6px rgba(0,0,0,0.08);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
body[data-page="article"] .chat-fab { bottom: 80px; }
.chat-fab:hover {
  background: #FFF033;
  transform: translateY(-2px);
  opacity: 1;
  color: #232323;
  box-shadow: 0 12px 28px rgba(255, 200, 0, 0.55), 0 4px 8px rgba(0,0,0,0.10);
}
.chat-fab .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.chat-fab .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.chat-fab .text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
}
.chat-fab .text small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 0.18em;
  margin-bottom: 3px;
  font-family: var(--font-en);
  text-transform: uppercase;
  color: #555;
}
.chat-fab .pulse {
  position: absolute;
  top: 12px;
  left: 46px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF4D4D;
  border: 2px solid #FFE600;
  z-index: 1;
}

@media (max-width: 1023px) {
  .chat-fab {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px 10px 12px;
    gap: 10px;
    max-width: calc(100vw - 32px);
  }
  body[data-page="article"] .chat-fab { bottom: 76px; right: 12px; }
  .chat-fab .icon { width: 38px; height: 38px; }
  .chat-fab .text { font-size: 12px; line-height: 1.35; }
  .chat-fab .text small { font-size: 8px; letter-spacing: 0.18em; margin-bottom: 2px; }
  .chat-fab .pulse { top: 8px; left: 40px; }
}

/* ========== FAQ ========== */
.faq-page {
  max-width: 880px;
  margin: 32px auto 96px;
  padding: 0 24px;
}
.faq-intro {
  font-size: 15px;
  line-height: 2;
  color: var(--c-text-2);
  letter-spacing: 0.04em;
  margin: 0 0 48px;
}
.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 48px;
  padding: 20px 24px;
  background: #f6f8fb;
  border-radius: 8px;
}
.faq-toc a {
  font-family: var(--font-en), var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-text);
  text-decoration: none;
  transition: all .15s ease;
}
.faq-toc a:hover {
  background: #4296D8;
  color: #fff;
  border-color: #4296D8;
}
.faq-cat {
  margin: 0 0 48px;
  scroll-margin-top: 80px;
}
.faq-cat-head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #4296D8;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4296D8;
}
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-item[open] {
  background: #fafbfd;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 48px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-text);
  letter-spacing: 0.02em;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 12px;
  top: 22px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4296D8;
  color: #fff;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  color: #4296D8;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  transition: all .15s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: #4296D8;
  color: #fff;
  border-color: #4296D8;
}
.faq-item summary:hover { background: #f6f8fb; }
.faq-answer {
  position: relative;
  padding: 0 24px 26px 48px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--c-text-2);
  letter-spacing: 0.04em;
}
.faq-answer::before {
  content: "A";
  position: absolute;
  left: 12px;
  top: 2px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #4296D8;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid #4296D8;
  border-radius: 50%;
}
.faq-cta {
  margin: 64px 0 0;
  padding: 40px 32px;
  background: linear-gradient(135deg, #4296D8 0%, #2A7FC0 100%);
  border-radius: 12px;
  color: #fff;
  text-align: center;
}
.faq-cta h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.faq-cta p {
  font-size: 13.5px;
  line-height: 1.85;
  margin: 0 0 20px;
  opacity: 0.95;
  letter-spacing: 0.04em;
}
.faq-cta .btn-quote {
  background: #fff;
  color: #4296D8;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.04em;
}
.faq-cta .btn-quote:hover { background: #f0f4f8; }

@media (max-width: 1023px) {
  .faq-page { margin: 24px auto 64px; padding: 0 16px; }
  .faq-toc { padding: 16px; gap: 6px; }
  .faq-toc a { font-size: 11px; padding: 6px 10px; }
  .faq-cat-head { font-size: 18px; }
  .faq-item summary { font-size: 14.5px; padding: 18px 48px 18px 44px; }
  .faq-item summary::before { left: 8px; top: 18px; width: 24px; height: 24px; font-size: 12px; }
  .faq-item summary::after { right: 12px; width: 24px; height: 24px; font-size: 18px; }
  .faq-answer { font-size: 13.5px; padding: 0 16px 22px 44px; }
  .faq-answer::before { left: 8px; width: 24px; height: 24px; font-size: 12px; }
  .faq-cta { padding: 32px 20px; }
  .faq-cta h3 { font-size: 18px; }
}

/* ========== preview jumper ========== */
.preview-jumper {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: var(--c-text);
  color: #fff;
  padding: 10px 18px;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  gap: 12px;
  z-index: 100;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-en);
}
.preview-jumper a {
  color: #fff;
  opacity: 0.6;
  padding: 4px 10px;
}
.preview-jumper a:hover { opacity: 1; }
.preview-jumper a.active { opacity: 1; }

/* ========== responsive ========== */

/* header navigation: switch to hamburger from 1199px down (5つの長いカテゴリ名が1200px未満では詰まるため) */
@media (max-width: 1199px) {
  .nav { display: none; }
  .site-header-inner > .btn-google { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 1023px) {
  .container, .site-header-inner, .hero-inner, .site-footer-inner,
  .service-band-inner { padding: 0 20px; }
  .container-narrow, .article-hero-inner { padding: 0 20px; }

  .site-header-inner { height: 60px; }
  .logo img { height: 28px; }
  .site-header-inner > .btn-quote { display: none; }

  /* concept */
  .concept { padding: 56px 0; }
  .concept p.lead { font-size: 22px; line-height: 1.7; }
  .concept p { font-size: 15px; line-height: 1.95; }
  .concept p.close { font-size: 16px; }

  /* service band */
  .service-band { padding: 56px 0; }
  .service-band-inner { grid-template-columns: 1fr; gap: 36px; padding: 0 20px; }
  .service-band h2 { font-size: 26px; line-height: 1.45; }
  .service-band .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .service-band .stat { padding: 18px 8px; }
  .service-band .stat .num { font-size: 28px; }
  .service-band .stat .label { font-size: 9px; }
  .service-band .stat .ja { font-size: 11px; }

  /* final cta */
  .final-cta { padding: 56px 0; }
  .final-cta h2 { font-size: 22px; }

  /* quote form */
  .quote-form { padding: 56px 0; }
  .quote-form > .quote-form-inner > h2 { font-size: 26px; }
  .quote-form > .quote-form-inner > p.sub { font-size: 14px; }
  .wizard { padding: 24px 18px; }
  .wizard-step .q-text { font-size: 18px; margin-bottom: 22px; }
  .q-options { gap: 10px; }
  .q-options .opt { padding: 18px 14px; font-size: 14px; }
  .usp-strip { gap: 16px; font-size: 10px; padding-top: 18px; margin-top: 24px; }

  /* inline cta */
  .inline-cta {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
    margin: 36px 0;
  }
  .inline-cta h3 { font-size: 17px; }

  /* bottom cta bar — show on mobile article only via attribute */
  body[data-page="article"] .bottom-cta-bar { display: flex; }
  body[data-page="article"] { padding-bottom: 72px; }

  /* hero */
  .hero { padding: 88px 0 140px; }
  .hero h1 { font-size: 26px; line-height: 1.5; max-width: 100%; }
  .hero p { font-size: 14px; line-height: 1.85; }
  .hero .label-en { font-size: 10px; margin-bottom: 18px; }

  /* straddle form mobile — stack */
  .straddle-form { padding: 0 16px; margin-top: -100px; margin-bottom: -40px; }
  .straddle-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }
  .straddle-head {
    border-right: none;
    border-bottom: 1px solid var(--c-line);
    padding-right: 0;
    padding-bottom: 18px;
  }
  .straddle-head h2 { font-size: 21px; }
  .straddle-head p { font-size: 12px; }
  .straddle-form .wizard-step .q-text { font-size: 17px; }
  .concept { padding-top: 110px; }

  /* sections */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; padding-bottom: 12px; }
  .section-head h2 { font-size: 22px; }
  .section-head .more { font-size: 11px; }

  /* themes — モバイルでは1列の縦並び */
  .themes-grid {
    grid-template-columns: 1fr;
    border-left: none;
    border-right: 1px solid var(--c-line);
  }
  .theme-card {
    min-height: auto;
    padding: 24px 18px;
    border-right: 1px solid var(--c-line);
    border-left: 1px solid var(--c-line);
  }
  .theme-card .name { font-size: 17px; }
  .theme-card .num { margin-bottom: 12px; }
  .theme-card .count { position: static; margin-top: 12px; }

  /* article cards — モバイルは2列 */
  .articles-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .article-card .thumb { font-size: 12px; padding: 10px; margin-bottom: 10px; line-height: 1.45; }
  .article-card .thumb .badge { font-size: 9px; padding: 2px 7px; top: 8px; left: 8px; letter-spacing: 0.12em; }
  .article-card .meta-top { font-size: 9px; gap: 8px; margin-bottom: 6px; }
  .article-card .title { font-size: 13px; line-height: 1.5; margin: 0 0 6px; }
  .article-card .excerpt { display: none; }
  .article-card .meta-bottom { font-size: 10px; }
  .article-card .stars { font-size: 11px; letter-spacing: 0.5px; }

  /* article detail */
  .article-hero { padding: 32px 0 16px; }
  .article-hero h1 { font-size: 26px; line-height: 1.45; }
  .article-eyebrow { font-size: 10px; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
  .cover { padding: 20px; margin: 16px 0 0; }
  .article-body { font-size: 15px; line-height: 1.95; margin-top: 36px; }
  .article-body h2 { font-size: 19px; margin: 48px 0 14px; }
  .article-body h3 { font-size: 16px; margin: 28px 0 10px; }
  .article-body table { font-size: 13px; }
  .article-body th, .article-body td { padding: 10px 8px; }
  .article-body blockquote { padding: 18px 0; font-size: 15px; }
  .cta-box { padding: 28px 0; margin: 36px 0; }
  .cta-box h3 { font-size: 18px; }
  .cta-box .btn { padding: 12px 24px; font-size: 11px; }

  /* rating + comments */
  .rating-box { padding: 28px 0; margin: 48px auto 18px; }
  .rating-stars-input { font-size: 30px; gap: 6px; }
  .comments { padding: 0 20px; margin-bottom: 56px; }

  /* footer */
  .site-footer { padding: 40px 0 24px; margin-top: 64px; }
  .site-footer-inner { flex-direction: column; gap: 28px; align-items: flex-start; }
  .site-footer .brand { font-size: 16px; }
  .footer-sitemap { gap: 28px; }
  .footer-sitemap ul { font-size: 12px; }

  /* category tabs */
  .section-head { flex-wrap: wrap; }
  .category-tabs { margin: 12px 0 0; justify-content: flex-start; gap: 4px; flex-basis: 100%; }
  .category-tabs .cat-tab { padding: 6px 10px; font-size: 11px; }

  /* hero CTA */
  .hero-cta { margin-top: 28px; gap: 12px; }
  .hero-cta .btn-quote { padding: 14px 24px; font-size: 12px; }
  .hero-cta-note { font-size: 10px; }

  /* admin */
  .admin-user-info { display: none !important; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--c-line-soft);
    padding: 16px;
    max-height: 240px;
  }
  .editor { padding: 32px 20px 120px; }
  .editor input.title-input { font-size: 24px; }
  .editor h2.block { font-size: 20px; }
  .editor .block { font-size: 15px; }
  .editor .toolbar {
    bottom: 14px;
    left: 12px;
    right: 12px;
    transform: none;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 10px;
  }
  .editor .toolbar button { padding: 7px 10px; font-size: 11px; flex-shrink: 0; }
  .admin-topbar {
    padding: 12px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .admin-topbar .breadcrumb {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .admin-topbar .actions { justify-content: flex-end; }
  .admin-topbar button { padding: 6px 12px; font-size: 10px; }

  /* preview jumper */
  .preview-jumper {
    font-size: 9px;
    padding: 8px 12px;
    bottom: 10px;
    right: 10px;
    gap: 6px;
  }
  .preview-jumper a { padding: 3px 6px; }
}
