@charset "UTF-8";

/* =========================================
Header / Navigation
========================================= */
.menu {
  display: none;
}
#nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background: linear-gradient(90deg, #EAFFFF 0%, #FEECE6 100%);
  transform: translateY(-100%);
  transition: all 0.6s;
  z-index: 200;
  overflow-y: auto;
}
#nav ul {
  padding: 20px 0;
  margin-bottom: 0;
}
#nav.active {
  right: 0;
  top: 49px;
  opacity: 1;
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
  visibility: visible;
  height: 100%;
}
#nav ul li {
  list-style-type: none;
  font-size: 1.2rem;
  background-color: #fff;
  padding: 15px;
  margin-bottom: 10px;
  width: 90%;
  border-radius: 5px;
  margin-left: auto;
  margin-right: auto;
}
#nav ul li a {
  display: block;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  color: #3c3c3c;
}
#nav ul li a:hover {
  color: #bbb;
}

.logo {
  position: absolute;
  top: 10px;
  left: 35px;
  z-index: 100;
}

.pc-navi .col-2{
  padding-left: 5px;
  padding-right: 5px;
}
.pc-navi-bg{
  background: linear-gradient(90deg, #EAFFFF 0%, #FEECE6 100%);
}
.pc-navi .row{
  height: 100px;
}
.pc-navi a{
  color: #3c3c3c;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 767px) {
  header {
    top: 0;
    background-color: #fff;
    width: 100%;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1000;
    min-height: 50px;
  }
  #nav{
    padding-bottom: 50px;
  }
  .pc-navi{
    display: none;
  }
  .menu {
    position: fixed;
    right: 10px;
    top: 3px;
    width: 50px;
    height: 50px;
    display: block !important;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
    z-index: 10;
  }
  .menu:focus {
    outline: none;
  }
  .menu,
  .menu span {
    display: inline-block;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    box-sizing: border-box;
    z-index: 201;
  }
  .menu span {
    position: absolute;
    left: 12px;
    width: 26px;
    height: 2px;
    background-color: #3C3C3C;
    transition: all 0.6s;
  }
  .menu span:nth-of-type(1) {
    top: 14px;
  }
  .menu span:nth-of-type(2) {
    top: 24px;
  }
  .menu span:nth-of-type(3) {
    top: 34px;
  }
  .menu.active span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 20px;
  }
  .menu.active span:nth-of-type(2) {
    width: 0;
    left: 50%;
  }
  .menu.active span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 20px;
  }
  .logo {
    top: 8px;
    left: 10px;
    width: 160px;
  }
}
@media (max-width: 575px) {
  .logo {
    width: 140px;
  }
  nav .btn-pink {
    width: 85%;
  }
}

