.all-content-bg {
    background: url(../img/common/all-contents-bg.png);
    background-repeat: repeat;
    background-size: 250px;
    position: relative;
}

.card_dec img {
    position: absolute;
    width: 12px !important;
}

.card_dec .top-left {
    top: 3px;
    left: 3px;
}

.card_dec .top-right {
    top: 3px;
    right: 3px;
    transform: scale(-1, 1);
}

.card_dec .bottom-right {
    bottom: 3px;
    right: 3px;
    transform: scale(-1, -1);
}

.card_dec .bottom-left {
    bottom: 3px;
    left: 3px;
    transform: scale(1, -1);
}

#loading-screen {
    width: 100%;
    height: 100dvh;
    position: fixed;
    background-color: #757575;
    z-index: 9999;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#loading-screen .top_loading_logo {
    width: 50%;
    max-width: 300px;
}

.top_nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    margin: auto;
    z-index: 99;
    font-size: 20px;
    background-color: #2D2D2D;
    padding: 12px 50px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.top_nav .button_links-img img {
    height: 50px;
}

.top_nav .button_links-img {
    display: flex;
    gap: 0.5em;
}

.top_nav .button_link {
    text-shadow: #ffffff 1px 0 10px;
    transition: opacity 0.8s ease;
}

.top_nav .button_link:hover {
    opacity: 0.8;
}

.top_nav .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.button_links {
    display: flex;
    gap: 1.5em;
}

.top_nav .button_logo {
    width: 100px;
}

.top_nav.active {
    opacity: 1;
    visibility: visible;
}

.language-select_btn .language_links {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    font-size: 16px;
    gap: 1em;
    padding: 1em 2em;
    background-color: #2d2d2d;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    width: 150px;
    align-items: center;
}

.language-select_btn .language_links.language_visible {
    opacity: 1;
    visibility: visible;
}

.language-select_btn .language_links.language_visible a {
    width: 100%;
    text-align: center;
    z-index: 999;
    transition: opacity 0.8s ease;
}

.language-select_btn .language_links.language_visible a:hover {
    opacity: 0.7;
}

.sub-title {
    margin: 0 auto 50px;
    max-width: 500px;
    width: 70%;
}

.movie-prev,
.movie-next {
    content: "";
    position: absolute;
    background: url(../img/common/arrow.png);
    aspect-ratio: 1 / 1;
    width: 40px;
    height: 40px;
    background-size: contain;
    top: 0;
    bottom: 0;
    margin: 70% auto 0;
    cursor: pointer;
}

.movie-prev {
    left: -50px;
}

.movie-next {
    right: -50px;
    transform: scale(-1, 1);
}

.banner-prev,
.banner-next {
    content: "";
    position: absolute;
    background: url(../img/common/arrow.png);
    aspect-ratio: 1 / 1;
    width: 40px;
    height: 40px;
    background-size: contain;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
}

.banner-prev {
    left: -50px;
}

.banner-next {
    right: -50px;
    transform: scale(-1, 1);
}

@media only screen and (max-width: 1200px) {
    .banner-next {
        right: -40px;
    }

    .banner-prev {
        left: -40px;
    }
}

