@charset "UTF-8";

/* =============================================================
   YouTube page
   The banner is rebuilt from vector primitives; only the golfer
   and the phone mock come from the artwork as cropped images.
   ============================================================= */

.yt {
  --navy: #0d1440;
  --bright: #06c2d1;
  position: relative;
  isolation: isolate;
  min-height: calc(0.6358 * min(100vw, var(--site-max))); /* 941 / 1480 */
  padding: 2.84% 0 4.26%; /* 42 / 1480 , 63 / 1480 */
  background: linear-gradient(180deg, #f7f6fb 0%, #f2f4f8 60%, #e5eef4 100%);
  overflow: clip;
}

.yt__deco,
.yt__golfer,
.yt__phone {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.yt__deco {
  inset: 0;
}

.yt__cube {
  position: absolute;
  display: block;
  border-radius: 24%;
}

.yt__cube--teal1 {
  left: 3.85%; /* 57 / 1480 */
  top: 8.6%;
  width: 5.4%; /* 80 / 1480 */
  aspect-ratio: 1;
  background: #59d4e0;
  transform: rotate(-12deg);
}

.yt__cube--white {
  left: 16.9%; /* 250 / 1480 */
  top: -4%;
  width: 6.42%; /* 95 / 1480 */
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(-8deg);
}

.yt__cube--teal2 {
  right: -0.5%;
  top: -1.6%;
  width: 5.74%; /* 85 / 1480 */
  aspect-ratio: 1;
  background: #59d4e0;
  transform: rotate(10deg);
}

.yt__ring {
  position: absolute;
  left: -2.03%; /* -30 / 1480 */
  top: 40.4%; /* 380 / 941 */
  width: 31.76%; /* 470 / 1480 */
  height: auto;
  opacity: 0.9;
}

.yt__glow {
  position: absolute;
  left: 60.8%;
  top: 79.7%;
  width: 60.8%;
  height: auto;
}

.yt__golfer {
  left: 5.14%; /* 76 / 1480 */
  top: 16.7%; /* 157 / 941 */
  width: 20.88%; /* 309 / 1480 */
  height: auto;
}

.yt__phone {
  left: 79.4%; /* 1175 / 1480 */
  top: 14%; /* 132 / 941 */
  width: 33.31%; /* 493 / 1480 */
  height: auto;
}

/* ---- Card ---------------------------------------------------- */
.yt-card {
  position: relative;
  margin-left: 24.12%; /* 357 / 1480 */
  width: 54.39%; /* 805 / 1480 */
  padding: 3.11% 4.53%; /* 46 / 1480 , 67 / 1480 */
  border-radius: clamp(1rem, 2.7vw, 2.5rem);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 25px rgba(140, 166, 191, 0.3);
  color: var(--navy);
}

.yt-card__brand {
  display: flex;
  align-items: center;
  gap: 0.44em;
  color: var(--bright);
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.24;
}

.yt-card__badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.77em;
  height: 1.24em;
  border-radius: 0.38em;
  background: var(--bright);
}

.yt-card__badge svg {
  width: 0.47em;
}

.yt-card__title {
  margin-top: 0.52em;
  font-size: 45px;
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.015em;
}

.yt-card__accent {
  color: var(--bright);
}

.yt-card__lead {
  margin-top: 1.1em;
  padding-top: 1.05em;
  border-top: 3px solid transparent;
  border-image: linear-gradient(
      90deg,
      var(--bright) 0%,
      rgba(140, 217, 242, 0.25) 100%
    )
    1;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.56;
}

.yt-card__list {
  margin-top: 1.6em;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.66em 1.5em;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.yt-card__list li {
  display: flex;
  align-items: center;
  gap: 0.76em;
}

.yt-card__list li::before {
  content: "";
  flex: none;
  width: 1.31em;
  height: 1.31em;
  background: url("../img/yt-check.svg") center / contain no-repeat;
}

.yt-card__note {
  font-size: 0.9em;
  font-weight: 400;
}

.yt-card__note::before {
  display: none;
}

.yt-card__cta {
  margin: 2em auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.76em;
  width: fit-content;
  max-width: 100%;
  padding: 0.7em 1.35em;
  border-radius: 100px;
  background: linear-gradient(180deg, #2ed9e8 0%, #04b2c7 100%);
  box-shadow: 0 14px 34px rgba(5, 178, 199, 0.45);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-card__cta:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(5, 178, 199, 0.55);
}

.yt-card__cta-icon {
  flex: none;
  width: 1.6em;
}

.yt-card__cta-arrow {
  font-size: 1.18em;
  line-height: 1;
}

/* =============================================================
   こんな方におすすめ（Figma: 02_こんな方におすすめ / 1672 x 941）
   数値は Figma 実寸 ÷ 1672 で % / vw 換算。上限は 1480px 幅時の実寸。
   ============================================================= */
.yt-rec {
  --ratio: 0.5628; /* 941 / 1672 */
  position: relative;
  min-height: calc(var(--ratio) * min(100vw, var(--site-max)));
  background-image: url("../img/yt-rec.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: clip;
}

.yt-rec__inner {
  width: min(100%, var(--site-max));
  margin-inline: auto;
  /* 72 / 105 ÷ 1672 */
  padding-block: clamp(2rem, 4.31vw, 4rem) clamp(2.5rem, 6.28vw, 5.81rem);
}

/* 左カラム。右半分は背景画像のタブレットが入る */
.yt-rec__body {
  width: 50%; /* 836 / 1672 */
  padding-left: 4.25%; /* 71 / 1672 */
  box-sizing: border-box;
}

/* ---- ラベル ---------------------------------------------------- */
.yt-rec__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.596em; /* 31 / 52 */
  color: #04143e;
  font-size: clamp(1.125rem, 3.11vw, 2.875rem); /* 52px */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.yt-rec__eyebrow::before {
  content: "";
  flex: none;
  width: 0.135em; /* 7 / 52 */
  height: 0.923em; /* 48 / 52 */
  border-radius: 3px;
  background: #35d5ea;
}

.yt-rec .u-en {
  font-size: 24px;
}
.yt-rec .yt-rec__title {
  font-size: 36px;
}
/* ---- 見出し ---------------------------------------------------- */
.yt-rec__title {
  margin-top: 0.4%;
  color: #04143e;
  font-size: clamp(1.75rem, 5.44vw, 5.03rem); /* 91px */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  /* カンプ通り1行。左カラム（50%）からはみ出すが背景の余白部分に収まる */
  white-space: nowrap;
}

.yt-rec__accent {
  color: #09b2d1;
}

/* ---- チェックリスト -------------------------------------------- */
.yt-rec__list {
  margin: clamp(1rem, 2.57vw, 2.38rem) 0 0; /* 43 / 1672 */
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.375rem, 0.48vw, 0.44rem); /* 8 / 1672 */
}

.yt-rec__list li {
  display: flex;
  align-items: center;
  gap: 0.868em; /* 33 / 38 */
  min-height: 3.368em; /* 128 / 38 */
  padding: 0.5em 0.632em 0.5em 0.763em; /* 24 / 29 */
  border: 1px solid #f2f6fb;
  border-radius: clamp(0.75rem, 1.2vw, 1.11rem); /* 20px */
  background: #fff;
  box-shadow: 0 6px 16px rgba(13, 38, 89, 0.07);
  color: #060e34;
  font-size: clamp(0.9375rem, 2.27vw, 1.6rem); /* 38px */
  font-weight: 700;
  line-height: 1.3;
}

.yt-rec__check {
  flex: none;
  width: 1.684em; /* 64 / 38 */
  height: 1.684em;
  display: block;
}

.yt-rec__check svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---- CTAボタン -------------------------------------------------- */
.yt-rec__cta {
  margin-top: clamp(1rem, 1.91vw, 1.77rem); /* 32 / 1672 */
  margin-left: 5.25%; /* 114 - 74 = 40 → カード左端からのインデント */
  display: flex;
  align-items: center;
  width: 70%; /* 659 / 762 */
  min-height: 2.775em; /* 111 / 40 */
  padding-inline: 11.2% 8%; /* 74 / 53 ÷ 659 */
  border-radius: 100px;
  background: linear-gradient(180deg, #22cce5 0%, #09b2d4 100%);
  box-shadow: 0 10px 12px rgba(10, 158, 199, 0.32);
  color: #fff;
  font-size: clamp(0.9375rem, 2.39vw, 1.6rem); /* 40px */
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-rec__cta:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 16px 22px rgba(10, 158, 199, 0.4);
}

.yt-rec__cta-icon {
  flex: none;
  width: 1.8em; /* 72 / 40 */
  margin-right: 0.85em; /* 34 / 40 */
  display: block;
}

.yt-rec__cta-icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.yt-rec__cta-label .u-en {
  font-size: 1.15em; /* 46 / 40 */
}

.yt-rec__cta-arrow {
  flex: none;
  margin-left: auto;
  width: 0.45em; /* 18 / 40 */
  display: block;
}

.yt-rec__cta-arrow svg {
  display: block;
  width: 100%;
  height: auto;
}

/* 901px以上ではタブレットは背景画像に含まれる */
.yt-rec__tablet {
  display: none;
}

/* ---- 900px以下：背景からタブレットを切り離して縦積み ------------- */
@media (max-width: 900px) {
  .yt-rec {
    min-height: 0;
    padding-block: clamp(2.5rem, 8vw, 4rem);
    background-image: none;
    background: linear-gradient(180deg, #ffffff 0%, #eef7fa 100%);
  }

  .yt-rec__inner {
    padding-block: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .yt-rec__body {
    width: min(100% - 6.5vw, 640px);
    padding-left: 0;
  }

  .yt-rec__eyebrow {
    font-size: clamp(1.0625rem, 3.4vw, 1.5rem);
  }

  .yt-rec__title {
    margin-top: 0.25em;
    font-size: clamp(1.625rem, 6vw, 2.75rem);
    white-space: normal;
  }

  .yt-rec__list {
    margin-top: clamp(1.25rem, 4vw, 2rem);
    gap: 10px;
  }

  .yt-rec__list li {
    font-size: clamp(0.9375rem, 3.4vw, 1.375rem);
    min-height: 0;
    padding: 0.85em 1em;
    gap: 0.7em;
  }

  .yt-rec__check {
    width: 1.5em;
    height: 1.5em;
  }

  .yt-rec__cta {
    margin-left: 0;
    width: 100%;
    padding-inline: 1.4em;
    font-size: clamp(1rem, 3.6vw, 1.375rem);
    min-height: 3.2em;
  }

  .yt-rec__cta-icon {
    width: 1.6em;
    margin-right: 0.7em;
  }

  .yt-rec__tablet {
    display: block;
    width: min(100% - 6.5vw, 640px);
    height: auto;
    margin-top: clamp(1.75rem, 5vw, 2.5rem);
    /* 画像の白背景を背景色になじませ、四角い継ぎ目を出さない */
    mix-blend-mode: multiply;
  }
}

/* ---- Responsive ---------------------------------------------- */
@media (max-width: 1100px) {
  .yt {
    padding-block: clamp(2.5rem, 7vw, 4rem);
  }

  .yt-card {
    margin-inline: auto;
    width: min(100% - 8vw, 760px);
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }

  .yt__golfer {
    left: -6%;
    top: auto;
    bottom: 0;
    width: 30%;
    opacity: 0.5;
  }

  .yt__phone {
    left: auto;
    right: -14%;
    width: 42%;
    opacity: 0.5;
  }
}

@media (max-width: 900px) {
  /* カードが装飾画像に重なって見えるため、背景としてさらに後退させる */
  .yt__golfer,
  .yt__phone {
    opacity: 0.32;
  }
}

@media (max-width: 767px) {
  .yt-card {
    width: calc(100% - 32px);
  }

  .yt-card__title {
    font-size: 1.6875rem;
  }

  .yt-card__lead {
    font-size: 0.9375rem;
  }

  .yt-card__list {
    grid-template-columns: minmax(0, 1fr);
    font-size: 1rem;
  }

  .yt-card__cta {
    width: 100%;
    font-size: 1.0625rem;
  }

  .yt__golfer,
  .yt__phone {
    opacity: 0.28;
  }
}
