/* Shitatameru サービスサイト
   デザイン値は Carefree・Smile デザインシステム（~/dev/carefree-design-system/src/tokens）に準拠。
   オレンジ1色・ウォームインク・装飾グラデーションなし・絵文字なし。 */
:root {
  --orange: #E4720C;
  --orange-deep: #C25E08;
  --orange-soft: #F49C46;
  --orange-tint: #FBEEE1;
  --ink: #241818;
  --ink-70: #59504D;
  --ink-45: #8C8581;
  --white: #FFFFFF;
  --parchment: #FAF7F3;
  --dark: #221C1A;
  --dark-2: #2A2421;
  --on-dark-muted: #C9C0BB;
  --hairline: #ECE6E1;
  --font-display: 'Zen Kaku Gothic New', 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  --font-body: 'Noto Sans JP', 'Zen Kaku Gothic New', system-ui, -apple-system, sans-serif;
  --font-latin: 'Inter', system-ui, -apple-system, sans-serif;
  --hdr-h: 68px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(36,24,24,.06), 0 12px 32px -12px rgba(36,24,24,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); -webkit-text-size-adjust: 100%; }
/* Lenis 使用中はブラウザ側のスムーズスクロールを止める（二重になってガクつく） */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp { display: none; }
@media (max-width: 599px) { .sp { display: inline; } }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip:focus { left: 16px; top: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }
@media (max-width: 599px) { .wrap { padding: 0 16px; } }

.testbar { background: var(--ink); color: #fff; font-size: 12px; text-align: center; padding: 6px 16px; letter-spacing: .06em; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-deep); }
.btn--primary:hover .ic { transform: translateX(2px); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- ヘッダー ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--hairline); }
.hdr__in { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand__logo { width: 150px; height: auto; }
.brand__by { display: flex; align-items: center; gap: 6px; padding-left: 14px; border-left: 1px solid var(--hairline); font-size: 11px; color: var(--ink-45); white-space: nowrap; }
.brand__by img { width: 46px; height: auto; }
.gnav ul { display: flex; align-items: center; gap: 4px; }
.gnav a:not(.btn) { display: block; padding: 8px 12px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-70); border-radius: 6px; position: relative; transition: color .2s; }
.gnav a:not(.btn):hover { color: var(--ink); }
.gnav a.is-current:not(.btn) { color: var(--ink); }
.gnav a.is-current:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--orange); border-radius: 2px; }
.gnav__cta { margin-left: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--hairline); background: var(--white); border-radius: 10px; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .ic { width: 22px; height: 22px; }