@media only screen and (max-width: 1000px) {
    .top_nav-sp {
        position: fixed;
        top: 8px;
        right: 23px;
        z-index: 99;
        width: 55px;
        height: 55px;
        font-size: clamp(1.5rem, 1.3852rem + 0.4898vw, 1.875rem);
    }

    .top_nav-sp .language-select img {
        height: 45px;
    }

    .x-link {
        position: absolute;
        z-index: 99;
        width: 65px;
        height: 65px;
        top: 8px;
        right: 83px;
    }

    .top_nav-sp .menu-link {
        position: absolute;
        width: 65px;
        height: 65px;
    }

    .top_nav-sp .button_links {
        opacity: 0;
        visibility: hidden;
        text-shadow: #ffffff 1px 0 10px;
    }

    .top_nav-sp .button_links.menu_visible {
        opacity: 1;
        visibility: visible;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.8em;
        margin: 20% 0;
    }

    .language-select {
        border-top: 1px solid #fff;
        padding-top: 1.5em;
        margin-top: 0.5em;
    }

    .language-select_links {
        padding: 0 1em;
        font-size: clamp(1rem, 0.8469rem + 0.6531vw, 1.5rem);
        display: flex;
        gap: 0.8em;
    }

    .top_nav-sp:has(.menu_visible) {
        width: 100%;
        height: 100vh;
        background-color: #2D2D2D;
        top: 0;
        right: 0;
        overflow-y: auto;
    }

    .top_nav-sp:has(.menu_visible) .menu-link {
        top: 8px;
        right: 13px;
    }

    .sub-title {
        margin: 0 auto 30px;
        max-width: 350px;
        width: 80%;
    }
}

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

    .movie-prev,
    .movie-next {
        width: 30px;
        height: 30px;
    }

    .banner-prev,
    .banner-next {
        width: 25px;
        height: 25px;
    }

    .movie-next {
        right: -35px;
        margin-top: 73%;
    }

    .movie-prev {
        left: -35px;
        margin-top: 73%;
    }

    .banner-next {
        right: -25px;
    }

    .banner-prev {
        left: -25px;
    }
}

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

    .movie-prev,
    .movie-next {
        width: 20px;
        height: 20px;
    }

    .banner-prev,
    .banner-next {
        width: 20px;
        height: 20px;
    }

    .movie-next {
        right: -25px;
        margin-top: 69%;
    }

    .movie-prev {
        left: -25px;
        margin-top: 69%;
    }

    .banner-next {
        right: -25px;
    }

    .banner-prev {
        left: -25px;
    }

    .top_nav-sp .menu-link {
        width: 55px;
        height: 55px;
    }

    .x-link {
        width: 55px;
        height: 55px;
        top: 8px;
        right: 63px;
    }

    .top_nav-sp {
        right: 6px;
    }

    .top_nav-sp:has(.menu_visible) .menu-link {
        right: 6px;
    }
}

/* ----------------top------------------ */
#top {
    padding-top: 0;
    padding-bottom: 150px;
}

#top .top_head {
    align-items: center;
}

#top .top_head {
    width: 100%;
}

#top .top_logo {
    max-width: 80px;
    width: 15%;
}

#top .top-head_links-img {
    padding: 0 20px;
    gap: 10px;
    width: 23%;
    max-width: 280px;
}

#top .top-head_links-img .language-select_btn {
    width: 70%;
    cursor: pointer;
}

.top_nav .language-select_btn {
    cursor: pointer;
}

.language-select_btn img {
    transition: opacity 0.8s ease;
}

.language-select_btn img:hover {
    opacity: 0.7;
}

#top .top-head_links-img .x-link {
    width: 23%;
}

#top .top_head .language-select_btn .language_links.language_visible {
    display: flex;
    flex-direction: column;
    width: 165px;
    align-items: center;
    text-shadow: #ffffff 1px 0 10px;
}

#top .top_bg {
    background: url(../img/common/top_bg.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100%;
}

#top .main_logo {
    max-width: 600px;
    width: 60%;
    margin: 0 auto 30px;
}

#top .top_bg img {
    width: 100%;
}

#top .movie_main-contents,
#top .thumbnail {
    max-width: 800px;
    width: 70%;
    margin: auto;
}

#top .slick_movie .youtube_ctrl_img,
#top .thumbnail img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#top .thumbnail.hidden {
    display: none;
}

#top .slick_movie {
    padding: 3em;
    background: url(../img/common/content-bg.jpg);
    background-repeat: repeat;
    background-size: 100px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}

#top .youtube_play {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 3;
    width: 70px !important;
    height: 70px;
}

#top .movie-thumb_contents {
    padding: 4px;
    margin: 15px 7px;
    background: url(../img/common/content-bg.jpg);
    background-repeat: repeat;
    background-size: 100px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}

