@charset "utf-8";

/* ==============================
共通
================================= */
:root {
  --primary-black: #333a3a;
  --primary-white: #FFF;
  --primary-pink: #FD5695;
  --primary-lightpink: #FFEDFD;
  --primary-green: #9FBE2F;
  --primary-yellow: #FFF001;
  --primary-bluegreen: #59C2AD;
  --primary-lightblue: #6596DD;
  --primary-blue: #004098;
  --primary-gray: #AAAAAA;
  --primary-lightgray: #D9D9D9;

  --gradation1: linear-gradient(135deg,#6596DD,#FD5695) ;

  --contentWidth: 89.3%;
  --contentPadding: 5.3%;

}


html {
  font-size: 62.5%;
  scroll-padding-top: 60px;
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter","Roboto",'Noto Sans JP', "Jost",
    Arial,
    sans-serif;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--primary-black);
  background-color: #fff;
  align-items: center;
  font-feature-settings: "palt";
  text-align: justify;
}

img {
  max-width: 100%;
  height: auto;
}

.spBr {
  display: block;
}

.pcBr {
  display: none;
}

.wrapper {
  width: 100%;
  background-color: #ffffff;
  padding: 64px var(--contentPadding);
  overflow: hidden;
}

.container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.section__title {
  display: inline-block;
  text-align: center;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.tagline-wrapper {
  display: inline;
  background: linear-gradient(
    transparent 60%,              /* 上部は透明 */
    rgba(255, 192, 203, 0.6) 60%, /* 下部がピンクの半透明 */
    rgba(255, 192, 203, 0.6) 100%
  );
}


.tagline {
  color: var(--primary-black);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 24px;
}

.text {
  font-family: 'Noto Sans JP', "Inter", "Roboto", "Jost", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  font-feature-settings: "palt";
  text-align: justify;
}

.readtxt {
  color: var(--primary-white, #FFF);
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 140%; /* 33.6px */
}

.text_pink {
  color: var(--primary-pink)
}
.text_white {
  color: var(--primary-white)
}
.text_yellow {
  color: var(--primary-yellow)
}
/*---------- common pc ----------*/
@media screen and (min-width: 769px) {
  html {
    scroll-padding-top: 80px;
  }
  .spBr {
    display: none;
  }
  .pcBr {
    display: block;
  }
  .wrapper {
    padding: 112px 64px;
  }
  .section__title {
    font-size: 4.8rem;
    font-weight: 700;
  }
  .tagline {
    font-size: 2rem;
  }
  .readtxt {
  font-size: 3.2rem;
  line-height: 130%;
  }
  .text {
  font-size: 1.8rem;
  }
}
/* pc 769px */

/* ==============================
申込ボタン
================================= */

.ButtonAreaColumn1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center 
}

.ButtonAreaColumn2 {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

/*通常ピンクのボタン*/
.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 70px;
  padding: 10px 40px 10px 0;
  border-radius: 45px;
  border: 5px solid var(--primary-white, #FFF);
  background: var(--primary-pink);
  color: var(--primary-white, #FFF);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 120%;
  text-decoration: none;
  text-align: center;
  box-shadow: 6px 6px 0 0 #444444;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn::after {
  content: "\f0a9";
  font-family: "Font Awesome 5 Free";
  font-size: 3rem;
  line-height: 1;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.3s ease;
  color: #FFF;
}
.btn:hover {
  background: var(--primary-red, #F00);
  color: #FFF;
  transform: translateY(3px);
  box-shadow: 3px 3px 0 0 #444444;
}
/*---------- common pc ----------*/
@media screen and (min-width: 769px) {
  .ButtonAreaColumn2 {
    gap: 30px;
  }
  .btn {
    width: 500px;
    padding: 0 20px 0 0;
    font-size: 2.4rem;
    height: 80px;
  }
}
/* pc 769px */

/* ==============================
page-topボタン
================================= */
#page-top {position: fixed;z-index:1600;}
#page-top{right: 20px;bottom: 70px;font-size: 2.5rem;line-height: 2;}
#page-top a {
  text-decoration: none;
  color: var(--primary-white);
  text-align: center;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background-color: rgba(255, 0, 0, 0.8);
}
@media (min-width: 769px) {
  #page-top{right: 20px;bottom: 30px;font-size: 4rem;line-height: 2;}
  #page-top a {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    align-items: center;
    justify-content: center;}}


/* ==============================
froating  banner
================================= */
/* -------共通スタイル------- */
.floating-banner-red {
  background-color: #ff0000;
}
.floating-banner-orange {
  background-color: #ff9e01;
}

.free-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  padding: 3px 5px;
}
.free-badge-text {
  color: #FF9E01;
  font-family: Roboto;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 120%;
  white-space: nowrap;
}
.floating-banner-text {
  display: block;
  color: #FFF;
  font-family: Roboto;
  font-weight: 700;
  line-height: 120%;
  position: relative;
}

/* -------SP版（768px以下）-------*/
@media screen and (max-width: 768px) {
  /* PCバナーは完全非表示 */
  .floating-banner_pc {
    display: none !important;
  }

  /* SPバナー 初期非表示 */
  .floating-banner_sp {
    display: flex;       /* 常にflex */
    position: fixed; 
    bottom: 0;
    left: 0;
    right: 0;       
    gap: 10px;
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    margin: 0 auto;
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }

  /* スクロールで表示 */
  .floating-banner_sp.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* SPバナー中身 横並び */
  .floating-banner_sp .floating-banner {
    display: flex;
    border-radius: 5px;
    height: 40px;
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 1 0 0;
  }

  .floating-banner_sp .floating-banner-text {
    font-size: 1.2rem;
  }
  .floating-banner-red .floating-banner-text {
    font-size: 1.2rem;
    margin-left: 20px;
  }

  .floating-banner_sp .floating-banner-red .floating-banner-text::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 2.2rem;
    position: absolute;
    left: -30px;
    top: 0;
    color: var(--primary-white);
  }
}

