/* =========================================================
   女神ミカミカ ／ THE ANSWER — 公式ページ（日本語版）
   power-of-mind.org/new/ のデザインを踏襲
   Color: Deep navy / Off-white / Gold
   Type:  Cormorant Garamond + Shippori Mincho B1 (display)
          Noto Sans JP (body)
   ========================================================= */

:root {
  --navy:        #0d1d33;
  --navy-deep:   #081325;
  --navy-soft:   #1a2c47;
  --ivory:       #f6f2ea;
  --ivory-warm:  #f0ebe1;
  --paper:       #fdfcf9;
  --gold:        #c9a563;
  --gold-light:  #e0c18a;
  --gold-deep:   #9c7d3f;
  --ink:         #1c2a3e;
  --ink-soft:    #4b5870;
  --ink-mute:    #8090a8;
  --line:        rgba(13, 29, 51, 0.08);
  --line-strong: rgba(13, 29, 51, 0.18);
  --shadow:      0 16px 48px rgba(13, 29, 51, 0.08);
  --serif-latin: 'Cormorant Garamond';
  --serif-jp:    'Shippori Mincho B1';
  --display:     'Cormorant Garamond', 'Shippori Mincho B1', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "palt";
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; transition: opacity .25s ease, color .25s ease; }
a:hover { opacity: .7; }
em { font-style: italic; color: var(--gold-deep); font-style: normal; }
strong { font-weight: 700; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 252, 249, 0);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(253, 252, 249, 0.96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  letter-spacing: 0.08em;
  color: var(--ivory);
  transition: color .3s ease;
}
.site-header.scrolled .brand { color: var(--navy); }
.brand-mark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.12em;
}
.brand-suffix {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  opacity: .72;
}
.site-nav {
  display: flex;
  gap: 30px;
}
.site-nav a {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--ivory);
  position: relative;
  padding: 4px 0;
  transition: color .3s ease;
}
.site-header.scrolled .site-nav a { color: var(--navy); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; background: none; border: none; padding: 0; width: 34px; height: 28px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--ivory); transition: background .3s ease, transform .3s ease, opacity .3s ease; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 920px;
  overflow: hidden;
  color: var(--ivory);
}
.hero-image {
  position: absolute; inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  filter: brightness(0.74) saturate(0.95);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 19, 37, 0.55) 0%,
    rgba(8, 19, 37, 0.35) 35%,
    rgba(8, 19, 37, 0.80) 100%
  );
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--gold-light);
  margin: 0 0 28px;
  position: relative;
  padding-left: 56px;
}
.hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 40px; height: 1px;
  background: var(--gold-light);
  transform: translateY(-50%);
}
.hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.28;
  letter-spacing: 0.04em;
  margin: 0 0 34px;
  color: var(--ivory);
  max-width: 17em;
}
.hero-subtitle {
  font-size: clamp(14.5px, 1.4vw, 17px);
  line-height: 2;
  font-weight: 300;
  color: rgba(246, 242, 234, 0.9);
  max-width: 620px;
  margin: 0 0 52px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ivory);
  font-weight: 500;
  border: 1px solid rgba(246, 242, 234, 0.4);
  padding: 17px 32px;
  align-self: flex-start;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
}
.hero-cta:hover {
  opacity: 1;
  background: rgba(201, 165, 99, 0.15);
  border-color: var(--gold);
  padding-right: 38px;
}
.hero-cta span { display: inline-block; transition: transform .3s ease; }
.hero-cta:hover span { transform: translateY(3px); }

