@charset "utf-8";
/* CSS Document */

body{
	font-size: 16px;
  	font-family: "Zen Kaku Gothic New", sans-serif;
  	font-weight: 400;
  	font-style: normal;
	margin: 0;
	padding: 0;
	color: #333333;
	letter-spacing: 1px;
}

a{
	text-decoration: none;
	color: #333;
}
li{
	list-style: none;
}


.title {
	font-family: "Zen Maru Gothic", serif;
  	font-weight: 700;
  	font-style: normal;
  	font-size: 2.5rem;
  	line-height: 1;
	text-align: center;
	margin: 5% 0;
	padding: 0;
}
.title span {
  	display: block;
  	font-size: 14px;
  	margin-bottom: 15px;
}

.titleL {
	font-family: "Zen Maru Gothic", serif;
  	font-weight: 700;
  	font-style: normal;
  	font-size: 2.5rem;
  	line-height: 1;
	text-align: left;
	margin: 5% 0;
	padding: 0;
}
.titleL span {
  	display: block;
  	font-size: 14px;
  	margin-bottom: 15px;
}

#header{
	display: block;
	position: fixed;
	left: 2%;
  	top: 20px;
  	transform: translateX(-2%)
             	translateY(-3%);
	background-color: #ffffff;
	width: 96%;

	margin: 0 auto;
	padding: 0;
	z-index: 1;
	border-radius: 10px;
	box-shadow: 0 0px 10px rgba(0,0,0,0.1);
}
.honmachi{
	position: fixed;
	line-height: 0;
	padding: 0;
	margin: 20px 0;
}
.honmachi a img {
	width: 250px;
	margin: 0 0 0 20px;
	line-height: 0;
}
#g-nav .logo{
	display: none;
}
#g-nav-list{

	top: 4px;
	right: 3%;
	z-index: 2;
	margin: 0;
	padding: 0;

}
.gnav{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-right: 25px;
	height: 100%;
	z-index: 2;
	margin:  0;
	padding: 0;
}
.gnav li {
	margin:  0;
	padding: 0;
}
.gnav li a{
	font-weight: bold;  
	padding: 30px 1em 30px 1rem;
	display: block;
	height: 100%;
		cursor: pointer;
  	-webkit-transition: 0.5s all;
  	transition: 0.5s all;
}
.gnav li a:hover {
	color: #2e9f74;
}
.gnav .line a{
	position: relative;
}
.gnav .line a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 4px;
background: #2e9f74;
bottom: 0px;
transform: scale(0, 1);
transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
transition: transform 0.3s;   /*変形の時間*/
}

.gnav .line a:hover::after {
transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}

.gnav .contactBtn a{
	display: block;
	background-color: #fbcb5a;
	color: #fff;
	padding: 0.5em 1em;
	margin: 0 20px 0 0;
	border-radius: 25px;
}
.gnav .contactBtn a:hover{
	color: #fff;
}
.base_foot {
	margin: 5% 0 0 0;
}
.base_foot_in {
	margin: -5% 0 0 0 ;
	padding: 0 0 36vw;
	background-image: url(../images/common/footback.png);     /* 背景画像指定 */
    background-repeat:  no-repeat;              /* 背景の繰り返し設定 */
    background-position: center bottom;          /* 背景の位置指定 */
	background-size: 100% auto;
	background-color: #EBF5FB;
}
.footTit {
	display: flex;
	align-items: center;
	width: 96%;
	max-width: 1200px;
	margin: 0 auto 0 auto;
	padding: 10% 0 3% 0;
	border-bottom: 1px solid #2E9F74;  /* 一括指定 */
}
.footaddress {
	width: 100%;
	margin: 0 0 0 5%;
}
.footaddress .p-left {
	margin: 0 0 0 5%;
	padding: 0;
}
.foot-nav{
	display: flex;
	align-items: center;
	width: 96%;
	max-width: 1200px;
	margin: 0 auto 0 auto;
	padding: 3% 0;
}
.foot-nav li{
	padding: 0 35px 0 0;
	margin: 0;
}
.foot-nav li a{
	font-weight: bold;
}
.base_foot_in a{
	position: relative;
	color: #2E9F74;
	margin: 0;
	padding: 0;
}
.base_foot_in li.current a,
.base_foot_in li a:hover{
	color:#2E9F74;
}

