*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; border: none; background: none; }

/* ========= Base / Tokens ========= */
:root{
  --color-main: #046fcd;
  --color-sub: #fce300;
  --color-accent: #e2360e;
  --color-orange: #eb8000;
  --color-pink: #fb5756;
  --color-green: #00bc31;

  --container-padding: 1rem;
}


.container{
  width: 100%;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
  margin: 0 auto;
}
@media (min-width: 768px){ .container{ max-width: 768px; } }
@media (max-width: 1024px){
  .container{
    max-width: calc(100% - 4vw);
    padding-right: 2vw;
    padding-left: 2vw;
  }
}
@media (min-width: 1024px){ .container{ max-width: 1024px; } }
@media (min-width: 1280px){ .container{ max-width: 1280px; } }

.text-center{ text-align: center; }
.u-font-80{ font-size: .8em; }
.u-font-120{ font-size: 1.2em; }
.font-bold{ font-weight: 700; }
.font-black{ font-weight: 900; }
.u-inline-block{ display: inline-block; }
.u-underline-sub{
  background-image: linear-gradient(var(--color-sub), var(--color-sub));
  background-repeat: no-repeat;
  background-size: 100% 4px;
  background-position: 0 100%;
  padding-bottom: 0.12em;

  /* 白い輪郭 */
  filter:
    drop-shadow(0 1px 0 #fff)
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 -1px 0 #fff);
}


.text-main{ color: var(--color-main); }
.text-sub{ color: var(--color-sub); }
.text-accent{ color: var(--color-accent); }
.outline-white{      
  margin-left: 3px;                  
  vertical-align: baseline;       
  text-shadow:
    2px 0 0 #fff,
   -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    1.4px 1.4px 0 #fff,
   -1.4px 1.4px 0 #fff,
   1.4px -1.4px 0 #fff,
   -1.4px -1.4px 0 #fff;
} 
@media (min-width: 768px){ .md-hidden{ display: none; } }
@media (min-width: 768px){ .br-md-hidden{ display: none; } }
.md-only{ display: none; }
@media (min-width: 768px){ .md-only{ display: block; } }
.pc-break{ display: inline; }
@media (min-width: 768px){ .pc-break{ display: block; } }


.u-bb-accent{ border-bottom: 2px solid var(--color-accent); }
.section{ padding: 4rem 0; }
@media (min-width: 768px){ .section{ padding: 6rem 0; } }

.section-title{
  font-size: clamp(2rem, 1.4rem + 2vw, 2.5rem);
  font-weight: 900;
  color: var(--color-main);
  border-bottom: 4px solid var(--color-sub);
  display: inline-block;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}
.section-feature-img{
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 1.5rem auto;
}


/* ========= Common CTA ========= */
.btn-cta{
  background: linear-gradient(to right, var(--color-accent), var(--color-orange));
  color: #fff;
  font-weight: 900;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
  width: 100%;
  max-width: 340px;
	transition: .3s!important;
}
.btn-cta svg{
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
}
.btn-cta:hover{
  transform: translateY(-0.25rem);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@media (min-width: 768px){
  .btn-cta{
    width: auto;
    font-size: 1.25rem;
    padding: 1rem 3rem;
  }
}


/* ========= HERO / ファーストビュー ========= */
.hero{
  position: relative;
  height: 110vw;
  min-height: 700px;
  overflow: hidden;
}
@media (min-width: 769px){ .hero{ height: 70vw; max-height: 700px; } }

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img{
  width: 100%;
  height: 100%;
  object-position: 50% 100%;
  object-fit: cover;
}
@media (min-width: 769px){
  .hero-bg img{
    object-fit: cover;
    object-position: 30% center;
  }
}
@media (max-width: 768px){
  .hero-bg img{
    object-position: 50% 100%;
  }
}
@media (max-width: 480px){
  .hero-bg img{
    object-position: 50% 100%;
  }
}

.hero-content{
  position: relative;
  z-index: 30;
  padding-top: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (min-width: 769px){
  .hero-content{
    padding-top: 0;
    flex-direction: row;
    align-items: center;
  }
}

.hero-text-box{
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem;
  position: relative;
  margin-top: 0;
}
@media (max-width: 768px){
  .hero-text-box{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
    text-align: center;
  }
}
@media (max-width: 768px){
  .hero-text-box,
  .badge-wrapper,
  .authority-badge{
    text-align: center;
  }
  .target-badge{
    margin-left: auto;
    margin-right: auto;
  }
  .badge-wrapper{
    margin-left: auto;
    margin-right: auto;
  }
  .authority-badge{
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 769px){
  .hero-text-box{
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 1rem;
    margin-top: -8rem;
    margin-left: auto;
    margin-right: 4.8rem;
  }
}
@media (min-width: 1024px){
  .hero-text-box{
    margin-top: -2rem;
    margin-right: 6rem;
  }
}


.fv-cta-wrap{
  padding-top: 0.5rem;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
@media (max-width: 768px){
  .fv-cta-wrap{
    justify-content: center;
  }
}
.fv-cta-wrap > .btn-cta{
  width: 100%;
  max-width: 320px;
}
.fv-cta-wrap > .btn-cta + .btn-cta{
  margin-left: 0;
}
.fv-cta-wrap .btn-cta{
  position: relative;
  overflow: visible;
}
.btn-grade-badges{
  position: absolute;
  top: -0.9rem;
  left: 1.5rem;
  display: flex;
  gap: 0.3rem;
  z-index: 1;
}
.btn-grade-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 1.6rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #fff;
  color: var(--color-main);
  border: 2px solid var(--color-main);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.btn-cta.btn-cta-sub2{
  background: linear-gradient(135deg, #f5c400, var(--color-sub));
  color: var(--color-main);
  text-shadow:
    2px 0 0 #fff,
   -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    1.4px 1.4px 0 #fff,
   -1.4px 1.4px 0 #fff,
    1.4px -1.4px 0 #fff,
   -1.4px -1.4px 0 #fff;
}
.btn-cta.btn-cta-sub2 i{
  color: var(--color-main);
  text-shadow: none;
}
.btn-cta.btn-cta-sub2 svg{
  filter: none;
  color: var(--color-main);
}
.btn-cta.btn-cta-sub2 svg{
  filter:
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff)
    drop-shadow(0 -1px 0 #fff);
}
.hero-right-spacer{ flex-grow: 1; }
@media (min-width: 769px){
  .fv-cta-wrap{
    flex-direction: row;
    justify-content: flex-start;
  }
  .fv-cta-wrap > .btn-cta{
    width: auto;
    max-width: none;
  }
  .fv-cta-wrap > .btn-cta + .btn-cta{
    margin-left: 0.75rem;
  }
  .hero-right-spacer{ display: none; }
}

.target-badge{
  display: table;
  background-color: var(--color-sub);
  color: var(--color-main);
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  font-size: 1rem;
}
@media (min-width: 769px){
  .target-badge{
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.3rem;
  }
}


.hero-headline{
  font-weight: 900;
  color: var(--color-main);
  line-height: 1.25;
  filter: drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06));
  margin-bottom: 1rem;
  position: relative;
}

.headline-top{
  display: inline-block;
  border-bottom: 4px solid var(--color-sub);
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 0.8rem + 1.4vw, 1.875rem);
}
@media (max-width: 768px){
  .headline-top{
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
@media (min-width: 769px){
  .headline-top{
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
  }
}

.headline-top-inner{ display: inline-block; white-space: nowrap; }

.headline-top .num-3{
  color: var(--color-accent);
  font-weight: 900;
  margin: 0 0.25rem;
  vertical-align: baseline;
  font-size: 2.25rem;
}
@media (min-width: 768px){ .headline-top .num-3{ font-size: 3rem; } }
@media (min-width: 1280px){ .headline-top .num-3{ font-size: 3.75rem; } }

.catch-lines{
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  gap: 0.25rem;
  position: relative;
}
@media (min-width: 769px){
  .catch-lines{
    margin-top: 1rem;
    gap: 0.5rem;
  }
}

.catch-sub{
  display: block;
  font-size: 1.7rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
@media (min-width: 769px){ .catch-sub{ font-size: 2.1rem; } }
@media (min-width: 1024px){ .catch-sub{ font-size: 3rem; } }

.catch-main{
  display: block;
  color: var(--color-accent);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
  font-size: clamp(2.25rem, 1rem + 5.5vw, 3rem);
  line-height: 1.1;
}
@media (min-width: 768px){ .catch-main{ font-size: 3.1rem; } }
@media (min-width: 1024px){ .catch-main{ font-size: 4.5rem; } }

@media (max-width: 768px){
  .catch-main-line{
    display: inline-block;
    white-space: nowrap;
  }
  .catch-main{
    display: inline;
  }
  .catch-sub-tail{
    display: inline-block;
  }
}
@media (max-width: 480px){
  .catch-main-line{
    display: block;
    white-space: normal;
  }
  .catch-sub-tail{
    display: block;
  }
}

.hero-desc{
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 1rem;
  border-left: 8px solid var(--color-sub);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  margin-bottom: 1rem;
  display: table;
}
@media (max-width: 768px){
  .hero-desc{
    margin-left: auto;
    margin-right: auto;
  }
}
.hero-desc p{
  color: #1f2937;
  font-weight: 900;
  line-height: 1.625;
  font-size: clamp(1rem, 0.7rem + 0.6vw, 1.3rem);
}
.hero-desc-strong{
  font-size: 1.2em;
}
.hero-desc-highlight{
  color: var(--color-main);
  font-size: 1.2em;
}
@media (max-width: 481px){
  .hero-desc-break{ display: block; }
}


.hero-shape{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background-color: var(--color-main);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 85%);
  z-index: 20;
}
.hero-shape::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/bg12.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.3;
  pointer-events: none;
}
@media (min-width: 769px){ .hero-shape{ height: 10rem; } }



/* ========= 保護者様の不安・課題 ========= */
.section-feature{
  background-image: url('../img/bg11.png');
  background-size: 100%;
  background-position: center;
  background-repeat: repeat-y;
}


.feature-lead{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.feature-lead-text{ color: #1f2937; font-size: 1.4rem; }
.feature-lead-img{ max-height: 80px; width: auto; }

.feature-list{
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.feature-card{
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card h3{
  font-weight: 900;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}
@media (min-width: 768px){
  .feature-card h3{
    font-size: 2.5rem;
    justify-content: flex-start;
  }
}

.feature-num-img{ width: 90px; height: auto; flex-shrink: 0; }
.feature-title-text{
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 0.5rem;
  flex: 1;
  text-align: left;
}

.feature-content{
  display: block;
  width: 100%;
}
.feature-text{ flex: 1; text-align: left; }
.feature-card p{
  font-size: 1rem;
  color: #4b5563;
  font-weight: 500;
  line-height: 2;
}

.feature-image{
  width: 45%;
  float: right;
  margin: 0 0 1rem 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.feature-image img{
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 768px){
  .feature-card{ padding: 2.5rem; gap: 2rem; }
  .feature-image{
    width: 50%;
  }
  .feature-content.reverse .feature-image{
    float: left;
    margin: 0 1.5rem 1rem 0;
  }
}
@media (max-width: 480px){
  .feature-card h3{
    flex-direction: column;
    align-items: center;
  }
  .feature-num-img{
    margin: 0 auto;
  }
  .feature-title-text{
    width: 100%;
    text-align: center;
  }
  .feature-image{
    width: 100%;
    float: none;
    margin: 0 0 1rem;
  }
}


.message-box{
  margin-top: 3rem;
  margin-bottom: 3vw;
  background: rgba(4, 111, 205, 0.05);
  border: 2px solid rgba(4, 111, 205, 0.2);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  position: relative;
  z-index: 30;
}

.msg-lead{ font-size: clamp(1.5rem, 1.2rem + 0.5vw, 1.8rem); }
.msg-lead-strong{ font-size: 1.4em; }
@media (max-width: 480px){ 
  .msg-lead{ font-size: 1.5rem; } 
  .msg-lead-strong{ font-size: 1.8rem; }
}

/* ========= 1中学専門塾の強み ========= */
.bg-blue-section{
  background-color: var(--color-main);
  color: #fff;
  position: relative;
  z-index: 20;
  margin-top: -6vw;
  padding-top: 10vw;
  clip-path: polygon(0 6vw, 100% 0, 100% calc(100% - 6vw), 0 100%);
  overflow: hidden;
}
.bg-blue-section::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background-image: url("../img/bg12.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.bg-blue-section .container{ position: relative; z-index: 2; }



.bg-blue-section::after{
  content: "";
  position: absolute;
  bottom: -1px; 
  left: 0;
  width: 100%;
  height: 8vw;
  background-color: var(--color-main);
  background-image: url("../img/bg12.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.3;
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
  z-index: 1;
}


@media (min-width: 768px){
  .bg-blue-section::after{
    height: 6vw;
  }
}


.bg-blue-section + .section-results{
  margin-top: -6vw;   
  position: relative;
  z-index: 1;
}


.strength-head{ margin-bottom: 3rem; }


.strength-title{
  font-size: clamp(2.1rem, 1.8rem + 1.2vw, 3rem);
  font-weight: 900;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-sub);
  padding-bottom: 0.6rem;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.strength-subtitle{
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.6;
}
@media (max-width: 480px){ .strength-subtitle{ font-size: 1.2rem; } }
.strength-subnote{
  margin-top: 0.8rem;
  color: #fff;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.strength-em{
  font-size: 1.5em;
  margin: 0 2px;
  color: var(--color-accent);
  text-shadow:
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    1.4px 1.4px 0 #fff, -1.4px 1.4px 0 #fff, 1.4px -1.4px 0 #fff, -1.4px -1.4px 0 #fff;
}

.timeline{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 768px){
  .timeline{ grid-template-columns: repeat(2, 1fr); }
}
.titem.card{
  background: var(--color-main);
  color: #fff;
  border-radius: 1rem;
  padding: 0;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}
.titem__head{
  margin-bottom: 0.75rem;
}
.titem__title{
  font-weight: 900;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.4;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label month"
    "sub month";
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.2rem;
  min-height: 0;
}
.titem__label{
  grid-area: label;
  min-width: 0;
  display: block;
  font-size: 1.3rem;
}
@media (min-width: 768px){
  .titem__label{
    font-size: 1.1rem;
  }
}
@media (min-width: 900px){
  .titem__label{
    font-size: 1.3rem;
  }
}
.titem__month{
  grid-area: month;
  margin-left: auto;
}
@media (max-width: 480px){
  .titem__title{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0.25rem;
  }
  .titem__month{
    margin-left: 0;
  }
}
.titem__media{
  width: 100%;
  min-height: 240px;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  background-size: cover;
  background-position: center;
  order: 0;
}
.titem__body{
  padding: 0;
  order: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.titem__head{
  margin: 0;
  background: var(--color-main);
  padding: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
@media (min-width: 768px){
  .titem__head{
    min-height: 5rem;
    display: flex;
    align-items: center;
  }
  .titem__title{
    width: 100%;
  }
}
.titem.card:nth-child(1) .titem__head{ background: #0ea5e9; }
.titem.card:nth-child(2) .titem__head{ background: #eb8000; }
.titem.card:nth-child(3) .titem__head{ background: #00bc31; }
.titem.card:nth-child(4) .titem__head{ background: #e2360e; }
.titem.card:nth-child(1) .titem__month{ color: #38bdf8; }
.titem.card:nth-child(2) .titem__month{ color: #eb8000; }
.titem.card:nth-child(3) .titem__month{ color: #00bc31; }
.titem.card:nth-child(4) .titem__month{ color: #e2360e; }
@media (min-width: 1024px){
  .titem__media{
    min-height: 280px;
  }
}




.grid-2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}


.feature-card,


.exam-card{
  background: #fff;
  color: #1f2937;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 1024px){
  .feature-card,
  .exam-card{
    flex-direction: row;
    align-items: stretch;
    padding: 2rem;
  }
  .feature-card:nth-child(even),
  .exam-card:nth-child(even){ flex-direction: row-reverse; }
  .feature-card.no-image,
  .exam-card.no-image{ flex-direction: column; }
  .feature-card.no-image .feature-content,
  .exam-card.no-image .exam-content{ width: 100%; }
}


.feature-deco,


.exam-deco{
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-color: rgba(4, 111, 205, 0.1);
  border-bottom-left-radius: 9999px;
  margin-right: 0;
  margin-top: 0;
  z-index: 0;
}
@media (max-width: 1023px){
  .feature-card,
  .exam-card{ overflow: hidden; }
}
@media (min-width: 1024px){
  .feature-card,
  .exam-card{ overflow: hidden; }
}

.feature-content,

.exam-content{
  padding: 1vw 1vw 1rem;
  position: relative;
  z-index: 2;
  flex: 1;
}

.feature-img-box,

.exam-img-box{
  width: 100%;
  height: 250px;
  position: relative;
  z-index: 1;
}
.feature-img-box img,
.exam-img-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.grid-2 > .feature-card:nth-child(1) .feature-img-box img,
.grid-2 > .exam-card:nth-child(1) .exam-img-box img{
  object-position: 70% center;
}
.grid-2 > .feature-card:nth-child(2) .feature-img-box img,
.grid-2 > .exam-card:nth-child(2) .exam-img-box img{
  object-position: 40% center;
}

@media (min-width: 1024px){
  .feature-content,
  .exam-content{
    width: 50%;
    padding: 2vw;
  }
  .feature-img-box,
  .exam-img-box{
    width: 50%;
    height: auto;
  }
  .feature-img-box img,
  .exam-img-box img{
    border-radius: 0;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }
  .feature-card:nth-child(even) .feature-img-box img,
  .exam-card:nth-child(even) .exam-img-box img{
    border-radius: 0;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }
}


.feature-head,


.exam-head{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 900;
  color: var(--color-main);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 481px){
  .feature-head,
  .exam-head{
    align-items: flex-start;
    text-align: left;
  }
}
.feature-num-img,
.exam-num-img{
  width: 140px;
  height: auto;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.img-right-crop img{
  object-fit: cover;
  object-position: right center;
}
.feature-text,
.exam-text{
  font-weight: 500;
  line-height: 2;
  position: relative;
  z-index: 10;
}


.feature-content-full,


.exam-content-full{ width: 100%; }
.feature-text-mb,
.exam-text-mb{ margin-bottom: 1rem; }


.check-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  width: 100%;
}
@media (min-width: 768px){
  .check-list{
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 768px){
  .check-list{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px){
  .check-list,
  .check-list li{
    width: 100%;
    max-width: 100%;
  }
  .check-list li{
    min-width: 0;
  }
  .check-list-desc{
    overflow-wrap: anywhere;
  }
}
.check-list li{
  background-color: #f0f9ff;
  border: 2px solid #bae6fd;
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  width: 100%;
  max-width: 100%;
}

.check-list-img{
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  background: #fff;
}
@media (max-width: 768px){
  .check-list-img{
    height: 250px;
  }
}

.check-list-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px){
  .check-list-img img{
    height: 250px;
  }
}

.check-list-title{
  font-weight: 900;
  color: var(--color-main);
  font-size: clamp(1.05rem, calc(0.9rem + 0.31vw), 1.25rem);
  margin-bottom: 0.5rem;
  display: block;
}
@media (max-width: 768px){
  .check-list-title{
    font-size: 1.25rem;
  }
}
.check-list-desc{
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4b5563;
  text-align: left;
  display: block;
  width: 100%;
}


.strength-foot{ margin-top: 3rem; }
.strength-foot-text{ font-size: 2.2rem; margin-bottom: 3rem; }



/* ========= 成果・実績 ========= */
.section-results{ 
  background-image: url("../img/bg13.webp");
  background-size: cover;
  background-position: center;
  background-repeat: repeat-y;
}

.results-head{ margin: 2rem 0 2.5rem; }
.results-eyebrow{
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.results-main-text{
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-main);
}

@media (min-width: 768px){
  .results-eyebrow{
    font-size: 1.1rem;
  }
  .results-main-text{
    font-size: 2.2rem;
  }
}


.results-card{
  background: var(--color-sub);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}
@media (max-width: 480px){
  .results-card{
    padding: 1.25rem;
  }
  .achievement-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

.results-pill-wrap{ margin-bottom: 2rem; }
.results-pill{
  background: #fff;
  color: #eb8000;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 0.875rem;
}


.achievement-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}
@media (max-width: 480px){
  .ach-item{
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 768px){
  .achievement-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px){
  .achievement-grid{
    grid-template-columns: repeat(4, 1fr);
  }
}

.ach-item{
  background: rgba(255,255,255,0.80);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  border: 1px solid;
  transition: transform 0.3s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.ach-name{
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.ach-item span{
  color: var(--color-accent);
  font-weight: 900;
  font-size: 1.5rem;
}


.ach-icon{
  margin: 0.25rem auto 0.35rem; 
  width: 120px;
  height: 120px;
}

.ach-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.ac-val{
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--color-main);
  line-height: 1.2;
}


.ac-val span{
  font-size: 2rem;          
  color: var(--color-accent);
  margin-left: 0.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}


.ac-val span small{
  font-size: 0.5em;   
}


@media (min-width: 768px){
  .ac-val span{
    font-size: 2.4rem;
  }
}

.results-note{
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 1.5rem;
  font-weight: 500;
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-indent: -.75rem;
  padding-left: 1rem;
}


/* ========= 特典・キャンペーン ========= */
.section-benefit{
  position: relative;
  background-color: var(--color-main);
  overflow: hidden;

  padding: 5rem 0;
	margin-top: 0;
	z-index: 2;
}


.section-benefit::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background-image: url("../img/bg12.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}


.section-benefit > .container{
  position: relative;
  z-index: 1;
}


@media (min-width: 768px){
  .section-benefit{
    padding: 6rem 0;
  }
}


.benefit-head{
  margin: 1rem 0 3rem;
}

.benefit-eyebrow{
  font-size: 2.8rem;
  color: var(--color-sub); 
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.benefit-title{
  font-size: 1.5rem;
  line-height: 1.6;
  color: #ffffff; 
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

@media (min-width: 768px){
  .benefit-title{
    font-size: 1.6rem;
  }
}


.benefit-main{
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 30px rgba(0,0,0,0.18);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
}

@media (min-width: 768px){
  .benefit-main{
    padding: 3rem;
  }
}


.benefit-badge{
  display: inline-block;
  background: var(--color-sub);
  color: var(--color-main);
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
	font-size: 1.5rem;
  font-weight: 900;
}


.benefit-hero{
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #1f2937;
  font-weight: 900;
  line-height: 1.35;
}

.benefit-big{
  display: inline-block;
  font-size: 2.4rem;
  color: var(--color-accent);
  text-shadow:
    2px 0 0 #fff,
   -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff;
}

@media (min-width: 768px){
  .benefit-big{
    font-size: 3rem;
  }
}


.benefit-list{
	display: table;
	margin: auto;
}
.benefit-list li{
  background: #f9fafb;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
	align-items: flex-start;
  text-align: left;
  margin-bottom: 20px;
}

@media (min-width: 768px){
  .benefit-list li{
    flex-direction: row;
    align-items: center;
	  justify-content: flex-start;
    gap: 1rem;
  }
}

.benefit-num{
  background: var(--color-main);
  color: #fff;
  font-weight: 900;
  padding: 0.3rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.benefit-text{
  font-size: 2rem;
	font-weight: 900;
  color: #1f2937;
  line-height: 1.4;
}
.benefit-free{
  margin-left: 5px;
}
@media (max-width: 480px){
  .benefit-text{
    text-align: center;
  }
  .benefit-free{
    display: block;
    text-align: center;
  }
  .benefit-list li{
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }
  .benefit-num{
    margin: 0 auto;
    margin-bottom: 0.25rem;
  }
  .benefit-plus-main{
    text-align: center;
  }
  .benefit-plus-text{
    display: block;
    margin-top: 0.25rem;
  }
}


.benefit-plus{
  border-top: 2px dashed var(--color-main);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.benefit-plus-main{
  font-size: 2rem;
  margin: 0.5rem 0;
  color: #1f2937;
  font-weight: 900;
}

.benefit-plus-main .benefit-num{
	vertical-align: .35rem;
	margin-right: 1rem;
}

.benefit-note{
  font-size: 0.9rem;
}





/* ========= 申込みフォーム ========= */
.section-entry{
  padding: 5rem 0;
  background-color: #f9fafb;
  background-image: url("../img/bg16.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
	position: relative;
  overflow: hidden;
	margin-top: 0;
}


.section-entry > .container{
  position: relative;
  z-index: 1;
}

.entry-box{
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 18px 28px rgba(0,0,0,0.12);
  max-width: 900px;
  margin: 4vw auto;
}

@media (min-width: 768px){
  .entry-box{
    padding: 3rem;
  }
}

.entry-head{
  text-align: center;
  margin-bottom: 2rem;
}

.entry-title{
  font-size: clamp(1.6rem, 1.4rem + 0.6vw, 2rem);
  line-height: 1.5;
  color: var(--color-main);
  margin-bottom: 1.5rem;
}

.entry-title-em{
  display: inline-block;
  font-size: 1.15em;   
}


.entry-lead{
  color: #374151;
  line-height: 1.7;
  margin: 0;
  font-weight: 700;
}

.entry-lead-accent{
  color: var(--color-accent);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.entry-form-wrap{
  margin-top: 2.5rem;
}

.entry-form-title{
  font-size: 1.2rem;
  color: var(--color-main);
  text-align: center;
  margin-bottom: 1.5rem;
}

.entry-form{
  display: grid;
  gap: 1rem;
}

.form-row{
  display: grid;
  gap: 0.4rem;
}

@media (min-width: 768px){
  .form-row{
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 1rem;
  }
}

.form-label{
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.form-label.req::after{
  content: "必須";
  display: inline-block;
  margin-left: auto;
  padding: 0.1rem 0.5rem;
  border-radius: 0.4rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.form-label.opt::after{
  content: "任意";
  display: inline-block;
  margin-left: auto;
  padding: 0.1rem 0.5rem;
  border-radius: 0.4rem;
  background: var(--color-main);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.form-control{
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  background: #fff;
}

select.form-control{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 0.75rem;
  padding-right: 2.5rem;
}

.form-control:focus{
  outline: none;
  border-color: var(--color-main);
  box-shadow: 0 0 0 4px rgba(4,111,205,0.15);
}

.form-actions{
  margin-top: 0.5rem;
  text-align: center;
}

.form-scroll-area{
  height: 300px;
  overflow: auto;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  text-align: left;
}

.form-scroll-area .privacy-intro{
  text-align: center;
}

.form-scroll-area h3{
  margin: 0.5rem 0 1rem;
}

.form-scroll-area p{
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}

.form-scroll-area p strong{
  display: inline-block;
  margin-bottom: 0.35rem;
}

.form-privacy{
  text-align: center;
  margin: 1.5rem 0 0.75rem;
}

.form-privacy-check{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.form-privacy-check input[type="checkbox"]{
  width: 1.1rem;
  height: 1.1rem;
}

.form-privacy-text{
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.form-privacy-note{
  margin-top: 0;
  font-size: 0.85rem;
}

/* お子さんの名前：2列×2段 */
.name-grid{
  display: grid;
  gap: 0.75rem;
}

.name-grid-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* 極小端末のみ1列に */
@media (max-width: 360px){
  .name-grid-row{
    grid-template-columns: 1fr;
  }
}



.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  padding: 1.05rem 2.2rem;
  font-size: 1.1rem;
}

.btn-primary{
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 12px 20px rgba(0,0,0,0.18);
}

.btn-primary:hover{
  filter: brightness(0.98);
}

.entry-sub-link{
  margin: 1.25rem auto;
  text-align: center;
}

.entry-link{
  color: var(--color-main);
  font-weight: 700;
  text-decoration: underline;
}


.entry-sub-link{
  margin-top: 3rem;
  text-align: center;
}

.entry-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-width: 50%;
  padding: 1.5rem 1.5rem;
  border-radius: 0.75rem;

  background: var(--color-main);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;

  border: 2px solid var(--color-main);
  transition: all 0.2s ease;
}


.entry-link:hover{
  background: #ffffff;
  color: var(--color-main);
}


@media (max-width: 767px){
  .entry-link{
    width: 100%;
    max-width: 360px;
  }
}


/* ========= 口コミ・評価 ========= */
.section-review{
  position: relative;
  padding: 4rem 0;

  background-image: url("../img/bg14.webp");
  background-size: cover;   
  background-position: 80% 80%; 
  background-repeat: no-repeat;
}

.review-box{
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 16px 26px rgba(0,0,0,0.12);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px){
  .review-box{
    padding: 3rem;
  }
}

.review-lead{
  font-size: 1.4rem;
  line-height: 1.5;
  color: #ffffff;
	text-shadow: 3px 3px 3px rgba(0,0, 0, 0.7);
  margin-bottom: 2.5rem;
}

@media (min-width: 768px){
  .review-lead{
    font-size: 2.2rem;
  }
}


.review-stats{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px){
  .review-stats{
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-item{
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  box-shadow: inset 0 0 0 2px var(--color-main);
}

.review-label{
  font-weight: 900;
  color: var(--color-main);
  margin-bottom: 0.5rem;
}

.review-value{
  font-weight: 900;
  color: var(--color-accent);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25em;
}

.review-num{
  font-size: 2.6rem;
}

.review-unit{
  font-size: 1rem;
}

.review-star{
  font-size: 2.2rem;
  color: #fbbf24; 
  margin-right: 0.1em;
}


.review-note{
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  text-indent: -.8rem;
  padding-left: 1rem;
}


/* ========= 教育理念 ========= */
.section-philosophy{
  position: relative;
  padding: 5rem 0;

  background-image: url("../img/bg15.svg");
  background-repeat: repeat-y;
  background-position: center bottom;
  background-size: 100% auto;
}

.section-philosophy > .container{
  background-color: #ffffff;
  border-radius: 1.5rem;
}


.philosophy-box{
	max-width: 900px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	position: relative;
}


.philosophy-box p{
	text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: #1f2937;
}

.philosophy-box .ph-main p{
	font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.8rem);
	font-weight: 900;
}


.ph-em{
  color: var(--color-main);
  font-size: 1.3em;     
  font-weight: 900;
  display: inline-block;
}


@media (min-width: 768px){
  .ph-em{
    font-size: 1.45em;
  }
}


.philosophy-box .ph-normal p{
  font-size: clamp(0.9rem, 0.8rem + 0.4vw, 1.1rem);
  font-weight: 700;
  color: #374151;
  line-height: 1.9;
}


.ph-image{
  margin: 2.5rem auto;
  max-width: 900px;
}

.ph-image img{
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  display: block;
  box-shadow: 0 18px 28px rgba(0,0,0,0.12);
}


@media (max-width: 767px){
  .ph-image{
    margin: 2rem auto;
  }
}



.ph-empathy-list{
	display: table;
  list-style: none;
  padding: 0;
  margin: 2rem auto .5rem;
}

.ph-empathy-list li{
	font-weight: 800;
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 0.25rem;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  color: #374151;
  line-height: 1.5;
}


.ph-empathy-list li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--color-main);
  font-weight: 900;
}

.philosophy-box .ph-empathy p{
	font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem);
	font-weight: 900;
	color: var(--color-main);
}


.philosophy-box .ph-accent p{
  font-size: clamp(1.8rem, 1.65rem + 0.5vw, 2rem);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.9;
  text-align: center;
}


/* ========= 申込みフォーム（最終CTA） ========= */
.section-entry-last{
  background: var(--color-main);
  position: relative;
  overflow: hidden;
}

.section-entry-last::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/bg07.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  filter: brightness(0) invert(1);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.section-entry-last > .container{
  position: relative;
  z-index: 1;
}
.section-entry-last .entry-box{
  box-shadow: 0 22px 34px rgba(0,0,0,0.14);
}



/* ========= フッター ========= */
.footer{
  background: #1f2937;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem 6rem;
}
@media (min-width: 768px){ .footer{ padding-bottom: 2.5rem; } }

.footer-brand{ margin-bottom: 1.5rem; }
.footer-brand-title{
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}
.footer-brand-sub{
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}
.footer-copy{
  font-size: 0.75rem;
  color: #6b7280;
  opacity: 0.8;
}


/* ========= 固定バー ========= */
.floating-bar{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.3s;
  box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
}
.floating-bar.visible{ transform: translateY(0); }

.fb-inner{ display: flex; height: 64px; }

.fb-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.3s;
}

.fb-tel{
  flex: 1;
  background: var(--color-green);
  border-right: 1px solid rgba(0,0,0,0.1);
}
.fb-tel:hover{ background: #00a82b; }

.fb-cta{
  flex: 2;
  background: var(--color-accent);
  position: relative;
}
.fb-cta:hover{ background: var(--color-orange); }

.fb-line{
  flex: 1;
  background: var(--color-main);
}
.fb-line:hover{ background: #005a9e; }

.fb-badge{
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-sub);
  color: var(--color-accent);
  font-size: 0.625rem;
  font-weight: 900;
  padding: 0.125rem 0.5rem;
  border-bottom-left-radius: 0.5rem;
}


.fb-tel-text{ font-size: 0.75rem; font-weight: 900; }
.fb-cta-text{ font-size: 0.875rem; font-weight: 900; }
.fb-line-title{ font-weight: 900; font-size: 0.75rem; }
.fb-line-sub{ font-size: 0.625rem; }


/* ========= お問い合わせ / 連絡導線 ========= */
.section-contact{
  padding: 4rem 0 2rem;
  background-color: #f9fafb;
  background-image: url("../img/bg18.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20%;
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px){
  .section-contact{
    background-position: 40% 20%;
  }
}

/* ========= 受験対策リンク ========= */
.section-entry-sub-link{
  background-image: url("../img/bg10.svg"), url("../img/bg09.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, 100% 100%;
  background-size: contain, contain;
}

/* ========= 固定問合せボタン ========= */
.cv_btn_area {
	width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 102;
	opacity: 1;
	overflow: visible;
}
.cv_btn_area .btn{
	align-items: flex-end;
	display: flex;
	padding: 0;
}
.cv_btn_area .btn a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 93px;
	box-sizing: border-box;
	line-height: 1.3;
    font-size: 12px;
	font-weight: 700;
    letter-spacing: 1px;
    background: var(--color-main);
    color: #ffffff;
    text-align: center;
	text-decoration: none;
	padding: 10px 0px;
	margin: 0;
	position: relative;
	transition: all .3s;
}
.cv_btn_area .btn a:first-child{
	display: none;
}
.cv_btn_area .btn a i {
	font-size: 1.5em;
	margin-right: 0;
	margin-bottom: 6px;
	transition: all .3s;
}
.cv_btn_area .btn a img{
	width: 32px;
	height: 32px;
}
.cv_btn_area .btn a img.icon-white{
	filter: brightness(0) invert(1);
}
.cv_btn_area .btn a img.line-icon{
	margin-right: 0;
	margin-bottom: 6px;
}
.cv_btn_area .btn a img.icon-tel{
  filter: invert(30%) sepia(83%) saturate(2100%) hue-rotate(193deg) brightness(92%) contrast(101%);
}
.cv_btn_area .btn a img.icon-material{
  filter: invert(25%) sepia(92%) saturate(2800%) hue-rotate(350deg) brightness(95%) contrast(102%);
}
.cv_btn_area .btn .icon-circle{
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 0;
	flex: 0 0 auto;
	aspect-ratio: 1 / 1;
	margin-bottom: 4px;
	border: 5px solid var(--color-main);
}
.cv_btn_area .btn a:hover i{
	transform: scale(1.3);
}
.cv_btn_area .btn a:after{
	display: table;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 10px;
	margin: auto;
	font: var(--fa-font-solid);
	content: "\f054";
	transition: all .3s;
}
.cv_btn_area .btn a:hover:after{
	right: 5px;
}

@media screen and (max-width: 768px) {
  .cv_btn_area .btn{
    flex-direction: row;
  }
  .cv_btn_area .btn a{
    height: 65px;
    padding: 32px 4px 10px;
    font-size: 11px;
    line-height: 1.2;
    width: calc(100% / 3);
    border-radius: 0;
  }
  .cv_btn_area .btn a:after{
    display: none;
  }
  .cv_btn_area .btn .icon-circle{
    margin-bottom: 3px;
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: -33px;
    transform: translateX(-50%);
  }
  .cv_btn_area .btn a img{
    margin-top: 0;
    width: 32px;
    height: 32px;
  }
  .cv_btn_area .btn a img.line-icon{
    width: 45px;
    height: 45px;
    margin-bottom: 3px;
  }
  .cv_btn_area .btn a.line_button .line-square{
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    padding: 10px !important;
  }
}
.cv_btn_area .btn a.mail_button {
	border: none;
	border-radius: 0;
	background: var(--color-accent);
	color: #ffffff;
}
.cv_btn_area .btn a.line_button{
	background: #06c755;
	color: #ffffff;
}
.cv_btn_area .btn a .btn-text{
	display: inline-block;
	padding: 0;
	border-radius: 0;
	background: transparent;
}
.cv_btn_area .btn a.mail_button .icon-circle{
	border-color: var(--color-accent);
}
.cv_btn_area .btn a.line_button .line-square{
	width: 60px;
	height: 60px;
	border-radius: 8px;
	background: #06c755;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
	padding: 0;
}

@media screen and (min-width: 481px) {
	.cv_btn_area .btn a:first-child{
		display: flex;
	}
	.cv_btn_area .btn a:nth-child(2){
		display: none;
	}
}

@media screen and (min-width: 769px), print {
	.cv_btn_area {
		width: auto;
		right: 0;
		top: 15vw;
		left: auto;
    	bottom: auto;
	}
	.cv_btn_area .btn{
		flex-direction: column;
	}
	.cv_btn_area .btn a {
		flex-direction: column-reverse;
		width: 130px;
		height: 122px;
		font-size: 14px;
		border-radius: 10px 0 0 10px!important;
		padding: 12px 14px 10px 12px;
		margin: 0 0 3px auto;
	}
	.cv_btn_area .btn a:first-child{
		height: 155px;
		padding-top: 20px;
	}
	.cv_btn_area .btn a:first-child{
		box-shadow: inset 0 0 0 2px #ffffff;
	}
	.cv_btn_area .btn a:hover{
		margin-right: 0;
		opacity: 1;
		width: 138px;
		padding-right: 22px;
	}
	.cv_btn_area .btn a i {
		margin-bottom: 7px;
		margin-right: 0;
		margin-top: 0;
	}
	.cv_btn_area .btn .icon-circle{
		margin-bottom: 8px;
		margin-right: 0;
		width: 60px;
		height: 60px;
		flex: 0 0 auto;
		aspect-ratio: 1 / 1;
	}
	.cv_btn_area .btn .icon-circle{
		margin-bottom: 0;
	}
	.cv_btn_area .btn .icon-circle img.line-icon{
		width: 40px;
		height: 40px;
	}
	.cv_btn_area .btn a img.line-icon{
		width: 50px;
		height: 50px;
		margin-right: 0;
		margin-bottom: 0;
	}
}


.contact-box{
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 120px auto 10px;
}
@media (max-width: 768px){
  .contact-box{
    margin: 120px auto 80px;
  }
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-col{
  background: rgba(255,255,255,0.95);
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 480px){
  .contact-col{
    padding: 1rem;
  }
}

.contact-col-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-lead{
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 0;
}

.contact-tel{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent);
  margin: 0.25rem 0 0.5rem;
}

.contact-tel-icon{
  width: 1.4rem;
  height: 1.4rem;
}

.contact-time{
  font-size: 0.9rem;
  color: #6b7280;
}

.contact-line-sub{
  font-size: 0.95rem;
  color: #06c755;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.contact-line-sub::before,
.contact-line-sub::after{
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #06c755;
}

.contact-line-sub::before{ transform: rotate(55deg); }
.contact-line-sub::after{
  transform: rotate(-57deg);
  margin-left: -0.4rem;
}

.contact-line-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.9rem 1.4rem;
  border-radius: 9999px;
  background: #06c755;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
  margin-bottom: 0.5rem;
}

.contact-line-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.contact-line-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contact-line-text{
  font-size: 1.1rem;
  line-height: 1.2;
}
@media (max-width: 480px){
  .contact-line-text{
    font-size: 1rem;
  }
}

@media (min-width: 768px){
  .contact-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}


@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
.animate-pulse { animation: pulse 2s infinite; }

/* ===== footer拡張設定 ===== */

/* 旧サイト設定 */
footer {
  padding: 74rem 0;
  background: white;
}
footer .f__logo {
  width: 251rem;
  display: flex;
  margin: auto;
}
footer .contact__btns {
  display: flex;
  justify-content: center;
  margin-top: 64rem;
}
footer .contact__btns .c__btn {
  width: 320rem;
  height: 70rem;
  margin: 0 12rem;
  background: #fde400;
  border: 1rem solid #fde400;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
footer .contact__btns .c__btn:hover {
  background: #1d6bbe;
  border-color: #1d6bbe;
}
footer .contact__btns .c__btn:hover .lbl {
  color: #fde400;
}
footer .contact__btns .c__btn:hover.mail {
  background: #fff;
  border: 1rem solid #fb5756;
}
footer .contact__btns .c__btn:hover.mail span {
  color: #fb5756;
}
footer .contact__btns .c__btn:hover.tel {
  background: #fff;
  border: 1rem solid #0000ff;
}
footer .contact__btns .c__btn:hover.line {
  background: #fff;
  border: 1rem solid #00bc31;
}
footer .contact__btns .c__btn:hover.tel .icon svg path {
  fill: #0000ff;
}
footer .contact__btns .c__btn:hover.line .icon svg path {
  fill: #00bc31;
}
footer .contact__btns .c__btn:hover.tel span {
  color: #0000ff;
}
footer .contact__btns .c__btn:hover.line span {
  color: #00bc31;
}
footer .contact__btns .c__btn.mail {
  background: #fb5756;
  border: 1rem solid #fb5756;
}
footer .contact__btns .c__btn.mail span {
  color: white;
}
footer .contact__btns .c__btn.tel {
  background: #0000ff;
  border: 1rem solid #0000ff;
}
footer .contact__btns .c__btn.line {
  background: #00bc31;
  border: 1rem solid #00bc31;
}


.topPage {
  width: 48rem;
  display: flex;
  position: fixed;
  bottom: 20rem;
  right: 0;
  z-index: 2;
}

.copyright {
  font-family: "Roboto", sans-serif;
  font-size: 14rem;
  text-align: center;
  font-weight: 500;
  padding: 25rem 0;
  color: white;
  background: #056fce;
}

@media screen and (max-width: 768px) {
  footer {
    padding: 128rem 0;
  }
  footer .f__logo {
    width: 430rem;
  }
  footer .contact__btns {
    margin-top: 128rem;
    display: block;
  }
  footer .contact__btns .c__btn {
    width: 520rem;
    height: 120rem;
    margin: 48rem auto;
  }
  footer .contact__btns .c__btn:last-child {
    margin-bottom: 0;
  }
  footer .contact__btns .c__btn .lbl {
    font-size: 30rem;
  }
  footer .contact__btns .c__btn .lbl span {
    font-size: 24rem;
  }
  footer .contact__btns .c__btn .icon {
    width: 23rem;
  }
  .copyright {
    font-size: 18rem;
    text-align: center;
    font-weight: 500;
    padding: 30rem 0;
  }
  .topPage {
    width: 59rem;
    display: flex;
    position: fixed;
    bottom: 228rem;
    right: 0;
  }


}

/* ===== contact legacy fix ===== */
/* 旧CSSの rem=1px 設計が当たるのを防ぐ */

.section-contact,
.section-contact *,
.contact-box,
.contact-box *,
.contact-grid,
.contact-grid *,
.cv_btn_area,
.cv_btn_area * {
  font-size: inherit;
}

/* ===== footer legacy fix (style25sp3前提) ===== */
/* 旧CSSは html=1px rem設計。footer周りだけ rem換算を戻す */
footer, footer * ,
.copyright, .copyright *{
  font-size: inherit;
}

/* footer/copyright に限り remが暴れないよう pxで再宣言 */
footer{
  padding: 74px 0;
  background: #fff;
}
footer .f__logo{
  width: 251px;
  display: flex;
  margin: auto;
}

/* ロゴ画像：旧CSSの img(100%/100%) と 2026の img(max-width/auto) の衝突を吸収 */
footer .f__logo img{
  width: 100%;
  height: auto;      /* ロゴは潰さない */
  object-fit: contain;
  display: block;
}

.copyright{
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  padding: 25px 0;
  color: #fff;
  background: #004f97;
}

@media screen and (max-width: 768px) {
  footer{
    padding: 74px 0 120px;
  }
  .copyright{
    padding: 8px 0;
  }

}


/* フローティングをcopyright前で止める */
@media screen and (max-width: 768px) {
  #fix_contact_btn.is-stopped{
    position: absolute;
    bottom: auto;
    left: 0;
    width: 100%;
  }
}

.timeline > .titem.card:nth-child(1) .titem__media{ background-image: url("../img/titem01.webp"); }
.timeline > .titem.card:nth-child(2) .titem__media{ background-image: url("../img/titem02.webp"); }
.timeline > .titem.card:nth-child(3) .titem__media{ background-image: url("../img/titem03.webp"); }
.timeline > .titem.card:nth-child(4) .titem__media{ background-image: url("../img/titem04.webp"); }

.titem__content{
  padding: 1.5rem;
  background: #fff;
  color: #1f2937;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  flex: 1 1 auto;
}

.titem__month{
  margin-left: auto;
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  color: #1f2937;
  background: #ffffff;
  border-radius: 9999px;
  padding: 0.3rem 1rem;
  white-space: nowrap;
}

.titem__sub{
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0.9;
  display: inline-block;
  width: auto;
  grid-area: sub;
  line-height: 1;
}

/* INDEX_CLASS2_START */




/* ========= Base / Tokens ========= */


.container2{
  width: 100%;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
  margin: 0 auto;
}
@media (min-width: 768px){ .container2{ max-width: 768px; } }
@media (max-width: 1024px){
  .container2{
    max-width: calc(100% - 4vw);
    padding-right: 2vw;
    padding-left: 2vw;
  }
}
@media (min-width: 1024px){ .container2{ max-width: 1024px; } }
@media (min-width: 1280px){ .container2{ max-width: 1280px; } }

.text-center2{ text-align: center; }
.font-black2{ font-weight: 900; }
.u-inline-block2{ display: inline-block; }


.text-main2{ color: var(--color-main); }
.text-sub2{ color: var(--color-sub); }
.text-accent2{ color: var(--color-accent); }
.outline-white2{      
  margin-left: 3px;                  
  vertical-align: baseline;       
  text-shadow:
    2px 0 0 #fff,
   -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    1.4px 1.4px 0 #fff,
   -1.4px 1.4px 0 #fff,
   1.4px -1.4px 0 #fff,
   -1.4px -1.4px 0 #fff;
} 
@media (min-width: 768px){ .md-hidden2{ display: none; } }
.md-only2{ display: none; }
@media (min-width: 768px){ .md-only2{ display: block; } }
.pc-break2{ display: inline; }
@media (min-width: 768px){ .pc-break2{ display: block; } }


.section2{ padding: 4rem 0; }
@media (min-width: 768px){ .section2{ padding: 6rem 0; } }

.section-title2{
  font-size: clamp(2.5rem, 2vw + 2rem, 3.5rem);
  font-weight: 900;
  color: var(--color-main);
  border-bottom: 4px solid var(--color-sub);
  display: inline-block;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}


/* ========= Common CTA ========= */
.btn-cta2{
  background: linear-gradient(to right, var(--color-accent), var(--color-orange));
  color: #fff;
  font-weight: 900;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
  width: 100%;
  max-width: 340px;
	transition: .3s!important;
}
.btn-cta2 svg{
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
}
.btn-cta2:hover{
  transform: translateY(-0.25rem);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@media (min-width: 768px){
  .btn-cta2{
    width: auto;
    font-size: 1.25rem;
    padding: 1rem 3rem;
  }
}


/* ========= HERO / ファーストビュー ========= */
.hero2{
  position: relative;
  height: 110vw;
  min-height: 700px;
  overflow: hidden;
}
@media (min-width: 769px){ .hero2{ height: 70vw; max-height: 700px; } }

.hero-bg2{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg2 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
@media (max-width: 768px){
  .hero-bg2 img{
    object-position: 30% 95%;
  }
}
@media (max-width: 480px){
  .hero-bg2 img{
    object-position: 30% bottom;
  }
}

.hero-content2{
  position: relative;
  z-index: 30;
  padding-top: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (min-width: 769px){
  .hero-content2{
    padding-top: 0;
    flex-direction: row;
    align-items: center;
  }
}

.hero-text-box2{
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem;
  position: relative;
  margin-top: 0;
}
@media (max-width: 768px){
  .hero-text-box2{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }
}
@media (min-width: 769px){
  .hero-text-box2{
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 1rem;
    margin-top: -8rem;
    margin-left: auto;
    margin-right: 4.8rem;
  }
}
@media (min-width: 1024px){
  .hero-text-box2{
    margin-top: -2rem;
    margin-right: 6rem;
  }
}


.fv-cta-wrap2{
  padding-top: 0.5rem;
  white-space: nowrap;
}
@media (max-width: 768px){
  .fv-cta-wrap2{
    display: flex;
    justify-content: center;
  }
}
.hero-right-spacer2{ flex-grow: 1; }
@media (min-width: 769px){
  .hero-right-spacer2{ display: none; }
}

.parallax-hero{
  width: 100%;
  height: 280px;
  background-image: url("../img/para01.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 0;
  background-color: #67cfee;
}
@media (max-width: 768px){
  .parallax-hero{
    height: 220px;
    background-attachment: scroll;
    margin-top: 0;
    margin-bottom: 0;
  }
}
@media (min-width: 769px){
  .parallax-hero{
    height: 360px;
  }
}

.target-badge2{
  display: table;
  background-color: var(--color-sub);
  color: var(--color-main);
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  font-size: 1rem;
}
@media (min-width: 769px){
  .target-badge2{
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.3rem;
  }
}


.hero-headline2{
  font-weight: 900;
  color: var(--color-main);
  line-height: 1.25;
  filter: drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06));
  margin-bottom: 1rem;
  position: relative;
}




.catch-lines2{
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  gap: 0.25rem;
  position: relative;
}
@media (min-width: 769px){
  .catch-lines2{
    margin-top: 1rem;
    gap: 0.5rem;
  }
}

.catch-sub2{
  display: block;
  font-size: 1.7rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
@media (min-width: 769px){ .catch-sub2{ font-size: 2.1rem; } }
@media (min-width: 1024px){ .catch-sub2{ font-size: 3rem; } }

.catch-main2{
  display: block;
  color: var(--color-accent);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
  font-size: clamp(2.25rem, 1rem + 5.5vw, 3rem);
  line-height: 1.1;
}
@media (min-width: 768px){ .catch-main2{ font-size: 3.1rem; } }
@media (min-width: 1024px){ .catch-main2{ font-size: 4.5rem; } }

@media (max-width: 768px){
  .catch-main-line{
    display: inline-block;
    white-space: nowrap;
  }
  .catch-main2{
    display: inline;
  }
  .catch-sub-tail2{
    display: inline-block;
  }
}
@media (max-width: 480px){
  .catch-main-line{
    display: block;
    white-space: normal;
  }
  .catch-sub-tail2{
    display: block;
  }
}

.hero-desc2{
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 1rem;
  border-left: 8px solid var(--color-sub);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  margin-bottom: 1rem;
  display: table;
}
@media (max-width: 768px){
  .hero-desc2{
    margin-left: auto;
    margin-right: auto;
  }
}
.hero-desc2 p{
  color: #1f2937;
  font-weight: 900;
  line-height: 1.625;
  font-size: clamp(1rem, 0.7rem + 0.6vw, 1.3rem);
}


.hero-shape2{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  background-color: var(--color-main);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 70%);
  z-index: 20;
}
.hero-shape2::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/bg12.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.3;
  pointer-events: none;
}
@media (min-width: 769px){ .hero-shape2{ height: 10rem; } }



/* ========= 保護者様の不安・課題 ========= */




.feature-card2{
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card2 h3{
  font-weight: 900;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}
@media (min-width: 768px){
  .feature-card2 h3{
    font-size: 2.5rem;
    justify-content: flex-start;
  }
}

.feature-num-img2{ width: 90px; height: auto; flex-shrink: 0; }

.feature-content2{
  display: block;
  width: 100%;
}
.feature-text2{ flex: 1; text-align: left; }
.feature-card2 p{
  font-size: 1rem;
  color: #4b5563;
  font-weight: 500;
  line-height: 2;
}


@media (min-width: 768px){
  .feature-card2{ padding: 2.5rem; gap: 2rem; }
  .feature-image{
    width: 50%;
  }
  .feature-content2.reverse .feature-image{
    float: left;
    margin: 0 1.5rem 1rem 0;
  }
}
@media (max-width: 480px){
  .feature-card2 h3{
    flex-direction: column;
    align-items: center;
  }
  .feature-num-img2{
    margin: 0 auto;
  }
  .feature-title-text{
    width: 100%;
    text-align: center;
  }
  .feature-image{
    width: 100%;
    float: none;
    margin: 0 0 1rem;
  }
}


.message-box2{
  margin-top: 3rem;
  margin-bottom: 3vw;
  background: rgba(4, 111, 205, 0.05);
  border: 2px solid rgba(4, 111, 205, 0.2);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  position: relative;
  z-index: 30;
}

.msg-lead2{ font-size: clamp(1.5rem, 1.2rem + 0.5vw, 1.8rem); }
.msg-lead-strong2{ font-size: 1.4em; }
@media (max-width: 480px){ 
  .msg-lead2{ font-size: 1.5rem; } 
  .msg-lead-strong2{ font-size: 1.8rem; }
}

/* ========= 1中学専門塾の強み ========= */
.bg-blue-section2{
  background-color: var(--color-main);
  color: #fff;
  position: relative;
  z-index: 20;
  margin-top: -6vw;
  padding-top: 10vw;
  clip-path: polygon(0 6vw, 100% 0, 100% calc(100% - 6vw), 0 100%);
  overflow: hidden;
}
.bg-blue-section2::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background-image: url("../img/bg12.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.bg-blue-section2 .container2{ position: relative; z-index: 2; }



.bg-blue-section2::after{
  content: "";
  position: absolute;
  bottom: -1px; 
  left: 0;
  width: 100%;
  height: 8vw;
  background-color: var(--color-main);
  background-image: url("../img/bg12.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.3;
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
  z-index: 1;
}


@media (min-width: 768px){
  .bg-blue-section2::after{
    height: 6vw;
  }
}


.bg-blue-section2 + .section-success{
  margin-top: -6vw;   
  position: relative;
  z-index: 1;
}


.strength-head2{ margin-bottom: 3rem; }


.strength-title2{
  font-size: clamp(2.1rem, 1.8rem + 1.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-sub);
  padding-bottom: 0.6rem;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.strength-subtitle2{
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.6;
}
.strength-subnote2{
  margin-top: 0.8rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.strength-em2{
  font-size: 1.5em;
  margin: 0 2px;
  color: var(--color-accent);
  text-shadow:
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    1.4px 1.4px 0 #fff, -1.4px 1.4px 0 #fff, 1.4px -1.4px 0 #fff, -1.4px -1.4px 0 #fff;
}





.grid-22{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.feature-card2,
.exam-card{
  background: #fff;
  color: #1f2937;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 1024px){
  .feature-card2,
  .exam-card{
    flex-direction: row;
    align-items: stretch;
    padding: 2rem;
  }
  .feature-card2:nth-child(even),
  .exam-card:nth-child(even){ flex-direction: row-reverse; }
  .feature-card2.no-image,
  .exam-card.no-image{ flex-direction: column; }
  .feature-card2.no-image .feature-content2,
  .exam-card.no-image .exam-content{ width: 100%; }
}


.feature-deco2,
.exam-deco{
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-color: rgba(4, 111, 205, 0.1);
  border-bottom-left-radius: 9999px;
  margin-right: 0;
  margin-top: 0;
  z-index: 0;
}
@media (max-width: 1023px){
  .feature-card2,
  .exam-card{ overflow: hidden; }
}
@media (min-width: 1024px){
  .feature-card2,
  .exam-card{ overflow: hidden; }
}

.feature-content2,
.exam-content{
  padding: 1vw 1vw 1rem;
  position: relative;
  z-index: 2;
  flex: 1;
}

.feature-img-box2,
.exam-img-box{
  width: 100%;
  height: 250px;
  position: relative;
  z-index: 1;
}
.feature-img-box2 img,
.exam-img-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.feature-img-box2 img,
.grid-22 > .feature-card2:nth-child(1) .feature-img-box2 img,
.grid-22 > .exam-card:nth-child(1) .exam-img-box img{
  object-position: 70% center;
}
.grid-22 > .feature-card2:nth-child(2) .feature-img-box2 img,
.grid-22 > .exam-card:nth-child(2) .exam-img-box img{
  object-position: 40% center;
}

@media (min-width: 1024px){
  .feature-content2,
  .exam-content{
    width: 50%;
    padding: 2vw;
  }
  .feature-img-box2,
  .exam-img-box{
    width: 50%;
    height: auto;
  }
  .feature-img-box2 img,
  .exam-img-box img{
    border-radius: 0;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }
  .feature-card2:nth-child(even) .feature-img-box2 img,
  .exam-card:nth-child(even) .exam-img-box img{
    border-radius: 0;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }
}


.feature-head2,
.exam-head{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 900;
  color: var(--color-main);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 481px){
  .feature-head2,
  .exam-head{
    align-items: flex-start;
    text-align: left;
  }
}
.feature-num-img2,
.exam-num-img{
  width: 140px;
  height: auto;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.feature-text2,
.exam-text{
  font-weight: 500;
  line-height: 2;
  position: relative;
  z-index: 10;
}


.feature-content-full2,
.exam-content-full{ width: 100%; }
.feature-text-mb2,
.exam-text-mb{ margin-bottom: 1rem; }

.check-list2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  width: 100%;
}
@media (min-width: 768px){
  .check-list2{
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 768px){
  .check-list2{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px){
  .check-list2,
  .check-list2 li{
    width: 100%;
    max-width: 100%;
  }
  .check-list2 li{
    min-width: 0;
  }
  .check-list-desc2{
    overflow-wrap: anywhere;
  }
}
.check-list2 li{
  background-color: #f0f9ff;
  border: 2px solid #bae6fd;
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  width: 100%;
  max-width: 100%;
}

.check-list-img2{
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  background: #fff;
}
@media (max-width: 768px){
  .check-list-img2{
    height: 250px;
  }
}

.check-list-img2 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px){
  .check-list-img2 img{
    height: 250px;
  }
}

.check-list-title2{
  font-weight: 900;
  color: var(--color-main);
  font-size: clamp(1.05rem, calc(0.9rem + 0.31vw), 1.25rem);
  margin-bottom: 0.5rem;
  display: block;
}
@media (max-width: 768px){
  .check-list-title2{
    font-size: 1.25rem;
  }
}
.check-list-desc2{
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4b5563;
  text-align: left;
  display: block;
  width: 100%;
}


.strength-foot2{ margin-top: 3rem; }
.strength-foot-text2{ font-size: 2.2rem; margin-bottom: 3rem; }



/* ========= 成果・実績 ========= */
.section-success{ 
  background-image: url("../img/bg13.webp");
  background-size: cover;
  background-position: center;
  background-repeat: repeat-y;
}

.success-head{ margin: 2rem 0 2.5rem; }
.success-eyebrow{
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.success-main-text{
  font-size: clamp(3rem, 2vw + 2.5rem, 4rem);
  line-height: 1.6;
  color: var(--color-main);
}

@media (min-width: 768px){
  .success-head{ margin-top: 3rem; }
  .success-eyebrow{
    font-size: 1.1rem;
  }
}


.success-subtext{
  margin-top: 1rem;
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: 900;
}

.success-image{
  display: block;
  max-width: 900px;
  width: 100%;
  height: auto;
  margin: 1rem auto 0;
  filter:
    drop-shadow(2px 0 0 #fff)
    drop-shadow(-2px 0 0 #fff)
    drop-shadow(0 2px 0 #fff)
    drop-shadow(0 -2px 0 #fff);
}

.success-image-top-wrap{
  position: relative;
  margin: -2rem auto -10rem;
}
.success-image-top{
  display: block;
  width: 150px;
  height: auto;
  margin-left: auto;
  margin-right: -5%;
}

@media (min-width: 481px){
  .success-image-top{
    margin-right: 0;
  }
}

@media (min-width: 769px){
  .success-image-top{
    width: 200px;
    margin-right: 6%;
  }
}

.success-card{
  background: rgba(255,255,255,0.5);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}
@media (max-width: 480px){
  .success-card{
    padding: 1.75rem 0.75rem;
  }
  .achievement-grid2{
    grid-template-columns: repeat(2, 1fr);
  }
}

.success-pill-wrap{ margin-bottom: 2rem; }
.success-pill{
  background: #fff;
  color: #eb8000;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 0.875rem;
}

.success-area,
.success-pref,
.success-group-title{
  text-align: center;
}
.success-area{
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #d68c00;
  position: relative;
  padding-bottom: 0.2rem;
  margin-bottom: 0;
}
.success-area::after{
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: #d68c00;
  margin: 0.5rem auto 0;
}
.success-pref{
  font-size: 1.6rem;
  margin: 0 0 1rem;
}
.success-group-title{
  display: table;
  background: #f5a623;
  color: #fff;
  padding: 0.35rem 1.25rem;
  border-radius: 4px;
  font-weight: 700;
  margin: 1.5rem auto 1.5rem;
}

.success-items{
  list-style: none;
  padding: 0;
  margin: 1rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem 1.4rem;
  text-align: center;
  color: #4b3b2f;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 768px){
  .success-items{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.6rem;
    font-size: 0.79rem;
  }
}
@media (min-width: 560px) and (max-width: 768px){
  .success-items{
    font-size: 1rem;
  }
}
@media (max-width: 480px){
  .success-items{
    gap: 0.5rem 0.6rem;
    font-size: 0.68rem;
  }
}

.success-list{
  max-width: 980px;
  margin: 0 auto 2.5rem;
}
.success-list:last-child{ margin-bottom: 0; }


.achievement-grid2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}
@media (max-width: 480px){
  .ach-item2{
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 768px){
  .achievement-grid2{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px){
  .achievement-grid2{
    grid-template-columns: repeat(4, 1fr);
  }
}

.ach-item2{
  background: rgba(255,255,255,0.80);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  border: 1px solid;
  transition: transform 0.3s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.ach-name2{
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.ach-item2 span{
  color: var(--color-accent);
  font-weight: 900;
  font-size: 1.5rem;
}


.ach-icon2{
  margin: 0.25rem auto 0.35rem; 
  width: 120px;
  height: 120px;
}

.ach-icon2 img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.ac-val2{
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--color-main);
  line-height: 1.2;
}


.ac-val2 span{
  font-size: 2rem;          
  color: var(--color-accent);
  margin-left: 0.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}


.ac-val2 span small{
  font-size: 0.5em;   
}


@media (min-width: 768px){
  .ac-val2 span{
    font-size: 2.4rem;
  }
}

.success-note{
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 1.5rem;
  font-weight: 500;
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-indent: -.75rem;
  padding-left: 1rem;
}


/* ========= 特典・キャンペーン ========= */
.section-benefit2{
  position: relative;
  background-color: var(--color-main);
  background-image: url("../img/bg17.webp");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center;
  overflow: hidden;

  padding: 5rem 0;
	margin-top: 0;
	z-index: 2;
}
.section-benefit2 > .container2{
  position: relative;
  z-index: 1;
}


@media (min-width: 768px){
  .section-benefit2{
    padding: 6rem 0;
  }
}


.benefit-head2{
  margin: 1rem 0 3rem;
}

.benefit-eyebrow2{
  font-size: 4rem;
  color: var(--color-main); 
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.benefit-eyebrow2.outline-white{
  text-shadow:
    2px 0 0 #fff,
    -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    1.4px 1.4px 0 #fff,
    -1.4px 1.4px 0 #fff,
    1.4px -1.4px 0 #fff,
    -1.4px -1.4px 0 #fff;
}

.benefit-title2{
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-accent);
}

@media (min-width: 768px){
}


.benefit-main2{
  background: rgba(255,255,255,0.8);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 30px rgba(0,0,0,0.18);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
}

@media (min-width: 768px){
  .benefit-main2{
    padding: 3rem;
  }
}


.benefit-badge2{
  display: inline-block;
  background: var(--color-sub);
  color: var(--color-main);
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
	font-size: 1.5rem;
  font-weight: 900;
}


.benefit-hero2{
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #1f2937;
  font-weight: 900;
  line-height: 1.35;
}

.benefit-big2{
  display: inline-block;
  font-size: 2.4rem;
  color: var(--color-accent);
  text-shadow:
    2px 0 0 #fff,
   -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff;
}

@media (min-width: 768px){
  .benefit-big2{
    font-size: 3rem;
  }
}


.benefit-list2{
	display: table;
	margin: auto;
}
.benefit-list2 li{
  background: transparent;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
	align-items: flex-start;
  text-align: left;
  margin-bottom: 20px;
}

@media (min-width: 768px){
  .benefit-list2 li{
    flex-direction: row;
    align-items: center;
	  justify-content: flex-start;
    gap: 1rem;
  }
}

.benefit-num2{
  background: var(--color-main);
  color: #fff;
  font-weight: 900;
  padding: 0.3rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.benefit-text2{
  font-size: 2rem;
	font-weight: 900;
  color: #1f2937;
  line-height: 1.4;
}
.benefit-free2{
  margin-left: 5px;
}
@media (max-width: 480px){
  .benefit-text2{
    text-align: center;
  }
  .benefit-free2{
    display: block;
    text-align: center;
  }
  .benefit-list2 li{
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }
  .benefit-num2{
    margin: 0 auto;
    margin-bottom: 0.25rem;
  }
  .benefit-plus-main2{
    text-align: center;
  }
  .benefit-plus-text2{
    display: block;
    margin-top: 0.25rem;
  }
}


.benefit-plus2{
  border-top: 2px dashed var(--color-main);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.benefit-plus-main2{
  font-size: 2rem;
  margin: 0.5rem 0;
  color: #1f2937;
  font-weight: 900;
}

.benefit-plus-main2 .benefit-num2{
	vertical-align: .35rem;
	margin-right: 1rem;
}

.benefit-note2{
  font-size: 1.1rem;
  background: #fff;
  padding: 0.2rem 1rem;
  border-radius: 9999px;
}





/* ========= 申込みフォーム ========= */
.section-entry2{
  padding: 5rem 0;
  background-color: #f9fafb;
  background-image: url("../img/bg16.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
	position: relative;
  overflow: hidden;
	margin-top: 0;
}


.section-entry2 > .container2{
  position: relative;
  z-index: 1;
}

.entry-box2{
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 18px 28px rgba(0,0,0,0.12);
  max-width: 900px;
  margin: 4vw auto;
}

@media (min-width: 768px){
  .entry-box2{
    padding: 3rem;
  }
}

.entry-head2{
  text-align: center;
  margin-bottom: 2rem;
}

.entry-title2{
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.5rem);
  line-height: 1.5;
  color: var(--color-main);
  margin-bottom: 1.5rem;
}

.entry-title-em2{
  display: inline-block;
  font-size: 1.15em;   
}


.entry-lead2{
  color: #374151;
  line-height: 1.7;
  margin: 0;
  font-weight: 700;
}

.entry-lead2.entry-lead-attention2{
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}


.entry-form-wrap2{
  margin-top: 2.5rem;
}

.entry-form-title2{
  font-size: 1.2rem;
  color: var(--color-main);
  text-align: center;
  margin-bottom: 1.5rem;
}











.form-scroll-area2{
  height: 300px;
  overflow: auto;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  text-align: left;
}

.form-scroll-area2 .privacy-intro2{
  text-align: center;
}

.form-scroll-area2 h3{
  margin: 0.5rem 0 1rem;
}

.form-scroll-area2 p{
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}

.form-scroll-area2 p strong{
  display: inline-block;
  margin-bottom: 0.35rem;
}






/* お子さんの名前：2列×2段 */


/* 極小端末のみ1列に */



.btn2{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  padding: 1.05rem 2.2rem;
  font-size: 1.1rem;
}



.entry-sub-link2{
  margin: 1.25rem auto;
  text-align: center;
}

.entry-link2{
  color: var(--color-main);
  font-weight: 700;
  text-decoration: underline;
}


.entry-sub-link2{
  margin-top: 3rem;
  text-align: center;
}

.entry-link2{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-width: 50%;
  padding: 1.5rem 1.5rem;
  border-radius: 0.75rem;

  background: var(--color-main);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;

  border: 2px solid var(--color-main);
  transition: all 0.2s ease;
}


.entry-link2:hover{
  background: #ffffff;
  color: var(--color-main);
}


@media (max-width: 767px){
  .entry-link2{
    width: 100%;
    max-width: 360px;
  }
}


/* ========= 口コミ・評価 ========= */
.section-review2{
  position: relative;
  padding: 4rem 0;

  background-image: url("../img/bg14.webp");
  background-size: cover;   
  background-position: 80% 80%; 
  background-repeat: no-repeat;
}

.review-box2{
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 16px 26px rgba(0,0,0,0.12);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px){
  .review-box2{
    padding: 3rem;
  }
}

.review-lead2{
  font-size: 1.4rem;
  line-height: 1.5;
  color: #ffffff;
	text-shadow: 3px 3px 3px rgba(0,0, 0, 0.7);
  margin-bottom: 2.5rem;
}

@media (min-width: 768px){
  .review-lead2{
    font-size: 2.2rem;
  }
}


.review-stats2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px){
  .review-stats2{
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-item2{
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  box-shadow: inset 0 0 0 2px var(--color-main);
}

.review-label2{
  font-weight: 900;
  color: var(--color-main);
  margin-bottom: 0.5rem;
}

.review-value2{
  font-weight: 900;
  color: var(--color-accent);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25em;
}

.review-num2{
  font-size: 2.6rem;
}

.review-unit2{
  font-size: 1rem;
}

.review-star2{
  font-size: 2.2rem;
  color: #fbbf24; 
  margin-right: 0.1em;
}


.review-note2{
  font-size: 0.75rem;
  color: #ddd;
  line-height: 1.6;
  margin: 0;
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  text-indent: -.8rem;
  padding-left: 1rem;
}


/* ========= 教育理念 ========= */
.section-philosophy2{
  position: relative;
  padding: 5rem 0;

  background-image:
    url("../img/bg15.svg");
  background-repeat: repeat-y;
  background-position: center bottom;
  background-size: 100% auto;
}

.section-philosophy2 > .container2{
  background-color: rgba(255,255,255,0.7);
  border-radius: 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}


.philosophy-box2{
	max-width: 900px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	position: relative;
}


.philosophy-box2 p{
	text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: #1f2937;
}

.philosophy-box2 .ph-main2 p{
	font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.8rem);
	font-weight: 900;
}


.ph-em2{
  color: var(--color-main);
  font-size: 1.3em;     
  font-weight: 900;
  display: inline-block;
}


@media (min-width: 768px){
  .ph-em2{
    font-size: 1.45em;
  }
}


.philosophy-box2 .ph-normal2 p{
  font-size: clamp(0.9rem, 0.8rem + 0.4vw, 1.1rem);
  font-weight: 700;
  color: #374151;
  line-height: 1.9;
}


.ph-image2{
  margin: 2.5rem auto;
  max-width: 900px;
}

.ph-image2 img{
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  display: block;
  box-shadow: 0 18px 28px rgba(0,0,0,0.12);
}


@media (max-width: 767px){
  .ph-image2{
    margin: 2rem auto;
  }
}



.ph-empathy-list2{
	display: table;
  list-style: none;
  padding: 0;
  margin: 2rem auto .5rem;
}

.ph-empathy-list2 li{
	font-weight: 800;
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 0.25rem;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  color: #374151;
  line-height: 1.5;
}


.ph-empathy-list2 li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--color-main);
  font-weight: 900;
}

.philosophy-box2 .ph-empathy2 p{
	font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem);
	font-weight: 900;
	color: var(--color-main);
}


.philosophy-box2 .ph-accent2 p{
  font-size: clamp(1.8rem, 1.65rem + 0.5vw, 2rem);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.9;
  text-align: center;
}


/* ========= 申込みフォーム（最終CTA） ========= */


.section-entry-last > .container2{
  position: relative;
  z-index: 1;
}
.section-entry-last .entry-box2{
  box-shadow: 0 22px 34px rgba(0,0,0,0.14);
}



/* ========= フッター ========= */



/* ========= 固定バー ========= */










/* ========= お問い合わせ / 連絡導線 ========= */
.section-contact2{
  padding: 4rem 0 2rem;
  background-color: #f9fafb;
  background-image: url("../img/bg18.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20%;
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px){
  .section-contact2{
    background-position: 40% 20%;
  }
}

/* ========= 受験対策リンク ========= */
.section-entry-sub-link2{
  background-image: url("../img/bg10.svg"), url("../img/bg09.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, 100% 100%;
  background-size: contain, contain;
}

/* ========= 固定問合せボタン ========= */
.cv_btn_area2 {
	width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 102;
	opacity: 1;
	overflow: visible;
}
.cv_btn_area2 .btn2{
	align-items: flex-end;
	display: flex;
	padding: 0;
}
.cv_btn_area2 .btn2 a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 93px;
	box-sizing: border-box;
	line-height: 1.3;
    font-size: 12px;
	font-weight: 700;
    letter-spacing: 1px;
    background: var(--color-main);
    color: #ffffff;
    text-align: center;
	text-decoration: none;
	padding: 10px 0px;
	margin: 0;
	position: relative;
	transition: all .3s;
}
.cv_btn_area2 .btn2 a:first-child{
	display: none;
}
.cv_btn_area2 .btn2 a i {
	font-size: 1.5em;
	margin-right: 0;
	margin-bottom: 6px;
	transition: all .3s;
}
.cv_btn_area2 .btn2 a img{
	width: 32px;
	height: 32px;
}
.cv_btn_area2 .btn2 a img.icon-white{
	filter: brightness(0) invert(1);
}
.cv_btn_area2 .btn2 a img.line-icon,
.cv_btn_area2 .btn2 a img.line-icon2{
	margin-right: 0;
	margin-bottom: 6px;
}
.cv_btn_area2 .btn2 a img.icon-tel,
.cv_btn_area2 .btn2 a img.icon-tel2{
  filter: invert(30%) sepia(83%) saturate(2100%) hue-rotate(193deg) brightness(92%) contrast(101%);
}
.cv_btn_area2 .btn2 a img.icon-material,
.cv_btn_area2 .btn2 a img.icon-material2{
  filter: invert(25%) sepia(92%) saturate(2800%) hue-rotate(350deg) brightness(95%) contrast(102%);
}
.cv_btn_area2 .btn2 .icon-circle2{
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 0;
	flex: 0 0 auto;
	aspect-ratio: 1 / 1;
	margin-bottom: 4px;
	border: 5px solid var(--color-main);
}
.cv_btn_area2 .btn2 a:hover i{
	transform: scale(1.3);
}
.cv_btn_area2 .btn2 a:after{
	display: table;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 10px;
	margin: auto;
	font: var(--fa-font-solid);
	content: "\f054";
	transition: all .3s;
}
.cv_btn_area2 .btn2 a:hover:after{
	right: 5px;
}

@media screen and (max-width: 768px) {
  .cv_btn_area2 .btn2{
    flex-direction: row;
  }
  .cv_btn_area2 .btn2 a{
    height: 65px;
    padding: 32px 4px 10px;
    font-size: 11px;
    line-height: 1.2;
    width: calc(100% / 3);
    border-radius: 0;
  }
  .cv_btn_area2 .btn2 a:after{
    display: none;
  }
  .cv_btn_area2 .btn2 .icon-circle2{
    margin-bottom: 3px;
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: -33px;
    transform: translateX(-50%);
  }
  .cv_btn_area2 .btn2 a img{
    margin-top: 0;
    width: 32px;
    height: 32px;
  }
  .cv_btn_area2 .btn2 a img.line-icon,
  .cv_btn_area2 .btn2 a img.line-icon2{
    width: 45px;
    height: 45px;
    margin-bottom: 3px;
  }
  .cv_btn_area2 .btn2 a.line_button2 .line-square2{
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    padding: 10px !important;
  }
}
.cv_btn_area2 .btn2 a.mail_button2 {
	border: none;
	border-radius: 0;
	background: var(--color-accent);
	color: #ffffff;
}
.cv_btn_area2 .btn2 a.line_button2{
	background: #06c755;
	color: #ffffff;
}
.cv_btn_area2 .btn2 a .btn-text2{
	display: inline-block;
	padding: 0;
	border-radius: 0;
	background: transparent;
}
.cv_btn_area2 .btn2 a.mail_button2 .icon-circle2{
	border-color: var(--color-accent);
}
.cv_btn_area2 .btn2 a.line_button2 .line-square2{
	width: 60px;
	height: 60px;
	border-radius: 8px;
	background: #06c755;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
	padding: 0;
}

@media screen and (min-width: 481px) {
	.cv_btn_area2 .btn2 a:first-child{
		display: flex;
	}
	.cv_btn_area2 .btn2 a:nth-child(2){
		display: none;
	}
}

@media screen and (min-width: 769px), print {
	/* 不要なSP用電話ボタンを非表示 */
  .cv_btn_area2 .btn2 a:nth-child(2) {
    display: none !important;
  }

  .cv_btn_area2 {
    width: auto;
    right: 0;
    top: 15vw;
    left: auto;
    bottom: auto;
    /* 右側にはみ出た分を隠す */
    overflow: hidden; 
  }

  .cv_btn_area2 .btn2 {
    flex-direction: column;
    align-items: flex-end; /* 右端に寄せる */
  }

  .cv_btn_area2 .btn2 a {
    /* 当初の配置：テキストが上、画像が下 */
    display: flex;
    flex-direction: column-reverse; 
    align-items: center;
    justify-content: center;

    /* 伸びた後の最大幅で固定（文字の滑り防止） */
    width: 142px !important; 
    height: 122px;
    font-size: 14px;
    border-radius: 10px 0 0 10px !important;
    padding: 12px 14px 10px 0px; 
    
    /* 最初は右に12pxはみ出させて隠す（見かけ上は130px） */
    transform: translateX(12px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease !important;
    will-change: transform;

    margin: 0 0 3px 0;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
  }

  /* 1番目のボタン（入塾説明）のみ高さを調整 */
  .cv_btn_area2 .btn2 a:first-child {
    height: 155px;
    padding-top: 20px;
    box-shadow: inset 0 0 0 2px #ffffff;
  }

  /* ホバー時にハミ出しを0に戻す（ヌルっと左に現れる） */
  .cv_btn_area2 .btn2 a:hover {
    transform: translateX(0);
    opacity: 1;
    margin-right: 0;
  }

  /* アイコン：楕円化を防止し、正円を維持 */
  .cv_btn_area2 .btn2 .icon-circle2 {
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 60px !important;
    aspect-ratio: 1 / 1;
    margin-bottom: 0; /* column-reverseなので下マージン不要 */
    margin-top: 8px; /* テキストとの間隔 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
  }

  /* LINEアイコン（四角）用 */
  .cv_btn_area2 .btn2 a.line_button2 .line-square2 {
    width: 50px;
    height: 50px;
    margin-top: 5px;
  }

  .cv_btn_area2 .btn2 .icon-circle2 img.line-icon,
  .cv_btn_area2 .btn2 .icon-circle2 img.line-icon2 {
    width: 40px;
    height: 40px;
  }

  .cv_btn_area2 .btn2 a img.line-icon,
  .cv_btn_area2 .btn2 a img.line-icon2 {
    width: 50px;
    height: 50px;
    margin-right: 0;
    margin-bottom: 0;
  }

  /* 矢印（>）：ボタンの上下中央へ固定 */
  .cv_btn_area2 .btn2 a:after {
    display: table;
    position: absolute;
    top: 50% !important;        /* 上から50%の位置 */
    transform: translateY(-50%) !important; /* 自身の高さ半分だけ上に戻す（これで完全中央） */
    right: 20px;                /* 通常時の位置 */
    
    font: var(--fa-font-solid);
    content: "\f054";
    margin: 0;                  /* 余計なマージンをリセット */
    
    /* ヌルっとした同期移動 */
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  }

  /* ホバー時の矢印位置 */
  .cv_btn_area2 .btn2 a:hover:after {
    right: 12px;
  }
}


.contact-box2{
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 120px auto 10px;
}
@media (max-width: 768px){
  .contact-box2{
    margin: 120px auto 80px;
  }
}

.contact-grid2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-col2{
  background: rgba(255,255,255,0.95);
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 480px){
  .contact-col2{
    padding: 1rem;
  }
}

.contact-col-inner2{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-lead2{
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 0;
}

.contact-tel2{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem !important;
  font-weight: 900;
  color: var(--color-accent);
  margin: 0.25rem 0 0.5rem;
}

.contact-tel-icon2{
  width: 1.4rem;
  height: 1.4rem;
}

.contact-time2{
  font-size: 0.9rem;
  color: #6b7280;
}

.contact-line-sub2{
  font-size: 0.95rem;
  color: #06c755;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.contact-line-sub2::before,
.contact-line-sub2::after{
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #06c755;
}

.contact-line-sub2::before{ transform: rotate(55deg); }
.contact-line-sub2::after{
  transform: rotate(-57deg);
  margin-left: -0.4rem;
}

.contact-line-btn2{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.9rem 1.4rem;
  border-radius: 9999px;
  background: #06c755;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
  margin-bottom: 0.5rem;
}

.contact-line-icon2{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.contact-line-icon2 img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contact-line-text2{
  font-size: 1.1rem;
  line-height: 1.2;
}
@media (max-width: 480px){
  .contact-line-text2{
    font-size: 1rem;
  }
}

@media (min-width: 768px){
  .contact-grid2{
    grid-template-columns: repeat(2, 1fr);
  }
}



/* ===== footer拡張設定 ===== */

/* 旧サイト設定 */
footer .f__logo2 {
  width: 251rem;
  display: flex;
  margin: auto;
}



.copyright2 {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
  margin: 0;
  padding: 0.75rem 0;
  color: white;
  background: #056fce;
}

@media screen and (max-width: 768px) {
  footer {
    padding: 128rem 0;
  }
  footer .f__logo2 {
    width: 430rem;
  }
  footer .contact__btns {
    margin-top: 128rem;
    display: block;
  }
  footer .contact__btns .c__btn {
    width: 520rem;
    height: 120rem;
    margin: 48rem auto;
  }
  footer .contact__btns .c__btn:last-child {
    margin-bottom: 0;
  }
  footer .contact__btns .c__btn .lbl {
    font-size: 30rem;
  }
  footer .contact__btns .c__btn .lbl span {
    font-size: 24rem;
  }
  footer .contact__btns .c__btn .icon {
    width: 23rem;
  }
  .copyright2 {
    font-size: 18rem;
    text-align: center;
    font-weight: 500;
    padding: 30rem 0;
  }
  .topPage {
    width: 59rem;
    display: flex;
    position: fixed;
    bottom: 228rem;
    right: 0;
  }


}

/* ===== contact legacy fix ===== */
/* 旧CSSの rem=1px 設計が当たるのを防ぐ */

.section-contact2,
.section-contact2 *,
.contact-box2,
.contact-box2 *,
.contact-grid2,
.contact-grid2 *,
.cv_btn_area2,
.cv_btn_area2 * {
  font-size: inherit;
}

/* ===== footer legacy fix (style25sp3前提) ===== */
/* 旧CSSは html=1px rem設計。footer周りだけ rem換算を戻す */
footer, footer * ,
.copyright2, .copyright2 *{
  font-size: inherit;
}

/* footer/copyright に限り remが暴れないよう pxで再宣言 */
footer .f__logo2{
  width: 251px;
  display: flex;
  margin: auto;
}

/* ロゴ画像：旧CSSの img(100%/100%) と 2026の img(max-width/auto) の衝突を吸収 */
footer .f__logo2 img{
  width: 100%;
  height: auto;      /* ロゴは潰さない */
  object-fit: contain;
  display: block;
}

.copyright2{
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
  margin: 0;
  padding: 0.75rem 0;
  color: #fff;
  background: #056fce;
}

@media screen and (max-width: 768px) {
  footer{
    padding: 74px 0 120px;
  }
  .copyright2{
    padding: 0.75rem 0;
  }

}


/* フローティングをcopyright前で止める */




/* INDEX_CLASS2_END */


/* ===== v7index styles (hero~section-contact) ===== */
/* =========================================================
   Base Reset / Global
========================================================= */


body{
  font-family: 'Noto Sans JP', sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; height: auto; display: block; }
a{ text-decoration: none; color: inherit; }

/* ✅ 強リセットを弱める（フォームが透明になる事故防止）
   旧: border:none; background:none; を全入力要素に当てない */
button, input, select, textarea{ font-family: inherit; }

/* =========================================================
   Tokens / Utilities
========================================================= */
:root{
  --color-main: #046fcd;
  --color-sub: #fce300;
  --color-accent: #e2360e;
  --color-orange: #eb8000;
  --color-pink: #fb5756;
  --color-green: #00bc31;
  --container-padding: 1rem;
}


/* ✅ containerのブレークポイント整理
   SPのみfluid、タブレット以上は固定幅へ */
@media (max-width: 767px){
  .container{
    max-width: calc(100% - 4vw);
    padding-right: 2vw;
    padding-left: 2vw;
  }
}



.outline-white{
  margin-left: 3px;
  vertical-align: baseline;
  text-shadow:
    2px 0 0 #fff,
   -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    1.4px 1.4px 0 #fff,
   -1.4px 1.4px 0 #fff,
    1.4px -1.4px 0 #fff,
   -1.4px -1.4px 0 #fff;
}






.section-title{
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 900;
  color: var(--color-main);
  border-bottom: 4px solid var(--color-sub);
  display: inline-block;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

/* =========================================================
   Common CTA
========================================================= */

/* =========================================================
   HERO / ファーストビュー
========================================================= */
.hero{
  position: relative;
  height: clamp(760px, 130vw, 1000px);
  overflow: hidden;
}
@media (min-width: 769px){ .hero{ height: 900px; } }

.hero-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
@media (min-width: 769px){
  .hero-bg img{
    object-fit: cover;
    object-position: 52% center;
  }
}

.hero-content{
  position: relative;
  z-index: 30;
  padding-top: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (min-width: 769px){
  .hero-content{
    padding-top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}

.hero-text-box{
  width: 100%;
  padding: 0.5rem;
  position: relative;
  margin-top: 0;
}
@media (min-width: 769px){
  .hero-text-box{
    width: 70%;
    padding: 1rem;
    margin-top: 0;
    margin-left: 0;
    margin-right: auto;
  }
}
@media (min-width: 1024px){
  .hero-text-box{ width: 60%; }
}

.fv-cta-wrap{ padding-top: 0.5rem; }

.target-badge{
  display: table;
  background-color: var(--color-sub);
  color: var(--color-main);
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  font-size: 0.75rem;
}
@media (min-width: 769px){
  .target-badge{
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
  }
}
@media (min-width: 1024px){
  .target-badge{ font-size: 1rem; }
}




@media (min-width: 768px){
  .catch-lines{
    margin-top: 1rem;
    gap: 0.5rem;
  }
}

.catch-sub{
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
@media (min-width: 769px){ .catch-sub{ font-size: 2rem; } }
@media (min-width: 1024px){ .catch-sub{ font-size: 3rem; } }

.catch-main{
  display: block;
  color: var(--color-accent);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
  line-height: 1.1;
}
.catch-main-1{ font-size: clamp(2.25rem, 1rem + 5.5vw, 4.5rem); }
.catch-main-2{ font-size: clamp(2.25rem, 1.1rem + 6vw, 5.5rem); }
@media (min-width: 1024px){ .catch-main-1{ font-size: 4.5rem; } }
@media (min-width: 1024px){ .catch-main-2{ font-size: 5rem; } }

.badge-wrapper{ position: relative; width: max-content; }

.authority-badge{
  display: flex;
  position: absolute;
  background-color: var(--color-sub);
  border: 4px solid #fff;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transform: rotate(12deg);
  z-index: 20;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  top: -3rem;
  right: 10rem;
  width: 8rem;
  height: 8rem;
}
@media (max-width: 1279.9px){
  .authority-badge{
    top: -3rem;
    right: 0rem;
  }
}
@media (max-width: 1150px){
  .authority-badge{
    top: -3rem;
    right: .5rem;
  }
}
@media (max-width: 1024px){
  .badge-wrapper{ order: 1; }
  .authority-badge{
    position: static;
    transform: none;
    width: fit-content;
    min-width: 70%;
    height: auto;
    border-radius: 0.5rem;
    padding: 0.4rem 0.75rem;
    flex-direction: row;
    gap: 0.35rem;
    order: 2;
  }
  .authority-badge .badge-main{ white-space: nowrap; }
  .authority-badge .badge-main br{ display: none; }
  .catch-main-1{ order: 3; }
  .catch-main-2{ order: 4; }
}

.badge-sub{
  color: var(--color-main);
  font-weight: 900;
  display: block;
  margin-bottom: -1px;
  font-size: .8rem;
}
.badge-main{
  color: var(--color-accent);
  font-weight: 900;
  line-height: 1;
  font-size: 1.2rem;
}
@media (min-width: 1024px){
  .badge-sub{
    font-size: 1.0rem;
    line-height: 1rem;
    margin-bottom: -0.1rem;
    letter-spacing: 0.05em;
  }
  .badge-main{
    font-size: 1.6rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
  }
}



/* =========================================================
   保護者様の不安・課題
========================================================= */
.section-worry{
  background-image: url('../img/bg01.png');
  background-size: 100%;
  background-position: center;
  background-repeat: repeat-y;
}

.worry-lead{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.worry-lead-text{ color: #1f2937; font-size: 1.4rem; }
.worry-lead-img{ max-height: 80px; width: auto; }

.worry-list{
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.worry-card{
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.worry-card h3{
  font-weight: 900;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}
@media (min-width: 768px){
  .worry-card h3{
    font-size: 2.5rem;
    justify-content: flex-start;
  }
}

.worry-num-img{ width: 90px; height: auto; flex-shrink: 0; }
.worry-title-text{
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 0.5rem;
  flex: 1;
  text-align: left;
}

.worry-content{ display: block; width: 100%; }
.worry-text{ flex: 1; text-align: left; }

.worry-card p{
  font-size: 1rem;
  color: #4b5563;
  font-weight: 500;
  line-height: 2;
}

.worry-image{
  width: 45%;
  float: right;
  margin: 0 0 1rem 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.worry-image img{
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 768px){
  .worry-card{ padding: 2.5rem; gap: 2rem; }
  .worry-image{ width: 50%; }
  .worry-content.reverse .worry-image{
    float: left;
    margin: 0 1.5rem 1rem 0;
  }
}
@media (max-width: 480px){
  .worry-card h3{
    flex-direction: column;
    align-items: center;
  }
  .worry-num-img{ margin: 0 auto; }
  .worry-title-text{
    width: 100%;
    text-align: center;
  }
  .worry-image{
    width: 100%;
    float: none;
    margin: 0 0 1rem;
  }
}


.msg-lead{ font-size: 1.5rem; }
.msg-lead-strong{ font-size: 2rem; }

@media (max-width: 480px){
  .msg-lead{ font-size: 1.2rem; }
  .msg-lead-strong{ font-size: 1.8rem; }
}

/* =========================================================
   1中学専門塾の強み
========================================================= */
.bg-blue-section::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background-image: url("../img/bg02.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  filter: brightness(0) invert(1);
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.bg-blue-section::after{
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 8vw;
  background-color: var(--color-main);
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
  z-index: 1;
}
@media (min-width: 768px){
  .bg-blue-section::after{ height: 6vw; }
}

.bg-blue-section + .section-results{
  margin-top: -6vw;
  position: relative;
  z-index: 1;
}


.badge-spiky{ display: inline-block; margin-bottom: 0; }
@media (min-width: 768px){ .badge-spiky{ margin-top: -3rem; } }

.badge-spiky-img{ width: 300px; height: auto; }

.strength-title{
  font-size: clamp(2.1rem, 1.8rem + 1.2vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.strength-subtitle{
  margin-top: 1rem;
  font-weight: 900;
  color: #fff;
  font-size: 1.3rem;
}

.strength-em{
  font-size: 1.5em;
  color: var(--color-accent);
  text-shadow:
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    1.4px 1.4px 0 #fff, -1.4px 1.4px 0 #fff, 1.4px -1.4px 0 #fff, -1.4px -1.4px 0 #fff;
}

.strength-extra{ margin-top: 3rem; }
.strength-extra-line1{
  font-weight: 900;
  color: var(--color-sub);
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  border-bottom: 2px solid var(--color-sub);
  display: table;
  padding-bottom: 0.25rem;
  margin: 0 auto 20px;
}
.strength-extra-line2{
  margin-top: 0.5rem;
  font-weight: 900;
  color: var(--color-main);
  background-color: #fff;
  font-size: 2.1rem;
  line-height: 1.2;
  display: inline-block;
  padding: 0.25rem 1rem;
}


.feature-card{
  background: #fff;
  color: #1f2937;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: visible;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 768px){
  .feature-card{
    flex-direction: row;
    align-items: stretch;
    padding: 2rem;
  }
  .feature-card:nth-child(even){ flex-direction: row-reverse; }
  .feature-card.no-image{ flex-direction: column; }
  .feature-card.no-image .feature-content{ width: 100%; }
}

.feature-card:not(:last-child)::after{
  content: "";
  position: absolute;
  bottom: -2.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 24px solid #e6f0fa;
  z-index: 10;
}

.feature-deco{
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-color: rgba(4, 111, 205, 0.1);
  border-bottom-left-radius: 9999px;
  margin-right: -1rem;
  margin-top: -1rem;
  z-index: 0;
}
@media (max-width: 1024px){
  .feature-card{ overflow: hidden; }
  .feature-deco{
    margin-right: 0;
    margin-top: 0;
  }
}

.feature-content{
  padding: 1vw 1vw 1rem;
  position: relative;
  z-index: 2;
  flex: 1;
}

.feature-img-box{
  width: 100%;
  height: 250px;
  position: relative;
  z-index: 1;
}
.feature-img-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

@media (min-width: 768px){
  .feature-content{
    width: 50%;
    padding: 2vw;
  }
  .feature-img-box{
    width: 50%;
    height: auto;
  }
  .feature-img-box img{
    border-radius: 0;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }
  .feature-card:nth-child(even) .feature-img-box img{
    border-radius: 0;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }
}

.feature-head{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 900;
  color: var(--color-main);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}
.feature-num-img{
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}


.feature-text{
  font-weight: 500;
  line-height: 2;
  position: relative;
  z-index: 10;
}

.feature-content-full{ width: 100%; }
.feature-text-mb{ margin-bottom: 1rem; }

@media (max-width: 768px){
  .check-list{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .check-list,
  .check-list li{
    width: 100%;
    max-width: 100%;
  }
  .check-list li{ min-width: 0; }
  .check-list-desc{ overflow-wrap: anywhere; }
}


@media (max-width: 768px){
  .check-list-img{ height: 250px; }
}

@media (max-width: 768px){
  .check-list-img img{ height: 250px; }
}

@media (max-width: 768px){
  .check-list-title{ font-size: 1.25rem; }
}


.strength-foot-text{ font-size: 2.2rem; margin-bottom: 2rem; }

/* =========================================================
   成果・実績
========================================================= */
.section-results{
  background-image: url("../img/bg03.svg");
  background-size: cover;
  background-position: center;
  background-repeat: repeat-y;
}


@media (min-width: 768px){
  .results-eyebrow{ font-size: 1.1rem; }
  .results-main-text{ font-size: 2.2rem; }
}

@media (max-width: 480px){
  .results-card{ padding: 1.25rem; }
  .achievement-grid{ grid-template-columns: repeat(2, 1fr); }
}


@media (min-width: 768px){
  .achievement-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px){
  .achievement-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px){
  .ach-item{ width: 100%; max-width: 100%; }
}




.ach-icon{
  margin: 0.25rem auto 0.35rem;
  width: 120px;
  height: 120px;
}

.ac-val span{
  font-size: 2rem;
  color: var(--color-accent);
  margin-left: 0.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.ac-val span small{ font-size: 0.5em; }
@media (min-width: 768px){
  .ac-val span{ font-size: 2.4rem; }
}


/* =========================================================
   特典・キャンペーン
========================================================= */
.section-benefit{
  position: relative;
  background-color: var(--color-main);
  overflow: hidden;
  padding: 5rem 0;
  margin-top: 0;
  z-index: 2;
}

.section-benefit::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background-image: url("../img/bg02.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center;
  filter: brightness(0) invert(1);
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}


@media (min-width: 768px){
  .section-benefit{ padding: 6rem 0; }
}

.benefit-head{ margin: 1rem 0 3rem; }

.benefit-eyebrow{
  font-size: 2.8rem;
  color: var(--color-sub);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.benefit-title{
  font-size: 1.5rem;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
@media (min-width: 768px){
  .benefit-title{ font-size: 1.6rem; }
}

@media (min-width: 768px){
  .benefit-main{ padding: 3rem; }
}

.benefit-badge{
  display: inline-block;
  background: var(--color-sub);
  color: var(--color-main);
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 900;
}


@media (min-width: 768px){
  .benefit-big{ font-size: 3rem; }
}

.benefit-list{ display: table; margin: auto; }
.benefit-list li{
  background: #f9fafb;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 20px;
}
@media (min-width: 768px){
  .benefit-list li{
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
  }
}


.benefit-text{
  font-size: 2rem;
  font-weight: 900;
  color: #1f2937;
  line-height: 1.4;
}
.benefit-free{ margin-left: 5px; }

@media (max-width: 480px){
  .benefit-text{ text-align: center; }
  .benefit-free{
    display: block;
    text-align: center;
  }
  .benefit-list li{
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }
  .benefit-num{
    margin: 0 auto;
    margin-bottom: 0.25rem;
  }
  .benefit-plus-main{ text-align: center; }
  .benefit-plus-text{
    display: block;
    margin-top: 0.25rem;
  }
}


.benefit-plus-main .benefit-num{
  vertical-align: .35rem;
  margin-right: 1rem;
}
.benefit-note{ font-size: 0.9rem; }

/* =========================================================
   申込みフォーム
========================================================= */
.section-entry{
  padding: 5rem 0;
  background-color: #f9fafb;
  background-image: url("../img/bg06.jpg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

@media (min-width: 768px){
  .entry-box{ padding: 3rem; }
}

.entry-head{ text-align: center; margin-bottom: 2rem; }

.entry-title-em{ display: inline-block; font-size: 1.15em; }


.entry-form-wrap{ margin-top: 2.5rem; }

.entry-form{ display: grid; gap: 1rem; }

.form-row{ display: grid; gap: 0.4rem; }



/* select矢印 */



.form-scroll-area .privacy-intro{ text-align: center; }
.form-scroll-area h3{ margin: 0.5rem 0 1rem; }


.form-privacy-text{ margin-top: 0.5rem; font-size: 0.85rem; }
.form-privacy-note{ margin-top: 0; font-size: 0.85rem; }

/* お子さんの名前：2列×2段 */
.name-grid{ display: grid; gap: 0.75rem; }
@media (max-width: 360px){
  .name-grid-row{ grid-template-columns: 1fr; }
}


.btn-primary:hover{ filter: brightness(0.98); }

.entry-sub-link{
  margin: 3rem auto 0;
  text-align: center;
}

.entry-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-width: 50%;
  padding: 1.5rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--color-main);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--color-main);
  transition: all 0.2s ease;
}
@media (max-width: 767px){
  .entry-link{ width: 100%; max-width: 360px; }
}

/* =========================================================
   口コミ・評価
========================================================= */
.section-review{
  position: relative;
  padding: 4rem 0;
  background-image: url("../img/bg04.webp");
  background-size: cover;
  background-position: 80% 80%;
  background-repeat: no-repeat;
}

@media (min-width: 768px){
  .review-box{ padding: 3rem; }
}

.review-lead{
  font-size: 1.4rem;
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 3px 3px 3px rgba(0,0, 0, 0.7);
  margin-bottom: 2.5rem;
}
@media (min-width: 768px){
  .review-lead{ font-size: 2.2rem; }
}

@media (min-width: 768px){
  .review-stats{ grid-template-columns: repeat(2, 1fr); }
}




.review-num{ font-size: 2.6rem; }
.review-unit{ font-size: 1rem; }

.review-star{
  font-size: 2.2rem;
  color: #fbbf24;
  margin-right: 0.1em;
}


/* =========================================================
   教育理念
========================================================= */
.section-philosophy{
  position: relative;
  padding: 5rem 0;
  background-image: url("../img/bg05.svg");
  background-repeat: repeat-y;
  background-position: center bottom;
  background-size: 100% auto;
}


.philosophy-box{
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  position: relative;
}

.philosophy-box p{
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: #1f2937;
}

.philosophy-box .ph-main p{
  font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.8rem);
  font-weight: 900;
}

.ph-em{
  color: var(--color-main);
  font-size: 1.3em;
  font-weight: 900;
  display: inline-block;
}
@media (min-width: 768px){
  .ph-em{ font-size: 1.45em; }
}


@media (max-width: 767px){
  .ph-image{ margin: 2rem auto; }
}

.ph-empathy-list{
  display: table;
  list-style: none;
  padding: 0;
  margin: 2rem auto .5rem;
}
.ph-empathy-list li{
  font-weight: 800;
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 0.25rem;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  color: #374151;
  line-height: 1.5;
}

.philosophy-box .ph-empathy p{
  font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem);
  font-weight: 900;
  color: var(--color-main);
}


/* =========================================================
   申込みフォーム（最終CTA）
========================================================= */

/* =========================================================
   フッター（新LP） ※このブロックは legacy footer と併存する場合あり
========================================================= */


/* =========================================================
   固定バー（新LP）
========================================================= */








/* =========================================================
   お問い合わせ / 連絡導線
========================================================= */
.section-contact{
  padding: 4rem 0 2rem;
  background-color: #f9fafb;
  background-image: url("../img/bg08.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20%;
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px){
  .section-contact{ background-position: 40% 20%; }
}

/* =========================================================
   受験対策リンク
========================================================= */

/* =========================================================
   固定問合せボタン（旧サイト系）
========================================================= */
.cv_btn_area{
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 102;
  opacity: 1;
  overflow: visible;
}
.cv_btn_area .btn{
  align-items: flex-end;
  display: flex;
  padding: 0;
}
.cv_btn_area .btn a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 93px;
  box-sizing: border-box;
  line-height: 1.3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--color-main);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  padding: 10px 0px;
  margin: 0;
  position: relative;
  transition: all .3s;
}
.cv_btn_area .btn a:first-child{ display: none; }

.cv_btn_area .btn a i{
  font-size: 1.5em;
  margin-right: 0;
  margin-bottom: 6px;
  transition: all .3s;
}
.cv_btn_area .btn a img{
  width: 32px;
  height: 32px;
  margin-top: 5px;
}
.cv_btn_area .btn a img.icon-white{ filter: brightness(0) invert(1); }
.cv_btn_area .btn a img.line-icon{
  margin-right: 0;
  margin-bottom: 6px;
}

.cv_btn_area .btn .icon-circle{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  margin-bottom: 4px;
  border: 5px solid var(--color-main);
}

.cv_btn_area .btn a:hover i{ transform: scale(1.3); }

.cv_btn_area .btn a:after{
  display: table;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  font: var(--fa-font-solid);
  content: "\f054";
  transition: all .3s;
}
.cv_btn_area .btn a:hover:after{ right: 5px; }

@media screen and (max-width: 768px){
  .cv_btn_area .btn{ flex-direction: row; }
  .cv_btn_area .btn a{
    height: 65px;
    padding: 32px 4px 10px;
    font-size: 11px;
    line-height: 1.2;
    width: calc(100% / 3);
    border-radius: 0;
  }
  .cv_btn_area .btn a:after{ display: none; }
  .cv_btn_area .btn .icon-circle{
    margin-bottom: 3px;
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: -33px;
    transform: translateX(-50%);
  }
  .cv_btn_area .btn a img{
    margin-top: 0;
    width: 32px;
    height: 32px;
  }
  .cv_btn_area .btn a img.line-icon{
    width: 45px;
    height: 45px;
    margin-bottom: 3px;
  }
  .cv_btn_area .btn a.line_button .line-square{
    position: absolute;
    left: 50%;
    top: -27px;
    transform: translateX(-50%);
    padding: 10px !important;
  }
}

.cv_btn_area .btn a.mail_button{
  border: none;
  border-radius: 0;
  background: var(--color-accent);
  color: #ffffff;
}
.cv_btn_area .btn a.line_button{
  background: #06c755;
  color: #ffffff;
}

.cv_btn_area .btn a .btn-text{
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.cv_btn_area .btn a.mail_button .icon-circle{ border-color: var(--color-accent); }

.cv_btn_area .btn a.line_button .line-square{
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #06c755;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  padding: 0;
}

@media screen and (min-width: 481px){
  .cv_btn_area .btn a:first-child{ display: flex; }
  .cv_btn_area .btn a:nth-child(2){ display: none; }
}

@media screen and (min-width: 769px), print{
  .cv_btn_area{
    width: auto;
    right: 0;
    top: 15vw;
    left: auto;
    bottom: auto;
  }
  .cv_btn_area .btn{ flex-direction: column; }
  .cv_btn_area .btn a{
    flex-direction: column-reverse;
    width: 130px;
    height: 122px;
    font-size: 14px;
    border-radius: 10px 0 0 10px!important;
    padding: 12px 14px 10px 12px;
    margin: 0 0 3px auto;
  }
  .cv_btn_area .btn a:first-child{
    height: 155px;
    padding-top: 20px;
    box-shadow: inset 0 0 0 2px #ffffff;
  }
  .cv_btn_area .btn a:hover{
    margin-right: 0;
    opacity: 1;
    width: 138px;
    padding-right: 22px;
  }
  .cv_btn_area .btn a i{
    margin-bottom: 7px;
    margin-right: 0;
    margin-top: 0;
  }
  .cv_btn_area .btn .icon-circle{
    margin-bottom: 0;
    margin-right: 0;
    width: 60px;
    height: 60px;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
  }
  .cv_btn_area .btn .icon-circle img.line-icon{
    width: 40px;
    height: 40px;
  }
  .cv_btn_area .btn a img.line-icon{
    width: 50px;
    height: 50px;
    margin-right: 0;
    margin-bottom: 0;
  }
}

/* =========================================================
   contact box / grid
========================================================= */
@media (max-width: 768px){
  .contact-box{ margin: 120px auto 80px; }
}

@media (min-width: 768px){
  .contact-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px){
  .contact-col{ padding: 1rem; }
}



.contact-tel{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem!important;
  font-weight: 900;
  color: var(--color-accent);
  margin: 0.25rem 0 0.5rem;
}




@media (max-width: 480px){
  .contact-line-text{ font-size: 1rem; }
}

/* =========================================================
   Animations
========================================================= */
.animate-pulse{ animation: pulse 2s infinite; }

/* =========================================================
   旧サイト footer（legacy）
   ※ rem=1px設計のCSSが混入しても崩れないようにする
========================================================= */

/* フローティングをcopyright前で止める */
@media screen and (max-width: 768px){
  #fix_contact_btn.is-stopped{
    position: absolute;
    bottom: auto;
    left: 0;
    width: 100%;
  }
}

/* =========================================================
   フォーム復旧（リセット影響対策）
   class="form-control" が無くても最低限の見た目が残る
========================================================= */
.section-entry input,
.section-entry select,
.section-entry textarea,
.section-entry-last input,
.section-entry-last select,
.section-entry-last textarea{
  font-family: inherit;
  color: #111827;
}

/* form-control無しでも復旧 */
.section-entry input:not([type="checkbox"]):not([type="radio"]),
.section-entry select,
.section-entry textarea,
.section-entry-last input:not([type="checkbox"]):not([type="radio"]),
.section-entry-last select,
.section-entry-last textarea{
  width: 100%;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

/* セレクト矢印 */
.section-entry select,
.section-entry-last select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 0.75rem;
  padding-right: 2.5rem;
}

/* focus統一 */
.section-entry input:focus,
.section-entry select:focus,
.section-entry textarea:focus,
.section-entry-last input:focus,
.section-entry-last select:focus,
.section-entry-last textarea:focus{
  outline: none;
  border-color: var(--color-main);
  box-shadow: 0 0 0 4px rgba(4,111,205,0.15);
}

/* checkboxはreset影響を受けないよう明示 */
.form-privacy-check input[type="checkbox"]{
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #9ca3af;
  background: #fff;
  border-radius: 0.25rem;
  appearance: auto;
}

/* =========================================================
   Reduce motion
========================================================= */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
}

/* =================================================
   Contact Form 7 Form Design（最終整理版）
   scope: #entry
================================================= */
#entry{
  --form-text:#1f2937;
  --form-muted:#6b7280;
  --form-line:#e5e7eb;
  --form-bg:#ffffff;
  --form-input:#ffffff;
  --form-input-line:#d1d5db;
  --form-focus:#188cf3;
  --form-badge-required:#e11d2e;
  --form-badge-optional:#6b7280;
}

/* フォーム全体枠 */
#entry .contact__wrapper{ margin-top: 24px; }
#entry .contact__inner{ background: var(--form-bg); overflow: hidden; }

/* tableレイアウト（公式寄せ） */
#entry .contact__inner table{ width: 100%; border-collapse: collapse; }
#entry .contact__inner table tr{ border-top: 1px solid var(--form-line); }
#entry .contact__inner table tr:first-child{ border-top: none; }
#entry .contact__inner table td{ padding: 18px; vertical-align: middle; }

/* 左カラム（項目名 + 必須/任意） */
#entry .contact__inner table td:first-child{
  width: 280px;
  padding-right: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--form-text);
  white-space: nowrap;
}
#entry .contact__inner table td:first-child > span:not(.required):not(.note__txt){
  white-space: nowrap;
}
#entry .required{
  margin-left: auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 44px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color:#fff;
  white-space: nowrap;
  background: var(--form-badge-required);
}
#entry .required.no{ background: var(--form-badge-optional); }
#entry .note__txt{
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 12px;
  color: var(--form-muted);
  font-weight: 600;
  white-space: normal;
  display: block;
}

/* 右カラム */
#entry .contact__inner table td:last-child{ width: auto; }

/* 入力UI共通 */
#entry input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
#entry select,
#entry textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--form-input-line);
  border-radius: 6px;
  background: var(--form-input);
  font-size: 14px;
  line-height: 1.4;
  color: var(--form-text);
  box-sizing: border-box;
}
#entry textarea{ min-height: 140px; resize: vertical; }
#entry input:focus,
#entry select:focus,
#entry textarea:focus{
  outline: none;
  border-color: var(--form-focus);
  box-shadow: 0 0 0 3px rgba(24,140,243,.18);
}
#entry ::placeholder{ color: #9ca3af; }

/* select矢印 */
#entry .select__wrapper{ position: relative; }
#entry .select__wrapper select{ appearance: none; padding-right: 40px; }
#entry .select__wrapper::after{
  content:"";
  position:absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: translateY(-60%) rotate(45deg);
  pointer-events:none;
}

/* 氏名4分割 */
#entry .name__wrapper{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px){
  #entry .name__wrapper{ grid-template-columns: 1fr; }
}

/* ラジオ・チェック */
#entry .wpcf7-radio,
#entry .wpcf7-checkbox{
  display:flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
#entry .wpcf7-radio label,
#entry .wpcf7-checkbox label,
#entry .wpcf7-acceptance label{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  cursor:pointer;
  font-size: 14px;
}
#entry input[type="radio"],
#entry input[type="checkbox"]{
  width: 16px;
  height: 16px;
  accent-color: var(--form-focus);
}

/* 住所 */
#entry .address-post{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}
#entry .address-post .post__txt{ width: 220px; }
#entry .address-post .note{ font-size: 12px; color: var(--form-muted); }
#entry .address__text01{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 768px){
  #entry .address__text01{ grid-template-columns: 1fr; }
}
#entry .address__text02{ margin-top: 12px; }

/* プライバシー */
#entry .privacy__wrapper{
  padding: 24px 18px 16px;
  border-top: 1px solid var(--form-line);
  text-align: center;
}
#entry .privacy__wrapper .check__items{
  display: flex;
  justify-content: center;
}
#entry .privacy__wrapper label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--form-text);
  cursor: pointer;
}
#entry .privacy__wrapper input[type="checkbox"]{
  width: 16px;
  height: 16px;
  accent-color: var(--form-focus);
}
#entry .privacy__wrapper a{
  color: #eb8000;
  font-weight: 700;
  text-decoration: none;
}
#entry .privacy__wrapper a:hover{ text-decoration: underline; }
#entry .agree__txt{
  padding: 0 18px 18px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--form-muted);
  text-align: center;
}
#entry .agree__txt a{
  color: var(--form-focus);
  text-decoration: underline;
}

/* 送信ボタン */
#entry .submit__btn{
  display:block;
  width: min(420px, 100%);
  margin: 18px auto 24px;
  height: 56px;
  border-radius: 6px;
  border: none;
  background: #9ca3af;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: not-allowed;
}
#entry form:has(.privacy__wrapper input[type="checkbox"]:checked) .submit__btn{
  background: #1e88f5;
  cursor: pointer;
}
#entry form:has(.privacy__wrapper input[type="checkbox"]:checked) .submit__btn:hover{
  filter: brightness(.95);
}

/* SP：縦積み */
@media (max-width: 768px){
  #entry .contact__inner table,
  #entry .contact__inner table tbody,
  #entry .contact__inner table tr,
  #entry .contact__inner table td{
    display:block;
    width:100%;
  }
  #entry .contact__inner table td{ padding: 14px; }
  #entry .contact__inner table td:first-child{ padding-bottom: 8px; white-space: normal; }
  #entry .contact__inner table td:last-child{ padding-top: 0; }
  #entry .required{ margin-left: 6px; } /* 必須/任意を項目名直後へ */
}

/* 校舎を選ぶ（検索ボタン）復旧 */
#entry .search__form{
  display: flex;
  align-items: stretch;
  gap: 12px;
}
#entry .area-search__btn{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  background: #eb8000;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
#entry .area-search__btn .icon{
  position: relative;
  width: 14px;
  height: 14px;
}
#entry .area-search__btn .icon::before{
  content:"";
  position:absolute;
  inset:0;
  border: 2px solid #fff;
  border-radius: 50%;
}
#entry .area-search__btn .icon::after{
  content:"";
  position:absolute;
  width: 8px;
  height: 2px;
  background:#fff;
  right: -6px;
  bottom: -2px;
  transform: rotate(45deg);
}
#entry .search__form .school__txt{ flex: 1; width: auto; }
@media (max-width: 768px){
  #entry .search__form{ flex-direction: column; }
  #entry .area-search__btn{ width: 100%; }
}

/* 住所：番地／建物名の間隔調整 */
#entry .address__text02{ margin-bottom: 12px; }
#entry .wpcf7-form-control-wrap[data-name="address04"]{
  display: block;
  margin-top: 12px;
}

/* sp class */
@media screen and (max-width: 768px) {
  .sp { display: flex !important; }
}
.sp { display: none !important; }

/* =========================
   フォーム左列（項目名）を上下中央揃え：安定版
   - td を table-cell に戻して vertical-align を効かせる
   - 必須/任意バッジは absolute で右固定
========================= */
@media (min-width: 769px){

  /* 左列td：table-cellに戻して上下中央揃え */
  #entry .contact__inner table tr > td:first-child{
    display: table-cell !important;   /* ← flex指定を殺す */
    vertical-align: middle !important;/* ← 行の上下中央 */
    position: relative;               /* バッジabsolute用 */
    padding-right: 84px;              /* バッジ分の逃げ */
    white-space: normal;              /* 念のため */
  }

  /* 必須/任意バッジ：右固定＆縦中央 */
  #entry .contact__inner table tr > td:first-child .required{
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0 !important;        /* flex用のautoを無効化 */
  }

  /* 注釈（複数選択可など）は下に落とす */
  #entry .contact__inner table tr > td:first-child .note__txt{
    display: block;
    margin-top: 6px;
  }
}


/* =================================================
   FOOTER SINGLE SOURCE OF TRUTH  ※必ずCSS最下部に置く
   目的：SPで footer / copyright が潰れない & 固定バーと干渉しない
================================================= */
footer img,
.topPage img{
  max-width: 100%;
  height: auto;
  display: block;
}

footer{
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 74px 0;
  overflow: visible;
}

footer .f__logo{
  width: 251px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .f__logo img{
  width: 100%;
  height: auto;
  object-fit: contain;
}

.topPage{
  position: static;
  width: 150px;
  margin: auto;
  transform: none;
  display: flex;
  justify-content: center;
  z-index: auto;
}
.topPage img{
  width: 100%;
}

.copyright{
  display: block;
  margin: 0;
  padding: 25px 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
  color: #fff;
  background: #004f97;
  height: auto;
  overflow: visible;
}

@media (max-width: 768px){
  footer{
    padding: 60px 0 140px;
  }
  footer .f__logo{
    width: min(280px, 80vw);
  }
  .topPage img{
    width: 100%;
  }
  .copyright{
    padding: 8px 0;
  }
}

/* =========================================================
   校舎選択パーツ用のスタイル（修正版・CSS）
   目的：rem=1px混入や強リセットでも崩れないよう安定化
========================================================= */

/* モーダル全体 */
.school-select__modal{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  width: 100%;
  height: 100%;
  /* 旧CSSのrem設計に引きずられない */
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/* モーダル配下：最低限の安定（他所のrem=1px系が混入しても潰れない） */
.school-select__modal,
.school-select__modal *{
  box-sizing: border-box;
}

/* 画像：モーダル内で全画像を潰さない（closeアイコンも含むので object-fit は付けない） */
.school-select__modal img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* 背景オーバーレイ */
.school-select__modal .overlay{
  position: absolute;
  inset: 0;
  background: #ccc;
  opacity: 0.8;
}

/* モーダルの箱 */
.school-select__modal .list__inner{
  width: 360px;
  height: 80svh;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 中身（スクロール領域） */
.school-select__modal .list__inner .content__inner{
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: auto;
  padding: 55px 30px 15px;
}

/* スクロールバー（Webkit） */
.school-select__modal .list__inner .content__inner::-webkit-scrollbar{
  width: 12px;
}
.school-select__modal .list__inner .content__inner::-webkit-scrollbar-track{
  background: transparent;
}
.school-select__modal .list__inner .content__inner::-webkit-scrollbar-thumb{
  background: #888;
  border-radius: 20px;
  border: 0;
}

/* 閉じるボタン */
.school-select__modal .list__inner .close__btn{
  width: 280px;
  height: 48px;
  border-radius: 24px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  background: #0f67f6;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* 閉じるアイコン */
.school-select__modal .list__inner .close__btn .icon{
  width: 18px;
  height: 18px;
  display: flex;
  margin-right: 5px;
}
.school-select__modal .list__inner .close__btn .icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 閉じるラベル */
.school-select__modal .list__inner .close__btn .lbl{
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 28px;
  color: #fff;
}

/* 見出し（希望教室を選択してください） */
.school-select__modal .list__inner .content__inner > .lbl{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.75;
  text-align: center;
  color: #333;
}

/* リスト全体 */
.school-select__modal .list__inner .list__items{
  margin-top: 20px;
}

/* 地域（親） */
.school-select__modal .list__inner .list__items .l__item{
  width: 100%;
}

/* open状態：＋の縦棒を消す */
.school-select__modal .list__inner .list__items .l__item.open > span::after{
  opacity: 0;
}

/* 地域見出し */
.school-select__modal .list__inner .list__items .l__item > span{
  display: block;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-align: left;
  color: #188cf3;
  position: relative;
  padding: 12px 0;
  border-bottom: 1px solid #188cf3;
  cursor: pointer;
}

/* ＋の横棒 */
.school-select__modal .list__inner .list__items .l__item > span::before{
  content: "";
  width: 21px;
  height: 3px;
  background: #188cf3;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* ＋の縦棒 */
.school-select__modal .list__inner .list__items .l__item > span::after{
  content: "";
  width: 3px;
  height: 21px;
  background: #188cf3;
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
}

/* 市区町村リスト */
.school-select__modal .list__inner .list__items .l__item .city__list{
  display: none;
}

/* 市区町村ブロック */
.school-select__modal .list__inner .list__items .l__item .city__list .c__city{
  width: 100%;
}

/* 市区町村 open：＋縦棒を消す */
.school-select__modal .list__inner .list__items .l__item .city__list .c__city.open > span::after{
  opacity: 0;
}

/* 市区町村見出し */
.school-select__modal .list__inner .list__items .l__item .city__list .c__city > span{
  display: block;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 28px;
  text-align: left;
  color: #333;
  position: relative;
  padding: 12px 0;
  border-bottom: 1px dashed #333;
}

/* ＋（横棒） */
.school-select__modal .list__inner .list__items .l__item .city__list .c__city > span::before{
  content: "";
  width: 17px;
  height: 3px;
  background: #333;
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
}

/* ＋（縦棒） */
.school-select__modal .list__inner .list__items .l__item .city__list .c__city > span::after{
  content: "";
  width: 3px;
  height: 17px;
  background: #333;
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
}

/* 校舎リスト */
.school-select__modal .list__inner .list__items .l__item .city__list .c__city .school__list{
  padding: 10px 20px;
  border-bottom: 1px dashed #333;
  display: none;
  list-style: none;
  margin: 0;
}

/* 校舎名 */
.school-select__modal .list__inner .list__items .l__item .city__list .c__city .school__list li{
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  text-align: left;
  color: #0f67f6;
  cursor: pointer;
  padding: 6px 0;
}

/* タップしやすく（任意：ホバー/フォーカス） */
.school-select__modal .list__inner .list__items .l__item .city__list .c__city .school__list li:hover{
  opacity: 0.85;
}

/* SP調整（幅を広げる） */
@media (max-width: 480px){
  .school-select__modal .list__inner{
    width: min(92vw, 420px);
  }
  .school-select__modal .list__inner .content__inner{
    padding: 52px 18px 14px;
  }
  .school-select__modal .list__inner .close__btn{
    width: min(78vw, 320px);
  }
}


.grecaptcha-badge { visibility: hidden; }

@media (max-width: 480px){
  .container2{
    overflow: hidden;
  }
}
