@charset "utf-8";

/* ==============================
共通
================================= */
:root {
  --primary-black: #333a3a;
  --primary-white: #FFF;
  --primary-red: #FF0000;
  --primary-darkred: #d40000;
  --primary-green: #73C13A;
  --primary-yellow: #FFF001;
  --primary-orenge: #FF9E01;
  --primary-paleblue: #EDF6FF;
  --primary-lightblue: #6596DD;
  --primary-blue: #145CAD;
  --primary-darkblue: #002356;
  --primary-gray: #AAAAAA;
  --primary-lightgray: #D9D9D9;

  --Text-4xlarge: 4.8rem;
  --Text-3xlarge: 3.6rem;
  --Text-2xlarge: 2.8rem;
  --Text-Exlarge: 2.4rem;
  --Text-Large: 2rem;
  --Text-Midium: 1.8rem;
  --Text-Regular: 1.6rem;
  --Text-Small: 1.4rem;
  --Text-tiny: 1.2rem;

  --gradation1: linear-gradient(135deg,var(--primary-blue),var(--primary-darkblue)) ;
  --gradation2: linear-gradient(var(--primary-red),var(--primary-darkred)) ;

  --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 20px;
  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-block;
  border-bottom: 3px solid var(--primary-lightblue);
  padding-bottom: 5px;
  }

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

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

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

.text_red {
  color: var(--primary-red)
  }
.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;
  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: 270px;
  height: 60px;
  padding: 5px 35px 5px 0;
  border-radius: 40px;
  border: 5px solid var(--primary-red, #F00);
  background: var(--primary-white, #FFF);
  color: var(--primary-red, #F00);
  font-size: var(--Text-Regular, 1.6rem);
  font-weight: 700;
  line-height: 120%;
  text-decoration: none;
  text-align: center;
  box-shadow: 6px 6px 0 0 #5E60B6;
  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: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.3s ease;
  color: var(--primary-red, #F00); /* 初期のアイコン色 */
}
.btn:hover {
  background: var(--primary-red, #F00); /* 背景赤 */
  color: #FFF;                          /* テキスト白 */
  transform: translateY(3px);          /* 少し沈む */
  box-shadow: 3px 3px 0 0 #5E60B6;
}
.btn:hover::after {
  color: #FFF; /* アイコンも白く */
}

/*黄色のボタン*/
.btn-yellow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 60px;
  padding: 5px 35px 5px 0;
  border-radius: 40px;
  background: var(--primary-yellow);
  color: var(--primary-black);
  font-size: var(--Text-Regular, 1.6rem);
  font-weight: 700;
  line-height: 120%;
  text-decoration: none;
  text-align: center;
  box-shadow: 6px 6px 0 0 #000000;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-yellow::after {
  content: "\f0a9";
  font-family: "Font Awesome 5 Free";
  font-size: 3rem;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.3s ease;
  color: var(--primary-red, #F00); /* 初期のアイコン色 */
}
.btn-yellow:hover {
  background: var(--primary-red, #F00); /* 背景赤 */
  color: #FFF;                          /* テキスト白 */
  transform: translateY(3px);          /* 少し沈む */
  box-shadow: 3px 3px 0 0 #000000;
}
.btn-yellow:hover::after {
  color: #FFF; /* アイコンも白く */
}
/*---------- common pc ----------*/
@media screen and (min-width: 769px) {
  .ButtonAreaColumn2 {
    gap: 30px;
  }
  .btn {
    width: 500px;
    padding: 35px;
    font-size: 2.4rem;
  }
  .btn-yellow {
    width: 500px;
    padding: 35px;
    font-size: 2.4rem;
  }
}
/* 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: 11px;
  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: 12px;
  }
  .floating-banner-red .floating-banner-text {
    font-size: 12px;
    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: var(--Text-Midium);
    line-height: 140%;
  }

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

  .floating-banner_pc .fas {
    font-size: 40px;
  }
}

/* ==============================
header
================================= */
.site-header {
  background-color: #33095f;
  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: #312626;
}
.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: var(--primary-white);
  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 #eee;
  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(--gradation2);}

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

@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: var(--primary-darkblue); 
  text-align: center;
  margin-top: 60px;
}

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

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

@media (min-width: 1024px) {
.headingImg {
  margin-top: 80px;
}
}

/* ==============================
こんな不安ありませんか
================================= */

.anxiety-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 85px;
  margin-top: 80px;
}

.anxiety-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.anxiety-item__header {
  position: relative;
  margin-bottom: 10px; /* Visual gap between text and image */
}

.anxiety-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px; /* Adjusted for visual overlap */
  z-index: 1;
  color: rgba(134, 179, 224, 0.5);
  font-size: 140px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  user-select: none;
}

.anxiety-heading {
  position: relative;
  z-index: 2;
  color: var(--primary-black);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.anxiety-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  width: 100%;
}

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

@media screen and (min-width: 769px) {
  .anxiety-list {
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: 120px;
    width: auto;
}
}
 /* ==============================
70％の合格者が冬にスタート
================================= */
.wrapper_blue {
  position: relative; 
  background: var(--primary-blue);
}

.wrapper_blue::after {
  content: 'START';
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%); 
  font-size: 100px;
  color: var(--primary-white);
  opacity: 0.2; 
  white-space: nowrap;
  pointer-events: none;
  font-family: "Archivo Black", sans-serif;
  font-style: normal;
  font-weight: 400;
  z-index: 1; 
}

