:root {
  --green: #1E4D43;
  --mint: #EEF5F1;
  --yellow: #E9A23B;
  --line: #06C755;
  --ink: #3A3A3A;
  --bg: #FFFFFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, .headline { word-break: auto-phrase; text-wrap: balance; line-break: strict; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.demo-note {
  margin: 0; padding: 8px 16px; text-align: center;
  background: var(--green); color: #fff; font-size: 14px; line-height: 1.6;
}

main { max-width: 560px; margin: 0 auto; background: var(--bg); box-shadow: 0 0 40px rgba(30, 77, 67, .08); }
.part { position: relative; }
.frame { position: relative; line-height: 0; }
.frame img { display: block; width: 100%; height: auto; }
.hit { position: absolute; display: block; border-radius: 12px; }
.hit:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; }

.price-table { padding: 8px 16px 40px; background: #fff; }
.price-title { margin: 0 0 12px; color: var(--green); font-size: 22px; font-weight: 500; }
.price-table table { width: 100%; border-collapse: collapse; font-size: 17px; }
.price-table th, .price-table td { padding: 12px 10px; border-bottom: 1px solid #DDE3E0; text-align: left; vertical-align: middle; }
.price-table th { width: 30%; color: #fff; font-weight: 500; line-height: 1.5; }
.price-table th span { font-size: 14px; opacity: .9; }
.t-ins { background: var(--green); }
.t-self { background: var(--yellow); }
.t-acc { background: #4A4A4A; }
.yen { color: var(--green); font-weight: 500; white-space: nowrap; }
.note { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: #555; }

.contact { padding: 8px 16px 48px; background: var(--mint); display: grid; gap: 12px; }
.btn-line, .btn-tel, .sticky {
  display: flex; align-items: center; justify-content: center; min-height: 56px;
  border-radius: 12px; font-weight: 700; font-size: 19px; text-decoration: none;
}
.btn-line { background: var(--line); color: #fff; box-shadow: 0 3px 0 #04913E; }
.btn-tel { background: #fff; color: var(--green); border: 2px solid var(--green); font-weight: 500; font-size: 17px; }
.btn-line:focus-visible, .btn-tel:focus-visible, .sticky:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; }

.foot { padding: 24px 16px 96px; text-align: center; font-size: 14px; color: var(--green); }
.foot p { margin: 0; }

.sticky {
  position: fixed; left: 50%; bottom: 12px; z-index: 10;
  width: min(528px, calc(100% - 32px)); transform: translate(-50%, 0);
  background: var(--line); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: opacity .3s ease, transform .3s ease;
}
.sticky.is-hidden { opacity: 0; transform: translate(-50%, 16px); pointer-events: none; }

.toast {
  position: fixed; left: 50%; top: 16px; z-index: 20; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 10px;
  background: var(--green); color: #fff; font-size: 16px; line-height: 1.6;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.toast.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky, .toast { transition: none; }
}
