@charset "utf-8";

/* common */
body {
	font: 1rem / 1.5; 
	font-family: "Noto Sans JP", YuGothic, "Yu Gothic", "游ゴシック体", "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #4d4d4d;
	width:100%;
	
	
}
h1, h2, h3{
font-family: 'Alice', serif;}
header, body, footer {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.inner1, .inner2, .inner3{
	margin-right: 100px;
	margin-left: 100px;
	margin-top: 75px;
}
a:hover {
	color: #BB0000;
}




h2{
	font-size: 2.3rem;
	color: #000;
	margin-bottom: 45px;
	text-align:center;
}


	



h2 span{
	font-size: 0.8rem;
	text-indent: 1rem;
	display: inline-block;
	color: #000;
}
h3:before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 1px;
    top: 50%;
    left: 0;
    background-color: #000;
   
    margin-left: auto;
    margin-right: 10px;
    margin-bottom: 9px;
}


h3{
	font-size: 1.6rem;
	position: relative;
	text-indent: 1rem;
	color: #000;
	
}

h3 span{
	font-size: 0.6rem;
	text-indent: 1rem;
	display: inline-block;
}
.link {
	margin-top: 35px;
    margin-bottom: 100px;
    width: 220px;
    height: 40px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;}
	
	.link a {
    width: 220px;
    height: 40px;
    line-height: 40px;
    background: #b3b3b3;
    color: #fff;
    text-align: center;
    align-items: center;
    display: block;
}

.link a:hover {
    width: 220px;
    height: 40px;
    line-height: 40px;
    background: #BB0000;
    color: #fff;
    text-align: center;
    align-items: center;
    display: block;
}
/*フェードイン*/
 .fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1500ms;
}

.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}



/* header */
header {
	background: rgba(255,255,255,0.9);
	display: -webkit-flex;
	display: flex;
		-webkit-align-items: center;
	align-items: center;
	position: fixed;
	z-index: 2;
	display: flex;
	height: 80px;
	justify-content: space-between;
	
}
#site_title {
	width: 230px;
	height: 55px;
	
	padding-left:100px;
	
	

}


nav ul{
	
	padding-right: 100px;
	

	

}

nav li {
	display: inline-block;
	height: 65px;
	text-align: center;
	flex: 1;
}

nav li+li {
	padding-left: 50px;
}
nav a {
	box-sizing: border-box;
	line-height: 32.5px;
	font-size: 0.75rem;
	color: #000000;
	font-weight: bold;
	display: block;
	padding-top:5px;
}
nav span{
	display: block;
	font-size: 0.5rem;
	font-weight: normal;
	line-height: 1;
}

/*アイキャッチ*/
#mainimg{
	
	z-index:-1;
}
h1 {
	font-size: 3.4rem;}
.category::before{
	content:" / ";
}
.main {
	position: relative;
	display: block;
}

.main p {
	
	text-decoration: underline;	
	color: #fff;
	text-align:left;
	text-shadow: 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c;
}
	
	
.main img{
	padding-top: 80px;
    width: 100%;
    height: 50vh;
    object-fit: cover;
    object-position: top center;
	
}
.title{
	position: absolute;
    bottom: 10%;
    left: 0;
    text-align: center;
    width: 100%;
    
	color: #fff;
	text-align:left;
	text-shadow: 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c;
	padding-left: 100px;
	box-sizing:border-box;}


#toc_container {
    background: #f9f9f9 none repeat scroll 0 0;
    border: 1px solid #aaa;
    display: table;
    font-size: 95%;
    margin-bottom: 1em;
    margin-left: 1em;
    padding: 10px;
    width: auto;
	margin-right: auto;
    margin-left: auto;
}
 
.toc_title {
    font-weight: 700;
    text-align: center;
}
 
#toc_container li, #toc_container ul, #toc_container ul li{
    list-style-position: outside;
    margin-left: 1em;
    margin-right: 1em;
    padding-left: 0;
    /* リストの記号を付けない場合は   
     list-style: outside none none !important;
    */
}

/*メインコンテンツ*/
.tag a{
  padding-right: 10px;
  padding-left: 10px;
    height: 30px;
    box-sizing: border-box;
    display: inline-block;
    background-color: #b3b3b3;
    color: #fff;
    text-align: center;
    margin-left: 15px;
}

.tag a:hover{
    background-color: #BB0000;
}

