@charset "UTF-8";

/* =========================================
 1. Variables & Global Reset (カラーの一元管理)
========================================= */
:root { --primary-green: #007737; --primary-green-hover: #005823; --accent-orange: #F65A07; --accent-orange-hover: #e05400; --accent-yellow: #ffec97; --text-main: #323232; --text-sab: #ffffff; --text-light: #555555; --text-req: #d32f2f; --bg-white: #ffffff; --bg-gray: #f2f5f6; --bg-gray-light: #fafafa; --bg-price: #fdf5f0; --border-color: #efefef; --border-table: #dcdcdc; --border-input: #cccccc; }

.service-hero-wrap *, .choose *, .service-compare *, .cost-compare-v2 *, .results *, .reviews *, .flow *, .faq *, .service-cv-section * { box-sizing: border-box; }
.service-hero-wrap, .choose, .service-compare, .cost-compare-v2, .results, .reviews, .flow, .faq, .service-cv-section { font-family: "Noto Sans JP", sans-serif; font-size: 19px; color: var(--text-main); line-height: 1.8; }
@media screen and (max-width: 1024px) { .service-hero-wrap, .choose, .service-compare, .cost-compare-v2, .results, .reviews, .flow, .faq, .service-cv-section { font-size: 12px; } }

img { max-width: 100%; height: auto; vertical-align: middle; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* ▼ ベースCSSに合わせた1400pxの共通コンテナ ▼ */
main #breadcrumb ul, main ._cm_title { width: 90% !important; max-width: 1400px !important; margin-left: auto !important; margin-right: auto !important; }
main .inner, main ._inner { width: 90% !important; max-width: 1400px !important; margin-left: auto !important; margin-right: auto !important; }
main .choose-card, main .cost-compare__tables, main .results-list, main .flow-list, main .faq-list { max-width: 1400px !important; margin-left: auto !important; margin-right: auto !important; }
main .cost-compare-v2__main-box { background-color: #ffffff; padding: 50px 20px 40px; max-width: 1400px !important; margin-left: auto !important; margin-right: auto !important; border-radius: 0; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
main .contact-form { max-width: 800px !important; margin-left: auto !important; margin-right: auto !important; }

/* =========================================
 2. Common Components (人情味・安心感)
========================================= */
.sec-title { text-align: center; margin-bottom: 80px; }
@media screen and (max-width: 1024px) { .sec-title { margin-bottom: 40px; } }
.sec-title h2 { font-size: 42px; font-weight: 600; color: var(--text-sab); line-height: 1.4; display: inline-block; position: relative; }
@media screen and (max-width: 1024px) { .sec-title h2 { font-size: 26px; } }
.sec-title p { font-size: 26px; color: var(--text-sab); font-weight: bold; margin-bottom: 15px; letter-spacing: 2px; }
@media screen and (max-width: 1024px) { .sec-title p { font-size: 16px; letter-spacing: 0px;} }
.btn-orange { display: inline-flex; align-items: center; justify-content: center; background: var(--accent-orange); color: var(--text-sab); font-weight: bold; border-radius: 10px; padding: 20px 50px; font-size: 22px; box-shadow: 0 6px 15px rgba(252, 95, 0, 0.3); transition: 0.3s; text-align: center; }
.btn-orange:hover { background: var(--accent-orange-hover); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(252, 95, 0, 0.4); }
@media screen and (max-width: 1024px) { .btn-orange { width: 100%; padding: 15px; font-size: 18px; } }
.btn-green { border: solid 1px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-green); color: var(--text-sab); font-weight: bold; border-radius: 50px; padding: 20px 60px; font-size: 18px; box-shadow: 0 4px 10px rgba(0, 119, 55, 0.2); transition: 0.3s; }
@media screen and (max-width: 1024px) { .btn-green { padding: 16px 20px; font-size: 16px;} }  
.btn-green:hover { background: var(--primary-green-hover); transform: translateY(-2px); }
.text-center { text-align: center; max-width: 640px; margin: 0 auto; }
.text-center p { font-size: 42px; font-weight: bold; margin-bottom: 20px; color: var(--text-sab); }
@media screen and (max-width: 1024px) { .text-center p { font-size: 26px; } }
.text-center span { text-shadow: 2px 2px 0 var(--primary-green), -2px 2px 0 var(--primary-green), 2px -2px 0 var(--primary-green), -2px -2px 0 var(--primary-green); }
.marker { background: linear-gradient(transparent 60%, var(--accent-yellow) 0%); font-weight: 600; }

/* =========================================
 3. Header (全体制御 & ボタン2分割)
========================================= */
.header { position: fixed; top: 0; left: 0; width: 100%; background: var(--bg-white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); z-index: 100; height: 80px; display: flex; align-items: center; }
@media screen and (max-width: 1024px) { .header { height: 70px; } }
@media screen and (min-width: 1025px) { ._mvslider  {top: 70px !important; } }
.header__inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.header__logo { font-size: 28px; font-weight: 600; color: var(--primary-green); display: flex; align-items: center; gap: 5px; }
@media screen and (max-width: 1024px) { .header__logo { font-size: 22px; } }
.header__logo .material-icons { font-size: 34px; color: var(--accent-orange); }
.header__nav { display: flex; align-items: center; gap: 24px; }
@media screen and (max-width: 1024px) { .header__nav { display: none; } }
.header__nav a { font-weight: 600; font-size: 18px; color: var(--text-main); }
.header__nav a:hover { color: var(--primary-green); }
.header__btn { background: var(--accent-orange); color: var(--text-sab) !important; padding: 12px 30px; border-radius: 10px; font-weight: bold; }
.header__btn:hover { background: var(--accent-orange-hover); }
@media screen and (max-width: 1024px) { body .slide_menu .menu_inner .menu_list { padding-bottom: 45vw; } }

/* =========================================
 4. MV (トップ画像 & CTAボタン)
========================================= */
.mv { background: var(--bg-white); padding: 70px 0 90px; position: relative; }
@media screen and (max-width: 1024px) { .mv { padding: 40px 0 60px; } }
._mvTitle { font-size: min(1.5vw, 30px); display: inline-block; width: 100%; line-height: 1.6; }
@media screen and (max-width: 1024px) { ._mvTitle { font-size: 14px; width: 100%; max-width: 500px; margin: 0 auto; } }
@media screen and (max-width: 675px) { ._mvTitle { font-size: 2.5vw;; width: 100%; max-width: 100%; padding: 0 10px; margin: 0 auto; } }
.mv::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; background: var(--bg-white); border-radius: 10px 10px 0 0; }
.mv__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 2; }
@media screen and (max-width: 1024px) { .mv__inner { flex-direction: column; } }
.mv__content { width: 55%; }
@media screen and (max-width: 1024px) { .mv__content { width: 100%; } }
.mv__content h1 { font-size: 38px; font-weight: 600; color: var(--text-main); line-height: 1.4; margin-bottom: 25px; }
@media screen and (max-width: 1024px) { .mv__content h1 { font-size: 26px; text-align: center; } }
.mv__content p.lead { display: inline-block; font-size: 24px; color: var(--primary-green); font-weight: bold; margin-bottom: 15px; border: 2px solid var(--primary-green); padding: 5px 20px; border-radius: 10px; background: var(--bg-white); }
@media screen and (max-width: 1024px) { .mv__content p.lead { font-size: 16px; display: block; text-align: center; } }
.mv__content p.strong { font-size: 24px; font-weight: 600; color: var(--text-main); margin-bottom: 35px; line-height: 1.6; }
@media screen and (max-width: 1024px) { .mv__content p.strong { font-size: 16px; text-align: center; } }
@media screen and (max-width: 1024px) { .mv__content .text-center { text-align: center; } }
.mv__image { width: 45%; position: relative; }
@media screen and (max-width: 1024px) { .mv__image { width: 100%; } }
.mv__image img { border-radius: 10px; box-shadow: 0 15px 30px rgba(0, 119, 55, 0.1); }
.mv__badges { position: absolute; bottom: -30px; right: -20px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media screen and (max-width: 1024px) { .mv__badges { position: relative; bottom: 0; right: 0; margin-top: 20px; } }
.mv__badge { background: var(--bg-white); border-radius: 10px; padding: 15px 25px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 16px; color: var(--primary-green); }
.mv__badge .material-icons { font-size: 26px; color: var(--accent-orange); }

/* =========================================
   ヘッダー：全体の幅調整・右側余白・折り返し防止（1行フォーマット）
========================================= */
@media screen and (min-width: 1025px) {
   body #HEADER > ._headerIn { padding: 0 3vw 0 1vw !important; box-sizing: border-box !important; display: flex !important; justify-content: space-between !important; }
   body #HEADER ._rogo { flex: 0 0 15% !important; }
   body #HEADER nav {flex: 0 0 41% !important; }
   body #HEADER ._headerContact { width: 46% !important; flex: 0 0 46% !important; display: flex !important; }
   body #HEADER ._headerContact > div._telBlock { width: 40% !important; white-space: nowrap !important; padding: 0 15px 0 5px !important; }
   body #HEADER ._headerContact > div._mailBlock { width: 60% !important; }
}

/* MVボタン2分割とベース装飾復元 */
.top-mv-rev .mv-cta-area { margin: 20px 0 30px; width: 100%; max-width: 71%; }
.top-mv-rev .mv-cta-btn-group { display: flex; gap: 2%; width: 100%; justify-content: center; align-items: stretch; }
.top-mv-rev .mv-cta-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 49%; padding: 12px 10px; border-radius: 50px; border: none; cursor: pointer; transition: all 0.3s ease; overflow: hidden; text-decoration: none; color: #fff; }
.top-mv-rev .mv-cta-btn .btn-microcopy { font-size: 14px; font-weight: bold; margin-bottom: 4px; opacity: 0.9; letter-spacing: 0.05em; line-height: 1.2; }
.top-mv-rev .mv-cta-btn .btn-main-text { display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; width: 100%; }
.top-mv-rev .mv-cta-btn::before { content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); animation: shine 3s infinite; }
.top-mv-rev .mv-cta-btn:hover { transform: translateY(-3px); color: #fff; }
.top-mv-rev .mv-cta-btn .material-icons { margin-right: 8px; font-size: 26px; }
.top-mv-rev .mv-cta-btn .arrow-icon { margin-right: 0; margin-left: 8px; }
.top-mv-rev .mv-cta-btn--contact { background: #ff6b00; box-shadow: 0 6px 15px rgba(255, 107, 0, 0.3); }
.top-mv-rev .mv-cta-btn--contact:hover { background: #ff7f20; box-shadow: 0 10px 20px rgba(255, 107, 0, 0.4); }
.top-mv-rev .mv-cta-btn--dl { background: var(--primary-green); box-shadow: 0 6px 15px rgba(0, 119, 55, 0.3); }
.top-mv-rev .mv-cta-btn--dl:hover { background: var(--primary-green-hover); box-shadow: 0 10px 20px rgba(0, 119, 55, 0.4); }
@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
@media screen and (max-width: 1024px) {
   .top-mv-rev .mv-cta-area { display: none; }
}

/* MVのPC・SPレイアウト最適化（テキスト折り返し防止等） */
@media screen and (min-width: 1025px) {
   main ._topMv ._mvContents ._numContaner { width: 48% !important; justify-content: space-between !important; }
   main ._topMv ._mvContents ._numBlock { padding: 15px 10px !important; width: 49% !important; }
   main ._topMv ._mvContents ._numBlock h3 { font-size: 24px !important; white-space: nowrap !important; letter-spacing: -0.5px !important; margin-bottom: 4px !important; padding-bottom: 4px !important; }
   main ._topMv ._mvContents ._numBlock p._num { font-size: 15px !important; white-space: nowrap !important; }
   main ._topMv ._mvContents ._numBlock p._num span { font-size: 48px !important; font-weight: bold; }
}
@media screen and (max-width: 1024px) { 
   ._topMv.top-mv-rev { display: flex; flex-direction: column; padding-top: 0; padding-bottom: 0; } 
   ._topMv.top-mv-rev ._inner { order: 1 !important; width: 100%; padding-bottom: 0; } 
   ._topMv.top-mv-rev ._mvslider { order: 2 !important; position: relative !important; height: 160px !important; width: 100% !important; margin-top: 10px !important; margin-bottom: 0 !important; } 
   ._topMv ._mvpan { text-align: center; }
   ._topMv h2 { display: block !important; width: 100% !important; text-align: center !important; margin: 10px auto !important; font-size: 20px; line-height: 1.1; } 
   ._topMv h2 i {top: -20% !important; right: 0% !important; width: 20% !important; } 
   ._topMv ._mvContents { gap: 10px !important; margin-left: 10%;}
   ._topMv ._mvContents ._gyokai { width: auto !important; text-align: center !important; margin-bottom: 0 !important; padding-top: 0 !important; }
   ._topMv ._mvContents ._gyokai h3, ._topMv ._mvContents ._gyokai p._txt { text-align: center !important; margin: 0 !important; } 
   ._topMv ._mvContents ._gyokai h3 { padding-top: 0 !important; margin-top: -8px !important; line-height: 1.1 !important; } 
   ._topMv ._mvContents ._gyokai p.fukidashi { display: table !important; margin: 0 auto -8px !important; width: fit-content !important; position: relative !important; z-index: 1; } 
   ._topMv ._mvContents ._gyokai p.fukidashi span::before, ._topMv ._mvContents ._gyokai p.fukidashi span::after { top: 7px; width: 20px; }
   ._topMv ._mvContents ._gyokai p.fukidashi span::before { left: -25px; }
   ._topMv ._mvContents ._gyokai p.fukidashi span::after { right: -25px; }
   ._topMv ._mvContents ._numContaner { margin: 0 !important; gap: 5px !important; padding: 0 !important; box-sizing: border-box !important; width: auto !important; max-width: 100% !important; justify-content: space-between !important; }
   ._topMv ._mvContents ._numBlock { padding: 10px 15px !important; width: 49% !important; }
   ._topMv ._mvContents ._numBlock h3 { font-size: 16px !important; margin-bottom: 4px !important; padding-bottom: 4px !important; white-space: nowrap !important; letter-spacing: -0.5px !important; }
   ._topMv ._mvContents ._numBlock p._num { font-size: 12px !important; white-space: nowrap !important; } 
   ._topMv ._mvContents ._numBlock p._num span { font-size: 26px !important; font-weight: bold; } 
   ._topMv ._mvContents ._numBlock>div { margin-top: 4px !important; }
   ._topMv ._mvContents ._numBlock>div figure img { height: 24px !important; }
   ._topMv ._mvContents ._numBlock>div._mgn { margin-top: 4px !important; }
   .top-mv-rev { display: block; margin: 15px 0 0; }
   ._topInfor { padding: 10px 0; }
   ._topInfor ._inner p { padding-bottom: 0; margin-bottom: 5px; }
}
/* ==================================================
   タブレット（676px〜1024px）専用
================================================== */
@media screen and (min-width: 676px) and (max-width: 1024px) {
   ._topMv h2 { position: relative !important; text-align: center !important; margin: 15px auto !important; width: 100% !important; font-size: 5vw !important; }
   ._topMv ._mvContents::before { content: ""; position: absolute; top: -30px; right: 0; width: 30vw; max-width: 140px; height: 140px; background-image: url("../images/top/mv_badge_01.png"); background-size: contain; background-repeat: no-repeat; z-index: 11; }
   ._topMv ._mvContents { flex-direction: row !important; align-items: flex-start !important; justify-content: space-between !important; padding: 0 15px !important; box-sizing: border-box !important; margin: 30px auto 0 !important; width: 100% !important; max-width: 900px !important; position: relative !important; }
   ._topMv ._mvContents ._gyokai { width: 30% !important; margin: 0 !important; text-align: center !important; padding-top: 10px !important; }
   ._topMv ._mvContents ._gyokai h3, ._topMv ._mvContents ._gyokai p._txt { text-align: center !important; }
   ._topMv ._mvContents ._gyokai p.fukidashi { display: inline-block !important; margin: 0 auto !important; }
   ._topMv ._mvContents ._gyokai h3 { font-size: 2.8vw !important; margin-top: 5px !important; }
   ._topMv ._mvContents ._numContaner { width: 65% !important; max-width: 100% !important; justify-content: space-between !important; flex-direction: row !important; padding: 0 !important; }
   ._topMv ._mvContents ._numBlock { width: 48% !important; padding: 15px 10px !important; overflow: hidden !important; }
   ._topMv ._mvContents ._numBlock h3 { font-size: 1.8vw !important; white-space: nowrap !important; margin-bottom: 8px !important; padding-bottom: 8px !important; }
   ._topMv ._mvContents ._numBlock p._num { font-size: 2vw !important; }
   ._topMv ._mvContents ._numBlock p._num span { font-size: 4vw !important; }
   ._topMv ._mvContents ._txt { font-size: 1.5vw !important; }
}
@media screen and (min-width: 676px) { ._topMv ._mvContents { align-items: center !important; } ._topMv ._mvContents ._gyokai { padding-top: 0 !important; margin-top: 0 !important; } }
@media screen and (max-width: 675px) {
   ._topMv ._mvContents { flex-direction: column !important; align-items: flex-start !important; padding: 0 10px !important; box-sizing: border-box !important; margin-left: 0%;}
   ._topMv ._mvContents ._gyokai { width: 60% !important; }
   ._topMv ._mvContents ._numContaner { width: 100% !important; max-width: 100% !important; padding: 0 !important; justify-content: space-between !important; }
   ._topMv ._mvContents ._numBlock { width: 49% !important; padding: 5px 2px !important; overflow: hidden !important; }
   ._topMv ._mvContents ._numBlock h3 { margin-bottom: 2px !important; padding-bottom: 2px !important; white-space: nowrap !important; font-size: 14px }
   ._topMv ._mvContents ._numBlock p._num { font-size: 16px !important} 
   ._topMv ._mvContents ._numBlock>div { margin-top: 2px !important; }
   ._topMv ._mvContents ._numBlock>div._mgn { margin-top: 2px !important; }
   ._topMv h2 { position: relative !important; font-size: 8vw !important;}
   ._topMv h2 i {top: 100% !important; right: 16px !important; width: 40% !important; }
   
}

/* =========================================
 5. Service (お悩み)
========================================= */
.service { padding: 80px 0; background: var(--bg-white); background-image: url(/assets/images/top/top_kaitori_bg_01.jpg); background-size: cover; background-position: center center; clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%); }
@media screen and (max-width: 1024px) { .service { padding: 60px 0 !important; clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 50% 100%, 0% 95%); background-position: center center !important; background-size: auto 100% !important; } }

/* 1行チェックリスト */
.problem-checklist-wrap { max-width: 800px; margin: 0 auto 50px; background: var(--bg-white); border-radius: 12px; padding: 40px 50px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border: 3px solid var(--accent-orange); }
.problem-checklist { display: flex; flex-direction: column; gap: 20px; }
.problem-checklist li { display: flex; align-items: center; font-size: 22px; font-weight: bold; color: var(--text-main); line-height: 1.5; padding-bottom: 15px; border-bottom: 1px dashed var(--border-color); }
.problem-checklist li:last-child { border-bottom: none; padding-bottom: 0; }
.problem-checklist li .check-icon { color: var(--primary-green); font-size: 32px; margin-right: 15px; flex-shrink: 0; }
.problem-checklist li .highlight { background: linear-gradient(transparent 60%, var(--accent-yellow) 0%); }

/* 解決テキスト */
main #TOP-PAGE .text-center p.service-solution-text > span.text-chunk { display: inline-block; white-space: nowrap; text-shadow: none; }

/* スマホ表示用（お悩みセクション全体） */
@media screen and (max-width: 1024px) {
   .problem-checklist-wrap { padding: 25px 20px; margin-bottom: 40px; }
   .problem-checklist { gap: 15px; }
   .problem-checklist li { font-size: 16px; padding-bottom: 12px; align-items: flex-start; }
   .problem-checklist li .check-icon { font-size: 24px; margin-right: 10px; margin-top: 2px; }
   main #TOP-PAGE .text-center p.service-solution-text { font-size: clamp(16px, 6vw, 26px); }
}

/* =========================================
 6. Choose (3つの強み)
========================================= */
.choose { padding: 80px 0 20px; background: var(--bg-white); }
@media screen and (max-width: 1024px) { .choose { padding: 60px 0 !important; } }
.choose-card { font-size: 1.35714rem; color: var(--text-sab); border-radius: 100px; display: flex; align-items: center; gap: 40px; margin-bottom: 60px; }
@media screen and (max-width: 1024px) { .choose-card { flex-direction: column; gap: 20px; margin-bottom: 40px; } }
.choose-card--reverse { flex-direction: row-reverse; }
@media screen and (max-width: 1024px) { .choose-card--reverse { flex-direction: column; gap: 20px; margin-bottom: 40px; } }
.choose-card__img { flex: 1; border-radius: 10px; overflow: hidden; }
.choose-card__body { flex: 1; }
.choose-card__badge { position: relative; display: inline-block; background: var(--primary-green) !important; color: var(--text-sab); font-size: 1.35714rem; border-radius: 100px; padding: 6px 18px; }
.choose-card__badge::after { content: ""; position: absolute; background-image: none !important; background-color: transparent !important; width: 0 !important; height: 0 !important; border-style: solid !important; border-width: 12px 10px 0 10px !important; border-color: var(--primary-green) transparent transparent transparent !important; bottom: -11px !important; left: 25px !important; }
.choose-card__title { font-size: 28px; font-weight: 600; color: var(--text-main); margin: 20px 0; line-height: 1.4; }
@media screen and (max-width: 1024px) { .choose-card__title { font-size: 22px; } }
.choose-card__text { font-size: 20px; line-height: 1.6; color: var(--text-main); margin-bottom: 30px; }
@media screen and (max-width: 1024px) { .choose-card__text { font-size: 16px; } }
.choose-card__btn a { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-white); padding: 15px 30px; border-radius: 10px; font-weight: bold; color: var(--text-main); border: 2px solid var(--border-color); transition: 0.3s; }
.choose-card__btn a:hover { color: var(--accent-orange); }
@media screen and (max-width: 1024px) { .choose-card__badge::after { border-width: 8px 6px 0 6px !important; bottom: -7px !important; left: 15px !important; width: 0 !important; height: 0 !important; } }

