/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h-sp);
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: var(--header-h-pc);
  }
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-ja);
  font-weight: 400;
  line-height: 1.6;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

address {
  font-style: normal;
}

strong {
  font-weight: 700;font-size: 1.05em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-inner {
  width: min(100% - (var(--gutter-sp) * 2), var(--content-max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .section-inner {
    width: min(100% - (var(--gutter-pc) * 2), var(--content-max));
  }
}

/* Section header label */
.section-header {
  margin-bottom: var(--space-md);
}

.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.section-header__label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.section-header h2 {
  margin-top: var(--space-sm);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h-sp);
  background: var(--color-white);
  border-bottom: 1px solid rgba(26, 54, 93, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - (var(--gutter-sp) * 2), 1440px - (var(--gutter-pc) * 2));
  max-width: calc(1440px - (var(--gutter-pc) * 2));
  margin-inline: auto;
  padding-inline: 0;
}

@media (min-width: 768px) {
  .site-header {
    height: var(--header-h-pc);
  }

  .site-header__inner {
    width: min(100% - (var(--gutter-pc) * 2), 1200px);
  }
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-logo__ja {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.site-logo__en {
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .site-logo__ja {
    font-size: 24px;
  }
}

.site-nav {
  display: none;
}

@media (min-width: 768px) {
  .site-nav {
    display: block;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 70px);
  }

  .site-nav a {
    color: var(--color-navy);
    font-family: var(--font-en);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--color-accent);
  }
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  margin-right: -11px; /* アイコン位置を維持したままボタン中心をアイコンに合わせる */
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.menu-button:focus,
.menu-button:focus-visible,
.menu-button:active {
  outline: none;
  box-shadow: none;
}

.menu-button__icon {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}

.menu-button__bar {
  position: absolute;
  left: 0;
  display: block;
  height: 2px;
  border-radius: 3px;
  background: #000;
  transform-origin: center;
  transition:
    transform 0.25s var(--ease),
    top 0.25s var(--ease),
    width 0.25s var(--ease),
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.menu-button__bar--1 {
  top: 0;
  width: 22px;
}

.menu-button__bar--2 {
  top: 6px;
  width: 11px;
}

.menu-button__bar--3 {
  top: 12px;
  width: 17px;
}

.menu-button__label {
  display: block;
  width: 22px;
  color: #000;
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: opacity 0.2s ease, color 0.2s ease;
}

/* 開閉: 3本線 → ×（同一ボタン） */
body.is-menu-open .menu-button__bar {
  background: var(--color-white);
  width: 22px;
}

body.is-menu-open .menu-button__bar--1 {
  top: 6px;
  transform: rotate(45deg);
}

body.is-menu-open .menu-button__bar--2 {
  opacity: 0;
}

body.is-menu-open .menu-button__bar--3 {
  top: 6px;
  transform: rotate(-45deg);
}

body.is-menu-open .menu-button__label {
  opacity: 0;
}

@media (min-width: 768px) {
  .menu-button {
    display: none;
  }
}

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--color-menu-bg);
  color: var(--color-white);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-menu a {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  opacity: 0.85;
}

body.is-menu-open {
  position: fixed;
  inset-inline: 0;
  width: 100%;
  overflow: hidden;
}

/* メニュー開時: ヘッダー（ロゴ＋トグル）を前面に残す */
body.is-menu-open .site-header {
  z-index: 210;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.is-menu-open .site-logo__ja {
  color: var(--color-white);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-hero);
  color: var(--color-white);
  min-height: 320px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 1440px);
  margin-inline: auto;
  min-height: 320px;
  padding: 72px var(--gutter-sp) 80px;
}

.hero__text {
  position: relative;
  z-index: 2;
  max-width: min(100%, 560px);
}

.hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35em;
  font-size: clamp(2rem, 8vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.hero h1 ruby {
  ruby-position: over;
}

.hero h1 rt {
  font-size: 0.28em;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.hero__role {
  margin-top: 12px;
  font-size: clamp(0.95rem, 3.5vw, 1.25rem);
  font-weight: 900;
  line-height: 1.3;
}

.hero__media {
  position: absolute;
  right: -8%;
  bottom: 0;
  width: min(72vw, 300px);
  z-index: 3;
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
  height: clamp(72px, 12vw, 160px);
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .hero {
    min-height: 639px;
  }

  .hero__inner {
    min-height: 639px;
    padding: 140px var(--gutter-pc) 180px;
    align-items: start;
  }

  .hero__text {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 6.5vw, 6rem);
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .hero__role {
    margin-top: 16px;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
  }

  .hero__media {
    right: max(4%, calc((100% - 1200px) / 2));
    width: min(43vw, 620px);
    bottom: 0;
  }
}

/* Note */
.note {
  padding: var(--space-md) 0;
  background: var(--color-white);
}

.note__text {
  font-size: 12px;text-align: center;
  color: var(--color-white);
  padding: var(--space-xs);
  background: var(--color-text);
}

/* Topics */
.topics {
  padding: 0 0 var(--space-2xl);
  background: var(--color-white);
}

.topics__list {
  display: grid;
  gap: var(--space-lg);
}

.topics__list figure {
  display: grid;
  gap: 12px;
}

.topics__list img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-img);
}

.topics__list figcaption {
  font-size: 14px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .topics {
    padding: 0 0 72px;
  }

  .topics__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* Goals */
.goals {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-goals-bg);
}

.goals .section-header {
  margin-bottom: var(--space-lg);
}

.goal-card {
  position: relative;
  margin-bottom: var(--space-xl);
}

.goal-card:last-child {
  margin-bottom: 0;
}

.goal-card__number {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  color: var(--color-hero);
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}

.goal-card__number::after {
  content: "";
  display: block;
  width: min(300px, 55vw);
  height: 1px;
  background: rgba(1, 63, 137, 0.25);
  transform: translateY(-0.35em);
}

.goal-card__body h3 {
  font-size: clamp(1.15rem, 3.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.goal-card__points {
  display: grid;
  gap: 18px;
  margin-bottom: var(--space-md);
}

.goal-card__points li {
  position: relative;
  padding-left: 18px;
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  line-height: 1.45;
}

.goal-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background:
    linear-gradient(90deg, var(--color-bar-dark) 50%, var(--color-bar-light) 50%);
}

.goal-card__media {
  display: grid;
  gap: var(--space-md);
}

.goal-card__media figure {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 15px;
  align-items: start;
}

.goal-card__media img {
  width: 150px;
  height: 100px;
  object-fit: cover;
}

.goal-card__media figcaption {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.goal-card__illust {
  margin: var(--space-md) auto 0;
  max-width: 240px;
}

.goal-card__town-layout {
  display: grid;
  gap: var(--space-md);
}

.goal-card__town-layout .goal-card__illust {
  order: 2;
  margin-top: 0;
}

.goal-card__town-layout .goal-card__points {
  order: 1;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .goals {
    padding: 72px 0 96px;
  }

  .goal-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 50px;
    align-items: start;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 40px;
  }

  .goal-card__number {
    font-size: 64px;
    margin: 0;
    padding-top: 44px; /* 白カード上端からの位置をFigmaに合わせる */
  }

  .goal-card__number::after {
    display: none;
  }

  .goal-card__body {
    background: var(--color-white);
    border-radius: var(--radius-card);
    padding: 44px 48px 48px 36px;
  }

  .goal-card__body h3 {
    font-size: 32px;
    margin-bottom: 28px;
  }

  .goal-card__points {
    gap: 20px;
    margin-bottom: 36px;
  }

  .goal-card__points li {
    font-size: 20px;
  }

  .goal-card__media {
    grid-template-columns: repeat(2, minmax(0, 366px));
    gap: 48px;
  }

  .goal-card__media figure {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .goal-card__media img {
    width: 210px;
    height: 140px;
  }

  .goal-card__media figcaption {
    max-width: 210px;
    font-size: 16px;
    line-height: 1.8;
  }

  .goal-card--town .goal-card__town-layout {
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
  }

  .goal-card--town .goal-card__illust {
    order: 0;
    margin: 0;
    max-width: none;
  }

  .goal-card--town .goal-card__points {
    order: 0;
  }
}

/* Journey */
.journey {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-white);
}

.journey .section-header {
  margin-bottom: var(--space-lg);
}

.journey .goal-card__body {
  background: var(--color-goals-bg);
  border-radius: var(--radius-card);
  padding: var(--space-md);
}

.goal-card__media--single {
  grid-template-columns: 1fr;
}

.goal-card__media--single figure {
  grid-template-columns: minmax(0, 1fr);
}

.goal-card__media--single img {
  width: 100%;
  max-width: 385px;
  height: auto;
  aspect-ratio: 385 / 268;
}

.goal-card__media--single figcaption {
  max-width: none;
}

@media (min-width: 768px) {
  .journey {
    padding: 72px 0 96px;
  }

  .journey .goal-card__body {
    padding: 44px 48px 48px 36px;
  }

  .goal-card__media--single {
    grid-template-columns: minmax(0, 385px);
  }

  .goal-card__media--single figure {
    grid-template-columns: 1fr;
  }

  .goal-card__media--single img {
    width: 385px;
    height: 268px;
  }

  .goal-card__media--single figcaption {
    max-width: 385px;
  }
}

/* Publications */
.publications {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-goals-bg);
}

.publications .section-header {
  margin-bottom: var(--space-lg);
}

.publications__books {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.publications__books img {
  width: 100%;
  height: auto;
  aspect-ratio: 260 / 347;
  object-fit: cover;
  background: var(--color-white);
}

.publications__shots {
  display: grid;
  gap: var(--space-md);
}

.publications__shots img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .publications {
    padding: 72px 0 96px;
  }

  .publications__books {
    grid-template-columns: repeat(4, minmax(0, 260px));
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 48px;
  }

  .publications__shots {
    max-width: 900px;
    margin-inline: auto;
    gap: 24px;
  }
}

/* Profile */
.profile {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-white);
}

.profile__list {
  display: grid;
  gap: 15px;
  margin-top: var(--space-md);
}

.profile__list li {
  position: relative;
  padding-left: 18px;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  line-height: 1.4;
}

.profile__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background:
    linear-gradient(90deg, var(--color-bar-dark) 50%, var(--color-bar-light) 50%);
}

@media (min-width: 768px) {
  .profile {
    padding: 80px 0 96px;
  }

  .profile__list {
    gap: 15px;
    max-width: 720px;
  }
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 48px 0 36px;
}

.site-footer h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.site-footer address {
  display: grid;
  gap: 4px;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__copy {
  font-size: 10px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 56px 0 40px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
