@import './common.css';

/*----------mv----------*/
#ly_topMv {
    position: relative;

    overflow: hidden;

    width: 100%;
}

.un_slideItem {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    transition: opacity 1s ease-in-out;

    opacity: 0;
}

.is_current {
    position: relative;

    opacity: 1;
}

.un_topMv_wholeWrapper {
    position: absolute;
    top: 21%;
    left: 50%;

    transform: translateX(-50%);
}

.un_topMv_imgWrapper {
    width: fit-content;
    margin: 0 auto 22px;
}

.un_topMv_txt {
    white-space: nowrap;
    text-shadow: 0px 0px 17.49px rgba(98, 64, 59, 1);
}

.un_mvScroll {
    font-size: 1.4rem;
    font-weight: 500;

    display: block;

    width: fit-content;
    margin: 83px auto;

    transform: rotate(90deg);
}

.un_mvScroll_txt {
    position: relative;
}

.un_mvScroll_txt::after {
    position: absolute;
    top: 50%;
    right: -60px;

    width: 50px;
    height: 1px;

    content: '';
    transform: translateY(-50%);

    background-color: var(--white);
}

@media screen and (max-width: 1279px) {
    .un_topMv_imgWrapper {
        width: calc(100vw * 420 / 1280);
    }
}

@media screen and (max-width: 1168px) {
    .un_topMv_wholeWrapper {
        top: 15%;
    }

}

@media screen and (max-width: 960px) {
    .un_mvScroll {
        margin: 68px auto;
    }
}

@media screen and (max-width: 880px) {
    .un_mvScroll {
        margin: 48px auto;
    }
}

@media screen and (max-width: 768px) {
    .un_topMv_wholeWrapper {
        top: 32%;
    }

    .un_topMv_wholeWrapper p {
        white-space: nowrap;
    }

    .un_topMv_imgWrapper {
        width: 72%;
        margin: 0 auto 13px;
    }

    .un_topMv_txt {
        text-shadow: 0px 0px 10.06px rgba(98, 64, 59, 1);
    }

    .un_mvScroll {
        margin: 52px auto;
    }
}

/*----------deco----------*/
@media screen and (max-width: 768px) {
    .ly_deco img {
        aspect-ratio: 375 / 120;
    }
}

/*----------legacy----------*/

#ly_legacy {
    padding: 96px 0 105px;
}

#ly_legacy .container {
    margin: 0 calc((100vw - 1280px)/2 + 120px);
}

.ly_legacy_inner {
    display: flex;
    justify-content: center;
    gap: 62px;
}

.un_legacy_leftWrapper {
    margin-left: 8px;
}

.un_legacy_imgWrapper {
    width: fit-content;

}

.un_legacy_rightWrapper {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 40px;
    width: 490px;
}


.un_legacy_txt {
    font-size: 2.0rem;
    font-weight: 600;
    line-height: 4.0rem;

    writing-mode: vertical-rl;
    /* 縦書き */
    text-orientation: upright;
    /* 文字を正しい方向で縦書きにする */

    margin: 0;
    /* 不要な余白をリセット */
    white-space: nowrap;
}



@media screen and (max-width: 1279px) {
    #ly_legacy .container {
        margin: 0 10%;
    }
}

@media screen and (max-width: 1200px) {
    .un_legacy_leftWrapper {
        width: calc(80vw - 480px - 62px);
        margin-left: 0;
    }

    .un_legacy_imgWrapper img {
        width: 100%;
    }
}

@media screen and (max-width: 960px) {
    .ly_legacy_inner {
        align-items: center;
        flex-direction: column;

        margin: 0 16px;

        gap: 33px;
    }

    .un_legacy_leftWrapper {
        width: fit-content;
    }

    .un_legacy_rightWrapper {
        justify-content: center;
        min-height: 384px;
    }
}

@media screen and (max-width: 768px) {
    #ly_legacy {
        padding: 38px 0 45px;
    }

    #ly_legacy .container {
        margin: 0 22px;
    }

    #ly_legacy_inner {
        margin: 48px 0;
        min-height: 716px;
    }

    .un_legacy_leftWrapper {
        margin: 0 auto;
    }

    .un_legacy_imgWrapper {
        margin: 0 auto;
    }

    .un_legacy_rightWrapper {
        justify-content: center;
        padding: 0 0 4px;
        gap: 0;
        width: 300px;
    }

    .un_legacy_txt {
        font-size: 1.6rem;
        line-height: 2.4rem;

        letter-spacing: .4rem;
    }

    .un_legacy_txt+.un_legacy_txt {
        margin-left: 24px;
    }
}

