/* -------------------------------------------------------------------
// 01 - Global, Reset all
------------------------------------------------------------------- */
* {outline: none !important;}

::selection {
	background-color: #475B6F;
	color: #fff;
}

html {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	overflow-y: scroll;
}

body {
	color: #333333;
	background: url(../img/page-bg.jpg) repeat;
}

p {margin: 0 0 20px 0;	}

img {max-width: 100%;}

a {
	text-decoration: none;
	outline: none;
}

a {	
	-o-transition: all .4s;
	-ms-transition: all .4s;
	-moz-transition: all .4s;
	-webkit-transition: all .4s;
	transition: all .4s;
}

a:hover {
	color: #4290ae;	
}

h1, h2, h3, h4, h5, h6{
	margin: 0 0 15px 0;
	font-family: 'Alegreya Sans';
}

ul {
	list-style: none;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
}

.btn{border-radius: 0;}
.btn-o {
    border: 1px solid #3A4F52;
    color: #3A4F52;
}

.btn-o:hover {
    background: #3A4F52;
    color: white;
}

.btn.btn-o-white {
    border: 1px solid white;
    color: white;
    background: transparent;
}

.btn.btn-o-white:hover {
    background: white;
    color: #6a6a6a;
}

/* -------------------------------------------------------------------
// 02 - Header
------------------------------------------------------------------- */
#header {	
	position: relative;
	padding: 0 !important;
	background: url(../img/header-bg.png) no-repeat center center;
	background-size: cover;
	display: table;
	height: 80vh;
	width: 100%;
	position: relative;
	z-index: 1;
	overflow-x: hidden;
	margin-bottom: 40px;
}

@media screen and (max-width: 767px) and (orientation: landscape) {
	#header {
		height: auto;
		min-height: 100vh;
		padding: 0px;
	} 
}

#header .header-wrapper-inner {
	display: table-cell;
	text-align: center;
	vertical-align: middle; 
}

/* -- Header : Title and menu drawer -------------------------------*/
#header .top {
	position:fixed;
	top:0;
	width: 100%;
	padding: 12px 12px 12px 12px;
	height: auto;
	z-index: 500;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	-moz-transition: all .5s;
	-webkit-transition: all .5s;
	transition: all .5s;
}

#header .top.solid {
	background-color: rgba(64, 32, 32, 0.91);
	padding-top: 15px;
	padding-bottom: 15px;
}

/*- Title -*/
#header .top h1 {
	margin: 0;
	font-family: 'Yuji Syuku', serif;
	font-size: 2.2em;
	color: white;
}

#header .top h1 ruby {
	font-size: 0.9em
}

#header .top h1 ruby rt {
	font-size: 6px
}

#header .top h1 a {
	color: white;
}

/*- Menu-toggler -*/
#header .top .toggleDrawer i {
	padding-top: 12px;
}

#header .logo, #header .toggleDrawer {
	font-family: 'Alegreya SC';
	color: white;
}

#header .slogan {
	display: flex;
	background: rgba(255, 255, 255, 0.1);
	height: 60vh;
}

#header .slogan .slogan-block {
	overflow: hidden;
	flex: 1;
	vertical-align: middle;
}

#header .slogan .slogan-block.block1 {
	padding: 20px 0 0 0 !important;
}

#header .slogan .slogan-block.block2 {
	padding: 60px 0 0 0 !important;
}

#header .slogan .slogan-block p {
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	display: inline-block;
	font-family: 'Yuji Syuku', serif;
	color: white;
}

#header .slogan .slogan-block p.main {
	font-size: 2.4em;
	vertical-align: middle;
	text-shadow: 0 0 8px gold;
	padding: 1em 0 0 0;
	margin: 0 -8px 0 -10px;
}

#header .slogan .slogan-block p.sub {
	font-size: 2.6em;
	vertical-align: bottom;
	color: gold;
	text-shadow: 0 0 8px black;
	margin: 0 0 -1em 0;
}

#header .slogan .slogan-block p.ruby {
	font-size: 1.0em;
	vertical-align: top;
	padding: 1em 0 0 0;
	text-shadow: 0 0 8px gold;
}