/* ==================================================
   7. コスト比較（シミュレーター）
================================================== */
.cost-compare-v2 { padding: 80px 0; background-color: var(--bg-gray); }
.cost-compare-v2__header { text-align: center; margin-bottom: 30px; }
.cost-compare-v2__sub { font-weight: bold; color: #555555; font-size: 26px; margin-bottom: 10px; }
.cost-compare-v2__title { font-size: 42px; font-weight: 600; color: #333333; margin-bottom: 25px; }
.cost-compare-v2__desc { font-size: 20px; color: #333333; line-height: 1.8; margin-bottom: 0; }
.cost-compare-v2__case { display: inline-block; background: #ffffff; border: 1px solid #777777; padding: 15px 40px; color: #333333; font-size: 20px; font-weight: bold; letter-spacing: 1px; margin-bottom: 35px; }
.cost-compare-v2__scroll-area { max-width: 900px; margin: 0 auto; position: relative; text-align: left; }
.cost-compare-v2__table { display: grid; grid-template-columns: 200px 1fr 1fr; background: #ffffff; position: relative; margin-top: 30px; }
.grid-cell { display: flex; align-items: baseline; justify-content: center; padding: 8px 15px; position: relative; z-index: 1; }
.grid-cell--empty { background: transparent; }
.grid-head { font-weight: bold; font-size: 22px; text-align: center; line-height: 1.4; align-items: flex-end; padding-bottom: 20px; }
.grid-head--good { background: #ea6b24; color: #ffffff; margin-left: -2px; margin-top: -33px; border-radius: 8px 8px 0 0; }
.grid-head--normal { background: #7d7d7d; color: #ffffff; padding-top: 20px; border-radius: 0; }
.grid-img { flex-direction: column; padding: 20px 25px 0 25px; }
.grid-img--good { background: #fdf5f0; }
.grid-img--normal { background: #f5f5f5; }
.grid-img p { font-size: 18px; text-align: center; line-height: 1.5; background: #ffffff; border: 1px solid #d32f2f; color: #d32f2f; padding: 8px; margin-bottom: 15px; width: 100%; }
.grid-img--normal p { color: #d32f2f; border-color: #d32f2f; }
.grid-img img { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; margin-top: auto !important; }
.grid-label { font-weight: bold; font-size: 18px; color: #333333;justify-content: flex-end; margin-right: 20px; border-bottom: 1px dotted #cccccc; align-items: center;}
.grid-value { font-weight: bold; font-size: 28px; color: #333333; border-bottom: 1px dotted #cccccc; }
.grid-value--good { background: #fdf5f0; }
.grid-value--normal { background: #f5f5f5; }
.text-orange { color: #ea6b24 !important; }
.unit { font-size: 16px; margin-left: 2px; font-weight: bold; }
.total-unit { font-size: 28px; margin-left: 2px; font-weight: bold; }
.grid-label--total { font-size: 32px; color: #ea6b24; border-bottom: none; }
.grid-value--total { font-size: 40px; border-bottom: none; }
.grid-value--good-total { background: #fdf5f0; }
.grid-value--normal-total { background: #f5f5f5; }
.grid-border-good { position: absolute !important; top: -33px !important; left: 200px !important; width: calc((100% - 200px) / 2) !important; height: calc(100% + 33px) !important; border: 5px solid #ea6b24 !important; border-radius: 8px 8px 0 0 !important; pointer-events: none !important; z-index: 10 !important; box-sizing: border-box !important; background: transparent !important; }
.grid-border-good::before, .grid-border-good::after { display: none !important; }
.highlight-value { font-size: 34px !important; font-weight: 900 !important; }
.cost-foot-text-v2 { margin: 30px auto 0; background: #ea6b24; width: 100%; max-width: 100%; border-radius: 8px; padding: 15px 20px; text-align: center; color: #ffffff; position: relative; }
.cost-foot-text-v2::before { content: ""; position: absolute; top: -15px; left: calc(200px + (100% - 200px) / 4); transform: translateX(-50%); border-width: 0 15px 15px 15px; border-style: solid; border-color: transparent transparent #ea6b24 transparent; }
.cost-foot-text-v2__main { font-size: 30px; letter-spacing: 2px; color: var(--bg-white); }
.cost-foot-text-v2__main .highlight { font-size: 48px; text-decoration: underline; margin-left: 10px; font-weight: bold; }
.cost-compare-v2__footer-text { text-align: center; margin-top: 20px; font-size: 24px; font-weight: bold; line-height: 1.8; color: #333333; }
.cost-compare-v2__footer-text .marker { background: linear-gradient(transparent 60%, #ffec97 0%); }
.grid-head--good { display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; padding-bottom: 10px !important; }
.grid-head--good br { display: none !important; }
.grid-head-first { display: inline-flex; align-items: center; justify-content: center; position: relative; white-space: nowrap; margin-bottom: 4px; }
.grid-head-first::before, .grid-head-first::after { content: ""; display: inline-block; width: 20px; height: 2px; background-color: #ffffff; }
.grid-head-first::before { transform: rotate(70deg); margin-right: 2px; }
.grid-head-first::after { transform: rotate(-70deg); margin-left: 2px; }
.triangle { font-size: 0.65em; vertical-align: middle; margin-right: 4px; position: relative; top: -2px; }

@media screen and (max-width: 1024px) {
   .cost-compare-v2 { padding: 40px 0; }
   .cost-compare-v2__header { padding: 0 10px; margin-bottom: 20px; }
   .cost-compare-v2__sub { font-size: 14px; margin-bottom: 5px; }
   .cost-compare-v2__title { font-size: 22px; margin-bottom: 12px; } 
   .cost-compare-v2__desc { font-size: 13px; margin-bottom: 0; text-align: left; line-height: 1.6; }
   .cost-compare-v2__case { font-size: 14px; padding: 6px; width: 95%; text-align: center; margin-bottom: 20px; letter-spacing: 0; }
   .cost-compare-v2__scroll-area { margin: 0; padding: 0 10px 20px; text-align: left; overflow-x: visible; }
   .cost-compare-v2__table { min-width: auto; width: 100%; grid-template-columns: 80px 1.2fr 1fr; margin-top: 25px; }
   .cost-compare-v2__table .grid-head--good { border-radius: 6px 6px 0 0 !important; }
   .grid-cell { padding: 6px 4px; }
   .grid-head { font-size: 11px; padding: 8px 4px; align-items: flex-end; }
   .grid-head--good { margin-top: -15px; margin-left: 0 !important; border-radius: 6px 0px 0 0; }
   .grid-head--normal { padding-top: 8px; border-radius: 0; }
   .grid-head-first { letter-spacing: -0.5px !important; transform: scale(0.95); transform-origin: center bottom; z-index: 15; position: relative; }
   .grid-head-first::before, .grid-head-first::after { width: 10px !important; height: 2px !important; z-index: 15; }
   .grid-border-good { top: -15px !important; left: 80px !important; width: calc((100% - 55px) / 2) !important; height: calc(100% + 15px) !important; border: 3px solid #ea6b24 !important; border-radius: 6px 6px 0 0 !important; }
   .highlight-value { font-size: 22px !important; font-weight: 900 !important; }
   .grid-img { padding: 8px 10px; }
   .grid-img p { font-size: 10px; padding: 2px; margin-bottom: 6px; line-height: 1.2; letter-spacing: -0.5px; }
   .grid-img img { height: 60px; margin-top: auto !important; } 
   .grid-label { font-size: 11px; justify-content: flex-start; text-align: left; padding-right: 0; margin-right: 5px; }
   .grid-value { font-size: 14px; }
   .unit, .total-unit { font-size: 9px; margin-left: 1px; }
   .grid-label--total { font-size: 13px; font-weight: bold; }
   .grid-value--total { font-size: 16px; padding: 0 4px 6px !important; }
   .cost-foot-text-v2 { padding: 6px 10px; margin: 20px 0 0; min-width: auto; width: 100%; border-radius: 6px; }
   .cost-foot-text-v2::before { left: calc(85px + (100% - 85px) / 4); top: -10px; border-width: 0 10px 10px 10px; }
   .cost-foot-text-v2__main { font-size: 14px; letter-spacing: 0; }
   .cost-foot-text-v2__main .highlight { font-size: 20px; display: inline-block; text-decoration: none; border-bottom: none; margin-left: 5px; }
   .cost-compare-v2__footer-text { font-size: 12px; text-align: left; padding: 0 10px; margin-top: 20px; }
}

/* =========================================
   資料ダウンロード CTAセクション
========================================= */
.dl-cta-section { padding: 60px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.dl-cta-inner { display: flex; align-items: center; justify-content: center; gap: 50px; max-width: 1000px !important; margin: 0 auto; background: var(--bg-white); padding: 40px 50px; border-radius: 20px; width: 90% !important; }
.dl-cta-img { width: 37%; flex-shrink: 0; text-align: center; }
.dl-cta-img img { border: 1px solid var(--border-color); max-width: 100%; height: auto; }
.dl-cta-body { width: 70%; }
.dl-cta-sub { font-size: 18px; font-weight: bold; color: var(--accent-orange); margin-bottom: 10px; }
.dl-cta-title { font-size: 28px; font-weight: bold; color: var(--text-main); line-height: 1.4; margin-bottom: 15px; }
.dl-cta-desc { font-size: 16px; color: var(--text-light); line-height: 1.6; margin-bottom: 25px; }
.btn-dl { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-green); color: var(--text-sab); font-size: 20px; font-weight: bold; padding: 18px 40px; border-radius: 50px; transition: 0.3s; box-shadow: 0 5px 15px rgba(0, 119, 55, 0.3); text-decoration: none; }
.btn-dl:hover { background: var(--primary-green-hover); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 119, 55, 0.4); color: var(--text-sab); }
.btn-dl .material-icons { margin-right: 10px; font-size: 26px; }
.btn-dl .arrow-icon { margin-right: 0; margin-left: 10px; }

@media screen and (max-width: 1024px) {
   .dl-cta-section { padding: 40px 0; }
   .dl-cta-inner { flex-direction: column; padding: 30px 20px; gap: 20px; text-align: center; }
   .dl-cta-img { width: 100%; max-width: 330px; }
   .dl-cta-body { width: 100%; }
   .dl-cta-sub { font-size: 14px; }
   .dl-cta-title { font-size: 22px; }
   .dl-cta-desc { font-size: 14px; text-align: left; }
   .btn-dl { width: 100%; font-size: 16px; padding: 15px 10px; }
}

/* =========================================
 8. Results (買取り実績/売却事例)
========================================= */
.results { padding: 80px 0; }
@media screen and (max-width: 1024px) { .results { padding: 60px 0 !important; } }
.results h2 { color: var(--text-main); }
.results-card { background: var(--bg-white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); border: 1px solid var(--border-color); transition: 0.3s; }
.results-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); border-color: var(--border-color); }
.results-card__img { width: 100%; height: 220px; background-color: var(--border-color); object-fit: cover; }
@media screen and (max-width: 1024px) { .results-card__img { height: 180px; } }
.results-card__body { padding: 16px; }
.results-card__tags { display: flex; flex-wrap: wrap; margin-bottom: 5px; }
.results-card__tag { display: inline-block !important; max-width: none !important; white-space: nowrap !important; overflow: visible !important; background: var(--bg-white); color: var(--primary-green); padding: 2px 6px !important; border-radius: 4px !important; font-size: 11px !important; margin: 0 4px 4px 0 !important; border: 1px solid var(--primary-green); vertical-align: middle; }
@media screen and (max-width: 1024px) { .results-card__tag { font-size: 10px !important; padding: 1px 4px !important; margin: 0 3px 3px 0 !important; } }
.results-card__title { font-size: 18px; font-weight: bold; margin-bottom: 15px; color: var(--text-main); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media screen and (max-width: 1024px) { .results-card__title { font-size: 15px; margin-bottom: 10px; } }
.results-card__price { border: solid 1px #ddd; padding: 15px; border-radius: 10px; margin-bottom: 15px; }
@media screen and (max-width: 1024px) { .results-card__price { margin-bottom: 10px; padding: 8px 15px;} }
.results-card__price p { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 5px; font-weight: bold; }
@media screen and (max-width: 1024px) { .results-card__price p { font-size: 16px; } }
.results-card__price p:last-child { margin-bottom: 0; color: var(--accent-orange); font-size: 20px; border-top: 1px dashed var(--border-input); padding-top: 5px; margin-top: 5px; }
@media screen and (max-width: 1024px) { .results-card__price p:last-child { font-size: 18px; } }
.results-card__desc { font-size: 17px; color: var(--text-light); line-height: 1.7; }
.results-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }

/* PC表示の時だけ、実績カードの4枚目以降を非表示にする */
@media screen and (min-width: 1025px) {
   .results-card:nth-child(n+4) { display: none; }
}

/* 相場ボード */
.market-stats-board { background: #fff; border: 1px solid var(--primary-green); border-radius: 4px; padding: 20px 30px 30px 30px; margin-bottom: 50px; box-shadow: 0 4px 10px rgba(0, 119, 55, 0.08); max-width: 1400px; margin-left: auto; margin-right: auto; }
.market-stats-board__title { display: flex; align-items: baseline; justify-content: center; gap: 15px; font-size: 20px; font-weight: bold; color: var(--primary-green); margin: 0 0 20px 0; border-bottom: 1px dashed #ccc; padding-bottom: 15px; }
.market-stats-board__note { font-size: 12px; color: #777; font-weight: normal; }
.market-stats-board__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.market-stats-board__item { background: var(--bg-gray); padding: 15px; border-radius: 6px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.market-stats-board__label { font-size: 13px; color: #555; font-weight: bold; margin-bottom: 5px; }
.market-stats-board__val { font-size: 24px; font-weight: bold; color: var(--accent-orange); line-height: 1; }
.market-stats-board__val .unit { font-size: 13px; margin-left: 3px; font-weight: normal; }

@media screen and (max-width: 1024px) {
   .market-stats-board { padding: 15px; margin-bottom: 30px; }
   .market-stats-board__title { flex-direction: column; align-items: center; gap: 5px; font-size: 16px; margin-bottom: 15px; padding-bottom: 10px; }
   .market-stats-board__note { font-size: 11px; }
   .market-stats-board__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
   .market-stats-board__item { padding: 10px; }
   .market-stats-board__val { font-size: 20px; }
}

/* =========================================
 9. Flow (売却の流れ)
========================================= */
.flow { padding: 80px 0; background: var(--bg-white); background-size: cover; background-position: center center; background-image: url(/assets/images/top/top_service_bg_01.jpg); }
@media screen and (max-width: 1024px) { .flow { padding: 40px 0 !important; background-position: center center !important; background-size: auto 100% !important; } }
.flow-list { display: flex; gap: 20px; margin-bottom: 50px; }
@media screen and (max-width: 1024px) { .flow-list { flex-direction: column; } }
.flow-item { display: flex; flex-direction: column; align-items: center; background: var(--bg-white); border-radius: 10px; padding: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); position: relative; text-align: center; flex: 1; }
@media screen and (max-width: 1024px) { .flow-item { padding: 25px 20px; } }
.flow-item:not(:last-child):after { content: " ▶ "; position: absolute; bottom: 160px; left: 106%; transform: translateX(-50%); color: var(--bg-gray); font-size: 32px; z-index: 2; }
@media screen and (max-width: 1024px) { .flow-item:not(:last-child):after { content: " ▼ "; bottom: -45px; left: 50%; transform: translateX(-50%); } }
.flow-item__num { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: var(--primary-green); color: var(--text-sab); border-radius: 50%; font-size: 30px; font-weight: 600; flex-shrink: 0; font-family: "Noto sans JP", serif; margin: 0 auto 15px; line-height: 1; }
@media screen and (max-width: 1024px) { .flow-item__num { width: 60px; height: 60px; margin: 0 auto 20px; } }
.flow-item__body { text-align: center; flex-grow: 1; width: 100%; }
.flow-item__body h3 { font-size: 24px; color: var(--primary-green); font-weight: 600; text-align: center; }
.flow-item__body img { width: 35%; display: block; margin-left: auto; margin-right: auto; }
.flow-item__body p { font-size: 18px; color: var(--text-main); text-align: left; }

/* =========================================
 10. FAQ (SEO & 50代向け：常時表示カード型)
========================================= */
.faq { padding: 80px 0; background: var(--bg-gray); border-radius: 10px 10px 0 0; }
@media screen and (max-width: 1024px) { .faq { padding: 40px 0 !important; margin-bottom: -30px;} }
.faq .sec-title p, .faq .sec-title h2 { color: var(--text-main) !important; }
.faq-list { margin: 0 auto 40px; display: flex; flex-direction: column; gap: 16px; }
@media screen and (max-width: 1024px) { .faq-list { gap: 8px; } }
.faq-card { background: #fff; border-radius: 10px; padding: 35px 40px; box-shadow: 0 5px 15px rgba(0,0,0,0.04); }
@media screen and (max-width: 1024px) { .faq-card { padding: 15px !important; } }
.faq-card:last-child { margin-bottom: 0; }
.faq-q { display: flex; align-items: flex-start; gap: 15px; font-size: 22px; font-weight: 600; color: var(--text-main); position: relative; padding-right: 45px; cursor: pointer; transition: opacity 0.3s; }
@media screen and (max-width: 1024px) { .faq-q { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; padding-right: 30px; font-size: 15px; text-align: left; line-height: 1.4; position: relative; } }
.faq-q:hover { transition: .5s; color: var(--primary-green); }
.faq-toggle-icon { position: absolute; right: 0; top: 0; color: var(--primary-green); font-size: 32px; line-height: 1; pointer-events: none; }
@media screen and (max-width: 1024px) { .faq-toggle-icon { position: absolute !important; right: 0 !important; top: 50% !important; transform: translateY(-50%) !important; font-size: 24px !important; } }
.faq-q .icon-q { position: static; font-size: 24px; flex-shrink: 0; width: 24px; }
@media screen and (max-width: 1024px) { .faq-q .icon-q { position: static; font-size: 24px; line-height: 1; flex-shrink: 0; } }
.faq-a { display: flex; align-items: flex-start; font-size: 19px; color: var(--text-light); line-height: 1.8; padding-left: 48px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border-color); }
@media screen and (max-width: 1024px) { .faq-a { font-size: 13px; padding-left: 34px; margin-top: 10px; padding-top: 10px; flex-direction: column; gap: 8px; } }

/* =========================================
 11. Contact (フォーム)
========================================= */
.top-contact-section { width: 100%; padding: 80px 0; background-color: #ffffff; }
@media screen and (max-width: 1024px) { .top-contact-section { padding: 50px 15px; } }
.top-contact-section .sec-title { text-align: center; margin-bottom: 50px; }
.top-contact-form-container { max-width: 800px; margin: 0 auto; background: transparent; box-shadow: none; border: none; }
.top-contact-form-list { display: flex; flex-direction: column; gap: 25px; margin: 0; padding: 0; }
@media screen and (max-width: 1024px) {.top-contact-form-list { display: block; } }
.top-contact-form-row { display: flex; align-items: flex-start; justify-content: flex-start; border-bottom: 1px solid transparent; }
@media screen and (max-width: 1024px) { .top-contact-form-row { flex-direction: column; } }
.top-contact-form-row dt { width: 45%; display: flex; align-items: center; justify-content: space-between; padding-right: 20px; font-weight: bold; font-size: 18px; color: #333; min-height: 48px; }
@media screen and (max-width: 1024px) { .top-contact-form-row dt { width: 100%; padding-right: 0; margin: 12px 0 6px; justify-content: flex-start; gap: 15px; font-size: 16px; min-height: auto; } }
.top-contact-form-row dd { width: 65%; margin: 0; }
@media screen and (max-width: 1024px) { .top-contact-form-row dd { width: 100%; } }
.top-contact-form-row .badge { padding: 2px 12px; border-radius: 20px; font-size: 14px; color: #fff; white-space: nowrap; }
@media screen and (max-width: 1024px) { .top-contact-form-row .badge { padding: 0px 10px; font-size: 13px; } }
.top-contact-form-row .badge-req { background-color: #c92424; }
.top-contact-form-row .badge-any { background-color: #a0a0a0; }
.top-contact-form-row input[type="text"], .top-contact-form-row textarea { resize: vertical; width: 100%; padding: 12px 16px; border: 1px solid #dcdcdc; border-radius: 4px; font-size: 16px; background-color: #fafafa; transition: border-color 0.3s; }
.top-contact-form-row input[type="email"], .top-contact-form-row input[type="tel"] { max-width: 320px; padding: 12px 16px; border: 1px solid #dcdcdc; border-radius: 4px; font-size: 16px; background-color: #fafafa; transition: border-color 0.3s; }
@media screen and (max-width: 1024px) { .top-contact-form-row input[type="email"], .top-contact-form-row input[type="tel"] { max-width: 100%; } }
.top-contact-form-row input:focus, .top-contact-form-row textarea:focus { outline: none; border-color: #f06a22; background-color: #fff; }
.top-contact-form-row .radio-group { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; min-height: 48px; }
@media screen and (max-width: 1024px) { .top-contact-form-row .radio-group { gap: 6px; font-size: 16px; } }
.top-contact-form-row .radio-group label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 18px; }
.top-contact-submit { text-align: center; margin-top: 40px; }
.top-contact-submit .btn-orange { background-color: #ef6c1a; color: #fff; border: none; border-radius: 9999px; padding: 16px 120px; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; }
@media screen and (max-width: 1024px) { .top-contact-submit .btn-orange { width: 100%; padding: 16px 20px; } }
.top-contact-submit .btn-orange:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(239, 108, 26, 0.3); }
.top-contact-submit .btn-orange .btn-sub { font-size: 15px; margin-bottom: 4px; }
.top-contact-submit .btn-orange .btn-main { font-size: 24px; font-weight: bold; }
@media screen and (max-width: 1024px) { .top-contact-submit .btn-orange .btn-main { font-size: 20px; } }

/* ==================================================
   12. お問い合わせ下部：電話番号バナー & お役立ち情報
================================================== */
.top-contact-banner { position: relative; width: 100%; background-image: url(/assets/images/top/top_contact_bg_01.jpg); background-size: cover; background-position: center 50%; padding: 30px 20px; text-align: center; color: #ffffff; margin-bottom: 80px; }
@media screen and (max-width: 1024px) { .top-contact-banner { padding: 40px 15px; margin-bottom: 60px; } }
.top-contact-banner::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.45); z-index: 1; }
.top-contact-banner__inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.top-contact-banner__text { font-size: 24.5px; font-weight: bold; letter-spacing: 1px; color: #ffffff; }
@media screen and (max-width: 1024px) { .top-contact-banner__text { font-size: 16px; } }
.top-contact-banner__tel { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 48px; font-weight: bold; color: #ffffff !important; line-height: 1; transition: opacity 0.3s ease; text-decoration: none; }
@media screen and (max-width: 1024px) { .top-contact-banner__tel { font-size: 32px; gap: 8px; } }
.top-contact-banner__tel .material-icons { background-color: #ffffff; border-radius: 50%; width: 45px; height: 45px; display: inline-flex; align-items: center; justify-content: center; margin-right: 16px; color: #333333 !important; font-size: 28px !important; font-weight: 700; vertical-align: bottom; }
@media screen and (max-width: 1024px) { .top-contact-banner__tel .material-icons { width: 44px; height: 44px; font-size: 24px !important; } }
.top-contact-banner__tel:hover { opacity: 0.7; color: #ffffff; }
.top-contact-banner__time { font-size: 20px; font-weight: normal; color: #ffffff !important; margin-top: 15px; }
@media screen and (max-width: 1024px) { .top-contact-banner__time { font-size: 13px; margin-top: 10px; } }

/* お役立ち情報（_topColumn）の余白調整 */
.top-unique-column { margin: 85px auto 80px; padding: 0; }
@media screen and (max-width: 1024px) { .top-unique-column { margin: 50px auto 40px; } }

/* ==================================================
   13. SP横スクロール化（買取り実績）
================================================== */
@media screen and (max-width: 1024px) {
   .scroll-hint { text-align: center; color: var(--text-light); font-size: 13px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 5px; animation: swipeHint 1.5s infinite; }
   .scroll-hint .material-icons { font-size: 18px; color: var(--primary-green); }
   @keyframes swipeHint { 0% { transform: translateX(0); } 50% { transform: translateX(-5px); } 100% { transform: translateX(0); } }

   .results-list { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 5vw 25px !important; gap: 15px !important; -webkit-overflow-scrolling: touch; margin-bottom: 20px;}
   .results-card { width: 80vw !important; min-width: 260px !important; max-width: 320px !important; scroll-snap-align: start; flex-shrink: 0; }
   
   .results-list::-webkit-scrollbar { height: 6px; }
   .results-list::-webkit-scrollbar-thumb { background: var(--primary-green); border-radius: 6px; }
   .results-list::-webkit-scrollbar-track { background: var(--border-color); border-radius: 6px; }
}

/* ==================================================
   14. お問い合わせフローティングドロワー（SPのみ）
================================================== */
@media screen and (max-width: 1024px) {
   .sp-contact-drawer { position: fixed; bottom: -75vh; left: 0; width: 100%; height: calc(75vh + 60px); z-index: 99999; transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 -4px 15px rgba(0,0,0,0.15); border-radius: 20px 20px 0 0; background: #ffffff; touch-action: auto; pointer-events: auto; }
   .sp-contact-drawer.is-open { bottom: 0; }
   .sp-contact-drawer.is-open .sp-contact-drawer__toggle { animation: none !important; }
   .sp-contact-drawer__toggle { display: flex; align-items: center; justify-content: center; width: 100%; height: 60px; background: var(--accent-orange); color: #ffffff; border: none; border-radius: 20px 20px 0 0; font-size: 18px; font-weight: bold; gap: 8px; cursor: pointer; outline: none; animation: drawerKnock 2.5s infinite; }
   .sp-contact-drawer__scroll-area { height: 75vh; overflow-y: auto; padding-bottom: 30px; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; }
   .top-contact-section { padding: 30px 15px 50px !important; }
   #TOP-PAGE { padding-bottom: 60px; }
}

@keyframes drawerKnock {
   0% { transform: translateY(0); }
   7% { transform: translateY(-30px); }
   14% { transform: translateY(0); }
   21% { transform: translateY(-21px); }
   28% { transform: translateY(0); }
   100% { transform: translateY(0); }
}

/* ドロワー内 確認画面のコンパクトレイアウト */
.drawer-confirm-list { background: #f9f9f9; padding: 15px 20px; border-radius: 8px; font-size: 14px; border: 1px solid var(--border-color, #e0e0e0); }
.drawer-confirm-list .confirm-row { display: flex; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed #cccccc; }
.drawer-confirm-list .confirm-row:first-child { padding-top: 0; }
.drawer-confirm-list .confirm-row:last-child { padding-bottom: 0; border-bottom: none; }
.drawer-confirm-list dt { font-weight: 700; width: 130px; flex-shrink: 0; color: var(--primary-green, #007737); }
.drawer-confirm-list dd { flex-grow: 1; margin: 0; color: var(--text-main, #333333); word-break: break-all; }
.drawer-confirm-list .confirm-row-message dd { white-space: pre-wrap; line-height: 1.6; }

@media screen and (max-width: 1024px) {
   .drawer-confirm-list { padding: 12px 15px; font-size: 13px; }
   .drawer-confirm-list .confirm-row { padding: 8px 0; }
   .drawer-confirm-list dt { width: 100px; }
   .drawer-confirm-list .confirm-row-message { flex-direction: column; }
   .drawer-confirm-list .confirm-row-message dt { width: 100%; margin-bottom: 5px; }
}

.drawer-confirm-actions { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }
.drawer-confirm-actions .btn-drawer-submit { width: 100%; border-radius: 9998px; padding: 18px 20px; font-size: 20px; }
.drawer-confirm-actions .btn-drawer-back { width: 100%; padding: 12px 20px; background-color: #999999; color: #ffffff; border: none; border-radius: 9998px; font-weight: bold; font-size: 16px; cursor: pointer; transition: opacity 0.3s ease; }
.drawer-confirm-actions .btn-drawer-back:hover { opacity: 0.8; }

@media screen and (max-width: 1024px) {
   .drawer-confirm-actions { gap: 12px; margin-top: 20px; }
   .drawer-confirm-actions .btn-drawer-submit { padding: 15px 20px; font-size: 18px; }
   .drawer-confirm-actions .btn-drawer-back { padding: 10px 20px; font-size: 14px; }
}

/* =========================================
   15. お客様の声（無限ループスライダー）
========================================= */
.reviews { padding: 80px 0; background: #f8f9fa; overflow: hidden; }
.review-slider-wrap { width: 100%; position: relative; padding: 10px 0; }
.review-slider-track { display: flex; width: max-content; animation: loop-slide 50s linear infinite; }
.review-slider-track:hover { animation-play-state: paused; cursor: grab; } 
.review-slider-list { display: flex; gap: 20px; padding-right: 20px; }
.review-card-slide { width: 400px; flex-shrink: 0; background: #fff; border: 1px solid #E5E7EB; border-radius: 8px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); white-space: normal; }
.review-header { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; }
.review-icon { width: 45px; height: 45px; background: #F3F4F6; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #9CA3AF; flex-shrink: 0; }
.review-icon .material-icons { font-size: 28px; margin: 0; }
.review-meta-box { display: flex; flex-direction: column; gap: 4px; }
.review-stars { color: #F59E0B; display: flex; gap: 2px; }
.review-stars .material-icons { font-size: 18px; margin: 0; }
.review-meta { font-size: 14px; font-weight: bold; color: #6B7280; }
.review-text { font-size: 15px; color: #4B5563; line-height: 1.7; margin: 0; text-align: left; }

@keyframes loop-slide {
   0% { transform: translateX(0); }
   100% { transform: translateX(-50%); }
}

/* ▼ スマホ（SP）用の最適化 ▼ */
@media screen and (max-width: 768px) {
   .review-slider-track { animation: loop-slide 30s linear infinite; } 
   .review-slider-list { gap: 15px; padding-right: 15px; }
   .review-card-slide { width: 280px; padding: 20px; }
   .review-header { gap: 12px; margin-bottom: 12px; }
   .review-icon { width: 35px; height: 35px; }
   .review-icon .material-icons { font-size: 22px; }
   .review-meta { font-size: 13px; }
   .review-text { font-size: 14px; }

   /* 共通タイトルのSP最適化（縦並び補正） */
   ._cm_title._flex { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 12px; margin-top: 10px;}
   ._cm_title h1 { font-size: 22px !important; line-height: 1.4; width: 100%; margin: 0; }
   ._cm_title a { align-self: flex-end; font-size: 13px; display: inline-flex; align-items: center; }
   ._cm_title a i { margin-right: 6px; display: inline-flex; }
   ._cm_title a img { width: 14px; height: auto; }
}

/* ==================================================
   SP用 MV直下CTAボタン（元お知らせ位置）
================================================== */
.sp-mv-cta-area { display: none; }
@media screen and (max-width: 1024px) {
   .sp-mv-cta-area { display: block; width: 90%; max-width: 500px; margin: 10px auto 20px; }
   .sp-mv-cta-area .mv-cta-btn-group { display: flex !important; flex-direction: column !important; gap: 15px !important; width: 100%; } 
   .sp-mv-cta-area .mv-cta-item { display: flex; flex-direction: column; align-items: center; width: 100%; }
   .sp-mv-cta-area .btn-microcopy { font-size: 13px; font-weight: bold; margin-bottom: 8px; text-align: center; display: block; width: 100%; }
   .sp-mv-cta-area .btn-microcopy.color-dl { color: var(--primary-green); }
   .sp-mv-cta-area .btn-microcopy.color-contact { color: var(--accent-orange); }
   .sp-mv-cta-area .mv-cta-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 15px; border-radius: 50px; text-decoration: none; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.15); box-sizing: border-box; }
   .sp-mv-cta-area .btn-main-text { display: flex; align-items: center; font-size: 18px; font-weight: bold; white-space: nowrap; }
   .sp-mv-cta-area .material-icons { margin-right: 8px; font-size: 22px; }
   .sp-mv-cta-area .arrow-icon { margin-right: 0; margin-left: 8px; }
   .sp-mv-cta-area .mv-cta-btn--dl { background: var(--primary-green); }
   .sp-mv-cta-area .mv-cta-btn--contact { background: var(--accent-orange); }
}

/* ==================================================
   MV メイン キャッチコピー改修用スタイル
================================================== */
/*
._topMv h2.mv-title-new {
   position: relative;
   z-index: 10;
   line-height: 1.2 !important;
   letter-spacing: -1px !important;
   margin-top: 20px !important;
}

._topMv h2.mv-title-new .sub-text {
   font-size: 4.8rem !important; 
   font-weight: 700;
   color: #333;
   display: inline-block;
   margin-bottom: 5px;
}

._topMv h2.mv-title-new .highlight-text {
   font-size: 7.8rem !important;
   font-weight: 900;
   color: #333;
   display: inline-block;
   white-space: nowrap;
   position: relative;
   z-index: 10;
}

._topMv h2.mv-title-new i {
   position: absolute !important;
   top: 50% !important; 
   right: -100px !important;
   width: 140px !important;
   transform: translateY(-50%);
   z-index: 11;
}

@media screen and (max-width: 1024px) {
   ._topMv h2.mv-title-new {
      margin-top: 5% !important;
      text-align: left !important;
   }
   ._topMv h2.mv-title-new .sub-text {
      font-size: 6.5vw !important;
      margin-bottom: 2%;
   }
   ._topMv h2.mv-title-new .highlight-text {
      font-size: 9vw !important;
      white-space: normal;
   }
   ._topMv h2.mv-title-new i {
      top: auto !important;
      right: 0 !important;
      bottom: 100% !important;
      transform: none;
      width: 90px !important;
   }
}
*/


