/* ぷくネジ！バルーン工房 — あそびかた・おうちの方へ（色と太いふちは本体と同じ） */
:root {
  --sky: #BFDDF2; --sky-2: #E6F4FD; --ink: #1F2B4D; --ink-soft: #4C5C84; --paper: #fff; --cream: #FFF8E4; --pop: #FFC531; --tape: #FFE07D; --red: #E8323C; --pink: #FF6FA8; --green: #1FA463; --tint: #E8F2FB;
  --f-display: "Mochiy Pop P One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --f-ui: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; font-synthesis: none; }
body { margin: 0; color: var(--ink); background: var(--sky-2); font-family: var(--f-ui); font-weight: 500; font-size: 16px; line-height: 1.8; overflow-x: hidden; overflow-x: clip; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; touch-action: manipulation; }
button { font: inherit; color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.wrap { position: relative; width: min(100% - 32px, 1040px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
em { font-style: normal; font-weight: 700; background: linear-gradient(transparent 62%, var(--tape) 62%); }
.cta { display: inline-block; font-family: var(--f-display); font-size: 26px; line-height: 1.2; text-decoration: none; color: var(--ink); background: var(--pop); border: 4px solid var(--ink); border-radius: 22px; padding: 12px 56px 14px; box-shadow: 0 6px 0 var(--ink); }
.cta:hover { transform: translateY(1px); box-shadow: 0 5px 0 var(--ink); }
.cta:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink); }

/* ヒーロー */
.hero { position: relative; overflow: hidden; overflow: clip; text-align: center; padding: 22px 0 0; background: radial-gradient(120% 70% at 50% 24%, var(--sky-2), var(--sky) 76%); }
.hero .wrap { display: grid; justify-items: center; gap: 12px; }
.brand { display: block; width: min(56vw, 240px); }
.brand img { width: 100%; }
.hero-logo { margin: 2px 0 0; width: min(92vw, 620px); }
.lead { margin: 2px 0 6px; font-size: clamp(16px, 2.2vw, 20px); font-weight: 700; line-height: 1.7; }
.lead span { display: inline-block; margin-inline: .2em; }
.parade { position: relative; width: min(100%, 760px); aspect-ratio: 760 / 330; margin-top: 8px; }
.parade img { position: absolute; bottom: 12%; filter: drop-shadow(0 8px 0 rgba(31, 43, 77, .12)); animation: float 3.6s ease-in-out infinite; }
.parade .p1 { left: 0; width: 28%; animation-delay: -.8s; }
.parade .p2 { left: 21%; width: 37%; bottom: 7%; }
.parade .p3 { left: 54%; width: 26%; bottom: 26%; animation-delay: -1.6s; }
.parade .p4 { right: 0; width: 26%; animation-delay: -2.4s; }
.stage { position: absolute; left: 4%; right: 4%; bottom: -30%; height: 46%; border-radius: 50%; background: var(--paper); border-top: 5px solid var(--pop); z-index: -1; }
.parade { z-index: 0; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2.4%; } }
.sky { position: absolute; inset: 0; }
.pop-b { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; width: clamp(92px, 25vw, 230px); aspect-ratio: 100 / 120; animation: drift 5.4s ease-in-out infinite; }
.pop-b::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 92%; border-radius: 50% 50% 48% 48% / 46% 46% 54% 54%; background: var(--c); border: 4px solid var(--ink); box-shadow: inset -10px -12px 0 rgba(0, 0, 0, .12); transition: scale .1s; }
.pop-b::after { content: ""; position: absolute; left: 20%; top: 14%; width: 22%; height: 26%; border-radius: 50%; background: #fff; opacity: .78; rotate: 24deg; }
.pop-b.b1 { left: -6%; top: 2%; rotate: -12deg; }
.pop-b.b2 { right: -7%; top: 10%; rotate: 12deg; animation-delay: -1.6s; }
.pop-b.b3 { left: -8%; top: 46%; rotate: 8deg; animation-delay: -3s; width: clamp(80px, 20vw, 190px); }
.pop-b.b4 { right: -6%; top: 52%; rotate: -10deg; animation-delay: -.8s; width: clamp(80px, 22vw, 200px); }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5%; } }
.pop-b.gone::before, .pop-b.gone::after { scale: 0; opacity: 0; }
.pop-b.back::before { animation: reinflate .6s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes reinflate { 0% { scale: .1; } 100% { scale: 1; } }
.bits { position: absolute; left: 50%; top: 45%; }
.bits i { position: absolute; width: 16px; height: 16px; margin: -8px; border-radius: 40% 60% 50% 50%; background: var(--c); border: 3px solid var(--ink); animation: bit .8s cubic-bezier(.15, .7, .3, 1) both; }
@keyframes bit { 0% { translate: 0 0; scale: 1.2; } 100% { translate: var(--x) var(--y); scale: .2; opacity: 0; } }

/* ひねった風船の仕切り */
.twist { position: relative; z-index: 2; height: 44px; margin: -22px 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='288' height='44'%3E%3Cg stroke='%231F2B4D' stroke-width='4'%3E%3Crect x='2' y='6' width='68' height='32' rx='16' fill='%23E8323C'/%3E%3Crect x='74' y='6' width='68' height='32' rx='16' fill='%23FFC61F'/%3E%3Crect x='146' y='6' width='68' height='32' rx='16' fill='%232E6BE0'/%3E%3Crect x='218' y='6' width='68' height='32' rx='16' fill='%232FB457'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-width='4' stroke-linecap='round' opacity='.8'%3E%3Cpath d='M16 15h20M88 15h20M160 15h20M232 15h20'/%3E%3C/g%3E%3C/svg%3E") repeat-x center; }

/* 節 */
.sec { padding: 58px 0 52px; }
.head { margin: 0; text-align: center; font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 6.4vw, 42px); line-height: 1.25; }
.head-sub { margin: 4px 0 26px; text-align: center; font-weight: 700; color: var(--ink-soft); }
.head:not(:has(+ .head-sub)) { margin-bottom: 26px; }
.phone { display: block; border: 4px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--sky); box-shadow: 0 5px 0 var(--ink); }