#toc_container, .lead, .main_content, aside, h2, h3, footer {
    margin-top: 75px;

}

h2{margin-bottom:45px;}

h3{margin-bottom:30px;}
p.img_center{

  text-align: center;

}

.main_content {
    width:65%;
    box-sizing: border-box;
padding-right: 50px;
padding-left: 100px;
display: block;
float:left;
    padding-bottom: 75px;}
.main_content p{
	padding:10px;
}
.main_content img{
    width: 65%;

    margin-right: auto;
    margin-left: auto;
}

aside{width:35%;
     box-sizing: border-box;
padding-left: 50px;
padding-right:100px;
display:block;
float:right;}
aside h2 {
    font-size: 1rem;
    text-align: left;
    
}

.search_category a{
    display: block;
}
.search_tag a{
	padding-right: 10px;
  padding-left: 10px;
  margin-bottom:15px;
    height: 30px;
    box-sizing: border-box;
    display: inline-block;
    background-color: #b3b3b3;
    color: #fff;
    text-align: center;
    margin-left: 15px;}
	
.search_tag	a:hover{
    background-color: #BB0000;
}
aside h2{
   border-bottom: 1px solid #b3b3b3; 上線の外側の余白はナシ */
   padding-top: 0px;      /* 上線の内側の余白はナシ */
   margin-bottom: 1rem;  /* 下線の外側の余白量 */
   padding-bottom: 0.3rem; /* 下線の内側の余白量 */
}
aside a{
	display: block;
}
.addinfo{
   
    box-sizing: border-box;
     padding-top: 75px;
display: flex;
    justify-content: space-between;
	
    
}
.addinfo a, .addinfo p{
	font-size:0.9rem;}
#sbox1{
max-width:500px;
height:30px;

outline:0;
margin-bottom:40px;
background:#fff;	
}

/*SNSボタン*/

