@charset "utf-8";


.kv {
    position: relative;
}

.kv__photo {
    width: 100%;
}

.kv__catch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: min(calc(1338 / 1920 * 100%),1338px);
    z-index: 1;
}

.gallery {
    background: linear-gradient(90deg, rgba(20, 24, 28, 1) 0%, rgba(43, 47, 51, 1) 50%, rgba(20, 24, 28, 1) 100%);
    padding: 135px 0 200px 0;
}

.gallery__inner {
    max-width: 1600px;
    width: 90%;
    margin-inline: auto;
}

.gallery__title {
    font-size: 100px;
    line-height: 1.74;
    background: linear-gradient(90deg, rgba(118, 101, 84), rgba(169, 158, 148) 50%, rgba(118, 101, 84));
    background-clip: text;
    color: transparent;
    width: fit-content;
    text-align: center;
    margin-inline: auto;
}

.gallery-tabs {
    width: min(100%,1360px);
    margin-inline: auto;
}

.gallery-tablist {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 21px;
    margin-top: 55px;
    margin-bottom: 20px;
}

.gallery-tabpanel {
    display: none;
}

.gallery-tabpanel.is-display {
    display: block;
}

.gallery-slide__btn {
    color: #ffffff;
    background: rgba(67, 70, 73, 0.7);
    width: 100px;
    height: 100px;
    transform: translateY(-50%);
    margin: 0;
}

:root {
    --swiper-navigation-size: 30px
}

.gallery-slide__btn--next {
    right: 0;
}

.gallery-slide__btn--prev {
    left: 0;
}

.gallery-thumb {
    margin-top: 20px;
    margin-bottom: 180px;
}

.gallery-thumb__item {
    cursor: pointer;
    opacity: .5;
    filter: grayscale(0.5);
    transition: opacity .5s ease, filter .5s ease;
}

.gallery-thumb__item.swiper-slide-thumb-active {
    opacity: 1;
    filter: grayscale(0);
}

.gallery-tab {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.4545;
    padding: 23px 0;
    background: linear-gradient(135deg, rgba(67, 70, 73, 1) 0%, rgba(102, 105, 107, 1) 50%, rgba(67, 70, 73, 1) 100%);
}

.gallery-tab.active {
    background: linear-gradient(135deg, rgba(84, 62, 41, 1) 0%, rgba(127, 110, 94, 1) 50%, rgba(84, 62, 41, 1) 100%);

}

