@charset "utf-8";

/*==================================================*/
/* トンマナ */
/*==================================================*/

:root {
  /* --red: #d93333;
  --navy: #01254C;
  --yellow: #F7E564;
  --white: white;
  --black: #282828;
  --textColor: #1c1c1c;
  --gray-light: #f5f6f8;
  --gray: #888;
  --gold: #d4a843;
  --gold-light: #f0c96b; */

  --color-bg-body: #fff;
  --color-primary: #0F184F;
  --color-secondary: #fffcf1;
  --color-light: #F2F3F5;
  --color-accent: #EB1B43;
  --color-cta: #59bcbd;
  --color-cta-light: #FDB91B;
  --color-cta-shadow: #7a5710;

  --color-caution: #d93333;
  
  --white: #fff;
  --yellow: #F7E564;
  --gray: #8d8d8d;
  --gray-light: #dbdbdb;
  --gold: #d4a843;
  --gold-light: #f0c96b;
  --black: #1c1c1c;
  --blue: #2487ff;
  --blue-light: #e8f2fe;


  --orange-1:    #ff9326;
  --orange-2:    #ff5f00;
  --orange-br:   #ffc070;


  --color-text-body: #1c1c1c;

  --color-line-box: #9AB3C1;
  --color-line-spacer: #9AB3C1;

  /* --font-family: "Noto Sans JP", sans-serif; */
  --font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";

  --spacing-lg: clamp(60px, 8.824vw + 31.765px, 120px);
  --spacing-md: clamp(40px, 5.882vw + 21.176px, 80px);
  --spacing-sm: clamp(24px, 2.353vw + 16.471px, 40px);
  --spacing-xs: clamp(16px, 1.176vw + 12.235px, 24px);
  --spacing-xxs: clamp(12px, 0.588vw + 10.118px, 16px);

  --font-size-xl: clamp(40px, 4.71vw + 24.94px, 72px);
  /* --font-size-lg: clamp(24px, 5.294vw + 7.059px, 60px); */
  --font-size-lg: clamp(32px, 4.12vw + 18.82px, 60px);;
  --font-size-md: clamp(22px, 3.235vw + 11.647px, 44px);
  --font-size-sm: clamp(20px, 1.765vw + 14.353px, 32px);
  --font-size-xs: clamp(16px, 1.176vw + 12.24px, 24px);
  /* --font-size-base: 20px; */
  --font-size-base: clamp(16px, 0.588vw + 14.12px, 20px);
}

/* == 320px 〜 1000px == */
.py-section-lg { padding: var(--spacing-lg) 0; }
.py-section-md { padding: var(--spacing-md) 0; }
.py-section-sm { padding: var(--spacing-sm) 0; }
.py-section-xs { padding: var(--spacing-xs) 0; }
.py-section-xxs { padding: var(--spacing-xxs) 0; }

