/* サービス概要専用。技術資料サイトと同じ書体・色・角丸を使用。
   大見出しとリードは中央、長文・手順・箇条書きは左揃えで読みやすくします。 */
.service-body { font-weight: 450; }
/* 横向きタブレット。自動スクロールの速度はサービス概要.jsで編集します。 */
.hero-tablet { position: relative; width: min(100%, 440px); margin: 52px auto 0; padding: 10px 14px; border: 2px solid #73777d; border-radius: 30px; background: #202226; box-shadow: 0 24px 48px -24px #17212d66, inset 0 0 0 1px #090a0b; }
.hero-tablet::before { content: ""; position: absolute; left: 9px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #08090b; box-shadow: inset 0 0 0 1px #353b44; }
.hero-tablet-screen { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: #fff; }
.hero-tablet-scroll { width: 100%; height: 100%; overflow-x: hidden; overflow-y: scroll; scrollbar-width: thin; scrollbar-color: #8b9199 transparent; scrollbar-gutter: stable; overscroll-behavior: contain; scroll-behavior: auto; }
.hero-tablet-scroll::-webkit-scrollbar { width: 7px; }
.hero-tablet-scroll::-webkit-scrollbar-track { background: transparent; margin-block: 12px; }
.hero-tablet-scroll::-webkit-scrollbar-thumb { background: #8b9199; border: 2px solid #fff; border-radius: 999px; }
.hero-tablet-image { display: block; width: 100%; height: auto; max-width: none; }
@media (max-width: 700px) {
  .hero-tablet { margin-top: 36px; padding: 8px 10px; border-radius: 22px; }
  .hero-tablet-screen { border-radius: 12px; }
  .hero-tablet::before { left: 5px; width: 3px; height: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tablet-image { animation: none; }
  .hero-tablet-scroll { overflow-y: auto; }
}
.service-body .service-hero { padding: 64px 24px 72px; }
.service-body .service-hero h1 span { display: inline-block; font-size: 1.3em; line-height: 1.4; }
.service-body .desktop-nav a:last-child { margin-left: auto; padding: 9px 22px; border-radius: 999px; background: var(--accent); color: #fff; }
.service-body .desktop-nav a:last-child:hover { background: #005fbf; color: #fff; }
.service-body h1, .service-body h2 { line-height: 1.65; text-wrap: balance; }
.service-body #value > h2, .service-body #sample > h2, .service-body #flow > h2, .service-body .closing > h2 { font-size: clamp(1.8rem, 2.88vw, 2.4rem); }
.service-body h3 { line-height: 1.7; font-weight: 700; }
.service-body p, .service-body li { line-height: 2; }
.service-body .service-hero > p { max-width: 850px; margin: 28px auto 32px; }
.service-body .service-section { border: 0; padding: 64px 32px; margin: 32px 0; border-radius: 24px; }
.service-body .service-section > h2 { text-align: center; margin: 0 auto 20px; max-width: 1000px; }
.service-body .service-section > p { text-align: center; margin: 0 auto 36px; max-width: 820px; font-size: 1rem; }
.service-body #value, .service-body #flow, .service-body #roles, .service-body #maintenance { background: #f3f5f7; }
.service-body #value { width: calc(100% + 64px); margin-left: -32px; border-radius: 0; }
.service-body #flow, .service-body #roles, .service-body .security-box, .service-body .closing { border-radius: 0; }
.service-body .explanation-grid { gap: 24px; }
.service-body .explanation-card { display: block; padding: 32px 28px; border: 0; border-radius: var(--radius); background: white; }
.service-body .explanation-card > .icon { display: block; margin: 0 auto 20px; width: 28px; height: 28px; }
.service-body .explanation-card h3 { text-align: center; }
.service-body .explanation-card p { font-size: 1rem; margin-top: 16px; }
.service-body .story-demo { border: 0; background: transparent; border-radius: 0; overflow: visible; align-items: center; }
.service-body .story-demo img, .service-body .story-demo .presentation-video { aspect-ratio: 16 / 9; min-height: 0; height: auto; border-radius: var(--radius); }
.service-body .story-demo > div { padding: 36px 0 36px 36px; }
.service-body .story-demo h3 { font-size: 1.25rem; }
.service-body .button { border-radius: 999px; text-align: center; line-height: 1.6; }
.service-body .flow-list { display: grid; gap: 16px; border: 0; border-radius: 0; overflow: visible; }
.service-body .flow-list li { position: relative; background: white; border: 0; border-radius: var(--radius); padding: 20px; grid-template-columns: 44px minmax(210px, .9fr) minmax(320px, 1.1fr); grid-template-rows: auto 1fr; gap: 8px 24px; align-items: start; }
.service-body .flow-list .step { background: var(--accent); color: white; }
.service-body .flow-list h3 { grid-column: 2; grid-row: 1; padding-top: 4px; color: var(--accent); }
.service-body .flow-list p { grid-column: 2; grid-row: 2; }
.service-body .flow-list .flow-photo { grid-column: 3; grid-row: 1 / span 2; display: block; width: 100%; height: 100%; min-height: 210px; max-height: 260px; object-fit: cover; border-radius: var(--radius); }
.service-body .security-box { border: 0; background: #f3f5f7; padding: 40px; border-radius: 0; }
.service-body .security-box h3 { text-align: center; font-size: 1.25rem; }
.service-body .security-box > p { max-width: 820px; margin: 20px auto 28px; }
.service-body .security-box ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; }
.service-body .security-box li { background: white; border-radius: var(--radius); padding: 24px; margin: 0; }
.service-body .security-box strong { display: table; background: #41464d; color: white; border-radius: 6px; padding: 4px 12px; font-size: .875rem; margin-bottom: 12px; }
.service-body .split { gap: 24px; }
.service-body .split > div { border: 0; border-radius: var(--radius); background: white; padding: 32px; }
.service-body .split h3 { text-align: center; background: #41464d; color: white; border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; }
.service-body .service-section > .section-followup { margin: 28px auto 0; font-size: .875rem; }
.service-body .service-note { font-size: .8125rem !important; line-height: 1.9; }
.service-body .service-faq details { max-width: 900px; margin: 14px auto; padding: 24px 28px; background: #f3f5f7; border: 0; border-radius: var(--radius); }
.service-body .service-faq summary { font-weight: 700; line-height: 1.8; }
.service-body .service-faq summary::marker { color: var(--accent); }
.service-body .closing { background: #f3f5f7; padding: 64px 32px; }
.service-body .closing p { max-width: 780px; }
.service-body .site-footer p:first-child { color: #41464d; }
@media (max-width: 1000px) {
  .service-body .explanation-grid { grid-template-columns: 1fr; }
  .service-body .flow-list li { grid-template-columns: 40px 1fr; gap: 12px 20px; }
  .service-body .flow-list p { grid-column: 2; }
  .service-body .flow-list .flow-photo { grid-column: 1 / -1; grid-row: auto; width: 100%; height: auto; min-height: 0; max-height: none; margin-top: 8px; aspect-ratio: 16 / 9; }
  .service-body .story-demo { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .service-body .service-hero { padding: 40px 0; }
  .service-body .service-section { padding: 40px 16px; margin: 24px 0; }
  .service-body #value { width: calc(100% + 40px); margin-left: -20px; }
  .service-body .service-section > p { margin-bottom: 28px; }
  .service-body .security-box { padding: 24px 16px; }
  .service-body .security-box ul, .service-body .split { grid-template-columns: 1fr; }
  .service-body .flow-list li { padding: 24px 16px; }
  .service-body .explanation-card, .service-body .split > div { padding: 24px; }
  .service-body .story-demo > div { padding: 24px 0 0; }
  .service-body .service-faq details { padding: 20px; }
  .service-body .closing { padding: 40px 20px; }
  .service-body .desktop-nav { gap: 12px 24px; }
}
@media print {
  .service-body .service-section, .service-body .closing { margin: 16px 0; padding: 24px; }
}

/* 対面説明の演出とQ&A。操作できる内容はアニメーションなしでも常時表示。 */
.service-body #security > h2 { color: #ef4444; }
.service-body .presentation-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #171717; object-fit: contain; }
.service-body .service-faq details { background: white; border: 1px solid #d4d4d4; padding: 0; overflow: hidden; }
.service-body .service-faq summary { display: grid; grid-template-columns: 32px 1fr 28px; gap: 16px; align-items: center; padding: 24px; list-style: none; }
.service-body .service-faq summary::-webkit-details-marker { display: none; }
.service-body .service-faq summary::before { content: "Q"; color: var(--accent); font-weight: 700; font-size: 1.25rem; }
.service-body .service-faq summary::after { content: "+"; display: grid; place-items: center; border-radius: 50%; background: #f3f5f7; color: var(--accent); width: 28px; height: 28px; line-height: 1; }
.service-body .service-faq details[open] { background: #f3f5f7; }
.service-body .service-faq details[open] summary::after { content: "−"; background: white; }
.service-body .service-faq details > p { margin: 0; padding: 0 68px 28px 72px; }
.service-body .service-faq summary:focus-visible { outline-offset: -4px; }
@media (prefers-reduced-motion: no-preference) {
  .service-body .reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .6s ease var(--reveal-delay, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
  .service-body .reveal-ready.is-visible { opacity: 1; transform: none; }
}
@media (max-width: 700px) {
  .service-body .service-faq summary { padding: 20px 16px; grid-template-columns: 24px 1fr 28px; gap: 10px; font-size: 1rem; }
  .service-body .service-faq details > p { padding: 0 20px 24px; }
}
@media print {
  .service-body .reveal-ready { opacity: 1; transform: none; }
}
