@charset "uft-8";

/* common */
:root {
    --white: #FFFDFA;
    --black: #332F2B;
    --green: #8CBC91;
    --gray: #6B6B6B;
    --main-font: "Noto Sans JP", serif;
    --sub-font: Lato, serif;
    --content-padding: 6.66%;
}

html {
    font-size: 62.5%;
}

body {
    font-family: var(--main-font);
    font-style: normal;
    color: var(--black, #332F2B);
    background-color: var(--white);
    line-height: 1.5;
    font-size: 1.6rem;
}

img {
    max-width: 100%;
    height: auto;
}

.main {
    display: block;
    overflow: hidden;
}

/* header */
.header {
    display: flex;
    align-items: center;
    height: 70px;
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 6.66%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.header__logo {
    z-index: 100;
    font-family: var(--sub-font);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

/* nav初期表示 */
.nav {
    position:fixed;
	z-index: -1;
	opacity: 0;
	top:0;
	width:100%;
    height: 100vh;
	background-color: var(--green);
	transition: all 0.3s;
}

.nav.screenactive {
    opacity: 1;
	z-index:10;
}

.nav__list {
    display: block;
}

.nav__wrapper {
    margin: 142px 0 0;
    padding: 0 var(--content-padding);
}

.nav__item {
    margin-top: 32px;
}

.nav__content {
    display: flex;
}

.nav__text {
    font-family: var(--sub-font);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
}

.nav__text::before {
    background-color: var(--black);
    content: '';
    width: 10px;
    height: 1px;
    margin-right: 6px;
}

.nav__text-sub {
    font-family: "Noto Sans JP";
    font-size: 1rem;
    letter-spacing: 0.2px;
    display: flex;
    align-items: end;
}


/* ========================
hamburger_menu Animation　
=========================== */
.header__button{
    cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
    position: fixed;
    right: 6.66%;
    z-index: 999;
    transition: all .6s;
}

.openbtn-area {
    width:50px;
	height:50px;
    transition: all .4s;
    display: inline-block;
}

.openbtn__line {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    right: 0;
    height: 1px;
    border-radius: 2px;
	background-color: var(--black);
    width: 50%;
}

.openbtn__line:nth-of-type(1) {
    top:15px;	
}

.openbtn__line:nth-of-type(2) {
    top:23px;
}

.openbtn__line:nth-of-type(3) {
    top:31px;
}

/* header__button.active表示 */
.header__button.active .openbtn__line:nth-of-type(1) {
    top: 18px;
    right: 0;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.header__button.active .openbtn__line:nth-of-type(2) {
    opacity: 0;
}

.header__button.active .openbtn__line:nth-of-type(3){
    top: 30px;
    right: 0;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}

/* header pc */
@media screen and (min-width: 768px) {
    .header {
        height: 90px;
    }

    .header__wrapper {
        padding: 0 0 0 5.55%;
        height: 90px;
    }

    .header__logo {
        font-size: 3.2rem;
    }

    .nav {
        opacity: 1;
        top:0;
        right: 5.55%;
        width:auto;
        height: auto;
        background-color: transparent;
        z-index: 999;
    }

    .nav__list {
        display: flex;
        align-items: center;
        width: 270px;
        justify-content: space-between;
    }

    .nav__wrapper {
        margin: 29px 0;
        padding: 0;
    }

    .nav__item {
        margin-top: 0;
    }

    .nav__text-sub {
        display: none;
    }

    .nav__text::before {
        display: none;
    }

    .nav__text {
        font-weight: 500;
        letter-spacing: normal;

        transition: all .3s;
    }

    .nav__item--contact {
        display: none;
    }

    .header__button {
        display: none;
    }

    .nav__content {
        position: relative;
    }

    /* nav hover */
    .nav__content::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 10%;
        width: 80%;
        height: 1px;
        background: var(--black);

        transition: all .3s;
        transform: scale(0, 1);
        transform-origin: left top;
    }

    .nav__content:hover::after {
        transform: scale(1, 1);
    }

    .nav__text:hover {
        color: var(--gray);
    }
}/* 768px pc */

/* section title */
.section__title {
    text-align: center;
    font-family: var(--sub-font);
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--green);
}

.section__lead {
    display: block;
    text-align: center;
    font-size: 1.3rem;
    margin-top: 6px;
    line-height: 1.2;
}

/* section title pc */
@media screen and (min-width: 768px) {
    .section__title {
        font-size: 4rem;
    }

    .section__lead {
        font-size: 1.6rem;
    }
}/* 768px pc */

/* footer */
.footer {
    padding: 80px 0 32px;
    margin: 0 auto;
    background-color: var(--gray);
}

.contact {
    color: var(--white);
}

.section__title--contact {
    font-size: 3.2rem;
    text-align: center;
    color: var(--white);
}

.section__lead--contact {
    font-size: 1.2rem;
    display: block;
    text-align: center;
}

.contact__mail {
    margin-top: 32px;
    text-align: center;
}

.contact__text {
    font-size: 1.4rem;
}

.contact__address {
    display: block;
    padding: 12px 44px;
    margin: 16px auto 0;
    width: 268px;
    border-radius: 50px;
    border: 1px solid var(--white);

    cursor: pointer;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
}

.contact__address:hover {
    background-color: var(--white);
    border: 1px solid var(--white);
    color: var(--black);
}

.sns {
    margin: 36px auto 0;
    width: 24px;
    height: 24px;
}

.sns img {
    cursor: pointer;
    transition: 0.5s all;
}
/* hover */
.sns img:hover {
    filter: brightness(0) saturate(100%) invert(16%) sepia(14%) saturate(392%) hue-rotate(349deg) brightness(93%) contrast(90%);
}

.copyright {
    margin-top: 96px;
    font-family: var(--sub-font);
    font-size: 1.3rem;
    text-align: center;
}

/* footer pc*/
@media screen and (min-width: 768px) {
    .footer {
        padding: 64px 0 31px;
    }

    .section__title--contact {
        font-size: 4rem;
    }

    .section__lead--contact {
        font-size: 1.6rem;
    }

    .contact__mail {
        margin-top: 58px;
    }

    .contact__text {
        font-size: 1.6rem;
    }

    .contact__address {
        margin: 24px auto 0;
    }

    .sns {
        margin: 135px auto 0;
    }

    .copyright {
        margin-top: 32px;
    }
}
/* 768px pc */
