/*スマホ優先*/

/*基本*/
:root {
    font-size: 18px;
    line-height: 1.8;
}

img {
    max-width: 600px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.mb_s {
    margin-bottom: 15px;
}

.mb_m {
    margin-bottom: 30px;
}

.mb_b {
    margin-bottom: 60px;
}

.pd_sp {
    padding-left: 15px;
    padding-right: 15px;
}

.ta_c {
    text-align: center;
}

.shake {
    animation: shake 1.5s infinite;
}

body {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    font-style: normal;
}

.fc_red {
    color: #d50000;
}


@keyframes shake {
    50% {
        transform: translateY(-15px);
        ;
    }

    100% {
        transform: translateY(0px);
        ;
    }
}

/*スマホ優先　デザイン*/

.top {
    background: #9a0908 url(images/sp/bg.jpg) no-repeat;
    background-size: cover;
    padding-bottom: 50px;
    margin-bottom: 40px;

    header {
        display: flex;
        justify-content: space-between;
        padding-top: 15px;
        padding-bottom: 30px;

        h1 {
            margin-right: 20px;
        }
    }

    .top_bottom p {
        margin-top: 30px;
    }

    .top_linebtn img {
        max-width: 330px;
        width: 100%;
    }

}

.form_wrap {
    list-style: none;
    padding: 0;

    input {
        border: none;
    }

    label {
        text-align: right;
        font-size: 15px;
    }

    .form_kingaku {
        display: grid;
        grid-template-columns: 130px 50px;
        width: 100%;
        align-items: center;
    }
}

.form_wrap li {
    display: grid;
    grid-template-columns: 110px 1fr;
    font-size: 15px;
    column-gap: 10px;
    border-bottom: 2px solid #b0bec5;
    padding: 15px;
    align-items: center;

}

.radio-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    grid-column-gap: 10px;
}

.custom-radio {
    width: 100%;

}

.custom-radio input[type="radio"]+span {
    display: inline-block;
    padding: 15px 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 16px;
    background-color: #ffffff;
    color: #3e3f47;
    transition: background-color 0.3s, border-color 0.3s;
    width: 100%;
    text-align: center;
}

.custom-radio input[type="radio"] {
    display: none;
}

.custom-radio input[type="radio"]:checked+span {
    color: #fff;
}

.custom-radio input[type="radio"]:checked+span::before {
    content: '✔';
    margin-right: 10px;
}


.custom-radio input[type="radio"]:checked+span {
    background-color: #007BFF;
    border-color: #007BFF;
}

input[type="number"],
input[type="tel"],
input[type="email"],
input[type="text"],
textarea {
    padding: 10px;
}

input[type="tel"],
input[type="email"],
input[type="text"],
textarea {
    width: 100%;
    max-width: 500px;
}

select {
    font-size: 18px;
}

.hissu,
.nini {
    background-color: #d50000;
    color: #fff;
    display: block;
    text-align: center;
    font-weight: bold;
    margin-left: 30px;
    width: 80px;
}

.nini {
    background-color: #3e3f47
}

.form_btn {
    text-align: center;
}

button {
    border: none;
    background-color: transparent;
}

.about_logo img {
    max-width: 200px;
    text-align: center;
    margin-top: 15px
}

.about {
    background-color: #e1d8d8;
    margin-top: -25px;
    padding-top: 50px;
}

.about_tri {
    background: #e1d8d8 url(images/sp/point_tri.jpg) no-repeat center bottom;
    background-size: contain;
    padding: 20px 0 50px;
}

.about_kurabete {
    margin-top: -30px;
    margin-bottom: 20px;
}

.titleimg {
    margin-bottom: 15px;

    img {
        zoom: .5;
        width: inherit;
    }

}

.about2_wrap {
    margin-bottom: 50px;
}

.contact_wrap {
    background: url(images/sp/bg.jpg) no-repeat;
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 30px;

    .contact_top {
        background: url(images/sp/contact_tri_bg.png) no-repeat bottom center;
        background-size: 100%;
        padding-bottom: 40px;
        margin-bottom: 10px;
    }
}

.flow {
    margin-right: 15px
}

.qa {
    dt {
        background: url(images/sp/q_icon.png) no-repeat left center;
        background-size: 50px 50px;
        padding-left: 70px;
        font-size: 20px;
        min-height: 50px;
        display: flex;
        align-items: center;
    }

    dd {
        background-color: #e1d8d8;
        padding: 15px;
    }
}

