@charset "utf-8";
/* ▼ TOPページ AIO改修（C-7 2026-11 株式会社エフカラー）────────────
   TOPでだけ読み込む。既存の style.css には手を入れない。
   色・角丸・影は既存サイトに合わせる（緑 #0ead8f／橙 #f98e1f／角丸15px）。 */

/* 英字ラベル：見出しタグから外したので、従来の h4 と同じ見た目を再現 */
.ttl .ttl-en,
.ttl-side .ttl-en {
  margin: 10px 0 0;
  padding: 0;
  color: #969696;
  font-family: "roboto", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  line-height: calc(31 / 20);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ttl-side .ttl-en {
  display: flex;
  align-items: center;
}
.ttl-side .ttl-en span {
  display: block;
  margin-right: 10px;
}

/* 見出し直下の要約文 */
.aio-lead {
  font-size: 2rem; /* 既存の「見出しの下の文」（.ttl + p）と同じ */
  line-height: calc(28 / 16);
  letter-spacing: 0.05em;
  max-width: 860px;
  margin: -20px auto 40px;
}
.aio-lead.center {
  text-align: left;
}
@media screen and (min-width: 787px) {
  .aio-lead.center {
    text-align: center;
  }
}

/* h1・要約文（メインビジュアルの直下） */
.aio-hero {
  padding: 60px 20px 20px;
  text-align: center;
}
.aio-hero__title {
  margin: 0 0 20px;
  color: #0ead8f;
  font-size: 2rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.aio-hero__title span {
  display: block;
  color: #333;
  font-size: 3.6rem;
  line-height: 1.4;
}
.aio-hero .aio-lead {
  margin: 0 auto 30px;
  text-align: left;
}
.aio-hero__btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 「教習プラン・料金を見る」ボタンのアイコン（ペンのボタンと同じ位置。色は文字の色に合わせる） */
.btn.aio-plan::before {
  width: 26px; /* 本の形は横長で小さく見えるので、ペン（20px）より大きめ */
  height: 26px;
  left: 14px;
  background: currentColor;
  -webkit-mask: url("../icon/white/plan.svg") no-repeat center / contain;
  mask: url("../icon/white/plan.svg") no-repeat center / contain;
}
.btn.aio-plan:hover::before {
  left: 11px; /* 既存のボタンと同じく、乗せたとき少し左へ動かす */
}

/* 選ばれる3つの理由：h4 → h3 に変えたので、従来の見た目を再現 */
.home .area--2_1 .aio-point-ttl {
  color: #0ead8f;
  margin: 20px 0 0;
  font-size: 2rem;
  line-height: calc(31 / 20);
}

/* 新設セクション（教習プラン／入校をご検討中の方へ／スクールバス／よくあるご質問） */
.aio-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.aio-section--gray {
  background-color: #f6f6f6;
}
.aio-section .ttl {
  margin-top: 0;
}

/* カード */
.aio-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.aio-cards--4 {
  grid-template-columns: repeat(4, 1fr);
}
.aio-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}
.aio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 28px 24px 56px;
  border-radius: 15px;
  background: #fff;
  border-top: 6px solid #0ead8f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.aio-cards li:nth-child(even) .aio-card {
  border-top-color: #f98e1f;
}
.aio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.aio-card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0ead8f url("../icon/white/arrow.svg") no-repeat center / 12px;
}
.aio-cards li:nth-child(even) .aio-card::after {
  background-color: #f98e1f;
}
.aio-card__en {
  margin: 0 0 4px;
  color: #969696;
  font-family: "roboto", sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.aio-card__ttl {
  margin: 0 0 12px;
  color: #0ead8f;
  font-size: 2rem;
  line-height: 1.5;
}
.aio-cards li:nth-child(even) .aio-card__ttl {
  color: #f98e1f;
}
.aio-card__ttl span {
  display: block;
}
.aio-card p {
  margin: 0;
  font-size: 1.7rem; /* 2026-11-20 内田様ご要望（1.5→1.7） */
  line-height: 1.7;
}
.aio-card .aio-card__note {
  margin-top: 10px;
  font-size: 1.3rem;
  color: #f98e1f;
  font-weight: bold;
}

/* スクールバス（色付きのカード。色はサイトのボタンと同じグラデーション） */
.aio-bus {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.aio-bus__card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  height: 100%;
  box-sizing: border-box;
  padding: 36px 32px 32px;
  border-radius: 15px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.aio-bus__card--route {
  background: linear-gradient(135deg, #20bbd0, #0ead8f);
}
.aio-bus__card--reserve {
  background: linear-gradient(135deg, #f9c71f, #f98e1f);
}
.aio-bus__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
/* 右下の飾り：サイト背景の「道路のような破線」と同じ形を、白くうすく */
.aio-bus__card::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  width: 190px;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 120'%3E%3Cpath d='M0 14H130a23 23 0 0 1 0 46H52a23 23 0 0 0 0 46H190' fill='none' stroke='%23fff' stroke-opacity='.35' stroke-width='9' stroke-dasharray='9 7'/%3E%3C/svg%3E") no-repeat right bottom / contain;
  pointer-events: none;
}
.aio-bus__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.aio-bus__icon img {
  width: 42px;
  height: auto;
}
.aio-bus__body {
  position: relative;
  flex: 1;
}
.aio-bus__en {
  display: block;
  font-family: "roboto", sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.aio-bus__ttl {
  margin: 2px 0 14px;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1.4;
}
.aio-bus__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.aio-bus__tags span {
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  color: #0ead8f;
  font-size: 1.4rem;
  font-weight: bold;
}
.aio-bus__text {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.7;
}
.aio-bus__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 18px 8px 22px;
  border-radius: 999px;
  background: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}
.aio-bus__card--route .aio-bus__more {
  color: #0ead8f;
}
.aio-bus__card--reserve .aio-bus__more {
  color: #f98e1f;
}
.aio-bus__more::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor url("../icon/white/arrow.svg") no-repeat center / 8px;
}

/* よくあるご質問（クリックで開く） */
.aio-faq {
  max-width: 900px;
  margin: 0 auto 40px;
}
.aio-faq__item {
  background: #fff;
  border-radius: 15px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.aio-faq__q {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 64px;
  position: relative;
}
.aio-faq__q::-webkit-details-marker {
  display: none;
}
.aio-faq__q::before {
  content: "Q";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0ead8f;
  color: #fff;
  font-family: "roboto", sans-serif;
  font-weight: bold;
  text-align: center;
  line-height: 32px;
}
.aio-faq__q::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #0ead8f;
  font-size: 2.4rem;
  font-weight: bold;
}
.aio-faq__item[open] .aio-faq__q::after {
  content: "−";
}
.aio-faq__q h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.6;
}
.aio-faq__a {
  padding: 0 24px 24px 64px;
  position: relative;
}
.aio-faq__a::before {
  content: "A";
  position: absolute;
  left: 20px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f98e1f;
  color: #fff;
  font-family: "roboto", sans-serif;
  font-weight: bold;
  text-align: center;
  line-height: 32px;
}
.aio-faq__a p {
  margin: 0;
  padding-top: 4px;
}
.aio-section .btn-area .btn,
.aio-faq + .btn-area .btn {
  margin: auto;
}

/* 指導員採用情報（お知らせの下） */
.aio-recruit {
  margin-top: 60px;
}
.aio-recruit .ttl-side {
  margin-bottom: 20px;
}
.aio-recruit .ttl-en img {
  width: 26px; /* 上の NEWS のアイコンと同じ大きさ */
  height: auto;
}
.aio-recruit .aio-lead {
  margin: 0 0 20px;
  font-size: 1.6rem; /* 半分の幅の欄なので、横の「お知らせ」と同じ大きさ */
}
/* スマホ：既存のTOPの本文（.home .area--* p）と同じ 1.6rem。区切りも既存に合わせて 768px */
@media only screen and (max-width: 768px) {
  .home .aio-lead {
    font-size: 1.6rem;
  }
}
.aio-recruit__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 70px 28px 30px;
  border-radius: 15px;
  background: linear-gradient(to right, rgba(32, 187, 208, 0.9), rgba(14, 173, 143, 0.9));
  color: #fff;
  font-weight: bold;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.aio-recruit__link:hover {
  transform: translateY(-5px);
}
.aio-recruit__link::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url("../icon/white/arrow-circle.svg") no-repeat center / contain;
}
.aio-recruit__en {
  font-family: "roboto", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}
