@charset "UTF-8";

/*下記記グローバルナビゲーション!*/

/* トップにpadding挿入 */
main {
  padding-top: calc(var(--nav-height) + 200px); /* ヘッダー+ちょい余白 */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: auto;
  height: 55px;
  /*ロゴとグローバルナビ調節用*/
  padding-left: 7%;
  padding-top: 18px;
  margin-bottom: -4px;
}

.logo-title {
  font-size: 14px;
  margin-left: 20px;
  margin-bottom: -25px;
}

* {
  box-sizing: border-box;
}

ul.gnav-navi-1 {
  background: transparent;
  text-align: right;
  padding-right: 10%;
  margin-top: -50px;
  /*ロゴとグローバルナビ調節用*/
}

ul.gnav-navi-1 li {
  display: inline-block;
}

ul.gnav-navi-1 li a {
  display: block;
  margin-left: -8px;
  margin-right: -8px;
  padding: 24px;
  text-decoration: none;
}

ul.gnav-navi-1 a::first-line {
  font-size: 14px;
}

/*上記グローバルナビゲーション!*/

/*下記フッター*/

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  color: #cecece;
}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid transparent;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer {
  padding-top: 2rem;
  padding-right: 2rem;
  padding-bottom: 0.5rem;
  padding-left: 2rem;
  font-size: 14px;
  background: transparent;
  display: block;
  width: 100%;
  height: auto;
  text-align: left !important;
  font-weight: 50 !important;
  color: #e6e6e6;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

.footer__navi-heading {
  text-align: left !important;
  margin-bottom: -10px;
}

.copyright {
  text-align: center;
  font-size: 10px;
  color: #e9e9e9;
  padding-bottom: 5px;
  padding-top: 20px;
}

.footer-center {
  margin-left: auto;
  margin-right: auto;
}

.md-flex {
  display: flex;
}

.md-justify-between {
  justify-content: space-between;
}

.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ナビゲーションページ遷移 */

#about-title {
  scroll-margin-top: 160px;
  /* 固定ヘッダーの高さに合わせて調整 */
}

#teacher-title {
  scroll-margin-top: 160px;
  /* 固定ヘッダーの高さに合わせて調整 */
}

#price-title {
  scroll-margin-top: 160px;
  /* 固定ヘッダーの高さに合わせて調整 */
}

#map-title {
  scroll-margin-top: 160px;
  /* 固定ヘッダーの高さに合わせて調整 */
}

#contact-title {
  scroll-margin-top: 160px;
  /* 固定ヘッダーの高さに合わせて調整 */
}

/* PCの設定 */
@media (min-width: 1060px) {

  .delete-pc {
    display: none;
  }

  /* フッターの設定 */
  .other-footer-pc {
    padding-left: 50px;
  }

}

/* タブレットの設定 */

@media screen and (min-width:900px) and (max-width:1059px) {

  .delete-tb {
    display: none;
  }

  .other-footer-pc {
    padding-left: 50px;
  }

}

/* モバイルの設定 */
@media (max-width: 899px) {

  .delete-mb {
    display: none;
  }

}

