html {
    position: relative;
    min-width: 1000px;
    box-sizing: border-box;
    color: #444;
}
.bodyinner {
    overflow: hidden;
}
.inactive {
    display: none;
}

@media screen and (max-width: 1049px) {
html {
        min-width: 540px;
    }
}

body {
    padding-top: 60px;
}

.wrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}

#kari img {
    display: block;
    width: 90%;
    max-width: 900px;
    margin: 100px auto;
}

.clear {
    clear: both;
}

b {
    font-weight: bold;
}
u {
    text-decoration: underline;
}

/* タブ切り替え */
.page_tab {
    display: block;
    width: 752px;
    height: 69px;
    font-size: 1.1em;
    color: #6D0000;
    border-top: solid 2px #6D0000;
    border-bottom: solid 2px #6D0000;
    border-left: solid 2px #6D0000;
    margin: 80px auto;
    line-height: 65px;
    text-align: center;
    cursor: pointer;
    transition: .3s;
}
.page_tab li {
    display: block;
    width: 250px;
    height: 100%;
    border-right: solid 2px #6D0000;
    float: left;
}

.page_tab .active {
    background: #6d0000;
    color: white;
    transition: .3s;
}
.active {
    display: block !important;
}

@media screen and (max-width: 1049px) {
.page_tab {
    width: 482px;
    height: 50px;
    font-size: 0.9em;
    border-top: solid 2px #6D0000;
    border-bottom: solid 2px #6D0000;
    border-left: solid 2px #6D0000;
    margin: 80px auto;
    line-height: 46px;
}
.page_tab li {
    width: 160px;
    border-right: solid 2px #6D0000;
}
}

/* 見出しタグ */
h2 {
    display: block;
    width: 100%;
    background: transparent;
    color: #333;
    font-size: 1.6em;
    border-left: solid 6px #6d0000;
    margin: 100px auto 20px;
    padding: 5px 15px 5px;
    text-align: left;
    letter-spacing: 0.12em;
}
h2 span {
    display: inline-block;
    color: #999;
    font-size: 0.8em;
    padding-left: 1.5em;
}

@media screen and (max-width: 1049px) {
    h2 {
        width: 95%;
        margin: 70px auto 20px;
    }
}

/* ボタン */
.enter_btn a,
.enter_btn input {
	display: block;
	width: 300px;
	text-align: center;
	background: #6d0000;
	font-size: 1.3em;
	color: white;
	margin: 30px auto 30px;
	padding: 20px 0;
	letter-spacing: 0.1em;
	border: solid 2px #6d0000;
	transition: .3s;
    cursor: pointer;
}
.enter_btn a:hover,
.enter_btn input:hover {
	background: white;
	color: #6d0000;
	text-decoration: none;
	transition: .3s;
}
.enter_btn a:link,
.enter_btn a:visited {
	text-decoration: none;
}

.hpbtn {
	display: block;
	width: 300px;
	text-align: center;
	font-size: 1.3em;
	color: #333;
	margin: 20px auto 20px;
	padding: 20px 0;
	letter-spacing: 0.1em;
	border: solid 2px #3d0000;
	transition: .3s;
    cursor: pointer;
}
.hpbtn:hover {
	background: #3d0000;
	color: white;
	text-decoration: none;
	transition: .3s;
}
.hpbtn:active {
	background: #8d0000;
    border: solid 2px #8d0000;
    transition: .1s;
}
.hpbtn:link,
.hpbtn:visited {
	text-decoration: none;
}

.hpnone {
    border: solid 2px #ccc;
    color: #ccc;
    cursor: default;
}
.hpnone:hover {
	background: transparent;
    border: solid 2px #ccc;
    color: #ccc;
}


/* 上部固定メニュー */
nav {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: block;
    width: 100%;
    height: 60px;
    background: #333;
}
.nav_c1 {
    position: fixed;
    top: -60px;
    width: 100%;
    opacity: 0;
    background: white;
}
.nav_c2 {
    position: fixed;
    top: 0;
    width: 100%;
    opacity: 0.9;
    transition: .8s;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.2);
    background: white;
}

nav h1 {
    display: block;
    height: 60px;
    padding-top: 10px;
    padding-left: 20px;
}
nav h1 img {
    display: block;
    height: 40px;
}
.menu_box {
    display: block;
    width: 100%;
    height: 50%;
}
.menu {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 800px;
    height: 60px;
}
.menu li {
    display: block;
    float: right;
    width: 160px;
    height: 100%;
    padding-top: 10px;
    transition: .3s;
    letter-spacing: 0.2em;
    text-align: center;
}
.menu li span {
    display: block;
    border-left: solid 1px #666;
    line-height: 40px;
}
.menu li:hover {
    background: #444;
    transition: .3s;
}
.menu a:link,
.menu a:visited {
    color: #bbb;
    text-decoration: none;
}

