@charset "UTF-8";

/* =========================================
   変数
   ========================================= */
:root {
  --main-color: #1FAF96;
  --main-color-dark: #178C78;
  --main-color-light: #E9F7F4;
  --cta2-bg: #75DEC5;
  --cta3-bg: #1EB89E;
  --lp-title-bg: #49C4B0;
  --accent-color: #1EB89E;
  --faq-a-color: #74D1C2;
  --text-color: #333333;
  --bg-color: #FFFFFF;
  --photos-grid-color: #FAFAFA;
  --photos-cell-color: #FFFFFF;
  --border-color: #DDDDDD;
  --content-width: 750px;
  --font-family: "Noto Sans JP",sans-serif;
}

/* =========================================
   リセット
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, dl, dt, dd,
figure, table, th, td {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  color: var(--main-color);
  text-decoration: underline;
}

a:hover {
  color: var(--main-color-dark);
}

/* =========================================
   ベース
   ========================================= */
html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: var(--font-family);
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-text-size-adjust: 100%;
}

/* =========================================
   レイアウト共通
   ========================================= */
.l-wrapper {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  background-color: var(--bg-color);
}

@media screen and (min-width: 768px) {
  .l-wrapper--lp {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
  }
}

.l-container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   LP（トップページ）
   ========================================= */
.p-lp {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
}

.p-lp__title {
  padding: 12px 16px;
  background-color: var(--lp-title-bg);
  color: #FFFFFF;
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
}

.p-seam {
  position: relative;
  z-index: 1;
  height: 0;
}

.p-seam__img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4%;
  /* 18/390 */
  height: auto;
  aspect-ratio: 18 / 91;
}

.p-schools {
  --grid-line: 1px;
  --grid-size: 20px;
  background-color: var(--photos-cell-color);
  background-image:
    linear-gradient(to right, var(--photos-grid-color) var(--grid-line), transparent var(--grid-line)),
    linear-gradient(to bottom, var(--photos-grid-color) var(--grid-line), transparent var(--grid-line));
  background-size: var(--grid-size) var(--grid-size);
  background-repeat: repeat;
  background-position: 0 0;
  padding-bottom: 40px;
}

.p-schools__img {
  display: block;
  width: 95.8974%;
  /* 100% - 4.1026%（16/390） */
  height: auto;
  margin-bottom: 12.3077%;
  /* 48/390 */
}

/* 奇数枚目：左に余白（1枚目＝左から開始） */
.p-schools__img:nth-of-type(odd) {
  margin-left: 4.1026%;
  /* 16/390 */
  margin-right: 0;
}

/* 偶数枚目：右に余白 */
.p-schools__img:nth-of-type(even) {
  margin-left: 0;
  margin-right: 4.1026%;
  /* 16/390 */
}

/* 1枚目だけ下の余白が狭い */
.p-schools__img:first-of-type {
  margin-bottom: 5.1282%;
  /* 20/390 */
}

@media screen and (min-width: 768px) {
  .p-lp__title {
    padding: 16px 32px;
    font-size: 2.6rem;
  }

  .p-schools {
    --grid-line: 2px;
    --grid-size: 40px;
    padding-bottom: 20px;
  }
}

.p-lp__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   CTAエリア（LP内）
   ========================================= */
.p-cta {
  padding: 6.1538vw 3.8462vw;   /* 24/390 = 6.1538vw, 15/390 = 3.8462vw */
  text-align: center;
}

.p-cta__title {
  font-size: 4.6154vw;          /* 18/390 */
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 0.8em;
}

.p-cta__text {
  font-size: 3.3333vw;          /* 13/390 */
  line-height: 1.8;
  color: #A6A6A6;
  margin-bottom: 1em;
}

.p-cta__button,
.p-cta2__button,
.p-cta3__button {
  display: inline-block;
  width: 100%;
  max-width: 660px;
  line-height: 0;
  transition: opacity 0.2s;
}

.p-cta__button:hover,
.p-cta2__button:hover,
.p-cta3__button:hover {
  opacity: 0.8;
}

.p-cta__button img,
.p-cta2__button img,
.p-cta3__button img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .p-cta {
    padding: 60px 32px;
  }

  .p-cta__title {
    font-size: 3.6rem;
  }

  .p-cta__text {
    font-size: 2.0rem;
  }
}

.p-cta2 {
  background-image: url(/img/tokuten02.jpg);
  background-size: cover;
}
.p-cta3 {
  padding: 0 3.8462vw 7.6923vw;   /* 左右 15/390, 下 30/390 */
  background-color: var(--cta2-bg);
}

.p-cta3 {
  background-color: var(--cta3-bg);
}

.p-cta2__inner {
  padding: 0 7.6923vw 7.6923vw;
  text-align: center;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}
.p-cta3__inner {
  padding: 0 3.8462vw 7.6923vw;   /* 左右 15/390, 下 30/390 */
  text-align: center;
  background-color: #FFFFFF;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

/* CTAエリア3 */
.p-cta3__inner {
  padding-top: 4.1026vw;          /* 16/390 */
  border-radius: 16px;
}

/* CTAエリア3の見出し */
.p-cta3__title {
  font-size: 4.6154vw;            /* 18/390 */
  line-height: 1.5;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 0.8em;
}

.p-cta2__note,
.p-cta3__note {
  margin-top: 16px;
  font-size: 1.4rem;
  line-height: 1.7;
  color: #A6A6A6;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-cta3,
  .p-cta2__inner,
  .p-cta3__inner {
    padding: 0 32px 56px;
  }

  .p-cta3__inner {
    padding-top: 32px;
  }

  .p-cta3__title {
    font-size: 3.6rem;
  }

  .p-cta2__note {
    font-size: 2.6rem;
  }

  .p-cta3__note {
    font-size: 2rem;
  }

}

/* =========================================
   下層ページ共通
   ========================================= */
.p-page {
  padding: 40px 0 60px;
}

.p-page__title {
  font-size: 2.2rem;
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
  color: var(--main-color);
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--main-color);
}

