/* =========================================================
   sew in studio — main.css
   1. Tokens / Base
   2. Components (rough, pill, btn, h2, ph)
   3. Header / Drawer
   4. Front page sections
   5. Lower pages (entry, archive, contact)
   6. Footer / Bottom bar
   7. Motion
   8. Desktop (>=960px)
   ========================================================= */

/* 1. Tokens / Base ---------------------------------------- */
:root {
  --bg: #F6F0E2;
  --ink: #231815;
  --card: #FFFFFF;
  --soft: #FFF9F0;
  --red: #D63A27;
  --yellow: #F6BE2C;
  --pink: #F9B8CF;
  --green: #6CC47E;
  --ph1: #F3E3C6;
  --ph2: #EFD9B4;
  --ph-text: #6B5436;
  --font: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', sans-serif;
  --display: 'Dela Gothic One', 'Hiragino Sans', sans-serif;
  --r-box: 30px 16px 34px 14px / 14px 32px 16px 30px;
  --r-line: 16px 34px 14px 30px / 30px 14px 34px 16px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #1C1512; --ink: #FFF4E2; --card: #2A201B; --soft: #241B17; --ph1: #3A2E24; --ph2: #33281F; --ph-text: #E8D6B8; }
}
:root[data-theme="dark"] { --bg: #1C1512; --ink: #FFF4E2; --card: #2A201B; --soft: #241B17; --ph1: #3A2E24; --ph2: #33281F; --ph-text: #E8D6B8; }

html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px); scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.dg { font-family: var(--display); font-weight: 400; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--card); padding: 8px 14px; }
.skip:focus { left: 12px; top: 12px; }
.sec { padding: 64px 0; }
.page-sec { padding-top: 24px; }

/* 2. Components ------------------------------------------ */
/* 仮の写真枠 */
.ph {
  background: repeating-linear-gradient(45deg, var(--ph1) 0 12px, var(--ph2) 12px 24px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ph-text); font-size: 13px; font-weight: 900; padding: 16px;
}

/* 雑な塗り：色面の上に手描き線を少しズラして重ねる */
.rough {
  --fill: var(--card);
  position: relative;
  background: var(--fill);
  border-radius: var(--r-box);
}
.rough::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2.4px solid var(--ink);
  border-radius: var(--r-line);
  transform: translate(-4px, -5px) rotate(-.3deg);
  pointer-events: none;
  z-index: 1;
}

/* 小さいパーツ：線は文字に合わせ、色だけ右下にはみ出す */
.pill {
  --fill: var(--card);
  --offset: var(--fill);
  position: relative;
  background: var(--fill);
  border-radius: 999px;
  box-shadow: 3px 4px 0 var(--offset);
}
.pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2.2px solid var(--ink);
  border-radius: inherit;
  transform: rotate(-.8deg);
  pointer-events: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  font-weight: 900; font-size: 16px; text-decoration: none; line-height: 1.3; text-align: center;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.btn:hover { transform: scale(1.04) rotate(-2deg); }
