/* common */

html { scroll-behavior: smooth;}

body {
    font-size: 1.2rem;
    line-height: 1.8rem;
    position: relative;
    color: #000;
}
@media (max-width: 767px) {
    body {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

.font-min {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.font-goth {
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.font-kosugi {
    font-family: "Kosugi Maru", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a {
    color:#888;
}

img {
    width:auto;
    max-width:100%;
    height: auto;
}
img.fix {
    max-width:none;
}
.narrow {
    letter-spacing: -.05em;
}

#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ccc;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 1.5s ease-out;
}
#splash img {
    width:10%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
@media (max-width: 767px) {
    #splash img {
        width:30%;
    }
}
#content {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: opacity 1.5s ease-in;
}
.hidden {
    display: none !important;
}
.fade-out {
    opacity: 0 !important;
}



header {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height: 140px;
    z-index: 999;
    background:url("../images/common_img03.png") no-repeat center top;
    background-size: cover;
}
header .logo {
    margin: 1rem;
    padding: 0;
    width: 10em;
}
@media (max-width: 767px) {
    header .logo {
        width:75%;
    }
}
header nav.main_nav {
    float: right;
    text-align: right;
    background: #50150E;
    font-size: 80%;
    padding: .5rem 2rem;
    margin-top: -1rem;
    position: relative;
}
header nav.main_nav::before {
    content: url(../images/common_img01.png);
    position: absolute;
    top: -58px;
    right:2rem;
    text-align: right;
}
header nav.main_nav a {
    color:#fff;
}
header nav.main_nav a:hover {
    color:#999;
}
header nav.main_nav ul {
    margin: 0;
    padding: 0;
}
header nav.main_nav li {
    display: inline-block;
    padding: 0 1rem;
}


@media (max-width: 767px) {

}

footer {
    position: fixed;
    bottom:0;
    left:0;
    width:100%;
    height: 3rem;
    z-index: 999;
    padding: 1rem;
    color: #fff;
    text-align: right;
}

@media (max-width: 767px) {

}

/*** humberger menu ***/
.hmnav {
    position: fixed;
    top:0;
    right:0;
    z-index: 9990;
}


.drawer_hidden {
    display: none;
}
.drawer_open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 35px;
    top: 35px;
    z-index: 100;
    cursor: pointer;
}
/* icon design */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 5px;
    width: 40px;
    border-radius: 5px;
    background: #666;
    transition: 0.5s;
    position: absolute;
}
.drawer_open span:before {
    bottom: 14px;
}
.drawer_open span:after {
    top: 14px;
}
/* active */
#drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, .5);
}
#drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}
/* menu contents */
.nav_content {
    width: 80%;
    height: 100%;
    position: fixed;
    top: 0%;
    right: -80%;
    z-index: 99;
    background: rgb(255,255,255,.95);
    transition: .5s;
    text-align: left;
    padding:1em 3em 1em 1em;
}
.nav_content li {
    padding: 1rem;
    border-bottom: 1px dotted #ccc;
}
.nav_content li img.icon_sns{
    width:30px;
}
/* active */
#drawer_input:checked ~ .nav_content {
    right: 0%;
}

.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}
.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
}


/* 遅延対象のdivに、想定されるコンテンツ分の高さを確保 */
.content-placeholder {
  min-height: 400px; /* 例: 想定されるコンテンツの高さ */
  background-color: #f0f0f0; /* ロード中の仮の背景色 */
}


main {
    padding: 0;
    margin:0;
}
main section {
    position: relative;
    width: 100vw;
    height: 100vh;
}
main section .box {
    background: rgba(255, 255, 255, .7);
    position: absolute;
}
main section nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 50px;
    margin-left:-25px;
    text-align: center;
}
main section h2 {
    color: #50150E;
    margin: 1rem 0;
}
main section h3 {
    font-size: 120%;
    margin: 1.5rem 0 1rem;
    padding: .5rem;
    border-bottom:1px dotted #999;
}
main section .scroll_box {
    overflow-y: scroll;
    overflow-x: visible;
    height: 90%;
    padding: 1rem;
    border:1px dotted #333;
}



main .section01 {
    background: url(../images/common_bg01.png) no-repeat center;
    background-size: cover;
}
main .section01 .box {
    top: 30%;
    left: 0;
    width:100%;
    max-width: 1000px;
    padding: 3rem;
}
@media (max-width: 767px) {
    main .section01 .box {
        bottom: 10%;
    }
}


main .section02 {
    background: url(../images/common_bg02.png) no-repeat center;
    background-size: cover;
}
main .section02 .box {
    top: 15%;
    bottom: 10%;
    right: 0;
    width:100%;
    max-width: 1000px;
    padding: 3rem;
}

main .section03 {
    background: url(../images/common_bg03.png) no-repeat center;
    background-size: cover;
}
main .section03 .box {
    top: 15%;
    bottom: 10%;
    left: 50%;
    width:100%;
    max-width: 1000px;
    margin-left: -500px;
    padding: 3rem;
}
@media (max-width: 1000px) {
    main .section03 .box {
        margin-left: 0;
    }
}
@media (max-width: 767px) {
    main .section03 .box {
        left:0;
    }
}

main .section04 {
    background: url(../images/common_bg04.png) no-repeat center;
    background-size: cover;
}
main .section04 .box {
    top: 15%;
    bottom: 10%;
    left: 0;
    width:100%;
    max-width: 1000px;
    padding: 3rem;
}
main .section04 .facility_desc {
    min-height: 11em;
}

main .section05 {
    background: url(../images/common_bg05.png) no-repeat center;
    background-size: cover;
}
main .section05 .box {
    top: 15%;
    bottom: 10%;
    right: 0;
    width:100%;
    max-width: 1000px;
    padding: 3rem;
}

main .section06 {
    background: url(../images/common_bg06.png) no-repeat center;
    background-size: cover;
}
main .section06 .box {
    top: 15%;
    bottom: 10%;
    left: 50%;
    width:100%;
    max-width: 1000px;
    margin-left: -500px;
    padding: 3rem;
}
@media (max-width: 1000px) {
    main .section06 .box {
        margin-left: 0;
    }
}
@media (max-width: 767px) {
    main .section06 .box {
        left:0;
    }
}
main .section07 {
    background: url(../images/common_bg07.png) no-repeat center;
    background-size: cover;
}
main .section07 .box {
    top: 15%;
    bottom: 10%;
    left: 50%;
    width:100%;
    max-width: 1000px;
    margin-left: -500px;
    padding: 3rem;
}
@media (max-width: 1000px) {
    main .section07 .box {
        margin-left: 0;
    }
}
@media (max-width: 767px) {
    main .section07 .box {
        left:0;
    }
}

main .section99 {
    background: url(../images/common_bg99.png) no-repeat center;
    background-size: cover;
}
main .section99 .box {
    top: 15%;
    left: 50%;
    width:100%;
    max-width: 1000px;
    margin-left: -500px;
    padding: 3rem;
}
main .section99 textarea {
    height: 8em;
}
@media (max-width: 1000px) {
    main .section99 .box {
        margin-left: 0;
    }
}
@media (max-width: 767px) {
    main .section99 .box {
        left:0;
    }
}
