/* ============================================================
   LinPlan — shared base stylesheet (component library)
   全ページ共通。各ページの <head> で theme.css の前に読み込む。
   ページ固有のCSSは各HTMLのインライン<style>に残す。
   ============================================================ */

/* ============================================================
   LinPlan リニューアル — V4「スクラップブック」デザインシステム
   vanilla CSS / レスポンシブ / 公開用
   ============================================================ */

:root {
  --ink:        #1F2838;
  --ink-soft:   #56607A;
  --ink-faint:  #828A9C;
  --paper:      #FDFBF5;
  --paper2:     #EFE7D5;
  --white:      #FFFFFF;
  --line:       #E4D9C2;

  --orange:     #B6926A;
  --orange-deep:#8C6A3F;
  --orange-soft:#ECDFCD;
  --on-accent:  #1F2838;
  --yellow:     #B6926A;
  --yellow-soft:#ECDFCD;
  --teal:       #6B6A40;
  --teal-soft:  #E6E3CF;

  --font:   'Zen Kaku Gothic New', "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  --hand:   'Klee One', 'Zen Kaku Gothic New', sans-serif;
  --en:     'Zen Kaku Gothic New', system-ui, sans-serif;
  --ease:   cubic-bezier(.2,.8,.2,1);
  --container: 1120px;
}

* , *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  color: var(--ink);
  background-color: #F0E9DA;
  background-image: radial-gradient(rgba(86,71,48,.16) 1.5px, transparent 1.5px);
  background-size: 23px 23px;
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: var(--on-accent); }

.hand { font-family: var(--hand); }
.en   { font-family: var(--en); letter-spacing: .02em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.tcenter { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--hand); font-weight: 600; cursor: pointer; border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  background: var(--orange); color: var(--on-accent); font-size: 1.05rem;
  padding: 15px 34px; border-radius: 100px; transform: rotate(-1.5deg);
  box-shadow: 0 10px 24px rgba(162,58,38,.32);
}
.btn--primary:hover { transform: rotate(-1.5deg) translateY(-3px); color: var(--on-accent); }
.btn--ink {
  background: var(--ink); color: #fff; font-size: 1rem;
  padding: 15px 34px; border-radius: 100px; box-shadow: 0 10px 22px rgba(44,39,34,.22);
}
.btn--ink:hover { color: #fff; }
.btn--white {
  background: #fff; color: var(--orange-deep); font-size: 1.05rem;
  padding: 15px 36px; border-radius: 100px; box-shadow: 0 10px 24px rgba(44,39,34,.2);
}
.btn--ghost {
  background: transparent; color: var(--ink); font-weight: 600;
  border-bottom: 2px solid var(--ink); padding-bottom: 3px; border-radius: 0;
}
.btn--ghost:hover { transform: translateY(-1px); color: var(--orange-deep); border-color: var(--orange-deep); }

/* ---------- decorations ---------- */
.blob { position: absolute; z-index: 0; pointer-events: none; }
.float-a { animation: floatA 9s ease-in-out infinite; }
.float-b { animation: floatB 11s ease-in-out infinite; }
.float-c { animation: floatC 13s ease-in-out infinite; }
.bob     { animation: bob 4.5s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translate(0,0) rotate(-3deg)} 50%{transform:translate(14px,-20px) rotate(2deg)} }
@keyframes floatB { 0%,100%{transform:translate(0,0) rotate(4deg)} 50%{transform:translate(-16px,16px) rotate(-2deg)} }
@keyframes floatC { 0%,100%{transform:translate(0,0) rotate(-2deg)} 50%{transform:translate(18px,12px) rotate(3deg)} }
@keyframes bob    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