/* あそびかた */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.steps li { background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 6px 0 var(--ink); padding: 14px; display: grid; gap: 12px; align-content: start; }
.steps h3 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 400; font-size: 19px; line-height: 1.35; display: flex; align-items: center; gap: 8px; }
.steps h3 b { flex: none; width: 36px; height: 40px; display: grid; place-items: center; padding-bottom: 3px; font-weight: 400; font-size: 20px; color: #fff; background: var(--red); border: 3px solid var(--ink); border-radius: 50% 50% 48% 48% / 46% 46% 54% 54%; }
.steps li:nth-child(2) h3 b { background: #2E6BE0; }
.steps li:nth-child(3) h3 b { background: #2FB457; }
.steps li:nth-child(4) h3 b { background: #FF6FA8; }
.steps p { margin: 0; font-size: 15px; line-height: 1.75; }

/* しっぽ */
.tail { background: var(--cream); }
.tail-box { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 6px 0 var(--ink); padding: 22px; }
.tail-box figure { margin: 0; }
.tail-box svg { display: block; width: 100%; height: auto; }
.tail-box figcaption { margin-top: 6px; font-size: 15px; line-height: 1.7; }
.tail-box figcaption b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 18px; }
.tail-note { grid-column: 1 / -1; margin: 0; padding: 10px 14px; text-align: center; font-weight: 700; background: var(--tape); border: 3px solid var(--ink); border-radius: 14px; }
.tail-note b { font-size: 1.2em; color: var(--red); }

/* 作品 */
.figs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.figs li { display: grid; justify-items: center; align-content: start; gap: 2px; text-align: center; background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 4px 0 var(--ink); padding: 8px 8px 12px; }
.figs b { font-family: var(--f-display); font-weight: 400; font-size: 17px; line-height: 1.3; }
.fig { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.fig.boing { animation: figBoing .56s cubic-bezier(.3, 1.2, .5, 1); }
@keyframes figBoing { 22% { scale: 1.12 .84; } 48% { scale: .92 1.1; } 72% { scale: 1.04 .97; } }
.fig.q { display: grid; place-items: center; aspect-ratio: 1; font-family: var(--f-display); font-size: 74px; color: var(--green); cursor: default; }
.lv { display: inline-flex; gap: 3px; }
.lv i { width: 16px; height: 9px; border-radius: 5px; border: 2px solid var(--ink); background: var(--paper); }
.lv i.on { background: var(--pop); }
.free-t { font-size: 13px; line-height: 1.5; color: var(--ink-soft); font-weight: 700; }

/* じゆう */
.freebox { background: #E7F8EC; }
.free-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: center; }
.free-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.free-list li { background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; padding: 10px 16px; font-size: 15px; line-height: 1.7; }
.free-list b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 19px; }
.free-ex { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.free-ex li { text-align: center; font-weight: 700; font-size: 14px; }
.free-ex img { filter: drop-shadow(0 6px 0 rgba(31, 43, 77, .1)); }

/* おみせ・かざりだな */
.modes { background: #FFEAF2; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 16px; align-items: center; background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 6px 0 var(--ink); padding: 16px; }
.mode h3 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 400; font-size: 24px; }
.mode p { margin: 0; font-size: 15px; }

/* むずかしさ */
.diffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.diffs article { background: var(--paper); border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); padding: 14px 18px 16px; }
.diffs h3 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 400; font-size: 21px; text-align: center; }
.diffs article:nth-child(1) h3 { color: var(--green); }
.diffs article:nth-child(3) h3 { color: var(--red); }
.diffs ul { margin: 0; padding: 0 0 0 1.1em; font-size: 15px; line-height: 1.75; }

/* おうちの方へ */
.parents { background: var(--paper); word-break: normal; }
.parents .sec + .sec { padding-top: 0; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pbox { border: 3px solid var(--ink); border-radius: 18px; padding: 14px 18px; background: var(--tint); }
.pbox h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.pbox p { margin: 0; font-size: 15px; }
.pbox ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.faq { display: grid; gap: 10px; max-width: 760px; margin-inline: auto; }
.faq details { border: 3px solid var(--ink); border-radius: 16px; background: var(--paper); }
.faq summary { cursor: pointer; padding: 10px 16px; font-weight: 700; touch-action: manipulation; }
.faq p { margin: 0; padding: 0 16px 14px; font-size: 15px; }

/* おわり */
.end { position: relative; text-align: center; padding: 56px 0 26px; background: var(--sky); }
.end-t { margin: 0 0 14px; font-family: var(--f-display); font-size: clamp(24px, 5.4vw, 34px); line-height: 1.3; }
.foot { margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; font-size: 13px; font-weight: 700; }
.foot > * + *::before { content: "/"; display: inline-block; opacity: .55; margin-right: 8px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); align-items: center; gap: 14px; }
  .mode-grid { grid-template-columns: 1fr; }
  .diffs { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .free-grid { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 12px; align-items: start; }
}
@media (max-width: 560px) {
  .parade { aspect-ratio: 760 / 470; }
  .parade .p1 { left: -3%; width: 34%; }
  .parade .p2 { left: 19%; width: 46%; }
  .parade .p3 { left: 58%; width: 30%; bottom: 40%; }
  .parade .p4 { right: -2%; width: 31%; }
  .pop-b.b2 { top: -7%; right: -14%; }
  .pop-b.b1 { top: -5%; left: -14%; }
  .tail-box { grid-template-columns: 1fr; padding: 16px; }
  .figs { grid-template-columns: repeat(2, 1fr); }
  .free-grid { grid-template-columns: 1fr; }
  .free-grid .phone { width: 62%; margin-inline: auto; }
  .free-ex { grid-template-columns: repeat(2, 1fr); }
  .steps h3 { font-size: 17px; }
  .steps p, .mode p { font-size: 14.5px; }
  .sec { padding: 50px 0 44px; }
}
@media (prefers-reduced-motion: reduce) { .parade img, .pop-b { animation: none; } }