/* -------PC版（769px以上）------- */
@media screen and (min-width: 769px) {
  /* SPバナーは非表示 */
  .floating-banner_sp {
    display: none !important;
  }

  /* PCバナー 初期非表示 */
  .floating-banner_pc {
    position: fixed; 
    bottom: 150px;
    right: 0;       
    display: flex;
    flex-direction: column; /* 縦並び */
    gap: 10px;
    margin: 0 auto;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }

  /* スクロールで表示 */
  .floating-banner_pc.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* PCバナー中身 縦並び */
  .floating-banner_pc .floating-banner {
    display: flex;
    width: 120px;
    height: 150px;
    padding: 8px 15px;
    flex-direction: column; /* 縦並び */
    align-items: center;
    border-radius: 0;
    gap: 3px;
    flex: 0 0 150px;
  }

  .floating-banner_pc .floating-banner-text {
    text-align: center;
    font-size: 1.8rem;
    line-height: 140%;
  }

  .floating-banner_pc .floating-banner-red .floating-banner-text::before {
    display: none; /* PCはアイコン不要 */
  }

  .floating-banner_pc .fas {
    font-size: 4rem;
  }
}

/* ==============================
header
================================= */
.site-header {
  background-color: var(--primary-pink);
  height: 60px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header__logo {
  padding: 15px;
}

@media (min-width: 1024px) {
  .site-header {
      height: 80px;
      box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }
}

/* ===== PCナビゲーション ===== */
.pc-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  flex: 1 0 0;
  align-self: stretch;
}

.pc-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  height: 100%;
}

.pc-nav li {
  display: flex;
  width: 135px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-right: 1px solid #000; /* ← 右側だけに線を引く */
  background: linear-gradient(
    to top,
    #e9e9e9,
    #fff
  ); /* グレー→白のグラデーション */
}
.pc-nav li:hover {
  color: #000000;
  background: #e3e1df;
}

/* ===== モバイルハンバーガー ===== */
.hamburger {
  position: absolute;
  right: 20px;
  top: 15px; /* header高さ70pxなので上下余白調整 */
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 300;
  display: none; /* PCでは非表示 */
}
.hamburger-label {
  font-size: 1rem;
  text-align: center;
  color: #ffffff;
  margin-top: 25px;
  letter-spacing: 1px;
}

.hamburger__line {
  position: absolute;
  width: 30px;
  height: 2px;
  right: 0;
  background-color: #ffffff;
  transition: all 0.5s;
}

.hamburger__line--1 {
  top: 1px;
}

.hamburger__line--2 {
  top: 10px;
}

.hamburger__line--3 {
  top: 20px;
}

/* ハンバーガーが開いたとき */
.open .hamburger-label {
  display: none;
}
.open .hamburger__line {
  background-color: var(--primary-pink);
}
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 15px;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 15px;
}

/* ===== スライドナビ（スマホ用） ===== */
.sp-nav {
  position: fixed;
  right: -100%;
  top: 0;
  width: 70%;
  height: 100vh;
  background-color: rgba(255, 255, 235, 0.9); /* 白を80%の不透明度で */
  transition: all 0.5s;
  z-index: 200;
  overflow-y: auto;
}

.sp-nav ul {
  list-style: none;
  margin-top: 80px;
  padding: 2rem 1rem;
}

.sp-nav li {
  padding: 2rem 0;
  border-bottom: 1px solid #ffe1f0;
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary-black);
  text-align: center;
}

.sp-nav li a {
  color: inherit;
  text-decoration: none;
}

.open .sp-nav {
  right: 0;
}

/* ===== 黒背景（モバイルメニュー用） ===== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  z-index: 100;
  cursor: pointer;
}

.open .black-bg {
  opacity: 0.3;
  visibility: visible;
}

/* ===== メディアクエリ ===== */
@media (max-width: 1023px) {
  .pc-nav {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hamburger,
  .sp-nav,
  .black-bg {
    display: none !important;
  }
}

/*お問い合わせボタン*/

a.CTAbtn {
  display: none;
  background: var(--primary-lightblue);}

a.CTAbtn:hover {
  color: #fff;
  background: #5E60B6;
}

@media (min-width: 1024px) {
  a.CTAbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    padding: 0 25px;
    color: #fff;
  }
}

/* ==============================
FV
================================= */
.headingImg {
  background-color: #FFEDFD; 
  text-align: center;
  margin-top: 60px;
}

.headingImg img {
  max-width: 100%;
  height: auto;
}

.bg-gradation {
  display: flex;
  padding: 30px 0;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  align-self: stretch;
  background: var(--gradation1);
}

@media (min-width: 1024px) {
.headingImg {
  margin-top: 80px;
}
.bg-gradation {
  padding: 50px 0;
}
}