.base_foot_in li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: -5px;
    left: 0;
    /*線の形状*/
    width: 100%;
    height: 1px;
    background:#2E9F74;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.base_foot_in li.current a::after,
.base_foot_in li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}

.foot-privacy-copy{
	font-size: 1rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	width: 96%;
	max-width: 1200px;
	margin: 0 auto 0 auto;
	padding: 0;
}
.foot-privacy-copy .privacy{
	color: #2E9F74;
	margin: 0 0 0 20px;
	padding: 0 0 0 20px;
	border-left: 1px solid #2E9F74;
}

/*FOOT-CONTACT*/
#foot-contact {
	display: flex;
	align-items: center;
	width: 96%;
	max-width: 1200px;
	margin: 0 auto 0 auto;
	padding: 10% 0 0 0;
}
.foot-contact-flex {
	display: flex;
	align-items: center;
}
.foot-contact-flex .title {
	width: 35%;
}
.foot-contact-text {
	width: 45%;
	margin: 0 0 0 5%;
}
#foot-contact a{
	font-weight: bold;
	color: #fff;
}
.footlink {
  	position: relative;
	display: block;
	width: 96%;
	background-color: #85C0DB;
  	padding: 2%;
	border-radius: 20px;
	cursor: pointer;
  	-webkit-transition: 0.5s all;
  	transition: 0.5s all;
}
.footlink:hover {
	background-color: #4E9ABC;
}
#foot-contact .arrow {
	right: 5%;
}
.arrow {
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
	height: 40px;
  margin: auto 0;
  line-height: 1;
	/*background-color: #000;*/
	border-radius: 50%;

}
.arrow2 {
	letter-spacing: 2px;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 5%;
  bottom: 0;
  width: 40px;
	height: 40px;
  margin: auto 0;
  line-height: 1;
	/*background-color: #000;*/
	border-radius: 50%;

}
.arrow:before,
.arrow:after {
  content: "→";
  position: absolute;
  top: 0;
  right: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
	padding: 10px;
	font-weight: bold;
}
.arrow2:before,
.arrow2:after {
  content: "→";
  position: absolute;
  top: 0;
  right: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
	padding: 10px;
	font-weight: bold;
}
.arrow:after {
  transform: translateX(-100%);
}
.arrow2:after {
  transform: translateX(-100%);
}
.link:hover .arrow:before {
  animation-name: transformRightLeft; /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0s;
}
.link:hover .arrow2:before {
  animation-name: transformRightLeft; /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0s;
}
.link:hover .arrow:after {
  animation-name: transformLeftRight; /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0.2s;
}
.link:hover .arrow2:after {
  animation-name: transformLeftRight; /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0.2s;
}

@keyframes transformLeftRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes transformRightLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

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

a .arrow {
font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  text-decoration: none;
  font-size: 20px;
}
a .blue{
	color: #85C0DB;
	background-color: #fff;
}


/* UnderPage */
.content_top {
	width: 100%;
	margin: 0;
	padding: 10em 0 0 0;
	background-size: cover;
	background-position: center center;
	color: #FFF;
	background-color: #fff;
	line-height: 0;
}
.content_top .inner {
	width: 100%;
	height: 100%;
	margin: auto;
	padding: 0 0 6em 0;
	background-image: url("../images/common/nami-wt-bottom.png");
    background-position: calc(50% - 1px) calc(100% - -1px); /* 中央に配置 */
    background-repeat: repeat-x; /* 繰り返しを防止 */
	line-height: 0;
}

