@charset 'UTF-8';

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

/* 全ページ共通 */

html {
    font-size: 62.5%;
}

body {
    font-family: 'BIZ UDPゴシック', sans-serif;
    font-size: 1.6rem;
    min-width: 100%;
}

/* ヘッダー */

.head_fixed {
    position: sticky;
    top: 0px;
    z-index: 200;
}

header {
    background: rgba(255, 255, 255, .9);
    display: grid;
    grid-template-columns: minmax(25rem,1fr) minmax(540px,48vw) 6rem;
    grid-template-rows: 6rem;
    align-items: center;
}
header nav {
    height: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}
nav ul {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
    transition: .5s;
}
header li {
    vertical-align: middle;
    margin: 0 1rem;
}
header .mail {
    width: 4rem;
    height: 4rem;
    background: white;
    border-radius: 50%;
}
header .mail a {
    display: block;
    width: 3.2rem;
    height: 3.2rem;
    margin: auto;
    padding-top: .8rem;
}
header .mail img {
    display: block;
    width: 100%;
}

header > div {
    margin:.5rem 5rem;
}

.company_logo {
    display: grid;
    max-width: 25rem;
    grid-template-columns: 1fr 5fr;
}
.company_logo div {
    display: flex;
    align-items: center;
}
.company_logo img {
    width: 100%;
}

h1 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 2.8rem;
    padding: 1rem 2rem;
}

#menu_button {
    display: block;
    height: 6rem;
    position: relative;
    cursor: pointer;
}
#menu_button::before {
    content: '';
    position: absolute;
    width: 1.8rem;
    height: 2px;
    background: white;
    top: 2rem;
    left: 2.1rem;
}
#menu_button::after {
    content: '';
    position: absolute;
    width: 2.4rem;
    height: 2px;
    background: white;
    top: 3rem;
    left: 1.8rem;
}

.menu_mobile {
    display: none;
    height: 0;
    overflow: hidden;
    transition: .5s;
    width: 20rem;
    position: absolute;
    top: 6rem;
    right: 0;
}
.menu_mobile li {
    padding: 1rem;
    border-bottom: white 1px solid;
}
.menu_mobile li:last-child {
    padding: .5rem;
    border-bottom: none;
    display: flex;
    justify-content: right;
}

.menu_hide {
    width: 0;
}
.menu_open {
    height: 26rem;
}

/* フッター */

.update {
    background: white;
    position: relative;
    padding: 6rem 10vw;
}

.update_box {
    background: #3984bd;
    display: flex;
    justify-content: center;
    align-items: center;
}
.update_box > div:first-child {
    width: 21rem;
    font-family: serif;
    color: white;
    padding-left: 2.4rem;
}
.update_box > div:last-child {
    flex: 1;
    background: white;
    margin: 1.5rem 2rem;
    padding: 1rem;
}
.update_box table {
    width: 100%;
    border-collapse: collapse;
}
.update_box th,
.update_box td {
    border-bottom: #8e8e8e 1px solid;
    padding: .5rem;
}
.update_box th {
    color: #333;
    width: 12rem;
}
.update_box td {
    color: #8e8e8e;
}
h4 {
    font-size: 2.8rem;
    font-weight: bold;
    padding: .5rem 0;
}

.update_space {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(8rem, 26rem));
    justify-content: space-around;
    padding: 8rem 0;

}
.update_space div {
    height: 9rem;
    position: relative;
    overflow: hidden;
    border: #8e8e8e 1px solid;
    margin: 0 2rem;
}
.update_space img {
    display: block;
    width: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

footer {
    background: white;
    position: relative;
}

.foot_access {
    background: #f2f2f2;
    padding: 4rem 10vw 2rem;
}
.foot_access div:first-child {
    font-family: serif;
}
.foot_access > p {
    line-height: 130%;
    padding: 1rem;
}

.access_img {
    width: 100%;
    display: flex;
}
.access_img img {
    width: 25vw;
    min-width: 200px;
}
.access_img div:last-child {
    flex: 1;
    background: #e6e4e5;
}


.foot_nav {
    color: #f2f2f2;
    background: black;
    display: flex;
    justify-content: center;
    padding: 2rem 0 4rem;
}
.foot_nav li {
    display: inline-block;
    padding: 0 1.5rem;
}
.foot_nav li::before {
    content: '-';
    margin-right: .5rem;
}

.copyright {
    color: #f2f2f2;
    background: #333333
}
.copyright p {
    font-size: 1.4rem;
    text-align: center;
    padding: 15px;
}

/* 横幅1024px以下 */

@media screen and (max-width:1024px) {
    html {
        font-size:56.25%;
    }

    header > div {
        margin:.5rem 1rem;
    }

}

/* 横幅799px以下 */

@media screen and (max-width:799px) {
    header {
        grid-template-columns: minmax(25rem,1fr) minmax(12rem, 540px) 6rem;
    }

    nav ul {
        display: none;
    }

    .menu_mobile {
        display: block;
    }

    .update {
        padding: 4rem 5vw;
    }
    .update_box {
        flex-direction: column;
        padding-top: 1rem;
    }
    .update_box > div:last-child {
        width: 90%;
        padding: 0;
    }

    .foot_access {
        padding: 4rem 5vw 2rem;
    }
    .foot_nav li {
        font-size: 1.4rem;
        padding: 0 .8rem;
    }

}

/* 横幅599px以下 */

@media screen and (max-width:599px) {
    html {
        font-size:45%;
    }

}