@media screen and (max-width: 520px) {
    .un_legacy_leftWrapper {
        width: 100%;
    }

    .un_legacy_imgWrapper {
        width: 100%;
    }

    .un_legacy_imgWrapper img {
        width: 100%;
    }
}

/*----------line----------*/
.ly_line_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    margin: 0 52px 0 50px;
    padding: 0 calc((100vw - 1280px)/2 + 62px) 0 calc((100vw - 1280px)/2 + 79px);

    background-color: var(--lineBg);
}

.un_line_imgWrapper {
    margin-top: 58px;
}

.un_line_rightWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.un_line_txtWrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.un_line_capWrapper {
    display: flex;
    justify-content: center;

    margin-bottom: 10px;
    padding: 2px 42px 4px;

    background-color: #e6ba51;
}

.un_line_cap {
    font-size: 2.0rem;
    font-weight: 900;
    line-height: 2.9rem;

    letter-spacing: .02em;
}

.un_line_ttl {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 7.0rem;

    position: relative;

    margin-bottom: 10px;

    letter-spacing: .05em;
}

.un_line_subTtlWrapper {
    padding: 10px 0;

    border-top: 1px dotted var(--white);
    border-bottom: 1px dotted var(--white);
}

.un_line_subTtl {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 3.8rem;

    letter-spacing: .1em;
}

@media screen and (max-width: 1279px) {
    .ly_line_inner {
        padding: 0 5% 0 6%;
    }

    .un_line_imgWrapper {
        width: 17%;
    }

    .un_line_imgWrapper img {
        width: 100%;
    }
}

@media screen and (max-width: 1248px) {
    .ly_line_inner {
        align-items: center;
        flex-direction: column-reverse;

        margin: 0;
        padding: 30px 27px 0;
    }

    .un_line_imgWrapper {
        width: 300px;
    }
}

@media screen and (max-width: 960px) {
    .un_line_rightWrapper {
        flex-direction: column;
    }

    .un_line_imgWrapper {
        width: unset;
    }
}

@media screen and (max-width: 768px) {
    #ly_line {
        margin: 0 10px;
    }

    .ly_line_inner {
        align-items: center;
        flex-direction: column-reverse;

        margin: 0;
        padding: 30px 27px 0;
    }

    .un_line_imgWrapper {
        margin-top: 32px;
    }

    .un_line_rightWrapper {
        flex-direction: column;

        gap: 35px;
    }

    .un_line_capWrapper {
        margin-bottom: 8px;
        padding: 5px 3px 7px;
    }


    .un_line_cap {
        font-size: 1.6rem;
        line-height: 2.3rem;
    }

    .un_line_ttl {
        font-size: 3.8rem;
        line-height: 5.5rem;

        margin-bottom: 8px;
    }

    .un_line_subTtlWrapper {
        padding: 7px 0;
    }

    .un_line_subTtl {
        font-size: 1.6rem;
        line-height: 2.3rem;
    }
}

/*----------catalog----------*/
#ly_catalog {
    padding: 98px 0 152px;
}

#ly_catalog .container {
    max-width: 1024px;
    margin: 0 calc((100vw - 1280px)/2 + 129px);
}

@media screen and (max-width: 1279px) {
    #ly_catalog {
        padding: 38px 0 108px;
    }

    #ly_catalog .container {
        margin: 0 10%;
    }
}

@media screen and (max-width: 768px) {
    #ly_catalog {
        padding: 38px 0 51px;
    }
}

/*----------gallery----------*/
#ly_gallery {
    padding: 96px 0 152px;

    background: url(../image/top/gallery_bg.jpg) no-repeat center center/cover;
}

#ly_gallery .container {
    margin: 0 calc((100vw - 1280px)/2 + 128px);
}

@media screen and (max-width: 1279px) {
    #ly_gallery .container {
        margin: 0 10%;
    }
}

