@charset "UTF-8";

/* 基本スタイル */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Shippori Mincho", serif;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  transition: 0.2s;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h2 img {
  display: block;
  margin: auto;
  width: 60%;
}

small {
  font-size: 0.7em;
}

*:focus {
  outline: none;
}

.br-sp, .sp_only {
  display: none;
}

.fade-in-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .br-sp, .sp_only {
    display: block;
  }
  .pc_only {
    display: none;
  }
   h2 img {
    width: 90%;
}
}

/* ヘッダー */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 30px;
  margin: 0 auto;
}

.logo img {
  height: 40px;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.buttons a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  color: white;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
  padding: 10px;
  width: 200px;
  height: 60px;
}

.buttons a::after {
  content: "▶";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 0.8em; /* 親要素の 0.8 倍のサイズにする例 */
}

.buttons a:hover {
  opacity: 0.8;
  transition: 0.5s;
}

.search_cta {
  background-color: #1b1464;
}

.experience_cta {
  background-color: #c69833;
}

.document_cta {
  background-color: #d12228;
  line-height: 1.2rem;
}

.class {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  width: 200px;
}

.class a {
  width: auto;
  font-size: 14px;
  background-color: #666666;
  height: 22px;
}

.fv_tel {
  width: 410px !important;
  padding: 0 !important;
}

/* FV */
.fv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 700px;
  background: url("../img/fv-bg.png") right/cover;
}

.fv-content {
  display: flex;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
}

.text-image-left, .text-image-right {
  width: 50%;
  text-align: center;
}

.text-image-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.text-image-right img {
  position: relative;
  width: 200px;
  height: auto;
}

.text-image-left img {
  max-width: 100%;
  height: auto;
}

.fv-button {
  margin-top: 20px;
  max-width: 450px;
}

.fv-button a img:hover {
  opacity: 0.7;
  transition: 0.5s;
}

.content {
  width: 95%;
  max-width: 900px;
  margin: auto;
}

/* 課題と解決策 */
.problem {
  background-color: #b81d23;
  padding: 80px 0;
  position: relative;
}

.problem::after {
  content: "";
  position: absolute;
  height: 60px;
  width: 100%;
  clip-path: polygon(0 0,50% 100%,100% 0);
  background-color: #b81d23;
  left: 0;
  bottom: -59.5px;
}

.problem .inner {
  background-color: white;
  padding: 40px 0;
}

.problem ul {
  width: 95%;
  max-width: 700px;
  margin: auto;
}

.problem ul li {
  margin-bottom: 5px;
  font-size: 24px;
  font-weight: bold;
}

.problem ul li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -8px;
  width: 30px;
  height: 30px;
  background-image: url(../img/check.png);
  background-size: contain; /* 画像を要素に合わせて調整 */
  background-repeat: no-repeat;
}


/* ソリューション */
.solution {
  padding: 100px 0 80px;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 20px 20px;
  background-repeat: repeat;
  background-position: center center;
}

.solution .inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.solution .inner img {
  min-width: 0;
}

/* 選ばれる理由 */
.reason {
  padding: 80px 0;
  background-color: #e2f1ff;
}

.reason .inner {
  margin: 50px auto 0;
}

.reason_contents {
  background-color: white;
  position: relative;
  padding: 15px 10px 15px 90px;
  margin-bottom: 20px;
}

.reason_contents::before {
  position: absolute;
  left: 10px;
  top: 45%;
  transform: translateY(-50%);
  font-size: 56px;
  color: #b91c23;
}
.reason_contents:nth-child(1):before {
  content: "01.";
}
.reason_contents:nth-child(2):before {
  content: "02.";
}
.reason_contents:nth-child(3):before {
  content: "03.";
}
.reason_contents:nth-child(4):before {
  content: "04.";
}
.reason_contents:nth-child(5):before {
  content: "05.";
}

.reason h3 {
  margin-bottom: 5px;
}

.reason_contents p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
}

/* サポート */
.support {
  padding: 80px 0;
  background: url("../img/support-bg.png") left/cover;
}

