@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
:root {
  /* Primary */
  --primary: #9b003f;
  --primary-dark: #7C0F3E;
  --primary-light: #be004d;
  --mainnav-link-hover-color: #9b003f;
  /* アクセントカラー(クラス別テーマカラー) */
  --color-custom-1: #f5a100; /* オレンジ(2歳児クラス) */
  --color-custom-2: #7dc163; /* グリーン(幼児クラス) */
  --color-custom-3: #00b8e7; /* ブルー(小学生クラス) */
  --color-custom-1-light: #fcdba9; /* オレンジライト */
  --color-custom-2-light: #d7e6b2; /* グリーンライト */
  --color-custom-3-light: #bddae7; /* ブルーライト */
  /* 背景色 */
  --bg-white: #ffffff;
  --bg-custom-1: #a89c90;
  --bg-custom-2: #f2f1f0;
  /* テキストカラー */
  --text-color: #464344;
  /* グレースケール */
  --gray-dark: #111111;
  --gray-medium: #464344;
  --gray-base: #a0a0a0;
  --gray-light: #f2f1f0;
  /* 英字フォント */
  --num: 'Barlow', sans-serif;
  /*フォントサイズ*/
  --body-font-size: 17px;
  --heading-line-height: 1.4;
  --h1-font-size: 3rem;
  --h2-font-size: 2.2rem;
  --h3-font-size: 1.6rem;
  --h4-font-size: 1.2rem;
  --h5-font-size: 1rem;
  --h6-font-size: 1rem;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Zen Kaku Gothic New', "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  color: var(--text-color);
  height: 100%;
  -webkit-text-size-adjust: 100%;
  background: #FFF;
  scroll-behavior: smooth;
  position: relative;
  font-weight: 500;
  line-height: 2em;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:hover img {
  opacity: 0.8;
  -webk it-opacity: 0.8;
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
  /* IE lt 8 */
  -ms-filter: “alpha(opacity=80)”; /* IE 8 */
}
a img {
  -webkit-transition: opacity 0.2s ease-out;
  -moz-transition: opacity 0.2s ease-out;
  -ms-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;
}
h2, h3, h4, h5 {
  font-weight: 900;
}
/*ニュースフラッシュ　whole-link*/
.whole-link {
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.whole-link:hover {
  background-color: #fff;
  opacity: 0.4;
}
.mod-articlesnews-horizontal.newsflash-horiz.mod-list li {
  position: relative;
}
.newsflash-item {
  position: relative;
}
/**************************************
見出し
*************************************/
h1, h2, h3, h4, h5, h6 {
  font-family: unset;
  font-weight: 700;
}
.heading01 {
  text-align: center;
  position: relative;
  padding: 0;
  margin: 0 0 80px 0;
  font-size: 2.8rem !important;
  color: #374048;
}
.heading02 {
  position: relative;
  padding: 0;
  margin: 20px 0;
  color: #374048;
  font-size: 1.8rem !important;
  line-height: 1.6em;
}
.heading03 {
  position: relative;
  padding: 0 0 0 70px;
  margin: 50px 0;
  color: #374048;
  font-size: 1.8rem !important;
}
.heading03::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 4px;
  top: 20px;
  position: absolute;
  background-color: #374048;
  left: 0;
}
.heading04 {
  color: #374048;
  font-size: 24px;
  margin: 20px 0;
  padding: 0 0 0 40px;
  position: relative;
}
.heading04::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background-color: #EC2230;
  position: absolute;
  left: 0;
  top: 3px;
}
.heading05 {
  position: relative;
  font-size: 1.8rem !important;
  padding: 0 0 20px 0;
  margin: 0 0 20px 0;
  color: #374048;
}
.heading05:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #2E363D, #2E363D 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #2E363D, #2E363D 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
/* ===================================================
   汎用見出し（中央寄せ）
   =================================================== */
.section-title-main {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
}
.section-title-sub {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.6;
}
.p14 {
  font-size: 14px;
  line-height: 1.8em;
  margin: 0;
}
.p18 {
  font-size: 18px;
  line-height: 2.4em;
  margin: 0;
}
.p20 {
  font-size: 20px;
  line-height: 2.6em;
  margin: 0;
}
/* ===================================================
   レイアウト・インナー幅 汎用ユーティリティクラス
   =================================================== */
.w-contents {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
}
.img-full img {
  width: 100%;
  height: auto;
  display: block;
}
/* ===================================================
   Padding 汎用ユーティリティクラス (em指定)
   =================================================== */
/* --- 全方向 (pad-) --- */
.pad-05 { padding: 0.5em; }
.pad-10 { padding: 1em; }
.pad-15 { padding: 1.5em; }
.pad-20 { padding: 2em; }
.pad-25 { padding: 2.5em; }
.pad-30 { padding: 3em; }
.pad-40 { padding: 4em; }
.pad-50 { padding: 5em; }

/* --- 上下 (pad-y-) --- */
.pad-y-05 { padding-top: 0.5em; padding-bottom: 0.5em; }
.pad-y-10 { padding-top: 1em; padding-bottom: 1em; }
.pad-y-15 { padding-top: 1.5em; padding-bottom: 1.5em; }
.pad-y-20 { padding-top: 2em; padding-bottom: 2em; }
.pad-y-25 { padding-top: 2.5em; padding-bottom: 2.5em; }
.pad-y-30 { padding-top: 3em; padding-bottom: 3em; }
.pad-y-40 { padding-top: 4em; padding-bottom: 4em; }
.pad-y-50 { padding-top: 5em; padding-bottom: 5em; }

/* --- 左右 (pad-x-) --- */
.pad-x-05 { padding-left: 0.5em; padding-right: 0.5em; }
.pad-x-10 { padding-left: 1em; padding-right: 1em; }
.pad-x-15 { padding-left: 1.5em; padding-right: 1.5em; }
.pad-x-20 { padding-left: 2em; padding-right: 2em; }
.pad-x-25 { padding-left: 2.5em; padding-right: 2.5em; }
.pad-x-30 { padding-left: 3em; padding-right: 3em; }
.pad-x-40 { padding-left: 4em; padding-right: 4em; }
.pad-x-50 { padding-left: 5em; padding-right: 5em; }

/* --- 上だけ (pad-top-) --- */
.pad-top-05 { padding-top: 0.5em; }
.pad-top-10 { padding-top: 1em; }
.pad-top-15 { padding-top: 1.5em; }
.pad-top-20 { padding-top: 2em; }
.pad-top-25 { padding-top: 2.5em; }
.pad-top-30 { padding-top: 3em; }
.pad-top-40 { padding-top: 4em; }
.pad-top-50 { padding-top: 5em; }

/* --- 下だけ (pad-btm-) --- */
.pad-btm-05 { padding-bottom: 0.5em; }
.pad-btm-10 { padding-bottom: 1em; }
.pad-btm-15 { padding-bottom: 1.5em; }
.pad-btm-20 { padding-bottom: 2em; }
.pad-btm-25 { padding-bottom: 2.5em; }
.pad-btm-30 { padding-bottom: 3em; }
.pad-btm-40 { padding-bottom: 4em; }
.pad-btm-50 { padding-bottom: 5em; }

/* --- 右だけ (pad-right-) --- */
.pad-right-05 { padding-right: 0.5em; }
.pad-right-10 { padding-right: 1em; }
.pad-right-15 { padding-right: 1.5em; }
.pad-right-20 { padding-right: 2em; }
.pad-right-25 { padding-right: 2.5em; }
.pad-right-30 { padding-right: 3em; }
.pad-right-40 { padding-right: 4em; }
.pad-right-50 { padding-right: 5em; }

