@charset "UTF-8";

/* =============================================================
   TOP page
   Vertical rhythm is expressed as a percentage of the layout
   width so the composition scales with the artwork behind it.
   ============================================================= */

/* ---- Hero ---------------------------------------------------- */
.hero {
  --ratio: 0.563; /* 833 / 1480 */
  background-image: url("../img/top-hero.webp");
  padding-top: 11.28%; /* 167 / 1480 */
}

.hero__title {
  font-size: var(--fs-42);
  font-weight: 700;
  line-height: 1.47;
}

.hero__sub {
  margin-top: 2.42%; /* 53 / 1200 */
  color: var(--teal);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.hero__text {
  margin-top: 3.15%; /* 33 / 1200 */
  font-size: 18px;
  font-weight: 500;
  line-height: 1.82;
}

.hero__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4.08%; /* 49 / 1200 */
}

/* ---- Ambassador（LECTIO GOLF と TASK GOLF について）---------- */
/* 写真＋波のアートは下端合わせ。テキスト量に応じて上の白地だけが伸びる */
.ambassador {
  position: relative;
  background: url("../img/top-ambassador-bg.webp") left bottom / 100% auto
    no-repeat;
}

.ambassador__body {
  position: relative;
  z-index: 1;
  width: min(100%, var(--site-max));
  margin-inline: auto;
  /* 110 / 190 / 88 / 653 ÷ 1480 — 右カラム（637px）にテキストを寄せる */
  padding: 7.43% 12.84% 5.95% 44.12%;
}

.ambassador__title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.58;
}

/* 写真はPCでは背景アートで見せるため非表示（狭い画面でのみ登場） */
.ambassador__visual {
  display: none;
}

.ambassador__text {
  margin-top: 7.22%; /* 46 / 637 */
  font-size: var(--fs-18);
  font-weight: 500;
  line-height: 1.56;
}

.ambassador__text + .ambassador__text {
  margin-top: 4.4%; /* 28 / 637 — 1行あけと同じ間隔 */
}

/* 学ぶ・実践カード */
.amb-card {
  margin-top: 6.12%; /* 39 / 637 */
  border-radius: 6px;
  background: linear-gradient(90deg, #fff 0%, #f9fbfe 55%, #eaeff7 100%);
  overflow: hidden;
}

.amb-card__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
}

.amb-card__row + .amb-card__row::before {
  content: "";
  position: absolute;
  inset: 0 14px auto;
  height: 1px;
  background: #dae0e9;
}

.amb-card__term {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 215px; /* 28 + 12 + 175 */
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.amb-card__label {
  width: 175px;
}

.amb-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2d5cbe;
}

.amb-card__icon svg {
  width: 16px;
  height: 16px;
}

.amb-card__desc {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.57;
}

.ambassador__note {
  margin-top: 8.6%; /* 93 / 637 */
  font-size: clamp(0.875rem, 1.08vw, 1rem); /* 16 / 1480 */
  font-weight: 700;
}

.ambassador__btn {
  margin-top: 2.5%; /* 16 / 637 */
  width: min(100%, 262px);
  min-height: 53px;
  gap: 18px;
  padding-inline: 26px;
  font-size: clamp(0.875rem, 1.08vw, 1rem);
  box-shadow: 0 14px 34px rgba(5, 178, 199, 0.45);
}

.ambassador__btn:hover {
  box-shadow: 0 18px 40px rgba(5, 178, 199, 0.55);
}

.ambassador__btn .btn-glow__icon {
  width: 32px;
}

/* ---- Reasons ------------------------------------------------- */
.reason {
  --ratio: 0.563;
  background-image: url("../img/top-reason.webp");
  padding-top: 7.3%; /* 108 / 1480 */
  padding-bottom: 5%;
}

.reason__lead {
  margin-top: 3.25%; /* 39 / 1200 */
  line-height: 1.59;
}

.reason__list {
  margin-top: 5.25%; /* 63 / 1200 */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 204px));
  gap: 19px;
}

.reason-card {
  position: relative;
  min-height: 279px;
  padding: 18px 12px 19px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.reason-card__num {
  position: absolute;
  left: 19px;
  top: 14px;
  color: var(--teal);
  font-size: var(--fs-22);
  font-weight: 700;
  line-height: 1.2;
}

.reason-card__icon {
  width: auto;
  height: 60px;
  margin: 5px auto 0;
  object-fit: contain;
}

.reason-card__title {
  margin-top: 9px;
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: 27px;
}

.reason-card__text {
  margin-top: 19px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

/* ---- Worries ------------------------------------------------- */
.worry {
  --ratio: 0.563;
  background-image: url("../img/top-worry.webp");
  padding-top: 7.3%;
  padding-bottom: 5%;
}

.worry__list {
  margin-top: 4%; /* 48 / 1200 */
  display: grid;
  gap: 23px;
}

.worry__list li {
  position: relative;
  min-height: 31px;
  padding-left: 46px;
  color: var(--ink-soft);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.worry__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--teal);
}

.worry__btn {
  margin-top: 5.92%; /* 71 / 1200 */
}

/* ---- Vision -------------------------------------------------- */
.vision {
  --ratio: 0.4345; /* 643 / 1480 */
  background-image: url("../img/top-vision.webp");
  padding-top: 6.82%; /* 101 / 1480 */
  padding-bottom: 5%;
}

.vision__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.69;
}