/* モバイルの設定 */
@media (max-width: 899px) {

  .delete-mb {
    display: none;
  }


  /* ハンバーガーメニュー */

  .logo2 img {
    text-align: center;
    width: auto;
    height: 60px;
    padding-top: 10px;
  }

  .logo-block {
    display: block;
    width: 100%;
    height: 70px;
    background-color: transparent;
  }


  [type="checkbox"]:checked,
  [type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
  }

  .menu-icon:checked+label,
  .menu-icon:not(:checked)+label {
    position: fixed;
    bottom: 40px;
    right: 55px;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    z-index: 10;
  }

  .menu-icon:checked+label:before,
  .menu-icon:not(:checked)+label:before {
    position: absolute;
    content: '';
    display: block;
    width: 30px;
    height: 20px;
    z-index: 20;
    top: 0;
    left: 0;
    margin-left: 5px;
    border-top: 2px solid #ececee;
    border-bottom: 2px solid #ececee;
    transition: border-width 100ms 1500ms ease,
      top 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
      height 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
      background-color 200ms ease,
      transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu-icon:checked+label:after,
  .menu-icon:not(:checked)+label:after {
    position: absolute;
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    z-index: 20;
    top: 12px;
    right: 4px;
    left: 4.75px;
    background-color: #ececee;
    margin-top: -1px;
    transition: width 100ms 1750ms ease,
      right 100ms 1750ms ease,
      margin-top 100ms ease,
      transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu-icon:checked+label:before {
    top: 10px;
    transform: rotate(45deg);
    height: 2px;
    background-color: #ececee;
    border-width: 0;
    transition: border-width 100ms 340ms ease,
      top 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
      height 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
      background-color 200ms 500ms ease,
      transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu-icon:checked+label:after {
    width: 30px;
    margin-top: 0;
    right: 0;
    transform: rotate(-45deg);
    transition: width 100ms ease,
      right 100ms ease,
      margin-top 100ms 500ms ease,
      transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .nav {
    position: fixed;
    bottom: 23px;
    right: 50px;
    display: block;
    width: 4.8rem;
    height: 4.8rem;
    padding: 0;
    margin: 0;
    z-index: 9;
    overflow: hidden;
    box-shadow: 0 5px 10px 0 #3d315a;
    background-color: #111111;
    animation: border-transform 7s linear infinite;
    transition: top 50ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
      right 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
      transform 250ms 1100ms ease,
      width 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1),
      height 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  @keyframes border-transform {

    0%,
    100% {
      border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    }

    14% {
      border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%;
    }

    28% {
      border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%;
    }

    42% {
      border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%;
    }

    56% {
      border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%;
    }

    70% {
      border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%;
    }

    84% {
      border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%;
    }
  }

  .menu-icon:checked~.nav {
    animation-play-state: paused;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 200%;
    height: 200%;
    transition: top 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
      right 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
      transform 250ms 700ms ease,
      width 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1),
      height 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .nav ul {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 6;
    text-align: center;
    transform: translateY(-50%);
    list-style: none;
  }

  .nav ul li {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 10px 0;
    text-align: center;
    list-style: none;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 250ms linear;
  }

  .nav ul li:nth-child(1) {
    transition-delay: 200ms;
  }

  .nav ul li:nth-child(2) {
    transition-delay: 150ms;
  }

  .nav ul li:nth-child(3) {
    transition-delay: 100ms;
  }

  .nav ul li:nth-child(4) {
    transition-delay: 50ms;
  }

  .nav ul li a {
    font-size: 9vh;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 800;
    display: inline-block;
    position: relative;
    color: #ececee;
    transition: all 250ms linear;
  }

  .nav ul li a:hover {
    text-decoration: none;
    color: #3f3f3f;
  }

  .nav ul li a:hover:after {
    width: 100%;
  }

  .menu-icon:checked~.nav ul li {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 350ms ease,
      transform 250ms ease;
  }

  .menu-icon:checked~.nav ul li:nth-child(1) {
    transition-delay: 1400ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(2) {
    transition-delay: 1480ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(3) {
    transition-delay: 1560ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(4) {
    transition-delay: 1640ms;
  }

  .menu-icon:checked+label,
  .menu-icon:not(:checked)+label {
    right: 55px;
  }

  .logo {
    left: 30px;
  }

  .nav {
    right: 30px;
  }

  .nav ul li a {
    font-size: 3.5vh;
  }


  /* ここからフッター */

  .accordion {
    width: 100%;
  }

  /* inputのチェックボックスを非表示 */
  .accordion-hidden {
    display: none;
  }

  /* 見出しボタン部分 */
  .accordion-open {
    display: block;
    padding: 10px 80px 10px 10px;
    background: #151515;
    cursor: pointer;
    margin: 5px 0;
    position: relative;
  }

  /* ＋アイコン */
  .accordion-open::before,
  .accordion-open::after {
    content: '';
    width: 15px;
    height: 2px;
    background: #ffffff;
    position: absolute;
    top: 50%;
    right: 7%;
    transform: translateY(-50%);
  }

  /* アイコンのー */
  .accordion-open::after {
    transform: translateY(-50%) rotate(90deg);
    transition: .5s;
  }

  /* アコーディオンが開いたらーに */
  .accordion-hidden:checked+.accordion-open:after {
    transform: translateY(-50%) rotate(0);
  }

  /* アコーディオン中身部分 */
  .accordion-inner {
    display: block;
    height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transition: 0.5s;
    /* 表示速度の設定 */
    cursor: pointer;
  }

  /* チェックボックスにチェックが入ったら中身部分を表示する */
  .accordion-hidden:checked+.accordion-open+.accordion-inner {
    height: auto;
    opacity: 1;
    padding: 10px;
  }

  /* ↑ここまで共通 */

}



/* グラフ */
.card-header {
  padding-bottom: 50px;
}

.timeline-wrap {
  padding: 6vh 5vw;
}

.wrap2 {
  max-width: 1260px;
  margin: 32px auto;
}

.wrap2 {
  position: relative;
  height: 800px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 130px;
  border-radius: 10px;
}

.panel2 {
  width: min(1280px, 100%);
  background: var(--panel-bg);
}

.chartBox {
  height: 560px;
  width: auto;
  position: relative;
}

.note {
  position: absolute;
  bottom: 10px;
  right: 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  text-align: right;
  pointer-events: none;
}



.pc {
  display: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-heading: "Playfair Display", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --color-text: #fff;
  --color-link: #1c3faa;
  --color-bg: #000000;
  --color-navy: #1f1f3a;
  --color-grad-start: #b84bff;
  --color-mid: #29abe2;
  --color-grad-end: #5a8aff;
  --nav-height: 60px;
}

html {
  font-size: 90%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  text-align: center;
}

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

a {
  display: block;
  color: var(--color-text);
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  margin: 0;
}

ul,
ol,
li {
  list-style: none;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

main {
  overflow: hidden;
}

section {
  padding: 100px 0 60px;
  /* header固定分を考慮 */
}

section:nth-child(n+3) {
  margin-top: 64px;
}

section h2 {
  font-size: 56px;
  background-image: linear-gradient(to right, #565cff, #29abe2, #ff7d7d, #f44a9b, #29abe2, #565cff);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientAnimation 16s ease-in infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

h1,
h2 {
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1;
}

h3 {
  font-size: 24px;
  color: var(--color-bg);
}

p {
  margin-bottom: 16px;
}

.white {
  color: var(--color-text);
  /* margin-top: 64px; */
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.cards .card {
  background: #fff;
  color: var(--color-bg);
  padding: 24px;
  border-radius: 8px;
  width: 200px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--color-bg);
  border-bottom: 1px solid #eee;
  z-index: 100;
}

header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

header .header-inner .logo {
  font-weight: bold;
  font-size: 24px;
  color: var(--color-text);
}

header .header-inner #nav .nav-inner .hamburger-menu {
  width: 50px;
  height: 50px;
  position: relative;
  border: none;
  background: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px;
  cursor: pointer;
}

header .header-inner #nav .nav-inner .hamburger-menu__bar {
  display: inline-block;
  width: 44%;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.5s;
}

header .header-inner #nav .nav-inner .hamburger-menu__bar:first-child {
  top: 16px;
}

header .header-inner #nav .nav-inner .hamburger-menu__bar:nth-child(2) {
  top: 24px;
}

header .header-inner #nav .nav-inner .hamburger-menu__bar:last-child {
  top: 32px;
}

header .header-inner #nav .nav-inner .hamburger-menu--open .hamburger-menu__bar {
  top: 50%;
}

header .header-inner #nav .nav-inner .hamburger-menu--open .hamburger-menu__bar:first-child {
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

header .header-inner #nav .nav-inner .hamburger-menu--open .hamburger-menu__bar:last-child {
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

header .header-inner #nav .nav-inner .hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
  display: none;
}

header .header-inner #nav .nav-inner .navigation {
  display: none;
  background: var(--color-bg);
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  overflow: scroll;
  z-index: 9999;
}

header .header-inner #nav .nav-inner .navigation__list {
  text-align: center;
  list-style: none;
  padding: 0 0 12px 0;
  margin: 0;
}

header .header-inner #nav .nav-inner .navigation__list .navigation__list-item .navigation__link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: block;
  padding: 12px 0 0 0;
  transition: 0.5s;
}

@media (hover: hover) and (pointer: fine) {
  header .header-inner #nav .nav-inner .navigation__list .navigation__list-item .navigation__link:hover {
    background: #333;
  }
}

header .header-inner #nav .nav-inner .navigation__list .navigation__list-item:first-child {
  margin-top: 10px;
  border-top: solid 1px var(--color-text);
}

/* ===== HERO（中央揃えで見出し直下にサブ） ===== */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;        /* 縦積みに変更 */
  justify-content: center;       /* 縦方向センター */
  align-items: center;           /* 横方向センター */
  text-align: center;
  gap: 12px;                     /* h1とサブの間隔を一定に */
}

#hero h1 {
  margin: 0;                     /* デフォルト余白を除去 */
  font-size: clamp(8rem, 10vw, 10rem);
  line-height: 1;
  background-image: linear-gradient(
    to right,
    #565cff,
    #29abe2,
    #ff7d7d,
    #f44a9b,
    #29abe2,
    #565cff
  );
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientAnimation 16s ease-in infinite;
}

/* サブテキスト（例: <p class="hero-sub">） */
#hero .hero-sub {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.4;
  color: var(--color-text, #fff);
  opacity: 0.9;
}

/* ====== レイアウトの基準値（PC最大時の見た目をキープ） ====== */
:root{
  --card-w: 360px;                 /* 理想のカード幅（PC最大時の見た目） */
  --gap:30px;   /* 行間・列間の両方に使用 */
}