/* ==============================
こんな悩みありませんか
================================= */
.anxieties-wrapper {
  width: 100%;
  background-color: #ffffff;
  padding: 64px var(--contentPadding) 0px;
  overflow: hidden;
}
.anxieties-container {
  display: flex;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  align-self: stretch;
}
.anxiety-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.anxiety-image-wrapper img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

@media screen and (min-width: 769px) {
  .anxieties-wrapper {
    padding: 80px var(--contentPadding) 0px;
}
  .anxiety-image-wrapper img {
    width: 850px;
    height: auto;
}
}

  /* ==============================
こんなに違う！小学校と中学校
================================= */
.school-differences-section {
  position: relative;
  padding: 64px var(--contentPadding);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.school-differences-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/schoolimage.jpg') center/cover no-repeat;
  opacity: 0.3; /* ← 画像を30%濃度に */
  z-index: 0;
}

.school-differences-section > * {
  position: relative;
  z-index: 1;
}

.school-differences-section .container {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.school-differences-section .text {
  font-size: 1.8rem;
}
.card-list {
  width: 100%;
  max-width: 1120px;
  list-style: none;
  margin: 30px auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.card {
  position: relative;
  background-color: var(--primary-white);
  border: 5px solid var(--primary-pink);
  border-radius: 10px;
  box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.5);
  padding: 32px 20px 20px;
}
.card-tab {
  position: absolute;
  top: 0;
  left: 20px;
  transform: translateY(-50%);
  background-color: #fd5695;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.4;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 0;
  white-space: nowrap;
}

.card-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #000000;
  text-align: justify;
  margin: 0;
}

/*----------pc 769px----------*/
@media (min-width: 769px) {
  .school-differences-section {
    padding: 100px var(--contentPadding);
  }
  .card-list {
    flex-direction: row;
    flex-wrap: wrap;     /* ← 横並びで2列に対応 */
    justify-content: center; /* ← 中央揃え */
    gap: 40px;
  }

  .card {
    flex: 0 1 calc(50% - 20px); /* ← 横2つ配置（隙間分調整） */
    box-sizing: border-box;
  }

.card-tab {
  left: 50px;
}
  .card-text {
  font-size: 1.8rem;
}
}
/* ==============================
スタートダッシュ講座なら中学生になる前に準備できる
================================= */
.point_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  align-self: stretch;
  position: relative;
  z-index: 0; /* 重要：::after が z-index -1 のため */
  overflow: visible; /* 念のため */
}

.point_container::after {
  content: 'START DASH';
  position: absolute;
  top: -185px; /* 上端から配置 */
  left: 50%;
  transform: translateX(-50%); /* 横中央に */
  font-size: 17rem;
  color: #FFF5C4;
  z-index: -1; /* 背景扱いにする */
  white-space: nowrap;
  pointer-events: none;
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
}
/* --- スマホ用 --- */
@media (max-width: 767px) {
  .point_container::after {
    content: 'START\A DASH'; /* ← \A が改行 */
    white-space: pre;        /* ← 改行を反映させる */
    font-size: 9rem;
    top: -68px; 
    line-height: 0.75;
    text-align: center; 
  }
}

.point_container .header .section__title {
      color: var(--primary-pink);
}
.point_container .text {
      font-size: 1.8rem;
      margin-bottom: 20px;
}
.features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

.feature-item{
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
.feature-content {
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  align-items: left;
  max-width: 500px;
}
.feature-image {
  flex-basis: auto;
  width: 100%;
  max-width: 600px;
}
.feature-header {
  display: flex;
  align-items: flex-start;
}
.feature-number {
  width: 40px;
  height: 40px;
  background-color: #fd5695;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 3.2rem;
  line-height: 1.5;
  margin-right: 10px;
  margin-bottom: 0;
}
.feature-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  color: #fd5695;
  line-height: 1.3;
  margin-bottom: 11px;
      text-align: left;
}
.feature-description {
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: left;
}

/*----------pc 769px----------*/
@media (min-width: 769px) {
  .point_container {
    gap: 60px;
}
  .point_container .text {
    margin-top: -40px;
  }
  .features-list {
    gap: 70px;
  }
  .feature-item {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
  }
  .feature-item:nth-of-type(2),
  .feature-item:nth-of-type(4) {
    flex-direction: row-reverse;
  }
  .feature-header {
    flex-direction: column;
    gap: 10px;
  }
  .feature-number{
    width: 50px;
    height: 50px;
    font-size: 4rem;
  }
  .feature-title {
    font-size: 4.8rem;
  }
  .feature-description {
    font-size: 1.8rem;
}
}
/* ==============================
アドバンテージ
================================= */
.advantage_wrapper {
  width: 100%;
  align-items: center;
  text-align: center;
  background-color: #D9E8FF;
  padding: 0;
  overflow: hidden;
}

/* ==============================
講座内容
================================= */
.specialclass_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}
.specialclass_container .text {
  text-align: center;
  font-size: 1.8rem;
}

/*----------pc 769px----------*/
@media (min-width: 769px) {
  .specialclass_container {
    gap: 80px;
}
.specialclass_container .text {
  font-size: 3rem;
  font-weight: 600;
  margin-top: -65px;

}
}
/* ------------------------------------------ */
/*アコーディオン　コンテンツ*/
/* ------------------------------------------ */
/*h4見出しテキスト PCテキストタイトル　SPアコーディオンーーーー*/

