﻿*, *::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; }
.font-bold{ font-weight: 700; }
.font-black{ font-weight: 900; }
.u-inline-block{ display: inline-block; }

.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, 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 ========= */
.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;
}
.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: 620px;
  overflow: hidden;
}
@media (min-width: 768px){ .hero{ height: 850px; } }

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.hero-content{
  position: relative;
  z-index: 30;
  padding-top: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (min-width: 768px){
  .hero-content{
    padding-top: 0;
    flex-direction: row;
    align-items: center;
  }
}

.hero-text-box{
  width: 100%;
  padding: 0.5rem;
  position: relative;
  margin-top: 0;
}
@media (min-width: 768px){
  .hero-text-box{
    width: 70%;
    padding: 1rem;
    margin-top: -2rem;
  }
}
@media (min-width: 1024px){
  .hero-text-box{ width: 60%; }
}


.fv-cta-wrap{ padding-top: 0.5rem; }
.hero-right-spacer{ flex-grow: 1; }

.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: 768px){
  .target-badge{
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
  }
}
@media (min-width: 1024px){
  .target-badge{ font-size: 1rem; }
}

.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);
}

.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: 768px){
  .catch-lines{
    margin-top: 1rem;
    gap: 0.5rem;
  }
}

.catch-sub{
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
@media (min-width: 768px){ .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;
  }
}

.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;
}
.hero-desc p{
  color: #1f2937;
  font-weight: 900;
  line-height: 1.625;
  font-size: clamp(1rem, 0.7rem + 0.6vw, 1.3rem);
}
.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: 6rem;
  background-color: var(--color-main);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 70%);
  z-index: 20;
}
@media (min-width: 768px){ .hero-shape{ height: 10rem; } }



/* ========= 保護者様の不安・課題 ========= */
.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;
  }
}


.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: 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{
  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/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 .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);
  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; }

.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;
}
@media (max-width: 480px){ .strength-subtitle{ font-size: 1.2rem; } }
.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;
}


.grid-2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}


.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;
}

.img-right-crop img{
  object-fit: cover;
  object-position: right center;
}
.feature-text{
  font-weight: 500;
  line-height: 2;
  position: relative;
  z-index: 10;
}


.feature-content-full{ width: 100%; }
.feature-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: 2rem; }



/* ========= 成果・実績 ========= */
.section-results{ 
  background-image: url("../img/bg03.svg");
  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/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;
}


.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/bg06.jpg");
  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/bg04.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/bg05.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/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%;
  }
}

/* ========= 受験対策リンク ========= */
.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;
	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 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: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;
	}
	.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!important;
  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: 150px;
  display: flex;
  position: absolute;
  bottom: auto;
  left: 50%;
  transform: translate(-50%);
  z-index: 2;
}
/*.topPage {
  width: 48rem;
  display: flex;
  position: fixed;
  bottom: 20rem;
  right: 0;
  z-index: 2;
}*/
/*.topPage {
  width: 48rem;
  display: none;
  right: 0;
  bottom: 40rem;
  position: fixed;
  z-index: 2;
  transition: 0.3s;
}*/
.topPage:hover {
  opacity: 0.7;
}


.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;
  }*/
  /*.topPage {
    width: 60rem;
    bottom: 114rem;
  }*/

}

/* ===== 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%;
  }
}