/* 3枚横並び（幅に応じて自動折返し） */
#about .target__cards{
  display: grid;
  /* 可能な限りカード幅を --card-w に保ち、入らなくなったら折り返す */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--card-w)), 1fr));
  gap: var(--gap);
  justify-content: center;         /* 余白が出るときは中央寄せに */
  align-content: start;
  margin-top: clamp(8px, 1.6vw, 20px); /* （保険）見出しとの間隔 */
}

/* カード本体 */
#about .target__cards .target__card{
  width: 100%;
  max-width: var(--card-w);        /* どれだけ広くても見た目サイズを超えない */
  margin: 0 auto;         
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px;
  padding:32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:16px;
  min-height: 260px;
  box-sizing: border-box;
}

/* figure レイヤーの余白リセット */
#about .target__cards .target__card figure{
  margin: 0;
  padding: 0;
}

/* アイコン（カード幅に対する相対＋上限でPC比率を維持） */
#about .target__cards .target__card .card__img{
  width: min(38%, 140px);          /* PCの見た目に近い比率＋上限 */
  margin: 0 auto;
}
#about .target__cards .target__card .card__img img{
  display: block;
  width: 100%;
  height: auto;
}

/* タイトル（白固定） */
#about .target__cards .target__card .card__title{
  color: #fff !important;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem); /* PC最大値を上限に固定 */
  margin: 0;
  letter-spacing: .02em;
}

/* 説明（任意） */
#about .target__cards .target__card .card__text{
  color: rgba(255,255,255,.9);
  font-size: clamp(.9rem, 1.6vw, 1rem);   /* PC最大時のサイズを上限に */
  line-height: 1.7;
  margin: 0;
}

/* 見出し下のスペース */
#about h3.white{
  padding-top: 50px;
  margin-bottom: clamp(10px, 4vw, 40px) !important;
}

/* ====== ブレークポイント最小限（文字は読みやすく少しだけ縮小） ====== */
@media (max-width: 768px){
  /* 列指定は不要：auto-fit + minmax が自動で 1 列にする */
  #about .target__cards{ gap: 20px; }
  #about .target__cards .target__card .card__img{
    width: min(44%, 120px);        /* モバイルは少しだけ相対比率を上げて視認性UP */
  }
  #about .target__cards .target__card .card__title{
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
  #about .target__cards .target__card .card__text{
    font-size: clamp(.9rem, 3.6vw, .98rem);
  }
}

/* アコーディオン共通設定 */
#teacher .teacher-inner img {
  width: 230px;
  border-radius: 1000px;
  max-width: 300px;
  margin-top: 64px;
}

#teacher .teacher-inner .accordion {
  width: 100%;
  margin: 20px auto;
  text-align: left;
  /* active時のアイコン回転だけ CSS で */
}

#teacher .teacher-inner .accordion .accordion-item {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  /* コンテンツは JavaScript で高さを設定するので、
  CSS ではトランジションだけ指定 */
}

#teacher .teacher-inner .accordion .accordion-item .accordion-title {
  cursor: pointer;
  padding: 20px 0;
  font-size: 1.4rem;
  font-weight: bold;
  position: relative;
  color: var(--white);
}

#teacher .teacher-inner .accordion .accordion-item .accordion-title::after {
  content: "＋";
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

#teacher .teacher-inner .accordion .accordion-item.active .accordion-title::after {
  transform: rotate(45deg);
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
  /* Inner content adjustments */
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .project-lists h4 {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .project-lists ul li {
  margin-bottom: 8px;
  list-style: disc inside;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper {
  display: flex;
  margin-bottom: 64px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule {
  width: 300px;
  text-align: left;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: visible;
  cursor: pointer;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule .timeline {
  margin-top: 28px;
  overflow: hidden;
  transition: max-height 1s ease, padding 1s ease;
  padding-left: 24px;
  position: relative;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  width: 2px;
  background-color: #999;
  z-index: 0;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule.active .timeline {
  max-height: 1000px;
  padding-bottom: 1rem;
  overflow: visible;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule .point {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 12px;
  text-align: left;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule .point::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 0.3em;
  width: 15px;
  height: 15px;
  background-color: #29abe2;
  border-radius: 50%;
  z-index: 10;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule .point .month {
  display: block;
  font-weight: bold;
  color: #fff;
  font-size: 1rem;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule .point .desc {
  color: #ccc;
  font-size: 0.95rem;
}

#teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule:first-child {
  border-top: none;
}

@media screen and (min-width: 768px) {
  #teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }

  #teacher .teacher-inner .accordion .accordion-item .accordion-content .schedule-wrapper .schedule {
    flex: 1;
  }
}

#teacher .teacher-inner .accordion .accordion-item:first-child {
  border-top: none;
}

#teacher .teacher-inner .accordion .accordion-item.active .schedule .timeline {
  max-height: 1000px;
  padding-bottom: 1rem;
  overflow: visible;
}

#teacher .teacher-inner .accordion .accordion-item.active .schedule .schedule-title::after {
  transform: rotate(45deg);
}

#teacher .teacher-inner .accordion .accordion-item.active .accordion-title::after {
  transform: rotate(45deg);
}

#teacher .teacher-inner .accordion .num {
  font-weight: 700;
  color: var(--color-grad-end);
}

#teacher .teacher-inner .accordion .skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 24px;
}

#teacher .teacher-inner .accordion .skill-tags span {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

#teacher .teacher-inner p {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-grad-end);
}

[class$=__steps] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 56px;
  margin-top: 72px;
}

@media (max-width: 600px) {
  [class$=__steps] {
    grid-template-columns: 1fr;
  }
}

#business .step,
#teaching-out .step {
  display: grid;
  gap: 16px;
  text-align: center;
  width: 85%;
  margin: 0 auto;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--color-text);
  position: relative;
  /* number badge */
}

#business .step .step__number,
#teaching-out .step .step__number {
  position: absolute;
  top: -64px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

#business .step .step__img,
#teaching-out .step .step__img {
  margin: 32px auto 16px;
  width: 120px;
  height: 120px;
}

#business .step .step__img img,
#teaching-out .step .step__img img {
  max-width: 100%;
  height: auto;
}

#business .step .step__title,
#teaching-out .step .step__title {
  font-size: 1.1rem;
  color: var(--color-text);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#business .step .step__desc,
#teaching-out .step .step__desc {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--color-text);
  text-align: center;
}

#business .caption,
#teaching-out .caption {
  width: 100%;
  margin: 64px auto 0;
}

#business .step,
#teaching-out .step {
  border-top: 32px solid transparent;
}

#business .step--1,
#teaching-out .step--1 {
  border-color: #b84bff;
}

#business .step--1 .step__number,
#teaching-out .step--1 .step__number {
  background: #b84bff;
}

