:root {
  --top-black: #0d0c09;
  --top-black-2: #17140e;
  --top-ink: #211b10;
  --top-gold: #c5a255;
  --top-gold-deep: #9a7936;
  --top-gold-light: #ead8a2;
  --top-cream: #fffaf0;
  --top-cream-2: #f5ecd5;
  --top-line: rgba(197, 162, 85, .48);
  --top-shadow: 0 16px 38px rgba(18, 14, 7, .16);
  --top-header-height: 64px;
  --top-wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-header-height); }
body {
  margin: 0;
  color: var(--top-ink);
  background: var(--top-cream);
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.top-wrap {
  width: min(calc(100% - 40px), var(--top-wrap));
  margin-inline: auto;
}

/* header */
.top-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--top-header-height);
  border-bottom: 1px solid rgba(154, 121, 54, .36);
  background: rgba(255, 250, 240, .98);
  color: var(--top-ink);
  box-shadow: 0 3px 14px rgba(56, 43, 18, .08);
}
.top-nav {
  display: flex;
  width: min(calc(100% - 40px), var(--top-wrap));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
}
.top-nav__brand {
  overflow: hidden;
  color: #5b4820;
  font-family: "Noto Serif JP", serif;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu a {
  display: block;
  padding: 10px 17px;
  color: #2f281b;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.menu a:hover,
.menu a:focus-visible {
  background: rgba(197, 162, 85, .13);
  color: #6e5420;
}
.menu a.top-nav__cta {
  margin-left: 5px;
  border: 1px solid #ad893d;
  background: linear-gradient(135deg, #ddc681, #c3a052);
  color: #1f180b;
  box-shadow: 0 3px 9px rgba(87, 65, 21, .12);
}
.menu a.top-nav__cta:hover,
.menu a.top-nav__cta:focus-visible {
  background: linear-gradient(135deg, #ead89f, #cfad5f);
  color: #120e07;
}
.hamburger { display: none; }

/* hero */
.top-hero {
  padding-top: var(--top-header-height);
  background: #efe5c5;
  color: #fff;
}
.top-hero__visual {
  position: relative;
  width: 100%;
  height: min(33.333vw, 720px);
  overflow: hidden;
  border-bottom: 1px solid rgba(234, 216, 162, .38);
  background:
    radial-gradient(circle at 50% 14%, rgba(255,255,255,.58), transparent 36%),
    linear-gradient(135deg, #f5edcf 0%, #eadcb0 50%, #f2e8c8 100%);
}
.top-hero__visual::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(154,121,54,.10), transparent 15%, transparent 85%, rgba(154,121,54,.10)),
    repeating-linear-gradient(135deg, rgba(154,121,54,.035) 0 1px, transparent 1px 18px);
  content: "";
  pointer-events: none;
}
.top-hero__picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.top-hero__picture img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
}
.top-hero__copyright {
  position: absolute;
  right: 14px;
  bottom: 8px;
  z-index: 3;
  margin: 0;
  padding: 2px 7px;
  background: rgba(0, 0, 0, .58);
  color: rgba(255,255,255,.86);
  font-size: .67rem;
  line-height: 1.5;
}
.top-hero__content {
  position: relative;
  padding: 46px 24px 50px;
  border-bottom: 1px solid rgba(234,216,162,.25);
  background:
    radial-gradient(circle at 50% 0%, rgba(197,162,85,.16), transparent 34%),
    linear-gradient(110deg, #18140d 0%, #0d0c09 58%, #19130a 100%);
  text-align: center;
}
.top-hero__content::before,
.top-hero__content::after {
  position: absolute;
  top: 50%;
  width: min(24vw, 320px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--top-gold));
  content: "";
}
.top-hero__content::before { left: 0; }
.top-hero__content::after { right: 0; transform: rotate(180deg); }
.top-hero__kicker {
  margin: 0 0 7px;
  color: var(--top-gold-light);
  font-family: "Noto Serif JP", serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .18em;
}
.top-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 3.4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .06em;
}
.top-hero h1 span {
  display: inline-block;
  margin-left: .25em;
  color: var(--top-gold-light);
}
.top-hero__lead {
  margin: 18px auto 0;
  color: rgba(255,255,255,.77);
  font-size: .96rem;
  line-height: 1.9;
}

/* sections */
.top-section { padding: 88px 0 96px; }
.top-section--official {
  background:
    linear-gradient(rgba(255,250,240,.96), rgba(255,250,240,.96)),
    url("../img/top/bg.jpg") center / cover;
}
.top-section--plan {
  color: var(--top-ink);
  background:
    linear-gradient(135deg, rgba(231, 242, 239, .92), rgba(200, 202, 227, .72)),
    url("../img/top/bg.jpg") center / cover;
}
.top-section--plan .top-heading--light .top-heading__en {
  color: #806ca0;
}
.top-section--plan .top-heading--light h2 {
  color: #403847;
}
.top-section--plan .top-heading--light > p:last-child {
  color: #5a5261;
}
.top-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}
.top-heading__en {
  margin: 0 0 4px;
  color: var(--top-gold-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .25em;
}
.top-heading h2 {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 17px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .06em;
}
.top-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 54px;
  height: 2px;
  background: var(--top-gold);
  content: "";
  transform: translateX(-50%);
}
.top-heading > p:last-child { margin: 0; color: #655a47; }
.top-heading--light .top-heading__en { color: var(--top-gold-light); }
.top-heading--light > p:last-child { color: rgba(255,255,255,.68); }

.top-card {
  display: grid;
  width: min(100%, 1040px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--top-line);
  background: #fff;
  color: var(--top-ink);
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  box-shadow: var(--top-shadow);
}
.top-card--plan {
  border-color: rgba(234,216,162,.36);
  background: #fdf9ef;
}
.top-card__image {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  background: #f4ecd8;
}
.top-card__image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.top-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 44px 40px;
}
.top-card__eyebrow {
  margin: 0 0 7px;
  color: var(--top-gold-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.top-card h3 {
  margin: 0 0 18px;
  color: #221a0d;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .04em;
}
.top-card__body > p:not(.top-card__eyebrow) {
  margin: 0;
  color: #665a45;
  font-size: .94rem;
}
.top-button {
  display: inline-flex;
  min-width: 230px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.top-button:hover,
.top-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(19,14,6,.18);
}
.top-button--gold {
  border-color: #aa873f;
  background: linear-gradient(135deg, #d6bc76, #b58e3d);
  color: #161107;
}
.top-button--plan {
  min-width: 310px;
  min-height: 64px;
  border-color: #8f6b24;
  background: linear-gradient(135deg, #e4cb84 0%, #bd943e 100%);
  color: #181106;
  font-size: 1.03rem;
  box-shadow: 0 9px 22px rgba(87, 65, 21, .24);
}
.top-button--plan:hover,
.top-button--plan:focus-visible {
  background: linear-gradient(135deg, #efdca4 0%, #cda84f 100%);
  color: #0d0904;
  box-shadow: 0 12px 26px rgba(87, 65, 21, .28);
}

/* footer */
.top-footer {
  padding: 50px 0 28px;
  border-top: 1px solid rgba(154, 121, 54, .36);
  background: rgba(255, 250, 240, .98);
  color: var(--top-ink);
  box-shadow: 0 -3px 14px rgba(56, 43, 18, .06);
}
.top-footer__inner { text-align: center; }
.top-footer__logo { width: min(100%, 390px); margin: 0 auto 34px; opacity: 1; }
.top-footer__copyright { margin: 20px 0 0; color: #5f523b; font-size: .72rem; }

.pc-only { display: inline; }

@media (max-width: 900px) {
  .top-nav__brand { max-width: 42vw; }
  .top-card { grid-template-columns: 1fr; }
  .top-card__image { aspect-ratio: 16 / 9; }
  .top-card__body { align-items: center; padding: 34px 30px 38px; text-align: center; }
}

@media (max-width: 767px) {
  :root { --top-header-height: 58px; }
  body { font-size: 14px; }
  .top-wrap { width: min(calc(100% - 28px), var(--top-wrap)); }
  .top-nav { width: calc(100% - 28px); }
  .top-nav__brand { max-width: calc(100% - 58px); font-size: .76rem; }

  .hamburger {
    position: relative;
    z-index: 102;
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #4c3d20;
    transition: transform .2s ease, opacity .2s ease;
  }
  .hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.is-open span:nth-child(2) { opacity: 0; }
  .hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .menu {
    position: fixed;
    top: var(--top-header-height);
    right: 0;
    left: 0;
    display: none;
    padding: 8px 14px 14px;
    border-top: 1px solid rgba(154,121,54,.18);
    border-bottom: 1px solid rgba(154,121,54,.28);
    background: rgba(255,250,240,.995);
    box-shadow: 0 10px 22px rgba(61,45,17,.14);
  }
  .menu.active { display: block; }
  .menu li + li { border-top: 1px solid rgba(154,121,54,.14); }
  .menu a { padding: 14px 10px; text-align: center; }
  .menu a.top-nav__cta { margin: 5px 0 0; }

  .top-hero__visual {
    height: 56.25vw;
    max-height: none;
  }
  .top-hero__copyright { right: 6px; bottom: 5px; font-size: .56rem; }
  .top-hero__content { padding: 34px 18px 38px; }
  .top-hero__content::before,
  .top-hero__content::after { display: none; }
  .top-hero__kicker { font-size: .78rem; letter-spacing: .12em; }
  .top-hero h1 { font-size: clamp(1.55rem, 7vw, 2.1rem); line-height: 1.55; }
  .top-hero h1 span { display: block; margin: 3px 0 0; }
  .top-hero__lead { margin-top: 14px; font-size: .88rem; }

  .top-section { padding: 62px 0 68px; }
  .top-heading { margin-bottom: 28px; }
  .top-heading h2 { font-size: 1.8rem; }
  .top-heading > p:last-child { text-align: left; }
  .top-card__body { align-items: flex-start; padding: 27px 22px 30px; text-align: left; }
  .top-card h3 { font-size: 1.55rem; }
  .top-button { width: 100%; min-width: 0; }
  .top-footer { padding-top: 40px; }
  .pc-only { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
