﻿/*====================================================================
ハンバーガー
====================================================================*/
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  border-bottom: 1px solid #ccc;
}

.p-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  position: relative;
}

.header_logo {
  width: clamp(120px, 6vw, 400px);
}

/* ハンバーガー */
.p-header__hamburger {
  z-index: 1000;
}

.c-hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
}

.c-hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  transition: 0.3s;
}

.c-hamburger span:nth-child(1) { top: 0; }
.c-hamburger span:nth-child(2) { top: 10px; }
.c-hamburger span:nth-child(3) { top: 20px; }

/* 開いた時 */
.c-hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.c-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.c-hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* ナビ */
.p-header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  transition: 0.4s;
  z-index: 999;
}

.p-header__nav.is-active {
  right: 0;
}

/* 中身 */
.p-nav__inner {
  height: 100%;
}

.p-nav__list {
  list-style: none;
  padding: 100px 20px;
  margin: 0;
  text-align: center;
}

.p-nav__item {
  margin-bottom: 32px;
}

.p-nav__link {
  color: var(--word);
  font-size: 18px;
  text-decoration: none;
}

/* 共通項目 */
:root{
  --main: #8379EE;
  --bg: #F2F0FE;
  --wh: #fff;
  --word: #333333;
  --ease: cubic-bezier(.2,.9,.2,1);

  /* ここだけ案件に合わせて調整しやすい */
  --card-w: clamp(240px, 26vw, 420px);
  --card-ratio: 4 / 5;
}
body {
	font-family: "Yu Gothic", "Yu Gothic Medium", "游ゴシック体", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	font-weight: 700;
	font-style: normal;
	line-height: 1.6;
	color: #333;
}
main {
	min-height: 100vh;
}
.main-visual img {
  margin-top: 52px;
}

.title {
  text-align: center;
}
.ocat__heading_2 {
  background: var(--main);
  color: #fff;
  padding: 0px 8px;
  font-size: 20px;
  margin-bottom: 4px;
  display: inline-block;
}
.ocat__subtext {
  background: var(--main);
  color: #fff;
  padding: 0px 8px;
  font-size: 14px;
  margin-bottom: 10px;
  display: inline-block;
}
.ocat__heading {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--word);
  text-align: center;
  line-height: 1.4;
}
.ocat_voice_heading {
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--word);
  text-align: center;
  line-height: 1.4;
}
.ocat_text {
  text-align: left;
  font-weight: 400;
  line-height: 1.6;
}
.all-section {
	max-width: 690px;
	margin: 0 auto;
	box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
}

.sub-text {
	background-color: var(--main);
	font-size: 16px;
	color: var(--wh);
	display: inline-block;
	margin-bottom: 10px;
	padding: 1px 5px;
}
.main-text {
	font-family: "Shippori Mincho", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS 明朝", serif;
	font-size: 26px;
	line-height: 1.4;
}
.headline {
	text-align: center;
	    margin-bottom: 24px;
}
.sec_01_intro {
	width: 100%;
	margin: 0px auto;
}

.sec_02 {
	padding: 50px 0;
  background: var(--bg);
}
.sec_02_main_inner {
	padding: 0 20px;
}
.sp_sec_03_worries_01 img {
	width: 100%;
}
.worry_inner {
  padding: 16px 20px 50px 20px;
  background-color: #F0F2F7;
}
.worry_inner img {
  margin-top: 16px;
}
.sec_03 {
  background-color: #Fff;
  padding: 50px 0;
}
.sec_03_inner {
  padding: 0 20px;
}
.sec_04 {
  background: var(--bg);
	padding-top: 40px;
}
.sec_04_text {
	line-height: 2;
	margin-top: 24px;
}
.sec_04 h1 {
	color: var(--wh);

}
.sec_04_inner {
  padding: 0 20px 24px;
}
.sec_05 {
  padding: 50px 0;
}
.sec_05_02 {
  background: #E7EDFB;
  padding: 50px 0;
}
.sec_05_inner,.sec_06_inner,.sec_05_02_inner {
  padding: 0 20px;
}
.sec_05_inner img {
  margin-bottom: 24px;
}
.sec_05_heading_inner {
  text-align: center;
  margin-top: 20px;
}
.sec_06 {
	padding: 40px 0;
  background: var(--bg);
}
.sec_06_inner img {
  margin-bottom: 20px;
}
.sec_06_inner .ocat_text {
  margin-bottom: 20px;
}
.sec_06_inner p {
  font-size: 14px;
  font-weight: 400;
}
.sec_07 {
  background: #E7EDFB;
  padding: 40px 0;
}
.sec_07_inner {
  padding: 0 20px;
}
.sec_07_inner img {
  margin-bottom: 16px;
}
.sec_07_heading_inner {
  text-align: center;
  margin-top: 20px;
}
/* CTA */
.cta {
  text-align: center;
  padding: 24px 20px 0;
  }
