:root{
  --blue:#0055a4;
  --deep:#003f7d;
  --sky:#eaf7ff;
  --pale:#f6fbff;
  --yellow:#ffd84d;
  --text:#12385f;
  --muted:#6c8196;
  --line:#d9e9f7;
  --white:#fff;
  --shadow:0 18px 50px rgba(0,64,125,.12);
}
*{box-sizing:border-box}

html{
  scroll-behavior:smooth
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",YuGothic,Meiryo,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#fff 0%,#f7fcff 45%,#fff 100%);
  line-height:1.75;
}
img{
  max-width:100%;display:block;
}

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

.container{
  width:min(1120px,calc(100% - 40px));
  margin-inline:auto;
}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(217,233,247,.8);
}

.header-inner{
  height:76px;
  display:flex;
  align-items:center;
  gap:28px;
  width:min(1180px,calc(100% - 32px));
  margin:auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-right:auto;
}

.brand-logo{
  width: auto;
  height: 44px;
  object-fit:contain;
}

.brand-sub{
  margin:0;
  font-size:12px;
  letter-spacing:.06em;
  color:var(--deep);
}

.brand-name{
  margin:0;
  font-size:25px;
  font-weight:800;
  letter-spacing:.02em;
  color:var(--deep);
  line-height:1.1;
}

.nav{
  display:flex;
  gap:24px;
  font-size:14px;
  font-weight:700;
}

.header-cta{
  padding:12px 18px;
  border-radius:999px;
  background:var(--yellow);
  font-size:14px;
  font-weight:800;
  box-shadow:0 8px 20px rgba(255,216,77,.35);
}

.menu-btn{
  display:none;
  border:0;
  background:var(--deep);
  color:#fff;
  border-radius:999px;
  padding:9px 12px;
}

main{
  position: relative;
}

.hero{
  position:relative;
  overflow:hidden;
  min-height:760px;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.83) 33%,rgba(255,255,255,.18) 65%,rgba(255,255,255,.2) 100%),
    url("assets/hero-summer.jpg");
  background-size:cover;
  background-position:center right;
}