.mt-lg { margin-top: var(--spacing-lg); }
.mt-md { margin-top: var(--spacing-md); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-xs { margin-top: var(--spacing-xs); }
.mt-xxs { margin-top: var(--spacing-xxs); }

.pt-lg { padding-top: var(--spacing-lg); }
.pt-md { padding-top: var(--spacing-md); }
.pt-sm { padding-top: var(--spacing-sm); }
.pt-xs { padding-top: var(--spacing-xs); }
.pt-xxs { padding-top: var(--spacing-xxs); }

.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-xxs { margin-bottom: var(--spacing-xxs); }

.pb-lg { padding-bottom: var(--spacing-lg); }
.pb-md { padding-bottom: var(--spacing-md); }
.pb-sm { padding-bottom: var(--spacing-sm); }
.pb-xs { padding-bottom: var(--spacing-xs); }
.pb-xxs { padding-bottom: var(--spacing-xxs); }
/* ==================== */

.bg-body { background-color: var(--color-bg-body); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-light { background-color: var(--color-light); }
.bg-accent { background-color: var(--color-accent); }
.bg-cta { background-color: var(--color-cta); }
.bg-blue-grad { background: linear-gradient(160deg, #1a62e4 0%, #2f8bff 100%); }
.bg-blue-dark-grad { background: linear-gradient(90deg, #112147 0%, #264da1 50%, #112147 100%); }
.bg-blue-light { background-color: var(--blue-light); }

.bg-white { background-color: #ffffff; }
.bg-black { background-color: #0a0a0a; }
.bg-black-grad { background: linear-gradient(160deg, #696969, #000000); }

.bg-grid {
  background-color: #fff;

  background-image:
    linear-gradient(#e8e8e8 1px, transparent 1px),
    linear-gradient(90deg, #e8e8e8 1px, transparent 1px);

  /* background-size: 40px 40px; */
  background-size: 20px 20px;
}

.bg-dark-photo {
  /* 1. 先に透過黒（rgba）のレイヤーを重ね、その後に背景画像を敷く */
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
              url('../images/shock-image.webp');
  
  /* 2. 画像の表示位置やサイズを綺麗にフィットさせる設定 */
  background-size: cover;        /* 画面いっぱいに画像を広げる */
  background-position: center;   /* 画像の中心を基準にする */
  background-repeat: no-repeat;  /* 画像の繰り返しを禁止 */
  
  /* 3. 文字を読みやすくするための装飾（自由に変更してください） */
  color: #ffffff;
  /* padding: 80px 20px; */
  line-height: 1.8;
}

.b1-bg {
  background:
    radial-gradient(900px 500px at 50% -8%, #e7f0ff 0%, rgba(231, 240, 255, 0) 60%),
    linear-gradient(180deg, #f4f9ff 0%, #ffffff 60%);
}

.text-body { color: var(--color-text-body); }
.text-primary { color: var(--color-primary); }
.text-white { color: var(--white); }
.text-yellow { color: var(--yellow); }
.text-black { color: var(--black); }
.text-blue { color: var(--blue); }

.fs-xl { font-size: var(--font-size-xl); }
.fs-lg { font-size: var(--font-size-lg); }
.fs-md { font-size: var(--font-size-md); }
.fs-sm { font-size: var(--font-size-sm); }
.fs-xs { font-size: var(--font-size-xs); }

.box-border-orange { border: solid 2px var(--yellow);}
.box-border-primary { border: solid 2px var(--color-primary);}


.text-center {
  display: block;
  width: 100%;
  text-align: center;
}

/*==================================================*/
/* 基本設定 */
/*==================================================*/

html, body {
  width: 100%;
  height: 100%;
}
html {
  -webkit-font-feature-settings: "palt"1;
  font-feature-settings: "palt"1;
  letter-spacing: 0.01rem;
}
body {
  font-size: var(--font-size-base);
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif; /* google font */
  /* font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif"; */
  color: #1c1c1c;
	line-height: 1.5;
  overflow-x: hidden;
}

.inner {
  max-width: 1080px;
  /* max-width: 1280px; */
  margin: 0 auto;
  /* padding: 0 16px; */
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width:600px) {
  .inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

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

.body-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.sp-only {
  display: none !important;
}

@media (max-width:600px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
}

.common-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.sec_pad {
  padding: 28px 0;
}
.mt{
margin-top:36px!important;
}
@media screen and (min-width:768px) {
  .sec_pad {
    padding: 60px 0;
  }
  .mt{
    margin-top:60px!important;
  }
}
/*==================================================*/
/* 装飾 */
/*==================================================*/

.marker {
  background-color: var(--yellow);
}

.spacer-line {
  background-color: var(--color-line-spacer);
  width: 100%;
  height: 1px;
}


/*==================================================*/
/* トップのタイマー */
/*==================================================*/
.timer {
  font-size: clamp(1rem, 0.773rem + 0.97vw, 1.5rem);
  text-align: center;
}

.timer-box {
  background-color: #243b71;
  position: relative;
}

/* @media (max-width: 768px) {
  .timer-box {
    padding: 16px 0 0;
  }
} */

.timer-label {
  color: var(--white);
  font-weight: 600;
  text-align: center;
  padding: 16px 0;
  line-height: 1.8;
}

.timer-label-pc-only {
  display: none;
}

@media (min-width: 440px) {
  .timer-label-break { display: none; }
  .timer-label-pc-only { display: inline; }
}

.timer-text {
  color: var(--white);
}

.date, .hour, .min, .sec {
  color: var(--color-accent);
  font-weight: bold;
  font-size: 120%;
  background-color: var(--white);
  border-radius: 4px;
  padding: 0 4px;
}
.caution {
  font-size: 85%;
}
.end {
  text-align: center;
  position: relative;
  top: 20vh;
}
.end a {
  text-decoration: underline;
  color: #0b62e5;
}
.deadline-badge {
  /* background-color: var(--navy); */
  background: var(--accent_color);
  /* background: var(--primary_color); */
  /* background: var(--black); */
  color: var(--white);
  padding: 8px 12px 4px;
  font-size: clamp(14px, 1.2vw + 8px, 20px);
  text-align: center;
  position: relative;
}

.deadline-badge-box {
  /* background: var(--accent_color); */
  /* background: var(--black); */
  /* padding: 8px 16px; */
  width: fit-content;
  margin: 16px auto;
}

.deadline-badge span {
  /* color: var(--accent_color); */
  color: var(--yellow);
}

.deadline-badge span {
  font-size: 120%;
}

.deadline-badge strong {
  /* color: var(--yellow); */
  color: var(--white);
}

.head-logo {
	max-width: 120px;
	margin: 0 auto;
}

.head-logo img {
	display: block;
}

@media (min-width:768px){
	/* .deadline-badge .inner {
		position: relative;
	} */

  .bg .inner {
		position: relative;
	}

	.head-logo {
		position: absolute;
		top: 50%;
		/* right: 0; */
    right: 40px;
    transform: translateY(-50%);
	}
}

/* ==========================================================================
   フローティングボタン
   ========================================================================== */
#floating_btn {
  position: fixed;
  bottom: 8px;
  transition: opacity 0.5s, visibility 0.5s;
  z-index: 1000;
  left: 0;
  right: 0;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  /* padding: 0 40px; */
}


/* @media (max-width:600px){
  #floating_btn {
    padding: 0 16px;
  }
}  */

#floating_btn.show {
  opacity: 1;
  visibility: visible;
}
 
#floating_btn.hide {
  opacity: 0;
  visibility: hidden;
}


/*==================================================*/
/* ファーストビュー */
/*==================================================*/


.fv-inner {
  position: relative;
  width: 100%;
  /* max-width: 1448px; */
  /* max-width: 1080px; */
  /* max-width: 1000px; */
  max-width: 1200px;
  margin: 0 auto;
}

.fv-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* .fv-cta {
  position: absolute;
  right: 3.2%;
  bottom: 5.7%;
  width: 31.2%;
  height: 14.6%;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-indent: -9999px;
  z-index: 10;
}

@media (max-width: 768px) {
  .fv-cta {
    right: 3.2%;
    bottom: 1.5%;
    width: 93.4%;
    height: 8.8%;
    border-radius: 14px;
  }
}

@keyframes ctaShine {
  0% {
    left: -45%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  55% {
    left: 116%;
    opacity: 1;
  }
  100% {
    left: 116%;
    opacity: 0;
  }
} */

  /* .button-inner {
  max-width: 880px;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
}

@media (min-width:768px) {
  .button-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

  .cta-btn-image {
    margin: 0 auto;
  }

  .button-image {
    display: block;
    margin: 0 auto;
  } */


/* ================================================*/
/* BOTTOM CTA SECTION */
/* ================================================*/
  .bottom-cta-sec {
    background: var(--teal-bg);
    padding: 40px 20px;
    text-align: center;
  }

  .bottom-cta-lead {
    font-size: 15px;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 20px;
    line-height: 1.7;
  }

  /* .cta-btn {
    display: block;
    background: var(--color-cta);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow: var(--color-cta-shadow);
    transition: transform .2s, box-shadow .2s;
    max-width: 480px;
    margin: 0 auto;
  } */

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* gap: 14px; */
  gap: 8%;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange-1), var(--orange-2));
  color: #fff;
  /* font-size: 23px; */
  font-size: var(--font-size-md);
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 12px 22px rgba(240, 130, 30, .38), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

  .cta-btn:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 6px 20px rgba(26,92,82,.45); */
    box-shadow: 0 6px 20px var(--color-cta-shadow);
  }
  .cta-btn-sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: .8;
    margin-top: 4px;
  }
  .cta-btn:active { transform: translateY(0); }
  .cta-btn .arrow {
    position: absolute; /* ★絶対配置 */
    right: 4%;        /* ★ボタンの右端から 24px の位置に固定（ここで距離を調整） */
    top: 50%;           /* 縦中央へ */
    transform: translateY(-50%); /* 縦中央へ */
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cta-btn .arrow svg { 
    width: 13px; 
    height: 13px; 
    transform: translateX(10%);
    display: block;
   }

/* ================================================================
   共通
   ================================================================ */

.title {
  font-size: var(--font-size-md);
  text-align: center;
  font-weight: 800;
}

.upper-sub-title {
  font-size: var(--font-size-sm);
  text-align: center;
  font-weight: 600;
}

/* center diamond divider (matches baked-in design) */
.rule {
  max-width: 660px;
  /* margin: 22px auto 0; */
  margin-left: auto;
  margin-right: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6f9bff 12%, #6f9bff 88%, transparent);
  position: relative;
}
.rule span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 1px solid #6f9bff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.rule-profile {
  max-width: 500px;
  /* margin: 22px auto 0; */
  margin-left: auto;
  margin-right: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6f9bff 12%, #6f9bff 88%, transparent);
  position: relative;
}
.rule-profile span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 1px solid #6f9bff;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* blue circle checkmark list */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
  /* margin: 0 auto; */
}
.checklist li {
  position: relative;
  padding-left: 44px;
  font-size: 21px;
  font-weight: 600;
  color: #2b2f36;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2487ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4 10-11'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* ================================================================
   特典タイトル一覧（FV直下・bonus_title をコード化）
   ================================================================ */
.btitle {
  /* background: linear-gradient(180deg, #eaf2ff 0%, #f3f8ff 60%, #ffffff 100%); */
  background: linear-gradient(180deg, #EBF5FF 0%, #f3f8ff 60%, #ffffff 100%);
  padding: 40px 22px 46px;
}
.btitle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.btitle-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #cfe0fb;
  border-radius: 14px;
  padding-right: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(20, 60, 140, .07);
}
.bt-badge {
  flex: none;
  width: 66px;
  align-self: stretch;
  background: linear-gradient(160deg, #2f8bff, #1a62e4);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  line-height: 1;
}
.bt-badge small { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.bt-badge b { font-size: 24px; font-weight: 900; margin-top: 4px; }
.bt-ico {
  flex: none;
  width: 50px;
  height: auto;
  display: block;
}
.bt-ttl {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1f3a6e;
  line-height: 1.42;
  padding: 12px 0;
}

/* ================================================================
   特典ブック（FV直下2つ目・bonus_book をコード化）
   ================================================================ */
.bbook {
  /* background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%); */
  /* padding: 16px 22px 48px; */
}
.bbook-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto 6px;
}
.bbook-head__dec { flex: none; height: auto; }
.bbook-head__dec--robot { width: 150px; }
.bbook-head__dec--gift { width: 132px; }
.bbook-head__txt { text-align: center; flex: 0 1 auto; }
.bbook-head__title {
  color: #142a6e;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .01em;
}
.bbook-head__title b { color: #1a6aff; }
.bbook-head__sub {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  color: #2f5597;
  font-size: 18px;
  font-weight: 800;
}
.bbook-head__sub::before,
.bbook-head__sub::after {
  content: "";
  width: 34px;
  height: 2px;
  background: #6f9bff;
}
.bbook-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 14px;
  max-width: 900px;
  margin: 22px auto 0;
}
.bbook-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  filter: drop-shadow(0 8px 14px rgba(20, 40, 90, .22));
}

/* ================================================================
   特典ブック 12教材グリッド：6列 → 4列（タブレット）→ …
   （max-width クエリは小さい順を後ろに置いて上書き順を保つ）
   ================================================================ */
@media (max-width: 768px) {
  .bbook-grid { grid-template-columns: repeat(4, 1fr); }
}

.bonus-book-container {
  width: 100%;
  margin: 0 auto;
}


/* ================================================================
   Problemセクション
   ================================================================ */

.list-box {
  display: flex;
  flex-direction: column;
  max-width: 440px;
  /* width: 60%; */
  padding: var(--spacing-xs);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.5;
  gap: 0.8em;
}


.b1__inner {
  max-width: 760px;
  margin: 0 auto;
}
.b1__head {
  text-align: center;
  color: #142a6e;
  /* font-size: 38px; */
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .01em;
}
.b1__q { color: #142a6e; }
.b1__hl {
  color: #2487ff;
  font-size: 1.32em;
  margin: 0 .04em;
}
.b1__sub {
  text-align: center;
  color: #15336f;
  font-size: 23px;
  font-weight: 800;
  margin-top: 14px;
}
.b1__photo {
  /* margin: 30px auto 0; */
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20, 60, 140, .14);
}
.b1__photo img { width: 100%; height: auto; display: block; }

/* .b1 .checklist { margin-top: 32px; } */

.b1__great {
  /* text-align: center; */
  /* margin: 30px auto 0; */
  /* display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px; */
}
.b1__great .dots { color: #2487ff; font-size: 30px; font-weight: 900; }
.b1__great-t {
  color: #2487ff;
  font-size: 32px;
  font-weight: 700;
}
.b1__great .b1__dash {
  width: 70px;
  height: 0;
  border-top: 2px dashed #2487ff;
  margin-left: 6px;
}
.b1__ask {
  text-align: center;
  margin: 18px auto 0;
  font-size: 20px;
  font-weight: 800;
  color: #2b2f36;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2487ff;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  flex: none;
}
.b1__box {
  margin: 24px auto 0;
  max-width: 720px;
  background: linear-gradient(180deg, #18336f, #122a5e);
  border-radius: 16px;
  padding: 8px 26px;
  box-shadow: 0 12px 26px rgba(18, 42, 94, .25);
}
.b1__box-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}
.b1__box-row + .b1__box-row { border-top: 1px solid rgba(255, 255, 255, .16); }
.b1__ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.b1__box-row p {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}
.b1__box-row mark {
  background: none;
  color: #ffe14d;
  font-weight: 400;
}

/*==================================================*/
/* Solutionセクション */
/*==================================================*/

.photo-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20, 60, 140, .16);
  /* margin: 26px auto; */
  margin-left: auto;
  margin-right: auto;
}
.photo-frame img { width: 100%; height: auto; display: block; }

/* たまごっち vs comparison (body04) */
.compare {
  position: relative;
  display: flex;
  background: #eef2f8;
  border-radius: 14px;
  padding: var(--spacing-xs) 0;
  /* margin: 24px auto; */
  margin-left: auto;
  margin-right: auto;
}
.compare__col { flex: 1 1 0; min-width: 0; padding: 0 var(--spacing-xs); }
.compare__col + .compare__col { border-left: 1px solid #cdd6e6; }
.compare__head {
  text-align: center; color: #fff; font-weight: 800; font-size: var(--font-size-xs);
  border-radius: 8px; padding: 8px 6px; margin-bottom: 14px;
}
.compare__head--gray { background: #7a8595; }
.compare__head--blue { background: #1a55d4; }
.compare__lap { width: 78%; max-width: 300px; margin: var(--spacing-xs) auto; display: block; border-radius: 6px; }
.xc-list { display: flex; flex-direction: column; gap: 10px; }
.xc-list li {
  position: relative; padding-left: 28px;
  font-size: var(--font-size-base); font-weight: 700; color: #3b4350; line-height: 1.4;
}
.xc-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 20px;
}
.xc-list--x li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%238793a3'/%3E%3Cpath stroke='%23fff' stroke-width='2.4' stroke-linecap='round' d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E");
}
.xc-list--ok li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232487ff'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}
.compare__vs {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 12px rgba(20,40,90,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #8793a3; z-index: 2;
}

/*==================================================*/
/* Studyセクション */
/*==================================================*/

#study {
  /* background: linear-gradient(90deg, rgba(18, 195, 141, 1) 0%, rgba(4, 129, 95, 1) 100%); */
  /* background: linear-gradient(90deg, rgb(111, 174, 246) 0%, rgb(12, 97, 209) 100%); */
  /* max-width: 900px; */
  margin: 0 auto;
}

#study .inner {
  /* max-width: 1000px; */
  /* background: linear-gradient(90deg, rgb(111, 174, 246) 0%, rgb(12, 97, 209) 100%); */
  /* padding: var(--spacing-sm); */
}

#study .title {
  color: white;
  margin-bottom: 0;
  /* line-height: 1.3; */
  /* font-size: var(--font-size-lg); */
  /* padding-bottom: 4px; */
}

#study .summary_title {
  color: white;
  /* margin-bottom: 32px; */
  text-align: center;
  font-size: var(--font-size-sm);
  display: flex;
  /* align-items: center; */
  justify-content: center;
  line-height: 1.3;
}

.study_box {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 4px;
  background-color: var(--white);
  gap: 20px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  /* margin-bottom: 50px; */
}

.study_box li {
  border-bottom: solid 1px #ccc;
  padding-bottom: 20px;
  /* margin-bottom: 8px; */
  display: flex;
  align-items: flex-start;
  /* gap: 10px; */
  /* margin-bottom: 8px; */
  text-align: justify;
}

.study_box li strong {
  display: inline-block;
  /* font-size: var(--font-size-sm); */
  line-height: 1.5;
  padding-bottom: 0.3em;
  font-weight: 800;
}

.study_box li span{
  display: inline-block;
  max-width: calc(100% - 2em);
  padding-right: 1.5em;
}

.study_box li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

.study_box img {
  width: var(--font-size-sm);
  height: auto;
  padding: 0.3em 0;
}

.tri_white {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 100px solid transparent;
  border-left: 100px solid transparent;
  border-top: 30px solid #ffffff;
  border-bottom: 0;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .study_box {
    padding: 20px 12px;
  }
  /* .tri_white {
    border-right: 250px solid transparent;
    border-left: 250px solid transparent;
  } */

  .study_box li {
    gap: 8px;
  }
  
  /* .study_box img{
      width: 20px;
      height: auto;
      padding: 5px 0;
  } */
  /* .study_box img {
  width: 16px;
  height: auto;
  padding: 4px 0;
} */
}


/*==================================================*/
/* CTAボタン */
/*==================================================*/

/* ---------- BOTTOM : セミナー名 + CTA ---------- */
.cta-container {
  text-align: center;
  /* margin-top: clamp(14px, 2vw, 26px); */
  /* background-color: white; */
}
.seminar__catch {
  font-size: clamp(16px, 2.5vw, 30px);
  font-weight: 900;
}
.seminar__title {
  font-size: clamp(24px, 7.059vw + 1.412px, 72px);
  font-weight: 900;
  line-height: 1.15;
  margin-top: .1em;
}
.seminar__title b { font-weight: 900; }

.seminar__title-small {
  font-size: clamp(18px, 2.647vw + 9.529px, 36px);
}

.seminar__title-break {
  display: none;
}

/* オレンジ CTA ボタン（コード化） */
.cta {
  display: inline-flex;
  width: 90%;
  /* display: block; */
  align-items: center;
  justify-content: center;
  /* gap: .15em; */
  /* flex: 0 1 auto; */
  padding: clamp(16px, 1.9vw, 26px) clamp(26px, 3.4vw, 52px);
  border-radius: 16px;
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 900;
  color: #fff;
  letter-spacing: .02em;
  background: linear-gradient(180deg, var(--orange-1) 0%, var(--orange-2) 100%);
  border: 3px solid var(--orange-br);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.45),
    0 10px 0 #c94800,
    0 16px 26px rgba(201,72,0,.35);
  text-shadow: 0 2px 2px rgba(150,50,0,.45);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
  margin-bottom: 10px;
  /* margin-left: auto;
  margin-right: auto; */
}
.cta:hover { filter: brightness(1.05); }
.cta:active {
  transform: translateY(6px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.45),
    0 4px 0 #c94800,
    0 8px 14px rgba(201,72,0,.35);
}
.cta__chev { font-size: 1.05em; line-height: 1; margin-left: .1em; }

/* =========================================================
   APPLY FORM
   ========================================================= */
.apply__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px) 0;
  background-color: white;
}

.apply {
  max-width: 720px;
  margin: clamp(28px, 5vw, 60px) auto 0;
  padding: clamp(22px, 3vw, 40px) clamp(18px, 3vw, 44px);
  background: #fff;
  border: 2px solid #d8e6fa;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(21,36,107,.10);
  content-visibility: auto;
  contain-intrinsic-size: 480px;
}
.apply__title {
  text-align: center;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
  color: var(--navy);
}
.apply__title b { color: var(--blue); }
.apply__note {
  text-align: center;
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(13px, 1.8vw, 16px);
  margin-top: 6px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: clamp(18px, 3vw, 30px);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label {
  font-weight: 900;
  font-size: 15px;
  color: var(--navy);
}
.field > label::after {
  content: "必須";
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #e8543a;
  border-radius: 4px;
  vertical-align: 2px;
}
.field input {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;          /* iOS のズーム抑止 */
  font-weight: 700;
  border: 2px solid #c7d6ec;
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #aab4c4; font-weight: 500; }
.field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,111,224,.16);
  outline: none;
}
.field.is-error input { border-color: #e8543a; box-shadow: 0 0 0 3px rgba(232,84,58,.14); }
.field__err {
  color: #d8412a;
  font-size: 13px;
  font-weight: 700;
}
.cta--form {
  width: 100%;
  margin-top: 6px;
  border-radius: 14px;
}
.apply__success {
  margin-top: 20px;
  padding: 22px;
  text-align: center;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 700;
  color: #14633a;
  line-height: 1.7;
  background: #e9f9ef;
  border: 2px solid #b7e6c8;
  border-radius: 14px;
}

/*==================================================*/
/* セミナー日程（カレンダー） */
/*==================================================*/
/*============================
cta
=====================*/

#form.sec_pad {
  padding: 0px 0;
}
.cta_top_text {
  text-align: center;
  font-weight: bold;
  font-size: clamp(1.25rem, 0.707rem + 2.32vw, 1.75rem);
  margin-bottom: 12px;
  text-shadow: 0 0 5px #000;
}
.cta_top_text span {
  margin-top: 8px;
  border-bottom: solid 2px var(--yellow);
}
.cta_btn {
  animation: updown 2s infinite ease-in-out;
  max-width: 620px;
  margin: 0 auto;
}
@keyframes updown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}


.cta_container {
  text-align: center;
  color: white;
  margin-top: 2rem;
}
.cta_container .top {
  font-weight: bold;
  font-size: min(6vw, 38px);
}
.cta_container .mini, .button + .mini {
  margin-top: 8px;
}
.cta_container .mini span, .button + .mini {
  font-size: 80%;
}
.button + .mini {
  text-align: center;
}
.form-title {
    background-color: #0560bc;
    color: white;
    /* padding: 8px 16px; */
    padding: var(--spacing-xs);
    margin: 0 auto;
    border-radius: 4px;
    /* font-size: clamp(1.25rem, 0.977rem + 1.36vw, 2rem); */
    font-size: var(--font-size-md);
    text-align: center;
}
.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 30px solid transparent;
  border-left: 30px solid transparent;
  border-top: 20px solid #0560bc;
  border-bottom: 0;
  margin:0 auto 32px;
}




.calendar-container {
  width: 100%;

  box-sizing: border-box;
	    max-width: 1000px;
    margin: 0 auto;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: linear-gradient(90deg, rgba(35, 51, 187, 1) 0%, rgba(0, 8, 97, 1) 100%);
  color: var(--white);
  padding: 8px;
}
.month-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  flex-grow: 1;
}
.subtitle {
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
}
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* 重要: 列幅を固定 */
}
.calendar-table th {
  background-color: #444;
  color: white;
  padding: 10px;
  text-align: center;
  width: 14.28%; /* 均等に分割 */
}
.calendar-table th.saturday {
  background-color: #3366CC !important;
  color: #fff !important
}
.calendar-table th.sunday {
  background-color: #CC3333 !important;
  color: #fff !important
}
.calendar-table td {
  border: 1px solid #ddd;
  padding: 5px;
  height: 80px;
  width: 14.28%; /* 均等に分割 */
  vertical-align: top;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}
