/* ##############################################################
#
#    base
#    
############################################################## */

/* ##############################################################
#    layout
############################################################## */
#wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100%;
    margin: 0;
	padding: 0 0 27px;
	background: url(../images/shiryomai/mv.jpg) center top repeat;
	background-size: 100%;
}
#wrapper:before {
	content: '';
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.9);
}


/* ##############################################################
#    #header
############################################################## */
#header {
	position: relative;
	z-index: 1;
	width: 100%;
	min-width: 1000px;
	margin-bottom: 110px;
	color: #fff;
}
#header .inner {
	height: 145px;
	background: url(../images/shiryomai/header_mv.jpg) center center no-repeat;
	background-size: cover;
}
#header .logo {
	position: absolute;
	left: 14px;
	top: 15px;
	background: #fff;
	padding: 3px;
}
#header .logo img {
	width: auto;
	height: 38px;
}
#header h2 {
	position: absolute;
	left: 50%;
	margin-left: -231px;
	top: 0;
	width: 462px;
}
#header nav {
	width: 100%;
	height: 55px;
	background-color: #d2b646;
}
#header nav ul {
	display: -webkit-box;
	display: flex;
	-webkit-justify-content: space-between;
	        justify-content: space-between;
	width: 820px;
	margin: 0 auto;
	letter-spacing: 0;
}
#header nav ul li {
	vertical-align: top;
}
#header nav ul li a {
	position: relative;
	text-decoration: none;
	color: #fff;
}


/* ##############################################################
#    #content
############################################################## */
#content {
	position: relative;
	z-index: 0;
	min-width: 1000px;
	padding-bottom: 134px;
}
#content h1 {
	position: relative;
	width: 78.13%;
	min-width: 985px;
	margin: 0 auto 60px;
	padding-bottom: 20px;
	font-size: 42px;
	font-weight: normal;
}
#content h1 .mark-reg {
	line-height: 0.5;
}
#content h1:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	display: block;
	width: 100%;
	height: 14px;
	background: url(../images/shiryomai/h1_border.png) left top repeat-x;
}
#content section {
	position: relative;
	width: 78.13%;
	min-width: 985px;
	margin: 0 auto;
	line-height: 35px;
	font-size: 17px;
}
#content section + section {
	margin-top: 60px;
}
#content section h3 {
	margin-bottom: 35px;
	font-size: 20px;
}
#content section p + p {
	margin-top: 35px;
}

#toTop {
	position: fixed;
	z-index: 0;
	right: -80px;
	bottom: 94px;
	-webkit-transition: all 0.4s ease;
			transition: all 0.4s ease;
}

#toTop.show {
	right: 0;
}



/* ##############################################################
#    #footer
############################################################## */
#footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	min-width: 1000px;
	height: 27px;
	background-color: #f8f8f8;
}
#footer nav {
	position: absolute;
	left: 8px;
	top: auto;
}
#footer nav li {
	line-height: 27px;
	font-size: 11px;
}
#footer nav li a {
	color: #000;
	text-decoration: none;
}
#footer .copy {
	position: absolute;
	right: 6px;
	top: 0;
	line-height: 27px;
	font-size: 10px;
}


/* ##############################################################
#
#    layout
#    
############################################################## */
/* ##############################################################
#    .top
############################################################## */
#content.top {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url(../images/shiryomai/mv.jpg) center center no-repeat;
	background-size: cover;
}
#content.top h2 {
	position: absolute;
	left: 14px;
	top: 15px;
	/*width: 250px;*/
	background: #fff;
	padding: 3px;
}
#content.top h2 img {
	width: auto;
	height: 38px;
}
#content.top h1 {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -284px 0 0 -390px;
	width: 779px;
	min-width: auto;
}
#content.top h1:after {
	content: none;
}
#content.top nav {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: 140px 0 0 -390px;
	width: 779px;
}
#content.top nav p:nth-child(1) {
	position: absolute;
	left: 0;
	top: 0;
	width: 333px;
}
#content.top nav p:nth-child(2) {
	position: absolute;
	left: 261px;
	top: 0;
	width: 320px;
}
#content.top nav p:nth-child(3) {
	position: absolute;
	left: 503px;
	top: 0;
	width: 276px;
}