.cta_area {
  margin-top: 40px;
}
.cta_area img {
  margin-bottom: 20px;
}
/* KISOパスとは */
.sec_08 {
	background-color: var(--bg);
	padding: 40px 0;
}
.sec_08_main_inner {
	padding: 0 20px;
}
.sec_08_main_inner img {
	margin-bottom: 24px;
}
.sec_08_inner {
  padding: 0 20px;
}
.sec_08_title {
  margin-top: 32px;
  text-align: center;
}
/*===========
スケジュール
===========*/
.tab-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
    max-width: 500px;
    margin-top: 24px;
}

.tab-2 > label {
    flex: 1 1;
    order: -1;
    opacity: .5;
    min-width: 70px;
    padding: 5px;
    border-radius: 5px 5px 0 0;
    background-color: #D7968B;
    color: #fff;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.tab-2 > label:hover {
    opacity: .8;
}

.tab-2 input {
    display: none;
}

.tab-2 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}

.tab-2 label:has(:checked) {
    opacity: 1;
}

.tab-2 label:has(:checked) + div {
    display: block;
}
.sec_09 {
  text-align: center;
	padding: 40px 0;
  background-color: #fff;
}
.sec_09_inner {
  padding: 0 20px;
}
.sec_09_inner .ocat_text {
  margin: 16px 0;
}
/*===========
.f_area
===========*/
.scroll-box .f_area {
  display: flex;
  justify-content: center;
}
.scroll-box .f_area .f_one {
  width: 33.333%;
}
.f_one img {
	width: 100%;
}
.scroll-box .f_area .f_one a {
  display: block;
  overflow: hidden;
  backface-visibility: hidden;
}
.scroll-box .f_area .f_one a img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
  transform: scale(1);
  transition: .5s;
}
.scroll-box .f_area .f_one a img:hover {
  transform: scale(1.1);
}
.scroll-box {
    overflow-x: auto;
  }
  .scroll-box .f_area {
    justify-content: flex-start;
    overflow-x: scroll;
    padding: 0 0 15px;
  }
  .scroll-box .f_area .f_one {
    flex: 0 0 45%;
  }
  .scroll-box .f_area .f_one {
    flex: 0 0 80%;
  }

.faq {
	width: 60%;
	margin: 0 auto 40px auto;
}

/* よくある質問 */
.top-faq {
	padding: 50px 0;
	background-color: #ECDEDE;
}
.top-faq-inner {
	max-width: 1010px;
	margin: 0 auto;
	padding: 0 20px;
}
.qa-7 {
    width: 100％;
    margin-bottom: 10px;
    border: none;
    border-radius: 20px;
    background-color: #fff;
	text-align: left;
}

.qa-7 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 2em 20px 4em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-7 summary::before,
.qa-7 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-7 summary::before {
	content: "Q";
	color: #858281;
}

.qa-7 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333;
    border-right: 3px solid #333;
    content: '';
    transition: transform .5s;
}

.qa-7[open] summary::after {
    transform: rotate(225deg);
}

.qa-7 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1.3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-7[open] p {
    transform: none;
    opacity: 1;
}

.qa-7 p::before {
    color: #F15E2C;
    line-height: 1.2;
    content: "A";
}

/* 各セクションへの設定 */

/* 共通ボタンへの設定 */
.btn_box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  margin: 0;
}

.btn{
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 70px;
  letter-spacing: 3px;
  width: 200px;
  height: 70px;
  background: #000;
  margin: auto;
  cursor: pointer;
  border-radius: 100px;
}

/* ロゴへの設定 */
.logo_style {
	width: 20%;
}
.logo:hover {
	opacity: 0.7;
}

.header {
	display: flex;
	justify-content: space-between;
	padding: 0 5px;
	margin: 16px;
  }

/* Gナビ全体 */
.menu {
	max-width: 100%;
	height: 70px;
	margin: 0 auto;
}
.navInner {
	max-width: 960px;
	height: 68px;
	margin: 0 auto;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}
