@charset "UTF-8";
html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}
body {
  background-color: #feffeb;
  font-size: 16px;
}
#container {
  font-size: 16px;
  font-family: Noto Sans JP, sans-serif;
  font-weight: 400;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background-color: #f6f6f6;
  position: relative;
}

/* ヘッダー */
header {
  width: 100%;
  max-width: 430px;
  position: fixed;
  z-index: 5;
  background-color: #f6f6f6;
  display: flex;
  justify-content: space-between;
  padding: 16px;
}
header h1 {
  color: #444444;
  font-size: 14px;
  display: flex;
  align-items: flex-end;
}
header h1 img {
  width: 72px;
  height: auto;
}
header h1 span {
  font-size: 18px;
  margin-left: -2px;
}
/* ヘッダー */
/* Kv */
.kv {
  padding-top: 64px;
  overflow: hidden;
  position: relative;
  background-color: #fff;
  background-image: radial-gradient(circle 500px at 50% 480px, #009a3b 49.8%, #fff 50%);
}
.kv .kv_bar {
  background-color: #ffe712;
  text-align: left;
  padding: 20px 0 28px 8px;
  font-weight: 700;
  font-size: 20px;
}
.kv .kv_bar span:last-child {
  font-size: 32px;
  color: red;
  font-weight: 700;
}
.kv .top_kv {
  width: 118%;
  height: auto;
  display: block;
}
.kv .badge {
  position: absolute;
  top: 72px;
  right: 4px;
  display: flex;
}
.kv .badge img {
  width: 64px;
  height: auto;
  margin-right: 4px;
}
.sub_kv {
  background-color: #009a3b;
  color: #fff;
}
.sub_kv h2 {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  padding: 16px;
}

/* スライドアニメーション */
.marquee-container {
  overflow: hidden;
  width: 100%;
  padding-bottom: 8px;
}

.marquee-content {
  display: flex;
  width: fit-content; /* 重要：中身の2セット分に幅を広げる */
}

.marquee-content img {
  width: 96px;
  height: auto;
  margin-right: 8px; /* この隙間を含めて50%で計算されます */
  flex-shrink: 0;
}

/* 左へ流れる設定 */
.marquee-content.left {
  animation: slide-left 30s linear infinite;
}

/* 右へ流れる設定 */
.marquee-content.right {
  animation: slide-right 30s linear infinite;
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* 全体の半分（1セット分）まで動かす */
}

@keyframes slide-right {
  0% {
    transform: translateX(-50%);
  } /* 半分ずれた状態から開始 */
  100% {
    transform: translateX(0);
  } /* 元の位置に戻る */
}
/* Kv */

/* アンカーリンク */
nav.menu {
  background-color: #009a3b;
  padding: 8px 0 16px;
}
nav.menu ul {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
nav.menu ul li a {
  width: 100px;
  display: block;
  background-color: #fff;
  border: 1px solid #373737;
  border-radius: 8px;
  text-align: center;
  padding: 16px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
nav.menu ul li a:hover {
  /* (1) 上に 3px 移動させる */
  /* translate Yで縦方向の移動を指定。マイナス値で上方向へ移動します。 */
  transform: translateY(-3px);
  text-decoration: none;
  /* (2) ドロップシャドウを適用（影を濃く、または広げる） */
  /* 影を大きく、Y軸方向のオフセットを大きくすることで、浮き上がったように見せる */
  box-shadow: 0 3px 0px rgba(0, 0, 0, 0.7);
}

/* 3. (オプション) クリック時のスタイル */
nav.menu ul li a:active {
  /* クリック時に元に戻す、または少し下に押し込む */
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.05s ease-out, box-shadow 0.05s ease-out;
}
nav.menu ul li a p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* アンカーリンク */

/* 急募校舎一覧 */
#entry .boxInr .accordionbox {
  text-align: center;
}
#entry p.sub_title {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  background-color: #fff;
  padding: 4px 16px;
  border-radius: 16px;
  position: relative;
}
#entry p.sub_title::after {
  content: "";
  background-image: url(../img/arrow_white.png);
  background-size: 80%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 15px;
}
#entry {
  background: url(../img/bg_pt-01.png) center / 20px 20px #fbf700;
}
#entry .boxInr .accordionbox .accordionTitle {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  font-family: initial;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000000;
}
#entry .boxInr .accordionbox .accordionTitle span {
  font-size: 32px;
  color: #ff0000;
}
#entry .boxInr .accordionlist dt {
  display: block;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: #17528f;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  position: relative;
  border-radius: 5px;
  border: 1px solid #000000;
  background: #ffffff;
  padding: 15px 10px;
  margin: 0 0 7px;
}