/* --- 左だけ (pad-left-) --- */
.pad-left-05 { padding-left: 0.5em; }
.pad-left-10 { padding-left: 1em; }
.pad-left-15 { padding-left: 1.5em; }
.pad-left-20 { padding-left: 2em; }
.pad-left-25 { padding-left: 2.5em; }
.pad-left-30 { padding-left: 3em; }
.pad-left-40 { padding-left: 4em; }
.pad-left-50 { padding-left: 5em; }

/* ===================================================
   幅指定 汎用ユーティリティクラス
   =================================================== */
.w-5 { width: 5%; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-95 { width: 95%; }
.w-100 { width: 100%; }

/*上部余白*/
.top0 { margin-top: 0 !important; }
.top10 { margin-top: 10px !important; }
.top20 { margin-top: 20px !important; }
.top30 { margin-top: 30px !important; }
.top40 { margin-top: 40px !important; }
.top50 { margin-top: 50px !important; }
.top60 { margin-top: 60px !important; }
.top70 { margin-top: 70px !important; }
.top80 { margin-top: 80px !important; }
.top90 { margin-top: 90px !important; }
.top100 { margin-top: 100px !important; }
.top110 { margin-top: 110px !important; }
.top120 { margin-top: 120px !important; }
.btm0 { margin-bottom: 0 !important; }

/* マージン・中央揃えの汎用クラス */
.m-auto {
  margin-left: auto;
  margin-right: auto;
}

/*汎用ボタン*/
.c-btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6em 1.5em;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.c-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.c-btn::after {
  font-family: FontAwesome;
  content: "\f054";
  font-size: 0.85em;
  margin-left: 1em;
  transition: transform 0.3s ease;
}

.c-btn:hover::after {
  transform: translateX(4px);
}

/* 1. 基本色ベタ塗り（テキスト白） */
.c-btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border: 2px solid var(--primary);
}

.c-btn-primary:hover, .c-btn-primary:focus, .c-btn-primary:active {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  color: #ffffff;
}