.shareList {
	list-style:none;
	display: flex;
	flex-wrap:wrap;
	padding:0;
	margin:-5px 0 0 -5px;
}
.shareList__item {
	height:40px;
	line-height:40px;
	text-align:center;
	margin:9px 0 0 5px;
}
.shareList__link {
	display:block;
	color:#ffffff;
	padding:0 20px;
	text-decoration: none;
	transition: .2s;
	border:2px solid;
	border-radius: 5px;
}
.shareList__link::before{
	font-size:16px;
}
.shareList__link::after{
	content:attr(title);
	font-size:14px;
	font-weight:700;
	vertical-align: top;
	margin-left:5px;
}
 
 
.shareList__link.icon-twitter{background:#55acee;}
.shareList__link.icon-twitter:hover{color:#55acee; background:#ffffff; border-color:#55acee;}
 
.shareList__link.icon-facebook{background:#3B5998;}
.shareList__link.icon-facebook:hover{color:#3B5998; background:#ffffff; border-color:#3B5998;}
 
.shareList__link.icon-google-plus{background:#dd4b39;}
.shareList__link.icon-google-plus:hover{color:#dd4b39; background:#ffffff; border-color:#dd4b39;}
 
.shareList__link.icon-hatebu{background:#008FDE;}
.shareList__link.icon-hatebu:hover{color:#008FDE; background:#ffffff; border-color:#008FDE;}

 
.shareList__link.icon-rss{background:#ff9900;}
.shareList__link.icon-rss:hover{color:#ff9900; background:#ffffff; border-color:#ff9900;}
 
.shareList__link.icon-feedly{background:#6cc655;}
.shareList__link.icon-feedly:hover{color:#6cc655; background:#ffffff; border-color:#6cc655;}
 
.shareList__link.icon-pinterest{background:#cb2027;}
.shareList__link.icon-pinterest:hover{color:#cb2027; background:#ffffff; border-color:#cb2027;}
 
.shareList__link.icon-linkedin{background:#0e76a8;}
.shareList__link.icon-linkedin:hover{color:#0e76a8; background:#ffffff; border-color:#0e76a8;}
 
.shareList__link.icon-line{background:#1dcd00;}
.shareList__link.icon-line:hover{color:#1dcd00; background:#ffffff; border-color:#1dcd00;}


  
/*前頁共通*/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #4d4d4d;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#contactus{
    position: fixed;
    right: 130px;
    bottom: 0;
    text-align: center;
    z-index: 201;
	width: 200px;
	height: 70px;
}

#contactus a{
	width: 250px;
	height: 70px;
	background-color:#BB0000;
	display: flex;

	color: #fff;}
	
	#contactus p{
		width:70%;
		display:inline-block;
		padding-right: 15px;
		padding-top:10px;}
		
	#contactus a::before{
		content: url("../images/letter.png");
		display:inline-block;
		width: 50px;
		height: 70px;
	width: 30%;
	padding-top:19px;
	padding-left: 15px;}

footer {
	background-color:#b3b3b3;

	width: 100%;
	clear:both;

}

.footer_nav{
	margin-left:100px;
	margin-right:100px;
	padding-top:30px;
	text-align:center;
	
}

.footer_nav li{
	display: inline-block;
color: #fff;
}

.footer_nav li+li{
	padding-left: 30px;
}

.footer_nav a {
color: #fff;
font-size: 0.8rem;}	

.footer_nav a:hover{
	color:#BB0000;
}

.allview_banner{
	margin-right:100px;
	text-align:right;
}

.copyright{
	text-align:center;
}

/* 640px以下の表示領域 */
@media only screen and (max-width: 640px) {
	/* reset */
	header {
		display: flex;
		
	}
	header, body, h1, footer, main, .main_content, #mainimg, aside, .addinfo, .link, nav, #site_title {
		width: 100%;
	}
	/*common*/
	
	#wrapper nav ul {
    padding-right: 0px;
}
	#wrapper nav {
    position: fixed;
    top: 0;
    right: -1000px;
    width: 100%;;
    height: 100%;
    padding-top: 50px;
    background:#333;
    font-size: 1rem;
    box-sizing: border-box;
    z-index: 2;
}
#wrapper nav ul li {
    display:block;
    padding: 20px 28px
}
 
#wrapper nav ul li a {
    text-decoration: none;
    color: #ddd
}
 
#wrapper .btn-gnavi {
    position: fixed;
    top: 25px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 3;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms
}
 
#wrapper .btn-gnavi span {
    position: absolute;
    width: 30px;
    height: 4px;
    background: #666;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms
}
 
#wrapper .btn-gnavi span:nth-child(1) {
    top: 0
}
 
#wrapper .btn-gnavi span:nth-child(2) {
    top: 10px
}
 
#wrapper .btn-gnavi span:nth-child(3) {
    top: 20px
}
 
#wrapper .btn-gnavi.open {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg)
}
 
#wrapper .btn-gnavi.open span {
    background: #fff
}
 
#wrapper .btn-gnavi.open span {
    width: 24px;
}
#wrapper .contents section p {
    position: absolute;
    top: 50%;
    width: 30%;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 6px #666
}
 
#wrapper .contents section:nth-child(odd) p {
    left: 10%
}
 
#wrapper .contents section:nth-child(even) p {
    right: 10%
}
	.inner1, .inner2, .inner3{
	margin-right: 50px;
	margin-left: 50px;
	margin-top: 30px;
}
	
	.link a {
		margin-right: auto;
    margin-left: auto;
	}
	.footer_nav {
    padding-top: 10px;
}
#mainimg{
	height: 30vh;}
.allview_banner {
    text-align: center;
	margin: 0px;}
	
	footer{
	height: fit-content;}
	
	.footer_nav {
    margin-left: 80px;
    margin-right: 80px;
	 padding-top: 10px;}
	
	.footer_nav a {
    color: #fff;
    font-size: 0.7rem;}
	
	.footer_nav li+li {
    padding-left: 15px;}
	
	#site_title {
    padding-left:  10px;}
	
	/*caseのみ*/
	
	h1{
		
    font-size: 2rem;}
	.title {

    padding-left: 10px;
	}
	.main_content{
		margin-top:50px;
		padding-left: 50px;
		padding-bottom: 0px;
	}
	
	.tag a{
		margin-top: 10px;}
		#toc_container, .lead, .main_content, h2, h3, footer {
    margin-top: 45px;}
	aside h2{
		text-align: center;
}
aside{
	margin-top: 0;}
		
.addinfo{
	padding-top: 30px;
	display: block;}
	
	
	.addinfo a, .addinfo p{
		font-size: 0.8rem;
		
		}
		.addinfo p{
		padding-top:15px;}
		
		aside {
			padding-bottom: 75px;
		}}