.calendar-table td.saturday {
  background-color: #E6F0FF;
}
.calendar-table td.sunday, .calendar-table td.holiday {
  background-color: #FFEBEB;
}
.date-number {
  font-size: 16px; /* 固定サイズ */
  font-weight: bold;
  padding: 5px;
  position: relative;
}
.today-mark {
  font-size: 10px;
  font-weight: normal;
  color: #FF9900;
  text-align: center;
  display: block;
  margin-top: 2px;
}
/* 曜日ごとの色分け */
.weekday {
  color: #000;
}
.saturday {
  color: #3366CC !important;
}
.sunday, .holiday {
  color: #CC3333 !important;
}
/* 予約可能日 */
.available {
  background-color: #FF9900;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 5px;
  margin-bottom: 5px;
  border-radius: 5px;
  padding: 5px 0;
}
.available:hover {
  background-color: #FF8000;
}
/* 予約可能時間帯 */
.time-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px;
  font-weight: bold;
}
.time-badge {
  color: white;
  font-weight: bold;
  margin-bottom: 2px;
}
.time-text {
  font-size: 12px;
  white-space: normal; /* 必要に応じて改行 */
  word-break: break-all;
  color: white;
}
/* 予約不可日 */
.unavailable {
  background-color: #f0f0f0;
  opacity: 0.8;
  margin-top: 5px;
  margin-bottom: 5px;
}
.unavailable .date-number {
  color: #999;
}
.unavailable .time-slot {
  color: #999;
}
/* 選択中の日付 */
.today {
  border: 2px solid #FF9900;
  background-color: #FFF8E1;
}
.cross-mark {
  font-size: 24px;
  color: #ccc;
}
/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .calendar-table {
    font-size: 14px;
  }
  .calendar-table td {
    height: 70px;
    padding: 2px;
  }
  .time-badge {
    font-size: 12px;
  }
  .time-text {
    font-size: 10px;
  }
}
@media screen and (max-width: 480px) {

  .calendar-table {
    font-size: 12px;
  }
  .date-number {
    font-size: 14px;
    padding: 2px;
  }
  .calendar-table td {
    height: 60px;
    padding: 1px;
  }
  .time-badge {
    width: 18px;
    height: 18px;
    font-size: 10px;
    margin-bottom: 2px;
  }
  .time-text {
    font-size: 9px;
  }
}
.seminar-detail-container {
  background: #e6e6e6;
  background: linear-gradient(0deg, rgba(230, 230, 230, 1) 0%, rgba(242, 242, 242, 1) 15%, rgba(248, 248, 248, 1) 45%, rgba(250, 250, 250, 1) 100%);
  border-radius: 12px;
  box-shadow: 0 0 12px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.seminar-detail-container h2 {
  text-align: center;
  padding: 16px;
  font-size: min(5vw, 28px);
  background: #9E9C9C;
  background: linear-gradient(0deg, rgba(158, 156, 156, 1) 0%, rgba(208, 208, 208, 1) 15%, rgba(234, 234, 234, 1) 45%, rgba(255, 255, 255, 1) 100%);
}
.tri-down {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 40px solid transparent;
  border-left: 40px solid transparent;
  border-top: 20px solid #9E9C9C;
  border-bottom: 0;
  margin: 0 auto 16px;
  display: block;
}
.seminar-detail {
  padding: 0 16px 16px;
  font-size: min(4.8vw, 24px);
}
.seminar-detail li {
  position: relative;
  padding-left: 1.6rem;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: dotted 1px
}
.seminar-detail li:last-child {
  margin-bottom: 0;
}
.seminar-detail li strong {
  color: var(--red);
}
.seminar-detail li::before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 4px;
  background: center / contain url("https://startai-seminar.com/ln/zrig/common/images/icon_check_gray.png") no-repeat;
}
@media (min-width:768px) {
  .seminar-detail {
    padding: 0 28px 28px;
  }
  .seminar-detail li {
    padding-left: 2.4rem;
  }
  .seminar-detail li::before {
    width: 24px;
    height: 24px;
    top: 6px;
  }
}
/******関根さんFV用CSS******/
.fv-list {
  background: center/ cover url("../images/img02-bg.png") no-repeat;
  padding: 28px 0 72px;
  position: relative;
}
.fv-list::before {
  content: "";
  height: 171px;
  width: 309px;
  position: absolute;
  bottom: -16px;
  right: 12px;
  background: center / contain url("../images/img02-hajime-sp.png") no-repeat;
  z-index: 10;
}
.fv-list ol {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fv-list ol li {
  background-color: var(--white);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
  text-align: center;
  width: calc(50% - 8px);
}
.fv-list ol li .number {
  font-weight: bold;
  font-size: min(7vw, 26px);
  position: relative;
}
.fv-list ol li .number span {
  background-color: var(--white);
  padding: 0px 1rem;
  position: relative;
  color: #79a0d1;
}
.fv-list ol li .number::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #102542;
  display: block;
}
.fv-list ol li p {
  font-weight: bold;
  color: #102542;
  margin: 0px auto 12px;
}
.fv-list-img {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  width: 85%;
  max-width: 360px;
}
.fv-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.toppa {
  background: center / cover url("../images/toppa_bg.png") no-repeat;
  padding: 52px 0px 28px;
  text-align: center;
}
@media (min-width:600px) {
  .fv-list {
    padding: 28px 0 104px;
  }
  .fv-list .title {
    margin-bottom: 28px;
  }
  .fv-list ol li {
    background-color: var(--white);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
    width: calc(33% - 12px);
    margin-bottom: 0px;
  }
}
@media (min-width:1024px) {
  .fv-list::before {
    height: 212px;
    width: 400px;
    bottom: -50px;
    right: -100px;
  }
}
:root {
--main-color: #0a4095;
--button-color: #de2f00;
--accent-color: #e7d8b8;
--sunday-color: #d32f2f;
--saturday-color: #1976d2;
--disabled-color: #cccccc;
--bg-light: #f5f5f5;
}