/* 2. 枠線var(--primary)で背景色は白 */
.c-btn-outline {
  background-color: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.c-btn-outline:hover, .c-btn-outline:focus, .c-btn-outline:active {
  background-color: var(--primary);
  color: #ffffff;
}

/* 3. 背景色白でテキストがvar(--primary)（枠線なし） */
.c-btn-white {
  background-color: #ffffff;
  color: var(--primary);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.c-btn-white:hover, .c-btn-white:focus, .c-btn-white:active {
  background-color: #f8f8f8;
  border-color: #f8f8f8;
  color: var(--primary);
}

/* 4. 基本色ベタ塗り（カスタムカラー1） */
.c-btn-custom1 {
  background-color: var(--color-custom-1);
  color: #ffffff;
  border: 2px solid var(--color-custom-1);
}

.c-btn-custom1:hover, .c-btn-custom1:focus, .c-btn-custom1:active {
  background-color: var(--color-custom-1-light);
  border-color: var(--color-custom-1-light);
  color: #ffffff;
}

/* 5. 基本色ベタ塗り（カスタムカラー2） */
.c-btn-custom2 {
  background-color: var(--color-custom-2);
  color: #ffffff;
  border: 2px solid var(--color-custom-2);
}

.c-btn-custom2:hover, .c-btn-custom2:focus, .c-btn-custom2:active {
  background-color: var(--color-custom-2-light);
  border-color: var(--color-custom-2-light);
  color: #ffffff;
}

/* 6. 基本色ベタ塗り（カスタムカラー3） */
.c-btn-custom3 {
  background-color: var(--color-custom-3);
  color: #ffffff;
  border: 2px solid var(--color-custom-3);
}

.c-btn-custom3:hover, .c-btn-custom3:focus, .c-btn-custom3:active {
  background-color: var(--color-custom-3-light);
  border-color: var(--color-custom-3-light);
  color: #ffffff;
}

/* 背景色クラス */
.bg-custom-1 { background-color: var(--color-custom-1); }
.bg-custom-2 { background-color: var(--color-custom-2); }
.bg-custom-3 { background-color: var(--color-custom-3); }

/* 汎用テキスト強調用 mark タグスタイル */
mark, .mark {
  padding: 0;
  color: var(--primary);
  background-color: transparent;
}

/* ===================================================
   Flexbox 汎用ユーティリティクラス
   =================================================== */
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }

.flex-row { flex-direction: row; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-column { flex-direction: column; }
.flex-column-reverse { flex-direction: column-reverse; }

.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

/* ===================================================
   Grid 汎用ユーティリティクラス
   =================================================== */
.g-grid {
  display: grid;
  gap: 20px;
}

.g-cols-1 { grid-template-columns: repeat(1, 1fr); }
.g-cols-2 { grid-template-columns: repeat(2, 1fr); }
.g-cols-3 { grid-template-columns: repeat(3, 1fr); }
.g-cols-4 { grid-template-columns: repeat(4, 1fr); }

.gap-xs { gap: 0.5rem; }
.gap-sm { gap: 1rem; }
.gap-md { gap: 2rem; }
.gap-lg { gap: 3rem; }
.gap-xl { gap: 4rem; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }

.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }

/*system-readmore「続きを読む」*/
#tinymce hr#system-readmore {
  background-color: #f473ab;
  border: medium none;
  height: 22px;
  text-align: center;
}
#tinymce hr#system-readmore::before {
  color: #fff;
  content: "▼続きを読む▼";
}
.inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
/*ヘッダー固定*/
#t4-header.t4-section.t4-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background-color: transparent;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}
.not-at-top #t4-header.t4-section.t4-header {
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-block.header-block-2 {
  background: transparent !important;
}
.t4-header {
  border: medium none;
}
.header-wrap {
  position: relative;
  background: none;
  padding: 10px 150px 10px 0;
}
.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container, .t4-masthead .t4-masthead-detail {
  width: 100%;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.container {
  width: 100%;
  max-width: 100%;
  padding: 0 10%;
  box-sizing: border-box;
  overflow: hidden;
}
/*ヘッダーロゴ*/
.navbar-brand.logo-control img.logo-img {
  max-height: 60px;
  width: auto;
}
#t4-header .navbar-brand {
  padding-block: 0;
}
#t4-header .logo-control {
  padding: .5em 1em !important;
}
.head-contact {
  /*position: fixed;*/
  /*left: 0;*/
  /*top: 0;*/
  z-index: 99;
  width: 100%;
  background-color: rgba(55, 65, 73, 0.9);
  text-align: right;
}
.head-contact ul {
  padding: 3px 10px 5px 0;
  margin: 0;
  letter-spacing: -0.4em;
}
.head-contact ul li {
  display: inline-block;
  letter-spacing: normal;
  margin: 0 0 0 20px;
  font-size: 0.9em;
  color: #fff;
  font-weight: 500;
  position: relative;
}
.head-contact ul li span {
  border-left: 1px solid #ddd;
  margin-left: 10px;
  padding-left: 28px;
  position: relative;
}
.head-contact ul li span::before {
  content: "";
  display: inline-flex;
  width: 13px;
  height: 20px;
  background-image: url("../../../../images/icon/icon_tel.png");
  background-repeat: no-repeat;
  background-origin: left top;
  background-size: contain;
  position: absolute;
  left: 10px;
  top: 5px;
}
/*ヘッダー　お問い合わせボタン
（【モジュール】ヘッダー：お問い合わせ）*/
.head-mail {
  padding: 0;
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.head-mail ul {
  padding: 0;
  margin: 0;
}
.head-mail ul li {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}
.head-mail ul li a {
  background-color: var(--primary);
  color: #fff;
  padding: 1em;
  line-height: 1.4em;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 100px;
  transition: background-color 0.3s ease;
}
/*
.head-mail ul li a::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 20px;
  background-image: url("../../../../images/icon/icon_mail.png");
  background-repeat: no-repeat;
  background-origin: left top;
  background-size: contain;
  position: absolute;
  left: 20px;
  top: 16px;
}*/
.head-mail ul li a:hover {
  background-color: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}
/*.head-mail ul li a:hover::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 20px;
  background-image: url("../../../../images/icon/icon_mail_red.png");
  background-repeat: no-repeat;
  background-origin: left top;
  background-size: contain;
  position: absolute;
  left: 20px;
  top: 16px;
}*/
.t4-header {
  min-height: auto;
}
/*グローバルメニュー　子メニューを表示*/
.header-block.header-block-2 .container-xxl {
  overflow: initial;
}
/*グローバルメニュー調整*/
.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
  font-size: 16px;
  padding: 20px 0;
  margin: 0 15px;
  height: 60px;
}
/*「/html/mod_custom/h1-title.php」「/html/mod_custom/h1-title-sitename.php」利用時のヘッダー部分CSS*/
#h1title {
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}
/*「/html/mod_custom/site-title-h1-2025.php」利用時のH1部分CSS h1タグ非表示*/
#h1title {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.t4-megamenu .nav > .dropdown > .nav-link .item-caret, .t4-megamenu .nav > .dropdown > .dropdown-toggle .item-caret {
  /* border-top: 4px solid #E80000; */
}
.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
  font-weight: 500;
  font-size: 16px;
}
.t4-megamenu .navbar-nav > li.active > a, .t4-megamenu .navbar-nav > li.active > .nav-link {
  color: var(--primary);
}
.t4-megamenu .navbar-nav > li.show > a, .t4-megamenu .navbar-nav > li.show > .nav-link {
  color: var(--primary);
  text-decoration: none;
}
.t4-megamenu .navbar-nav > li > a:hover .item-caret, .t4-megamenu .navbar-nav > li > a:focus .item-caret, .t4-megamenu .navbar-nav > li > a:active .item-caret, .t4-megamenu .navbar-nav > li > .nav-link:hover .item-caret, .t4-megamenu .navbar-nav > li > .nav-link:focus .item-caret, .t4-megamenu .navbar-nav > li > .nav-link:active .item-caret {
  color: var(--primary);
}
.t4-megamenu .navbar-nav > li > a:hover, .t4-megamenu .navbar-nav > li > a:focus, .t4-megamenu .navbar-nav > li > a:active, .t4-megamenu .navbar-nav > li > .nav-link:hover, .t4-megamenu .navbar-nav > li > .nav-link:focus, .t4-megamenu .navbar-nav > li > .nav-link:active {
  color: var(--primary);
  text-decoration: none;
}
.t4-megamenu .navbar-nav > li.show > a, .t4-megamenu .navbar-nav > li.show > .nav-link {
  color: var(--primary);
}
.t4-megamenu .navbar-nav > li.show > a .item-caret, .t4-megamenu .navbar-nav > li.show > .nav-link .item-caret {
  border-top-color: var(--primary);
}
.t4-megamenu .navbar-nav > li.active > a, .t4-megamenu .navbar-nav > li.active > .nav-link {
  color: var(--primary);
}
.t4-megamenu .navbar-nav > li.active > a .item-caret, .t4-megamenu .navbar-nav > li.active > .nav-link .item-caret {
  border-top-color: var(--primary);
}
/* --- グローバルナビ ホバー --- */
.t4-navbar .navbar-nav > li > .nav-link, .t4-navbar .navbar-nav > li > .separator {
  position: relative;
}
.t4-navbar .navbar-nav > li > .nav-link::after, .t4-navbar .navbar-nav > li > .separator::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
}
/* --- ホバー時に下線を伸ばす --- */
.t4-navbar .navbar-nav > li:hover > .nav-link::after, .t4-navbar .navbar-nav > li:hover > .separator::after {
  transform: scaleX(1);
}
/* --- アクティブ状態の時に下線を保持 --- */
.t4-navbar .navbar-nav > li.active > .nav-link::after, .t4-navbar .navbar-nav > li.current > .nav-link::after, .t4-navbar .navbar-nav > li.active > .separator::after, .t4-navbar .navbar-nav > li.current > .separator::after {
  transform: scaleX(1);
}
.t4-offcanvas-toggle i {
  display: none;
}
.t4-section.sec-spacing-lg .t4-section-inner {
  padding: 0;
  margin: 0;
}
.t4-footer {
  border: medium none;
  color: unset;
}
.t4-footer .container, .t4-footer .t4-masthead .t4-masthead-detail, .t4-masthead .t4-footer .t4-masthead-detail {
  padding: 0;
  margin: 0 auto;
  background-color: #fff;
  border: medium none;
}
.col-md-10 {
  width: 100%;
}
.t4-footer p{
  line-height: 1.4em;
}
.ft-content img {
  margin: 0 0 20px 0;
}
.ft-sitemap {
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.ft-sitemap ul{
  padding: 0;
  margin: 0;
}
.ft-sitemap ul li{
  list-style: none;
  color: var(--text-color);
}
.ft-sitemap ul li a{
  color: var(--text-color);
}
.ft-sitemap ul li a:hover{
  color: var(--primary) ;
  text-decoration: none;
}
.ft-sitemap ul li>ul li{
  position: relative;
  padding-left: 20px;
}
.ft-sitemap ul li>ul li::before{
  content: "";
  display: inline-block;
  width: 15px;
  height: 1px;
  background-color: currentColor;
  position: absolute;
  left: 0;
  top: 18px;
}
.copyright{
  text-align: center;
  margin: 0;
  background-color: var(--gray-dark);
  color: #fff;
  padding: 1em;
}
.copyright p{
  margin: 0;
}
.link-bn{
  display: flex;
  gap: 1em;
  justify-content: flex-end;
  padding: 20px 0 40px 0;
}
.link-bn img{
  width: 150px;
  height: atuo;
}
/* ===================================================
   下層ページ ヘッダーモジュール (.subpage-header)
   =================================================== */
.subpage-header{
  padding: 9em 5em 4em 5em;
  position: relative;
  z-index: 0;
}
.subpage-header::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  background-image: 
    linear-gradient(to right, #ffffff, rgba(248, 243, 233, 0.2)), 
    url("../../../../images/pageimg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  left: 0;
  top: 0;
}
.subpage-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.subpage-header-title::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}
.subpage-header-label {
  color: var(--primary);
  font-family: var(--num);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
}
.subpage-header-name {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}
.subpage-header-copy {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 20px 0;
}
.subpage-header-copy mark {
  font-size: inherit;
  font-weight: inherit;
}
.subpage-header-desc {
  line-height: 1.8;
  margin: 0;
}
/*パンくず設定*/
.t4-section.t4-breadcrumbs {
  border-top: medium none;
}
.t4-breadcrumbs .container{
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
}
.breadcrumb{
  padding: 1em 5.5% !important;
  font-size: .8rem !important;
}
.breadcrumb a{
  color: var(--text-color);
}
.breadcrumb a:hover{
  color: var(--primary);
  text-decoration: none;
}
/*会社概要*/
.gaiyo-table {
  border-collapse: collapse;
  width: 100%;
  margin: 0;
}
.gaiyo-table th {
  border-bottom: 2px solid #000;
  padding: 40px 10px;
  font-weight: 900;
  text-align: left;
  vertical-align: top;
}
.gaiyo-table td {
  border-bottom: 2px solid #ddd;
  padding: 40px;
  font-weight: 900;
  text-align: left;
  vertical-align: top;
}
.googlemap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%;
}
.googlemap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#back-to-top {
  z-index: 98;
}
/*メールフォーム*/
strong.formRequired {
  color: #fff;
  font-weight: normal !important;
  font-size: 11px;
  background-color: #ff002a;
  padding: 6px 8px;
  border-radius: 4px;
  margin-left: 15px;
}
#userForm .rsform-block > label {
  display: table-cell;
  padding: 40px 0;
  vertical-align: top;
  width: 25%;
}
#userForm .rsform-block .formControls {
  display: table;
  vertical-align: top;
  padding: 40px 0 40px 20px;
  width: 75%;
  margin-left: initial;
}
form:not(.form-no-margin) .control-group {
  border-bottom: solid 1px #ddd;
}
#checkbox-list-grouplbl, #checkbox-grouplbl, #radio-grouplbl {
  padding: 40px 0;
  width: 25%;
}
#userForm .rsform-block-submit .formControls {
  margin: auto;
  text-align: center;
}
/*swiper*/
.swiper {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.swiper-slide span {
  position: absolute;
  top: 50px;
  left: 100px;
  color: #fff;
  font-size: 32px;
}
/*トップページお知らせ*/
.news-box {
  border: 1px solid #CCCCCC;
  max-height: 300px;
  overflow: auto;
  padding: 7px;
}
.news-box table {
  width: 100%;
}
.news-box table th {
  border-bottom: 1px dotted #ccc;
  font-weight: normal;
  padding: 5px;
  text-align: left;
  vertical-align: top;
}
.news-box table td {
  border-bottom: 1px dotted #ccc;
  padding: 5px;
  vertical-align: top;
}
.news-box table th::before, .news-box ul li::before {
  color: #999;
  content: "\f0da";
  font-family: FontAwesome;
  margin-right: 5px;
}
.news-box ul li {
  border-bottom: 1px dotted #cccccc;
  color: #333333;
  font-size: 1em;
  list-style: none outside none;
  margin: 0 0 5px;
  padding: 0 0 5px 10px;
}
.news-box .category-module li a {
  display: inline-block;
}
.kiji-box01 td:nth-child(1) {
  width: 60%;
}
.kiji-box02 td:nth-child(1) {
  width: 40%;
}
.kiji-box01 td, .kiji-box02 td {
  vertical-align: top;
}
/*Youtubeの埋め込み*/
.yt iframe {
  display: block;
  margin: auto;
}
.yt {
  text-align: center;
}
/*プロファイルの編集非表示*/
#post .profile {
  display: none;
}
/*モジュール　記事カテゴリー*/
.category-module li a::before {
  display: none;
}
.category-module li a {
  padding-left: 0;
}
/*スクロールヒントの調整*/
.scroll-hint-text {
  line-height: initial;
}
/*グローバルメニュー　右寄せ*/
.mx-auto {
  margin-right: initial !important;
}
/*PCの時には表示しない*/
.pchidden {
  display: none !important;
}
/*latestnews-item調整*/
.latestnews-item {
  position: relative;
}
/*編集アイコン　公開記事　黄色*/
.icon-edit::before {
  content: "\f044";
  /* background-color: #ffff7f; */
  /* padding: 5px; */
  /* border: 1px #ffd700 solid; */
  /* border-radius: 3px; */
}
/*編集アイコン　未公開記事　灰色*/
.icon-eye-slash::before {
  content: "\f070";
  background-color: #ccc;
  padding: 5px;
  border: 1px #bbb solid;
  border-radius: 3px;
}
/*編集ボタン位置　右*/
.float-end {
  float: none !important;
  text-align: right;
}
.edit-link {
  position: relative;
}
.edit-link a {
  position: absolute;
  background: tomato;
  padding: 2px;
  text-align: center;
  color: #fff;
  border-radius: 3px;
  z-index: 1;
  transition: .3s;
  min-width: 80px;
}
.edit-link a:hover {
  filter: grayscale(0.3);
}
.item-content {
  position: relative;
}
.item-content:has(.edit-link)::after {
  content: '';
  display: block;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  outline: dashed 2px tomato;
  opacity: 0;
  z-index: 1000;
  position: absolute;
  pointer-events: none;
  transition: .5s;
}
.item-content:has(.edit-link):hover::after {
  opacity: 1;
}
/**************************************
非公開記事の場合 
*************************************/
.item-content:has(.system-unpublished), .item-page:has(.edit-link):has(.icon-eye-slash) .article-aside {
  position: relative;
  transition: .3s;
}
/* 通常時にぼかしレイヤーを重ねる */
.item-content:has(.system-unpublished)::before, .item-page:has(.edit-link):has(.icon-eye-slash) .article-body::before {
  content: "";
  position: absolute;
  inset: 0; /* 親要素いっぱいに広げる */
  backdrop-filter: blur(3px);
  background-color: rgba(220, 220, 220, 0.4);
  pointer-events: none;
  transition: .3s;
  z-index: 60;
}
/* hover時にぼかし解除 */
.item-content:has(.system-unpublished):hover::before, .item-page:has(.edit-link):has(.icon-eye-slash) .article-body:hover::before {
  backdrop-filter: none;
  background-color: transparent;
}
/* 非公開ボタン,編集ボタンはぼかしなし */
.system-unpublished .page-header {
  position: relative;
  z-index: 120;
}
.edit-link:has(.icon-eye-slash) {
  z-index: 120;
  position: absolute;
}
/*TOPページ*/
#t4-slideshow.border-bottom{
  border: medium none !important;
}
/*メインビジュアル*/
.main-visual {
  position: relative;
  width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../../../../images/top/mv_bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10em 3em 4em 3em;
}
/* キャッチコピー */
.hero-text {
  color: #ffffff;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 30px 0;
}
.highlight {
  background-color: var(--primary);
  padding: 0 4px 7px 4px;
  margin-right: -4px;
  display: inline-block;
  line-height: 1.2;
}
/* CTAボックス */
.cta-box {
  width: 340px;
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}
.cta-lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 15px 0;
  text-align: center;
}
.cta-info-text {
  font-size: 1.4rem;
  font-weight: 700;
}
.info-highlight {
  background-color: var(--primary);
  color: #ffffff;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 5px;
}
.cta-image {
  width: 120px;
  height: auto;
}
.cta-box .c-btn {
  width: 100%;
  min-width: auto;
}
@keyframes topHeroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes topHeroLine {
  from { transform: translateY(110%); }
  to { transform: none; }
}
@keyframes topHeroPop {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: none; }
}
@keyframes topHeroBadge {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.main-visual .hero-text:not(.is-split) {
  animation: topHeroFade 1s cubic-bezier(.16,1,.3,1) .1s both;
}
.main-visual .hero-text .top-hero-ln {
  display: block;
  overflow: hidden;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}
.main-visual .hero-text .top-hero-ln > span {
  display: block;
  animation: topHeroLine 1s cubic-bezier(.16,1,.3,1) var(--d, 0s) both;
}
.main-visual .hero-text .highlight {
  animation: topHeroPop .55s cubic-bezier(.16,1,.3,1) var(--bd, .7s) both;
}
.main-visual .cta-box {
  animation: topHeroBadge .8s cubic-bezier(.16,1,.3,1) .9s both;
}
.top-rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--rv-d, 0s);
}
.top-rv.is-on {
  opacity: 1;
  transform: none;
}
.faq-section [data-rlta-element="button"].top-rv {
  transition: opacity .8s cubic-bezier(.16,1,.3,1) var(--rv-d, 0s), transform .8s cubic-bezier(.16,1,.3,1) var(--rv-d, 0s), background-color .2s, border .2s !important;
}
@media (prefers-reduced-motion: reduce) {
  .main-visual .hero-text,
  .main-visual .hero-text .top-hero-ln > span,
  .main-visual .hero-text .highlight,
  .main-visual .cta-box {
    animation: none;
  }
  .top-rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* 画像2×2グリッド（要素自体の見た目のみ定義） */
.image-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* ===================================================
   選ばれる理由セクション (.reason-section)
   =================================================== */
/* カード本体 */
.reason-card {
  background-color: #f2f2f2;
  border-radius: 4px;
  padding: 0 20px 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.8em;
}
/* 上部に飛び出す白い丸アイコン */
.reason-icon {
  width: 90px;
  height: 90px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -45px;
  margin-bottom: 15px;
}
/* PNGアイコン画像の表示調整 */
.reason-icon img {
  max-width: 55px;
  max-height: 55px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* 見出し（理由 X） */
.reason-title {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 16px;
}
/* 見出し下のアンダーライン */
.reason-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 2px;
  background-color: var(--primary);
}
/* 説明テキスト */
.reason-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
  color: #333333;
  margin: 0;
}
/* ===================================================
   クラスのご案内セクション (.class-section)
   =================================================== */