.support h2 {
  margin-bottom: 40px;
}

/* 比較 */
.comparison {
  padding: 80px 0;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 20px 20px;
  background-repeat: repeat;
  background-position: center center;
}

.comparison .inner {
  margin: 50px auto 0;
}

/* CTA */
.cta {
  padding: 60px 0;
  background: url("../img/cta-bg.png") center/cover;
}

.cta .inner {
  margin: auto;
}

.cta a:hover {
  transform: scale(1.02);
}

.cta a {
  display: block;
  color: white;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  position: relative;
}

.cta a::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}
.cta a::after {
  content: "▶";
}

.cta_experience {
  background-image: linear-gradient(90deg, rgba(184, 29, 35, 1), rgba(132, 0, 7, 1));
  padding: 0 0 10px;
}
.cta_experience span {
  background-color: white;
  color: #8b060c;
  font-weight: 100;
  font-size: 16px;
  padding: 2px 5px;
  border-radius: 5px;
}
.cta_experience::after {
  color: #8b060c;
}

.flex {
  display: flex;
  gap: 30px;
  margin: 30px auto 0;
}

.cta_contact {
  background-color: #c69b37;
  width: 50%;
  padding: 15px;
}
.cta_contact::after {
  color: #c69b37;
}

.cta_documents {
  background-color: #1b1464;
  width: 50%;
  padding: 15px;
}
.cta_documents::after {
  color: #1b1464;
}

.cta2 {
  padding: 60px 0;
  background: url("../img/cta-bg2.png") center/cover;
}

.cta2 h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  font-weight: 500;
}

.cta2 h2:before, .cta2 h2:after {
  border-top: 1px solid;
  content: "";
  width: 6em;
}
.cta2 h2:before {
  margin-right: 1em;
}
.cta2 h2:after {
  margin-left: 1em;
}

.cta2 p {
  text-align: center;
  color: white;
  font-size: 20px;
  margin: 15px auto;
}

.cta_tel {
  box-shadow: none !important;
  width: 600px;
  margin: 30px auto 0;
}

.cta_tel::after {
  display: none !important;
}

/* not */
.not {
  padding: 80px 0;
  background: url("../img/not-bg.png") right/cover;
}

.not h2 img {
  max-width: 400px;
}

.not ul {
  margin: 50px auto;
}

.not ul li {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: bold;
}

.not ul li span {
  display: flex;
}

.not ul li img {
  background-color: white;
  padding: 8px 0 8px 15px;
}

.not ul li p {
  background-color: white;
  padding: 8px 15px 8px 5px;
}

.not .inner {
  background-color: #980008;
  text-align: center;
  padding: 10px 0 15px;
}

.not .inner p {
  font-size: 24px;
  color: #ffff92;
  font-weight: 500;
}

.not .inner p small {
  color: white;
  font-weight: 100;
}


/* 卒業生の声 */
.voice {
  padding: 80px 0;
  background-color: #e2f1ff;
}

.voice h2 img {
  max-width: 400px;
}

.voice .inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.voice_box {
  background-color: white;
  padding: 15px;
}

.graduate {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  line-height: 2rem;
}

.university {
  background-color: #b91c23;
  color: white;
  padding: 2px 5px;
}

.highschool {
  background-color: #ec6401;
  color: white;
  padding: 2px 5px;
}

.graduate h3 {
  font-size: 24px;
}

.voice_box p {
  font-size: 14px;
  margin-top: 20px;
  font-family: "Noto Sans JP", sans-serif;
}


/* コース紹介 */
.course {
  padding: 80px 0;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 20px 20px;
  background-repeat: repeat;
  background-position: center center;
}

.course .inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.course_introduction h3 {
  text-align: center;
  color: white;
  padding: 0 0 5px;
  position: relative;
}

.course_introduction h3::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 0;
  right: 0;
  bottom: -10px;
  margin: 0 auto;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}

.course_introduction h3 small {
  font-weight: 100;
}

.course_introduction img {
  width: 90%;
  margin: 20px auto;
}