#top .movie_main-contents {
    position: relative;
}

#top .thumbnail.is-static {
    display: flex;
    justify-content: center;
    /* 中央寄せ */
}

#top .thumbnail.is-static .movie-thumb_contents {
    cursor: pointer;
    flex: 0 0 auto;
    /* サイズを固定 */
    width: 32%;
    /* サムネ幅は調整 */
}

#top .js-modal-btn {
    cursor: pointer;
}

@media only screen and (max-width: 1600px) {
    #top .top_bg {
        background-size: 1920px;
    }
}

@media only screen and (max-width: 1000px) {
    #top .top_bg {
        background-size: 1500px;
    }
}

@media only screen and (max-width: 480px) {
    #top .top_bg {
        background-size: 1000px;
    }

    #top .slick_movie {
        padding: 1em;
    }

    #top .movie_main-contents,
    #top .thumbnail {
        width: 80%;
    }

    #top .main_logo {
        width: 80%;
        margin: 0 auto 0px;
        padding-top: 45px;
    }

    #top .movie-thumb_contents {
        padding: 4px;
        margin: 10px 4px;
    }

    #top .youtube_play {
        width: 50px !important;
        height: 50px;
    }

    #top {
        padding-bottom: 100px;
    }
}

/* ----------------news------------------ */
#news {
    background: url(../img/common/content-bg.jpg);
    background-repeat: repeat;
    background-size: 100px;
    position: relative;
    margin-bottom: 0;
}

#news::before {
    position: absolute;
    content: "";
    top: -39px;
    left: 0;
    width: 100%;
    z-index: 2;
    height: 45px;
    background: url(../img/common/content-bg-dec.png);
    background-size: contain;
    background-repeat: repeat-x;
}

#news::after {
    position: absolute;
    content: "";
    bottom: -40px;
    left: 0;
    width: 100%;
    z-index: 2;
    transform: scale(1, -1);
    height: 45px;
    background: url(../img/common/content-bg-dec.png);
    background-size: contain;
    background-repeat: repeat-x;
}

#news .news_links {
    height: 220px;
    overflow-y: auto;
    padding-right: 15px;
}

#news .news_links::-webkit-scrollbar {
    width: 5px;
}

#news .news_links::-webkit-scrollbar-track {
    background-color: #ffffff;
}

#news .news_links::-webkit-scrollbar-thumb {
    background-color: #656563;
}

#news .news_area {
    background-color: #4444447a;
    border: #4E4E4E 3px solid;
    outline: 1px solid #323232;
    outline-offset: -8px;
    position: relative;
    max-width: 1020px;
    width: 95%;
    margin: auto;
    padding: 50px 70px;
    gap: 1.5em;
}

#news .news_tag {
    text-shadow: #000 1px 0 10px;
}

#news .news_tag a {
    transition: opacity 0.8s ease;
}

#news .news_tag a:hover {
    opacity: 0.7;
}

#news .card_dec .top-left {
    top: 8px;
    left: 8px;
}

#news .card_dec .top-right {
    top: 8px;
    right: 8px;
}

#news .card_dec .bottom-left {
    bottom: 8px;
    left: 8px;
}

#news .card_dec .bottom-right {
    bottom: 8px;
    right: 8px;
}

#news .news_title h2 {
    width: 80%;
    margin-bottom: 40px;
}

#news .news_title .flex_sb {
    align-items: flex-end;
    width: 80%;
}

#news .news_title {
    width: 30%;
    border-right: 1px solid #fff;
}

#news .news_links {
    width: 60%;
}

#news .news_link_date {
    display: block;
    width: 90px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: bold;
}

#news .news_tag {
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

#news .news_link_date {
    position: relative;
}

#news .news_link_date::after {
    content: '';
    position: absolute;
    background: url(../img/common/news_date-bg.png);
    background-size: contain;
    width: 90px;
    height: 26px;
    top: 0;
    left: 0;
    z-index: -1;
}

#news .news_title_dec1 {
    width: 69%;
}

