/* gaプログラミング大宮校 LP スタイル
   見本（docs/reference/元サイトPC版.pdf = 2479px幅キャプチャ）と、同幅で開いた元サイトの
   computed style / getBoundingClientRect の実測値をそのまま使っている。
   元サイトは max-width 1280px のコンテナ＋左右48pxの余白で、1280px以下では縮む。 */

:root {
  --navy: #1d2a5f;
  --orange: #fc7508;
  --yellow: #ffd51f;
  --yellow-light: #ffe14e;
  --blue: #259fe9;
  --blue-dark: #1565c0;
  --blue-curve: #2775bd;
  --green: #23923f;
  --green-micra: #3c8527;
  --pink: #e92e97;
  --red: #c30909;
  --orange-roblox: #d84015;
  --orange-kyogi: #e85d2a;
  --cream: #f8f6f0;
  --text: #333;
  --text-dark: #303439;
  --dotted: #faeaa6;
  --link-blue: #0084d4;
  --header-h: 100px;
  --font-rounded: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  /* 元サイトの本文（ABOUT/特徴）はヒラギノ角ゴ W6。Macでは実物、他はNoto Sans JPで代替 */
  --font-hiragino: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-en: "Montserrat", sans-serif;
  --font-num: "Roboto", sans-serif;
  --font-lato: "Lato", "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* セクション共通: 左右48px余白・内側は最大1280px */
.section { padding: 100px 48px; }
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.section--cream { background: var(--cream); }
.section--pattern {
  background: url("/images/site/pattern.webp") center / cover no-repeat #fff;
}

/* ------------------------------------------------------------
   ヘッダー（固定・クリーム地・100px）
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--cream);
  display: flex;
  align-items: center;
  padding-left: 40px;
  /* 元サイトと同じく、幅が足りない時はナビを折り返さず右端で切れる */
  overflow: hidden;
}

.site-logo {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo__img { width: 200px; height: 52px; }

.site-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  height: 100%;
  white-space: nowrap;
}
.site-nav__list {
  display: flex;
  list-style: none;
  gap: 15px;
}
.site-nav__list a {
  display: block;
  padding: 0 15px;
  text-decoration: none;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 22px;
  line-height: 22px;
  letter-spacing: 2.2px;
  color: var(--navy);
}
.site-nav__list a:hover { color: var(--blue); }
/* 元サイトは「ホーム」と「コース」の間だけ間隔がない */
.site-nav__list li:first-child { margin-right: -15px; }

.header-tel {
  width: 158px;
  margin: 0 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
}
.header-tel__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 16.8px;
}
.header-tel__number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-lato);
  font-size: 20px;
  font-weight: 900;
  line-height: 28px;
  white-space: nowrap;
}
.header-tel__number svg { width: 24px; height: 24px; fill: var(--blue); }
.header-tel__hours {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 16.8px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 18px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  text-decoration: none;
  text-align: left;
}
.header-cta:hover { opacity: 0.85; }
.header-cta svg { width: 24px; height: 24px; fill: #fff; flex-shrink: 0; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  margin-right: 16px;
  cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; fill: #fff; }

/* モバイルメニュー */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
  z-index: 110;
}
.overlay[data-open="true"] { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 84vw);
  background: #fff;
  z-index: 120;
  padding: 64px 28px 28px;
  transform: translateX(100%);
  transition: transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu a {
  text-decoration: none;
  font-weight: 700;
  padding: 12px 4px;
  border-bottom: 1px solid #eee;
}
.mobile-menu__cta {
  margin-top: 16px;
  background: var(--orange);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  border-bottom: 0 !important;
}
.mobile-menu__tel { color: var(--blue-dark); border-bottom: 0 !important; }
.mobile-menu__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

/* ------------------------------------------------------------
   ヒーロー（高さ90vh・画面左端基準の絶対配置・下端に青い円弧）
   ------------------------------------------------------------ */