.course_introduction p {
  width: 90%;
  margin: auto;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
}

.course_introduction a {
  display: block;
  width: 90%;
  margin: 20px auto;
  text-align: center;
  background-color: #333333;
  color: white;
  padding: 8px;
  border-radius: 50px;
  position: relative;
}

.course_introduction a::after {
  content: "▼";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 0.6em;
}

.high-school {
  background-color: #fdefd8;
}
.high-school h3 {
  background-color: #f29701;
}
.high-school h3::before{
  border-top: 15px solid #f29701;
}

.junior-high-school {
  background-color: #fbe1ce;
}
.junior-high-school h3 {
  background-color: #ec6401;
}
.junior-high-school h3::before{
  border-top: 15px solid #ec6401;
}

.elementary-school {
  background-color: #f7e4e5;
}
.elementary-school h3 {
  background-color: #b81d23;
}
.elementary-school h3::before{
  border-top: 15px solid #b81d23;
}


.course_list {
  margin: 80px 0;
}

.course_list h3 {
  font-size: 32px;
  text-align: center;
  color: white;
  position: relative;
  padding: 0 0 5px;
}

.course_list h3::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 0;
  right: 0;
  bottom: -14px;
  margin: 0 auto;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
}

.click {
  display: block;
  width: 300px;
  margin: 20px auto;
}

.course_list {
  position: relative;
}

.tab-arrow {
  background-color: #333333;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  z-index: 10;
  line-height: 1;
}

.prev-tab {
  left: -20px;
}

.next-tab {
  right: -20px;
}

.tab-indicators {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.indicator {
  width: 10px;
  height: 10px;
  background-color: white;
  border: #000 solid 1px;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.indicator.active {
  background-color: #333;
}

.tab-buttons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.tab-button {
  padding: 5px 20px 5px 0px;
  cursor: pointer;
  width: 100%;
  position: relative;
  clip-path: polygon(0% 0%, 80% 0%, 100% 100%, 0% 100%);
  transition: background-color 0.3s ease;
  text-align: center;
  font-size: 12px;
}

.tab-button.active {
  color: white;
}

.tab-content {
  padding: 50px 40px;
  display: none; /* 初期状態では非表示 */
  background-color: white;
  border: 1.5px solid #cccccc;
}

.tab-content.active {
  display: block; /* 選択中のタブのコンテンツを表示 */
}

.tab-content h4 {
  font-size: 32px;
  line-height: 1.6rem;
  text-align: center;
  padding-left: 80px;
}

.tab-content h4 span {
  position: relative;
  padding-top: 15px;
}

.tab-content h4 span::before {
  position: absolute;
  top: 0;
  left: 5px;
  font-size: 12px;
  white-space: nowrap;
}

.tab-group > .tab-content h4 span::after {
  position: absolute;
  top: 49%;
  transform: translateY(-50%);
  left: -80px;
  font-size: 56px;
}
.tab-group > .tab-content:nth-child(2) h4 span::after {
  content: "01.";
}
.tab-group > .tab-content:nth-child(3) h4 span::after {
  content: "02.";
}
.tab-group > .tab-content:nth-child(4) h4 span::after {
  content: "03.";
}
.tab-group > .tab-content:nth-child(5) h4 span::after {
  content: "04.";
}
.tab-group > .tab-content:nth-child(6) h4 span::after {
  content: "05.";
}
.tab-group > .tab-content:nth-child(7) h4 span::after {
  content: "06.";
}
.tab-group > .tab-content:nth-child(8) h4 span::after {
  content: "07.";
}
.tab-group > .tab-content:nth-child(9) h4 span::after {
  content: "08.";
}

.course_img {
  display: block;
  margin: 20px auto 10px;
  width: 350px;
}

.tab-content .center_text {
  margin: 10px auto 20px;
}

.tab-content ul {
  display: flex;
  justify-content: center;
  gap: 5px;
  font-family: "Noto Sans JP", sans-serif;
}

.tab-content ul li {
  background-color: #b3b3b3;
  color: white;
  padding: 2px 10px;
}

.tab-content table {
  margin: 20px auto;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
}

.tab-content table tr th {
  color: white;
  padding: 2px 10px;
}

.tab-content table tr td {
  padding-left: 10px;
}

.center_text span {
  color: #b81d23;
}

.course_text {
  font-family: "Noto Sans JP", sans-serif;
}

.course_list h5 {
  font-size: 18px;
  text-align: center;
  color: white;
  position: relative;
  padding: 3px 0 6px;
  font-weight: 100;
}

.course_list h5::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 0;
  right: 0;
  bottom: -10px;
  margin: 0 auto;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}