#news .news_title_dec2 {
    width: 28%;
}

@media only screen and (max-width: 1000px) {
    #news .news_area {
        max-width: 660px;
    }

    #news .news_title {
        display: flex;
        justify-content: space-between;
        width: 100%;
        border: none;
    }

    #news .news_title .flex_sb {
        margin: 0;
        width: 43%;
    }

    #news .news_links {
        height: 144px;
        width: 100%;
    }

    #news .news_title h2 {
        width: 40%;
    }
}

@media only screen and (max-width: 640px) {
    #news .news_area {
        padding: 35px;
    }

    #news .news_title h2 {
        width: 43%;
    }

    #single-news .link-button {
        width: 250px;
    }

    #news .news_title h2 {
        width: 51%;
        margin-bottom: 0;
    }

    #news .news_title .flex_sb {
        width: 43%;
    }
}

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

    #news::before {
        top: -36px;
    }

    #news::after {
        bottom: -36px;
    }
}

/* ----------------banner------------------ */

#banner .slick_banner {
    max-width: 1020px;
    width: 95%;
    margin: 50px auto 0;
}

#banner .banner_link {
    padding: 0 8px;
}

@media only screen and (max-width: 1000px) {
    #banner .slick_banner {
        max-width: 660px;
        margin: 30px auto 0;
    }
}

@media only screen and (max-width: 768px) {
    #banner .banner_link {
        padding: 0 5px;
    }
}

@media only screen and (max-width: 480px) {
    #banner .slick_banner {
        width: 85%;
    }

    #banner .banner_link {
        padding: 0 3px;
    }
}

/* ----------------single-news------------------ */
#single-news {
    background: url(../img/common/content-bg.jpg);
    background-repeat: repeat;
    background-size: 100px;
    position: relative;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}

.single-news {
    background: url(../img/common/content-bg.jpg);
    background-repeat: repeat;
    background-size: 100px;
    position: relative;
    font-family: "Noto Serif JP", serif;
}

.single-news .top_nav {
    visibility: visible;
    opacity: 1;
}

#single-news h1 {
    max-width: 250px;
    width: 100%;
    margin: auto;
}

#single-news .news_date {
    text-align: center;
    font-weight: bold;
}

#single-news h2 {
    font-weight: bold;
    font-size: 24px;
    max-width: 800px;
    margin: 30px auto;
}

#single-news .single-news_inner {
    padding: 0 50px;
    color: #32373c;
    font-weight: 600;
}

#single-news .link-button {
    background: url(../img/common/shop-list_link_contents-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 400px;
    margin: 30px auto 0;
    display: block;
    clip-path: polygon(10px 0%,
            /* 上左 */
            calc(100% - 10px) 0%,
            /* 上右 */
            100% 10px,
            /* 右上 */
            100% calc(100% - 10px),
            /* 右下 */
            calc(100% - 10px) 100%,
            /* 下右 */
            10px 100%,
            /* 下左 */
            0% calc(100% - 10px),
            /* 左下 */
            0% 10px
            /* 左上 */
        );
}

#single-news iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 500/281;
    max-width: 1000px;
    display: block;
    margin: auto;
}

#single-news .back_link {
    padding: 10px 20px;
    font-weight: bold;
    text-align: center;
    font-size: clamp(1rem, 0.8964rem + 0.442vw, 1.25rem);
    transition: opacity 0.8s ease;
    text-shadow: #000 1px 0 10px;
    letter-spacing: 0.05em;
}

#single-news .back_link:hover {
    opacity: 0.7;
}

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

    #single-news h2 {
        font-size: 18px;
    }

    #single-news .single-news_inner {
        padding: 0 20px;
    }

    #single-news h1 {
        max-width: 150px;
    }

    #single-news .link-button {
        width: 250px;
    }
}

/* ----------------story------------------ */

#story {
    z-index: 1;
    position: relative;
    margin-bottom: 0;
    padding-top: 120px;
    padding-bottom: 100px;
}