.section__title_mini {
  color: var(--primary-white);
  font-size: 2.8rem;
  margin-top: 70px;
  margin-bottom: 40px;
}
.speechBubble {
  position: relative;
  display: inline-block;
  margin-bottom: -40px;
  padding: 20px 30px;
  border-radius: 9999px;
  background-color: #fff500;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
}

.speechBubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: var(--primary-yellow) transparent transparent;
  translate: -50% 100%;
}

.clip-path01{
  margin-top: -0.5px;
  width: 100%;
  background: var(--primary-paleblue);
  position: relative;
}
.clip-path01::after{
  content: "";
  position: absolute;
  height: 60px;
  width: 100%;
  clip-path: polygon(0 0,50% 100%,100% 0);
  background-color: var(--primary-blue);
}

@media screen and (min-width: 769px) {
.wrapper_blue::after {
  font-size: 260px;
  top: -110px;
}
.speechBubble {
  font-size: 2rem;
}
.section__title_mini {
  font-size: 4.8rem;
  margin-top: 70px;
  margin-bottom: 40px;
}
.clip-path01::before{
  content: "";
  position: absolute;
  height: 100px;
  width: 100%;
  clip-path: polygon(0 0,50% 100%,100% 0);
  background-color: var(--primary-blue);
  bottom: -100px; 
}
}
  /* ==============================
だからリスタート講座
================================= */
.wrapper_paleblue {
  background: var(--primary-paleblue);
}
.explanation02_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  align-self: stretch;
}
.explanation02-header {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}
.explanation02-header .section__title {
  text-align: center;
  font-family: Inter;
  font-size: 3.6rem;
  font-style: italic; 
  font-weight: 900;
  line-height: 120%; /* 76.8px */
}
.readtxt_black {
  color: var(--primary-black);
}

@media screen and (min-width: 769px) {
.explanation02-header .section__title {
  font-size: 6.4rem;
  line-height: 120%; /* 76.8px */
}
.explanation02_container {
  margin: 0 auto;
  max-width: 1160px;
}
.explanation02_container picture {
  margin: 70px 0;
}
}
/* ==============================
ポイント
================================= */
.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: 'POINT';
  position: absolute;
  top: -106px; /* 上端から配置 */
  left: 50%;
  transform: translateX(-50%); /* 横中央に */
  font-size: 70px;
  color: var(--primary-paleblue);
  z-index: -1; /* 背景扱いにする */
  white-space: nowrap;
  pointer-events: none;
  font-family: "Archivo Black";
  font-size: 100px;
  font-style: normal;
  font-weight: 400;
}

