/* ============================================================
   DAILY GOLF — PRIVATE OFFER
   ============================================================ */

:root {
  --black: #070908;
  --charcoal: #111412;
  --green-deep: #0b1a14;
  --green: #102219;

  --gold: #bfa06a;
  --gold-soft: #a88c5a;
  --gold-light: #dcc394;
  --gold-line: rgba(191, 160, 106, 0.28);

  --ivory: #f2ede2;
  --white: #ffffff;
  --grey: #a3a8a2;
  --grey-dim: #6f756f;

  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --serif-jp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;

  --gutter: 14px;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--black);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  font-family: var(--sans-jp);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--black);
  background-image:
    radial-gradient(120% 60% at 50% 0%, rgba(191, 160, 106, 0.07) 0%, rgba(191, 160, 106, 0) 60%),
    linear-gradient(180deg, #0a0c0b 0%, #0c1411 22%, #0d1c16 48%, #0b1812 72%, #080b09 100%);
  background-attachment: scroll;
  overflow-x: hidden;
}

p,
h1,
h2,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

em {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */

.hero {
  padding: calc(64px + env(safe-area-inset-top)) 24px 52px;
  text-align: center;
  animation: fadeUp 1.1s var(--ease) both;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.42em;
  text-indent: 0.42em; /* letter-spacing 分の中央補正 */
  color: var(--ivory);
}

.hero__brand-sub {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
}

.hero__rule {
  display: block;
  width: 36px;
  height: 1px;
  margin: 26px auto 28px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero__title {
  font-family: var(--serif-jp);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.hero__title-group {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--grey);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.hero__title-main {
  display: block;
  font-size: clamp(26px, 7.4vw, 44px);
  color: var(--white);
}

.hero__title-main em {
  display: inline-block;
  color: var(--gold-light);
  background: linear-gradient(180deg, #e6d2a8 0%, #c6a76f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  margin-top: 22px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--grey);
}

.hero__tags {
  margin-top: 26px;
  font-family: var(--serif-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--gold-soft);
}

.hero__sep {
  display: inline-block;
  width: 14px;
  height: 1px;
  margin: 0 0.9em 0 0.6em; /* 直前の letter-spacing 分を差し引いて左右均等に */
  vertical-align: middle;
  background: var(--gold-soft);
  opacity: 0.6;
}

/* ------------------------------------------------------------
   COURSES
   ------------------------------------------------------------ */

.courses {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.courses__head {
  text-align: center;
  margin-bottom: 26px;
}

.courses__eyebrow {
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--gold);
}

.courses__title {
  margin-top: 6px;
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--ivory);
}

.courses__list {
  display: grid;
  gap: 16px;
}

/* ---------- Card ---------- */

.course {
  position: relative;
  display: block;
  height: clamp(230px, 66vw, 280px);
  overflow: hidden;
  border-radius: 6px;
  background-color: var(--green);
  background-image: linear-gradient(160deg, #2b3b2e 0%, #152219 55%, #0c140f 100%);
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.35s var(--ease);
  touch-action: manipulation;
}

/* 枠線（画像の上に重ねる細いゴールドライン） */
.course::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid var(--gold-line);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.45s var(--ease);
}

.course__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.course__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.001);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

/* 黒 → 透明のオーバーレイ */
.course__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.28) 0%, rgba(5, 8, 6, 0) 26%),
    linear-gradient(0deg, rgba(5, 8, 6, 0.9) 0%, rgba(5, 8, 6, 0.62) 30%, rgba(5, 8, 6, 0.08) 64%, rgba(5, 8, 6, 0) 100%);
}

.course__num {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  font-family: var(--serif-en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(242, 237, 226, 0.7);
}

.course__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px 20px;
}

.course__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.course__label {
  display: inline-block;
  padding: 3px 9px 2px 10px;
  border: 1px solid rgba(191, 160, 106, 0.65);
  border-radius: 2px;
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  background: rgba(7, 9, 8, 0.35);
}

.course__name {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(19px, 5.4vw, 30px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.course__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding-top: 11px;
  min-height: 32px;
  border-top: 1px solid var(--gold-line);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.course__arrow {
  display: inline-block;
  font-family: var(--serif-en);
  transition: transform 0.4s var(--ease);
}

/* ---------- Interaction ---------- */

@media (hover: hover) and (pointer: fine) {
  .course:hover .course__media img {
    transform: scale(1.035);
  }

  .course:hover::after {
    border-color: rgba(220, 195, 148, 0.6);
  }

  .course:hover .course__cta {
    color: var(--gold-light);
    border-color: rgba(220, 195, 148, 0.55);
  }

  .course:hover .course__arrow {
    transform: translateX(5px);
  }
}

.course:active {
  transform: scale(0.985);
}

.course:active::after {
  border-color: rgba(220, 195, 148, 0.6);
}

.course:active .course__cta {
  color: var(--gold-light);
}

.course:focus-visible {
  outline: 1px solid var(--gold-light);
  outline-offset: 4px;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px calc(48px + env(safe-area-inset-bottom));
  text-align: center;
}

.footer__eyebrow {
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: var(--gold);
}

.footer__copy {
  margin-top: 8px;
  font-family: var(--serif-jp);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--ivory);
}

.footer__note {
  margin: 44px auto 0;
  padding-top: 22px;
  max-width: 420px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--grey-dim);
}

/* ------------------------------------------------------------
   Tablet / PC
   ------------------------------------------------------------ */

@media (min-width: 640px) {
  :root {
    --gutter: 28px;
  }

  .hero {
    padding: 96px 32px 72px;
  }

  .hero__brand {
    font-size: 14px;
  }

  .hero__title-group {
    font-size: 17px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .courses__head {
    margin-bottom: 40px;
  }

  .courses__title {
    font-size: 18px;
  }

  .courses__list {
    gap: 28px;
  }

  .course {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .course__body {
    padding: 0 36px 32px;
  }

  .course__num {
    top: 22px;
    right: 28px;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 104px 32px 64px;
  }

  .courses__list {
    gap: 36px;
  }

  .course {
    aspect-ratio: 21 / 9;
  }

  .course__body {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 48px 42px;
  }

  .course__info {
    gap: 12px;
  }

  .course__label {
    font-size: 11px;
  }

  .course__cta {
    flex-shrink: 0;
    align-self: auto;
    padding: 12px 22px;
    border: 1px solid rgba(191, 160, 106, 0.55);
    border-radius: 2px;
    font-size: 14px;
    background: rgba(7, 9, 8, 0.3);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  .course__num {
    top: 30px;
    right: 40px;
    font-size: 14px;
  }

  .footer {
    padding-top: 104px;
  }
}

/* ------------------------------------------------------------
   Motion
   ------------------------------------------------------------ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