.course_box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.course_box div {
  background-color: #f2f2f2;
}

.course_box h6 {
  color: white;
  font-size: 18px;
  text-align: center;
  margin: 0;
  padding: 5px;
}

.course_box ol {
  font-family: "Noto Sans JP", sans-serif;
  padding: 15px;
}

.eiken {
  width: 300px;
  margin: 0 auto 20px;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 2.5rem;
}

.eiken li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -8px;
  width: 30px;
  height: 30px;
  background-image: url(../img/check.png);
  background-size: contain; /* 画像を要素に合わせて調整 */
  background-repeat: no-repeat;
}


.high-school_box h3 {
  background-color: #f29701;
}
.high-school_box h3::before{
  border-top: 15px solid #f29701;
}
.high-school_box .tab-button {
  background-color: #fdefd8;
}
.high-school_box .tab-button.active {
  background-color: #f29701;
}
.high-school_box .tab-content {
  min-height: 715px;
}
.high-school_box .tab-content h4::before {
  color: #f29701;
}
.high-school_box .tab-content h4 span::before {
  content: "Highschool students";
}
.high-school_box .tab-content h4 span::after {
  color: #f29701;
}
.high-school_box .tab-content table tr th {
  background-color: #f29701;
}
.high-school_box h5 {
  background-color: #f29701;
}
.high-school_box h5::before{
  border-top: 10px solid #f29701;
}

.junior-high-school_box h3 {
  background-color: #ec6401;
}
.junior-high-school_box h3::before{
  border-top: 15px solid #ec6401;
}
.junior-high-school_box .tab-button {
  background-color: #fbe1ce;
}
.junior-high-school_box .tab-button.active {
  background-color: #ec6401;
}
.junior-high-school_box .tab-content {
  min-height: 975px;
}
.junior-high-school_box .tab-content h4::before {
  color: #ec6401;
}
.junior-high-school_box .tab-content h4 span::before {
  content: "Junior Highschool students";
}
.junior-high-school_box .tab-content h4 span::after {
  color: #ec6401;
}
.junior-high-school_box .tab-content table tr th {
  background-color: #ec6401;
}
.junior-high-school_box h5 {
  background-color: #ec6401;
}
.junior-high-school_box h5::before{
  border-top: 10px solid #ec6401;
}
.junior-high-school_box .course_box h6 {
  background-color: #ec6401;
}

.elementary-school_box h3 {
  background-color: #b81d23;
}
.elementary-school_box h3::before{
  border-top: 15px solid #b81d23;
}
.elementary-school_box .tab-button {
  background-color: #f7e4e5;
}
.elementary-school_box .tab-button.active {
  background-color: #b81d23;
}
.elementary-school_box .tab-content {
  min-height: 960px;
}
.elementary-school_box .tab-content h4::before {
  color: #b81d23;
}
.elementary-school_box .tab-content h4 span::before {
  content: "Elementary school students ";
}
.elementary-school_box .tab-content h4 span::after {
  color: #b81d23;
}
.elementary-school_box .tab-content table tr th {
  background-color: #b81d23;
}
.elementary-school_box h5 {
  background-color: #b81d23;
}
.elementary-school_box h5::before{
  border-top: 10px solid #b81d23;
}
.elementary-school_box .course_box h6 {
  background-color: #b81d23;
}

/* サービス */
.service {
  padding: 80px 0;
  background: url("../img/services-bg.png") right/cover;
}