@media (max-width: 959px) {
  .menu-btn { display: inline-flex; }
  .gnav { position: fixed; inset: var(--hdr-h) 0 auto 0; background: var(--white); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow); padding: 8px 16px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .gnav.is-open { opacity: 1; transform: none; visibility: visible; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav a:not(.btn) { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  .gnav a.is-current:not(.btn)::after { display: none; }
  .gnav__cta { margin: 16px 0 0; }
  .gnav__cta .btn { width: 100%; min-height: 48px; }
}
@media (max-width: 599px) {
  :root { --hdr-h: 60px; }
  .hdr__in { padding: 0 16px; }
  .brand { gap: 10px; }
  .brand__logo { width: 118px; }
  .brand__by { padding-left: 10px; gap: 4px; font-size: 10px; }
  .brand__by img { width: 36px; }
}

/* ---------- 共通セクション ---------- */
.sec { position: relative; padding: 112px 0; overflow: hidden; }
.sec > .wrap { position: relative; z-index: 1; }
.sec--tint { background: var(--parchment); }
.sec--dark { background: var(--dark); color: #fff; }
.sec__head { max-width: 760px; margin-bottom: 56px; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .1em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.eyebrow--dark { color: var(--orange-soft); }
.sec__ttl { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.5; }
.sec__lead { margin-top: 18px; color: var(--ink-70); font-size: 17px; }
.sec--dark .sec__lead { color: var(--on-dark-muted); }
@media (max-width: 599px) {
  .sec { padding: 72px 0; }
  .sec__head { margin-bottom: 36px; }
  .sec__lead { font-size: 15px; }
}

/* ---------- ヒーロー ---------- */
.hero { position: relative; padding: 72px 0 96px; border-bottom: 1px solid var(--hairline); overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__copy { padding: 8px 0; }
.hero__ttl { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.45; letter-spacing: .01em; word-break: keep-all; overflow-wrap: anywhere; }
.hero__ttl em { font-style: normal; color: var(--orange); }
.hero__lead { margin-top: 24px; font-size: 17px; color: var(--ink-70); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: 14px; color: var(--ink-70); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .ic { width: 18px; height: 18px; color: var(--orange); }
.hero__visual { position: relative; padding: 0 0 48px 0; }
.hero__browser { margin: 0 0 0 auto; width: 100%; }
.hero__phone { position: absolute; left: -36px; bottom: 0; width: 34%; }
@media (max-width: 959px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { padding: 0 0 40px; }
  .hero__browser { width: 92%; }
  .hero__phone { left: auto; right: 0; width: 34%; }
}
@media (max-width: 599px) {
  .hero { padding: 40px 0 64px; }
  .hero__ttl { font-size: 26px; }
  .hero__lead { font-size: 15px; }
  .hero__cta .btn { width: 100%; }
  .hero__facts { flex-direction: column; gap: 8px; }
  .hero__browser { width: 88%; }
  .hero__phone { width: 38%; }
}

/* ---------- 端末枠 ---------- */
.frame-browser { margin: 0; background: var(--white); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.frame-browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--parchment); border-bottom: 1px solid var(--hairline); }
.frame-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #E4DCD6; }
.frame-browser__bar span { margin-left: 10px; font-size: 11px; color: var(--ink-45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-browser img { width: 100%; height: auto; }
.frame-phone { margin: 0; background: var(--ink); padding: 8px; border-radius: 34px; box-shadow: var(--shadow); }
.frame-phone img { border-radius: 27px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--white); }
@media (max-width: 599px) {
  .frame-browser__bar { height: 24px; padding: 0 10px; gap: 4px; }
  .frame-browser__bar i { width: 7px; height: 7px; }
  .frame-browser__bar span { font-size: 10px; }
  .frame-phone { padding: 5px; border-radius: 22px; }
  .frame-phone img { border-radius: 18px; }
}

/* ---------- しくみ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 30px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--white); }
.step__no { font-family: var(--font-latin); font-weight: 600; font-size: 13px; color: var(--ink-45); letter-spacing: .08em; }
.step__ic { display: block; width: 32px; height: 32px; margin: 16px 0 18px; color: var(--orange); stroke-width: 1.6; }
.step h3 { font-size: 18px; line-height: 1.55; }
.step p { margin-top: 10px; font-size: 14px; color: var(--ink-70); line-height: 1.85; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -15px; width: 10px; height: 10px; border-top: 1.5px solid var(--ink-45); border-right: 1.5px solid var(--ink-45); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 959px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 599px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 22px 20px; }
  .step__no { grid-column: 1 / -1; }
  .step__ic { grid-row: 2 / span 2; margin: 8px 0 0; }
}

/* ---------- 機能タブ ---------- */
.tabs__list { display: flex; gap: 6px; padding: 6px; background: var(--white); border: 1px solid var(--hairline); border-radius: 999px; width: max-content; max-width: 100%; margin: 0 auto 40px; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list [role="tab"] {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent;
  font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--ink-70); letter-spacing: .04em; cursor: pointer; transition: background .2s, color .2s;
}
.tabs__list [role="tab"] .ic { width: 18px; height: 18px; }
.tabs__list [role="tab"]:hover { color: var(--ink); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs__panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-in .panel__media { animation: panelIn .45s cubic-bezier(.2,.7,.2,1) both; }
.tabs__panel.is-in .panel__text { animation: panelIn .45s .05s cubic-bezier(.2,.7,.2,1) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel__text h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.5; }
.panel__text > p { margin-top: 16px; color: var(--ink-70); }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; line-height: 1.7; }
.checks .ic { width: 20px; height: 20px; margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-deep); stroke-width: 2.6; }
.note { margin-top: 20px; font-size: 13px; color: var(--ink-45); line-height: 1.8; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--white); }
.panel__media--phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 640px; margin: 0 auto; }
.panel__media--phones figure { margin: 0; }
.panel__media--phones figcaption { margin-top: 10px; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-70); }
.frame-phone figcaption { color: var(--on-dark-muted); }
.panel__media--phones .frame-phone { padding-bottom: 6px; }
.combo { position: relative; padding-right: 13%; padding-bottom: 28px; }
.combo__phone { position: absolute; right: 0; bottom: 0; width: 24%; }
.shots-note { margin-top: 28px; text-align: center; font-size: 12px; color: var(--ink-45); }
@media (max-width: 959px) {
  .tabs__panel { grid-template-columns: 1fr; gap: 32px; }
  .tabs__list { margin-left: 0; border-radius: 14px; }
  .tabs__list [role="tab"] { border-radius: 10px; }
}
@media (max-width: 599px) {
  .panel__media--phones { gap: 10px; }
  .panel__media--phones figcaption { font-size: 11px; }
  .combo { padding-right: 10%; padding-bottom: 20px; }
  .combo__phone { width: 28%; }
  .tabs__list { margin-bottom: 28px; }
  .tabs__list [role="tab"] { padding: 0 14px; font-size: 13px; }
  .panel__media--phones { gap: 14px; }
}

/* ---------- 機能一覧 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 28px 26px 30px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--white); transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--orange-soft); transform: translateY(-2px); }
.card__ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--orange-tint); color: var(--orange-deep); stroke-width: 1.7; }
.card h3 { margin-top: 18px; font-size: 17px; line-height: 1.6; }
.card p { margin-top: 8px; font-size: 14px; color: var(--ink-70); line-height: 1.85; }
@media (max-width: 959px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards { grid-template-columns: 1fr; gap: 12px; } .card { padding: 22px 20px; } }

/* ---------- 役割 ---------- */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.role { background: var(--dark); padding: 32px 26px 34px; }
.role__tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--orange-soft); border: 1px solid rgba(244,156,70,.5); border-radius: 999px; padding: 2px 12px; }
.role h3 { margin-top: 18px; font-size: 18px; line-height: 1.6; }
.role p { margin-top: 10px; font-size: 14px; color: var(--on-dark-muted); line-height: 1.85; }
@media (max-width: 959px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .roles { grid-template-columns: 1fr; } .role { padding: 24px 20px; } }

