/* GusukuWorks v2 — build CSS
   色は8値のみ / 書体は Noto Sans JP 1種 / 白黒グレーのモノトーン */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F4F2;
  --line: #E2E2DF;
  --text-sub: #7A7A76;
  --text: #1A1A1A;
  --bg-dark: #0E0E0E;
  --ai-fill: #EDEDEA;
  --ai-dash: #B9B9B5;

  --container: 1120px;
  --pad-pc: 128px;
  --pad-sp: 80px;
  --side-sp: 20px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "palt" 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, button { font-family: inherit; font-size: 15px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: var(--pad-pc) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #FFFFFF; }

.eyebrow-en {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 64px;
  margin: 0 0 32px;
  line-height: 1.1;
}

.section-title {
  font-weight: 700;
  font-size: 34px;
  line-height: 1.5;
  margin: 0 0 24px;
  text-wrap: balance;
}

.section-body {
  font-size: 17px;
  color: var(--text);
  margin: 0 0 12px;
}
.section-body--strong { font-weight: 700; }

/* tabular numbers everywhere numbers appear */
.compare-box__num, .price-num, .how-result, .next-step__no {
  font-variant-numeric: tabular-nums;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.site-header__logo {
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  flex: 1;
  justify-content: center;
}
.site-header__cta { margin-left: auto; white-space: nowrap; }
.site-header__menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.site-header__menu-btn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
}
.site-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--line);
}
.site-nav-mobile a {
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.site-nav-mobile .btn { margin-top: 12px; text-align: center; }
.site-header.is-open .site-nav-mobile { display: flex; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--bg-dark); color: #FFFFFF; }
.btn--outline { background: var(--bg); color: var(--text); border-color: var(--line); }
.btn--on-dark { background: #FFFFFF; color: var(--text); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 96px;
}
.hero__watermark {
  position: absolute;
  top: 30px;
  left: 0;
  margin: 0;
  font-size: clamp(120px, 16vw, 220px);
  font-weight: 900;
  color: var(--bg-soft);
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  user-select: none;
  padding-left: 20px;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.hero__eyebrow {
  font-size: 14px;
  color: var(--text-sub);
  margin: 0 0 16px;
}
.hero__title {
  font-size: 53px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero__body { font-size: 17px; margin: 0 0 8px; max-width: 640px; }
.hero__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}
.hero__card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 16px;
}
.hero__card--primary { background: var(--bg-dark); color: #FFFFFF; }
.hero__card--outline { background: var(--bg); color: var(--text); border: 1px solid var(--line); }

.hero__compare {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
}
.compare-box {
  flex: 1;
  border-radius: 8px;
  padding: 28px 32px;
}
.compare-box--soft { background: var(--bg-soft); }
.compare-box--dark { background: var(--bg-dark); color: #FFFFFF; }
.compare-box__label { font-size: 14px; color: var(--text-sub); margin: 0 0 16px; }
.compare-box--dark .compare-box__label { color: rgba(255,255,255,0.6); }
.compare-box__num { font-size: 40px; font-weight: 700; margin: 0 0 12px; }
.compare-box__unit { font-size: 16px; font-weight: 400; }
.compare-box__sub { font-size: 14px; color: var(--text-sub); margin: 0; }
.compare-box--dark .compare-box__sub { color: rgba(255,255,255,0.7); }
.compare-arrow { font-size: 28px; color: var(--text-sub); flex: 0 0 auto; }

/* ---------------- 02 WHY bars ---------------- */
.why-bars {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 24px;
}
.why-bar-group { width: 100%; }
.why-bar-group__label {
  font-size: 13px;
  color: var(--text-sub);
  margin: 0 0 8px;
}
.why-bar {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 68px;
  gap: 2px;
}
.why-bar--low { width: 27%; }
.why-seg {
  flex-grow: var(--share);
  flex-shrink: 0;
  flex-basis: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 2px;
}
.why-seg span {
  font-size: 12px;
  line-height: 1.3;
  padding: 2px;
}
.why-seg--human { background: var(--text); color: #FFFFFF; }
.why-seg--ai { background: var(--ai-fill); color: var(--text); border: 1px dashed var(--ai-dash); }
/* very thin AI cells: rotate label to fit on desktop */
.why-bar--low .why-seg--ai { writing-mode: vertical-rl; text-orientation: mixed; }
.why-bar--low .why-seg--ai span { padding: 6px 0; white-space: nowrap; }

.why-legend {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-sub);
  align-items: center;
  margin-bottom: 32px;
}
.why-legend span { display: inline-flex; align-items: center; gap: 8px; }
.why-swatch { width: 16px; height: 16px; display: inline-block; border-radius: 2px; }
.why-swatch--human { background: var(--text); }
.why-swatch--ai { background: var(--ai-fill); border: 1px dashed var(--ai-dash); }

.why-lead { font-size: 17px; margin: 0; }

/* ---------------- 03 HOW IT WORKS ---------------- */
.how-example {
  padding: 56px 0;
  border-top: 2px solid var(--text);
}
.how-example:first-of-type { border-top: none; padding-top: 8px; }
.how-example__title { font-size: 24px; font-weight: 700; margin: 0 0 20px; }
.how-example__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
}
.how-diagram__caption { font-weight: 700; font-size: 15px; margin: 0 0 16px; }
.how-diagram__note { font-size: 14px; color: var(--text-sub); margin: 16px 0 0; }

.how-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}
.how-step {
  flex: 1 1 130px;
  background: var(--ai-fill);
  border: 1px dashed var(--ai-dash);
  border-radius: 4px;
  padding: 10px;
  min-height: 76px;
  position: relative;
}
.how-step--human {
  background: #FFFFFF;
  border: 1px solid var(--text);
}
.how-step__num {
  display: block;
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 700;
}
.how-step--human .how-step__num { color: var(--text); }
.how-step__star { position: absolute; top: 8px; right: 10px; font-size: 12px; }
.how-step p { margin: 4px 0 0; font-size: 12px; line-height: 1.4; }

.how-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 16px;
  width: 20px;
}
.how-arrow--v { flex-basis: 100%; width: 100%; transform: rotate(90deg); }

