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

html {
  scroll-padding-top: 76px;
}

body,
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:root {
  --color-navy: #0B1F33;
  --color-slate: #16324A;
  --color-white: #FFFFFF;
  --color-bg: #F4F7FA;
  --color-text: #334155;
  --color-muted: #64748B;
  --color-accent: #22B8CF;
  --color-text-on-dark: rgba(255, 255, 255, 0.92);
  --color-muted-on-dark: rgba(255, 255, 255, 0.68);
  --font-base: Inter, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.02em;
  word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--color-navy);
}

.nowrap {
  white-space: nowrap;
}

.pc-only {
  display: none;
}

.sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }

  .sp-only {
    display: none;
  }
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Layout Utilities ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-header--on-dark h2,
.section-header--on-dark .section-header__lead {
  color: var(--color-white);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.625rem, 4vw + 0.8rem, 2.75rem);
  margin-bottom: 16px;
}

.section-header__lead {
  color: var(--color-muted);
  font-size: clamp(0.9375rem, 1vw + 0.7rem, 1.0625rem);
}

/* ===== Buttons ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.button--primary {
  background: var(--color-accent);
  color: var(--color-navy);
}

.button--primary:hover {
  box-shadow: 0 10px 24px rgba(34, 184, 207, 0.35);
  transform: translateY(-2px);
}

.button--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--color-white);
}

.button--secondary:hover {
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

/* ===== Cards ===== */
.card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04), 0 12px 28px rgba(11, 31, 51, 0.06);
}

.card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

/* ===== Tag List ===== */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.18);
  color: var(--color-text);
  background: var(--color-white);
}

/* ===== Site Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid rgba(11, 31, 51, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.site-header__logo {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--color-navy);
}

.site-header__logo span {
  color: var(--color-accent);
}

.site-header__nav {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.site-header__nav::-webkit-scrollbar {
  display: none;
}

.site-header__nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header__nav a:hover {
  color: var(--color-accent);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 60%;
  transform: scale(1);
  transition: transform 16s ease-out;
}

.hero.is-loaded .hero__bg img {
  transform: scale(1.04);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(11, 19, 33, 0.94) 0%,
    rgba(11, 31, 51, 0.86) 28%,
    rgba(11, 31, 51, 0.55) 50%,
    rgba(11, 31, 51, 0.28) 68%,
    rgba(11, 31, 51, 0.12) 100%);
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero.is-loaded .hero__overlay {
  opacity: 1;
}

.hero__number {
  position: absolute;
  z-index: 1;
  right: -2vw;
  bottom: -4vw;
  font-size: clamp(8rem, 30vw, 22rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
  opacity: 0;
  letter-spacing: -0.02em;
  transition: opacity 1.2s ease 0.6s, transform 1.2s ease 0.6s;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
}

.hero.is-loaded .hero__number {
  opacity: 0.12;
  transform: translateY(0) scale(1);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content {
  max-width: 620px;
  padding: 140px 0 80px;
}

.hero__reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero.is-loaded .hero__reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero__content .eyebrow {
  color: var(--color-accent);
}

.hero__label {
  color: var(--color-text-on-dark);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(2.125rem, 5vw + 1rem, 4.5rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.hero__lead {
  color: var(--color-text-on-dark);
  font-size: clamp(0.9375rem, 1vw + 0.75rem, 1.125rem);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.hero__tags li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text-on-dark);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.hero__scroll-line {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 999px;
  background: var(--color-white);
  animation: hero-scroll-move 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-move {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* ===== Concept ===== */
.concept {
  background: var(--color-white);
}

.concept__body {
  display: grid;
  gap: 40px;
}

.concept__text p {
  margin-bottom: 16px;
  color: var(--color-text);
}


/* ===== Program ===== */
.program {
  position: relative;
  background: var(--color-navy);
  overflow: hidden;
}

.program__big-text {
  position: absolute;
  top: -2vw;
  left: -2vw;
  font-size: clamp(7rem, 26vw, 20rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
  opacity: 0.06;
  pointer-events: none;
}

.program__big-text small {
  font-size: 0.32em;
  font-weight: 700;
}

.program .container {
  position: relative;
  z-index: 1;
}

.program__intro {
  max-width: 520px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--color-muted-on-dark);
}

.program__timeline {
  position: relative;
}

.program__line {
  display: none;
}

.program__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
}

.program__step {
  position: relative;
  padding: 24px 24px 24px 28px;
  border-left: 2px solid rgba(34, 184, 207, 0.35);
}

.program__step-time::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  position: absolute;
  left: -7px;
  top: 28px;
}

.program__step-time {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.program__step-title {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.program__step-text {
  color: var(--color-muted-on-dark);
  font-size: 0.9375rem;
}

.program__step--main {
  border-left-color: var(--color-accent);
  background: rgba(34, 184, 207, 0.08);
  border-radius: 0 16px 16px 0;
}

.program__step--main .program__step-time {
  font-size: 1.125rem;
}

.program__step--main .program__step-title {
  font-size: 1.5rem;
}

.program__cta {
  margin-top: 48px;
  text-align: center;
}

/* ===== Difference ===== */
.difference {
  background: var(--color-bg);
}

.difference__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.difference-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04), 0 12px 28px rgba(11, 31, 51, 0.06);
}

.difference-card__title {
  margin-bottom: 10px;
}