#business .step--2,
#teaching-out .step--2 {
  border-color: #29abe2;
}

#business .step--2 .step__number,
#teaching-out .step--2 .step__number {
  background: #29abe2;
}

#business .step--3,
#teaching-out .step--3 {
  border-color: #ff7d7d;
}

#business .step--3 .step__number,
#teaching-out .step--3 .step__number {
  background: #ff7d7d;
}

#business .step--4,
#teaching-out .step--4 {
  border-color: #f44a9b;
}

#business .step--4 .step__number,
#teaching-out .step--4 .step__number {
  background: #f44a9b;
}

#price {
  color: #fff;
  padding: 4rem 1rem;
}

#price h2 {
  margin-bottom: 2rem;
}

#price .swiper {
  padding-bottom: 3rem;
}

#price .swiper-slide {
  display: flex;
  justify-content: center;
}

#price .plan-card {
  border: 1px solid var(--color-mid);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
}

#price .plan-card .card__circle {
  width: 100%;
  height: 100px;
  position: relative;
  border-bottom: 1px solid var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#price .plan-card .card__circle .circle__label {
  font-size: 1rem;
}

#price .plan-card .card__circle .circle__jp {
  display: inline-block;
  width: 160px;
  margin-top: 8px;
  padding: 4px;
  border-radius: 24px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-text);
  text-align: center;
}

#price .plan-card .card__circle .circle__jp.standard {
  background: #3378b0;
}

#price .plan-card .card__circle .circle__jp.premium {
  background: #b3894a;
}

#price .plan-card .card__circle .circle__jp:not(.standard):not(.premium) {
  background: #50add6;
}

#price .plan-card .price {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 16px 0;
  background-image: linear-gradient(to right, #565cff, #29abe2, #ff7d7d, #f44a9b, #29abe2, #565cff);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientAnimation 16s ease-in infinite;
}

#price .plan-card .tax-excluded {
  font-size: 1rem;
  margin-left: 4px;
  vertical-align: baseline;
}

#price .plan-card .plan-features {
  list-style: none;
  padding-left: 0;
  margin-top: 16px;
  width: 100%;
}

#price .plan-card .plan-features li {
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  text-align: left;
  opacity: 0.85;
}

#price .plan-card .plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--color-grad-start, #b84bff);
  border-radius: 50%;
}

#price .swiper-pagination {
  text-align: center;
}

#price .swiper-pagination .swiper-pagination-bullet {
  background-color: #fff;
  opacity: 0.3;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  transition: all 0.3s;
}

#price .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-mid);
  opacity: 1;
  transform: scale(1.2);
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#change .change-inner {
  text-align: center;
}

#change .change-inner .feature-section {
  margin-top: 64px;
}

#change .change-inner .feature-section .features-swiper {
  position: relative;
  padding-bottom: 50px;
  overflow: visible;
}

#change .change-inner .feature-section .features-swiper .swiper-button-prev {
  top: 75px;
}

#change .change-inner .feature-section .features-swiper .swiper-button-next {
  top: 75px;
}

#change .change-inner .feature-section .features-swiper .swiper-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

#change .change-inner .feature-section .features-swiper .swiper-pagination .swiper-pagination-bullet {
  background: #1e90ff;
  opacity: 0.3;
}

#change .change-inner .feature-section .features-swiper .swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

#change .change-inner .feature-section .features-swiper .feature-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  color: #fff;
  width: 80%;
  height: 220px;
  margin: 0 auto;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

#change .change-inner .feature-section .features-swiper .feature-box .feature-icon {
  margin: 32px auto 16px;
  width: 120px;
  height: 120px;
}

#change .change-inner .feature-section .features-swiper .feature-box p {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.6;
}

#change .change-inner .schedule-wrapper {
  display: flex;
  margin-top: 60px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

#change .change-inner .schedule-wrapper .schedule {
  width: 300px;
  text-align: left;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: visible;
  cursor: pointer;
}

#change .change-inner .schedule-wrapper .schedule .schedule-title {
  display: flex;
  align-items: center;
  padding-top: 60px;
  position: relative;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.3;
  color: #fff;
}

#change .change-inner .schedule-wrapper .schedule .schedule-title span {
  text-align: left;
}

#change .change-inner .schedule-wrapper .schedule .schedule-title::after {
  content: "＋";
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

#change .change-inner .schedule-wrapper .schedule .timeline {
  margin-top: 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease, padding 1s ease;
  padding-left: 24px;
  position: relative;
}

#change .change-inner .schedule-wrapper .schedule .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  width: 2px;
  background-color: #999;
  z-index: 0;
}

#change .change-inner .schedule-wrapper .schedule.active .timeline {
  max-height: 600px;
  padding-bottom: 1rem;
  overflow: visible;
}

#change .change-inner .schedule-wrapper .schedule.active .schedule-title::after {
  transform: rotate(45deg);
}

#change .change-inner .schedule-wrapper .schedule .point {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 12px;
  text-align: left;
}

#change .change-inner .schedule-wrapper .schedule .point::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 0.3em;
  width: 15px;
  height: 15px;
  background-color: #29abe2;
  border-radius: 50%;
  z-index: 10;
}

#change .change-inner .schedule-wrapper .schedule .point .month {
  display: block;
  font-weight: bold;
  color: #fff;
  font-size: 1rem;
}

#change .change-inner .schedule-wrapper .schedule .point .desc {
  color: #ccc;
  font-size: 0.95rem;
}

#change .change-inner .schedule-wrapper .schedule:first-child {
  border-top: none;
}

@media screen and (min-width: 768px) {
  #change .change-inner .schedule-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }

  #change .change-inner .schedule-wrapper .schedule {
    flex: 1;
  }

  #change .change-inner .schedule-wrapper .schedule .timeline {
    max-height: none !important;
    padding-bottom: 0 !important;
    overflow: visible;
  }
}

#testimonials .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 64px;
}

#testimonials .cards .card {
  background: #fff;
  color: #000;
  padding: 24px;
  border-radius: 8px;
  width: 280px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#testimonials .cards .card p {
  font-style: italic;
}

#testimonials .cards .author {
  text-align: right;
  font-weight: 700;
  margin-top: 12px;
}

#map {
  text-align: center;
}

#map .positioning-map {
  position: relative;
  max-width: 300px;
  height: 350px;
  margin: 64px auto;
  /* 軸線 */
  /* 社名バブル */
  /* 軸ラベル */
}

#map .positioning-map .axis.horizontal {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

#map .positioning-map .axis.vertical {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: #fff;
}

#map .positioning-map .company {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
}