.class-section {
  position: relative;
  overflow: hidden;
}
.class-section::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  background-color: var(--gray-light);
  z-index: 1;
}
.class-section .inner {
  position: relative;
  z-index: 2;
}
.class-card {
  display: block;
  padding: 20px;
  background-color: #ffffff;
  border-style: solid;
  border-width: 5px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: unset;
}
.class-card:hover .class-card-inner {
  opacity: 0.6;
}
.class-card:hover .class-img img {
  transform: scale(1.04);
}
.class-card-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.class-img {
  margin-bottom: 0;
  overflow: hidden;
}
.class-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}
/* テキストエリア（flex-growで高さを自動伸長してボタンを下揃えに） */
.class-text {
  flex-grow: 1;
}
/* ---------------------------------------------------
   カラーバリエーション（枠線とタイトルカラーのみ）
   --------------------------------------------------- */
.class-card.is-orange {
  border-color: var(--color-custom-1-light);
}
.class-card.is-orange .class-title {
  color: var(--color-custom-1);
}
.class-card.is-green {
  border-color: var(--color-custom-2-light);
}
.class-card.is-green .class-title {
  color: var(--color-custom-2);
}
.class-card.is-blue {
  border-color: var(--color-custom-3-light);
}
.class-card.is-blue .class-title {
  color: var(--color-custom-3);
}
/* ---------------------------------------------------
   クラスセクション固有の幅調整（1列時の最大幅指定）
   --------------------------------------------------- */