/* =========================================
Hero / Jumbotron
========================================= */
/* kv */
.jumbotron {
  background-image: url(../img/kv.jpg), linear-gradient(180deg, #000 85%, #fff 115%);
  background-repeat: no-repeat;
  background-blend-mode: screen;
  background-size: cover;
  background-position-x: center;
  background-position-y: 30%;
  padding:2rem;
  border-radius: 0;
  margin-bottom: 0;
  margin-top: 60px;
}

.container-kv{
  width: auto;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 1200px) {
  .container-kv {
    width: 1040px;
  }
}

.jumbotron .cta-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.jumbotron .cta-item__text {
  text-align: center;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
}
.jumbotron .cta-buttons {
  gap: 16px;
}

@media (max-width: 991px) {
  .jumbotron .cta-item .h5 {
    font-size: 1.1rem;
  }
  .jumbotron img.en {
    width: 90px;
  }
}

@media (max-width: 767px) {
  /* .jumbotron {
    padding: 90px 0 120px;
  } */
  h1{
    font-size: 1.3rem;
  }
  .jumbotron .h4{
    font-size: 1.1rem;
  }
  .jumbotron{
    background: url(../img/kv-s.jpg) top center no-repeat;
    padding: 1rem 0;
    background-size: contain;
    background-position: top;
    margin-top: 50px;
  }
  .jumbotron .container-kv{
    padding-right: 0;
    padding-left: 0;
  }
  .jumbotron .container-box {
    padding-right: 20px;
    padding-left: 20px;
  }
  .jumbotron .h5.txt-sky {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  .jumbotron .bg-beige{
    padding: 0;
  }
  .jumbotron .bg-beige .row {
    margin-right: 0;
    margin-left: 0;
  }
  .jumbotron .cta-buttons{
    gap: 5px;
  }
  .jumbotron .cta-item {
    width: 90%;
  }
  .jumbotron .cta-item .h5 {
    font-size: 1.25rem;
  }
  .anc {
    font-size: .9rem;
  }
  .container-kv{
    width: 100%;
  }
}
@media screen and (min-width:715px) and (max-width:767px) {
  .jumbotron {
    background-size: cover;
  }
}
@media (max-width: 575px) {
  .jumbotron img.en {
    width: 77px;
  }
}

/* =========================================
Common / Generic Parts
========================================= */
:root {
  --color-green-100: #e6eefc;
  --color-green-700: #0E2755;
  --color-green-800: #166534;
  --color-blue-700: #183F89;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
}

/* title border bottom */
.heading {
  position: relative;
  margin-bottom: 4em;
}
.heading:before {
  content: '';
  position: absolute;
  bottom: -20px;
  display: inline-block;
  width: 120px;
  height: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: #0EB5C0;
}
.heading.lpink:before {
  background: #E67171;
}
.heading h2 {
  text-align: center;
  line-height: 1.4;
}
.position-ab{
  position: absolute;
  right: 0;
  bottom: -20px;
}
.circle, .circle-l{
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FADD00;
  text-align: center;
  line-height: 60px;
  font-weight: 600;
}
.circle-l {
  width: 100px;
  height: 100px;
  line-height: 100px;
}
.rank span{
  position: absolute;
  left: 5px;
  top: -30px;
}
img.fit {
  object-fit: cover;
  width: 100%;
  height: 180px;
}
.object-position-top{
  object-position: top;
}
.bg-pattern{
  background-image: url(../img/bg-dot.png);
  background-repeat: repeat;
}
.bg-pattern-stripe {
  background-image: url(../img/bg-stripe.png);
  background-repeat: repeat;
}
.bg-staff{
  background-image: url(../img/bg-staff.png);
  background-repeat: no-repeat;
  background-size: cover;
}
#faq.bg-pattern {
  background-color: #F0ECE2;
}

.btn {
  font-size: 1.2rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: inline-block;
  padding: 1rem;
  border-radius: 50px;
  width: 100%;
  position: relative;
  letter-spacing: normal;
}
.btn.d-block{
  width: auto;
  padding: 1rem 2.5rem;
}
.btn::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(0, -50%) rotate(45deg);
}
.btn span.rounded{
  padding: 2px 5px 4px;
  display: inline-block;
  line-height: 1;
}
.btn span.rounded small{
  font-size: 75%;
  letter-spacing: 3px;
  font-weight: 700;
}
.btn-pink a,
.btn-orange a{
  color: #fff;
  display: block;
  text-decoration: none;
}
.btn-pink {
  background: #FF2C7C;
}
.btn-pink:hover {
  background: #ec2f7c; 
}
.btn-shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

/* どんな学校があるの？ */
.card{
  border: none;
  border-radius: 0;
  background-color: transparent;
}
.card-img,
.card-img-top {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.card p.h6 {
  color: #fff;
  padding: 8px 30px 8px 5px;
  position: absolute; /* relativeの要素を基準にする */
  left: 0; /* 基準からみて左寄せ */
  bottom: 0; /* 基準からみて下寄せ */
  margin-bottom: 0;
  background-image: url(../img/rec1.png);
  background-repeat: none;
  background-position: bottom right;
  width: auto;
}

.balloon-color {
display: flex;
flex-wrap: wrap;
}
/* 吹き出し */
.balloon-color{
  flex-direction: row; /* 左から右に並べる */
}
.chatting-color {
  position: relative;
  display: inline-block; /* 吹き出しが文字幅に合わせます */
  margin:0;
  padding: 10px 10px;
  background: #2BA2A2; 
  text-align: left; /*テキスト左揃え*/
  border-radius: 15px; /*枠の丸みの設定はこちら*/
}
.chatting-color::after {
  content: "";
  border-right: 2px solid transparent;
  border-bottom: 22px solid #2BA2A2;
  border-left: 17px solid transparent;
  position: absolute;
  top: -15px;
  left: 15px;
}
#step dt {
  white-space: nowrap;
  margin-right: 5px;
}
.indent li {
  padding-left: 1em;
  text-indent: -1em;
}
.indent-img li {
  padding-left: 1.5em;
  text-indent: -1.5em;
}