/*- Bottom -*/
#header .bottom {
	bottom: 6%;
	display: block;
	position: absolute;
	width: 100%;
	z-index: 3;
}

#header .bottom a img {
	width: 50px;
}

#header .bottom a {
	opacity: 0.7;
}
#header .bottom a:hover {
    opacity: 1;
}

/* -------------------------------------------------------------------
// 03 - Drawer right
------------------------------------------------------------------- */
#drawer-right {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	margin-right: -300px;
	background: #333333;
	width: 300px;
	z-index: 999;
	padding: 0 !important;
}

#drawer-right .header {
	background: red;
	height: 70px;
	background: #202020;
	padding: 20px;
}

#drawer-right a {
	color: white;
}

#drawer-right a:hover {
	color: #202020;
}

#drawer-right nav {
	padding: 24px;
}

#drawer-right nav ul li {
	margin: 0 0 0 0;
}

#drawer-right nav ul li.sep {
	border-bottom: solid 1px white;
	margin: 0 16px 12px 16px;
}

#drawer-right nav ul li i {
	margin: 0 8px 0 0;
}

/* -------------------------------------------------------------------
// 04 - Content blocks in contents
------------------------------------------------------------------- */
.content-block.contents.contents {
	background:transparent no-repeat center center fixed;
	-webkit-background-size:100%;
	-moz-background-size:100%;
	-o-background-size:100%;
	background-size:100%;
	background-size:cover;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	overflow:hidden;
}

.block-body {
	margin-top: 12px;
}

.content-block.contents h1 {
	font-size:1.75em;
	font-family: 'Yuji Syuku', serif;
	display: block;
	color: #402020;
	border-bottom: 1px solid #402020;
}

.content-block.contents h1 i.fa {
	font-size: 0.7em;
	vertical-align: middle;
	display: inline-block;
	margin: 6px;
}

.content-block.contents h2 {
	font-size:1.2em;
	font-family: 'Yuji Syuku', serif;
	margin-bottom: 4px;
	display: block;
}

.content-block.contents h2 i.fa {
	color: #666666;
}

/* -- Contents : parallax ------------------------------------------*/
@media (max-width: 767px) {
	.parallax {
		height: 100px;
		margin: 16px 0 32px 0;
		background-attachment: fixed;
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}
}

@media (min-width: 768px) {
	.parallax {
		height: 320px;
		padding: 80px 0;
		margin: 64px 0 64px 0;
		background-attachment: fixed;
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}
}

#separator01 {
  background-image: url(../img/separator01.png);
}

#separator02 {
  background-image: url(../img/separator02.png);
}

#separator03 {
  background-image: url(../img/separator03.png);
}

/* -- Contents : schedule ------------------------------------------*/
#schedule {
}

#schedule h1 .fa-calendar-o {
	padding: 0 0 3px 0;
}

#schedule ul {
}

#schedule ul li {
	border-left: solid 4px rgba(64, 64, 64, 0.5);
	margin: 0 0 8px 0;
	padding: 0 0 0 8px;
}

#schedule ul li.r4 {
	border-left: solid 4px rgba(128, 0, 128, 0.5);
}

#schedule ul li.r5 {
	border-left: solid 4px rgba(0, 128, 128, 0.5);
}

#schedule ul li.r6 {
}

#schedule ul li.r7 {
}

#schedule ul li i.fa {
	display: inline-block;
}

#schedule ul li p.date {
	color: #484880;
	font-weight: bold;
	display: block;
	margin: 0 0 2px 0;
}

#schedule ul li p.date i.fa {
  margin: 0 4px 0 0;
  font-size: 0.9em;
  font-weight: normal;
}

#schedule ul li p.summary {
	display: block;
	margin: 0;
}

#schedule ul li p.summary::before {
  content: '　';
}

@media (max-width: 767px) {
}

@media (min-width: 768px) {
	#schedule ul li {
		font-size: 0.96em;
	}
}

