@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@500;600&display=swap");

:root {
  --ink: #173c36;
  --ink-deep: #102f2b;
  --paper: #f8f5ee;
  --white: #ffffff;
  --sand: #e8dfcf;
  --gold: #b88a4a;
  --gold-light: #d8bd8e;
  --sage: #d9e5df;
  --coral: #b86f5f;
  --muted: #66736f;
  --line: rgba(23, 60, 54, 0.14);
  --shadow: 0 28px 80px rgba(23, 60, 54, 0.12);
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.section-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 18px;
  color: white; background: var(--ink); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute; z-index: 10; inset: 0 0 auto; display: flex; align-items: center;
  justify-content: space-between; width: min(1280px, calc(100% - 64px)); margin: 0 auto;
  padding: 26px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  color: var(--paper); background: var(--ink); font-family: Georgia, serif; font-size: 17px;
  letter-spacing: .1em;
}
.brand-copy { font-family: var(--serif); font-weight: 600; line-height: 1.25; letter-spacing: .04em; }
.brand-copy small { display: block; margin-top: 3px; color: var(--muted); font-family: var(--sans); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.header-cta {
  padding: 12px 23px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 13px; font-weight: 600; text-decoration: none; transition: .25s ease;
}
.header-cta:hover { color: white; background: var(--ink); }

.hero {
  min-height: 780px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 60px;
  align-items: center; padding-top: 125px; padding-bottom: 72px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker {
  margin: 0 0 22px; color: var(--gold); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--ink); letter-spacing: .08em; }
.eyebrow span { width: 32px; height: 1px; background: var(--gold); }
.hero h1 {
  margin: 0; font-family: var(--serif); font-size: clamp(38px, 5vw, 66px); font-weight: 500;
  line-height: 1.5; letter-spacing: .02em;
}
.hero h1 em { color: var(--coral); font-style: normal; background: linear-gradient(transparent 70%, rgba(184,111,95,.12) 70%); }
.hero-lead { max-width: 650px; margin: 28px 0 34px; color: #40534e; font-size: 16px; line-height: 2.05; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 34px; min-height: 58px;
  padding: 12px 28px; border: 0; border-radius: 5px; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); box-shadow: 0 16px 35px rgba(23,60,54,.18); }