@media (max-width: 992px) {
  .class-section .g-grid {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* ===================================================
   集中授業バナーセクション
   =================================================== */
.intensive-section {
  border: 1px solid #ddd;
  padding: 2px;
  margin-top: 4em !important;
  margin-bottom: 4em !important;
}
.intensive-card {
  display: grid;
  background-color: var(--primary);
  overflow: hidden;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
  border: 1px solid #fff;
}
.intensive-card:hover {
  opacity: 0.7;
  text-decoration: none;
}
.intensive-card:hover .intensive-img img {
  transform: scale(1.03);
  opacity: 1;
}
.intensive-content {
  padding: 40px;
  color: #ffffff;
}
/* 右側画像エリア */
.intensive-img {
  height: 100%;
  overflow: hidden;
}
.intensive-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
/* レスポンシブ */
@media (max-width: 768px) {
  .intensive-card {
    display: flex;
    flex-direction: column-reverse;
  }
  .intensive-content {
    padding: 24px 20px;
  }
  .intensive-content h2 {
    font-size: 1.4rem;
  }
}
/* ===================================================
   無料体験授業セクション
   =================================================== */
.trial-section {
  background-image: url('../../../../images/top/trial_bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/* スマホ表示時に画像の顔位置を微調整 */
@media (max-width: 768px) {
  .trial-section {
    background-position: 70% center;
  }
}
/* ===================================================
   お問い合わせCTAセクション
   =================================================== */
.cta-section {
  background-color: var(--primary);
}
.cta-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 50px 20px;
  text-align: center;
}
.cta-card p {
  margin: 0;
}
.cta-card .c-btn-primary {
  color: #fff;
}
.cta-card .c-btn-primary .fa {
  margin-right: 6px;
  font-size: 1.6em;
}
.cta-tel-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.cta-tel-wrap a {
  font-size: 2.4rem;
  color: var(--text-color);
}
.cta-tel-wrap a .fa {
  font-size: 0.8em;
}
.cta-tel-wrap span {
  font-size: 0.95rem;
  font-weight: 700;
}
.cta-section .c-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cta-section .c-btn-primary::before {
  font-family: "FontAwesome";
  content: "\f0e0";
  font-size: 1.7em;
  line-height: 1;
}
/* ===================================================
   電話番号リンク汎用クラス (.tel-link)
   =================================================== */
.tel-link {
  text-decoration: none;
  font-family: var(--num);
  font-weight: 600;
  pointer-events: none; /* PC：クリック無効 */
  cursor: default;
  color: var(--text-color);
}
.tel-link::before {
  font-family: "FontAwesome";
  content: "\f095";
  font-size: 0.85em;
  line-height: 1;
  margin-right: 6px;
}
/*よくある質問*/
.faq-section {
  background-color: var(--gray-light);
}
[data-rlta-element="container"][data-rlta-state="ready"][data-rlta-theme="neutral"][data-rlta-type="accordions"] > [data-rlta-element="button"] {
  padding-left: .8em;
  padding-right: 1em;
}
[data-rlta-element="container"][data-rlta-state="ready"][data-rlta-type="accordions"] > [data-rlta-element="panel"] {
  padding-left: .8em;
  padding-right: 1em;
}
.faq-section [data-rlta-element="heading"] {
  position: relative;
  padding-left: 2.2em !important;
  padding-right: 2.2em !important;
}
.faq-section [data-rlta-element="heading"]::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  background-color: var(--primary);
  border-radius: 100px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1em;
  padding: 0 0 .1em 0;
  margin: 0;
}
.faq-section [data-rlta-element="panel-content"] {
  position: relative;
  padding-left: 2.4em !important;
}
.faq-section [data-rlta-element="panel-content"]::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 1.3em;
  color: #fff;
  background-color: #333;
  border-radius: 100px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1em;
  padding: 0 0 .1em 0;
  margin: 0;
  z-index: 1;
}
/* 開閉アイコン (+ / -) */
.faq-section [data-rlta-element="button"]{
  position: relative;
}
.faq-section [data-rlta-element="button"]::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 46%;
  transform: translateY(-46%);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.3s ease;
}
/* 開いた状態のアイコン (-) */
.faq-section [data-rlta-element="button"][data-rlta-state="open"]::after {
  content: "−";
}
/*CUBEについて*/
/* ===================================================
   背景固定（パララックス）＋ 透過 gray-light セクション
   =================================================== */
.bg-fixed {
  position: relative;
  background-image: url("../../../../images/about/classroom.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center 20%;
  z-index: 1;
  padding: 0;
}
.bg-fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gray-light);
  opacity: 0.85;
  z-index: -1;
}
/* ===================================================
   カードレイアウト
   =================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background-color: #ffffff;
  padding: 32px 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.feature-title {
  font-size: 1.5rem;
  margin: 0 0 12px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.feature-title .num {
  color: var(--primary);
  font-family: var(--num);
  font-size: 2rem;
}
/* ===================================================
   フローセクション (入塾までの流れ)
   =================================================== */
.flow-list {
  position: relative;
  display: flex;
  flex-direction: column;
}
.flow-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  z-index: 1;
  padding-bottom: 2em;
}
.flow-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 35px; /* 正円の中心（70px / 2） */
  width: 5px;
  background-color: #e0e0e0;
  transform: translateX(-50%);
  z-index: -1;
}
.flow-item-last::before{
  display: none;
}
/* ---------------------------------------------------
   正円アイコン（レスポンシブ潰れ防止）
   --------------------------------------------------- */
