@charset "UTF-8";
/* ============================================================
   会員サイト 共通スタイル（パステル・丸ゴシック基調）
   色は :root を書き換えるだけで全体に反映されます
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap");

:root {
  --pink:      #ff7fb0;
  --pink-soft: #ffd3e4;
  --blue:      #7fc0f5;
  --blue-soft: #d6ecfd;
  --purple:    #b79ff0;
  --mint:      #8fe0cf;
  --yellow:    #ffd066;

  --bg:        #fffafd;
  --card:      #ffffff;
  --border:    #f6e3ee;
  --text:      #55495f;
  --text-dim:  #9a8fa6;

  --radius:    22px;
  --radius-sm: 14px;
  --shadow:    0 10px 30px rgba(255, 127, 176, .13);
  --shadow-lg: 0 18px 46px rgba(183, 159, 240, .22);
  --max:       1080px;

  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic UI",
          "Meiryo", system-ui, sans-serif;
}

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

/* ============================================================
   サイト全体の背景画像（site.json images.background）
   画像を敷いても文字が読めるよう、白いベールを重ねる
   ============================================================ */
#bg-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}
#bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 250, 253, .55), rgba(250, 245, 255, .78));
}
body.has-bg header.site-header,
body.has-bg .hero,
body.has-bg .sec-alt,
body.has-bg footer.site-footer { background-color: transparent; }
body.has-bg .hero { background-image: none; }
body.has-bg .sec-alt { background-image: none; }
body.has-bg footer.site-footer { background-image: none; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.9;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ============================================================
   花びら（JSが生成・画像不要）
   ============================================================ */
.petal {
  position: fixed;
  top: -40px;
  z-index: 1;
  pointer-events: none;
  border-radius: 60% 0 60% 0;
  opacity: .55;
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { transform: translateY(-40px) rotate(0deg)   translateX(0); opacity: 0; }
  10%  { opacity: .6; }
  90%  { opacity: .5; }
  100% { transform: translateY(105vh) rotate(520deg) translateX(60px); opacity: 0; }
}

/* ============================================================
   ロゴ（1文字ずつ色が変わる・白フチ）
   ============================================================ */
.logo {
  display: inline-flex;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
}
.logo span {
  -webkit-text-stroke: 3px #fff;
  paint-order: stroke fill;
  filter: drop-shadow(0 2px 3px rgba(183, 159, 240, .45));
}
/* 既定サイズ。文脈ごとに下で上書きする（emだと親サイズに依存して潰れるため固定値） */
.logo-sub {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--pink);
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
  font-weight: 700;
  text-align: center;
  margin-top: 4px;
  line-height: 1.4;
}

/* ============================================================
   スプラッシュ（年齢確認を兼ねる入口）
   既定は表示。確認済みならJSが外す＝JS無効時は閉じたまま（安全側）
   ============================================================ */
