/* Fore Fun HP
   レイアウトはモック v2(幅 824px)を基準に、ステージ幅に対する割合(cqw)で置いている。 */
:root {
  --orange: #F78B44;
  --beige: #E5D5B9;
  --ink: #1E1C2B;
  --text: #3A3229;
  --yellow: #F2B632;
  --red: #D8544A;
  --font-ja: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--text);
  font-family: var(--font-ja);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ---------- トップ ---------- */
.hero {
  container-type: inline-size;
  width: min(100%, 960px);
  margin: 0 auto;
}
.stage {
  position: relative;
  height: 108cqw;
}
/* 上半分のオレンジは画面の端まで */
.stage::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 100vw; height: 58.5cqw;
  transform: translateX(-50%);
  background: var(--orange);
}
.title-clip {
  position: absolute;
  inset: 0 0 auto 0;
  height: 58.5cqw;            /* 文字の下側は色の境目で切れる */
  overflow: hidden;
}
.title {
  position: absolute;
  left: 4.5cqw; top: 33cqw;
  width: 91cqw;
  animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both .1s;
}
.golfer {
  position: absolute;
  left: 7.5cqw; top: 9cqw;     /* 人の体(画像の右寄り)が画面の真ん中に来る位置 */
  height: 99cqw; width: auto; max-width: none;
  z-index: 2;
  filter: drop-shadow(0 1cqw 1.5cqw rgb(0 0 0 / .08));
  animation: fade-up 1s ease both .35s;
}
.concept {
  position: absolute;
  left: 65cqw; top: 54.5cqw;   /* ゴルファーの右側 */
  width: 34cqw;
  z-index: 1;
}
.goat {
  width: 12.7cqw;
  margin-left: 9cqw;
}
.concept-text {
  margin: 1.2cqw 0 0;
  font-size: 1.75cqw;
  line-height: 1.95;
  letter-spacing: .04em;
  font-weight: 500;
}
.concept-text span { display: block; white-space: nowrap; }

/* ---------- TOPICS ---------- */
.topics {
  position: relative;
  z-index: 1;
  width: 80cqw;
  margin: -4cqw auto 0;
  padding: clamp(28px, 6cqw, 56px) clamp(20px, 7cqw, 72px) clamp(24px, 5cqw, 48px);
  background: rgb(255 255 255 / .38);
  border: 1px solid rgb(255 255 255 / .7);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgb(58 50 41 / .08);
}
.topics h2 {
  margin: 0 0 .6em;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 4.2cqw, 40px);
  letter-spacing: .06em;
  color: var(--ink);
}
.topics-list {
  list-style: none;
  margin: 0; padding: 0;
  font-size: clamp(14px, 2.4cqw, 19px);
  line-height: 1.8;
}
.topics-list li {
  position: relative;
  padding-left: 1.1em;
  overflow-wrap: anywhere;
}
.topics-list li + li { margin-top: .5em; }
.topics-list li::before { content: "・"; position: absolute; left: 0; }
.topics-list .date {
  display: inline-block;
  margin-right: .8em;
  font-size: .85em;
  color: #8a7b66;
  font-variant-numeric: tabular-nums;
}
.topics-list a {
  color: var(--ink);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.topics-list a:hover { color: var(--orange); }
.topics-empty { text-align: center; color: #8a7b66; }

/* ---------- アプリカード ---------- */
.apps {
  position: relative;
  margin-top: clamp(48px, 10vw, 110px);
  overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 80px);
}
.apps-h {
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: .12em;
  color: var(--ink);
}
.arc {
  --card-w: clamp(150px, 19vw, 220px);
  position: relative;
  height: calc(var(--card-w) * 1.333 + var(--card-w) * .55);
  margin-top: 12px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.arc:active { cursor: grabbing; }
.arc:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.card {
  position: absolute;
  left: 50%; top: 24px;
  width: var(--card-w);
  aspect-ratio: 3 / 4;
  margin-left: calc(var(--card-w) / -2);
  padding: calc(var(--card-w) * .14) calc(var(--card-w) * .1) calc(var(--card-w) * .1);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 12px 28px rgb(58 50 41 / .18);
  transform-origin: 50% 50%;
  will-change: transform;
  -webkit-user-drag: none;
}
.card .spark { width: 22%; aspect-ratio: 1; }
.card h3 {
  margin: 8% 0 6%;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: calc(var(--card-w) * .13);
  line-height: 1.1;
}
.card p {
  margin: 0;
  font-size: max(11px, calc(var(--card-w) * .07));
  line-height: 1.6;
  opacity: .85;
}
.card .btn {
  margin-top: auto;
  width: 100%;
  padding: .7em 0;
  border-radius: 999px;
  background: #fff;
  font-size: max(10px, calc(var(--card-w) * .062));
  font-weight: 700;
  letter-spacing: .12em;
  box-shadow: 0 2px 6px rgb(0 0 0 / .08);
}
.card.is-soon .btn { background: rgb(255 255 255 / .55); }
.card:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.card[data-color="yellow"] { background: linear-gradient(160deg, #FBEAA6, #F2C14E); }
.card[data-color="orange"] { background: linear-gradient(160deg, #FFC79E, var(--orange)); }
.card[data-color="sky"]    { background: linear-gradient(160deg, #C9D9DF, #8FA9B4); }
.card[data-color="lilac"]  { background: linear-gradient(160deg, #EDE3F5, #A9B3D6); }
.card[data-color="sage"]   { background: linear-gradient(160deg, #D9E6CF, #9DB896); }
.card[data-color="ink"]    { background: linear-gradient(160deg, #3A3850, var(--ink)); color: var(--beige); }
.card[data-color="ink"] .btn { color: var(--ink); }

/* ---------- フッター ---------- */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 48px 16px 36px;
  background: var(--orange);
  color: var(--ink);
}
.footer-logo { width: 140px; }
.footer-ig {
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .5em 1.6em;
}
.footer-ig:hover { background: var(--ink); color: var(--orange); }
.footer small { font-size: 12px; letter-spacing: .06em; }

/* ---------- スマホ(〜699px): ヤギとコンセプト文はゴルファーの下へ ---------- */
@media (max-width: 699px) {
  .stage { height: auto; padding-top: 108cqw; }   /* ゴルファーの分をあけて、その下に流す */
  .concept {
    position: relative;
    left: auto; top: auto; width: auto;
    margin: 2cqw 0 0;
    display: flex; flex-direction: column; align-items: center;
  }
  .goat { width: 26cqw; margin: 0; }
  .concept-text {
    margin-top: 16px;
    font-size: clamp(13px, 3.9cqw, 16px);
    text-align: center;
    line-height: 2;
  }
  .topics { width: 90cqw; margin-top: 40px; }
}

/* ---------- 動き ---------- */
.reveal span { opacity: 0; transform: translateY(.6em); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in span { opacity: 1; transform: none; }

@keyframes rise { from { transform: translateY(60%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(3%); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .title, .golfer { animation: none; }
  .reveal span { opacity: 1; transform: none; transition: none; }
}
