html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

.info-supremeclass {
    font-family: "zen-old-mincho", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    background: #EDE5DC;
    line-height: 1;
}

.info-supremeclass section {
    display: block;
    position: relative;
    scroll-margin-top: 120px;
}

.info-supremeclass li {
    list-style: none;
    line-height: 1.5;
}

.info-supremeclass a {
    color: inherit;
    text-decoration: none;
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

.info-supremeclass p {
    text-align: justify;
}

.info-supremeclass img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.info-supremeclass .section-inner {
    width: 90vw;
    max-width: 1280px;
    margin: 0 auto;
}

.info-supremeclass .sp {
    display: none;
}

.info-supremeclass .mobile {
    display: none;
}

.info-supremeclass h3 {
    font-size: min(3.91vw, 42px);
    text-align: center;
    line-height: 1.2;
}

.info-supremeclass h3 span {
    display: block;
    font-family: "futura-pt", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #A49262;
    margin-top: 0.8em;
    letter-spacing: 0.1em;
}

/****************************************************
top
*****************************************************/
.top-section {
    position: relative;
    /* background: url(../images/top-img.png) no-repeat;
    background-size: cover;
    background-position: center; */
    max-height: 858px;
    height: calc(100dvh - 120px);
}

.top-slider {
    width: 100%;
    height: 100%;
}

.top-slider img {
    object-fit: cover;
    object-position: bottom;
}

.top-content {
    position: absolute;
    bottom: 15%;
    left: 9%;
    z-index: 1;
}

.top-section h2 {
    font-size: 58px;
    font-weight: 400;
    line-height: 1.2;
}

.top-section h2 span {
    display: block;
    font-family: "futura-pt", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #F4F2E1;
    margin-top: 0.8em;
    letter-spacing: 0.19em;
}

.info-supremeclass .nav-sticky-area {
    position: relative;
}

.info-supremeclass nav {
    display: block;
    position: sticky;
    top: 120px;
    padding: 20px 0;
    z-index: 9999;
}

.info-supremeclass nav::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(#301f00, #3b3b3b8a 63%, transparent);
    mix-blend-mode: multiply;
    opacity: 0.67;
    z-index: 0;
}

.info-supremeclass nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: min(1.15vw, 22px);
    position: relative;
    z-index: 1;
    list-style: none;
}

.info-supremeclass nav ul li {
    text-align: center;
    padding: 0 3.6em;
}

.info-supremeclass nav ul li:not(:first-of-type) {
    border-left: 1px solid #A49262;
}

.info-supremeclass nav ul li a {
    transition: all .3s;
}

@media (any-hover: hover) {
    .info-supremeclass nav ul li a:hover {
        opacity: 0.6;
    }
}

