@charset "utf-8";
/* ------------------------------------- */
/* 福祉葬ページ専用CSS
/* ------------------------------------- */

.red{ color: #E30F0A; }
.center{ text-align: center; }

/* PC/SP切り替え */
.sp_only{
    display: none;
    @media (max-width:767px){
        display: block;
    }
}
.pc_only{
    display: block;
    @media (max-width:767px){
        display: none;
    }
}

/* ---
    Layout
---------------------------------------- */

.column{
    width:100%;
    margin: 0 auto;
    @media (max-width:767px){
        width:calc(100% - 30px);
    }
    .row{
        max-width:1200px;
        width: 100%;
        margin: 0 auto;
        padding: 60px 0 0 0;
        @media (max-width:767px){
            padding: 30px 0 0 0;
        }
    }
}

/* ---
    Common
---------------------------------------- */

.plan-fukushi{
    h3{
        margin:0 auto 2em auto;
        &.title01{
            font-size: 2.8rem;
            text-align: center;
            color: #dc5f2d;
            position: relative;
            @media (max-width:767px){
                font-size: 2.4rem;
                line-height: 1.4;
            }
            &::after{
                position: absolute;
                content: "";
                display: block;
                border-bottom: solid 3px #dc5f2d;
                transform: translateX(-50%);
                left: 50%;
                width: 10%;
                bottom: -20px;
            }
        }
    }

    .border-box{
        max-width: 80%;
        padding: 2em;
        border: 3px solid #63A8C4;
        background-color: cornsilk;
        margin: 3em auto;
        @media (max-width:767px){
            max-width: 94%;
            padding: 1.5em;
            margin: 1.5em auto;
        }
        .subtitle{
            font-weight: 700;
            font-size: 2.0rem;
            color: #63A8C4;
        }
    }

    .point-text{
        @media (max-width:767px){
            max-width:90%;
            margin: 0 auto;
        }
    }
}

/* ---
    福祉葬プランページ
---------------------------------------- */

.plan-fukushi{
    .person-in-charge{
        max-width:80%;
        margin: 0 auto 2em auto;
        background-color: #fff;
        padding: 2em;
        border: 3px solid #E30F0A;
        border-radius: 12px;
        @media (max-width:767px){
            max-width:100%;
            padding:1em;
        }
        p{
            font-size: 1.8rem;
            text-align: center;
            @media (max-width:767px){
                font-size: 1.6rem;
            }
            &.title{
                color: #fff;
                font-size: 2.4rem;
                font-weight: 700;
                padding: 0.5em 0;
                background-color:  #E30F0A;
                margin-bottom: 1em;
                @media (max-width:767px){
                    font-size: 2.0rem;
                }
            }
        }
    }

    /* 横並びボタン 複数箇所 */
    .fukushi_info_list{
        margin: 1em auto 0 auto;
        ul{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            column-gap: 30px;
            li{
                &:first-child{
                    @media (max-width:767px){
                        margin-bottom: 15px;
                    }
                }
                .btn{
                    &.blue{
                        background-color: #2168a1;
                    }
                    &.orange{
                        background-color: #ED5412;
                    }
                }
            }
        }
    }

    /* 身寄りのない方の場合 */
    .column_fukushi01{
        background-color: #fff;
    }

    /* 葬祭扶助適用「可」の場合 */
    .column_fukushi03{
        background-color: #fff;
    }
}

/* 全体の流れ（共通） */
.flow-around{
    width: 100%;
    margin: 30px auto;
    .flow-box{
        border:3px solid #dc5f2d;
        background-color: #fff;
        position: relative;
        margin-bottom: 60px;
        @media (max-width:767px){
            max-width:94%;
            margin:0 auto 60px auto;
        }
        dl{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            @media (max-width:767px){
                flex-direction: column;
            }
            dt,dd{
                padding: 1em;
            }
            dt{
                width: 30%;
                @media (max-width:767px){
                    width: 100%;
                    padding-bottom: 0;
                }
                img{
                    border-radius: 10px;
                }
            }
            dd{
                flex:1;
                font-size: 1.8rem;
            }
        }
        &::after{
            position: absolute;
            bottom: -50px;
            left: 50%;
            transform: translateX(-50%);
            content: "";
            width: 0;
            height: 0;
            border-left: 30px solid transparent;
            border-right: 30px solid transparent;
            border-top: 30px solid #5b4137;
        }
        &:last-child{
            &::after{
                content: none;
            }
        }
    }
}