/* ダレヨミ 公式サイト 共通スタイル v1.0 */
:root {
  --bg: #FBFBFA;
  --bg-soft: #F3F4F2;
  --surface: #FFFFFF;
  --text: #15181C;
  --text-sub: #5F676D;
  --border: #E2E6E5;
  --brand: #008D88;
  --brand-hover: #007B77;
  --brand-soft: #E8F6F4;
  --warning-bg: #FFF8EA;
  --warning-border: #E8D6AE;
  --warning-text: #5B4A2B;
  --positive: #2C6A4B;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(21,24,28,.06);
  --shadow-float: 0 16px 40px rgba(21,24,28,.12);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: 15px; font-weight: 500; line-height: 1.8; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
.disp { font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif; }
.mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-variant-numeric: tabular-nums; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 96px; }
.icn { width: 24px; height: 24px; flex: none; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius-pill); font-weight: 700; font-size: 15px;
  height: 56px; padding: 0 30px; border: none; cursor: pointer; white-space: nowrap;
  font-family: inherit; transition: background .15s, color .15s, border-color .15s;
}
.btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-outline { background: var(--surface); color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn small { font-weight: 500; font-size: 12px; }

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,251,250,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-in { display: flex; align-items: center; gap: 28px; height: 80px; }
.site-logo { display: flex; align-items: center; flex: none; }
.site-logo img { display: block; width: auto; height: 48px; max-width: 100%; object-fit: contain; }
.gnav { display: flex; gap: 32px; margin: 0 auto; }
.gnav a { color: var(--text); font-size: 14.5px; font-weight: 700; }
.gnav a:hover { color: var(--brand); }
.header-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.login-link { color: var(--text); font-size: 14px; font-weight: 600; }
.login-link:hover { color: var(--brand); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--text); }
.menu-btn .icn { width: 26px; height: 26px; }
.mnav { display: none; }

/* ── hero ── */
.hero { padding: 76px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 545px) 1fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: 44px; font-weight: 800; line-height: 1.4; letter-spacing: -.01em; margin: 0 0 26px;
  white-space: nowrap;
}
.hero-lede { font-size: 16px; font-weight: 500; line-height: 1.85; color: var(--text-sub); max-width: 520px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; max-width: 430px; }
.hero-cta .btn { width: 100%; }

