:root {
  --bg: #f7f5f1;
  --paper: #fffdfa;
  --text: #16181d;
  --emphasis: #0e0e10;
  --gold: #c9a96a;
  --gold-deep: #9d7b3d;
  --muted: rgba(22, 24, 29, 0.68);
  --soft: rgba(22, 24, 29, 0.06);
  --line: rgba(22, 24, 29, 0.12);
  --line-strong: rgba(201, 169, 106, 0.48);
  --header: rgba(247, 245, 241, 0.82);
  --font-serif-ja: "Shippori Mincho", serif;
  --font-body: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(22, 24, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 24, 29, 0.026) 1px, transparent 1px),
    var(--bg);
  background-size: 92px 92px, 92px 92px, auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--emphasis);
  background: rgba(201, 169, 106, 0.48);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--emphasis);
  transition:
    background-color 280ms ease,
    border-color 280ms ease,
    min-height 280ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name,
.site-nav a,
.section-kicker span,
.item-index,
.hero-label,
.mobile-cta a {
  font-family: var(--font-display);
}

.brand-name {
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: clamp(12px, 2.4vw, 34px);
  font-size: 17px;
  line-height: 1;
}

.site-nav a,
.corporate-link {
  position: relative;
}

.site-nav a::after,
.corporate-link::after {
  position: absolute;
  right: 0;
  bottom: -0.35em;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.corporate-link:hover::after,
.corporate-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88vh;
  min-height: 88svh;
  padding: 122px clamp(18px, 4vw, 56px) 68px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 0;
  left: clamp(18px, 4vw, 56px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.76), transparent);
}

.hero-system {
  position: absolute;
  top: 78px;
  right: -9vw;
  bottom: 0;
  width: min(58vw, 820px);
  min-width: 520px;
  opacity: 0.92;
  pointer-events: none;
}

.hero-system svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100%, 1180px);
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(24px, 4vw, 48px);
  color: var(--gold-deep);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  line-height: 1;
}

.hero-label::before {
  width: clamp(48px, 8vw, 118px);
  height: 1px;
  content: "";
  background: rgba(201, 169, 106, 0.74);
}

.hero-title {
  max-width: 760px;
  margin: 0;
  color: var(--emphasis);
  font-family: var(--font-serif-ja);
  font-size: clamp(40px, 5.5vw, 78px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
}

.mobile-only {
  display: none;
}

.hero-sub {
  max-width: 640px;
  margin: clamp(28px, 4vw, 42px) 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 500;
  line-height: 2.05;
  overflow-wrap: anywhere;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: clamp(34px, 5vw, 58px);
  padding: 15px 26px 16px;
  border: 1px solid rgba(201, 169, 106, 0.88);
  border-radius: 999px;
  color: var(--emphasis);
  background: linear-gradient(135deg, rgba(201, 169, 106, 0.28), rgba(255, 253, 250, 0.88));
  box-shadow: 0 18px 44px rgba(22, 24, 29, 0.08);
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: var(--gold-deep);
  background: rgba(201, 169, 106, 0.32);
  transform: translateY(-2px);
}

.section {
  position: relative;
  padding: clamp(88px, 13vw, 168px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 78px;
}

.section-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(34px, 5vw, 66px);
  color: var(--gold-deep);
}

.section-kicker span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(201, 169, 106, 0.62);
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.58);
  font-size: 18px;
  line-height: 1;
}