.aio-recruit__label {
  font-size: 2.2rem;
}

/* スマホ */
@media screen and (max-width: 786px) {
  .aio-hero {
    padding: 40px 20px 10px;
  }
  .aio-hero__title {
    font-size: 1.6rem;
  }
  .aio-hero__title span {
    font-size: 2.6rem;
  }
  .aio-hero__btns {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .aio-hero__btns .btn {
    margin: 0 auto; /* 既存の上下24pxを外して、ボタンの間を詰める */
  }
  /* REASON：区画の背景の絵（雲など）が文字に重なるので、文字の後ろだけ白く敷く */
  .home .area--2 .aio-lead {
    position: relative;
    z-index: 1;
    background-color: #fff;
    box-shadow: 0 0 0 12px #fff; /* 白をまわりに少し広げて、絵の端も隠す */
  }
  /* カードの矢印は見出しの横（右上）へ */
  .aio-card {
    padding: 20px 56px 20px 20px;
  }
  .aio-card::after {
    top: 20px;
    bottom: auto;
    right: 16px;
  }
  .aio-section {
    padding: 60px 0; /* 左右の余白は .content2 側にあるので付けない */
  }
  .aio-lead {
    margin: -20px auto 30px;
  }
  .aio-cards--4,
  .aio-cards--2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .aio-bus {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .aio-bus__card {
    gap: 16px;
    padding: 24px 20px;
  }
  .aio-bus__card::before {
    bottom: 10px;
    width: 104px;
    height: 66px;
  }
  .aio-bus__icon {
    width: 56px;
    height: 56px;
  }
  .aio-bus__icon img {
    width: 30px;
  }
  .aio-bus__ttl {
    font-size: 2rem;
  }
  .aio-bus__tags span {
    padding: 3px 10px;
    font-size: 1.3rem;
  }
  .aio-faq__q {
    padding: 16px 48px 16px 56px;
  }
  .aio-faq__q::before,
  .aio-faq__a::before {
    left: 14px;
  }
  .aio-faq__q h3 {
    font-size: 1.5rem;
  }
  .aio-faq__a {
    padding: 0 18px 20px 56px;
  }
  .aio-recruit {
    margin-top: 40px;
  }
  .aio-recruit__label {
    font-size: 1.8rem;
  }
}
@media screen and (min-width: 787px) and (max-width: 1100px) {
  .aio-cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .aio-section {
    padding: 80px 20px; /* この幅では .content2 に余白がないので付ける */
  }
}
/* ▲ C-7 ここまで ─────────────────────────────────────── */

/* 教習プランの受付状況の注記（2026-11-20 内田様ご要望：各カードの注記をまとめてリードの下へ） */
.aio-lead-note {
  margin: -24px auto 40px;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #f98e1f;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 786px) {
  .aio-lead-note {
    margin: -14px auto 30px;
    text-align: left;
  }
}
