/* ============================================
   愛してるぜそうちゃん 公式サイト
   テーマ：あたたかい・やわらかい・読みやすい
   ============================================ */

:root {
  --bg: #FDF6EE;          /* ベース：クリーム */
  --bg-alt: #FAEBDA;      /* 帯：やわらかいピーチ */
  --card: #FFFFFF;
  --ink: #4D3F35;         /* 文字：あたたかいこげ茶 */
  --ink-soft: #8A7666;    /* 補助文字 */
  --line: #F0DFC8;        /* 罫線 */
  --line-strong: #E5CDB0;
  --accent: #F2855E;      /* メイン：あたたかいコーラル */
  --accent-deep: #D95F35;
  --yellow: #F6C453;
  --shadow: 0 6px 24px rgba(196, 154, 108, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-deep); }
::selection { background: #FFD9BF; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 22px;
}
.container.narrow { max-width: 780px; }

section[id] { scroll-margin-top: 84px; }

.center { text-align: center; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 246, 238, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 22px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.02rem;
  margin-right: auto;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #FFE9DC;
  border-radius: 50%;
  font-size: 1.25rem;
}

.global-nav {
  display: flex;
  gap: 4px;
}

.global-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.global-nav a:hover {
  background: #FFE9DC;
  color: var(--accent-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: #FFE9DC;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  padding: 0.8em 1.5em;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(196, 154, 108, 0.18);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 154, 108, 0.28);
}
.btn:active { transform: translateY(0); }

.btn-yt { background: #EE3D3D; color: #fff; }
.btn-yt:hover { background: #D63031; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn-ig {
  background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF);
  color: #fff;
}

.btn-note { background: #2CBCAB; color: #fff; }
.btn-note:hover { background: #229E90; }

.btn-bmc { background: #FFDD00; color: #4D3F35; }
.btn-bmc:hover { background: #F5CF00; }

.btn-gift { background: #F0738B; color: #fff; }
.btn-gift:hover { background: #E25C76; }

.btn-amazon {
  background: #FFF4E0;
  color: #8A5A00;
  border-color: #F3CD9E;
  font-size: 0.85rem;
  padding: 0.6em 1.2em;
  box-shadow: none;
}
.btn-amazon:hover { background: #FFE9C7; box-shadow: 0 4px 12px rgba(196, 154, 108, 0.2); }

.btn-mail { background: #6FB3A6; color: #fff; }
.btn-mail:hover { background: #5C9C90; }

.btn-nav { padding: 0.55em 1.1em; font-size: 0.85rem; box-shadow: none; }

/* ---------- ヒーロー ---------- */
.hero {
  background-image: radial-gradient(rgba(226, 196, 158, 0.35) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero-lead {
  color: var(--ink-soft);
  max-width: 32em;
  margin-bottom: 14px;
}

.hero-age {
  font-weight: 800;
  color: var(--accent-deep);
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 16px;
}

.hero-goal {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.hero-goal strong { color: var(--accent-deep); }

.hero-photo {
  position: relative;
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
  overflow: visible;
}

.hero-photo img,
.hero-photo-fallback {
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
  border: 7px solid #fff;
  box-shadow: var(--shadow);
}

.hero-photo-fallback {
  display: none;
  place-items: center;
  font-size: 6rem;
  background: linear-gradient(135deg, #FFE9DC, #FFF6EA);
}

.hero-photo.is-empty img { display: none; }
.hero-photo.is-empty .hero-photo-fallback { display: grid; }

.hero-photo-chip {
  position: absolute;
  bottom: -8px;
  right: 6%;
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.float-emoji {
  position: absolute;
  font-size: 2rem;
  filter: drop-shadow(0 3px 6px rgba(196, 154, 108, 0.3));
  animation: floaty 4.5s ease-in-out infinite alternate;
}
.fe-1 { top: -10px; left: -4px; animation-delay: 0s; }
.fe-2 { top: 16%; right: -14px; font-size: 2.3rem; animation-delay: 0.8s; }
.fe-3 { bottom: -6px; left: 5%; animation-delay: 1.6s; }

@keyframes floaty {
  from { transform: translateY(-6px); }
  to   { transform: translateY(8px); }
}

/* ---------- 波の区切り ---------- */
.wave { line-height: 0; background: var(--bg); }
.wave svg { display: block; width: 100%; height: 54px; }
.wave path { fill: var(--bg-alt); }
.wave-flip { background: var(--bg-alt); }
.wave-flip path { fill: var(--bg); }

/* ---------- セクション共通 ---------- */
.band { padding: 76px 0; }
.band-alt { background: var(--bg-alt); }
#sns { padding-top: 12px; }

.kicker {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.05rem);
  font-weight: 900;
  margin-bottom: 18px;
}

.section-lead {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.section-lead strong { color: var(--accent-deep); }

/* ---------- カード共通 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ---------- かぞく ---------- */
.family-card { text-align: center; }

.family-emoji {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  background: #FFF1E5;
  border-radius: 50%;
  font-size: 2.4rem;
}

.family-card h3 {
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.family-role {
  display: inline-block;
  vertical-align: 3px;
  background: var(--bg-alt);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 6px;
}

.family-card p:last-child {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: left;
}

.about-note {
  max-width: 820px;
  margin: 28px auto 0;
  display: flex;
  gap: 26px;
  align-items: center;
}
.about-photo {
  flex: 0 0 42%;
  border-radius: 16px;
  overflow: hidden;
  align-self: stretch;
}
.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}
.about-text p + p { margin-top: 12px; }
.about-note strong { color: var(--accent-deep); }

/* ---------- アルバム ---------- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.album-item {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.album-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(196, 154, 108, 0.26);
}
.album-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.album-item figcaption {
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- 3つの約束 ---------- */
.promise-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.promise-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.promise-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: #FFE9DC;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--accent-deep);
}

.promise-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.promise-card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.promise-foot {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 22px;
}

/* ---------- 動画 ---------- */
.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: var(--shadow);
  background: #fff;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.movie-live {
  text-align: center;
  margin: 22px 0;
  color: var(--ink-soft);
}
.movie-live strong { color: var(--accent-deep); }

/* ---------- SNS・応援 ---------- */
.sns-grid, .support-grid {
  max-width: 740px;
  margin-inline: auto;
}

.sns-card, .support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sns-emoji, .support-emoji { font-size: 2.4rem; margin-bottom: 8px; }

.sns-card h3, .support-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.sns-card p, .support-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: left;
  margin-bottom: 18px;
}

.sns-card .btn, .support-card .btn { margin-top: auto; }

.support-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 28px;
}

/* ---------- 愛用品 ---------- */
.goods-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
}

.goods-emoji { font-size: 2.1rem; margin-bottom: 6px; }

.goods-card h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.6;
}

.goods-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  flex-grow: 1;
  margin-bottom: 16px;
}

.goods-card .btn-amazon { align-self: flex-start; }

.goods-star {
  border: 2px solid var(--yellow);
  padding-top: 34px;
}

.goods-badge {
  position: absolute;
  top: -14px;
  left: 18px;
  background: var(--yellow);
  color: #5B4300;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(196, 154, 108, 0.3);
}

.goods-more {
  max-width: 820px;
  margin: 32px auto 0;
}

.goods-more summary {
  list-style: none;
  width: fit-content;
  margin-inline: auto;
  padding: 0.8em 1.7em;
  background: #fff;
  border: 2px dashed var(--line-strong);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.goods-more summary::-webkit-details-marker { display: none; }
.goods-more summary:hover { border-color: var(--accent); color: var(--accent-deep); }
.goods-more[open] summary { margin-bottom: 20px; }

.goods-list {
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.goods-list li {
  padding: 16px 22px;
  border-bottom: 1px dashed var(--line);
}
.goods-list li:last-child { border-bottom: none; }

.goods-list a {
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.goods-list a:hover { color: var(--accent-deep); text-decoration: underline; }

.goods-list span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.goods-disclosure {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 20px;
}

/* ---------- お仕事 ---------- */
.work-card {
  text-align: center;
  padding: 36px 30px;
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.work-mail {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 16px;
}
.work-mail a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dashed var(--line-strong);
  word-break: break-all;
}
.work-mail a:hover { color: var(--accent-deep); border-color: var(--accent); }

/* ---------- フッター ---------- */
.site-footer {
  background: #463931;
  color: #F7EBDD;
  text-align: center;
  padding: 56px 0 42px;
  margin-top: 0;
}

.footer-brand {
  font-weight: 900;
  font-size: 1.2rem;
}

.footer-en {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  opacity: 0.65;
  margin-top: 4px;
}

.footer-message {
  opacity: 0.85;
  font-size: 0.92rem;
  margin: 14px 0 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.footer-nav a {
  color: #F7EBDD;
  opacity: 0.85;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.footer-nav a:hover { opacity: 1; border-color: #F7EBDD; }

.footer-small {
  font-size: 0.75rem;
  opacity: 0.55;
  margin-top: 28px;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 6px;
}

/* ---------- 出現アニメーション ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.card-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.24s; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .global-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    background: rgba(253, 246, 238, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 18px;
    box-shadow: 0 14px 24px rgba(120, 90, 60, 0.12);
  }
  .global-nav.nav-open { display: flex; }
  .global-nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .band { padding: 56px 0; }
  .hero { padding: 44px 0 72px; }

  .about-note { flex-direction: column; gap: 18px; }
  .about-photo { flex-basis: auto; width: 100%; }
  .about-photo img { aspect-ratio: 16 / 10; min-height: 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-text { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .hero-photo {
    max-width: 420px;
    margin-inline: auto;
    width: 88%;
  }

  .wave svg { height: 36px; }

  .promise-card { gap: 14px; padding: 22px 18px; }
  .promise-num { width: 44px; height: 44px; font-size: 1rem; }

  .btn-nav { display: none; }
}

/* ---------- アニメーション抑制設定への配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-emoji { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn { transition: none; }
}