.form-section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 24px;
}
.section-title {
    font-size: 19px;
    font-weight: bold;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--main-color);
}
.calendar-wrapper {
    margin-bottom: 32px;
}
.month-header {
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 16px;
    text-align: center;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 4px;
}
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 2px solid #333;
    margin-bottom: 24px;
}
.calendar-day-header {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 4px;
    background: var(--bg-light);
    border-right: 1px solid #999;
    border-bottom: 2px solid #333;
}
.calendar-day-header:last-child {
    border-right: none;
}
.calendar-day-header.sunday {
    color: var(--sunday-color);
    background: #ffebee;
}
.calendar-day-header.saturday {
    color: var(--saturday-color);
    background: #e3f2fd;
}
.calendar-cell {
    min-height: 120px;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: 8px;
    background: #fff;
    position: relative;
}
.calendar-cell:nth-child(7n) {
    border-right: none;
}
.calendar-cell.empty {
    background: #fafafa;
}
.calendar-cell.disabled {
    background: #f5f5f5;
    opacity: 0.6;
}
.date-number {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
}
.date-number.sunday {
    color: var(--sunday-color);
}
.date-number.saturday {
    color: var(--saturday-color);
}
.time-slots {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}
.time-slot {
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
    white-space: pre-line;
}
.time-slot:hover:not(:disabled) {
    /* background: #007774; */
    background: var(--button-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.time-slot:active:not(:disabled) {
    transform: translateY(0);
}
.time-slot.selected {
    background: var(--button-color);
    box-shadow: 0 0 0 3px rgba(222, 47, 0, 0.3);
}
.time-slot:disabled {
    background: var(--disabled-color);
    cursor: not-allowed;
    color: #666;
}
.time-slot.closed::after {
    content: '受付終了';
    display: block;
    font-size: 11px;
    margin-top: 4px;
}
/* 既存フォーム部分 */
.original-form {
    display: none;
}
.form-content {
    margin-bottom: 20px;
}
.form_index {

    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    text-align: left;
}
.label {
    background: var(--button-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
}
.form-control {
    width: 100%;
    padding: 12px;

    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: var(--main-color);
}
.form_flex {
    display: flex;
    gap: 12px;
}
.form_name {
    flex: 1;
}
.bar {
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}
.error-message {
    color: var(--button-color);
    font-size: 14px;
    margin-top: 4px;
    display: none;
}
.button {
    text-align: center;
    margin-top: 32px;
}

.btn {
    /* background: var(--button-color); */
    /* background: #fc5426; */
    background: #ffbca9;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px 48px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 300px;
    /* box-shadow: 0 8px 0 0 #70210c; */
    box-shadow: 0 8px 0 0 #962600;
}
@media (min-width:768px){
.btn{
font-size:26px;
padding:20px;
}
.bar {
    margin: 32px 0;
}
.button{
margin-top:60px;
}
.form_index{
margin-bottom:4px;
}
}
.btn:hover {
    /* background: #fc5426; */
    background: var(--button-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.btn:active {
    transform: translateY(0);
}
.selected-schedule {
    /* background: #e85607; */
    border: solid 2px black;
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #d21111;
    display: none;
}
.selected-schedule.show {
    display: block;
}
.loading {
    text-align: center;
    padding: 40px;
    color: var(--main-color);
    font-size: 18px;
}
.error {
    text-align: center;
    padding: 40px;
    color: var(--button-color);
    font-size: 16px;
}

  /* レスポンシブ */
  /* @media (max-width: 767spx) { */
  @media (max-width: 767px) {
.calendar-cell {
min-height: 100px;
padding: 6px;
}
.date-number {
font-size: 16px;
margin-bottom: 6px;
}
.time-slot {
padding: 8px 4px;
font-size: 12px;
}
.month-header {
font-size: 20px;
}
.calendar-day-header {
font-size: 14px;
padding: 10px 4px;
}
.form_flex {
flex-direction: column;
}
.btn {
min-width: 100%;
padding: 16px 24px;
}
}

@media (max-width: 480px) {

.calendar-cell {
    min-height: 90px;
    padding: 4px;
}
.calendar-day-header {
    font-size: 12px;
    padding: 8px 2px;
}
.date-number {
    font-size: 14px;
}
.time-slot {
    font-size: 11px;
    padding: 6px 2px;
}
.month-header {
    font-size: 18px;
}
}
.calendar-cell.no-schedule-week {
  min-height: 40px;
  max-height: 60px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .calendar-cell.no-schedule-week {
    min-height: 35px;
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .calendar-cell.no-schedule-week {
    min-height: 30px;
    max-height: 45px;
  }
}



/*==================================================*/
/* セミナースケジュール */
/*==================================================*/
#seminar_schedule {
  background-color: var(--gray-light);
  /* max-width: 900px; */
  max-width: 1000px;
  margin: 0 auto;
}
.calendar {
  background-color: white;
  width: 100%;
  max-width: 850px; /* カレンダー全体の最大幅を設定 */
  margin: 0 auto; /* カレンダーを中央に配置 */
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.15);
}
.month {
  text-align: center;
  /* margin-bottom: 8px; */
  margin-bottom: 12px;
}
.month-name {
  font-size: 24px;
  font-weight: bold;
}
span.month-name {
  color: #ffa400
}
.weekdays {
  background-color: #f1f1f1
}
.weekdays, .days {
  display: flex; /* 子要素を横並びに配置 */
  flex-wrap: wrap; /* 子要素が折り返すように設定 */
}
.day {
  text-align: center;
  padding: 4px 0 0;
  border: 1px solid #ddd; /* 境界線 */
  -ms-flex-preferred-size: 14.285%; /* IE対応のflex-basis */
  flex-basis: 14.285%; /* 各セルの幅を全体の1/7に設定 */
  max-width: 14.285%; /* 最大幅を全体の1/7に設定 */
  box-sizing: border-box; /* パディングとボーダーを含めて幅を計算 */
}
.blue_calendar {
  color: #0000ff; /* 青文字 */
  background-color: #e6f7ff; /* 薄い青背景 */
}
.red_calendar {
  color: #ff0000; /* 赤文字 */
  background-color: #ffe6e6; /* 薄い赤背景 */
}
/* 追加された要素のスタイル */
.event {
  background-color: #ffcc00; /* 背景色を設定 */
  padding: 4px 2px;
  margin-top: 2px;
  width: 100%; /* イベントの幅を親要素に合わせる */
  box-sizing: border-box; /* パディングとボーダーを含めて幅を計算 */
}
/* .event:hover {
  background-color: #ffe066;
  cursor: pointer;
} */
.event-type {
  font-size: 14px;
  font-weight: bold;
}
.event-time {
  font-size: 10px;
  margin: 5px 0;
}
.event-join {
  background-color: white; /* ボタンの背景色を白に設定 */
  border: none;
  border-radius: 50vh;
  padding: 2px 2px;
  color: #e69500; /* ボタンの文字色をオレンジ色に近づけた色に設定 */
  font-weight: bold;
  transition: background-color 0.3s ease; /* ボタンの背景色変更にトランジションを追加 */
  width: 90%;
  font-size: 12px
}
.event a {
  text-decoration: none;
  color: inherit; /* aタグ内の文字色を親要素に従う */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event a:hover .event-join {
  background-color: #fff2cc; /* hover時のボタン背景色を変更 */
}
.event_end {
  background-color: #888888; /* 明るめの灰色の背景色 */
  padding: 4px 2px;
  margin-top: 2px;
  width: 100%;
  box-sizing: border-box;
  color: white; /* テキストを白に設定 */
  cursor: default; /* カーソルをデフォルトに設定（pointerにならないように） */
}
.event_end a {
  cursor: default;
}
.event_end .event-join {
  background-color: #666666; /* 少し濃い灰色の背景色 */
  border: none;
  border-radius: 50vh;
  padding: 2px 2px;
  color: white; /* ボタンの文字色も白に設定 */
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 90%;
  font-size: 12px;
  cursor: default; /* ボタン上でもカーソルをデフォルトに設定 */
}
.event_end .event-join:hover {
  background-color: #666666; /* hover時の背景色を変えないように設定 */
}
@media (min-width:768px) {
  .month {
    /* margin-bottom: 12px; */
    margin-bottom: 20px;
  }
  .month-name {
    font-size: 32px;
  }
  .day {
    padding: 4px;
  }
  .event {
    padding: 4px 2px;
  }
  .event-type {
    font-size: 22px;
  }
  .event-time {
    font-size: 16px;
  }
  .event-join {
    font-size: 16px
  }
  .event_end .event-join {
    font-size: 16px;
  }
}
/*==========
boxタイプ
==================*/
.sche_bg {
  background-color: #e9eff2;
  border-radius: 4px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.month {
  /* background: rgb(35, 51, 187); */
  /* background: linear-gradient(90deg, rgba(35, 51, 187, 1) 0%, rgba(0, 8, 97, 1) 100%); */
  background: linear-gradient(90deg, rgba(18, 195, 141, 1) 0%, rgba(4, 129, 95, 1) 100%);
  color: var(--white);
  padding: 8px;
}
span.month-name {
  color: var(--white);
}
.sche_inner {
  padding: 16px;
}
.sche_box {
  background-color: var(--white);
  border-radius: 4px;
  font-size-adjust: 12px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 12px 12px 20px;
  border: solid 2px var(--gray-light);
  margin-right:12px;
  margin-left:12px;
  margin-bottom: 12px;
}
.sche_day {
  font-weight: bold;
  padding-bottom: 8px;
  border-bottom: solid 1px var(--gray-light);
}
.sche_place {
  padding: 8px 0;
  border-bottom: solid 1px var(--gray-light);
}
.sche_price {
  margin-bottom: 8px;
  padding-top: 8px;
}
.scroll_btn {
  width: 100%;
  /* background-color: #1eac06; */
  background-color: #006bd4;
  border-radius: 50vh;
  border: none;
  color: var(--white);
  /* font-weight: bold; */
  font-weight: 500;
  /* box-shadow: 0 5px 0 0 #084606; */
  margin: 0 auto;
}
.scroll_btn a {
  width: 100%;
  height: 100%;
  display: block;
  padding: 8px;
}
.scroll_btn.out{
background-color:#555;
box-shadow:none;
}
.scroll_btn:hover{
    filter: brightness(125%);
}
.scroll_btn.out:hover{
    filter: brightness(100%);
}

@media (min-width:650px) {
  .sche_inner {
    padding: 24px 40px;
  }
  .sche_box {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-right:20px;
    margin-left:20px;
    margin-bottom: 32px;
  }
  .sche_flexbox {
    border-right: solid 1px var(--gray);
    padding-right: 24px;
    margin-right: 24px;
    flex: 0 0 65%
  }
  .sche_price {
    margin-bottom: 0;
  }
  .scroll_btn {
    width: 200px;
  }
}


/*==================================================*/
/* フォーム */
/*==================================================*/
#form_area {
/* #form_area .inner { */
  background-color: var(--gray-light);
  /* max-width: 900px; */
  max-width: 1000px;
  margin: 0 auto;
}
#form_area.sec_pad{
padding-top:0;
}
.form_box {
  background-color: var(--white);
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
}
.form_index {
  font-size: 120%;
  font-weight: bold;
}
.form_index span {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 8px;
}
.form-content {
  text-align: left;
}
.form_index span {
  background: #c60e0e;
  padding: 0px 4px;
  color: var(--white);
  display: inline-block;
  margin-left: 8px;
  border-radius: 4px;
  font-weight: normal;
}
.form-control {
  width: 100%;
  padding: 8px;
  font-size: 16px;
}
#FormNameSei {
  margin-bottom: 4px;
}
.bar {
  content: "";
  background-color: var(--gray);
  display: block !important;
  margin: 20px auto;
  width: 100%;
  height: 1px;
}
.btn {
  width: 100%;
  /* background-color: #1eac06; */
  /* background-color: #006bd4; */
  /* background-color: var(--button-color); */
  background: #fc5426;
  border-radius: 50vh;
  border: none;
  color: var(--white);
  font-size: 22px;
  padding: 16px;
  font-weight: bold;
  /* box-shadow: 0 5px 0 0 #ee6f25; */
}
.btn:hover{
    cursor: pointer;
}

.btn-image {
  background: none; /* 背景を消す */
  border: none;     /* 枠線を消す */
  padding: 0;        /* 余白を消す */
  cursor: pointer;   /* マウスを乗せた時に指マークにする */
  display: block;
  margin: 0 auto;
}

.btn-image img {
  display: block;    /* 画像の下に隙間ができるのを防ぐ */
  width: 100%;
  /* max-width: 300px;   */
}

@media (min-width:768px) {
  .form_box {
    padding: 32px 40px;
  }
  .form_flex {
    display: flex;
    justify-content: space-between;
  }
  .form_name {
    width: 48%;
  }
  .form-control {
    padding: 16px;
    font-size: 18px;
  }
  .bar {
    margin: 28px auto;
  }
  .btn {
    font-size: 32px;
    padding: 20px;
  }
}
input:focus{
border: 2px solid #f14949;
outline:none;
box-shadow:0 0 5px 0 #f14949;
border-radius:4px;
}
    .error-message {
        color: var(--red);
        display: none;
    }
    .has-error {
        border-color: var(--red);
    }

.footer_table{
    background-color: white;
    color: #333;
    font-size: 14px;
    margin: 0 auto 20px;
    max-width: 650px;
}
.footer_table th,.footer_table td{
    padding: 8px;
    border: solid 1px;
}
.footer_table td{
    text-align: left;
}

/* ================================================================
   Targetセクション
   ================================================================ */
#target .title {
  width: fit-content;
  border-bottom: 4px solid var(--white);
  margin: 0 auto;
  padding-bottom: var(--spacing-xxs);
}

@media (min-width: 600px) {
  #target .title br {
    display: none;
  }
}

.target-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.target-list-box {
  /* border: solid 2px var(--color-line-box); */
  border-radius: 8px;
  padding: var(--spacing-xs);
  /* padding-right: 2em; */
}
.target-list-title {
  display: flex;
  gap: 8px;
  /* align-items: center; */
  align-items: flex-start;
}
.target-list-title-check {
  /* width: 40px; */
  width: clamp(24px, 3.03vw + 14.31px, 40px);
  /* height: 40px; */
  height: clamp(24px, 3.03vw + 14.31px, 40px);
  flex-shrink: 0;
  /* margin-top: 0.25em; */
}

.target-list-title-check img {
  width: 100%;
  height: auto;
  display: block;
}
.target-list-title-text {
  font-weight: 700;
  /* line-height: 40px; */
  line-height: clamp(24px, 3.03vw + 14.31px, 40px);
  padding-right: 1.7em;
}
.target-list-text {
  /* padding-left: 48px; */
  padding-left: clamp(24px + 8px, 3.03vw + 14.31px, 40px + 8px);
  padding-right: 1.7em;
}


/* ================================================================
   Bonus-detailセクション
   ================================================================ */
.bonus {
  background: linear-gradient(180deg, #eef5ff, #ffffff);
}
.bonus-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  /* max-width: 860px; */
  max-width: 1000px;
  margin: 0 auto;
}
.bonus-card-box {
  background: #fff;
  border-radius: 16px;
  /* padding: 28px 30px; */
  /* padding: var(--spacing-sm); */
  padding: 28px;
  box-shadow: 0 10px 26px rgba(20, 60, 140, .09);
}

@media (max-width: 600px) {
  .bonus-card-box {
    padding: 20px;
  }
}

.bonus-card {
  display: flex;
  align-items: start;
  gap: 22px;
}
.bonus-card__body { flex: 1 1 auto; min-width: 0; }
.bonus-flag {
  display: inline-block;
  background: #1a55d4;
  width: fit-content;
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 800;
  letter-spacing: .06em;
  padding: 6px 22px 6px 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%);
}

