@charset "UTF-8";

-webkit-appearance: none;
-webkit-text-size-adjust: 100%;

/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}


/* body */
body {
	font-size:16px;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background: #FFF2B2;
	background-attachment: fixed;
	/*background-size: cover;*/
}

/* Table */
.tbl td {
	vertical-align: top;
}

/* リンク表示 */
a {
	color:blue;
	text-decoration: none;
}
a:hover {
	color:red;
}

/* Top logo */
.topl {
	width: 50%;
	margin: 0 auto;
}
.topl img {
	width: 100%;
}

/* Main flame */
.mainftop {
	background-image: url(../img/bg3.gif);  
	border-top: solid 3px #A52A2A;
	border-bottom: solid 3px #A52A2A;
	color: #240000;
	line-height: 1em;
	text-align: center;
	font-size: 2em;
	font-weight: bold;
	padding: 10px 0;
}

#mm1 {
	width: 40px;
	height: 40px;
	margin: 0 auto -40px 3em;
}
#mm1 img {
	width: 100%;
}
#mm2 {
	width: 40px;
	height: 40px;
	margin: 0 3em -40px auto;
}
#mm2 img {
	width: 100%;
}

.mainf {
	width: 70%;
	margin: 0 auto;
}
.mainfsub {
	width: 70%;
	margin: 0 auto;
}


.mainfsub2 {
	width: 55%;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
	padding:1em;
}

/* Menu */
#g_navi {
	margin: 1em;
	background: #A52A2A;
}
#g_navi ul {
	display: flex;
	margin: 0 auto;
	padding: 0 3%;
	width: 94%;
	list-style-type: none;
}
#g_navi ul li {
	position: relative;
	width: 20%;
}
#g_navi ul li:first-child::before {
	position: absolute;
	display: block;
	content: "";
	top: 25%;
	left: 0px;
	width: 1px;
	height: 50%;
	background-color: #fff;
}
#g_navi ul li::after {
	position: absolute;
	display: block;
	content: "";
	top: 25%;
	right: 0px;
	width: 1px;
	height: 50%;
	background-color: #fff;
}
#g_navi ul li a {
	display: block;
	padding: 17px 10px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2em;
}
#g_navi ul li a:hover {
	background-color: #DAA520;
	color: #240000;
}

/* 表示・非表示 */
#dis_p {
	}
#dis_s {
	display: none;
	}

/* 各項目Box */
.boxb {
    margin: 2em;
    background: #fff;
	border: solid 1px #DAA520;
    box-shadow: 0 2px 4px rgba(0,74,142, 0.22);
}
.boxb .box-title {
    font-size: 1.2em;
    background: #DAA520;
    text-align: center;
    color: #240000;
    font-weight: bold;
    letter-spacing: 0.05em;
    padding: 10px 0;
	border: solid 1px #DAA520;
}
.boxb p {
    padding: 15px 20px;
    margin: 0;
    line-height: 1.3em;
}

.fade {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1.5s, transform 1s;
}.fade.active {
	opacity: 1;
	transform: translateY(0px);
}

.tblr {
	width: 70%;
	margin: 0 auto;
}
.tblr td {
	padding:1em;
	border: solid 1px #ccc;
}
.com {
	width:90%;
	margin:0.2em auto 0 6em;
}

/* 閉じる */
.closeb {
	height: 24px;
	width: 110px;
	margin: -4em auto 3em 2em;

}





/*================================================
 *  GOTO TOP
 ================================================*/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: -50px;
  background: #9DB74F;
  opacity: 0.7;
  border-radius: 50%;
  z-index: 4000;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
  z-index: 4001;
}
#page_top a::before{
  content: url('../img/ya.png');
  position: absolute;
  width: 30px;
  height: 25px;
  top: -10px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}




@media screen and (max-width: 760px){
body {
	font-size:12px;
}
.topl {
	width: 80%;
}
.mainftop {
	width: 99%;
	font-size: 1.5em;
}
.mainftop2 {
	width: 99%;
}

.mainf {
	width: 99%;
}
.mainfsub {
	width: 95%;
}
.mainfsub2 {
	width: 90%;
}
#dis_s {
	display: block;
}
#dis_p {
	display: none;
}

.tblr {
	width: 90%;
}

.com {
	width:90%;
	margin:0.5em auto 0 4em;
}

#g_navi ul li {
	position: relative;
	width: 40%;
}
#g_navi ul li a {
	display: block;
	padding: 10px 10px;
	color: #fff;
	text-align: center;
	text-decoration: none;
}

.boxb {
	margin: 2em 0;
}
.boxb p {
	font-size:12px;
}
}