.pointitem-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
}
.pointbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
}
.pointitem {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.point-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.point-image-wrapper img {
  max-height: 100%;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
}
.pointcontent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.point_title {
  color: var(--primary-blue);
  text-align: center;
  font-size: var(--Text-Large, 20px);
  font-weight: 700;
  line-height: 130%; /* 31.2px */
}
@media screen and (min-width: 769px) {
.point_container {
  max-width: 1160px;
  margin: 0 auto;
}
.point_container::after {
  font-size: 260px;
  top: -235px;
}
  .pointbox {
    flex-direction: row;
    gap: 40px; /* 画像同士の間隔 */
  }

  .pointitem {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .point-image-wrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .point-image-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
  }
  .point_title {
    font-size: 2.8rem;
}
}
/* ==============================
4つの編成授業
================================= */
.specialclass_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  align-self: stretch;
}
.specialclass_wrapper {
  background-image: url("../images/Rectangle1.png");
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
}

@media screen and (min-width: 769px) {
  .specialclass_container .text {
    max-width: 1000px;
  }
}

/****************************
	タブコンテンツ
****************************/
.contents-tabPanel{
    margin: 30px auto 60px auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;    
    }
@media (min-width:992px){.contents-tabPanel{width:1024px;margin: 80px auto 130px auto;}}
@media (max-width:991px){.contents-tabPanel{width:100%;}}


@media (min-width:992px){
/*タブwrap*/
.contents-tabPanel .tab-group{
    margin: 0 auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;    
    display: flex;
    justify-content: center;
    width: 70%;
    }
    
.contents-tabPanel .tab-group .tab{
    margin: 0;
    padding:15px 0;
    flex-grow: 1;    
    list-style:none;
    /* border-top:solid 1px #CCC;
    border-left:solid 1px #CCC;
    border-bottom:solid 1px #CCC; */
    text-align:center;
    cursor:pointer;
    background:var(--primary-white)!important;
    color:var(--primary-red);
    font-weight: bold;
    font-size: 120%;
    }

.contents-tabPanel .tab.is-active{
    /* border-top:solid 1px #CCC;
    border-left:solid 1px #CCC; */
    border-bottom:none;
    background:var(--primary-red)!important;
    color:var(--primary-white);
    font-weight: bold;
    font-size: 120%;
    transition: all 0.2s ease-out;
    }

.contents-tabPanel .panel-group{
    margin: 0;
    padding-top: 50px;
    border-top:solid 3px var(--primary-red);
    /* border-right:solid 1px #CCC;
    border-left:solid 1px #CCC;
    border-bottom:solid 1px #CCC; */
    /* background:#F8FCEC; */
    }

.contents-tabPanel .panel{display:none;}

.contents-tabPanel .panel.is-show{display:block;}
    }
    
@media (max-width:991px){
/*タブwrap*/
.contents-tabPanel .tab-group{
    margin: 0;
    padding: 0;
    justify-content: center;
    /* border-right:solid 1px #CCC;
    border-bottom:solid 1px #CCC; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	
	-webkit-justify-content: space-around;
	-moz-justify-content:  space-around;
	-ms-justify-content:  space-around;
	-o-justify-content:  space-around;
	justify-content:  space-around;
	
	-webkit-flex-direction:row;
	-moz-flex-direction:row;
	-ms-flex-direction:row;
	-o-flex-direction:row;
	flex-direction:row;

	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
    }
    
.contents-tabPanel .tab-group .tab{
    flex-grow: 1;    
    list-style:none;
    /* border-top:solid 1px #CCC;
    border-left:solid 1px #CCC; */
    text-align:center;
    cursor:pointer;
    background: var(--primary-white)!important;
    color:var(--primary-red);
    font-size: 120%;    
    
    width: calc(50% - 0px) ;
    margin:0;
    padding:10px!important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }

/*SPのみ3列並びの100%表示*/
/* .contents-tabPanel .tab-group .tab.full{
    width: calc(100% - 0px) ;
    } */
    
.contents-tabPanel .tab.is-active{
    /* border-top:solid 1px #CCC;
    border-left:solid 1px #CCC; */
    background:var(--primary-red)!important;
    color:var(--primary-white);
    font-weight: bold;
    font-size: 120%;
    transition: all 0.2s ease-out;
    }

.contents-tabPanel .panel-group{
    margin: 0;
    padding-top: 20px;
    border-top:solid 3px var(--primary-red);
    /* border-right:solid 1px #CCC;
    border-left:solid 1px #CCC;
    border-bottom:solid 1px #CCC; */
    /* background:#F8FCEC; */
    }

.contents-tabPanel .panel{display:none;}

.contents-tabPanel .panel.is-show{display:block;}
    }