.bonus-card__title {
  /* margin-top: 14px; */
  /* color: #1a55d4; */
  font-size: var(--font-size-sm);
  font-weight: 800;
  line-height: 1.4;
}
.bonus-card__sub {
  margin-top: 4px;
  /* color: #1a55d4; */
  font-size: var(--font-size-xs);
  font-weight: 700;
  line-height: 1.5;
}
.bonus-card__desc {
  margin-top: 14px;
  color: #4a525e;
  /* font-size: 16px; */
  line-height: 1.8;
}
.bonus-card__cover {
  flex: none;
  width: 220px;
  margin: 0 auto;
}
.bonus-card__cover img {
  width: 100%;
  height: auto;
  display: block;
  /* filter: drop-shadow(0 10px 16px rgba(20, 40, 90, .22)); */
}
.bonus-foot {
  text-align: center;
  margin: 30px auto 0;
  max-width: 860px;
}
.cta-lead {
  /* color: #2d6ff5; */
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 700;
  font-size: var(--font-size-sm);
  /* display: inline-flex;
  align-items: center; */
  text-align: center;
  /* gap: 12px; */
  margin-bottom: 16px;
}
.bonus-foot__lead::before,
.bonus-foot__lead::after {
  content: "";
  width: 2px;
  height: 26px;
  background: #15336f;
}
.bonus-foot__lead::before { transform: rotate(-18deg); }
.bonus-foot__lead::after { transform: rotate(18deg); }