/* ---------- SECTION BASE ---------- */
.section { padding: 120px 0; }
.section-about        { background: var(--paper); }
.section-founder      { background: var(--ivory); }
.section-values       { background: var(--navy); color: var(--ivory); }
.section-programs     { background: var(--paper); }
.section-numbers      { background: var(--navy-deep); color: var(--ivory); }
.section-community    { background: var(--paper); }
.section-partners     { background: var(--ivory-warm); }
.section-profile      { background: var(--paper); }
.section-contact      { background: var(--navy); color: var(--ivory); }

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--gold-deep);
  margin: 0 0 24px;
  position: relative;
  padding-left: 56px;
}
.section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 40px; height: 1px;
  background: var(--gold-deep);
  transform: translateY(-50%);
}
.section-eyebrow-light { color: var(--gold-light); }
.section-eyebrow-light::before { background: var(--gold-light); }

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin: 0 0 44px;
  max-width: 26em;
}
.section-title-light { color: var(--ivory); }

.section-body {
  max-width: 760px;
  font-size: 16px;
  line-height: 2.05;
  color: var(--ink-soft);
}
.section-body-narrow { max-width: 680px; }
.section-body p { margin: 0 0 1.4em; }
.section-body p:last-child { margin-bottom: 0; }
.section-body strong { color: var(--navy); }
.section-values .section-body strong { color: var(--ivory); }

/* ---------- FOUNDER / 女神ミカミカ ---------- */
.section-founder .section-eyebrow { margin-bottom: 56px; }
.founder-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: 80px;
  align-items: center;
}
.founder-image { position: relative; }
.founder-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.96);
}
.founder-image::after {
  content: "";
  position: absolute;
  top: 16px; right: -16px;
  bottom: -16px; left: 16px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.founder-role {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 18px;
}
.founder-name { margin-bottom: 16px; }
.founder-byline {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 30px;
}
.founder-byline strong { color: var(--navy); }
.ja-mark {
  letter-spacing: 0.05em;
  color: var(--gold-deep);
  font-size: 14px;
  padding-left: 8px;
}

/* ---------- VALUES ---------- */
.section-values .section-eyebrow { color: var(--gold-light); }
.section-values .section-eyebrow::before { background: var(--gold-light); }
.section-values .section-title { color: var(--ivory); margin-bottom: 30px; }

.mission-quote {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.8;
  color: var(--gold-light);
  max-width: 840px;
  margin: 0 0 88px;
  letter-spacing: 0.02em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.value-card {
  border-top: 1px solid rgba(201, 165, 99, 0.3);
  padding-top: 32px;
}
.value-num {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}
.value-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ivory);
  margin: 0 0 16px;
}
.value-card p {
  font-size: 15px;
  color: rgba(246, 242, 234, 0.74);
  margin: 0;
  line-height: 1.95;
}

/* ---------- PROGRAMS ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 8px;
}
.program-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 46px 42px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
}
.program-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .4s ease;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.program-card:hover::before { width: 100%; }
.program-tag {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 16px;
}
.program-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.program-card p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.95; }

/* ---------- NUMBERS ---------- */
.section-numbers .section-title { margin-bottom: 76px; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 64px;
}
.number-item {
  border-top: 1px solid rgba(201, 165, 99, 0.3);
  padding-top: 28px;
}
.number-value {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(46px, 5.2vw, 66px);
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 0;
}
.number-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(246, 242, 234, 0.72);
  font-weight: 500;
}

/* ---------- COMMUNITY GALLERY ---------- */
.section-community .section-body { margin-bottom: 64px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 16px;
  margin-bottom: 96px;
}
.gallery-item { margin: 0; overflow: hidden; position: relative; background: var(--navy); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; display: block; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-large { grid-column: span 2; grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }
.gallery-item-feature { grid-column: span 2; grid-row: span 2; }
.gallery-item-finale { grid-column: span 3; grid-row: span 3; }

.video-block { max-width: 960px; margin: 0 auto; text-align: center; }
.video-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 24px;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--navy);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin: 20px 0 0; font-size: 13px; color: var(--ink-mute); }

/* ---------- PARTNERS ---------- */
.partners-block { margin-top: 56px; }
.partners-block:first-of-type { margin-top: 8px; }
.partners-heading {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 18px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.partners-body { font-size: 15px; color: var(--ink-soft); margin: 0 0 32px; max-width: 720px; line-height: 1.95; }
.collab-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px;
}
.collab-list li { border-left: 2px solid var(--gold); padding: 8px 0 8px 24px; }
.collab-list strong {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.collab-list span { display: block; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.ops-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px;
}
.ops-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px 26px;
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.7;
}
.ops-list span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
  margin-bottom: 12px;
  font-weight: 500;
}

