/* FS用CSS */
.fs-l-main {
    padding: 0 !important;
}

.fs-c-heading.fs-c-heading--page {
    display: none;
}

.fs-l-footer {
    margin-top: 0;
}

#renewal-header.renew2025 {
    margin-bottom: 0;
}

#infinity-sale {
    max-width: 1000px;
    width: 100%;
    background-color: #fff;
    margin: 0 auto;
    color: #000;
    margin: 0 auto;
    overflow-x: hidden;
}

#infinity-sale a:hover {
    opacity: 1;
}

#infinity-sale img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#infinity-sale ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#infinity-sale p,
#infinity-sale h2 {
    margin: 0;
    line-height: 0;
}

#details {
    position: relative;
}

#details .car {
    max-width: 814px;
    width: 81.4%;
    margin-left: 9%;
    z-index: 0;
}

#details .logo {
    margin-bottom: 4%;
    position: relative;
}

/* カテゴリスライダー */
#details .inner_details {
    max-width: 950px;
    width: 97%;
    margin: 7% auto 0;
}

#details .cat-block {
    margin: 0 0 7%;
}

#details .cat-title {
    font-size: min(4.3vw, 34px);
    font-weight: 900;
    line-height: 1;
    margin: 0 0 3%;
    padding: 0.2em 0 0.2em 0.6em;
    border-left: 7px solid #B20012;
}

#details .cat-slider {
    position: relative;
}

#details .cat-track {
    display: flex;
    gap: 2.6%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 2%;
    scrollbar-width: none;
}

#details .cat-track::-webkit-scrollbar {
    display: none;
}

#details .cat-track .collection {
    position: relative;
    flex: 0 0 31.6%;
    max-width: 444px;
    width: auto;
    margin: 0;
    border: 1px solid #FFFFFF;
    box-shadow: 0px 0px 10px #FFFFFF;
    border-radius: 15px;
    scroll-snap-align: start;
}

#details .collection .title {
    margin: 2% auto 0.2%;
    width: 97%;
}

#details .collection .title img,
#details .buybtn img {
    display: block;
}

#details .buybtn {
    max-width: 398px;
    width: 86.1%;
    display: block;
    margin: 0 auto 5%;
}

#details .cat-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    z-index: 5;
    opacity: 0.85;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#details .cat-arrow svg {
    width: 42%;
    height: 42%;
    display: block;
}

#details .cat-arrow:hover {
    background: #111111;
    color: #FFEC97;
    opacity: 1;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.45);
}

#details .cat-arrow:active {
    transform: translateY(-50%) scale(0.92);
}

#details .cat-arrow.prev {
    left: 6px;
}

#details .cat-arrow.next {
    right: 6px;
}

#details .cat-arrow:disabled {
    opacity: 0.28;
    cursor: default;
    box-shadow: none;
}

#details .cat-arrow:disabled:hover {
    background: #fff;
    color: #1a1a1a;
}

.coupon-area {
    max-width: 900px;
    margin: auto;
    background-color: #121212;
    padding-bottom: 3%;
}

#infinity-sale .coupon-area .coupon-area_button {
    max-width: 756px;
    width: 81%;
    margin: 1% auto;
}

#attention {
    background-color: #121212;
    padding: 8% 0;
}

#attention p {
    max-width: 885px;
    width: 88.5%;
    margin: 0 auto;
}

/* フローティングバナー */
#floating-container {
    position: fixed;
    bottom: 0;
    left: 50%;

    width: 100vw;
    max-width: 100vw;

    transform: translateX(-50%);

    z-index: 999;
    background: rgba(0, 0, 0, .3);

    padding: 12px 0;
    display: none;

    box-sizing: border-box;
}

#floating-container .floating-banner {
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
}

#floating-container .floating-banner img {
    width: 100%;
    height: auto;
    display: block;
}

#floating-container .floating-banner:hover {
    opacity: 1;

}
@media screen and (max-width: 900px) {
    #details .cat-title {
        font-size: 5vw;
    }

    #details .cat-arrow {
        width: 42px;
        height: 42px;
        opacity: 0.5;
    }
}

@media screen and (max-width: 490px) {
    #details .cat-track .collection {
        flex-basis: 48.7%;
    }

    #details .cat-arrow {
        top: 40%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    /* FS用CSS */
    .fs-l-main {
        margin: 0 !important;
    }

    #floating-container {
        padding: 8px 0;
    }

    #floating-container .floating-banner {
        width: 60%;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px) {
    /* FS用CSS */
    .fs-l-main {
        margin: 0 !important;
    }

    #floating-container {
        padding: 0;
    }

    #floating-container .floating-banner {
        width: 100%;
        max-width: 100%;
    }
}

/* モーダル用CSS start*/
:root {
    --ykc-ink: #111;
    --ykc-muted: #8A8F98;
    --ykc-bg: #FFFFFF;
    --ykc-panel: #111213;
    --ykc-ring: 0 0 0 3px rgba(255, 255, 255, .22);
}

.ykc-coupon-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999999;
    overflow-x: hidden;
}

.ykc-coupon-modal[aria-hidden="false"] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0 14px;
}

.ykc-coupon-frame {
    position: relative;
    width: 76%;
    max-width: 380px;
    z-index: 1;
}

.ykc-coupon-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    cursor: pointer;
    z-index: 0;
}

.ykc-coupon-dialog {
    position: relative;
    z-index: 1;
    max-width: 470px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #212329;
    border: none;
    box-shadow: 0 20px 52px rgba(0, 0, 0, .35);
    outline: none;
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .ykc-coupon-dialog {
        animation: ykcPop .28s cubic-bezier(.2, .9, .2, 1)
    }
}