.btn-red { --fill: var(--red); color: #fff; }
.btn-yellow { --fill: var(--yellow); color: #231815; }
.btn-ink { --fill: var(--ink); color: var(--bg); }
.btn-white { --fill: var(--card); --offset: var(--ink); color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

.h2 { margin: 0 0 28px; line-height: 1; }
.h2 .dg { display: inline-block; font-size: clamp(40px, 8vw, 72px); }
.h2 .dg::before {
  content: ""; display: inline-block; width: .45em; height: .45em; margin-right: .18em; vertical-align: .35em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 110'%3E%3Cpath d='M50 4 C54 38 62 46 96 50 C62 54 54 62 50 96 C46 62 38 54 4 50 C38 46 46 38 50 4 Z' fill='%23F6BE2C' transform='translate(7 8)'/%3E%3Cpath d='M50 4 C54 38 62 46 96 50 C62 54 54 62 50 96 C46 62 38 54 4 50 C38 46 46 38 50 4 Z' fill='none' stroke='%23231815' stroke-width='5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: twinkle 2.6s ease-in-out infinite;
}
.h2 small { display: block; margin-top: 10px; font-size: clamp(16px, 2.4vw, 22px); font-weight: 900; }
.h2.sm .dg { font-size: clamp(32px, 5vw, 48px); }

/* 色クラス */
.c-red { --fill: var(--red); color: #fff; }
.c-yellow { --fill: var(--yellow); color: #231815; }
.c-pink { --fill: var(--pink); color: #231815; }
.c-white { --fill: var(--card); }

/* 3. Header / Drawer ------------------------------------- */
.hd { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { display: block; width: auto; height: 52px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .dg { font-size: 20px; }
.logo-text small { font-size: 10px; letter-spacing: .12em; margin-top: 4px; }
.nav { display: none; }
.nav-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav-list a { text-decoration: none; }
.nav-list a:hover { color: var(--red); }
.hd-cta { display: none; }
.menu-btn { --fill: var(--yellow); width: 48px; height: 48px; border: 0; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer {
  position: fixed; inset: 0; z-index: 30; background: var(--yellow); color: #231815;
  padding: calc(env(safe-area-inset-top, 0px) + 80px) 28px 40px; overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer-list { list-style: none; margin: 0; padding: 0; }
.drawer-list a { display: block; font-size: 22px; font-weight: 900; text-decoration: none; padding: 12px 0; border-bottom: 2px solid #231815; }
.drawer-close {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 12px); right: 20px;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid #231815; background: #fff; color: #231815; font-size: 22px; cursor: pointer;
}

/* パンくず */
.crumbs ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* 4. Front page ------------------------------------------ */
.hero { padding: 8px 0 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.hero-in > * { min-width: 0; }
.hero-visual { position: relative; height: 320px; order: -1; }
.hero-photo {
  position: absolute; left: 50%; top: 0; width: 290px; height: 290px; margin-left: -145px;
  border-radius: 48% 52% 46% 54% / 53% 47% 55% 45%; object-fit: cover;
  outline: 2.4px solid var(--ink); outline-offset: -1px;
  animation: float 6s ease-in-out infinite;
}
.hero-photo2 { display: none; }
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.hero-h1 { margin: 0; align-self: flex-start; padding: 8px 16px; font-size: 13px; font-weight: 900; line-height: 1.4; --offset: var(--ink); }
/* 「自分の好きを、」（7文字）が1行に収まる大きさにし、2行より多く折り返さない */
.catch { margin: 0; font-size: clamp(30px, calc((100vw - 40px) / 7.2), 104px); line-height: 1.12; letter-spacing: -.02em; }
.catch-line { display: block; white-space: nowrap; }
.catch em { font-style: normal; display: inline-block; color: var(--red); animation: wiggle 2.4s ease-in-out infinite; }
.lead { margin: 0; font-size: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 900; }
.badges li { padding: 6px 14px; color: #231815; }
.b-yellow { --fill: var(--yellow); }
.b-pink { --fill: var(--pink); }
.b-white { --fill: #fff; --offset: var(--ink); }

/* 手描き装飾 */
.flower { position: absolute; left: -4px; top: 0; width: 96px; animation: bloom 3.2s ease-in-out infinite; }
.flower2 { position: absolute; right: 14px; top: 30px; width: 58px; animation: bloom 2.6s ease-in-out infinite reverse; }
.sprig { position: absolute; left: 14px; bottom: -6px; width: 62px; transform-origin: 50% 20%; animation: sway 3.6s ease-in-out infinite; }
.moon { position: absolute; left: 70%; top: 0; width: 32px; animation: wiggle 3s ease-in-out infinite; }
.spk { position: absolute; width: 26px; animation: twinkle 2.4s ease-in-out infinite; }
.spk.s2 { width: 20px; animation-delay: .6s; }
.spk.s3 { width: 22px; animation-delay: 1.1s; }
.spk.s4 { width: 18px; animation-delay: 1.6s; }
.star { position: absolute; right: 0; bottom: 0; width: 132px; height: 132px; animation: twinkle-big 4s ease-in-out infinite; }
.star span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; line-height: 1.25; color: #231815; }

/* 流れる文字 */
.mq { margin: 16px -20px 0; background: #231815; transform: rotate(-2deg); overflow: hidden; padding: 12px 0; }
.mq-in { display: flex; width: max-content; gap: 28px; animation: marquee 26s linear infinite; font-size: clamp(24px, 4vw, 40px); color: #F6BE2C; white-space: nowrap; }
.mq-in i { font-style: normal; color: #F9B8CF; }

/* メディア掲載 */
.media-list, .blog-cards {
  list-style: none; margin: 0; padding: 4px 10px 18px 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.mcard, .bcard { scroll-snap-align: start; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.mcard:hover, .bcard:hover, .item:hover { transform: translateY(-6px) rotate(-1deg); }
.mcard a, .bcard a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: inherit; overflow: hidden; }
.mimg, .bimg { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--ink); }
.bimg { aspect-ratio: 16 / 10; }
.mtxt, .bt { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.55; }
.mtitle, .bt-title { font-size: 15px; font-weight: 900; }
.date, .bt time { font-size: 12px; opacity: .8; }
.more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 900; color: var(--red); }

/* 体験カード */
.ws-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.ws-grid > * { min-width: 0; }
.ws { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.ws:hover { transform: translateY(-8px) rotate(-1deg); }
.ws-link { display: flex; flex-direction: column; gap: 14px; padding: 20px; text-decoration: none; color: inherit; height: 100%; }
.ws-img { display: block; width: 100%; height: 210px; object-fit: cover; border-radius: 18px; outline: 2px solid currentColor; outline-offset: -1px; }
.ws-body { display: flex; flex-direction: column; gap: 8px; }
.ws-catch { font-size: 13px; }
.ws-title { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.3; }
.ws-text { font-size: 15px; }
.ws-meta { font-size: 14px; font-weight: 900; }
.ws-more { font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }

/* 予約の流れ */
.flow-box { padding: 36px 20px; display: flex; flex-direction: column; gap: 26px; align-items: center; text-align: center; }
.flow-box .h2 { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; width: 100%; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 900; text-align: left; }
.steps b { width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #231815; }
.s-red { --fill: var(--red); color: #fff !important; }
.s-yellow { --fill: var(--yellow); }
.s-pink { --fill: var(--pink); }
.flow-note { margin: 0; font-size: 14px; }
.flow-note a { color: var(--red); font-weight: 700; }

/* オーダーラグ */
.order { background: var(--yellow); color: #231815; }
.order-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.order-in > * { min-width: 0; }
.order-text { margin: 0 0 24px; font-size: 17px; }
.order .btn-ink { --fill: #231815; color: #FFF4E2; }
.order-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 24px; }
.order-img { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 22px; outline: 2.4px solid #231815; outline-offset: -1px; }
.order-img:first-child { transform: rotate(-3deg); }
.order-img:last-child { transform: rotate(3deg) translateY(24px); }

/* ONLINE STORE */
.sec-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.sec-head .h2 { margin: 0; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.item { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.item a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: inherit; overflow: hidden; }
.item-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: 2px solid var(--ink); }
.item-t { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.item-name { font-size: 14px; }
.item-price { font-size: 17px; }
.store-empty { margin: 0; }

/* お知らせ・ブログ */
.nb { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.nb > * { min-width: 0; }
.nb-h { margin: 0 0 8px; font-size: 20px; font-weight: 900; }
.news-box { padding: 24px 22px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li + li { border-top: 1.5px dashed var(--ink); }
.news-list a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 14px 0; text-decoration: none; }
.news-list time { font-size: 13px; }
.ntag { --fill: var(--yellow); padding: 0 10px; font-size: 11px; font-weight: 900; color: #231815; text-decoration: none; }
.ntag.t-info { --fill: var(--pink); }
.ntag.t-event { --fill: #fff; --offset: var(--ink); }
.nt { flex-basis: 100%; font-size: 15px; font-weight: 900; line-height: 1.6; }
.more-link { display: inline-block; margin-top: 14px; font-weight: 900; color: var(--red); }
.blog-cards.is-grid { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); overflow: visible; padding-right: 0; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.faq-in > * { min-width: 0; }
.faq details { padding: 18px 22px; margin-bottom: 16px; }
.faq summary { font-weight: 900; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; position: relative; z-index: 2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; font-size: 15px; }

/* アクセス */
.access-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.access-in > * { min-width: 0; }
.shop-table { margin: 0; display: grid; grid-template-columns: 84px minmax(0, 1fr); row-gap: 10px; font-size: 15px; line-height: 1.7; }
.shop-table dt { font-weight: 900; }
.shop-table dd { margin: 0; }
.access-btn { margin: 24px 0 0; }
.map { min-height: 280px; padding: 0; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; border-radius: inherit; }
/* アクセスページ：本文の幅いっぱい・4:3で伸び縮み */
.map-page { margin: 28px 0 0; }
.map-page iframe { height: auto; aspect-ratio: 4 / 3; }

/* CTA */
.cta { --fill: var(--red); color: #fff; padding: 40px 24px; display: flex; flex-direction: column; gap: 24px; }
.cta-h { margin: 0; font-size: clamp(30px, 5vw, 52px); line-height: 1.3; }
.cta .btns { flex-direction: column; }
.cta .btn { width: 100%; }

/* 5. Lower pages ----------------------------------------- */
.entry-head { margin: 8px 0 24px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; }
.entry-title { margin: 0; font-size: clamp(24px, 4.5vw, 36px); line-height: 1.45; font-weight: 900; }
.entry-title.big { font-size: clamp(30px, 6vw, 48px); margin: 12px 0 20px; }
.entry-thumb { margin: 0 0 32px; overflow: hidden; padding: 0; }
.entry-thumb img { display: block; width: 100%; border-radius: inherit; }
.entry { font-size: 16px; font-weight: 500; line-height: 2; }
.entry > * + * { margin-top: 1.4em; }
.entry h2 { font-size: 24px; font-weight: 900; line-height: 1.5; margin-top: 2.4em; padding-bottom: 8px; border-bottom: 2.4px solid var(--ink); }
.entry h3 { font-size: 20px; font-weight: 900; line-height: 1.5; margin-top: 2em; }
.entry h3::before { content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .4em; border-radius: 50%; background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); vertical-align: .05em; }
.entry a { color: var(--red); font-weight: 700; }
.entry img { border-radius: 18px; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry blockquote { margin-left: 0; padding: 16px 20px; background: var(--card); border-left: 0; border-radius: var(--r-box); box-shadow: 4px 5px 0 var(--yellow); }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry th, .entry td { border: 1.5px solid var(--ink); padding: 10px 12px; text-align: left; }
.entry th { background: var(--soft); }
/* 体験ページ：おすすめコースの強調 */
.reco-badge { display: inline-block; margin-left: .5em; padding: 2px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 900; line-height: 1.6; vertical-align: .15em; }
.entry h3 .reco-badge { font-size: 14px; }
.course-lead { padding: 14px 18px; border-radius: var(--r-box); background: var(--card); border: 2px solid var(--red); font-weight: 700; }
.course-reco { margin: 2em 0; padding: 4px 22px 8px; border-radius: var(--r-box); background: var(--card); border: 2.4px solid var(--ink); box-shadow: 5px 6px 0 var(--yellow); }
.course-reco h3 { margin-top: 1em; }
/* 体験ページの縦長写真は大きくなりすぎないように */
.single-workshop .entry .wp-block-image { max-width: 480px; margin-left: auto; margin-right: auto; }
.single-workshop .entry .wp-block-image img { width: 100%; height: auto; }
.single-workshop .entry .wp-block-image figcaption { font-size: 14px; text-align: center; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; font-weight: 900; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--bg); }
.term-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.term-list a { display: inline-block; padding: 6px 16px; font-size: 14px; text-decoration: none; --offset: var(--ink); }
.term-list a.is-current { --fill: var(--yellow); --offset: var(--yellow); color: #231815; }

/* 体験詳細 */
.ws-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 48px; }
.ws-hero > * { min-width: 0; }
.spec { margin: 0 0 24px; padding: 22px 24px; display: grid; grid-template-columns: 96px minmax(0, 1fr); row-gap: 8px; font-size: 15px; }
.spec dt { font-weight: 900; }
.spec dd { margin: 0; }
.spec-note { margin: -12px 0 24px; font-size: 13px; }
.h1-area { display: inline-block; font-size: .5em; letter-spacing: 0; }
.ws-hero-img { margin: 0; padding: 0; overflow: hidden; }
.ws-hero-img img { display: block; width: 100%; border-radius: inherit; }

/* お問い合わせ（Contact Form 7） */
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.contact-in > * { min-width: 0; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side p { margin: 0; }
.note { --fill: var(--yellow); padding: 20px; color: #231815; font-size: 14px; }
.form { padding: 28px 20px; }
.form > * { position: relative; z-index: 2; }
.form p { margin: 0 0 20px; }
/* 項目名と「必須」を同じ行に並べ、入力欄だけ次の行に落とす */
.form label { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; font-weight: 900; font-size: 15px; }
.form label > .wpcf7-form-control-wrap { flex: 0 0 100%; min-width: 0; }
.form .req { color: var(--red); font-size: 13px; margin-left: 6px; }
/* CF7 の自動整形で入る <br> が、ブロック表示のラベルの間に空行を作るため消す */
.form p > br { display: none; }
.form p > label ~ label { margin-top: 20px; }
.form .wpcf7-turnstile { margin: 0 0 16px; display: flex; justify-content: center; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
  width: 100%; max-width: 100%; min-width: 0; min-height: 54px;
  border-radius: 14px; border: 2px solid var(--ink); padding: 12px 14px;
  font-size: 16px; font-family: inherit; background: var(--soft); color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input[type="file"] { font-size: 14px; }
/* 種類の選択（CF7 radio をピル型に） */
.kinds .wpcf7-radio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.kinds .wpcf7-list-item { margin: 0; }
.kinds .wpcf7-list-item label { display: block; position: relative; }
.kinds input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kinds .wpcf7-list-item-label {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 10px;
  border: 2.2px solid var(--ink); border-radius: 999px; background: var(--card); box-shadow: 3px 4px 0 var(--ink);
  font-weight: 900; font-size: 15px; cursor: pointer; text-align: center; line-height: 1.3;
}
.kinds input:checked + .wpcf7-list-item-label { background: var(--ink); color: var(--bg); box-shadow: 3px 4px 0 var(--yellow); }
.kinds input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--red); outline-offset: 3px; }
.form .agree .wpcf7-list-item { margin: 0; }
.form .agree label { flex-direction: row; align-items: center; gap: 10px; font-weight: 700; }
.form .agree input { width: 24px; height: 24px; }
.form .wpcf7-submit {
  display: block; margin: 8px auto 0; min-height: 64px; padding: 0 60px; border-radius: 999px;
  background: var(--red); color: #fff; border: 2.4px solid var(--ink); box-shadow: 4px 5px 0 var(--red);
  font-family: inherit; font-weight: 900; font-size: 18px; cursor: pointer;
}
.form .wpcf7-not-valid-tip { color: var(--red); font-size: 13px; }
.form .wpcf7-response-output { border-radius: 14px; margin: 16px 0 0 !important; }
.form .wpcf7-spinner { display: block; margin: 12px auto 0; }

/* 6. Footer / Bottom bar --------------------------------- */
.ft { background: #231815; color: #FFF4E2; padding: 48px 0 120px; margin-top: 40px; }
.ft .wrap { display: flex; flex-direction: column; gap: 24px; }
.ft a { color: #FFF4E2; text-decoration: none; }
.ft-logo { margin: 0; font-size: 36px; line-height: 1.2; }
.ft-shop p:last-child { margin: 0; font-size: 13px; }
.ft-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; font-size: 14px; }
.sns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 900; }
.sns a { display: inline-block; padding: 8px 14px; border: 2px solid #FFF4E2; border-radius: 999px; }
.ft-legal { margin: 0; display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; }
.ft-legal a { text-decoration: underline; }

.bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); z-index: 15;
  height: 62px; border-radius: 999px; background: var(--card); border: 2.4px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; font-size: 14px; font-weight: 900;
}
.bar a { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.bar a + a { border-left: 2px solid var(--ink); }
.bar a:first-child { background: var(--red); color: #fff; }

/* 7. Motion ---------------------------------------------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(12px) rotate(-2deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes bloom { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(8deg) scale(1.08); } }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.72) rotate(18deg); } }
@keyframes twinkle-big { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.05); } }

/* JSが動くときだけ、表示範囲に入ったらふわっと出す */
.js .reveal { opacity: 0; transition: opacity .6s ease; }
.js .reveal.in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; }
}

/* 8. Desktop --------------------------------------------- */
@media (min-width: 960px) {
  .wrap { padding: 0 48px; }
  .sec { padding: 88px 0; }
  .hd .wrap { height: 92px; }
  .logo-img { height: 64px; }
  .nav { display: block; }
  .menu-btn { display: none; }
  .hd-cta { display: inline-flex; min-height: 48px; font-size: 14px; padding: 0 22px; }

  .hero-in { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; min-height: 720px; }
  .catch { font-size: min(104px, calc((min(100vw, 1200px) - 124px) / 14.4)); }
  .hero-visual { order: 0; height: 640px; }
  .hero-photo { left: 40px; top: 20px; margin: 0; width: 440px; height: 440px; }
  .hero-photo2 {
    display: flex; position: absolute; right: 0; top: 380px; width: 260px; height: 260px; object-fit: cover;
    border-radius: 26px 14px 30px 12px / 12px 28px 14px 26px; outline: 2.4px solid var(--ink); outline-offset: -1px;
    animation: float2 7s ease-in-out infinite;
  }
  .hero-h1 { font-size: 15px; }
  .lead { font-size: 18px; }
  .flower { left: auto; right: 10px; top: -10px; width: 150px; }
  .flower2 { left: 360px; right: auto; top: 10px; width: 84px; }
  .sprig { left: auto; right: 290px; bottom: auto; top: 470px; width: 110px; }
  .moon { left: auto; right: 180px; top: 4px; width: 46px; }
  .spk { width: 36px; } .spk.s2 { width: 28px; } .spk.s3 { width: 30px; } .spk.s4 { width: 24px; }
  .star { left: 0; right: auto; top: 410px; bottom: auto; width: 210px; height: 210px; }
  .star span { font-size: 18px; }

  .media-list { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; padding-right: 0; }
  .ws-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .ws-img { height: 240px; }
  .flow-box { padding: 56px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { flex-direction: column; text-align: center; }
  .steps b { width: 88px; height: 88px; font-size: 36px; }
  .order-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-img { height: 280px; }
  .items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .item-t { flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 20px; }
  .item-name { font-size: 16px; }
  .item-price { font-size: 20px; }
  .nb { grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
  .blog-cards { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding-right: 0; }
  .blog-cards.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .faq-in { grid-template-columns: 1fr 2fr; }
  .access-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map, .map iframe { min-height: 440px; }
  .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 64px; }
  .cta .btns { flex-direction: column; }
  .cta .btn { width: auto; min-width: 300px; }
  .ws-hero { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .contact-in { grid-template-columns: 1fr 2fr; }
  .form { padding: 44px; }
  .kinds .wpcf7-radio { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ft { padding-bottom: 48px; }
  .ft .wrap { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .ft-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-legal { flex-basis: 100%; }
  .bar { display: none; }
}