.difference-card__label {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.difference-card__sub {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 6px;
}

.difference-card__text {
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.difference-card--featured {
  background: var(--color-navy);
  padding: 40px 32px;
  position: relative;
  box-shadow: 0 20px 44px rgba(11, 31, 51, 0.28);
}

.difference-card--featured .difference-card__label {
  color: var(--color-accent);
  font-size: 1.75rem;
}

.difference-card--featured .difference-card__title {
  color: var(--color-white);
}

.difference-card--featured .difference-card__text {
  color: var(--color-muted-on-dark);
}

/* ===== Studio ===== */
.studio {
  background: var(--color-white);
}

.studio__main {
  position: relative;
}

.studio__image {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(11, 31, 51, 0.08);
}

.studio__image img {
  width: 100%;
  height: auto;
}

.studio__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.studio__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--color-navy);
  color: var(--color-white);
}

.studio__list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.studio__list li {
  padding-left: 20px;
  position: relative;
}

.studio__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ===== For Desk Workers ===== */
.desk-workers {
  background: var(--color-bg);
}

.desk-workers__grid {
  grid-template-columns: 1fr;
}

/* ===== Plan ===== */
.plan {
  background: var(--color-bg);
}

.plan__body {
  display: grid;
  gap: 32px;
}

.plan__text p {
  margin-bottom: 16px;
  color: var(--color-text);
}

.plan__card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04), 0 12px 28px rgba(11, 31, 51, 0.06);
}

.plan__card-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.plan__card-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.plan__card-list {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.plan__card-list li {
  padding-left: 18px;
  position: relative;
}

.plan__card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.plan__card-cta {
  width: 100%;
  margin-bottom: 18px;
}

.plan__card-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.8;
}

/* ===== Access / FAQ ===== */
.access-faq {
  background: var(--color-white);
}

.access-faq__body {
  display: grid;
  gap: 32px;
  margin-bottom: 64px;
}

.access-card {
  background: var(--color-bg);
  border-radius: 24px;
  padding: 32px 28px;
}

.access-card__name {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.access-card__address {
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.access-card__hours {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px;
  margin-bottom: 24px;
}

.access-card__hours dt {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.access-card__hours dd {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* ===== Access Map (Google Map iframe) ===== */
.access-map {
  position: relative;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 51, 0.1);
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04), 0 12px 28px rgba(11, 31, 51, 0.06);
  background: var(--color-bg);
}

.access-map__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.faq {
  background: var(--color-bg);
  border-radius: 24px;
  padding: 32px 28px;
}

.faq__heading {
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.faq__item {
  border-top: 1px solid rgba(11, 31, 51, 0.1);
}

.faq__item:first-of-type {
  border-top: none;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
}

.faq__question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq__question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 4px 18px;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

/* ===== Final CTA ===== */
.final-cta {
  position: relative;
  background: var(--color-navy);
  border-radius: 32px;
  padding: 56px 32px;
  overflow: hidden;
  text-align: center;
}

.final-cta__number {
  position: absolute;
  right: -4vw;
  bottom: -6vw;
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
  opacity: 0.08;
  pointer-events: none;
}

.final-cta__body {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
}

.final-cta__title {
  color: var(--color-white);
  font-size: clamp(1.375rem, 2.5vw + 0.8rem, 1.875rem);
  margin-bottom: 12px;
}

.final-cta__text {
  color: var(--color-muted-on-dark);
  font-size: 0.9375rem;
  margin-bottom: 28px;
}

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

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.site-footer__logo {
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--color-white);
}

.site-footer__logo span {
  color: var(--color-accent);
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--color-muted-on-dark);
}

/* ===== Reveal Animation ===== */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.program__line.is-active {
  transform: scaleX(1);
}

/* ===== Responsive: Tablet (768px+) ===== */
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .hero__bg img {
    object-position: center 60%;
  }

  .section {
    padding: 80px 0;
  }

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

  .desk-workers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan__body {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .access-faq__body {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "card map"
      "faq faq";
    align-items: stretch;
  }

  .access-card {
    grid-area: card;
  }

  .access-map {
    grid-area: map;
    height: auto;
    min-height: 280px;
  }

  .faq {
    grid-area: faq;
  }
}

/* ===== Responsive: PC (1024px+) ===== */
@media (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }

  .hero__content {
    padding: 0;
  }

  .concept__body {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .program__steps {
    grid-template-columns: 1fr 1fr 1.5fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .program__step {
    border-left: none;
    border-top: 2px solid rgba(34, 184, 207, 0.35);
    padding: 28px 20px 0;
  }

  .program__step-time::before {
    left: -7px;
    top: -7px;
  }

  .program__step:nth-child(1) {
    transform: translateY(8px);
  }

  .program__step:nth-child(2) {
    transform: translateY(-6px);
  }

  .program__step:nth-child(4) {
    transform: translateY(10px);
  }

  .program__step--main {
    border-top-color: var(--color-accent);
    border-radius: 16px 16px 0 0;
    padding: 36px 28px 28px;
    transform: translateY(-26px);
  }

  .program__line {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(34, 184, 207, 0.25);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .difference__grid {
    grid-template-columns: 1fr 1fr 1.1fr;
    align-items: center;
    gap: 28px;
  }

  .difference-card--featured {
    transform: translateY(-20px);
  }

  .studio__main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .studio__labels {
    flex-direction: column;
    margin-top: 0;
    align-items: flex-start;
  }

  .studio__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
  }

  .access-faq__body {
    gap: 48px;
  }
}

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

  .hero__bg img {
    transform: none !important;
  }

  .hero__scroll-line {
    animation: none;
  }
}