.navInner ul {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.menu ul li {
	line-height: 1.1em;
}
.gnav {
	margin-top: 17px;
	display: inline-block;
	text-align: center;
	font-weight: bold;
	position: relative;/*ホバーの設定*/
	height: 50px;
	padding-left: 10px;
	padding-right: 10px;
}
.gnav span {
	font-size: 12px;
}
.icon_list {
	max-width: 960px;
	margin: 0 auto;
}
.icon_list ul {
	width: 100%;
}
.sns_icon {
	display: inline-block;
	margin: 5px 15px 0 0;
	padding-bottom: 6px;
	float: right;
}
.sns_icon:hover {
	opacity: 0.7;
}
/* プルダウンメニューへの設定 */
.menu__single {
	position: relative;
}
.menu__second-level {
	visibility: hidden;
    opacity: 0;
    z-index: 1;
	position: absolute;
	top: 40px;
	left: 0;
	width: 200px !important;
	display: block !important;
	text-align: left;
	background: #396dae;
	color: #fff;
    -webkit-transition: all .2s ease;
	transition: all .2s ease;
}
.menu__second-level:before {
	content: "";
	position: absolute;
	top: -24px;
	left: 17%;
	margin-left: -15px;
	border: 15px solid transparent;
	border-bottom: 15px solid #396dae;
  }
.menu__second-level li {
	border-bottom: 1px solid #fff;
	padding: 15px 10px;
	font-size: 15px;
}
.menu__second-level li a {
	color: #fff;
}
.menu__second-level li:hover {
	background-color: #12243a;
	opacity: 0.7;
	display: block;
	transition: all 0.5s ease;
}
.init_bottom {
	cursor: pointer;
}
.init_bottom:after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 0 15px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.menu__single:hover ul.menu__second-level {
    top: 50px;
    visibility: visible;
    opacity: 1;
}

.mainPhoto {
	width: 100%;
}

/* 共通フッター */
footer {
	color: #fff;
	background-color: #858281;
}
.footerInner a {
	color: #fff;
	margin-right: 20px;
}
	
.footerInner {
	margin: 0 auto;
	padding: 20px 20px 80px 20px;
}
.footerInner a:hover {
	color: #FCE700;
}
.footerInner a::before {
	font-family: "Font Awesome 5 Free";
  content: "\f101";
  font-weight: 900;
  padding-right: 5px;
  color: #ffffff;

}
.copyLight {
	height: 30px;
	padding: 10px;
	text-align: center;
}
/* 特定商取引法 */
table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
table th,table td {
	padding: 10px;
	border: 1px solid #ccc;
}
table th {
	background-color: #eee;
}

/* トップページ最新情報 */
/* .newstext {
	max-width: 750px;
} */
.newstext a:hover {
	color: #396dae;
}
/* ラベル講演情報 */
.label_lecture {
	background-color: #b90101;
	border-radius:3px;
	color:#fff;
	margin: 0 20px;
	padding:2px 5px;
	font-size: 14px;
}
/* ラベル掲載情報 */
.label_publish {
	background-color: #017c2e;
	border-radius:3px;
	color:#fff;
	margin: 0 20px;
	padding:2px 5px;
	font-size: 14px;
}
/* ラベルお知らせ */
.label_notice {
	background-color: #2388b8;
	border-radius:3px;
	color:#fff;
	margin: 0 20px;
	padding:2px 5px;
	font-size: 14px;
}
/* このイベントは終了しました */
.ended {
	color: #ff0000;
	font-weight: bold;
	display: inline-block;
}

/* トップへ戻るボタン */
html body main #page-top {
	position: fixed;
	font-size: 0;
	right: 20px;
	bottom: 60px;
	z-index: 100;
	opacity: 0;
}
html body main #page-top:hover {
	cursor: pointer;
}
  html body main #page-top.fade-in {
	color: #000;
	font-size: 60px;
	opacity: 0.6;
	text-decoration: none;
	transition: opacity 1s;
}