.tape {
  position: absolute; width: 84px; height: 26px; z-index: 3;
  background: rgba(107,106,64,.45); box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.tape--yellow { background: rgba(182,146,106,.6); }

/* ---------- nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-nav.scrolled { background: rgba(251,248,241,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-nav__logo, .site-nav__links { display: none; }
.site-nav__inner { max-width: var(--container); margin: 0 auto; padding: 0 28px; height: 76px;
  display: flex; align-items: center; justify-content: space-between; }
.site-nav__logo { font-family: var(--en); font-size: 1.4rem; font-weight: 700; display:inline-flex; align-items:center; gap:9px; }
.lp-logo-mark{flex:0 0 auto;display:block}
.lp-logo-type{font-family:var(--hand);font-weight:600;line-height:1;position:relative;display:inline-block;padding-bottom:3px}.lp-logo-type::after{content:"";position:absolute;left:-2px;right:-2px;bottom:-4px;height:7px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 16' preserveAspectRatio='none'%3E%3Cpath d='M5 10C55 4 130 14 215 7' fill='none' stroke='%23B6926A' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%}
.site-nav__logo b { color: var(--orange); font-weight: 700; }
.site-nav__links { display: flex; align-items: center; gap: 26px; }
.site-nav__links a { font-family: var(--hand); font-size: .95rem; color: var(--ink); position: relative; }
.site-nav__links a:not(.btn)::after { content:''; position:absolute; left:0; bottom:-4px; width:100%; height:2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.site-nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav__cta { background: var(--orange); color: var(--on-accent) !important; font-family: var(--hand); font-weight: 600;
  font-size: .9rem; padding: 9px 20px; border-radius: 100px; transform: rotate(-2deg);
  box-shadow: 0 5px 14px rgba(162,58,38,.32); transition: transform .25s var(--ease); }
.site-nav__cta:hover { transform: rotate(-2deg) translateY(-2px); }
.site-nav__cta::after { display: none; }
.hamburger { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch;
  width: 52px; height: 44px; padding: 12px; position: relative; z-index: 160; cursor: pointer;
  background: none; border: none; box-shadow: none; pointer-events: auto; opacity: .6;
  transition: opacity .3s var(--ease), transform .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.hamburger:hover { opacity: 1; transform: scale(1.08) rotate(-2deg); }
.hamburger span { display: block; position: relative; width: 100%; height: 6px; border-radius: 3px;
  background-color: transparent; background-repeat: repeat-x; background-position: 0 50%; background-size: 20px 6px;
  transition: transform .4s var(--ease), opacity .25s var(--ease), background-color .25s; }
.hamburger span:nth-child(1){ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q2.5 1 5 3 T10 3 T15 3 T20 3' fill='none' stroke='%231F2838' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); animation: hamWave 3.2s linear infinite; }
.hamburger span:nth-child(2){ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q2.5 1 5 3 T10 3 T15 3 T20 3' fill='none' stroke='%23F07C33' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); animation: hamWave 3.8s linear infinite .35s; }
.hamburger span:nth-child(3){ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q2.5 1 5 3 T10 3 T15 3 T20 3' fill='none' stroke='%231F2838' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); animation: hamWave 3.5s linear infinite .18s; }
@keyframes hamWave { from { background-position-x: 0; } to { background-position-x: -20px; } }
.hamburger.open { transform: none; opacity: 1; }
.hamburger.open span { animation: none; background-image: none; background-color: var(--ink);
  height: 2.5px; position: absolute; left: 12px; right: 12px; top: 50%; margin-top: -1.25px; }
.hamburger.open span:nth-child(1){ transform: rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .hamburger span { animation: none; } }
.mobile-menu { position: fixed; inset: 0; background: rgba(251,248,241,.98); backdrop-filter: blur(10px);
  z-index: 150; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: var(--hand); font-size: 1.3rem; color: var(--ink); }
.mobile-menu__close { position: absolute; top: 18px; right: 20px; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center; font-family: var(--hand); font-weight: 600;
  font-size: 1.9rem; line-height: 1; color: var(--ink-soft); background: none; border: none; padding: 0;
  cursor: pointer; opacity: .5; -webkit-tap-highlight-color: transparent;
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
  animation: closeWobble 4s var(--ease) infinite; }
.mobile-menu__close:hover { opacity: 1; transform: scale(1.12) rotate(90deg); color: var(--orange-deep); }
@keyframes closeWobble { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@media (prefers-reduced-motion: reduce) { .mobile-menu__close { animation: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 96px; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__badge { align-self: flex-start; margin-left: clamp(0px, 17vw, 190px); background: var(--yellow); color: var(--ink);
  font-family: var(--hand); font-size: .95rem; font-weight: 600; padding: 5px 16px; transform: rotate(-2.5deg);
  box-shadow: 0 3px 8px rgba(0,0,0,.1); margin-bottom: 24px; }
.hero__title { font-family: var(--hand); font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 600; line-height: 1.32; margin: 0; }
.mark { position: relative; display: inline-block; }
.hero__sub { font-size: 1.05rem; color: var(--ink-soft); margin-top: 28px; line-height: 2; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.hero__note { font-family: var(--hand); display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--teal); }
.hero__maker { font-family: var(--hand); display: inline-flex; align-items: center; gap: 14px; margin-top: 46px;
  background: #fff; padding: 10px 22px 10px 12px; transform: rotate(-1deg); box-shadow: 0 8px 20px rgba(44,39,34,.12); }
.hero__maker span { font-size: .92rem; color: var(--ink); }

/* ---------- section ---------- */
.section { padding: 90px 0; position: relative; }
.section--white { background: #fff; }
.section--paper { background: var(--paper); }
.section__head { text-align: center; margin-bottom: 52px; position: relative; }
.eyebrow { font-family: var(--en); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.section__head h2 { font-family: var(--hand); font-size: clamp(1.7rem, 3.4vw, 2.1rem); font-weight: 600; margin: 10px 0 0; }
.section__desc { color: var(--ink-soft); font-size: .95rem; line-height: 2; max-width: 560px; margin: 16px auto 0; }

/* ---------- service map ---------- */
.svc-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.svc-card { flex: 1 1 240px; max-width: 280px; text-align: center; border-radius: 18px; padding: 30px 24px;
  box-shadow: 0 6px 16px rgba(44,39,34,.08); transition: transform .35s var(--ease), box-shadow .35s; }
.svc-card:hover { transform: translateY(-6px) rotate(0deg); box-shadow: 0 14px 30px rgba(44,39,34,.12); }
.svc-card:nth-child(1){ background: var(--orange-soft); transform: rotate(-2deg); }
.svc-card:nth-child(3){ background: var(--teal-soft); transform: rotate(1deg); }
.svc-card:nth-child(5){ background: var(--yellow-soft); transform: rotate(-1deg); }
.svc-card h3 { font-family: var(--hand); font-size: 1.15rem; font-weight: 600; margin: 14px 0 6px; }
.svc-card p { font-size: .85rem; color: var(--ink-soft); line-height: 1.85; }
.svc-note { font-family: var(--hand); text-align: center; margin-top: 38px; font-size: 1rem; color: var(--ink-soft); }

/* ---------- browser frame ---------- */
.browser { border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 10px 30px rgba(44,39,34,.13), 0 2px 6px rgba(44,39,34,.08); }
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 5px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 9px; display: block; }
.browser__url { font-family: var(--en); margin-left: 6px; flex: 1; font-size: .7rem; color: var(--ink-faint);
  background: var(--paper2); border-radius: 20px; padding: 3px 12px; }
.browser__shot { height: 188px; overflow: hidden; }
.browser__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- works polaroid ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.polaroid { position: relative; background: #fff; padding: 14px 14px 18px; box-shadow: 0 10px 26px rgba(44,39,34,.14);
  transition: transform .35s var(--ease), box-shadow .35s; }
.polaroid:nth-child(3n+1){ transform: rotate(-2.5deg); }
.polaroid:nth-child(3n+2){ transform: rotate(1.5deg); }
.polaroid:nth-child(3n+3){ transform: rotate(-1.5deg); }
.polaroid:hover { transform: translateY(-6px) rotate(0deg); box-shadow: 0 18px 38px rgba(44,39,34,.2); z-index: 4; }
.polaroid__shot { border-radius: 4px; overflow: hidden; height: 168px; }
.polaroid__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.polaroid__name { font-family: var(--hand); text-align: center; margin-top: 14px; font-size: 1rem; }
.polaroid__name a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color .25s, border-color .25s; }
.polaroid__name a:hover { color: var(--orange); border-color: var(--orange); }
.polaroid__tags { display: flex; justify-content: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.polaroid__tags span { font-size: .72rem; color: var(--ink-soft); background: var(--paper2); padding: 2px 9px; border-radius: 100px; }
.works-group { margin-bottom: 64px; }
.works-group:last-child { margin-bottom: 0; }
.works-group__head { text-align: center; margin-bottom: 36px; }
.works-group__head h3 { font-family: var(--hand); font-size: 1.4rem; font-weight: 600; }
.works-group__head p { font-size: .9rem; color: var(--ink-soft); max-width: 620px; margin: 10px auto 0; line-height: 1.9; }
.works-soon { text-align: center; background: #fff; border: 2px dashed var(--line); border-radius: 18px; padding: 52px 24px; }
.works-soon b { font-family: var(--hand); font-size: 1.5rem; display: block; color: var(--orange); }
.works-soon p { color: var(--ink-soft); font-size: .9rem; margin: 8px 0 22px; }

/* ---------- problem list ---------- */
.problem-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.problem-item { background: #fff; border-radius: 16px; padding: 28px 30px; position: relative;
  box-shadow: 0 4px 14px rgba(44,39,34,.05); }
.problem-item__n { font-family: var(--en); font-weight: 700; font-size: 1.5rem; color: var(--orange); opacity: .85; }
.problem-item h3 { font-family: var(--hand); font-size: 1.12rem; font-weight: 600; margin: 6px 0 10px; }
.problem-item p { font-size: .88rem; color: var(--ink-soft); line-height: 1.9; }

/* ---------- numbers ---------- */
.numbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 56px; }
.number b { font-family: var(--en); font-size: 3.2rem; font-weight: 700; color: var(--orange); line-height: 1; }
.number span { display: block; font-family: var(--hand); font-size: .95rem; color: var(--ink-soft); margin-top: 10px; }

/* ---------- whyus ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 4px 14px rgba(44,39,34,.05); }
.why-card__n { font-family: var(--en); font-weight: 700; color: var(--teal); font-size: .85rem; letter-spacing: .1em; }
.why-card h3 { font-family: var(--hand); font-size: 1.15rem; font-weight: 600; margin: 8px 0 10px; }
.why-card p { font-size: .88rem; color: var(--ink-soft); line-height: 1.9; }

/* ---------- comparison ---------- */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(44,39,34,.07); font-size: .9rem; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--hand); font-weight: 600; background: var(--paper); }
.cmp thead th.is-lp { background: var(--orange); color: var(--on-accent); }
.cmp td.is-lp { background: var(--orange-soft); font-weight: 500; }
.cmp tr:last-child td { border-bottom: none; }
.cmp .row-h { font-weight: 600; font-family: var(--hand); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { background: #fff; border-radius: 20px; padding: 36px 30px; box-shadow: 0 8px 24px rgba(44,39,34,.08);
  position: relative; transition: transform .35s var(--ease); }
.price-card:hover { transform: translateY(-6px); }
.price-card.is-popular { border: 2.5px solid var(--orange); }
.price-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--orange); color: var(--on-accent); font-family: var(--hand); font-weight: 600; font-size: .82rem; padding: 4px 16px; border-radius: 100px; }
.price-card h3 { font-family: var(--hand); font-size: 1.3rem; font-weight: 600; }
.price-card__old { color: var(--ink-faint); text-decoration: line-through; font-size: .9rem; margin-top: 14px; }
.price-card__now { font-family: var(--en); font-size: 2.2rem; font-weight: 700; color: var(--orange); }
.price-card__now small { font-size: .9rem; color: var(--ink-soft); font-family: var(--font); }
.price-card__term { font-size: .85rem; color: var(--ink-soft); margin: 6px 0 18px; }
.price-card ul { list-style: none; }
.price-card li { font-size: .85rem; color: var(--ink-soft); padding: 7px 0 7px 26px; position: relative; line-height: 1.7; }
.price-card li::before { content: ''; position: absolute; left: 0; top: 13px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 4px 14px rgba(44,39,34,.05); position: relative; }
.step__n { font-family: var(--en); font-weight: 700; font-size: 1rem; color: var(--on-accent); background: var(--orange);
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: rotate(-4deg); }
.step h3 { font-family: var(--hand); font-size: 1.1rem; font-weight: 600; margin: 16px 0 8px; }
.step p { font-size: .86rem; color: var(--ink-soft); line-height: 1.9; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 14px; margin-bottom: 14px; box-shadow: 0 3px 12px rgba(44,39,34,.05); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer;
  font-family: var(--hand); font-weight: 600; font-size: 1rem; }
