@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
html {
    font-size: 62.5%;
}
body {
    color: #000000;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    font-style: normal;
}

.wrapper {
    position: relative;
    overflow: hidden;
}
*,
*:before,
*:after {
    box-sizing: border-box;
}
.flex-box {
    display: flex;
}
body.active {
    height: 100%;
    /* overflow: hidden; */
}
@media (max-width: 768px) {
    img {
        width: 100%;
        max-width: 100%;
    }
}
a {
    display: block;
    cursor: pointer;
}


/* =================================
header
================================= */

#header {
    background-color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: 0.7s;
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    padding: 35px 47px 35px 53px;
    align-items: center;
}
.header-wrap .logo {
    max-width: 160px;
    width: 100%;
}
.header-wrap .logo a {
    transition: 0.7s;
}
.header-wrap .logo a:hover{
    opacity: 0.7;
}
#g-nav {
    margin: 0;
    padding: 0;
}
#g-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
}
#g-nav ul li {
    padding-right: 33px;
    line-height: 1;
}
#g-nav ul li:last-child {
    padding-right: 0;
    margin-right: 0;
    line-height: 1;
    border-right: none;
}
#g-nav ul a {
    line-height: 1;
    font-weight: 400;
    transition: 0.7s;
    font-size: 16px;
    background-repeat: no-repeat;
    background-size: 6px 6px;
    background-position: right center;
    padding-right: 16px;
    background-image: url("../images/g-nav-arrow.svg");
}
#g-nav ul li a:hover {
    opacity: 0.5;
}
#header.fixed {
    position: fixed; /*fixedを設定して固定*/
    z-index: 99; /*最前面へ*/
    top: 0; /*位置指定*/
    left: 0; /*位置指定*/
    width: 100%;
}


@media (max-width: 768px) {
    .header-wrap {
        display: flex;
        justify-content: space-between;
        padding: 20px;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .header-wrap .logo {
        max-width: 120px;
        width: 100%;
    }
}
/* =================================
ハンバーガーメニュー
================================= */
.openbtn {
    display: none;
    position: relative;
    background: #9ACFED;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    z-index: 101;
    position: relative;
    right: 5px;
}
.openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
    background: #fff;
    width: 45%;
}
.openbtn span:nth-of-type(1) {
    top: 16px;
    width: 45%;
}

.openbtn span:nth-of-type(2) {
    top: 24px;
    width: 35%;
}

.openbtn span:nth-of-type(3) {
    top: 32px;
    width: 20%;
}
.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
}
@media (max-width: 1200px) {
    #g-nav {
        display: none;
    }
    .openbtn {
        display: block;
    }
}
@media (max-width: 480px) {
    .openbtn {
        width: 38px;
        height: 38px;
    }
    .openbtn span {
        display: inline-block;
        transition: all 0.4s;
        position: absolute;
        left: 10px;
    }
    .openbtn span:nth-of-type(1) {
        top: 10px;
        width: 45%;
    }

    .openbtn span:nth-of-type(2) {
        top: 18px;
        width: 35%;
    }

    .openbtn span:nth-of-type(3) {
        top: 26px;
        width: 20%;
    }
    .openbtn.active span:nth-of-type(1) {
        top: 12px;
        left: 9px;
        width: 50%;
    }
    .openbtn.active span:nth-of-type(3) {
        top: 24px;
        left: 9px;
        width: 50%;
    }
}
/* overlayメニューがアクティブなときに header の openbtn を非表示に */
.overlay-menu.active ~ #header .openbtn {
    opacity: 0;
  }
  
  /* overlayメニューがアクティブなときに overlay-menu 内の openbtn は表示 */
  .overlay-menu.active .overlay-menu-inner .openbtn {
    opacity: 1;
  }
/* =================================
SP_NAVI
================================= */
.overlay-menu {
    display: none;
    pointer-events: none;
}
.overlay-menu-inner {
    display: block;
    height: 100%;
    padding: 30px 20px;
}
.overlay-menu.active {
    opacity: 1;
}
.overlay-menu.active {
    pointer-events: all;
    display: block;
}
.overlay-menu {
    background-image: url("../images/nav-bg-transparent.svg");
    background-size: 80px;
    background-repeat: repeat;
    display: block;
    background-color: rgba(176, 231, 217, 1);
    position: fixed;
    width: 100%;
    height: 100%;
    transition: 1.2s;
    opacity: 0;
    z-index: 100;
}
.overlay-menu-item {
    display: flex;
    align-items: center;
    flex-flow: column;
    height: 100%;
}
.overlay-menu-item ul {
    max-width: 240px;
    margin: 0 auto;
    width: 100%;
}
.overlay-menu-item li {
    margin-bottom: 30px;
    position: relative;
}
.overlay-menu-item a {
    color: #000000;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}
.nav-mark {
    max-width: 100px;
    width: 100%;
    margin: 0 0 auto;
}
.nav-logo {
    max-width: 160px;
    width: 100%;
    margin: auto auto 0;
}
.overlay-menu-inner {
    position: relative;
}
.overlay-menu-inner .openbtn {
   right: 52px;
   top:35px;
   position: absolute;
}
@media (max-width: 768px) {
    .overlay-menu-inner .openbtn {
        right: 20px;
        top: 20px;
        position: absolute;
    }
}

/* =================================
footer
================================= */

#footer {
    padding: 55px 0 45px;
    background-size: cover;
    background-image: url("../images/ft-bg.jpg");
}
#footer {
    background-color: #3c6ca8;
}
.comapny-name {
    font-size: 27px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
}
.comapny-name-en {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.1em;
    margin-top: 15px;
}
@media (max-width: 480px) {
    #footer {
        padding: 40px 0;
    }
    .comapny-name {
        font-size: 24px;
    }
}
/* =================================
ページ先頭へボタン
================================= */
#page-to-top a::before {
    content: "\f151";
    font-family: "Line Awesome Free";
    display: inline-block;
    margin-right: 0.2em;
    line-height: 0.5;
    vertical-align: -0.1em;
    font-size: 16px;
}
#page-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 500;
    transform: translateY(50px);
    transition: 0.5s;
}
#page-to-top a {
    display: inline-block;
    padding: 0.3em 1.2em 0.4em 0.8em;
    color: #fff;
    background-color: #7dd1bd;;
    border-radius: 2em;
}
#page-to-top.upMove {
    transform: translateY(0);
}
@media (max-width: 480px) {
    #page-to-top span {
        display: none;
    }
    #page-to-top a {
        width: 40px;
        height: 40px;
        padding: 0.8rem 0 0 0;
        text-align: center;
        color: #7dd1bd;;
        background-color: #fff;
        border-radius: 100%;
        opacity: 0.7;
    }
    #page-to-top a::before {
        margin: 6px 0 0;
        font-size: 20px;
    }
    #page-to-top {
        bottom: 40px;
        transform: translateY(80px);
    }
    #page-to-top a::before {
        display: block;
    }
}