/* サイト全体のカスタムスタイル */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ロゴ */
.site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
}

/* 共通セクション */
section {
  padding: 4rem 1rem;
}

/* セクションタイトル */
.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  text-align: center;
  color: #333;
}

/* ======================== */
/* メンバー紹介セクション */
/* ======================== */
.members-section {
  background-color: #fff;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.member-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 1.5rem;
  text-align: center;
}

.member-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.member-card h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.member-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ======================== */
/* お知らせセクション */
/* ======================== */
#news {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

#news h2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  text-align: center;
  color: #333;
}

/* グリッドでカード配置 */
.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

/* お知らせカード */
.news-card {
  background-color: #ffe4e6; /* 薄いピンク */
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 300px; /* 最大3列表示 */
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.news-date {
  font-size: 0.875rem;
  color: #9ca3af;
}

.news-title {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.news-content {
  margin-top: 0.5rem;
  color: #374151;
  font-size: 0.95rem;
}

.news-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #d63384;
  text-decoration: underline;
}

.news-link:hover {
  text-decoration: underline;
}

.news-more {
  margin-top: 20px;
  text-align: center;
}

.news-more a {
  font-weight: bold;
  color: #e60033;
  text-decoration: none;
}

.news-more a:hover {
  text-decoration: underline;
}

/* ======================== */
/* 共通フレックス調整（必要に応じて） */
/* ======================== */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.strawberry-bg {
  background:
    linear-gradient(rgba(255, 215, 225, 0.6), rgba(255, 215, 225, 0.6)),
    url("images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
}

/* =========================================================
   Birthday Page styles (scoped under #birthday / .bd-*)
   ========================================================= */
#birthday{
  --pink:#ff3b6b;
  --bg:#0f0f13;
  --card:#17171f;
  --text:#f8f9fb;
  --muted:#b8bfd2;
  --accent:#ffd166;
  --success:#73e2a7;

  color:var(--text);
  background: radial-gradient(1200px 800px at 70% -10%, #2a2a3b 0%, #14141b 40%, var(--bg) 100%);
  overflow-x:hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif;
}

#birthday #fx{position:fixed; inset:0; pointer-events:none; z-index:2}
#birthday .bd-twinkle{
  position:fixed; inset:0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.16) 0, transparent 60%),
    radial-gradient(2px 2px at 70% 60%, rgba(255,255,255,.12) 0, transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,.08) 0, transparent 60%);
  z-index:0; mix-blend-mode:screen; opacity:.5; pointer-events:none;
}

/* Balloons */
#birthday .bd-balloon{
  position:fixed; bottom:-10vh; font-size:clamp(24px, 3.8vw, 56px);
  pointer-events:none; opacity:.85;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.35));
  animation: bd-floatUp linear infinite;
}
@keyframes bd-floatUp{
  0%{transform: translateY(0) translateX(0) rotate(0); opacity:.0}
  10%{opacity:.9}
  100%{transform: translateY(-120vh) translateX(var(--drift, 0px)) rotate(6deg); opacity:0}
}

/* Layout */
#birthday .bd-wrap{max-width:1050px; margin:0 auto; padding:24px}
#birthday .bd-header{display:flex; align-items:center; gap:16px; padding:16px 0 8px;}
#birthday .bd-logo{
  width:44px; height:44px; border-radius:12px;
  background:linear-gradient(135deg, var(--pink), #ff7aa0);
  display:grid; place-items:center; font-size:24px;
  box-shadow:0 6px 20px rgba(255,59,107,.35);
}
#birthday .bd-h1{font-size:clamp(24px, 3.6vw, 44px); margin:0; line-height:1.2}
#birthday .bd-sub{color:var(--muted); margin-top:4px}
#birthday .bd-grid{display:grid; gap:20px; grid-template-columns: 1.1fr .9fr;}
@media (max-width:900px){ #birthday .bd-grid{ grid-template-columns: 1fr; } }

/* Cards */
#birthday .bd-card{
  background: linear-gradient(180deg, #1a1a23 0%, var(--card) 100%);
  border:1px solid rgba(255,255,255,.06);
  border-radius:20px; padding:18px;
  box-shadow:0 12px 32px rgba(0,0,0,.35);
}

/* Hero area */
#birthday .bd-hero{display:flex; gap:18px; align-items:center;}
#birthday .bd-avatar{
  width:120px; height:120px; border-radius:22px; object-fit:cover; flex:none;
  border:2px solid rgba(255,255,255,.1);
  box-shadow:0 10px 28px rgba(0,0,0,.45);
  background:#0e0e12;
}
#birthday .bd-name{font-size:clamp(22px, 3vw, 34px); font-weight:800; letter-spacing:.3px}
#birthday .bd-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:14px; padding:8px 10px; border-radius:999px;
  background:rgba(255,255,255,.06); color:var(--muted);
  border:1px solid rgba(255,255,255,.08); margin-top:6px;
}
#birthday .bd-badge b{color:var(--text)}

