@charset "UTF-8";
@import url(all.css);
/*rootの変数宣言*/
:root {
  /*==============================
      カラー    
  ==============================*/
  --color-font: #242b35;
  --color-white: #ffffff;
  --color-lightblue: #8fabd4;
  --color-blue: #6a87ae;
  --color-darkblue: #4b6a98;
  --color-yellow: #fff600;
  --color-red: #cc3333;
  --color-beige:#ffedcb;
  --color-whitebeige: #fffcf7;
  --color-whiteblue:#d7e7ff;
  /*カレントカラー*/
  --color-current: #4b6a98;
  /*テキストリンクカラー*/
  --color-textlink:#4b6a98;
  /*必須ボタンカラー*/
  --color-required: #4b6a98;
  /*任意ボタンカラー*/
  --color-optional: #4b6a98;
  /*ラジオボタンカラー*/
  --color-radio: #4b6a98;
  /*チェックボタンカラー*/
  --color-check: #4b6a98;
  /*==============================
      フォントファミリー
  ==============================*/
  /*タイトル*/
  --font-family-heading: "Shippori Mincho B1", serif;
  /*本文*/
  --font-family-body: "Noto Sans JP", sans-serif;
  /*==============================
      フォントサイズ
  ==============================*/
  /*基準のフォントサイズ*/
  --font-size-body: 1.6rem;
  /*==============================
      行間
  ==============================*/
  /*基準の行間*/
  --line-height-base: 2;
  /*==============================
      文字間
  ==============================*/
  /*基準の文字間*/
  --letter-spacing-base: 0.05em;
}

/*rootの変数宣言*/
:root {
  /*==============================
      カラー    
  ==============================*/
  --color-font: #242b35;
  --color-white: #ffffff;
  --color-lightblue: #8fabd4;
  --color-blue: #6a87ae;
  --color-darkblue: #4b6a98;
  --color-yellow: #fff600;
  --color-red: #cc3333;
  --color-beige:#ffedcb;
  --color-whitebeige: #fffcf7;
  --color-whiteblue:#d7e7ff;
  /*カレントカラー*/
  --color-current: #4b6a98;
  /*テキストリンクカラー*/
  --color-textlink:#4b6a98;
  /*必須ボタンカラー*/
  --color-required: #4b6a98;
  /*任意ボタンカラー*/
  --color-optional: #4b6a98;
  /*ラジオボタンカラー*/
  --color-radio: #4b6a98;
  /*チェックボタンカラー*/
  --color-check: #4b6a98;
  /*==============================
      フォントファミリー
  ==============================*/
  /*タイトル*/
  --font-family-heading: "Shippori Mincho B1", serif;
  /*本文*/
  --font-family-body: "Noto Sans JP", sans-serif;
  /*==============================
      フォントサイズ
  ==============================*/
  /*基準のフォントサイズ*/
  --font-size-body: 1.6rem;
  /*==============================
      行間
  ==============================*/
  /*基準の行間*/
  --line-height-base: 2;
  /*==============================
      文字間
  ==============================*/
  /*基準の文字間*/
  --letter-spacing-base: 0.05em;
}

/*opacity含めたカラー指定あればここで定義*/
/*========================
    default
========================*/
html {
  font-size: min(2.22vw, 10px);
}

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

.wrapper {
  min-width: 320px;
  line-height: 1.6;
}

.com-inbox {
  width: 90%;
}

.inline-block {
  display: inline-block;
}

/*パンくずリスト非表示*/
.breadcrumb {
  display: none;
}

section:not(.mv, .sv, .privacy__box) {
  padding-block: 10rem;
}

/*==============================
    ヘッダー
==============================*/
.header__inner {
  height: 10rem;
  padding: 1.5rem;
}

/*==============================
    メインビジュアル
==============================*/
.mv .video {
  aspect-ratio: 16/9;
}

