@charset "UTF-8";

@import url("https://fonts.googleapis.com/earlyaccess/sawarabimincho.css");

/* /////////////////////////////////////////////// */

/* テンプレート用CSS */

/* /////////////////////////////////////////////// */
html {
	height: 100%;
}
body {
	height: 100%;
	padding-bottom: 4px;
	font-family: "Sawarabi Mincho", Verdana, "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", Meiryo, sans-serif;
	font-size: 0.9em;
	line-height: 165%;
	background-image: url(../img/bg2.png);
	background-position: right bottom;
	background-attachment: fixed;
}
body.bg0 { background-image: url(../img/bg0.png); }
body.bg1 { background-image: url(../img/bg1.png); }
body.bg2 { background-image: url(../img/bg2.png); }
body.bg3 { background-image: url(../img/bg3.png); }
body#tinymce {
    background: none;
	background-color: #FFF !important;
}

a {
	color: #A00;
	color: #00A;
    /*text-decoration: none;*/
}
a:hover {
	text-decoration: none;
}

img {
	vertical-align: bottom;
}



/* /////////////////////////////////////////////////////////////////////////////////////// */
/* 汎用 */
/* /////////////////////////////////////////////////////////////////////////////////////// */
.sp {
	display: none;
}



/* /////////////////////////////////////////////////////////////////////////////////////// */
/* header */
/* /////////////////////////////////////////////////////////////////////////////////////// */
header,
header:before,
header h1 a,
header + #spacer,
nav {
	transition: 0.5s;
}
header {
	width: calc((100% - 450px) / 2);
	width: 100%;
	height: 500px;
	display: table;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	background-image: url(../img/header.jpg);
	background-position: center;
	background-size: cover;
	z-index: 9;
	cursor: pointer;
}
header.min {
	height: 120px;
}
header:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.35);
	z-index: -1;
	opacity: 0;
}
header.min:before {
	opacity: 1;
}
h1 {
	height: 100%;
	display: table-cell;
	vertical-align: middle;
	text-align: center;	
}
header h1 a {
	width: 464px;
	margin: 0 auto;
	display: block;
}
header.min h1 a {
	width: 232px;
}
header h1 img {
	width: 100%;
}
header + #spacer {
	width: 100%;
	height: 500px;
}
header.min + #spacer {
	height: 120px;
}

#wrapper {
	position: relative;
}



/* /////////////////////////////////////////////////////////////////////////////////////// */
/* nav */
/* /////////////////////////////////////////////////////////////////////////////////////// */
nav {
	width: 320px;
	margin: 0 0 0 -160px;
	padding: 60px;
	position: fixed;
	top: 550px;
	left: calc((100% - 450px) / 4);
	background-image: url(../img/nav_bg.png);
	background-repeat: repeat-y;
	box-sizing: border-box;
}
header.min + div + div nav {
	top: 170px;
}
nav:before,
nav:after {
	content: "";
	width: 100%;
	height: 20px;
	display: block;
	position: absolute;
	left: 0;
}
nav:before {
	top: 0;
	background-image: url(../img/nav_bg1.png);
}
nav:after {
	bottom: 0;
	background-image: url(../img/nav_bg2.png);
}
nav dt {
	padding-bottom: 10px;
	margin-bottom: 1em;
	border-bottom: 1px solid #900;
}
nav dd {
	margin-bottom: 40px;
}
nav dd:last-child{
	margin-bottom: 0;
}
nav a {
	margin-bottom: 1em;
	display: block;
	overflow: hidden;
	line-height: 100%;
	color: #888;
	text-overflow: ellipsis;
	white-space: nowrap;
}



/* /////////////////////////////////////////////////////////////////////////////////////// */
/* article */
/* /////////////////////////////////////////////////////////////////////////////////////// */
#tinymce,
article {
	width: 450px;
	min-height: 100%;
	margin: 0 auto;
	padding: 60px 0 1px;
	background-position: left top;
	background-repeat: repeat-y;
}
article section {
	position: relative;
	margin-bottom: 120px;
}
article time {
	width: 113px;
	position: absolute;
	top: -2px;
	right: -140px;
	line-height: 28px;
	color: #FFF;
	text-align: center;
	background-color: #333;
	border-radius: 3px;
}
article time:before {
	content: "";
	width: 0;
	height: 0;
	margin-top: -4px;
	position: absolute;
	top: 50%;
	left: -12px;
	border: 4px solid transparent;
	border-right-width: 8px;
	border-right-color: #333;
}
article h2 {
	margin-left: -0.1em;
	margin-bottom: 30px;
	line-height: 120%;
}
article h2 a {
	color: #A00;
	font-size: 28px;
	font-weight: normal;
	text-decoration: none;
}

