/* ===== 米田会 — styles.css ===== */

:root {
  --navy: #0F1F39;
  --navy-2: #16294A;
  --navy-3: #21365B;
  --gold: #C9A85F;
  --gold-2: #E8D199;
  --gold-deep: #8C6F3D;
  --cream: #F4EFE3;
  --cream-dim: rgba(244, 239, 227, .64);
  --cream-faint: rgba(244, 239, 227, .34);
  --ivory: #EFE7D5;
  --line: rgba(201, 168, 95, .24);
  --line-soft: rgba(244, 239, 227, .10);
  --serif-jp: "Shippori Mincho", serif;
  --serif-la: "Cormorant Garamond", serif;
  --sans: "Zen Kaku Gothic New", sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* legacy aliases (inline stylesの後方互換) */
  --ink: var(--navy);
  --ink-2: var(--navy-2);
  --ink-3: var(--navy-3);
  --paper: var(--cream);
  --paper-dim: var(--cream-dim);
  --paper-faint: var(--cream-faint);
  --blue: var(--gold);
  --blue-2: var(--gold-2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  background: radial-gradient(1100px 760px at 80% -10%, rgba(201, 168, 95, .12), transparent 58%), linear-gradient(180deg, #0F1F39, #0B1730) fixed;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--gold);
  color: #0F1F39
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 30px
}

/* eyebrow labels (Cormorant italic / gold) */
.sec-label,
.hero-tag,
.crumb,
.dtag,
.tagk,
.pn {
  font-family: var(--serif-la);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .01em;
  color: var(--gold);
  text-transform: none
}

.hero-tag,
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 12px
}

.hero-tag::before,
.crumb::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold)
}

/* numerals & latin display (Cormorant) */
.sec-num,
.num .big,
.card .n,
.door .bignum {
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
  font-weight: 600
}

#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-2));
  box-shadow: 0 0 12px rgba(201, 168, 95, .5);
  transition: width .12s linear
}

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px;
  transition: all .5s var(--ease);
  border-bottom: 1px solid transparent
}

header.scrolled {
  padding: 11px 30px;
  background: rgba(13, 25, 46, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line)
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px
}

.logo-img {
  height: 38px;
  width: auto;
  display: block
}

.logo .jp {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 22px;
  color: var(--cream);
  letter-spacing: .06em
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--cream-dim);
  transition: color .3s;
  letter-spacing: .04em
}

.nav a:hover,
.nav a.active {
  color: var(--cream)
}

.nav a:not(.cta).active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1.5px;
  background: var(--gold)
}

.nav .cta {
  background: var(--gold);
  color: #11203A;
  padding: 9px 20px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 13px;
  transition: all .3s var(--ease)
}

.nav .cta:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 168, 95, .3)
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: .3s
}

main {
  display: block
}

.view {
  animation: fade .7s var(--ease)
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes menuIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* buttons (sharp, refined) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 15px;
  transition: all .35s var(--ease);
  cursor: pointer;
  border: 0;
  font-family: var(--sans)
}

.btn-primary {
  background: var(--gold);
  color: #11203A
}

.btn-primary:hover {
  background: var(--gold-2);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(201, 168, 95, .32)
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  background: transparent
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 95, .07)
}

.btn-dark {
  background: var(--navy);
  color: var(--cream)
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 31, 57, .3)
}

.btn .arr {
  transition: transform .35s var(--ease)
}

.btn:hover .arr {
  transform: translateX(4px)
}

/* page hero */
.phero {
  padding: 160px 0 56px;
  position: relative
}

.phero .crumb {
  margin-bottom: 20px
}

.phero h1 {
  font-family: var(--serif-jp);
  font-weight: 800;
  font-size: clamp(34px, 6.4vw, 66px);
  line-height: 1.22;
  letter-spacing: .01em;
  text-wrap: balance
}

.phero p {
  margin-top: 22px;
  max-width: 640px;
  color: var(--cream-dim);
  font-size: clamp(15px, 2vw, 18px)
}

/* sections */
.sec {
  padding: 90px 0
}

.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 54px;
  flex-wrap: wrap
}

