/* 本文共通。セクション順に整理しています。色は tokens.css で変更できます。 */
.anchor { display: block; scroll-margin-top: 110px; }
.bg-eee { background: var(--section-bg); }
.bg-lightpink { background: var(--accent-soft); padding: 24px; border-radius: 12px; }
.bg-03 { background: #fafafa url('../assets/img/bg03.webp') center / cover; }
.tcenter > img[src$='logo.svg'] { width: 260px; margin-bottom: 18px; }
.mtitle1 { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.8; }
.mtitle1 span, .mtitle-big4 span { color: var(--accent-strong); font-weight: 700; }
.mtitle-big3 { font-size: clamp(22px, 2.4vw, 30px); text-align: center; font-weight: 700; margin: 40px 0; }
.mtitle-big3 span { color: var(--accent-strong); border-bottom: 4px dotted var(--accent); }
.mtitle-big4 { font-size: clamp(18px, 1.6vw, 26px); font-weight: 600; line-height: 1.8; }
.mtitle-line { border-block: 3px double #aaa; text-align: center; font-size: clamp(20px, 2vw, 26px); margin: 20px 0; padding: 10px 0; font-weight: 600; }
.mtitle-tel { font-size: clamp(26px, 2.6vw, 38px); text-align: center; font-weight: 700; }
.mtitle-tel::before { content: '☎'; color: var(--accent); margin-right: 10px; }
.hr-sl { border: 0; height: 1px; background: #ccc; margin: 45px 0; }
.mbox3, .mbox4 { padding: 22px; margin: 22px 0; border: 1px solid #ddd; border-radius: 10px; background: #fff; }
.mbox3 h3, .mbox4 h3 { text-align: center; font-size: 22px; margin-bottom: 10px; }
.red { color: #ab1646; margin-top: 24px; }
.fm-text { font-size: 14px; margin-top: 20px; color: var(--muted); }
.flexbox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.flexbox > div { text-align: center; }

/* チェックリスト */
.list-check, .list-check3, .list-check4, .list-check5 { margin: 10px 0; }
.list-check li, .list-check3 li, .list-check4 li, .list-check5 li { position: relative; padding-left: 1.5em; margin: 8px 0; }
.list-check li::before, .list-check3 li::before, .list-check4 li::before, .list-check5 li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-strong); font-weight: 700; }
.list-check5 { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; }
.list-check5 .hanten { background: var(--accent-strong); color: #fff; border-radius: 8px; padding: 12px 18px 12px 42px; }
.list-check5 .hanten::before { color: #fff; left: 15px; top: 12px; }

/* 選ばれる3つの理由 */
.mbox1 { display: flow-root; margin: 45px auto; }
.mbox1 > .left { float: left; width: 45%; margin: 0 40px 24px 0; }
.mbox1 > .right { float: right; width: 45%; margin: 0 0 24px 40px; }
.mbox1 .list-check4 { display: flow-root; }
.mbox1 h3 { font-size: clamp(20px, 2vw, 30px); line-height: 1.6; font-weight: 700; padding-left: 65px; position: relative; display: table; margin-bottom: 20px; }
.mbox1 h3 span { display: block; font-size: .8em; font-weight: 500; }
.mbox1 h3::before { content: ''; position: absolute; width: 56px; height: 65px; top: 0; left: 0; background: url('../assets/img/num/1.png') top left / contain no-repeat; }
.mbox1.second h3::before { background-image: url('../assets/img/num/2.png'); }
.mbox1.third h3::before { background-image: url('../assets/img/num/3.png'); }
.mbox1 h4 { color: var(--accent-strong); font-size: clamp(18px, 1.9vw, 26px); margin: 18px 0 10px; }
table { border-collapse: collapse; width: 100%; }
.fee2 { margin: 16px 0; width: auto; min-width: 45%; }
.fee2 th, .fee2 td { padding: 12px; border: 1px solid #ccc; text-align: left; }
.fee2 th { background: #e5e5e5; font-weight: 500; }
.fee2 td { background: #fff; font-weight: 700; }
.fee3 { margin-top: 24px; }
.fee3 th, .fee3 td { padding: 22px; border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; }
.fee3 th { width: 18%; background: #f5f5f5; }

/* 工賃とご利用までの流れ */
.listFlow { margin: 24px 0; }
.listFlow > li { margin-bottom: 18px; position: relative; }
.listFlow > li:not(:last-child)::after { content: ''; position: absolute; bottom: -13px; left: 11%; border: 7px solid transparent; border-bottom: 0; border-top-color: #aaa; }
.listFlow dl { display: grid; grid-template-columns: 25% minmax(0, 1fr); }
.listFlow dt { display: grid; align-content: center; padding: 20px 14px; font-size: 20px; font-weight: 600; line-height: 1.5; text-align: center; background: #ddd; border-radius: 10px 0 0 10px; }
.listFlow dd { padding: 20px; background: #fff; border: 1px solid #ccc; border-radius: 0 10px 10px 0; }
.listFlow h4 { margin: 14px 0 8px; border-bottom: 2px dashed #ddd; font-size: 18px; }
.cbtn { margin: 14px 0; }
.cbtn a { display: inline-block; border-radius: 7px; background: var(--accent-strong); color: #fff; padding: 12px 20px; font-weight: 600; }
.cbtn a.line { background: #078d3b; }

/* 仕事の開閉・よくあるご質問 */
.faq, .faq2, .faq3 { margin: 25px 0; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #ddd; }
.accordion-toggle { width: 100%; display: block; border: 0; padding: 22px 55px 22px 24px; background: #fff; color: var(--text); position: relative; font-size: 20px; line-height: 1.6; text-align: left; font-weight: 700; }
.accordion-toggle::after { content: '+'; position: absolute; right: 23px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 500; }
.accordion-toggle[aria-expanded='true']::after { content: '−'; }
.faq2 .accordion-toggle, .faq3 .accordion-toggle { background: var(--accent-strong); color: #fff; text-align: center; font-size: clamp(20px, 2vw, 28px); }
.faq > dt .accordion-toggle { padding-left: 66px; }
.faq > dt .accordion-toggle::before { content: 'Q'; position: absolute; top: 22px; left: 24px; color: var(--accent-strong); font-weight: 800; }
.guide_detail { padding: 25px; border-top: 1px solid #ddd; }
.faq .guide_detail { position: relative; padding-left: 66px; }
.faq .guide_detail::before { content: 'A'; position: absolute; left: 24px; color: var(--accent-strong); font-weight: 800; }
.flex4, .flex5 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.flex5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.flex4 > li, .flex5 > li { border: 1px solid #ddd; background: #fff; border-radius: 8px; padding: 14px; }
.flex4 h3, .flex5 h5 { background: #eee; text-align: center; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; padding: 8px; line-height: 1.6; margin-bottom: 10px; }
.flex4 h4 { background: #f2f2f2; text-align: center; margin: 14px 0 8px; padding: 4px; font-size: 18px; }
.flex4 img, .flex5 img { width: 100%; margin-bottom: 12px; }
.flex4 li > .tcenter { background: var(--accent-soft); padding: 16px; margin-top: 15px; }
.flex5 strong { font-size: 14px; }

/* 成長ステップ */
.way_flow { margin: 25px 0; }
.way_flow > dt { background: #eee; border-radius: 5px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; padding: 10px 18px; line-height: 1.7; }
.way_flow > dd { display: flow-root; border-left: 4px dotted #777; margin-left: 25px; padding: 18px 22px 26px; }
.way_flow > dd:last-child { border: 0; }
.way_flow dd > img { float: right; width: 40%; margin: 0 0 20px 24px; }
.way_flow h3 { font-size: 18px; margin: 12px 0 6px; }
.waybox { border: 2px solid var(--accent); border-radius: 8px; padding: 16px; margin-top: 16px; }
.waybox h4 { font-size: 20px; color: var(--accent-strong); }

/* 利用者の声 */
.flex3 { display: flex; justify-content: space-evenly; flex-wrap: wrap; gap: 28px 4%; margin-top: 30px; }
.flex3 > li { width: 46%; }
.voiceimg { text-align: center; margin-bottom: 14px; }
.img-maru { border-radius: 50%; }
.voice dt { text-align: center; font-weight: 700; font-size: 20px; line-height: 1.6; }
.voice dt span { display: block; font-size: 15px; font-weight: 400; }
.voice dd { position: relative; background: #fff; border-radius: 10px; padding: 22px; margin: 28px 0 14px; box-shadow: 3px 3px 3px #0003; }
.voice dd::before { content: ''; position: absolute; top: -24px; left: calc(50% - 12px); border: 12px solid transparent; border-bottom-color: #fff; }
.voice h4 { margin: 8px 0 14px; font-size: 17px; }
.voice h4 span { color: var(--accent-strong); font-size: 1.3em; }

/* 一日の流れ */
.flowbox { max-width: 850px; margin: 45px auto; }
.flow { position: relative; padding-left: 110px; }
.flow::before { content: ''; position: absolute; left: 98px; top: 24px; bottom: 24px; width: 9px; background: #e5e5e5; }
.flow > li { position: relative; margin-bottom: 26px; }
.flow .icon { position: absolute; left: -110px; top: 12px; font-size: 22px; font-weight: 700; color: var(--accent-strong); }
.flow .icon::after { content: ''; width: 15px; height: 15px; background: var(--accent); border: 4px solid #fff; border-radius: 50%; position: absolute; left: 92px; top: 14px; }
.flow dl { padding: 18px 24px; border: 1px solid #ddd; border-radius: 10px; background: #fff; margin-left: 20px; }
.flow dt { font-size: 22px; font-weight: 700; }

/* 不安と回答の会話 */
.kaiwa, .kaiwa2 { display: flex; align-items: center; gap: 24px; margin: 22px 0; }
.kaiwa2 { justify-content: flex-end; }
.faceicon { flex: 0 0 130px; }
.faceicon img { width: 130px; border-radius: 50%; }
.chatting { max-width: calc(100% - 155px); }
.says, .says2 { position: relative; background: #fff; border: 2px solid #ddd; border-radius: 14px; padding: 18px 26px; font-size: 22px; font-weight: 600; line-height: 1.7; }
.says2 { background: var(--accent-soft); border-color: #f4b8d8; }
.kaiwa + .kaiwa2 + .mbox4 { margin-bottom: 60px; }

/* 4つのサポート */
.flex6 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; margin-top: 46px; }
.flex6 > li { position: relative; border-radius: 15px; box-shadow: 0 0 18px #00155a1c; padding: 28px; background: #fff; }
.flex6 h3 { font-size: clamp(18px, 1.9vw, 25px); line-height: 1.6; margin: 12px 0 18px; }
.flex6 h4 { font-size: 20px; border-bottom: 2px dashed #ddd; margin: 20px 0 10px; }
.flex6 > li > img { width: 100%; }
.fukidashi_box { display: inline-block; background: var(--accent-strong); color: #fff; font-size: 17px; padding: 2px 15px; border-radius: 6px; }
i[class*='fa-'] { display: inline-block; font-style: normal; margin-right: .25em; color: var(--accent-strong); }
.fa-check-circle::before, .fa-arrow-alt-circle-right::before { content: '✓'; }
.fa-envelope::before { content: '✉'; }
.fa-line::before { content: 'LINE'; font-size: .8em; }
.cbtn i { color: inherit; }

/* アクセス。地図は必要なときだけ読み込みます。 */
.mapbox { margin-top: 25px; }
.map-consent { min-height: 320px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px; background: #f4f4f4; border: 1px solid #ddd; padding: 24px; }
.map-consent p:first-child { font-size: 24px; font-weight: 700; }
.map-consent button { padding: 12px 24px; border: 1px solid #555; background: #fff; border-radius: 8px; }
.map-consent small { color: var(--muted); font-size: 13px; }
.mapbox iframe { display: block; width: 100%; height: 420px; border: 0; }

/* 送信しない確認フォーム */
.preview-form-note { border-left: 4px solid var(--accent-strong); background: var(--accent-soft); padding: 16px; margin: 20px 0; }
.form dl { display: grid; grid-template-columns: 28% minmax(0, 1fr); border-top: 1px solid #ddd; }
.form dt, .form dd { border-bottom: 1px solid #ddd; padding: 22px 16px; }
.form dt { font-weight: 600; background: #f5f5f5; }
.form dt span { display: inline-block; font-size: 13px; color: #fff; background: #b31b5d; border-radius: 4px; padding: 1px 7px; margin-right: 10px; }
.form dt span.optional { background: #656565; }
.form input:not([type='radio']), .form textarea { width: 100%; padding: 11px 12px; border: 1px solid #aaa; background: #fff; border-radius: 5px; font-size: 16px; line-height: 1.7; }
.form input[type='radio'] { width: 18px; height: 18px; vertical-align: middle; margin: 0 8px 3px 0; accent-color: var(--accent-strong); }
.form label { display: inline-block; padding: 5px 0; }
.form textarea { resize: vertical; min-height: 150px; }
.form [aria-invalid='true'] { border: 2px solid #b00020 !important; }
.form-button { text-align: center; margin: 30px 0; }
.form-button button { padding: 15px 30px; border: 0; border-radius: 8px; background: var(--accent-strong); color: #fff; font-weight: 700; }
#contact-status { margin-top: 20px; font-weight: 600; }
.input-error { color: #a10020; font-size: 14px; margin-top: 6px; }

/* ナビゲーションと追従ボタン */
.floating-reserve { display: block; position: fixed; right: 10px; bottom: 70px; width: 220px; z-index: 25; filter: drop-shadow(0 3px 6px #0002); }
.floating-reserve img { width: 100%; }
.floating-reserve:hover { transform: translateY(-3px); }
.back-top { display: grid; place-items: center; position: fixed; right: 20px; bottom: 15px; border: 1px solid #ddd; border-radius: 50%; width: 44px; height: 44px; background: #fff; font-size: 28px; line-height: 1; z-index: 26; box-shadow: 0 2px 8px #0001; }
.menu-backdrop { display: block; position: fixed; inset: 0; background: #0006; z-index: 50; }
.mobile-menu { display: block; position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); padding: 20px; background: #fff; z-index: 51; overflow-y: auto; overscroll-behavior: contain; box-shadow: -5px 0 20px #0002; }
.mobile-menu ul { margin-top: 20px; }
.mobile-menu li { border-bottom: 1px solid #ddd; }
.mobile-menu li a { display: block; font-size: 15px; padding: 13px 6px; font-weight: 500; }
.mobile-menu li a:hover { color: var(--accent-strong); }
.menu-close { display: block; margin-left: auto; border: 1px solid #ddd; padding: 7px 16px; border-radius: 6px; background: #fff; }
body.menu-open { overflow: hidden; }

@media (max-width: 820px) {
  .anchor { scroll-margin-top: 90px; }
  .mbox1 { margin: 28px 0; }
  .mbox1 > .left, .mbox1 > .right { float: none; display: block; width: 100%; max-width: 620px; margin: 0 auto 25px; }
  .fee2 { width: 100%; }
  .flex5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flex6 { gap: 25px; }
  .flex6 > li { padding: 22px; }
  .floating-reserve { display: none !important; }
  .back-top { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; }
}

@media (max-width: 600px) {
  .bg-lightpink, .mbox3, .mbox4 { padding: 18px; }
  .mtitle-line { font-size: 21px; }
  .mtitle-big3 { font-size: 22px; }
  .mbox1 h3 { font-size: 20px; padding-left: 50px; }
  .mbox1 h3::before { width: 43px; height: 50px; }
  .mbox1 h4 { font-size: 20px; }
  .fee2 th, .fee2 td { padding: 10px; font-size: 14px; }
  .fee2 th { width: 58%; }
  .fee3 th, .fee3 td { display: block; width: 100%; padding: 14px; }
  .listFlow dl { grid-template-columns: 1fr; }
  .listFlow dt { border-radius: 8px 8px 0 0; font-size: 19px; padding: 12px; }
  .listFlow dd { border-radius: 0 0 8px 8px; padding: 18px; }
  .listFlow > li:not(:last-child)::after { left: calc(50% - 7px); }
  .listFlow dt br { display: none; }
  .flex3 { display: block; }
  .flex3 > li { width: 100%; margin: 0 0 35px; }
  .flex4, .flex5, .flex6 { grid-template-columns: 1fr; }
  .flex6 { gap: 30px; margin-top: 30px; }
  .flex6 h3 { font-size: 20px; }
  .flex6 h4 { font-size: 18px; }
  .accordion-toggle { font-size: 18px; padding: 18px 42px 18px 18px; }
  .accordion-toggle::after { right: 16px; font-size: 25px; }
  .faq > dt .accordion-toggle { padding-left: 45px; }
  .faq > dt .accordion-toggle::before { left: 16px; top: 18px; }
  .guide_detail { padding: 16px; }
  .faq .guide_detail { padding-left: 45px; }
  .faq .guide_detail::before { left: 16px; }
  .way_flow > dd { margin-left: 10px; padding: 18px 0 25px 16px; }
  .way_flow dd > img { float: none; width: 100%; margin: 0 0 20px; }
  .waybox { padding: 12px; }
  .way_flow > dt { font-size: 19px; }
  .voice dd { padding: 20px; }
  .flow { padding-left: 65px; }
  .flow::before { left: 59px; width: 7px; }
  .flow .icon { left: -65px; font-size: 17px; top: 13px; }
  .flow .icon::after { left: 55px; top: 11px; width: 15px; height: 15px; }
  .flow dl { margin-left: 12px; padding: 14px; }
  .flow dt { font-size: 19px; }
  .flow dd { font-size: 15px; }
  .kaiwa, .kaiwa2 { gap: 12px; }
  .faceicon { flex-basis: 70px; }
  .faceicon img { width: 70px; }
  .chatting { max-width: calc(100% - 82px); }
  .says, .says2 { font-size: 17px; padding: 12px; }
  .list-check5 { font-size: 18px; }
  .map-consent { min-height: 270px; padding: 20px; }
  .mapbox iframe { height: 300px; }
  .form dl { grid-template-columns: 1fr; }
  .form dt { padding: 12px 14px; }
  .form dd { padding: 14px 0 22px; }
  .form-button button { padding: 15px 18px; width: 100%; }
  .footer-links { gap: 20px; font-size: 14px; }
}