#entry .boxInr .accordion_icon {
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 9px;
  margin: 0;
  background: url(../img/plus_black.png) no-repeat 0 0;
  background-size: 16px auto;
  width: 16px;
  height: 16px;
}
#entry .boxInr .accordion_icon.active {
  background: url(../img/minus_black.png) no-repeat 0 0;
  background-size: 16px auto;
  position: absolute;
  top: 70%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}
/* 急募校舎一覧 */

/* 募集校舎一覧 */
#entry_std .boxInr .accordionbox {
  text-align: center;
}
#entry_std p.sub_title {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  background-color: #fff;
  padding: 4px 16px;
  border-radius: 16px;
  position: relative;
}
#entry_std p.sub_title::after {
  content: "";
  background-image: url(../img/arrow_white.png);
  background-size: 80%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 15px;
}
#entry_std {
  background: url(../img/bg_pt-03.png) center / 40px 40px #00b2ff;
}
#entry_std .boxInr {
  padding: 16px;
}
#entry_std .boxInr .accordionbox .accordionTitle {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  font-family: initial;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000000;
}
#entry_std .boxInr .accordionbox .accordionTitle span {
  font-size: 32px;
  color: #ffee00;
}
#entry_std .boxInr .accordionlist dt {
  display: block;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: #17528f;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  position: relative;
  border-radius: 5px;
  border: 1px solid #000000;
  background: #ffffff;
  padding: 15px 10px;
  margin: 0 0 7px;
}

#entry_std .boxInr .accordion_icon {
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 9px;
  margin: 0;
  background: url(../img/plus_black.png) no-repeat 0 0;
  background-size: 16px auto;
  width: 16px;
  height: 16px;
}
#entry_std .boxInr .accordion_icon.active {
  background: url(../img/minus_black.png) no-repeat 0 0;
  background-size: 16px auto;
  position: absolute;
  top: 70%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}

/* 選ばれる理由 */
.reason ul {
  background-color: #f6f6f6;
  padding: 16px;
}
.title_bar {
  text-align: center;
  background-color: #009a3b;
  padding: 8px 0;
}
.title_bar p.sub_title {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  background-color: #fff;
  padding: 4px 16px;
  border-radius: 16px;
  position: relative;
}
p.sub_title::after {
  content: "";
  background-image: url(../img/arrow_white.png);
  background-size: 80%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 15px;
}
.title {
  color: #fff;
  text-align: center;
}

/* モバイル用ドロワーメニュー（開閉時は .open を付ける） */
.drawer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.drawer .sheet {
  position: fixed;
  top: 64px;
  width: 100%;
  max-width: 430px;
  background: #fffffff3;
  height: auto;
  box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.08);
  transform: translateY(-200%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.25, 1);
  padding: 32px;
  pointer-events: auto;
}
.drawer.open .sheet {
  transform: translateX(0);
}

.drawer .sheet {
  z-index: 2;
}
.drawer .sheet nav {
  gap: 0.3rem;
}
.drawer nav a {
  font-size: 14px;
  padding: 16px;
  text-align: center;
  margin: 8px;
  background: #008225;
  color: #fff;
  border-radius: 8px;
}
.drawer nav a .btn {
  color: #fff;
  background-color: #005bab;
}
.drawer nav a img {
  width: 0.35rem;
  vertical-align: baseline;
  margin-right: 0.3rem;
}
.nav-toggle {
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 1.8rem;
  height: 0.2rem;
  background: #008225;
  margin: 0.25rem 0;
  border-radius: 2px;
}

/* ================================================= */
/* 1. ブロック (Accordion) のベーススタイル (BEM) */
/* ================================================= */

.reason_accordion {
  padding: 16px;
  background-color: #fff;
}

.reason_accordion h2 {
}

.reason_accordion__item {
  margin-bottom: 16px;
  border: 1px solid #000000;
}

/* 2. 質問部分 (Accordion__Question) */
.reason_accordion__question {
  padding: 16px 8px;
  background-color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  user-select: none; /* テキスト選択不可 */
  transition: background-color 0.3s ease;
}
.reason_accordion__question img {
  width: 84%;
}

/* 質問ホバー時のスタイル */
.reason_accordion__question:hover {
  background-color: #f0f0f0;
}
.reason_accordion__question span {
  color: #444;
}

/* ================================================= */
/* 3. アイコン部分 (+ から - への CSS線による切り替え) */
/* ================================================= */

.reason_accordion__icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  margin-left: 16px;
}

/* + を構成する縦棒 (::before) と横棒 (::after) を作成 */
.reason_accordion__icon::before,
.reason_accordion__icon::after {
  content: "";
  position: absolute;
  background-color: #444; /* 線の色 (青) */
  transition: width 0.3s ease, transform 0.3s ease;
}

/* 縦棒の設定 (::before) - 開閉時に消える */
.reason_accordion__icon::before {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

/* 横棒の設定 (::after) - 常に表示 */
.reason_accordion__icon::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

/* ================================================= */
/* 4. 回答部分 (Accordion__Answer) のスタイルとアニメーション */
/* ================================================= */

.reason_accordion__answer {
  max-height: 0;
  overflow: hidden;
  /* 常に適用される左右のパディング */
  background-color: #fff;
  /* max-height のみ transition を設定 */
  transition: max-height 0.4s ease;
  display: flex;
  gap: 8px;
}
.reason_accordion__answer img {
  width: 100px; /* 親要素の幅に合わせる */
  height: auto; /* 高さを自動調整（これだけで比率は保たれます） */
  object-fit: contain; /* 枠内に比率を保って収める */
  margin: 0;
}
.reason_accordion__answer span {
  color: #444;
}

/* 回答内のテキストの上下パディング（コンテンツの押し広げに使用） */
.reason_accordion__answer p {
  padding: 16px 8px;
  font-size: 14px;
  margin: 0;
  line-height: 1.2;
}

/* ================================================= */
/* 5. モディファイア (Accordion__Item--is-open) */
/* ================================================= */

/* 項目が開いている状態のスタイル */
.reason_accordion__item--is-open .reason_accordion__question {
  background-color: #ecf0f1;
}

/* 回答部分を開く */
.reason_accordion__item--is-open .reason_accordion__answer {
  /* コンテンツの高さより十分大きな値を設定 */
  max-height: 300px;
}

/* アイコンを - 記号に変化させる (縦棒を消す) */
.reason_accordion__item--is-open .reason_accordion__icon::before {
  width: 0;
}

/* 先輩の声スライド */

.swiper {
  width: 100%;
  height: 380px;
  box-sizing: border-box;
  padding: 16px 0;
}
.swiper-wrapper {
}
.swiper-slide {
  padding: 16px;
  background: url(../img/bg_pt-02.png) #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.swiper-slide p {
  font-size: 15px;
  line-height: 1.5;
}

/* 募集要項 */
.point ul {
  padding: 16px;
}

h3.listTitle {
  background-color: #009a3b;
  color: #fff;
  padding: 8px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
}
.listItem {
  padding: 16px;
  font-size: 14px;
  margin-bottom: 16px;
  background-color: #fff;
}
.listItem dt {
  margin-bottom: 8px;
}
.listItem dd {
  margin: 8px;
}
.listItem h4 {
  font-size: 16px;
}
.listItem_dtl {
  margin: 8px;
}

.system {
  padding: 16px;
}
.system h3 {
  text-align: center;
  color: #009a3b;
}
.system_content {
  padding: 16px;
  display: flex;
  gap: 8px;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 16px;
}
.system_content img {
  width: 80px;
  height: auto;
  object-fit: contain;
}
.system_content p {
  font-size: 12px;
  line-height: 1.5;
}
.system_image {
  position: relative;
}
.system_image img {
  width: 100%;
}

.system .btn {
  width: 60%;
  display: inline;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

footer {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 8px;
  background-color: #f6f6f6;
  display: flex;
  justify-content: space-around;
  font-size: 8px;
  align-items: center;
  color: #aaa;
  font-weight: 400;
}
footer img {
  width: 80px;
  height: auto;
  object-fit: contain;
}

/* フェードイン */
/* 初期状態 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 実行時の状態 */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.marker_yellow {
  /* 透明から黄色へ、下から60%の位置で切り替える */
  background: linear-gradient(transparent 60%, #f8ff96 60%);
}

/* フローティングボタン */
/* ボタンの基本スタイル */
.floating-btn {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease; /* フェード効果 */
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 非表示状態のクラス */
.hide {
  opacity: 0;
  visibility: hidden;
}

/* 共通：最初は隠す */
.floating-btn {
  position: fixed;
  z-index: 2;
  transition: all 0.8s ease;
  display: flex;
  justify-content: center;
  transform: translateY(-0.3rem);
  animation: float-text 2.5s ease-in-out infinite;
}
@keyframes float-text {
  0% {
    transform: translateY(-0.1rem);
  }
  50% {
    transform: translateY(-0.6rem);
  }
  100% {
    transform: translateY(-0.1rem);
  }
}
.floating-btn a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-btn.show {
  bottom: -0.6rem;
}

.floating-btn {
  flex-direction: row;
  width: 96%;
  max-width: 430px;
  right: 0;
  left: 0;
  margin: 0 auto;
  bottom: -10rem;
  gap: 0;
}
