@charset "utf-8";

/* トップページMV 実績バッジ（他と干渉しない独立したクラス名を使用） */
.main_top {
    position: relative;
}

.mv_achievements_badge_wrap {
    position: absolute;
    top: 0;
    /* グロナビ直下（MV画像の上端）に配置 */
    left: 0;
    width: 100%;
    z-index: 10;
}

.mv_achievements_badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    /* オレンジベースのグラデーションで目立たせる（透過率0.95） */
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.95) 0%, rgba(255, 160, 0, 0.95) 100%);
    padding: 12px 0;
    border-bottom: 2px solid #cc6200;
    /* 立体感を出す */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.mv_achievements_item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    padding: 0 20px;
    border-right: 1px dotted rgba(255, 255, 255, 0.5);
    font-family: 'Noto Sans JP', sans-serif;
}

.mv_achievements_item:last-child {
    border-right: none;
}

.mv_achievements_label {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-right: 8px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.mv_achievements_num {
    font-size: 44px;
    /* サイズを大きくして強調 */
    font-weight: 900;
    color: #fffcd1;
    /* 薄いイエロー系で目立たせる */
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mv_achievements_unit {
    font-size: 16px;
    margin-left: 4px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* スマホ表示対応 */
@media screen and (max-width: 767px) {
    .mv_achievements_badge_wrap {
        bottom: auto;
        right: auto;
        transform: none;
        width: 100%;
    }

    .mv_achievements_badge {
        gap: 10px;
        padding: 8px 5px;
        border-bottom-width: 2px;
    }

    .mv_achievements_item {
        padding: 0 5px;
        flex-direction: column;
        align-items: center;
    }

    .mv_achievements_label {
        font-size: 10px;
        margin-right: 0;
        margin-bottom: 2px;
    }

    .mv_achievements_num {
        font-size: 18px;
    }

    .mv_achievements_unit {
        font-size: 11px;
        margin-left: 2px;
    }
}

/* =========================================================
   ヘッダー ＆ アクセス追従ナビ（.footer_fix）CTA 優先度付け
========================================================= */

/* ① 無料お見積り（最優先） */
.header__info .lower .btn_info li.btn_plan a,
.footer_fix .btn_plan a {
    background-color: #ff5e00;
    /* より強いオレンジ */
    box-shadow: 0 4px 8px rgba(255, 94, 0, 0.4);
    transform: scale(1.03);
    /* 少し大きくして目立たせる */
    font-weight: 900;
    border: 2px solid #fff;
    /* 白フチでくっきりさせる */
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    color: #fff;
}

.header__info .lower .btn_info li.btn_plan a:hover,
.footer_fix .btn_plan a:hover {
    background-color: #ff7a00;
    transform: scale(1.05);
}

/* ② お問合せ（中優先度） */
.header__info .lower .btn_info li.btn_contact a,
.footer_fix .btn_contact a {
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: #fff;
    transition: all 0.3s ease;
    color: #000;
    font-weight: bold;
}

.header__info .lower .btn_info li.btn_contact a:hover,
.footer_fix .btn_contact a:hover {
    background-color: #009900;
}

/* ③ 無料冊子プレゼント（低優先度） */
.header__info .lower .btn_info li.btn_shiryo a,
.footer_fix .btn_shiryo a {
    background-color: #fff;
    /* 白地 */
    color: #555;
    /* 文字色をグレー寄りに */
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    /* お見積りと同じような影を追加（色はブラック系で薄め） */
    transition: all 0.3s ease;
    font-weight: bold;
}

/* 
 * アイコン（お家、メール、冊子等）はすべて元の画像色を保持するため、
 * filter の設定は削除し、元画像のまま表示させます。
 */

.header__info .lower .btn_info li.btn_shiryo a:hover,
.footer_fix .btn_shiryo a:hover {
    background-color: #f5f5f5;
    color: #333;
}

/* スマホ表示向け 微調整 */
@media screen and (max-width: 767px) {

    /* ==============================
       ヘッダー内（.header__info .btn_info）のボタン崩れ修正
       ============================== */
    /*
     スマホのヘッダー下部にある「無料お見積り」「お問合せ」「無料冊子」ボタンは、
     元々 .btn_info li:not(.bnr_credit) に横幅100%やheightの指定が入っています。
     これらに padding や border を追加するとボックスサイズが変わり崩れるため、基本リセットします。
    */
    .header__info .lower .btn_info li.btn_plan a,
    .header__info .lower .btn_info li.btn_contact a,
    .header__info .lower .btn_info li.btn_shiryo a {
        border: none !important;
        /* スマホヘッダーのボタンは枠線なし */
        transform: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        /* デフォルトのpaddingに依存させる */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 無料お見積りのオレンジ色強調は維持 */
    .header__info .lower .btn_info li.btn_plan a {
        background-color: #ff5e00;
        color: #fff;
    }


    /* ==============================
       追従ナビ（.footer_fix）のボタン崩れ修正
       ============================== */
    /*
     追従ナビも、元々 flex で横並びになっていますが、幅指定などがシビアです。
     追加した border や transform がレイアウトを壊しているためリセットします。
    */
    .footer_fix .btn_plan a,
    .footer_fix .btn_contact a,
    .footer_fix .btn_shiryo a {
        border: none !important;
        transform: none !important;
        box-shadow: none !important;
        /* 余計な余白上書きを防ぐ */
        margin: 0;
    }

    /* 無料冊子ボタンのみ白地なので枠線が必要だが、レイアウトを崩さないよう内側に枠線を引く */
    .footer_fix .btn_shiryo a {
        box-shadow: inset 0 0 0 1px #ccc !important;
    }

    /* お見積りの上部ボーダーは高さを崩す原因になりやすいため削除し、シンプルに色だけでアピール */
}


/* =========================================================
   外壁塗装・屋根塗装サービスページ（page-exterior-roof.php）専用スタイル
========================================================= */
.exterior-roof-page #first_view {
    padding-bottom: 0;
}

.exterior-roof-page .lead_text {
    font-size: 1.1em;
    line-height: 1.8em;
    margin: 30px 0;
    font-weight: bold;
    text-align: center;
}

.exterior-roof-page .problem_list {
    background: #fdf5f5;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.exterior-roof-page .problem_list ul {
    list-style: none;
    padding-left: 0;
}

.exterior-roof-page .problem_list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
}

.exterior-roof-page .problem_list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #e95388;
    font-weight: bold;
    font-size: 1.2em;
}

.exterior-roof-page .plan_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.exterior-roof-page .plan_item {
    flex: 1 1 30%;
    background: #fff;
    border: 2px solid #ff6000;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}

.exterior-roof-page .plan_item h4 {
    color: #ff6000;
    font-size: 1.2em;
    border-bottom: 1px dotted #ff6000;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.exterior-roof-page .plan_item .price {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.exterior-roof-page .plan_item .life {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.exterior-roof-page .plan_note {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 30px;
}

.exterior-roof-page .fluorine_note {
    background: #eee;
    padding: 20px;
    border-left: 5px solid #999;
    margin-bottom: 50px;
}

.exterior-roof-page .fluorine_note h4 {
    margin-bottom: 10px;
    font-weight: bold;
}

.exterior-roof-page .cta_section {
    background: #fff5e6;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    margin-top: 50px;
}

.exterior-roof-page .cta_text {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.exterior-roof-page .cta_buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.exterior-roof-page .cta_btn {
    padding: 15px 30px;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
    transition: opacity 0.3s;
}

.exterior-roof-page .cta_btn:hover {
    opacity: 0.8;
    color: #fff;
}

.exterior-roof-page .cta_btn.mail {
    background: #e95388;
}

.exterior-roof-page .cta_btn.line {
    background: #00B900;
}

.exterior-roof-page .cta_btn.tel {
    background: #f39800;
}

.exterior-roof-page {
    padding-bottom: 80px;
}

/* フッター前の追従ボタンと被らないように余白確保 */
.exterior-roof-page .start__step {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

.exterior-roof-page .start__step>li {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.exterior-roof-page #start .blc_in .start__step>li dl {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

.exterior-roof-page #start .blc_in .start__step>li dt {
    position: static;
    text-align: center;
    padding: 15px 10px 15px 10px;
    font-size: 1.8rem;
}

/* 見出しを中央寄せ、文字サイズ変更 */
.exterior-roof-page #start .blc_in .start__step>li dt .num {
    display: inline-block;
    border-right: none;
    margin-right: 0;
    font-size: 2rem;
    margin-bottom: 5px;
    width: auto;
    max-width: 200px;
}

.exterior-roof-page #start .blc_in .start__step>li dt .num::before,
.exterior-roof-page #start .blc_in .start__step>li dt .num::after {
    display: none;
    content: none;
}

/* CSSカウンターによる重複番号を非表示 */
.exterior-roof-page #start .blc_in .start__step>li dd {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    padding: 20px;
}

.exterior-roof-page #start .blc_in .start__step>li dd figure {
    flex: 0 0 30%;
}

