@charset "UTF-8";
/**
 * フロントページ専用SCSS - front.scss
 */
/* 基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

/* 文章のスタイル */
.content-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 5%;
  color: var(--black);
}

.img-active {
  animation-delay: 3s;
  animation: 10s zoomFadeIn forwards;
}

.first-img-active {
  animation-delay: 3s;
  animation: 10s zoomFadeIn forwards;
}

.none {
  display: none;
}

.block {
  display: block;
}

.top-pc-only {
  display: block;
}

.top-tab-only {
  display: none;
}

.top-sp-only {
  display: none;
}

/* 背景の文字のアニメーション設定 */
.fade-in-clip-left {
  width: auto; /* 画像サイズに合わせて調整 */
  height: -moz-fit-content;
  height: fit-content;
  -webkit-clip-path: inset(0 100% 0 0);
          clip-path: inset(0 100% 0 0);
  opacity: 0;
}

.fade-in-clip-left.is-visible {
  animation: clipReveal 1.5s ease-out forwards;
}

.fade-in-clip-right {
  width: auto; /* 画像サイズに合わせて調整 */
  height: -moz-fit-content;
  height: fit-content;
  -webkit-clip-path: inset(0 0 0 100%);
          clip-path: inset(0 0 0 100%);
  opacity: 0;
}

.fade-in-clip-right.is-visible {
  animation: clipReveal 1.5s ease-out forwards;
}

@keyframes zoomFadeIn {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}
/* ローディングアニメーション用 */
.logo-fadein {
  background: #FFF;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 999;
}
.logo-fadein .logo-fadein-content {
  position: fixed;
  text-align: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
}
.logo-fadein .logo-fadein-content p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: 5%;
  text-align: center;
  margin-top: 12px;
}
.logo-fadein .logo-fadein-content img {
  width: 100%;
}

.fade {
  opacity: 0;
  transition: opacity 1.5s ease;
}

.fade.show {
  opacity: 1;
}