.midashi {
	font-size: 1.8rem;
	font-family: "Zen Maru Gothic", serif;
  	font-weight: 700;
  	font-style: bold;
	position: relative;
	padding: 1.2rem 0;
	color: #2E9F74;
	letter-spacing: 5px;
}
.midashi:after {
	position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #B4A983, #B4A983 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #B4A983, #B4A983 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}



/*==================================================
/*機能編 5-1-22 クリックしたら円形背景が拡大（左上から）*/
/*===================================*/
@media screen and (max-width:1000px) {

#header{
	display: block;
	position: fixed;
	left: 1%;
  	top: 1%;
  	transform: translateX(-1%)
             	translateY(-1%);
	background-color: #ffffff;
	width: 98%;
	height: 70px;
	margin: 0 auto;
	padding: 0;
	z-index: 1;
	border-radius: 10px;
	box-shadow: 0 0px 10px rgba(0,0,0,0.1);
}
h1{
	margin: 14px 0;
}
.title {
  	font-size: 1.5rem;
}
.titleL {
  	font-size: 1.5rem;
	text-align: center;
}
.honmachi{
	position: fixed;
	line-height: 0;
	padding: 0;
	margin: 15px 0;
}
.honmachi a img {
	width: 230px;
	margin: 0 0 0 20px;
	padding: 0;
}
#g-nav{
        display: none;
}
    
/*アクティブになったエリア*/
#g-nav.panelactive{
    display: block;
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 99;
	top: 0;
	width:100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
	z-index:3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #2e9f74;
    /*丸のスタート位置と形状*/
	transform: scale(0);/*scaleをはじめは0に*/
	right:-18px;
    top:-18px;
    transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
	transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
    opacity: 0;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: relative;
    z-index: 99; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     opacity: 1; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
	display: block;
	opacity: 0;/*はじめは透過0*/
    width: 80%;
    margin: auto;
}



/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity:1;
}



/*FOOTER*/

.footTit {
	text-align: center;
	display: block;
	width: 96%;
	margin: 0 auto 0 auto;
	padding: 10% 0 2% 0;
	border-bottom: 1px solid #2E9F74;  /* 一括指定 */
}
.footTit img {
	width: 65%;
	max-width: 336px;
	margin: 5% 0 ;
}
.footaddress {
	margin: 3% 0 ;
}
.footaddress span {
	display: block;
	margin: 0;
}
.footaddress .p-left {
	margin: 0;
	padding: 0;
}
.foot-nav{
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content:center;
	align-items: center;
	width: 96%;
	margin: 0 auto 0 auto;
	padding: 3% 0;
}
.foot-nav li{
	padding: 0 4% ;
	margin: 0 0 5% 0;
}
.base_foot_in a{
	color: #2E9F74;
	margin: 0;
	padding: 0;
}
.foot-privacy-copy{
	font-size: 0.8rem;
	text-align: center;
	display: block;
	width: 96%;
	margin: 0 auto 0 auto;
}
.foot-privacy-copy li{
	margin: 3% 0;
	padding: 0;
}
.foot-privacy-copy .privacy{
	border: none;
	margin: 0;
	padding: 0;
}
	

/*FOOT-CONTACT*/
#foot-contact {
	display: block;
	width: 96%;
	max-width: 1200px;
	margin: 0 auto 0 auto;
	padding: 0;
}
.foot-contact-flex {
	display: block;
}
.foot-contact-flex .title {
	font-size: 1.5rem;
	width: 75%;
	margin: 0 auto 3% auto;
}

.title span {
  	display: block;
  	font-size: 14px;
  	margin-bottom: 15px;
}
.foot-contact-text {
	width: 75%;
	font-size: 0.8rem;
	margin: 0 auto;
}
#foot-contact a{
	color: #fff;
}
.footlink {
	width: 94%;
	border-radius: 10px;
	cursor: pointer;
  	-webkit-transition: 0.5s all;
  	transition: 0.5s all;
	padding: 3%;
}
.footlink:hover {
	background-color: #4E9ABC;
}
#foot-contact .arrow {
	right: 5%;
}

.arrow {
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 25px;
	height: 25px;
  margin: auto 0;
  line-height: 1;
	/*background-color: #000;*/
	border-radius: 50%;

}
.arrow:before,
.arrow:after {
  content: "→";
  position: absolute;
  top: 0;
  right: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
	padding: 5px;
}
.arrow:after {
  transform: translateX(-100%);
}