.exterior-roof-page #start .blc_in .start__step>li dd p {
    flex: 1;
    font-size: 1.4rem;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    .exterior-roof-page #start .blc_in .start__step>li dd {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .exterior-roof-page #start .blc_in .start__step>li dd figure {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* テキストエリアを伸ばして高さを揃える */
.exterior-roof-page .kindness_box {
    background: #fdfdfd;
    border: 1px solid #ccc;
    border-top: 4px solid #f39800;
    border-radius: 4px;
    padding: 25px 30px;
    margin-top: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.exterior-roof-page .kindness_box .box_ttl {
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.exterior-roof-page .kindness_box p:last-child {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 0;
    color: #444;
}

.exterior-roof-page .kindness_box strong {
    color: #f39800;
    font-weight: bold;
    font-size: 1.05em;
    margin-bottom: 8px;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .exterior-roof-page .plan_item {
        flex: 1 1 100%;
    }

    .exterior-roof-page .start__step>li {
        flex: 1 1 100%;
    }

    .exterior-roof-page .cta_buttons {
        flex-direction: column;
    }
}

/* =========================================================
   プロの診断セクション（カードデザイン・オレンジ基調）
========================================================= */
.diagnosis_cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.diagnosis_cards>li {
    flex: 1 1 calc(33.333% - 20px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.diagnosis_cards>li figure {
    width: 100%;
    margin: 0;
}

.diagnosis_cards>li figure img {
    width: 100%;
    height: auto;
    display: block;
}

.diagnosis_cards>li .text_box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.diagnosis_cards>li .text_box dt {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6000;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff6000;
    padding-bottom: 10px;
    text-align: center;
}

.diagnosis_cards>li .text_box dt .num {
    display: inline-block;
    background: #ff6000;
    color: #fff;
    font-size: 1.2rem;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 5px;
}

.diagnosis_cards>li .text_box dd p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333;
    flex-grow: 1;
}

@media screen and (max-width: 768px) {
    .diagnosis_cards {
        flex-direction: column;
        gap: 20px;
    }

    .diagnosis_cards>li {
        flex: 1 1 100%;
    }
}

/* =========================================================
   お問い合わせから完工までの流れ（画像・テキスト横並びレイアウト）
========================================================= */
.preparation_flow li .flow_content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 20px;
}

.preparation_flow li .flow_img {
    flex: 0 0 30%;
    /* 画像を少し小さくする (40% -> 30%) */
    margin: 0;
}

.preparation_flow li .flow_img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.preparation_flow li .flow_text {
    flex: 1;
    min-width: 0;
    /* Flexbox内でのテキストはみ出しや回り込みを防ぐ */
}

.preparation_flow li .flow_text p {
    font-size: 1.6rem;
    line-height: 1.8;
}

/* しらかわならではの「親切」なこだわり ボックスの回り込み解除 */
.preparation_flow li .flow_text .kindness_box {
    margin-top: 25px;
    clear: both;
    display: block;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .preparation_flow li .flow_content {
        flex-direction: column;
        gap: 15px;
    }

    .preparation_flow li .flow_img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        /* スマホでも画像が大きくなりすぎないように制限 */
    }
}
#start .blc_in {
    margin-bottom: 50px;
}