.faq-q::after { content: '+'; font-family: var(--en); font-size: 1.5rem; color: var(--orange); transition: transform .3s var(--ease); flex: 0 0 auto; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a div { padding: 0 26px 24px; font-size: .9rem; color: var(--ink-soft); line-height: 2; }

/* ---------- CTA ---------- */
.cta-band { padding: 60px 0 90px; }
.cta-box { background: var(--orange); border-radius: 26px; padding: 64px 48px; text-align: center; position: relative;
  overflow: hidden; transform: rotate(-.6deg); box-shadow: 0 16px 40px rgba(162,58,38,.3); }
.cta-box h2 { font-family: var(--hand); font-size: clamp(1.8rem, 3.6vw, 2.3rem); font-weight: 600; color: var(--on-accent); margin: 0; position: relative; }
.cta-box p { font-size: .95rem; color: color-mix(in srgb, var(--on-accent) 88%, transparent); margin-top: 14px; position: relative; }
.cta-box .btn { margin-top: 28px; position: relative; }

/* ---------- footer ---------- */
.site-footer { background: var(--yellow); margin: 0 12px 12px; border-radius: 16px; padding: 56px 40px 40px; text-align: center; position: relative; overflow: hidden; }
.site-footer__logo { font-family: var(--en); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; display:flex; flex-direction:column; align-items:center; gap:9px; }
.site-footer__logo span{font-family:var(--hand);font-weight:600}
.site-footer__tag { font-family: var(--hand); color: rgba(44,39,34,.7); margin-bottom: 24px; }
.site-footer__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-bottom: 22px; }
.site-footer__nav a { font-size: .85rem; color: rgba(44,39,34,.72); }
.site-footer__nav a:hover { color: var(--ink); }
.site-footer__meta { font-size: .78rem; color: rgba(44,39,34,.55); }
.site-footer__copy { font-family: var(--en); font-size: .72rem; color: rgba(44,39,34,.5); margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(44,39,34,.15); }