.how-loop {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  border: 1px dashed var(--ai-dash);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-sub);
  background: var(--ai-fill);
}
.how-loop--break { flex-basis: 100%; width: 100%; justify-content: center; }

.how-result {
  background: var(--text);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0 0;
}

.how-sample { align-self: stretch; }
.doc-mock {
  position: relative;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 32px;
  min-height: 300px;
}
.doc-mock__sheet {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  left: 32px; right: 32px; top: 32px; bottom: 32px;
}
.doc-mock__sheet--3 { transform: translate(16px, 16px); }
.doc-mock__sheet--2 { transform: translate(8px, 8px); }
.doc-mock__sheet--1 { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.doc-mock__bar { height: 10px; border-radius: 4px; background: var(--bg-soft); width: 90%; }
.doc-mock__bar--title { height: 18px; width: 55%; background: var(--text); }
.doc-mock__bar--short { width: 60%; }

.how-sample--chart { display: flex; align-items: center; }
.how-sample--chart img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }

/* ---------------- 01b FOR YOU ---------------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
}
.pain-item {
  border-top: 2px solid var(--bg-dark);
  padding: 24px 0 0;
}
.pain-item__head {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 16px;
}
#for-you .ib { display: inline-block; }
.pain-item__body { font-size: 15px; color: var(--text-sub); margin: 0; word-break: auto-phrase; }
@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .pain-item__head { font-size: 18px; }
}

/* ---------------- 04 SERVICE ---------------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}
.service-item {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.service-item__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}
.service-item__no {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  background: var(--bg-dark);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-top: 2px;
}
.service-item__body { font-size: 15px; color: var(--text-sub); margin: 0; padding-left: 42px; }

/* ---------------- 05 PRICE ---------------- */
.price-table { margin-top: 40px; }
.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-top: 1px solid var(--line);
}
.price-row--head { color: var(--text-sub); font-size: 14px; }
.price-cell { padding: 24px 20px; }
.price-cell:first-child { padding-left: 0; }
.price-cell--label { display: flex; align-items: center; font-size: 15px; }
.price-row--head .price-cell--label { align-items: flex-end; }
.price-cell--highlight { background: var(--bg-soft); }
.price-cell__label { display: none; font-size: 13px; color: var(--text-sub); margin: 0 0 8px; }
.price-num { font-size: 40px; font-weight: 700; margin: 0; }
.price-num small { font-size: 16px; font-weight: 400; margin-left: 2px; }
.price-sub { font-size: 13px; color: var(--text-sub); margin: 6px 0 0; }
.price-note { font-size: 13px; color: var(--text-sub); margin-top: 20px; }

