body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  color: #333;
  font-size: 1rem;
  line-height: 1.85;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: 
}
html {
	 overflow-y: scroll;
}
*{
    box-sizing: border-box;
  margin:0;
  padding: 0;
}
a:link {
	color:#333;
	text-decoration: none;
}
a:hover{
	color:#FF6600;
}
a img {
	border:none;
}
.clear {
	clear: both;
}
#all {
	padding:0px 0 0px;
}
#contents{
width: 100%;
padding:0 0 0 280px;
	}

/* header */
#header {
	margin-bottom:12px;
	padding:0;
	margin:0px 0px 16px 0px;
}
#header h1 {
	padding:0;
	margin:0;
}
#wrapper {
display: flex;
		width:1200px;
			margin:0 auto;
	}
.sma{
		display: none;
		
	}
	@media screen and (max-width: 992px) {
#wrapper { 
    width:100%;
		}
	}
		
@media screen and (max-width: 767px) {
	#contents{
			width: 100%;
			padding:80px 10px 0;
		}
#wrapper { 
    width:100%;
		}
#header {
			position: fixed;
    position: fixed;
    z-index: 999;
    top: 10px;
			left: 10px;

  }
  #header .sma img {
    width: 240px;

  }
    .sma{
        display: block;
    }
.pc{
display:none;
}
}
/*****footer *****/
	#page-top {
		margin:0;
padding: 40px 0px 80px;
  text-align: center;
	font-size:1em;
}
#footer {
  clear: both;
  padding: 40px 0 20px;
  background-color: rgba(238,232,229,0.2);
border-top:4px solid #5B2000;
}
.copy{
  text-align: center;
  margin: 20px 0px;
}
	.f-wp{
  width: 1200px;
  margin: 0 auto;
}
.f-box{
    display: flex;
margin: 0px 0px 0px 280px;
    justify-content: space-around;
    flex-wrap: wrap;


}
.f-box article{
     width:30%;
margin-bottom:20px;
}
.f-box ul{
    font-weight: bold;
    margin: 0 0 0 40px;
}
.f-box a{
color:#333;
}
.f-box img{
width:80%;
	}
@media (max-width:992px) {
	.f-wp{
  width: 100%;
  margin: 0 auto;
}
.f-box{
margin: 0px 0px 0px 280px;
		}
.f-box ul{
    margin: 0 0 0 0px;
		}
.f-box h3 {
  font-size: 1.1rem;

		}			
	}
@media (max-width:767px) {
.f-wp{
		width:100%;
		}
.f-box{
			margin: 0px 0px 0px 0px;
			width:100%;
	}
.f-box article{
width: calc(100% - 40px);
		padding:20px;
margin-bottom:0px;
	}
.f-box ul{
		margin: 0 0 0 20px;
		}
		#footer h3{
			font-size:1.2em;
		}
	}
	
/*****contents *****/

.title {
font-size: clamp(1.8em, 2vw + 1em, 4em);
  font-weight: bold;
  font-family: 'Merriweather', serif;
  background: url("/memory/img/title.png") no-repeat center left;

  margin: 0px 0px 40px 0px;
  text-align: center;
		color: #fff;
		height:200px;
align-items: center;
  display: grid;
	}
.fig {
  width: 80%;
  display: block;
  margin: 40px auto;
padding:1em;
border:1px solid #c8c8c8;
text-align:center;
}
.fig h5 {
  font-size: 1.125em;
  font-weight: bold;
text-align:left;
}
.fig p {
  font-size: 1em;
text-align:left;
	}
	@media (max-width:767px) {
.fig {
			width: 100%;
		}
	}
		
		
	#contents h2 {
  text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
	}
	#contents h3 {
  font-size: 1.5em;
  font-weight: normal;
  text-shadow: 2px 2px 3px #d5b5a9;
  margin: 20px 0px 20px 0px;
	}
