@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');
/*
↓明朝*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');
/* CSS Document */
*{zoom:1;}
:root{
	
	--red:#a93f41;
	--brown:#713a40;
	--brown_bg:#efe3e3;
	--line:#a67f7e;
}
body {
	/*font-family:'Noto Sans JP', "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
font-family: 'Noto Serif JP',"游明朝", YuMincho, "ヒラギノ明朝 Pro W6", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", serif; 
    background-color:var(--red);
	font-size:16px;
	color:var(--brown);
    line-height:1.5em;
    width:100%;
   /* min-width:960px;*/
    overflow-y:scroll;
/*	-webkit-text-size-adjust:100%;*/
	position: relative;

}
body:before,body:after{
	content: "";
	width: 100%;
	display: block;
	position: absolute;
	top:0;
	right: 0;
	bottom: 0;
	background-image: url("../img/bg_st.png");
	background-position: left top;
	background-repeat: repeat-y;
	background-size: 50% auto;
	z-index: -1;
}
body:after{

	transform: scale(-1,1);
}
body,nav,header,div,p,a,ul,li,section,article,dl,dt,dd,h1,h2,h3,h4,h5,h6,img{
	margin:0;
	padding:0;
	font-weight:normal;
	list-style-type:none;	
	box-sizing:border-box;
	font-size: 1em;
}

body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
}

.clearfix::after{
  content: "";
  display: block;
  clear: both;
}

::selection {
    background: #6c7f96;
    color: #fff;
}

/*Firefox*/
::-moz-selection {
    background: #6c7f96;
    color: #fff;
}

.clear{clear:both;}


img{
	width:100%;
    vertical-align: bottom;
    border:0;
}

a{
	text-decoration:none;
	word-break: break-all;
}
a:hover{
}

a.txtLink{
	border-bottom: #fff 1px dashed;
	color:#fff;
	border-spacing: 2px;
	padding: 0 0.5em;

}

a.txtLink:hover{

	border-bottom:var(--brown_bg) 1px dashed;
	background-color: var(--brown_bg);
	color: var(--brown);
}
a.txtLink2{
	border-bottom: var(--brown) 1px dashed;
	border-spacing: 2px;
	color: var(--brown);
}

a.txtLink2:hover{
	border-bottom:var(--brown_bg) 1px dashed;
	background-color: var(--brown_bg);
	color: var(--brown);
}
.br2{display:inline-block;}


ul.notes{margin-left:1em;}
ul.notes li{text-indent:-1em;}
/*ボックス関係*/
.corner_r{
	border-radius: 6px;
}
/*テキスト関係*/
.smallTxt{font-size: max(0.8em,11px);}
.center{text-align: center;}
/*グリッド関係*/
.grid_box{
	display: grid;
	column-gap: 1em;
	row-gap: 1em;
}
.grid_4{grid-template-columns:repeat(4, 1fr);}
.grid_3{grid-template-columns:repeat(3, 1fr);}
.grid_2{grid-template-columns:repeat(2, 1fr);}
/*ルビ関係*/
ruby {
        display: inline-table;
        border-collapse: collapse;
        margin: 0;
        padding: 0;
        border: none;
        white-space: nowrap;
        text-indent: 0;
        vertical-align: 0.9em;
        text-decoration: inherit;
        text-align: center;
        line-height: 1em;
        }
ruby>rt {
    display: table-header-group;
    height: 25%;
    margin: 0;
    padding: 0 0.125em;
    border: none;
    font: inherit;
    font-size: 50%;
    line-height: 1em;
	text-align: center;
    }

/*トップヘ戻る*/
#backTop{
	/*width: 10%;*/
	/*max-width:70px;*/
	/*bottom:100px;*/
    bottom:5px;
	right:5px;
	cursor:pointer;
	position: fixed;
	z-index:999;
}
#backTop span{
	display: block;
	position: relative;
	width: 4em;
	height: 4em;
	text-indent: -99999px;
}
#backTop span:before{
	content: "";
	width: 100%;
	top:0;
	bottom: 0;
	background-color: var(--red);
	box-shadow:  inset 0 0 0 0.3em  var(--red), inset 0 0 0 0.4em #fff;
	position: absolute;
	display: block;
	border-radius: 50%;
}
#backTop span:after{
	content: "▲";
	width: 1em;
	height: 1em;
	margin-top: -0.5em;
	margin-left: -0.5em;
	top:50%;
	left: 50%;
	color: #fff;
	border-top: #fff 2px solid;
	position: absolute;
	display: block;
	text-indent: 0;
	line-height: 1em;

}
/*----------------------------------------------------------------
ローディング
-----------------------------------------------------------------*/
.loading{
    width:100%;
    position:fixed;
    top:50%;
    z-index:999;

	font-size: 16px;
}
.loading .load{

	margin: 0 auto;
	background-color: #fff;
	color:var(--brown);
	line-height: 1em;
	padding: 1em;
}

.loadBg{
	background-color: #fff;
	position: absolute;
	top:0;
	right: 0;
	border-left: #000 1px solid;
	opacity: 0;
	z-index: 999;
}
/*----------------------------------------------------------------
コンテンツ
-----------------------------------------------------------------*/
	#wrap{
		width: 100%;
		display: block;
		position: relative;

	}
	#contents{
		width: 100%;
		opacity: 0;
		position: relative;
	}
.main{
	padding-bottom: 5em;
}

	.contentsBox{
		width: calc(100% - 2em);
		max-width: 1200px;
		margin: 0 auto;
	}
/*----------------------------------------------------------------
フッター上書き
-----------------------------------------------------------------*/
footer.black{
	background-color: var(--pink);
}
footer.black div{
	border-color: #fff;
}

/*----------------------------------------------------------------
showAction
-----------------------------------------------------------------*/

.actionObject{
	opacity:0;
}
.showAction{
  animation: 0.5s ease-out 0s 1 normal forwards running;
  animation-name: showAction;
}

@keyframes showAction {
  0% {
    transform: translateY(20px);
	opacity:0;

  }
  100% {
    transform: translateY(0px);
	opacity:1;

  }
}

/*----------------------------------------------------------------
メディアクエリ
-----------------------------------------------------------------*/
@media (max-width: 1024px) {

}

@media (max-width: 912px) {
	body{
	font-size: 14px;
	}
}

@media (max-width: 786px) {
    body{
	min-width:0; 
	font-size:  max(2vw, 14px);
	}
}
@media (max-width: 480px) {
    /*トップヘ戻る*/
	.loading{
		font-size: 14px;
	}
    #backTop{display:none;}

    body{

		font-size: max(3vw, 13px);
		line-height: 1.5em;

	}
}
