@charset "utf-8";
body {
  font-family: 'BIZ UDPMincho', serif;
  color: #504842;
}
header{
	width:100%;
	height:140px;
}
.header__inner {
  display: flex;
  align-items: top;
  justify-content: space-between;
}
.header__inner {
  display: flex;
  align-items: top;
  justify-content: space-between;
}
.header__nav ul li a {
  margin-left: 50px;
}
.g-nav {
  display: flex;
  flex-direction: column;
  margin-left: 500px;
}
.n-nav {
  display: flex;
}
.menu {
  display: flex;
}
.hbg {
  display: none;
}
header ul li a {
  font-size: 24px;
  margin: 20px 30px 0 10px;
  color: #504842;
  text-decoration-line: none;
  font-weight: bold;
}
header ul li a {
  background-image: linear-gradient(to right, #BE9FC0, #BE9FC0 50%, #000 50%);
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}
header ul li a:before {
  content: '';
  background: #BE9FC0;
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}
header ul li a:hover {
  background-position: 0;
}
header ul li a:hover::before {
  width: 100%;
}
Presentational Styles body {
  font-size: 20px;
  font-weight: bold;
  height: 100vh;
  place-items: center;
}
.logo1 {
  /* position: relative;*/
}
.logo1 {
  width: 120px;
  /* position: absolute;*/
}
.btn1 {
  diplay: block;
  width: 220px;
  margin: 20px 10px 0;
}
.button1 {
  text-align: center;
}
.button1 a img {
  position: relative;
  top: 0;
}
.button1 a img:hover {
  top: 3px;
  transition: 0.3s;
}
h1 img {
  width: 100%;
  margin-bottom: 100px;
}
h2 {
  font-size: 40px;
  font-family: 'Fahkwang', sans-serif;
  border-bottom: 10px solid #707070;
  width: 400px;
  margin-left: 0;
}
.h2_menu{
	width:1000px;
	margin: 0 auto;
}

.h2_menu ul {
 display:flex;
	justify-content: space-around;
	margin:50px 0 50px 0;
}
.h2_menu ul li a {
  font-size: 24px;
  color: #000;
  text-decoration-line: none;
	 position: relative;
  display: inline-block;
}
.h2_menu ul li a::after {
 position: absolute;
 bottom: -3px;
 left: 0;
 content: '';
 width: 100%;
 height: 1px;
 background: #000000;
 transform: scale(0, 1);
 transform-origin: center top;
 transition: transform .3s;
}
.h2_menu ul li a:hover::after {
 transform: scale(1, 1);
}



.yoko{
	display:flex;
	width:1000px;
	margin:0 auto;;
	
}
.yoko2{
	display:flex;
	width:1000px;
	margin:0 auto;;
}



.hover{
	width:100%;
	height:100%;
}
.sample1 {
	width:			20%;
/*	height:			40%;*/
	overflow:		hidden;
margin:20px;
	position:		relative;	/* 相対位置指定 */
	
}

.sample1 .caption {
	
	font-size:		18px;
	text-align: 		center;
	padding-top:		100px;
	color:			#fff;
	line-height: 1.3em;
}
.sample1 .mask {
	width:			100%;
	height:			100%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0,0,0,0.4);	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.sample1:hover .mask {
	opacity:		1;	/* マスクを表示する */
}



h3 {
  font-size: 26px;
  margin: 100px 0 0 18%;
  font-family: 'Fahkwang', sans-serif;
}












.pink {
  width: 105.49px;
  height: 15px;
  background: #ce9a9a;
	margin-left:0;
	margin-bottom:30px;

}
.lavender {
  width: 105.49px;
  height: 15px;
  background: #be9fc0;
	margin-left:0;
	margin-bottom:30px;

}
.green {
  width: 105.49px;
  height: 15px;
  background: #8591aa;
	margin-left:0;
	margin-bottom:30px;

}
.orange{
  width: 105.49px;
  height: 15px;
  background: #d3b89a;
	margin-left:0;
	margin-bottom:30px;
}

.blue {
  width: 105.49px;
  height: 15px;
  background:  #8daa9f;
	margin-left:0;
	margin-bottom:30px;

}


.flex1 img{
	width:20%;
	margin:20px;
	
}

.flex1{
	display: flex;
	width:1200px;
	margin:0 auto;
	left:0;
}
.flex2 img{
	width:20%;
	margin:20px;
}

.flex2{
	display: flex;
	width:1200px;
	margin:0 auto;
	left:0;
	
}




h4{
	font-size:24px;
	margin:50px 0 100px 0;
	text-align: center;
}
h4 a{
	color:#504842;
	text-decoration-line: none;
}
h4 a {
 position: relative;
 display: inline-block;
 text-decoration: none;
}
h4 a::after {
 position: absolute;
 bottom: -3px;
 left: 0;
 content: '';
 width: 100%;
 height: 1px;
 background: #000000;
 transform: scale(0, 1);
 transform-origin: center top;
 transition: transform .3s;
}
h4 a:hover::after {
 transform: scale(1, 1);
}




footer ul li a:hover::after {
  transform: scale(1, 1);
}
footer {
  font-size: 16px;
  background-color: #F0EDEA;
  padding: 40px 0px;
  display: flex;
  justify-content: space-around;
}
.logo2 {
  width: 100px;
  margin: 0 auto;
}
.od {
  font-family: 'Fahkwang', sans-serif;
}
.od {
  color: #504842;
  text-decoration-line: none;
}
footer ul li {
  margin: 0 0 10px 0;
}
footer ul li a {
  font-size: 20px;
  color: #000;
  text-decoration-line: none;
  paddinf: 10px;
}
footer ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
footer ul li a::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #504842;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
footer ul li a:hover::after {
  transform: scale(1, 1);
}

@media screen and (max-width: 1530px){
	.menu {
 display:none;
}
	.hbg{
	display:block;
		
}
	#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-120%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(224,214,186,1.00);
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 60%;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#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; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.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: #666;
  	width: 45%;
  }

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

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

.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) {
	body{
		margin-left:10px;
		margin-right:10px;
	}
	.group{
		width:700px;
		margin-left:20px;
		margin-right:20px;
	}
	header{
	width:100%;
	height:90px;
}
	.logo1{
		width:80px;
	}
	
	
	
	/*.header__nav{
		display:none;
	}*/
	#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-120%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(224,214,186,1.00);
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 60%;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#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; 
}