.hero-bg:after{
  content:"";
  position:absolute;
  inset:auto -10% -1px -10%;
  height:180px;
  background:linear-gradient(180deg,rgba(234,247,255,0),#eaf7ff 72%);
}

.hero-inner{
  position:relative;
  z-index:1;
  padding:0 0 80px 0;
}

.hero-copy{
  max-width:540px;
  position:relative;
}

.vertical-label{
  position:absolute;
  left:0px;
  top:30px;
  writing-mode:vertical-rl;
  letter-spacing:.3em;
  font-size:12px;
  font-weight:800;
  color:#1c83c9;
  z-index: 49;
}

.target-pill{
  display:inline-flex;
  font-weight:800;
  color:var(--blue);
  font-size:14px;
}

h1{
  margin-top:28px;
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:clamp(56px,8vw,74px);
  line-height:1.06;
  letter-spacing:.04em;
  color:var(--blue);
  transform:rotate(-5deg);
}

h1 span{
  font-size: 94px;
}

h1 img{
  margin-top:-50px;
}


.lead{
  font-weight:800;
  font-size:clamp(16px,2vw,22px);
}

.hero-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:15px 26px;
  font-weight:900;
  transition:.2s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary,
.btn-yellow{
  background:var(--yellow);
  color:#12385f;
  box-shadow:0 12px 28px rgba(255,216,77,.35);
}

.btn-ghost{
  background:#fff;
  border:1px solid var(--line);
  color:var(--deep);
}

.hero-panel{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:18px;
  max-width:720px;
  margin-top:46px;
  margin-left:auto;
}

.campaign-card{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:20px;
  padding:20px;
  box-shadow:var(--shadow);
  width: auto;
}

.card-kicker{
  margin:0 0 8px;
  color:var(--blue);
  font-weight:900;
}

.hero-panel-tryal{
  display: flex;
  align-items: top;
}

.hero-panel-tryal img{
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.campaign-card h2{
  margin:0;
  color:var(--deep);
  font-size:30px;
}

.tryal-flex h2{
  position: relative;
}

.tryal-flex h2::after{
  content: "";
  position: absolute;
  width: 90%;
  height: 5px;
  bottom: 0;
  left: 0;
  background-color: #e7b900;

}

.date{
  font-size:22px;
  font-weight:900;
}

.date span{
  font-size: 14px;
}

.campaign-card ul{
  list-style:none;
  margin:0;
  padding:0;
}

.campaign-card li{
  font-weight:800;
  margin:7px 0;
}

.campaign-card li span{
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:50%;
  background:var(--deep);
  color:#fff;
  margin-right:8px;
  font-size:13px;
}

.campaign-card strong{
  color:#e7b900;
  font-size:22px;
}

.note{
  font-size:16px;
  margin:8px 0 0;
  font-weight: bold;
  color: #003f7d;
}

.campaign-panel{
  display: flex;
  align-items: end;
}

.contact_soon{
  background-color: #e7b900;
  text-align: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: none;
  margin-left: 10px;
}

.section{
  padding:88px 0;
}

.section-title{
  text-align:center;
  font-size:clamp(25px,3vw,38px);
  margin:0 0 36px;
  color:var(--deep);
  letter-spacing:.04em;
}

.section-title:after{
  content:"";
  display:block;
  width:72px;
  height:4px;
  background:var(--yellow);
  border-radius:99px;
  margin:12px auto 0;
}

.section-note{
  text-align:center;
  color:var(--muted);
  max-width:780px;
  margin:-16px auto 30px;
}

.worries{
  background:linear-gradient(180deg,#eaf7ff,#fff);
  padding:70px 0;
}

.worry-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}

.worry-grid article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:26px 16px;
  text-align:center;
  box-shadow:0 12px 28px rgba(0,64,125,.08);
}

.worry-grid img,
.reason-grid img,
.step-row img{
  width:54px;
  height:54px;
  margin:0 auto 14px;
  object-fit:contain;
}

.worry-grid p{
  font-weight:800;
  margin:0;
}

.about{
  background:#fff;
}

.about-inner{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:46px;
  align-items:center;
}

.eyebrow{
  font-size:12px;
  letter-spacing:.2em;
  color:#1c83c9;
  font-weight:900;
}

.section-copy h2{
  font-size:clamp(30px,4vw,48px);
  line-height:1.35;
  color:var(--deep);
  margin:0 0 18px;
}

.step-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.step-row article{
  background:linear-gradient(180deg,#fff,#f7fcff);
  border:1px solid var(--line);
  border-radius:22px;
  padding:28px 16px;
  text-align:center;
}

.step-row h3{
  font-size:15px;
  margin:0;
  color:var(--deep);
}

.flow{
  background:var(--pale);
}

.flow-list{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:10px;
  align-items:stretch;
}

.flow-list article{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px 14px;
  min-height:180px;
}

.flow-list article:not(:last-child):after{
  content:"";
  position:absolute;
  right:-11px;
  top:50%;
  width:18px;
  height:18px;
  background:#fff;
  border-right:1px solid var(--line);
  border-top:1px solid var(--line);
  transform:translateY(-50%) rotate(45deg);
  z-index:2;
}

.flow-list span{
  font-weight:900;
  color:var(--blue);
  font-size:15px;
}

.flow-list h3{
  font-size:16px;
  color:var(--deep);
  margin:8px 0;
}

.flow-list p{
  font-size:13px;
  margin:0;
  color:var(--muted);
}

.flow-list .goal{
  display:grid;
  place-items:center;
  border-radius:50%;
  aspect-ratio:1;
  min-height:auto;
  align-self:center;
  background:#fff7fb;
}

.flow-list .goal span{
  font-size:22px;
  color:#ef6a95;
}

.reason-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}

.reason-grid article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:26px 18px;
  text-align:center;
}

.reason-grid b{
  display:block;
  color:var(--blue);
  font-size:28px;
  margin-bottom:10px;
}

.reason-grid h3{
  font-size:16px;
  color:var(--deep);
  margin:0 0 10px;
}

.reason-grid p{
  font-size:13px;
  color:var(--muted);
  margin:0;
  text-align:left;
}

.courses{
  background:#fff;
}

.tabs{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-bottom:0;
  flex-wrap:wrap;
}

.tab{
  border:1px solid var(--line);
  background:#fff;
  color:var(--deep);
  padding:14px 28px;
  border-radius:16px 16px 0 0;
  font-weight:900;
  cursor:pointer;
  font-size:16px;
}

