

/*----------------------------------------------------------------------------******************************************************************************PC******************************************************************************----------------------------------------------------------------------------*/

@media screen and (min-width: 769px) {

/*----------------------------------------------------------------------------

******************************************************************************

Layout

******************************************************************************

----------------------------------------------------------------------------*/

/* ==== Base === */

body {

}

.layout {

	max-width: 960px;

	margin: 0 auto;

	overflow: hidden;

}

/* ==== Backgraund === */

#wrap {

	background: url(../images/common/wrap_bg.jpg) top center;

	background-size: auto;

	background-attachment: fixed;

	box-shadow: inset 0 -8px 8px rgba(0,0,0,0.40);

	height: 300px;

}

/* ==== Header === */

#hd {

	height: 100px;

	position: relative;

}

/* ==== Navigation === */

#nav {

	position: absolute;

	right: 0;

	bottom: 40px;

}

#nav ul {

}

#nav li {

	float: left;

	margin-left: 5px;

}

#nav li a {

	padding: 6px 8px;

	color: #fff;

	text-decoration: none;

	display: block;

	text-align: center;

	font-size: 16px;

	font-weight: normal;

	text-shadow : 1px 1px 1px rgba(0,0,0,0.9);

	background: rgba(255,255,255,0.20);

	border: 1px solid #fff;

	-webkit-transition: All 0.5s ease;

	-moz-transition: All 0.5s ease;

	-o-transition: All 0.5s ease;

	-ms-transition: All 0.5s ease;

	transition: All 0.5s ease;

	border-radius: 0px;

}

#nav li a:hover {

	color: #bb1111;

	background: #fff;

	border: 1px solid #fff;

	border-radius: 20px;

	text-shadow : 1px 1px 1px rgba(255,255,255,0.8);

	box-shadow: inset 0 0 6px rgba(0,0,0,0.80);

}

.current {

	color: #bb1111!important;

	background: #fff!important;

	border: 1px solid #fff!important;

	border-radius: 20px!important;

	text-shadow : 1px 1px 1px rgba(255,255,255,0.8)!important;

	box-shadow: inset 0 0 6px rgba(0,0,0,0.80)!important;

}

#menu {

	display: none;

}

/* ==== Content === */

#con_bg {

	background: url(../images/common/con_bg.jpg) repeat-x top center;

}

#con {

}

#sidenav {

	width: 23%;

	max-width: 220px;

	float: left;

	margin-top: 20px;

}

#sidenav ul {

	padding: 0px;

}

#sidenav li {

}

#sidenav li a {

	width: 100%;

	box-sizing: border-box;

	height: auto;

	padding: 12px 5px 5px 23px;

	display: block;

	text-decoration: none;

	background: url(../images/common/sidenav_icon.png) no-repeat 6px 16px;

	font-size: 14px;

	color: #333333;

	border-bottom: dotted 1px #CCC;

}

#main {

	width: 75%;

	max-width: 720px;

	float: right;

	margin-top: 20px;

}


/* ol,ul */

#main ol, #main ul {

	padding: 5px 0px 5px 25px;

}

#main ul {

	list-style-type: disc;

}

#main ol li, #main ul li {

	padding: 5px 0px;

}

/* table */

#main table {

	margin: 10px 0px;

}

#main table th, #main table td {

	padding: 5px;

}

/* img */

#main img {

	max-width: 100%

}

#main a img {

	display: inline-block;

	-webkit-transition-duration: 0.3s;

	transition-duration: 0.3s;

	-webkit-transition-property: transform;

	transition-property: transform;

	-webkit-transform: translateZ(0);

	transform: translateZ(0);

	box-shadow: 0 0 1px rgba(0, 0, 0, 0);

}

#main a img:hover, .shrink:focus, .shrink:active {

	-webkit-transform: scale(0.9);

	transform: scale(0.9);

}

/* ==== Footer === */

#ft {

	margin-top: 20px;

	padding-top: 35px;

	padding-bottom: 35px;

	text-align: center;

	color: #fff;

	background: #bb1111;

}

/*----------------------------------------------------------------------------

******************************************************************************

Head

******************************************************************************

----------------------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {

}

h1 {

	position: absolute;

	top: 25px;

	left: 0px;

	line-height: 1.0em;
	

}

h1 a {

	color: #fff!important;

	text-decoration: none;

	text-shadow: 2px 2px 2px rgba(0,0,0,0.80);
	
		font-size: 1.2em

}

h1 span {

	display: block;

	font-size: 0.65em;

}

h2 {

	color: #bb1111;

	border-bottom: 3px double #bb1111;

	font-size: 34px;

	font-weight: normal;

	height: 80px;

	padding: 0.9em 0 0.0em 0.5em;

}

#sidenav h2 {

	color: #bb1111;

	border:none;

	border-bottom: 1px solid #bb1111;

	background: none;

	text-align: left;

	font-size: 16px;

	font-weight: bold;

	padding: 8px;

	height: 30px;

}

h3 {

	margin: 0.8em 0 1.2em 0;

	font-size: 1.3em;

	font-weight: bold;

	color: #fff;

	height: 40px;

	padding: 0.65em 0 0.0em 1.5em;

	background: url(../images/common/h3_bg.png) left center no-repeat;

}

h4 {

	font-size: 1.2em;

	font-weight: normal;

	padding: 0.0em 0 0.0em 0.4em;

	border-left: 5px double #bb1111;

	margin: 0.6em 0 0.4em 0;

}

h1.img, h2.img, h3.img, h4.img, h5.img, h6.img {

	margin: 0;

	padding: 0;

	background: none;

	border: none;

}

/*----------------------------------------------------------------------------

******************************************************************************

Original

******************************************************************************

----------------------------------------------------------------------------*/