.accordionArea h4 {
  width: 100%;
  height: 75px;
  margin: 0;
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 700;
  background: var(--primary-lightblue);
  color: #fff;
  position: relative;
  pointer-events: all;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アコーディオンが開いたときのスタイル */
.accordionArea h4.selected {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordionArea h4::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  /* transition: 0.2s; */
}

.accordionArea h4.selected::after {
  transform: translateY(-50%) rotate(180deg);
  /* transition: 0.2s; */
}

/*----------pc 769px----------*/
@media (min-width: 769px) {
  .accordionArea h4 {
    margin: 0;
    padding: 15px;
    height: auto;
    line-height: 1.2;
    justify-content: center;
    pointer-events: none;
    border-radius: 5p;
  }

  .accordionArea h4::after {
    display: none;
  }
}


/*テキストスタイル　本文 PCテキストタイトル　SPアコーディオンボックスーーーー*/
.accordionArea div.accordionBox {
  margin: -10px 0 0 0;
  padding: 30px 20px 15px;
  background: #ffffff;
  border-radius: 3px;
  display: none;
}

/*----------pc 769px----------*/
@media (min-width: 769px) {
  .accordionArea div.accordionBox {
    background: #ffffff;
    border-radius: 0;
    display: block;
  }
}



.accordionBox-contents{
  display: flex;
  flex-direction: column;
  border-radius: 3px;
  align-items: stretch;
  gap: 20px;
}
.accordionBox-read {
  display: flex;
  padding: 5px 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-lightblue);
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-top: 2px solid var(--primary-lightblue);
  border-bottom: 2px solid var(--primary-lightblue);
}

.accordionBox-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.accordionBox-item-title {
  display: flex;
  width: 100%;
  font-size: 1.8rem;
  height: 34px;
  padding: 5px 0;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--primary-white);
  background: var(--primary-lightblue);
  border-radius: 5px
}

/*ーーーーー2カラムフレックスボックスーーーーー*/
.accordionColumn2 {
  margin: 0 auto ;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
  width: 100%;
}
@media screen and (min-width:769px) {
  .accordionColumn2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1160px;
    margin: 0 auto;
  }
}

/*ーーーーーボックスーーーーー*/
.accordionColumn2 .box {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border-radius: 5px;
  border: solid 2px var(--primary-lightblue);
  box-shadow: 6px 6px 6px 0 rgba(0, 0, 0, 0.25);
}
@media screen and (min-width: 769px) {
  .accordionColumn2 .box {
    margin: 0;
    padding: 20px;
    height: 100%; 
    display: flex;
    flex-direction: column; /* 子要素を縦に配置 */
    border-radius: 10px;
  border: solid 5px var(--primary-lightblue);
  }
}

/* ==============================
受講スケジュール
================================= */
.schedule-wrapper {
  background-color: var(--primary-lightpink);
}
.schedule-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
.schedule-title {
  color: var(--color-text-dark);
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 80px;
}
.schedule-contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

.schedule-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.card-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 2px solid var(--color-border-image);
  object-fit: cover;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-label {
  color: var(--primary-pink);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
  border: 1px solid var(--primary-pink);
  padding: 4px 8px;
  white-space: nowrap;
}

.card-title-month,
.card-title-text {
  color: var(--primary-pink);
  font-weight: 700;
  font-size: 2rem;
  margin: 0;
}

.card-title-month {
  font-family: 'Roboto', sans-serif;
  line-height: 1.4;
}

.card-title-text {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.2;
}

.card-description {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.5;
  font-feature-settings: "palt";
  text-align: justify;
  margin: 0;
}
/* ---------- タブレット（769px〜1024px） ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .schedule-contents {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    max-width: 960px;
  }

  .schedule-card {
    flex: 1 1 calc(50% - 60px); /* 2列 */
    max-width: none;
    align-items: center; }

  .card-image {
    width: 90%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }
}
/*----------pc 1025px----------*/
@media (min-width: 1025px) {
  .schedule-contents {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1120px;
  }

  .schedule-card {
    flex: 1 1 calc(25% - 40px); /* 4列 */
    max-width: none;
  }

  .card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }
}
/* ==============================
英語ジム・算数道場
================================= */
.pre-winter-wrapper {
  display: flex;
  flex-direction: column;
  background-color: #a8d5ff;
  gap: 50px;
  align-items: center;
}

.container-pre-winter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.content-wrapper-pre-winter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.baroon-pre-winter {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 500px;
}


.subject-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: -20px;
}

.subject-container .subject {
  background-color: #fff001;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 60px;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.pre-winter-text {
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: left;
  width: 100%;
  margin: 0;
  font-feature-settings: "palt";
  text-align: justify;
}