/* ---------- 安心 ---------- */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.trust__item { display: flex; gap: 18px; padding: 28px; border: 1px solid var(--hairline); border-radius: var(--radius); }
.trust__item > .ic { width: 28px; height: 28px; color: var(--orange); margin-top: 4px; stroke-width: 1.6; }
.trust__item h3 { font-size: 17px; line-height: 1.6; }
.trust__item p { margin-top: 8px; font-size: 14px; color: var(--ink-70); line-height: 1.85; }
@media (max-width: 767px) { .trust { grid-template-columns: 1fr; gap: 12px; } .trust__item { padding: 22px 20px; gap: 14px; } }

/* ---------- 導入の流れ ---------- */
.flow { position: relative; display: grid; gap: 0; max-width: 860px; }
.flow__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 36px; }
.flow__item:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--ink-45); opacity: .5; }
.flow__no { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--orange); color: var(--orange); font-family: var(--font-latin); font-weight: 600; font-size: 20px; }
.flow__item h3 { font-size: 19px; line-height: 1.6; padding-top: 12px; }
.flow__item p { margin-top: 6px; color: var(--ink-70); font-size: 15px; }
@media (max-width: 599px) {
  .flow__item { grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 28px; }
  .flow__no { width: 44px; height: 44px; font-size: 17px; }
  .flow__item:not(:last-child)::before { left: 21px; top: 44px; }
  .flow__item h3 { font-size: 17px; padding-top: 8px; }
}

