:root {
  --green: #00612c;
  --green-dark: #004a21;
  --green-tint: #e8f2ec;
  --ink: #1b1d1c;
  --ink-2: #2a2d2b;
  --text: #2b2b2b;
  --muted: #5f6661;
  --line: #d9dddb;
  --gray: #f3f4f3;
  --white: #fff;
  --amazon: #ff9900;
  --radius: 4px;
  --radius-sm: 3px;
  --header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.35; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sp { display: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

.section { padding: 96px 0; }
.band-gray { background: var(--gray); }
.band-dark { background: var(--ink); color: #e9ecea; }
.band-dark .section-title { color: var(--white); }
.band-dark .eyebrow { color: #7fc89c; }
.band-dark .note { color: #a9b0ab; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 48px;
  color: var(--ink);
}
.note { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 48px;
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.3;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 14px; white-space: nowrap; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-amazon { background: var(--ink); color: var(--white); white-space: nowrap; }
.btn-amazon:hover { background: #000; color: var(--amazon); }

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 4px solid var(--green);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
/* 原本は文字の上に余白が多いため、下揃えで上側を切り落として上下を均等にする */
.brand img,
.footer-brand img {
  height: 44px;
  width: 148px;
  padding: 7px 6px;
  background: var(--green);
  object-fit: cover;
  object-position: center bottom;
}
.global-nav { display: flex; gap: 28px; margin-left: auto; }
.global-nav a {
  color: #e9ecea;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.global-nav a:hover { color: #7fc89c; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

/* ヒーロー */
.hero { background: linear-gradient(180deg, var(--gray) 0%, var(--white) 100%); padding: 72px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.lead { font-size: 17px; color: var(--text); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero-facts {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-facts strong { display: block; font-size: 26px; font-weight: 900; color: var(--green); line-height: 1.2; }
.hero-facts span { font-size: 13px; color: var(--muted); }
.hero-photo img { border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .35); }

/* 対象 */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #3a3e3b; border: 2px solid #3a3e3b; }
.audience article { background: var(--ink-2); padding: 32px 28px; }
.audience h3 { font-size: 20px; color: var(--white); margin-bottom: 12px; padding-left: 14px; border-left: 4px solid var(--green); }
.audience p { font-size: 15px; color: #c9cfcb; }

/* 特徴 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.feature.reverse figure { order: 2; }
.feature figure img { border-radius: var(--radius); width: 100%; max-width: 600px; }
.feature .figure-plain img { border: 1px solid var(--line); }
.feature-no { display: block; font-size: 48px; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 12px; font-family: "Helvetica Neue", Arial, sans-serif; }
.feature h3 { font-size: clamp(22px, 2.6vw, 28px); color: var(--ink); margin-bottom: 20px; }
.feature .note { margin-top: 16px; padding: 12px 16px; background: var(--gray); border-radius: var(--radius-sm); }

.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.points li { padding: 24px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); font-size: 15px; }
.points strong { display: block; font-size: 18px; color: var(--ink); margin-bottom: 8px; }

.wide-photo { background: var(--ink); }
.wide-photo img { width: 100%; max-width: 1050px; margin: 0 auto; }

/* 使用例 */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 48px; }
.cases figure { max-width: 275px; }
.cases img { border-radius: var(--radius); }
.cases figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.use-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.use-lists h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.use-lists p { font-size: 15px; }
.voices { margin: 0; padding: 32px; background: var(--white); border-left: 6px solid var(--green); border-radius: var(--radius); }
.voices p { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.voices cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--muted); }

/* 仕様 */
.spec { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; margin-bottom: 56px; }
.spec-drawing svg { width: 100%; height: auto; }
.d-body { fill: var(--green-tint); stroke: var(--ink); stroke-width: 2; }
.d-lid { fill: rgba(0, 97, 44, .08); stroke: var(--ink); stroke-width: 1.5; }
.d-label { fill: var(--white); stroke: var(--muted); stroke-width: 1; }
.d-dim { stroke: var(--green); stroke-width: 1.5; }
.d-text { fill: var(--ink); font-size: 15px; font-weight: 700; text-anchor: middle; }
.d-cap { fill: var(--muted); font-size: 13px; text-anchor: middle; }
.spec-table table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.spec-table th, .spec-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 8em; color: var(--muted); font-weight: 600; white-space: nowrap; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 2px solid var(--ink); }
.contents { display: flex; gap: 24px; align-items: flex-end; }
.contents img { width: 260px; border-radius: var(--radius); border: 1px solid var(--line); }
.contents figcaption { font-size: 14px; color: var(--muted); }

/* 価格・注文 */
.order-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.order-way { background: var(--white); padding: 32px; border-radius: var(--radius); border-top: 4px solid var(--green); }
.order-way h3 { font-size: 22px; color: var(--ink); margin-bottom: 12px; }
.fax-number { font-weight: 700; color: var(--ink); }
.fax-number span { font-size: 28px; letter-spacing: .04em; margin-left: .3em; }
.price-table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table caption { text-align: left; font-weight: 700; color: var(--ink); padding: 20px 20px 12px; }
.price-table th, .price-table td { padding: 14px 20px; border-top: 1px solid var(--line); text-align: left; }
.price-table thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--gray); }
.price-table td:first-child { font-family: "Helvetica Neue", Arial, sans-serif; color: var(--muted); }
.price { font-weight: 800; font-size: 18px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table td.price { text-align: right; }
.price-table th.num { text-align: right; }
.price-table .discount { white-space: nowrap; }
.tag { display: inline-block; padding: 1px 8px; font-size: 12px; font-weight: 700; color: var(--white); background: var(--green); border-radius: var(--radius-sm); vertical-align: 2px; }
.fax-only { font-size: 14px; font-weight: 700; color: var(--green); white-space: nowrap; }
.order-notes { margin: 24px 0 0; padding-left: 1.2em; font-size: 14px; color: var(--muted); }

/* 動画 */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 採用実績 */
.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; margin-bottom: 32px; }
.clients h3 { font-size: 16px; color: #7fc89c; margin-bottom: 8px; }
.clients p { font-size: 15px; color: #dfe4e1; line-height: 2; }
.clients > div:nth-child(2) { grid-row: span 2; }

/* Q&A */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 48px 20px 44px;
  font-weight: 700;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 8px; top: 18px; font-size: 20px; font-weight: 900; color: var(--green); font-family: "Helvetica Neue", Arial, sans-serif; }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 16px; font-size: 24px; color: var(--muted); line-height: 1.4; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { padding: 0 16px 0 44px; font-size: 15px; }
.faq details > p:last-child { padding-bottom: 24px; }

/* お知らせ */
.news { margin: 0; display: grid; grid-template-columns: 7em 1fr; }
.news dt, .news dd { padding: 20px 0; border-bottom: 1px solid var(--line); margin: 0; }
.news dt { font-family: "Helvetica Neue", Arial, sans-serif; color: var(--muted); }
.news dd { font-size: 15px; }
.news dd strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* フッター */
.site-footer { background: var(--ink); color: #c9cfcb; padding: 56px 0 32px; font-size: 14px; border-top: 4px solid var(--green); }
.site-footer a { color: #7fc89c; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand img { margin-bottom: 12px; }
.footer-company p { margin-bottom: 4px; }
.footer-label { font-size: 12px; color: #a9b0ab; letter-spacing: .08em; margin-bottom: 2px; }
.footer-name { font-size: 16px; font-weight: 700; }
.footer-name a { color: var(--white); text-decoration: none; }
.site-footer .note { color: #a9b0ab; margin-top: 12px; max-width: 30em; }
.footer-legal { border-top: 1px solid #3a3e3b; padding-top: 24px; font-size: 12px; color: #a9b0ab; }
.copyright { margin-top: 8px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 24px; font-size: 13px; }

/* 下層ページ */
.page-head { background: var(--gray); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-title { font-size: 32px; font-weight: 800; color: var(--ink); }
.page-body { padding-top: 56px; }
.narrow { max-width: 800px; }
.faq-more { margin-top: 32px; font-size: 15px; }

/* お問い合わせ */
.contact-notes { margin: 16px 0 40px; padding-left: 1.2em; font-size: 15px; color: var(--muted); }
.contact-notes li { margin-bottom: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.req { display: inline-block; margin-left: 6px; padding: 0 6px; font-size: 11px; font-weight: 700; color: var(--white); background: var(--green); border-radius: var(--radius-sm); vertical-align: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  border: 1px solid #b9bfbb;
  border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fdf3f2; }
.field-hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.form-foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-note { font-size: 13px; color: var(--muted); }
.btn-submit { margin-top: 20px; min-width: 240px; font-family: inherit; cursor: pointer; }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.form-msg:empty { display: none; }
.form-msg { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius); font-weight: 700; }
.form-msg.error { color: #b3261e; background: #fdf3f2; border: 1px solid #f0c9c5; }
.form-msg.ok { color: var(--green-dark); background: var(--green-tint); border: 1px solid #b9d8c6; }

/* 特定商取引法に基づく表記 */
.lead-note { padding: 16px 20px; background: var(--green-tint); border-radius: var(--radius); font-size: 15px; margin-bottom: 32px; }
.law-table { margin: 0; display: grid; grid-template-columns: 13em 1fr; border-top: 1px solid var(--line); }
.law-table dt,
.law-table dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.law-table dt { font-weight: 700; color: var(--ink); padding-right: 16px; }
.law-table ul { margin: 8px 0 0; padding-left: 1.2em; }
.law-table .note { display: block; margin-top: 4px; }

/* レスポンシブ */
@media (max-width: 1100px) {
  .global-nav { gap: 18px; }
  .global-nav a { font-size: 14px; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .brand img { height: 38px; width: 128px; padding: 6px 5px; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--white); }
  .menu-toggle span:not(.sr-only) { transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { margin-left: auto; }
  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    border-bottom: 4px solid var(--green);
    padding: 8px 24px;
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 14px 0; border-bottom: 1px solid #3a3e3b; font-size: 16px; }
  .global-nav a:last-child { border-bottom: 0; }

  .section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 520px; }
  .audience { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .feature.reverse figure { order: 0; }
  .points { grid-template-columns: 1fr; }
  .use-lists { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; gap: 32px; }
  .spec-drawing { max-width: 360px; }
  .order-ways { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
  .clients > div:nth-child(2) { grid-row: auto; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .sp { display: inline; }
  .section-title { margin-bottom: 32px; }
  .hero-facts strong { font-size: 20px; }
  .cases { grid-template-columns: 1fr 1fr; gap: 12px; }
  .contents { flex-direction: column; align-items: flex-start; }
  .contents img { width: 200px; }
  .order-way { padding: 24px 20px; }
  .news { grid-template-columns: 1fr; }
  .news dt { padding-bottom: 0; border-bottom: 0; }
  .news dd { padding-top: 4px; }
  .faq summary { padding-right: 36px; }
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table tr {
    display: grid;
    grid-template-columns: 6.5rem 1fr auto;
    grid-template-areas: "no no no" "name name name" "price tag btn";
    align-items: center;
    gap: 6px 10px;
    padding: 16px;
    border-top: 1px solid var(--line);
  }
  .price-table td { padding: 0; border: 0; }
  .price-table td:nth-child(1) { grid-area: no; font-size: 13px; }
  .price-table td:nth-child(2) { grid-area: name; }
  .price-table td:nth-child(3) { grid-area: tag; }
  .price-table td.price { grid-area: price; text-align: left; }
  .price-table td:nth-child(5) { grid-area: btn; justify-self: end; }
  .price-table caption { padding: 16px 16px 8px; }
  .page-head { padding: 40px 0 32px; }
  .page-title { font-size: 26px; }
  .field-grid { grid-template-columns: 1fr; gap: 20px; }
  .btn-submit { width: 100%; }
  .law-table { grid-template-columns: 1fr; }
  .law-table dt { padding-bottom: 0; border-bottom: 0; }
  .law-table dd { padding-top: 4px; }
}

@media (max-width: 380px) {
  .header-inner { gap: 12px; }
  .header-cta { gap: 8px; }
  .price-table tr { grid-template-areas: "no no no" "name name name" "price tag tag" "btn btn btn"; }
  .price-table td:nth-child(5) { justify-self: start; }
}

/* 404 */
.notfound-actions { margin-top: 32px; }
