
@charset "UTF-8";

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

header {
    padding: 30px 30px 40px 30px;
	position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
}

.header-frame {
  display: flex;
  justify-content: space-between;
}

.header-button {
  display: flex;
}

.header-button > li:nth-child(2) {
    margin-left: 20px;
}

.header-button > li {
    margin-left: 10px;
}

.header-button > li:last-child {
    margin-left: 10px;
}
@media screen and (min-width: 768px) {
	.header-button > li:last-child a {
	    display: block;
	    text-decoration: none;
	    width: 180px;
	    text-align: center;
	    font-weight: bold;
	    border: 2px solid #77C7C2;
	    border-radius: 40px;
	    padding: 2px 0px 4px 0px;
	    color: #77C7C2;
	}
}

.header-button > li:last-child img {
    width: 120px;
    height: auto;
}

.header-button-contact {
    display: flex;
    justify-content: space-around;
}

.header-button-contact li img {
    width: 21px;
    height: auto;
    margin-top: 13px;
}

.header-button-contact li p:first-child {
    font-size: 2.8rem;
    font-weight: bold;
    padding: 0 10px 0 5px;
}

.header-button-contact li p:last-child {
    font-size: 1.2rem;
    margin-left: 12px;
    margin-top: -8px;
}

.header-button-contact li p a {
    text-decoration: none;
    color: #333;
}

.header-frame li p img {
  width: 150px;
  height: auto;
}

.header-button-green {
    display: block;
    text-decoration: none;
    width: 130px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    border: 2px solid #77C7C2;
    border-radius: 25px;
    padding: 8px 0px;
    color: #77C7C2;
}

.header-button-orange {
    display: block;
    text-decoration: none;
    width: 130px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    border: 2px solid #FD992D;
    background: #FD992D;
    border-radius: 25px;
    padding: 8px 0px;
    color: #fff;
}








@media screen and (max-width: 768px) {
    .sp-navi {
        display: block;
    }
    .pc-navi {
        display: none;
    }
    header {
        padding: 20px;
        margin: 0;
        width: 100%;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        background: #fff;
    }
    .header-frame li p img {
        width: 120px;
        height: auto;
    }
    .header-button li {
        border-left: 1px solid #77C7C2;
    }
    .header-button > li:first-child {
        padding-left: 20px;
    }
    .header-button > li:last-child {
        margin-left: 20px;
    }
    .header-button li a {
        display: block;
        color: #77C7C2;
        margin-top: 5px;
    }
    .header-button li a span {
        display: block;
        font-size: 1.2rem;
        margin-top: 3px;
    }
    .header-button li a img {
        width: 20px;
        height: auto;
    }
    .hamburger-menu {
        margin-left: 15px;
    }
    span.sp-tel-text {
        color: #77C7C2;
        margin-top: 28px;
        display: block;
        font-size: 1.2rem;
    }
    .menu-btn {
        position: absolute;
        top: 5px;
        right: 6px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
    }
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #77C7C2;
        position: absolute;
    }
    .menu-btn span:before {
        bottom: 8px;
        transition-duration: 0.2s;
    }
    .menu-btn span:after {
        top: 8px;
        transition-duration: 0.2s;
    }

    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
        transition-duration: 0.2s;
    }
    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
        transition-duration: 0.2s;
    }
    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
        transition-duration: 0.2s;
    }
    #menu-btn-check {
        display: none;
    }

    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 2px;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background-color: #77C7C2;
        transition: all 0.5s;/*アニメーション設定*/
        margin-top: 85px;
    }
    .menu-content ul {
        padding: 50px 10px 0;
    }
    #menu-btn-check:checked ~ .menu-content {
        left: 0;/*メニューを画面内へ*/
    }
    .sp-menu-tel {
        color: #fff;
        text-align: center;
    }
    .sp-menu-tel dd a {
        font-size: 2.8rem;
        font-weight: bold;
        color: #fff;
        display: inline;
        margin-left: 10px;
    }
    .header-button > li:last-child img {
        width: 21px !important;
        height: auto;
        vertical-align: revert;
    }
    .sp-menu-tel dd span {
        font-size: 1.2rem;
        font-weight: normal;
        display: block;
    }

    .menu-content ul li:first-child {
        margin-bottom: 35px;
    }
    .menu-content ul li:nth-child(2) a,
    .menu-content ul li:nth-child(3) a,
    .menu-content ul li:nth-child(4) a {
        width: 270px;
        padding: 10px 0;
        margin: 0 auto 30px auto;
        display: block;
        text-align: center;
        font-weight: bold;
        border-radius: 22px;
    }
    .menu-content ul li:nth-child(2) a,
    .menu-content ul li:nth-child(3) a {
        color: #77C7C2;
        background: #fff;
        border: 1px solid #fff;
    }
    .menu-content ul li:nth-child(4) a {
        color: #fff;
        background: #FD992D;
        border: 1px solid #fff;
        margin-bottom: 40px;
    }
    .menu-content ul li:nth-child(5) a,
    .menu-content ul li:nth-child(6) a {
        border-top: 1px solid #fff;
        color: #fff;
        width: 100%;
        padding: 20px;
        text-align: center;
        background-repeat: no-repeat;
        background-position: left 5% center;
        background-size: 20px auto;
        font-weight: bold;
    }
    .menu-content ul li:nth-child(5) a {
        background-image: url(../images/common/icon_cloudmail_sp.svg);
    }
    .menu-content ul li:nth-child(6) a {
        background-image: url(../images/common/icon_faq_sp.svg);
        border-bottom: 1px solid #fff;
    }
}