/* ==============================
   Profileセクション
   ============================== */
#profile {
  /* color: var(--white); */
}

#profile .title {
  margin-bottom: var(--spacing-sm);
  line-height: 1;
}
.profile-box {
  background-color: var(--white);
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-sm) ;
  border-radius: 8px;
}

.instructor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.instructor__img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  /* border: 1px solid var(--color-primary); */
  flex-shrink: 0;
}

@media (max-width:600px) {
  .instructor__img {
    width: 180px;
    height: 180px;
  }
}

.instructor__role {
  margin-bottom: 12px;
  color: var(--gold-light);
  text-align: center;
}
.instructor__name {
  font-weight: 900;
  /* margin-bottom: 4px; */
  /* color: var(--white); */
  font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
  text-align: center;
}
.instructor__bio {
  line-height: 1.9;
  /* color: rgba(255, 255, 255, .85); */
}
/* @media (min-width: 640px) {
  .instructor {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  .instructor__img {
    width: 140px;
    height: 140px;
  }
} */

/* ==========================================================================
   Reasonセクション
   ========================================================================== */

.title-under-line {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: solid 3px var(--black);
  margin: 0 auto;
}

/* ==========================================================================
   Two pathsセクション
   ========================================================================== */

.center-image {
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
}

/* ==========================================================================
   Q&Aセクション
   ========================================================================== */
