/* common */

html { scroll-behavior: smooth;}

body {
    font-size: 1.2rem;
    line-height: 1.8rem;
    position: relative;
    color: #000;
    font-family: "Noto Sans JP", sans-serif;
}
@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-noto-sans {
    font-family: "Noto Sans JP", sans-serif;
}
.font-anton {
    font-family: "Anton", sans-serif;
}

a {
    color:#555;
}

img {
    width:auto;
    max-width:100%;
    height: auto;
}
img.fix {
    max-width:none;
}
.narrow {
    letter-spacing: -.05em;
}

header {
}
@media (max-width: 767px) {
}
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:200px;
    z-index: 100;
    padding: 1rem 2rem;
    color: #fff;
    background-color: #6F0000;
}

footer a {
    color: #fff;
}

footer .news h2 {
    font-family: "Anton", sans-serif;

}
footer .news dl {
    overflow-y: scroll;
    height: 2em;
    border:1px dotted #fff;
}
footer .nav_main a {
    display: block;
    background-color: #fff;
    color: #6f0000;
    padding: .8rem;
    font-size: 90%;
    line-height: 1.2em;
}
footer .nav_main span {
    display: block;
    font-family: "Anton", sans-serif;
    font-size: 1.2em;
}
footer .nav_main ul li ul {
    display: none;
}
footer .copy {
    display: block;
    text-align: right;
}


@media (max-width: 767px) {
    footer {
        height:400px;
    }
    footer .news dl {
        height: 3.5em;
    }
}

/*** 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: 40%;
    height: 100%;
    position: fixed;
    top: 0%;
    right: -40%;
    z-index: 99;
    background: url(../images/common_bg01.png) no-repeat left;
    background-size: cover;
    transition: .5s;
    text-align: left;
    padding:10em 1em 1em 10em;
}
.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%;
}

@media (max-width: 767px) {
    .nav_content {
        width: 90%;
        height: 100%;
        position: fixed;
        top: 0%;
        right: -90%;
        z-index: 99;
        /*background: rgb(255,255,255,.95);*/
        background: url(../images/common_bg02.png) no-repeat left;
        background-size: cover;
        transition: .5s;
        text-align: left;
        padding:10em 1em 1em 5em;
    }

}



.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.top {
    padding: 0;
    margin:0;
}
main.top .top_box01 {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
main.top .top_box01 .bg {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transform: translateY(0);
    transition: opacity 3.0s ease-in-out;
}

main.top .top_box01 .bg2 {
    opacity: 0;
}

main.top .top_box01 h1.logo,
main.top .top_box01 figure {
    position: absolute;
    z-index: 10;
}
main.top .top_box01 h1.logo {
    top: 30%;
    left:7%;
    width:30%;
    max-width: 300px;
}
main.top .top_box01 figure {
    top: 55%;
    right:7%;
    width:45%;
    max-width: 450px;
}

main.top .top_box02 {
    position: relative;
    width: 100vw;
    height: 55vh;
    overflow: hidden;
}
main.top .top_box02 .bg {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transform: translateY(0);
    transition: opacity 2.0s ease-in-out;
}

main.top .top_box02 .bg2 {
    opacity: 0;
}

main.top .top_box02 h1.logo,
main.top .top_box02 figure {
    position: absolute;
    z-index: 10;
}
main.top .top_box02 h1.logo {
    top: 20%;
    left:7%;
    width:30%;
    max-width: 300px;
}
main.top .top_box02 figure {
    top: 80%;
    right:7%;
    width:60%;
    max-width: 600px;
}

@media (max-width: 767px) {
    main.top .top_box01 {
        height: 80vh;
    }
}

main.sub section h2 {
    color: #50150E;
    margin: 1rem 0;
}
main.sub section h3 {
    font-size: 120%;
    margin: 1.5rem 0 1rem;
    padding: .5rem;
    border-bottom:1px dotted #999;
}

@media (max-width: 767px) {
    main .section99 .box {
        left:0;
    }
}