@media (max-width: 767px) {
  .indent-img li {
    padding-left: 2em;
    text-indent: -2em;
  }
  .heading{
    margin-bottom: 3em;
  }
  .heading:before {
    bottom: -20px;
    width: 85px;
  }
  .card p.h6 {
    padding: 8px 25px 8px 5px;
  }
  img.fit{
    height: 120px;
  }
  h4.h5{
    font-size:calc(1.275rem + .3vw) ;
    line-height: 1.4;
  }
  .btn span.rounded {
    padding: 2px 6px 6px;
    display: inline-block;
  }
  .circle-l {
    width: 85px;
    height: 85px;
    line-height: 85px;
  }
  .rank span {
    position: absolute;
    left: 5px;
    top: -20px;
  }
}
@media (max-width: 575px) {
  .btn::after{
    right: 17px;
  }
  .btn-pink {
    /* padding: 10px 15px 10px 15px; */
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .btn span.rounded {
    padding: 2px 6px 4px;
  }
  .btn span.rounded small {
    letter-spacing: 2px;
  }
  .p-2-xs{
    padding: .5rem !important;
  }
}

/* =========================================
Counseling Section
========================================= */
.counseling-box {
  background: #fff;
}
.box-title {
  background: #ff007a;
  color: #fff;
  font-weight: 500;
  padding: 10px 20px;
}
.box-content {
  position: relative;
  display: flex;
  gap: 15px;
  padding: 10px 15px 50px;
  min-height: 300px;
}
.box-content ul {
  width: 390px;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  z-index: 2;
}
.box-content li {
  line-height: 1.8;
  margin-bottom: 10px;
}
.box-content li::before {
  content: "✔";
  font-weight: 700;
  margin-right: 16px;
}
.counseling-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  max-width: 560px;
  height: auto;
}
.counseling-bottom {
  text-align: center;
}
.badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.badges span {
  background: #fff;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 1rem;
}
.counseling-btn {
  width: 500px;
  padding: 1rem 2rem;
}

@media (max-width: 991px) {
  .box-content {
    display: block;
    padding-bottom: 30px;
  }
  .box-content ul {
    width: 100%;
  }
  .badges {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .box-content li {
    margin-bottom: 5px;
  }
}
@media (max-width: 575px) {
  .box-content {
    padding: 0;
    height: 530px;
  }
  .counseling-img {
    width: 80%;
    bottom: -20px;
  }
}

/* =========================================
Common CTA Buttons
========================================= */
.cta-buttons {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  justify-content: center;
}
.cta-btn {
  min-height: 60px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: .2s ease;
  width: 430px;
  max-width: 100%;
}
.cta-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
  color: #fff;
}
.cta-btn--pink {
  background: #ff007a;
}
.cta-btn__icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.cta-btn__badge {
  background: #fff;
  color: #ff007a;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .85em;
}

@media (max-width: 767px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
  }
  .cta-btn {
    width: 100%;
  }
}

/* =========================================
School Support Section
========================================= */
.school-support-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.school-support-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
  text-align: left;
}
.school-support-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.school-support-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #00aaa6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.school-support-icon svg {
  width: 33px;
  height: 33px;
  fill: #fff;
}
.school-support-point h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0;
  line-height: 1.5;
}
.school-support-point p {
  margin: 0;
}
.school-support-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.school-support-badges span {
  background: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 500;
}
.school-support-badges span::before {
  content: "✔";
  color: #ff007a;
  font-weight: 700;
  margin-right: 4px;
}
.school-support-text {
  line-height: 1.9;
  color: #222;
  margin-bottom: 30px;
}
.school-support-text strong {
  font-weight: 700;
}