/* ---------------- 06 NEXT ACTION ---------------- */
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 32px;
}
.next-step {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 28px;
}
.next-step__no { font-size: 48px; font-weight: 900; margin: 0 0 20px; }
.next-step__head { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.next-step__body { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; }

/* ---------------- 07 WHO ---------------- */
.who-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.who-illust {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 14px;
  text-align: center;
}
.who-name { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.who-lead { font-size: 15px; margin: 0 0 20px; }
.who-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.who-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
}
.who-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 1px;
  background: var(--text);
}

/* ---------------- 08 SAFETY ---------------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.safety-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.safety-card__head { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.safety-card__body { font-size: 15px; color: var(--text-sub); margin: 0; }

/* ---------------- 09 SEMINAR / NOTES ---------------- */
.seminar-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.seminar-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.seminar-card__image {
  aspect-ratio: 16/9;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 14px;
}
.badge {
  display: inline-flex;
  margin: 20px 0 0 20px;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 999px;
}
.badge--outline { border: 1px solid var(--text); }
.seminar-card__title, .seminar-card__date { padding: 0 20px; }
.seminar-card .btn { margin: 16px 20px 20px; }

.notes-list { border-top: 1px solid var(--line); margin-bottom: 40px; }
.notes-row {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1 1 320px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 18px;
  background: var(--bg);
  color: var(--text);
}
.newsletter-form__note { width: 100%; font-size: 13px; color: var(--text-sub); margin: 0; }
.newsletter-form__result { width: 100%; font-size: 14px; margin: 0; }

/* ---------------- 10 FAQ ---------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { color: var(--text-sub); font-weight: 400; font-size: 18px; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item p { margin: 0 0 24px; font-size: 15px; color: var(--text-sub); }

/* ---------------- 11 CONTACT ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 40px;
}
.contact-tile { border-radius: 8px; padding: 40px; }
.contact-tile--dark { background: var(--bg-dark); color: #FFFFFF; }
.contact-tile--outline { background: var(--bg); border: 1px solid var(--line); }
.contact-tile__title { font-size: 20px; font-weight: 700; margin: 0 0 24px; }

#contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-tile .newsletter-form { flex-direction: column; align-items: stretch; }
.contact-tile .newsletter-form input[type="email"] { flex: none; width: 100%; }
#contact-form input, #contact-form textarea {
  height: 52px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 0 18px;
  background: transparent;
  color: #FFFFFF;
}
#contact-form input::placeholder, #contact-form textarea::placeholder { color: rgba(255,255,255,0.5); }
#contact-form textarea { height: auto; padding: 14px 18px; resize: vertical; }
.contact-tile--outline input[type="email"] {
  border: 1px solid var(--line);
  color: var(--text);
}
.contact-form__result, .newsletter-form__result { font-size: 14px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--bg-dark); color: #FFFFFF; padding: 72px 0 32px; }
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.site-footer__logo { font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.site-footer__tagline { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.site-footer__sns { display: flex; gap: 16px; font-size: 14px; color: rgba(255,255,255,0.6); }
.site-footer__rule { border: none; border-top: 1px solid rgba(255,255,255,0.2); margin: 32px 0 24px; }
.site-footer__copyright { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0; }

/* =====================================================
   Mobile (< 768px)
   ===================================================== */
