:root {
  --ink: #16221a;
  --ink-soft: #4f5b50;
  --green: #123622;
  --green-2: #214c35;
  --green-3: #e5ebe2;
  --paper: #fbf3e7;
  --paper-2: #f7efe2;
  --white: #fffdf9;
  --line: rgba(18, 54, 34, 0.18);
  --accent: #9b643f;
  --shadow: 0 18px 50px rgba(18, 54, 34, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  line-height: 1.9;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

p {
  margin-bottom: 1.25rem;
}

h1,
h2,
h3 {
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

h1 {
  margin-bottom: 1rem;
  font-size: 4.25rem;
}

h2 {
  margin-bottom: 1.3rem;
  font-size: 2.35rem;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

::selection {
  background: rgba(155, 100, 63, 0.22);
}

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

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  z-index: 20;
  width: auto;
  height: auto;
  padding: 0.6rem 0.9rem;
  overflow: visible;
  clip: auto;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid transparent;
  color: var(--green);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  border-color: var(--line);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 10px 30px rgba(18, 54, 34, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 148px;
  height: 48px;
  overflow: hidden;
}

.brand img {
  width: 148px;
  min-width: 148px;
  height: 148px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, system-ui, sans-serif;
  font-size: 0.87rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  min-height: 40px;
  padding: 0.4rem 1rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--green);
  color: var(--white);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251, 243, 231, 0.98) 0%, rgba(251, 243, 231, 0.88) 38%, rgba(251, 243, 231, 0.18) 72%),
    linear-gradient(0deg, rgba(255, 253, 249, 0.12), rgba(255, 253, 249, 0));
}

.hero-content {
  width: min(var(--max), calc(100% - 4rem));
  margin: 0 auto;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-family: "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 1.15rem;
  color: var(--green);
  font-size: 1.75rem;
  line-height: 1.55;
}

.hero-text {
  max-width: 640px;
  color: #344437;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-2);
}

.button-secondary {
  background: rgba(255, 253, 249, 0.74);
  color: var(--green);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--white);
}

.section {
  padding: 6.5rem 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 4rem));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.intro {
  background: var(--white);
}

.intro-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 4rem;
}

.lead {
  color: var(--green);
  font-size: 1.18rem;
  line-height: 1.85;
}

.section-deep {
  background: var(--green);
  color: rgba(255, 253, 249, 0.84);
}

.section-deep h2,
.section-deep h3 {
  color: var(--white);
}

.section-deep .section-kicker {
  color: #d7b894;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 5rem;
}

.body-stack p:last-child {
  margin-bottom: 0;
}

.principle-list {
  border-top: 1px solid var(--line);
}

.principle-item {
  display: grid;
  grid-template-columns: 72px minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.principle-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.number {
  color: var(--accent);
  font-family: "Times New Roman", serif;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(229, 235, 226, 0.52), rgba(251, 243, 231, 0.48)),
    var(--paper-2);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
}

.fit-column {
  min-height: 100%;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.72);
}

.fit-column-quiet {
  background: rgba(255, 253, 249, 0.44);
}

.check-list,
.dash-list,
.outcome-list {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.check-list li,
.dash-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.7rem;
}

.check-list li::before,
.dash-list li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.dash-list li::before {
  background: var(--line);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.program-grid article {
  min-height: 230px;
  padding: 1.6rem;
  background: var(--white);
}

.program-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.outcome-list li {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 253, 249, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.06);
}

.message-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 4.5rem;
  align-items: center;
}

.message-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.message-mark::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 235, 226, 0.62), rgba(255, 253, 249, 0) 68%);
  content: "";
}

.message-mark img {
  position: relative;
  width: 330px;
  height: 330px;
  object-fit: contain;
  opacity: 0.92;
  mix-blend-mode: multiply;
}

.overview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.overview-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.overview-list div:nth-child(odd) {
  padding-right: 2rem;
}

.overview-list div:nth-child(even) {
  padding-left: 2rem;
}

.overview-list dt {
  color: var(--green);
  font-weight: 700;
}

.overview-list dd {
  margin: 0;
}

.profile-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.profile-role {
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, system-ui, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.profile-fullname {
  margin-bottom: 0;
  color: var(--green);
  font-size: 1.9rem;
  font-weight: 600;
}

.profile-list {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.profile-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.apply {
  background: var(--white);
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 4rem;
  align-items: start;
}

.apply-box {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.apply-status {
  margin-bottom: 0.7rem;
  color: var(--green);
  font-size: 1.18rem;
  font-weight: 700;
}

.site-footer {
  padding: 3rem 0;
  background: var(--green);
  color: rgba(255, 253, 249, 0.82);
}

.footer-inner {
  width: min(var(--max), calc(100% - 4rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-inner img {
  width: 92px;
  height: 50px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0) invert(1);
  opacity: 0.86;
}

.footer-inner p {
  margin: 0;
  flex: 1;
}

.footer-inner small {
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, system-ui, sans-serif;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .intro-layout,
  .split,
  .message-layout,
  .apply-layout,
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .principle-item {
    grid-template-columns: 52px 1fr;
  }

  .principle-item p {
    grid-column: 2;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .overview-list div:nth-child(odd),
  .overview-list div:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

  .message-mark {
    min-height: auto;
    justify-content: start;
  }

  .message-mark img {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 760px) {
  body {
    line-height: 1.85;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  h3 {
    font-size: 1.06rem;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 68px;
    padding: 0.65rem 1rem;
  }

  .brand {
    width: 128px;
  }

  .brand img {
    width: 128px;
    min-width: 128px;
    height: 128px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--green);
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
  }

  .nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 0.8rem;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 0.4rem;
    border-radius: 6px;
    background: var(--green);
    color: var(--white);
  }

  .hero {
    min-height: 88vh;
  }

  .hero-bg {
    object-position: 72% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(251, 243, 231, 0.98) 0%, rgba(251, 243, 231, 0.9) 56%, rgba(251, 243, 231, 0.3) 100%),
      linear-gradient(0deg, rgba(255, 253, 249, 0.36), rgba(255, 253, 249, 0));
  }

  .hero-content,
  .section-inner,
  .footer-inner {
    width: min(100% - 2rem, var(--max));
  }

  .hero-content {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .hero-copy {
    font-size: 1.35rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 4.6rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .fit-grid,
  .program-grid,
  .outcome-list {
    grid-template-columns: 1fr;
  }

  .fit-column {
    padding: 1.35rem;
  }

  .principle-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .principle-item p {
    grid-column: auto;
  }

  .program-grid article {
    min-height: auto;
    padding: 1.35rem;
  }

  .overview-list div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 1rem 0;
  }

  .apply-box {
    padding: 1.35rem;
  }

  .footer-inner {
    display: grid;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