/* ##############################################################
#    .about
############################################################## */
#content.about .image {
	margin-top: 35px;
}
#content.about .image p {
	margin-top: 0;
}
#content.about .image .table {
	float: left;
	width: 699px;
}
#content.about .image .table .small {
	margin-bottom: 12px;
	line-height: 11px;
	font-size: 11px;
	text-align: right;
}
#content.about .image .award {
	float: left;
	width: 260px;
	margin: 57px 0 0 25px;
	padding: 20px 0;
	letter-spacing: normal;
	background-color: #fdffdf;
	border-radius: 10px;
}
#content.about .image .award .title {
	margin-bottom: 12px;
	line-height: normal;
	font-size: 10px;
	font-weight: bold;
	color: #c1000f;
	text-align: center;
}
#content.about .image .award .title span {
	font-size: 16px;
}
#content.about .image .award .badge {
	width: 108px;
	margin: 0 auto 12px;
}
#content.about .image .award .detail {
	padding: 0 22px;
	line-height: 25px;
	font-size: 14px;
}
#content.about .image .award .detail .mark-reg{
	line-height: 1;
}
#content.about .project tr:nth-child(n+2) td {
	padding-top: 35px;
}
#content.about .project td:nth-child(odd) {
	padding-right: 15px;
}
#content.about .project td:nth-child(even) {
	padding-left: 15px;
}
#content.about .project td h4 {
	display: inline-block;
	position: relative;
	margin-bottom: 12px;
	color: #e72510;
}
#content.about .project td h4:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	display: block;
	width: 100%;
	height: 0;
	border-bottom: 1px dotted #000;
}

/* ##############################################################
#    .cycle
############################################################## */
#content.cycle .col .left {
	float: left;
	width: calc(100% - 505px);
}
#content.cycle .col .right {
	float: right;
	width: 480px;
}
#content.cycle .col .left {
	float: left;
	width: 48.73%;
	width: calc(100% - 330px);
}
#content.cycle .col .right {
	float: right;
	width: 48.73%;
}
#content.cycle .picture {
	width: 907px;
	margin: 35px auto 0;
}

/* ##############################################################
#    .raise
############################################################## */
#content.raise .col.half + .half {
	margin-top: 35px;
}
#content.raise .col.half .left {
	float: left;
	width: calc(100% - 505px);
}
#content.raise .col.half .right {
	float: right;
	width: 480px;
}
#content.raise .col.half2 {
	margin-top: 35px;
}
#content.raise .col.half2 .left {
	float: left;
	width: 48.73%;
}
#content.raise .col.half2 .right {
	float: right;
	width: 48.73%;
}
#content.raise .col.quarter .left {
	float: left;
	width: calc(100% - 370px);
}
#content.raise .col.quarter .right {
	float: right;
	width: 315px;
	line-height: 20px;
	font-size: 12px;
}
#content.raise .picture {
	width: 907px;
	margin: 35px auto 0;
}



.mark-reg{
	line-height: 1.2;
	vertical-align: bottom;
}

h3 .mark-reg{
	line-height: 1;
}

/* ##############################################################
#
#    responsive
#
############################################################## */

/* --------------------------------------------------------------
    pc
-------------------------------------------------------------- */
@media print, screen and (min-width: 769px) {
	
	#header nav {
		display: block !important;
	}
	
}



