@charset "UTF-8";

/* --------------共通---------------- */
*, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url(../img/background.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 15%;
    background-size: cover;
    counter-reset: number 0;
}

:root {
	--mainColor: #303030;
}

/* --------------ヘッダー--------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.9);
    height: 10%;
    width: 100vw;
}

header h1 img {
    width: 350px;
    margin: 3vh 3vw 2vh;
}

header nav ul {
    width: auto;
    display: flex;
    justify-content: space-evenly;
    text-transform: uppercase;
    margin: 2vh 3vw;
}

header nav ul li {
    list-style: none;
    font-family: 'Mochiy Pop One',sans-serif;
    font-size: 26px;
    margin: 0 20px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--mainColor);
}

.drawer label{
    position: fixed;
    right: 3%;
    top: 2.5%;
    z-index: 999;
    padding: 20px;
    display: none;
}

#HBG {
	display: none;
}

#HBG label {
    display: flex;
    justify-content: center;
    align-items: center;
}

#HBG+label span,
#HBG+label span::before,
#HBG+label span::after {
	content: "";
	display: block;
	height: 3px;
	background: var(--mainColor);
	border-radius: 9999px;
	transition: .5s;
}

#HBG+label span {
width: 40px;
position: relative;
}
#HBG+label span::before,
#HBG+label span::after {
width: 40px;
position: absolute;
}
#HBG+label span::before {
	bottom: 10px;
}
#HBG+label span::after {
	top: 10px;
}

#HBG:checked+label span {
	background: transparent;
}
#HBG:checked+label span::before {
	bottom: 0;
	transform: rotate(-315deg);
}
#HBG:checked+label span::after {
	top: 0;
	transform: rotate(315deg);
}


/* -------------------------メイン------------------------- */

.formmailer-embed {
    padding-top: 25vh;
    width: 95%;
    margin: auto;
}

form .btn {
	font-size: 1.2vw;
    font-family: 'Mochiy Pop One';
	color: #000000;
	padding: 1.5vw 1vw;
	border-radius: 10px;
	display: block;
	border: solid #000 1px;
	cursor: pointer;
	transition: .5s;
	transform-origin: left bottom;
    background-color: #fff;
    text-align: center;
    width: 10vw;
    height: auto;
    margin: auto;
}

/* --------------------フッター------------------------- */

footer {
    text-align: center;
    height: 20vh;
}

footer div {
    display: flex;
    flex-direction: column;
}

footer img {
    width: 6vw;
    height: auto;
}


/* ---------------------レスポンシブ---------------------------- */


@media (max-width: 1100px) {
      /* -------------------------ヘッダー-------------- */
      header {
        height: 100px;
        max-height: 10%;
    }

    /* header h1 {
        height:90%;
        max-width: 50%;
    } */

    header h1 img {
        max-width: 50%;
        max-height: 60px;
        margin: 8% 5% 5%;
    }
    
    header nav ul {
        width: auto;
        margin: 0;
    }
    
    header nav ul li {
        list-style: none;
        font-family: 'Mochiy Pop One',sans-serif;
        font-size: 18px;
        margin: 0 5px;
    }
    
    header nav ul li a {
        text-decoration: none;
        color: var(--mainColor);
    }    

    .drawer label{
        display: block;
        cursor: pointer;
    }
    
    .menuarea{
        display: block;
        background: rgba(255, 255, 255, 0.9);
        position: absolute;
        top: 0;
        right: -1000px;
        transition: all .5s ;
        width: 100%;
        height: 100vh;
        text-align: center;
        font-weight: bolder;
        padding-left: 0;
        font-size: 1.2rem;
        padding-top: 30%;
    }
    
    header nav ul li{
       margin-top: 10%;
    }
         header nav ul li img{
       margin: 4rem;
    }
    
    #HBG:checked ~ .menuarea{
        right: 0;
    }

    /* -------------------------メイン------------------------- */
h2 {
    top: 16%;
    left: 26%;
    font-size: 20px;
}

form {
	position: relative;
	margin-bottom: 10px;
	margin-top: 20%;
	padding-top: 5px;
	padding-bottom: 5px;
}

.box {
	border-radius: 10px;
	max-width: 100%;
    max-height: 100%;
	margin:0 20%;
	margin-bottom: 5%;
}

.inBox {
	padding-left: 10%;
	padding-right: 10%;
	padding-top: 10%;
	padding-bottom: 5%;
    width: 100%;
    height: 600px;
}

form div label {
	font-size: 16px;
	padding: 5px 0;
}

form textarea,
form .text {
	outline: none;
	font-size: 14px;
	padding: 2px;
	border-radius: 5px;
}

form .text {
    width: 80%;
}

form textarea {
    width: 100%;
    height: 200px;
}

form .btn {
	font-size: 16px;
	padding: 5px 5px;
	border-radius: 5px;
    width: 100px;
    height: 50px;
    margin: auto;
}

    /* -----------------------フッター------------------------ */

footer {
    text-align: center;
    height: 10vh;
}

footer img {
    width: 100px;
    height: auto;
}
}

@media (max-width: 500px) {
     /* -------------------------メイン------------------------- */
h2 {
    top: 125px;
    left: 70px;
    font-size: 20px;
}

form {
	position: relative;
	margin-bottom: 10px;
	margin-top: 110px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.box {
	border-radius: 10px;
	max-width: 80%;
    max-height: 100%;
	margin: auto;
	margin-bottom: 5%;
}

.inBox {
	padding-left: 10%;
	padding-right: 10%;
	padding-top: 10%;
	padding-bottom: 5%;
    width: 100%;
    height: 600px;
}

form div label {
	font-size: 16px;
	padding: 5px 0;
}

form textarea,
form .text {
	outline: none;
	font-size: 14px;
	padding: 2px;
	border-radius: 5px;
}

form .text {
    width: 80%;
}

form textarea {
    width: 100%;
    height: 200px;
}

form .btn {
	font-size: 16px;
    font-family: 'Mochiy Pop One';
	color: #000000;
	padding: 5px 5px;
	border-radius: 5px;
	display: block;
	border: solid #000 1px;
	cursor: pointer;
	transition: .5s;
	transform-origin: left bottom;
    background-color: #fff;
    text-align: center;
    width: 100px;
    height: 50px;
    margin: auto;
}



}



@media (max-width: 400px) {
    .drawer label{
        position: fixed;
        right: 3%;
        top: 2%;
    }

    /* -----------------------フッター------------------------ */

footer {
    text-align: center;
    height: 10vh;
}

footer img {
    width: 80px;
    height: auto;
}
}
