:root {
    --color-enjoy-gold: #b69244;
}

/*--------------------------------------
  ヘッダ部
--------------------------------------*/

#main-visual:has(.header-contents) {
    padding: 0;
    height: auto;
}

#main-visual .header-contents {
    padding: 0;
    position: relative;
    display: grid;
    gap: 0;
    grid-template-columns: 340px 1fr;
    max-width: 95%;
    width: 1000px;
    margin: 0 auto;
}

#main-visual .header-contents>div:first-child {
    padding: 80px 0 45px 0;
}

#main-visual .header-contents h1 img {
    height: 150px;
    width: auto;
}

#main-visual .header-contents h2,
#main-visual .header-contents p {
    padding-left: 0;
}

#main-visual .header-contents p {
    letter-spacing: 2px;
}

#main-visual{
    overflow: hidden;
}
#main-visual::after {
    position: absolute;
    background: linear-gradient(90deg, rgba(197, 156, 16, 1) 0%, rgba(197, 157, 17, 1) 0.06%, rgba(211, 175, 55, 1) 2.07%, rgba(223, 191, 87, 1) 4.26%, rgba(233, 205, 115, 1) 6.71%, rgba(241, 217, 138, 1) 9.46%, rgba(247, 225, 156, 1) 12.61%, rgba(252, 231, 168, 1) 16.45%, rgba(254, 235, 175, 1) 21.67%, rgba(255, 236, 177, 1) 34.5%, rgba(254, 235, 174, 1) 49.81%, rgba(251, 230, 165, 1) 60.17%, rgba(245, 223, 150, 1) 69.07%, rgba(238, 212, 129, 1) 77.14%, rgba(228, 198, 101, 1) 84.65%, rgba(215, 181, 67, 1) 91.75%, rgba(201, 161, 27, 1) 98.41%, rgba(197, 156, 16, 1) 100%);
    content: "";
    height: 100%;
    width: 100vw;
    max-width: 100vw;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

h2 {
    color: var(--color-enjoy-gold);
    letter-spacing: 0.1em;
    font-feature-settings: "palt";
}

.content-header-lead {
    letter-spacing: 0.2em;
    color: var(--color-enjoy-gold);
    text-shadow: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.875;
    font-feature-settings: "palt";
}

.content-header-lead span {
    display: block;
}

.contents .contents-inner {
    margin: 0;
    padding: 0;
}

.enjoy-header-bg {
    position: relative;
}

.enjoy-header-bg img {
    position: absolute;
    height: 100%;
    width: auto;
    max-width: unset;
    object-fit: contain;
    object-position: bottom;
    left: -140px;
    bottom: 0;
}


@media screen and (min-width: 1200px) {
    #main-visual .header-contents {
        width: 1200px;
        padding-left: 90px;
    }
    .enjoy-header-bg img {
        left: -45px;
    }
}
@media screen and (max-width: 1199px) {

    .enjoy-header-bg {
        width: 100%;
        position: relative;
    }

    .enjoy-header-bg img {
        width: 88vw;
        max-width: unset;
        height: auto;
        max-height: 100%;
        position: absolute;
        object-fit: contain;
        left: -140px;
        bottom: 0;
    }
}


@media screen and (min-width: 640px) and (max-width: 1023px) {
    .enjoy-header-bg {}
}

@media screen and (min-width: 640px) {

    #main-top #main-contents:after {
        display: none;
    }

}


@media screen and (max-width: 959px) {

    #main-visual .header-contents {
        padding-left: 0;
        padding-right: 0;
        grid-template-columns: 1fr;
        padding-bottom: 0;
        width: 100%;
        max-width: 100%;
    }

    #main-visual .header-contents>div:first-child {
        width: 100%;
        padding-bottom: 20px;
        margin: 0 auto;
        align-self: center;
        max-width: calc(100% - 100px);
    }

    #main-visual .header-contents h1 img {
        height: auto;
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
    }

    #main-visual h1>img.sp,
    #main-visual .enjoy-header-bg>img.sp {
        display: block !important;
    }

    #main-visual h1>img.pc,
    #main-visual .enjoy-header-bg>img.pc {
        display: none !important;
    }

    #main-visual .header-contents h2 {
        font-size: 32px;
        letter-spacing: 0.1em;
        margin-top: 20px;
        text-align: center;
        margin-bottom: 20px;
    }

    #main-visual .header-contents p.content-header-lead {
        font-size: 20px;
        margin-top: 10px;
        text-align: center;
        font-weight: 500;
        letter-spacing: 0.4em;
    }

    #main-visual .header-contents .content-header-lead span {
        display: inline-block;
    }

    #main-visual .header-contents .enjoy-header-bg img {
        width: 100%;
        height: auto;
        position: relative;
        bottom: 0;
        margin: 0 auto;
        object-position: bottom;
        left: -50%;
        transform: translateX(50%);
    }

}

@media screen and (max-width: 639px){
    #main-visual {
        aspect-ratio: unset !important;
    }
    #main-visual .header-contents {
        width: 100%;
    }
    
    #main-visual .header-contents>div:first-child{
        max-width: 95%;
        padding-top: 30px;
    }
        #main-visual .header-contents h1 img {
        height: auto;
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
    }
        #main-visual .header-contents h2 {
        font-size: 24px;
        letter-spacing: 0.1em;
        margin-top: 15px;
        text-align: center;
        margin-bottom: 20px;
    }

     #main-visual .header-contents p.content-header-lead {
    font-size: 15px; 
    letter-spacing: 0.1em;
    }
    #main-visual .header-contents .enjoy-header-bg img {
        object-fit: cover;
        aspect-ratio: 16 / 9;
    }
}

/*--------------------------------------
  バナー
*/
#main-contents #enjoy-banners {
    margin-top: 60px;
}

#main-contents #enjoy-banners img {
    max-width: 100%;
    display: block;
}

#main-contents #enjoy-banners .four-column {
    gap: 30px;
}

#main-contents #enjoy-banners .long-banner {
    margin-top: 30px;
}

/*--------------------------------------
  スライド
*/
#enjoy-slides .enjoy-view img {
    height: auto;
    width: 100%;
    object-fit: cover;
}