@charset "utf-8";
/*=============
common
===============*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

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

html {
    font-size: 62.5%;
}

body {
    font-family: 'Zen Maru Gothic', serif;
    background-color: #fff;
    color: #222;
    letter-spacing: 0.1em;
}

.container {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

/*========= ローディング画面のためのCSS ===============*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 9999999;
	text-align:center;
	color:#4682B4;
    font-size: 1.6rem;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg{
    display: block;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleY(0);
    background-color: #333;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;

}

@keyframes PageAnime{
	0% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
	50% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:top;
	}
	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/

#container{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}


/* end of loading */
.loaded {
    display: none;
}

.body-loading{
    overflow: hidden;
}

/* fade in container */
/* .container {
    display: none;
} */

.container.open {
    display: block;
}

/*=============
Header
===============*/



.siteHeader {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 36px;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.siteHeader .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 
.globalNav_list {
    display: flex;
    gap: 80px;
}

.globalNav_item a {
    font-size: 2.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.globalNav_item a span {
    font-size: 10px;
}

.globalNav_item a:hover {
    text-decoration: underline;
}


/*=============
Modal Window
===============*/

@media screen and (max-width: 768px) {
    .globalNav {
        display: none;
    }

    .globalNav.active {
        display: block;
        position: fixed;
        width: 100%;
        height: 100svh;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        background-color: #fff;
        z-index: 0;
    }

    .globalNav_list {
        display: block;
        width: 80%;
        margin: 50% auto;
        text-align: center;
        /* background-color: red; */
    }

    .globalNav_item {
        margin: 48px 0;
    }

    .globalNav_list a {
        color: #222;
        font-size: 2rem;
    }
} /* 768px */

/*=============
hamburger menu
===============*/

.hamburger {
    display: none;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        width: 26px;
        height: 26px;
        position: relative;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #222;
        position: absolute;
        left: 0;
        transition: 0.4s;
    }

    .hamburger span:first-of-type {
        top: 5%;
    }

    .hamburger span:nth-of-type(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger span:last-of-type {
        bottom: 5%;
    }

    .hamburger.active span:first-of-type {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

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

    .hamburger.active span:last-of-type {
        bottom: 40%;
        transform: translateY(-50%) rotate(-45deg);
    }

}

/*=============
section.contact  
===============*/

.contact-form {
    max-width: 860px;
    margin: 20rem auto 5rem;
    /* background-color: beige; */
}

.contact-form h2 {
    font-family: Zen Maru Gothic;
    font-size: 3.6rem;
    line-height: 3.6rem;
    text-align: left;
    padding-bottom: 3rem;
}

.contact-form p {
    font-family: YuGothic;
    font-size: 1.6rem;
}

.inquiry_form_category label {
    font-weight: 600;
    padding-right: 2rem;
    flex: 1;
}

.inquiry_form {
    padding: 50px 0;
    text-align: left;
}

.inquiry_form_category {
    display: flex;
    padding-bottom: 3.6rem;
}

.inquiry_form_category_child {
    flex: 1;
}

.form_item {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
}

.form_item label {
    width: 50%;
    font-weight: 600;
}

.form_item input {
    flex: 1;
    padding: 1.2rem 1.8rem;
    background-color: #EEEEEE;
    border: none;
    border-radius: .4rem;
    box-sizing: border-box;
}

.form_item textarea {
    flex: 1;
    background-color: #EEEEEE;
    border: none;
    border-radius: .4rem;
    width: 100%;
    padding: 1.2rem 1.8rem 10rem 1.8rem;
}

.contact-form  {
    font-family: YuGothic;
    font-size: 1.6rem;
    line-height: 2.8rem;
}

/* .form_send {
    display: block;
    margin: 5rem auto;
    padding: 13px 52px;
    background-color: rgba(250, 190, 0, .65);
    font-family: YuGothic;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 2.5rem;
    border: none;
} */

.btn {
    display: block;
    width: 130px;
    padding: 13px 32px;
    background-color: rgba(250, 190, 0, 0.65);
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 5rem auto;
    position: relative;
    outline: none;
    z-index: 1;
    transition: all .3s;
    border: none;
}

.btn:hover {
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

.form_reply_method_1 {
    padding-left: 1rem;
}

.form_reply_method_2 {
    padding-left: 1rem;
}

.contact {
    max-width: 1024px;
    margin: 0 auto;
}

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

.contact_child ul {
    display: flex;
    justify-content: space-evenly;
}

.contact_child li {
    padding-right: 24px;
}

.contact_child li img {
    width: 30px;
}

@media screen and (max-width:768px) {
    .contact-form {
        margin: 10rem 4% 5rem;
    }

    .inquiry_form_category {
        display: block;
        padding-bottom: 0;
    }

    .inquiry_form_category_child {
        padding-top: 2rem;
    }

    .contact-form h2 {
        font-size: 1.8rem;
        line-height: normal;
        text-align: center;
        padding-bottom: 3rem;
    }

    .contact-form p {
        font-size: 1.2rem;
    }

    .form_item {
        flex-direction: column;
    }

    .form_item label {
        font-size: 1.4rem;
    }

    .form_send {
        margin: 1rem auto;
    }

    .btn {
        width: 100px;
        font-size: 1.2rem;
    }
    
    .btn:hover {
        box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3);
        border-color: transparent;
    }

    .form_reply_method_1 {
        font-size: 1.2rem;
    }
    
    .form_reply_method_2 {
        font-size: 1.2rem;
    }

    .contact_parent {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        justify-content: center;
    }

    .contact_child {
        margin: 0 auto;
    }

    .contact_child li {
        padding-right: 0;
    }

    .contact_child li img {
        width: 30px;
    }

    .contact_child ul {
        display: flex;
        justify-content: center;
        margin: 3rem auto;
        gap: 10px;
    }

    .form_item textarea {
        padding: 1.2rem 1.8rem 15rem 1.8rem;
    }
}


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

.siteFooter {
    color: #222;
    padding: 16px 0;
    text-align: center;
}

.fadeInBottom {
    transform: translate3d(0, 50px, 0);
    transition: 0.8s;
    opacity: 0;
}

.fadeInBottom.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