/*コンテンツ*/
.contents-tabPanel .contentsWrap{
    margin: 0 auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	
	-webkit-justify-content: space-around;
	-moz-justify-content:  space-around;
	-ms-justify-content:  space-around;
	-o-justify-content:  space-around;
	justify-content:  space-around;
	
	-webkit-flex-direction:row;
	-moz-flex-direction:row;
	-ms-flex-direction:row;
	-o-flex-direction:row;
	flex-direction:row;

	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
    }


/*ボックス子*/
/* @media (min-width:992px){.contents-tabPanel .contentsWrap .box{width: calc(50% - 20px) ;margin:0 10px 10px 10px;padding: 20px 20px 0px 20px!important;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;background:#ffffff;text-align: center;border: 1px solid #cccccc;}}
@media (max-width:991px){.contents-tabPanel .contentsWrap .box{width: calc(100% - 0px) ;margin:0 0 20px 0;padding: 10px 10px 0px 10px!important;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;background:#ffffff;text-align: center;}} */


/****************************
	タブコンテンツ2
****************************/
.contents2-tabPanel{
    margin: 70px auto 0 auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    }


@media (min-width:768px){
/*タブwrap*/
.contents2-tabPanel .tab-group{
    margin: 0 auto;
    padding: 0;
    width: 800px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;    
    display: flex;
    justify-content: center;
    /* border-right:solid 1px #CCC; */
    }
    
.contents2-tabPanel .tab-group .tab2{
    margin: 0;
    padding:15px 0;
    border-radius: 3px 3px 0 0;
    flex-grow: 1;    
    list-style:none;
    /* border-top:solid 1px #CCC;
    border-left:solid 1px #CCC;
    border-bottom:solid 1px #CCC; */
    text-align:center;
    cursor:pointer;
    background: #eeeeee!important;
    color:#aaaaaa;
    font-size: 2rem;
    }

.contents2-tabPanel .tab2.is-active2{
    /* border-top:solid 1px #CCC;
    border-left:solid 1px #CCC; */
    border-bottom:none;
    background:var(--primary-lightblue)!important;
    color:var(--primary-white);
    font-weight: bold;
    font-size: 2rem;
    transition: all 0.2s ease-out;
    }

.contents2-tabPanel .panel-group{
    margin: 0;
    padding: 80px 60px;
    border-top:none;
    /* border-right:solid 1px #CCC;
    border-left:solid 1px #CCC;
    border-bottom:solid 1px #CCC; */
    background:var(--primary-lightblue);
    }

.contents2-tabPanel .panel2{display:none;}

.contents2-tabPanel .panel2.is-show2{display:block;}
    }
    
@media (max-width:768px){
/*タブwrap*/
.contents2-tabPanel .tab-group{
    margin: 0 auto;
    padding: 0;
    width: 90%;
    justify-content: center;
    border-radius: 3px 3px 0 0;
    /* border-right:solid 1px #CCC;
    border-bottom:solid 1px #CCC; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	
	-webkit-justify-content: space-around;
	-moz-justify-content:  space-around;
	-ms-justify-content:  space-around;
	-o-justify-content:  space-around;
	justify-content:  space-around;
	
	-webkit-flex-direction:row;
	-moz-flex-direction:row;
	-ms-flex-direction:row;
	-o-flex-direction:row;
	flex-direction:row;

	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
    }
    
.contents2-tabPanel .tab-group .tab2{
    flex-grow: 1;    
    list-style:none;
    /* border-top:solid 1px #CCC;
    border-left:solid 1px #CCC; */
    text-align:center;
    cursor:pointer;
    background: #eeeeee!important;
    color:#aaaaaa;
    font-size: 120%; 
    border-radius: 3px 3px 0 0;
    width: calc(50% - 0px) ;
    margin:0;
    padding:10px!important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }

.contents2-tabPanel .tab-group .tab2.full{
    width: calc(100% - 0px) ;
    }
    
.contents2-tabPanel .tab2.is-active2{
    /* border-top:solid 1px #CCC;
    border-left:solid 1px #CCC; */
    background:var(--primary-lightblue)!important;
    color:var(--primary-white);
    font-weight: bold;
    font-size: 120%;
    transition: all 0.2s ease-out;
    }

.contents2-tabPanel .panel-group{
    margin: 0;
    padding: 60px 20px;
    border-top:solid 3px var(--primary-lightblue);
    /* border-right:solid 1px #CCC;
    border-left:solid 1px #CCC;
    border-bottom:solid 1px #CCC; */
    background:var(--primary-lightblue);
    }

.contents2-tabPanel .panel2{display:none;}

.contents2-tabPanel .panel2.is-show2{display:block;}
    }