.button-primary:hover { background: #1e4c45; box-shadow: 0 20px 40px rgba(23,60,54,.22); }
.text-link { color: var(--ink); font-size: 13px; font-weight: 600; text-underline-offset: 5px; }
.hero-notes { display: flex; gap: 22px; padding: 0; margin: 28px 0 0; list-style: none; color: var(--muted); font-size: 11px; }
.hero-notes li::before { content: "✓"; margin-right: 6px; color: var(--gold); font-weight: 700; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 48% 44%, #f7eee0, #dfd3be 62%, #cec0a8 100%);
  box-shadow: inset 0 0 0 1px rgba(23,60,54,.08), 0 38px 70px rgba(55,45,32,.12);
}
.hero-visual::after {
  content: ""; position: absolute; width: 1px; height: 610px; background: rgba(23,60,54,.08); transform: rotate(35deg);
}
.orbit { position: absolute; z-index: 1; border: 1px solid rgba(23,60,54,.18); border-radius: 50%; }
.orbit-one { width: 490px; height: 490px; }
.orbit-two { width: 350px; height: 350px; }
.hero-center {
  position: relative; z-index: 2; display: grid; place-items: center; width: 195px; height: 195px;
  border-radius: 50%; color: white; background: var(--ink); box-shadow: 0 22px 50px rgba(23,60,54,.24);
}
.hero-center span { align-self: end; font-size: 12px; letter-spacing: .12em; }
.hero-center strong { font-family: var(--serif); font-size: 47px; font-weight: 500; line-height: 1; }
.hero-center small { align-self: start; color: var(--gold-light); font-size: 9px; letter-spacing: .22em; }
.axis-card {
  position: absolute; z-index: 3; width: 176px; padding: 20px 22px; border-radius: 4px;
  background: rgba(255,255,255,.94); box-shadow: 0 15px 40px rgba(23,60,54,.13); backdrop-filter: blur(8px);
}
.axis-card small { display: block; color: var(--gold); font-size: 9px; letter-spacing: .18em; }
.axis-card strong { display: block; margin: 4px 0 2px; font-family: var(--serif); font-size: 20px; }
.axis-card span { color: var(--muted); font-size: 10px; }
.axis-action { top: 62px; right: -5px; }
.axis-thought { bottom: 55px; left: -18px; }
.type-dots { position: absolute; z-index: 4; inset: 0; }
.type-dots i { position: absolute; width: 13px; height: 13px; border: 3px solid var(--paper); border-radius: 50%; background: var(--coral); box-shadow: 0 2px 8px rgba(23,60,54,.2); }
.type-dots i:nth-child(1) { top: 2%; left: 43%; } .type-dots i:nth-child(2) { top: 15%; right: 8%; }
.type-dots i:nth-child(3) { top: 46%; right: -1%; } .type-dots i:nth-child(4) { bottom: 12%; right: 14%; }
.type-dots i:nth-child(5) { bottom: 1%; left: 44%; } .type-dots i:nth-child(6) { bottom: 14%; left: 8%; }
.type-dots i:nth-child(7) { top: 48%; left: -2%; } .type-dots i:nth-child(8) { top: 17%; left: 9%; }
.type-dots i:nth-child(9) { top: 49%; left: 49%; background: var(--gold); }

.intro { padding: 120px 0; background: white; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.intro h2, .section-heading h2, .faq-layout h2 {
  margin: 0; font-family: var(--serif); font-size: clamp(31px, 4vw, 48px); font-weight: 500; line-height: 1.55;
}
.intro-copy p { margin: 0 0 20px; color: #475752; line-height: 2.05; }
.axis-grid { display: grid; grid-template-columns: 1fr 54px 1fr; align-items: center; margin-top: 72px; }
.axis-panel { padding: 46px 50px 42px; border-radius: 6px; }
.action-panel { background: #e8efeb; }
.thought-panel { background: #efe8df; }
.axis-panel > p { margin: 0; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.axis-panel h3 { display: inline-block; margin: 8px 10px 20px 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.axis-panel > span { color: var(--muted); font-size: 11px; }
.axis-panel ul { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.axis-panel li { display: flex; align-items: baseline; gap: 14px; padding-top: 12px; border-top: 1px solid rgba(23,60,54,.1); }
.axis-panel li b { min-width: 110px; font-size: 14px; }
.axis-panel li small { color: var(--muted); }
.axis-plus { display: grid; place-items: center; z-index: 2; width: 54px; height: 54px; margin: 0 -1px; border-radius: 50%; color: var(--gold); background: white; font-size: 24px; box-shadow: 0 5px 25px rgba(23,60,54,.12); }

.types-section { padding: 120px 0; }
.section-heading { margin-bottom: 54px; }
.section-heading.centered { max-width: 720px; margin-right: auto; margin-left: auto; text-align: center; }
.section-heading p:last-child { color: var(--muted); font-size: 14px; }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.type-card {
  position: relative; min-height: 230px; padding: 30px; overflow: hidden; border: 1px solid var(--line);
  border-radius: 5px; background: rgba(255,255,255,.58); transition: .25s ease;
}
.type-card:hover { transform: translateY(-4px); background: white; box-shadow: 0 18px 44px rgba(23,60,54,.09); }
.type-card-number { position: absolute; top: 2px; right: 18px; color: rgba(23,60,54,.07); font-family: Georgia,serif; font-size: 80px; line-height: 1; }
.type-card small { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.type-card h3 { margin: 10px 0 9px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.type-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.type-card .type-axis { display: flex; gap: 8px; margin-top: 20px; }
.type-card .type-axis span { padding: 4px 9px; border-radius: 99px; color: var(--ink); background: var(--sage); font-size: 9px; }

.diagnosis-section { padding: 120px 0; color: white; background: var(--ink); }
.diagnosis-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.section-kicker.light { color: var(--gold-light); }
.diagnosis-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.55; }
.diagnosis-copy > p:not(.section-kicker) { color: rgba(255,255,255,.72); line-height: 2; }
.diagnosis-steps { display: grid; gap: 0; padding: 0; margin: 48px 0 0; list-style: none; }
.diagnosis-steps li { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.diagnosis-steps li > span { color: var(--gold-light); font-family: Georgia,serif; font-size: 13px; }
.diagnosis-steps b, .diagnosis-steps small { display: block; }
.diagnosis-steps small { margin-top: 2px; color: rgba(255,255,255,.55); font-size: 11px; }
.form-card { overflow: hidden; border-radius: 8px; color: var(--ink-deep); background: white; box-shadow: 0 34px 80px rgba(0,0,0,.2); }
.form-card-head { padding: 30px 42px 26px; background: #f1ece2; }
.form-card-head span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.form-card-head h3 { margin: 4px 0; font-family: var(--serif); font-size: 25px; font-weight: 600; }
.form-card-head p { margin: 0; color: var(--muted); font-size: 10px; }
#diagnosisForm { padding: 30px 42px 38px; }
.field { padding: 0; margin: 0 0 24px; border: 0; }
.field > label, .field legend { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
.field label small, .field legend span { margin-left: 6px; color: var(--coral); font-size: 9px; }
input[type="text"], select {
  width: 100%; height: 52px; padding: 0 15px; border: 1px solid #cfd8d4; border-radius: 4px;
  color: var(--ink); background: white; outline: none;
}
input[type="text"]:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,138,74,.13); }
.date-fields { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 10px; }
.radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-group label { position: relative; margin: 0; cursor: pointer; }
.radio-group input { position: absolute; opacity: 0; }
.radio-group span { display: grid; place-items: center; height: 52px; border: 1px solid #cfd8d4; border-radius: 4px; font-size: 13px; }
.radio-group input:checked + span { border-color: var(--ink); color: white; background: var(--ink); }
.radio-group input:focus-visible + span { outline: 3px solid rgba(184,138,74,.3); outline-offset: 2px; }
.field-note { margin: 6px 0 0; color: var(--muted); font-size: 9px; }
.form-error { margin: -4px 0 18px; padding: 11px 14px; border-radius: 4px; color: #84352b; background: #fff0ed; font-size: 12px; }
.button-submit { width: 100%; min-height: 60px; color: white; background: var(--coral); }
.button-submit:hover { background: #a85f50; box-shadow: 0 12px 30px rgba(184,111,95,.24); }
.privacy-note { margin: 15px 0 0; color: #7a8581; font-size: 9px; text-align: center; }

.result-section { padding: 110px 0 120px; background: #f4efe6; }
.result-top { position: relative; max-width: 900px; margin: 0 auto 64px; text-align: center; }
.result-for { margin: 0; color: var(--muted); font-size: 13px; }
.result-number { color: rgba(23,60,54,.08); font-family: Georgia,serif; font-size: 124px; line-height: .9; }
.result-top h2 { display: flex; justify-content: center; align-items: baseline; gap: 14px; margin: -37px 0 8px; font-family: var(--serif); font-weight: 500; }
.result-top h2 span { font-size: 18px; }
.result-top h2 em { color: var(--coral); font-size: clamp(46px, 7vw, 76px); font-style: normal; }
.result-catch { margin: 0 auto; font-family: var(--serif); font-size: clamp(18px, 2.4vw, 26px); line-height: 1.7; }
.result-axes { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 28px; }
.result-axes > div { min-width: 190px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.65); }
.result-axes small, .result-axes b { display: block; }
.result-axes small { color: var(--gold); font-size: 9px; letter-spacing: .1em; }
.result-axes b { font-family: var(--serif); font-size: 16px; }
.result-axes > span { color: var(--gold); font-size: 20px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.result-card { display: grid; grid-template-columns: 52px 1fr; min-height: 285px; padding: 38px; border-radius: 5px; background: white; box-shadow: 0 16px 45px rgba(23,60,54,.06); }
.result-card.result-wide { grid-column: 1 / -1; min-height: auto; }
.card-index { color: var(--gold); font-family: Georgia,serif; font-size: 13px; }
.card-label { margin: 0; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.result-card h3 { margin: 6px 0 17px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.result-card p:last-child { margin: 0; color: #53625e; font-size: 14px; line-height: 2; }
.result-card ul { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.result-card li { position: relative; padding-left: 21px; color: #465651; font-size: 13px; }
.result-card li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.action-card { background: var(--ink); }
.action-card h3, .action-card p:last-child { color: white; }
.action-card .card-label { color: var(--gold-light); }
.relation-card { background: #e6ece8; }
.star-details { margin-top: 70px; }
.star-details > h3 { margin: 0 0 24px; font-family: var(--serif); font-size: 27px; font-weight: 500; text-align: center; }
.star-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.star-grid article { padding: 32px 38px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.5); }
.star-grid small { color: var(--gold); font-size: 10px; }
.star-grid h4 { margin: 4px 0 12px; font-family: var(--serif); font-size: 23px; }
.star-grid p { color: var(--muted); font-size: 12px; }
.star-grid article > div { display: flex; gap: 7px; flex-wrap: wrap; }
.star-grid article > div span { padding: 4px 10px; border-radius: 99px; color: var(--ink); background: white; font-size: 9px; }
.result-cta { margin-top: 76px; padding: 56px; border-radius: 7px; color: white; background: var(--ink); text-align: center; }
.result-cta h3 { margin: 5px 0 12px; font-family: var(--serif); font-size: 31px; font-weight: 500; }
.result-cta > p:not(.section-kicker) { max-width: 650px; margin: 0 auto 28px; color: rgba(255,255,255,.72); font-size: 13px; }
.button-line { color: var(--ink); background: #d9be8f; }
.button-line.is-disabled { opacity: .66; cursor: default; }
.share-button { margin-left: 16px; padding: 13px 18px; border: 0; color: white; background: transparent; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.retry-row { margin-top: 34px; text-align: center; }
.retry-row button { padding: 8px 15px; border: 0; color: var(--ink); background: transparent; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }

.use-section { padding: 120px 0; background: white; }
.use-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.use-grid article { min-height: 240px; padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.use-grid span { color: var(--gold); font-family: Georgia,serif; }
.use-grid h3 { margin: 32px 0 11px; font-family: var(--serif); font-size: 21px; }
.use-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.faq-section { padding: 110px 0; }
.faq-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: 100px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--gold); font-size: 21px; font-weight: 400; transition: .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -4px 36px 24px 0; color: var(--muted); font-size: 12px; }
.site-footer { padding: 60px 0; color: rgba(255,255,255,.78); background: var(--ink-deep); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; }
.brand-footer { color: white; }
.brand-footer .brand-mark { border: 1px solid rgba(255,255,255,.35); background: transparent; }
.brand-footer .brand-copy small { color: rgba(255,255,255,.45); }
.footer-inner > p { margin: 0; font-family: var(--serif); font-size: 13px; }
.footer-inner > small { grid-column: 1 / -1; color: rgba(255,255,255,.4); font-size: 9px; }
.footer-admin-login {
  grid-column: 1 / -1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  letter-spacing: .06em;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.footer-admin-login:hover,
.footer-admin-login:focus-visible {
  border-color: rgba(255,255,255,.7);
  color: white;
  background: rgba(255,255,255,.08);
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 160px; text-align: center; }
  .hero-copy { max-width: 760px; margin: 0 auto; }
  .eyebrow, .hero-actions, .hero-notes { justify-content: center; }
  .hero-lead { margin-right: auto; margin-left: auto; }
  .hero-visual { width: min(560px, 100%); margin: 0 auto; }
  .intro-grid { gap: 50px; }
  .diagnosis-layout { grid-template-columns: 1fr; }
  .diagnosis-copy { max-width: 700px; }
  .form-card { max-width: 700px; width: 100%; }
  .use-grid { grid-template-columns: 1fr 1fr; }
  .faq-layout { gap: 50px; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 32px, 1160px); }
  .site-header { position: absolute; width: calc(100% - 32px); padding: 18px 0; }
  .brand-mark { width: 44px; height: 44px; font-size: 14px; }
  .brand-copy { font-size: 13px; }
  .brand-copy small { font-size: 6px; }
  .header-cta { padding: 9px 13px; font-size: 10px; }
  .hero { min-height: auto; gap: 20px; padding-top: 130px; padding-bottom: 70px; }
  .hero h1 { font-size: 36px; line-height: 1.55; }
  .eyebrow { font-size: 10px; }
  .hero-lead { font-size: 14px; text-align: left; }
  .hero-actions { flex-direction: column; gap: 15px; }
  .button-primary { width: 100%; }
  .hero-notes { flex-wrap: wrap; gap: 5px 16px; }
  .hero-visual { min-height: 390px; transform: scale(.86); margin: -25px auto; }
  .hero-visual::before { width: 330px; height: 330px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 285px; height: 285px; }
  .hero-center { width: 155px; height: 155px; }
  .hero-center strong { font-size: 38px; }
  .axis-card { width: 145px; padding: 14px 16px; }
  .axis-action { right: -18px; }
  .axis-thought { left: -18px; }
  .intro, .types-section, .use-section, .faq-section { padding: 80px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 25px; }
  .intro h2, .section-heading h2, .faq-layout h2 { font-size: 31px; }
  .axis-grid { grid-template-columns: 1fr; gap: 0; margin-top: 45px; }
  .axis-panel { padding: 32px 26px; }
  .axis-plus { margin: -8px auto; }
  .types-grid { grid-template-columns: 1fr; }
  .type-card { min-height: auto; padding: 25px; }
  .diagnosis-section { padding: 78px 0; }
  .diagnosis-layout { gap: 38px; }
  .diagnosis-copy h2 { font-size: 34px; }
  .form-card-head, #diagnosisForm { padding-right: 24px; padding-left: 24px; }
  .result-section { padding: 75px 0 90px; }
  .result-top h2 { flex-wrap: wrap; gap: 4px 10px; }
  .result-top h2 em { width: 100%; font-size: 50px; }
  .result-axes { gap: 8px; }
  .result-axes > div { min-width: 0; flex: 1; padding: 10px 8px; }
  .result-axes b { font-size: 12px; }
  .result-grid, .star-grid { grid-template-columns: 1fr; }
  .result-card.result-wide { grid-column: auto; }
  .result-card { min-height: auto; grid-template-columns: 35px 1fr; padding: 28px 22px; }
  .result-card h3 { font-size: 21px; }
  .star-grid article { padding: 26px 24px; }
  .result-cta { padding: 38px 22px; }
  .result-cta h3 { font-size: 26px; }
  .button-line { width: 100%; }
  .share-button { display: block; margin: 14px auto 0; }
  .use-grid { grid-template-columns: 1fr; }
  .use-grid article { min-height: auto; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .brand-footer { justify-content: center; }
  .footer-inner > small { grid-column: auto; }
  .footer-admin-login { grid-column: auto; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* 元のTSPサイトとデザインを揃えるためのブランドスタイル */
:root {
  --ink: #315f3d;
  --ink-deep: #34241d;
  --paper: #fffdf8;
  --white: #ffffff;
  --sand: #fbf8ef;
  --gold: #e6b84b;
  --gold-light: #f0cf7a;
  --sage: #dfe8d3;
  --coral: #ef826e;
  --muted: #6f6d65;
  --line: rgba(81, 100, 58, .2);
  --shadow: 0 20px 55px rgba(61, 74, 45, .1);
}

body {
  color: var(--ink-deep);
  background: var(--paper);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 10px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid rgba(75, 91, 58, .12);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(14px);
}

.brand-mark { color: white; background: var(--ink); }
.brand-copy small { color: #7a826f; }
.header-cta {
  padding: 11px 22px;
  border: 0;
  color: white;
  background: var(--ink);
  font-weight: 800;
}
.header-cta:hover { color: white; background: #477651; }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 0;
  place-items: center;
  padding: 0;
  background: #fffefb;
}
.hero-image-wrap {
  position: relative;
  width: min(100%, calc((100svh - 76px) * 1.5), 1536px);
  aspect-ratio: 3 / 2;
}
.hero-image-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-image-cta {
  position: absolute;
  top: 67.5%;
  left: 4.8%;
  width: 43.5%;
  height: 14.5%;
  border-radius: 999px;
}
.hero-image-cta:focus-visible { outline: 4px solid #e9a641; outline-offset: 5px; }

.concerns-visual {
  width: 100%;
  padding-top: 32px;
  background: #fffefb;
  line-height: 0;
}
.concerns-visual img { display: block; width: min(100%, 1491px); height: auto; margin: 0 auto; }

.intro {
  padding: 112px 0;
  background:
    radial-gradient(circle at 8% 2%, rgba(227,237,211,.65), transparent 24rem),
    #fffdf8;
}
.intro h2, .section-heading h2, .faq-layout h2 {
  color: #34241d;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-weight: 600;
}
.section-kicker { color: #849070; font-family: Georgia,serif; }
.intro-copy p { color: #686860; }
.method-grid {
  display: block;
  max-width: 900px;
  margin: 64px auto 0;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.method-grid > .axis-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.method-grid .axis-panel { min-width: 0; padding: 34px 36px 32px; border: 1px solid rgba(99,119,75,.15); border-radius: 22px; }
.action-panel { background: #f0f4e9; }
.thought-panel { background: #fff7ea; }
.method-grid .axis-index { color: #9a6841; font-size: 11px; letter-spacing: .18em; }
.method-grid .axis-heading { margin: 10px 0 24px; }
.method-grid .axis-heading h3 { display: block; margin: 0 0 5px; color: var(--ink); font-family: "Yu Mincho",serif; font-size: clamp(25px, 3vw, 31px); line-height: 1.35; }
.method-grid .axis-heading span { display: block; color: #686860; font-size: 12px; line-height: 1.75; }
.method-grid .axis-panel li { display: grid; grid-template-columns: minmax(104px, .72fr) minmax(0, 1.28fr); align-items: start; gap: 14px; padding-top: 14px; }
.method-grid .axis-panel li b { min-width: 0; color: #315f3d; font-size: 15px; line-height: 1.65; }
.method-grid .thought-panel li b { color: #865b37; }
.method-grid .axis-panel li small { display: block; color: #686860; font-size: 12px; line-height: 1.75; }
.method-grid .axis-plus { margin: -8px auto; color: var(--ink); }
.method-visual {
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(66,79,50,.13);
}
.method-visual img { display: block; width: 100%; height: auto; object-fit: contain; }

.types-section {
  padding: 110px 0;
  color: white;
  background: #182e23;
}
.types-section .section-kicker { color: #9dae90; }
.types-section .section-heading h2 { color: white; }
.types-section .section-heading p:last-child { color: #c4cec7; }
.types-grid { gap: 0; border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.type-card {
  min-height: 330px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  background: transparent;
}
.type-card:hover { background: rgba(255,255,255,.06); box-shadow: none; }
.type-card-image {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  background: #fffdf8;
}
.type-card-number { color: rgba(255,255,255,.06); }
.type-card small { color: #9faf9f; }
.type-card h3 { color: white; font-family: "Yu Mincho",serif; font-size: 27px; }
.type-card p { color: #c4cec7; }
.type-card .type-axis span { color: #dce7d8; background: rgba(168,202,142,.15); }

.diagnosis-section {
  padding: 112px 0;
  color: white;
  background:
    radial-gradient(circle at 88% 8%, rgba(126,157,99,.25), transparent 23rem),
    #315f3d;
}
.diagnosis-copy h2 { font-family: "Yu Mincho",serif; }
.diagnosis-steps li { border-color: rgba(255,255,255,.17); }
.form-card { border-radius: 26px; }
.form-card-head { background: #f3f6ec; }
input[type="text"], select, .radio-group span { border-radius: 12px; }
.button { border-radius: 999px; }
.button-submit { background: linear-gradient(135deg,#4f7e55,#315f3d); box-shadow: 0 16px 34px rgba(49,95,61,.2); }
.button-submit:hover { background: linear-gradient(135deg,#5a895f,#3b6d46); }

.result-section { background: #fffdf8; }
.result-top h2 em { color: var(--ink); }
.result-card, .star-grid article { border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 45px rgba(61,74,45,.06); }
.action-card { background: #315f3d; }
.relation-card { background: #f0f4e9; }
.result-cta { border-radius: 26px; background: #315f3d; }
.button-line { color: #315f3d; background: #f2d078; }

.use-section { background: #f2f6eb; }
.use-grid { gap: 14px; border: 0; }
.use-grid article {
  min-height: 300px;
  border: 1px solid rgba(99,119,75,.18);
  border-radius: 22px;
  background: #fffdf8;
  text-align: center;
}
.use-grid article img { display: block; width: 92px; height: 92px; margin: 0 auto 18px; object-fit: contain; }
.use-grid h3 { margin-top: 12px; color: var(--ink); font-family: "Yu Mincho",serif; }
.faq-section { background: #fffdf8; }
.site-footer { background: #182e23; }
.member-gate-section { padding: 100px 0; background: #f2f6eb; }
.member-gate-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  align-items: center;
  gap: 40px;
  padding: clamp(30px,5vw,58px);
  border: 1px solid rgba(81,100,58,.18);
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: 0 20px 55px rgba(61,74,45,.1);
}
.member-gate-card h2 { margin: 0; color: #315f3d; font-family: "Yu Mincho",serif; font-size: 34px; }
.member-gate-card p:not(.section-kicker) { margin-bottom: 0; color: #6f6d65; font-size: 12px; }
.member-gate-card ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 0; margin: 0; list-style: none; }
.member-gate-card li { min-height: 90px; padding: 16px; border-radius: 15px; background: #f3f6ec; }
.member-gate-card li span, .member-gate-card li b { display: block; }
.member-gate-card li span { color: #ef826e; font-family: Georgia,serif; font-size: 10px; }
.member-gate-card li b { margin-top: 13px; color: #315f3d; font-size: 12px; }
.member-gate-card .button { white-space: nowrap; }

@media (max-width: 960px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-visual { max-width: 600px; margin: 0 auto; }
  .member-gate-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { min-height: 64px; padding: 8px 15px; }
  .hero-image-wrap { width: 100%; }
  .concerns-visual { padding-top: 12px; }
  .intro { padding: 82px 0; }
  .method-grid { width: calc(100% - 24px); padding: 18px; border-radius: 22px; }
  .method-grid > .axis-grid { grid-template-columns: 1fr; }
  .method-grid .axis-panel { padding: 28px 24px 26px; }
  .method-grid .axis-panel li { grid-template-columns: minmax(96px, .7fr) minmax(0, 1.3fr); gap: 10px; }
  .types-grid { grid-template-columns: 1fr 1fr; }
  .type-card { min-height: 300px; padding: 18px; }
  .type-card-image { width: 82px; height: 82px; }
  .diagnosis-section, .types-section { padding: 82px 0; }
  .use-grid article { min-height: 0; }
}