.step-circle {
  width: 70px;
  aspect-ratio: 1 / 1; /* 正円の維持 */
  flex-shrink: 0;      /* 縮小による楕円化を完全防止 */
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.step-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.step-num {
  font-size: 1.6rem;
  font-weight: 700;
}
/* 電話・問い合わせボタンエリア */
.flow-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.flow-contact .tel-link{
  font-size: 2rem
}
/* ===================================================
   アコーディオン (.acc)
   =================================================== */
.acc [data-rlta-element="container"] {
  border: none !important;
  background: transparent !important;
}
.acc [data-rlta-element="button"] {
  position: relative;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #ddd !important; /* タイトル下線 */
  padding: 20px 40px 20px 0 !important; /* 右側にアイコン用余白 */
  cursor: pointer;
  border-radius: 0 !important;
}
.acc [data-rlta-element="heading"] {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}
.acc [data-rlta-element="heading"]::before {
  font-family: "FontAwesome" !important;
  content: "\f138"; /* fa-chevron-circle-right */
  color: var(--primary);
  font-size: 1.2rem;
  margin-right: 10px;
  flex-shrink: 0;
}
/* 開閉アイコン (+ / -) */
.acc [data-rlta-element="button"]::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.3s ease;
}
/* 開いた状態のアイコン (-) */
.acc [data-rlta-element="button"][data-rlta-state="open"]::after {
  content: "−";
}
/* ---------------------------------------------------
   3. 開閉パネル部分
   --------------------------------------------------- */
.acc [data-rlta-element="panel"] {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  background-color: var(--gray-light) !important;
}
/* ===================================================
   保護者の声
   =================================================== */
.bg-gray-light {
  background-color: var(--gray-light);
}
.voice-card {
  position: relative;
  background-color: #fff;
  border-radius: 16px;
  padding: 40px 28px 24px;
}
.voice-card::before {
  content: "“";
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 700;
}
.voice-tag {
  font-size: 0.8rem;
  color: var(--gray-base);
  display: block;
}
/*画像角丸*/
.img-raund{
  border-radius: 10px;
}
/* ===================================================
   スペックテーブル
   =================================================== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table td {
  padding: 1em;
  border: 1px solid #ccc; 
  vertical-align: middle;
  text-align: left;
}
.spec-table th{
  padding: 1em;
  border: 1px solid #ccc; 
  background-color: var(--gray-light);
  font-weight: 700 !important;
  width: 20%;
  white-space: nowrap;
}
/* ===================================================
   リンクカード (カード全体ホバー / 横並びレイアウト)
   =================================================== */
.class-menu{
  border-top: 1px solid #ddd;
  padding-top: 3em;
}
.link-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  text-decoration: none;
  color: inherit;
  border: 2px solid var(--primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.link-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}
.link-card-img {
  width: 35%;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 0;
}
.link-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.link-card:hover .link-card-img img {
  transform: scale(1.04);
}
.link-card-body {
  width: 65%;
  padding-left: 15px;
  box-sizing: border-box;
}
.link-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  display: block;
  width: 100%;
  padding-right: 20px;
}
.link-card:hover h3 {
  color: var(--primary);
  text-decoration: none !important;
  border: medium none !important;
}
.link-card-body h3::before {
  font-family: "FontAwesome";
  content: "\f105";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.link-card:hover .link-card-body h3::before {
  transform: translate(4px, -50%);
}
/*クラス紹介*/
.c-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  color: var(--gray-base);
}
.c-meta strong{
  color: var(--text-color);
}
.tag{
  display: inline-block;
  padding: .5em 1em .6em 1em;
  border-radius: 50px;
  background-color: #222;
  color: #fff;
  line-height: 1;
  width: fit-content;
  font-size: .8rem;
  margin: 0;
}
.tag-primary{
  background-color: var(--primary) !important;
}
.card {
  height: 100%;
}
.card hr {
  margin-top: auto;
}
/*実績*/
.result{
    background-color: var(--color-custom-1);
    padding: 3.5em 5em 3em 5em;
    color: #fff;
}
.result h2 {
  border-bottom: 2px solid currentColor;
  padding-bottom: .2em;
  margin: 0 0 15px 0;
  width: fit-content;
}
/*時間割*/
.timetable{
    width: 100%;
    border-collapse: collapse;
}
.timetable th{
    background-color: var(--gray-medium);
    color: #fff;
    padding: .5em 1.5em;
    border: 1px solid #ccc;
}
.timetable td{
    border: 1px solid #ccc;
    padding: .5em 1.5em;
}
.timetable td strong{
    width: fit-content;
    background-color: var(--primary);
    padding: .2em 1em;
    color: #fff;
    border-radius: 5px;
    font-size: .8rem;
}
/*お問い合わせフォーム*/
#userForm .checkbox{
  display: block;
}
.btn.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
/* ---------------------------------------------------
   レスポンシブ調整 (スマホ表示時)
   --------------------------------------------------- */
@media (max-width: 768px) {
  .step-circle {
    width: 56px; /* スマホで正円をややコンパクトに */
  }

  .flow-list::before {
    left: 28px; /* 56px / 2 に位置調整 */
  }

  .flow-item {
    gap: 16px;
  }

  .step-num {
    font-size: 1.3rem;
  }

  .flow-item h3 {
    font-size: 1.25rem;
  }
}
/* ===================================================
   レスポンシブ共通設定 (Media Queries)
   =================================================== */
/* --- タブレット・中間サイズ (992px以下) --- */
@media (max-width: 992px) {
  .g-cols-3, .g-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .class-section .g-grid {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  /* 体験授業 */
  .trial-section {
    background-position: 70% center;
  }

  /* CTAセクション */
  .cta-card {
    padding: 30px 16px;
  }
  .cta-card h2 {
    font-size: 1.4rem;
  }
  .cta-tel-wrap {
    flex-direction: column;
    align-items: center;   /* 追加 */
    gap: 6px;
  }
  .cta-tel-wrap a {
    font-size: 1.6rem;
    pointer-events: auto;
  }
    .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* スマホ（768px以下）でFlexを縦並びにして幅を100%に広げる汎用クラス */
@media (max-width: 768px) {
  .flex-sp-column {
    flex-direction: column !important;
  }
  .flex-sp-column > * {
    width: 100% !important;
  }
}

/*MVの立方体 支給CSS*/
:root {
  /* サイト共通のイージング設定 */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* 立方体を包む親コンテナ（位置やサイズを調整可能） */
.hero-cube {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 4.5vw, 72px); /* 画面右端からの距離 */
  bottom: 10%;                         /* 画面下部からの位置 */
  width: min(28vw, 280px);         /* レスポンシブサイズ */
  height: min(28vw, 280px);
  perspective: 900px;              /* 3Dの奥行き感 */
  cursor: grab;
  touch-action: pan-y;             /* スマホでの縦スクロールを阻害しない */
}

.hero-cube:active {
  cursor: grabbing;
}

/* 回転を適用する3D空間のレイヤー */
.hero-cube .hc-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* he = 辺（Hero Edge）のスタイル */
.hero-cube .he {
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

/* hv = 頂点（Hero Vertex）のスタイル */
.hero-cube .hv {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.85;
}

/* 下部の「Drag」テキスト */
.hero-hint {
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* スマホ表示では表示エリアを考慮して非表示にする場合（元サイトの仕様） */
@media (max-width: 760px) {
  .hero-cube {
    display: none;
  }
}

/* ==========================================
   150の知能因子 3Dキューブセクション
========================================== */
:root {
  --wp-cube-wine: #9C1850;
  --wp-cube-ink: #3B3B3B;
  --wp-cube-ink-70: #5A5A5A;
  --wp-cube-ink-50: #8A8A8A;
  --wp-cube-line: #E3E0DB;
  --wp-cube-sans: "Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic Medium","Yu Gothic","Meiryo",sans-serif;
  --wp-cube-num: "Avenir Next","Helvetica Neue",Arial,sans-serif;
  --wp-cube-ease: cubic-bezier(.16, 1, .3, 1);
}

.wp-lat-box {
  margin: 40px auto;
  background: #ffffff;
  border: 1px solid var(--wp-cube-line);
  border-radius: 14px;
  padding:2em 4em;
  box-shadow: 0 16px 40px rgba(59,59,59,0.09);
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.3fr);
  gap: 30px;
  align-items: center;
  font-family: var(--wp-cube-sans);
  color: var(--wp-cube-ink);
  line-height: 2;
  letter-spacing: .04em;
}

.wp-lat-box .wp-lb-t h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.8;
  margin: 0 0 12px 0;
}
.wp-lat-box .wp-lb-t h3 b {
  color: var(--wp-cube-wine);
}
.wp-lat-box .wp-lb-t p {
  font-size: 13.5px;
  color: var(--wp-cube-ink-70);
  line-height: 2.1;
  margin-bottom: 0;
}
.wp-lat-box .wp-lb-t .wp-lr {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--wp-cube-line);
  font-size: 12px;
  color: var(--wp-cube-ink-50);
  letter-spacing: .1em;
}
.wp-lat-box .wp-lb-t .wp-lr b {
  display: block;
  font-size: 15.5px;
  color: var(--wp-cube-ink);
  font-weight: 700;
  letter-spacing: .12em;
  margin-top: 4px;
}
.wp-lat-box .wp-lb-t .wp-lr b em {
  font-style: normal;
  color: var(--wp-cube-wine);
}

.wp-lat-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}
.wp-lat-scene {
  width: 320px;
  height: 300px;
  perspective: 900px;
  cursor: grab;
  touch-action: pan-y;
  position: relative;
}
.wp-lat-scene:active {
  cursor: grabbing;
}
.wp-lat-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* 各キューブ（ノード）のスタイル */
.wp-lat-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  transform-style: preserve-3d;
  transform: translate3d(var(--sx), var(--sy), var(--sz)) scale(.15);
  transition: transform 1.2s var(--wp-cube-ease);
  transition-delay: var(--d);
}
.wp-lat-scene.formed .wp-lat-node {
  transform: translate3d(var(--tx), var(--ty), var(--tz)) scale(1);
}