#g-nav li a{
	color: #000;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.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: #666;
  	width: 45%;
  }

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

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

.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%;
}
	h2{
		font-size: 24px;
  border-bottom: 5px solid #707070;
  width: 200px;
  margin-left: 0;
		
}
	
	.h2_menu ul{
		flex-direction: column;
	}
	.h2_menu ul li a {
  font-size: 18px;
  color: #000;
  text-decoration-line: none;
	 position: relative;
  display: inline-block;
		font-weight: bold;
		margin:5px;
}
	h3 {
  font-size: 18px;
  margin: 50px 0 0 0;
  font-family: 'Fahkwang', sans-serif;
	
}
.pink {
  width: 50px;
  height: 7.5px;
  background: #ce9a9a;
	margin-bottom:30px;

}
.lavender {
  width: 50px;
  height: 7.5px;
  background: #be9fc0;
	margin-left:0;
	margin-bottom:30px;

}
.green {
  width: 50px;
  height: 7.5px;
  background: #8591aa;
	margin-left:0;
	margin-bottom:30px;

}
.orange{
  width: 50px;
  height: 7.5px;
  background: #d3b89a;
	margin-left:0;
	margin-bottom:30px;
}

.blue {
  width: 50px;
  height: 7.5px;
  background:  #8daa9f;
	margin-left:0;
	margin-bottom:30px;

}
/*
.flex1 img{
	width:15%;
	margin:5px;
}

.flex1{
	display: flex;
	width:700px;
	margin:0 auto;
}
.flex2 img{
	width:15%;
	margin:5px;
}

.flex2{
	display: flex;
	width:700px;
	margin:0 auto;
	
}
*/
	.yoko{
		flex-direction: column;
		margin:0 auto;
	}

	.yoko2{

		flex-direction: column;
		margin:0 auto;
		
	}
	
	h4{
		font-size:16px;
	}
	h4 a{
		margin-left:0;
	}
	footer ul li a {
  font-size: 14px;
	}
	.sample1{
		width:32%;
		margin-left:8%;
	}
	.sample1 .caption {
	
	font-size:18px;
	text-align: 		center;
	padding-top:		150px;
	color:			#fff;
	line-height: 1.3em;
}
}