@media (max-width: 991px) {
  .school-support-points {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 767px) {
 .school-support-inner {
    padding: 0 10px;
  }
  .school-support-badges {
    flex-wrap: wrap;
  }
}

/* =========================================
School Section / Filter / Cards / Modal
========================================= */
.school-section h3, .school-section p { margin: 0; }
.school-section img { max-width: 100%; display: block; }
.school-section button { border: 0; cursor: pointer; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-subtitle {
  display: block;
  margin-bottom: 8px;
  color: var(--color-green-700);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.section-title {
  color: var(--color-slate-900);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.section-line {
  width: 64px;
  height: 4px;
  background: var(--color-green-700);
  margin: 16px auto 12px;
}
.section-lead {
  max-width: 672px;
  margin: 0 auto;
  color: var(--color-slate-600);
  font-size: 14px;
}

.filter-box {
  background: #fff;
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-2xl);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  padding: 16px;
  margin-bottom: 32px;
}
.filter-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-slate-100);
}
.filter-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.filter-label {
  width: 128px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-slate-600);
  font-size: 12px;
  font-weight: 700;
}
.filter-label::before {
  content: "";
  display: block;
  width: 6px;
  height: 12px;
  background: var(--color-green-700);
  border-radius: 999px;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-btn {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--color-slate-100);
  color: var(--color-slate-700);
  font-size: 12px;
  font-weight: 700;
  transition: .2s ease;
}
.filter-btn:hover { background: var(--color-slate-200); }
.filter-btn.is-active {
  background: var(--color-green-700);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--color-slate-500);
  font-size: 13px;
  font-weight: 500;
}
.reset-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-green-700);
  cursor: pointer;
}
.reset-btn:hover { text-decoration: underline; }
.reset-btn svg { width: 14px; height: 14px; }

.school-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  transition: .3s ease;
}
.school-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-2xl);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: .3s ease;
}
.school-card:hover { box-shadow: 0 4px 10px rgba(15, 23, 42, .08); }
.school-card__image-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--color-slate-100);
  cursor: pointer;
}
.school-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s ease;
}
.school-card:hover .school-card__image { transform: scale(1.05); }
.school-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 4px;
}
.badge {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 4px;
}
.badge--green { background: #2BA2A2; }
.badge--blue { background: #183F89; }
.school-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}
.school-card__main {
  margin-bottom: 12px;
  cursor: pointer;
}
.school-card__name {
  overflow: hidden;
  color: var(--color-slate-800);
  font-size: 1.1rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: .2s ease;
}
.school-card:hover .school-card__name { color: var(--color-green-700); }
.school-card__catch {
  overflow: hidden;
  margin-top: 4px;
  color: #183F89;
  font-size: 1.05rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.school-card__desc {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--color-slate-500);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.school-card__bottom {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-slate-50);
}
.school-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.school-tag {
  background: var(--color-slate-100);
  color: var(--color-slate-600);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
}
.school-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #F82C7D;
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 700;
  transition: .2s ease;
}
.school-btn:hover { background: #e01063; }
.school-btn svg { width: 14px; height: 14px; }

.empty-box {
  grid-column: 1 / -1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-2xl);
  padding: 48px 16px;
}
.empty-box svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--color-slate-300);
}
.empty-box p {
  color: var(--color-slate-500);
  font-size: 14px;
  font-weight: 500;
}
.empty-reset-btn {
  margin-top: 12px;
  background: var(--color-green-100);
  color: var(--color-green-700);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  transition: .2s ease;
}
.empty-reset-btn:hover { background: #d3e8db; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(15, 23, 42, .6);
  padding: 16px;
  transition: .3s ease;
}
.modal.is-hidden { display: none; }
.modal__content {
  width: 100%;
  max-width: 672px;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-3xl);
  box-shadow: 0 25px 50px rgba(15, 23, 42, .25);
  transform: scale(.95);
  transition: .3s ease;
  margin: 24px auto;
}
.modal__content.is-open { transform: scale(1); }
.modal__cover {
  position: relative;
  height: 256px;
  background: var(--color-slate-800);
}
.modal__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(15, 23, 42, .8);
  border: none;
  color: #fff;
  border-radius: 999px;
  transition: .2s ease;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}