/* ヒーロー */
.hero {
  position: relative;
}
.hero .hero-container .hero-mainvisual .top-image-widget .top-images-parent {
  width: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero .hero-container .hero-mainvisual .top-image-widget .top-images-parent img {
  min-width: 100%;
  width: 100%;
  overflow: hidden;
  transform: scale(1.05);
}
.hero .hero-container .hero-mainvisual .top-image-widget .hero-content {
  display: flex;
  gap: 5%;
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -28%);
}
.hero .hero-container .hero-mainvisual .top-image-widget .hero-content .hero-content-item {
  border-radius: 20px;
  padding: 10px 20px;
  /* 50~32px */
  font-size: clamp(2rem, 0.875rem + 1.88vw, 3.125rem);
  margin-bottom: 4px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.hero .hero-container .hero-mainvisual .top-image-widget .hero-content .item-red {
  background-color: var(--red);
  color: var(--white);
}
.hero .hero-container .hero-mainvisual .top-image-widget .hero-content .item-white {
  background-color: var(--white);
  color: var(--red);
  border: solid 3px var(--red);
}

/* 新着情報 */
.news-section {
  padding: 80px 50px;
  background: var(--bg-gray);
  position: relative;
}

.news-container {
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.news-section {
  /*タブを並べる設定*/
  /*タブ見出しの設定*/
  /*ホバーされた時*/
  /*ラジオボタン表示しない*/
  /*デフォルトでは表示しない*/
  /*クリックされたら表示*/
  /* ボタンエリア */
}
.news-section .news-header {
  margin-bottom: 40px;
  position: relative;
}
.news-section .news-tab {
  display: flex;
  flex-wrap: wrap;
  width: 57vw;
  min-width: 800px;
  margin: auto;
}
.news-section .news-tab > label {
  order: -1;
  width: 250px;
  padding: 16px 16px 10px;
  background-color: var(--gray);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.news-section .news-tab > label:hover {
  opacity: 0.8;
}
.news-section .news-tab input {
  display: none;
}
.news-section .news-tab > div {
  display: none;
  width: 100%;
  padding: 30px;
  background-color: var(--white);
}
.news-section .news-tab label:has(:checked) {
  background-color: var(--blue);
}
.news-section .news-tab label:has(:checked) + div {
  display: block;
}
.news-section .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.news-section .news-item {
  padding: 6px 0;
  border-bottom: 1px solid var(--black0);
  display: flex;
  align-items: flex-start;
  gap: 25px;
}
.news-section .news-date {
  padding: 6px 15px;
  font-size: 18px;
  white-space: nowrap;
  font-weight: 400;
  color: var(--black0);
  min-width: 90px;
  text-align: center;
  flex-shrink: 0;
  width: 100px;
}
.news-section .news-text {
  flex: 1;
  padding: 6px 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--black0);
  line-height: 1.2;
  font-weight: 400;
}
.news-section .news-text a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
.news-section .news-text a:hover {
  opacity: 0.8;
}
.news-section .news-buttons {
  margin-top: 50px;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 2.5%;
  position: relative;
  z-index: 2;
}
.news-section .news-buttons a {
  z-index: 2;
  position: relative;
}

/* 浅野塾について */
.about {
  padding: 80px 0 0;
  background: var(--white);
  position: relative;
  /* Newsの文字 */
  /* 学校 */
}
.about .news-img-text {
  position: absolute;
  padding: 0;
  top: 0;
  right: 0;
  transform: translate(0, -60%);
  display: flex;
  align-items: flex-start;
  height: -moz-fit-content;
  height: fit-content;
}
.about .news-img-text p {
  font-family: "Anuphan", sans-serif;
  font-size: clamp(7.5rem, 0.625rem + 11.46vw, 14.375rem); /* 230~120px */
  font-weight: 500;
  color: var(--blue);
  opacity: 0.1;
}
.about .about-container {
  padding-bottom: 80px;
  margin: 0 auto;
  display: flex;
  gap: 5%;
  align-items: center;
}
.about .about-container .about-image {
  width: 55%;
}
.about .about-container .about-image .about-image-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 15px;
  position: relative;
}
.about .about-container .about-image .about-image-container .about-image-item {
  width: 100%;
  aspect-ratio: 1.53/1;
  overflow: hidden;
  margin-left: -50px;
  box-shadow: 3px 4px 5px 0px rgba(139, 139, 139, 0.3);
  position: relative;
}
.about .about-container .about-image .about-image-container .about-image-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1.53/1.65;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.1s linear;
  will-change: transform;
  transform: translateY(-100px);
}
@media screen and (max-aspect-ratio: 1/1) {
  .about .about-container .about-image .about-image-container .about-image-item img {
    aspect-ratio: 1.53/2;
  }
}
.about .about-container .about-image .row-2 .about-image-item {
  margin-left: -85px;
}
.about .about-container .about-content {
  width: 40%;
  padding-top: 40px;
  padding-left: 20px;
}
.about .about-container .about-content p {
  width: 65%;
  margin-top: 50px;
}
.about .about-container .about-content a {
  margin-top: 50px;
}
.about .school {
  padding: 80px 0;
  background: var(--bg-blue);
  position: relative;
  /* Aboutの文字 */
  /* Flowの文字 */
}
.about .school .about-img-text {
  position: absolute;
  top: -80px;
  left: 0;
}
.about .school .about-img-text img {
  width: 10vw;
}
.about .school .school-container {
  width: 70vw;
  margin: auto;
  display: flex;
  gap: 4%;
  align-items: flex-start;
  position: relative;
  /* 画像の下の四角 */
}
.about .school .school-container .school-content {
  width: 48%;
  padding-left: 8%;
}
.about .school .school-container .school-content .school-summary {
  font-weight: 700;
  font-size: clamp(1.25rem, 0.75rem + 0.83vw, 1.75rem); /*28~20px*/
  line-height: 120%;
  letter-spacing: 0%;
}
.about .school .school-container .school-content h2 {
  margin-top: 25px;
}
.about .school .school-container .school-content p:not(.school-summary) {
  margin-top: 40px;
  width: 78%;
}
.about .school .school-container .school-content a {
  margin-top: 40px;
}
.about .school .school-container .school-image {
  width: 48%;
  height: auto;
  z-index: 2;
  position: relative;
}
.about .school .school-container .school-image img {
  width: 100%;
}
.about .school .school-container .takamatsu-image::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 100%;
  background-color: var(--white);
  top: 18%;
  right: 0;
  margin-right: -14.5vw;
  z-index: -1;
}
.about .school .school-container .yashima-image::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 100%;
  background-color: var(--white);
  top: 18%;
  left: 0;
  margin-left: -14.5vw;
  z-index: -1;
}
.about .school .school-container-takamatsu {
  margin-bottom: 80px;
}
.about .school .flow-img-text {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(0, 27%);
  z-index: 10;
  display: flex;
}
.about .school .flow-img-text p {
  font-family: "Anuphan", sans-serif;
  font-size: clamp(7.5rem, 0.625rem + 11.46vw, 14.375rem); /* 230~120px */
  font-weight: 500;
  color: var(--blue);
  opacity: 0.1;
}
.about .flow {
  background-color: var(--white);
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: var(--blue);
  position: relative;
  color: var(--white);
  /* FAQの文字 */
}
.faq-section .faq-img-text {
  position: absolute;
  top: 0.5%;
  left: 10%;
}
.faq-section .faq-img-text img {
  width: 10vw;
}
.faq-section .faq-container {
  width: 57vw;
  min-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  /* ヘッダー */
}
.faq-section .faq-container .faq-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