.merit__link {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.merit__link__title {
    font-size: 50px;
    line-height: 1.45;
    text-align: center;
    margin-bottom: 40px;
}

.merit__link__copy {
    font-size: 24px;
    line-height: 2.5;
    text-align: center;
    margin-bottom: 90px;
}

.merit__link__btn {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

.merit__link__btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 24, 28, 0.5);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.merit__link__btn:hover::after {
    background: rgba(84, 62, 41, 0.7);
}

.merit__link__btn[data-name="merit-01__link"] {
    background-image: url(../img/img_merit-01_btn.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.merit__link__btn[data-name="merit-02__link"] {
    background-image: url(../img/img_merit-02_btn.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.merit__link__btn[data-name="merit-03__link"] {
    background-image: url(../img/img_merit-03_btn.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.merit__link__btn[data-name="merit-04__link"] {
    background-image: url(../img/img_merit-04_btn.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}


.merit__link__btn .border {
    display: block;
    width: 100px;
    height: 1px;
    background-color: #a99e94;
    margin: 5px 0 10px 0;
}

.merit__link__btn__item {
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
}

.merit__link__btn__item__num {
    position: relative;
    font-size: 20px;
}

.merit__link__btn__item__num::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 1px;
    background-color: #a99e94;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

/*.merit__link__btn__item__num--small {
    font-size: 20px;
}*/

.merit__link__btn__item__num--big {
    /*font-size: 32px;*/
    font-size: 26px;
}

.merit__link__btn__item__title {
    font-size: 24px;
    line-height: 2.1;
    margin-top: 20px;
}

.merit__btn__arrow {
    width: 40px;
    margin-top: 70px;
}

.merit-01 {
    position: relative;
    background-image: url(../img/img_merit-01_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.merit-02 {
    position: relative;
    background-image: url(../img/img_merit-02_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.merit-03 {
    position: relative;
    background-image: url(../img/img_merit-03_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.merit__box {
    padding: 130px 0;
}

.merit-03 .merit__box {
    max-width: 1720px;
}

.merit__item {
    display: flex;
    column-gap: calc(130 / 1600 * 100%);
}

.merit-03 .merit__item {
    width: min(100%,1660px);
    margin-inline: auto 0;
    column-gap: calc(130 / 1720 * 100%);
}

.merit__box__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.merit-03 .merit__box__photo {
    width: calc(960 / 1660 * 100%);
}

.merit__box__photo {
    width: calc(960 / 1600 * 100%);
}

.merit__box__item__num {
    color: #a99e94;
    /*font-size: 40px;*/
    font-size: 34px;
    line-height: 1.75;
}

.border {
    display: block;
    width: 30px;
    height: 1px;
    background-color: #a99e94;
}

.merit__box__item__num--big {
    /*font-size: 50px;*/
    font-size: 46px;
}


.merit__box__item__photo {
    flex: 1;
    max-width: 960px;
}

.merit__box__item__title {
    font-size: 40px;
    line-height: 2;
    letter-spacing: .05em;
    margin: 30px 0;
}

.merit__box__item__text {
    font-size: 18px;
    line-height: 2.4;
}

.merit-04 {
    position: relative;
    background-color: #35322f;
}

.merit-04:before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/img_merit-04_bg.webp);
    background-size: 100% auto;
    background-repeat: repeat-y;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 0;
}

.merit-04 .merit__box {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 130px 0 159px 0;
    z-index: 1;
}

.merit-04 .merit__box__item {
    flex: 100%;
}

.merit-04 .border {
    margin-inline: auto;
}


.merit-04 .merit__box__photo {
    margin-top: 102px;
    width: fit-content;
}

.merit__box__photo__copy {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    line-height: 1.9;
    margin: 63px 0 40px 0;
    width: calc(1260 / 1400 * 100%);
    margin-inline: auto;
    padding: 15px 0;
}

.merit__box__photo__copy::after {
    position: absolute;
    content: "";
    background-image: url(../img/img_kakko.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    left: 0;
    width: 100%;
    height: 100%;
}

.merit__box__photo__copy::before {
    transform: rotate(180deg);
    position: absolute;
    content: "";
    background-image: url(../img/img_kakko.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    right: 0;
    width: 100%;
    height: 100%;
}

.link {
    background: linear-gradient(90deg, rgba(20, 24, 28, 1) 0%, rgba(43, 47, 51, 1) 50%, rgba(20, 24, 28, 1) 100%);
    padding: 180px 0 204px 0;
}

.link__title {
    margin-bottom: 88px;
    text-align: center;
    font-size: 40px;
    line-height: 1.75;
}

.link__title span {
    display: block;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: .15em;
    text-align: center;
    margin-top: 20px;
}

.link__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.link__box[data-name="izumi-chuo"],
.link__box[data-name="kotodai-park"] {
    margin-bottom: 80px;
}

.link__box__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    text-align: center;
    padding: 85px calc(90 / 1920 * 100%) 103px calc(90 / 1920 * 100%);
    ;
}

.link__box__item__name {
    color: #14181c;
    font-size: 32px;
    line-height: 2.5;
}

.link__box__item__btn--Official {
    font-family: "Shippori Mincho", serif;
    font-size: 24px;
    line-height: 1.333;
    background: linear-gradient(90deg, rgba(20, 24, 28, 1) 0%, rgba(79, 82, 85, 1) 50%, rgba(20, 24, 28, 1) 100%);
    padding: 28px 0;
    margin-top: 24px;
    margin-bottom: 33px;
    width: 100%;
    max-width: 500px;
}

.link__box__item__btn--yoyaku {
    font-family: "Shippori Mincho", serif;
    font-size: 24px;
    line-height: 1.333;
    background: linear-gradient(135deg, rgba(84, 62, 41, 1) 0%, rgba(127, 110, 94, 1) 50%, rgba(84, 62, 41, 1) 100%);
    padding: 28px 0;
    width: 100%;
    max-width: 500px;
}

.caption {
    font-size: 11px;
    line-height: 1.45454545;
    margin-top: 100px;
}

@media screen and (max-width: 1500px) {
    .merit__link__btn__item__title {
        font-size: 20px;
    }
}
@media screen and (max-width: 1300px) {
    .merit__box__photo__copy {
        font-size: 30px;
    }
}

@media screen and (max-width: 1200px) {
    .gallery-tab {
        font-size: 14px;
    }

    .link__box__item__name {
        line-height: 2.5;
    }

    .merit__link {
        grid-template-columns: repeat(2, 1fr);
    }

    .merit__box__item__title {
        font-size: 30px;
    }
}

@media screen and (max-width: 1100px) {
    .link__box__item__name {
        font-size: 25px;
    }
    .link__box__item__btn--Official,
    .link__box__item__btn--yoyaku {
        font-size: 20px;
    }
    .gallery-slide__btn {
        width: 70px;
        height: 70px;
    }
}

@media screen and (max-width: 900px) {
    .link__box__item__name {
        font-size: 20px;
    }

    .merit__box__photo__copy {
        font-size: 23px;
    }

    .merit__box__item__title {
        font-size: 24px;
    }

    .merit__box__item__text {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .kv__catch {
        width: min(calc(308 / 380 * 100%),308px);
    }
    
    .gallery {
        padding: 70px 0 80px 0;
    }

    .gallery__title {
        font-size: 44px;
        line-height: 1;
    }

    .gallery__inner {
        line-height: 1.75;
        width: 100%;
        margin-inline: auto;
    }

    .gallery-tablist {
        gap: 15px;
        margin-bottom: 14px;
        margin-top: 33px;
        max-width: calc(340 / 380 * 100%);
        margin-inline: auto;
    }

    .gallery-tab {
        padding: 7px 2px;
        font-size: 14px;
        line-height: 1.42;
    }

    .gallery-slide__btn {
        width: 50px;
        height: 50px;
    }

    :root {
        --swiper-navigation-size: 15px
    }

    .gallery-thumb {
        margin-top: 14px;
        margin-bottom: 70px;
        max-width: calc(340 / 380 * 100%);
        margin-inline: auto;
    }

    .gallery-thumb__list {
        display: flex;
        justify-content: center;
    }

    .merit-01 {
        background-image: url(../img/img_merit-01_bg-sp.jpg);
    }

    .merit-02 {
        background-image: url(../img/img_merit-02_bg-sp.jpg);
    }

    .merit-03 {
        background-image: url(../img/img_merit-03_bg-sp.jpg);
    }

    .merit__link__title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .merit__link__copy {
        font-size: 16px;
        line-height: 2;
        margin-bottom: 45px;
    }

    .merit__link {
        gap: 20px;
        width: min(calc(320 / 380 * 100%),560px);
        margin-inline: auto;
        grid-template-columns: repeat(1, 1fr);
    }

    .merit__link__btn[data-name="merit-01__link"],
    .merit__link__btn[data-name="merit-02__link"],
    .merit__link__btn[data-name="merit-03__link"],
    .merit__link__btn[data-name="merit-04__link"] {
        background-position: bottom center;
    }

    .merit__link__btn__item {
        padding: 15px 0 40px 0;
    }

    .merit__link__btn__item__num {
        font-size: 16px;
        padding-bottom: 10px;
    }

    .merit__link__btn__item__num::after {
        background-color: #a99e94;
    }

    /*.merit__link__btn__item__num--small {
        font-size: 12px;
    }*/

    .merit__link__btn__item__num--big {
        /*font-size: 24px;*/
        font-size: 20px;
    }

    .merit__link__btn__item__title {
        font-size: 20px;
        line-height: 1.8;
        margin-top: 10px;
    }

    .merit__btn__arrow {
        width: 20px;
        margin-top: 20px;
    }

    .merit__box {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 65px 0 76px 0;
    }

    .merit-03 .merit__box {
        max-width: 560px;
    }

    .merit__item {
        column-gap: 0;
    }

    .merit-03 .merit__item {
        margin-inline: auto;
        column-gap: 0;
    }

    .merit__box__item__num {
        /*font-size: 26px;*/
        font-size: 22px;
        text-align: center;
    }

    .merit__box__item__num--big {
        /*font-size: 32px;*/
        font-size: 28px;
    }

    .border {
        margin-inline: auto;
    }

    .merit__box__item__title {
        text-align: center;
        line-height: 1.666;
        letter-spacing: 0;
        margin: 22px 0 24px;
    }

    .merit__box__photo,
    .merit-03 .merit__box__photo {
        width: fit-content;
        margin-bottom: 21px;
    }

    .merit__box__item__text {
        line-height: 2.125;
        text-align: left;
    }

    .merit-04:before {
        background-image: url(../img/img_merit-04_bg-sp.webp);
    }

    .merit-04 .merit__box {
        padding: 65px 0 75px 0;
    }

    .merit-04 .merit__box__item {
        width: calc(320 / 340 * 100%);
        margin-inline: auto;
        flex: 100%;
    }


    .merit-04 .merit__box__photo {
        margin-bottom: 0;
        margin-top: 50px;
    }

    .merit__box__photo-2 {
        margin-top: 30px;
    }

    .merit__box__photo__copy {
        font-size: 20px;
        line-height: 2;
        margin: 30px 0 15px 0;
        padding: 10px 0;
        width: 100%;
        margin-inline: auto;
    }

    .merit__box__photo__copy-2 {
        margin: 30px 0 10px 0;
    }

    .link {
        padding: 55px 0 60px;
    }

    .link .inner2 {
        width: calc(320 / 380 * 100%);
        max-width: 560px;
    }

    .link__title {
        margin-bottom: 40px;
        font-size: 24px;
    }

    .link__title span {
        font-size: 12px;
        margin-top: 10px;
    }

    .link__box {
        display: flex;
        flex-direction: column;
    }

    .link__box__item {
        padding: 28px 0 30px 0;
    }

    .link__box__item__name {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .link__box__item__btn--Official {
        padding: 8px 0 10px;
        margin-top: 0;
        margin-bottom: 11px;
        max-width: 260px;
        font-size: 18px;
        line-height: 1.77;
    }

    .link__box__item__btn--yoyaku {
        padding: 8px 0 10px;
        max-width: 260px;
        font-size: 18px;
        line-height: 1.77;
    }

    .link__box[data-name="izumi-chuo"],
    .link__box[data-name="kotodai-park"] {
        margin-bottom: 31px;
    }

    .caption {
        margin-top: 60px;
    }
}