@keyframes ykcPop {
    0% {
        transform: translateY(10px) scale(.98);
        opacity: 0
    }

    100% {
        transform: none;
        opacity: 1
    }
}

.ykc-coupon-dialog .coupon-image {
    width: 100%;
    height: auto;
    display: block;
}

.ykc-coupon-content {
    position: absolute;
    left: 50%;
    bottom: 22%;
    transform: translateX(-50%);
    width: 70%;
    padding: 0;
    z-index: 2;
}

#infinity-sale .ykc-coupon-dialog h2 {
    display: none;
}

.ykc-coupon-dialog h2::before,
.ykc-coupon-dialog h2::after {
    content: none
}

.ykc-coupon-close {
    position: absolute;
    top: -50px;
    right: 5px;
    inline-size: 40px;
    block-size: 40px;
    border: 0;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    font-size: 46px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: color .2s ease, transform .06s ease;
    color: #fff;
    font-weight: 200;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
    z-index: 10;
}

.ykc-coupon-close:hover {
    color: #f1f1f1
}

.ykc-coupon-close:active {
    transform: translateY(1px)
}

.ykc-coupon-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.ykc-coupon-desc {
    display: none;
}

.ykc-coupon-note {
    display: none;
}

.ykc-coupon-codewrap {
    display: flex;
    gap: 0;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    border: 2px solid #212329;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.ykc-coupon-code-label {
    background: #212329;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 3px 10px;
    line-height: 1.3;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.ykc-coupon-code {
    font: 700 23px/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: .02em;
    user-select: all;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #212329;
    padding: 3px 10px;
}

.ykc-coupon-codecopy {
    width: 82%;
    position: absolute;
    left: 50%;
    bottom: 11.5%;
    transform: translateX(-50%);
    }

.ykc-coupon-codewrap::before,
.ykc-coupon-codewrap::after {
    content: none
}

.ykc-coupon-copy {
    appearance: none;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 13px 16px;
    border: 0;
    border-radius: 86.1946px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    background: #CEB616;
    color: #fff;
    box-shadow: 1px 4px 4px rgba(0, 0, 0, 0.25);
    transition: transform .06s ease, filter .2s ease;
    width: 100%;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
}

.ykc-coupon-copy::before {
    content: none;
}

.ykc-coupon-copy::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.ykc-coupon-copy:hover {
    filter: brightness(1.04);
    box-shadow: 0 6px 16px rgba(242, 173, 0, .35)
}

.ykc-coupon-copy:active {
    transform: translateY(1px)
}

.ykc-coupon-copy:focus-visible {
    outline: 2px solid #f2ad00;
    outline-offset: 2px
}

.ykc-coupon-guide {
    text-align: center;
    color: #232323;
    position: absolute;
    bottom: 6.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    font-weight: 500;
    font-size: 16px;
}

.ykc-coupon-guide a {
    color: #1677e6;
    text-decoration: underline;
    transition: color .2s ease;
}

.ykc-coupon-guide a:hover {
    color: #0d5fc9
}

.ykc-coupon-dialog hr {
    display: none !important
}

.ykc-coupon-dialog,
.ykc-coupon-codewrap {
    outline: 0
}
@media (max-width: 580px) {
    .ykc-coupon-dialog {
        width: 80%;
        margin:auto;
    }
    .ykc-coupon-close {
        right: 40px;  
    }
    .ykc-coupon-code-label {
        font-size: 13px;
        padding: 3px 7px;
    }
    .ykc-coupon-code{
        font-size: 17px;
    }
    .ykc-coupon-copy{
        padding: 9px 16px;
        width: 95%; 
        margin: auto;
    }
    .ykc-coupon-guide{
        font-size: 14px;
    }
}
@media (max-width: 430px) {
    .ykc-coupon-frame {
        width: 84vw;
    }

    .ykc-coupon-dialog {
        width: 100%;
    }

    .ykc-coupon-codewrap {
        border-width: 2px;
    }

    .ykc-coupon-code-label {
        padding: 5px 8px;
    }

    .ykc-coupon-codecopy {
        width: 82%;
        margin: 5px auto 3px;
    }

    .ykc-coupon-copy::after {
        right: 14px;
        width: 8px;
        height: 8px;
    }

    .ykc-coupon-close {
        top: -40px;
        right: 5px;
        width: 32px;
        height: 32px;
        font-size: 36px;
    }        
}

@media (max-width: 414px) {
    .ykc-coupon-modal[aria-hidden="false"] {
        align-items: flex-start;
        padding: 20px 10px 10px;
    }

    .ykc-coupon-frame {
        width: 76vw;
        max-width: 320px;
        margin-top: 30px;
    }

    .ykc-coupon-code-label{
        font-size: 14px;
    }

    .ykc-coupon-code{
        font-size: 18px;
        line-height: 1;
    }

    .ykc-coupon-codecopy {
        width: 84%;
        margin: 5px auto 3px;
        bottom: 10.5%;
    }

    .ykc-coupon-copy{
        font-size: 16px;
        line-height: 0.8;      
        padding: 14px 16px;
    }

    .ykc-coupon-copy::after {
        right: 12px;
        width: 7px;
        height: 7px;
    }

    .ykc-coupon-close {
        top: -37px;
        right: 3px;
        width: 30px;
        height: 30px;
        font-size: 32px;
    }

    .ykc-coupon-guide{
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .ykc-coupon-code-label {
        font-size: 11px;
    }
    .ykc-coupon-code {
        font-size: 15px;
    }
    .ykc-coupon-copy {
        font-size: 15px;
        padding: 9px;
    }
}
/* モーダル用CSS end */