/* アコーディオン */
.accordion-item {
  background-color: var(--white);
  margin-top: 20px;
  padding: 10px 20px;
}

/* Qのコンテナ */
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  position: relative;
  border: none;
  background-color: var(--white);
}

.q-icon::before {
  content: "Q";
  color: white;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  padding-bottom: 3px;
}

.q-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Aのコンテナ */
.accordion-content {
  border-top: 1px solid var(--gray);
  padding: 10px;
  display: none;
  text-align: left;
}

.accordion-content p {
  margin-bottom: 1rem;
}

.accordion-item.active .accordion-content {
  display: flex;
}

.a-icon::before {
  content: "A";
  color: white;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  padding-bottom: 3px;
}

.a-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.question {
  flex-grow: 1;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: var(--black);
}

.toggle-icon {
  position: absolute;
  right: 20px;
  width: 20px;
  height: 20px;
}

.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
}

.toggle-icon::before {
  width: 2px;
  height: 20px;
  left: 9px;
  top: 0;
}

.toggle-icon::after {
  width: 20px;
  height: 2px;
  left: 0;
  top: 9px;
}

.accordion-item.active .toggle-icon::before {
  transform: rotate(90deg);
}

@media screen and (max-width: 1440px) {
  /* 浅野塾について */
  .about {
    /* 学校 */
  }
  .about .about-container .about-content p {
    width: 80%;
    margin-top: 20px;
  }
  .about .school .school-container {
    width: 80vw;
    /* 画像の下の四角 */
  }
  .about .school .school-container .school-content {
    width: 48%;
    padding-left: 8%;
  }
  .about .school .school-container .school-content h2 {
    margin-top: 15px;
  }
  .about .school .school-container .school-content p:not(.school-summary) {
    margin-top: 20px;
    width: 78%;
  }
  .about .school .school-container .school-image {
    width: 48%;
    height: auto;
    position: relative;
    z-index: 2;
  }
  .about .school .school-container .school-image img {
    width: 100%;
  }
  .about .school .school-container .takamatsu-image::after {
    width: 100%;
    margin-right: -10vw;
  }
  .about .school .school-container .yashima-image::after {
    width: 100%;
    margin-left: -10vw;
  }
  .about .school .school-container-takamatsu {
    margin-bottom: 60px;
  }
  /* FAQ */
  .faq-section {
    /* FAQの文字 */
  }
  .faq-section .faq-img-text {
    position: absolute;
    left: 5%;
  }
}
@media (max-width: 1280px) {
  /* ヒーロー */
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content {
    display: flex;
    gap: 5%;
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -20%);
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content .hero-content-item {
    padding: 10px 16px;
    font-size: 30px;
  }
  /* 浅野塾について */
  .about {
    /* 学校 */
  }
  .about .about-container .about-content p {
    width: 85%;
    margin-top: 20px;
  }
  .about .school .school-container {
    width: 88vw;
    /* 画像の下の四角 */
  }
  .about .school .school-container .school-content {
    width: 48%;
    padding-left: 8%;
  }
  .about .school .school-container .school-content h2 {
    margin-top: 15px;
  }
  .about .school .school-container .school-content p:not(.school-summary) {
    margin-top: 20px;
    width: 88%;
  }
  .about .school .school-container .school-image {
    width: 48%;
    height: auto;
    position: relative;
    z-index: 2;
  }
  .about .school .school-container .school-image img {
    width: 100%;
  }
  .about .school .school-container .takamatsu-image::after {
    width: 100%;
    margin-right: -6vw;
  }
  .about .school .school-container .yashima-image::after {
    width: 100%;
    margin-left: -6vw;
  }
  .about .school .school-container-takamatsu {
    margin-bottom: 60px;
  }
}
@media (max-width: 1024px) {
  /* ヒーロー */
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content {
    display: flex;
    gap: 4%;
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -12%);
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content .hero-content-item {
    padding: 10px 14px;
    font-size: 28px;
  }
}
@media (max-width: 960px) {
  .top-pc-only {
    display: none;
  }
  .top-tab-only {
    display: block;
  }
  .top-sp-only {
    display: none;
  }
  /* 文章のスタイル */
  .content-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 5%;
    color: var(--black);
  }
  /* ヒーロー */
  .hero .hero-container .hero-mainvisual .top-image-widget .top-images-parent {
    width: 100%;
    z-index: 1;
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .top-images-parent img {
    width: 100%;
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content {
    padding: 0 20px;
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -10%);
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content .hero-content-item {
    font-size: 28px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    padding: 40px;
    height: 18vh;
    min-height: 126px;
    max-height: 200px;
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content .hero-content-item a {
    margin-top: 5px;
    margin-bottom: 0;
    padding: 5px 0;
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content .item-red {
    background-color: var(--red);
    color: var(--white);
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content .item-white {
    background-color: var(--white);
    color: var(--red);
    border: solid 3px var(--red);
    margin-top: 20px;
  }
  /* 新着情報 */
  .news-section {
    padding: 50px 0 60px;
  }
  .news-section {
    /*タブを並べる設定*/
    /*タブ見出しの設定*/
    /*デフォルトでは表示しない*/
    /* ボタンエリア */
  }
  .news-section .news-header {
    margin-bottom: 20px;
    position: relative;
  }
  .news-section .news-tab {
    width: 100%;
    min-width: auto;
    margin: auto;
    max-width: 800px;
  }
  .news-section .news-tab > label {
    order: -1;
    width: 50%;
    padding: 10px 16px 10px;
    background-color: var(--gray);
    color: var(--white);
    font-size: 18px;
  }
  .news-section .news-tab > div {
    padding: 20px;
  }
  .news-section .news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .news-section .news-item {
    padding: 4px 0;
    flex-direction: column;
    gap: 0;
  }
  .news-section .news-date {
    padding: 2px 10px 4px;
    min-width: auto;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    width: auto;
  }
  .news-section .news-text {
    padding: 4px 10px;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .news-section .news-buttons {
    margin-top: 30px;
    flex-direction: column;
    z-index: 2;
  }
  .news-section .news-buttons a:last-child {
    margin-top: 20px;
  }
  /* 浅野塾について */
  .about {
    padding: 0 0 80px;
    /* Newsの文字 */
    /* Aboutの文字 */
    /* 学校 */
  }
  .about .news-img-text {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-2%, -73%);
    z-index: 1;
  }
  .about .news-img-text p {
    font-size: 100px;
  }
  .about .about-image-tab {
    width: 100%;
    overflow: hidden;
    z-index: 0;
    position: sticky;
    top: 70px;
  }
  .about .about-image-tab .about-image-container-tab {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
    position: relative;
  }
  .about .about-image-tab .sp-row-1 {
    width: 140%;
  }
  .about .about-image-tab .sp-row-1 .about-image-item-tab {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    box-shadow: 3px 6px 5px 0px rgba(139, 139, 139, 0.3);
    margin-left: -67%;
    aspect-ratio: 2.2/1;
  }
  .about .about-image-tab .sp-row-1 .about-image-item-tab img {
    display: block;
    width: 100%;
    aspect-ratio: 2.2/1.6;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.1s linear;
    will-change: transform;
    transform: translateY(-100px);
    overflow: hidden;
  }
  .about .about-image-tab .sp-row-2 {
    width: 150%;
  }
  .about .about-image-tab .sp-row-2 .about-image-item-tab {
    width: 100%;
    aspect-ratio: 1.75/1;
    overflow: hidden;
    position: relative;
    margin-left: -20%;
    box-shadow: 3px 6px 5px 0px rgba(139, 139, 139, 0.3);
  }
  .about .about-image-tab .sp-row-2 .about-image-item-tab img {
    display: block;
    width: 100%;
    aspect-ratio: 1.75/1.6;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.1s linear;
    will-change: transform;
    transform: translateY(-100px);
  }
  .about .about-container {
    flex-direction: column;
    background-color: white;
  }
  .about .about-container .about-content {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
  }
  .about .about-container .about-content h2 {
    margin-top: 20px;
  }
  .about .about-container .about-content p {
    width: 100%;
    margin-top: 20px;
    text-align: left;
  }
  .about .about-container .about-content a {
    margin-top: 20px;
  }
  .about .about-img-text {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: 60px;
    z-index: 2;
  }
  .about .about-img-text img {
    width: 10vw;
  }
  .about .school {
    position: relative;
    padding: 50px 20px;
    /* Flowの文字 */
  }
  .about .school .school-container {
    width: 100%;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    /* 画像の下の四角 */
  }
  .about .school .school-container .school-content {
    order: 2;
    width: 100%;
    max-width: 800px;
    padding-left: 0;
    text-align: center;
    z-index: 3;
  }
  .about .school .school-container .school-content .school-summary {
    font-size: 18px;
    margin-top: 20px;
  }
  .about .school .school-container .school-content h2 {
    margin-top: 20px;
  }
  .about .school .school-container .school-content p:not(.school-summary) {
    margin-top: 20px;
    width: 100%;
    text-align: left;
  }
  .about .school .school-container .school-content a {
    margin-top: 20px;
  }
  .about .school .school-container .school-content .flow-text {
    width: 100%;
  }
  .about .school .school-container .school-image {
    order: 1;
    width: 100%;
    max-width: 800px;
    height: auto;
    position: relative;
    z-index: 2;
  }
  .about .school .school-container .school-image img {
    width: 100%;
  }
  .about .school .school-container .takamatsu-image::after {
    content: "";
    position: absolute;
    width: 90%;
    height: 100%;
    background-color: var(--white);
    top: 10%;
    left: 0;
    margin-left: -5%;
    z-index: -1;
  }
  .about .school .school-container .yashima-image::after {
    content: "";
    position: absolute;
    width: 90%;
    height: 100%;
    background-color: var(--white);
    top: 10%;
    right: 0;
    margin-right: -5%;
    z-index: -1;
    overflow: hidden;
  }
  .about .school .school-container:not(:last-child):not(.flow > .school-container) {
    margin-top: -80px;
  }
  .about .school .school-container-takamatsu {
    margin-bottom: 40px;
  }
  .about .school .flow-img-text {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(0, -43px);
    z-index: 1;
  }
  .about .school .flow-img-text p {
    font-size: 100px;
  }
  .about .flow .school-container {
    margin: 0;
    padding: 0;
  }
  .about .flow .school-container .school-content {
    width: 100%;
    max-width: 800px;
    padding-left: 0;
    text-align: center;
    z-index: 3;
    display: contents;
  }
  .about .flow .school-container .school-content h2 {
    margin-top: 0;
    order: 1;
  }
  .about .flow .school-container .school-content h3 {
    order: 2;
  }
  .about .flow .school-container .school-content p:not(.school-summary) {
    margin-top: 20px;
    width: 100%;
    text-align: left;
  }
  .about .flow .school-container .school-content a {
    margin-top: 20px;
    order: 5;
  }
  .about .flow .school-container .school-content .flow-text {
    width: 100%;
    order: 4;
  }
  .about .flow .school-container .school-image {
    order: 3;
    margin-top: 20px;
  }
  /* FAQ */
  .faq-section {
    padding: 50px 20px;
    /* FAQの文字 */
  }
  .faq-section .faq-img-text {
    position: absolute;
    top: 0.5%;
    left: 10%;
  }
  .faq-section .faq-img-text img {
    width: 10vw;
  }
  .faq-section .faq-container {
    width: 100%;
    min-width: auto;
    max-width: 800px;
    padding: 0;
    /* ヘッダー */
  }
  .faq-section .faq-container .faq-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
  }
  /* アコーディオン */
  .accordion-item {
    background-color: var(--white);
    margin-top: 10px;
    padding: 4px 16px;
  }
  /* Qのコンテナ */
  .accordion-header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    padding: 6px;
    cursor: pointer;
    text-align: left;
    position: relative;
    border: none;
    background-color: var(--white);
  }
  .q-icon::before {
    font-size: 16px;
    padding-bottom: 3px;
  }
  .q-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
  }
  /* Aのコンテナ */
  .accordion-content {
    border-top: 1px solid var(--gray);
    padding: 6px;
    display: none;
    text-align: left;
  }
  .accordion-content p {
    margin-bottom: 1rem;
  }
  .accordion-item.active .accordion-content {
    display: flex;
  }
  .a-icon::before {
    font-size: 16px;
    padding-bottom: 3px;
  }
  .a-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
  }
  .question {
    flex-grow: 1;
    font-size: 16px;
  }
  .accordion-header .question {
    margin-right: 10px;
  }
  .toggle-icon {
    position: absolute;
    right: 0;
    width: 20px;
    height: 20px;
  }
  .toggle-icon::before,
  .toggle-icon::after {
    content: "";
    position: absolute;
    background: var(--blue);
  }
  .toggle-icon::before {
    width: 2px;
    height: 20px;
    left: 9px;
    top: 0;
  }
  .toggle-icon::after {
    width: 20px;
    height: 2px;
    left: 0;
    top: 9px;
  }
  .accordion-item.active .toggle-icon::before {
    transform: rotate(90deg);
  }
}
@media (max-width: 601px) {
  .top-pc-only {
    display: none;
  }
  .top-tab-only {
    display: none;
  }
  .top-sp-only {
    display: block;
  }
  /* ローディングアニメーション用 */
  .logo-fadein .logo-fadein-content {
    width: 300px;
    margin: auto;
  }
  .logo-fadein .logo-fadein-content p {
    padding: 0;
    font-size: 16px;
    white-space: nowrap;
  }
  .logo-fadein .logo-fadein-content img {
    width: 210px;
    height: auto;
  }
  .img-active {
    animation-delay: 2s;
    animation: 8s zoomFadeInSp forwards;
  }
  .first-img-active {
    animation-delay: 2s;
    animation: 8s zoomFadeInSp forwards;
  }
  /* ヒーロー */
  /* 浅野塾について */
  /* FAQ */
}
@media screen and (max-width: 601px) and (min-aspect-ratio: 8.9/16) {
  .first-img-active {
    animation-delay: 2s;
    animation: 8s zoomFadeInSp2 forwards;
  }
}
@media (max-width: 601px) {
  .hero {
    margin-top: -60px;
    height: 100svh;
    overflow: hidden;
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .top-images-parent {
    width: 100%;
    height: 100svh;
    z-index: 1;
    overflow: hidden;
    /*                         @media screen and (min-aspect-ratio: 8.9/16) {
                                img:not(.first-img) {
                                    margin-top: -20px;
                                    width: 100%;
                                    height: 100svh;
                                    object-fit: cover;
                                    object-position: center top;
                                }
                                .first-img {
                                    width: 100%;
                                    height: 100svh;
                                    object-fit: contain;
                                    transform: scale(1.1);
                                    object-position: center top;
                                    padding-top: 30px;
                                }
                            } */
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .top-images-parent img {
    width: 100%;
    height: 100svh;
    overflow: hidden;
    transform: scale(1);
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top;
       object-position: top;
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content {
    transform: translate(-50%, -30%);
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content .hero-content-item {
    padding: 10px 10px 0;
    height: auto;
    min-height: auto;
    font-size: 28px;
    height: 120px;
  }
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content .hero-content-item a {
    margin-top: 5px;
    margin-bottom: 0;
    padding: 5px 0;
  }
}
@media screen and (max-width: 601px) and (min-aspect-ratio: 8.9/16) {
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content {
    transform: translate(-50%, -15%);
  }
}
@media (max-width: 601px) {
  .hero .hero-container .hero-mainvisual .top-image-widget .hero-content .item-white {
    margin-top: 14px;
  }
  .about {
    padding: 0;
    background-color: white;
    /* Newsの文字 */
    /* Aboutの文字 */
  }
  .about .news-img-text {
    position: absolute;
    padding: 0;
    top: 0;
    right: 0;
    transform: translate(0, -60%);
    display: flex;
    align-items: flex-start;
    height: 100px;
  }
  .about .news-img-text p {
    font-size: 100px;
    margin-top: -60px;
  }
  .about .about-image-sp {
    width: 100%;
    overflow: hidden;
    z-index: 0;
    position: sticky;
    top: 70px;
  }
  .about .about-image-sp .about-image-container-sp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
    position: relative;
  }
  .about .about-image-sp .sp-row-1 {
    width: 140%;
  }
  .about .about-image-sp .sp-row-1 .about-image-item-sp {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    box-shadow: 3px 6px 5px 0px rgba(139, 139, 139, 0.3);
    margin-left: -67%;
    aspect-ratio: 2.2/1;
  }
  .about .about-image-sp .sp-row-1 .about-image-item-sp img {
    display: block;
    width: 100%;
    aspect-ratio: 2.2/1.5;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.1s linear;
    will-change: transform;
    transform: translateY(-100px);
    overflow: hidden;
  }
  .about .about-image-sp .sp-row-2 {
    width: 150%;
  }
  .about .about-image-sp .sp-row-2 .about-image-item-sp {
    width: 100%;
    aspect-ratio: 1.75/1;
    overflow: hidden;
    position: relative;
    margin-left: -20%;
    box-shadow: 3px 6px 5px 0px rgba(139, 139, 139, 0.3);
  }
  .about .about-image-sp .sp-row-2 .about-image-item-sp img {
    display: block;
    width: 100%;
    aspect-ratio: 1.75/1.5;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.1s linear;
    will-change: transform;
    transform: translateY(-100px);
  }
  .about .about-container {
    flex-direction: column;
    background-color: white;
    padding-bottom: 100px;
  }
  .about .about-container .about-content {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
  }
  .about .about-container .about-content h2 {
    margin-top: 20px;
  }
  .about .about-container .about-content p {
    width: 100%;
    margin-top: 20px;
    text-align: left;
  }
  .about .about-container .about-content a {
    margin-top: 20px;
  }
  .about .about-img-text {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: 60px;
    z-index: 1;
  }
  .about .about-img-text img {
    width: 20vw;
  }
  .school {
    /* Flowの文字 */
  }
  .school .flow-img-text {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(0, -43px);
    z-index: 1;
    height: 100px;
  }
  .school .flow-img-text p {
    font-size: 100px;
  }
  .faq-section {
    /* FAQの文字 */
  }
  .faq-section .faq-img-text img {
    width: 20vw;
  }
}
@keyframes zoomFadeInSp {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}
@keyframes zoomFadeInSp2 {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}
@keyframes clipReveal {
  to {
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0); /* 全体を表示 */
    opacity: 0.1;
  }
}/*# sourceMappingURL=front.css.map */