@charset "UTF-8";

/* font */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap');

.m-plus-1p-regular {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.m-plus-1p-medium {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.m-plus-1p-bold {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.m-plus-1p-extrabold {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.m-plus-1p-black {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.alfa-slab-one-regular {
  font-family: "Alfa Slab One", serif;
  font-weight: 400;
  font-style: normal;
}

/* =========================
  共通
========================= */
body {
  font-family: "M PLUS 1p", sans-serif;
}

body.is-locked {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: #333;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content {
  padding-top: 60px;
}

:root {
  --drop-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
  --color-main: #4da3d9;
  --color-main2: #7fc8e8;
  --color-main3: #b7e4f8;
  --bubble-bg: #e9f6fb;
  --shadow: 4px 4px 6px rgba(0, 0, 0, 0.20);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 1320px;
  height: 70px;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header__inner {
  position: relative;
  height: 100%;
}

/* ===== Global Nav ===== */
.global-nav {
  position: relative;
  width: 1082px;
  height: 70px;
}

.global-nav__bg {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.global-nav__logo {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.global-nav__logo-img {
  width: 48px;
  height: 48px;
}

.global-nav__logo-text {
  font-size: 32px;
  color: #3466a8;
}

.global-nav__list {
  position: absolute;
  left: 266px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav__item a {
  font-size: 16px;
  color: #333;
  text-decoration: none;
  position: relative;
}

.global-nav__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #3466a8;
  transition: width 0.3s;
}

.global-nav__item a:hover::after {
  width: 100%;
}

.sp-menu {
  display: none;
}

/* ===== CTA ===== */
.header-cta {
  position: absolute;
  right: 0;
  top: 0;
}

.header-cta__btn {
  height: 70px;
  padding: 0 32px;
  background: #c43311;
  border-radius: 60px;
  color: #fff;
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.sp-fixed-cta__btn {
  display: none;
}

/* ===== スマホ 下固定CTA ===== */
@media screen and (max-width: 1100px) {
  .sp-fixed-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 200;
  }

  .sp-fixed-cta__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 56px;
    background-color: #c43311;
    border-radius: 999px;
    color: #fff;
    font-family: "Mplus 1p", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--drop-shadow);
  }
}

@media screen and (max-width: 1100px) {
  .header-cta {
    display: none;
  }
}

/* =========================
   ハンバーガー（元仕様を維持）
========================= */
.hamburger {
  display: none;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  cursor: pointer;
  z-index: 300;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: #333;
  transition: all 0.3s ease;
}

/* アニメーション（元コードそのまま） */
.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   レスポンシブ（1100px以下）
========================= */
@media screen and (max-width:1100px) {

  .site-header {
    width: 100%;
    left: 0;
    transform: none;
    padding: 0 16px;
    top: 20px;
    height: 64px;
  }

  .site-header__inner {
    height: 100%;
  }

  .global-nav {
    width: 100%;
    height: 64px;
  }

  .global-nav__bg {
    border-radius: 100px;
  }

  .global-nav__logo {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .global-nav__logo-img {
    width: 36px;
    height: 36px;
  }

  .global-nav__logo-text {
    font-size: 24px;
  }

  /* PC用メニュー非表示 */
  .global-nav__list {
    display: none;
  }

  /* ハンバーガー表示（構造は触らない） */
  .hamburger {
    display: block;
  }

  /* ===== SPメニュー ===== */
  .sp-menu {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 250;
    padding: 96px 24px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    text-align: center;
  }

  .sp-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .sp-menu__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .sp-menu__logo-img {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
  }

  .sp-menu__logo-text {
    font-size: 28px;
    color: #3466a8;
  }

  .sp-menu__item {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .sp-menu.is-open .sp-menu__item {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SP メニューリスト
========================= */
.sp-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各メニュー項目 */
.sp-menu__item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 開いたとき */
.sp-menu.is-open .sp-menu__item {
  opacity: 1;
  transform: translateY(0);
}

/* 間隔 */
.sp-menu__item+.sp-menu__item {
  margin-top: 24px;
}

/* リンク */
.sp-menu__item a {
  font-family: "Mplus 1p", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: inline-block;
}

/* 順番アニメーション */
.sp-menu.is-open .sp-menu__item:nth-child(1) {
  transition-delay: 0.05s;
}

.sp-menu.is-open .sp-menu__item:nth-child(2) {
  transition-delay: 0.10s;
}

.sp-menu.is-open .sp-menu__item:nth-child(3) {
  transition-delay: 0.15s;
}

.sp-menu.is-open .sp-menu__item:nth-child(4) {
  transition-delay: 0.20s;
}

.sp-menu.is-open .sp-menu__item:nth-child(5) {
  transition-delay: 0.25s;
}

.sp-menu.is-open .sp-menu__item:nth-child(6) {
  transition-delay: 0.30s;
}

/* =========================
   Hero
========================= */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-image: url("/assets/img/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero {
  min-height: 120vh;
}

@media (max-width: 1440px) {
  .hero {
    min-height: 110vh;
  }

}

/* @supports (height: 100svh) {
  .hero {
    min-height: 100svh;
  }
} */

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 150px 0 80px;
  box-sizing: border-box;
}

/* テキスト */
.hero-content {
  position: relative;
  z-index: 3;
}

/* ===== タイトル ===== */
.hero-title {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 1.7;
  color: #3466a8;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, .2);
  margin: 0;
  background: linear-gradient(transparent 15%, #ffffff 0%, #ffffff 90%, transparent 0%);
  padding: 8px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* 強調部分 */
.hero-title span {
  color: #4eb788;
}

.hero-subtitle {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 12px;

  background: #fff;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #3466a8;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, .2);
}

.hero-message {
  margin-top: 150px;
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
  max-width: 532px;
}

/* 画像 */
.hero-images {
  position: absolute;
  right: 0;
  bottom: -100px;
  z-index: 2;
}

/* メイン画像 */
.hero-img-main {
  width: min(458px, 60vw);
}

/* 画像グループ（縮小対象） */
.hero-images-inner {
  position: relative;
  width: fit-content;
  /* ← これが超重要 */
  transform-origin: center bottom;
}

/* 小さい画像 */
.hero-img-sub {
  position: absolute;
  top: -110px;
  left: -170px;
}


/* スクロール */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  z-index: 5;
  color: #fff;
}

@media (max-width: 768px) {
  .hero-scroll {
    bottom: 10px;
  }
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
  0% {
    transform: rotate(45deg) translateY(0);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    transform: rotate(45deg) translateY(12px);
    opacity: 0;
  }
}

/* レスポンシブ 1024px */
@media (max-width: 1024px) {

  .hero-inner {
    padding: 120px 24px 80px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-message {
    margin-top: 48px;
  }

  .hero-img-main {
    width: 360px;
  }

  .hero-img-sub {
    width: 240px;
    top: -80px;
    left: -120px;
  }
}

/* レスポンシブ 768px */
@media (max-width: 820px) {

  .hero-images {
    display: none;
  }
}

/* セクション */
.why__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 0;
}

/* 見出し */
.section-heading {
  display: block;
  margin: 0 auto 32px;
  text-align: center;
  border-top: solid 3px #94C3D2;
  position: relative;
  width: 505px;
}

/*  */
@media (max-width: 768px) {
  .section-heading {
    width: fit-content;
  }
}

/* 上の濃い線（変更なし） */
.section-heading:after {
  position: absolute;
  content: " ";
  display: block;
  border-top: solid 3px #3466A8;
  top: -3px;
  width: 20%;
}

/* テキスト */
.section-heading__en {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 8px auto 0 auto;
}

.section-heading__jp {
  font-size: 36px;
  font-weight: 800;
  margin: 0 auto 8px;
}

/* リード文 */
.why__lead {
  max-width: 1160px;
  margin: 0 auto 64px;
  line-height: 2;
}

/* 理由ブロック */
.why-item {
  display: flex;
  align-items: center;
  gap: 40px;
}

.why-item+.why-item {
  margin-top: 32px;
}

.why-item__text {
  line-height: 2;
}

.why-item__list {
  line-height: 2;
  list-style-type: none;
}

.why-item--reverse {
  flex-direction: row-reverse;
}

.why-item__content {
  width: 50%;
}

.why-item__image {
  width: 50%;
  filter: drop-shadow(6px 6px 0 rgba(52, 141, 168, 1));
}

.why-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
}

.why-item__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #3583a9;
  flex-shrink: 0;
}

.why-item__icon--pc {
  content: url(../img/icon-pc.svg);
  width: 29.72px;
  height: auto;
}

.why-item__icon--money {
  content: url(../img/icon-money.svg);
  width: 29.72px;
  height: auto;
}

.why-item__icon--access {
  content: url(../img/icon-access.svg);
  width: 29.72px;
  height: auto;
}

.why-item__heading {
  font-size: 24px;
  color: #3583a9;
}

.why-item__text {
  margin-top: 16px;
  line-height: 2;
}

/* =========================
   レスポンシブ対応
   ========================= */

/* タブレット以下 */
@media screen and (max-width: 1024px) {

  .why__inner {
    padding: 60px 24px 0;
  }

  .why__lead {
    margin-bottom: 48px;
  }

  .why-item {
    gap: 32px;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {

  /* セクション見出し */
  .section-heading__jp {
    font-size: 28px;
  }

  .section-heading__en {
    font-size: 16px;
  }

  /* リード文 */
  .why__lead {
    font-size: 15px;
    line-height: 1.9;
  }

  /* 理由ブロック：縦並び */
  .why-item {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 64px;
  }

  /* reverse指定でも縦並び */
  .why-item--reverse {
    flex-direction: column;
  }

  .why-item__content,
  .why-item__image {
    width: 100%;
  }

  /* 画像のみ調整（アイコンは触らない） */
  .why-item__image img {
    border-radius: 24px;
  }

  /* タイトル */
  .why-item__heading {
    font-size: 20px;
    line-height: 1.4;
  }

  /* 本文 */
  .why-item__text,
  .why-item__list {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* 小さめスマホ */
@media screen and (max-width: 480px) {

  .section-heading {
    margin: 0 auto 24px;
  }

  .why-item__heading {
    font-size: 18px;
  }
}

/* ==========================
  Page Hero
========================== */
.page-hero {
  height: 600px;
  background-image: url("../img/hero-about.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  position: relative;
}

.page-hero__form {
  height: 600px;
  background-image: url("../img/hero-form.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  position: relative;
}




/* 中央コンテンツ幅 */
.page-hero__inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

/* テキスト */
.page-hero__content {
  position: absolute;
  top: 230px;
  left: 60px;
}

.page-hero__title {
  font-family: "Mplus 1p", sans-serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 1.6;
  color: #fff;
  text-shadow: var(--drop-shadow);
}

.page-hero__lead {
  margin-top: 8px;
  font-family: "Mplus 1p", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  text-shadow: var(--drop-shadow);
}

@media (max-width: 768px) {
  .page-hero {
    height: 420px;
  }

  .page-hero__content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .page-hero__title {
    font-size: 36px;
  }

  .page-hero__lead {
    font-size: 16px;
  }
}

/* ==========================
  Breadcrumb
========================== */

.breadcrumb {
  background-color: #f5f7fa;
}

.breadcrumb__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
}

.breadcrumb__text {
  margin-left: 60px;
  font-family: "Mplus 1p", sans-serif;
  font-size: 16px;
  color: #333;
}


/* =========================
   Service Info
========================= */

.service-info {
  position: relative;
  padding: 60px 0;
  background: #f5f7fa;
}

.service-info__inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}

/* 背景（必要なら画像指定） */
.service-info__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* =========================
   Cards
========================= */

.service-info__cards {
  display: flex;
  gap: 31px;
  justify-content: space-between;
}

@media screen and (max-width: 1024px) {
  .service-info__cards {
    padding: 0 24px;
  }
}

@media screen and (max-width: 768px) {
  .service-info__cards {
    flex-direction: column;
    align-items: center;
  }
}

.info-card {
  background: #e8f4f8;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
  padding: 32px;
  width: 100%;
  max-width: 645px;
  text-align: center;
}

.info-card__title {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: #3583a9;
  margin-bottom: 16px;
}

.info-card__text {
  font-size: 16px;
  line-height: 1.8;
  display: inline-block;
  text-align: left;
  list-style-type: none;
}

/* dayflow */
.dayflow__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 24px 32px;
}

.dayflow__lead {
  max-width: 384px;
  margin: 0 auto 32px;
}

/* ===============================
   DAY FLOW - TIMELINE
================================= */

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 60px;
}

/* center line */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  background: #4da3d9;
  border-radius: 999px;
  transform: translateX(-50%);
}

/* ===============================
   item
================================ */

.timeline__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 94px;
  margin: 0 auto 16px;
}

/* 右側アイテムは画像 → 吹き出し */
.timeline__item.is-right {
  flex-direction: row-reverse;
}

/* dot */
.timeline__item::after {
  content: "";
  position: absolute;
  top: 6.3rem;
  left: 50%;
  width: 22px;
  height: 22px;
  background: #4da3d9;
  border: 4px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* ===============================
   side
================================ */

.timeline__side {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* 左側 */
.is-left .timeline__side {
  grid-column: 1;
  justify-self: end;
  margin-right: 2rem;
  flex-direction: row;
}

/* 右側 */
.is-right .timeline__side {
  grid-column: 3;
  justify-self: start;
  margin-left: 2rem;
  flex-direction: row-reverse;
}

/* ===============================
   speech bubble
================================ */

.timeline__content {
  position: relative;
  width: 384px;
  height: 224px;
  background: #eaf7fd;
  border-radius: 1.5rem;
  padding: 1.6rem 1.8rem;
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.20));
}

/* tail */
.timeline__content::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  background: #eaf7fd;
  transform: translateY(-50%);
}

/* 左：右向き */
.is-left .timeline__content::after {
  right: -9px;
  transform: translateY(-50%) rotate(45deg);
}

/* 右：左向き */
.is-right .timeline__content::after {
  left: -9px;
  transform: translateY(-50%) rotate(-45deg);
}

/* text */
.timeline__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.33;
  color: #3583A9;
  margin-bottom: 16px;
}

.timeline__text {
  line-height: 2;
}

/* ===============================
   image
================================ */

.timeline__media {
  width: 384px;
  height: 224px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, .2);
}

.timeline__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   responsive
================================ */

@media (max-width: 768px) {

  /* 中央ライン・ドット非表示 */
  .timeline::before,
  .timeline__item::after {
    display: none;
  }

  /* 各アイテムを縦並びに */
  .timeline__item {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }

  /* is-right の row-reverse を解除 */
  .timeline__item.is-right {
    flex-direction: column;
  }

  /* 吹き出し・画像をフル幅に */
  .timeline__content,
  .timeline__media {
    width: 100%;
    height: auto;
    max-width: 520px;
  }

  /* 画像の高さを調整 */
  .timeline__media img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  /* 吹き出しのしっぽ非表示 */
  .timeline__content::after {
    display: none;
  }

  /* 文字サイズ微調整 */
  .timeline__title {
    font-size: 18px;
  }

  .timeline__text {
    font-size: 14px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {

  .timeline {
    padding: 0 16px;
  }

  .timeline__item {
    gap: 12px;
    margin-bottom: 32px;
  }

  .timeline__content {
    padding: 1.2rem 1.4rem;
    border-radius: 1.2rem;
  }

  .timeline__media {
    border-radius: 1.2rem;
  }

  .timeline__title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .timeline__text {
    font-size: 13px;
    line-height: 1.7;
  }
}

/* ===============================
   fade in animation
================================ */

.timeline__item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.timeline__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
  Steps Section
========================= */
.steps {
  background-color: #f5f7fa;
  padding: 60px 0;
}

.steps__inner {
  max-width: 1320px;
  margin: 0 auto;
}

/* =========================
  ステップ一覧（Grid）
========================= */
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 27px;
}

/* =========================
  Step Card
========================= */
.step-card {
  position: relative;
  background: #fff;
  border: 3px solid #3583a9;
  border-radius: 16px;
  padding: 60px 24px 24px;
  text-align: center;
  box-shadow: var(--drop-shadow);
}

/* Step バッジ */
.step-card__badge {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #3583a9;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  padding: 8px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

/* アイコン */
.step-card__icon {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
}

.step-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* タイトル */
.step-card__title {
  font-size: 24px;
  font-weight: 800;
  color: #3583a9;
  line-height: 1.33;
  margin-bottom: 16px;
}

/* テキスト */
.step-card__text {
  font-size: 16px;
  line-height: 2;
  text-align: left;
}

/* =========================
  Tablet（〜1024px）
========================= */
@media screen and (max-width: 1024px) {
  .steps {
    padding: 50px 24px;
  }

  .steps__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .step-card__badge {
    font-size: 28px;
  }

  .step-card__icon {
    width: 140px;
    height: 140px;
  }
}

/* =========================
  Smartphone（〜767px）
========================= */
@media screen and (max-width: 767px) {
  .steps {
    padding: 40px 0;
  }

  .steps__inner {
    padding: 24px 16px 0;
  }

  .steps__list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-card {
    padding: 56px 20px 24px;
  }

  .step-card__badge {
    font-size: 22px;
    padding: 6px 16px;
    top: -22px;
  }

  .step-card__icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }

  .step-card__title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .step-card__text {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* =========================
  FAQ SECTION
========================= */
.faq {
  padding-top: 60px;
}

.faq-section {
  padding: 0 20px 60px;
}

.faq-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================
  FAQ LIST
========================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================
  FAQ ITEM
========================= */

.faq-item {
  background-color: #e8f4f8;
  border-radius: 16px;
  box-shadow: var(--drop-shadow);
  overflow: hidden;
}

.faq-item__header {
  width: 100%;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-item__question {
  flex: 1;
  font-size: 24px;
  font-weight: 800;
  color: #333;
}

/* =========================
  FAQ ICON
========================= */

.faq-item__icon {
  position: relative;
  width: 32px;
  height: 32px;
}

.faq-item__icon-img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: auto;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* 初期状態：閉じている */

.faq-item__icon-img--open {
  opacity: 0;
  transform: scale(0.8);
}

/* 開いた状態 */

.faq-item.is-open .faq-item__icon-img--close {
  opacity: 0;
  transform: scale(0.8);
}

.faq-item.is-open .faq-item__icon-img--open {
  opacity: 1;
  transform: scale(1);
}

/* accordion body */

.faq-item__body {
  padding: 0 24px 32px;
}

.faq-item__answer {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* =========================
  CTA
========================= */

.faq-cta {
  margin-top: 32px;
  text-align: center;
}

.faq-cta__description {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  line-height: 2;
}


.faq-cta__title {
  font-size: 24px;
  font-weight: 500;
  color: #3583a9;
  margin-bottom: 16px;
}

.faq-cta__description {
  font-size: 16px;
  line-height: 2;
}

/* =========================
  CTA BUTTON（CENTER ALIGN）
========================= */

.faq-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ボタン本体 */

.faq-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 36px;
  min-width: 320px;
  border-radius: 999px;
  border: 3px solid #2c83b8;
  background-color: #ffffff;
  color: #2c83b8;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
}

/* アイコン */

.faq-cta__button img {
  width: 43px;
  height: auto;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

/* テキストブロック */

.faq-cta__button-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}

/* 電話番号 */

.faq-cta__button strong {
  font-size: 24px;
  font-weight: 500;
}

/* 受付時間 */

.faq-cta__button small {
  font-size: 14px;
  font-weight: 500;
}

/* hover（カンプ通り反転） */

.faq-cta__button:hover {
  background-color: #2c83b8;
  color: #ffffff;
  transform: translateY(-2px);
}

.faq-cta__button:hover img {
  filter: brightness(0) invert(1);
}

/* =========================
  SP
========================= */

@media (max-width: 768px) {
  .faq-cta__button {
    min-width: 100%;
  }
}

/* =========================
  RESPONSIVE
========================= */

@media (max-width: 768px) {
  .faq-item__question {
    font-size: 18px;
  }

  .faq-cta__buttons {
    gap: 16px;
  }

  .faq-cta__button {
    width: 100%;
    justify-content: center;
  }
}

/* =========================
  ACCORDION ANIMATION
========================= */

.faq-item__body {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 0.35s ease,
    opacity 0.25s ease;
  display: none;
}

/* 開いている状態 */

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__icon {
  transition: transform 0.3s ease;
}

/* =====================
   Access
===================== */

.access {
  background: #f5f7fa;
  padding: 80px 0;
}

.access__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

/* cards */
.access__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* card */
.access-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--drop-shadow);
  display: flex;
  flex-direction: column;
}

/* map */
.access-card__map {
  width: 100%;
  height: 280px;
}

.access-card__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* content */
.access-card__content {
  padding: 24px;
}

.access-card__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
}

.access-card__title.is-blue {
  color: #3583a9;
}

.access-card__title.is-green {
  color: #36876e;
}

/* list */
.access-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.access-card__item {
  display: flex;
  gap: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.access-card__item a {
  color: inherit;
  text-decoration: none;
}

.access-card__item a:hover {
  text-decoration: underline;
}

/* icons */
.access-card__icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.access-card__icon.is-map {
  background-image: url(../img/icon-map.svg);
}

.access-card__icon.is-map.is-green {
  background-image: url(../img/icon-map-green.svg);
}

.access-card__icon.is-tel {
  background-image: url(./img/material-symbols-wifi-calling-bar-3.svg);
}

.access-card__icon.is-fax {
  background-image: url(./img/vector-2.svg);
}

/* ===== Fade In ===== */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* responsive */
@media (max-width: 768px) {
  .access__cards {
    grid-template-columns: 1fr;
  }

  .access-card__map {
    height: 220px;
  }
}

/* =========================
   News
========================= */
.news .section-heading {
  margin-bottom: 32px;
}

.news {
  padding: 60px 0;
}

.news__inner {
  max-width: 800px;
  margin: 32px auto 0;
}

/* list */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* item */
.news-item {
  border-bottom: 1px dashed #999;
}

/* link：行全体をタップ可能に */
.news-item__link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;

  /* PCでは1行固定 */
  flex-wrap: nowrap;
}

/* ===== font-size（clamp） ===== */

.news-item__date {
  font-size: clamp(16px, 2.5vw, 24px);
  white-space: nowrap;
}

/* category 共通 */
.news-item__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 120px;
  height: 40px;

  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 500;

  border-radius: 6px;
  border: 2px solid;
  box-sizing: border-box;

  white-space: nowrap;
  flex-shrink: 0;

  /* ★ 反転用 */
  background-color: transparent;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* ブログ */
.news-item__category.is-blog {
  border-color: #3583a9;
  color: #3583a9;
}

/* お知らせ */
.news-item__category.is-info {
  border-color: #3466a8;
  color: #3466a8;
}

/* ===== hover時：カテゴリだけ色反転 ===== */
.news-item__link:hover .news-item__category.is-blog {
  background-color: #3583a9;
  color: #fff;
}

.news-item__link:hover .news-item__category.is-info {
  background-color: #3466a8;
  color: #fff;
}

/* title */
.news-item__title {
  font-size: clamp(16px, 2.5vw, 24px);
  margin: 0;
  line-height: 1.4;

  /* PCでは1行維持 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== SP ===== */
@media (max-width: 600px) {

  .news-item__link {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
  }

  .news-item__title {
    white-space: normal;
  }
}

/* =========================
   Footer Base
========================= */

.site-footer {
  position: relative;
  height: 400px;
  color: #ffffff;
  overflow: hidden;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(52, 141, 168, 1) 0%,
      rgba(53, 131, 169, 1) 50%,
      rgba(52, 102, 168, 1) 100%);
  z-index: 0;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 24px 60px;

  /* PC：Gridレイアウト */
  display: grid;
  grid-template-columns: 1.8fr 1fr 0.6fr;
  grid-template-rows: auto 1fr auto;
  gap: 32px 48px;
  align-items: start;
}

/* =========================
   Brand / Logo
========================= */

.site-footer__brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.site-footer__title {
  font-family: "Alfa Slab One", serif;
  font-size: 32px;
  line-height: 1;
}

/* =========================
   Address / Tel
========================= */

.site-footer__info {
  grid-column: 1;
  grid-row: 2;
  font-style: normal;
}

.site-footer__address {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.site-footer__tel {
  margin-top: 8px;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 16px;
}

.site-footer__tel a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

/* =========================
   Main Navigation
========================= */

.site-footer__nav {
  grid-column: 2;
  grid-row: 1 / 3;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav__item {
  margin-bottom: 16px;
}

/* =========================
   Sub Navigation
========================= */

.site-footer__subnav {
  grid-column: 3;
  grid-row: 1 / 3;
}

.footer-subnav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-subnav__item {
  margin-bottom: 16px;
}

/* =========================
   Nav Link + Underline Animation
========================= */

.footer-nav__item a,
.footer-subnav__item a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

/* underline */
.footer-nav__item a::after,
.footer-subnav__item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease, left 0.3s ease;
}

/* hover / focus-visible */
.footer-nav__item a:hover,
.footer-subnav__item a:hover {
  opacity: 0.7;
}

.footer-nav__item a:hover::after,
.footer-nav__item a:focus-visible::after,
.footer-subnav__item a:hover::after,
.footer-subnav__item a:focus-visible::after {
  width: 100%;
  left: 0;
}

/* keyboard focus */
.footer-nav__item a:focus-visible,
.footer-subnav__item a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* =========================
   Copyright
========================= */

.site-footer__copyright {
  grid-column: 1 / -1;
  grid-row: 3;
  text-align: center;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 12px;
}

@media screen and (max-width: 767px) {

  .site-footer {
    height: auto;
  }

  /* ===== フッター全体 ===== */
  .site-footer__inner {
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ← 全体中央寄せ */
    gap: 32px;
    text-align: center;
  }

  /* ===== ロゴ ===== */
  .site-footer__brand {
    order: 1;
    justify-content: center;
  }

  .site-footer__title {
    font-size: 28px;
  }

  /* ===== 住所・電話 ===== */
  .site-footer__info {
    order: 2;
    max-width: 320px;
  }

  /* ===== メインナビ（2カラム） ===== */
  .site-footer__nav {
    order: 3;
    width: 100%;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    justify-items: center;
  }

  .footer-nav__item {
    margin-bottom: 0;
  }

  /* ===== サブナビ ===== */
  .site-footer__subnav {
    order: 4;
    width: 100%;
  }

  .footer-subnav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* ===== コピーライト ===== */
  .site-footer__copyright {
    order: 5;
    margin-top: 16px;
  }
}

/* =========================
   Contact Section
========================= */
.contact {
  padding-top: 60px;
}

.contact__message {
  max-width: 864px;
  margin: 24px auto 48px;
  line-height: 1.8;
}

/* =========================
   Gray background area
========================= */

.contact-area {
  background-color: #f5f7fa;
  padding: 64px 0;
}

.contact-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   Grid
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* =========================
   Card
========================= */

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  border: 1px solid #ddd;
}

/* =========================
   Form
========================= */

.contact-form__field {
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

.is-required {
  color: #e53935;
  font-size: 0.85em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #bbb;
  font-size: 16px;
}

.contact-form textarea {
  height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1e64c8;
}

/* submit */

.contact-form__submit {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background: #1e64c8;
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* reCAPTCHA */
.contact-form__recaptcha {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

/* =========================
   Tel
========================= */

.contact-tel h3 {
  text-align: center;
  margin-bottom: 16px;
}

.contact-tel__desc {
  line-height: 1.7;
  margin-bottom: 16px;
}

.contact-tel__time {
  margin-bottom: 32px;
}

.contact-tel__list {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.contact-tel__item {
  flex: 1;
  text-align: center;
}

.contact-tel__item .name {
  display: block;
  font-weight: 600;
}

.contact-tel__item.is-blue .name {
  color: #2c7be5;
}

.contact-tel__item.is-green .name {
  color: #2fa36b;
}

.contact-tel__item .number {
  display: block;
  margin-top: 4px;
}

/* =========================
   Tel list
========================= */
.contact-tel {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  border: 1px solid #ddd;
}

.contact-tel__list {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.contact-tel__item {
  flex: 1;
  text-align: center;
}

/* 施設名 */
.contact-tel__name {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 18px;
}

/* 電話リンク */
.contact-tel__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* 電話番号 */
.contact-tel__number {
  font-size: 16px;
  color: #333;
}

/* =========================
   Phone icon
========================= */

.contact-tel__icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("../img/icon-phone.svg") no-repeat center / contain;
  mask: url("../img/icon-phone.svg") no-repeat center / contain;
}

/* =========================
   Color variations
========================= */

.contact-tel__item.is-blue,
.is-blue .contact-tel__icon {
  color: #2c7be5;
}

.contact-tel__item.is-green,
.is-green .contact-tel__icon {
  color: #2fa36b;
}

/* =========================
   SP対応
========================= */

@media (max-width: 767px) {
  .contact-tel__list {
    flex-direction: column;
    gap: 16px;
  }
}

.contact-form__loading {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  text-align: center;
}

.contact-form__loading.is-active {
  display: flex;
}

.contact-form__spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top-color: #3a7d5a;
  border-radius: 50%;
  animation: contact-spin 1s linear infinite;
}

@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-form__submit.is-disabled {
  pointer-events: none;
  opacity: 0.6;
}

/* =========================
   Privacy Policy
========================= */

.privacy {
  padding: 60px 20px;
}

.privacy__inner {
  max-width: 900px;
  margin: 0 auto;
}

.privacy__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.privacy__section {
  margin-bottom: 32px;
}

.privacy__heading {
  font-size: 1.2rem;
  margin-bottom: 12px;
  border-left: 4px solid #3583a9;
  padding-left: 10px;
}

.privacy__list {
  padding-left: 1.2em;
}

.privacy__list li {
  margin-bottom: 6px;
}

/* =========================
   Back to Top Button
========================= */

.privacy__back {
  margin-top: 60px;
  text-align: center;
}

.privacy__back-link {
  display: inline-block;
  padding: 14px 36px;
  background-color: #3583a9;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.privacy__back-link:hover,
.privacy__back-link:focus {
  background-color: #2c6c8a;
  transform: translateY(-2px);
}

/* =========================
   Responsive（SP）
========================= */

@media screen and (max-width: 480px) {
  .privacy {
    padding: 80px 16px;
  }

  .privacy__back {
    margin-top: 80px;
  }

  .privacy__back-link {
    width: 100%;
    max-width: 280px;
    padding: 16px 0;
    font-size: 1.05rem;
  }
}