:root {
  --yellow: #e2a000;
  --yellow-surface: #ecb735;
  --yellow-bg: rgba(255, 252, 244, 0.7);
  --cyan: #10b2df;
  --pink: #e974b2;
  --text: #232323;
  --bg: #fafafa;
  --white: #fff;
  --line: #f5f5f5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 2;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1152px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.site-header-inner {
  height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 12px 0 20px;
}
.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 4px; color: var(--text); flex-shrink: 0; line-height: 0; }
.mobile-menu { display: none; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-close { background: transparent; border: none; cursor: pointer; color: var(--text); padding: 4px; display: flex; line-height: 0; }
.mobile-nav { display: flex; flex-direction: column; padding: 0 8px; }
.mobile-nav-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 14px; font-weight: 700; color: var(--text); border-bottom: 1px dashed #d6d6d6; }
.mobile-nav-item:first-child { padding-top: 0; }
.mobile-nav-item:last-child { border-bottom: none; padding-bottom: 0; }
.nav-arrow { flex-shrink: 0; }
.nav-paspo { font-family: 'Figtree', sans-serif; }
.mobile-cta { display: flex; gap: 8px; }
.mobile-cta .btn { flex: 1; justify-content: center; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; }
.header-logo { height: 30px; width: auto; display: block; }
.tag {
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  background: var(--yellow-bg); color: var(--yellow); padding: 2px 12px; border-radius: 4px;
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 700; }
.nav .nav-link + .btn { margin-left: 4px; }
.nav .btn + .btn { margin-left: -20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 4px; padding: 8px 12px 8px 20px; font-size: 14px; font-weight: 700; line-height: 1.5;
  white-space: nowrap;
}
.btn-lg { font-size: 16px; padding: 14px 20px 15px 28px; }
.btn.company { background: var(--yellow-surface); color: var(--white); }
.btn.company:hover { background: var(--yellow-surface); opacity: 0.75; }
.btn.contact { background: var(--cyan); color: var(--white); }
.btn.contact:hover { background: var(--cyan); opacity: 0.75; }
.btn.white { background: var(--white); color: var(--pink); }
.btn.white:hover { opacity: 0.75; }
section { padding-top: 120px; scroll-margin-top: 54px; }
#about { padding-top: 120px; padding-bottom: 120px; }
@keyframes sparkle-pop {
  0%   { transform: scale(0); }
  50%  { transform: scale(1); }
  100% { transform: scale(0); }
}
.sparkle {
  display: inline-block; vertical-align: top; margin-left: 4px; margin-top: 2px;
  width: 10px; height: 10px;
  animation: sparkle-pop 0.9s ease-in-out infinite;
}
.kicker {
  margin: 0; font-family: "Figtree", sans-serif; font-size: 20px; line-height: 1.5; font-weight: 700;
  color: var(--yellow); text-align: center;
}
.title {
  margin: 8px 0 0; font-size: 26px; line-height: 1.6; font-weight: 700; text-align: center;
}
.hero {
  padding-top: 0;
  position: relative; overflow: hidden; min-height: 640px;
  background: url(./images/school/hero-bg.png) center / cover no-repeat;
}
.hero-inner {
  padding-top: 139px; padding-bottom: 64px; padding-left: 64px;
}
.hero-text { width: 367px; }
.badge {
  width: fit-content; background: var(--yellow-bg); color: var(--yellow); border-radius: 4px;
  font-size: 16px; line-height: 1.5; font-weight: 700; padding: 4px 12px 4px 16px; margin-bottom: 32px;
}
.hero-title { margin: 0 0 32px; }
.title-pc-tablet { display: block; max-width: 100%; }
.title-sp { display: none; }
.hero-copy { margin: 0 0 32px; font-size: 16px; line-height: 2; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-image-wrap {
  position: absolute; left: 36.17%; right: -1.17%; top: 102px;
  aspect-ratio: 1280/800; border: 3px solid var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 0 48px rgba(0,0,0,0.15);
  opacity: 0;
  animation: fade-up 2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.hero-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top left; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { border-radius: 16px; overflow: hidden; box-shadow: 0 0 48px rgba(0, 0, 0, 0.1); }
.about-lead { margin: 8px 0 24px; font-size: 26px; line-height: 1.6; font-weight: 700; }
.sp-br { display: none; }
.sp-only { display: none; }
.point-note { font-size: 13px; }
.point-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.point-chip {
  margin: 0 auto 8px; width: fit-content; background: var(--yellow-surface); color: var(--white);
  border-radius: 999px; padding: 2px 12px; font-size: 14px; line-height: 1.5; font-weight: 700;
  font-family: "Figtree", sans-serif;
}
.thumb { border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.point-title { margin: 0; text-align: center; font-size: 16px; line-height: 1.5; font-weight: 700; }
.flow {
  background: var(--white);
  padding-top: 72px;
  padding-bottom: 80px;
}
.flow-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-grid article { display: flex; flex-direction: column; gap: 12px; }
.flow-head { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.flow-head .point-chip { margin: 0; }
.flow-grid h3 { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 700; text-align: center; }
.flow-grid > article > p { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 500; }
.flow-grid .thumb { aspect-ratio: 270 / 216; margin-bottom: 0; }
.flow-grid .thumb img { width: 100%; height: 100%; object-fit: cover; }
.flow-cta { margin-top: 46px; text-align: center; }
.flow-sp-desc { display: none; }
.how { padding: 80px 0; }
.how-list { max-width: 920px; margin: 64px auto 0; display: grid; gap: 24px; }
.how-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.how-text { display: flex; flex-direction: column; gap: 16px; }
.how-header { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.how-row .thumb { margin: 0; aspect-ratio: 350 / 198; }
.how-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.how-step {
  display: inline-flex; padding: 1px 12px; border-radius: 999px; background: var(--yellow-surface);
  color: var(--white); font-size: 14px; line-height: 1.5; font-weight: 700; font-family: "Figtree", sans-serif;
}
.how-title { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 700; }
.how-copy { margin: 0; font-size: 16px; line-height: 1.6; }
.divider {
  height: 12px; position: relative;
  display: grid; grid-template-columns: 1fr 20px 1fr; align-items: center; gap: 8px;
}
.divider::before, .divider::after { content: ""; border-top: 1px dashed var(--yellow-surface); }
.divider span {
  display: block; width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid var(--yellow-surface);
  background: none;
}
.faq { background: var(--white); padding: 64px 0 104px; }
section:has(.contact-box) { padding-top: 80px; }
.faq-wrap { max-width: 760px; margin: 64px auto 0; }
.qa { display: flex; flex-direction: column; gap: 8px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px dashed #EEA1CA; }
.qa:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.qline, .aline { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.qline { align-items: center; }
.qa-key { color: var(--yellow); font-family: "Figtree", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.5; }
.qline p { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 700; }
.aline p { margin: 0; font-size: 16px; line-height: 2; }
.contact-box {
  height: 300px; border-radius: 8px; overflow: hidden;
  background: var(--cyan); color: var(--white);
  border: 2px solid var(--line);
  box-shadow: 0 0 48px rgba(0,0,0,.05); position: relative;
  padding: 0 40px; display: flex; flex-direction: column; justify-content: center;
  max-width: 918px; margin-left: auto; margin-right: auto;
}
.contact-box:hover { opacity: 0.75; }
.contact-box .kicker { color: var(--white); text-align: left; }
.contact-main-row { display: flex; align-items: center; gap: 4px; margin: 4px 0 16px; }
.contact-box .main { margin: 0; font-size: 26px; line-height: 1.6; font-weight: 700; }
.contact-box .sub { margin: 0; font-size: 16px; line-height: 2; }
.contact-shot {
  position: absolute; right: 20px; top: 34px; width: 462px; height: 288px;
  border: 2px solid var(--white); border-radius: 8px;
  box-shadow: 0 0 48px rgba(0,0,0,.15); overflow: hidden;
}
footer { margin-top: 80px; background: var(--pink); color: var(--white); padding: 32px 32px 16px; }
.footer-inner { display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; }
.footer-logo { display: block; width: 184px; height: auto; }
.to-top { border: 1px solid var(--white); border-radius: 8px; padding: 16px; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.footer-body { display: flex; flex-direction: column; gap: 32px; align-items: center; width: 100%; }
.footer-links { display: flex; gap: 24px; width: 100%; }
.link-col { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.link-col a { font-size: 12px; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.link-col .btn { padding: 8px 12px 8px 20px; font-size: 14px; align-self: flex-start; }
.copyright { margin: 0; font-size: 12px; line-height: 1.5; font-weight: 700; font-family: "Figtree", sans-serif; }
@media (min-width: 641px) {
  footer { padding: 32px 40px 16px; }
  .footer-inner { gap: 80px; }
  .footer-logo { width: 240px; }
  .footer-body { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 0; }
  .copyright { order: 1; }
  .footer-links { order: 2; flex-direction: column; gap: 8px; width: auto; align-items: flex-end; }
  .link-col { flex-direction: row; gap: 16px; flex: 0 0 auto; justify-content: flex-end; }
  .link-col .btn { align-self: center; }
}
@media (max-width: 980px) {
  .container { width: min(1152px, calc(100% - 32px)); }
  .nav > .nav-link { display: none; }
  .hero-inner { padding-top: 90px; padding-bottom: 24px; padding-left: 24px; }
  .hero-text { width: auto; }
  .hero-image-wrap { position: static; margin-top: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-image { order: 2; }
  .point-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .how-row { grid-template-columns: 1fr; }
  .contact-box { height: auto; min-height: 260px; padding: 32px 24px; }
  .contact-shot { position: static; margin-top: 24px; width: 100%; height: auto; aspect-ratio: 462 / 288; }
  .nav .btn { display: none; }
  .menu-toggle { display: flex; align-items: center; }
  .site-header.is-open { background: rgba(255,255,255,0.7); }
  .site-header.is-open .site-header-inner { display: none; }
  .site-header.is-open .mobile-menu { display: flex; flex-direction: column; gap: 32px; padding: 12px 16px 32px 20px; }
}
@media (min-width: 641px) and (max-width: 980px) {
  /* hero — 企業タブレット同様のグリッド配置 */
  .hero { min-height: auto; padding-bottom: 0; }
  .hero-inner { padding: 84px 8% 0; }
  .hero-text {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "badge badge"
      "title title"
      "copy  cta";
    column-gap: 24px;
    align-items: end;
  }
  .badge { grid-area: badge; margin-bottom: 24px; }
  .hero-title { grid-area: title; margin: 0; }
  .hero-copy { grid-area: copy; margin: 38px 0 0; align-self: start; font-size: 16px; line-height: 1.75; }
  .hero-text .btn-lg { grid-area: cta; margin: 38px 0 0; justify-self: end; align-self: start; }
  .hero-image-wrap {
    position: relative; left: auto; right: auto; top: auto;
    margin: 48px 7.75% -45px;
    border: 3px solid var(--white); border-radius: 8px;
    box-shadow: 0 0 48px rgba(0,0,0,0.15); overflow: hidden;
    aspect-ratio: 1280/800;
  }

  /* about — 2カラム維持 */
  .about-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .about-image { order: 0; }
  .about-lead { font-size: 22px; line-height: 1.5; }

  /* point — 3カラム維持 */
  .point-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .point-title { font-size: 14px; line-height: 1.5; }

  /* flow — 4カラム維持（小さめ） */
  .flow-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .flow-grid h3 { font-size: 14px; line-height: 1.5; min-height: 3em; }
  .flow-grid > article > p { font-size: 13px; line-height: 1.6; }

  /* how — 2カラム維持 */
  .how-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .how-title { font-size: 18px; }

  /* qa — 余白詰め */
  .qa { padding-bottom: 16px; margin-bottom: 16px; }

  /* contact-box — 企業タブレット .cta-card.right 相当 */
  section:has(.contact-box) { overflow: hidden; }
  .contact-box {
    height: 213px; min-height: 213px;
    padding: 28px 24px 0; gap: 0;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
  }
  .contact-box .sub { display: none; }
  .contact-shot {
    position: absolute; top: 20px; left: 50%; right: auto; bottom: auto;
    width: 566px; height: 354px; aspect-ratio: 283/177; margin-top: 0;
    border: 2px solid var(--white); border-radius: 8px;
    box-shadow: 0 0 48px rgba(0,0,0,.15); overflow: hidden;
  }
  .contact-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
}
@media (max-width: 640px) {
  section { padding-top: 80px; }
  #about { padding-top: 80px; padding-bottom: 80px; }
  .flow { padding-top: 0; background: var(--bg); }
  .faq { background: var(--bg); padding-bottom: 0; }
  .sp-br { display: inline; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .about-lead > br { display: none; }
  .qa { gap: 18px; }
  .title, .contact-box .main { font-size: 24px; }
  .about-lead { font-size: 22px; }
  #intro-flow .kicker, #intro-flow .title { text-align: left; }
  .hero { min-height: 676px; }
  .hero-inner { padding: 78px 22px 0; }
  .hero-title { margin-bottom: 24px; }
  .title-pc-tablet { display: none; }
  .title-sp { display: block; max-width: 100%; }
  .badge { margin-bottom: 24px; }
  .hero-copy { font-size: 14px; line-height: 1.5; margin-bottom: 24px; }
  .hero-image-wrap { position: absolute; left: 2.13%; right: 2.13%; top: 466px; margin-top: 0; }
  .hero .btn-lg { font-size: 16px; padding: 14px 20px 15px 28px; gap: 8px; }
  .flow-cta { display: none; }
  .flow-sp-desc { display: block; font-size: 16px; line-height: 2; margin: 0; }
  .flow-grid { grid-template-columns: 1fr; gap: 20px; }
  .flow-grid article { display: grid; grid-template-columns: 150px 1fr; grid-template-rows: auto 1fr; column-gap: 20px; row-gap: 8px; align-items: start; }
  .flow-head { grid-column: 2; grid-row: 1; align-items: flex-start; }
  .flow-head .point-chip { margin: 0; }
  .flow-grid .thumb { grid-column: 1; grid-row: 1 / 3; width: 150px; height: 150px; aspect-ratio: unset; margin-bottom: 0; }
  .flow-head h3 { text-align: left; }
  .flow-grid > article > p { grid-column: 2; grid-row: 2; font-size: 14px; }
  .site-header-inner { height: auto; padding: 8px 12px; }
  .btn, .btn-lg { font-size: 13px; padding: 8px 12px; }
  .mobile-cta .btn { font-size: 14px; padding: 10px 12px 10px 20px; gap: 6px; }
  .how { padding: 40px 0 72px; background: var(--white); }
  .how-list { margin-top: 40px; gap: 32px; }
  .how-row { display: flex; flex-direction: column; gap: 12px; }
  .how-text { display: contents; }
  .how-header { order: 1; display: flex; flex-direction: column; gap: 4px; align-items: center; }
  .how-row .thumb { order: 2; aspect-ratio: 320/213; }
  .how-row .how-copy { order: 3; text-align: center; font-size: 15px; line-height: 1.5; font-weight: 500; }
  .how-title { text-align: center; font-size: 17px; }
  .divider { display: block; height: 0; border-top: 1px dashed #EEA1CA; }
  .divider::before, .divider::after { display: none; }
  .divider span { display: none; }
  .contact-box { height: 222px; padding: 30px 18px; justify-content: flex-start; }
  .contact-box .sub { display: none; }
  .contact-shot { position: absolute; top: 31px; right: -197px; bottom: -22px; width: 334px; height: 209px; aspect-ratio: 163/102; }
  .contact-shot img { height: 100%; width: auto; }
}