/* --------------------------------------------------------------
    sp
-------------------------------------------------------------- */
@media screen and (max-width: 768px) {
	
	/* ##############################################################
	#
	#    base
	#    
	############################################################## */
	#wrapper {
		padding: 0 0 78.5px;
	}


	/* ##############################################################
	#    #header
	############################################################## */
	#header {
		position: fixed;
		min-width: auto;
		height: 50px;
	}
	#header.top {
		background: none;
	}
	#header .inner {
		height: 100%;
	}
	#header .logo {
		left: 9px;
		top: 10px;
		padding: 2px;
	}
	#header .logo img {
		width: auto;
		/*height: 30px;*/
		height: 24px;
	}
	#header .menu {
		position: absolute;
		right: 0;
		top: 0;
		width: 50px;
		height: 50px;
	}
	#header nav {
		display: none;
		position: absolute;
		left: 0;
		right: auto;
		top: 0;
		width: 100%;
		height: 100vh;
		background-color: rgba(0,0,0,0.9);
	}
	#header nav .close {
		position: absolute;
		right: 0;
		top: 0;
		width: 50px;
		height: 50px;
	}
	#header nav ul {
		position: relative;
		top: 50%;
		display: block;
		width: 93.75%;
		margin: -142.5px auto 0;
		text-align: center;
		border-top: 1px dotted #fff;
	}
	#header nav ul li {
		display: block;
		font-size: 20px;
		border-bottom: 1px dotted #fff;
	}
	#header nav ul li a {
		display: block;
		padding: 20px 0;
		color: #fff;
		text-decoration: none;
	}


	/* ##############################################################
	#    #content
	############################################################## */
	#content {
		min-width: auto;
		padding: 50px 0 100px;
	}
	#content .spNav {
		margin-bottom: 40px;
		letter-spacing: normal;
		font-size: 0;
		background-color: #d2b646;
	}
	#content .spNav li {
		display: inline-block;
		width: 50%;
	}
	#content .spNav li:nth-child(odd) {
		border-right: 1px dotted #fff;
	}
	#content .spNav li:nth-child(1), 
	#content .spNav li:nth-child(2) {
		border-bottom: 1px dotted #fff;
	}
	#content .spNav li a {
		display: block;
	}
	#content .spNav li.enable a {
		background-color: #e3d052;
	}
	#content h1 {
		width: 93.75%;
		min-width: auto;
		margin: 0 auto 20px;
		padding-bottom: 10px;
		font-size: 18px;
	}
	#content h1 .mark-reg {
		line-height: 0.7;
	}
	#content h1:after {
		height: 7px;
		background: url(../images/shiryomai/h1_border.png) left top repeat-x;
		background-size: auto 7px;
	}
	#content section {
		width: 93.75%;
		min-width: auto;
		line-height: 17.5px;
		font-size: 11px;
	}
	#content section h3 {
		margin-bottom: 17.5px;
		font-size: 13px;
	}
	#content section p + p {
		margin-top: 17.5px;
	}
	
	#toTop {
		right: -40px;
		bottom: 78.5px;
		width: 40px;
	}

	/* ##############################################################
	#    #footer
	############################################################## */
	#footer {
		min-width: auto;
		/*height: 78.5px;*/
		padding: 25px 0;
	}
	#footer nav {
		position: static;
		padding: 25px 0;
		text-align: center;
	}
	#footer nav li {
		line-height: 9px;
		font-size: 9px;
	}
	#footer .copy {
		position: static;
		line-height: 8px;
		font-size: 8px;
		text-align: center;
	}
	
	/* ##############################################################
	#
	#    layout
	#    
	############################################################## */
	/* ##############################################################
	#    .top
	############################################################## */
	#content.top {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: url(../images/shiryomai/mv.jpg) center center no-repeat;
		background-size: cover;
	}
	#content.top h1 {
		position: static;
		width: 100%;
		margin: 0 auto;
		padding-top: 4%;
	}
	#content.top .spNav {
		position: absolute;
		left: 0;
		bottom: 78px;
		margin: 0;
	}

	/* ##############################################################
	#    .about
	############################################################## */
	#content.about .image {
		margin-top: 17.5px;
	}
	#content.about .image .table {
		float: none;
		width: 100%;
	}
	#content.about .image .table .small {
		margin-bottom: 6px;
		line-height: 10px;
		font-size: 10px;
	}
	#content.about .image .award {
		float: none;
		width: 100%;
		margin: 20px 0 0;
		padding: 30px 0;
	}
	#content.about .image .award .title {
		margin-bottom: 25px;
		font-size: 11px;
	}
	#content.about .image .award .title span {
		font-size: 17px;
	}
	#content.about .image .award .badge {
		width: 33.59%;
		margin: 0 auto 25px;
	}
	#content.about .image .award .detail {
		padding: 0 25px;
		line-height: 25px;
		font-size: 13px;
	}
	#content.about .project * {
		display: block;
	}
	#content.about .project tr:nth-child(n+2) td,
	#content.about .project td:nth-child(odd),
	#content.about .project td:nth-child(even) {
		padding: 0;
	}
	#content.about .project td {
		margin-top: 17.5px;
	}
	#content.about .project td h4 {
		margin-bottom: 6px;
	}

	/* ##############################################################
	#    .cycle
	############################################################## */
	#content.cycle .col .left,
	#content.cycle .col .right {
		float: none;
		width: 100%;
	}
	#content.cycle .col .right {
		margin-top: 17.5px;
	}
	#content.cycle .picture {
		width: 100%;
		margin: 17.5px auto 0;
	}

	/* ##############################################################
	#    .raise
	############################################################## */
	#content.raise .col.half + .half {
		margin-top: 0;
	}
	#content.raise .col.half2 {
		margin-top: 0;
	}
	#content.raise .col.half div,
	#content.raise .col.half2 div,
	#content.raise .col.quarter div {
		margin-top: 17.5px;
	}
	#content.raise .col.half .left,
	#content.raise .col.half .right,
	#content.raise .col.half2 .left,
	#content.raise .col.half2 .right,
	#content.raise .col.quarter .left,
	#content.raise .col.quarter .right {
		float: none;
		width: 100%;
		line-height: 16px;
		font-size: 10px;
	}
	#content.raise .picture {
		width: 100%;
		margin: 17.5px auto 0;
	}

	.mark-reg{
		line-height: 0.8;
		display: inline!important;
	}
	h3 .mark-reg{
		line-height: 0.5;
	}
}