.hero {
  position: relative;
  margin-top: var(--header-h);
  height: 90vh;
  background:
    url("/images/site/hero-pc.webp") center bottom / cover no-repeat,
    var(--cream);
  overflow: hidden;
}
/* 要素群（バッジ〜五角形）は高さ562pxの塊として上下中央に置かれている */
.hero__block {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 562px;
  margin-top: -281px;
  z-index: 1;
}
.hero__badge--souzou {
  position: absolute;
  left: 309px;
  top: 0;
  width: 200px;
}
.hero__badge--katachi {
  position: absolute;
  left: 659px;
  top: 1px;
  width: 203px;
}
.hero__line {
  position: absolute;
  left: 120px;
  display: flex;
  align-items: center;
  color: var(--orange);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 32px;
  line-height: 44.8px;
  white-space: nowrap;
}
.hero__line--1 { top: 175px; }
.hero__line--2 { top: 229px; }
.hero__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__icon svg { width: 20px; height: 20px; fill: #fff; }
.hero__title {
  position: absolute;
  left: 110px;
  top: 284px;
  font-family: var(--font-rounded);
  font-weight: 800;
  font-size: 64px;
  line-height: 96px;
  color: var(--navy);
  white-space: nowrap;
}
.hero__title strong { font-weight: 800; font-size: 65px; }
/* 見出し下の黄色マーカー（元サイトは opacity 0.2 で文字の背面） */
.hero__marker {
  position: absolute;
  left: 116px;
  top: 346px;
  width: 847px;
  height: 30px;
  background: var(--yellow);
  opacity: 0.2;
  z-index: -1;
}
.hero__pentagon {
  position: absolute;
  top: 392px;
  width: 150px;
  height: 170px;
  padding-top: 20px;
  background: url("/images/site/pentagon.webp") center / contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-rounded);
  font-weight: 900;
  font-size: 28px;
  line-height: 28px;
}
.hero__pentagon--game { left: 323px; color: var(--blue); }
.hero__pentagon--robot { left: 485px; color: var(--green); letter-spacing: -2.8px; }
.hero__pentagon--ai { left: 647px; }
/* AIコースの文字だけ青→紫のグラデーション */
.hero__pentagon--ai span {
  background: linear-gradient(270deg, #207ce6 0%, #ac30e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 下端の青い円弧: 半径約6854pxの円の上端。中央で171px・両端で58pxの高さになる */
.hero__curve {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 13708px;
  height: 13708px;
  margin-left: -6854px;
  transform: translateY(calc(100% - 171px));
  border-radius: 50%;
  background: var(--blue-curve);
}
/* SP時のみタイトルを2行に折り返す */
.br-sp { display: none; }

/* ------------------------------------------------------------
   「作って、動かす、モノづくり体験。」帯（白地に1280x700の合成画像）
   ------------------------------------------------------------ */
.band { background: #fff; }
.band__box {
  width: 1280px;
  max-width: 100%;
  height: 700px;
  margin: 0 auto;
}
.band__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band__img--sp { display: none; }

/* ------------------------------------------------------------
   セクション見出し
   ------------------------------------------------------------ */
.section-heading {
  text-align: center;
  margin-bottom: 100px;
}
.section-heading__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: 6.4px;
  color: var(--orange);
}
.section-heading__ja {
  margin-top: 30px;
  font-family: var(--font-rounded);
  font-weight: 800;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: 9.6px;
  color: var(--orange);
}
.section-heading__ja--tight { letter-spacing: 4.8px; }
.section-heading__ja--wide { letter-spacing: 26.4px; }
.section-heading--white .section-heading__en,
.section-heading--white .section-heading__ja { color: #fff; }

/* ------------------------------------------------------------
   ABOUT（POINT 01〜03 のジグザグ）
   ------------------------------------------------------------ */
.section--about .section-heading { margin-bottom: 150px; }
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 96px;
}
.about-point--1 { margin-bottom: 143px; }
.about-point--reverse { flex-direction: row-reverse; }
.about-point__img {
  flex: 0 0 60%;
  height: 520px;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.15);
}
/* 元サイトでは1つ目だけ写真が47px下がっている */
.about-point--1 .about-point__img { margin-top: 47px; }
.about-point__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-point__text { flex: 1; min-width: 0; }
.about-point__num {
  text-align: center;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 6px;
  color: var(--yellow);
}
.about-point__num span {
  display: block;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 72px;
  line-height: 72px;
  letter-spacing: normal;
}
.about-point__title {
  width: fit-content;
  margin: 0 auto;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 36px;
  line-height: 50.4px;
  color: var(--blue);
}
.about-point__body {
  margin-top: 20px;
  font-family: var(--font-hiragino);
  font-weight: 700;
  font-size: 16px;
  line-height: 28.8px;
  letter-spacing: 0.8px;
  color: #000;
}
.about-point__body p + p { margin-top: 28.8px; }

/* ------------------------------------------------------------
   FEATURES（黄枠カード3枚・幾何模様の背景）
   ------------------------------------------------------------ */
.section--features { padding: 96px 48px 160px; }
.section--features .section-heading { margin-bottom: 200px; }
.features-grid {
  display: flex;
  gap: 26px;
}
.feature-item {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.feature-item__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 4px;
  color: var(--yellow);
}
.feature-item__num span {
  display: block;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 72px;
  line-height: 72px;
  letter-spacing: normal;
}
.feature-card {
  margin-top: 20px;
  height: 650px;
  background: #fff;
  border: 6px solid var(--yellow);
  border-radius: 12px;
  text-align: left;
  overflow: hidden;
}
.feature-item:first-child .feature-card { border-radius: 16px; }
.feature-card__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 7px 7px 0 0;
}
.feature-card__title {
  margin-top: 30px;
  text-align: center;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 28px;
  line-height: 33.6px;
  color: var(--blue);
}
.feature-card__text {
  margin-top: 15px;
  padding: 0 20px 20px;
  font-family: var(--font-hiragino);
  font-weight: 600;
  font-size: 16px;
  line-height: 28.8px;
  letter-spacing: 0.8px;
}