/* ---------- fab ---------- */
.fab { position: fixed; bottom: 26px; right: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--on-accent); font-family: var(--hand); font-weight: 600; font-size: .9rem;
  padding: 13px 24px; border-radius: 100px; box-shadow: 0 8px 22px rgba(162,58,38,.4); transform: rotate(-2deg);
  transition: transform .25s var(--ease); }
.fab:hover { transform: rotate(-2deg) translateY(-3px); }
@media (max-width:920px){
  .fab{opacity:0;visibility:hidden;transform:translateY(22px) rotate(-2deg);transition:opacity .4s var(--ease),transform .4s var(--ease),visibility .4s;}
  .fab.is-revealed{opacity:1;visibility:visible;transform:rotate(-2deg);}
  .fab.is-revealed:hover{transform:rotate(-2deg) translateY(-3px);}
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .site-nav__links { display: none; }
  .hamburger { display: flex; }
  .works-grid, .why-grid, .steps, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .hero { padding: 124px 0 72px; }
  .hero__badge { margin-left: 0; align-self: center; }
  .works-grid, .why-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .numbers { gap: 32px; }
  .cmp { font-size: .78rem; }
  .cmp th, .cmp td { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b, .float-c, .bob { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   下層ページ共通パーツ
   ============================================================ */
/* ---- page hero ---- */
.phero { position: relative; padding: 138px 0 60px; overflow: hidden; text-align: center; }
.phero .eyebrow { display: block; margin-bottom: 12px; }
.phero h1 { font-family: var(--hand); font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 600; line-height: 1.3; }
.phero p { color: var(--ink-soft); font-size: 1rem; margin: 18px auto 0; max-width: 600px; line-height: 2; }

/* ---- prose (privacy / updates) ---- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--hand); font-size: 1.3rem; font-weight: 600; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: .92rem; line-height: 2; }
.prose ul { padding-left: 22px; margin: 8px 0; }
.prose a { color: var(--orange-deep); border-bottom: 1px solid currentColor; }

/* ---- profile (about) ---- */
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.profile__photo { position: relative; background: #fff; padding: 16px 16px 44px; transform: rotate(-3deg);
  box-shadow: 0 14px 34px rgba(44,39,34,.16); }
.profile__photo .ph-img { aspect-ratio: 1; border-radius: 6px; background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center; }
.profile__photo figcaption { font-family: var(--hand); text-align: center; margin-top: 14px; font-size: 1rem; }
.profile h2 { font-family: var(--hand); font-size: 1.6rem; font-weight: 600; line-height: 1.5; }
.profile p { color: var(--ink-soft); font-size: .95rem; line-height: 2.1; margin-top: 14px; }

/* ---- value / statement cards ---- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card { background: #fff; border-radius: 16px; padding: 28px 30px; box-shadow: 0 4px 14px rgba(44,39,34,.05); }
.value-card h3 { font-family: var(--hand); font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.value-card h3 b { color: var(--orange); font-family: var(--en); margin-right: 8px; }
.value-card p { color: var(--ink-soft); font-size: .88rem; line-height: 1.95; }

/* ---- feature row (services 詳細) ---- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-bottom: 72px; }
.feature:last-child { margin-bottom: 0; }
.feature--rev .feature__visual { order: 2; }
.feature__visual { background: #fff; border-radius: 20px; padding: 40px; text-align: center; position: relative;
  box-shadow: 0 10px 30px rgba(44,39,34,.08); transform: rotate(-1.2deg); }
.feature--rev .feature__visual { transform: rotate(1.2deg); }
.feature__tag { display: inline-flex; align-items: center; background: var(--orange-soft); color: var(--orange-deep);
  font-family: var(--en); font-weight: 700; font-size: .7rem; letter-spacing: .16em; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.feature h2 { font-family: var(--hand); font-size: 1.6rem; font-weight: 600; line-height: 1.5; }
.feature p { color: var(--ink-soft); font-size: .95rem; line-height: 2.05; margin-top: 14px; }
.feature ul { list-style: none; margin-top: 16px; }
.feature li { font-size: .9rem; color: var(--ink-soft); padding: 5px 0 5px 24px; position: relative; }
.feature li::before { content: ''; position: absolute; left: 0; top: 12px; width: 13px; height: 7px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

/* ---- form ---- */
.form { max-width: 680px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 44px 44px 48px;
  box-shadow: 0 10px 30px rgba(44,39,34,.08); }
.field { margin-bottom: 24px; }
.field > label { display: block; font-family: var(--hand); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.field .req { color: var(--orange); font-size: .78rem; margin-left: 6px; }
.field input[type=text], .field input[type=email], .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 16px; transition: border-color .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; font-size: .88rem; padding: 9px 18px; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--paper); transition: .2s; }
.chips input:checked + span { background: var(--orange); color: var(--on-accent); border-color: var(--orange); }
.form__note { font-size: .82rem; color: var(--ink-soft); text-align: center; margin-top: 18px; }

/* ---- updates list ---- */
.update-item { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.update-item time { font-family: var(--en); font-size: .82rem; color: var(--ink-faint); flex: 0 0 96px; padding-top: 3px; }
.update-item__cat { display: inline-block; font-family: var(--hand); font-size: .72rem; background: var(--teal-soft);
  color: var(--teal); padding: 2px 12px; border-radius: 100px; margin-bottom: 6px; }
.update-item h3 { font-family: var(--hand); font-size: 1.05rem; font-weight: 600; }
.update-item p { font-size: .88rem; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 820px) {
  .profile { grid-template-columns: 1fr; gap: 32px; justify-items: center; text-align: center; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature--rev .feature__visual { order: 0; }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .form { padding: 30px 22px 34px; }
  .update-item { flex-direction: column; gap: 6px; }
}

