/* 036 赤丸印刷 ― 色はここだけ触れば差し替わる（二色刷りの色は index.html の #duo も合わせて替える） */
:root {
  --c-bg: #fff5f7;
  --c-ink: #24121a;
  --c-red: #e8263a;
  --c-red-btn: #d61f33;
  --c-pink: #ff7eb0;
  --c-pink-soft: #ffd1e1;
  --c-accent-text: #c0122a;
  --c-yellow: #ffd84a;
  --c-blue: #4b6bff;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Zen Maru Gothic", sans-serif;
  --font-head: "Mochiy Pop One", sans-serif;
  --font-script: "Pacifico", cursive;
  --line: 3px solid var(--c-ink);
}

*, *::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.85; 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 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.tag { display: inline-block; font-family: var(--font-head); font-size: 15px; letter-spacing: .1em; color: #fff; background: var(--c-ink); padding: 2px 14px; border-radius: 6px; margin-bottom: 14px; transform: rotate(-2deg); }
.h2 { font-family: var(--font-head); font-weight: 400; font-size: clamp(28px, 4.4vw, 50px); line-height: 1.35; color: var(--c-ink); margin-bottom: 28px; }
.note { margin-top: 20px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; border: var(--line); transition: transform .2s, box-shadow .2s; }
.btn--red { background: var(--c-red-btn); color: #fff; box-shadow: 4px 4px 0 var(--c-ink); }
.btn--line { background: #fff; color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-ink); }
.btn--red:hover, .btn--line:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--c-ink); }
.btn--big { min-height: 60px; padding: 0 30px; font-size: 17px; }

/* ヘッダー */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 20px; height: 68px; padding: 0 12px 0 20px; background: #fff; border-bottom: var(--line); }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; font-family: var(--font-head); font-size: 22px; color: var(--c-ink); text-decoration: none; white-space: nowrap; flex: none; }
.logo__dot { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--c-red); border: var(--line); }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; box-shadow: none; }
@media (min-width: 1080px) {
  .header__inner { height: 80px; padding: 0 5vw; }
  .gnav { display: flex; gap: 28px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--c-ink); }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; padding: 0 24px; }
}
.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: var(--c-pink); border: var(--line); 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: 3px; 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: 100%; background: #fff; border-bottom: var(--line); padding: 8px 20px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 54px; font-family: var(--font-head); font-size: 18px; color: var(--c-ink); text-decoration: none; border-bottom: 2px dashed rgba(36, 18, 26, .2); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 二色刷り（F05） ===== */
.duo { position: relative; background: var(--c-pink-soft); overflow: hidden; }
.duo img { filter: url(#duo); transition: filter .4s; }

/* ===== 演出①（E05）：筆記体の一語とシール ===== */
.hero { position: relative; padding: 112px 20px 72px; overflow: hidden; }
.hero__dots { position: absolute; right: -10vw; top: 0; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, var(--c-pink) 0 3px, transparent 3.6px) 0 0 / 18px 18px; -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%); opacity: .7; }
.hero__inner { position: relative; max-width: 1240px; margin: 0 auto; display: grid; gap: 48px; }
.hero__headline { position: relative; padding-top: 56px; }
.script { position: absolute; z-index: 2; left: 34%; top: -6px; width: min(62vw, 420px); transform: rotate(-8deg); overflow: visible; pointer-events: none; }
.script__text { font-family: var(--font-script); font-size: 150px; fill: var(--c-red); stroke: var(--c-ink); stroke-width: 3; paint-order: stroke fill; }
.hero__title { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 400; font-size: clamp(36px, 7.4vw, 92px); line-height: 1.22; color: var(--c-ink); }
.seal { position: absolute; z-index: 3; right: -4px; bottom: 0; width: 88px; height: 88px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--c-yellow); border: var(--line); box-shadow: 4px 4px 0 var(--c-ink); font-family: var(--font-head); font-size: 16px; line-height: 1.15; color: var(--c-ink); transform: rotate(12deg); }
.seal span { font-size: 15px; }
.hero__lead { margin-top: 40px; font-weight: 700; font-size: clamp(16px, 1.6vw, 19px); color: var(--c-ink); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__photo { width: min(78vw, 420px); justify-self: center; border: var(--line); border-radius: 20px; box-shadow: 10px 10px 0 var(--c-red); transform: rotate(3deg); overflow: visible; }
.hero__photo img { border-radius: 17px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.tape { position: absolute; left: -18px; top: 22px; background: var(--c-yellow); border: 2px solid var(--c-ink); padding: 2px 14px; font-family: var(--font-head); font-size: 15px; letter-spacing: .08em; color: var(--c-ink); transform: rotate(-10deg); white-space: nowrap; }
.tape--blue { background: #c9d4ff; left: auto; right: -14px; top: auto; bottom: 30px; transform: rotate(8deg); }
@media (min-width: 1080px) {
  .hero { padding: 140px 5vw 100px; }
  .hero__inner { grid-template-columns: 1.5fr 1fr; align-items: center; gap: 4vw; }
  .script { left: 36%; top: -64px; width: min(34vw, 500px); }
  .seal { width: 140px; height: 140px; font-size: 24px; right: 6%; bottom: -150px; } /* 「。」に重ならない高さ */
  .seal span { font-size: 17px; }
  .hero__photo { width: 100%; max-width: 440px; }
}

/* ===== 演出②（F05）：数字の穴に写真 ===== */
.numbers { padding: 104px 0; background: #fff; border-top: var(--line); border-bottom: var(--line); }
.nums { display: grid; gap: 28px; }
.num { display: grid; justify-items: center; text-align: center; }
.num__svg { width: min(74%, 420px); height: auto; overflow: visible; }
@media (min-width: 900px) { .num__svg { width: 100%; } }
.num__mask, .num__line { font-family: var(--font-head); font-size: 236px; } /* 300px だと「50」「24」が枠をはみ出し、隣とつながって「5024」に読めた */
.num__mask { fill: #fff; }
.num__line { fill: none; stroke: var(--c-ink); stroke-width: 4; }
.num__cap { margin-top: -8px; font-weight: 700; color: var(--c-ink); }
.num__cap strong { display: inline-block; margin-right: 6px; padding: 0 12px; border-radius: 999px; background: var(--c-pink); font-family: var(--font-head); font-weight: 400; font-size: 20px; }
@media (min-width: 900px) { .numbers { padding: 140px 0; } .nums { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ===== 演出③（C01）：刷れるもの ===== */
.items { padding: 104px 0; background: var(--c-pink-soft); }
.items__head { padding: 0 20px; }
.items__hint { font-weight: 700; color: var(--c-ink); margin-top: -12px; margin-bottom: 8px; }
.items__scroller { overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 20px 28px; }
.items__track { display: flex; gap: 20px; width: max-content; }
.item { scroll-snap-align: center; width: 76vw; max-width: 340px; padding: 16px 16px 22px; border: var(--line); border-radius: 22px; box-shadow: 6px 6px 0 var(--c-ink); }
.item:nth-child(odd) { transform: rotate(-1.5deg); }
.item:nth-child(even) { transform: rotate(1.5deg); }
.item--pink { background: #fff; }
.item--white { background: #fff; }
.item--yellow { background: #fff6cf; }
.item__photo { border: var(--line); border-radius: 14px; margin-bottom: 14px; }
.item__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.item:hover .item__photo img { filter: none; }
.item__no { font-family: var(--font-head); font-size: 16px; color: var(--c-accent-text); }
.item h3 { font-family: var(--font-head); font-weight: 400; font-size: 30px; color: var(--c-ink); margin: 2px 0 6px; }
.item__price { margin-top: 10px; display: inline-block; background: var(--c-ink); color: #fff; border-radius: 999px; padding: 2px 14px; font-weight: 700; font-size: 15px; }
@media (min-width: 1080px) {
  .items__head { padding: 0 5vw; }
  .items__scroller { padding: 16px 5vw 28px; }
  .item { width: 360px; max-width: none; }
}
/* 動く版（PC）：画面に止めて、縦スクロールで横に流す */
.is-motion-pc .items { padding: 0; }
.is-motion-pc .items__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.is-motion-pc .items__scroller { overflow: visible; }
.is-motion-pc .items__hint { display: none; }

/* ===== こだわり ===== */
.craft { padding: 112px 0; }
.craft__inner { display: grid; gap: 48px; }
.craft__photo { width: min(80vw, 420px); justify-self: center; border: var(--line); border-radius: 20px; box-shadow: -10px 10px 0 var(--c-pink); transform: rotate(-2deg); overflow: visible; }
.craft__photo img { border-radius: 17px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.points li { display: flex; gap: 16px; padding: 18px 0; border-top: 2px dashed rgba(36, 18, 26, .25); }
.points li > span { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-red-btn); color: #fff; font-family: var(--font-head); font-size: 20px; border: var(--line); }
.points h3 { font-weight: 700; font-size: 20px; color: var(--c-ink); }
@media (min-width: 900px) { .craft { padding: 160px 0; } .craft__inner { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 80px; } }

/* ===== 注文の流れ ===== */
.flow { padding: 0 0 112px; }
.flow__list { display: grid; gap: 16px; }
.flow__list li { background: #fff; border: var(--line); border-radius: 18px; padding: 20px 22px; }
.flow__no { font-family: var(--font-head); font-size: 16px; color: var(--c-accent-text); }
.flow__list h3 { font-weight: 700; font-size: 21px; color: var(--c-ink); margin: 2px 0 6px; }
@media (min-width: 900px) { .flow { padding-bottom: 160px; } .flow__list { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ===== お見積り ===== */
.estimate { background: var(--c-red-btn); border-top: var(--line); padding: 104px 20px; text-align: center; color: #fff; }
.estimate__inner { max-width: 760px; margin: 0 auto; }
.estimate__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(32px, 6vw, 68px); line-height: 1.3; margin-bottom: 14px; }
.estimate p { font-weight: 700; }
.estimate__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-top: 72px; min-height: 76px; padding: 0 44px; background: #fff; color: var(--c-ink); border: var(--line); border-radius: 999px; font-family: var(--font-head); font-size: clamp(18px, 2.2vw, 24px); text-decoration: none; box-shadow: 6px 6px 0 var(--c-ink); transition: transform .2s, box-shadow .2s; }
.estimate__btn:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--c-ink); }
.sticker { position: absolute; right: -84px; top: -48px; width: 104px; height: 104px; } /* 上の文に重ならない位置 */
.is-motion .sticker { animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.estimate__tel { margin-top: 32px; }
.estimate__tel a { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; }
@media (max-width: 480px) { .estimate__btn { padding: 0 24px; margin-top: 76px; } .sticker { right: -10px; top: -66px; width: 84px; height: 84px; } }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #ffe4ec; padding: 64px 0 28px; font-size: 15px; }
.footer__inner { display: grid; gap: 24px; }
.footer__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 30px; color: #fff; }
.footer__logo .logo__dot { border-color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; }
.footer__fiction { margin-top: 32px; text-align: center; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: auto 1fr auto; align-items: end; gap: 48px; } }

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