/* ========================================
   1338 水本プロ 応援ページ - style.css
   配色：黄色 / ピンク / エメラルド
   ======================================== */

:root {
  --color-yellow: #FFD93D;
  --color-yellow-soft: #FFF3B0;
  --color-yellow-bg: #FFFBEB;
  --color-pink: #FF6FB5;
  --color-pink-soft: #FFD1E3;
  --color-pink-bg: #FFF0F7;
  --color-emerald: #10B981;
  --color-emerald-soft: #6EE7B7;
  --color-emerald-bg: #ECFDF5;

  --color-bg: #FFFCF2;
  --color-card: #FFFFFF;
  --color-text: #2A2A3A;
  --color-text-soft: #6B6B7B;

  --shadow-card: 0 8px 24px rgba(255, 111, 181, 0.12),
                 0 2px 6px rgba(16, 185, 129, 0.06);
  --shadow-btn: 0 6px 16px rgba(255, 111, 181, 0.28);
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.06);

  --radius-card: 24px;
  --radius-chip: 999px;
  --radius-btn: 999px;

  --font-base: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
               "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
               "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, dl, dt, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  padding: 56px 20px 64px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.55) 0, transparent 35%),
    radial-gradient(circle at 82% 78%, rgba(255,255,255,0.4) 0, transparent 38%),
    linear-gradient(135deg, #FFE873 0%, #FFB7D5 52%, #6EE7B7 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 40px;
  background: var(--color-bg);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
.hero__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  z-index: 1;
}
.hero__badge {
  display: inline-block;
  background: #fff;
  color: var(--color-pink);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hero__title {
  font-size: clamp(1.75rem, 6.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 rgba(255,255,255,0.55);
}
.hero__sub {
  margin-top: 14px;
  font-size: 1rem;
  color: #4a3a3a;
  font-weight: 700;
}
.hero__catch {
  margin-top: 4px;
  margin-bottom: 24px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #c92666;
}

.hero__visual {
  margin: 28px auto 24px;
  width: min(240px, 64vw);
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(0,0,0,0.12),
              inset 0 0 0 6px rgba(255, 217, 61, 0.5);
  position: relative;
  overflow: hidden;
}
.hero__visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}
.hero__photo.is-hidden { display: none; }
.hero__photo:not(.is-hidden) ~ .hero__emoji,
.hero__photo:not(.is-hidden) ~ .hero__sparkle { display: none; }
.hero__emoji {
  font-size: clamp(3.5rem, 14vw, 5.2rem);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
  animation: bowl-wobble 3s ease-in-out infinite;
}
.hero__sparkle {
  position: absolute;
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.08));
  animation: sparkle 2.4s ease-in-out infinite;
}
.hero__sparkle--1 { top: 8%;  left: 10%; animation-delay: 0s; }
.hero__sparkle--2 { top: 14%; right: 8%; animation-delay: 0.6s; }
.hero__sparkle--3 { bottom: 10%; right: 14%; animation-delay: 1.2s; }
@keyframes bowl-wobble {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}
@keyframes sparkle {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50%      { transform: scale(1.15); opacity: 1; }
}

/* ========================================
   BUTTON
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
  min-height: 52px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn__icon { font-size: 1.15em; }

.btn--primary {
  background: linear-gradient(135deg, #FF6FB5 0%, #FFB347 100%);
  color: #fff;
  box-shadow: var(--shadow-btn);
  padding: 18px 36px;
  font-size: 1.1rem;
}
.btn--primary::after {
  content: "▶";
  margin-left: 4px;
  font-size: 0.8em;
  transform: translateY(1px);
}
.btn--card {
  background: var(--color-emerald);
  color: #fff;
  width: 100%;
  margin-top: 18px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
}
.btn--line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.3);
}
.btn--copy {
  background: var(--color-yellow);
  color: #2A2A3A;
  box-shadow: 0 6px 16px rgba(255, 217, 61, 0.4);
}

/* ========================================
   SECTION 共通
   ======================================== */