.article_footer {
	margin-top: 30px;
	font-size: 0;
	text-align: right;
	background-color: #F6F6F6;
}
.article_footer li {
	padding: 0 0 0 5px;
	display: inline-block;
	vertical-align: bottom;
	color: #999;
	font-size: 0.9rem;
	background-color: #FFF;
}

.pager {
	margin: -30px 0 90px;
	text-align: center;
}
.pager li {
	margin: 0 10px;
	padding: 10px;
	display: inline-block;
	font-size: 1.3em;
}
















/* /////////////////////////////////////////////////////////////////////////////////////// */
/* スマホ */
/* /////////////////////////////////////////////////////////////////////////////////////// */
/*@media screen and (max-width: 641px) {*/
@media screen and (max-width: 1px) {
* {
	max-height: 999999px;
}
body {
	padding-bottom: 0;
	font-size: 1.35rem;
	line-height: 160%;
}
header {
	height: 350px;
}
header h1 a {
	width: 62%;
}
/* sp menu */
#sp_menu {
	width: 50px;
	height: 50px;
	display: block;
	position: absolute;
	top: 35px;
	right: 35px;
	background-color: rgba(0,0,0,0.2);
	border-radius: 4px;
}
#sp_menu span::before, #sp_menu span::after {
    background-color: #fff;
    border-radius: 2px;
    content: "";
    display: block;
    height: 6px;
    left: 0;
    margin-top: -17px;
    position: absolute;
    top: 50%;
    transition: all 0.3s ease 0s;
    width: 40px;
}
#sp_menu span {
	width: 32px;
	height: 2px;
	margin: -1px 0 0 -16px;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: #FFF;
	transition: all 0.2s ease 0s;
}
#sp_menu span:before,
#sp_menu span:after {
	content: "";
	width: 32px;
	height: 2px;
	margin-top: -12px;
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	background-color: #FFF;
	transition: all 0.3s ease 0s;
}
#sp_menu span:after {
    margin-top: 10px;
}


#sp_menu.close span:before {
	transform: rotate(-45deg);
}
#sp_menu.close span:before,
#sp_menu.close span:after {
	margin-top: -3px;
}
#sp_menu.close span:before,
#sp_menu.close span:after {
	margin-top: 0;
}
#sp_menu.close span:before,
#sp_menu.close span:after {
	margin-top: -3px;
}
#sp_menu.close span:after {
	transform: rotate(-135deg);
}
#sp_menu.close span:before,
#sp_menu.close span:after {
	margin-top: 0;
}
#sp_menu.close span {
	background: transparent none repeat scroll 0 0;
}




header + #spacer {
	height: 350px;
}
#wrapper {
	width: 100%;
	overflow: hidden;
	left: 0;
	background-color: #FFF;
	transition: 0.5s;
}
nav {
	width: 520px;
	padding: 40px 60px;
	overflow-y: auto;
	position: fixed;
	top: 0;
	bottom: 0;
	left: auto;
	right: 0;
	/*z-index: -1;*/
	background-repeat: repeat;
	box-shadow: 3px 0 3px 2px rgba(0,0,0,0.1) inset;
}
header.min + div + div nav {
	top: 0;
}
nav:before,
nav:after {
	display: none;
}
article {
	width: 100%;
	padding: 60px 95px 1px;
	position: relative;
	background-color: #FFF;
	z-index: 8;
}
article time {
	width: 65px;
	height: 65px;
	padding-top: 8px;
	position: absolute;
	top: -1.5em;
	top: -0.7em;
	left: -85px;
	right: auto;
	line-height: 22.5px;
	color: #FFF;
	font-size: 16px;
	text-align: center;
	background-color: #333;
	border-radius: 5px;
}
article time:before {
	content: "";
	width: 0;
	height: 0;
	margin-top: -6px;
	position: absolute;
	top: 50%;
	left: auto;
	right: -16px;
	border: 6px solid transparent;
	border-left-width: 10px;
	border-left-color: #333;
}
article time span:nth-of-type(1) {
	height: 1px;
	display: block;
	overflow: hidden;
}
article time span:nth-of-type(3) {
	display: none;
}
}