/* ==== Index === */

#i_img {

}

#i_img img {

	width: 100%;

}

#i_main {

	width: 75%;

	max-width: 720px;

	float: left;

	margin-top: 20px;

}

#i_news {

	height: 300px;

	overflow: auto;

	border: none;

}

#i_news table {

}

#i_news table td {

	vertical-align: top;

	font-size: 1.0em;

	padding: 10px;

}

#i_news table tr {

	border-bottom: 1px dotted #CCC;

}

#i_news table td.date {

	width: 140px;

	background: url(../images/common/news_icon.gif) 4px 14px no-repeat;

	padding-left: 20px;

}

#i_bnr {

	margin-top: 20px;

	width: 23%;

	max-width: 220px;

	float: right;

	background: #bb1111;

}

#i_bnr ul {

}

#i_bnr li {

	float: left;

	border-bottom: 1px solid #fff;

	width: 100%;

}

#i_bnr li a {

	display: block;

	width: 100%;

	text-decoration: none;

	color: #fff;

	padding: 15px 0 15px 30px;

	border: 1px solid #bb1111;

	background: url(../images/common/bnr_bg_hover.png) 8px center no-repeat;

	-webkit-transition: All 0.5s ease;

	-moz-transition: All 0.5s ease;

	-o-transition: All 0.5s ease;

	-ms-transition: All 0.5s ease;

	transition: All 0.5s ease;

}

#i_bnr li a:hover {

	color: #000;

	background: url(../images/common/bnr_bg.png) 8px center no-repeat #fff;

}

/*----pagetop----*/

#page-top {

	position: fixed;

	bottom: 10px;

	right: 20px;

	font-size: 77%;

}

#page-top a {

	background: #bb1111;

	border: #fff 1px solid;

	text-decoration: none;

	color: #fff;

	width: 120px;

	padding: 20px 0;

	text-align: center;

	display: block;

	border-radius: 5px;

}

#page-top a:hover {

	text-decoration: none;

}

}



/*----------------------------------------------------------------------------******************************************************************************スマートフォン******************************************************************************----------------------------------------------------------------------------*/

@media screen and (max-width:769px) {

/*----------------------------------------------------------------------------

******************************************************************************

Layout

******************************************************************************

----------------------------------------------------------------------------*/

/* ==== Base === */

body {

	background: url(../images/body_bg.jpg);

}

.layout {

	width: 100%;

	overflow: hidden;

}

/* ==== Backgraund === */

#wrap {

	background: #fff;

	border-top: 3px solid #bb1111;

}

/* ==== Header === */

#hd {

	height: 100px;

	position: relative;

	background: url(../images/hd_bg.jpg) no-repeat;

}

/* ==== Navigation === */

#nav {

	position: fixed;

	top: 0px;

	right: -200px;

	height: 100%;

	z-index: 100;

	width: 200px;

	overflow-x: none;

	overflow-y: auto;

	font-size: 16px;

	background: url(../images/common/nav_bg.png) top center #333;

	color: #fff;

	-webkit-box-shadow: inset 0 0 5px 5px #222;

	-moz-box-shadow: inset 0 0 5px 5px #222;

	box-shadow: inset 0 0 5px 5px #222;

}

#nav ul {

	display: block;

	margin: 0 0 15px;

	padding: 0;

	border-top: 1px solid #1a1a1a;

	border-bottom: 1px solid #4d4d4d

}

#nav ul li {

	display: block;

	margin: 0;

	line-height: 48px;

	border-top: 1px solid #4d4d4d;

	border-bottom: 1px solid #1a1a1a

}

#nav ul li img {

	max-width: 100%;

	margin: 0 auto;

	padding: 10px 0;

}

#nav ul li:hover {

	border-top: none;

	line-height: 49px

}

#nav ul li:hover>a {

	-webkit-box-shadow: inset 0 0 15px 3px #222;

	-moz-box-shadow: inset 0 0 15px 3px #222;

	box-shadow: inset 0 0 15px 3px #222

}

#nav ul li a {

	padding: 0 15px;

	display: block;

	text-decoration: none;

	color: #fff;

	text-shadow: 2px 2px 0 rgba(0,0,0,1.0);

}

#nav ul li ul {

	border-bottom: none;

	margin: 0

}

#nav ul li ul li {

	line-height: 40px;

	font-size: 13px

}

#nav ul li ul li:last-child {

	border-bottom: none

}