.sec-num {
  font-size: clamp(40px, 6.4vw, 82px);
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  line-height: .8;
  opacity: .9
}

.sec-label {
  margin-bottom: 12px;
  display: block
}

.sec-title {
  font-family: var(--serif-jp);
  font-weight: 800;
  font-size: clamp(26px, 4.2vw, 48px);
  line-height: 1.28;
  letter-spacing: .01em;
  text-wrap: balance
}

.lead {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(19px, 2.6vw, 30px);
  line-height: 1.6;
  text-wrap: balance
}

.lead em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.alt {
  background: linear-gradient(180deg, var(--navy-2), #13233F)
}

.light {
  background: var(--ivory);
  color: #15273F
}

.light .sec-label,
.light .crumb,
.light .tagk,
.light .pn {
  color: var(--gold-deep)
}

.light .sec-num {
  -webkit-text-stroke: 1px var(--gold-deep)
}

/* hero */
.hero {
  position: relative;
  padding: 150px 0 76px;
  overflow: hidden
}

.hero-glow {
  position: absolute;
  width: 74vw;
  height: 74vw;
  max-width: 760px;
  max-height: 760px;
  right: -16%;
  top: -20%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 168, 95, .18), transparent 62%);
  filter: blur(22px)
}

.hero-crest {
  width: 108px;
  height: auto;
  display: block;
  margin-bottom: 26px;
  filter: drop-shadow(0 10px 34px rgba(201, 168, 95, .22))
}

.hero-tag {
  margin-bottom: 24px
}

.hero h1 {
  font-family: var(--serif-jp);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: .02em;
  font-size: clamp(40px, 8.2vw, 104px);
  text-wrap: balance
}

.hero h1 .accent {
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-sub {
  margin-top: 30px;
  max-width: 560px;
  font-size: clamp(15px, 2.1vw, 19px);
  color: var(--cream-dim)
}

.hero-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px
}

.hero-keys span {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--cream-dim)
}

.hero-keys b {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  font-weight: 600
}

/* doors */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.door {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px 38px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all .45s var(--ease);
  cursor: pointer
}

.door:hover {
  transform: translateY(-7px);
  border-color: var(--gold)
}

.door .dtag {
  margin-bottom: 0
}

.door h3 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(27px, 3.6vw, 38px);
  margin: 16px 0 12px;
  line-height: 1.2
}

.door p {
  color: var(--cream-dim);
  font-size: 14.5px;
  max-width: 340px
}

.door .go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-weight: 700;
  color: var(--gold);
  font-size: 14px
}

.door .go .arr {
  transition: transform .35s var(--ease)
}

.door:hover .go .arr {
  transform: translateX(5px)
}

.door.student {
  background: linear-gradient(150deg, rgba(201, 168, 95, .14), var(--navy-2))
}

.door.company {
  background: var(--navy-2)
}

.door .bignum {
  position: absolute;
  right: 2px;
  bottom: -30px;
  font-size: 150px;
  line-height: 1;
  color: rgba(201, 168, 95, .07);
  pointer-events: none
}

/* card grids */
.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.g2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 32px;
  transition: all .4s var(--ease);
  background: rgba(255, 255, 255, .015)
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold)
}

.card .n {
  font-size: 40px;
  color: var(--gold);
  line-height: 1
}

.card .tagk {
  margin-bottom: 0
}

.card h3 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 21px;
  margin: 14px 0 12px
}

.card p {
  font-size: 14.5px;
  color: var(--cream-dim)
}

.card.alpha {
  border-color: var(--gold);
  background: linear-gradient(155deg, rgba(201, 168, 95, .1), var(--navy-2))
}

.card.alpha .n {
  font-style: italic;
  font-size: 46px
}

.light .card {
  background: rgba(15, 31, 57, .03)
}

.light .card p {
  color: rgba(21, 39, 63, .72)
}

.light .card h3 {
  color: #15273F
}

/* pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid currentColor
}

.pillar {
  padding: 38px 28px 44px;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid rgba(140, 111, 61, .28);
  transition: background .4s
}

.pillar:last-child {
  border-right: 0
}

.light .pillar:hover {
  background: rgba(201, 168, 95, .1)
}

.pillar .pn {
  display: block;
  margin-bottom: 4px
}

.pillar h3 {
  font-family: var(--serif-la);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  margin: 2px 0 6px;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--gold-deep)
}

.pillar .jp {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 14px
}

.pillar p {
  font-size: 14.5px;
  color: rgba(21, 39, 63, .72)
}

/* numbers */
.nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.num .big {
  font-size: clamp(50px, 7.4vw, 86px);
  line-height: .86;
  color: var(--cream)
}

.num .big .u {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: .34em;
  color: var(--gold);
  margin-left: 5px
}

.num .lbl {
  font-size: 13.5px;
  color: var(--cream-dim);
  margin-top: 12px
}

.num .pill {
  display: inline-block;
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  margin-top: 8px;
  letter-spacing: .02em
}

/* members */
.member {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all .4s var(--ease)
}

.member:hover {
  transform: translateY(-6px);
  border-color: var(--gold)
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 26px;
  color: var(--gold);
  background: rgba(201, 168, 95, .1);
  border: 1px solid var(--gold);
  overflow: hidden
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%
}

.member .role {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 5px
}

.member .name {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2
}

.advisor {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--navy-2);
  flex-wrap: wrap;
  margin-top: 22px
}

.advisor .ic {
  font-family: var(--serif-la);
  font-weight: 600;
  font-size: 34px;
  color: var(--gold);
  line-height: 1
}

.advisor b {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 16px
}

.advisor p {
  font-size: 13.5px;
  color: var(--cream-dim);
  margin-top: 4px
}

/* timeline */
.timeline {
  border-left: 1px solid var(--line);
  margin-left: 8px
}

.tl {
  position: relative;
  padding: 0 0 32px 32px
}

.tl::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--navy)
}

.tl .when {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .02em
}

.tl .what {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 17px;
  margin-top: 5px
}

.tl .desc {
  font-size: 14px;
  color: var(--cream-dim);
  margin-top: 4px
}

/* news */
.news-item {
  display: flex;
  gap: 22px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: all .3s;
  align-items: center
}

.news-item:hover {
  padding-left: 10px
}

.news-item .thumb {
  flex-shrink: 0;
  width: 128px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line)
}

.news-item .thumb.empty {
  background: repeating-linear-gradient(45deg, rgba(201, 168, 95, .05), rgba(201, 168, 95, .05) 6px, transparent 6px, transparent 12px);
  border-style: dashed
}

.news-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.news-item .date {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  flex-shrink: 0;
  width: 96px
}

.news-item .cat {
  font-size: 10.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 11px;
  color: var(--cream-dim);
  flex-shrink: 0;
  letter-spacing: .04em
}

.news-item .ttl {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 16px
}

.news-item .ttl small {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--cream-dim);
  margin-top: 5px;
  letter-spacing: 0
}

/* featured photo */
.featured {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-2)
}

.featured img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover
}

.featured figcaption {
  padding: 16px 22px;
  font-size: 14px;
  color: var(--cream-dim);
  border-top: 1px solid var(--line)
}

.featured figcaption span {
  font-family: var(--serif-jp);
  font-weight: 700;
  color: var(--gold);
  margin-right: 12px
}

/* flow */
.flow {
  counter-reset: s;
  display: grid;
  gap: 14px
}

.step {
  counter-increment: s;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--navy-2)
}

.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--serif-la);
  font-weight: 600;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0
}

.step b {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 17px;
  display: block;
  margin-bottom: 5px
}

.step span {
  font-size: 14.5px;
  color: var(--cream-dim)
}

.step-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 2px;
  transition: all .3s var(--ease)
}

.step-cta:hover {
  background: rgba(201, 168, 95, .08);
  border-color: var(--gold);
  transform: translateY(-2px)
}

.step-cta .arr {
  transition: transform .3s var(--ease)
}

.step-cta:hover .arr {
  transform: translateX(3px)
}

.embed-wrap {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-2)
}