.story-bg {
    background: url(../img/story-bg.jpg);
    width: 100%;
    background-size: cover;
    position: relative;
}

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

    #story {
        padding-top: 90px;
        padding-bottom: 70px;
    }
}

/* ----------------characters------------------ */

#characters {
    padding-top: 100px;
    padding-bottom: 120px;
}

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

    #characters {
        padding-top: 70px;
        padding-bottom: 100px;
    }

    #characters .sub-title {
        width: 90%;
    }
}

/* ----------------system------------------ */

#system {
    z-index: 1;
    position: relative;
    margin-bottom: 0;
}


#system::after {
    position: absolute;
    content: "";
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 0;
    height: 75px;
    transform: scale(1, -1);
    background: url(../img/common/content-bg-dec-linner.png);
    background-size: contain;
}

.system-bg {
    position: relative;
    background: url(../img/common/content-bg.jpg);
    background-repeat: repeat;
    background-size: 100px;
}

.system-bg::before {
    position: absolute;
    content: "";
    top: -40px;
    left: 0;
    width: 100%;
    z-index: -1;
    height: 45px;
    background: url(../img/common/content-bg-dec.png);
    background-size: contain;
    background-repeat: repeat-x;
}

.system-bg::after {
    position: absolute;
    content: "";
    bottom: -41px;
    left: 0;
    width: 100%;
    z-index: -1;
    transform: scale(1, -1);
    height: 45px;
    background: url(../img/common/content-bg-dec.png);
    background-size: contain;
    background-repeat: repeat-x;
}

@media only screen and (max-width: 480px) {
    #system::after {
        height: 35px;
    }
}

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

    .system-bg::before {
        top: -36px;
    }

    .system-bg::after {
        bottom: -36px;
    }
}

/* ----------------product------------------ */
#product {
    padding-top: 120px;
    padding-bottom: 120px;
}

#product .product_info-img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px;
}

#product .product_info-package-title {
    font-size: clamp(1.875rem, 1.0981rem + 3.3149vw, 3.75rem);
    font-weight: bold;
    text-shadow: #000 1px 0 10px;
}

#product .product_info-package-title-lead {
    font-size: clamp(1.25rem, 0.8615rem + 1.6575vw, 2.1875rem);
    line-height: 1;
    font-weight: bold;
    text-shadow: #000 1px 0 10px;
}

#product .product_info-package-title {
    background: url(../img/common/product_info-package-title_bg.png);
    background-repeat: no-repeat;
    width: fit-content;
    background-size: contain;
    background-position: center;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

#product .product_info-package-info {
    font-size: clamp(0.6875rem, 0.6357rem + 0.221vw, 0.8125rem);
    text-shadow: #000 1px 0 10px;
    line-height: 1.4;
}

#product .product_info-package-img {
    width: 200px;
}

#product .product_info-package-text {
    width: fit-content;
}

#product .shop-list_main {
    gap: 3em 1.5em;
    margin-bottom: 70px;
}

#product .shop-lists {
    width: 32%;
    min-width: 350px;
}

#product .shop-list_img {
    background: url(../img/common/content-bg.jpg);
    background-repeat: repeat;
    background-size: 100px;
    padding: 20px;
    border: #4E4E4E 3px solid;
    position: relative;
}

#product .shop-list_goods-name {
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    margin: 0.5em 0;
}

#product .link-button {
    background: url(../img/common/shop-list_link_contents-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    margin-bottom: 15px;
    display: block;
    clip-path: polygon(10px 0%,
            /* 上左 */
            calc(100% - 10px) 0%,
            /* 上右 */
            100% 10px,
            /* 右上 */
            100% calc(100% - 10px),
            /* 右下 */
            calc(100% - 10px) 100%,
            /* 下右 */
            10px 100%,
            /* 下左 */
            0% calc(100% - 10px),
            /* 左下 */
            0% 10px
            /* 左上 */
        );
    transition: opacity 0.8s ease;
}

#product .link-button:hover {
    opacity: 0.8;
}