/* ---------- 料金 ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; }
.price__main { padding: 44px; border-right: 1px solid var(--hairline); }
.price__label { font-size: 13px; font-weight: 700; color: var(--ink-45); letter-spacing: .1em; }
.price__value { margin: 10px 0 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.4; }
.price__sub { color: var(--ink-70); font-size: 15px; margin-bottom: 28px; }
.price__incl { padding: 44px; background: var(--parchment); display: grid; gap: 14px; align-content: center; }
.price__incl li { display: flex; gap: 10px; font-size: 15px; font-weight: 500; line-height: 1.7; }
.price__incl .ic { color: var(--orange); margin-top: 3px; stroke-width: 2.4; }
@media (max-width: 767px) {
  .price { grid-template-columns: 1fr; }
  .price__main { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 28px 22px; }
  .price__main .btn { width: 100%; }
  .price__incl { padding: 28px 22px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 16px; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-45); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(180deg); color: var(--orange); }
.faq details p { padding: 0 24px 22px; color: var(--ink-70); font-size: 15px; }
@media (max-width: 599px) { .faq summary { padding: 16px 18px; font-size: 15px; } .faq details p { padding: 0 18px 18px; } }

/* ---------- お問い合わせ ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact__mail { display: flex; gap: 14px; align-items: center; margin-top: 32px; padding: 20px 22px; border: 1px solid var(--hairline); border-radius: var(--radius); }
.contact__mail > .ic { width: 28px; height: 28px; color: var(--orange); }
.contact__label { font-size: 12px; color: var(--ink-45); }
.contact__mail a { font-family: var(--font-latin); font-weight: 600; font-size: 18px; text-decoration: none; word-break: break-all; }
.contact__mail a:hover { color: var(--orange); }
.company { margin: 24px 0 0; display: grid; gap: 0; }
.company div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.company dt { color: var(--ink-45); }
.company dd { margin: 0; }
.form { display: grid; gap: 18px; padding: 32px; background: var(--parchment); border: 1px solid var(--hairline); border-radius: 14px; }
.form__notice { display: flex; gap: 10px; font-size: 13px; line-height: 1.8; color: var(--ink-70); padding: 12px 14px; background: var(--white); border: 1px dashed var(--orange-soft); border-radius: 8px; }
.form__notice .ic { color: var(--orange); margin-top: 3px; width: 18px; height: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.req { display: inline-block; margin-left: 8px; font-size: 11px; color: var(--orange-deep); font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--white); color: var(--ink); line-height: 1.6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); }
.form__err { color: #C0492F; font-size: 13px; }
@media (max-width: 959px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 599px) { .form { padding: 22px 18px; } .contact__mail a { font-size: 16px; } }

/* ---------- フッター ---------- */
.ftr { background: var(--parchment); border-top: 1px solid var(--hairline); }
.ftr__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.ftr__brand img { width: 150px; }
.ftr__brand p { margin-top: 10px; font-size: 13px; color: var(--ink-70); }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.ftr__nav a { text-decoration: none; color: var(--ink-70); }
.ftr__nav a:hover { color: var(--orange); }
.ftr__stamp { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 16px 32px; border-top: 1px solid var(--hairline); }
.ftr__stamp img { width: 88px; opacity: .9; }
.ftr__stamp p { font-size: 12px; color: #94a3b8; letter-spacing: .02em; }
@media (max-width: 767px) { .ftr__top { flex-direction: column; } }

/* ---------- 表示されたら浮き上がる ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tabs__panel.is-in .panel__media, .tabs__panel.is-in .panel__text { animation: none; }
  .card, .btn, .gnav { transition: none; }
}

/* rev.2 追加 */
.promise { margin-top: 10px; display: grid; gap: 6px; }
.promise li { position: relative; padding-left: 18px; font-size: 14px; font-weight: 500; line-height: 1.7; }
.promise li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--orange); }
.form__purpose { font-size: 12px; color: var(--ink-45); line-height: 1.8; margin-top: -6px; }

/* 3つのメリット */
.merits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.merit { position: relative; display: flex; flex-direction: column; padding: 36px 30px 30px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); }
.merit__no { font-family: var(--font-latin); font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--orange); }
.merit__ic { display: block; width: 36px; height: 36px; margin: 18px 0 20px; color: var(--ink); stroke-width: 1.5; }
.merit h3 { font-size: 20px; line-height: 1.6; }
.merit p { margin-top: 12px; font-size: 15px; color: var(--ink-70); flex: 1; }
.merit__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--orange-deep); text-decoration: none; }
.merit__link .ic { width: 16px; height: 16px; transition: transform .2s; }
.merit__link:hover .ic { transform: translateX(3px); }
@media (max-width: 959px) { .merits { grid-template-columns: 1fr; gap: 12px; } .merit { padding: 26px 22px 24px; } .merit__ic { margin: 12px 0 14px; } .merit h3 { font-size: 18px; } }

/* 実機（iPhone）で撮った患者さんの画面：縦横比 1320:2259 */
.frame-phone--real img { aspect-ratio: 1320 / 2259; }

