@charset "utf-8";

/* 共通
------------------------------------------------------------*/
*{
	margin:0;
	padding:0;
}
body {
	color: #000;
	font-size:18px;
	line-height:155%;
	letter-spacing:1px;
	-webkit-text-size-adjust: 100%;
	overflow-y: scroll;
}

a		{ color:#333; text-decoration:none; }
a:hover { color:#ee0b1e; }

.DPBK { display:block; }

p {
	display:block;
	margin:0 10px 30px;
}
p.cap {
	font-size:85%;
	letter-spacing:0;
	margin:0 20px 10px;
	line-height:145%;
}
.STxt {
	font-size:85%;
	line-height:135%;
	letter-spacing:0;
}
.LTxt {
	font-size:135% !important;
}
.aligncenter { text-align:center !important; }
.alignright { text-align:right !important; }

.color-yel { color:#f9ff41; }

img { max-width:100%; }
.imgright {
	display:block;
	float:right;
	margin:0 0 15px 60px;
}
.imgleft {
	display:block;
	float:left;
	margin:0 60px 15px 0;
}
.imgcenter {
	display:block;
	margin:10px auto;
}
.imgBorder { border:3px solid #000; }
.BgBlack .imgBorder { border:3px solid #FFF; }

.margin-b10 { margin-bottom:10px !important; }
.margin-b30 { margin-bottom:30px !important; }
.margin-b50 { margin-bottom:50px !important; }
.margin-b80 { margin-bottom:80px !important; }

.margin-t30 { margin-top:30px !important; }
.margin-t70 { margin-top:70px !important; }
.margin-t100 { margin-top:100px !important; }

/* アニメーションボタン */
a.AnimeBtn {
	display: inline-block;
	text-indent:0 !important;
	padding:15px 20px 13px;
	margin:0 0 10px; 
	line-height:100%;
	text-align: center;
	text-decoration: none;
	outline: none;
	position: relative;
	z-index: 2;
	background-color: #ee0b1e;
	border: 2px solid #ee0b1e;
	color: #FFF;
	font-size:100%;
	font-weight:bold;
	border-radius: 5px;
	webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
a.AnimeBtn::before,
a.AnimeBtn::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
	top: 0;
	width: 50%;
	height: 100%;
	background-color: #ee0b1e;
}
a.AnimeBtn,
a.AnimeBtn::before,
a.AnimeBtn::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
a.AnimeBtn:hover {
	background-color: #fff;
	border-color: #000;
	color: #000 !important;
}
a.AnimeBtn::before {
	right: 0;
}
a.AnimeBtn::after {
	left: 0;
}
a.AnimeBtn:hover::before,
a.AnimeBtn:hover::after {
	width: 0;
	background-color: #333;
}
/* 左から右へアニメーション */
.AnimeLink{
	position: relative;
	display: inline-block;
}
a:hover.AnimeLink{ color:#000; }
.AnimeLink:before{
	position: absolute;
	top: 22px;
	left: 0;
	content: "";
	display: inline-block;
	width: 0;
	height: 5px;
	background: #000;
	transition: 0.5s;
}
.AnimeLink:hover:before{ width: 100%; }

/* レイアウト
------------------------------------------------------------*/
/* 画像ボックス */
dl.PhotoBox {
	display:block;
}
dl.PhotoBox dt {
	width:55%;
	float:left;
	clear:both;
}
dl.PhotoBox dd {
	width:35%;
	float:right;
	text-align:left;
}
dl.PhotoBox dt img, dl.PhotoBox dd img {
	display:block;
	margin:0 auto 5px;
}
dl.PhotoBox dd.Full {
	width:100%;
	float:none;
	clear:both;
	padding:0;
}
/* 左画像 */
dl.PhotoBox dt.LeftPhotoBox {
	width:45%;
}
dl.PhotoBox dd.LeftPhotoBox {
	width:50%;
}
/* 右画像 */
dl.PhotoBox dt.RightPhotoBox {
	width:45%;
	float:right;
}
dl.PhotoBox dd.RightPhotoBox {
	width:50%;
	float:left;
}

/* 上画像ボックス */
.UpperPhotoBox {
	display:inline-block;
	vertical-align: top;
	width:46%;
	min-height:600px;
	float:left;
	margin:0 2%;
}
.UpperPhotoBox img {
	display:block;
	margin:0 auto 10px;
	height:300px;
	width:auto;
}
.BoxHeight {
	min-height:500px;
}

.UpperPhotoBox p.Number {
	margin:0 0 20px;
	padding:7px 0 0 40px;
}
.UpperPhotoBox p.Number span {
  color: #fff;
  background-color:#000;
  margin-left:-40px;
  margin-right:5px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  display: inline-block;
  border-radius: 50%;
}
/* 囲み */
.BorderKakomi {
	display:block;
	margin:0 0 30px;
	padding:20px 30px;
	border:10px solid #000;
}



/* アコーディオン
------------------------------------------------------------*/
.accbox {
    margin: 20px 0;
    padding: 0;
    max-width: 100%;
}
.accbox label {
    display: block;
    cursor :pointer;
    transition: all 0.5s;
	padding:15px 20px 13px;
	margin:0 25% 10px;
	line-height:100%;
	text-align: center;
	background-color: #ee0b1e;
	color: #FFF;
	font-weight:bold;
	border-radius: 5px;
	webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
.accbox label:hover {
	background-color: #000;
}
.accbox input {
    display: none;
}
.accbox .accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}
.cssacc:checked + .accshow {
    height: auto;
    padding: 20px 40px;
    opacity: 1;
	border:10px solid #eee;
}

/* 全体
------------------------------------------------------------*/
#wrapper{
	display:block;
	width:100%;
	height:100%;
	min-height:100%;
	margin:0;
	background:#FFF;
	position: relative;
	border-top:10px solid #000;
}
.Content {
	display:block;
}
.inner {
	width:1000px;
	margin:0 auto;
	padding:60px 0 40px;
}
body > div#wrapper { height: auto; }
.BgBlack { background:#000; color:#FFF; }
.BgGray { background:#eee;}
.BgBorder { border-top:10px solid #000; border-bottom:10px solid #000; }


/* タイトル
------------------------------------------------------------*/
h1 img {
	display:block;
	margin:30px auto;
}
h2 {
	display:block;
	margin:0 0 30px;
	padding:20px 10px;
	line-height:100%;
	text-align:center;
	font-size:165%;
	font-weight:bold;
	letter-spacing:1px;
	border:10px solid #000;
}
.BgBlack h2 {
	border:10px solid #FFF;
	color:#FFF;
}
h3 {
	display:block;
	background:#000;
	margin:30px 0;
	padding:15px 10px;
	line-height:100%;
	color:#FFF;
	text-align:center;
	font-size:115%;
	font-weight:bold;
	letter-spacing:3px;
}
h4 {
	display:block;
	margin:0 0 20px;
	padding:20px 10px;
	line-height:100%;
	text-align:center;
	font-size:195%;
	font-weight:bold;
	letter-spacing:1px;
}
.BgBlack h4 {
	color:#FFF;
}


/* リスト
------------------------------------------------------------*/
.MaruNumber {
	display:block;
	margin:10px 20px 30px;
}
.MaruNumber ol {
	counter-reset:list;
	list-style-type:none;
	padding:0;
}
.MaruNumber ol li{
	position:relative;
	padding: 0 0 0 30px;
	margin: 0 0 30px 0;
	font-size:16px;
	border: dashed 1px transparent;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;
}
.MaruNumber ol li:before{
	counter-increment: list;
	content: counter(list);
	position: absolute;
	left: -10px;
	width: 30px;
	height: 30px;
	text-align: center;
	color: #fff;
	line-height:30px;
	background: #00a0e9;
	border-radius: 50%;
	top:10px;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
/* ●リスト */
ol.LDot{
	counter-reset:list;
	list-style-type:none;
	padding:0 15px;
}
ol.LDot li{
	position:relative;
	font-size:95%;
	line-height:135%;
	letter-spacing:0;
	padding: 0 0 0 20px;
	margin: 10px 0 20px;
}
ol.LDot li:before{
	counter-increment: list;
	content: "";
	display: block;
	position: absolute;
	left: 0px;
	top:10px;
	height: 10px;
	width: 10px;
	border-radius: 50%;
	background: #000;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
 	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

/* ヘッダー
------------------------------------------------------------*/
#header .inner {
	padding:20px 0 30px !important;
}

#header, #header dl {
	display:block;
}
#header dl dt {
	float:left;
	width:85%;
	text-align:center;
	padding-left:100px;
}
#header dl dd {
	float:right;
	width:15%;
	text-align:center;
	padding-top:100px;
}

/* フッター
------------------------------------------------------------*/
#footer{
	width:100%;
	display:block;
	clear:both;
	margin:0;
	padding:20px 0 80px;
    position:absolute;
}

#footer ul {
    margin: 0 auto 20px;
    padding: 0;
	font-size:85%;
	text-align:center;
}
#footer ul li{
    padding: 0 7px 10px;
	display: inline-block;
}
#footer .address {
	display:block;
	clear:both;
	font-size:85%;
	margin:20px auto;
	text-align:center;
}

/* ページトップへ */
#pagetop {
    position: fixed;
    bottom: 0;
    right: 10px;
	z-index:2;
}
#pagetop a {
    width: 100px;
    height: 100px;
    display: block;
    text-align: center;
}

