/* DigiForest — 共通スタイル */
:root {
  --bg: #ffffff;
  --soft: #f3f7ee;
  --cream: #fff8ec;
  --ink: #2b2f2a;
  --sub: #555b54;
  --matcha: #4f7d33;
  --matcha-d: #3d6326;
  --orange: #d9702a;
  --orange-d: #b85a1c;
  --line: #e2e8dc;
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--matcha-d); }
h1, h2, h3 { font-family: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif; line-height: 1.45; word-break: auto-phrase; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.nb { display: inline-block; }
.sp-only { display: none; }
@media (max-width: 760px) { .sp-only { display: inline; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { text-decoration: none; color: var(--matcha); line-height: 1.2; }
.logo b { display: block; font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 24px; }
.logo small { display: block; font-size: 11px; color: var(--sub); }
.gnav ul { display: flex; gap: 22px; list-style: none; font-size: 14px; font-weight: 500; }
.gnav a { color: var(--ink); text-decoration: none; }
.gnav a:hover { color: var(--matcha); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-align: center; text-decoration: none; font-weight: 700;
  background: var(--orange); color: #fff; padding: 14px 30px; border-radius: 999px;
  box-shadow: 0 4px 0 var(--orange-d); transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-d); }
.btn.green { background: var(--matcha); box-shadow: 0 4px 0 var(--matcha-d); }
.btn.green:hover { box-shadow: 0 2px 0 var(--matcha-d); }
.btn.white { background: #fff; color: var(--orange-d); box-shadow: 0 4px 0 #f1c39f; }
.btn.small { padding: 9px 18px; font-size: 14px; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.bg-soft { background: var(--soft); }
.bg-cream { background: var(--cream); }
.sec-title { font-weight: 900; font-size: clamp(25px, 3.2vw, 36px); text-align: center; margin-bottom: 10px; }
.sec-lead { text-align: center; color: var(--sub); margin: 0 auto 44px; max-width: 40em; }

/* ---------- hero ---------- */
.hero { background: var(--cream); padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.badge { display: inline-block; background: #fff; border: 2px solid var(--matcha); color: var(--matcha-d); border-radius: 999px; padding: 4px 16px; font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.hero h1 { font-weight: 900; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.4; margin-bottom: 22px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, #ffd9a8 62%); }
.hero .lead { color: var(--sub); margin-bottom: 32px; }
.cta-row { display: flex; gap: 14px 16px; flex-wrap: wrap; }
.hero-img { border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 20px 40px rgba(60, 80, 40, .15); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 75%; }

/* ---------- worries ---------- */
.checks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.checks li { background: var(--soft); border-radius: 20px; padding: 20px 20px 20px 56px; position: relative; font-weight: 500; font-size: 15px; }
.checks li::before { content: "✓"; position: absolute; left: 20px; top: 21px; width: 24px; height: 24px; border-radius: 50%; background: var(--matcha); color: #fff; font-size: 13px; display: grid; place-items: center; line-height: 1; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (min-width: 761px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
.card { background: #fff; border: 2px solid var(--line); border-radius: 28px; padding: 30px 28px; }
.card .icon { width: 60px; height: 60px; border-radius: 18px; background: var(--soft); display: grid; place-items: center; font-size: 28px; margin-bottom: 16px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--sub); font-size: 15px; }

/* ---------- services list ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: #fff; border-radius: 20px; padding: 24px; border: 2px solid var(--line); display: flex; flex-direction: column; }
.service h3 { font-size: 20px; margin-bottom: 4px; }
.service .for { font-size: 13px; color: var(--matcha-d); font-weight: 700; margin-bottom: 10px; }
.service p { color: var(--sub); font-size: 15px; flex: 1; }
.service a { margin-top: 14px; font-weight: 700; font-size: 14px; }
.note-small { text-align: center; font-size: 14px; color: var(--sub); margin-top: 24px; }
.agent-note { text-align: center; margin-bottom: 32px; font-weight: 500; }

/* ---------- offer ---------- */
.offer { background: var(--orange); color: #fff; border-radius: 32px; padding: 44px 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.offer h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); font-weight: 900; margin: 8px 0 10px; }
.tag { display: inline-block; background: #fff; color: var(--orange-d); border-radius: 999px; padding: 3px 14px; font-weight: 700; font-size: 14px; }
.offer-sub { margin-top: 16px; background: var(--cream); border: 2px dashed #eeb07c; border-radius: 24px; padding: 22px 28px; }
.offer-sub .tag2 { display: inline-block; background: var(--orange); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.offer-sub p { color: var(--sub); font-size: 15px; }
.offer-sub b { color: var(--ink); }
.offer-sub small { font-size: 12px; }

/* ---------- price ---------- */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; border: 2px solid var(--line); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 500; width: 60%; }
.price-table td { font-weight: 700; color: var(--matcha-d); }
.price-table .group th { background: var(--soft); font-weight: 700; color: var(--ink); font-size: 14px; padding: 10px 20px; }
.price-notes { list-style: none; font-size: 13px; color: var(--sub); margin-top: 16px; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: #fff; border-radius: 20px; padding: 24px 22px; border: 2px solid var(--line); position: relative; }
.steps li::before { counter-increment: step; content: "STEP " counter(step); display: block; font-size: 12px; font-weight: 900; letter-spacing: .1em; color: var(--orange-d); margin-bottom: 6px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--sub); }

/* ---------- profile ---------- */
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.profile .photo { border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: center 25%; border: 8px solid #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.profile h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 900; margin-bottom: 4px; }
.profile .role { color: var(--matcha-d); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 20px; }
.tags li { font-size: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 500; }
.profile p { color: var(--sub); margin-bottom: 14px; }
.profile .links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 700; }
.stamp-peek { display: flex; gap: 8px; margin: 4px 0 16px; text-decoration: none; }
.stamp-peek img { width: 92px; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px; transition: transform .2s; }
.stamp-peek:hover img { transform: translateY(-3px); }

/* ---------- stamp prompt tool (/stamp/) ---------- */
.sp { max-width: 640px; margin: 0 auto; }
.sp-lead { color: var(--sub); }
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 18px; margin-top: 20px; }
.sp-card h2 { font-size: 19px; color: var(--matcha-d); margin-bottom: 10px; }
.sp-step { display: inline-block; background: var(--matcha); color: #fff; border-radius: 999px; font-size: 13px; padding: 1px 10px; margin-right: 6px; vertical-align: 2px; }
.sp label { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 4px; }
.sp label small { font-weight: 400; color: var(--sub); }
.sp input[type=text], .sp select { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.sp input[type=text]:focus, .sp select:focus { outline: 2px solid var(--matcha); border-color: var(--matcha); }
.sp-row { display: grid; gap: 6px; padding: 10px 0; border-top: 1px dashed var(--line); }
.sp-row:first-child { border-top: 0; }
.sp-num { font-size: 13px; color: var(--sub); }
.sp-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sp-btns.center { justify-content: center; margin-top: 24px; }
.sp-btn { display: inline-block; border: 0; border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; background: var(--cream); color: var(--matcha-d); }
.sp-btn.main { background: var(--orange); color: #fff; padding: 12px 28px; }
.sp-btn.copy { background: var(--matcha); color: #fff; padding: 8px 16px; font-size: 14px; }
.sp-btn.copy.done { background: var(--orange); }
.sp-tip { background: var(--cream); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-top: 4px; }
.sp-out { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.sp-out h3 { font-size: 15px; margin-bottom: 6px; }
.sp-out pre { white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 14px; margin: 0 0 10px; background: var(--cream); border-radius: 8px; padding: 10px; }
.sp-hidden { display: none; }
.sp-note { font-size: 13px; color: var(--sub); text-align: center; margin-top: 20px; }
.sp-course { margin-top: 28px; text-align: center; background: var(--cream); border-radius: 20px; padding: 22px 18px; }
.sp-course p { margin-bottom: 12px; }

/* ---------- area ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.area figure img { border-radius: 28px; }
.area figcaption { font-size: 12px; color: var(--sub); margin-top: 8px; }
.area h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 900; margin-bottom: 14px; }
.area p { color: var(--sub); }
.area-list { list-style: none; margin-top: 16px; }
.area-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.area-list b { display: inline-block; min-width: 9em; }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 16px; border: 2px solid var(--line); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--matcha); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; color: var(--sub); }

/* ---------- final ---------- */
.final { text-align: center; }
.final .cta-row { justify-content: center; }
.tel-line { margin-top: 24px; font-weight: 700; }
.tel-line a { font-size: 22px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.review-line { margin-top: 28px; font-size: 14px; }
.review-row { margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d5dad2; padding: 44px 0 36px; font-size: 13px; line-height: 1.8; }
.site-footer a { color: #fff; }
.site-footer .f-logo { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 20px; color: #fff; }
.f-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 14px 0; }
.trademark { opacity: .75; margin-top: 10px; }

/* ---------- sub pages ---------- */
.page-head { background: var(--cream); padding: 56px 0 40px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; }
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--sub); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 8px 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .services, .cards, .checks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 60px 0; }
  .menu-btn { display: block; }
  .gnav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 16px rgba(0, 0, 0, .08); }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .gnav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .header-cta .btn { display: none; }
  .hero { padding: 32px 0 48px; }
  .hero .wrap, .area, .profile, .offer { grid-template-columns: 1fr; }
  .hero-img { order: -1; aspect-ratio: 16 / 10; border-radius: 24px; }
  .checks, .cards, .services, .steps { grid-template-columns: 1fr; }
  .offer { padding: 32px 24px; }
  .profile .photo { max-width: 220px; margin: 0 auto; }
  .price-table th { width: auto; }
  .price-table th, .price-table td { display: block; padding: 10px 16px; }
  .price-table th { border-bottom: 0; padding-bottom: 0; }
  .cta-row .btn { flex: 1 1 100%; }
}
/* トップの「つくったもの棚」欄 */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; }
.shelf a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 2px solid var(--line); border-radius: 28px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.shelf a:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(60, 80, 40, .12); }
.shelf-pic { aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.shelf-pic > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shelf-pic.stamps { grid-template-columns: 1fr 1fr; gap: 6px; padding: 14px; place-items: stretch; }
.shelf-pic.stamps img { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #fff; border-radius: 12px; }
.shelf-pic .emoji { font-size: 72px; line-height: 1; }
.shelf-body { padding: 18px 22px 22px; }
.shelf-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--matcha-d); background: var(--soft); border-radius: 999px; padding: 2px 10px; }
.shelf h3 { font-size: 19px; margin: 8px 0 6px; }
.shelf p { color: var(--sub); font-size: 14px; }
.shelf-more { text-align: center; margin-top: 32px; }
.shelf-note { text-align: center; color: var(--sub); font-size: 14px; margin-top: 10px; }
@media (max-width: 760px) {
  .shelf { grid-template-columns: 1fr; gap: 16px; }
  .shelf a { flex-direction: row; }
  .shelf-pic { aspect-ratio: auto; width: 38%; flex: none; }
  .shelf-pic.stamps { padding: 8px; gap: 4px; }
  .shelf-pic .emoji { font-size: 48px; }
  .shelf-body { padding: 14px 16px; }
  .shelf h3 { font-size: 17px; }
}