.basic_h2 {
  text-align: center;
  font-size: 48px;
  line-height: 2.8rem;
}

.basic_h2 span {
  font-size: 24px;
  font-weight: 100;
}

.service .inner {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.service_box {
  background-color: white;
  text-align: center;
}

.service_box h3 {
  background-color: #b81d23;
  color: white;
  font-weight: 100;
  padding: 5px 0;
}

.service_box span {
  display: inline-block;
  background-color: #b81d23;
  color: white;
  border-radius: 50px;
  width: 200px;
  margin: 20px auto 0;
  font-size: 24px;
  padding: 0 0 5px;
}

.service_box p {
  font-size: 14px;
  text-align: left;
  padding: 20px;
  font-family: "Noto Sans JP", sans-serif;
}

/* 講師陣紹介 */
.tutor {
  padding: 80px 0;
  background-color: #e2f1ff;
}

.tutor h2 img {
  max-width: 400px;
}

.tutor .inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 30px;
  margin-top: 30px;
}

.tutor_box {
  background-color: white;
  padding: 15px;
}

.tutor_box h3 {
  background-color: #b81d23;
  color: white;
  text-align: center;
  padding: 5px;
  margin: 10px 0;
}

.tutor_box p {
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
}

.message {
  background-color: #f4dcdd;
  padding: 15px;
}

.message h4 {
  position: relative;
  text-align: center;
}

.message h4:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  background: #000;
}

.message h4 span {
  position: relative;
  padding: 0 1em;
  background-color: #f4dcdd;
}

.message p {
  font-size: 14px;
  margin-top: 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.center_text {
  text-align: center;
  font-size: 24px;
  margin: 40px auto;
}

.manager_box {
  background-color: white;
}

.manager_box h3 {
  background-color: #b81d23;
  color: white;
  text-align: center;
  font-weight: 100;
  font-size: 32px;
  padding: 5px;
}

.manager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px;
}

.manager img {
  width: 36%;
}

.manager h4 {
  color: #b81d23;
  border-left: 3px solid #b81d23;
  padding-left: 5px;
}

.manager h4:nth-child(3) {
  margin-top: 10px;
}

.manager p {
  font-size: 14px;
  margin-top: 8px;
  font-family: "Noto Sans JP", sans-serif;
}

/* 無料体験 */
.experience {
  background-color: #b81d23;
  padding: 80px 0;
  position: relative;
}

.experience .inner {
  background-color: white;
  padding: 40px 0;
  text-align: center;
}

.experience p {
  background-color: #b81d23;
  color: white;
  width: 90%;
  max-width: 750px;
  margin: 20px auto;
  text-align: center;
  font-size: 24px;
  padding: 3px;
}

.experience ul {
  width: 90%;
  max-width: 750px;
  margin: 40px auto;
  text-align: left;
}

.experience ul li {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2rem;
}

.experience ul li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -8px;
  width: 30px;
  height: 30px;
  background-image: url(../img/check.png);
  background-size: contain; /* 画像を要素に合わせて調整 */
  background-repeat: no-repeat;
}

.experience ul li small {
  padding-left: 40px;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
}

.experience a {
  display: inline-block;
  text-align: center;
}

.experience a img:hover {
  opacity: 0.7;
  transition: 0.5s;
}

/* FAQ */
.qa {
  padding: 60px 0;
  background-color: #f2f2f2;
}

.accordion {
  margin: 40px auto 0;
}

.accordion-item {
  margin-bottom: 20px;
  background-color: white;
}

.accordion-header {
  display: flex;
  align-items: center; /* 縦方向中央揃えは維持 */
  cursor: pointer;
}

.question-mark {
  padding: 5px 15px;
  font-size: 32px;
  color: #b81d23;
  margin-right: 10px;
}

.question-text-wrapper {
  flex-grow: 1;
  font-size: 24px;
}

.toggle-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  margin-left: auto;
  margin-right: 10px;
  border-radius: 50%;
  color: white;
  background-color: #b81d23;
}

.accordion-content {
  position: relative;
  padding: 10px;
  margin-left: 56px;
  font-size: 14px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  display: none;
}