/****************************************************
Supreme Classについて
*****************************************************/
.about-section {
    background: url(../images/about-bg.png) no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.about-section .about-img {
    position: absolute;
    top: 0;
    left: 32.74vw;
    min-width: 1440px;
    z-index: 0;
}

.about-content {
    position: relative;
    padding: 115px 0 350px;
}

.about-ttl-wrap {
    display: flex;
    gap: 20px;
}

.about-section h3 {
    width: fit-content;
    margin: 55px 0 100px;
    padding-left: min(12.24vw, 100px);
    position: relative;
    text-align: left;
}

.about-section h3::before {
    content: "";
    height: 100%;
    width: 100%;
    background: url(../images/logo-supremeclass.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;
}

ul.about-list li {
    padding-left: 1em;
    position: relative;
}

ul.about-list li::before {
    content: "・";
    width: 1em;
    height: 1em;
    position: absolute;
    top: 0;
    left: 0;
}

ul.about-list li:not(:first-of-type) {
    margin-top: 2em;
}

a.link-btn {
    display: block;
    background: #ffffff;
    width: fit-content;
    color: #141414;
    border-radius: 6px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 100px;
    transition: all .3s;
}

a.link-btn span {
    display: block;
    width: 1.5em;
    height: 1.5em;
    border-radius: 3px;
    background: #A49262;
    position: relative;
    transition: all .3s;
}

a.link-btn span::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 5.7px;
    background: #ffffff;
    clip-path: polygon(0 41.2%, 71.7% 41.2%, 71.7% 0, 100% 50%, 71.7% 100%, 71.7% 58.8%, 0 58.8%);
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    transition: all .3s;
}

@media (any-hover: hover) {
    a.link-btn:hover {
        background: #A49262;
        color: #ffffff;
    }

    a.link-btn:hover span {
        background: #ffffff;
    }

    a.link-btn:hover span::after {
        background: #A49262;
        animation: arrow .3s forwards;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        translate: -100% -50%;
    }

    100% {
        opacity: 1;
        translate: -50% -50%;
    }
}

/****************************************************
ウェルカムサービス・モバイルオーダーサービス
*****************************************************/
.service-section {
    padding: 126px 0 194px;
}

.service-section .service-bg {
    width: 100%;
    height: calc(100% + 350px);
    position: absolute;
    top: -350px;
    left: 50%;
    translate: -50% 0;
    z-index: 0;
}

.service-section .service-bg img {
    object-fit: cover;
    object-position: top center;
}

.service-section .section-inner {
    position: relative;
}

.service-section h3 {
    margin-bottom: 90px;
    position: relative;
}

/* .service-section h3::before {
    content: "";
    height: 120%;
    width: 100%;
    background: url(../images/hd_logo_JR.png) no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
} */

.service-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-content:nth-of-type(2) {
    margin-top: -35px;
}

.service-content .service-img {
    border-radius: 10px;
    overflow: hidden;
}

.service-content:first-of-type .service-img {
    width: 64.14%;
}

.service-content:nth-of-type(2) .service-img {
    width: 50%;
}

.service-content:first-of-type p {
    width: 32.03%;
    line-height: 2;
}

.service-content:nth-of-type(2) p {
    width: 34.03%;
    line-height: 2;
}

.bg-wrap {
    background: url(../images/welcome-bg.png) no-repeat;
    background-size: cover;
    background-position: top center;
}

/****************************************************
ウェルカムサービス
*****************************************************/
.welcome-section {
    padding-top: 200px;
}

.welcome-section p.welcome-ttl-note {
    font-size: 12px;
    text-align: center;
    margin-top: 1em;
}

.welcome-section h3 {
    margin-bottom: 100px;
}

.product-card {
    border-radius: 10px;
    padding: 8px;
    background: #FFFFFF;
    border: 2px solid #A49262;
    text-align: center;
    max-width: 515px;
    width: 100%;
    filter: drop-shadow(0 3px 6px #00000025);
    position: relative;
    overflow: hidden;
}

.welcome-section .product-card {
    margin: 0 auto;
}

.product-card::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/product-card-bg.png) no-repeat;
    background-size: contain;
    background-position: center bottom;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.product-card-inner {
    border: 1px solid #A49262;
    border-radius: 5px;
    padding: 20px;
    position: relative;
}

.product-card .menu-note {
    font-size: 12px;
    color: #A49262;
}

.product-img img {
    object-fit: contain;
}

.product-card .product-name {
    color: #141414;
    font-size: min(2.08vw, 24px);
    line-height: 1.5;
    border-bottom: 1px solid #A49262;
    padding-bottom: 1em;
}


.product-card .product-price {
    color: #A49262;
    border-top: 1px solid #A49262;
    padding-top: 20px;
    margin-top: 4px;
}

.product-card .product-price p {
    text-align: center;
}

.product-card .product-price p span {
    font-size: 0.8em;
}

/* ポップアップ */
.open-button {
    cursor: pointer;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    height: calc(100% - 120px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.5s ease;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    background-color: #fff;
    border-radius: 25px;
    width: 90%;
    max-width: 1280px;
    max-height: 95%;
    animation: slideDown 0.8s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* iOSのSafariで、transformアニメーション終了後にoverflow:hidden内の
       絶対配置要素(スライダー矢印など)が再描画されず消える不具合への対策。
       常時GPU合成レイヤーに乗せておくことで、アニメーション終了時の
       レイヤー降格による再描画漏れを防ぐ。 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.popup-content-inner {
    padding: 84px 80px 84px 112px;
    min-height: 0;
    overflow-y: scroll;
}

.popup-content-inner::-webkit-scrollbar {
    width: 4px;
}

.popup-content-inner::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border-radius: 20px;
}

.popup-content::before {
    content: "";
    display: block;
    width: 80%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 55%;
    translate: 0 -50%;
    background: url(../images/pu-bg.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.popup-close {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.popup-close::before,
.popup-close::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #B9B9B9;
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    transform: rotate(45deg);
}

.popup-close::after {
    transform: rotate(-45deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translate3d(-50%, -40%, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(-50%, -50%, 0);
        opacity: 1;
    }
}

.pu-wrap {
    color: #141414;
    display: flex;
    justify-content: space-between;
}

.popup-left {
    width: 37.63%;
}

.slider-thumbnail .swiper-slide {
    opacity: .5;
    transition: opacity .5s;
    width: calc(100% / 4);
    cursor: pointer;
}

.slider-thumbnail .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
}

/* レイアウトのためのスタイル */
.popup-content .swiper {
    width: 100%;
}

.popup-content .swiper-watch-progress .swiper-wrapper {
    margin-bottom: 10px;
}

.welcome-section .popup-content .slider-thumbnail .swiper-wrapper:not(:first-of-type) {
    margin-top: 20px;
}

.popup-content .swiper-slide img {
    height: auto;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.popup-content .swiper-button-next,
.popup-content .swiper-button-prev {
    color: #ffffff;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 2.5rem;
}

.popup-right {
    width: 51.7%;
    position: relative;
}

.popup-right .pu-ttl-box {
    border-bottom: 1px solid #A49262;
    margin-bottom: 8px;
}

.popup-right .pu-sub-ttl {
    display: block;
    font-size: min(2.08vw, 22px);
    color: #A49262;
    font-weight: bold;
}

.popup-right .pu-ttl-box .pu-sub-ttl {
    text-align: end;
    padding: 0 0 24px 0;
}

.popup-right .pu-sub-ttl span {
    font-size: 0.8em;
}

.popup-right .pu-sub-ttl span.one-drink {
    margin-left: 1em;
}

.popup-right .pu-ttl {
    display: block;
    font-size: 28px;
    font-weight: bold;
    padding: 2rem 0 2rem 2em;
    position: relative;
    border-bottom: 1px solid #A49262;
    margin-bottom: 8px;
    line-height: 1.5;
}

.popup-right .pu-ttl-box .pu-ttl {
    border: none;
    margin: 0;
}

.popup-right .pu-ttl::before {
    content: "";
    display: block;
    width: 1.2em;
    height: 1px;
    background: #A49262;
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;
}

.popup-right p {
    padding-top: 24px;
    border-top: 1px solid #A49262;
    line-height: 2;
}

/****************************************************
Supreme Class商品紹介
*****************************************************/
.supreme-section {
    padding: 116px 0 200px;
    background: url(../images/supreme-bg.png) no-repeat;
    background-size: contain;
    background-position: top center;
}

.supreme-section h3 {
    margin-bottom: 54px;
}

.product-card-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: min(3.91vw, 74px);
}

.product-card-wrap:not(:first-of-type) {
    margin-top: 74px;
}

ul.note-kome {
    max-width: 1104px;
    margin: 50px auto 0;
}

ul.note-kome li {
    padding-left: 1em;
    position: relative;
    line-height: 1.8;
}

ul.note-kome li::before {
    content: "※";
    position: absolute;
    top: 0;
    left: 0;
}

.supreme-section .menu-link-wrap ul {
    gap: min(3.91vw, 74px);
    text-align: center;
}

.supreme-section .menu-link-wrap ul li {
    max-width: 426px;
    width: 50%;
}

#popup-03 a.link-btn {
    margin-top: 30px;
    padding: 10px 24px;
    border: 1px solid #A49262;
}

#popup-03 a.link-btn p {
    width: 100%;
    font-size: 14px;
    padding: 0;
    border: none;
    line-height: 1.4;
}

/****************************************************
モバイルオーダーサービス
（Supreme Class・グリーン車共通商品）
*****************************************************/

.mobile-section {
    color: #303030;
    padding: 270px 0 80px;
}

.mobile-section h3 {
    border-bottom: 1px solid #A49262;
    padding-bottom: 66px;
    position: relative;
}

.mobile-section h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #A49262;
    position: absolute;
    bottom: -4px;
    left: 0;
}

h3 p.sp-small {
    text-align: center;
}

.mobile-top-text {
    text-align: center;
    line-height: 1.5;
    padding: 70px 0 66px;
}

.menu-link-wrap {
    padding-top: 100px;
}

.menu-link-wrap ul {
    display: flex;
    justify-content: center;
    gap: 2%;
    row-gap: 30px;
    flex-wrap: wrap;
}

.menu-link-wrap ul:not(:first-of-type) {
    margin-top: 30px;
}

.menu-link-wrap ul li {
    width: 32%;
    max-width: 305px;
}

.menu-link-wrap ul li a {
    display: block;
    color: #ffffff;
    background: #A49262;
    padding: 0.8em 2em;
    font-size: min(2.34vw, 22px);
    font-weight: bold;
    border-radius: 9999px;
    text-align: center;
    position: relative;
}

.menu-link-wrap ul li a::after {
    content: "";
    display: block;
    width: 1em;
    height: 0.5em;
    background: url(../images/arrow-down.svg) no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 50%;
    right: 1.4em;
    translate: 0 -50%;
}

.menu-wrap {
    padding-top: 112px;
    scroll-margin-top: 120px;
}

.menu-wrap h4 {
    font-size: 28px;
    text-align: center;
    color: #7C540C;
    padding-bottom: 1em;
    border-bottom: 1px solid #A49262;
    margin-bottom: 50px;
}

.menu-flex {
    display: flex;
    gap: 3.125%;
    row-gap: 40px;
    flex-wrap: wrap;
}

.menu-item {
    width: 31.25%;
    background: #ffffff;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

#icecream .menu-item {
    padding: 20px 20px 34px;
}

.menu-item .menu-img {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
}

.menu-item .menu-img img {
    object-fit: contain;
}

.menu-item h5 {
    font-size: min(1.37vw, 20px);
    height: 5em;
    align-content: center;
}

.menu-item p {
    text-align: center;
    font-size: 20px;
    color: #A49262;
    padding: 20px 0 30px;
    border-top: 1px solid #A49262;
}

.menu-item p span.text-s {
    font-size: 16px;
}

.menu-item .menu-note {
    display: block;
    width: calc(100% - 40px);
    font-size: 12px;
    color: #A49262;
    position: absolute;
    bottom: 16px;
    left: 50%;
    translate: -50% 0;
}

#icecream .menu-item .menu-note {
    text-align: left;
}

