@charset "utf-8";
:root {
    --green:#76A5AF;
    --black: #1B1B1B;
    --white: #fff;
    --lightbull:#F0F8FF;
    --navy:#536980;
    --bullgray:#EEF6F9;
}
/*============MENUが☓に============*/
.openbtn{
	position: relative;
	background:var(--green);
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
}
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
  }

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
    height: 2px;
	background:var(--white);
  	width: 62%;
    left: 10px;
 }

.openbtn span:nth-of-type(1) {
	top:13px;	
}

.openbtn span:nth-of-type(2) {
	top:19px;
	left:11px;
	font-size:0.6rem;
	text-transform: uppercase;
	color: #fff;
}

.openbtn span:nth-of-type(3) {
	top:36px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    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(45deg);
    width: 30%;
}

/*========= ナビゲーション============*/

#g-nav{
    position:fixed;
    z-index: 999;
	top:-120%;
    left:0;
	width:100%;
    height: 100vh;
	background:var(--green);
	transition: all 0.6s;
}

#g-nav.panelactive{
    top: 0;
}

#g-nav ul {
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav li{
	list-style: none;
    text-align: center; 
    font-size: 20px;
    font-weight: bold;
}

#g-nav li a{
	color: var(--white);
	text-decoration: none;
	padding:20px 10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
#g-nav span{
    font-size: 12px;
    margin: auto;
    font-weight: 200;
}

/*========= ボタン============*/
.openbtn{
	position:fixed;
    z-index: 9999;
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: var(--green);
  	width: 45%;
  }

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

.openbtn span:nth-of-type(2) {
	top:19px;
}

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

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    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(45deg);
    width: 30%;
}
@media screen and (max-width: 768px){
    .openbtn {
        top: 3px;
        right: 3px;
    }
}

/*=========共通　横並び============*/

.gnavi{
    display: flex;
    list-style: none;
}

.gnavi li a{
    display: block;
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
}



/*==========線が伸びる=============*/

.gnavi li a{
	position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
	color:var(--green);
}

.gnavi li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 38%;
    width: 28%;
    height: 2px;
    background:var(--green);
    transition: all .3s;
    transform: scale(0, 1);
    transform-origin: center top;
}

.gnavi li.current a::after,
.gnavi li a:hover::after {
    transform: scale(1, 1);
}

.accordion-area{
    list-style: none;
    width: 100%;
    margin:0 auto;
}

.accordion-area li{
    margin: 10px 0 10px 10px;
}

.accordion-area section {
	border: 1px solid #53698062;
    
}

.title {
    position: relative;
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 1% 2%;
    transition: all .5s ease;
    font-size: 18px;
    font-weight: 500;
    background-color: var(--lightbull);
}
.title span{
    width: 85%; 
    display: inline-block;
}

.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 20px;
    height: 3px;
    background-color: var(--navy);
    
}
.title::before{
    top:48%;
    right: 20px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    right: 20px;
    transform: rotate(90deg);

}

.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

.box {
    display: none;
    background: var(--white);
    padding: 0;
}
@media screen and (max-width: 768px){
    .title {
        font-size: 16px;
    }
    .title::before,
    .title::after{
        position: absolute;
        content:'';
        width: 15px;
        height: 2px;
        background-color: var(--navy);
        
    }
}