/*COMMON*/

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

figure{
    all: unset;
}

a{
    color: inherit;
    text-decoration: none;
}

body {
	-webkit-font-feature-settings: 'palt';
	font-feature-settings: 'palt';
    -webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    font-family: "Zen Old Mincho","Noto Sans JP", serif;
    background: url(./img/body_bg.png) repeat-y center center / 100%;
    background-color: #173155ba;
}

body.no-scroll {
    overflow: hidden;
}

img{
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

section{
    padding: 6% 0;
}

section figure{
    display: block;
}

h1{
    margin: 0;
}

h2,h3,h4{
    font-weight: 700;
}

h2{
    font-size: 36px;
}

h3{
    font-size: 26px;
}

p{
    font-size: 16px;
}

#contents_wrapper{
    max-width: 1520px;
    margin: 0 auto;
    background-color: #fff;
}

.inner{
    padding: 0 6%;
}

/*header*/
header{
    position: fixed;
    max-width: 1520px;
    margin: 0 auto;
    right: 20px;
    top: 0;
    z-index: 2000;
}

header nav{
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
}

header nav p{
    background-color: #947627;
    padding: 10px 40px 10px 20px;
    border-top: 2px solid #947627;
    border-bottom: 2px solid #947627;
    margin-right: -20px;
    border-radius: 50px 0 0 50px;
}

header nav ul{
    display: flex;
    color: #333;
}

header nav ul li{
    padding: 10px;
    background-color: #fff;
    border-top: 2px solid #947627;
    border-bottom: 2px solid #947627;
}

header nav ul li a{
    display: flex;
    gap: 0 6px;
    align-items: center;
}

header nav ul li a span{
    background-image: linear-gradient(#901d22, #901d22);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: background-size 0.3s;
}
header nav ul li a:hover span{
    background-position: bottom left;
    background-size: 100% 1px;
}

header nav ul li figure{
    width: 25px;
}

header nav ul li figure img{
    vertical-align: text-bottom;
}
header nav ul li span{
    width: calc(100% - 25px);
}

header nav ul li:first-child{
    color: #901d22;
    border-radius: 50px 0 0 50px;
    padding: 10px 10px 10px 30px;
}

header nav ul li:nth-child(2){
    color: #b59219;
}
header nav ul li:nth-child(3){
    color: #004324;
}
header nav ul li:nth-child(4){
    color: #113087;
}
header nav ul li:nth-child(5){
    color: #a23c91;
    border-radius: 0 50px 50px 0;
    margin-right: 40px;
    padding: 10px 30px 10px 10px;
}
header nav ul li:last-child{
    border-left: 2px solid #947627;
    border-right: 2px solid #947627;
    border-radius:50px;
    padding: 10px 30px;
    font-weight: 700;
}
header nav ul li:nth-child(2) a span{
    background-image: linear-gradient(#b59219, #b59219);
}
header nav ul li:nth-child(3) a span{
    background-image: linear-gradient(#004324, #004324);
}
header nav ul li:nth-child(4) a span{
    background-image: linear-gradient(#113087, #113087);
}
header nav ul li:nth-child(5) a span{
    background-image: linear-gradient(#a23c91, #a23c91);
}

header nav ul li:last-child:hover{
    background-color: #947627;
    color: #fff;
    transition: all .3s;
}


header .hamburger {
    display: none;
}

#mv{
    background: url(./img/mv_bg.png) no-repeat center center / cover;
    padding: 0;
    position: relative;
}

#mv .slider img {
    width: 100%;
    display: block;
}
#mv .slider {
    margin-bottom: 20px;
}


#mv h1{
    position: relative;
    z-index: 2;
}

#mv .slider_wrapper {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

#mv .slick-initialized .slick-slide{
    margin: 0 10px;
}


#mv .slick-slider.slider-bottom {
    margin: 0;
}


#lead {
    padding: 0;
    position: relative;
    overflow: hidden;
    --gap: 40%;
}

