/* =========================================================
   「ギフトに生きる」 — 共通デザインシステム
   絵本のような手書き×やわらかパステル
   ========================================================= */

:root {
  /* 紙地 / インク（温かいトーン・低彩度） */
  --paper:      #FBF7F1;   /* 全体背景：温かいオフホワイト */
  --paper-card: #FFFDF9;   /* カード面 */
  --ink:        #5A534B;   /* 本文：やわらかい墨色 */
  --ink-soft:   #8C857C;   /* 補助テキスト */
  --ink-faint:  #B7B0A6;   /* ごく薄い注記・罫 */

  /* アクセント（同じ明度・彩度で色相だけ変える：青/桃/若葉） */
  --blue:       #BBD9EA;   /* パステルブルー */
  --blue-deep:  #6FA3C0;   /* 青の濃色（文字・線） */
  --pink:       #F6CCD4;   /* パステルピンク */
  --pink-deep:  #D98C9C;   /* 桃の濃色 */
  --mint:       #C8E3CE;   /* やわらか若葉 */
  --mint-deep:  #7CB088;   /* 緑の濃色 */
  --cream:      #FBE9C8;   /* ほんのり温かい黄 */

  /* 効果 */
  --radius:    22px;
  --radius-lg: 34px;
  --shadow-soft: 0 18px 40px -24px rgba(120,100,80,.45);
  --shadow-card: 0 10px 30px -18px rgba(120,100,80,.40);
  --ring: rgba(120,100,80,.10);

  /* 書体 */
  --font-display: "Klee One", "Yu Mincho", serif;
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-hand: "Yomogi", "Klee One", cursive;

  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.95;
  font-size: 17px;
  letter-spacing: .02em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 紙の質感：ごく薄い点描 */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(150,130,110,.05) 1px, transparent 1.2px);
  background-size: 22px 22px;
  opacity: .6;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .03em;
  color: #4C463E;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }

::selection { background: var(--pink); color: #5A534B; }

/* ---------- レイアウト ---------- */
.wrap { width: min(var(--maxw), 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }
.narrow { width: min(720px, 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }
.section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }

/* ---------- ヘッダー / ナビ ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(251,247,241,.78);
  border-bottom: 1px solid var(--ring);
}
.nav {
  width: min(var(--maxw), 100% - 48px);
  margin-inline: auto;
  display: flex; align-items: center; gap: 18px;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: #4C463E; margin-right: auto;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: #fff; font-family: var(--font-hand); font-size: 20px;
  box-shadow: var(--shadow-card);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: .04em; white-space: nowrap; line-height: 1.2; }
.brand-sub { display:block; font-family: var(--font-hand); font-size: 11px; color: var(--ink-soft); letter-spacing: .08em; line-height:1; margin-top:2px;}

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-soft);
  font-size: 14.5px; font-weight: 500; letter-spacing: .02em;
  padding: 9px 12px; border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #4C463E; background: rgba(187,217,234,.30); }
.nav-links a.active { color: var(--blue-deep); background: rgba(187,217,234,.40); }

.nav-toggle { display: none; }
.nav-cta {
  text-decoration:none; font-weight:700; font-size:14px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--pink-deep); color: #fff;
  box-shadow: var(--shadow-card);
  transition: transform .15s, filter .2s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.04); }

@media (max-width: 1000px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper-card);
    padding: 12px; border-bottom: 1px solid var(--ring);
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 12px;
    border: 1px solid var(--ring); background: var(--paper-card);
    cursor: pointer; color: var(--ink);
  }
  .nav-cta { display: none; }
}

/* ---------- 水彩ブロブ装飾 ---------- */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(42px); opacity: .55; pointer-events: none; z-index: 0;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; cursor: pointer; border: none;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  letter-spacing: .03em;
  padding: 15px 28px; border-radius: 999px;
  transition: transform .15s ease, filter .2s, box-shadow .2s;
}
.btn-primary { background: var(--pink-deep); color: #fff; box-shadow: var(--shadow-card); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: var(--shadow-soft); }
.btn-blue { background: var(--blue-deep); color: #fff; box-shadow: var(--shadow-card); }
.btn-blue:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink-faint);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--blue-deep); color: var(--blue-deep); transform: translateY(-2px); }

/* ---------- カード ---------- */
.card {
  background: var(--paper-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,.7);
  padding: 30px;
}

/* ---------- 共通：見出し小物 ---------- */
.eyebrow {
  font-family: var(--font-hand);
  font-size: 15px; color: var(--pink-deep);
  letter-spacing: .12em; margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: "♡"; font-size: 13px; }

.section-title {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.45;
  margin-bottom: 22px;
}
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink); line-height: 2.05; }

/* 手書き風の下線マーカー */
.mark-blue { background: linear-gradient(transparent 62%, var(--blue) 62%); padding: 0 2px; }
.mark-pink { background: linear-gradient(transparent 62%, var(--pink) 62%); padding: 0 2px; }
.mark-mint { background: linear-gradient(transparent 62%, var(--mint) 62%); padding: 0 2px; }

/* ---------- 画像プレースホルダー ---------- */
.ph {
  position: relative;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(150,130,110,.07) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, rgba(187,217,234,.45), rgba(246,204,212,.45));
  border: 1.5px dashed var(--ink-faint);
  display: grid; place-items: center; text-align: center;
  color: var(--ink-soft); min-height: 220px; overflow: hidden;
}
.ph span {
  font-family: "Courier New", monospace; font-size: 12.5px;
  letter-spacing: .06em; background: rgba(255,255,255,.7);
  padding: 6px 12px; border-radius: 999px; line-height: 1.5;
}
.ph small { display:block; font-family: var(--font-hand); font-size: 13px; margin-top:2px; color: var(--ink-soft);}

/* ---------- フッター ---------- */
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(187,217,234,.18));
  border-top: 1px solid var(--ring);
  padding: 60px 0 40px;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  align-items: start;
}
.footer-grid h4 { font-size: 15px; margin-bottom: 14px; color: var(--blue-deep); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { text-decoration: none; color: var(--ink-soft); font-size: 14.5px; transition: color .2s; }
.footer-links a:hover { color: var(--pink-deep); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-soft); text-decoration: none;
  background: var(--paper-card); border: 1px solid var(--ring);
  box-shadow: var(--shadow-card);
  transition: color .2s, background .2s, transform .15s;
}
.footer-social a:hover { color: #fff; transform: translateY(-2px); }
.footer-social a:nth-child(1):hover { background: var(--mint-deep); }
.footer-social a:nth-child(2):hover { background: var(--blue-deep); }
.footer-social a:nth-child(3):hover { background: var(--pink-deep); }
.footer-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ring);
  font-size: 12.5px; color: var(--ink-faint); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;}
@media (max-width: 720px){ .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 入場アニメ（控えめ） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ゆらぐ装飾 */
@media (prefers-reduced-motion: no-preference) {
  @keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }
  .floaty { animation: floaty 7s ease-in-out infinite; }
}