/*****activity *****/
.act-wp {
    margin: 0;
display:flex;
}
.activity p{
margin:0.5em 0 0 1em;
line-height: 1.5;
}
.act-wp p{
width:75%;
padding-right:5%;
}
.act-img{
width:25%;
margin:0.5em 0 0;
}
.act-img img{
width:100%;
}
.act-img2{
width:70%;
display:block;
		margin:1em auto;
		text-align:center;
}
.act-img img{
width:100%;
}
.activity h4 {
    display: inline-block;
    position: relative;
    margin: calc(1.5em / 2) 0 calc(1.5em / 4) calc(1.5em / 2);
    color: #333333;
    line-height: 1;
}
.activity h4::before {
    position: absolute;
    bottom: calc(-0.5em / 4);
    left: calc(-1.5em / 2);
    z-index: -1;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: #eee1dc;
    content: '';
}
.acti-tab {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

.acti-tab > label {
    flex: 1 1;
    order: -1;
    position: relative;
    min-width: 70px;
    padding: .7em 1em;
    color: #333;
    font-size: .9em;
    text-align: center;
		cursor: pointer;
    background-color: #f2efed;
}

.acti-tab > label:hover {
    background-color: #eee1dc;
    color: #fff;
}

.acti-tab label::before {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 9px;
    content: '';
		clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.acti-tab a:visited { color: #333; } 

/* menu */

nav ul{
	margin:20px 0 0;
	padding:0;
}
nav li{
	border-radius:0.5em;
	text-align:center;
	list-style-type:none;

	font-weight:bold;
}
nav a:link {
  color: #fff;
}
nav a{
  position:relative;
  top:0;
	padding:8px 0;
	margin:8px 0;
    display: inline-block;
    background-color:#6B3619;
color:#fff;
    outline: none;
	transition: all .3s;
	border-radius:0.5em;
	width:100%;
}
nav a:hover {
  top:-3px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	color:#6B3619;
	background-color:#eee1dc;
}
#contents_01 .nav1,
#contents_02 .nav2,
#contents_03 .nav3,
#contents_04 .nav4,
	#contents_05 .nav5,
	#contents_06 .nav6{
	color:#6B3619;
		background-color:#eee1dc;
		box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	}
	
.menu{
  position: fixed;
  width: 240px;
  height: auto;
		margin:20px 0px 0px 0px;
}

@media screen and (max-width: 767px) {
	.menu{
		position:fixed;
		width: 100%;
		height: 60px;
		min-height:0;
		padding:0px;
	z-index: 999;
	background-color:#fff;
	margin: 0px;
	}
	}
	/*モバイル用*/
@media screen and (max-width: 767px) {
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-120%;
left:0;
	width:80%;
    height: 100vh;/*ナビの高さ*/
	background-color:#f0eae8;
	transition: all 0.6s;
}

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

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 800;
    top:30%;
    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;
}

#g-nav li ul{
 display: none;
 position: absolute; 
 z-index: 2; 
 padding: 10px 5px 0;
 width: 200px; 
 left: 180px; 
 background: #ecf6f4;
}
#g-nav li:hover ul{
 display: block; 
 text-indent:1em; 
	background: #ecf6f4;
	z-index: 999;
}
#g-nav li:hover ul li a{
 color: #46a695;
}
#g-nav li:hover a{
color:#bf946a;
}
#g-nav li:hover ul li:hover a{
color:#bf946a;
}
/*機能編  5-2-5	MENUが×に */
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:0;
	right: 0;
	cursor: pointer;
    width: 80px;
    height:50px;
    border-left:2px solid #333;
	}
}
@media screen and (min-width: 768px) {
.openbtn{
		display:none;
	}
}
/*ボタン内側*/
.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: #333;
  	width:30%;
    opacity: 0;
    top:22px;
    left:20px;
 }

.openbtn span:nth-of-type(2) {
	top:22px;
	left:18px;
	text-transform: uppercase;
	color: #333;
    font-size: 0.9rem;
}

@media screen and (max-width:550px) {
.openbtn span:nth-of-type(2) {
    font-size: 0.8rem;
    }
    
}

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


/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/

.openbtn.active span:nth-of-type(1),
.openbtn.active span:nth-of-type(3) {
    opacity:1;
}

.openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 30px;
    transform: translateY(6px) rotate(-45deg);
}

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

.openbtn.active span:nth-of-type(3){
    top: 40px;
    left: 30px;
    transform: translateY(-6px) rotate(45deg);
}