#product .shop-list_link_contents {
    padding: 10px 20px;
    position: relative;
    font-weight: bold;
    font-size: clamp(0.875rem, 0.7714rem + 0.442vw, 1.125rem);
    text-shadow: #000 1px 0 10px;
}

#product .product_info-dl-title {
    background: url(../img/common/product_info-package-title_bg.png);
    background-repeat: no-repeat;
    width: fit-content;
    background-size: contain;
    background-position: center;
    line-height: 1.4;
    font-size: clamp(1.75rem, 1.1802rem + 2.4309vw, 3.125rem);
    text-shadow: #000 1px 0 10px;
    text-align: center;
    font-weight: bold;
    margin: auto;
    letter-spacing: 0.05em;
}

#product .dl-store_link_contents {
    background: url(../img/common/dl-store_link_contents.png);
    background-repeat: no-repeat;
    width: fit-content;
    background-size: contain;
    background-position: center;
    display: block;
    font-weight: bold;
    text-shadow: #000 1px 0 10px;
    max-width: 700px;
    width: 100%;
    font-size: clamp(0.8125rem, 0.5276rem + 1.2155vw, 1.5rem);
    color: #B4B4B4;
    margin: auto;
    aspect-ratio: 153 / 23;
    position: relative;
    margin-bottom: 20px;
}

#product .dl-store_link_contents.active {
    background: url(../img/common/dl-store_link_contents-active.png);
    background-repeat: no-repeat;
    width: fit-content;
    background-size: contain;
    background-position: center;
    display: block;
    font-weight: bold;
    text-shadow: #000 1px 0 10px;
    width: 100%;
    font-size: clamp(1rem, 0.6374rem + 1.547vw, 1.875rem);
    color: #fff;
    margin: auto;
    aspect-ratio: 153 / 23;
    position: relative;
}

#product a:has(.dl-store_link_contents.active) {
    max-width: 700px;
    width: 100%;
    display: block;
    margin: 0 auto 20px;
}

#product .link-icon img {
    position: absolute;
    aspect-ratio: 1 / 1;
    width: 30px;
    height: auto;
    right: 40px;
    top: 0;
    bottom: 0;
    margin: auto;
}

#product .shop-list_link_contents .link-icon img {
    right: 20px;
    width: 25px;
}

#product .shop-dl_img {
    max-width: 600px;
    width: 100%;
    border: #323232 3px solid;
    margin: 30px auto 50px;
}

#product .product_info-package {
    gap: 1.5em;
    margin: 0 auto 50px;
}

#product .dl-store_link_contents-text {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    width: 90%;
}

#product .shop-list-card_dec .dec {
    position: absolute;
}

#product .shop-list-card_dec .dec {
    width: 5px;
    height: 5px;
    background-color: #323232;
}

#product .shop-list-card_dec .top-left {
    top: 3px;
    left: 3px;
}

#product .shop-list-card_dec .top-right {
    top: 3px;
    right: 3px;
}

#product .shop-list-card_dec .bottom-right {
    bottom: 3px;
    right: 3px;
}

#product .shop-list-card_dec .bottom-left {
    bottom: 3px;
    left: 3px;
}

@media only screen and (max-width: 1000px) {
    #product .shop-lists {
        width: 48%;
        min-width: auto;
    }

    #product .dl-store_link_contents {
        max-width: 560px;
    }

    #product .shop-dl_img {
        max-width: 480px;
    }

    #product .product_info-img {
        max-width: 680px;
    }
}

@media only screen and (max-width: 640px) {
    #product .shop-lists {
        width: 80%;
        max-width: 350px;
    }

    #product .product_info-package-title-lead {
        text-align: center;
    }

    #product .product_info-package-title {
        margin: auto;
    }

    #product .shop-list_goods-name {
        font-size: 20px;
    }

    #product {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}