.modal__close:hover { background: var(--color-slate-900); }
.modal__cover-text {
  position: absolute;
  right: 16px;
  bottom: 5px;
  left: 16px;
  color: #fff;
}
.modal__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.modal-badge {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.modal-badge--green { background: #2BA2A2; }
.modal-badge--blue { background: var(--color-blue-700); }
.modal__title {
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.modal__body { padding: 24px; }
.modal__block { margin-bottom: 24px; }
.modal__block--small { margin-bottom: 16px; }
.modal__label {
  margin-bottom: 4px;
  color: var(--color-slate-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.modal__catch {
  color: var(--color-green-700);
  font-size: 1.2rem;
  font-weight: 700;
}
.modal__desc {
  color: var(--color-slate-600);
  font-size: 1rem;
  line-height: 1.75;
}
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal-tag {
  background: var(--color-slate-100);
  color: var(--color-slate-600);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
}
.modal-cta {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.modal-btn {
  flex: 1;
  min-height: 56px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: .2s ease;
}
.modal-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
  color: #fff;
}
.modal-btn-consult {
  background: #ff0080;
}
.modal-btn-line {
  background: #06c755;
}
.modal-btn-icon {
  width: 12px;
  height: 12px;
}
.line-icon {
  width: 18px;
  height: 18px;
}
@media (max-width: 767px) {
   .modal {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 65px;
    padding-bottom: 24px;
  }
  .modal__content {
    margin: 0 auto;
  }
  .modal-cta {
    flex-direction: column;
  }
  .modal-btn {
    width: 100%;
    flex: none;
    padding: 14px 16px;
    min-height: 28px;
  }
}

.selected-school {
  display: none;
  text-align: center;
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-lg);
  padding: 12px;
  margin-bottom: 16px;
}
.selected-school.is-visible { display: block; }
.selected-school__label {
  display: block;
  margin-bottom: 4px;
  color: var(--color-slate-400);
  font-size: 10px;
  font-weight: 700;
}
.selected-school__name {
  display: inline-block;
  background: var(--color-green-100);
  color: var(--color-green-800);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-slate-900);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(15, 23, 42, .25);
  padding: 14px 20px;
  animation: toast-bounce 1s infinite;
}
.toast.is-hidden { display: none; }
.toast svg { width: 20px; height: 20px; color: #34d399; }
.toast span { font-size: 14px; font-weight: 700; }

.is-hidden-school {
  display: none;
}
.load-more-wrap {
  text-align: center;
  margin-top: 32px;
}
.school-section .load-more-btn:hover, .testimonial-more-btn:hover {
  background: transparent;
}
.school-section .load-more-btn, .testimonial-more-btn {
  padding: 12px 32px;
  border: 1px solid var(--color-green-700);
  color: var(--color-green-700);
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}
.load-more-icon {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .demo-title { font-size: 18px; }
  .section-title { font-size: 24px; }
  .school-section{ padding: 15px 0;}
  .filter-box { padding: 16px; }
  .filter-row {
    display: block;
  }
  .filter-label {
    width: auto;
    margin-bottom: 8px;
  }
  .filter-options {
    /* flex-wrap: nowrap; */
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px;
  }
  .filter-btn {margin-bottom: 8px;}
  .result-bar {
    display: block;
  }
  .reset-btn { margin-top: 8px; }
  .school-grid { grid-template-columns: 1fr; }
  .modal__cover { height: 192px; }
  .modal__title { font-size: 20px; }
  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    justify-content: center;
  }
}

/* =========================================
Merit / Testimonials / Photo Marquee
========================================= */
/* =========================================
Photo Marquee Section (お客様の写真無限スクロール)
========================================= */
.photo-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  margin-bottom: 3rem;
  padding: 0.5rem 0;
  position: relative;
}
.photo-marquee {
  display: flex;
  gap: 1rem;
  width: max-content;
  /* アニメーション：35秒かけて左に移動し、無限ループ */
  animation: scroll-left 35s linear infinite;
}
/* ホバー時はスクロールを一時停止して見やすくする */
.photo-marquee:hover {
  animation-play-state: paused;
}
.photo-item {
  position: relative;
  width: 260px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-item:hover img {
  transform: scale(1.05);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.5rem)); } /* 半分(1セット分) + gapの半分 移動したらループ */
}
/* =========================================
体験談
========================================= */
/* グリッド対応のカードリスト (挑戦記録風) */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;;
}
.hidden-testimonial {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.6s ease, opacity 0.4s ease;
}
.hidden-testimonial.is-open {
  max-height: 700px;
  opacity: 1;
  pointer-events: auto;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.testimonial-img-wrap {
  position: relative;
  width: 100%;
  height: 160px; /* 写真を小さく表示 */
}
.testimonial-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #2BA2A2;
  color: #fff;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 4px;
  font-weight: 500;
}
.testimonial-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.testimonial-catch {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 700;
  margin-top: 0;
}
.testimonial-content p{
  color: var(--color-slate-500);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
}
.testimonial-profile {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: auto; /* プロフィール部分を上に詰め、リンクを下にする */
}
.testimonial-profile .name {
  font-size: 0.85rem;
}
.testimonial-profile .career {
  font-size: 0.85rem;
}
.testimonial-card:hover .testimonial-link i {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr); /* PCでは3列グリッド */
  }
}
@media (max-width: 991px) {
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .testimonial-grid {
    grid-template-columns: repeat(1, 1fr); 
    gap: 1rem;
    margin-top: 1.5rem;
  }
}