#map .positioning-map .company.redu {
  width: 90px;
  height: 90px;
  color: var(--color-text);
  border: 1px solid #fff;
  background-image: linear-gradient(to right, rgba(86, 92, 255, 0.7), rgba(41, 171, 226, 0.7), rgba(255, 125, 125, 0.7), rgba(244, 74, 155, 0.7), rgba(41, 171, 226, 0.7), rgba(86, 92, 255, 0.7));
  background-size: 600% 600%;
  -webkit-text-fill-color: var(--color-text);
  animation: gradientAnimation 16s ease-in infinite;
  right: 8%;
  top: 30px;
}

#map .positioning-map .company.c {
  border: 1px solid #fff;
  left: 15%;
  top: 90px;
}

#map .positioning-map .company.d {
  border: 1px solid #fff;
  left: 20%;
  top: 240px;
}

#map .positioning-map .company.b {
  border: 1px solid #fff;
  right: 23%;
  top: 200px;
}

#map .positioning-map .label {
  position: absolute;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
}

#map .positioning-map .label.x-left {
  left: -2.5em;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

#map .positioning-map .label.x-right {
  right: -2.5em;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

#map .positioning-map .label.y-top {
  left: 50%;
  top: -2.5em;
  transform: translateX(-50%);
}

#map .positioning-map .label.y-bottom {
  left: 50%;
  bottom: -2.5em;
  transform: translateX(-50%);
}

#map .comparison-section {
  background-color: transparent;
  color: #fff;
  padding: 2rem 1rem;
}

#map .comparison-section .comparison-wrapper {
  overflow-x: auto;
}

#map .comparison-section .comparison-wrapper .comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

#map .comparison-section .comparison-wrapper .comparison-table thead .redu {
  background-image: linear-gradient(to right, rgba(86, 92, 255, 0.7), rgba(41, 171, 226, 0.7), rgba(255, 125, 125, 0.7), rgba(244, 74, 155, 0.7), rgba(41, 171, 226, 0.7), rgba(86, 92, 255, 0.7));
  background-size: 600% 600%;
  -webkit-text-fill-color: var(--color-text);
  animation: gradientAnimation 16s ease-in infinite;
}

#map .comparison-section .comparison-wrapper .comparison-table th,
#map .comparison-section .comparison-wrapper .comparison-table td {
  border: 1px solid #444;
  padding: 1rem;
  text-align: left;
  font-size: 0.9rem;
}

#map .comparison-section .comparison-wrapper .comparison-table th.redu {
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 2;
}

#map .comparison-section .comparison-wrapper .comparison-table td.redu {
  font-size: 1.1rem;
}

#map .comparison-section .comparison-wrapper .comparison-table td {
  background: #111;
}

#map .comparison-section .comparison-wrapper .comparison-table .redu {
  background-image: linear-gradient(to right, rgba(86, 92, 255, 0.5), rgba(41, 171, 226, 0.5), rgba(255, 125, 125, 0.5), rgba(244, 74, 155, 0.5), rgba(41, 171, 226, 0.5), rgba(86, 92, 255, 0.5));
  background-size: 600% 600%;
  -webkit-text-fill-color: var(--color-text);
  animation: gradientAnimation 16s ease-in infinite;
  font-weight: bold;
}

#map .comparison-pc {
  display: none;
}

#map .comparison-sp {
  display: block;
  padding: 2rem 1rem;
}

#map .comparison-sp .sp-table {
  margin-bottom: 24px;
}

#map .comparison-sp .sp-table .table-title {
  border: 1px solid #444;
  padding: 1rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}

#map .comparison-sp .sp-table:first-child .table-title {
  background-image: linear-gradient(to right, rgba(86, 92, 255, 0.7), rgba(41, 171, 226, 0.7), rgba(255, 125, 125, 0.7), rgba(244, 74, 155, 0.7), rgba(41, 171, 226, 0.7), rgba(86, 92, 255, 0.7));
  background-size: 600% 600%;
  -webkit-text-fill-color: var(--color-text);
  animation: gradientAnimation 16s ease-in infinite;
  border: 1px solid #444;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: bold;
}

#map .comparison-sp .sp-table-inner {
  width: 100%;
  border-collapse: collapse;
}

#map .comparison-sp .sp-table-inner th,
#map .comparison-sp .sp-table-inner td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #444;
  font-size: 0.9rem;
}

#map .comparison-sp .sp-table-inner th {
  background-color: #1a1a1a;
  width: 40%;
}

#map .comparison-sp .sp-table-inner td {
  background-color: #111;
}

#map .comparison-sp .accordion .accordion-item:first-child {
  margin-top: 2rem;
}

#map .comparison-sp .accordion .accordion-item {
  border: 1px solid #444;
  margin-bottom: 1rem;
}

#map .comparison-sp .accordion .accordion-item .accordion-title {
  background: #111;
  padding: 1rem;
  cursor: pointer;
  font-weight: bold;
}

#map .comparison-sp .accordion .accordion-item .accordion-title::after {
  content: "＋";
  position: absolute;
  line-height: 1;
  right: 60px;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

#map .comparison-sp .accordion .accordion-item .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

#map .comparison-sp .accordion .accordion-item .accordion-content.open {
  max-height: 1000px;
}

#map .comparison-sp .accordion .accordion-item.active .accordion-title::after {
  transform: rotate(45deg);
}

/* contact  */
#contact h2 {
  margin-bottom: 32px;
}

#contact #contact-form {
  max-width: 700px;
  margin: 0 auto;
}

#contact #contact-form .form-group {
  margin-bottom: 24px;
  /*内側の線*/
  /*hoverをしたら枠線が小さくなる*/
}

#contact #contact-form .form-group label {
  display: block;
  font-weight: 700;
  text-align: left;
  margin-bottom: 8px;
}

#contact #contact-form .form-group label span {
  color: #E74C3C;
}

#contact #contact-form .form-group input,
#contact #contact-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  transition: border-color 0.3s;
}

#contact #contact-form .form-group input:focus,
#contact #contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--color-link);
}

#contact #contact-form .form-group button {
  all: unset;
}

#contact #contact-form .form-group .pushcircle {
  /*周囲の線の起点とするためrelativeを指定*/
  position: relative;
  /*円の形状*/
  width: 100px;
  height: 100px;
  box-sizing: border-box;
  padding: 0 10px;
  text-align: center;
  background: rgb(0, 0, 0);
  border-radius: 50%;
  color: rgb(255, 255, 255);
  text-decoration: none;
  outline: none;
  /*天地中央にテキストを配置*/
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

#contact #contact-form .form-group .pushcircle:after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  top: 50%;
  left: 50%;
  /*線の形状*/
  width: 85%;
  height: 85%;
  border: 2px solid rgb(0, 0, 0);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1.1);
  /*アニメーションの指定*/
  transition: 0.3s ease;
}

#contact #contact-form .form-group .pushcircle:hover:after {
  transform: translate(-50%, -50%) scale(1);
  border-color: #fff;
}

.background-deco {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #000;
}

.background-deco .shape1 {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-grad-end), rgba(255, 125, 125, 0.2));
  filter: blur(30px);
  opacity: 0.2;
  mix-blend-mode: lighten;
  animation: floatMove 5s ease-in-out infinite alternate;
}

