/*============================================================================

		また来たくなる理由

============================================================================*/

/*html, .inner, #wrap{height: 100%;}*/
#headerWrapper,
#footer {
    background: url(../images/bg.jpg);
}
#breadclumb {
    margin-top: 15px;
}
#breadclumb ul li,
#breadclumb ul li a{
    color: #fff;
}
a.swap img.hidden{display: none;}
a.swap:hover img{display: none;}
a.swap:hover img.hidden{display: inline;}

#main_contents{
	position: relative;
	padding: 0;
	height: 100%;
}

#footer{margin: 0;}

.section{
	float: none;
	clear: both;
	margin: 0;
	padding: 50px 40px 50px;
	height: 100%;
	overflow: auto;
	background: url(./images/reason/bg.png) repeat;
	text-align: center;
}

#bg0, #bg1, #bg2, #bg3, #bg4, #bg5, #bg6, #bg7 {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	-ms-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
}

#bg0{background-image: url(./images/reason/bg0.jpg?v=2024);}
#bg1{background-image: url(./images/reason/bg1.jpg?v=2024);}
#bg2{background-image: url(./images/reason/bg2.jpg?v=2024);}
#bg3{background-image: url(./images/reason/bg3.jpg?v=2024);}
#bg4{background-image: url(./images/reason/bg4.jpg?v=2024);}
#bg5{background-image: url(./images/reason/bg5.jpg?v=2024);}
#bg6{background-image: url(./images/reason/bg6.jpg?v=2024);}
#bg7{background-image: url(./images/reason/bg7.jpg?v=2024);}

#sec0{z-index: 10;}
#sec1{z-index: 9;}
#sec2{z-index: 8;}
#sec3{z-index: 7;}
#sec4{z-index: 6;}
#sec5{z-index: 5;}
#sec6{z-index: 4;}
#sec7{z-index: 3; padding-bottom: 300px;}

h2{
	position: relative;
	margin: 0 0 60px;
	padding: 0;
	border: 0 none;
	text-align: center;
    border-bottom: none !important;
}
h3{
	float: left;
	margin-right: 50px;
	border: 0 none;
	background: none transparent;
}
h4 {
	text-align: left;
	border-bottom: 1px dashed #999;
    margin-bottom: .5em;
}
ol{
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
ol li{
	display: inline-block;
	margin:10px 10px;
}
.box {
	float: left;
	width: 740px;
	
}
dl{
	text-align: left;
}
dt{
	margin: 0 0 5px;
	padding-left: 30px;
	background: url(./images/reason/bullet.png) no-repeat left 5px;
	font-size: 130%;
	letter-spacing: 1px;
}
dd{
	margin: 0 0 20px;
	font-size: 100%;
}

div#pointer{
	display: none;
	/*bottom: 250px;*/
	/*width: 100%;
	height: 13px;*/
	text-align: center;
	z-index: 500;
	position: fixed;
	right: 50px; top: 50%;
	margin-top: -160px;
}
#pointer ul{
	display: block;
	position: relative;
	top: 0;
	left: 0;
/*position: fixed;
	left: auto; bottom: 0;
	margin: 60px auto 0;*/
	margin: 0;
	padding: 20px 10px;
	width: 13px;
	height: auto;
	/*width: 280px;
	height: 13px;*/
	background: #fff;
	opacity: 0.8;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	-ms-border-radius: 12px;
	-o-border-radius: 12px;
	border-radius: 12px;
}
/*.section .pointer{margin-left: 310px;}*/
#pointer li{
	/*float: left;*/
	display: block;
	width: 13px;
	height: 38px;
	/*width: 38px;
	height: 13px;*/
	background: url(./images/pointer_off.png) no-repeat center center;
	text-align: right;
}
#pointer li.selected{
	background-image: url(./images/pointer_on.png);
}
#pointer li:first-child{
	background-image: url(./images/pointer_first_off.png);
	height: 13px;
}
#pointer li:first-child.selected{
	background-image: url(./images/pointer_first_on.png);
}
#pointer li a{
	display: inline-block;
	position: relative;
	top: 25px;
	width: 13px;
	height: 13px;
	font-size: 13px;
}
#pointer li:first-child a{top: 0;}

@media screen and (max-width : 767px) {
    h2{
        /*position: relative;
        top: 50px;*/
        margin: 0px 0 40px;
    }
    h3{
        float: left;
        width: 15%;
        margin-right:4%;
		box-sizing: border-box;
    }
    h3 img {
        max-width: 100%;
    }
    ol li {
        display: inline-block;
        margin:5px 10px;
        width: 40%;
    }
    .section {
        padding: 40px 20px 40px;
        height: 100%;
    }
    .hist_btn {
        padding: 7px 0;
        width: 100%;
        border: double #fff 4px;
        font-size: 16px;
        font-weight: 400;
        color: #fff;
    }
    div#pointer{
        display: none !important;
    }
    dl{
        float: none;
        width: auto;
        font-size: 90%;
        line-height: 1.8;
        text-align: left;
    }
    dt{
        margin: 0 0 5px;
        padding-left: 30px;
        font-size: 130%;
    }
    dd{
        margin: 0 0 20px;
        font-size: 100%;
    }
    .box {
        float: left;
        width: 80%;

    }
}