#lead::before{
    content: '';
    position: absolute;
    inset: 0;
    background:url(./img/lead.png) no-repeat center center / cover;
    z-index: 2;
    clip-path: polygon(
        0% 0%,
        0% 100%,

        var(--gap) 100%,
        var(--gap) var(--gap),
        calc(100% - var(--gap)) var(--gap),
        calc(100% - var(--gap)) calc(100% - var(--gap)),
        var(--gap) calc(100% - var(--gap)),
        var(--gap) 100%,

        100% 100%,
        100% 0%
    );
}

#lead .wrapper{
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    height: 70%;
}

#lead .wrapper h2{
    margin-left: 8%;
    text-shadow:
    -1px -1px 6px #fff,
    1px -1px 6px #fff,
    -1px  1px 6px #fff,
    1px  1px 6px #fff;
}

#lead .wrapper h2 span{
    margin-top: 30%;
}

#lead .wrapper p{
    font-size: 20px;
    font-weight: 900;
    margin-left: 4%;
    line-height: 2;
    text-shadow:
    -0.5px -0.5px 6px #fff,
    0.5px -0.5px 6px #fff,
    -0.5px  0.5px 6px #fff,
    0.5px  0.5px 6px #fff;
}

#map{
    padding: 0;
    background: url(./img/map_bg.png) no-repeat center center / cover;
}

#map .map-fold-right {
    margin: 0 auto;
    overflow: hidden;
}

#map .map-inner {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: end;
    transform: translateX(-50%);
}

#map .map-panel {
    width: 50%;
    overflow: hidden;
}

#map .map-cover {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    transform-origin: 100% 50%;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    transition: transform 1s ease;
    z-index: 2;
    box-shadow: 6px 0px 6px rgba(51, 51, 51, 0.4);
}


#map .map-fold-right.map-active .map-cover {
    transform: rotateY(-180deg);
    box-shadow: 6px 0px 6px rgba(51, 51, 51, 0.1);
}

#map a{
    position: absolute;
    width: 15%;
    z-index: 2;
}


#map a.el1{
    top: 15%;
    right: -22%;
}

#map a.el2{
    top: 53%;
    right: 8%;
}

#map a.el3{
    top: 36%;
    right: -33%;
}

#map .map-fold-right .el {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

#map .map-fold-right.map-active .el1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .8s;
}

#map .map-fold-right.map-active .el2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

#map .map-fold-right.map-active .el3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

#map .map-fold-right .el:hover{
    border: 1px solid #901d22;

}

#area{
    background: url(./img/map_bg.png) no-repeat center center / cover;
}

#area h2{
    border-bottom: double 4px #123574;
    display: inline-block;
    position: relative;
    margin-left: 4%;
}

#area h2 img{
    position: absolute;
    max-width: 120px;
    right: -140px;
    bottom: -20px;
}

#area figure{
    display: block;
    max-width: 420px;
    margin: 10% auto 0;
}

footer{
    background: url(./img/footer_bg.png) no-repeat center bottom / cover;
    color: #fff;
    padding: 4% 0;
}

footer p img{
    max-width: 25px;
    margin-right: 10px;
}

footer .f{
    display: flex;
    justify-content: space-between;
}

footer .f_l p{
    margin: 0 0 6px;
}

footer .f_l p:first-child{
    font-size: 28px;
}

footer .f_r ul{
    display: flex;
    gap: 0 20px;
}

footer .f_r ul li{
    max-width: 64px;
}

footer .f_r ul li a:hover{
    opacity: 0.8;
    transition: all .3s;
}

small.copyright{
    font-size: 12px;
    display: block;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

.pagetop-btn {
    position: fixed;
    width: 45px;
    height: 45px;
    border: solid 1px #113087;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s, transform 0.3s;
}

.pagetop-btn::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #113087;
    border-top: 2px solid #113087;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -25%) rotate(45deg);
}

