*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#fff}
body{margin:0;background:radial-gradient(circle at 0 6%,rgba(225,247,255,.72),transparent 280px),radial-gradient(circle at 100% 18%,rgba(255,234,244,.8),transparent 300px),linear-gradient(180deg,#fff 0%,#fff8fb 50%,#f8fcff 100%);color:#333;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.sp-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(230,210,218,.45)}
.header-top{display:flex;align-items:center;gap:12px;padding:14px 18px 9px}
.logo img{width:138px;height:auto}
.contact-btn{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:999px;color:#fff;background:linear-gradient(135deg,#f66f9b,#e84b7b);font-size:.88rem;font-weight:700;box-shadow:0 10px 22px rgba(239,90,135,.22);white-space:nowrap}
.sp-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 18px;padding:4px 16px 14px;color:#746872;font-size:.83rem;font-weight:500;letter-spacing:.04em}
.image-frame{position:relative;width:min(100%,760px);margin:0 auto;line-height:0;background:transparent}
.image-frame img{width:100%;height:auto}
.hero-frame{width:100%;max-width:760px}
.soft-bg{padding:0 0 28px;background:transparent}
.soft-bg .image-frame{width:min(100%,760px);overflow:hidden;border-radius:0}
.soft-bg .image-frame+.image-frame{margin-top:0}
.cta-frame a{display:block;line-height:0}
.hotspot{position:absolute;z-index:5;display:block;border-radius:999px;background:rgba(255,255,255,0)}
.hotspot:focus-visible{outline:3px solid rgba(35,137,222,.35);outline-offset:3px}
.service-mail{left:27%;top:22%;width:47%;height:10%}
.service-lab{left:28%;top:54%;width:45%;height:10%}
.service-course{left:28%;top:85%;width:45%;height:9%}
.sp-footer{padding:34px 20px 42px;text-align:center;background:linear-gradient(135deg,#eef8ff,#fff2f7)}
.sp-footer img{width:172px;margin:0 auto 22px}
.sp-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 20px;margin-bottom:22px;color:#746872;font-size:.88rem;font-weight:500;letter-spacing:.02em}
.sp-footer p{margin:0;color:#7b6971;font-size:.84rem;font-weight:500}
@media (max-width:370px){
.contact-btn{padding:0 12px;font-size:.78rem}
.sp-nav{gap:8px 13px;font-size:.78rem}
.logo img{width:126px}
}


/* v3 continuous-background adjustment */
body {
  background:
    radial-gradient(circle at 4% 6%, rgba(225,247,255,.72), transparent 300px),
    radial-gradient(circle at 100% 14%, rgba(255,228,241,.88), transparent 340px),
    radial-gradient(circle at 0% 44%, rgba(255,244,230,.72), transparent 360px),
    radial-gradient(circle at 100% 74%, rgba(226,246,255,.72), transparent 360px),
    linear-gradient(180deg, #ffffff 0%, #fff8fb 38%, #fff7f1 68%, #f8fcff 100%) !important;
}

main,
.soft-bg {
  background: transparent !important;
}

.soft-bg {
  padding-top: 0 !important;
}

.soft-bg .image-frame {
  background: transparent !important;
}

/* セクション間の白帯をできるだけ出さない */
.soft-bg .image-frame + .image-frame {
  margin-top: -1px !important;
}

/* 画像自体が背景まで含むので、隙間を消す */
.image-frame,
.image-frame img {
  background: transparent !important;
}


/* v4 footer/media/header fixes */
.header-top{padding:14px 18px 10px;}
.logo{display:inline-flex;align-items:center;justify-content:flex-start;min-width:138px;position:relative;z-index:3;}
.logo img{display:block;width:138px;height:auto;opacity:1;visibility:visible;}

/* make hero clearly start below header and keep header logo visible */
.hero-frame{position:relative;z-index:1;}

/* join media and CTA/footer more naturally */
#media{margin-bottom:-1px !important;}
.cta-frame{margin-top:-1px !important;}
.sp-footer{margin-top:-6px;background:linear-gradient(180deg,#f8efe5 0%, #f3f8fb 34%, #edf6ff 100%);} 

/* remove any white seams between CTA and footer */
.cta-frame, .cta-frame a, .sp-footer{position:relative;}
.cta-frame::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-8px;height:10px;
  background:#f8efe5;
}

/* footer text softer */
.sp-footer nav{color:#7d6d75; font-weight:500;}
.sp-footer p{color:#87767d;}

@media (max-width:480px){
  .sp-header{position:sticky;top:0;}
  .header-top{padding:14px 16px 10px;}
  .logo img{width:136px;}
  .contact-btn{font-size:.86rem; padding:0 16px; min-height:42px;}
  .sp-nav{font-size:.82rem; gap:10px 16px;}
}


/* v5 fixes: logo visible, CTA-footer seam, media replacement */
.sp-header {
  min-height: 0;
}

.header-top {
  justify-content: space-between;
}

.logo {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  min-width: 138px;
  opacity: 1 !important;
  visibility: visible !important;
}

.logo img {
  display: block !important;
  width: 138px !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.contact-btn {
  flex: 0 0 auto;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,238,246,.9), transparent 360px),
    radial-gradient(circle at 88% 28%, rgba(255,244,231,.86), transparent 420px),
    radial-gradient(circle at 10% 70%, rgba(230,248,255,.82), transparent 420px),
    linear-gradient(180deg, #ffffff 0%, #fff8fb 45%, #fff4ec 82%, #edf7ff 100%) !important;
}

main,
.soft-bg {
  background: transparent !important;
}

.cta-frame {
  margin-bottom: -2px !important;
  background: #f8efe5 !important;
}

.cta-frame img {
  display: block;
  margin-bottom: 0 !important;
}

.cta-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: 100vw;
  height: 28px;
  background: #f8efe5;
  z-index: 0;
}

.sp-footer {
  margin-top: -2px !important;
  padding-top: 28px !important;
  background:
    linear-gradient(180deg, #f8efe5 0%, #f3f8fb 38%, #edf6ff 100%) !important;
  border-top: 0 !important;
  position: relative;
  z-index: 1;
}

.image-frame {
  position: relative;
}

.sp-footer > a img,
.sp-header .logo img {
  filter: none !important;
}

@media (min-width: 761px) {
  .sp-header .header-top,
  .sp-header .sp-nav {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .sp-header {
    background: rgba(255,255,255,.98);
  }
}


/* v6 fixes: header logo + footer seam + media */
.sp-header .header-top {
  width: min(100%, 760px);
  margin: 0 auto;
  justify-content: flex-start !important;
}

.sp-header .logo {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 146px !important;
  margin-right: auto;
}

.sp-header .logo img {
  width: 146px !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sp-nav {
  width: min(100%, 760px);
  margin: 0 auto;
}

.image-frame {
  background: transparent !important;
}

/* CTA and footer: no white belt */
.cta-frame {
  background: #faeadf !important;
  margin-bottom: 0 !important;
}

.cta-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
  width: 100vw;
  height: 54px;
  background: linear-gradient(180deg, #faeadf 0%, #f4f7fb 100%);
  z-index: 0;
}

.sp-footer {
  margin-top: -1px !important;
  padding-top: 42px !important;
  background: linear-gradient(180deg, #faeadf 0%, #f4f7fb 35%, #edf6ff 100%) !important;
  position: relative;
  z-index: 1;
}

/* Make footer contents above the connector */
.sp-footer > * {
  position: relative;
  z-index: 2;
}


/* v7 exact logo + footer seam hard-fix */
.sp-header .logo img, .sp-footer img {
  filter: none !important;
  background: transparent !important;
}
.sp-header .logo img { width: 178px !important; }
.sp-footer img { width: 178px !important; }

/* Pull footer upward to hide any remaining seam */
.cta-frame { margin-bottom: -36px !important; position: relative; z-index: 1; }
.cta-frame::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -40px;
  height: 44px;
  background: #faeadf !important;
  transform: none !important;
  width: 100% !important;
}
.sp-footer {
  margin-top: -36px !important;
  padding-top: 24px !important;
  background: linear-gradient(180deg,#faeadf 0%, #f3f8fb 42%, #edf6ff 100%) !important;
}


/* v9 smartphone fixes: header menu off, reliable mail SVG, more spacing */
@media screen and (max-width: 768px) {
  /* 上部メニューはスマホでは非表示 */
  .sp-nav,
  .global-nav,
  .header-nav,
  .menu-nav,
  nav[aria-label="グローバルメニュー"],
  nav[aria-label="メニュー"] {
    display: none !important;
  }

  .sp-header,
  .site-header {
    padding: 18px 18px 16px !important;
  }

  .sp-header .header-top,
  .header-inner,
  .site-header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 auto !important;
  }

  .sp-header .logo,
  .brand,
  .site-logo {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  .sp-header .logo img,
  .brand img,
  .site-logo img {
    width: min(46vw, 210px) !important;
    height: auto !important;
    display: block !important;
  }

  .contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #f66f9b, #e84b7b) !important;
    box-shadow: 0 10px 24px rgba(236,79,135,.24) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .contact-icon,
  .contact-btn svg {
    display: inline-flex !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 auto !important;
    color: currentColor !important;
  }

  /* 参加者の声と掲載実績の間隔を広げる */
  #voices,
  .voices-frame,
  .voices-section,
  section[aria-label="参加者の声"] {
    margin-bottom: 34px !important;
  }

  #media,
  .media-frame,
  .media-section,
  section[aria-label="掲載実績"] {
    margin-top: 34px !important;
  }

  .content-bg .frame + .frame,
  .content-bg .mobile-voices + .frame,
  .content-bg .frame + .mobile-voices {
    margin-top: 32px !important;
  }

  .mobile-voices {
    padding-bottom: 24px !important;
  }

  .mobile-voices-grid {
    gap: 20px !important;
  }
}

@media screen and (max-width: 420px) {
  .contact-btn {
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
  }

  .sp-header .logo img,
  .brand img,
  .site-logo img {
    width: min(43vw, 190px) !important;
  }
}


/* v10: 上部メニュー完全削除後の保険。画面幅に関係なくヘッダーメニューは非表示 */
.sp-header > .sp-nav,
header .sp-nav {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ヘッダーはロゴ＋お問い合わせだけにする */
.sp-header .header-top {
  padding: 18px 18px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.sp-header .logo img {
  width: min(46vw, 210px) !important;
  height: auto !important;
}

.contact-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.contact-icon,
.contact-icon svg {
  display: inline-flex !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 auto !important;
}

/* 参加者の声と掲載実績の間隔を追加で広げる */
#voices {
  margin-bottom: 40px !important;
}

#media {
  margin-top: 40px !important;
}


/* v11: スマホ上部ヘッダーの白い余白をコンパクトに調整 */
.sp-header {
  padding: 0 !important;
  min-height: 0 !important;
}

.sp-header .header-top {
  padding: 12px 18px 10px !important;
  min-height: 72px !important;
  align-items: center !important;
}

.sp-header .logo img {
  width: min(39vw, 176px) !important;
}

.contact-btn {
  min-height: 42px !important;
  padding: 0 17px !important;
  font-size: 14px !important;
  box-shadow: 0 8px 18px rgba(236,79,135,.22) !important;
}

.contact-icon,
.contact-icon svg {
  width: 17px !important;
  height: 17px !important;
}

/* ヒーローとの境目も少しだけ締める */
.hero-frame {
  margin-top: 0 !important;
}

@media screen and (max-width: 420px) {
  .sp-header .header-top {
    padding: 10px 16px 9px !important;
    min-height: 66px !important;
  }

  .sp-header .logo img {
    width: min(38vw, 160px) !important;
  }

  .contact-btn {
    min-height: 40px !important;
    padding: 0 15px !important;
    font-size: 13.5px !important;
  }
}