/* =========================================================
   お問い合わせから完工までの流れ（3カラム・カード型レイアウト）
========================================================= */
.flow_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow_grid>li {
    width: calc(33.333% - 13.33px);
    display: flex;
}

@media screen and (max-width: 768px) {
    .flow_grid>li {
        width: 100%;
    }
}

.flow_card {
    background: #fff;
    width: 100%;
}

.flow_img_wrap {
    position: relative;
    margin-bottom: 15px;
}

.flow_img_wrap figure {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 175px;
    overflow: hidden;
}

.flow_img_wrap figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* バッジのスタイル (STEP 01 タイトル) */
.step_badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ff6000;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 15px 10px 10px;
    z-index: 2;
}

.step_num_area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px dotted #fff;
    line-height: 1;
}

.step_text {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}

.step_num {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1;
}

.step_title {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.4;
}

.flow_text_area {
    padding: 0 5px;
}

.flow_text_area p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
}

#start .blc_in {
    margin-bottom: 50px;
}

/* 1. 外側の枠（figure）の設定 */
.start__step figure {
    width: 100%;
    /* 親要素の幅に合わせる、または 400px 等で固定 */
    height: 175px;
    margin: 0;
    /* 余計な余白を消す */
    overflow: hidden;
    /* はみ出し防止（念のため） */
    border-radius: 8px;
    /* お好みで角丸に */
}

/* 2. 中の画像（img）の設定 */
.start__step figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像の比率を保ちつつ枠を埋める */
    display: block;
    /* 画像下の謎の隙間を消す */
}
.start__step li:nth-child(3) figure img {
    height: 100% !important;
}
.flow_card figure{
        height: 250px;
}