/*コンテンツ*/
.contents2-tabPanel .contentsWrap{
    margin: 0 auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	
	-webkit-justify-content: space-around;
	-moz-justify-content:  space-around;
	-ms-justify-content:  space-around;
	-o-justify-content:  space-around;
	justify-content:  space-around;
	
	-webkit-flex-direction:row;
	-moz-flex-direction:row;
	-ms-flex-direction:row;
	-o-flex-direction:row;
	flex-direction:row;

	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
    }

/*ボックス子*/
/* @media (min-width:992px){.contents2-tabPanel .contentsWrap .box{width: calc(50% - 20px) ;margin:0 10px 10px 10px;padding: 20px 20px 0px 20px!important;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;background:#ffffff;text-align: center;border: 1px solid #cccccc;}}
@media (max-width:991px){.contents2-tabPanel .contentsWrap .box{width: calc(100% - 0px) ;margin:0 0 20px 0;padding: 10px 10px 0px 10px!important;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;background:#ffffff;text-align: center;}} */



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

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

/* アコーディオンが開いたときのスタイル */
.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; */
}

@media (min-width: 769px) {
  .accordionArea h4 {
    margin: 0;
    padding: 15px;
    height: auto;
    font-size: 1.8rem;
    line-height: 1.2;
    justify-content: center;
    pointer-events: none;
    border-radius: 0;
  }

  .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;
}
@media (min-width: 768px) {
  .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;
}

.badgewrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  width: 100%;
}
.badge-orange {
  color: var(--primary-white);
  display: flex; 
  justify-content: center; /* 横方向中央 */
  align-items: center;     /* 縦方向中央 */
  
  width: 80px;
  height: 50px;
  border-radius: 5px;
  background: var(--primary-orenge);
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.8rem; 
}

.badge-purple {
  color: var(--primary-white);
  display: flex; 
  justify-content: center; /* 横方向中央 */
  align-items: center;     /* 縦方向中央 */
  
  width: 80px;
  height: 50px;
  border-radius: 5px;
  background: var(--primary-blue);
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.8rem; 
}

.badge-darkblue {
  color: var(--primary-white);
  display: flex; 
  justify-content: center; /* 横方向中央 */
  align-items: center;     /* 縦方向中央 */
  
  width: 80px;
  height: 50px;
  border-radius: 5px;
  background: var(--primary-darkblue);
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.8rem; 
}

.accordionBox-read {
  display: flex;
  padding: 5px 0;
  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);
  font-weight: 700;
}

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

/*ーーーーー2カラムフレックスボックスーーーーー*/

.accordionColumn2 {
  margin: 30px auto 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (min-width:769px) {
  .accordionColumn2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1160px;
    margin: 0 auto 60px;
  }
}


.accordionColumn2 .box {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border-radius: 3px;
  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; /* 子要素を縦に配置 */
  }
}

/* ==============================
合格実績
================================= */
.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;
}

.achievements-grid {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 2.5%;
  width: 100%;
  max-width: 1160px;
  }

/* PC：横並び4つ */
.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;
  flex-basis: calc(25% - 2.5%); /* 4列分 */
  max-width: calc(25% - 2.5%);
}

.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-details {
  text-align: left;
  width: 100%;
  font-size: var(--Text-Small);
  font-feature-settings: "palt";
  text-align: justify;
}
/* タブレット以下（2列表示） */
@media (max-width: 767px) {
  .card-wrapper {
    flex-basis: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
/* SP（1列） */
@media (max-width: 374px) {
  .achievements-grid {
    flex-direction: row;
    justify-content: center;
  }
  .card-wrapper {
    flex-basis: 100%;
    max-width: 280px;
  }
}

.card-count {
  font-weight: 700;
  color: #ff0000;
  margin: 10px 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.card-title {
  font-size: var(--Text-Large);
  font-weight: 700;
  margin-top: 20px;
}
.count-number {
  font-size: 5rem;
}
.count-unit {
  font-size: 3.2rem;
}

/* ==============================
校舎一覧
================================= */
.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: 12px;
  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: var(--Text-Exlarge);
  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;
}

.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: 40px;
}

.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: 15px;
  }

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

