:root {
  --color-main: #6F8B6B;
  --color-light: #EAF1E7;
  --color-white: #FFFFFF;
  --color-text: #444444;
  --color-cta: #536C50;
  --color-hover: #435940;
  --site-max-width: 1520px;
  --content-max-width: 1360px;
  --pricing-max-width: 960px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: "Zen Maru Gothic", sans-serif;
}
.site-wrapper { width: 100%; max-width: var(--site-max-width); margin-inline: auto; }
.content-container {
  width: calc(100% - 160px);
  max-width: var(--content-max-width);
  margin-inline: auto;
}
/* 今後追加する料金表用の幅。セクション自体はまだ作成しない。 */
.pricing-container { width: 100%; max-width: var(--pricing-max-width); margin-inline: auto; }
.site-header { background: var(--color-white); }
.site-header__inner {
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.site-logo { display: block; flex: 0 1 300px; min-width: 0; }
.site-logo img { display: block; width: 100%; height: auto; }
.global-navigation ul {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.global-navigation a {
  display: block;
  color: #333;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
.global-navigation .header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 56px;
  margin-left: 20px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--color-cta);
  color: var(--color-white);
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-main); outline-offset: 5px; }
.menu-toggle { display: none; }

@media (min-width: 901px) {
  .site-header { height: 120px; }
  .site-header__inner { height: 120px; min-height: 120px; padding-block: 0; }
  .site-logo img { max-height: 80px; object-fit: contain; object-position: left center; }
}

@media (max-width: 1100px) {
  .content-container { width: calc(100% - 80px); }
  .site-header__inner { gap: 24px; }
  .site-logo { flex-basis: 250px; }
  .global-navigation ul { gap: 24px; }
  .global-navigation .header-cta { margin-left: 0; }
}