@keyframes floatMove {
  0% {
    transform: translate(100, 0) scale(1);
  }

  50% {
    transform: translate(100px, 150px) scale(1);
  }

  100% {
    transform: translate(150px, 100px) scale(0.98);
  }
}

.background-deco .shape2 {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-grad-end), rgba(255, 125, 125, 0.2));
  filter: blur(40px);
  opacity: 0.2;
  mix-blend-mode: lighten;
  animation: floatMove2 5s ease-in-out infinite alternate;
}

@keyframes floatMove2 {
  0% {
    transform: translate(150px, 150px) scale(0.98);
  }

  50% {
    transform: translate(50px, -50px) scale(1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.background-deco .shape1.circle1 {
  width: 500px;
  height: 500px;
  top: 10%;
  left: 15%;
}

.background-deco .shape2.circle2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  right: 30%;
}

/* Footer */
footer {
  background: transparent;
  padding: 5px 0;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
}

footer .footer-nav a {
  margin-bottom: 16px;
  color: transparent;
}

.footer-padding-left {
  padding-left: 25px;
}

@media (768px <=width) {
  .sp {
    display: none !important;
  }

  .pc {
    display: block !important;
  }

  html {
    font-size: 100%;
  }

  p {
    text-align: center;
  }

  section:nth-child(n+3) {
    margin-top: 120px;
  }

  .nav-inner.pc ul {
    display: flex;
    gap: 24px;
    font-weight: 700;
  }

  #about .target__cards .target__card {
    width: 100%;
  }

  #about .target__cards .target__card figure {
    padding: 2rem;
  }

  #about .target__cards .target__card figure .card__img {
    width: 200px;
  }

  #teacher .accordion {
    width: 80%;
  }

  #business .step,
  #teaching-out .step {
    width: 100%;
    padding: 16px;
  }

  #business .caption,
  #teaching-out .caption {
    width: 80%;
  }

  #change .change-inner {
    width: 80%;
    margin: 0 auto;
  }

  #change .change-inner #features {
    padding: 60px 0;
  }

  #change .change-inner #features .features-swiper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  #change .change-inner #features .features-swiper .feature-box {
    width: 85%;
    height: 260px;
  }

  #change .change-inner #features .features-swiper .feature-box .feature-icon {
    margin: 18px auto 16px;
  }

  #change .change-inner .schedule-wrapper .schedule {
    border-left: 2px solid #999;
    border-top: none;
    padding-left: 1.5rem;
    padding-top: 12px;
    cursor: auto;
  }

  #change .change-inner .schedule-wrapper .schedule .timeline::before {
    content: none;
  }

  #change .change-inner .schedule-wrapper .schedule .point {
    left: -42px;
  }

  #change .change-inner .schedule-wrapper .schedule .schedule-title {
    padding-top: 0;
  }

  #change .change-inner .schedule-wrapper .schedule .schedule-title .arrow {
    display: none;
  }

  #change .change-inner .schedule-wrapper .schedule .schedule-title::after {
    content: none;
  }

  #change .change-inner .schedule-wrapper .schedule .timeline {
    border-left: none;
  }

  #map {
    text-align: center;
  }

  #map .comparison-pc {
    display: block !important;
  }

  #map .positioning-map {
    max-width: 700px;
    height: 400px;
    /* 社名バブル */
  }

  #map .positioning-map .company {
    width: 80px;
    height: 80px;
  }

  #map .positioning-map .company.redu {
    width: 110px;
    height: 110px;
  }

  #map .positioning-map .company.b {
    right: 23%;
    top: 230px;
  }

  #map .positioning-map tbody tr td:first-child {
    font-weight: bold;
  }

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

  .footer-nav ul {
    display: flex;
    gap: 24px;
    justify-content: center;
  }
}


/* トップのクーポンバナー（サイズ最適化版） */
:root{
  --navy: transparent;
  --navy-deep:#0f1832;
  --panel: transparent;
  --accent:#1f128e;
  --text:#ffffff;
}

/* ラッパー */
.banner-wrap{
  max-width:680px;
  margin:32px auto;
  padding:16px;
}

/* バナー本体 */
.banner{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #ffffff;
  box-sizing:border-box;
}

/* ========= 数学的にど真ん中へ配置 ========= */
.panel{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%); /* リボン無視で中央固定 */

  background:var(--panel);
  border-radius:10px;

  display:flex;
  flex-direction:column;
  align-items:center;   /* 横中央 */
  justify-content:center; /* 縦中央 */
  text-align:center;

  padding:28px;
  z-index:1;
  row-gap: clamp(8px, 1.6vh, 18px);

  width:calc(100% - 48px); /* バナー枠から24pxずつ余白確保 */
  max-width:640px;
  box-sizing:border-box;
}