/* ==============================
受講料
================================= */
 .pricingcontent-wrapper {
    margin-top: 48px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

.pricing-tables-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.table-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.table-header {
  background-color: #145cad;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  padding: 10px;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  border-left: 1px solid #444444;
  border-right: 1px solid #444444;
  border-bottom: 1px solid #444444;
}

.custom-table th,
.custom-table td {
  padding: 10px;
  border-top: 1px solid #444444;
  vertical-align: middle;
}

.custom-table th.label {
  width: 135px;
  border-right: 1px solid #444444;
  color: #000000;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  background: #d5d8f5;
}

.custom-table td.value {
  padding: 10px 15px;
  color: #000000;
  font-size: 16px;
  text-align: left;
}

.custom-table td.value p {
  margin: 0;
}

.price {
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
}

.unit {
  font-weight: 400;
  font-size: 16px;
}

.sub-text {
  font-weight: 400;
  font-size: 16px;
}

.notes {
  color: #000000;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  width: 100%;
  margin: 0;
}

/* PC時は横並び（2カラム） */
@media (min-width: 768px) {
   .pricingcontent-wrapper {
    max-width: 1160px;
  }
  .pricing-tables-container {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
  .table-group {
    flex: 1;
    max-width: 50%;
  }
  .flow-image {
    width: 100%;
    height: auto;
    display: block;
  }
}
/* ==============================
よくある質問
================================= */
/* =========================
   FAQセクション全体
========================= */
.FAQ_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 20px;
    background: var(--primary-blue);
    width: 100%;
    box-sizing: border-box;
}

.FAQ_wrapper header .tagline-wrapper {
    border-bottom: 3px solid var(--primary-yellow);
    margin-bottom: 16px;
}

.FAQ_wrapper header .tagline-wrapper p {
    color: var(--primary-white);
}

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

/* =========================
   アコーディオン基本
========================= */
.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;
        margin-bottom: 48px;
}
    .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; }
}



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

/*ーーーーーーーーーー
資料請求お問合せ
ーーーーーーーーーーー*/
.contact-wrapper {
  display: flex;
  padding: 64px 20px 0;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  background: var(--gradation1); 
  background-size: cover;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 1160px;
  background: url("../images/go-kimura.png") no-repeat center bottom;
  background-size: 250px auto;
  margin: 0 auto;
}
.contact-wrapper header .section__title {
  color: var(--primary-white);
}
.contact-list {
  color: var(--primary-white);
}
.contact-list li {
  position: relative;
  padding-left: 1.5em; 
  margin-top: 8px;
  line-height: 2rem;
  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: 200px;
  margin-bottom: 64px;
}

@media screen and (min-width: 768px) {
.contact-wrapper {
  padding: 114px 20px 0;
}
.contact-container {
  align-items:flex-start;
  padding: 0 64px;
  background: url("../images/go-kimura.png") no-repeat right bottom;
  background-size: 400px auto;
  }
.contact-container .ButtonAreaColumn1 {
  margin-top: 110px;}
}

@media screen and (min-width: 1251px) {
.contact-container {
  align-items:flex-start;
    background: url("../images/go-kimura.png") no-repeat right bottom;
    background-position: right calc(100% + 30px);
    background-size: 400px auto;
}

.contact-container .ButtonAreaColumn1 {
  align-items:flex-start;
  justify-content:left ;
  margin-top: 32px;
  margin-bottom: 112px;
}
}
/* ==============================
footer 
================================= */
.footer {
  background-color: #002355;
  color: #ffffff;
  padding: 48px 20px 80px;
  font-size: 14px;
  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-color: var(--primary-blue);
}
.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%)
  }
}

/* テキストが一文字ずつ出てくるテキストアニメーション */
@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;
}