@media (max-width: 900px) {
  .content-container { width: calc(100% - 40px); }
  .site-header__inner { min-height: 88px; flex-wrap: wrap; gap: 0 16px; }
  .site-logo { flex: 0 1 240px; max-width: calc(100% - 60px); }
  .menu-toggle:not([hidden]) {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 2px; background: var(--color-main); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .global-navigation { width: 100%; padding-block: 12px 24px; }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + .global-navigation { display: none; }
  .global-navigation ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .global-navigation a { padding: 12px 0; text-align: center; white-space: normal; }
  .global-navigation .header-cta { width: 100%; margin-top: 8px; }
}

/* FV: existing header rules above are kept intact. */
.fv {
  container-type: inline-size;
  padding-block: 48px 110px;
}
@media (min-width: 901px) {
  /* Header content moves down 20px; preserve its visual gap to the heading. */
  .fv { padding-top: 28px; }
}
.fv__heading {
  /* Balance the wider line gap so the photograph keeps its vertical position. */
  margin: 0 0 calc(72px - .5em);
  color: var(--color-main);
  /* Use the same Zen Maru Gothic face for every glyph. */
  font-family: "Zen Maru Gothic", sans-serif;
  /* Allow for all 17 glyphs even when half-width alternates are unavailable. */
  font-size: min(70px, calc(100cqw / 17));
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  word-spacing: normal;
  font-kerning: normal;
  font-feature-settings: normal;
  text-align: left;
  text-align-last: left;
}
.fv__line {
  display: block;
  white-space: nowrap;
  text-align: left;
  letter-spacing: inherit;
  word-spacing: normal;
}
/* Per-glyph optical spacing matched to the reference at 70px.
   Keep inline text for Japanese line-breaking, selection and accessibility. */
.fv__glyph {
  margin-right: calc(var(--fv-after, 0) * 1em / 70);
}
.fv__slider {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 10px;
}
.fv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}
.fv__slide.is-current { opacity: 1; z-index: 1; }
.fv__slide.is-entering {
  opacity: 1;
  z-index: 2;
  transition: opacity 1s ease-in-out;
}
.fv__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fv__slide.is-zooming img { animation: fv-photo-zoom 5s linear forwards; }
@keyframes fv-photo-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.fv__slide:nth-child(1) img { object-position: center 42%; }
.fv__slide:nth-child(2) img { object-position: center 12%; }
.fv__slide:nth-child(3) img { object-position: center 35%; }
@media (max-width: 1100px) {
  .fv__slider { height: auto; aspect-ratio: 3 / 2; max-height: 640px; }
}
@media (max-width: 900px) {
  .fv { padding-block: 48px 52px; }
  .fv__heading { font-size: clamp(28px, 5.5cqw, 75px); margin-bottom: 40px; }
}
@media (max-width: 600px) {
  .fv { padding-top: 32px; }
  .fv__heading { font-size: clamp(23px, 8.2cqw, 40px); line-height: 1.45; margin-bottom: 32px; }
  .fv__line { white-space: normal; }
  .fv__line + .fv__line { margin-top: 12px; }
  .fv__slider { border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .fv__slide.is-entering { transition: none; }
  .fv__slide.is-zooming img { animation: none; }
}

/* CONCEPT: asymmetric three-photo layout, proportioned to the reference. */
.introduction {
  margin-top: calc(19.2cqw - 50px);
  color: var(--color-text);
}
.introduction__layout {
  position: relative;
  padding-top: 14.4cqw;
}
.introduction__content { position: relative; width: 100%; text-align: center; }
.introduction__copy {
  color: var(--color-text);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(18px, 2.06cqw, 28px);
  font-weight: 700;
  line-height: 2.14;
  letter-spacing: 0;
}
.introduction__copy p { margin: 0; }
.introduction__copy p + p { margin-top: 4.4cqw; }
.introduction__copy span { display: block; }
.introduction__photo {
  position: absolute;
  display: block;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
.introduction__photo--counseling { top: 0; right: .8%; width: 21.76%; aspect-ratio: 3 / 2; }
.introduction__photo--notebook { top: 21.6cqw; left: 3.4%; width: 17.65%; aspect-ratio: 5 / 7; object-position: 48% center; }
/* Keep the existing image size; normal flow places it safely below the CTA. */
.introduction__photo--focus {
  position: relative;
  width: 17.4534976%;
  aspect-ratio: 3 / 2;
  margin: 9cqw 14% 0 auto;
}
.introduction__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  max-width: 100%;
  min-height: 58px;
  margin-top: 5.3cqw;
  padding: 14px 20px;
  border-radius: 4px;
  background: var(--color-cta);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
@media (max-width: 900px) {
  .introduction { margin-top: 56px; }
  .introduction__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    padding: 0;
  }
  .introduction__photo { position: static; width: 100%; border-radius: 6px; }
  .introduction__photo--counseling { grid-column: 2; grid-row: 1; max-width: 260px; justify-self: end; }
  .introduction__photo--notebook { grid-column: 1; grid-row: 1; width: 78%; max-width: 180px; margin-top: 44px; }
  .introduction__content { grid-column: 1 / -1; grid-row: 2; }
  .introduction__photo--focus { grid-column: 2; grid-row: 3; max-width: 200px; justify-self: end; margin: 0; }
  .introduction__copy { font-size: 18px; line-height: 2; }
  .introduction__copy p + p { margin-top: 36px; }
  .introduction__copy span { display: inline; }
  .introduction__button { margin-top: 40px; }
}
@media (max-width: 600px) {
  .introduction { margin-top: 48px; }
  .introduction__layout { gap: 32px 16px; }
  .introduction__photo--notebook { width: 88%; margin-top: 32px; }
  .introduction__copy { font-size: 16px; line-height: 2.1; }
  .introduction__button { width: 100%; max-width: 340px; min-height: 58px; font-size: 15px; }
}

/* FOOTER: compact logo/navigation row with a short disclosure below. */
.site-footer { padding: 32px 24px; background: #536C50; color: var(--color-white); font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; text-align: center; }
.site-footer__inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 20px 32px; max-width: 1120px; margin-inline: auto; }
.site-footer__logo { display: block; width: 260px; max-width: 100%; padding: 4px 8px; background: var(--color-white); border-radius: 4px; }
.site-footer__logo img { display: block; width: 100%; height: auto; }
.site-footer__nav ul { display: flex; justify-content: flex-end; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { display: inline-block; padding-block: 8px; color: var(--color-white); font-size: 16px; line-height: 1.75; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.site-footer__nav a:hover { color: var(--color-white); }
.site-footer__meta { grid-column: 1 / -1; display: grid; gap: 8px; }
.site-footer__demo-note { margin: 0; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.site-footer__copyright { margin: 0; color: var(--color-white); font-size: 13px; line-height: 1.8; }
@media (max-width: 900px) {
  .site-footer { padding-block: 28px; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .site-footer__logo { width: 240px; justify-self: center; }
  .site-footer__nav ul { flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
}

/* FAQ: always-visible questions and answers, scoped to this section. */
.faq { padding-block: 96px 100px; background: var(--color-white); color: var(--color-text); font-family: "Zen Maru Gothic", sans-serif; scroll-margin-top: 24px; }
.faq__inner { width: calc(100% - 80px); max-width: 1120px; margin-inline: auto; }
.faq__header { text-align: center; }
.faq__label { margin: 0 0 24px; color: var(--color-main); font-size: 20px; font-weight: 700; line-height: 1.5; }
.faq__header h2 { margin: 0; color: var(--color-main); font-size: 36px; font-weight: 700; line-height: 1.6; }
.faq__lead { margin: 28px 0 0; font-size: 18px; font-weight: 500; line-height: 2; }
.faq__list { display: grid; gap: 24px; margin: 64px 0 0; }
.faq__card { padding: 32px 40px; border-radius: 12px; background: var(--color-light); }
.faq__question, .faq__answer { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.faq__question { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.8; }
.faq__answer { margin: 22px 0 0; }
.faq__mark { color: var(--color-main); font-size: 28px; font-weight: 700; line-height: 1.5; }
.faq__answer > .faq__mark { padding-top: 19px; }
.faq__answer-box { min-width: 0; margin: 0; padding: 24px 32px; border-radius: 12px; background: var(--color-white); color: var(--color-text); font-size: 18px; font-weight: 500; line-height: 1.75; text-align: left; text-wrap: pretty; overflow-wrap: anywhere; }
.faq__question > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.faq__cta { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 64px; text-align: center; }
.faq__cta-copy { margin: 0; color: var(--color-main); font-size: 28px; font-weight: 700; line-height: 1.8; }
/* Match the existing CONCEPT CTA with the same label. */
.faq__button { display: inline-flex; align-items: center; justify-content: center; width: 320px; max-width: 100%; min-height: 58px; padding: 14px 20px; border-radius: 4px; background: var(--color-cta); color: var(--color-white); font-size: 16px; font-weight: 700; line-height: 1.5; text-decoration: none; }
@media (max-width: 760px) {
  .faq { padding-block: 64px; }
  .faq__inner { width: calc(100% - 40px); }
  .faq__label { margin-bottom: 16px; font-size: 16px; }
  .faq__header h2 { font-size: 26px; }
  .faq__lead { margin-top: 20px; font-size: 16px; }
  .faq__list { margin-top: 40px; }
  .faq__card { padding: 24px 20px; }
  .faq__question, .faq__answer { grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; }
  .faq__question { font-size: 18px; }
  .faq__mark { font-size: 24px; }
  .faq__answer > .faq__mark { padding-top: 12px; }
  .faq__answer-box { padding: 16px; font-size: 16px; }
  .faq__cta-copy { font-size: 22px; }
}
@media (max-width: 600px) {
  .faq__button { width: 100%; max-width: 340px; font-size: 15px; }
}
@media (max-width: 360px) {
  .faq__header h2 { font-size: 24px; }
  .faq__card { padding-inline: 16px; }
}