/* 各行は幅100%にしてテキスト中央に */
.panel > .title,
.panel > .sub,
.panel > .price-line,
.panel > .note2{
  width:100%;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

/* 見出し */
.title{
  font-weight:900;
  font-size:clamp(60px,3.4vw,42px);
  letter-spacing:.14em;
  margin:0;
  color:#fff;
}

/* サブ＆下線も中央 */
.sub{
  font-weight:700;
  font-size:clamp(18px,2.2vw,22px);
  color:#fff;
  margin:0;
  position:relative;
}
.sub::after{
  content:"";
  display:block;
  width:100%;
  max-width:420px;
  height:2px;
  margin:10px auto 0; /* 中央 */
  background:#fff;
  opacity:.9;
}

/* ===== 一列固定の割引表示 ===== */
.price-line{
  white-space:nowrap;
  line-height:1.05;
  margin:0;
  font-weight:900;
  display:flex;
  justify-content:center;   /* 横中央 */
  align-items:baseline;     /* ベースライン揃え */
  gap:.15em;
}
.price-line .num{
  font-size:clamp(200px,14vw,150px);
  letter-spacing:.01em;
  background-size:600% 600%;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:gradientAnimation 16s ease-in infinite;
  line-height:1;
  background-color: #ff0000
}

.price-line .unit{
  font-size:2.4em;
  font-weight:800;
  letter-spacing:.02em;
  position:relative;
  top:-.06em;               /* 視覚的ベースライン補正 */
  background-image:linear-gradient(to right,#565cff,#29abe2,#ff7d7d,#f44a9b,#29abe2,#565cff);
  background-size:600% 600%;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:gradientAnimation 16s ease-in infinite;
  line-height:1;
}

.price-line .off{
  font-size:2.8em;
  font-weight:900;
  letter-spacing:.06em;
  position:relative;
  top:-.04em;
  color:#fff;
  line-height:1;
}

/* 補足 */
.note2{
  margin:0;
  font-size:clamp(15px,2.2vw,22px);
  color:#fff;
  letter-spacing:.06em;
  padding-top: 20px;
}

/* リボン（中央配置には影響しない） */
.ribbon{
  position:absolute;
  width:260px;
  height:54px;
  background:var(--accent);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:18px;
  letter-spacing:.20em;
  text-transform:uppercase;
  z-index:2;
}
.ribbon.top-left{ left:-80px; top:28px; transform:rotate(-45deg); }
.ribbon.bottom-right{ right:-80px; bottom:28px; transform:rotate(-45deg); }

/* 1250px 以下 */
@media (max-width:1250px){
  .banner-wrap{ max-width:560px; padding:12px; }
  .panel{ width:calc(100% - 36px); padding:22px; }
  .title{ font-size:clamp(50px,4.2vw,36px); }
  .sub{ font-size:clamp(20px,2.6vw,20px); }
  .sub::after{ max-width:360px; }
  .price-line .num{ font-size:clamp(150px,18vw,120px); }
  .price-line .unit{ font-size:2.2em; }
  .price-line .off{ font-size:2.6em; }
  .note2{ font-size:clamp(14px,2.4vw,20px); }
  .ribbon{ width:220px; height:48px; font-size:16px; }
  .ribbon.top-left{ left:-70px; top:24px; }
  .ribbon.bottom-right{ right:-70px; bottom:24px; }
}

/* 1060px 以下 */
@media (max-width:1060px){
  .banner-wrap{ max-width:560px; padding:12px; }
  .panel{ width:calc(100% - 36px); padding:22px; }
  .title{ font-size:clamp(40px,4.2vw,36px); }
  .sub{ font-size:clamp(18px,2.6vw,20px); }
  .sub::after{ max-width:360px; }
  .price-line .num{ font-size:clamp(130px,18vw,120px); }
  .price-line .unit{ font-size:2.2em; }
  .price-line .off{ font-size:2.6em; }
  .note2{ font-size:clamp(14px,2.4vw,20px); }
  .ribbon{ width:220px; height:48px; font-size:16px; }
  .ribbon.top-left{ left:-70px; top:24px; }
  .ribbon.bottom-right{ right:-70px; bottom:24px; }
}

/* 1020px 以下 */
@media (max-width:1020px){
.banner-wrap{ max-width:560px; padding:12px; }
  .panel{ width:calc(100% - 36px); padding:22px; }
  .title{ font-size:clamp(30px,4.2vw,36px); }
  .sub{ font-size:clamp(15px,2.6vw,15px); }
  .sub::after{ max-width:360px; }
  .price-line .num{ font-size:clamp(64px,18vw,120px); }
  .price-line .unit{ font-size:2.2em; }
  .price-line .off{ font-size:2.6em; }
  .note2{ font-size:clamp(16px,2.4vw,15px); }
  .ribbon{ width:220px; height:48px; font-size:16px; }
  .ribbon.top-left{ left:-70px; top:24px; }
  .ribbon.bottom-right{ right:-70px; bottom:24px; }
}

/* 900px 以下 */
@media (max-width:899px){
  .banner-wrap{ max-width:560px; padding:12px; }
  .panel{ width:calc(100% - 36px); padding:22px; }
  .title{ font-size:clamp(50px,4.2vw,36px); }
  .sub{ font-size:clamp(20px,2.6vw,20px); }
  .sub::after{ max-width:360px; }
  .price-line .num{ font-size:clamp(150px,18vw,120px); }
  .price-line .unit{ font-size:2.2em; }
  .price-line .off{ font-size:2.6em; }
  .note2{ font-size:clamp(14px,2.4vw,20px); }
  .ribbon{ width:220px; height:48px; font-size:16px; }
  .ribbon.top-left{ left:-70px; top:24px; }
  .ribbon.bottom-right{ right:-70px; bottom:24px; }
}

/* 600px 以下 */
@media (max-width:600px){
  .banner-wrap{ max-width:480px; margin:24px auto; }
  .panel{ width:calc(100% - 28px); padding:18px; }
  .title{ font-size:clamp(50px,5.2vw,30px); }
  .sub{ font-size:clamp(14px,3.4vw,18px); }
  .sub::after{ max-width:300px; height:2px; }
  .price-line{ margin:10px 0 12px; }
  .price-line .unit{ font-size:2em; top:-.02em; }
  .price-line .off{ font-size:2.2em; top:-.02em; }
  .note2{ font-size:clamp(14px,3.2vw,18px); }
  .ribbon{ width:180px; height:40px; font-size:14px; letter-spacing:.16em; }
  .ribbon.top-left{ left:-60px; top:18px; }
  .ribbon.bottom-right{ right:-60px; bottom:18px; }
}

/* 500px 以下（あなたの指定を安全値で上書き） */
@media (max-width:500px){
  .banner-wrap{ max-width:440px; margin:20px auto; }
  .panel{ width:calc(100% - 24px); padding:16px; }
  .title{ font-size:clamp(40px, 7.2vw, 46px); }
  .sub{ font-size:clamp(13px, 3.6vw, 16px); }
  .sub::after{ max-width:220px; height:2px; }
  .price-line{ margin:10px 0 12px; }
  .price-line .num{ font-size:clamp(100px, 21vw, 100px); }
  .price-line .unit{ font-size:1.9em; top:-.02em; }
  .price-line .off{ font-size:2.1em; top:-.02em; }
  .note2{ font-size:clamp(12px, 3.2vw, 15px); }
  .ribbon{ width:170px; height:38px; font-size:13px; }
  .ribbon.top-left{ left:-56px; top:16px; }
  .ribbon.bottom-right{ right:-56px; bottom:16px; }
}

/* 400px 以下（追加） */
@media (max-width:420px){
  .banner-wrap{ max-width:360px; margin:18px auto; }
  .panel{ width:calc(100% - 20px); padding:14px; }
  .title{ font-size:clamp(22px, 7.4vw, 26px); }
  .sub{ font-size:clamp(12px, 3.8vw, 15px); }
  .sub::after{ max-width:180px; }
  .price-line .num{ font-size:clamp(44px, 22vw, 80px); }
  .price-line .unit{ font-size:1.8em; }
  .price-line .off{ font-size:2em; }
  .note2{ font-size:clamp(12px, 3.2vw, 15px); }
  .ribbon{ width:160px; height:36px; font-size:12px; }
  .ribbon.top-left{ left:-52px; top:14px; }
  .ribbon.bottom-right{ right:-52px; bottom:14px; }
}

/* 370px 以下（追加・最小端末向け） */
@media (max-width:370px){
  .banner-wrap{ max-width:340px; margin:16px auto; }
  .panel{ width:calc(100% - 16px); padding:12px; }
  .title{ font-size:clamp(24px, 7.0vw, 24px); }
  .sub{ font-size:clamp(11px, 3.8vw, 14px); }
  .sub::after{ max-width:160px; }
  .price-line{ gap:.1em; }
  .price-line .num{ font-size:clamp(40px, 22vw, 72px); }
  .price-line .unit{ font-size:1.6em; top:-.01em; }
  .price-line .off{ font-size:1.8em; top:-.01em; }
  .note2{ font-size:clamp(11px, 3.2vw, 14px); }
  .ribbon{ width:150px; height:34px; font-size:11px; }
  .ribbon.top-left{ left:-48px; top:12px; }
  .ribbon.bottom-right{ right:-48px; bottom:12px; }
}

/* グラデーションアニメ */
@keyframes gradientAnimation{
  0%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
  100%{ background-position:0% 50%; }
}



/* トップのバナーとタイトル横並び */
/* ===============================
   横並びレイアウト用 追加CSS
   （既存CSSの最後に追記）
=================================*/
#hero-banner {
  padding: 40px 0; /* 既存sectionの余白バランスに合わせて調整可 */
}

/* 2カラムレイアウト */
.hero-banner__grid {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center; /* 縦位置を揃える */
  padding-bottom: 10%;
}

/* 列共通 */
.hero-banner__col {
  min-width: 0; /* 画像や長いテキストでのはみ出し防止 */
}

/* 左カラム（ヒーロー）調整：
   既存 #hero の 100vh をここだけ無効化して高さを自然に */
#hero-banner #hero {
  height: auto !important;
  display: block;
  padding: 0;              /* 既存sectionのpaddingを打ち消し */
}
#hero-banner #hero .wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
}
#hero-banner #hero .hero-inner {
  display: grid;
  place-items: center start; /* 左寄せ中央揃え */
  min-height: 420px;         /* 見映え用の最小高さ */
  text-align: left;
}
#hero-banner #hero h1 {
  margin-bottom: 8px;
}
#hero-banner #hero span {
  font-size: clamp(14px, 2vw, 18px);
  opacity: .9;
}