.vision__text {
  margin-top: 2.75%; /* 57 / 1200 */
  font-size: 18px;
  font-weight: 500;
  line-height: 31px;
}

.vision__btn {
  margin-top: 2.75%;
}

.vision__note {
  margin-top: 2.83%; /* 34 / 1200 */
  color: var(--gray);
  font-size: var(--fs-18);
  font-weight: 500;
}

/* ---- Responsive ---------------------------------------------- */
@media (max-width: 1100px) {
  .reason__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
  }
}

/* 2カラムを維持できない幅からは、写真を本文の上に置く縦積みに切り替える */
@media (max-width: 1024px) {
  .ambassador {
    background-image: none;
  }

  .ambassador__body {
    width: min(100% - 6.5vw, var(--inner-max));
    padding: clamp(1rem, 9vw, 5rem) 0;
  }

  .ambassador__visual {
    display: block;
    width: min(100%, 380px);
    margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    /* 背景アートの左側（人物）だけを切り出して表示 */
    background: url("../img/top-ambassador-bg.webp") left top / 296% auto
      no-repeat #fff;
  }

  .ambassador__text {
    margin-top: clamp(1.25rem, 3.5vw, 2rem);
  }

  .ambassador__text + .ambassador__text {
    margin-top: 1.55em;
  }

  .amb-card {
    margin-top: clamp(1.5rem, 4vw, 2.25rem);
  }

  .ambassador__note {
    margin-top: clamp(2rem, 6vw, 3rem);
  }

  .ambassador__btn {
    margin-top: 12px;
  }
}

@media (max-width: 900px) {
  .hero,
  .reason,
  .worry,
  .vision {
    padding-block: clamp(3rem, 9vw, 5rem);
  }

  .hero__sub,
  .hero__text,
  .hero__cta,
  .reason__lead,
  .reason__list,
  .worry__list,
  .worry__btn,
  .vision__text,
  .vision__btn,
  .vision__note {
    margin-top: clamp(1.25rem, 3.5vw, 2.5rem);
  }

  .reason-card {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .ambassador__visual {
    width: min(100%, 320px);
  }

  /* 見出しと補足を縦積みにして、狭い幅でも折り返さないようにする */
  .amb-card__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
  }

  .amb-card__term,
  .amb-card__label {
    width: auto;
  }

  .amb-card__desc {
    padding-left: 40px; /* アイコン幅 28 + 余白 12 ぶん字下げ */
  }

  .hero {
    background-position: 72% top;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.86) 0%,
      rgba(255, 255, 255, 0.5) 100%
    );
  }

  .reason__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .reason-card {
    padding: 16px 16px 20px;
    text-align: left;
  }

  .reason-card__num {
    position: static;
    display: block;
  }

  .reason-card__icon {
    margin: 8px 0 0;
    height: 48px;
  }

  .reason-card__title br,
  .worry__list br {
    display: none;
  }

  .worry__list {
    gap: 16px;
  }

  .worry__list li {
    padding-left: 36px;
    min-height: 24px;
  }

  .worry__list li::before {
    width: 24px;
    height: 24px;
  }
}

/* ---- 2026-09 校正対応 ----------------------------------------- */
/* 「唯一のゴルフスクール」の一文を強調 */
.ambassador__text--em {
  font-size: clamp(1.125rem, 1.62vw, 1.5rem);
  font-weight: 700;
  line-height: 1.6;
}

.ambassador__em {
  color: var(--teal);
  font-size: 1.15em;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(14, 176, 194, 0.35);
  text-decoration-thickness: 0.35em;
  text-underline-offset: -0.15em;
  text-decoration-skip-ink: none;
}

/* 学ぶ＝TASK GOLF／実践＝LECTIO GOLF を大きく */
.amb-card__term {
  width: auto;
  min-width: 0;
  font-size: clamp(1.125rem, 1.62vw, 1.5rem);
}

.amb-card__label {
  width: auto;
  white-space: nowrap;
}

.amb-card__icon {
  width: 34px;
  height: 34px;
}

.amb-card__icon svg {
  width: 20px;
  height: 20px;
}

.amb-card__row {
  flex-wrap: wrap;
  gap: 6px 16px;
}

.ambassador__text--after-card {
  margin-top: 5%;
}

/* 選ばれる理由：5枚 */
.reason__list {
  grid-template-columns: repeat(5, minmax(0, 204px));
  gap: 16px;
}

.reason-card__title .u-en {
  font-size: 0.95em;
}

@media (max-width: 1100px) {
  .reason__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
  }
}

@media (max-width: 767px) {
  .amb-card__desc {
    padding-left: 46px;
  }
}

/* ヒーロー本文：2文目は少し詰めて続ける */
.hero__text--2 {
  margin-top: 1em;
}

/* ヒーローボタン上の受付案内「＼ 岡崎店・東京店で受付中 ／」（2026-09-20） */
.hero__note {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
  font-size: var(--fs-18);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.hero__note::before,
.hero__note::after {
  content: "＼";
  margin-right: 0.3em;
  font-weight: 700;
}

.hero__note::after {
  content: "／";
  margin-right: 0;
  margin-left: 0.3em;
}

/* 店舗名だけティールで強調 */
.hero__note-shop {
  color: var(--teal);
}
