@charset "UTF-8";

a#return{
	display: block;
	position: fixed;
	font-size: 2em;
	bottom: 7rem;
	right: 0.5rem;
		color: var(--color-accent);
	z-index: 99;
}


body{
	background-image: url("../img/bg-m.png") ;
	background-repeat: no-repeat;
	background-size:100% auto;
	background-attachment: fixed;
	padding-top: 0.5em;
}

nav,#logo{
	display: none;
}

.tobira-home-text,.tobira-home{
	display: none;
}


#left-navi,#right-navi{
	width: 5%;
	height: auto;
}

#main-contents,#main-contents-memo{
	width: 90%;
	height: auto;
}

h1{
	margin: 0 auto;
}

#m-logo{
	top: 0;
	margin: 0 auto;
	text-align: center;
}

.text-box{
	margin-bottom: 1.5em;
}

h2{
	border-bottom: dashed 1px var(--color-accent);
}

/* コンテンツ部分 */
.contents-box{
	margin-top: 1.2em;
	margin-bottom: 5em;
}

.contents-box-index{
	margin-top: 1.2em;
	margin-bottom: 4em;
}

#top-img{
	display: none;
}

#top-img-m{
margin-bottom: 2.5em;
}

.contents-box dl{
	display: block;
}

.contents-box dl dt{
	margin-bottom: 0.3em;
}

.contents-box dl dd{
	margin: 0;
	margin-bottom: 1em;
}

iframe{
	height: 100vh;
}

.news{
	width: 100%;
}

.new-memo{
	width: 100%;
}

.news-text{
	font-size: 0.8em;
}

.newillust{
	width: 100%;
	height: 220px;
}

.link-list{
	display: block;
}

.illust-page li{
	position: relative;
	width: calc(100% / 2 - 3px);
}

.illust-page li(:nth-of-type(2n)){
	margin-right: 0;
}

/* フッター */
#m-tobira{
	margin: 0 auto;
	text-align: center;
	clear: both;
}

#m-tobira img{
	width: 30%;
}

#m-tobira p{
	width: 100%;
	margin: 0 auto;
	font-size: 0.8em;

}

footer{
	margin-top: 3em;
	margin-bottom: 5em;
	clear: both;
}


/* モバイルメニュー */
ul#m-menu {
	position: fixed;
	bottom: 0px;
	left: 0px;
	font-size: 0;
	opacity: 0.9;
	z-index: 99;
	display: flex;
	list-style: none;
	padding:0;
	margin:0;
	width: 100vw;
	background: var(--color-sub);
}

ul#m-menu li{
   justify-content: center;
   align-items: center;
   width: 50%;
   padding-top:5px;
}

ul#m-menu li:not(:last-child){
	border-right: 1px solid var(--color-text);
}

ul#m-menu a span{
	color: var(--color-text);
	text-align: center;
	display:block;
	width: 100%;
	padding-top:2px;
	font-size: 8px;
}

ul#m-menu a i{
	color: var(--color-text);
	text-align: center;
	display:block;
	width: 100%;
	padding: 2px 0;
	font-size: 20px;
}