
:root {
  --paper: #FAF6ED;
  --paper-alt: #F3ECDC;
  --ink: #463C31;
  --muted: #6E6459;
  --white: #FFFFFF;
  --yellow: #F9D976;
  --pink: #F6D3D3;
  --sky: #CFE3F2;
  --vermilion: #B4461B;
  --dot-r: #C45C4A;
  --dot-y: #E2B84A;
  --dot-b: #5A8FB8;
  --dot-g: #6B9B6E;
  --dot-p: #9B7A9B;
  --font-head: "Zen Maru Gothic", sans-serif;
  --font-body: "Zen Kaku Gothic New", sans-serif;
  --bar-h: 66px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(var(--bar-h) + 16px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
ul, ol { list-style: none; }

/* —— Header：画用紙の上端 —— */
.site-header {
  background: var(--paper);
  position: relative;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 40px;
  height: 32px;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}
.logo-name small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
}
.header-nav {
  display: none;
  gap: 16px;
  font-size: 14px;
}
.header-nav a { text-decoration: none; }
.header-nav a:hover { text-decoration: underline; }
.header-cta {
  display: none;
  background: var(--vermilion);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 16px;
  min-height: 44px;
  border-radius: 4px;
  align-items: center;
}
.header-cta:hover { opacity: 0.92; }
.header-brush {
  display: block;
  width: 100%;
  height: 8px;
  line-height: 0;
}
.header-brush svg { width: 100%; height: 8px; display: block; }

/* —— Bottom bar —— */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bar-h);
  background: var(--white);
  border-top: 1px solid rgba(70, 60, 49, 0.12);
  display: flex;
  z-index: 100;
  padding: 8px 16px;
  gap: 8px;
}
.bottom-bar .btn-trial {
  flex: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vermilion);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  min-height: 44px;
}
.bottom-bar .btn-phone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-alt);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 4px;
  min-height: 44px;
  border: 1px solid rgba(70, 60, 49, 0.15);
}

/* —— Layout —— */
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}
.wrap-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  padding: 64px 0;
  position: relative;
}
.section-alt { background: var(--paper-alt); }
.section-white { background: var(--white); }
.section-yellow { background: var(--yellow); }
.section-pink { background: var(--pink); }
/* FAQ：波ディバインダーより下に桃色の余白を残さない */
#faq.section {
  padding-bottom: 0;
}
#faq .wrap {
  padding-bottom: 64px;
}

/* —— Headings —— */
.heading {
  margin-bottom: 32px;
  text-align: center;
}
.heading-motif {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.heading h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}
.heading-line {
  width: 48px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  opacity: 0.35;
}
.heading-util {
  text-align: left;
  margin-bottom: 32px;
}
.heading-util h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.heading-util .heading-line { margin: 0; }
.palette-motif { width: 28px; height: 22px; flex-shrink: 0; }

/* —— Paint blob CTA —— */
.btn-blob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vermilion);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  min-width: 200px;
  min-height: 58px;
  padding: 16px 32px;
  border-radius: 48% 52% 45% 55% / 55% 42% 58% 45%;
  transition: border-radius 0.3s ease;
}
.btn-blob:hover {
  opacity: 0.92;
  border-radius: 52% 48% 55% 45% / 42% 58% 45% 55%;
}