/* Stats line */
#birthday .bd-stat{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 14px;
  color: var(--muted);
}
#birthday .bd-stat b{
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

/* Buttons */
#birthday .bd-cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
#birthday .bd-btn{
  -webkit-tap-highlight-color: transparent;
  border:0; padding:12px 16px; border-radius:14px; cursor:pointer; font-weight:700;
  background:var(--pink); color:white; box-shadow:0 10px 22px rgba(255,59,107,.35);
  transition:transform .08s ease, filter .2s ease; will-change: transform;
}
#birthday .bd-btn:hover{filter:brightness(1.05)}
#birthday .bd-btn:active{transform:translateY(1px)}
#birthday .bd-btn-ghost{background:transparent; color:var(--text); border:1px solid rgba(255,255,255,.12); box-shadow:none}
#birthday .bd-btn-green{background:var(--success); color:#0a1f17; box-shadow:0 10px 22px rgba(115,226,167,.25)}
#birthday .bd-btn-gold{background:var(--accent); color:#2a1e02; box-shadow:0 10px 22px rgba(255,209,102,.3)}

/* Countdown */
#birthday .bd-count{display:grid; grid-template-columns: repeat(4, 1fr); gap:10px; margin-top:14px}
#birthday .bd-tile{text-align:center; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); padding:14px 10px; border-radius:16px}
#birthday .bd-num{font-size:clamp(22px, 3.2vw, 32px); font-weight:900}
#birthday .bd-lab{font-size:12px; color:var(--muted); letter-spacing:.5px}

/* Text / Form-ish parts */
#birthday .bd-message{font-size:clamp(16px, 2.2vw, 18px); line-height:1.7; color:#e9edf7; margin-top:8px}
#birthday .bd-h2{margin:6px 0 8px; font-size:1.2rem}
#birthday .bd-divider{height:1px; background:linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); margin:14px 0}
#birthday .bd-help{line-height:1.8; color:var(--muted); padding-left:1.2em; margin-top:8px}
#birthday .bd-footer{opacity:.8; text-align:center; font-size:12px; padding:18px 0; color:var(--muted)}

/* ===== Birthday: ロゴの見た目調整 ===== */
#birthday .bd-logo{
  /* 枠はそのままでもOK。潰れ防止のため、内側の余白を少し広げる */
  width: auto;
  height: auto;
  border-radius: 12px;
  background: transparent !important;
  box-shadow: none;
  padding: 6px; /* ← 追加 */
}

#birthday .site-logo-link{
  display: inline-flex;            /* Tailwindのflex代替 */
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

#birthday .site-logo-img{
  height: 40px;                   /* 縦を固定、横は自動 */
  width: auto;
  object-fit: contain;            /* 潰れ防止 */
  image-rendering: -webkit-optimize-contrast;
  background: transparent;        /* 透過画像の場合 */
  /* 背景が暗いので、フチが見えづらい時にうっすら影を出す */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
}

/* 角丸の親要素で切れないように、画像をはみ出させない */
#birthday .bd-logo img { display: block; }

/* Retina対策：明示的なサイズ属性を付ける場合の見え方安定用（任意） */
#birthday .site-logo-img[width], 
#birthday .site-logo-img[height]{
  max-width: 100%;
  height: auto;
}

/* 白単色ロゴを背景に馴染ませたい場合のオプション： */
#birthday .site-logo-img.is-white {
  mix-blend-mode: screen;  /* 暗い背景で映える */
  opacity: .95;
}

