/* 047 はなや ここりん ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fff4f4;
  --c-ink: #4a1d2b;
  --c-red: #c81e3c;
  --c-pink: #ff8fab;
  --c-leaf: #9ccc65;
  --c-accent-text: #b0213a;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Zen Maru Gothic", sans-serif;
  --font-head: "Kiwi Maru", serif;
  --font-script: "Pacifico", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.95; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.script { font-family: var(--font-script); font-size: 24px; line-height: 1.3; color: var(--c-accent-text); transform: rotate(-4deg); transform-origin: left; display: inline-block; margin-bottom: 8px; }
.h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(26px, 3.8vw, 40px); line-height: 1.5; color: var(--sec-ink, var(--c-ink)); margin-bottom: 24px; transition: color .6s; }
.note { font-size: 15px; color: var(--c-sub); margin-top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; transition: transform .2s, background-color .2s; }
.btn--red { background: var(--c-red); color: #fff; box-shadow: 0 6px 0 #8f1129; }
.btn--red:hover { transform: translateY(2px); box-shadow: 0 4px 0 #8f1129; }
.btn--lg { min-height: 60px; padding: 0 40px; font-size: 18px; }

/* ヘッダー */
.header { position: fixed; top: 10px; left: 10px; right: 10px; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 8px 0 18px; background: rgba(255, 255, 255, .96); border-radius: 999px; box-shadow: 0 6px 24px rgba(74, 29, 43, .12); }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; font-family: var(--font-head); font-size: 20px; color: var(--c-ink); text-decoration: none; white-space: nowrap; flex: none; }
.logo__mark { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #ffd23f 0 22%, transparent 23%), conic-gradient(from 0deg, var(--c-pink) 0 20%, var(--c-red) 0 40%, var(--c-pink) 0 60%, var(--c-red) 0 80%, var(--c-pink) 0); }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.header__btn:hover { box-shadow: none; transform: none; background: #a8152f; }
@media (min-width: 1080px) {
  .header { top: 18px; left: 32px; right: 32px; }
  .header__inner { height: 72px; padding: 0 12px 0 28px; gap: 28px; }
  .logo { font-size: 23px; }
  .gnav { display: flex; gap: 26px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--c-ink); text-decoration: none; }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #ffd6de; color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 28px; box-shadow: 0 12px 32px rgba(74, 29, 43, .16); padding: 10px 24px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; font-family: var(--font-head); font-size: 18px; color: var(--c-ink); text-decoration: none; border-bottom: 2px dotted #ffc2cf; }
.spmenu__nav a:last-child { border-bottom: 0; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出① A09：コラージュ ===== */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 110px 20px 80px; background: #ffd6de; overflow: hidden; }
.hero__collage { position: absolute; inset: 0; pointer-events: none; }
.hero__collage > * { position: absolute; }
.dot { border-radius: 50%; }
.dot--1 { width: 58vw; max-width: 520px; aspect-ratio: 1; background: #ffc2cf; left: -18vw; top: 8%; }
.dot--2 { width: 40vw; max-width: 380px; aspect-ratio: 1; background: #ffe9c7; right: -10vw; bottom: 4%; }
.dot--3 { width: 22vw; max-width: 200px; aspect-ratio: 1; background: #e3f2d9; right: 18%; top: 12%; }
.petal { width: 44px; }
.petal--1 { left: 12%; top: 20%; transform: rotate(-20deg); }
.petal--2 { right: 10%; top: 54%; transform: rotate(30deg); width: 36px; }
.petal--3 { left: 46%; bottom: 8%; transform: rotate(60deg); width: 30px; }
.cut { filter: drop-shadow(0 18px 24px rgba(74, 29, 43, .18)); }
.cut--bouquet { width: 44vw; max-width: 420px; left: -6vw; bottom: -4%; }
.cut--tulip { width: 30vw; max-width: 300px; right: -4vw; top: 9%; transform: rotate(12deg); }
.cut--rose { width: 30vw; max-width: 260px; right: 2vw; bottom: 2%; }
.cut--pot { width: 26vw; max-width: 240px; left: 4vw; top: 12%; }
.hero__text { position: relative; z-index: 2; text-align: center; background: rgba(255, 255, 255, .93); border-radius: 40px; padding: 28px 22px 30px; box-shadow: 0 16px 40px rgba(74, 29, 43, .12); max-width: 560px; }
.hero__script { font-family: var(--font-script); font-size: 22px; color: var(--c-accent-text); transform: rotate(-4deg); margin-bottom: 4px; }
.hero__title { font-family: var(--font-head); font-weight: 500; font-size: clamp(28px, 5vw, 54px); line-height: 1.45; color: var(--c-ink); }
.hero__lead { margin-top: 14px; font-size: 16px; }
@media (min-width: 900px) {
  .hero__text { padding: 44px 56px 48px; }
  .cut--bouquet { left: 4vw; bottom: -6%; width: 30vw; }
  .cut--tulip { right: 6vw; top: 10%; width: 18vw; }
  .cut--rose { right: 12vw; bottom: 4%; width: 16vw; }
  .cut--pot { left: 14vw; top: 14%; width: 13vw; }
  .petal { width: 60px; }
}

/* ===== 区切り（D01）：JSなしのときは区切りごとの色。動く版はページ全体の色が変わる ===== */
.sec { --sec: var(--c-bg); --sec-ink: var(--c-ink); --plate1: var(--c-pink); --plate2: var(--c-leaf); background: var(--sec); padding: 96px 20px; transition: background-color .6s; }
.about { --sec: #ffe9c7; --sec-ink: #5a2a12; --plate1: #ff8fab; --plate2: #9ccc65; }
.weekly { --sec: #e3f2d9; --sec-ink: #24452a; }
.gift { --sec: #fbd0c9; --sec-ink: #5a1f1f; --plate1: #ffe9c7; --plate2: #e63950; }
.lesson { --sec: #ffd6de; --sec-ink: #4a1d2b; --plate1: #ffe9c7; --plate2: #9ccc65; }
.is-motion .sec { background: transparent; }
.sec__inner { max-width: 1120px; margin: 0 auto; }
.sec__inner--2col { display: grid; gap: 48px; align-items: center; }
.sec__text p + p { margin-top: 14px; }
.sec__text .btn { margin-top: 24px; }
@media (min-width: 900px) {
  .sec { padding: 140px 48px; }
  .sec__inner--2col { grid-template-columns: 1.1fr 1fr; gap: 80px; }
  .sec__inner--rev .plated { order: 2; }
}

/* ===== F02：写真の後ろの色の板 ===== */
.plated { position: relative; margin: 0 28px 64px 0; }
@media (min-width: 900px) { .plated { margin-bottom: 40px; } }
.plated img { position: relative; z-index: 2; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; }
.plate { position: absolute; inset: 0; border-radius: 28px; transition: background-color .6s; }
.plate--mid { background: var(--plate1); transform: translate(14px, 14px); z-index: 1; }
.plate--back { background: var(--plate2); transform: translate(28px, 28px); z-index: 0; }

/* ===== 今週のお花 ===== */
.flowers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flower { background: #fff; border-radius: 28px; padding: 16px 16px 20px; text-align: center; }
.flower__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: #fff4f4; margin-bottom: 12px; overflow: hidden; }
.flower__img img { width: 78%; height: 88%; object-fit: contain; }
.flower h3 { font-family: var(--font-head); font-size: 18px; color: var(--c-ink); }
.flower p { font-size: 15px; color: var(--c-sub); line-height: 1.7; margin-top: 4px; }
@media (min-width: 900px) { .flowers { grid-template-columns: repeat(4, 1fr); gap: 24px; } .flower { padding: 24px 20px 28px; } }

/* ===== ギフトの予算 ===== */
.budgets { display: grid; gap: 10px; margin-top: 24px; }
.budgets li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; align-items: center; background: #fff; border-radius: 999px; padding: 12px 22px; }
.budgets__price { font-weight: 700; color: var(--c-accent-text); }

/* ===== ご注文の流れ ===== */
.flow { display: grid; gap: 16px; margin-bottom: 40px; }
.flow li { position: relative; background: #fff; border-radius: 28px; padding: 28px 24px 24px 84px; border: 2px solid #ffd6de; }
.flow__no { position: absolute; left: 22px; top: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-red); color: #fff; font-family: var(--font-head); font-size: 22px; }
.flow h3 { font-family: var(--font-head); font-size: 19px; color: var(--c-ink); }
.order__cta { text-align: center; }
.order__cta p { margin-top: 18px; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ===== アクセス ===== */
.access { padding-top: 0; }
.info div { display: grid; grid-template-columns: 4em 1fr; gap: 16px; padding: 14px 0; border-bottom: 2px dotted #ffc2cf; }
.info dt { font-weight: 700; color: var(--c-ink); }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #ffe4ea; padding: 64px 20px 32px; text-align: center; font-size: 15px; border-radius: 40px 40px 0 0; }
.footer__logo { font-family: var(--font-head); font-size: 26px; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin: 18px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