#menu {

	cursor: pointer;

	position: fixed;

	top: 10px;

	right: 10px;

	z-index: 1000;

}

/* ==== Content === */

#con_bg {

}

#con {

}

#sidenav {

	width: 220px;

	float: left;

	margin-top: 20px;

	border: 1px solid #bb1111;

	display: none;

}

#main {

	width: 100%;

	margin-top: 20px;

}

/* ol,ul */

#main ol, #main ul {

	padding: 5px 0px 5px 25px;

}

#main ul {

	list-style-type: disc;

}

#main ol li, #main ul li {

	padding: 5px 0px;

}

/* table */

#main table {

	margin: 10px 0px;

}

#main table th, #main table td {

	padding: 5px;

}

/* img */

#main img {

	max-width: 100%;

	display: block;

	margin: 5px auto;

	float: none;

}

#main a img {

	display: inline-block;

	-webkit-transition-duration: 0.3s;

	transition-duration: 0.3s;

	-webkit-transition-property: transform;

	transition-property: transform;

	-webkit-transform: translateZ(0);

	transform: translateZ(0);

	box-shadow: 0 0 1px rgba(0, 0, 0, 0);

}

#main a img:hover, .shrink:focus, .shrink:active {

	-webkit-transform: scale(0.9);

	transform: scale(0.9);

}

/* ==== Footer === */

#ft {

	margin-top: 0px;

	padding-top: 35px;

	padding-bottom: 35px;

	text-align: center;

	color: #fff;

	background: #bb1111;

}

/*----------------------------------------------------------------------------

******************************************************************************

Head

******************************************************************************

----------------------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {

}

h1 {

	position: absolute;

	top: 30px;

	left: 10px;

	line-height: 1.0em;

}

h1 a {

	color: #000!important;

	text-decoration: none;

}

h1 span {

	display: block;

	font-size: 0.65em;

}

h2 {

	color: #bb1111;

	border: 1px solid #bb1111;

	font-size: 34px;

	font-weight: normal;

	height: 80px;

	padding: 0.9em 0 0.0em 0.5em;

	background: url(../images/i_img.jpg);

}

#sidenav h2 {

	color: #fff;

	border: 1px solid #bb1111;

	text-align: center;

	font-size: 16px;

	font-weight: bold;

	padding: 10px;

	height: 50px;

	text-shadow : 1px 2px 0px rgba(0,0,0,1.0), 2px 2px 2px rgba(255,255,255,0.5);

	background: url(../images/nav_bag.png) top center #bb1111;

}

h3 {

	margin: 0.8em 0 0.4em 0;

	font-size: 1.3em;

	font-weight: bold;

	color: #fff;

	height: 40px;

	padding: 0.65em 0 0.0em 1.5em;

	background: url(../images/common/h3_bg.png) left center no-repeat;

}

h4 {

	font-size: 1.2em;

	font-weight: normal;

	padding: 0.0em 0 0.0em 0.4em;

	border-left: 5px double #bb1111;

	margin: 0.6em 0 0.4em 0;

}

h1.img, h2.img, h3.img, h4.img, h5.img, h6.img {

	margin: 0;

	padding: 0;

	background: none;

	border: none;

}

/*----------------------------------------------------------------------------

******************************************************************************

Original

******************************************************************************

----------------------------------------------------------------------------*/

/* ==== Index === */

#i_img {

}

#i_img img {

	width: 100%;

}

#i_main {

	width: 100%;

	margin-top: 20px;

}

#i_news {

	height: 300px;

	overflow: auto;

	border: none;

}

#i_news table {

}

#i_news table td {

	vertical-align: top;

	font-size: 0.9em;

	padding: 10px;

	display: block;

}

#i_news table tr {

	border-bottom: 1px dotted #CCC;

}

#i_news table td.date {

	background: url(../images/common/news_icon.gif) 4px 14px no-repeat;

	padding-left: 20px;

}

#i_bnr {

	margin-top: 20px;

	width: 100%;

}

#i_bnr ul {

}

#i_bnr li {

	width: 100%;

	margin-bottom: 4px;

}

#i_bnr li a {

	display: block;

	width: 100%;

	text-decoration: none;

	color: #000;

	padding: 15px 0 15px 30px;

	border: 1px solid #bb1111;

	border-radius: 0px;

	background: url(../images/common/bnr_bg.png) 8px center no-repeat;

	-webkit-transition: All 0.5s ease;

	-moz-transition: All 0.5s ease;

	-o-transition: All 0.5s ease;

	-ms-transition: All 0.5s ease;

	transition: All 0.5s ease;

}

#i_bnr li a:hover {

	color: #fff;

	background: url(../images/common/bnr_bg_hover.png) 8px center no-repeat #bb1111;

}

/*----pagetop----*/

#page-top {

	width: 100%;

}

#page-top a {

	background: #666;

	border: none;

	text-decoration: none;

	color: #fff;

	width: 100%;

	padding: 20px 0;

	text-align: center;

	display: block;

}

#page-top a:hover {

	text-decoration: none;

}

}