.embed-label {
  padding: 16px 22px;
  font-family: var(--serif-la);
  font-style: italic;
  color: var(--gold);
  font-size: 16px;
  border-bottom: 1px solid var(--line)
}

.embed-wrap iframe {
  width: 100%;
  height: 680px;
  border: 0;
  display: block;
  background: #fff
}

/* faq */
.faq {
  border-top: 1px solid var(--line)
}

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

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary .pm {
  font-family: var(--serif-la);
  color: var(--gold);
  font-size: 24px;
  transition: transform .3s;
  flex-shrink: 0;
  font-style: normal
}

.faq details[open] summary .pm {
  transform: rotate(45deg)
}

.faq .ans {
  padding: 0 4px 24px;
  color: var(--cream-dim);
  font-size: 14.5px
}

/* merits (light) */
.merits {
  display: flex;
  flex-direction: column
}

.merits .m {
  padding: 24px 0;
  border-top: 1px solid rgba(140, 111, 61, .3);
  display: flex;
  gap: 22px
}

.merits .m:last-child {
  border-bottom: 1px solid rgba(140, 111, 61, .3)
}

.merits .m .mn {
  font-family: var(--serif-la);
  font-weight: 600;
  font-size: 26px;
  color: var(--gold-deep);
  line-height: 1
}

.merits .m b {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 16px;
  display: block;
  margin-bottom: 5px
}

.merits .m span {
  font-size: 14px;
  color: rgba(21, 39, 63, .7)
}

/* contact split */
.csplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.cbox {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px 36px;
  background: var(--navy-2);
  display: flex;
  flex-direction: column
}

.cbox .tagk {
  margin-bottom: 0
}

.cbox h3 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 24px;
  margin: 12px 0 12px
}

.cbox p {
  color: var(--cream-dim);
  font-size: 14.5px;
  margin-bottom: 28px
}

.cbox .acts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px
}

/* cta band */
.cta-band {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 168, 95, .16), transparent 60%);
  filter: blur(12px);
  pointer-events: none
}

.cta-band h2 {
  font-family: var(--serif-jp);
  font-weight: 800;
  font-size: clamp(30px, 5.6vw, 66px);
  line-height: 1.22;
  letter-spacing: .02em;
  position: relative;
  text-wrap: balance
}

.cta-band h2 .accent {
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.cta-band p {
  color: var(--cream-dim);
  margin: 24px auto 38px;
  max-width: 520px;
  position: relative
}

.cta-band .acts {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative
}

.nb {
  white-space: nowrap
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 40px;
  margin-top: 24px
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 38px
}

.foot-brand p {
  font-size: 13.5px;
  color: var(--cream-dim);
  max-width: 320px;
  margin-top: 16px
}

.foot-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap
}

.foot-col h4 {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 14px
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--cream-dim);
  margin-bottom: 10px;
  transition: color .3s;
  cursor: pointer
}

.foot-col a:hover {
  color: var(--gold)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--cream-faint);
  flex-wrap: wrap;
  gap: 12px
}

.foot-bottom .mono {
  font-family: var(--serif-la);
  font-style: italic;
  letter-spacing: .04em
}

/* ---- light(クリーム)セクション上の各要素を最適化 ---- */
.light .sec-title,
.light .lead,
.light .num .big {
  color: #15273F
}

.light .lead em {
  background: none;
  -webkit-text-fill-color: var(--gold-deep);
  color: var(--gold-deep)
}

.light .card .n {
  color: var(--gold-deep)
}

.light .card.alpha {
  border-color: var(--gold-deep);
  background: linear-gradient(155deg, rgba(201, 168, 95, .18), rgba(15, 31, 57, .03))
}

.light .card.alpha .n {
  color: var(--gold-deep)
}

.light .member {
  border-color: rgba(140, 111, 61, .28)
}

.light .member .name {
  color: #15273F
}

.light .member .role {
  color: var(--gold-deep)
}

.light .avatar {
  background: rgba(140, 111, 61, .12);
  border-color: var(--gold-deep);
  color: var(--gold-deep)
}

.light .advisor {
  background: rgba(15, 31, 57, .04);
  border-color: rgba(140, 111, 61, .28)
}