/* 右カラム（バナー）調整：
   バナーを親の高さに馴染ませる */
#hero-banner .banner-wrap {
  margin: 0;                /* 既存の上下余白を打ち消し */
  padding: 0;
}
#hero-banner .banner {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;        /* 右カラム内で右寄せしたい場合は auto に */
  margin-right: 0;
}

/* 画面幅が狭いときは縦積み（既存モバイルUXを尊重） */
@media (max-width: 899px) {
  .hero-banner__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  #hero-banner #hero .hero-inner {
    min-height: 300px;
    place-items: center;
    text-align: center;
  }
  #hero-banner .banner {
    margin: 0 auto;
    max-width: 520px;
  }
}

/* タブレット中間ブレークで少しだけ詰める */
@media screen and (min-width:900px) and (max-width:1200px) {
  #hero-banner .banner {
    max-width: 520px;
  }
}

@media (max-width: 899px) {
  /* バナーをグリッド化して中央寄せ */
  #hero-banner .banner {
    display: grid;
    place-items: center;      /* 縦横ど真ん中 */
  }

  /* パネルは static に戻してズレ要因を排除 */
  #hero-banner .panel {
    position: static;         /* absolute解除 */
    top: auto;
    left: auto;
    transform: none;          /* translate解除 */

    /* 幅と余白はモバイル用に少しだけタイトに */
    width: min(520px, calc(100% - 28px));
    max-width: 100%;
    margin: 0 auto;
    padding: 18px;            /* 既存モバイル値に合わせる */
    box-sizing: border-box;
  }

  /* 念のため：リボンはそのままでもOK（配置に影響しない） */
  #hero-banner .ribbon {
    pointer-events: none;     /* タップずれ防止（任意） */
  }

  /* 既存：.banner-wrap の外側余白はモバイルで中央に寄せたいので維持 */
  #hero-banner .banner-wrap {
    margin: 0 auto;
    padding: 0;
  }

  /* 既存：バナー自体も中央に */
  #hero-banner .banner {
    margin: 0 auto;
    max-width: 520px;         /* 既存指定と整合 */
  }
}

/* 左カラムのテキストブロックと下バナーの間にスペースを追加 */
#hero-banner #hero {
  margin-bottom: 100px; /* 👈 ここでスペースを作る */
}

/* モバイル時は少し狭める */
@media (max-width: 899px) {
  #hero-banner #hero {
    margin-bottom: 100px;
  }
}

/*# sourceMappingURL=style.css.map */







/* ===== Floating LINE Contact Button ===== */
:root{
  --fab-size: 56px;
  --fab-radius: 50px;
  --fab-bg: #06C755;             /* LINEグリーン */
  --fab-shadow: 0 5px 10px rgba(6,199,85,.35);
  --fab-z: 3000;                 /* 既存の nav / モーダルより上に */
}

/* 共通スタイル（PC/タブレットでは右下） */
.fab-line{
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 20px;
  height: var(--fab-size);
  padding: 0 30px;
  border-radius: var(--fab-radius);
  background: var(--fab-bg);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: var(--fab-shadow);
  z-index: var(--fab-z);
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;

  /* ふわっと浮くためのトランジション */
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background-color .2s ease,
    filter .25s ease;
}

.fab-line__label{
  white-space: nowrap;
  font-size: 14px;
  line-height: 1;
}

/* ホバー時にちょっと浮く */
.fab-line:hover{
  filter: brightness(1.02);
  transform: translateY(-4px) scale(1.03);   /* 浮遊感 */
  color: #fff;  /* ← フォント色を固定 */
}

/* 押してる間は少し沈む（クリック感） */
.fab-line:active{
  transform: translateY(-1px) scale(0.98);
  color: #fff;  /* ← 押下時も固定 */
}

/* キーボード操作でも浮かせる（アクセシビリティ） */
.fab-line:focus-visible{
  outline-offset: 3px;
  transform: translateY(-4px) scale(1.03);
  color: #fff;  /* ← フォーカス時も固定 */
}

/* 低モーション環境ではアニメ控えめ */
@media (prefers-reduced-motion: reduce){
  .fab-line{ transition: none; }
  .fab-line:hover,
  .fab-line:focus-visible{
    transform: none;
  }
}

/* ===== モバイル調整（~899px）：
   右下はハンバーガー（.menu-icon）と干渉するので左下に退避 */
@media (max-width: 899px){
  .fab-line{
    right: auto;
    left: clamp(14px, 4vw, 22px);
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    height: 52px;
    padding: 0 30px;
  }
  .fab-line__label{ font-size: 13px; }
  .fab-line__icon{ width: 26px; height: 26px; }
}

/* 超狭小端末（~360px）はコンパクト表示 */
@media (max-width: 360px){
  .fab-line{
    height: 48px;
    padding: 0 20px;
  }
  .fab-line__label{ font-size: 12px; }
  .fab-line__icon{ width: 24px; height: 24px; }
}

/* ====== 追従表示のための保険：Jicooウィジェット等と被る時は少し上げる ====== */
@media (min-height: 700px){
  .fab-line{
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}
/* ===== /Floating LINE Contact Button ===== */