.section-kicker p {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

.section-heading {
  margin: 0;
  color: var(--emphasis);
  font-family: var(--font-serif-ja);
  font-size: clamp(32px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0;
}

.concern-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.concern-list li {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  color: var(--emphasis);
  font-family: var(--font-serif-ja);
  font-size: clamp(19px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.58;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.concern-list li:nth-child(2n) {
  border-right: 0;
}

.concern-list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.section-support {
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.52), rgba(247, 245, 241, 0));
}

.support-list {
  margin-top: clamp(48px, 8vw, 86px);
  border-top: 1px solid var(--line-strong);
}

.support-item {
  display: grid;
  grid-template-columns: clamp(54px, 8vw, 104px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 64px);
  padding: clamp(30px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}

.item-index {
  color: rgba(157, 123, 61, 0.72);
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
}

.support-item h3 {
  margin: 0 0 clamp(12px, 2vw, 20px);
  font-family: var(--font-serif-ja);
  font-size: clamp(24px, 3.7vw, 46px);
  font-weight: 600;
  line-height: 1.32;
}

.support-item p,
.practice-body p,
.grant-panel p,
.flow-block p,
.faq-answer p,
.contact-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.32vw, 18px);
  line-height: 2.05;
}

.support-item p {
  max-width: 880px;
}

.practice-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(320px, 0.52fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: start;
}

.practice-body {
  padding-top: clamp(8px, 2vw, 26px);
}

.fact-list {
  display: grid;
  gap: 0;
  margin: clamp(34px, 5vw, 54px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.fact-list li {
  position: relative;
  min-width: 0;
  padding: 20px 0 20px 32px;
  color: var(--emphasis);
  font-weight: 700;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}

.fact-list li:last-child {
  border-bottom: 0;
}

.fact-list li::before {
  position: absolute;
  top: 31px;
  left: 0;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.section-grant {
  background: rgba(255, 253, 250, 0.54);
}

.grant-shell {
  max-width: 980px;
}

.grant-panel {
  padding: clamp(28px, 5vw, 56px) 0 0;
  border-top: 1px solid var(--line-strong);
}

.grant-panel p {
  margin-top: clamp(24px, 4vw, 38px);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 86px);
}

.flow-block {
  min-width: 0;
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--line-strong);
}

.flow-block .section-heading {
  font-size: clamp(30px, 4.5vw, 56px);
}

.flow-block p {
  margin-top: clamp(22px, 4vw, 34px);
}

.section-faq {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.74), rgba(247, 245, 241, 0.32)),
    var(--bg);
}

.faq-list {
  margin-top: clamp(42px, 6vw, 70px);
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px) 0;
  border: 0;
  background: transparent;
  color: var(--emphasis);
  cursor: pointer;
  text-align: left;
}

.faq-item button span:first-child {
  min-width: 0;
  font-family: var(--font-serif-ja);
  font-size: clamp(20px, 2.7vw, 32px);
  font-weight: 600;
  line-height: 1.48;
}

.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201, 169, 106, 0.7);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--emphasis);
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item button[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 48px clamp(24px, 4vw, 38px) 0;
}

.section-contact {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.82), rgba(247, 245, 241, 0.42)),
    var(--paper);
}

.section-contact .section-heading,
.section-contact .section-kicker {
  color: var(--emphasis);
}

.section-contact .section-kicker span {
  background: rgba(255, 253, 250, 0.74);
}