@media only screen and (max-width: 480px) {
    #product .dl-store_link_contents-text {
        left: 20px;
    }

    #product .dl-store_link_contents {
        margin-bottom: 15px;
    }

    #product .shop-dl_img {
        margin: 20px auto 20px;
    }

    #product .product_info-package-info {
        width: 80%;
        margin: 1em auto 0;
    }

    #product .product_info-img {
        margin: 0 auto 30px;
    }

    #product .product_info-package {
        margin: 0 auto 30px;
    }

    #product .shop-list_link_contents .link-icon img {
        width: 20px;
    }

    #product .link-icon img {
        width: 20px;
        right: 20px;
    }
}

@media only screen and (max-width: 375px) {
    #product .dl-store_link_contents {
        font-size: 12px;
    }

    #product .dl-store_link_contents-text {
        left: 15px;
    }

    #product .dl-store_link_contents-text {
        left: 15px;
    }

    #product .dl-store_link_contents.active {
        font-size: 14px;
    }

    #product .link-icon img {
        width: 15px;
        right: 15px;
    }
}

/* ----------------footer------------------ */

footer .wrapper {
    padding-top: clamp(4.375rem, 3.598rem + 3.315vw, 6.25rem);
}

footer .footer_detail .wrapper {
    padding: 0 40px 40px 40px;
}

.footer-bg {
    background: url(../img/common/footer-bg.jpg);
    width: 100%;
    background-size: cover;
    position: relative;
}

.footer-bg::before {
    position: absolute;
    content: "";
    top: -40px;
    left: 0;
    width: 100%;
    z-index: -1;
    height: 45px;
    background: url(../img/common/content-bg-dec.png);
    background-size: contain;
    background-repeat: repeat-x;
}

footer .footer_spec {
    max-width: 1000px;
    width: 100%;
    background: url(../img/common/content-bg.jpg);
    background-repeat: repeat;
    background-size: 100px;
    position: relative;
    margin: auto;
    margin-bottom: clamp(4.375rem, 3.598rem + 3.315vw, 6.25rem);
    padding: 50px;
    border: #323232 3px solid;
    border: #323232 3px solid;
    outline: 1px solid #323232;
    outline-offset: -8px;
}

footer .footer_concept-img {
    width: 35%;
}

footer .footer_spec_table {
    width: 55%;
    color: #323232;
    font-weight: bold;
}

footer .footer_spec_table th {
    width: 130px;
    display: block;
    text-align: center;
    position: relative;
    z-index: 2;
    font-size: 13px;
    color: #fff;
}

footer .footer_spec_table th::after {
    content: '';
    position: absolute;
    background: url(../img/common/footer_th_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 130px;
    height: 26px;
    top: -1px;
    left: 0;
    z-index: -1;
}

footer#footer_en .footer_spec_table th::after {
    background: url(../img/common/footer_th_bg_en.png);
    width: 190px;
    height: 27px;
    background-size: contain;
    background-repeat: no-repeat;
}

footer#footer_en .footer_spec_table th {
    width: 190px;
}

footer .footer_spec_table td {
    width: 100%;
    display: block;
    padding-top: 10px;
    line-height: 1.4;
    color: #382F2C;
}

footer .footer_spec_table tr {
    display: block;
    margin-bottom: 1em;
}

footer .footer_spec_table tr:last-child {
    margin-bottom: 0;
}

footer .card_dec .top-left {
    top: 8px;
    left: 8px;
}

footer .card_dec .top-right {
    top: 8px;
    right: 8px;
}

footer .card_dec .bottom-left {
    bottom: 8px;
    left: 8px;
}

footer .card_dec .bottom-right {
    bottom: 8px;
    right: 8px;
}

footer .footer_detail {
    background-color: #2D2D2D;
    text-align: center;
    position: relative;
}

footer .footer_official_sns {
    padding: 1.5em 20px;
    border-bottom: #4E4E4E 1px solid;
    margin-bottom: 50px;
}

