:root {
  --ink: #1c1917;
  --sub: #57534e;
  --line: #e7e5e4;
  --bg: #ffffff;
  --warm: #faf6f0;
  --brand: #ff914d;
  --brand-ink: #b4470c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 17px; line-height: 1.85;
  font-feature-settings: "palt"; letter-spacing: .02em;
  word-break: auto-phrase;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; padding: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1280px; }

/* ボタン：文字はロゴの色の上でも読める濃さに */
.btn {
  display: inline-block; padding: 18px 34px; border-radius: 8px;
  background: var(--brand); color: var(--ink);
  font-weight: 700; font-size: 18px; line-height: 1.3; text-decoration: none;
  transition: background .15s;
}
.btn:hover { background: #f97f33; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* 上の帯 */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; max-width: none; padding: 0 5vw; }
.logo { margin-right: auto; }
.logo img { height: 40px; width: auto; }
.top-nav { display: flex; gap: 28px; font-size: 15px; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { text-decoration: underline; }

/* はじめ */
.hero-key { position: relative; background: #fbfbf9; overflow: hidden; }
.hero-img { width: 100%; }
.hero-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); max-width: none; padding: 0 5vw; }
.hero-name { font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.hero-name span { font-size: 16px; font-weight: 400; color: var(--sub); }
h1 { font-size: 4.15vw; line-height: 1.22; font-weight: 700; letter-spacing: 0; }
.hero-sub { font-size: 1.75vw; line-height: 1.5; font-weight: 700; margin-top: 18px; }
.hero-lead { font-size: 16px; line-height: 1.8; max-width: 26em; margin: 16px 0 24px; }
.hero-cta p { font-size: 14px; color: var(--sub); margin-top: 10px; }
.hero-demo { padding-top: 72px; }

.screen { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.screen img, .screen video { width: 100%; }

/* 売り */
.sell { padding: 128px 0; }
.sell-warm { background: var(--warm); }
.big { font-size: 56px; line-height: 1.28; font-weight: 700; letter-spacing: 0; }
.lead { font-size: 19px; line-height: 1.9; }
.lead + .lead { margin-top: 18px; }
.sell-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; margin: 32px 0 56px; }
.plain { list-style: none; font-size: 16px; }
.plain li { padding: 11px 0; border-top: 1px solid var(--line); }
.plain li:last-child { border-bottom: 1px solid var(--line); }

.two { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.two .big { margin-bottom: 28px; font-size: 48px; }
.two-rev { grid-template-columns: 1.1fr 1fr; }

.phone-pair { position: relative; padding-bottom: 56px; padding-right: 72px; }
.phone-pair .photo { border-radius: 10px; width: 100%; }
.phone-pair .phone { position: absolute; right: 0; bottom: 0; width: 30%; border-radius: 18px; border: 5px solid var(--ink); background: #fff; }

.sell-one { margin: 28px 0 52px; max-width: 42em; }
.pair { position: relative; padding: 0 16% 11% 0; }
.pair-tab { position: absolute; right: 0; bottom: 0; width: 44%; border: 8px solid var(--ink); border-radius: 18px; overflow: hidden; background: #fff; }
.pair-tab img { width: 100%; }

.kicker { font-size: 17px; font-weight: 700; color: var(--brand-ink); margin-bottom: 14px; }
.nb-shots { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }
.nb-shots figure img { width: 100%; border: 1px solid var(--line); border-radius: 10px; }
.nb-shots figcaption { font-size: 15px; font-weight: 700; margin-top: 10px; line-height: 1.6; }
.nb-side { display: grid; gap: 28px; }
.drill-list { margin-top: 56px; }
.note-dark { font-size: 16px; color: var(--sub); margin-top: 20px; }

/* そのほか */
.more { padding: 0 0 128px; }
.more h2 { font-size: 40px; margin-bottom: 20px; line-height: 1.35; }
.more-top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 56px; }
.hero-sp { display: none; }
.trust-lead { max-width: 40em; }
.more-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; border-top: 1px solid var(--ink); }
.more-list > div { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.more-list dt { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.more-list dd { font-size: 15px; line-height: 1.75; color: var(--sub); }

/* 料金 */
.price { background: var(--warm); padding: 112px 0; }
.price .lead { margin: 20px 0 48px; max-width: 40em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.plan { background: #fff; padding: 36px 36px 30px; }
.plan h3 { font-size: 20px; }
.yen { font-size: 19px; margin: 12px 0 22px; line-height: 1.1; }
.yen b { font-size: 56px; letter-spacing: 0; }
.yen span { font-size: 15px; color: var(--sub); margin-left: 2px; }
.plan dl > div { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.plan dt { font-size: 15px; color: var(--sub); }
.plan dd { font-size: 22px; font-weight: 700; }
.note { font-size: 15px; color: var(--sub); margin: 24px 0 36px; max-width: 46em; line-height: 1.8; }

/* 運営と情報の扱い */
.trust { padding: 128px 0; }
.trust h2 { font-size: 44px; line-height: 1.3; margin-bottom: 26px; }
.org { margin-top: 26px; font-size: 16px; }
.photo-one img { border-radius: 10px; width: 100%; }
.trust-h { font-size: 26px; margin: 88px 0 24px; }

/* 質問 */
.faq { background: var(--warm); padding: 112px 0; }
.faq .big { font-size: 44px; margin-bottom: 40px; }
details { border-top: 1px solid #d6d3d1; }
details:last-of-type { border-bottom: 1px solid #d6d3d1; }
summary { padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; line-height: 1.6; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .15s; }
details[open] summary::after { transform: rotate(-135deg); top: 34px; }
details p { padding: 0 40px 24px 0; font-size: 16px; color: var(--sub); max-width: 46em; }

/* おわり */
.end { padding: 128px 0; text-align: center; }
.end .big { margin-bottom: 36px; }
.end p { margin-top: 12px; font-size: 14px; color: var(--sub); }

.foot { border-top: 1px solid var(--line); padding: 40px 0 44px; font-size: 14px; color: var(--sub); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 40px; align-items: center; }
.foot img { height: 34px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; }
.foot .fine { text-align: right; font-size: 13px; }

@media (max-width: 1240px) {
  .hero-key { background: #fff; display: flex; flex-direction: column-reverse; }
  .hero-img { height: 46vw; object-fit: cover; object-position: 92% 50%; }
  .hero-copy { position: static; transform: none; padding: 48px 32px 36px; }
  h1 { font-size: 56px; }
  .hero-sub { font-size: 24px; }
  .hero-lead { max-width: 34em; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-in { gap: 14px; height: 60px; }
  .top-nav { display: none; }
  .logo img { height: 34px; }
  .hero-img { height: 250px; }
  .hero-copy { padding: 32px 16px 28px; }
  .top-in { padding: 0 16px; }
  .hero-name { font-size: 20px; margin-bottom: 8px; }
  h1 { font-size: 40px; }
  .hero-sub { font-size: 20px; margin-top: 14px; }
  .hero-lead { font-size: 17px; max-width: none; margin: 18px 0 22px; }
  .hero-cta { text-align: center; }
  .hero-cta .btn { display: block; }
  .hero-demo { padding-top: 40px; }
  .sell, .trust, .end { padding: 72px 0; }
  .big, .two .big { font-size: 34px; margin-bottom: 18px; }
  .lead { font-size: 16px; }
  .sell-body { grid-template-columns: 1fr; gap: 22px; margin: 16px 0 32px; }
  .two, .two-rev { grid-template-columns: 1fr; gap: 32px; }
  .two-rev > figure { order: 2; }
  .sell-one { margin: 16px 0 28px; }
  .pair { padding: 0 0 20% 0; }
  .pair-tab { width: 56%; border-width: 5px; border-radius: 12px; }
  .kicker { font-size: 15px; margin-bottom: 8px; }
  .nb-shots { grid-template-columns: 1fr; gap: 24px; }
  .nb-side { gap: 24px; }
  .drill-list { margin-top: 32px; }
  .phone-pair { padding: 0; }
  .phone-pair .phone { display: none; }
  .more { padding-bottom: 72px; }
  .more h2 { font-size: 28px; }
  .more-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .hero-pc { display: none; }
  .hero-sp { display: block; width: 78%; margin: 0 auto; border: 5px solid var(--ink); border-radius: 22px; overflow: hidden; }
  .hero-sp img { width: 100%; }
  .more-list { grid-template-columns: 1fr; }
  .price, .faq { padding: 72px 0; }
  .price .lead { margin: 12px 0 28px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px 20px; }
  .yen b { font-size: 46px; }
  .trust h2 { font-size: 30px; }
  .trust-h { margin-top: 56px; font-size: 22px; }
  .faq .big { font-size: 30px; margin-bottom: 24px; }
  summary { font-size: 16px; }
  .btn { padding: 16px 24px; font-size: 17px; }
  .btn-sm { padding: 8px 14px; font-size: 14px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .foot .fine { text-align: left; }
}