@media (max-width: 768px) {
  :root { --pad-pc: var(--pad-sp); }
  body { font-size: 16px; }
  .container { padding: 0 var(--side-sp); }
  .section { padding: var(--pad-sp) 0; }

  .eyebrow-en { font-size: 36px; margin-bottom: 24px; }
  .section-title { font-size: 24px; }

  .site-header__inner { height: 64px; }
  .site-nav, .site-header__cta { display: none; }
  .site-header__menu-btn { display: flex; }

  .hero { padding-top: 32px; }
  .hero__watermark { font-size: 90px; top: 8px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: 34px; }
  .hero__cards { flex-direction: column; }
  .hero__compare { flex-direction: column; margin-top: 40px; }
  .compare-arrow { transform: rotate(90deg); }
  .compare-box { width: 100%; }
  .compare-box__num { font-size: 28px; }

  .why-bars { flex-direction: row; gap: 16px; align-items: flex-start; }
  .why-bar-group { flex: 1 1 0; width: auto; min-width: 0; }
  .why-bar { flex-direction: column; height: 420px; width: 100%; gap: 3px; }
  .why-bar--low { width: 100%; height: calc(420px * 0.27); }
  .why-bar--low .why-seg--ai { writing-mode: horizontal-tb; }
  .why-legend { flex-wrap: wrap; }

  .how-example__grid { grid-template-columns: 1fr; gap: 24px; }
  .how-step { flex-basis: 100%; }
  .how-arrow--h { transform: rotate(90deg); flex-basis: 100%; width: 100%; }
  .how-arrow--v { flex-basis: 100%; }
  .doc-mock { min-height: 220px; }

  .service-grid { grid-template-columns: 1fr; column-gap: 0; }

  .price-row--head { display: none; }
  .price-row { grid-template-columns: 1fr 1fr; row-gap: 12px; padding: 20px 0; }
  .price-cell--label {
    grid-column: 1 / 3;
    font-size: 15px;
    font-weight: 700;
    padding: 0;
  }
  .price-cell { padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
  .price-cell--highlight { border-color: var(--bg-soft); }
  .price-cell__label { display: block; }
  .price-num { font-size: 28px; }

  .next-steps { grid-template-columns: 1fr; }

  .who-grid { grid-template-columns: 1fr; gap: 28px; }
  .who-illust { aspect-ratio: auto; height: 220px; }

  .safety-grid { grid-template-columns: 1fr; }

  .seminar-cards { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-tile { padding: 28px; }

  .site-footer__top { flex-direction: column; }
}

/* 戻りの段（破線の枠で「n に戻る」） */
.how-step__back {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 8px;
  border: 1px dashed #B9B9B5;
  border-radius: 4px;
  font-size: 13px;
  color: #7A7A76;
}
.how-step__back::before { content: "\21A9\FE0E  "; }

/* 仕組みの図: 4列の格子に並べ、段の間を矢印でつなぐ（2026-09-30 検品で差し替え） */
.how-steps {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 22px;
  align-items: stretch;
}
.how-step { position: relative; min-height: 92px; flex: none !important; width: auto !important; }
.how-step + .how-step::before {
  content: "\2192";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #7A7A76;
}
.how-steps > .how-step:nth-child(4n+1)::before { content: none; }
@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; gap: 20px; }
  .how-step { min-height: 0; }
  .how-step + .how-step::before {
    content: "\2193";
    left: 50%; top: -18px; transform: translateX(-50%);
  }
  .how-steps > .how-step:nth-child(4n+1)::before { content: "\2193"; }
  .how-steps > .how-step:first-child::before { content: none; }
}

/* 2026-09-30 オーナーの直し */
.hero__title .nobr { display: inline-block; }
.who-photo { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; }
.contact-grid { grid-template-columns: minmax(0, 720px) !important; }
.site-footer a[href^="https://x.com"] { color: inherit; text-decoration: none; }
.site-footer a[href^="https://x.com"]:hover { text-decoration: underline; }
.hero__title { font-size: clamp(34px, 3.3vw, 48px); }
@media (max-width: 1100px) { .hero__title .nobr { display: inline; } }
@media (max-width: 768px) { .hero__title { font-size: 30px; } }