#agegate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 50% 8%,  #ffe9f3 0%, transparent 62%),
    radial-gradient(760px 460px at 12% 78%, #e2f1ff 0%, transparent 60%),
    radial-gradient(760px 460px at 88% 82%, #f0e6ff 0%, transparent 60%),
    linear-gradient(170deg, #fff6fb 0%, #f6f1ff 52%, #eef7ff 100%);
}
#agegate.hidden { display: none; }

/* スプラッシュの背景画像（site.json images.splash） */
#splash-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#splash-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 250, 253, .45), rgba(246, 241, 255, .72));
}

.splash {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 520px;
  text-align: center;
}
.splash .logo { font-size: clamp(38px, 9vw, 62px); justify-content: center; }
.splash .logo-sub { font-size: 13px; letter-spacing: .3em; margin-top: 10px; }
.splash .logo-wrap { margin-bottom: 24px; }
.splash .tagline {
  color: var(--text-dim);
  font-size: 13.5px;
  letter-spacing: .12em;
  margin-bottom: 30px;
}
.splash-card {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(8px);
  border: 2px solid #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: 28px 26px 24px;
}
.splash-card h1 {
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: .16em;
  color: var(--pink);
}
.splash-card p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.9;
  margin: 0 0 22px;
}
.splash-actions { display: grid; gap: 12px; }

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(255, 127, 176, .18);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: .22s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255, 127, 176, .3); }
.btn-primary {
  background: linear-gradient(120deg, var(--pink), var(--purple));
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 127, 176, .4);
}
.btn-primary.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(255, 127, 176, .4); }
  50%      { box-shadow: 0 6px 30px rgba(255, 127, 176, .75); }
}
.btn-ghost { background: transparent; box-shadow: none; color: var(--text-dim); font-weight: 500; font-size: 13px; }
.btn-ghost:hover { box-shadow: none; color: var(--text); transform: none; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ============================================================
   ヘッダー
   ============================================================ */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 253, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
  padding: 8px 0;
}
.header-inner .logo { font-size: 24px; }
.header-inner .logo-sub { font-size: 8px; letter-spacing: .14em; margin-top: 1px; -webkit-text-stroke-width: 1.5px; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: var(--text-dim);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 8px 12px;
  border-radius: 999px;
  transition: .18s;
}
.nav a:hover { color: var(--pink); background: var(--pink-soft); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  padding: 92px 0 84px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 50% 0,   #ffe9f3 0%, transparent 64%),
    radial-gradient(680px 400px at 10% 96%, #e2f1ff 0%, transparent 62%),
    radial-gradient(680px 400px at 92% 92%, #f0e6ff 0%, transparent 62%),
    linear-gradient(175deg, #fffafd 0%, #faf5ff 60%, #f2f9ff 100%);
}
/* キャラ画像 / バナー（site.json images.hero） */
.hero-visual {
  position: relative;
  margin: 0 auto 34px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  background: linear-gradient(135deg, var(--pink-soft), var(--blue-soft));
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual.banner { max-width: 100%; }
.hero-visual.portrait { max-width: 300px; border-radius: 50%; aspect-ratio: 1 / 1; }
.hero-visual.portrait img { border-radius: 50%; }

.hero .tagline {
  color: var(--pink);
  font-size: 13px;
  letter-spacing: .2em;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero .hero-lines {
  font-size: clamp(14px, 2.4vw, 16px);
  line-height: 2.5;
  color: var(--text);
  margin-bottom: 34px;
}
.hero .hero-lines .gap { display: block; height: 14px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-arrow {
  margin-top: 46px;
  color: var(--pink);
  font-size: 22px;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50%      { transform: translateY(9px); opacity: 1; }
}

/* ============================================================
   セクション
   ============================================================ */
section { padding: 68px 0; position: relative; z-index: 2; }
.section-head { text-align: center; margin-bottom: 38px; }
.section-head .en {
  display: block;
  color: var(--pink);
  font-size: 11.5px;
  letter-spacing: .3em;
  font-weight: 700;
  margin-bottom: 6px;
}
.section-head h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: .1em;
  font-weight: 700;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 52px; height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}
.section-head p { margin: 0; color: var(--text-dim); font-size: 13.5px; }

.sec-alt { background: linear-gradient(180deg, #fff 0%, #fdf6fb 100%); }

/* ============================================================
   リンク集
   ============================================================ */
.link-group { margin-bottom: 38px; }
.link-group:last-child { margin-bottom: 0; }
.link-group h3 {
  text-align: center;
  margin: 0 0 18px;
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: .2em;
  font-weight: 700;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: .22s;
}
.link-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.link-card .icon {
  font-size: 21px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-soft), var(--blue-soft));
  flex-shrink: 0;
}
.link-card .body { min-width: 0; }
.link-card .name { font-weight: 700; font-size: 14.5px; }
.link-card .desc { color: var(--text-dim); font-size: 12px; line-height: 1.6; }
.link-card .arrow { margin-left: auto; color: var(--pink); font-size: 18px; }

/* ============================================================
   プラン
   ============================================================ */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
}
.plan-card {
  position: relative;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: .22s;
  overflow: hidden;
}
.plan-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--pc, var(--pink)), #fff0);
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--pc, var(--pink)); }
.plan-badge {
  width: 54px; height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  background: color-mix(in srgb, var(--pc, var(--pink)) 18%, #fff);
}
.plan-card .plan-name {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--pc, var(--pink));
  margin-bottom: 6px;
}
.plan-card .plan-summary {
  text-align: center;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.plan-card ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.plan-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 13.5px;
}
.plan-card li::before {
  content: "♪";
  position: absolute; left: 4px; top: 0;
  color: var(--pc, var(--pink));
  font-size: 13px;
}

/* ============================================================
   ギャラリー（無料ページ）
   ============================================================ */
.work {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  margin-bottom: 26px;
}
.work-head {
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.work-head h3 { margin: 0; font-size: 17px; font-weight: 700; }
.work-head h3::before { content: "❀ "; color: var(--pink); }
.work-head .date { color: var(--text-dim); font-size: 12px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11px;
  color: var(--pink);
  background: var(--pink-soft);
  border-radius: 999px;
  padding: 2px 12px;
  font-weight: 700;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--pink-soft), var(--blue-soft));
  border: 3px solid #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: zoom-in;
  transition: .22s;
}
.gallery figure:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .missing {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: #fff; font-size: 11.5px; text-align: center; padding: 10px;
  font-weight: 700;
}