.pagetop-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.sp{display:none;}

@media print, screen and (min-width: 768px) and (max-width: 1279px){
h2 {
    font-size: 26px;
}

#lead .wrapper p {
    font-size: 16px;
}

#lead .wrapper {
    top: 8%;
    left: 50%;
    height: 86%;
}

}


@media screen and (max-width: 767px){
.sp{display:block;}
.pc{display:none;}

section{
    padding: 12% 0;
}

.inner{
    padding: 0 4%;
}

h2{
    font-size: 26px;
}

/*header*/
header{
    right: 0;
}

header nav {
    position: fixed;
    flex-direction: column;
    align-items: flex-start;
    top: 0;
    inset: 0;
    background: #ddd1b0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    border-radius: 0;
    padding: 20% 4% 6%;
}

header nav p{
    margin: 0 0 10px;
    border-radius: 0;
    width: 100%;

}

header nav ul{
    flex-direction: column;
    gap: 10px 0;
    width: 100%;

}

header nav ul li{
    width: 100%;
    padding: 0;
    position: relative;
}

header nav ul li::after{
    content: '▼';
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    right: 20px;
}

header nav ul li a{
    padding: 20px 10px;
}

header nav ul li a span,
header nav ul li:nth-child(2) a span,
header nav ul li:nth-child(3) a span,
header nav ul li:nth-child(4) a span,
header nav ul li:nth-child(5) a span{
    background: none;
}

header nav ul li:first-child,
header nav ul li:nth-child(5){
    border-radius: 0;
    padding: 0;
}
header nav ul li:last-child{
    padding: 0;
    text-align: center;
}

header nav ul li:last-child a{
    justify-content: center;
}

header nav.is-open {
    transform: translateX(0);
    overflow-y: scroll;
}

header .hamburger {
    display: block;
    background-color: #947627;
    position: fixed;
    top: 0;
    width: 60px;
    height: 60px;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    border-radius: 0 0 0 10px;
}

.hamburger span{
    position: absolute;
    width: 40px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

header .hamburger span:nth-child(1) { top: 20px; }
header .hamburger span:nth-child(2) { top: 30px; }
header .hamburger span:nth-child(3) { top: 40px; }

header .hamburger.is-open{
    background-color: #333;
}

header .hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg);
    top: 30px;
    left: 20%;
}

header .hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

header .hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 30px;
    left: 20%;
}

#lead,
#lead figure img{
    min-height: 700px;
}

#lead::before{
    background:url(./img/lead_sp.png) no-repeat center center / cover;
}

#lead figure img{
    object-fit: cover;
}

#lead .wrapper{
    writing-mode: unset;
    width: 100%;
    height: 100%;
    top: 0;
    padding: 16% 4% 12%;
}

#lead .wrapper h2{
    margin:0;
}

#lead .wrapper p{
    font-size: 16px;
    text-shadow: -2px -2px 10px #fff, 2px -2px 10px #fff, -2px 2px 10px #fff, 2px 2px 10px #fff;
    margin: 0;
}

#lead .wrapper img{
    width: 50%;
}

#map a{
    width: 40%;
}

#map a.el1 {
    top: 8%;
    right: -35%;
}

#map a.el3 {
    top: 54%;
    right: -42%;
}

#map a.el2 {
    top: 80%;
    right: -7%;
}

#area h2{
    padding: 0 0 10px;
    margin: 0;
}

#area h2 img{
    max-width: 80px;
    right: -90px;
}

#area figure{
    max-width: 280px;
    margin: 20% auto 0;
}

footer{
    padding: 6% 0 12%;
}

footer .f{
    flex-direction: column-reverse;
    gap: 20px 0;
}

footer .f_r ul{
    justify-content: center;
}

footer .f_r ul li{
    max-width: 45px;
}

footer .f_l p{
    font-size: 15px;
}

footer .f_l p:first-child{
    font-size: 18px;
}

}