/* =========================================================
   柊碧月 公式サイト  スタイル
   色を変えたいときは、下の :root の値だけ書き換えればOK
   ========================================================= */
:root {
  --seiheki: #478384;      /* 青碧（ロゴの緑青色・メインカラー） */
  --seiheki-deep: #2c5556; /* 青碧の濃い色（本文の文字） */
  --sango: #f3a696;        /* 珊瑚色（ロゴのピンク） */
  --toki: #e8b6c3;         /* 朱鷺色（ストールの色） */
  --mizu: #cee6eb;         /* 水色（シャツの色） */
  --mizu-pale: #e8f4f6;
  --cream: #fdf6f0;        /* 背景のクリーム色 */
  --white: #ffffff;

  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --radius: 24px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--seiheki-deep);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sp { display: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 8px 24px;
  background: rgba(253, 246, 240, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px dashed rgba(71, 131, 132, .18);
}
.header-logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  text-decoration: none;
  font-weight: 700; font-size: 15px;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a:focus-visible { background: var(--seiheki); color: var(--white); }

/* ---------- ボタン（ロゴの「白フチ＋ずらし影」をイメージ） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 900; font-size: 19px;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 999px;
  border: 3px solid var(--white);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover, .btn:focus-visible { transform: translate(-2px, -2px); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--sango) !important; }
.btn-main {
  background: var(--seiheki); color: var(--white);
  box-shadow: 6px 6px 0 var(--sango);
}
.btn-main:hover { box-shadow: 8px 8px 0 var(--sango); }
.btn-sub {
  background: var(--white); color: var(--seiheki-deep);
  border-color: var(--mizu);
  font-size: 16px; padding: 12px 26px;
  box-shadow: 4px 4px 0 var(--mizu);
}
.btn-mail {
  background: var(--sango); color: var(--seiheki-deep);
  box-shadow: 5px 5px 0 var(--seiheki);
  font-size: 18px; word-break: break-all;
}
.btn-icon { font-size: 1.15em; line-height: 1; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 30%, var(--mizu) 0 28%, transparent 28.2%),
    radial-gradient(circle at 5% 95%, #f8d6ce 0 16%, transparent 16.2%),
    var(--cream);
  padding: 40px 24px 100px;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px;
}
.hero-lead {
  display: inline-block; margin: 0 0 4px;
  background: var(--white); color: var(--seiheki);
  font-weight: 900; font-size: 15px; letter-spacing: .08em;
  padding: 4px 16px; border-radius: 999px;
  box-shadow: 3px 3px 0 var(--toki);
}
.hero-logo { margin: 0 0 8px; }
.hero-logo img { width: min(560px, 100%); }
.hero-copy { font-size: 18px; font-weight: 700; margin: 0 0 28px; }
.hero-text .btn-main { margin-right: 12px; margin-bottom: 14px; }
.hero-visual img {
  max-height: 640px; width: auto; margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(71, 131, 132, .18));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }

.bubble { position: absolute; border-radius: 50%; background: var(--sango); opacity: .8; animation: rise 7s ease-in-out infinite; }
.b1 { width: 18px; height: 18px; left: 8%;  top: 16%; }
.b2 { width: 10px; height: 10px; left: 12%; top: 26%; animation-delay: -2s; }
.b3 { width: 14px; height: 14px; left: 52%; top: 80%; animation-delay: -4s; background: var(--toki); }
.b4 { width: 22px; height: 22px; right: 6%; top: 76%; animation-delay: -1s; }
@keyframes rise { 50% { transform: translateY(-14px); } }

/* ---------- 波の区切り ---------- */
.wave { position: absolute; left: 0; width: 100%; height: 60px; line-height: 0; }
.wave svg { width: 100%; height: 100%; }
.wave-bottom { bottom: -1px; }
.wave-top { top: -1px; }
.hero .wave-bottom path,
.section-batsu + .section-work .wave-top path { fill: var(--cream); }
.hero .wave-bottom path { fill: var(--cream); }

/* ---------- セクション共通 ---------- */
.section { position: relative; padding: 72px 24px; }
.section-title {
  text-align: center; margin: 0 0 36px;
  font-size: 18px; font-weight: 700; letter-spacing: .1em;
}
.section-title .en {
  display: block;
  font-size: 44px; font-weight: 900; line-height: 1.2; letter-spacing: .04em;
  color: var(--seiheki);
  text-shadow: 3px 3px 0 var(--white), 5px 5px 0 var(--sango);
}
.section-desc { text-align: center; margin: -16px 0 32px; }

/* ---------- プロフィール ---------- */
.profile-card {
  max-width: 760px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: 8px 8px 0 var(--mizu);
}
.profile-list { margin: 0 0 20px; display: grid; gap: 4px; }
.profile-list > div {
  display: grid; grid-template-columns: 7em 1fr; gap: 12px;
  padding: 10px 0;
  border-bottom: 2px dotted var(--mizu);
}
.profile-list dt { font-weight: 900; color: var(--seiheki); }
.profile-list dt::before { content: "⚓ "; font-size: .85em; }
.profile-list dd { margin: 0; font-weight: 700; }
.ruby { font-size: .85em; font-weight: 500; }
.profile-message { margin: 0; }

/* ---------- 配信実績（タイムライン） ---------- */
.section-record { background: var(--mizu-pale); padding-top: 110px; padding-bottom: 120px; }
.section-record .wave-top path { fill: var(--cream); }
.section-record .wave-bottom path { fill: var(--cream); }
.timeline {
  list-style: none; margin: 0 auto; padding: 0 0 0 32px;
  max-width: 680px;
  border-left: 3px solid var(--seiheki);
}
.timeline li {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 18px 24px;
  margin: 0 0 22px;
  box-shadow: 5px 5px 0 var(--toki);
}
.timeline li::before {
  content: ""; position: absolute; left: -45px; top: 24px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sango); border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--seiheki);
}
.timeline time { font-weight: 900; color: var(--seiheki); letter-spacing: .06em; }
.tl-title { margin: 2px 0 0; font-weight: 900; font-size: 18px; }
.tl-note { margin: 2px 0 0; font-size: 15px; }
.tl-upcoming { background: transparent !important; box-shadow: none !important; border: 2px dashed var(--seiheki); }
.tl-upcoming::before { background: var(--mizu) !important; }
.tl-dot { color: var(--sango); font-size: 22px; }