/* 立方体の6面 */
.wp-nf {
  position: absolute;
  inset: 0;
  background: var(--c, #E8D5B5);
  border: .5px solid rgba(255,255,255,.5);
}
.wp-nf-f { transform: translateZ(4.5px); }
.wp-nf-b { transform: rotateY(180deg) translateZ(4.5px); }
.wp-nf-r { transform: rotateY(90deg) translateZ(4.5px); filter: brightness(.92); }
.wp-nf-l { transform: rotateY(-90deg) translateZ(4.5px); filter: brightness(.92); }
.wp-nf-t { transform: rotateX(90deg) translateZ(4.5px); filter: brightness(1.08); }
.wp-nf-d { transform: rotateX(-90deg) translateZ(4.5px); filter: brightness(.82); }

/* ハイライト（光っている）キューブ */
.wp-lat-scene.formed .wp-lat-node.hot {
  transform: translate3d(var(--tx), var(--ty), var(--tz)) scale(1.9);
  z-index: 5;
}
.wp-lat-node.hot .wp-nf {
  border-color: var(--wp-cube-wine);
  box-shadow: 0 0 10px rgba(156,24,80,.55);
}

/* 外枠のワイヤーフレーム線 */
.wp-lat-edge {
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(59,59,59,.18);
}

.wp-lat-hint {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--wp-cube-num);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--wp-cube-ink-50);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  margin: 0;
}
.wp-lat-hint::before, .wp-lat-hint::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--wp-cube-line);
}

/* レスポンシブ対応 */
@media (max-width: 980px) {
  .wp-lat-box {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }
}
/* ==========================================================================
   臨界期セクション (Critical Period) スタイル
   ========================================================================== */
:root {
  --crit-wine: #9C1850;
  --crit-ink: #3B3B3B;
  --crit-ink-70: #5A5A5A;
  --crit-ink-50: #8A8A8A;
  --crit-gray: #F0EEEB;
  --crit-line: #E3E0DB;
  --crit-sans: "Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic Medium","Yu Gothic","YuGothic","Meiryo",sans-serif;
  --crit-num: "Avenir Next","Helvetica Neue","Segoe UI",Arial,sans-serif;
  --crit-ease: cubic-bezier(.16,1,.3,1);
}

/* 共通ボックスサイジングの確保 */
.critical, .critical * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* メインコンテナ */
.critical {
  height: 260vh;
  position: relative;
  background: var(--crit-gray);
  color: var(--crit-ink);
  font-family: var(--crit-sans);
  -webkit-font-smoothing: antialiased;
}

.critical-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: linear-gradient(rgba(59,59,59,.05) 1px, transparent 1px);
  background-size: 100% 76px;
}

/* サブタイトル */
.crit-eyebrow {
  position: absolute;
  top: 40px; /* Lightningのヘッダー位置等に応じて必要であれば調整してください */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--crit-num);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--crit-ink-50);
}
.crit-eyebrow .no {
  color: var(--crit-wine);
  font-weight: 600;
  letter-spacing: .18em;
  margin-right: 12px;
}

/* 中央の年齢表示 */
.age-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  position: relative;
  z-index: 2;
}
.age-num {
  font-family: var(--crit-num);
  font-weight: 200;
  font-variant-numeric: tabular-nums;
  font-size: clamp(150px, 30vw, 320px);
  color: transparent;
  -webkit-text-stroke: 2px rgba(59,59,59,.75);
  display: inline-block;
}
@supports not (-webkit-text-stroke:1px black){
  .age-num { color: rgba(59,59,59,.22); }
}
.age-num.pop {
  animation: critAgePop .55s var(--crit-ease);
}
@keyframes critAgePop {
  from { opacity: .1; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.age-sai {
  font-family: "Hiragino Mincho ProN","Hiragino Mincho Pro","Yu Mincho","YuMincho",serif;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 600;
  color: var(--crit-ink);
}

/* テキストキャプション切り替え */
.crit-caps {
  display: grid;
  width: min(88vw, 640px);
  margin-top: 14px;
  position: relative;
  z-index: 2;
}
.crit-caps .ph {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--crit-ease), transform .6s var(--crit-ease);
}
.crit-caps .ph.act {
  opacity: 1;
  transform: none;
}
.crit-caps .ph .t1 {
  font-family: "Hiragino Mincho ProN","Hiragino Mincho Pro","Yu Mincho","YuMincho",serif;
  font-weight: 600;
  font-size: clamp(19px, 2.8vw, 28px);
  letter-spacing: .07em;
  line-height: 1.6;
}
.crit-caps .ph .t2 {
  font-size: 13.5px;
  color: var(--crit-ink-70);
  letter-spacing: .06em;
  line-height: 2;
}

/* 下部インジケーター（トラック） */
.age-track {
  position: absolute;
  bottom: clamp(30px, 6vh, 58px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}
.age-track .blk {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(59,59,59,.4);
  transform: rotate(45deg);
  transition: background .45s var(--crit-ease), border-color .45s;
}
.age-track .blk.fill {
  background: #E3B23C;
  border-color: #E3B23C;
}
.age-track .cap {
  font-family: var(--crit-num);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--crit-ink-50);
  margin: 0 6px;
}

/* スキップボタン */
.crit-skip {
  position: absolute;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(16px, 5vh, 40px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--crit-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--crit-ink-70);
  padding: 10px 18px;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(59,59,59,.08);
  transition: box-shadow .3s, transform .3s, color .3s;
}
.crit-skip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(59,59,59,.14);
  color: var(--crit-wine);
}
.crit-skip span {
  font-family: var(--crit-num);
  font-size: 12px;
}