.image-pre-winter {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* ボタンカラー */
.btn.btn-orange {
  background: #FF9E01;
  color: var(--primary-white);
  font-size: 2rem;
}
@media screen and (min-width: 769px) {
  .btn.btn-orange {
    font-size: 2.4rem;
  }
}

.btn.btn-orange:hover {
  background: var(--primary-red, #F00);
  color: #FFF;
}

/* ======== PC版（1120px〜） ======== */
@media screen and (min-width: 1120px) {
  .container-pre-winter {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: row;
    gap: 60px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* テキスト側：幅2の比率 */
  .content-wrapper-pre-winter {
    flex: 2 1 0; /* ← 2:3の比率を維持する重要ポイント */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    min-width: 0; /* ← flex縮小時のはみ出し防止 */
  }
  .baroon-pre-winter {
    max-width: 370px;
  }

  /* 画像側：幅3の比率 */
  .image-pre-winter {
    flex: 3 1 0; /* ← これで常に2:3の割合で可変 */
    width: 100%;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
    min-width: 0; /* ← はみ出し防止 */
  }

  .baroon-pre-winter {
    max-width: 400px;
  }

  .pre-winter-text {
    font-size: 2rem;
  }
}

/* ==============================
新中1説明会
================================= */
.info-session-wrapper {
  background-color: var(--primary-lightblue);
}
.info-session-card {
  background-color: #ffffff;
  border-radius: 40px;
  padding: 40px 25px;
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}
.info-session-header {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.main-title {
  color: #222222;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.4;
  margin: 0;
}
.tags-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  width: 100%;
}
.tag {
  background-color: #fd5695;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 3px 10px;
  line-height: 1.4;
  flex: 1;             /* ← 均等幅に */
  text-align: center;
}
.content-wrapper-info-session {
  display: flex;
  flex-direction: column; /* SPは縦並び */
  align-items: center;
  width: 100%;
  max-width: 1120px; /* コンテンツ幅の上限 */
  margin: 0 auto;
  padding: 0;
}

.details-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.details-column .description {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: left;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #000;
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
}

.table-header {
  background-color: #004098;
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.5;
  text-align: center;
  padding: 10px 8px;
}

.table-cell-label {
  width: 100px;
  border-right: 1px solid #444;
  border-top: 1px solid #444;
  text-align: center;
  font-weight: 400;
  padding: 10px;
  vertical-align: middle;
  background-color: #fff;
}

.table-cell-value {
  border-top: 1px solid #444;
  padding: 10px;
  font-weight: 400;
  vertical-align: middle;
  background-color: #fff;
}

.image-column {
  width: 100%;
}

.image-column img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: none; /* SPでは非表示 */
}

/* ======== PC版（769px〜） ======== */
@media screen and (min-width: 769px) {
  .info-session-card {
    padding: 50px;
    gap: 50px;
  }
  .main-title {
    font-size: 4.8rem;
  }
  .tags-container {
    max-width: 400px;
  }

  .tag {
    font-size: 2.4rem;
    padding: 3px;
  }

  .content-wrapper-info-session {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
  }

  .details-column .description {
  font-size: 1.8rem;
  }
  /* 💡 左右を均等に */
  .details-column,
  .image-column {
    flex: 1;
    width: 50%;
  }

  .summary-table {
    min-width: 300px;
  }

  .image-column img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    border-radius: 10px;
  }
}

/* ==============================
地域別タブコンテンツ
================================= */

.tabPanel {
  margin: 0px auto;
  padding: 20px 0 0;
  width: 100%;
  /* background-color: var(--primary-lightblue); */
}
.tabPanel .tab-group {
  margin: 0 auto;
  padding: 0;
  width: var(--contentWidth);
  display: flex;
  justify-content: center;
  gap: 5px;
}
.tabPanel .tab-group .tab {
  margin: 0;
  padding: 20px 0;
  flex-grow: 1;
  list-style: none;
  text-align: center;
  cursor: pointer;
  background: var(--primary-gray) !important;
  border-radius: 5px 5px 0px 0px;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  width: 50%;
}

.tabPanel .tab.is-active {
  border-bottom: none;
  background: var(--primary-lightblue) !important;
  color: var(--primary-white);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s ease-out;
}

.tabPanel .panel-group {
  margin: 0;
  padding: 30px var(--contentPadding) 30px;
  border-top: none;
  background: var(--primary-lightblue);
}
.tabPanel .panel {
  display: none;
}
.tabPanel .panel.is-show {
  display: block;
}

/*----------pc 769px----------*/
@media screen and (min-width: 769px) {
  .tabPanel {
    padding: 60px 0 0;
  }
  .tabPanel .tab-group {
    max-width: 1160px;
    width: 100%;
    gap: 10px;
    padding: 0 30px;
  }
  .tabPanel .tab-group .tab {
    margin: 0;
    font-size: 3.2rem;
    line-height: 1;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 350px;
  }
  .tabPanel .panel-group {
    padding: 80px 30px 60px;
  }
}






/* ==============================
合格実績
================================= */
.passrecord_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  align-self: stretch;
}
.passrecord_wrapper {
  background-image: url("../images/passrecord-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom; 
}

.achievements-grid {
  margin-top: 50px;
  display: flex;
  flex-direction: column; /* ← デフォルトは縦並び（SP） */
  align-items: center;
  gap: 50px;
  width: 100%;
  max-width: 1160px;
}

/* カード共通 */
.card-wrapper {
  position: relative;
  border-radius: 10px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--primary-white);
  opacity: 0.9;
  width: 100%;
}

.card-wrapper::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 61px;
  background-image: url('../images/sakura.svg'); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.card-wrapper .card-title {
  font-size: 2rem;
  font-weight: 700;
}