/* 続きを読む */
.cp_box1 {
  position: relative;
}
.cp_box1 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box1 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 140px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  /* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
  background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(242 240 254) 90%);
}
/* 開いた時にグラデーションを消す */
.cp_box1 input:checked + label {
  background: inherit;
}
.cp_container {
	margin-top: 16px;
}
.cp_box1 .cp_container {
  overflow: hidden;
  height: 250px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
}
/*続きをよむボタン*/
.cp_box1 label:after,
.cp_box1 label::before {
  content: '';
  position: absolute;
  line-height: 2.5rem;
}
.cp_box1 label:after {
  z-index: 2;
  bottom: 20px;
  width: 13em;
  content: '続きをよむ';
  color: #ffffff;
  background: var(--main);
  border-radius: 20px;
}
.cp_box1 label::before {
  position: absolute;
  bottom: 38px;
  left: calc(50% - 3.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box1 input:checked + label:after {
  content: '閉じる';
}
.cp_box1 input:checked + label:before {
  left: calc(50% - 2.5em);
  transform: scale(1, -1);
}
.cp_box1 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}
.menu_sec_01 {
	width: 80%;
}

.menu_sec_02 {
	background-color: #F7F4EB;
}
.menu_sec_02_inner {
	margin-top: 16px;
	padding: 0 20px;
}
.menu_sec_02_onecolor {
	margin-bottom: 32px;
}
.menu_sec_03 {
	background-color: var(--wh);
	padding-bottom: 64px;
}
/* 料金プラン */
.image-scroll {
  width: 100%;
  height: 100%;
  overflow-x: auto;   /* 横スクロール */
  overflow-y: hidden; /* 縦スクロールは出さない */
}

.image-scroll img {
  width: 100%;   /* 横は画像比率に任せる */
  max-width: none;    /* 縮まないようにする */
  display: block;
}
/* ----------------------*
 * スクールメニュースライダー
 * ----------------------*/
/* ----------------------*
 * コンテナー
 * ----------------------*/
.container {
  width: var(--item-width);
  position: relative;
  margin-bottom: 40px;
  /* 各パーツ配置をグリッドでレイアウト */
  display: grid;
  grid-template-areas: "item item item" "left markers right";
  grid-template-columns: 1fr 2fr 1fr;
  row-gap: 16px;
}
.container_title {
	margin-bottom: 10px;
}
/* ----------------------*
 * カルーセル
 * ----------------------*/
.carousel {
  width: 100%;
  display: grid;
  /* アイテムを横並びにする */
  grid-auto-flow: column;
  grid-area: item;
  /* 次のスライドとの間隔 */
  gap: 120px;
  overflow-x: auto;
  /* X方向にスナップ */
  scroll-snap-type: x mandatory;
  /* 1度に1枚ずつ移動 */
  scroll-snap-stop: always;
  /* スムーズにスクロールさせる */
  scroll-behavior: smooth;
  /* インジケーターの表示 */
  scroll-marker-group: after;
  /* スクロールバー非表示 */
  scrollbar-width: none;


  /* 前へ・次へボタン */
  &::scroll-button(*) {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    padding: 0;
    color: var(--main);
    border: 1px solid var(--main);
    transition: background-color 0.2s, color 0.2s;
  }

  /* ホバー時スタイル */
  @media (any-hover: hover) {
    &::scroll-button(*):not(:disabled):hover {
      background-color: var(--main);
      color: #fff;
      cursor: pointer;
    }
  }


  /* 非活性時スタイル */
  &::scroll-button(*):disabled {
    color: darkgray;
    border: 1px solid lightgray;
  }

  /* 前へボタン */
  &::scroll-button(left) {
    /* コンテンツ / 代替テキスト */
    content: "◀" / "前へ";
    grid-area: left;
    justify-self: end;
  }

  /* 次へボタン */
  &::scroll-button(right) {
    /* コンテンツ / 代替テキスト */
    content: "▶" / "次へ";
    grid-area: right;
  }

  /* インジケーター（コンテナー） */
  &::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    grid-area: markers;
    align-items: center;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }
}

/* ----------------------*
 * カルーセルの画像アイテム
 * ----------------------*/
.item {
  width: var(--item-width);
  min-width: var(--item-width);
  height: var(--item-height);
  scroll-snap-align: center;

  /* インジケーター */
  &::scroll-marker {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-color: lightgray;
    border-radius: 50%;
    transition: background-color 0.2s;
    flex-shrink: 0;
  }

  /* インジケーターのカレントスタイル */
  &::scroll-marker:target-current {
    background-color: var(--main);
  }

  img {
    display: block;
    width: 100%;

    object-fit: cover;
  }
}

@media (width < 600px) {
  .container {
    --item-width: calc(100vw - 32px);
    width: var(--item-width);
    grid-template-columns: 1fr 3fr 1fr;
  }
}
.menu_intro {
	padding: 64px 0;
	background: #F7F4EB;
}
.menu_intro_inner {
	padding: 0 20px;
	text-align: center;
}
.menu_intro_title {
	font-size: 20px;
	line-height: 1.4;
	margin-bottom: 20px;
}