/*==============================
    サブビジュアル
==============================*/
.sv {
  padding-block: 5rem 0;
  flex-direction: column;
  padding-inline: 5%;
  gap: 4rem;
}
.sv__title {
  position: relative;
  top: unset;
  transform: translateY(0);
  left: unset;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
}
.sv__title .ja {
  font-size: 3.6rem;
}
.sv__title .en {
  font-size: 2rem;
}
.sv__container {
  width: 100%;
}

/*==============================
    共通タイトル
==============================*/
.com-title01 {
  gap: 1.5rem;
  margin-bottom: 6rem;
  text-align: center;
}
.com-title01 .ja {
  font-size: 3rem;
}
.com-title01 .en {
  font-size: 1.6rem;
}

.com-title02 {
  font-size: 2.2rem;
}

/*==============================
    共通ボタン
==============================*/
.com-btn {
  width: 100%;
  height: 60px;
  max-width: 370px;
}

.link-btn {
  height: 60px;
  width: 100%;
  max-width: 370px;
  margin-inline: auto;
}

.secret-btn {
  width: 100%;
  font-size: 1.8rem;
  padding-inline: min(45%, 195px) 2rem;
  line-height: 1.3;
  margin-block: 5rem 10rem;
  gap: 2rem;
  max-width: 390px;
}
.secret-btn::after {
  flex-shrink: 0;
}

.mail-btn {
  width: 100%;
  height: 60px;
  max-width: 370px;
}

.line-btn {
  width: 100%;
  height: 80px;
  gap: 20px;
  padding-inline: 20px;
  max-width: 370px;
}
.line-btn::before {
  width: 40px;
}

/*==============================
    共通テーブル
==============================*/
.com-table tr th {
  width: 30%;
}

/*==============================
    その他共通デザイン
==============================*/
/*下線*/
.intro p {
  line-height: 1.9;
  padding-block: 1.5rem;
}

/*チェックリスト*/
.com-check__title {
  font-size: 2.2rem;
  width: 80%;
  line-height: 1.3;
  text-align: center;
}

.yellow-line {
  background-color: rgba(255, 246, 0, 0.3);
  padding-block: 0.2rem;
}
.yellow-line::before {
  display: none;
}

.red-line {
  background-color: var(--color-red);
  padding-block: 0.2rem;
}
.red-line::before {
  display: none;
}

.red {
  display: inline-block;
}

/*==============================
    TOP
==============================*/
/*未来につながる力をここから*/
.top-intro {
  padding-block: 10rem 0 !important;
}
.top-intro::before {
  width: 40%;
  top: 0;
  left: unset;
  right: 0;
}
.top-intro::after {
  width: 40%;
  bottom: unset;
  top: 30rem;
  right: unset;
  left: 0;
}
.top-intro__title {
  width: 50%;
  max-width: 220px;
  margin-bottom: 10rem;
}

/*こんなお悩みありませんか*/
.top-worry::before {
  width: 40%;
  left: unset;
  right: 0;
}
.top-worry .com-title01 .ja img {
  height: 3.2rem;
  margin-inline: 0.5rem;
}
.top-worry__title {
  font-size: 3rem;
}
.top-worry__list {
  flex-direction: column;
  align-items: center;
}
.top-worry__item {
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
}
.top-worry__item::after {
  top: calc(100% + 1.5rem);
  left: calc(50% - 1rem);
  transform: translateY(0) rotate(90deg);
}
.top-worry .com-check__box {
  margin-bottom: 8rem;
}
.top-worry__box::before {
  width: 20%;
  max-width: 75px;
}
.top-worry__box p {
  line-height: 1.8;
  font-size: 2rem;
}
.top-worry__box strong {
  font-size: 2.1rem;
}

/*維新ゼミについて*/
.top-about__wrap {
  flex-direction: column;
  align-items: center;
}
.top-about .map {
  height: 35rem;
  width: 100%;
}

/*新着情報*/
.top-blog .com-inbox {
  flex-direction: column;
  align-items: center;
}
.top-blog .com-blog__list {
  margin-bottom: 5rem;
}