/* hero visual */
.hero-visual { position: relative; min-height: 480px; }
.postcard-back {
  position: absolute; right: 12%; top: 0; width: 200px; height: 280px;
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  box-shadow: var(--shadow-card); transform: rotate(4deg); padding: 16px;
}
.postcard-back .pc-label { font-size: 9px; letter-spacing: .2em; color: #B8BEC2; }
.postcard-back .pc-frame { width: 58px; height: 34px; border: 1px solid #D8DCDE; margin: 8px 0 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; }
.postcard-back .pc-frame i { background: #EDEFF0; }
.postcard-back .pc-line { height: 5px; background: #EFF1F2; border-radius: 2px; margin-top: 12px; }
.postcard-front {
  position: absolute; left: 4%; top: 24px; width: 250px;
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  box-shadow: 0 20px 42px rgba(15,23,42,.12); transform: rotate(-4deg);
  padding: 22px 20px 0; overflow: hidden;
}
.postcard-front .to { font-size: 11px; color: var(--text-sub); }
.postcard-front h3 { font-size: 16px; font-weight: 700; line-height: 1.6; margin: 6px 0 10px; }
.pc-badge { display: inline-block; background: var(--brand-soft); color: var(--brand);
  font-size: 11px; font-weight: 700; border-radius: 3px; padding: 2px 8px; }
.postcard-front .pc-note { font-size: 11px; color: var(--text-sub); line-height: 1.7; margin: 10px 0 12px; }
.pc-qr-row { display: flex; align-items: flex-end; gap: 12px; }
.pc-qr { width: 84px; height: 84px; flex: none; background: #fff; }
.pc-qr svg { width: 100%; height: 100%; display: block; }
.pc-town { flex: 1; height: 56px; opacity: .55; }
.pc-band { margin: 14px -20px 0; background: #10333D; color: #fff; font-size: 11px;
  text-align: center; padding: 8px 0; letter-spacing: .1em; }
.notif-card {
  position: absolute; right: 0; top: 42px; width: 232px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-float); padding: 16px 18px;
}
.notif-bell { position: absolute; right: -12px; top: -16px; width: 44px; height: 44px;
  background: var(--brand); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card); }
.notif-bell .icn { width: 22px; height: 22px; }
.notif-card .n-title { font-size: 13px; font-weight: 700; }
.notif-card .n-time { font-size: 19px; font-weight: 700; color: var(--brand); margin: 2px 0 10px; }
.notif-card .n-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px;
  color: var(--text); padding: 3px 0; }
.notif-card .n-row .icn { width: 15px; height: 15px; color: var(--brand); }
.laptop { position: absolute; right: 0; bottom: 0; width: 330px; }
.laptop .lap-screen { background: #fff; border: 6px solid #2A2F34; border-bottom-width: 0;
  border-radius: 10px 10px 0 0; overflow: hidden; }
.laptop .lap-base { height: 12px; background: linear-gradient(#D7DBDD, #C2C7CA);
  border-radius: 0 0 12px 12px; }
.lap-bar { background: #10333D; color: #fff; font-size: 10px; padding: 5px 10px;
  display: flex; gap: 6px; align-items: center; }
.lap-bar img { height: 12px; width: auto; }
.lap-body { padding: 10px; }
.lap-cap { font-size: 10px; font-weight: 700; color: var(--text-sub); margin-bottom: 6px; }
.lap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lap-stat { border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; }
.lap-stat .l { font-size: 9px; color: var(--text-sub); }
.lap-stat .v { font-size: 15px; font-weight: 700; color: var(--brand); }
.lap-stat .v small { font-size: 9px; color: var(--text-sub); font-weight: 500; }
.lap-list { margin-top: 8px; border-top: 1px solid var(--border); }
.lap-row { display: flex; gap: 8px; font-size: 9.5px; color: var(--text-sub);
  padding: 4px 0; border-bottom: 1px solid #F0F2F1; }
.lap-row b { color: var(--text); font-weight: 600; }
.lap-row span:last-child { margin-left: auto; }

/* hero points */
.hero-points { display: flex; margin-top: 40px; border-top: 1px solid var(--border); padding-top: 26px; }
.hp { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 22px; }
.hp + .hp { border-left: 1px solid var(--border); }
.hp-ic { width: 46px; height: 46px; border: 1.6px solid var(--brand); border-radius: 50%;
  color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.hp p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.55; }
.hp br.sp-keep { display: none; }

/* ── sections ── */
.sec { padding: 76px 0; }
.sec-title { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 40px; }
.sec-soft { background: var(--bg-soft); }

/* steps */
.steps { display: flex; align-items: stretch; gap: 0; }
.step-card { width: 31.5%; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 24px 24px 20px;
  display: flex; flex-direction: column; }
.step-arrow { flex: 1; display: flex; align-items: center; justify-content: center; color: #C6CCCB; }
.step-arrow svg { width: 22px; height: 22px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex: none; }
.step-card h3 { font-size: 18px; font-weight: 800; margin: 0; }
.step-card .desc { font-size: 13.5px; font-weight: 500; color: var(--text-sub); line-height: 1.7; margin: 0 0 16px; }
.step-fig { margin-top: auto; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); height: 130px; display: flex; align-items: center;
  justify-content: center; gap: 14px; padding: 12px; }
.fig-csv { width: 44px; height: 52px; color: var(--brand); }
.fig-table { font-size: 8.5px; color: var(--text-sub); border-collapse: collapse; }
.fig-table th, .fig-table td { border: 1px solid #D9DDDC; padding: 2px 6px; font-weight: 500; white-space: nowrap; }
.fig-table th { background: #fff; color: var(--text); }
.fig-qrbox { width: 64px; height: 64px; border: 2px dashed var(--brand); padding: 5px;
  position: relative; background: #fff; }
.fig-qrbox svg { width: 100%; height: 100%; display: block; }
.fig-cursor { position: absolute; right: -12px; bottom: -12px; width: 22px; height: 22px; color: var(--text); }
.fig-doc { width: 62px; background: #fff; border: 1px solid #D9DDDC; border-radius: 3px; padding: 8px 7px; }
.fig-doc b { display: block; font-size: 7.5px; font-weight: 700; margin-bottom: 5px; }
.fig-doc i { display: block; height: 4px; background: #E7EAE9; border-radius: 2px; margin: 3px 0; }
.fig-pdf { width: 42px; height: 50px; color: #C0392B; }
.fig-arrow { width: 20px; height: 20px; color: var(--text-sub); }
.fig-printer { width: 46px; height: 46px; color: var(--text); }

/* features */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 26px 22px; }
.feat .f-ic { width: 40px; height: 40px; color: var(--brand); margin-bottom: 12px; }
.feat h3 { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.feat p { font-size: 13.5px; font-weight: 500; color: var(--text-sub); line-height: 1.7; margin: 0; }

/* pricing */
.price-grid { display: grid; grid-template-columns: 27% 1fr 24%; gap: 40px; align-items: start; }
.price-big { padding-top: 8px; }
.price-big .pb-label { font-size: 21px; font-weight: 800; }
.price-line { display: flex; align-items: baseline; gap: 4px; }
.price-line .yen { font-size: 104px; font-weight: 800; color: var(--brand); line-height: 1;
  letter-spacing: -.02em; }
.price-line .unit { font-size: 40px; font-weight: 800; color: var(--brand); }
.price-line .tax { font-size: 14px; color: var(--text-sub); }
.price-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; padding-top: 12px; }
.pc-item { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; font-weight: 600; white-space: nowrap; }
.pc-item .icn { width: 19px; height: 19px; color: var(--brand); margin-top: 4px; }
.price-sim { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 18px 20px; }
.price-sim h3 { font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.price-sim table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-sim td { padding: 7px 0; border-bottom: 1px solid var(--border); }
.price-sim tr:last-child td { border-bottom: none; }
.price-sim td:last-child { text-align: right; font-weight: 700; }
.price-sim .tax-note { font-size: 11px; color: var(--text-sub); text-align: right; margin: 6px 0 0; }

/* cases */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 24px 22px; text-align: left; }
.case .c-ic { width: 40px; height: 40px; color: var(--brand); margin-bottom: 10px; }
.case h3 { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.case p { font-size: 13px; font-weight: 500; color: var(--text-sub); line-height: 1.7; margin: 0; }

/* honest */
.honest { background: var(--warning-bg); border: 1px solid var(--warning-border);
  border-radius: var(--radius-md); padding: 24px 28px; display: flex; gap: 18px; align-items: flex-start; }
.honest .icn { width: 34px; height: 34px; color: #B08A2E; margin-top: 2px; }
.honest h3 { font-size: 19px; font-weight: 800; margin: 0 0 6px; color: var(--text); }
.honest p { font-size: 14px; font-weight: 500; color: var(--warning-text); line-height: 1.8; margin: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-items: start; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  background: none; border: none; cursor: pointer; font-family: inherit;
  font-size: 14.5px; font-weight: 700; color: var(--text); padding: 16px 18px; min-height: 54px; }
.faq-q .icn { width: 18px; height: 18px; margin-left: auto; color: var(--text-sub);
  transition: transform .2s; }
.faq-q[aria-expanded="true"] .icn { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .2s ease; }
.faq-a-in { padding: 0 18px 16px; font-size: 13.5px; font-weight: 500; color: var(--text-sub); line-height: 1.8; }

/* final CTA */
.cta-banner { background: var(--brand); border-radius: var(--radius-lg); color: #fff;
  display: flex; align-items: center; gap: 24px; padding: 24px 34px; }
.cta-banner .icn { width: 44px; height: 44px; flex: none; }
.cta-banner h2 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin: 0; flex: 1; }
.cta-banner .btn { background: #fff; color: var(--brand); flex: none; }
.cta-banner .btn:hover { background: var(--brand-soft); }

/* footer */
.site-footer { background: #15181C; color: #C8CDD0; margin-top: 76px; padding: 36px 0 30px; }
.footer-in { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.site-footer .site-logo img { height: 52px; }
.footer-info { font-size: 13px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; margin-left: auto; }
.footer-links a { color: #C8CDD0; }
.footer-links a:hover { color: #fff; }
.footer-copy { text-align: right; font-size: 12px; color: #7F868B; margin-top: 18px; }

/* reveal（JSが有効なときだけ隠す：安全側） */
body.anim .reveal { opacity: 0; transform: translateY(10px); transition: opacity .28s ease, transform .28s ease; }
body.anim .reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.anim .reveal { opacity: 1; transform: none; transition: none; }
  .faq-a { transition: none; }
}

/* ══════════ tablet ≤1023px ══════════ */
@media (max-width: 1023px) {
  .gnav { display: none; }
  .login-link { display: none; }
  .menu-btn { display: flex; }
  .header-in { height: 68px; justify-content: space-between; gap: 12px; }
  .site-logo img { height: 40px; }
  .header-cta .btn { height: 42px; padding: 0 18px; font-size: 13.5px; }
  .mnav { display: none; position: fixed; inset: 68px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-float); z-index: 99;
    flex-direction: column; padding: 8px 0; }
  .mnav.open { display: flex; }
  .mnav a { display: flex; align-items: center; min-height: 50px; padding: 0 26px;
    font-size: 15px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--bg-soft); }
  body.nav-locked { overflow: hidden; }
  .hero { padding: 44px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 34px; white-space: normal; }
  .price-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-checks { padding-top: 0; }
  .feats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cases { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .faq-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 14px; }
  .step-card { width: 100%; }
  .step-arrow { display: none; }
  .hero-visual { min-height: 500px; max-width: 560px; margin: 0 auto; width: 100%; }
}

/* ══════════ mobile ≤767px ══════════ */
@media (max-width: 767px) {
  body { font-size: 14px; }
  .container { padding: 0 18px; }
  .sec { padding: 52px 0; }
  .sec-title { font-size: 24px; margin-bottom: 26px; }
  .hero h1 { font-size: 29px; line-height: 1.42; white-space: normal; }
  .hero-lede { font-size: 14.5px; }
  .hero-cta { max-width: none; }
  .hero-cta .btn { height: 53px; font-size: 14.5px; }
  .hero-visual { min-height: 0; max-width: 430px; height: auto; margin: 0 auto; width: 100%; }
  .postcard-front { position: relative; left: 0; top: 0; width: 206px; margin: 8px 0 0; z-index: 2; }
  .postcard-back { left: 148px; right: auto; top: 0; width: 132px; height: 186px; z-index: 1; }
  .notif-card { top: 104px; right: 0; width: 196px; padding: 13px 15px; z-index: 3; }
  .notif-card .n-time { font-size: 16px; }
  .laptop { position: relative; width: min(300px, 88%); margin: 16px 0 0 auto; z-index: 2; }
  .hero-points { flex-direction: row; padding-top: 18px; margin-top: 26px; }
  .hp { flex-direction: column; text-align: center; gap: 8px; padding: 0 8px; }
  .hp-ic { width: 40px; height: 40px; }
  .hp p { font-size: 12.5px; font-weight: 600; }
  .hp br.sp-keep { display: block; }
  .feats { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .feat { padding: 18px 15px; }
  .feat h3 { font-size: 15px; }
  .feat p { font-size: 12.5px; }
  .cases { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .case { padding: 18px 15px; }
  .case h3 { font-size: 15.5px; }
  .case p { font-size: 12.5px; }
  .price-line .yen { font-size: 76px; }
  .price-line .unit { font-size: 30px; }
  .price-checks { grid-template-columns: 1fr; gap: 8px; }
  .honest { flex-direction: column; gap: 10px; padding: 20px 18px; }
  .honest h3 { font-size: 17px; }
  .cta-banner { flex-direction: column; text-align: center; gap: 14px; padding: 26px 20px; }
  .cta-banner h2 { font-size: 23px; }
  .cta-banner .btn { width: 100%; }
  .footer-in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-links { margin-left: 0; gap: 14px 22px; }
  .footer-copy { text-align: left; }
  .step-fig { height: 120px; gap: 10px; }
}
@media (max-width: 419px) {
  .hero h1 { font-size: 26px; }
  .postcard-front { width: 188px; }
  .notif-card { width: 180px; top: 96px; }
}
