:root {
  --cream: #fbf5ef;
  --shell: #fffaf5;
  --rose: #d18b8b;
  --rose-deep: #a95f64;
  --terracotta: #c67a5c;
  --gold: #c9a77a;
  --brown: #4a332c;
  --brown-soft: #6b4e45;
  --sage: #637f70;
  --sage-light: #e8f0ea;
  --plum: #56313e;
  --ink: #2b2422;
  --white: #ffffff;
  --line: rgba(74, 51, 44, 0.14);
  --shadow: 0 18px 46px rgba(60, 42, 35, 0.14);
  --radius: 8px;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Yu Gothic", "Yu Gothic UI", "Hiragino Sans", "Meiryo", sans-serif;
  color: var(--brown);
  background: var(--cream);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 245, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(var(--content), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 180px;
  display: grid;
  gap: 2px;
  line-height: 1.25;
}

.brand-name {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brown-soft);
  white-space: nowrap;
}

.nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav .current {
  color: var(--plum);
  border-bottom-color: var(--rose);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
}

.nav-cta,
.button.primary {
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(86, 49, 62, 0.18);
}

.button.secondary {
  background: var(--white);
  color: var(--plum);
  border-color: rgba(86, 49, 62, 0.22);
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(43, 36, 34, 0.78) 0%, rgba(86, 49, 62, 0.58) 54%, rgba(74, 51, 44, 0.28) 100%),
    url("hero-daifuku-portrait.png") center right / cover no-repeat;
}

.page-hero-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 94px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.45);
}

.eyebrow {
  margin: 0 0 12px;
  color: #f4d2cf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  letter-spacing: 0;
  line-height: 1.22;
}

h1 {
  max-width: 780px;
  font-size: clamp(38px, 5.8vw, 72px);
}

.title-nowrap {
  white-space: nowrap;
}

h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section.white { background: var(--shell); }
.section.sage { background: var(--sage-light); }

.container {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin: 0 0 36px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--rose-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-text {
  margin: 16px 0 0;
  color: var(--brown-soft);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(74, 51, 44, 0.16);
  background: var(--white);
  color: var(--brown-soft);
  font-size: 13px;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(74, 51, 44, 0.06);
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.45;
}

.video-card h3 {
  font-size: 16px;
  line-height: 1.5;
}

.card p,
.card li {
  color: var(--brown-soft);
  font-size: 14px;
}

.card p { margin: 0; }
.card ul { margin: 12px 0 0; padding-left: 1.1em; }

.tile-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--sage-light);
}

.curriculum-card .tile-image {
  object-fit: contain;
  background: #fbf7f3;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(198, 122, 92, 0.12);
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 800;
}

.tile-cta {
  margin-top: 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(86, 49, 62, 0.2);
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(86, 49, 62, 0.16);
}

.notice {
  margin-top: 24px;
  padding: 22px;
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brown-soft);
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-no {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
}

.faq-item p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 14px;
}

.cta-band {
  padding: 72px 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.cta-band h2 { color: var(--white); }
.cta-band p {
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.82);
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  padding: 42px 0;
  background: var(--shell);
  border-top: 1px solid var(--line);
  color: var(--brown-soft);
  font-size: 12px;
}

.footer-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: grid;
  gap: 6px;
  max-width: 460px;
}

.footer-program {
  color: var(--brown);
  font-weight: 800;
  font-size: 14px;
}

.footer-company,
.footer-copy {
  color: var(--brown-soft);
  font-weight: 700;
}

.footer-note {
  color: var(--muted);
  line-height: 1.8;
}

.footer-links,
.footer-social {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-links a,
.footer-social a {
  color: var(--rose-deep);
  font-weight: 700;
}

.footer-links a:hover,
.footer-social a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  width: 100%;
}

@media (max-width: 920px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

@media (max-width: 640px) {
  .container,
  .page-hero-inner,
  .footer-inner {
    width: min(100% - 28px, var(--content));
  }

  .page-hero {
    background:
      linear-gradient(90deg, rgba(43, 36, 34, 0.86) 0%, rgba(86, 49, 62, 0.66) 72%, rgba(74, 51, 44, 0.34) 100%),
      url("hero-daifuku-portrait.png") 78% center / cover no-repeat;
  }

  .page-hero-inner {
    padding: 56px 0 72px;
  }

  h1 { font-size: clamp(34px, 11vw, 48px); }
  .section { padding: 62px 0; }
  .grid,
  .two-grid {
    grid-template-columns: 1fr;
  }
  .step {
    grid-template-columns: 1fr;
  }
  .button {
    width: 100%;
  }
}