footer .footer_official_sns-title {
    font-size: clamp(1.125rem, 0.9437rem + 0.7735vw, 1.5625rem);
    font-weight: bold;
    background: linear-gradient(90deg, #B4B4B4 0%, #D9D9D9 100%);
    background: -webkit-linear-gradient(90deg, #B4B4B4 0%, #D9D9D9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer .footer_sns-area {
    font-size: clamp(1.25rem, 0.732rem + 2.2099vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    padding: 25px 50px;
    border: #4E4E4E solid 3px;
    line-height: 1;
    position: relative;
    width: fit-content;
    margin: 0 auto 50px;
}

footer .footer_share {
    margin-bottom: 20px;
    background: linear-gradient(90deg, #B4B4B4 0%, #D9D9D9 100%);
    background: -webkit-linear-gradient(90deg, #B4B4B4 0%, #D9D9D9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer .flex_cn {
    gap: 20px 25px;
    align-items: center;
}

footer .footer_company img,
footer .footer_sns img {
    height: 40px;
}

footer .footer_company img.tate {
    height: 80px;
}

footer .footer_text_links .flex_cn {
    gap: 0.5em 1em;
    font-size: 13px;
}

footer .footer_text {
    text-align: center;
    font-size: 13px;
}

footer .footer_text_links .footer_link:first-child {
    width: 100%;
    text-align: center;
}

footer .totop_button {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 99;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.8);
    width: 50px;
    height: fit-content;
}

footer .footer_company {
    margin: 0 auto 30px;
}

footer .totop_button.totop_button_stop {
    position: absolute;
    right: 10px;
    top: -64px;
}

footer .flex_cn:has(.footer_link) {
    text-decoration: underline;
    margin: 30px auto;
}

@media only screen and (max-width: 768px) {
    footer .footer_concept-img {
        width: 60%;
        max-width: 300px;
        margin: 0 auto 30px;
    }

    footer .footer_official_sns {
        padding: 15px 20px 20px;
        border-bottom: #4E4E4E 1px solid;
        margin-bottom: 30px;
    }

    footer .footer_spec_table {
        width: 100%;
    }

    footer .footer_detail .wrapper {
        padding: 0 20px 40px 20px;
    }

    footer .footer_official_sns-title {
        width: 100%;
    }

    footer .footer_sns-area {
        padding: 25px 30px;
        margin: 0 auto 30px;
        border: #4E4E4E solid 2px;
    }

    footer .totop_button {
        width: 40px;
    }

    footer .totop_button.totop_button_stop {
        top: -54px;
    }

    footer .footer_spec {
        padding: 50px 30px;
        max-width: 560px;
    }

    footer .flex_cn {
        gap: 20px 20px;
    }

    footer .footer_text {
        font-size: 11px;
    }

    footer .footer_text_links .flex_cn {
        font-size: 11px;
    }
}

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

    .footer-bg::before {
        top: -36px;
    }

    #news::after {
        bottom: -36px;
    }
}

/* ----------------404------------------ */

#page_404 .img_404 {
    max-width: 300px;
    margin: 0 auto 30px;
}

#page_404 .contents_404 {
    font-size: 24px;
    text-align: center;
}

#page_404 .back_link {
    padding: 10px 20px;
    font-weight: bold;
    text-align: center;
    font-size: clamp(1rem, 0.8964rem + 0.442vw, 1.25rem);
    text-shadow: #000 1px 0 10px;
    letter-spacing: 0.05em;
}

#page_404 .link-button {
    background: url(../img/common/shop-list_link_contents-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 400px;
    margin: 30px auto 0;
    display: block;
    clip-path: polygon(10px 0%,
            /* 上左 */
            calc(100% - 10px) 0%,
            /* 上右 */
            100% 10px,
            /* 右上 */
            100% calc(100% - 10px),
            /* 右下 */
            calc(100% - 10px) 100%,
            /* 下右 */
            10px 100%,
            /* 下左 */
            0% calc(100% - 10px),
            /* 左下 */
            0% 10px
            /* 左上 */
        );
}

@media only screen and (max-width: 640px) {
    #page_404 .link-button {
        width: 250px;
    }
}