.tab.is-active{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.course-content{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:28px;
  box-shadow:var(--shadow);
  min-height:250px;
}

.course-table{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
}

.course-table th{
  background:#eef8ff;
  color:var(--deep);
  text-align:left;
}

.course-table th,
.course-table td{
  padding:16px;
  border-bottom:1px solid var(--line);
}

.course-table td:last-child{
  font-weight:900;
  color:var(--blue);
  white-space:nowrap;
}

.course-caption{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.course-caption h3{
  margin:0;
  font-size:26px;
  color:var(--deep);
}

.course-caption p{
  margin:0;
  color:var(--muted);
}

.results{
  background:var(--pale);
}

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

.result-rate,
.result-schools{
  border-radius:24px;
  padding:34px;

}

.result-rate{
  text-align:center;
  background-image: url("assets/rate.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.result-rate p{
  font-weight:900;
  margin:0;
  color:var(--deep);
}

.result-rate strong{
  display:block;
  font-size:76px;
  line-height:1;
  color:var(--blue);
  margin:14px 0;
}

.result-rate span{
  font-size:34px;
}

.result-rate small{
  background-color: #0055a4;
  color: white;
  padding: 10px;
  border-radius: 5px;
}

.result-schools h2{
  margin:0 0 20px;
  color:var(--deep);
}

.result-schools h3{
  margin:18px 0 6px;
  color:var(--blue);
}

.result-schools p{
  margin:0;
}



.schedule-grid{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:34px;
  align-items:start;
}

.schedule h2{
  font-size:34px;
  color:var(--deep);
  margin:0 0 10px;
}

.schedule-table-wrap{
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px;
}

.schedule-table{
  width:100%;
  border-collapse:collapse;
  min-width:620px;
  text-align:center;
}

.schedule-table th,
.schedule-table td{
  padding:12px;
  border-bottom:1px solid var(--line);
}

.schedule-table td:nth-child(n+3){
  color:var(--blue);
  font-weight:900;
}

/* .schools{
  background:#fff;
} */

.school-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.school-grid article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  box-shadow:0 10px 24px rgba(0,64,125,.07);
}

.school-grid h3{
  font-size:18px;
  margin:0 0 10px;
  color:var(--deep);
}

.school-grid p{
  margin:0 0 8px;
  font-weight:900;
  color:var(--blue);
}

.school-grid span{
  font-size:14px;
  color:#6c8196;
  line-height:1.6;
}

@media (max-width: 960px){
  .school-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width: 560px){
  .school-grid{
    grid-template-columns:1fr;
  }
}

.area-buttons{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:28px;
}

.area-buttons button{
  background:#fff;
  border:1px solid #9fc6e6;
  color:var(--blue);
  border-radius:12px;
  padding:12px 26px;
  font-weight:900;
}

.school-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
}

.school-grid article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 24px rgba(0,64,125,.07);
}

.school-grid h3{
  font-size:16px;
  margin:0 0 8px;
  color:var(--deep);
}

.school-grid p{
  margin:0;
  font-weight:900;
  color:var(--blue);
}

.school-link{
  background:var(--blue)!important;
  display:grid;
  place-items:center;
}

.school-link a{
  color:#fff;
  font-weight:900;
}

.final-cta{
  position:relative;
  overflow:hidden;
  padding:74px 0;
  background:
    linear-gradient(90deg,rgba(0,85,164,.92),rgba(16,151,214,.75)),
    url("assets/summer-footer.jpg");
  background-size:cover;
  background-position:center;
  color:#fff;
}

.final-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.final-cta h2{
  font-size:clamp(28px,4vw,46px);
  margin:8px 0;
}

.badge{
  display:inline-flex;
  background:#fff;
  color:var(--blue);
  border-radius:999px;
  padding:8px 14px;
  font-weight:900;
  margin:0;
}

.footer{
  text-align:center;
  padding:26px;
  background:#003f7d;
  color:#fff;
}

@media (max-width: 960px){

  .nav,
  .header-cta{
    display:none;
  }

  .menu-btn{
    display:none;
  }

  .brand-name{
    font-size:20px;
  }

  .hero{
    min-height:auto;
  }

  .hero-bg{
    background:linear-gradient(180deg,rgba(255,255,255,.6),rgba(234,247,255,0)),url("assets/phone-hero-summer.jpg");
    background-size:contain;
    background-repeat: no-repeat;
    background-position:top;
  }
  
  .hero-inner{
    padding:78px 0 58px;
  }

  .vertical-label{
    display:none;
  }

  .hero-panel,
  .about-inner,
  .results-grid,
  .schedule-grid,
  .final-inner{
    grid-template-columns:1fr;
  }

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

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

  .flow-list{
    display:flex;
    overflow-x:auto;
    padding-bottom:12px;
  }

  .flow-list article{
    min-width:190px;
  }

  .school-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width: 560px){

  .container{
    width:min(100% - 28px,1120px);
  }

  .header-inner{
    height:66px;
  }

  .brand-sub{
    font-size:10px;
  }

  h1{
    font-size: 52px;
  }

  .hero-panel{
    grid-template-columns:1fr;
  }

  .worry-grid,
  .reason-grid,
  .step-row,
  .school-grid{
    grid-template-columns:1fr;
  }

  .section{
    padding:64px 0;
  }

  .course-content{
    padding:18px;
  }

  .course-table{
    font-size:13px;
  }

  .course-table th,
  .course-table td{
    padding:12px 8px;
  }

  .course-caption{
    display:block;
  }

  .final-inner{
    text-align:center;
  }

  .btn{
    width:100%;
  }

  .result-rate small {
    background-color: #0055a4;
    color: white;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
}

.final-inner {
    flex-direction: column;    
    align-items: center;
  }

}

/* 共通 */
.fade-up,
.fade-left,
.fade-right{
  opacity: 0;
  transition: all 0.8s ease;
}

/* 下からふわっと */
.fade-up{
  transform: translateY(40px);
}

/* 左からシュッ */
.fade-left{
  transform: translateX(-60px);
}

/* 右からシュッ */
.fade-right{
  transform: translateX(60px);
}

/* 表示後 */
.fade-up.show,
.fade-left.show,
.fade-right.show{
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }