/* =======================================================================
   REM CONVERSION CHEATSHEET (1rem = 16px)
   - 基本式: rem = px / 16
   - ユーティリティ命名例（あなたの方式）:
       0.25rem -> 025 / 1rem -> 100 / 1.25rem -> 125 / 1.5rem -> 150 …等
   -----------------------------------------------------------------------
   |  px  |   rem   | code |  px  |   rem   | code |  px  |   rem   | code |
   |------|---------|------|------|---------|------|------|---------|------|
   |   4  | 0.25rem | 025  |  36  | 2.25rem | 225  |  80  | 5.00rem | 500  |
   |   8  | 0.50rem | 050  |  40  | 2.50rem | 250  |  96  | 6.00rem | 600  |
   |  12  | 0.75rem | 075  |  48  | 3.00rem | 300  | 112  | 7.00rem | 700  |
   |  16  | 1.00rem | 100  |  56  | 3.50rem | 350  | 128  | 8.00rem | 800  |
   |  20  | 1.25rem | 125  |  64  | 4.00rem | 400  |      |         |      |
   |  24  | 1.50rem | 150  |  72  | 4.50rem | 450  |      |         |      |
   |  28  | 1.75rem | 175  |      |         |      |      |         |      |
   |  32  | 2.00rem | 200  |      |         |      |      |         |      |
   -----------------------------------------------------------------------
   よく使う値:
     20px=1.25rem(125), 28px=1.75rem(175), 36px=2.25rem(225), 40px=2.5rem(250),
     48px=3rem(300), 64px=4rem(400)
   補足:
     ・ユーティリティ例: .u-mb-125 { margin-bottom: 1.25rem !important; }
     ・細かい値が必要なときは 062=0.625rem(10px) などを個別に追加
   ======================================================================= */

@charset "UTF-8";
:root {
  --color-white: #fff;
  --color-black: #000000;
  --color-navy: #044689;
  --color-pink: #d92fa7;
  --color-yellow: #ffff8c;
  --color-light-yellow: #ffffdd;
}
/*------------------------------------------------------------------------------
共通設定
------------------------------------------------------------------------------*/
html,
body {
  font-family: -apple-system, BlinkMacSystemFont, system-ui, /* iOS/macOS UI */ "Hiragino Sans", "Hiragino Kaku Gothic ProN", /* mac系 */ "Yu Gothic UI", "Yu Gothic", "Meiryo", /* Windows */ Arial,
    sans-serif;
  font-style: normal;
  line-height: 1.75;
  letter-spacing: -0.08em;
  background-color: var(--color-white);
  /* scroll-behavior: smooth; */
  color: var(--color-black);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
@media screen and (max-width: 768px) {
  html,
  body {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    font-size: 52%;
  }
}
@media screen and (max-width: 768px) {
  body {
    min-width: inherit;
    height: 100%;
  }
}
body .sp-item {
  display: none !important;
}
@media screen and (max-width: 768px) {
  body .sp-item {
    display: block !important;
  }
}
body .pc-item {
  display: block !important;
}
@media screen and (max-width: 768px) {
  body .pc-item {
    display: none !important;
  }
}
a {
  text-decoration: underline;
}
.btn:hover {
  opacity: 0.7;
}
.btn-poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
  position: relative;
  overflow: hidden;
}
@keyframes poyopoyo {
  0%,
  40%,
  60%,
  80% {
    transform: scale(1);
  }
  50%,
  70% {
    transform: scale(0.95);
  }
}
.btn-shine::after {
  animation: 2s 0s shine-btn linear infinite;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 100%);
  content: "";
  height: 100%;
  left: -100%;
  position: absolute;
  top: 0;
  transform: skewX(-25deg);
  width: 50%;
}
@keyframes shine-btn {
  0% {
    left: -100%;
  }
  20% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}
.container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  background-color: var(--color-white);
}
@media screen and (max-width: 768px) {
  .container {
    box-shadow: none;
  }
}
img {
  width: 100%;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* Negative margin */
.lu-mt--200 {
  margin-top: -2rem !important;
}
.lu-mt--300 {
  margin-top: -3rem !important;
}
.lu-mt--600 {
  margin-top: -6rem !important;
}
.lu-mt--800 {
  margin-top: -8rem !important;
}
/* text utils */
.lu-text-color-navy {
  color: var(--color-navy);
}
.lu-text-color-pink {
  color: var(--color-pink);
}
.lu-underline-yellow {
  text-decoration: none;
  background: linear-gradient(transparent 0%, var(--color-yellow) 0) no-repeat;
  background-size: 100% 100%;
}
/*------------------------------------------------------------------------------
CTAエリア
------------------------------------------------------------------------------*/
.cta-area {
  position: relative;
  margin-top: -1px;
}
.cta-btn {
  position: absolute;
  top: 97%;
  left: 2%;
  width: 96%;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.25));
  margin: 0 auto;
}
.cta-btn img {
  display: block;
  width: 100%;
  height: auto;
}
.cta-form-wrap {
  position: absolute;
  top: 65%;
  left: 5%;
  width: 90%;
}
.form-table {
  margin: 0 auto;
  padding: 0;
}
.form-table tr,
.form-table th,
.form-table td {
  width: 100%;
  display: block;
  font-size: 3rem;
  font-weight: normal;
  text-align: left;
}
.form-table tr {
  margin-bottom: 0.5em;
}
.form-table th {
  margin-bottom: 0.2em;
  font-weight: 600;
}
.form-table input {
  margin: 0 auto;
}
.form-table input[type="text"] {
  display: block;
  width: 95%;
  font-size: 2rem;
  margin: 0 auto;
  padding: 1.2em 0.5em;
  border: 2px solid #808080;
  /* border-radius: 0.5em; */
  background-color: #fafafa;
  -webkit-appearance: none;
  font-weight: normal;
  font-family: inherit;
  line-height: normal;
}
input::placeholder {
  font-family: inherit;
  font-size: 2rem;
  color: #808080;
  letter-spacing: -0.08em;
  text-align: center;
}
.cta-form-note {
  font-size: 1.4rem;
  margin: 0 2rem;
  line-height: 1.3;
  padding-left: 1.4em;
  position: relative;
}
.cta-form-note::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0; /* 行頭に合わせる。微調整は以下を適宜 */
  transform: translateY(0.05em); /* ベースライン微調整用（任意） */
}
/*------------------------------------------------------------------------------
メッセージエリア
------------------------------------------------------------------------------*/
.msg-area-ttl-sub {
  margin: 4rem auto 3rem;
}
.msg-area-text {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
  margin: 0 3rem 2rem;
}
.msg-area-img {
  display: block;
  width: 75%;
  margin: 2rem auto;
}
/*------------------------------------------------------------------------------
理由エリア
------------------------------------------------------------------------------*/
.reason-card {
  position: relative;
}
.reason-card-text {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
  margin: 0 0 3rem;
}
.reason-card-text-wrap-11 {
  position: absolute;
  top: 32%;
  left: 10%;
  width: 80%;
  height: 100%;
}
.reason-card-text-wrap-12 {
  position: absolute;
  top: 86%;
  left: 10%;
  width: 80%;
  height: 100%;
}
.reason-card-img-ex {
  position: absolute;
  top: 60%;
  left: 10%;
  width: 80%;
  margin: 2rem auto;
}
.reason-card-text-wrap-2 {
  position: absolute;
  top: 51%;
  left: 10%;
  width: 80%;
  height: 100%;
}
.reason-card-text-wrap-3 {
  position: absolute;
  top: 38%;
  left: 10%;
  width: 80%;
  height: 100%;
}
/*------------------------------------------------------------------------------
メリットエリア
------------------------------------------------------------------------------*/
.merit-area {
  position: relative;
  z-index: 1;
}
.merit-content-odd {
  position: relative;
  padding-bottom: 2rem;
}
.merit-content-odd::before {
  content: "";
  position: absolute;
  top: -1rem;
  right: -1rem;
  bottom: -1rem;
  left: -1rem;
  background-color: var(--color-light-yellow);
  /* 上下とも同角度の平行四辺形に切り抜く */
  clip-path: polygon(0 5%, 100% 0, 100% calc(100% - 5%), 0% 100%);
  z-index: -1;
}
.merit-content-img-odd {
  position: relative;
  display: block;
  z-index: 10;
  width: 84%;
  margin: -4rem auto 3rem;
}
.merit-content-text {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
  margin: 0 4rem 3rem;
}
.merit-content-even {
  position: relative;
  padding-bottom: 2rem;
}
.merit-content-img-even {
  position: relative;
  display: block;
  z-index: 10;
  width: 84%;
  margin: 5rem auto 3rem;
}
.merit-content-text {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
  margin: 0 4rem 3rem;
}
/*------------------------------------------------------------------------------
お客様の声エリア
------------------------------------------------------------------------------*/
.voice-area {
  margin: 2rem auto 0;
  background-image: url("../images/bg_voice_area.webp");
  background-size: 100% auto;
  background-position: center;
  background-repeat: repeat-y;
  padding: 0 0 6rem;
}
.voice-area-ttl {
  position: relative;
  z-index: 10;
}
.voice-card {
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 3rem 1rem;
  padding: 4rem 2rem;
  gap: 2rem;
}
.voice-card:last-child {
  margin-bottom: 0;
}
.voice-card-ttl {
  width: 100%;
}
.voice-card-img {
  width: calc(252 / 660 * 100%);
  margin-top: -8rem;
}
.voice-card-meta {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-white);
  background-color: #69d0dd;
  border-radius: 2rem;
  text-align: center;
  margin: 0 auto;
  width: 80%;
}
.voice-card-item-wrap {
  margin-bottom: 3rem;
}
.voice-card-title-sub {
  width: 100%;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-pink);
  text-align: left;
  position: relative;
  margin-bottom: 2rem;
}
.voice-card-title-sub::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--color-pink) 0, var(--color-pink) 1rem, transparent 1rem, transparent 1.5rem);
}
.voice-card-text {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
}
.voice-card-title-sub-result {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-pink);
  text-align: center;
  width: 100%;
  padding: 0.2rem 0;
}
.voice-card-result-wrap {
  background-color: var(--color-light-yellow);
  width: 100%;
}
.voice-card-result-list-wrap {
  background-color: var(--color-light-yellow);
  width: 100%;
  padding: 1rem;
}
.voice-card-result-list-wrap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.voice-card-result-list-wrap li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: justify;
}
.voice-card-result-list-wrap li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--color-pink);
  font-size: 1.6rem;
}
.voice-card-point-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.voice-card-point-ttl {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.voice-card-point-ttl-img {
  width: 9%;
  height: auto;
}
.voice-card-point-ttl-text {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: justify;
  color: var(--color-pink);
  line-height: 1.2;
}
.voice-card-note-wrap {
  display: block;
  margin: 0 2rem;
  width: 100%;
  text-align: right;
}
.voice-card-note {
  font-size: 1rem;
  font-weight: 400;
  display: block;
  text-align: right;
  color: #acacac;
}
/*------------------------------------------------------------------------------
レッスン内容エリア
------------------------------------------------------------------------------*/
.lesson-area {
  background: linear-gradient(to bottom, #e4f4f6 0%, #e4f4f6 95%, rgba(228, 244, 246, 0.8) 98%, transparent 100%);
  margin: 0 auto 6rem;
  padding-bottom: 6rem;
}
.lesson-item {
  position: relative;
  padding: 0 2rem;
  margin-bottom: 4rem;
}
.lesson-item:nth-child(1) {
  margin-top: -8rem;
}
/*------------------------------------------------------------------------------
オファーメッセージエリア
------------------------------------------------------------------------------*/
.offer-text {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
  margin: 0 3rem 2rem;
}
/*------------------------------------------------------------------------------
よくある質問エリア
------------------------------------------------------------------------------*/
.faq-area {
  margin: -1px auto 6rem;
  padding-bottom: 6rem;
  background-color: #ddebf6;
}
.faq-area-ttl {
  margin-bottom: 6rem;
}
.faq-card {
  border-radius: 1.5rem;
  overflow: hidden;
  border: none;
  margin: 0 2rem 4rem;
}
.faq-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  color: var(--color-white);
  background: linear-gradient(to right, #044689, #00a9ea);
}
.faq-icon {
  width: 3.5rem;
  height: auto;
  flex: 0 0 auto;
  display: block;
}
.faq-title {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
  font-size: 2.5rem;
  text-align: justify;
}
.faq-body {
  background: var(--color-white);
  padding: 4rem 2rem;
}
.faq-answer {
  margin: 0 0 0.2em;
  font-weight: 700;
  color: var(--color-pink);
  line-height: 1.5;
  font-size: 2.5rem;
  text-align: justify;
}
.faq-text {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
}
/*--------------------------------------------------------
ラストメッセージエリア
--------------------------------------------------------*/
.last-msg-text {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
  margin: 0 3rem 2rem;
}
.last-msg-img {
  display: block;
  width: 80%;
  margin: 4rem auto;
}
/*--------------------------------------------------------
講師紹介エリア
--------------------------------------------------------*/
.teacher-memo {
  background-color: #dff2f5;
  padding: 2rem;
  margin: 2rem;
  font-size: 1.75rem;
  font-weight: 500;
  text-align: center;
}
.teacher-text {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin: 3rem;
}
/*--------------------------------------------------------
フッターエリア
--------------------------------------------------------*/
.footer-area {
  text-align: center;
  background: #79d4e1;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 2rem 0;
}
.footer-area a {
  text-decoration: none;
  color: var(--color-white);
}
.footer-area a:hover {
  text-decoration: underline;
}
.footer-area .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.footer-area .menu li {
  position: relative;
  line-height: 1.8;
}
.footer-area .copyright {
  margin: 0;
  padding: 1em 0 0 0;
}
/*--------------------------------------------------------
追従ボタン
--------------------------------------------------------*/
/* 画面下に黒の薄いオーバーレイ（クリックを邪魔しない） */
.fixed-buttons {
  position: fixed;
  z-index: 1000;
  left: 0;
  right: 0;
  bottom: 0;

  /* 常時レイアウトに存在させる */
  display: flex;
  justify-content: center;
  align-items: center;

  /* 初期は画面下に退避＆非表示 */
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* ニョキっと出るトランジション */
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0.55s; /* 非表示へ戻るときに visibility を遅延で切る */

  will-change: transform, opacity;
}
.fixed-buttons.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0s;
}
/* 薄い黒オーバーレイはそのままでOK */
.fixed-buttons::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
/* 中央コラム幅に合わせる器 */
.fixed-buttons .fixed-inner {
  position: relative;
  z-index: 1;
  width: min(750px, 100vw);
  margin: 0 auto;
  padding: 0.5rem 0;
  display: flex;
  justify-content: center;
}
/* ================================
   3カラム固定フレーム（PCのみ）
   ================================ */
.layout-frame {
  /* 背景（任意）：全体に敷く */
  /* 画像を使う場合 */
  /* background: url("./images/bg_pattern.webp") center/cover fixed no-repeat; */
  /* 単色＋グラデ（例） */
  /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06)), var(--color-ultralight-orange); */
  /* background: var(--color-white); */
  background-color: var(--color-white);
  height: 100dvh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4rem;
  overflow: hidden;
}
/* 中央だけをスクロール */
.main-scroll {
  height: 100dvh;
  overflow: auto;
  overscroll-behavior: contain;
  /* 左右だけ */
  box-shadow: 8px 0 16px rgba(0, 0, 0, 0.1), -8px 0 16px rgba(0, 0, 0, 0.1);
}
/* 左右レール（追従） */
.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  width: 20rem;
}
/* レール内パーツ例 */
.rail-img {
  width: 100%;
  height: auto;
  display: block;
}
/* スマホは従来どおり1カラム（レール非表示・全体スクロール） */
@media screen and (max-width: 768px) {
  .layout-frame {
    display: block;
    height: auto;
    background: var(--color-white); /* モバイルはシンプル背景に戻す */
    padding: 0;
  }
  .main-scroll {
    height: auto;
    overflow: visible;
  }
  .rail {
    display: none;
  }
}

/* ===== Overlay Modal）===== */

/* 表示/非表示 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none; /* JSで .is-open を付ける */
}
.modal.is-open {
  display: block;
}
/* 背景オーバーレイ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}
/* ダイアログ本体：top/bottom で画面を確保＝必ず大きくなる */
.modal-dialog {
  position: fixed; /* ← 中央配置ではなく“上下固定”に変更 */
  z-index: 1;

  /* 横幅：PCは中央カラム相当、SPは画面に追従 */
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 92vw);
  bottom: 3rem;

  /* コンテンツが長いときは内側のみスクロール */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  /* 見た目 */
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: clamp(16px, 3.5vw, 28px);

  height: auto !important; /* 中身に応じて縮む */
  max-height: calc(100dvh - 2rem * 2) !important; /* 画面高 - 上下余白 */
  margin-block: 1rem; /* 上下余白 */
}
/* 内容物が横にはみ出さない保険 */
.modal-dialog img,
.modal-dialog input,
.modal-dialog button,
.modal-dialog textarea,
.modal-dialog select {
  max-width: 100%;
  box-sizing: border-box;
}
/* タイトル/フォーム/閉じる（体裁） */
.modal-title {
  margin: 0 0 0.6em;
  font-weight: 800;
  font-size: clamp(18px, 2.6vw, 22px);
  letter-spacing: 0.02em;
}
.modal-form .form-row {
  margin: 0.8em 0;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  font: inherit;
  padding: 0.8em 1em;
  border: 1px solid #ccd5e0;
  border-radius: 8px;
}
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
  outline: none;
  border-color: #4aa9ff;
  box-shadow: 0 0 0 3px rgba(74, 169, 255, 0.2);
}
.modal-form .submit {
  width: 100%;
  font: inherit;
  padding: 0.9em 1em;
  border-radius: 8px;
  background: #0b66c3;
  color: #fff;
  border: 1px solid #0b66c3;
  cursor: pointer;
  font-weight: 700;
}
.modal-form .submit:hover {
  filter: brightness(1.05);
}
/* 閉じるボタン */
.modal-close {
  position: absolute;
  right: 0.4em;
  top: 0.2em;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
/* 背景スクロールロック（PC=.main-scroll / SP=<html> をJSで付け外し） */
.scroll-locked {
  overflow: hidden !important;
}
.modal-cta-wrap {
  position: relative;
}
.modal-cta-form-wrap {
  position: absolute;
  top: 65%;
  left: 5%;
  width: 90%;
}




/*==============================================================================
受講生動画：幅いっぱい・高さ自動調整 強制版
==============================================================================*/
.voice-card-video {
  width: 100% !important;
  max-width: 100% !important;
  margin: 2.4rem auto !important;
  display: block !important;
}

.video-embed {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* 16:9比率を維持 */
.video-embed::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block;
}

/* モバイル時の最適化 */
@media (max-width: 768px) {
  .video-embed {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
}
