@charset "UTF-8";

body {

    font-family: "Yu Gothic Medium", "Yu Gothic", "YuGothic", "游ゴシック体", "游ゴシック", sans-serif;
    background-color: #fff;

}

.main-title {
    text-align: center;
    margin: 10px 0;

}





nav {
    width: 1000px;
    padding-top: 0px;
    padding-bottom: 20px;
    width: 100%;
}

.header-ul {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.header-ul a {
    color: black;
    font-weight: bold;
    font-size: 16px;
}

.main-visal {
    background-image: url(./images/ニューボンプランニングシート-assets/main-visual.jpg);
    background-size: cover;
    background-position: center;
    height: 580px;
    text-align: right;
    padding: 538px 68px 22px 985px;
    font-weight: bold;
    font-size: 30px;
}


.main-text {
    text-align: center;
    padding-top: 100px;



}

.main-text h2 {
    font-size: 24px;
    font-weight: bold;
}

.main-text p {
    font-size: 16px;
    font-weight: normal;
    padding-top: 10px;
}

.section-img {
    display: block;
    margin: 120px auto 70px auto;
    max-width: 100%;
    height: auto;
}

/* 写真右左 */
.about-text {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
}


.about-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
}


.about-item.reverse {
    flex-direction: row-reverse;
}

.about-item img {
    width: 60%;
    display: block;
}

.text-content {
    width: 50%;
    text-align: center;
}


.text-content h3 {
    font-size: 24px;
}


.text-content p {
    font-size: 16px;
    line-height: 56px;
    color: black;
}

/* 写真 */
.photo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

/* .plan */

.plan-wrap {
    max-width: 1000px;

    margin: 0 auto;
    height: 510px;
    display: flex;



}


.plan-box {

    width: 340px;
    text-align: center;
    padding: 25px 0 42px;
    box-sizing: content-box;

}





.plan-title {
    margin: 40px 0;
    padding: 30px 0px;
    font-weight: bold;
    font-size: 30px;
}

.plan-box p {
    font-size: 25px;
}

.pink {
    background-color: #ffebec;
}

.yellow {
    background-color: #fefdeb;
}

.green {
    background-color: #f5fdf0;
}

.plan-box.pink .plan-title {
    background-color: #f3adad;
}

.plan-box.yellow .plan-title {
    background-color: #fbe085;

}

.plan-box.green .plan-title {
    background-color: #d3feac;
}

p {
    font-size: 16px;
    text-align: center;
    line-height: 60px;

}


/* よやく */
.reserve-title {
    text-align: center;
    border: 1px solid #000;
    width: 300px;
    margin: 30px auto;
    padding: 1px 0;
}

/* てーぶる */
.reserve {
    max-width: 1000px;
    margin: 0 auto;
}

.table {
    width: 1000px;
    border-collapse: collapse;

}

th,
td {
    border: 1px solid #000;
}

tr {
    height: 90px;
}

th {
    width: 250px;
    text-align: center;
    vertical-align: middle;

}

td {
    width: 750px;

    line-height: 30px;
    padding: 10px;
    text-align: left;
    vertical-align: middle;

}


.access {
    max-width: 1000px;
    margin: 0 auto;
}

.access-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.access-text p {
    text-align: center;
    line-height: 40px;
}



.access-map {
    width: 500px;

}

footer p {
    padding-top: 0;

}

/* タブレットサイズ */
@media screen and (max-width: 959px) {

    nav,
    .about-text,
    .photo,
    .plan-wrap,
    .reserve,
    .table,
    .access {
        width: 100% !important;
        max-width: 100%;
        padding-left: 5%;
        padding-right: 5%;
        box-sizing: border-box;
    }


    .header-ul {
        gap: 20px;
    }

    .main-visal {
        height: 300px;
        padding: 150px 20px 20px;
        background-position: center;
    }

    .main-visal p {
        text-align: right;
        margin-top: 100px;

    }



    .about-item,
    .about-item.reverse,
    .plan-wrap,
    .access-container {
        flex-direction: column;
        height: auto;
    }


    .about-item img,
    .text-content,
    .plan-box,
    .access-map {
        width: 100%;
        margin-bottom: 30px;
    }


    .reserve {
        overflow-x: auto;
        display: block;
    }

    .table th {
        width: 80px;
        font-size: 14px;
    }

    footer ul {
        gap: 20px;
        flex-wrap: wrap;
    }
}

/* スマホサイズ */
@media screen and (max-width: 559px) {

    .main-visal {
        font-size: 20px;
        height: 250px;
        padding-top: 100px;
    }

    .main-text h2,
    .text-content h3,
    .plan-title {
        font-size: 18px;
    }

    .main-text p,
    .text-content p,
    .plan-box p {
        font-size: 16px;
        line-height: 1.6;
        margin-top: 5px;
    }

    .header-ul {
        gap: 15px;
    }

    .header-ul a {
        font-size: 13px;
    }


    .plan-box {
        padding: 15px 0;
    }


    .table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
        width: 100% !important;

    }


    th {
        background-color: #fde2e2;
        border-bottom: none;
        display: block;
        /* 縦に並べる */
        width: 100%;
        /* 横幅いっぱい */
        height: auto;

        padding: 10px;
        /* 内側の余白 */
        box-sizing: border-box;
    }

    td {
        font-size: 12px;
        display: block;
        width: 100%;
        height: auto;
        line-height: 1;

        padding: 15px;
        padding-bottom: 15px;

        box-sizing: border-box;
    }
}