.mobile-section ul.note-kome {
    max-width: none;
    margin-top: 100px;
}

.mobile-section ul.note-kome p {
    margin-bottom: 0.5em;
}

/****************************************************
バナー
*****************************************************/
.banner-section {
    background: #ffffff;
    padding: 80px 0 150px;
    color: #303030;
}

.banner-img {
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
}

.banner-img a {
    transition: all .3s;
}

.banner-section p {
    text-align: center;
    margin-top: 1em;
}

@media (any-hover: hover) {
    .banner-img a:hover {
        opacity: 0.8;
    }
}

/****************************************************
アニメーション
*****************************************************/
.anime {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s;
}

.anime.is-active {
    opacity: 1;
    transform: translate(0, 0);
}


@media screen and (max-width:1440px) {
    .popup-content {
        max-width: 1050px;
    }

    .popup-content-inner {
        padding: 40px 80px;
    }

    .popup-left {
        width: 36.63%;
    }

    .popup-right {
        width: 56.7%;
    }

    .popup-right .pu-ttl {
        font-size: min(2.34vw, 24px);
    }

    .popup-right .pu-sub-ttl span.one-drink {
        display: block;
        margin-left: 0;
        font-size: 0.6em;
        line-height: 1.4;
    }

    .popup-close {
        width: 35px;
        height: 35px;
        top: 16px;
        right: 16px;
    }
}