/* ------------------------------------------------------------
   無料体験授業バナー（黄色帯）
   ------------------------------------------------------------ */
.cta-band {
  background: var(--yellow-light);
  padding: 100px 48px;
}
.cta-banner-link {
  display: block;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}
.cta-banner-link:hover { opacity: 0.9; }
.cta-banner-link img { width: 100%; }
/* カレンダー下では地色（クリーム）の上にそのまま置く */
.cta-banner-link--plain { margin-top: 50px; }

/* ------------------------------------------------------------
   COURSE（9コース・画像とテキストが交互・点線区切り）
   ------------------------------------------------------------ */
.course-item { padding-top: 60px; }
/* 区切り線: 4px描いて2px空ける3px厚の点線が、余白48pxを除く全幅に引かれている（フロー内の3px） */
.course-item::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 60px;
  background: repeating-linear-gradient(90deg, var(--dotted) 0 4px, transparent 4px 6px);
}
.course-item__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: flex-start;
  gap: 5%;
}
.course-item--reverse .course-item__inner { flex-direction: row-reverse; }
.course-item__media { flex: 0 0 50%; min-width: 0; }
.course-item__media img {
  width: 100%;
  border-radius: 12px;
}
/* 写真の一部は 592x500 の枠に収めて切り抜かれている */
.course-item__media--fixed img {
  aspect-ratio: 592 / 500;
  object-fit: cover;
}
.course-item__media video {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 592 / 400;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.course-item__body { flex: 0 0 45%; min-width: 0; }
/* 元サイトではAIコースだけ文章側が21px下がっている */
.course-item__body--lower { margin-top: 21px; }
/* 競技プログラミングは文章側が写真より18px長いが、行の高さは写真で決まっている */
.course-item__body--overflow { margin-bottom: -18px; }
.course-pill {
  display: inline-block;
  color: #fff;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 32px;
  line-height: 44.8px;
  border-radius: 48px;
  padding: 5px 30px;
}
.course-pill--game { background: var(--blue); }
.course-pill--roblox { background: var(--orange-roblox); letter-spacing: -1.28px; }
.course-pill--micra { background: var(--green-micra); }
.course-pill--metaverse { background: var(--pink); letter-spacing: -1.28px; }
.course-pill--robloxjr { background: var(--blue-dark); }
.course-pill--robotics { background: linear-gradient(45deg, #ebe700 0%, #02edff 100%); letter-spacing: -1.28px; }
.course-pill--robot { background: var(--green); border-radius: 64px; padding: 5px 20px; }
.course-pill--ai { background: var(--navy); }
.course-pill--kyogi { background: var(--orange-kyogi); border-radius: 64px; padding: 5px 20px; }

.course-item__desc {
  margin-top: 10px;
  padding-top: 30px;
  font-size: 18px;
  line-height: 28.8px;
}
.course-item__note--red {
  padding-top: 10px;
  color: var(--red);
  font-size: 18px;
  line-height: 28.8px;
}
.course-item__note {
  margin-top: 28.8px;
  font-size: 18px;
  line-height: 28.8px;
}

/* 料金などの行: ラベル(100px幅・中央揃え)と値がそれぞれ下線を持ち、下端で揃う */
.course-row {
  display: flex;
  align-items: flex-end;
}
.course-row--gap { margin-top: 20px; }
.course-row__label {
  flex-shrink: 0;
  width: 100px;
  padding: 30px 5px 0;
  text-align: center;
  font-size: 18px;
  line-height: 28.8px;
  border-bottom: 1px solid var(--text);
}
.course-row__label--2l { padding-top: 10px; }
.course-row__value {
  display: flex;
  align-items: flex-end;
  white-space: nowrap;
  margin-left: 5px;
  padding: 30px 5px 0 0;
  font-size: 15px;
  line-height: 24px;
  border-bottom: 1px solid var(--text);
}
.course-row__value--multi { line-height: 16.5px; padding-bottom: 4px; }
.course-row__price {
  font-style: normal;
  color: var(--red);
  font-size: 28px;
  line-height: 30.8px;
  padding: 0 4px 0 3px;
}
.course-row__unit { padding-right: 5px; }
.course-row__small {
  padding: 10px 5px 0 0;
  font-size: 12px;
  line-height: 16.8px;
}

/* ------------------------------------------------------------
   CALENDAR（コースセクションの末尾に続く）
   ------------------------------------------------------------ */
.calendar { margin-top: 100px; }
.calendar .section-heading { margin-bottom: 50px; }
.calendar-embed {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}
.calendar-embed iframe {
  display: block;
  width: 100%;
  height: 800px;
  border: 0;
  background: #eee;
}
.calendar-caption {
  margin-top: 50px;
  text-align: center;
  font-size: 24px;
  line-height: 40.8px;
}

/* ------------------------------------------------------------
   BLOG（黄色帯・白カード3枚）
   ------------------------------------------------------------ */
.section--blog {
  background: var(--yellow);
  padding: 120px 96px 96px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  gap: 20px;
}
.blog-card {
  height: 365px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-card__body {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.blog-card__category {
  align-self: flex-start;
  background: var(--yellow);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 4px;
  padding: 1px 10px;
}
.blog-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.blog-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__date {
  margin-top: auto;
  font-size: 12px;
  color: #888;
}
.blog-state {
  grid-column: 1 / -1;
  text-align: center;
  font-weight: 700;
}

/* ------------------------------------------------------------
   FAQ（青バーQ＋白地A・常時展開・幅1000px）
   ------------------------------------------------------------ */
.section--faq { padding: 100px 96px 80px; }
.faq-list {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}
.faq-item { margin-bottom: 30px; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 44px;
  padding: 20px;
}
.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px;
  font-size: 20px;
  line-height: 32px;
}
.faq-item__a .faq-icon { align-self: center; }
.faq-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-rounded);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
}
.faq-icon--q { background: #fff; color: var(--blue); }
.faq-icon--a { background: var(--yellow); color: #fff; }

/* ------------------------------------------------------------
   CONTACT（幾何模様の上に白いフォーム箱 800px）
   ------------------------------------------------------------ */
.section--contact { padding: 96px 48px 140px; }
.section--contact .section-heading { margin-bottom: 120px; }
.contact-form {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 60px 100px 100px;
}
.contact-lead {
  text-align: center;
  font-size: 20px;
  line-height: 36px;
  margin-bottom: 80px;
}
.form-group { margin-bottom: 20px; }
.form-group > label,
.form-group > .form-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: 15px;
  line-height: 21px;
}
.form-badge {
  flex-shrink: 0;
  font-family: var(--font-lato);
  font-size: 12px;
  font-weight: 700;
  line-height: 16.8px;
  padding: 0 5px;
  border-radius: 4px;
  background: #fff;
}
.form-badge--required {
  color: var(--red);
  border: 1px solid var(--red);
}
.form-badge--optional {
  color: #666;
  border: 1px solid #666;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  display: block;
  width: 100%;
  height: 50px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-lato);
  font-size: 15px;
  line-height: 21px;
  padding: 10px;
}
.contact-form input[type="email"],
.contact-form input[type="tel"] { padding: 10px 16px; }
.contact-form textarea {
  height: 160px;
  resize: vertical;
}
.contact-form ::placeholder { color: #b0b8bf; }

.form-age {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
  line-height: 28px;
}
.contact-form .form-age input { width: 83px; }
.contact-form input.form-grade { width: 146px; }

.form-radio-list { border: 0; }
.form-radio-list .form-legend { margin-bottom: 20px; }
.form-radio-list label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-family: var(--font-lato);
  font-weight: 400;
  font-size: 15px;
  line-height: 21px;
  cursor: pointer;
}
.form-radio-list label:last-child { margin-bottom: 0; }
.form-radio-list input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue-dark);
}

