:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #666c73;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #ded7ca;
  --gold: #9a7220;
  --red: #9f3e34;
  --green: #2d5c55;
  --deep: #1e2224;
  --shadow: 0 20px 60px rgba(32, 33, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui,
    sans-serif;
  line-height: 1.8;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(247, 244, 238, 0.9);
  border-bottom: 1px solid rgba(222, 215, 202, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1;
}

.brand-text,
.nav {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.brand-text {
  font-size: 1.05rem;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  padding: 6px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  min-height: calc(100svh - 76px);
  padding: clamp(48px, 8vw, 104px) clamp(20px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.section-kicker,
.card-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  /*text-transform: uppercase;*/
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  line-height: 1.28;
}

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 5vw, 4.45rem);
}

h2 {
  margin-bottom: 0;
  font-size: 3.15rem;
}

h3 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button.secondary {
  color: var(--green);
  background: transparent;
}

.hero-symbol {
  margin: 0;
  padding: clamp(28px, 5vw, 54px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-symbol img {
  display: block;
  width: 100%;
  height: auto;
}


.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.message-section {
  padding: clamp(56px, 9vw, 112px) 0;
  background: var(--red);
  color: #fff;
}

.message-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.message-section .section-kicker,
.message-section p {
  color: rgba(255, 255, 255, 0.82);
}

.message-section h2 {
  color: #fff;
}

.contents-section {
  padding: clamp(64px, 9vw, 128px) 0;
}

.section-heading {
  margin-bottom: clamp(32px, 6vw, 72px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 42px);
}

.feature-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 420px;
  padding: clamp(28px, 5vw, 52px);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(32, 33, 36, 0.08);
}

.feature-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(32, 33, 36, 0.32), rgba(32, 33, 36, 0.54)),
    var(--card-image) center / cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.feature-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  color: #fff;
}

.feature-card:hover .card-kicker,
.feature-card:hover p,
.feature-card:hover .card-link {
  color: rgba(255, 255, 255, 0.86);
}

.interview-card {
  --card-image: url("../50th_interview/assets/interview-main.jpg");
}

.history-card {
  --card-image: linear-gradient(135deg, var(--red), var(--gold));
}

.card-number {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.feature-card p {
  color: var(--muted);
}

.card-link {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-brand,
.footer-nav {
  display: flex;
  align-items: center;
}

.footer-brand {
  gap: 10px;
  color: #fff;
  font-weight: 700;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
}

.footer-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 34px);
  font-family: Georgia, "Times New Roman", serif;
}

.footer-nav a {
  padding: 6px 0;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .hero,
  .message-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 560px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.95rem;
  }

  .brand-text {
    font-size: 1.04rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-symbol {
    padding: 22px;
  }

  .feature-card {
    min-height: 360px;
  }
}