/* —— Paint dots —— */
.paint-dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.paint-dot {
  position: absolute;
  border-radius: 50% 42% 55% 48%;
  opacity: 0.12;
  animation: drift 28s ease-in-out infinite;
}
.paint-dot:nth-child(1) { width: 18px; height: 16px; background: var(--dot-r); top: 12%; left: 8%; animation-duration: 32s; }
.paint-dot:nth-child(2) { width: 14px; height: 13px; background: var(--dot-y); top: 55%; left: 88%; animation-duration: 36s; animation-delay: -8s; }
.paint-dot:nth-child(3) { width: 12px; height: 11px; background: var(--dot-b); top: 78%; left: 18%; animation-duration: 30s; animation-delay: -14s; }
.paint-dot:nth-child(4) { width: 16px; height: 15px; background: var(--dot-g); top: 28%; left: 72%; animation-duration: 34s; animation-delay: -4s; }
.paint-dot:nth-child(5) { width: 10px; height: 10px; background: var(--dot-p); top: 42%; left: 42%; animation-duration: 38s; animation-delay: -18s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(12px, -18px) rotate(8deg); }
  66% { transform: translate(-10px, 10px) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .paint-dot { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.torn {
  display: block;
  width: 100%;
  height: 28px;
  line-height: 0;
}
.torn svg { width: 100%; height: 28px; display: block; }

/* —— FV：パレットの輪郭に切り抜いた写真 —— */
.fv {
  padding: 16px 0 24px;
  position: relative;
  overflow: visible;
}
.fv-sheet {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 32px 32px 16px;
  position: relative;
  z-index: 1;
}
.fv-palette {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
}
.fv-palette-photo {
  position: absolute;
  inset: 0;
  clip-path: url(#fvPaletteClip);
  -webkit-clip-path: url(#fvPaletteClip);
  line-height: 0;
}
.fv-palette-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 32%;
}
.fv-palette-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.fv-text-panel {
  position: absolute;
  left: 3%;
  top: 10%;
  bottom: 14%;
  width: min(64%, 420px);
  z-index: 2;
  padding: 16px 32px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 文字が載る帯は不透明寄りを長めに保ち、右端だけ写真へ溶かす */
  background: linear-gradient(
    90deg,
    rgba(250, 246, 237, 0.96) 0%,
    rgba(250, 246, 237, 0.94) 68%,
    rgba(250, 246, 237, 0.42) 86%,
    rgba(250, 246, 237, 0) 100%
  );
  pointer-events: none;
}
.fv-text-panel > * { pointer-events: auto; }
.fv-quote {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--ink);
}
.fv-quote .line {
  display: block;
  white-space: nowrap;
}
.fv-attr {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.fv-facts {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}
.fv-facts .sep {
  margin: 0 0.3em;
  color: var(--muted);
}
.btn-palette-cta {
  position: absolute;
  right: -2%;
  bottom: -6%;
  z-index: 3;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #2F7D33;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 16px;
  box-sizing: border-box;
}
.btn-palette-cta:hover { opacity: 0.92; background: #276B2B; }

/* —— Promises：干す場所 —— */
.promises {
  background: var(--paper-alt);
  padding: 48px 0 56px;
}
.promises-intro {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.promises-lead {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.clothesline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-top: 16px;
}
.clothesline-wire {
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 2px;
  z-index: 0;
}
.clothesline-wire svg { width: 100%; height: 12px; overflow: visible; }
.clothesline-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px 16px;
  position: relative;
  z-index: 1;
  padding: 8px 8px 0;
}
.promise-card {
  background: var(--white);
  border: 1px solid rgba(70, 60, 49, 0.15);
  padding: 32px 16px 16px;
  width: min(240px, 100%);
  position: relative;
  text-align: center;
}
.promise-card .clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 28px;
}
.promise-card .num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.promise-card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}
.hanging-art {
  width: 88px;
  position: relative;
  margin-top: 16px;
}
.hanging-art .clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 26px;
  z-index: 2;
}
.hanging-art img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(70, 60, 49, 0.2);
  transform: rotate(3deg);
}
.hanging-art:nth-of-type(1) img { transform: rotate(-4deg); }
.hanging-art:nth-of-type(2) img { transform: rotate(5deg); }