/* ============================================================
   ライトボックス
   ============================================================ */
#lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(60, 40, 70, .82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
}
#lightbox.on { display: flex; }
#lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 12px; }
#lightbox .lb-btn {
  position: fixed;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 50%;
  font-size: 22px; color: var(--pink); cursor: pointer;
  user-select: none;
  box-shadow: var(--shadow-lg);
  transition: .18s;
}
#lightbox .lb-btn:hover { transform: scale(1.1); }
#lightbox .lb-close { top: 20px; right: 20px; }
#lightbox .lb-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
#lightbox .lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-prev:hover { transform: translateY(-50%) scale(1.1); }
#lightbox .lb-next:hover { transform: translateY(-50%) scale(1.1); }
#lightbox .lb-cap {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: var(--text); font-size: 12.5px; font-weight: 700;
  background: #fff; padding: 6px 18px; border-radius: 999px;
  box-shadow: var(--shadow);
}

/* ============================================================
   その他パーツ
   ============================================================ */
.notice {
  background: linear-gradient(120deg, #fff6fa, #f4f8ff);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.9;
}
.notice strong { color: var(--pink); }
.empty {
  text-align: center;
  color: var(--text-dim);
  padding: 52px 20px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  background: var(--card);
}

.login-box {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 28px;
  text-align: center;
}
.login-box .lock {
  width: 68px; height: 68px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 30px;
  background: linear-gradient(135deg, var(--pink-soft), var(--blue-soft));
}

/* ============================================================
   フッター
   ============================================================ */
footer.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 44px 0 46px;
  text-align: center;
  background: linear-gradient(180deg, #fdf6fb 0%, #f6f1ff 100%);
}
footer .logo { font-size: 28px; justify-content: center; }
footer .logo-sub { font-size: 9.5px; letter-spacing: .24em; margin-top: 5px; }
.footer-nav {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin: 20px 0 18px;
}
.footer-nav a {
  color: var(--text-dim); font-size: 12px; font-weight: 700; letter-spacing: .16em;
  transition: .18s;
}
.footer-nav a:hover { color: var(--pink); }
.footer-sns { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; }
.footer-sns a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 16px;
  transition: .2s;
}
.footer-sns a:hover { transform: translateY(-3px) scale(1.08); }
.copyright { color: var(--text-dim); font-size: 11.5px; letter-spacing: .1em; }

/* ============================================================
   スクロール出現アニメーション
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.on { opacity: 1; transform: none; }

@media (max-width: 600px) {
  body { font-size: 14px; }
  .hero { padding: 60px 0 56px; }
  section { padding: 52px 0; }
  .header-inner { min-height: 58px; }
  .header-inner .logo { font-size: 20px; }
  .nav a { padding: 7px 9px; font-size: 11.5px; letter-spacing: .08em; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
  .work { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .petal, .btn-primary.pulse, .scroll-arrow { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
