:root {
  color-scheme: light;
  --paper: #fdf8f4;
  --ink: #3d3029;
  --sage: #9aa982;
  --coral: #ee796e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #eeeee7;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

h1, h2, h3, .headline {
  word-break: auto-phrase;
  text-wrap: balance;
  line-break: strict;
}

.lp {
  width: min(100%, 800px);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 16px 52px rgb(52 46 39 / 12%);
}

.panel,
.closing-visual {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.panel > img,
.closing-visual > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.hotspot:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
}

.cta-hotspot {
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-hotspot::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgb(255 255 255 / 0%);
  content: "";
  transition: background 180ms ease;
}

.cta-hotspot:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgb(180 82 66 / 18%);
}

.cta-hotspot:hover::after { background: rgb(255 255 255 / 9%); }

.hotspot--01 { left: 10.5%; top: 85.7%; width: 79%; height: 8%; }
.hotspot--05 { left: 12.5%; top: 89%; width: 75%; height: 6.4%; }
.hotspot--07 { left: 11.5%; top: 88.6%; width: 77%; height: 6.4%; }
.hotspot--08 { left: 11.5%; top: 68.9%; width: 77%; height: 14.8%; }

.plan-hotspot {
  left: 5.5%;
  width: 89%;
  height: 15%;
  border-radius: 20px;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.plan-hotspot:hover {
  background: rgb(255 255 255 / 7%);
  box-shadow: inset 0 0 0 2px rgb(238 121 110 / 35%);
}

.plan-hotspot--one { top: 26.7%; }
.plan-hotspot--two { top: 43%; }
.plan-hotspot--three { top: 59.3%; }

.anchor-target {
  position: absolute;
  top: 76.5%;
  left: 0;
  width: 1px;
  height: 1px;
}

.faq-list {
  display: grid;
  gap: 11px;
  width: 100%;
  padding: 2px 5.8% 11px;
  background: linear-gradient(90deg, #fdf8f4 0%, #faf4ef 49%, #fdf8f4 100%);
  line-height: 1.5;
}

.faq-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ece1d8;
  border-radius: 16px;
  background: rgb(255 255 255 / 93%);
  box-shadow: 0 5px 14px rgb(92 75 62 / 8%);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 8px 17px;
  list-style: none;
  cursor: pointer;
  transition: background 180ms ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover { background: #fffaf6; }
.faq-item summary:focus-visible { outline: 3px solid var(--sage); outline-offset: -3px; }

.faq-q {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #698658;
  background: #eaf0e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.faq-question {
  flex: 1 1 auto;
  min-width: 0;
  color: #302722;
  font-size: clamp(15px, 2.55vw, 20px);
  font-weight: 500;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.faq-icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--coral);
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 10px;
  left: 3px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }

.faq-answer {
  display: flex;
  gap: 8px;
  padding: 0 22px 17px 70px;
  color: #4a3c33;
  font-size: clamp(14px, 2.1vw, 16px);
  line-height: 1.75;
  animation: answer-in 180ms ease-out;
}

.faq-answer strong { color: #718b60; font-weight: 700; }
.faq-answer p { margin: 0; }
.faq-item:not([open]) .faq-answer { display: none; }

@keyframes answer-in {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.visually-hidden {
  position: absolute;
  top: 80px;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  color: #fff;
  background: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

@media (max-width: 800px) {
  body { background: var(--paper); }
  .lp { box-shadow: none; }
  .faq-list { gap: 9px; padding-top: 6px; padding-bottom: 14px; }
  .faq-item summary { gap: 9px; min-height: 62px; padding: 8px 10px; }
  .faq-q { flex-basis: 32px; width: 32px; height: 32px; font-size: 18px; }
  .faq-icon { flex-basis: 18px; width: 18px; }
  .faq-icon::before, .faq-icon::after { left: 2px; width: 14px; }
  .faq-answer { padding: 0 15px 15px 52px; }
  .hotspot--05, .hotspot--07 { top: 88.4%; height: 7.6%; }
  .hotspot--08 { top: 67.6%; height: 17.5%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