/* ---------- COMPANY PROFILE ---------- */
.profile-table {
  width: 100%; max-width: 900px; border-collapse: collapse; font-size: 15px; margin-top: 8px;
}
.profile-table th, .profile-table td {
  text-align: left; padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.7;
}
.profile-table th {
  width: 30%; font-weight: 500; font-size: 12px;
  letter-spacing: 0.1em; color: var(--gold-deep);
}
.profile-table td { color: var(--navy); font-weight: 400; }
.profile-table tr:first-child th, .profile-table tr:first-child td { border-top: 1px solid var(--line); }
.profile-table a { color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }

/* ---------- CONTACT ---------- */
.contact-inner { text-align: center; max-width: 800px; margin: 0 auto; }
.contact-inner .section-eyebrow { display: inline-block; padding-left: 0; padding-right: 0; }
.contact-inner .section-eyebrow::before { display: none; }
.contact-inner .section-title { margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.contact-body { font-size: 16px; color: rgba(246, 242, 234, 0.8); margin: 0 0 52px; line-height: 2; }
.contact-email {
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 0.02em;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(201, 165, 99, 0.4);
  padding-bottom: 6px;
  display: inline-block;
  transition: color .3s ease, border-color .3s ease;
}
.contact-email:hover { opacity: 1; color: var(--ivory); border-bottom-color: var(--gold-light); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 242, 234, 0.65);
  padding: 64px 0 40px;
  border-top: 1px solid rgba(201, 165, 99, 0.15);
}
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; margin-bottom: 48px; }
.footer-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ivory);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.footer-address { font-size: 13px; line-height: 1.85; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start; }
.footer-links a {
  font-size: 12.5px; letter-spacing: 0.1em;
  color: rgba(246, 242, 234, 0.7);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .3s ease, border-color .3s ease;
}
.footer-links a:hover { opacity: 1; color: var(--gold-light); border-bottom-color: var(--gold-light); }
.footer-copy {
  font-size: 11.5px; letter-spacing: 0.1em;
  color: rgba(246, 242, 234, 0.4);
  margin: 0; padding-top: 28px;
  border-top: 1px solid rgba(246, 242, 234, 0.08);
  text-align: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .section { padding: 88px 0; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.is-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--paper);
    padding: 24px 32px 32px; gap: 18px;
    border-top: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.is-open a { color: var(--navy); font-size: 14px; }

  .founder-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-image::after { display: none; }

  .values-grid { grid-template-columns: 1fr; gap: 40px; }
  .programs-grid { grid-template-columns: 1fr; gap: 24px; }
  .program-card { padding: 34px 26px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .gallery-item-large { grid-column: span 2; grid-row: span 2; }
  .gallery-item-wide { grid-column: span 2; }
  .gallery-item-feature { grid-column: span 2; grid-row: span 2; }
  .gallery-item-finale { grid-column: span 2; grid-row: span 2; }

  .collab-list { grid-template-columns: 1fr; }
  .ops-list { grid-template-columns: 1fr; }

  .profile-table th { width: 38%; padding: 16px 12px 16px 0; font-size: 11px; }
  .profile-table td { padding: 16px 0 16px 12px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { gap: 16px; }
}

@media (max-width: 560px) {
  .hero-title { font-size: clamp(32px, 9vw, 48px); }
  .hero-eyebrow, .section-eyebrow { padding-left: 36px; }
  .hero-eyebrow::before, .section-eyebrow::before { width: 24px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .gallery-item, .gallery-item-large, .gallery-item-wide, .gallery-item-feature, .gallery-item-finale {
    grid-column: span 1; grid-row: span 1; aspect-ratio: 3/2;
  }
}