.accordion-content.open {
  display: block;
}


/* 校舎一覧 */
.schools {
  padding: 60px 0;
  background-color: #b81d23;
}

.schools .basic_h2 {
  color: white;
}

.schools .inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.schools_box {
  background-color: white;
  padding: 15px;
  min-height: 120px;
}

.schools_box h3 {
  color: #b81d23;
  text-align: center;
  margin-bottom: 10px;
}

.schools_box a {
  color: #000;
  position: relative;
  padding-right: 10px;
  margin-right: 5px;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
}

.schools_box a::after {
  content: "▶";
  position: absolute;
  right: 0;
  top: 52%;
  transform: translateY(-50%);
  color: #000;
  font-size: 0.5em;
}


/* フッター */
footer {
  padding: 10px;
  font-size: 14px;
  text-align: center;
  color: white;
  background-color: #000;
  font-family: "Noto Sans JP", sans-serif;
}

/* レスポンシブ */
@media (max-width: 768px) {
  /* ヘッダー */
header {
  position: relative;
}

.header-container {
  align-items: center;
  padding: 10px;
}

.logo img {
  height: auto;
}

.buttons {
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}

.buttons a {
  font-size: 14px;
  height: 45px;
}

.buttons a::after {
  right: 5px;
  font-size: 0.5em;
}

.class {
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 100%;
  padding: 5px 10px;
}

.class a {
  width: auto;
  color: white;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
}

.class a::after {
  content: "▶";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 0.5em;
}

/* FV */
.fv {
  background: none;
  height: auto;
}

.fv-content {
  display: none;
}

.fv-sp {
  position: relative;
}

.fv-sp a {
  position: absolute;
  left: 0%;
  top: 72%;
  width: 70%;
}

/* 課題と解決策 */
.problem {
  padding: 20px 0;
}

.problem::after {
  height: 30px;
  bottom: -29.5px;
}

.problem .inner {
  padding: 20px 0;
}

.problem ul li {
  font-size: 16px;
}

.problem ul li::before {
  width: 20px;
  height: 20px;
}


/* ソリューション */
.solution {
  padding: 50px 0 10px;
}

.solution .inner {
  display: block;
  margin-top: 20px;
}

.solution .inner img {
  display: block;
  margin: 30px auto;
  width: 70%;
}

/* 選ばれる理由 */
.reason {
  padding: 40px 0;
}

.reason .inner {
  margin: 20px auto 0;
}

.reason_contents {
  padding: 10px 5px 10px 60px;
  margin-bottom: 10px;
}

.reason_contents::before {
  font-size: 32px;
}

.reason h3 {
  font-size: 16px;
}

/* サポート */
.support {
  padding: 0px 0px;
  background: none;
}

/* 比較 */
.comparison {
  padding: 40px 0;
}

.comparison .inner {
  margin: 20px auto 0;
}

/* CTA */
.cta {
  padding: 20px 0;
}

.cta a {
  font-size: 24px;
  border-radius: 5px;
}

.cta a::after {
  right: 10px;
  width: 25px;
  height: 25px;
  font-size: 14px;
}

.cta_experience span {
  font-size: 14px;
}

.flex {
  gap: 10px;
  margin: 10px auto 0;
}

.cta_contact {
  font-size: 16px !important;
}
.cta_contact::after {
  width: 20px !important;
  height: 20px !important;
  font-size: 10px !important;
}

.cta_documents {
  font-size: 16px !important;
}
.cta_documents::after {
  width: 20px !important;
  height: 20px !important;
  font-size: 10px !important;
}

.cta2 {
  padding: 20px 0;
  background: url("../img/cta-bg2.png") center/cover;
}

.cta2 h2 {
  font-size: 18px;
}

.cta2 h2:before, .cta2 h2:after {
  width: 2em;
}
.cta2 h2:before {
  margin-right: .5em;
}
.cta2 h2:after {
  margin-left: .5em;
}

.cta2 p {
  font-size: 16px;
  margin: 10px auto;
}

.cta_tel {
  width: 98%;
  margin: 20px auto 0;
}

/* not */
.not {
  padding: 0;
  background: none; 
}

/* 卒業生の声 */
.voice {
  padding: 40px 0;
}

.voice .inner {
  display: block;
  margin-top: 30px;
}

.voice_box {
  margin-top: 20px;
}

.graduate {
  gap: 10px;
}


/* コース紹介 */
.course {
  padding: 20px 0;
}

.course .inner {
  display: block;
}

.course_introduction {
  width: 80%;
  margin: 20px auto;
  padding-bottom: 5px;
}

.course_introduction img {
  width: 80%;
}

.course_list {
  margin: 40px 0;
}

.course_list h3 {
  font-size: 24px;
}

.tab-arrow {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.prev-tab {
  left: -5px;
}

.next-tab {
  right: -5px;
}

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.junior-high-school_box .tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.elementary-school_box .tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tab-button {
  padding: 5px;
  clip-path: none;
}

.tab-content {
  padding: 50px 10px;
}

.tab-content h4 {
  font-size: 24px;
  padding-left: 50px;
}

.tab-group > .tab-content h4 span::after {
  top: 55%;
  left: -50px;
  font-size: 36px;
}

.tab-content .center_text {
  font-size: 16px;
}

.tab-content ul {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
}

.tab-content table tr th {
  padding: 2px;
  min-width: 50px;
}

.course_box {
  display: block;
}

.course_box div {
  background-color: #f2f2f2;
  margin-bottom: 20px;
}

.course_box div:last-child {
  margin-bottom: 0px;
}


.high-school_box .tab-content {
  min-height: auto;
}
.junior-high-school_box .tab-content {
  min-height: auto;
}
.elementary-school_box .tab-content {
  min-height: auto;
}



/* サービス */
.service {
  padding: 20px 0;
  background: url("../img/services-bg-sp@2x.png");
  background-position: center bottom;
  background-size: 100%;
  background-repeat: no-repeat;
  min-height: 1000px;
}

.basic_h2 {
  font-size: 36px;
}

.service .inner {
  display: block;
  margin-top: 20px;
}

.service_box {
  background-color: white;
  text-align: center;
  margin: 20px auto;
}

/* 講師陣紹介 */
.tutor {
  padding: 40px 0;
  background-color: #e2f1ff;
}

.tutor .inner {
  display: block;
  margin-top: 30px;
}

.tutor_box {
  margin: 20px auto 0;
}

.tutor_box img {
  display: block;
  width: 50%;
  margin: auto;
}

.center_text {
  text-align: center;
  font-size: 18px;
  margin: 40px auto;
}

.manager_box h3 {
  font-size: 24px;
}

.manager {
  display: block;
  padding: 20px;
}

.manager img {
  display: block;
  margin: 0 auto 20px;
  width: 50%;
}

/* 無料体験 */
.experience {
  padding: 20px 0;
}

.experience .inner {
  padding: 20px 0;
}

.experience p {
  width: 98%;
  font-size: 16px;
  padding: 10px 0;
}

.experience ul {
  width: 95%;
  margin: 20px auto;
}

.experience ul li {
  margin-bottom: 20px;
  font-size: 18px;
}

.experience ul li::before {
  width: 20px;
  height: 20px;
}

.experience ul li small {
  padding-left: 0px;
  font-size: 12px;
}

/* FAQ */
.qa {
  padding: 20px 0;
  background-color: #f2f2f2;
}

.accordion-item {
  margin-bottom: 10px;
}

.question-mark {
  padding: 5px 8px 5px 15px;
  font-size: 24px;
  margin-right: 0px;
}

.question-text-wrapper {
  font-size: 16px;
}

.toggle-icon {
  width: 20px;
  height: 20px;
  margin-left: auto;
  margin-right: 5px;
}

.accordion-content {
  margin-left: 0px;
}


/* 校舎一覧 */
.schools {
  padding: 20px 0;
}

.schools .inner {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.schools_box {
  min-height: auto;
}

}
    