/* —— Lesson：筆のストローク —— */
.lesson-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.lesson-stroke {
  display: none;
}
.lesson-step {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
}
.lesson-step:last-child { margin-bottom: 0; }
.lesson-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lesson-dot {
  width: 36px;
  height: 36px;
  border-radius: 50% 45% 55% 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
/* 番号色は nth-child ではなく .n1〜.n4（先頭の .lesson-stroke を数えない） */
.lesson-step.n1 .lesson-dot { background: #8B3528; color: #fff; }
.lesson-step.n2 .lesson-dot { background: #8A5518; color: #fff; }
.lesson-step.n3 .lesson-dot { background: #4A5A2E; color: #fff; }
.lesson-step.n4 .lesson-dot { background: #2F5A7A; color: #fff; }
.lesson-time {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.lesson-step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.handprint {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.lesson-step p {
  font-size: 15px;
  color: var(--ink);
}
.lesson-frame {
  border: 1px solid rgba(70, 60, 49, 0.2);
  background: var(--white);
  padding: 8px;
  max-width: 420px;
}
.lesson-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
}
.lesson-frame.crop-hands img {
  object-position: center 78%;
}

/* —— Works：冷蔵庫 —— */
.works-fridge {
  position: relative;
  min-height: 520px;
  max-width: 900px;
  margin: 0 auto;
}
.works-fridge figure {
  position: absolute;
  background: transparent;
  margin: 0;
}
.works-fridge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(70, 60, 49, 0.15);
  border-radius: 1px;
}
.works-fridge figcaption {
  font-size: 12px;
  text-align: center;
  padding: 8px 8px 0;
  color: var(--muted);
}
.magnet {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.w1 { width: 38%; top: 2%; left: 4%; transform: rotate(-3deg); z-index: 1; }
.w1 .magnet { background: var(--dot-r); }
.w2 { width: 32%; top: 8%; right: 6%; left: auto; transform: rotate(4deg); z-index: 2; }
.w2 .magnet { background: var(--dot-b); }
.w3 { width: 36%; top: 38%; left: 28%; transform: rotate(-2deg); z-index: 3; }
.w3 .magnet { background: var(--dot-y); }
.w4 { width: 30%; top: 42%; left: 2%; transform: rotate(5deg); z-index: 2; }
.w4 .magnet { background: var(--dot-g); }
.w5 { width: 34%; top: 48%; right: 4%; left: auto; transform: rotate(-4deg); z-index: 1; }
.w5 .magnet { background: var(--dot-p); }
.w6 { width: 28%; top: 72%; left: 36%; transform: rotate(3deg); z-index: 4; }
.w6 .magnet { background: var(--dot-r); }

/* —— Teacher：木枠と水彩 —— */
.teacher {
  display: grid;
  gap: 32px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}
.teacher-profile { text-align: center; }
.teacher-frame {
  display: inline-block;
  padding: 8px;
  background: linear-gradient(160deg, #8B6914 0%, #5C4210 40%, #A67C2A 70%, #6B4E16 100%);
  margin: 0 auto 16px;
}
.teacher-frame img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  display: block;
  background: var(--paper-alt);
}
.teacher-plaque {
  display: inline-block;
  background: var(--paper-alt);
  border: 1px solid rgba(70, 60, 49, 0.2);
  padding: 16px 16px;
  text-align: left;
  max-width: 320px;
}
.teacher-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.teacher-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.teacher-plaque q {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.5;
  quotes: "「" "」";
}
.teacher-plaque .plaque-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.teacher-bio {
  font-size: 14px;
  max-width: 420px;
  margin: 16px auto 0;
}
.teacher-qa {
  display: grid;
  gap: 16px;
}
.teacher-qa-item {
  position: relative;
  padding: 16px 16px;
}
.qa-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.qa-wash svg { width: 100%; height: 100%; }
.teacher-qa-item dt,
.teacher-qa-item dd {
  position: relative;
  z-index: 1;
}
.teacher-qa-item dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}
.teacher-qa-item dd { font-size: 15px; }
.wood-strip {
  margin-top: 48px;
  height: 28px;
  background:
    repeating-linear-gradient(
      90deg,
      #8B6914 0px,
      #A67C2A 8px,
      #6B4E16 16px,
      #8B6914 24px,
      #5C4210 32px,
      #A67C2A 40px
    );
  opacity: 0.45;
  border-radius: 1px;
}

/* —— Pricing：時間割 —— */
.price-heroes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  text-align: center;
}
.price-hero {
  background: var(--white);
  padding: 16px 8px;
}
.price-hero .label {
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 8px;
}
.price-hero .num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.price-hero .unit {
  font-size: 13px;
  font-weight: 500;
}
.timetable {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.timetable-card {
  background: var(--white);
  padding: 16px 16px 16px;
  position: relative;
  overflow: hidden;
}
.timetable-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.timetable-card .ruled {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}
.timetable-card .ruled svg { width: 100%; height: 100%; }
.timetable-card .body {
  position: relative;
  z-index: 1;
  font-size: 14px;
}
.timetable-meta {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 16px;
  font-size: 14px;
  margin-bottom: 8px;
}
.timetable-meta dt {
  font-weight: 700;
  font-size: 13px;
}
.bag-icon { width: 22px; height: 22px; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(70, 60, 49, 0.12);
  font-size: 15px;
  color: var(--ink);
}
.price-table th {
  font-weight: 700;
  width: 40%;
  background: rgba(250, 246, 237, 0.6);
}
.price-note {
  font-size: 13px;
  margin-top: 16px;
  color: var(--ink);
}

/* —— FAQ —— */
.faq-photos {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: flex-start;
}
.faq-photos img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border: 1px solid rgba(70, 60, 49, 0.15);
  border-radius: 2px;
}
.faq-list {
  display: grid;
  gap: 0;
  background: var(--white);
}
.faq-item {
  border-bottom: 1px solid rgba(70, 60, 49, 0.1);
  padding: 16px 16px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}
.faq-item:last-child { border-bottom: none; }
.faq-icon {
  width: 24px;
  height: 24px;
  margin-top: 8px;
  color: var(--ink);
}
.faq-item h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-item p { font-size: 15px; }
.water-ripple {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 0;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.water-ripple svg { width: 100%; height: 48px; display: block; }

/* —— Trial：放課後の空 —— */
.section-trial {
  background: linear-gradient(180deg, #CFE3F2 0%, #E8F0F5 45%, #F5E6D4 100%);
  padding: 64px 0;
  position: relative;
}
.trial-lead {
  margin-bottom: 32px;
  max-width: 560px;
}
.trial-paper {
  background: var(--white);
  border: 1px solid rgba(70, 60, 49, 0.15);
  padding: 24px 16px;
  margin-bottom: 24px;
  max-width: 640px;
}
.trial-steps {
  display: grid;
  gap: 16px;
  counter-reset: trial;
}
.trial-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}
.trial-step::before {
  counter-increment: trial;
  content: counter(trial);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-radius: 50%;
}
.trial-step h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.trial-step p { font-size: 14px; }
/* —— Trial form：白い画用紙の上 —— */
.trial-form-paper {
  background: var(--white);
  border: 1px solid rgba(70, 60, 49, 0.18);
  padding: 32px 24px 24px;
  max-width: 420px;
  margin: 0 auto 32px;
  position: relative;
}
.trial-form-paper .form-hint {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
  text-align: center;
}
.trial-form {
  display: grid;
  gap: 16px;
}
.trial-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.trial-form .req {
  font-size: 12px;
  font-weight: 700;
  color: var(--vermilion);
  margin-left: 8px;
}
.trial-form input,
.trial-form select {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(70, 60, 49, 0.2);
  border-radius: 2px;
  padding: 16px 16px;
  min-height: 48px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.trial-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23463C31' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}
.trial-form input:focus,
.trial-form select:focus {
  outline: 2px solid rgba(180, 70, 27, 0.35);
  outline-offset: 1px;
}
.trial-form .form-actions {
  text-align: center;
  margin-top: 8px;
}
.trial-form .btn-blob {
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.trial-form .demo-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
.trial-phone {
  text-align: center;
  font-size: 14px;
  margin-bottom: 8px;
}

/* —— Access —— */
.access-map {
  max-width: 520px;
  margin-bottom: 32px;
}
.access-map svg {
  width: 100%;
  height: auto;
  display: block;
}
.access-steps {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin-bottom: 32px;
}
.access-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 15px;
}
.access-step .n {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}
.access-close {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 420px;
}
.access-close img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(70, 60, 49, 0.15);
  flex-shrink: 0;
}
.access-close p {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
}

/* —— Footer —— */
.site-footer {
  background: var(--paper);
  padding: 40px 16px 32px;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(70, 60, 49, 0.08);
}
.site-footer .footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}
.site-footer a { color: var(--ink); }
.site-footer .note {
  margin-top: 16px;
  color: var(--muted);
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-bar { display: none; }
  .header-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .section { padding: 96px 0; }
  .section-trial { padding: 96px 0; }
  #faq.section { padding-bottom: 0; }
  #faq .wrap { padding-bottom: 96px; }
  .fv { padding: 24px 0 40px; }
  .fv-quote { font-size: 26px; }
  .fv-sheet { max-width: 800px; padding: 16px 40px 48px 16px; }
  .fv-palette { aspect-ratio: 16 / 9.5; max-width: 760px; }
  .fv-text-panel { width: min(66%, 520px); padding: 24px 40px 24px 16px; }
  .btn-palette-cta { width: 124px; height: 124px; font-size: 14px; right: -1%; bottom: -5%; }
  .promises { padding: 64px 0 72px; }
  .clothesline-items {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
  }
  .promise-card { width: 180px; flex-shrink: 0; }
  .hanging-art { width: 80px; flex-shrink: 0; margin-top: 24px; }
  .lesson-stroke {
    display: block;
    position: absolute;
    left: -40px;
    top: 40px;
    bottom: 40px;
    width: 24px;
    z-index: 0;
  }
  .lesson-stroke svg { height: 100%; width: 24px; }
  .lesson-step {
    grid-template-columns: 1fr 1.05fr;
    gap: 32px;
    align-items: center;
    padding-left: 16px;
  }
  .lesson-step.n2,
  .lesson-step.n4 {
    grid-template-columns: 1.05fr 1fr;
  }
  .lesson-step.n2 .lesson-text,
  .lesson-step.n4 .lesson-text { order: 2; }
  .lesson-frame { max-width: none; }
  .works-fridge { min-height: 640px; }
  .w1 { width: 28%; }
  .w2 { width: 24%; }
  .w3 { width: 26%; }
  .w4 { width: 22%; }
  .w5 { width: 25%; }
  .w6 { width: 20%; }
  .teacher {
    grid-template-columns: 260px 1fr;
    gap: 48px;
  }
  .teacher-profile { text-align: left; }
  .teacher-frame { margin-left: 0; }
  .teacher-bio { margin-left: 0; }
  .timetable {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .price-hero .num { font-size: 36px; }
  .faq-photos img {
    width: 100px;
    height: 75px;
  }
  .trial-steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .torn { height: 36px; }
  .torn svg { height: 36px; }
}

@media (max-width: 767px) {
  .fv-quote { font-size: 18px; }
  .fv-facts { font-size: 12px; }
  .fv-text-panel {
    width: min(80%, 320px);
    padding: 16px 24px 16px 8px;
    top: 8%;
    bottom: 16%;
  }
  .btn-palette-cta {
    width: 96px;
    height: 96px;
    font-size: 12px;
    right: -4%;
    bottom: -8%;
  }
  .works-fridge {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 16px 8px 32px;
  }
  .works-fridge figure {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    /* transform:none / width:100%! は付けない（.w1〜.w6 の回転と幅を生かす） */
  }
  .works-fridge figcaption {
    padding: 16px 8px 8px;
    line-height: 1.55;
    position: relative;
    z-index: 1;
  }
  .works-fridge .magnet {
    z-index: 2;
  }
  /* 2・2・2：空きマスなし。回転と軽い重なり。わたしは幅55% */
  .w1 { width: 46%; transform: rotate(-3deg); margin: 0 1% -8px 2%; }
  .w2 { width: 44%; transform: rotate(4deg); margin: 8px 2% -6px 1%; }
  .w3 { width: 45%; transform: rotate(-4deg); margin: -4px 1% -10px 2%; }
  .w4 { width: 43%; transform: rotate(5deg); margin: 0 2% -8px 1%; }
  .w5 { width: 45%; transform: rotate(-2deg); margin: -6px 1% 0 2%; }
  .w6 { width: 55%; transform: rotate(3deg); margin: -4px auto 0; }
}

/* Production corrections to the approved E3b composition. */
.nowrap { display:inline-block; white-space:nowrap; }
.reveal.is-visible { opacity:1; transform:none; }
:focus-visible { outline:2px solid var(--ink); outline-offset:4px; }
.skip-link { position:absolute; left:8px; top:-80px; z-index:200; padding:8px 16px; background:white; }
.skip-link:focus { top:8px; }
.header-inner { flex-wrap:wrap; }
.header-nav { display:flex; gap:16px; }
.header-nav a { display:inline-flex; align-items:center; min-height:44px; }
.fv-text-panel { width:58%; left:3%; padding:16px 8px; background:linear-gradient(90deg,#FAF6ED 0%,rgba(250,246,237,.98) 78%,rgba(250,246,237,0) 100%); }
.fv-quote { font-size:24px; }
.fv-facts { max-width:280px; }
.fv-sheet { padding-bottom:24px; }
.fv-promise { margin:40px 0 0; text-align:center; font-size:13px; color:var(--ink); position:relative; }
.works-fridge { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:48px 32px; min-height:0; padding:24px 24px 32px; }
.works-fridge figure { position:relative; top:auto!important; left:auto!important; right:auto!important; width:100%; margin:0; }
.works-fridge img { height:auto; aspect-ratio:3/4; }
.works-fridge figcaption { padding:8px 0; font-size:14px; color:var(--ink); }
.water-ripple, .water-ripple svg { height:80px; }
.trial-form .req { color:var(--ink); }
.trial-form input::placeholder { color:var(--muted); opacity:1; }
.trial-form input, .trial-form select { min-width:0; }
.trial-form .btn-blob { cursor:not-allowed; opacity:1; }
.subpage-title { font-family:var(--font-head); font-size:32px; line-height:1.5; margin:24px 0; }
.page-links { display:flex; flex-wrap:wrap; gap:16px; margin-top:24px; }
.page-links a { padding:8px 0; min-height:44px; }
.class-details { margin-top:32px; }
.class-details h2 { font-family:var(--font-head); font-size:26px; margin-bottom:16px; }
.class-details p { margin-bottom:16px; }
.classroom-photo { margin-top:24px; width:520px; aspect-ratio:3/2; object-fit:cover; border-radius:12px; }
@media(min-width:768px) { .site-header { position:sticky; top:0; z-index:50; } body.admin-bar .site-header { top:32px; } [id] { scroll-margin-top:112px; } }
@media(max-width:900px) and (min-width:768px) { .clothesline-items { flex-wrap:wrap; justify-content:center; } }
@media(max-width:767px) {
 .header-inner { padding:8px 16px; gap:8px; }
 .header-nav { font-size:13px; gap:16px; }
 .wrap,.wrap-wide { padding:0 16px; }
 .fv-sheet { padding:8px 24px 24px 16px; }
 .fv-text-panel { width:60%; padding:8px; top:8%; bottom:8%; }
 .fv-quote { font-size:clamp(14px,4.1vw,18px); }
 .fv-attr { font-size:12px; margin-bottom:8px; }
 .fv-facts { font-size:12px; line-height:1.6; max-width:176px; }
 .fv-palette { aspect-ratio:1.5; }
 .fv-promise { margin-top:40px; font-size:12px; }
 .works-fridge { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 16px; padding:16px 8px 24px; }
 .price-hero .num { font-size:24px; }
 .price-table th,.price-table td { padding:16px 8px; }
 .bottom-bar { padding:8px; }
 [id] { scroll-margin-top:16px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }
/* Natural sizing prevents intrinsic image widths from stretching grid tracks. */
.lesson-step { grid-template-columns:minmax(0,1fr); }
.lesson-text,.lesson-frame,.teacher-profile,.teacher-qa { min-width:0; }
@media(min-width:768px) { .lesson-step { grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); } .lesson-step.n2,.lesson-step.n4 { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); } }