/* =========================================
FAQ / Accordion
========================================= */
/* アコーディオン type2 */
/*ボックス全体*/
.accbox2 {
  margin: 1em 0 1em;
  border: none;
}
/*ラベル*/
.accbox2 label, .accbox label {
  display: block;
  cursor: pointer;
  transition: all 0.5s;
  position: relative;
}
.accbox label {
  cursor: default;
}
.accbox2 label{
  border-bottom: 2px dotted #091937;
}
.accbox2 h4 {
  margin-top: 0;
  padding-right: 30px;
  text-align: left;
}
.accbox h4 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
}
/*チェックは隠す*/
.accbox2 input, .accbox input {
  display: none;
}
/*中身を非表示にしておく*/
.accbox2 .accshow {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
}
/*クリックで中身表示*/
.accbox2 .cssacc2:checked + label + .accshow {
  height: auto;
  padding: 15px 0;
  opacity: 1;
}
/*アイコンを表示*/
.accbox2 label:before {
  content: "\f067";
  font-family: "Font Awesome 5 Free";
  float: right;
  font-weight: 600;
  color: #0EB5C0;
  font-size: 1.4rem;
}
/*アイコンを入れ替える*/
.accbox2 .cssacc2:checked + label:before {
  content: "\f068";
}
.accshow div {
  position: relative;
}

#faq hr{
  border:2px solid #fff;
}
.faq-check-mark {
  display: flex;
  justify-content: right;
  gap: 12px;
  margin-bottom: 18px;
}
.faq-check-mark span::before {
  content: "✔";
  color: #ff007a;
  font-weight: 700;
  margin-right: 4px;
}
.faq-text {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .faq-check-mark {
    display: grid;
  }
  .faq-text {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  /* アコーディオン スマホ以下 中高留学の魅力*/
  /*ボックス全体*/
  .accbox {
    margin: 15px 0 0;
    border: none;
    background-color: #fff;
  }
  /*ラベル*/
  .accbox label {
    display: block;
    cursor: pointer;
    transition: all 0.5s;
    position: relative;
  }
  .accbox h4 {
    margin-top: 0;
    margin-bottom: 0;
    text-align:left;
    padding-bottom: 2rem;
  }
  /*チェックは隠す*/
  .accbox input {
    display: none;
  }
  /*中身を非表示にしておく*/
  .accbox .accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
  }
  /*クリックで中身表示*/
  .accbox .cssacc2:checked+label+.accshow {
    height: auto;
    padding: 15px 0 0;
    opacity: 1;
  }
  /*アイコンを表示*/
  .accbox label:before {
    content: "\f067";
    font-family: "Font Awesome 5 Free";
    float: right;
    padding-right: 10px;
    padding-top: 10px;
    font-weight: 600;
    color: #fff;
    font-size: 1.4rem;
  }
  /*アイコンを入れ替える*/
  .accbox .cssacc2:checked+label:before {
    content: "\f068";
  }
  #faq h4.h5 {
    font-size: 1.25rem;
  }
  .accbox2 h4 {
    padding-right: 15px;
  }
  .accbox2 .cssacc2:checked + label + .accshow {
    padding: 10px 0;
  }
}
@media (max-width: 575px) {
  .accbox2{
    padding:0 .8rem;
  }
  .accbox2 label:before {
    padding-top: 10px;
  }
  .accbox2 .cssacc2:checked + label + .accshow {
    padding: 10px 0;
  }
}