/* 先着3社の時限の値段（2026-09-30） */
.launch-offer {
  margin-top: 40px;
  background: #0E0E0E;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  align-items: center;
}
.launch-offer__tag {
  grid-column: 1 / -1;
  margin: 0;
  justify-self: start;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid #FFFFFF;
  border-radius: 4px;
  padding: 4px 10px;
}
.launch-offer__what { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.launch-offer__price { margin: 0; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.launch-offer__was { font-size: 22px; color: #B9B9B5; text-decoration-thickness: 2px; }
.launch-offer__arrow { font-size: 22px; color: #B9B9B5; }
.launch-offer__now { font-size: 22px; font-weight: 700; }
.launch-offer__now strong { font-size: 64px; font-weight: 900; line-height: 1; margin: 0 4px; font-variant-numeric: tabular-nums; }
.launch-offer__cond { margin: 10px 0 0; font-size: 14px; color: #B9B9B5; }
.launch-offer__btn { white-space: nowrap; }
.compare-box__offer {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  border-radius: 4px;
  padding: 3px 10px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .launch-offer { grid-template-columns: 1fr; padding: 28px 22px; }
  .launch-offer__now strong { font-size: 52px; }
  .launch-offer__btn { justify-self: stretch; text-align: center; }
}
.hero__compare { align-items: stretch !important; }

/* 下層ページ */
.page-hero { padding-bottom: 0; }

.company-table { border-top: 1px solid var(--line); margin-top: 32px; }
.company-table > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.company-table dt { font-size: 14px; color: var(--text-sub); margin: 0; }
.company-table dd { font-size: 16px; margin: 0; }

.page-cta { text-align: center; }
.page-cta__inner { display: flex; justify-content: center; }

.legal-body { max-width: 760px; }
.legal-body > p.legal-lead { margin: 0 0 40px; font-size: 15px; }
.legal-body article { margin-bottom: 40px; }
.legal-body h2 { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.legal-body p { font-size: 15px; color: var(--text); margin: 0 0 12px; line-height: 1.8; }
.legal-body ul { margin: 0 0 12px; padding-left: 20px; }
.legal-body li { font-size: 15px; color: var(--text); margin: 0 0 8px; line-height: 1.8; }
.legal-body a { text-decoration: underline; }
.legal-body .legal-meta { font-size: 13px; color: var(--text-sub); margin-top: 40px; }

.notfound-hero__rule { width: 72px; height: 2px; background: var(--text); margin: 0 0 28px; }
.notfound-hero h1 { font-size: 28px; font-weight: 700; line-height: 1.6; margin: 0 0 16px; }
.notfound-hero p { font-size: 16px; color: var(--text-sub); margin: 0 0 28px; }
.notfound-hero .links { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 768px) {
  .company-table > div { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
}
.page-hero + .section { padding-top: 24px; }
.page-hero { padding-bottom: 0 !important; }
.page-cta { padding: 64px 0 !important; }
.page-cta__inner { flex-direction: column; align-items: center; gap: 20px; }
.page-cta__text { margin: 0; font-size: 18px; font-weight: 700; color: #FFFFFF; }
/* CONTACT を真ん中に（2026-09-30 オーナー） */
#contact .container { display: flex; flex-direction: column; align-items: center; }
#contact .eyebrow-en { text-align: center; }
#contact .contact-grid { width: 100%; max-width: 720px; justify-content: stretch; }
.how-sample__img { width: 100%; height: auto; display: block; border-radius: 8px; }

/* 図を押すと大きく見る（2026-10-01） */
.is-zoomable { cursor: zoom-in; transition: opacity .15s; }
.is-zoomable:hover { opacity: .85; }
.is-zoomable:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 4px; }
.how-diagram.is-zoomable { position: relative; }
.how-diagram.is-zoomable::after, .how-sample:has(.is-zoomable)::after {
  content: "押すと大きく表示";
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #7A7A76;
}
.how-sample { position: relative; }
html.is-zoomed { overflow: hidden; }
.zoom-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(14, 14, 14, .88);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.zoom-overlay[hidden] { display: none; }
.zoom-overlay__stage {
  min-height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 24px 40px;
  box-sizing: border-box;
}
.zoom-overlay__img {
  display: block;
  width: min(1400px, 100%);
  height: auto;
  background: #FFFFFF;
  border-radius: 8px;
}
.zoom-overlay__diagram {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 40px;
  width: 1100px;
  max-width: none;
  box-sizing: border-box;
  cursor: default;
}
.zoom-overlay__diagram::after { content: none !important; }
.zoom-overlay__diagram .how-steps { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px 32px; }
.zoom-overlay__diagram .how-step { min-height: 120px; padding: 16px; }
.zoom-overlay__diagram .how-step p { font-size: 17px; line-height: 1.5; }
.zoom-overlay__diagram .how-step__num { font-size: 15px; }
.zoom-overlay__diagram .how-step + .how-step::before { content: "\2192"; left: -24px; top: 50%; transform: translateY(-50%); font-size: 18px; }
.zoom-overlay__diagram .how-steps > .how-step:nth-child(4n+1)::before { content: none; }
.zoom-overlay__diagram .how-diagram__caption { font-size: 20px; }
.zoom-overlay__diagram .how-diagram__note, .zoom-overlay__diagram .how-step__back { font-size: 15px; }
.zoom-overlay__diagram .how-result { font-size: 17px; }
.zoom-overlay__close {
  position: fixed; top: 14px; right: 16px; z-index: 1001;
  width: 44px; height: 44px; border-radius: 22px;
  border: 1px solid #FFFFFF; background: #0E0E0E; color: #FFFFFF;
  font-size: 24px; line-height: 1; cursor: pointer;
}
@media (max-width: 768px) {
  .zoom-overlay__stage { justify-content: flex-start; align-items: flex-start; padding: 64px 16px 32px; }
  .zoom-overlay__img { width: 1000px; max-width: none; }
}
.zoom-overlay__stage > * { opacity: 1 !important; }
.how-sample--chart { flex-direction: column; align-items: stretch; justify-content: center; }