/* モーダルウィンドウ
------------------------------------------------------------*/
@keyframes modalwindow_body_in {
  0% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes modalwindow_body_out {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-20px);
  }
}
.modalwindow {
  /* オーバーレイ＆スクロール領域になるレイヤー */
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  overflow: auto;
  z-index: 101;
  width: 100%;
  /* スマホでスワイプして指を離すまでの間下部の背景が無くなるため余分に指定 */
  height: calc(100% + 100px);
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 100px solid transparent;
  cursor: pointer;
  opacity: 1;
}
.modalwindow.no_overlay_close {
  cursor: default;
}
.modalwindow.lock .close_modal {
  background: #ccc;
}
.modalwindow .body {
  /* ウィンドウ自体 アニメーションなどで装飾 */
  position: relative;
  left: 50%;
  top: 0;
  width: 600px;
  margin-left: -300px;
  margin-top: 40px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 4px;
  cursor: default;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  animation: 200ms modalwindow_body_out;
}
.modalwindow .body .modal_content {
  padding: 20px;
}
.modalwindow .body > footer {
  padding: 10px;
  background: #fcfcfc;
  border-radius: 0 0 4px 4px;
  border-top: 1px solid #e5e5e5;
}
.modalwindow.is_visible .body {
  transform: translateY(0px);
  animation: 400ms modalwindow_body_in;
}
.modalwindow_header_close {
  /* 右上に表示する×ボタン 面倒なので動的に追加してます */
  position: absolute;
  right: 0;
  top: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.modalwindow_header_close:before {
  content: "\D7";
  font-size: 24px;
  font-family: serif;
  color: #ccc;
}
@media screen and (max-width: 900px) {
  .modalwindow .body {
    position: relative;
    width: calc(100% - 20px);
    margin: 10px;
    left: 0;
  }
}


@media only screen and (max-width:899px){
	.inner { width:98%;  }
	.inner img.imgright, .inner img.imgleft {
		float:none;
		margin:0 auto 15px;
	}
	.UpperPhotoBox {
		display:block;
		width:100%;
		min-height:300px;
		float:none;
		margin-bottom:50px;
	}
}
@media only screen and (max-width:640px){
	dl dt, dl dd {
		float:none !important;
		width:100% !important;
		padding:0 20px !important;
	}
	.LeftPhotoBox, .RightPhotoBox {
		margin-bottom:20px;
	}
	.LeftPhotoBox p{
		margin:5px 0;
	}
	h3 {
		padding:15px 5px;
		font-size:105%;
	}
	h4 { font-size:165%; }
	.BorderKakomi { padding:10px 15px 25px; }
	.margin-t70, .margin-t100 { margin-top:0 !important; }

}
@media only screen and (max-width:480px){
}
@media only screen and (max-width:375px){
}