/* ---------- 罰ゲーム記録 ---------- */
.batsu-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px;
}
.batsu-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 6px 6px 0 var(--sango);
  transition: transform .2s;
}
.batsu-card:hover { transform: rotate(-1deg) translateY(-4px); }
.batsu-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.batsu-body { padding: 18px 22px 22px; }
.batsu-body time { font-weight: 900; color: var(--seiheki); font-size: 14px; }
.batsu-body h3 { margin: 2px 0 6px; font-size: 18px; font-weight: 900; }
.batsu-body p { margin: 0; font-size: 15px; }
.batsu-empty { grid-column: 1 / -1; max-width: 520px; justify-self: center; display: flex; align-items: center; gap: 4px; padding-left: 22px; }
.batsu-empty-icon {
  flex: none; width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mizu); color: var(--seiheki);
  font-size: 34px; font-weight: 900;
}

/* ---------- お仕事のご依頼 ---------- */
.section-work { background: var(--seiheki); color: var(--white); padding-top: 110px; }
.section-work .wave-top path { fill: var(--cream); }
.section-work .section-title .en { color: var(--white); text-shadow: 3px 3px 0 var(--seiheki-deep), 5px 5px 0 var(--sango); }
.work-card {
  max-width: 680px; margin: 0 auto;
  background: var(--white); color: var(--seiheki-deep);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: 8px 8px 0 var(--sango);
  text-align: center;
}
.work-card p { margin: 0 0 16px; }
.work-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.work-list li { background: var(--mizu-pale); border-radius: 999px; padding: 4px 18px; font-weight: 700; }
.mail-wrap { margin: 8px 0 18px !important; }
.mail-text { display: block; margin-top: 10px; font-weight: 700; }
.work-note { font-size: 14px; margin: 0 !important; }

/* ---------- フッター ---------- */
.site-footer { background: var(--seiheki-deep); color: var(--white); text-align: center; padding: 32px 24px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 8px; }
.footer-links a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sango); }
.copyright { margin: 0; font-size: 13px; opacity: .85; }

/* ---------- スマホ表示 ---------- */
@media (max-width: 760px) {
  .sp { display: inline; }
  .site-header { padding: 6px 12px; }
  .header-logo img { height: 36px; }
  .nav { gap: 0; flex-wrap: nowrap; }
  .nav a { font-size: 12px; padding: 4px 7px; white-space: nowrap; }
  .header-logo img { height: 32px; }
  .hero { padding: 24px 16px 80px; text-align: center;
    background:
      radial-gradient(circle at 80% 62%, var(--mizu) 0 34%, transparent 34.2%),
      var(--cream); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 420px; }
  .hero-text .btn-main { margin-right: 0; }
  .btn { width: 100%; max-width: 360px; padding: 15px 20px; font-size: 18px; }
  .btn-sub { font-size: 15px; }
  .section { padding: 56px 16px; }
  .section-title .en { font-size: 34px; }
  .profile-card, .work-card { padding: 26px 20px; }
  .profile-list > div { grid-template-columns: 1fr; gap: 0; }
  .timeline { padding-left: 22px; }
  .timeline li::before { left: -35px; }
  .section-record, .section-work { padding-top: 90px; }
}

/* 動きを減らす設定の人にはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