@media screen and (max-width: 768px) {
    #ly_gallery {
        padding: 48px 0 96px;
    }
}

@media screen and (max-width: 520px) {
    #ly_gallery {
        background: url(../image/top/gallery_bg_sp.jpg) no-repeat center center/cover;
    }
}


/*----------plan----------*/
#ly_plan {
    padding: 96px 0 50px;
}

#ly_plan .container {
    max-width: 1024px;
    margin: 0 calc((100vw - 1280px)/2 + 130px);
    ;
}

@media screen and (max-width: 1279px) {
    #ly_plan {
        padding: 48px 0 50px;
    }

    #ly_plan .container {
        margin: 0 10%;
    }
}

@media screen and (max-width: 768px) {
    #ly_plan {
        padding: 48px 0;
    }
}

/*----------shops----------*/
#ly_shops .container {
    max-width: 1024px;
    margin: 0 calc((100vw - 1280px)/2 + 128px);
}

.un_shops_logoWrapper {
    width: 484px;
    margin: 0 auto 47px;

    text-align: center;
}

.un_card_logoWrapper {
    margin: 0 auto 20px;
    padding-right: 7px;
}


.un_shopInfo {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.un_shopInfo_item {
    display: flex;
    gap: 5px;
    column-gap: 15px;
}

.un_shopInfo_item.un_shopInfo_item__fdColumn {
    flex-direction: column;
}

.un_shopInfo_label {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80px;
    height: 25px;

    background-color: var(--ttlBrown);
    font-size: 1.6rem;
    line-height: 2.4rem;
    letter-spacing: .02em;
    font-weight: 500;
}

.un_mapWrapper {
    height: calc(100vw * 600 / 1280);
}

.un_mapWrapper iframe {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1279px) {
    #ly_shops .container {
        margin: 0 10%;
    }

    .un_shops_logoWrapper {
        margin: 0 auto 32px;
    }

    .un_card_logoWrapper {
        margin: 0 auto 24px;
        padding-right: 0;
    }

    .un_mapWrapper {
        height: calc(100vw * 500 / 375);
    }
}

@media screen and (max-width: 1187px) {
    .un_shopInfo_item {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .un_shops_logoWrapper {
        width: 100%;
    }

    .un_shopInfo_item {
        flex-direction: unset;
    }

    .un_shopInfo_label {
        font-size: 1.4rem;
        line-height: 2.1rem;
        letter-spacing: .05em;
    }
}

@media screen and (max-width: 520px) {
    .un_card_logoWrapper.un_card_logoWrapper__narrow {
        margin: 0 25px 23px;
    }
}


/*----------sns----------*/
#ly_sns {
    padding: 99px 0 150px;

    background: url(../image/top/sns_bg.jpg) repeat-y;
    background-size: 100% auto;
}

#ly_sns .container {
    margin: 0 calc((100vw - 1280px) / 2 + 383px);
}

.un_snsTtl_wrapper {
    display: flex;
    justify-content: center;
}

.un_snsTtl {
    position: relative;

    display: flex;
    align-items: center;

    margin-bottom: 25px;
    ∂
}

.un_snsTtl_wrapper.un_snsTtl_wrapper__mt32 {
    margin-top: 32px;
}

.un_snsTtl::after {
    display: block;

    width: 350px;
    height: 1px;
    margin-left: 26px;

    content: '';

    background-color: var(--white);
}

.un_snsTtl_wrapper__fb .un_snsTtl::after {
    width: 351px;
}

.un_snsTtl_wrapper__x .un_snsTtl::after {
    width: 375px;
}


.un_snsWrapper {
    margin-bottom: 0 7px 36px;

    text-align: center;

    background-color: var(--white);
}



#sbi_load {
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    #ly_sns {
        padding: 51px 0 96px;
    }

    #ly_sns .container {
        margin: 0 11%;
    }

    .un_snsWrapper {
        width: 100%;
    }

    .un_snsTtl {
        margin-bottom: 17px;
        width: 100%;
    }

    .un_snsTtl::after {
        width: 100%;
        margin-left: 13px;
    }

    .un_snsTtl_wrapper__fb .un_snsTtl::after,
    .un_snsTtl_wrapper__x .un_snsTtl::after {
        width: 100%;
    }
}