.card-wrapper .card-count {
  font-weight: 700;
  color: #ff0000;
  margin: 10px 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.count-number {
  font-size: 4rem;
}

.count-unit {
  font-size: 2.4rem;
}

.card-wrapper .card-details {
  text-align: justify;
  width: 100%;
  font-size: 1.4rem;
  font-feature-settings: "palt";
  line-height: 1.6;
}

/* --- PC（769px以上） --- */
@media (min-width: 769px) {
  .achievements-grid {
    flex-direction: row; /* 横並び */
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 50px 2.5%;
  }

.card-wrapper {
  flex: 1 1 calc(50% - 2.5%);
  max-width: calc(40% - 2.5%);
  padding: 40px 30px;
}

.card-wrapper .card-title {
  font-size: 2.4rem;
  margin-top: 20px;
}

.card-wrapper .card-count {
  font-weight: 700;
  color: #ff0000;
  margin: 10px 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.count-number {
  font-size: 5.6rem;
}

.count-unit {
  font-size: 3.2rem;
}

.card-wrapper .card-details {
  font-size: 1.6rem;
}
}

/* ==============================
校舎一覧
================================= */
.school_wrapper {
  width: 100%;
  padding: 64px 0 0;
  background-color: #ffffff;
  overflow: hidden;
}
.school_wrapper .container .text {
  padding: 40px 20px 0;
}

/*ーーーーー3カラムフレックスボックスーーーーー*/
.schoollist_Column3 {
  margin: 0px auto 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (min-width:700px) {
  .school_wrapper {
    padding: 112px 0 0;
}
  .schoollist_Column3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1160px;
    margin: 0 auto 60px;
  }
}
@media screen and (min-width:1060px) {
  .schoollist_Column3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.heading-txt {
  margin: 0px auto 20px;
  width: 100%;
  padding: 15px 0px;
  text-align: center;
  border: 1px solid var(--primary-white, #FFF);
  color: var(--primary-white);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

@media screen and (min-width: 769px) {
  .heading-txt {
    font-size: 3.4rem;
    max-width: 1160px;
  }
}

/*ーーーーー各校ボックスーーーーー*/
.schoollist_Column3 .box {
  width: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0;
  background: #ffffff;
  display: flex;
}
.image-container {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 20px;
  gap: 4px;
}
.info .name {
  margin: 0;
  color: #145cad;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  text-align: left;
}
.info .access {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: left;
}
.info .phone {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.phone-number {
  margin-left: 30px;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  position: relative;
  text-wrap: nowrap;
}
.phone-number::before {
  content: "\f879";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: -30px;
}

/* ==============================
合格体験談
================================= */

.experiences {
  padding: 60px 0;
  background-color: var(--primary-paleblue);
  text-align: center;
}

.experience-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}

/* slider */
.test-slick {
  margin: 15px auto;
}

.test-slick__item {
  display: flex;
  flex-direction: column;
  margin: 20px 30px;
  padding: 30px 30px;
  text-align: center;
  gap: 10px;
  border-radius: 20px;
  background: #FFF;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25);
}

.test-slick__item .img img {
  margin: 0 auto;
  width: 130px;
  height: auto;
  border-radius: 50%;
}

.test-slick__item .university {
  margin-top: 10px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
}

.test-slick__item .university span {
  font-size: 1.8rem;
}

.test-slick__item .name {
  margin-top: 10px;
  font-size: 1.5rem;
  line-height: 1.3;
}

.test-slick__item .txt {
  margin-top: 10px;
  text-align: left;
  text-align: justify;
}

.slick-prev {
  width: 40px;
  height: 40px;
  left: 5px;
  z-index: 2;
}

.slick-next {
  width: 40px;
  height: 40px;
  right: 5px;
}

.slick-prev:before,
.slick-next:before {
  color: var(--primary-lightblue);
  font-size: 4rem;
}

.slick-track {
  display: flex;
}

.slick-slide {
  height: auto !important;
}

@media screen and (min-width: 769px){
  .experiences {
    padding: 100px 0;
  }
  .test-slick {
  max-width: 1160px;
  margin: 15px auto;
}
  .test-slick__item {
    padding: 30px 50px;
    margin: 20px;
  }
  .test-slick__item .img img {
    width: 180px;
    }
  .slick-prev {
    left: 5px;
  }

  .slick-next {
    right: 5px;
  }
}

/* ==============================
よくある質問
================================= */

/* FAQセクション全体 */
.FAQ_wrapper {
  background-color: var(--primary-pink);
}

.FAQ_wrapper .container {
    gap: 48px;
}

.FAQ_wrapper header .tagline-wrapper {
  margin-bottom: 16px;
  background: linear-gradient(
    transparent 60%,              /* 上部は透明 */
    rgba(255, 192, 203) 80%, /* 下部がピンクの半透明 */
    rgb(241, 238, 15) 100%
  );
}
.FAQ_wrapper header .tagline-wrapper p {
    color: var(--primary-white);
}

.FAQ_wrapper header .section__title {
    color: var(--primary-white);
    margin-top: 24px;
}

/* アコーディオン基本 */
.FAQArea {
    width: 100%;
}

.FAQArea h3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 40px 10px 10px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: #FFF;
    cursor: pointer;
    border-top: 1px solid var(--primary-white);
    position: relative;
}

.FAQArea h3 .FAQArea__Q {
    width: 40px;
    flex-shrink: 0;
    margin-right: 10px;
    font-size: 3rem;
    line-height: 1;
    text-align: center;
    color: var(--primary-yellow);
}

.FAQArea h3 .FAQArea__title {
    flex: 1;
    font-size: 1.8rem;
    margin-right: 50px;
}

/* FontAwesome矢印 */
.FAQArea h3:after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    transition: 0.2s;
}
.FAQArea h3.selected:after {
    transform: translateY(-50%) rotate(180deg);
    transition: 0.2s;
}

/* アコーディオンテキスト */
.FAQArea div.voiceBox {
    display: none;
    padding: 10px 20px;
    border-bottom: 1px solid var(--primary-white);
    box-sizing: border-box;
}

.FAQArea div.voiceBox:last-of-type {
    border-bottom: none;
}

.FAQArea div.voiceBox p {
    font-size: 1.5rem;
    color: var(--primary-white);
    padding: 0 0 10px 0;
    text-align: justify;
}

/* PCスタイル */
@media screen and (min-width: 769px) {
    .FAQ_wrapper { padding: 112px 64px; }

    .FAQArea {
        max-width: 1160px;
        margin: 0 auto;
        margin-top: 48px;
    }

    .FAQArea h3 {
        font-size: 2.4rem;
        padding: 30px 50px;
    }

    .FAQArea h3:after { right: 50px; }
    .FAQArea h3 .FAQArea__Q { margin-right: 20px; }
    .FAQArea h3 .FAQArea__title { font-size: 2.4rem; }

    .FAQArea div.voiceBox {
        display: none;
        padding: 0 110px 20px;
    }

    .FAQArea div.voiceBox p {
        font-size: 2rem;
        padding-bottom: 20px;
    }
}

/* SPスタイル */
@media screen and (max-width: 768px) {
    .FAQ_wrapper { padding: 64px 20px; }
    .FAQ_wrapper header .section__title {
        margin-top: 0px;
}
    .FAQArea h3 {
        font-size: 1.8rem;
        padding: 20px 20px;
    }

    .FAQArea h3:after { right: 20px; }
    .FAQArea h3 .FAQArea__Q { width: 40px; font-size: 2.5rem; margin-right: 10px; }
    .FAQArea h3 .FAQArea__title { font-size: 1.8rem; }

    .FAQArea div.voiceBox {
        padding: 10px 20px;
    }

    .FAQArea div.voiceBox p { font-size: 1.5rem; }
}

.btn.btn-white {
  border: 5px solid #F00;
  background: var(--primary-white, #FFF);
  color: #F00;
}

.btn.btn-white::after {
  color: #F00;
}
.btn:hover {
  background: var(--primary-red, #F00);
  border: 5px solid #FFF;
  color: #FFF;
  transform: translateY(3px);
  box-shadow: 3px 3px 0 0 #444444;
}

/*ーーーーーーーーーー
ギャラリースライダー
ーーーーーーーーーーー*/
.gallery-wrapper {
  width: 100%;
  background-color: #ffffff;
  padding: 64px 0;
  overflow: hidden;
  }
.gallery-slider {
  margin-top:48px ;
}
@media screen and (min-width: 769px) {
  .gallery-wrapper {
    padding: 100px 0;
  }
  .gallery-slider {
    margin-top:80px ;
}
}

/*ーーーーーーーーーー
資料請求お問合せ
ーーーーーーーーーーー*/
.contact-wrapper {
  display: flex;
  padding: 64px 20px 0;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  background: var(--primary-lightpink) url("../images/cta-bg.png") no-repeat center bottom;
  background-size: 500px auto;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}
.contact-wrapper header .section__title {
  width: 100%;
  text-align: left;
  color: var(--primary-pink);
}
.contact-wrapper .text {
  font-size: 2rem;
  font-weight: 600;
}
.contact-list {
  color: var(--primary-pink);
}
.contact-list li {
  position: relative;
  padding-left: 1.5em; 
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
}

.contact-list li::before {
  content: "\f058"; 
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
}
.contact-container .ButtonAreaColumn1 {
  margin-top: 140px;
  margin-bottom: 40px;
}

.btn.btn-yellow {
  background: var(--primary-yellow);
  color: var(--primary-black);
  border: none;
  font-size: 2rem
}
@media screen and (min-width: 768px) {
  .btn.btn-yellow {
    font-size: 2.4rem;
  }
}

.btn-yellow::after {
  content: "\f0a9";
  font-family: "Font Awesome 5 Free";
  font-size: 3rem;
  line-height: 1;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.3s ease;
  color: var(--primary-red, #F00);
}
.btn-yellow:hover {
  background: var(--primary-pink);
  color: #FFF;
  transform: translateY(3px);
  box-shadow: 3px 3px 0 0 #000000;
}
.btn-yellow:hover::after {
  color: #FFF;
}
.text-notice {
  font-size: 1.2rem;
  margin-top: 10px;
  width: 270px;
  color: #000;
  text-shadow:
    1px 1px 0 #fff,
   -1px 1px 0 #fff,
    1px -1px 0 #fff,
   -1px -1px 0 #fff;
}


@media screen and (min-width: 768px) {
.contact-wrapper {
  padding: 114px 20px 0;
  background: var(--primary-lightpink) url("../images/cta-bg.png") no-repeat center bottom;
  background-position: calc(100% + 50px) bottom;
  background-size: 700px auto;
}
.contact-container {
  align-items:flex-start;
  max-width: 1160px;
  padding: 0 64px;
}
.contact-wrapper .text {
  font-size: 2rem;
}
.contact-list li {
  font-size: 2rem;
}
.contact-container .ButtonAreaColumn1 {
  margin-top: 0px;
}
.text-notice {
  font-size: 1.2rem;
  width: 500px;
  text-align: center;
  margin-top: 15px;
}
}

@media screen and (min-width: 1251px) {
.contact-wrapper {
  align-items:flex-start;
  background: var(--primary-lightpink) url("../images/cta-bg.png") no-repeat center bottom;
  background-position: right 20% bottom;
  background-size: 700px auto;
}
.contact-container {
  align-items:flex-start;
}
.contact-container .ButtonAreaColumn1 {
  align-items:flex-start;
  justify-content:left ;
  margin-top: 32px;
  margin-bottom: 112px;
}
.text-notice {
  font-size: 1.4rem;
}
}
/* ==============================
footer 
================================= */
.footer {
  background-color: var(--primary-pink);
  color: #ffffff;
  padding: 48px 20px 80px;
  font-size: 1.4rem;
  line-height: 1.5;
}
.footer-container {
  max-width: 335px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-content-top {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.footer-logo {
  width: 262px;
  height: 25px;
  display: block;
}
.footer-sitemap-social-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.sitemap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.sitemap-column {
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 0;
}
.sitemap-column li {
  margin-bottom: 10px;
  white-space: nowrap;
}
.sitemap-column a:hover {
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  display: block;
  width: 40px;
  height: 40px;
}
.social-links img {
  width: 100%;
  height: 100%;
}
.footer-content-bottom {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  row-gap: 10px;
}
.footer-link-item {
  align-items: center;
  position: relative;
  padding-left: 1.8rem;
}
.footer-link-item::before {
  content: "\f0a9";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
}
.footer-link-item:hover {
  color: var(--primary-yellow);
}
.copyright {
  margin: 0;
}

/* タブレット表示（768px以上）でのカラム横並び */
@media (min-width: 768px) {
  .footer-container {
    max-width: 1120px;
  }
  .footer-content-top {
    display: inline-flex;
    flex-wrap: wrap;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }
  .sitemap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .sitemap-column {
    display: inline-block;
    width: auto;
    text-align: left;
  }
}
/* PC表示（1024px以上）でのカラム横並び */
@media (min-width: 1024px) {
  .footer-sitemap-social-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
}


/* ==============================
アニメーション用
================================= */
/* 背景帯カラーからのアニメーション 青*/
.title-span{
   color: transparent;
   display: block;
   overflow: hidden;
   position: relative;
   transition: color 0ms 0.5s;
   width: max-content;
   padding: 0 10px;
}
.title-span::after{
  content: "";
  left: 0;
  display: block;
  position: absolute;
  top: 0;
  transform: translateX(-101%);
  width: 100%;
  height: 100%;
  background: var(--primary-pink);
}
.title-span.active{
  color: black;
}
.title-span.active::after{
  animation: lineAnime 1s;
}
@keyframes lineAnime {
  0% {
    transform: translateX(-100%)
  }
  50% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(100%)
  }
}

/* 背景帯カラーからのアニメーション ピンク*/
.title-span-pink{
   color: transparent;
   display: block;
   overflow: hidden;
   position: relative;
   transition: color 0ms 0.5s;
   width: max-content;
   padding: 0 10px;
}
.title-span-pink::after{
  content: "";
  left: 0;
  display: block;
  position: absolute;
  top: 0;
  transform: translateX(-101%);
  width: 100%;
  height: 100%;
  background: var(--primary-lightpink);
}
.title-span-pink.active{
  color: black;
}
.title-span-pink.active::after{
  animation: lineAnime 1s;
}
@keyframes lineAnime {
  0% {
    transform: translateX(-100%)
  }
  50% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(100%)
  }
}

/* テキストが一文字ずつ出てくるテキストアニメーション */
@keyframes showTextFromBottom{
  0%{
    transform: translateY( 100% );
  }
  100%{
    transform: translateY( 0px );
  }
}
.anime-up.displayed span{
  animation: showText 1s backwards;
  display: inline-block;
}
.anime-up.displayed > span{
  overflow: hidden;
}
.anime-up.displayed > span > span{
  animation: showTextFromBottom 0.5s backwards;
}

/* フェードイン */
.fadeIn {
  transform: translate(0, 50px);
  opacity: 0;
  transition: 0.8s;
}
.fadeIn.animated {
  transform: translate(0, 0);
  opacity: 1;
}

/* === PC版向けフェード（左右） === */
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
  transform: translateX(-50px);
}
.fade-in-right {
  transform: translateX(50px);
}

.fade-in-active.fade-in-left,
.fade-in-active.fade-in-right {
  opacity: 1;
  transform: translateX(0);
}

/* === SP版：下からズームイン === */
.fade-in-up-zoom {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-active.fade-in-up-zoom {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ▼ ぽよんアニメーションを使いたい要素に付与 */
.poyon-trigger {
  transition: transform 0.3s ease-out;
  display: inline-block; /* inline要素にも対応 */
}

@keyframes poyon {
  0% { transform: scale(1); }
  30% { transform: scale(1.2); }   /* 少し大きく */
  60% { transform: scale(0.95); }  /* 軽く反動 */
  100% { transform: scale(1); }    /* 元のサイズに戻る */
}

.poyon-active {
  animation: poyon 0.8s ease-in-out 1;
}