a .arrow {
font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  text-decoration: none;
  font-size: 15px;
	font-weight: bold;
}

.arrow2 {
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 5%;
  bottom: 0;
  width: 30px;
	height: 30px;
  margin: auto 0;
  line-height: 1;
	/*background-color: #000;*/
	border-radius: 50%;

}
.arrow:before,
.arrow:after {
  content: "→";
  position: absolute;
  top: 0;
  right: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
	padding: 5px;
	font-weight: bold;
}
.arrow2:before,
.arrow2:after {
  content: "→";
  position: absolute;
  top: 0;
  right: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
	padding: 5px;
	font-weight: bold;
}
.arrow:after {
  transform: translateX(-100%);
}
.arrow2:after {
  transform: translateX(-100%);
}
.link:hover .arrow:before {
  animation-name: transformRightLeft; /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0s;
}
.link:hover .arrow2:before {
  animation-name: transformRightLeft; /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0s;
}
.link:hover .arrow:after {
  animation-name: transformLeftRight; /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0.2s;
}
.link:hover .arrow2:after {
  animation-name: transformLeftRight; /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0.2s;
}
	
}

/*==================================================
　機能編 5-2-4	MENUがCLOSEに
===================================*/

.openbtn2{
    display: none;
}

@media screen and (max-width:1000px) {
/*ボタン外側*/
.openbtn2{
    display: block;
	position:fixed;
	top:10px;
	right: 10px;
	z-index: 9999;/*ボタンを最前面に*/
	cursor: pointer;
    width: 50px;
    height:50px;
	background:#2e9f74;
	border-radius: 10px;
}

/*ボタン内側*/
.openbtn2 span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
	background: #ffffff;
  	width: 45%;
  }


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

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

.openbtn2 span:nth-of-type(3) {
	top:25px;
}

.openbtn2 span:nth-of-type(3)::after {
	content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
	position: absolute;
	top:5px;
	left:-2px;
	color: #ffffff;
	font-size: 0.6rem;
	text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

.openbtn2.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

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

.openbtn2.active span:nth-of-type(3){
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn2.active span:nth-of-type(3)::after {
	content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
	top:5px;
	left:4px;
}
	


#g-nav.panelactive #g-nav-list{
     display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
	font-size: 1.2rem;
	opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
	left: 20%;
    z-index: 999;
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li, #g-nav-list p{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
	
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}


/*リストのレイアウト設定*/
#g-nav{
	position: relative;
	}
#g-nav .logo{
	display: block;
}
#g-nav-list{
	position: absolute;
  	top: 20%;
  	left: 0;
	width: 90%;
	}
#g-nav li{
	text-align: left; 
	list-style: none;
	margin: 20px 0;
}
#g-nav .contactBtn {
	text-align: center;
	margin: 20px 0;
}
#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;  
}

/*ナビ内ロゴ*/

#g-nav p{
    display: none;
}


/* FOOTER */
.base_foot {
	position: relative;
	bottom: 0;
	width: 100%;
	margin: 10% 0 0 0;
}
.base_foot_in {
	background-image: url(../images/common/footback.png);
	background-repeat:  no-repeat;              /* 背景の繰り返し設定 */
    background-position: center bottom;          /* 背景の位置指定 */
	padding: 0 0 35vw 0;
}
	

/*==1000px以下の形状*/
@media screen and (max-width:1000px){

#g-nav p{
        display: block;
        margin:30px auto 0 auto;
        width:80px;
}

#g-nav ul{
	display: block;
    margin: 0;
}


    
#g-nav ul li a{
	    padding: 30px auto;
        color: #fff;
}

#g-nav ul li a:hover{
    color: #fff;
}
    
#g-nav ul li li a{
		padding: 0;
}

.midashi {
	font-size: 1.4rem;
	letter-spacing: 2px;
}
	
/* UnderPage */
.content_top {
	padding: 6em 0 0 0;
}
.content_top .inner {
	padding: 0 0 2em 0;
}
	
}