.section-contact .contact-copy,
.section-contact .corporate-link {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(300px, 0.46fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: end;
}

.contact-copy {
  max-width: 560px;
  margin-top: clamp(24px, 4vw, 40px);
}

.contact-links {
  display: grid;
  gap: 24px;
  min-width: 0;
  padding-top: clamp(26px, 4vw, 38px);
  border-top: 1px solid var(--line-strong);
}

.contact-form {
  width: 100%;
  min-width: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px clamp(18px, 3vw, 30px);
}

.form-field {
  position: relative;
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: rgba(22, 24, 29, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.required-mark {
  color: var(--gold-deep);
  font-size: 12px;
  line-height: 1;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(22, 24, 29, 0.2);
  border-radius: 0;
  color: var(--emphasis);
  background: transparent;
  outline: 0;
  transition:
    border-color 220ms ease,
    background-color 220ms ease;
}

.form-field input {
  min-height: 46px;
  padding: 8px 0 10px;
}

.form-field textarea {
  min-height: 190px;
  resize: vertical;
  padding: 12px 0;
  line-height: 1.75;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold-deep);
  background: rgba(201, 169, 106, 0.06);
}

.form-field textarea::placeholder {
  color: rgba(22, 24, 29, 0.42);
}

.form-error {
  min-height: 21px;
  margin: 6px 0 0;
  color: #a8472e;
  font-size: 12px;
  line-height: 1.55;
}

.form-field-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 28px;
  padding: 13px 22px 14px;
  border: 1px solid rgba(157, 123, 61, 0.72);
  border-radius: 0;
  color: var(--emphasis);
  background: rgba(201, 169, 106, 0.42);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.form-button:hover,
.form-button:focus-visible {
  border-color: var(--gold-deep);
  background: rgba(201, 169, 106, 0.62);
  transform: translateY(-1px);
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.form-button-secondary {
  background: transparent;
}

.confirm-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.confirm-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) minmax(0, 0.7fr);
  gap: 18px;
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(22, 24, 29, 0.1);
}

.confirm-list div:last-child {
  border-bottom: 0;
}

.confirm-list dt,
.confirm-list dd {
  min-width: 0;
  margin: 0;
}

.confirm-list dt {
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.confirm-list dd {
  color: var(--emphasis);
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-complete {
  padding: clamp(28px, 5vw, 46px) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.form-complete p {
  margin: 0;
  color: var(--emphasis);
  font-family: var(--font-serif-ja);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.5;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-status.is-error {
  color: #a8472e;
}

.corporate-link {
  width: fit-content;
  color: var(--gold-deep);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 34px 18px 42px;
  color: rgba(22, 24, 29, 0.54);
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 16px;
}

.site-footer p {
  margin: 0;
}

.mobile-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 45;
  display: none;
  padding: 8px;
  border: 1px solid rgba(201, 169, 106, 0.58);
  border-radius: 999px;
  background: rgba(247, 245, 241, 0.86);
  box-shadow: 0 14px 42px rgba(22, 24, 29, 0.14);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

.mobile-cta a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--emphasis);
  background: rgba(201, 169, 106, 0.34);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.fade-in,
.reveal-hero {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-in.is-visible,
.reveal-hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-hero:nth-child(1) {
  transition-delay: 90ms;
}

.reveal-hero:nth-child(2) {
  transition-delay: 190ms;
}

.reveal-hero:nth-child(3) {
  transition-delay: 310ms;
}

.reveal-hero:nth-child(4) {
  transition-delay: 430ms;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .hero-system {
    top: 110px;
    right: -220px;
    width: 780px;
    min-width: 780px;
    opacity: 0.42;
  }

  .practice-shell,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 16px;
    min-height: 68px;
  }

  .site-nav {
    gap: 14px;
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding-top: 122px;
  }

  .concern-list,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .concern-list li,
  .concern-list li:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .concern-list li:last-child {
    border-bottom: 0;
  }

  .mobile-cta {
    display: block;
  }

  .site-footer {
    padding-bottom: 98px;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.85;
  }

  .site-header {
    align-items: flex-start;
    gap: 8px;
    min-height: 72px;
    padding: 14px 16px 12px;
  }

  .site-header.is-scrolled {
    min-height: 68px;
  }

  .brand-logo {
    width: 26px;
    height: 26px;
  }

  .brand-name {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 108px 16px 32px;
  }

  .hero-inner {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero::after {
    right: 16px;
    left: 16px;
  }

  .hero-system {
    display: none;
  }

  .hero-label {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 17px;
  }

  .hero-label::before {
    width: 36px;
  }

  .hero-title {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    font-size: clamp(34px, 9.4vw, 38px);
    line-height: 1.3;
  }

  .hero-sub {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.9;
  }

  .primary-button {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    min-height: 52px;
  }

  .mobile-only {
    display: block;
  }

  .section {
    padding: 78px 16px;
  }

  .section-kicker {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
  }

  .section-kicker span {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .section-heading {
    font-size: clamp(31px, 9.6vw, 41px);
  }

  .concern-list li {
    padding: 24px 0;
    font-size: clamp(20px, 6vw, 25px);
  }

  .support-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .item-index {
    font-size: 34px;
  }

  .support-item h3 {
    font-size: clamp(25px, 7.4vw, 34px);
  }

  .fact-list li {
    padding-left: 24px;
  }

  .grant-panel {
    padding-top: 28px;
  }

  .faq-item button {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 14px;
  }

  .faq-item button span:first-child {
    font-size: clamp(20px, 6vw, 25px);
  }

  .faq-icon {
    width: 28px;
    height: 28px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .contact-links {
    gap: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-field textarea {
    min-height: 170px;
  }

  .form-button {
    width: 100%;
    margin-top: 22px;
  }

  .form-actions {
    gap: 8px;
  }

  .confirm-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 15px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