.nav_c1 .menu li span,
.nav_c2 .menu li span {
    border-left: solid 1px #ccc;
}
.nav_c1 .menu a:link,
.nav_c1 .menu a:visited,
.nav_c2 .menu a:link,
.nav_c2 .menu a:visited {
    color: #333;
}

.nav_c1 .menu li:hover,
.nav_c2 .menu li:hover {
    background: #eee;
}

@media screen and (max-width: 1049px) {
body {
    padding-top: 40px;
}
nav {
    height: 40px;
}
nav h1 {
    height: 40px;
    padding-top: 5px;
    padding-left: 10px;
}
nav h1 img {
    height: 30px;
}

.menu {
    width: 600px;
    height: 40px;
}
.menu_home {
    display: none !important;
}
.menu li {
    width: 85px;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    padding-top: 5px;
}
.menu li span {
    line-height: 30px;
}
}


/*** ページ内容 ***/
/* ページスライダー */
#slider {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center center;
}

#slider p {
    display: block;
    width: 400px;
    font-size: 2.5em;
    letter-spacing: 0.3em;
    color: white;
    border-top: solid 1px white;
    border-bottom: solid 1px white;
    padding: 40px 0;
    margin: 240px auto 0;
    text-shadow: 1px 1px 1px #888;
    text-align: center;
}

.wrapper {
    background: rgba(0,0,0,0.5);
}

@media screen and (max-width: 1049px) {
#slider {
    height: 0;
    padding-top: 50%;
}
#slider p {
    width: 300px;
    font-size: 2.0em;
    letter-spacing: 0.3em;
    padding: 20px 0;
    margin: 19% auto 0;
}
}


/* 説明文 */
#slogan {
    width: 100%;
    background: #2E2E2E;
    color: #eee;
    font-size: 2.5em;
    padding: 50px 10px;
    line-height: 1.8em;
    text-align: center;
}
#slogan span {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: auto;
    font-weight: bold;
}
#slogan p {
    display: block;
    width: 100%;
    max-width: 950px;
    margin: auto;
    padding-top: 30px;
}


/* 内容 */
.content {
    width: 100%;
    max-width: 900px;
    margin: auto;
    font-size: 1.2em;
    padding: 80px 0;
}






/* フッター */
footer {
    position: relative;
    display: block;
    width: 100%;
    height: 300px;
    background: #333; 
}
footer img {
    position: absolute;
    top: 70px;
    left: 80px;
    display: block;
    width: 150px;
}

.contact_btn_footer {
    position: absolute;
    top: 50px;
    right: 50px;
    display: none;
    width: 400px;
    font-size: 1.6em;
    padding: 30px;
    text-align: center;
    color: #ccc;
    border: solid 3px #ccc;
    border-radius: 100px;
    cursor: pointer;
    transition: .3s;
    text-decoration: none;
}
.contact_btn_footer:hover {
    color: #fff;
    border: solid 3px #fff;
    transition: .3s;
}
.contact_btn_footer:active {
    color: #888;
    border: solid 3px #888;
    transition: 0s;
}

#sitemap {
    display: block;
    width: 1000px;
    height: 100%;
    float: right;
}
.sitemap_inner {
    display: block;
    width: 25%;
    height: 100%;
    float: right;
    padding: 50px 0 0;
    color: #eee;
    line-height: 1.6em;
}
.sitemap_inner span {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 2.0em;
}
.sitemap_inner a:link,
.sitemap_inner a:visited {
    color: #eee;
    text-decoration: none;
}
.sitemap_inner a:hover {
    color: #d66;
}

#copy {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.8em;
    background: #444;
    color: #999;
    padding: 15px;
    text-align: center;
}
#copy a:link,
#copy a:visited {
    color: #999;
    text-decoration: none;
}
#copy a:hover {
    text-decoration: underline;
}


@media screen and (max-width: 1540px) {
    #sitemap {
        width: 750px;
        margin-right: 50px;
    }
}

@media screen and (max-width: 1049px) {
footer {
    height: 270px;
}
footer img {
    top: 60px;
    left: 30px;
    width: 120px;
}
#sitemap {
    width: 100%;
    margin: 0;
    padding: 0 30px 0 15%;
}
}