.light .advisor b {
  color: #15273F
}

.light .advisor p {
  color: rgba(21, 39, 63, .7)
}

.light .advisor .ic {
  color: var(--gold-deep)
}

.light .news-item {
  border-color: rgba(140, 111, 61, .26)
}

.light .news-item .date {
  color: var(--gold-deep)
}

.light .news-item .cat {
  border-color: rgba(140, 111, 61, .3);
  color: rgba(21, 39, 63, .66)
}

.light .news-item .ttl {
  color: #15273F
}

.light .news-item .ttl small {
  color: rgba(21, 39, 63, .66)
}

.light .news-item .thumb {
  border-color: rgba(140, 111, 61, .3)
}

.light .faq,
.light .faq details {
  border-color: rgba(140, 111, 61, .26)
}

.light .faq summary {
  color: #15273F
}

.light .faq summary .pm {
  color: var(--gold-deep)
}

.light .faq .ans {
  color: rgba(21, 39, 63, .7)
}

.light .timeline {
  border-color: rgba(140, 111, 61, .3)
}

.light .tl::before {
  background: var(--gold-deep);
  box-shadow: 0 0 0 4px var(--ivory)
}

.light .tl .when {
  color: var(--gold-deep)
}

.light .tl .what {
  color: #15273F
}

.light .tl .desc {
  color: rgba(21, 39, 63, .7)
}

.light .num .big .u {
  color: var(--gold-deep)
}

.light .num .lbl {
  color: rgba(21, 39, 63, .7)
}

.light .num .pill {
  color: var(--gold-deep)
}

.light .step {
  background: rgba(15, 31, 57, .03);
  border-color: rgba(140, 111, 61, .28)
}

.light .step b {
  color: #15273F
}

.light .step span {
  color: rgba(21, 39, 63, .7)
}

.light .step::before {
  color: var(--gold-deep)
}

.light .step-cta {
  color: var(--gold-deep);
  border-color: rgba(140, 111, 61, .3)
}

.light .step-cta:hover {
  background: rgba(140, 111, 61, .08);
  border-color: var(--gold-deep)
}

.light .cbox {
  background: rgba(15, 31, 57, .03);
  border-color: rgba(140, 111, 61, .28)
}

.light .cbox h3 {
  color: #15273F
}

.light .cbox p {
  color: rgba(21, 39, 63, .72)
}

.light .btn-ghost {
  border-color: rgba(140, 111, 61, .4);
  color: #15273F
}

.light .btn-ghost:hover {
  background: rgba(140, 111, 61, .08);
  border-color: var(--gold-deep)
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.reveal.in {
  opacity: 1;
  transform: none
}

[data-d="1"] {
  transition-delay: .08s
}

[data-d="2"] {
  transition-delay: .16s
}

[data-d="3"] {
  transition-delay: .24s
}

[data-d="4"] {
  transition-delay: .32s
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px
}

/* ---- 入会フローの視覚化 ---- */
.jf {
  max-width: 720px;
  margin: 0 auto
}

.jf-start {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 26px 28px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: linear-gradient(155deg, rgba(201, 168, 95, .13), rgba(201, 168, 95, .02))
}

.jf-badge {
  flex: none;
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 5px 14px;
  margin-top: 3px
}

.jf-sb h3 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.55;
  margin-bottom: 9px
}

.jf-sb p {
  color: var(--cream-dim);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 18px
}

.jf-line {
  background: #06C755;
  border: 1px solid #06C755;
  color: #fff
}

.jf-line:hover {
  background: #05b34c;
  border-color: #05b34c
}

.jf-conn {
  display: flex;
  justify-content: center;
  margin: 8px 0
}

.jf-conn span {
  width: 1.5px;
  height: 34px;
  background: linear-gradient(var(--gold), rgba(201, 168, 95, .25))
}

.jf-steps {
  list-style: none
}

.jf-step {
  display: flex;
  gap: 22px;
  padding-bottom: 30px;
  position: relative
}

.jf-step:last-child {
  padding-bottom: 0
}

.jf-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: -2px;
  width: 1.5px;
  background: linear-gradient(var(--gold), rgba(201, 168, 95, .3))
}