/* .faq__container {
    margin-bottom: var(--spacing-lg);
} */
.faq__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    /* margin-bottom: var(--spacing-md); */
}

.faq__item {
    /* padding: 36px; */
    padding: clamp(20px, 3.77vw + 7.02px, 36px);
    border-radius: 4px;
    background-color: var(--white);
    box-shadow: 0 0 5px 0 var(--gray-light);
}

.question__container {
    display: flex;
    gap: 8px;
    padding-bottom: var(--spacing-xxs);
}

.question__icon {
    width: 24px;
    height: 30px;
    display: flex;          /* ★追加 */
    justify-content: center;/* ★追加 */
    align-items: center;    /* ★追加 */
    /* padding: 0 4px; */
    background: #007bff;
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.5;
    flex-shrink: 0;
}

.faq__spacer-line {
    height: 1px;
    background: var(--gray-light);
    margin-bottom: var(--spacing-xxs);
}

.answer__container {
    display: flex;
    gap: 8px;
    /* padding-bottom: var(--spacing-sm); */
}

.answer__icon {
    width: 24px;
    height: 30px;
    display: flex;          /* ★追加 */
    justify-content: center;/* ★追加 */
    align-items: center;    /* ★追加 */
    /* padding: 0 4px; */
    background: var(--orange-2);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.5;
    flex-shrink: 0;
}

.faq__item a {
  text-decoration: underline;
  color: #007bff;
}

/* .answer-annotation {
  font-size: var(--font-size-ss);
  padding-top: var(--spacer-ss);
} */

/* ================================================================
   Messageセクション
   ================================================================ */
.message-body-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 6px 1px rgba(0, 123, 255, 0.2);
}

.upper-micro-cta {
  text-align: center;
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: #0574eb;
}
.message-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 600px) {
  .message-inner {
    padding: 0 16px;
  }
}

.message-box {
  padding: var(--spacing-md);
  background-color: #dcd5ae;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px var(--gray-light);
}

.message-box .title,
.message-box .text {
  font-family: "Noto Serif JP", "MS Mincho", "MS PMincho", serif;
  /* font-weight: 700; */
}

.message-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  margin-left: auto;
  margin-right: auto;
}

.signature {
  text-align: end;
  font-style: italic;
  font-weight: 700;
}

.letter { background: linear-gradient(180deg, #f4f9ff, #ffffff); }
.letter-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fbf6ea, #f7f0df);
  border-radius: 14px;
  padding: 44px 44px 40px;
  box-shadow: 0 14px 30px rgba(20, 60, 140, .12);
}
.letter-card__photo {
  float: right;
  width: 230px;
  margin: 6px 0 16px 26px;
  transform: rotate(2.4deg);
  background: #fff;
  padding: 10px 10px 14px;
  box-shadow: 0 10px 22px rgba(20, 40, 90, .2);
}
.letter-card__photo::before {
  content: "";
  position: absolute;
  width: 96px;
  height: 26px;
  background: rgba(150, 180, 220, .45);
  transform: translate(70px, -20px) rotate(3deg);
}
.letter-card__photo img { width: 100%; height: auto; display: block; }
.letter-card .para { font-size: 16px; line-height: 1.95; }
.lt-b { color: #1a55d4; font-weight: 800; }
.letter-card__sign {
  clear: both;
  text-align: right;
  margin-top: 18px;
}
.letter-card__sign img {
  width: 200px;
  max-width: 60%;
  height: auto;
  display: inline-block;
}

/* 12教材 gift grid */
.gift-box {
  background: linear-gradient(180deg, #d9e9ff, #eaf2ff);
  border-radius: 18px;
  padding: 34px 30px 36px;
  margin: 30px auto 0;
  max-width: 860px;
  text-align: center;
}
.gift-box__lead {
  color: #15336f;
  font-size: 24px;
  font-weight: 800;
}
.gift-box__lead span { color: #1a55d4; font-size: 1.2em; }
.gift-box__cap {
  color: #4a6aa8;
  font-size: 16px;
  font-weight: 700;
  margin-top: 6px;
}
.gift-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 22px auto 26px;
}
.gift-grid__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  filter: drop-shadow(0 6px 12px rgba(20, 40, 90, .25));
}
.cta-btn .arrow--l svg { transform: scaleX(-1); }



/* ================================================
      FOOTER
    ================================================ */
footer {
  /* background: #1a5c52; */
  background-color: var(--color-primary);
  color: rgba(255,255,255,.75);
  padding: 48px 24px 48px;
}


@media (max-width: 600px) {
  .footer {
    padding: 36px 24px 28px;
  }
}

.footer-logo {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-align: center;
}

.footer-info {
  font-size: 12px;
  line-height: 2;
  text-align: center;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 12px;
  transition: color .15s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.35);
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 16px;
}

.company-address {
  padding-bottom: 12px;
}

.president-name {
  padding-bottom: 12px;
}

/*====================
popup
===================*/
/* ポップアップの基本スタイル */
        .exit-popup {
            position: fixed;
            top: -100%;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            max-width: 400px;
            text-align: center;
            border-radius: 10px;
            display: none;
            z-index: 1005;
        }
        /* ポップアップのスライドイン */
	@keyframes slideIn {
	    from {
	        top: -100%;
	    }
	    to {
	        top: 30%;
	    }
	} 


	/* pop_kurisu と pop_huki のスライドアップアニメーション */
	@keyframes popSlideUp {
 	   from {
 	       transform: translateX(-50%) translateY(40px);
 	   }
 	   to {
 	       transform: translateX(-50%) translateY(0);
 	   }
	}
	/* pop_huki のブルブル震えアニメーション */
	@keyframes shakeRotate {
    0% { transform: translateX(-50%) scale(1.1) rotate(0deg); }
    10% { transform: translateX(-50%) scale(1.1) rotate(3deg); }
    20% { transform: translateX(-50%) scale(1.1) rotate(-3deg); }
    30% { transform: translateX(-50%) scale(1.1) rotate(2deg); }
    40% { transform: translateX(-50%) scale(1.1) rotate(-2deg); }
    50% { transform: translateX(-50%) scale(1.1) rotate(1deg); }
    60% { transform: translateX(-50%) scale(1.1) rotate(-1deg); }
    70% { transform: translateX(-50%) scale(1.1) rotate(0deg); }
    80%, 100% { transform: translateX(-50%) scale(1); }
}

       /* 背景のオーバーレイ */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            z-index:1001;
        }
        /* 閉じるボタン */
        .close-btn {
            margin-top: 10px;
            padding: 10px 15px;
            background-color: #555;
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 5px;
        }


