/* ---
    必ずお読みください（reason）
--------------------------- */
.f-gothic{
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}

.red{ color: #F04559; }
.pink{ color: #e56c7b; }
.yellow{ color: #F3FE6E; }
.bold{ font-weight: bold; }

.big{ font-size: 120%; }
.c-big{ font-size: 110%; }

/* 蛍光マーカー風 */
.u_marker{
    background: linear-gradient(transparent 50%, rgba(255, 255, 0, 0.7) 50%);
}

.img_center{
    display: block;
    margin: 0 auto;
}

#reason{
    .column{
        .inner{
            padding: 60px 0;
            h2{
                /* h2共通 */
                font-size: 3.6rem;
                text-align: center;
                @media (max-width:1023px){
                    font-size: 2.8rem;
                    line-height: 1.4;
                    letter-spacing: 0;
                }
            }
        }
    }

    /* 他社で葬儀をご検討中のお客様へ */
    .column_reason01{
        background-color: #fcf7f1;
        background-image:url(../img/hurry/hurry_mv_bg.png);
        background-size: cover;
        background-repeat: no-repeat;
        .inner{
            padding-bottom: 0;
            h2{
                position: relative;
                margin: 40px auto 0 auto;
                /* 必ずお読みください吹き出しアイコン */
                span{
                    font-size: 1.6rem;
                    display: flex;
                    align-items: center;
                    position: absolute;
                    top: -50px;
                    left: 50%;
                    transform: translateX(-50%);
                    color: #fff;
                    background-color: #F04559;
                    border-radius: 50vw;
                    padding: 10px 20px;
                    line-height: 1;
                    @media (max-width:1023px){
                        font-size: 1.3rem;
                        letter-spacing: 0;
                    }
                    &::before{
                        content: url(../img/common/nav_icon.png);
                        padding-right: 10px;
                    }
                    &::after{
                        content: "";
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        width: 10px;
                        height: 10px;
                        background-color:#F04559;
                        border-right:10px solid #F04559;
                        border-bottom:10px solid #F04559;
                        transform: translate(-50%,55%) rotate(45deg);
                        transform-origin: center center;
                    }
                }
            }
            > p{
                font-weight: bold;
                @media (max-width:1023px){
                    line-height: 1.4;
                    margin-top: 20px;
                }
            }
            > img{
                max-width: 460px;
                margin-top: 30px;
                @media (max-width:1023px){
                    max-width: 75%;
                    margin-top: 20px;
                }
            }
        }
    }

    /* 葬儀社を選ぶ際に確認しておきたいポイント */
    .column_reason02{
        padding: 0;
        .inner{
            .point_list{
                max-width: 900px;
                margin: 30px auto 0 auto;
                @media (max-width:1023px){
                    max-width: calc(100% - 40px);
                }
                dl{
                    padding: 20px 30px;
                    border: 2px solid #d50d09;
                    background-color:#FFFEF7;
                    margin: 0 auto 30px auto;
                    border-radius: 10px;
                    @media (max-width:1023px){
                        padding: 10px 15px;
                        margin: 0 auto 20px auto;
                    }
                    &:last-child{
                        margin: 0 auto;
                    }
                    dt{
                        font-weight: bold;
                        font-size: 2.4rem;
                        position: relative;
                        cursor: pointer;
                        padding-right: 40px; /* プラスボタンのスペースを確保 */
                        @media (max-width:1023px){
                            font-size: 2.0rem;
                            line-height: 1.4;
                            letter-spacing: 0.01em;
                        }

                        /* プラス/マイナスボタン */
                        &::after{
                            content: "＋";
                            position: absolute;
                            right: 0;
                            top: 50%;
                            transform: translateY(-50%);
                            font-size: 2rem;
                            line-height: 1;
                            transition: transform 0.3s ease;
                            @media (max-width:1023px){
                                font-size: 4rem;
                            }
                        }

                        /* 開いている状態のマイナスボタン */
                        &.active::after{
                            content: "ー";
                        }
                    }
                    dd{
                        max-height: 0;
                        overflow: hidden;
                        transition: max-height 0.3s ease, padding 0.3s ease;
                        padding-top: 0;
                        padding-bottom: 0;

                        /* 開いている状態 */
                        &.active{
                            max-height: 1000px; /* 十分に大きな値を設定 */
                            padding-top: 20px;
                            padding-bottom: 0;
                        }
                    }
                }
            }
        }
    }

    /* さくらリビングが選ばれる5つのポイント */
    .column_reason03{
        background-color: rgb(245, 244, 243);
        .inner{
            h2{
                line-height: 1.2;
                span{
                    letter-spacing: 0;
                }
            }
            .five-reasons_around{
                margin: 60px auto 0 auto;
                ul{
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                    gap: 40px;
                    @media (max-width:1023px){
                        flex-direction: column;
                    }
                    li{
                        width: calc(100% / 3 - 40px);
                        background-color: #fff;
                        /*border: 1px solid #428E37;*/
                        border-radius: 0 0 10px 10px;
                        box-shadow: 0 1px 6px #afafaf;
                        @media (max-width:1023px){
                            width: calc(100% - 40px);
                            margin: 0 auto;
                        }
                        .reasons_box{
                            h3{
                                background-color: #c5e1c1;
                                color: #2a2a2a;
                                padding: 10px 10px 10px 80px;
                                position: relative;
                                line-height: 1.2;
                                font-size: 1.8rem;
                                letter-spacing: 0;
                                .point{
                                    display: flex;
                                    justify-content: center;
                                    align-items: center;
                                    width: 60px;
                                    height: 60px;
                                    text-align: center;
                                    position: absolute;
                                    background-color: #428E37;
                                    border-radius: 0 0 10px 10px;
                                    color: #fff;
                                    top: -5px;
                                    left: 10px;
                                    font-size: 3.2rem;
                                }
                            }
                            img{
                                display: block;
                                max-width:96%;
                                margin: 8px auto 0 auto;
                            }
                            p{
                                padding: 30px;
                                @media (max-width:1023px){
                                    padding: 20px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    /* 資料請求（上書き） */
    .first_box02{
        .inner{
            @media (max-width:1023px){
                padding: 0 15px 30px 15px;
            }
        }
    }

    /* 安心・明瞭会計のご葬儀プラン（上書き） */
    .column_plan_list{
        .inner{
            padding: 0 0 60px 0;
            @media (max-width:1023px){
                padding: 0 15px 30px 15px;
            }
        }
    }

    /* ご利用可能な6つの家族葬ホール（上書き） */
    .column_hall_list{
        .inner{
            @media (max-width:1023px){
                padding: 0 15px 30px 15px;
            }
        }
    }

    /* ご利用いただいたお客様の声（上書き） */
    .column_voice{
        .inner{
            @media (max-width:1023px){
                padding: 0 15px 30px 15px;
            }
        }
    }
}