@charset "utf-8";

* {
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1C499A;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    vertical-align: bottom;
}

.wrapper {
    width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

.flex_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.flex_header_item {
    display: flex;
    align-items: center;
}

.header_insta {
    width: 20%;
    justify-content: space-around;
}

.top_logo {
    width: 80px;
}

.top_name {
    vertical-align: middle;
    font-size: 30px;
    font-weight: 800;
}

.top_insta {
    width: 50px;
    transition: opacity 0.3s;
}

.top_insta:hover {
    opacity: 0.7;
}

.link_inquiry {
    padding: 10px 5px;
    color: #fff;
    background-color: #1C499A;
    transition: opacity 0.3s;
}

.link_inquiry:hover {
    opacity: 0.7;

}

.gnav_list {
    display: flex;
    justify-content: space-around;
    padding-left: 0;
}

.gnav_link {
    padding: 10px 20px;
    transition: opacity 0.3s;
}

.gnav_link:hover {
    opacity: 0.5;
}

.page_title {
    padding: 40px 0;
    font-size: 30px;
    color: #fff;
    font-weight: 800;
    background-color: #1c499a;
    text-align: center;
    margin-bottom: 40px;
}

.table {
    width: 85%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 80px;
    margin-bottom: 80px;
}

.table_title {
    text-align: center;
    border-bottom: #1c499a solid 4px;
}

.table_header {
    width: 30%;
    border-bottom: #82a3e1 1px solid;
    color: #000;
    transition: 0.3s;
}

.table_header a {
    font-weight: 600;
}

.table_header a:hover {
    color: #1c499a;
    opacity: 0.8;
}

.table_detail {
    border-bottom: #82a3e1 1px solid;
    padding: 20px;
    color: #000;
}

.footer_copyright {
    margin-top: 60px;
    text-align: center;
    color: #fff;
    background-color: #1c499a;
}

/* レスポンシブ */
@media screen and (max-width: 400px) {
    body {
        line-height: 1.5;
    }

    .wrapper {
        width: 100%;
    }

    .header_insta {
        width: 50%;
        margin-right: auto;
        margin-left: auto;
    }

    .top_logo {
        width: 60px;
    }

    .top_name {
        vertical-align: middle;
        font-size: 26px;
        font-weight: 800;
    }

    .top_insta {
        width: 30px;
        transition: opacity 0.3s;
    }

    .link_inquiry {
        font-size: 15px;
    }

    .gnav_link {
        padding: 0;
        font-size: 14px;
        transition: opacity 0.3s;
    }

    .page_title {
        padding: 20px 0;
        font-size: 24px;
        margin-bottom: 30px;
    }

    .gaiyo_content {
        width: 90%;
    }

    .table_detail {
        line-height: 1.8;
    }

    .footer_copyright {
        font-size: 12px;
        margin-top: 20px;
    }
}