html {
    font-size: 10px;  /* 中（デフォルト）10px */
    -webkit-overflow-scrolling: touch;
}
body {
    position: relative;
    height: 100%;
    font-size: 1.6rem;
    background-color: #fff;
    color: #000000;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}
a {
    text-decoration: none;
    color: #000000;
}
a:hover {
    opacity: 0.6;
}

.pc {
    display: block;
}
.sp {
    display: none;
}

#about, 
#company, 
#contact, 
#garally {
    margin-top: 90px;
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    user-select: none;
}
#loading .floating-image {
    width: 300px;
    opacity: 0;
    transform: translateY(30px);
    animation: floatUp .8s ease-in-out forwards;
}
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@media screen and (max-width: 768px) {
    #about, 
    #company, 
    #contact, 
    #garally {
        margin-top: 70px;
        margin-bottom: 50px;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    #loading .floating-image {
        width: 180px;
    }
}

header {
    background-color: #fff;
    width: 100%;
    height: 90px;
    padding-left: 46px;
    padding-right: 12.5%;
    padding-top: 20px;
}
#header {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
}
#top-header {
    position: -webkit-sticky;
    position:         sticky;
    z-index: 99;
    top: 0;
}
header .pc-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header img {
    width: 135px;
    object-fit: cover;
}
header .disactive-logo {
    display: none;
}
header .pc-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
header .pc-nav ul li {
    margin-right: 40px;
    font-size: 2.0rem;
    font-weight: bold;
}
header .pc-nav ul li img {
    height: 25px;
    width: auto;
}
#ham {
    display: none;
}
header .sp-nav {
    opacity: 0;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    header {
        position: fixed;
        display: flex;
        justify-content: space-between;
        z-index: 999;
        top: 0;
        left: 0;
        height: 70px;
        padding: 0;
        align-items: flex-end;
    }
    #top-header {
        position: fixed;
        top: 0;
        left: 0;
    }
    header.active {
        background-color: #3c4059;
    }
    header .pc-nav {
        display: none;
    }
    header .default-logo img {
        width: 90px;
        margin-left: 7px;
    }
    header .disactive-logo {
        display: none;
    }
    header .disactive-logo img {
        width: 90px;
        margin-bottom: 10px;
        margin-left: 7px;
    }
    header .default-logo.disactive {
        display: none;
    }
    header .disactive-logo.active {
        display: block;
    }
    #ham {
        display: flex;
        background-color: #0A0F2E;
        width: 70px;
        height: 70px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #ham.active {
        pointer-events: none;
    }
    #ham span {
        width: 28px;
        height: 2.2px;
        background-color: #fff;
    }
    #ham.active span{
        background-color: #3c4059;
    }
    #ham span:nth-child(2) {
        margin: 9.2px 0;
    }
    header .sp-nav {
        position: absolute;
        left: 0;
        top: 70px;
        width: 100%;
        min-height: calc(100vh - 70px);
        height: calc(100% - 70px);
        background-color: #3c4059;
        padding-top: 25px;
        transition: .5s;
    }
    header .sp-nav.active {
        opacity: 1;
        pointer-events: all;
    }
    header .sp-nav ul {
        margin-top: 50px;
        text-align: center;
    }
    header .sp-nav ul li {
        margin-bottom: 40px;
    }
    header .sp-nav ul li a {
        color: #fff;
    }
    #close {
        position: relative;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        right: 45px;
        border: 2px solid #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 0 0 auto;
    }
    #close span {
        position: absolute;
        width: 18px;
        height: 2px;
        background-color: #fff;
    }
    #close span:nth-child(1) {
        transform: rotate(45deg);
    }
    #close span:nth-child(2) {
        transform: rotate(-45deg);
    }
}

#head {
    width: 100%;
    background-color: #0A0F2E;
    padding: 15px 20px 20px 20px;
    color: #fff;
}
#head .pc span {
    font-family: 'Hiragino Kaku Gothic ProN';
}
#head .pc span a {
    color: #fff;
}
#head .sp a {
    font-family: 'Hiragino Kaku Gothic ProN';
}
#head h2 {
    text-align: center;
    font-size: 2.4rem;
}