/* =========================================
Footer Hero
========================================= */
/* footer hero */
section.hero-renew {
  background:
    linear-gradient(
      90deg,
      #071a3f 0%,
      #0a2254 40%,
      #c7d0e2 100%
    );
  /* position: relative; */
  overflow: visible;
  color: #fff;
  padding: 0;
}
section.hero-renew .container-xl{
  position: relative;
}
.hero-renew__inner {
  /* max-width: 1100px; */
  margin: 0 auto;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 460px;
  align-items: center;
  position: relative;
  padding: 48px 0 0;
}
.hero-renew__content{
  padding-bottom: 20px;
  z-index: 10;
}
.hero-renew__sub {
  /* font-size: 28px; */
  font-weight: 700;
  margin: 0;
}
.hero-renew__title {
  font-size: 5rem;
  line-height: 1;
  font-weight: 900;
  margin: 4px 0 12px;
}
.hero-renew__badges,
.hero-renew__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.hero-renew__badges span {
  background: #21b6a8;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.9rem;
  font-weight: 700;
}
.hero-renew__features span {
  background: #fff;
  color: #071a3f;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.9rem;
  font-weight: 700;
}
.hero-renew__lead {
  /* font-size: 18px; */
  line-height: 1.55;
  font-weight: 500;
  margin: 18px 0 14px;
}
.hero-renew__note {
  font-size: 0.9rem;
  margin: 10px 0 4px;
}
.hero-renew__line {
  color: #45e35f;
  font-size: 1rem;
  font-weight: 700;
}
.hero-renew__visual {
  position: relative;
  align-self: stretch;
}
.hero-renew__visual > img {
  position: absolute;
  /* right: -40px; */
  bottom: -48px;
  width: 720px;
  max-width: none;
}
.img-f-hero{
  position: absolute;
  bottom: 0;
  right:0;
  width: 565px;
}
.hero-renew__certs {
  position: absolute;
  right: 20px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 20;
}
.hero-renew__certs img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}
@media (max-width: 1199px) {
  .hero-renew .h1{
    font-size: 2rem;
  }
  .hero-renew__title {
    font-size: 3rem;
  }
  .img-f-hero{
    width: 560px;
  }
}

@media (max-width: 991px) {
  .hero-renew__certs{
    left: 10px;
  }
  .hero-renew__certs img {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 767px) {
  .hero-renew__inner {
    grid-template-columns: 1fr;
    padding-top: 20px;
    min-height: 520px;
  }
  .hero-renew__visual > img {
    right: -60px;
    bottom: -260px;
    width: 420px;
  }
  .hero-renew__certs {
    right: 0;
    left: unset;
    bottom: 10px;
    gap: 5px;
  }
  .hero-renew__certs img {
    width: 82px;
    height: 82px;
  }
  .hero-renew__lead{
    font-size: 1.1rem;
  }
  .hero-renew__features svg{
    height: 18px;
    width: 18px;
  }
  .img-f-hero {
    width: 355px;
  }
  .hero-renew .h1 {
    font-size: 1.5rem;
  }
  .hero-renew .cta-btn {
    width: 450px;
  }
}
@media (max-width: 575px) {
  .hero-renew__certs {
    bottom: -280px;
  }
  .hero-renew__inner {
    padding: 36px 5px 385px;
  }
  .hero-renew__lead{
    margin: 10px 0 10px;
  }
  .hero-renew__certs img {
    width: 84px;
    height: 84px;
  }
  .img-f-hero {
    width: stretch;
  }
  .hero-renew .cta-btn {
    width: 100%;
  }
}
@media (max-width: 430px) {
  .hero-renew__inner {
    padding: 36px 5px 330px;
  }
}
/* =========================================
Footer
========================================= */
/* footer */
footer {
  font-weight: 400;
}
footer a:hover {
  color: #bbb;
}
footer .footer-content {
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
footer .content {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1320px;
}
footer .content div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
footer .content .fl-right {
  margin-left: auto;
}

@media (max-width: 575px) {
  footer .content {
    display: block;
  }
}

/* =========================================
Step / Page-wide Responsive Adjustments
========================================= */
@media (max-width: 1110px) {
  .pc-navi {
    line-height: 1.2;
  }
   #merit img.fit {
    height: auto;
  }  
}

@media (max-width: 991px) {
  .cta-buttons.step-cta {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .cta-buttons.step-cta .cta-btn {
    width: 100%;
  }
  .cta-buttons.step-cta .h6{
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .slide-detail h5{
    font-size: 1rem;
  }
  .slide-detail .h6{
    font-size: .8rem;
  }
}
@media (max-width: 575px) {
  #step h3.h4{
    font-size: 1.15rem;
  }
  #step h4 {
    font-size: 1.2rem;
  }
}

/* =========================================
Animations
========================================= */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.5rem)); } /* 半分(1セット分) + gapの半分 移動したらループ */
}

@keyframes toast-bounce {
  0%, 100% { transform: translateY(-5%); animation-timing-function: cubic-bezier(.8,0,1,1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
