@charset "utf-8";

.kv img {
    object-position: 80% 25%;
}

h2,
h3,
h4,
.more {
    text-align: center;
}

h2 {
    margin-bottom: 60px;
    background-repeat: no-repeat;
    background-position: center;
    color: #B45A27;
    margin: 0 auto;
    background-image: url(../images/illustrations/headline/station_detail_header_mobile.png);
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
}

h3 {
    padding: 10px 12px;
}

h4 {
    font-weight: bold;
    font-size: 20px;
    padding: 15px;
}

/* カード内:直下の画像 */
.card>img {
    border-radius: 20px;
    width: 280px;
    height: 200px;
    object-fit: cover;
}


dl {
    text-align: start;
}

dd {
    margin-top: 5px;
    margin-bottom: 10px;
}

dt {
    padding-top: 10px;
}

/* 施設アイコン */
dd img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.search_results {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #B45A27;
    text-align: center;
    margin: 0 auto;
}

form {
    background-color: #ffffff;
    padding: 20px 0;
    margin: 40px 0;
    border-radius: 20px;
    border: solid 3px #A7D28D;
}


/* カードの設定 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.card {
    width: 330px;
    height: 570px;
    /* border: solid 1px; */
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 5px 5px 8px 0 #af813a;
    /* border: 3px #7b7b7b; */
    border: groove 6px #cf9957;

    /* リンク */
    position: relative;
    cursor: pointer;
}

.card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
}

/* カード内:直下の画像 */
.card-img {
    border-radius: 20px;
    width: 280px;
    height: 200px;
    object-fit: cover;
}

.card:hover {
    position: relative;
    top: 5px;
    left: 10px;
    box-shadow: none;
}

.more {
    border: 1px solid;
    padding: 5px 10px;
    display: inline-block;
    text-align: center;
}

.submit-btn {
    text-align: center;
    margin-top: 15px;

}

.map {
    margin: 0 auto;
}

/* mobile版のチェックボックス配置 */
.mobile-form {
    width: 100%;
}

.mobile_table {
    width: 80%;
    margin: 0 5%;
    margin-left: 40px;
    text-align: left;
}

/* セル内の幅設定 */
.mobile_table tr td {
    width: 120px;
    padding: 0.5rem 0;

}

/* pcを非表示 */
.pc-form {
    display: none;
}

.checkbox-title {
    text-align: center;
    font-size: 1.3rem;
    padding: 10px 0;
    width: 130px;
    margin: 20px auto;
    border-bottom: dotted 10px #e7d955;
    font-weight: bold;
    color: #B45A27;

}

.more-btn {
    display: inline-block;
    border-radius: 50px;
    background-color: #A7D28D;
    padding: 15px;
    width: 100px;
    margin: 20px;
    /* ボタンの影 */
    box-shadow: 0px 5px 0px 0px #70b27f;
}


.more-btn:hover {
    position: relative;
    top: 5px;
    box-shadow: none;
}

.reset-btn {
    display: inline-block;
    border-radius: 50px;
    background-color: #f8ea6e;
    /* ボタンの影 */
    box-shadow: 0px 5px 0px 0 #dba45c;
    padding: 15px;
    width: 100px;
    margin: 20px;


}

.reset-btn:hover {
    position: relative;
    top: 5px;
    box-shadow: none;
}



@media screen and (min-width:601px) {
    h2 {
        margin-bottom: 60px;
        background-repeat: no-repeat;
        background-position: center;
        color: #B45A27;
        margin: 0 auto;
        background-image: url(../images/illustrations/headline/station_detail_headline.png);
        background-position: center;
        background-repeat: no-repeat;
        margin-bottom: 60px;
        padding: 60px;
        background-size: contain;


    }

    .mobile_table {
        width: 80%;
        margin: 0 5%;
        margin-left: 20%;
        text-align: left;
    }


    /* カードの設定 */
    /* .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        justify-items: center;
    } */



    dl {
        text-align: start;
    }

    .card:hover {
        position: relative;
        top: 5px;
        left: 10px;
        box-shadow: none;
    }
}


@media screen and (min-width:630px) {


    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        justify-items: center;
        padding: 10px 0;
    }

}


@media screen and (min-width:901px) {
    h2 {
        margin-bottom: 60px;
        background-repeat: no-repeat;
        background-position: center;
        color: #B45A27;
        margin: 0 auto;
        background-image: url(../images/illustrations/headline/station_detail_headline.png);
        background-position: center;
        background-repeat: no-repeat;
        margin-bottom: 60px;
        padding: 60px;


    }


    .search_results {
        font-size: 2rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }


    /* カードの設定 */
    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 30px;
        justify-items: center;
    }


    dl {
        text-align: start;
    }

    .card:hover {
        position: relative;
        top: 5px;
        left: 10px;
        box-shadow: none;
    }



    /* PC版のチェックボックス配置 */
    /* mobileを非表示 */
    .mobile-form {
        display: none;
    }

    /* pcを表示 */
    .pc-form {
        display: block;
    }

    .pc-table {
        width: 800px;
        margin: 0 15%;
        text-align: left;
    }

    /* セル内の幅設定 */
    .pc-table tr td {
        width: 26%;
        font-size: 20px;
        padding: 8px;
    }

    .checkbox-title {
        text-align: center;
        font-size: 1.5rem;
        padding: 10px 0;
        width: 130px;
        margin: 20px auto;
        border-bottom: dotted 10px #e7d955;
        font-weight: bold;
    }

}