.map_link {
    width: 160px;
    border: 3px solid #0A0F2E;
    display: flex;
    align-items: center;
    padding-right: 20px;
    box-shadow: 0px 3px 6px #00000029;
}
.map_link img {
    width: 50px;
}
.map_link p {
    font-size: 1.4rem;
    font-family: 'Hiragino Kaku Gothic ProN';
}
@media screen and (max-width: 768px) {
    #head {
        width: 100%;
        background-color: #0A0F2E;
        padding: 10px 20px;
        color: #fff;
    }
    #head h2 {
        font-size: 1.6rem;
    }
    #head p {
        font-size: 1.2rem;
    }
    #head p a {
        color: #fff;
    }
    .map_link {
        display: none;
    }
    .sp_link {
        width: 180px;
        margin: auto;
    }
    .sp_link a {
        font-family: 'Hiragino Kaku Gothic ProN';
        display: block;
        width: 100%;
        border-radius: 20px;
        background-color: #ACC9E5;
        color: #fff;
        font-weight: bold;
        text-align: center;
        padding: 9px 0;
        font-size: 1.2rem;
        box-shadow: 0px 3px 6px #2A7AAC29;
    }
}

footer {
    width: 100%;
}
footer .block {
    width: calc(100% - 40px);
    margin: auto;
}
footer .block .to_top {
    display: block;
    font-size: 2.0rem;
    margin-bottom: 15px;
    font-family: 'Hiragino Kaku Gothic ProN';
}
footer .block .content {
    width: 100%;
    background-color: #0A0F2E;
    border-radius: 20px;
    padding: 60px 60px 60px 70px;
    margin-bottom: 20px;
}
footer .block .content .head {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 300px;
}
footer .block .content .head ul {
    display: flex;
    align-items: center;
}
footer .block .content .head ul li {
    font-size: 2.0rem;
    margin-right: 70px;
}
footer .block .content .head ul li img {
    height: 25px;
    width: auto;
}
/* footer .block .content .head ul li:nth-child(1) img {
    width: 130px;
}
footer .block .content .head ul li:nth-child(2) img {
    width: 150px;
}
footer .block .content .head ul li:nth-child(3) img {
    width: 95px;
}
footer .block .content .head ul li:nth-child(4) img {
    width: 112px;
} */
footer .block .content .head ul li a {
    color: #fff;
}
footer .block .content .head .sns {
    display: flex;
    align-items: flex-start;
}
footer .block .content .head .sns .item {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0A0F2E;
    border: 1px solid #fff;
}
footer .block .content .head .sns .item img {
    width: 50px;
}
footer .block .content .head .sns .item:nth-child(1) {
    margin-right: 20px;
}
footer .block .content .footer_logo img {
    width: 152px;
}
footer .sp-footer {
    display: none;
}
@media screen and (max-width: 768px) {
    footer {
        position: fixed;
        width: 100%;
        left: 0;
        bottom: 0;
        height: 50px;
        z-index: 100;
    }
    footer .block {
        width: 100%;
    }
    footer .block .to_top {
        display: none;
    }
    footer .block .content {
        display: none;
    }
    footer .sp-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px 0;
        width: 100%;
        background-color: #0A0F2E;
        height: 50px;
    }
    footer .sp-footer a {
        display: block;
        width: 42.7%;
        border-radius: 10px;
        padding: 13px 0;
        text-align: center;
        font-size: 1.2rem;
        font-weight: bold;
        margin: 0 2%;
    }
    footer .sp-footer .to-about {
        background-color: #ACC9E5;
        color: #fff;
    }
    footer .sp-footer .to-contact {
        background-color: #fff;
        color: #0A0F2E;
        font-family: 'Hiragino Kaku Gothic ProN';
    }
}