/* css document */
/* UTF-8 */
body *{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}
.en{
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    line-height: 2;
    letter-spacing: 0.035rem;
}

.sans{
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}
img{
    width: 100%;
}
.container{
    width: 80%;
    max-width: 1063px;
    margin: 0 auto;
}

.ja_l{font-size: 29px;}
.ja_m{font-size: 18px;}
.en_l{font-size: 30px;}
.en_m{font-size: 20px;}

.lh_l{line-height: 1.94;}

@media (max-width:480px){
    .ja_l{font-size: 24px;}
    .ja_m{font-size: 16px;}
    .en_l{font-size: 25px;}
    .en_m{font-size: 17px;}
}

/* ----------- main ------------ */
#mv{
    width: 100%;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    color: #fff;
}
#mv > img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
#mv > video { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}
#mv h1{
    width: 84vw;
    max-width: 805px;
}
#mv p {
    line-height: 1.66;
    letter-spacing: 0.05em;
    font-weight: 500;
    font-size: 22px;
    border: 1px solid #fff;
    padding: 0.5em 2.5em;
}
#mv .scroll {
    position: absolute;
    bottom: 0rem;
    right: calc(50% - 1.5rem);
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    z-index: 100;
    gap: 0.5rem;
}
#mv .scroll .border{
    width: 1px;
    height: 100px;
    position: relative;
    border-style: unset;
    border-width: unset;
}
#mv .scroll .border::before {
    animation: scroll 2s infinite;
    background-color: #ffffff;
    content: "";
    top: 0;
    height: 126px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 1px;
    z-index: 2;
}
#mv .scroll .border::after {
    background-color: #cccccc9d;
    top: 0;
    content: "";
    height: 126px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 1px;
}
@keyframes scroll {
0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
}
50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
}
51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
}
100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
}
}

@media (max-width:480px){
    #mv{min-height: 640px;}
    #mv p{font-size: 18px;}
    #mv .scroll{font-size: 14px;}
}

#introduce{
    width: 100%;
    height: 100dvh;
    min-height: 790px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}
#introduce::after{
    content: "";
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / .67);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#introduce > img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
#introduce > .container{
    position: relative;
    z-index: 3;
}
#introduce h2,
#introduce p{
    font-weight: 300;
}

#introduce h2{
    font-size: 29px;
    margin-bottom: 1em;
}
#introduce p:nth-of-type(1){
    line-height: 1.8;
}
#introduce p{
    font-size: 20px;
}

#introduce p.en{
    font-size: 24px;
    margin-top: 4em;
}

@media (max-width:480px){
    #introduce h2 {
        font-size: 24px;
    }
    #introduce p {
        font-size: 16px;
    }
    #introduce p.en {
        font-size: 19px;
        margin-top: 3em;
    }
}

.txtcontents{
    padding-top: 12rem;
}
.txtcontents-inner .text:nth-of-type(n+2){
    padding-top: 5rem;
    font-weight: 500;
}
.text > div{
    margin-bottom: 1.5em;
    line-height: 1.45;
}

span.line{
    display: inline-block;
    width: 1rem;
    height: 5px;
    position: relative;
}
span.line::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 2px;
    width: 0.65rem;
    height: 1px;
    background: #000;
}

/* slide */
.swiper-wrapper {transition-timing-function: linear;}
.swiper-slide img {
    height: auto;
    width: 100%;
}
.loop-swiper{margin-top: 7rem;}

/* ------ footer ------- */
.mapwrap {
    margin-top: 6.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-height: 383px;
    min-height: 250px;
    height: auto;
    aspect-ratio: 2 / 1;
}
footer a{
    display: inline-block;
    text-align: center;
    font-weight: 500;
    border: 1px solid #bbb;
    font-size: 15px;
    transition: all .3s ease;
}
footer a.maplink {
    padding: 0.3em 1.5em;
    position: relative;
    left: calc(100% - 9.5rem);
    margin-top: -12px;
}
footer a.contactlink{
    padding: 0.3em 2em;
}
@media (any-hover: hover){
    footer a:hover{opacity: .5;}
}
.flogo{
    max-width: 362px;
    width: 72vw;
}
.footertxt{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap:1rem 2.5rem;
    margin-bottom: 3rem;
    padding-top: 1.5rem;
    font-size: 15px;
}
.footertxt .sans{
    line-height: 1.67;
    white-space: nowrap;
}
.copyright{
    font-size: 12px;
    padding-bottom: 1.25rem;
}
@media (max-width: 640px){
    .txtcontents {padding-top: 6.5rem;}
    .loop-swiper {margin-top: 5rem;}
    .txtcontents-inner .text:nth-of-type(n+2) {padding-top: 3.5rem;}
    .loop-swiper {margin-top: 4rem;}
    .mapwrap {margin-top: 5rem;}
}
@media (max-width: 480px){
    .footertxt{font-size: 14px;}
    .footertxt .sans{white-space: wrap;}
    footer a {font-size: 13px;}
    footer a.maplink {left: calc(100% - 8rem);}
}