/* 画像をまとめるコンテナ */
.popup-container {
    position: relative;
    display: inline-block;
}

/* 基本のポップアップ画像（最下層） */
.popup-container img:first-child {
    width: 100%;
    display: block;
    position:relative;
    z-index:1001;
}

/* pop_kurisu と pop_huki の基本スタイル */
.pop-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(50px);

}

/* pop_kurisu の配置 */
.pop-kurisu {
    top: -27vw;
    z-index: 2;
    max-width: 200px;
    left: 70%;
    width: 40%;
    animation: popSlideUp 0.4s ease-out forwards;
    animation-delay: 0.3s;
}

/* pop_huki の配置 */
.pop-huki {
    top: -27vw;
    z-index: 1;
    max-width: 160px;
    width: 40%;
    left: 32%;
    animation: popSlideUp 0.4s ease-out forwards, shakeRotate 0.6s ease-in-out 1.0s 2;
}
@media (min-width:500px){
.pop-kurisu{
top:-34%;
}
.pop-huki {
    top: -38%;  /* popup.png の上端から少しはみ出す */
}

}

/* ================================================================
   Responsive — single column at 600px
   ================================================================ */
@media (max-width: 600px) {
  .lp { max-width: 100%; }

  /* ----- body01 ----- */
  .b1 { padding: 38px 16px 44px; }
  /* .b1__head { font-size: 25px; line-height: 1.34; } */
  .b1__sub { font-size: 18px; }
  .checklist li { font-size: 16px; padding-left: 38px; }
  .checklist li::before { width: 24px; height: 24px; background-size: 15px; }
  .b1__great .dots { font-size: 22px; }
  .b1__great-t { font-size: 23px; }
  .b1__great .b1__dash { width: 34px; }
  .b1__ask { font-size: 16px; gap: 8px; }
  .q-badge { width: 27px; height: 27px; font-size: 16px; }
  .b1__box { padding: 4px 16px; border-radius: 13px; }
  .b1__box-row { gap: 12px; padding: 16px 0; }
  .b1__ico { width: 38px; height: 38px; }
  .b1__ico svg { width: 18px; height: 18px; }
  .b1__box-row p { font-size: 15px; }

  .signup { padding: 34px 14px 40px; }
  .section-head__title { font-size: 21px; gap: 8px; }
  .section-head__title::before,
  .section-head__title::after { font-size: 13px; }

  .cal-wrap {
    flex-direction: column;
    gap: 26px;
    padding: 16px 14px;
    border-radius: 14px;
  }
  .cal + .cal {
    border-left: 0;
    border-top: 1px solid #e6edf8;
    padding-left: 0;
    padding-top: 24px;
  }
  .cal__head { font-size: 19px; }
  .cal__cell { font-size: 14px; }
  .cal__cell.pick button { width: 34px; height: 34px; }

  .form-card { padding: 24px 16px 30px; border-radius: 16px; }
  .form-card__title { font-size: 21px; }
  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }
  .err-msg { grid-column: 1 / 2; }
  .field { padding: 13px 14px; font-size: 16px; }

  .cta-btn { font-size: 19px; padding: 17px 20px; gap: 10px; }
  .note { font-size: 13px; }

  /* ----- shared narrative / sections ----- */
  .sec { padding: 36px 16px 40px; }
  .sub-head__s { font-size: 16px; }
  .sub-head__m { font-size: 22px; }
  .sec-head__sub { font-size: 20px; }
  .sec-head__main { font-size: 24px; }
  .sec-head__cap { font-size: 15px; }
  .lead { font-size: 15px; line-height: 1.8; }
  .para { font-size: 15px; line-height: 1.85; }
  .info-box { padding: 18px 16px; }
  .check-list li { font-size: 15px; padding-left: 34px; }
  .check-list li::before { width: 22px; height: 22px; background-size: 14px; }
  .dot-list li { font-size: 15px; }

  /* split → stack */
  .split, .split--mediaL { flex-direction: column; gap: 16px; }
  .split__media { width: 100%; max-width: 420px; margin: 0 auto; }

  /* navy / icon bands */
  .navy-band { flex-direction: column; text-align: center; gap: 12px; padding: 22px 18px; }
  .navy-band--full { margin: 0 -16px; padding: 28px 20px; }
  .navy-band p { font-size: 15px; }
  .navy-band__ico { width: 48px; height: 48px; }
  .icon-box { padding: 14px 16px; gap: 12px; }
  .icon-box p { font-size: 14px; }
  .pill-box { font-size: 16px; padding: 14px 16px; }
  .blue-band { font-size: 17px; padding: 20px 16px; }

  /* learn cards */
  .learn-card { padding: 20px 18px 22px; }
  .learn-card__h { font-size: 18px; gap: 10px; }
  .check-sq { width: 26px; height: 26px; }
  .check-sq::after { background-size: 17px; }
  .learn-card__b { font-size: 15px; line-height: 1.7; }

  /* target */
  .target-card { padding: 8px 18px; }
  .target-item { gap: 12px; padding: 18px 0; }
  .target-item__t { font-size: 16px; }
  .target-item__d { font-size: 13px; }
  .target-foot p { font-size: 16px; }

  /* compare (body04) */
  .compare { flex-direction: column; gap: 24px; }
  .compare__col + .compare__col { 
    border-left: 0; 
    border-top: 1px solid #cdd6e6; 
    padding-top: 24px;
    padding-left: 0;
    padding-right: 0;
    margin-left: 16px;
    margin-right: 16px;
  }
  .compare__vs { position: static; transform: none; margin: 0 auto; }

  /* warn box (body05) */
  .warn-icons { flex-direction: column; gap: 10px; }

  /* bonus cards (body10–13) */
  .bonus-card { flex-direction: column-reverse; text-align: center; gap: 16px; }
  .bonus-card__cover { width: 180px; }
  /* .bonus-flag { font-size: var(--font-size-sm); } */
  .bonus-card__title { font-size: 20px; }
  .bonus-card__sub { font-size: 15px; }
  .bonus-card__desc { font-size: 14px; line-height: 1.7; text-align: left; }
  .bonus-foot__lead { font-size: 18px; }

  /* profile (body14) */
  .profile__photo { width: 220px; }
  .profile__name b { font-size: 24px; }
  .profile__p { font-size: 15px; line-height: 1.85; padding: 16px 0; }

  /* offer box (body18) */
  .offer-box { padding: 24px 16px 26px; }
  .offer-box__lead { font-size: 18px; }

  /* FAQ (body19) */
  .faq-card { padding: 20px 18px 22px; }
  .faq-card__q { font-size: 17px; gap: 10px; }
  .faq-q { width: 32px; height: 32px; font-size: 15px; }
  .faq-card__body { flex-direction: column; gap: 14px; }
  .faq-card__img { width: 150px; margin: 0 auto; }
  .faq-card__a p { font-size: 14px; line-height: 1.8; }

  /* letter (body20) */
  .letter-card { padding: 26px 18px 28px; }
  .letter-card__photo { float: none; width: 200px; margin: 0 auto 18px; display: block; }
  .letter-card__photo::before { display: none; }
  .letter-card .para { font-size: 15px; }
  .letter-card__sign { text-align: center; }
  .gift-box { padding: 26px 16px 28px; }
  .gift-box__lead { font-size: 19px; }
  .gift-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  /* 特典タイトル一覧 (bonus_title) */
  .btitle { padding: 30px 14px 34px; }
  .btitle-grid { grid-template-columns: 1fr; gap: 12px; }
  .bt-badge { width: 56px; padding: 12px 0; }
  .bt-badge b { font-size: 21px; }
  .bt-ico { width: 44px; }
  .bt-ttl { font-size: 15px; padding: 12px 0; }

  /* 特典ブック (bonus_book) */
  /* .bbook { padding: 10px 14px 36px; } */
  .bbook-head { flex-direction: column; gap: 6px; }
  .bbook-head__dec--robot { width: 120px; order: -1; }
  .bbook-head__dec--gift { width: 100px; }
  .bbook-head__title { font-size: 23px; }
  .bbook-head__sub { font-size: 15px; }
  .bbook-head__sub::before,
  .bbook-head__sub::after { width: 22px; }
  .bbook-grid { grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
}

/* 小型スマホ：12教材グリッドを2列（6行）に */
@media (max-width: 430px) {
  .bbook-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; }
}