/* -- Contents : informations --------------------------------------*/
#information {
}

#information .info-post {
}

#information .info-post h2{
}

#information .info-post i.fa {
	margin: 0 4px 0 0;
}

#information .info-post div.info-body {
	padding: 0 8px;
}

#information .info-post div.info-body div.date {
	display: block;
	text-align: right;
	font-size: 0.8em;
	font-weight: bold;
	color: #6688AA;
	margin: -6px 0 0 0;
}

#information .hide {
	display: none!important;
	visibility: hidden!important;
}

/* -- for smartphone -------*/
@media (max-width: 767px) {
	#information .info-post.primary {
	}
	
	#information .info-post img {
		display: none;
		visibility: collapse;
	}
	
	#information .info-post.primary img {
		display: block !important;
		visibility: visible !important;
		clip-path: inset(60px 0 60px 0 round 4px);
		margin: -60px 0 -48px 0;
	}

	#information .info-post div.info-body p.summary, 
	#information .info-post div.info-body p.detail {
		padding: 0 0 0 8px;
		font-size: 0.95em;
	}
	
	#information .info-post .hide {
		display: none !important;
		visibility: collapse !important;
	}
}

@media (min-width: 769px) {
	#information .info-post .more {
		display: none !important;
		visibility: hidden !important;
	}
	
	#information .info-post .hide {
		display: block !important;
		visibility: visible !important;
	}

	#information .info-post .show {
		display: none !important;
		visibility: collapse !important;
	}
	
	#information .info-post img {
		clip-path: inset(16px 8px round 4px);
	}
}

/* -- Contents : about ---------------------------------------------*/
#about {
}

#about .fa-bookmark {
	padding: 0 0 4px 0;
}

#about p.link-doc {
	display: block;
	text-align: center;
	font-size: 1.2em;
}

#about p.message {
	display: block;
	line-height: 1.4em;
	font-size: 1.1em;
	padding: 2px;
	margin-bottom: 0;
}

#about p.message span {
	display: block;
	margin: 0 0 8px 0;
}

#about p.message span::first-letter {
	margin: 0 0 0 8px;
}

#about p.name {
	display: block;
	text-align: right;
}

#about p.name span {
	margin: 0 8px 0 4px;
	font-family: 'Yuji Syuku', serif;
}

#about p.name span.name {
	font-size: 1.4em;
}


/* -- for smartphone -------*/
@media (max-width: 767px) {
	#about img {
		clip-path: inset(20px 0 260px 0 round 4px);
		margin: -20px 0 -248px 0;
	}
}

@media (min-width: 769px) {
	#about img {
		clip-path: inset(8px round 4px);
	}

	#about p.message {
		line-height: 1.3em;
		font-size: 1.2em;
	}
}

/* -- Contents : link ----------------------------------------------*/
#link {
}

#link ul li {
	display: block;
	padding: 12px;
	margin: 12px;
	clip-path: inset(1px round 6px);
	text-align: center;
}

#link ul li.l1 {
	background: #753a18;
	padding: 30px 8px;
}

#link ul li.l1 img {
	display: inline-block;
	height: 100px;
}

#link ul li.l1 p {
	display: inline-block;
	margin: 0 0 0 20px;
	font-size: 1.6em;
	font-family: 'Yuji Syuku', serif;
}

#link ul li a {
	color: white;
}

#link ul li.l2 {
	background: white;
	padding: 20px 8px 4px 8px;
}

#link ul li.l3 {
	background: #EEDDBB;
	padding: 16px 16px 8px 16px;
}

#link ul li.l3 img {
	display: block;
	border: solid 1px #753a18;
}

#link ul li.l3 p {
	color: #753a18;
	display: block;
	font-size: 1.6em;
	font-family: 'Yuji Syuku', serif;
	margin: 14px 0 8px 0;
}

/* -------------------------------------------------------------------
// 05 - Footer
------------------------------------------------------------------- */
#footer {
	background: #2B3E51; 
	color: white;
	height: 80px;
	text-align: center;
	padding: 30px;
	margin: 40px 0 0 0;
}