/* 3D CUBE演出システム */
.crit-cube {
  position: absolute;
  z-index: 1;
  right: clamp(8px, 4vw, 70px);
  top: 50%;
  width: min(30vw, 340px);
  height: min(30vw, 340px);
  transform: translateY(-54%);
  perspective: 900px;
  pointer-events: none;
}
.cc-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(-22deg) rotateY(-30deg);
}
.cc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  transform-style: preserve-3d;
  transform: translate3d(var(--sx), var(--sy), var(--sz)) scale(.2) rotateY(120deg);
  opacity: 0;
  transition: transform .8s var(--crit-ease), opacity .45s ease;
}
.cc.in {
  transform: translate3d(var(--tx), var(--ty), var(--tz)) scale(1);
  opacity: 1;
}

/* 各立方体のデフォルト面カラー */
.ccf {
  position: absolute;
  inset: 0;
  background: #F3EAD8;
  border: 1px solid rgba(59,59,59,.2);
}
.cc .ccf-f { transform: translateZ(22px); }
.cc .ccf-b { transform: rotateY(180deg) translateZ(22px); }
.cc .ccf-r { transform: rotateY(90deg) translateZ(22px); background: #E7DDC8; }
.cc .ccf-l { transform: rotateY(-90deg) translateZ(22px); background: #E7DDC8; }
.cc .ccf-t { transform: rotateX(90deg) translateZ(22px); background: #FCF7EB; }
.cc .ccf-d { transform: rotateX(-90deg) translateZ(22px); background: #DDD0B6; }

/* 各種カラーアクセント */
.cc.a-terra .ccf  { background: #C86A4B; }
.cc.a-terra .ccf-t { background: #D67D5C; }
.cc.a-terra .ccf-r, .cc.a-terra .ccf-l { background: #B85B3F; }

.cc.a-amber .ccf  { background: #E3B94F; }
.cc.a-amber .ccf-t { background: #EFC96A; }
.cc.a-amber .ccf-r, .cc.a-amber .ccf-l { background: #D4A83E; }

.cc.a-denim .ccf  { background: #6E88A6; }
.cc.a-denim .ccf-t { background: #7F98B4; }
.cc.a-denim .ccf-r, .cc.a-denim .ccf-l { background: #5F7893; }

.cc.a-green .ccf  { background: #94A66B; }
.cc.a-green .ccf-t { background: #A4B57C; }
.cc.a-green .ccf-r, .cc.a-green .ccf-l { background: #84955D; }

/* 27個コンプリート時の発光 */
.cc-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  height: 130%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(227,178,60,.32), transparent 62%);
  opacity: 0;
  transition: opacity 1s ease;
  border-radius: 50%;
}
.crit-cube.done .cc-glow { opacity: 1; }

.cc-count {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  font-family: var(--crit-num);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--crit-ink-50);
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cc-count b {
  color: var(--crit-wine);
  font-weight: 600;
}

/* ユーザー補助：アニメーション軽減指定時 */
@media (prefers-reduced-motion: reduce) {
  .age-num { animation: none; }
  .cc { transition: none; }
}

/* レスポンシブ (タブレット・スマホ) */
@media (max-width: 860px) {
  .crit-cube {
    right: auto;
    left: 50%;
    top: 44%;
    width: 240px;
    height: 240px;
    transform: translate(-50%, -50%);
    opacity: .5;
  }
  .cc-count { display: none; }
}
@media (max-width: 560px) {
  .crit-skip { right: 12px; bottom: 60px; padding: 8px 14px; }
  .age-num { font-size: clamp(110px, 34vh, 150px); }
  .age-track { bottom: 14px; }
  .age-track .blk { width: 10px; height: 10px; }
}
#t4-main-body > .t4-section-inner:has(.critical) {
  overflow: visible;
  overflow-x: clip;
}
.critical {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.crit-eyebrow {
  top: calc(var(--crit-header-h, 0px) + 26px);
}
.crit-caps .ph p {
  margin: 0;
}
.age-track .cap {
  white-space: nowrap;
}
.crit-skip {
  right: calc(clamp(14px, 3vw, 30px) + 100px);
}
@media (max-width: 560px) {
  .crit-eyebrow {
    font-size: 9.5px;
    letter-spacing: .2em;
  }
  .crit-skip {
    right: 108px;
  }
}


/* stickyを阻害しているVK Blocksの外枠のoverflowを解除 */
.vk_outer.vk_outer-width-full {
  overflow: visible !important;
}
/* 右下のスクロール量 */
/* 右下に固定配置 */
/* .scroll-cube-widget {
  position: fixed;
  right: 24px;
  bottom: 70px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
} */

/* 奥行き設定 */
/* .cube-area {
  width: 72px;
  height: 54px;
  position: relative;
  perspective: 400px;
} */

/*
  ★重要：100%時に「拡大」と「アイソメトリック回転」を同時に受けるコンテナ
  パーツごとではなく、この親を丸ごと動かすため絶対に変形が崩れません。
*/
/* .cube-map {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  /* くるっと回って大きくなる滑らかなイージング */
  /* transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); */
  /* transform: scale(1) rotateX(0deg) rotateY(0deg); */
/* }  */

/* 6つの四角形共通スタイル */
.scroll-cube-widget i {
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  border: 1.5px solid #d2d2d2;
  border-radius: 3px;
  background-color: #ffffff;
  box-sizing: border-box;
  backface-visibility: visible;

  /* ジグザグから16pxの綺麗な立方体へ中央集約するアニメーション */
  transition:
    top 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    left 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s linear,
    background-image 0.1s linear;

  /* 上から下へ染まるグラデーション */
  background-image: linear-gradient(to bottom, #9d1c4b var(--face-progress, 0%), transparent var(--face-progress, 0%));
}

/* テキストスタイル */
/* .cube-number {
  margin: 0;
  font-size: 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #8c8c8c;
  font-weight: bold;
  letter-spacing: 0.05em;
} */

/* スマホだけ改行 */
br.sp-br{display:none;}
@media (max-width:768px){
  br.sp-br{display:inline;}
}
/* ウィンドウを縮めてコンテンツがウィンドウにくつかないように */
@media (min-width: 769px) {
  .w-contents > .inner:not(.cta-card) {
    padding-left: 40px;
    padding-right: 40px;
  }
}


/* フッターのサイトMAP */
@media (min-width: 769px) {
  /* 左右の余白 */
  .t4-footer .inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  /* 左（ロゴ・住所）は幅を固定、右（サイトマップ）は残り全部 */
  .t4-footer .ft-content {
    width: auto !important;
    flex: 0 0 280px;
  }
  .t4-footer .ft-content img {
    max-width: 100%;
    height: auto;
  }
  .t4-footer .ft-content + .sp-none {
    width: auto !important;
    flex: 1;
    min-width: 0;
  }
  /* サイトマップはグリッドで3列、項目は折り返さない */
  .ft-sitemap {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 1.5em 3em;
  }
  .ft-sitemap li {
    white-space: nowrap;
  }
}

/* 幅が足りない間は2列に。3列目は1列目の下に入る */
@media (min-width: 769px) and (max-width: 1100px) {
  .ft-sitemap {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }
  .ft-sitemap > ul:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}






/* 集中授業カード：1100px以下で縦並び（SP表示）に切り替え */
@media (min-width: 769px) and (max-width: 1100px) {
  .intensive-card {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .intensive-img {
    order: -1; /* 写真を上に */
  }
  .intensive-content {
    padding: 24px 30px;
  }
  .intensive-content h2 {
    font-size: 1.4rem;
    margin-top: 0;
  }
}

/*ログイン時の崩れ*/
.custom.jmoddiv {
  position: unset !important;
}