.jf-num {
  flex: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif-la);
  font-size: 18px;
  color: var(--gold);
  background: var(--navy);
  position: relative;
  z-index: 2
}

.jf-c {
  padding-top: 7px
}

.jf-c h4 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px
}

.jf-c p {
  color: var(--cream-dim);
  font-size: 14px;
  line-height: 1.8
}

.jf-c .step-cta {
  margin-top: 14px
}

.jf-note {
  margin-top: 30px;
  font-size: 13.5px;
  color: var(--cream-faint);
  border-left: 2px solid var(--gold-deep);
  padding-left: 14px;
  line-height: 1.8
}

/* ===== 日本語の自然な改行（句読点で折り返す）＆ オーバーフロー防止 ===== */
body {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict
}

p,
.card p,
.lead,
.merits span,
.merits b,
.step span,
.faq .ans,
.advisor p,
.tl .desc,
.hero-sub,
.phero p,
.door p,
.cbox p {
  text-wrap: pretty
}

h1,
h2,
.sec-title,
.cta-band h2 {
  text-wrap: balance
}

img,
video {
  max-width: 100%;
  height: auto
}

iframe {
  max-width: 100%
}

html {
  overflow-x: hidden
}

/* ===== タブレット / iPad ===== */
@media(max-width:1024px) {
  .wrap {
    padding: 0 28px
  }

  .g3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero h1 {
    font-size: clamp(40px, 8vw, 84px)
  }
}

@media(max-width:860px) {
  .nav {
    display: none
  }

  .nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 250;
    background: radial-gradient(900px 600px at 78% -8%, rgba(201, 168, 95, .14), transparent 60%), var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    animation: menuIn .14s ease-out
  }

  .nav.open a {
    font-family: var(--serif-jp);
    font-weight: 700;
    color: var(--cream);
    font-size: 30px;
    padding: 9px 0;
    letter-spacing: .05em;
    transition: color .25s
  }

  .nav.open a:not(.cta).active::after {
    display: none
  }

  .nav.open a.active {
    color: var(--gold)
  }

  .nav.open .cta {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    margin-top: 16px;
    font-size: 17px;
    padding: 12px 32px;
    border-radius: 2px
  }

  .burger {
    display: flex;
    z-index: 300
  }

  header.menu-open {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom-color: transparent !important
  }

  .wrap {
    padding: 0 20px
  }

  .doors,
  .g2,
  .pillars,
  .csplit {
    grid-template-columns: 1fr
  }

  .pillar {
    border-right: 0
  }

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

  .sec {
    padding: 64px 0
  }

  .hero {
    padding: 120px 0 60px
  }

  .phero {
    padding: 124px 0 40px
  }

  .sec-head {
    margin-bottom: 40px;
    gap: 14px
  }

  .btn {
    width: 100%;
    justify-content: center
  }

  .nav .cta {
    width: auto
  }

  .news-item {
    flex-wrap: wrap;
    gap: 10px
  }

  .news-item .date {
    width: auto
  }

  .news-item .thumb {
    width: 100%;
    height: 180px
  }

  .door .bignum {
    font-size: 108px
  }

  .cta-band {
    padding: 84px 0
  }

  .logo-img {
    height: 34px
  }

  .embed-wrap iframe {
    height: 540px
  }
}

/* ===== スマートフォン ===== */
@media(max-width:640px) {

  .g3,
  .nums,
  .doors,
  .g2,
  .pillars,
  .csplit {
    grid-template-columns: 1fr
  }

  .sec {
    padding: 52px 0
  }

  .door .bignum {
    font-size: 84px
  }

  .merits .m {
    gap: 16px
  }

  .embed-wrap iframe {
    height: 480px
  }

  .jf-start {
    flex-direction: column;
    gap: 14px
  }
}

@media(max-width:400px) {
  .wrap {
    padding: 0 16px
  }

  .nav.open a {
    font-size: 25px
  }

  .cta-band {
    padding: 60px 0
  }

  .sec-head {
    margin-bottom: 32px
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important
  }

  #prog {
    display: none
  }
}