/* ---------- 視差（Rellax）の装飾 ----------
   文字は動かさない。動かすのは端末の画面写真・装飾の輪と線・セクション番号だけ。 */
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.deco__ring { position: absolute; border-radius: 50%; border: 1px solid var(--orange-tint-2, #F6DEC8); }
.deco__ring--a { width: 520px; height: 520px; right: -140px; top: -120px; }
.deco__ring--b { width: 180px; height: 180px; left: 46%; bottom: -40px; border-color: var(--hairline); }
.deco__line { position: absolute; left: 0; top: 62%; width: 38%; height: 1px; background: var(--hairline); }
.secno { position: absolute; right: max(16px, calc((100vw - 1200px) / 2)); top: 56px; z-index: 0; pointer-events: none;
  font-family: var(--font-latin); font-weight: 700; font-size: clamp(96px, 14vw, 200px); line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px var(--hairline); user-select: none; }
.sec--tint .secno { -webkit-text-stroke-color: #E9E1DA; }
@media (max-width: 767px) { .secno { display: none; } .deco__ring--a { width: 300px; height: 300px; right: -120px; top: -80px; } .deco__ring--b, .deco__line { display: none; } }
@media (prefers-reduced-motion: reduce) { .rx { transform: none !important; } }

/* ---------- 説明動画 ----------
   自動再生はしない（音声つき）。動画ファイルは /videos/（サーバー側に置き、git には入れない） */
.sec--video { padding-top: 88px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head--center .eyebrow { justify-content: center; }
.vplayer { max-width: 960px; margin: 0 auto; }
.vplayer__frame { position: relative; border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--hairline); }
.vplayer__frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--parchment); }
.vplayer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 18px; }
.vplayer__pick { display: flex; flex-wrap: wrap; gap: 8px; }
.vplayer__pick button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--white); color: var(--ink-70); font: 700 14px/1 var(--font-body); letter-spacing: .04em; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.vplayer__pick button .ic { width: 18px; height: 18px; }
.vplayer__pick button span { font-family: var(--font-latin); font-weight: 500; font-size: 13px; color: var(--ink-45); }
.vplayer__pick button:hover { border-color: var(--ink); color: var(--ink); }
.vplayer__pick button[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-tint); color: var(--orange-deep); }
.vplayer__pick button[aria-pressed="true"] span { color: var(--orange-deep); }
.vplayer__all { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--orange-deep); text-decoration: none; }
.vplayer__all .ic { width: 16px; height: 16px; transition: transform .2s; }
.vplayer__all:hover .ic { transform: translateX(3px); }
.vplayer__desc { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.vplayer__desc > p { font-size: 15px; color: var(--ink-70); }
.vplayer__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 13px; color: var(--ink-70); }
.vplayer__meta li { display: flex; align-items: center; gap: 8px; }
.vplayer__meta .ic { width: 16px; height: 16px; color: var(--orange); }
@media (max-width: 599px) {
  .sec--video { padding-top: 56px; }
  .vplayer__frame { border-radius: 10px; }
  .vplayer__bar { flex-direction: column; align-items: stretch; }
  .vplayer__pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .vplayer__pick button { justify-content: center; padding: 0 6px; gap: 4px; font-size: 13px; flex-direction: column; min-height: 56px; line-height: 1.2; }
  .vplayer__pick button .ic { display: none; }
  .vplayer__all { align-self: flex-end; }
  .vplayer__desc > p { font-size: 14px; }
  .vplayer__meta { flex-direction: column; gap: 6px; }
}

/* 動画の一覧ページ（/videos/） */
.vlist { display: grid; gap: 56px; }
.vlist__item h2 { font-size: 22px; line-height: 1.5; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vlist__item h2 span { font-family: var(--font-latin); font-weight: 500; font-size: 14px; color: var(--ink-45); }
.vlist__item p { margin-top: 8px; font-size: 15px; color: var(--ink-70); }
.vlist__item .vplayer__frame { margin-top: 16px; }
.vlist__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 13px; }
.vlist__links a { color: var(--orange-deep); }
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--hairline); margin-bottom: 56px; }
.page-head .sec__lead { max-width: 40em; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--orange-deep); text-decoration: none; margin-bottom: 20px; }
.back .ic { width: 16px; height: 16px; transform: rotate(180deg); }
@media (max-width: 599px) { .page-head { padding: 36px 0 28px; margin-bottom: 36px; } .vlist { gap: 40px; } .vlist__item h2 { font-size: 19px; } }
.vlist__end { margin: 56px 0 96px; }