footer {
    background: url(images/sp/bg.jpg) no-repeat;
    background-size: cover;
    padding: 30px 15px 180px;
    color: #fff;

    dt {
        border-bottom: 2px solid #fff;
        font-size: 18px;
        margin-bottom: 10px;
        padding-bottom: 5px;
    }

    dd {
        margin-bottom: 15px;
    }

    a {
        color: #fff;
    }

    .footer_policy a {
        border: 1px solid #fff;
        text-decoration: none;
        display: block;
        text-align: center;
        padding: 10px;
        margin: 0 auto;
        max-width: 300px;
        margin-bottom: 30px;
    }
}

.follow {
    position: fixed;
    bottom: 0;
    border-top: 3px solid #fff;
    opacity: 0;
    transition: opacity 0.4s ease-in;

    ul {
        list-style: none;
        padding: 0;
        display: flex;
    }

}

.fadein {
    opacity: 1;
}

#policy .top {
    padding-bottom: 0;

    header {
        padding-bottom: 20px;
    }
}

#policy main {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

    h1 {
        margin: 1em 0 1em;
    }

    h2,
    h3 {
        margin-bottom: 2em 1em;
    }

    p {
        margin-bottom: 1em
    }
}

/***********************タブレット***********************/
@media screen and (min-width: 600px) and (max-width:1024px) {
    .titleimg img {
        zoom: 0.7;

    }

    .follow {
        width: 500px;
        border: 2px solid #fff;
        right: calc(50% - 250px)
    }
}

/************************でっかいモニター ************************/
@media screen and (min-width: 1200px) {
    .pd_sp {
        padding-left: 0;
        padding-right: 0;
    }
}

/*********************** PC 1025px以上 ***********************/
@media screen and (min-width: 1025px) {

    img {
        width: inherit;
        max-width: inherit;
    }

    .mb_m {
        margin-bottom: 50px;
    }

    .mb_b {
        margin-bottom: 80px;
    }

    .top {
        background: #9a0908 url(images/pc/pc_bg.jpg) no-repeat;
        padding: 30px 0;
        margin-bottom: 50px;

        header {
            max-width: 1200px;
            margin: 0 auto 60px;
        }

        .top_bottom {
            background-color: rgba(0, 0, 0, 0.4);
            display: flex;
            justify-content: center;
            margin: -50px auto 0;
            align-items: center;
            padding: 30px 0 15px;

            p {
                padding: 10px;
            }


        }

    }

    .titleimg img {
        width: inherit;
        zoom: 1;
        margin-bottom: 30px;
    }

    .about_logo img {
        max-width: inherit;
    }

    .about {
        background-color: #e1d8d8;
        margin-top: -60px;
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .about_tri {
        background: transparent url(images/pc/point_tri.png) no-repeat center top;
        padding: 0px 0 40px;
    }

    .about_kurabete {
        margin-top: 0;
        margin-bottom: 40px;
    }

    .about2_wrap {
        background-color: #eceff1;
        padding: 80px 0;

        .about2_wrapin {
            background-color: #fff;
            width: 900px;
            margin: 0 auto;
            padding: 50px 100px;
        }
    }

    .flow {
        background: url(images/pc/flow_bg.png) no-repeat left top;
        width: 1000px;
        margin: 20px auto;
        padding-bottom: 40px;

        p {
            margin-bottom: 40px;
        }

    }

    .qa {
        width: 800px;
        margin: 0 auto 100px;

        dd {
            margin-left: 70px;
        }
    }

    .reason_bg {
        background: url(images/pc/pc_bg.jpg) no-repeat;
        background-size: cover;
    }


    .form_wrap {
        width: 700px;
        margin-left: auto;
        margin-right: auto;
        font-size: 20px;

        label {
            font-size: 20px;
        }

        li {
            grid-template-columns: 250px 1fr;
        }
    }

    .hissu,
    .nini {
        font-size: 15px;
        display: inline;
        padding: 4px 10px;
    }

    .contact_wrap {
        background: url(images/pc/pc_bg.jpg) no-repeat;
        background-size: cover;
        padding-top: 0px;
        padding-bottom: 50px;

        .contact_top {
            background: url(images/pc/contact_tri_bg.png) no-repeat bottom center;
            padding-top: 60px;
            margin-bottom: 0px;
        }

        .contact_form {
            width: 1000px;
            display: flex;
            margin-left: auto;
            margin-right: auto;
            justify-content: space-between;

        }
    }

    footer {
        background: url(images/pc/pc_bg.jpg) no-repeat;
        background-size: cover;

        .footer_in {
            padding: 100px 0 30px;
            display: grid;
            grid-template-columns: 200px 600px;
            width: 1000px;
            margin: 0 auto;
            grid-gap: 100px;
            justify-content: center;
        }

        .titleimg {
            width: 200px;
        }
    }

    .follow {
        width: 600px;
        right: calc(50% - 300px);
        border: 2px solid #fff;

        p {
            width: 600px;
        }

        ul li img {
            width: 300px;
        }

    }




}