section {
  padding: 56px 0;
}
.section-title {
  font-size: 1.45rem;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-pink), var(--color-emerald));
  margin: 12px auto 0;
}

/* ========================================
   PROFILE
   ======================================== */
.profile { background: #fff; }
.profile__card {
  margin-top: 28px;
  background: linear-gradient(135deg, #FFF9E5 0%, #FFE5F0 60%, #DEFBEF 100%);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.profile__lead {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
  font-weight: 500;
}
.profile__data {
  margin: 22px auto 0;
  display: grid;
  gap: 8px;
  max-width: 360px;
  text-align: left;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 16px 20px;
}
.profile__data-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.92rem;
  line-height: 1.6;
}
.profile__data-row dt {
  flex-shrink: 0;
  min-width: 72px;
  font-weight: 800;
  color: #b53472;
  font-size: 0.82rem;
}
.profile__data-row dd { font-weight: 600; color: var(--color-text); }

.profile__chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.schedule__month {
  font-size: 1.15rem;
  font-weight: 900;
  color: #c92666;
  margin-bottom: 4px !important;
  letter-spacing: 0.04em;
}
.chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-chip);
  font-size: 0.88rem;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.chip--yellow  { color: #8a6300; background: var(--color-yellow-soft); }
.chip--pink    { color: #b53472; background: var(--color-pink-soft); }
.chip--emerald { color: #047857; background: var(--color-emerald-soft); }

/* ========================================
   SCHEDULE
   ======================================== */
.schedule { background: var(--color-bg); }
.schedule__lead {
  text-align: center;
  color: var(--color-text-soft);
  margin: 0 auto 28px;
  font-size: 0.95rem;
  max-width: 520px;
}
.schedule__list {
  display: grid;
  gap: 20px;
}

.tournament-card {
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 26px 22px 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.tournament-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-pink), var(--color-emerald));
}
.tournament-card__date {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-pink));
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(255, 111, 181, 0.25);
}
.tournament-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.45;
  color: var(--color-text);
}
.tournament-card__meta {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.tournament-card__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}
.tournament-card__row dt {
  flex-shrink: 0;
  display: inline-block;
  background: var(--color-emerald-bg);
  color: #047857;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 60px;
  text-align: center;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.tournament-card__row dd {
  flex: 1;
  font-weight: 600;
}
.tournament-card__comment {
  background: var(--color-yellow-bg);
  border-left: 4px solid var(--color-pink);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.94rem;
  line-height: 1.75;
  color: #5a4a4a;
}

/* ========================================
   SHARE
   ======================================== */
.share {
  background: linear-gradient(180deg, #FFF9E5 0%, #FFE5F0 60%, #DEFBEF 100%);
  text-align: center;
}
.share__text {
  margin: 0 auto 24px;
  color: var(--color-text-soft);
  max-width: 480px;
}
.share__buttons {
  display: grid;
  gap: 14px;
  max-width: 380px;
  margin: 0 auto;
}
.share__msg {
  margin-top: 18px;
  min-height: 1.4em;
  font-weight: 800;
  color: var(--color-emerald);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #2A2A3A;
  color: #fff;
  padding: 36px 20px 32px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.9;
}
.footer__main { font-weight: 700; }
.footer__note { color: #c5c5d0; margin-top: 8px; font-size: 0.85rem; }
.footer__copy { margin-top: 18px; color: #8b8ba0; font-size: 0.78rem; letter-spacing: 0.06em; }

/* ========================================
   レスポンシブ（PC）
   ======================================== */
@media (min-width: 768px) {
  body { font-size: 17px; }
  .hero { padding: 88px 20px 104px; }
  .hero__visual { width: 240px; }
  section { padding: 80px 0; }
  .section-title { font-size: 1.85rem; }
  .schedule__list { grid-template-columns: repeat(2, 1fr); }
  .share__buttons { grid-template-columns: 1fr 1fr; max-width: 560px; }
}

@media (min-width: 1024px) {
  .container { max-width: 880px; }
}

/* 動きを抑える設定の人向け */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__emoji, .hero__sparkle { animation: none; }
  .btn { transition: none; }
}