/*==============================
    点数が上がる秘密
==============================*/
/*維新ゼミではなぜ結果がでるのか*/
.secret-how__wrap {
  flex-direction: column;
  align-items: center;
}
.secret-how__wrap::before {
  width: 20%;
  max-width: 110px;
}

/*その悩み、維新ゼミが変えます*/
.secret-change__title {
  font-size: 2.2rem;
  line-height: 1.3;
  text-align: center;
}
.secret-change__box {
  padding: 4rem 2rem;
}
.secret-change__box .yellow-line,
.secret-change__box .red-line {
  display: inline-block;
}
.secret-change__box::before {
  width: 20%;
  max-width: 110px;
}
.secret-change__list::before {
  width: 40%;
  max-width: 170px;
}
.secret-change__item {
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.secret-change__item-image {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
}
.secret-change__item-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*==============================
    小学生コース
==============================*/
.elementary-section {
  padding-block: 10rem 0 !important;
}

/*==============================
    中学生コース
==============================*/
.junior-section {
  padding-block: 10rem 0 !important;
}

/*==============================
    小中学生コース共通部分
==============================*/
/*時間割*/
.timetable {
  min-width: 200vw;
  table-layout: fixed;
}
.timetable__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.timetable tr:first-child th {
  font-size: 2rem;
  width: unset;
  padding-block: 1.5rem;
}
.timetable tr th,
.timetable tr td {
  min-height: 5rem;
}
.timetable tr th:first-child {
  font-size: 1.8rem;
  padding-inline: 0.5rem;
  line-height: 1.3;
  padding-block: 1.2rem;
  width: 19%;
}
.timetable tr td {
  font-size: 1.3rem;
  width: 1%;
}

/*==============================
    維新ゼミについて
==============================*/
/*講師挨拶*/
.about-greeting__wrap {
  flex-direction: column;
}
.about-greeting__title {
  font-size: 2.2rem;
  margin-bottom: 3rem;
}
.about-greeting__image {
  max-width: 400px;
}

/*講師プロフィール*/
.about-profile {
  padding: 5rem 3rem 4rem 3rem;
}
.about-profile__title {
  font-size: 2.4rem;
  width: 70%;
}

/*教室情報*/
/*==============================
    授業の雰囲気や学びのポイントは
    YouTubeTikTokInstagramでも
    発信中
==============================*/
.com-sns-section__list {
  flex-direction: column;
  align-items: center;
}
.com-sns-section__title {
  font-size: 3rem;
  line-height: 1.3;
  gap: 2.5rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 6rem;
}
.com-sns-section__title > span .blue-line {
  font-size: 3rem;
  text-align: center;
  padding-block: 1rem;
  display: block;
  width: 100%;
  max-width: 350px;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.com-sns-section__title > span:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.com-sns-section__title > span:last-child span:last-child {
  margin-top: 1.5rem;
}
.com-sns-section__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

/*==============================
    コース紹介
==============================*/
.com-course-section {
  padding-block: 10rem 0 !important;
}
.com-course-section__item::before {
  bottom: calc(100% + 1rem);
  width: 2rem;
}
.com-course-section__item a {
  padding: 2rem;
}
.com-course-section__item a::after {
  width: 2.8rem;
  right: 1.5rem;
  bottom: 1.5rem;
}
.com-course-section__title {
  gap: 1.5rem;
}
.com-course-section__title .ja {
  font-size: 2.4rem;
}
.com-course-section__title .en {
  font-size: 1.6rem;
  line-height: 1.3;
}

/*==============================
    共通お問い合わせセクション
==============================*/
.com-contact-section .com-inbox {
  padding-inline: 2rem;
}
.com-contact-section .com-inbox::before {
  width: 95vw;
}
.com-contact-section .com-tel {
  justify-content: center;
}
.com-contact-section__list {
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
.com-contact-section__item {
  width: 100%;
}
.com-contact-section .mail-btn,
.com-contact-section .line-btn {
  margin-inline: auto;
}

/*==============================
    お知らせ詳細
==============================*/
.blog-detail__box {
  padding: 20px 10px 30px 10px;
}
.blog-detail__title {
  font-size: 2.2rem;
}
.blog-detail time,
.blog-detail .tag {
  font-size: 13px;
}
.blog-detail .paginated__list {
  margin-top: 30px;
}

/*==============================
    お知らせ一覧
==============================*/
.blog {
  padding-block: 60px;
}

/*タグボタン*/
.select {
  font-size: 2rem;
  text-align: center;
}

.tag-btn__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}
/*お知らせ共通部分*/
.blog .com-blog__item a {
  flex-direction: column;
}
.blog .com-blog__image {
  aspect-ratio: 16/9;
  width: 100%;
}

/*==============================
  サイトマップ
==============================*/
.site {
  padding: 60px 0;
}
.site__list {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.site__item {
  height: 60px;
}
.site__item a {
  padding-left: 10px;
  font-size: 16px;
}
.site__item a::after {
  width: 10px;
  transform: rotate(-45deg) translate(-10px, -10px);
}

/*==============================
  お問い合わせ
==============================*/
.contact {
  padding-block: 10rem;
}
.contact .com-table {
  margin-bottom: 30px;
}
.contact .com-table th {
  text-align: left;
  font-size: 15px;
  letter-spacing: 0;
  padding-inline: 10px;
  width: 100%;
}
.contact .com-btn {
  margin-inline: auto;
  margin-top: 50px;
}
.contact select,
.contact textarea,
.contact input[type=tel],
.contact input[type=text],
.contact input[type=email],
.contact input[type=url] {
  padding: 7px;
}
.contact .upload-item-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .upload-item-wrap .thumb {
  width: clamp(184px, 57.37vw, 440px);
  height: clamp(184px, 57.37vw, 440px);
  margin: 0px;
}
.contact .upload-item-wrap .ancion-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(15px, 4.56vw, 35px);
  gap: clamp(8px, 2.61vw, 20px);
  margin-inline: auto;
}
.contact__box {
  padding: 4rem 2rem;
}

/*==============================
  お問い合わせ完了
==============================*/
.complete {
  padding-block: 10rem;
}
.complete__box {
  text-align: center;
  line-height: 1.733;
}
.complete__btn {
  margin-top: 50px;
}
.complete__btn:hover {
  opacity: 0.5;
}

/*==============================
プライバシーポリシー
==============================*/
.privacy {
  padding-block: 10rem;
}
.privacy__box {
  margin-bottom: 30px;
}
.privacy__box:last-child {
  margin-bottom: 0;
}
.privacy__title {
  font-size: 2.2rem;
}

/*==============================
    NOT FOUND
==============================*/
.e404 {
  padding-block: 10rem;
}
.e404__text {
  width: 90%;
  margin: 0 auto;
}
.e404__text p,
.e404__text a {
  font-size: 15px;
  text-align: center;
}

/*==============================
    追従ボタン
==============================*/
.follow_btn a.to-mail {
  display: none;
}
.follow_btn a.to-top {
  width: 50px;
  bottom: 10rem;
  right: 1rem;
}

/*==============================
    フッター
==============================*/
.footer {
  background-color: var(--color-gray);
}
.footer__inner {
  padding-top: 6rem;
}
.footer__box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer .util__list {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: unset;
}
.footer .util__item {
  width: 100%;
}
.footer .util__item a {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.footer-nav__list:has(.footer-nav__item:last-child:nth-child(odd)) .footer-nav__item:nth-child(even) {
  border-right: 1px solid rgba(36, 43, 53, 0.2);
}
.footer-nav__list:has(.footer-nav__item:last-child:nth-child(even)) .footer-nav__item:nth-child(odd) {
  border-right: 1px solid rgba(36, 43, 53, 0.2);
}
.footer-nav__item {
  border-top: 1px solid rgba(36, 43, 53, 0.2);
  width: 50%;
  height: 60px;
  text-align: center;
}
.footer-nav__item:first-child:nth-last-child(odd) {
  width: 100%;
}
.footer-nav__item a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.footer small {
  padding-block: 1.5rem;
}