.p-page h2 {
  font-size: 1.9rem;
  line-height: 1.6;
  font-weight: bold;
  margin: 40px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--main-color);
}

.p-page h3 {
  font-size: 1.7rem;
  line-height: 1.6;
  font-weight: bold;
  margin: 28px 0 8px;
  color: var(--main-color-dark);
}

.p-page p {
  margin-bottom: 1.2em;
}

.p-page ul,
.p-page ol {
  margin: 0 0 1.2em;
  padding-left: 1.6em;
}

.p-page ul > li {
  list-style: disc;
  margin-bottom: 0.4em;
}

.p-page ol > li {
  list-style: decimal;
  margin-bottom: 0.4em;
}

.p-page ul ul,
.p-page ol ol,
.p-page ul ol,
.p-page ol ul {
  margin: 0.4em 0 0.4em;
}

/* =========================================
   よくあるご質問
   ========================================= */
.p-faq {
  padding: 56px 16px;
  text-align: center;
}

/* --- 見出し ＋ 背面のQ&A装飾 --- */
.p-faq__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.62em;
  margin-bottom: 32px;
  font-size: 100px;
  line-height: 1;
}

.p-faq__head::before,
.p-faq__head::after {
  font-family: Poppins, sans-serif;
  width: 0.8em;
  text-align: center;
}

.p-faq__head::before {
  content: "Q";
}

.p-faq__head::after {
  content: "A";
}

/* Q・&・A 共通の装飾（上から下へのグラデーション） */
.p-faq__head::before,
.p-faq__head::after,
.p-faq__title::before {
  font-weight: bold;
  background-image: linear-gradient(to bottom, var(--main-color), var(--main-color-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0.45;
}

.p-faq__title {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 1;
  transform: translateY(-50%);
  font-size: 3.2rem;
  line-height: 1.4;
  font-weight: bold;
  color: #000000;
}

.p-faq__title::before {
  content: "&";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  font-size: 2.25em;
  line-height: 1;
}

/* --- Q&A 本体 --- */
.p-faq__item {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--accent-color);
  text-align: left;
}

.p-faq__item:last-child {
  margin-bottom: 0;
}

.p-faq__q,
.p-faq__a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.p-faq__q {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
}

.p-faq__a {
  padding-top: 16px;
  font-size: 1.6rem;
  color: #000000;
}

.p-faq__text {
  flex: 1;
}

.p-faq__a strong {
  font-weight: bold;
}

.p-faq__mark {
  font-family: Poppins, sans-serif;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1;
}

.p-faq__mark--q {
  background-color: var(--accent-color);
}

.p-faq__mark--a {
  background-color: var(--faq-a-color);
}

@media screen and (min-width: 768px) {
  /* 余白はすべてSPの2倍 */
  .p-faq {
    padding: 112px 32px;
  }

  .p-faq__head {
    margin-bottom: 64px;
    font-size: 200px;
  }

  .p-faq__title {
    font-size: 6.4rem;
  }

  .p-faq__item {
    margin-bottom: 32px;
    padding: 32px;
  }

  .p-faq__q,
  .p-faq__a {
    gap: 16px;
  }

  .p-faq__q {
    padding-bottom: 16px;
    font-size: 3.6rem;
  }

  .p-faq__a {
    padding-top: 32px;
    font-size: 3.2rem;
  }

  .p-faq__mark {
    font-size: 3.6rem;
  }
}

/* =========================================
   見出しの斜め線  \ 見出し /
   ========================================= */
.c-slash {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

.c-slash::before,
.c-slash::after {
  content: "";
  flex-shrink: 0;
  width: 2px;
  height: 1.2em;
  background-color: currentColor;
}

.c-slash::before {
  transform: rotate(-20deg);
}

.c-slash::after {
  transform: rotate(20deg);
}

.c-slash--fit::before,
.c-slash--fit::after {
  align-self: stretch;
  height: auto;
}

.c-slash--fit::before {
  transform: rotate(-20deg) scaleY(0.8);
}

.c-slash--fit::after {
  transform: rotate(20deg) scaleY(0.8);
}

/* =========================================
   テーブル（SP：縦並び／PC：横並び）
   ========================================= */
.c-table {
  width: 100%;
  border-top: 1px solid var(--border-color);
}

.c-table th,
.c-table td {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.c-table td {
  word-break: break-all;
}

.c-table th {
  font-weight: bold;
  background-color: var(--main-color-light);
  border-bottom: none;
}

@media screen and (min-width: 768px) {
  .c-table th,
  .c-table td {
    display: table-cell;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
  }

  .c-table th {
    width: 30%;
    border-right: 1px solid var(--border-color);
  }

  .c-table td {
    width: 70%;
  }
}

/* =========================================
   フッター
   ========================================= */
.l-footer {
  padding: 24px 20px 32px;
  text-align: center;
  background-color: #FFFFFF;
  color: var(--text-color);
}

.l-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.l-footer__nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.l-footer__nav a {
  font-size: 1.6rem;
  color: #000000;
  text-decoration: underline;
}

.l-footer__nav a:hover {
  color: #000000;
  text-decoration: underline;
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  .l-footer__nav {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }

  .l-footer__nav-row {
    gap: 16px;
  }

  .l-footer__nav a {
    font-size: 1.3rem;
  }
}

.l-footer__copyright {
  font-size: 1.2rem;
  line-height: 1.6;
}