.form-note {
  margin: 30px 0 9px;
  color: var(--link-blue);
  font-size: 14px;
  line-height: 19.6px;
}
.form-group--checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 0;
  padding-left: 28px;
  font-size: 15px;
  line-height: 21px;
}
.form-group--checkbox label { margin-bottom: 0; font-weight: 400; }
.form-group--checkbox input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--blue-dark);
}

.contact-form .cf-turnstile {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.contact-form .cf-turnstile + .form-submit { margin-top: 24px; }

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  margin-top: 40px;
  border: 0;
  border-radius: 32px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 9.6px;
  text-indent: 9.6px;
  cursor: pointer;
}
.form-submit svg { width: 18px; height: 18px; fill: #fff; margin-left: -9px; }
.form-submit:hover { opacity: 0.85; }

.form-result {
  display: none;
  margin-top: 20px;
  padding: 14px;
  border-radius: 4px;
  text-align: center;
}
.form-result[data-visible="true"] { display: block; }
.form-result[data-state="pending"] { background: #eef6fd; color: var(--blue-dark); }
.form-result[data-state="error"] { background: #fdeeee; color: var(--red); }

/* ------------------------------------------------------------
   ACCESS
   ------------------------------------------------------------ */
.section--access { padding: 96px 48px; }
.section--access .section-heading { margin-bottom: 130px; }
.access-inner { padding: 0 48px; }
.access-address {
  padding-bottom: 5px;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 2.4px;
}
.access-map { margin-top: 24px; }
.access-map iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}

/* ------------------------------------------------------------
   フッター
   ------------------------------------------------------------ */
.site-footer__main {
  background: linear-gradient(#fafafa 0%, #fff 100%);
  padding: 50px 48px 41px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 48px;
}
.footer-logo { text-decoration: none; display: inline-block; }
.footer-logo__img { width: 230px; height: 34px; }
.footer-logo__branch {
  display: block;
  margin-left: 79px;
  padding: 5px 6px;
  font-family: var(--font-rounded);
  font-size: 20px;
  line-height: 28px;
}
.footer-company { width: 462px; max-width: 100%; }
.footer-company__label {
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 4px;
}
.footer-company__name {
  padding-top: 10px;
  font-family: var(--font-rounded);
  font-weight: 900;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: 4px;
}
.footer-company__address {
  margin-top: 32px;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  color: var(--text-dark);
}
.site-footer__bar {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-family: var(--font-lato);
  font-size: 12px;
  line-height: 16.8px;
  padding: 16px 8px;
}

/* ------------------------------------------------------------
   出現アニメーション（reduced-motion時は無効）
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .appear {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .appear.is-visible {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   ナビが収まらない幅ではメニューボタンに切り替える
   ------------------------------------------------------------ */
@media (max-width: 1199px) {
  .site-nav__list { display: none; }
  .header-tel { display: none; }
  .menu-toggle { display: flex; }
}

/* ------------------------------------------------------------
   タブレット〜スマホ（元サイトのSP版レイアウトを再現）
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .site-header { padding-left: 16px; }
  .site-logo__img { width: 168px; height: auto; }
  .header-cta { display: none; }

  .section { padding: 70px 20px; }

  /* ヒーロー: SP用の縦長合成画像に差し替え、要素を通常フローで並べる */
  .hero {
    height: 560px;
    background:
      url("/images/site/hero-sp.webp") center bottom / cover no-repeat,
      var(--cream);
  }
  .hero__block {
    position: static;
    height: auto;
    margin: 0;
    padding: 14px 16px 0;
  }
  .hero__badge--souzou,
  .hero__badge--katachi {
    position: static;
    display: inline-block;
    width: 126px;
  }
  .hero__badge--katachi {
    margin-left: 44px;
    margin-top: 18px;
  }
  /* 実サイトのSP版はネイビー＋白のtext-shadowで写真上でも読めるようにしている（実測値） */
  .hero__line {
    position: static;
    display: block;
    margin-top: 10px;
    max-width: 260px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
    text-shadow: 1px 1px 0 #fff;
  }
  .hero__line--1 { margin-top: 8px; }
  /* 実サイトのSP版はアイコンなしのため非表示にする */
  .hero__icon { display: none; }
  .hero__title {
    position: static;
    display: inline-block;
    margin-top: 6px;
    padding: 0 2px;
    font-size: 32px;
    line-height: 1.6;
    white-space: normal;
    text-shadow: 1px 1px 0 #fff;
    /* SPはマーカー要素を使わず、文字の下地を線形グラデーションで描く */
    background: linear-gradient(transparent 62%, rgba(255, 213, 31, 0.45) 62%);
  }
  .hero__marker { display: none; }
  .br-sp { display: inline; }
  .hero__pentagons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }
  .hero__pentagon {
    position: static;
    width: 96px;
    height: 96px;
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.3;
  }
  .hero__curve { display: none; }

  .band__box { width: 100%; height: auto; }
  .band__img { height: auto; }
  .band__img--pc { display: none; }
  .band__img--sp { display: block; }

  .section-heading { margin-bottom: 56px; }
  .section--about .section-heading,
  .section--features .section-heading,
  .section--contact .section-heading,
  .section--access .section-heading { margin-bottom: 56px; }
  .section-heading__en { font-size: 15px; }
  .section-heading__ja { font-size: 28px; line-height: 1.3; }
  .section-heading__ja--wide { letter-spacing: 12px; }

  .about-point,
  .about-point--reverse {
    flex-direction: column;
    gap: 28px;
  }
  .about-point--1,
  .about-point--2 { margin-bottom: 90px; }
  .about-point__img {
    flex: none;
    width: 100%;
    height: auto;
    order: 2;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }
  .about-point--1 .about-point__img { margin-top: 0; }
  .about-point__img img { height: auto; }
  .about-point__text { order: 1; }
  .about-point__num { font-size: 16px; }
  .about-point__num span { font-size: 44px; line-height: 1.2; }
  .about-point__title { font-size: 24px; line-height: 1.4; }

  .section--features { padding: 70px 20px; }
  .features-grid { flex-direction: column; gap: 48px; }
  .feature-card { height: auto; }
  .feature-card__img { height: auto; aspect-ratio: 3 / 2; }

  .cta-band { padding: 48px 20px; }

  .course-item { padding: 48px 0; }
  .course-item__inner,
  .course-item--reverse .course-item__inner {
    flex-direction: column;
    gap: 28px;
    padding: 0;
  }
  .course-item__media { flex: none; width: 100%; order: 2; }
  .course-item__media video { max-width: 100%; }
  .course-item__body { flex: none; width: 100%; order: 1; }
  .course-pill { font-size: 19px; line-height: 1.5; padding: 6px 24px; }
  .course-item__desc,
  .course-item__note--red,
  .course-item__note { font-size: 16px; line-height: 1.7; }
  .course-row__label { width: 90px; font-size: 15px; padding-top: 20px; }
  .course-row__label--2l { padding-top: 8px; }
  .course-row__value { padding-top: 20px; font-size: 13px; flex-wrap: wrap; }
  .course-row__price { font-size: 22px; }

  .calendar { margin-top: 70px; }
  .calendar-embed iframe { height: 480px; }
  .calendar-caption { font-size: 14px; line-height: 1.8; margin-top: 30px; }
  .cta-banner-link--plain { margin-top: 30px; }

  .section--blog { padding: 70px 20px; }
  .blog-grid { grid-template-columns: minmax(0, 320px); }

  .section--faq { padding: 70px 20px; }
  .faq-item__q { font-size: 16px; line-height: 1.6; padding: 12px 14px; gap: 12px; }
  .faq-item__a { font-size: 15px; line-height: 1.7; padding: 16px 14px; gap: 12px; }
  .faq-icon { width: 34px; height: 34px; font-size: 22px; }

  .section--contact { padding: 70px 20px; }
  .contact-form { padding: 32px 16px 40px; }
  .contact-lead { font-size: 15px; line-height: 1.8; margin-bottom: 40px; }
  .form-submit { font-size: 20px; }

  .section--access { padding: 70px 20px; }
  .access-inner { padding: 0; }
  .access-address { font-size: 15px; line-height: 1.9; letter-spacing: 1px; }
  .access-map iframe { height: 360px; }

  .site-footer__main { padding: 40px 20px 32px; }
  .site-footer__inner {
    flex-direction: column;
    gap: 32px;
    padding: 0;
  }
}

/* Company website opens in a new tab; retain the existing company-name style. */
.footer-company__name a { text-decoration: none; }
.footer-company__name a:hover,
.footer-company__name a:focus-visible { color: var(--blue); }
