/* ========================================
   ROOT
======================================== */

:root {
    --font-sans: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
}

/* ========================================
   BASE
======================================== */

html {
    font-size: 15px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: #222;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent;
}

.container {
    padding-top: 66px;
}

/* ========================================
   LIST
======================================== */

.list li {
    position: relative;
    padding-left: 1em;
}

.list li::before {
    position: absolute;
    left: 0;
}

.list.default li::before {
    content: "・";
}

.list.asterisk li::before {
    content: "※";
}

/* ol：数字 */

ol.list {
    list-style: decimal;
    padding-left: 2em;
}

/* ========================================
   BUTTON
======================================== */

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn a {
    border-radius: 6px;
}

/* 外部リンク */

.btn li a {
    position: relative;
}

.btn li a::after {
    content: "";
    width: 13px;
    height: 13px;
    background: url("../images/common/arrow_wh.svg") no-repeat center / contain;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.btn li.external a::after {
    background-image: url(../images/common/btn_external.svg);
}

/* ========================================
   HEADER
======================================== */

.header {
    width: 100%;
    height: 66px;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #fff;
}

.logo img {
    width: auto;
    height: 46px;
}

.sns_nav {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.sns_nav::before {
    content: "SHARE";
    display: block;
    position: absolute;
    top: 50%;
    left: -70px;
    transform: translateY(-50%);
    font-size: 0.867rem;
}

.sns_nav img {
    width: 24px;
}

/* ========================================
   FV
======================================== */

.fv {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

/* FV背景 */

.fv_bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left center;
}

.fv_inner {
    max-width: 1366px;
    margin: 0 auto;
    padding: 50px 120px;
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 60px;
}

/* 50：50 */

.fv_50 .catch {
    width: 50%;
}

.fv_50 .jacket {
    width: 50%;
}

/* 60：40 */

.fv_60 .catch {
    width: 60%;
}

.fv_60 .jacket {
    width: 40%;
}

/* 70：30 */

.fv_70 .catch {
    width: 70%;
}

.fv_70 .jacket {
    width: 30%;
}

.jacket img {
    display: block;
    max-width: 100%;
    max-height: 460px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.artist {
    margin-bottom: 15px;
    font-size: 3.733rem;
    line-height: 1.2;
}

.detail {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.product {
    margin-bottom: 15px;
    font-size: 3.6rem;
    line-height: 1.2;
}

.date {
    font-size: 2.6rem;
}

/* ========================================
   FV ANIMATION
======================================== */

/* リリース情報・ジャケットの初期状態 */

.catch,
.jacket {
    clip-path: inset(0 100% 0 0);
}

/* 1. FV背景を左から右へ */

.fv.is-active .fv_bg {
    animation: fv-bg-wipe 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* 2. 情報とジャケットを同時に左から右へ */

.fv.is-active .catch,
.fv.is-active .jacket {
    animation: fv-content-wipe 0.65s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}

@keyframes fv-bg-wipe {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes fv-content-wipe {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* ========================================
   PRIMARY
======================================== */

.primary {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 100px 30px;
}

/* ========================================
   RELEASE
======================================== */

.release > div {
    display: flex;
    align-items: center;
    gap: 60px;
}

.release figure,
.release figure + div {
    width: calc(50% - 30px);
}

.release figure {
    text-align: center;
}

.release figure img {
    display: block;
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.release dl {
    margin-bottom: 20px;
}

.release dt {
    margin-bottom: 8px;
    font-weight: bold;
}

.release dd {
    font-size: 1.333rem;
}

.release ul li a {
    font-size: 0.867rem;
}

/* 商品詳細リンク */

.release .ve_link a {
    display: block;
    position: relative;
    margin-top: 20px;
    padding-left: 20px;
    font-weight: bold;
    text-decoration: underline;
}

.release .ve_link a::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: url("../images/common/arrow_ve.svg") no-repeat center / contain;
}

/* ========================================
   STORE BUTTON
======================================== */

.release ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.release ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    color: #fff;
    background: #222;
    text-align: center;
}

/* ========================================
   CAUTION
======================================== */

.caution {
    margin-top: 80px;
}

.caution ul,
.caution ol {
    margin-bottom: 10px;
}

.caution dt {
    margin-bottom: 10px;
    font-weight: bold;
}

.caution dd {
    margin-bottom: 10px;
}

.caution p {
    margin-bottom: 10px;
}

.caution figure {
    margin: 20px auto;
}

.caution figure img {
    display: block;
    width: 100%;
    height: auto;
}

.caution figcaption {
    padding-top: 10px;
    font-size: 0.867rem;
}

/* 横幅100% */

.caution .img_full {
    width: 100%;
}

/* 最大700px */

.caution .img_500 {
    width: 100%;
    max-width: 700px;
}

/* ========================================
   SECONDARY
======================================== */

.secondary {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 30px 100px;
    text-align: center;
}

.website {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 60px;
}

.website li {
    display: flex;
    width: 360px;
}

/* 3個の場合のみ3列 */

.website li:first-child:nth-last-child(3),
.website li:first-child:nth-last-child(3) ~ li {
    width: calc((100% - 30px) / 3);
}

.website li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    padding: 10px 20px;
    color: #fff;
    background: #222;
    text-align: center;
}

.secondary > div > p {
    margin-bottom: 25px;
}

/* ========================================
   SNS
======================================== */

.sns {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.sns li {
    width: 130px;
}

.sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

/* ========================================
   SCROLL ANIMATION
======================================== */

.primary,
.secondary {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.primary.is-show,
.secondary.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FOOTER
======================================== */

footer {
    padding: 40px 20px;
    color: #fff;
    background: #2a2a2a;
    text-align: center;
}

footer p {
    font-size: 0.733rem;
    line-height: 1.8;
}

footer p a {
    text-decoration: underline;
}

/* ========================================
   SP
======================================== */

@media screen and (max-width: 768px) {
    /* ========================================
       BASE
    ======================================== */

    .container {
        padding-top: 52px;
    }

    /* ========================================
       HEADER
    ======================================== */

    .header {
        height: 52px;
        padding: 10px 20px 10px 10px;
    }

    .logo img {
        height: 32px;
    }

    .sns_nav {
        gap: 10px;
    }

    .sns_nav::before {
        display: block;
        left: -55px;
        font-size: 0.733rem;
    }

    .sns_nav img {
        width: 20px;
    }

    /* ========================================
       FV
    ======================================== */

    .fv_inner {
        padding: 40px 20px;
        flex-direction: column;
        gap: 30px;
    }

    .fv_50 .catch,
    .fv_50 .jacket,
    .fv_60 .catch,
    .fv_60 .jacket,
    .fv_70 .catch,
    .fv_70 .jacket {
        width: 100%;
    }

    .catch {
        text-align: center;
    }

    .artist {
        margin-bottom: 15px;
        font-size: 2rem;
    }

    .detail {
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .product {
        margin-bottom: 15px;
        font-size: 2.4rem;
    }

    .date {
        font-size: 1.4rem;
    }

    .jacket {
        background: none;
    }

    .jacket img {
        max-height: 350px;
    }

    /* ========================================
       PRIMARY
    ======================================== */

    .primary {
        padding: 60px 20px;
    }

    /* ========================================
       RELEASE
    ======================================== */

    .release > div {
        flex-direction: column;
        gap: 30px;
    }

    .release figure,
    .release figure + div {
        width: 100%;
    }

    .release figure img {
        max-height: 350px;
    }

    /* ========================================
       STORE BUTTON
    ======================================== */

    .release ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .release ul li a {
        width: 100%;
        min-height: 50px;
        height: auto;
        padding: 8px 12px;
    }

    /* ========================================
       CAUTION
    ======================================== */

    .caution {
        margin-top: 60px;
    }

    .caution .img_full,
    .caution .img_500 {
        width: 100%;
        max-width: 100%;
    }

    /* ========================================
       SECONDARY
    ======================================== */

    .secondary {
        padding: 0 20px 60px;
    }

    .website {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }

    .website li,
    .website li:first-child:nth-last-child(3),
    .website li:first-child:nth-last-child(3) ~ li {
        width: 100%;
    }

    .website li a {
        min-height: 60px;
    }

    /* ========================================
       SNS
    ======================================== */

    .sns {
        gap: 15px;
    }

    .sns li {
        width: calc((100% - 30px) / 3);
    }

    .sns a {
        height: auto;
    }

    /* ========================================
       FOOTER
    ======================================== */

    footer {
        padding: 30px 20px;
    }

    footer p {
        font-size: 0.6rem;
    }
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fv_bg {
        transform: scaleX(1);
    }

    .catch,
    .jacket {
        clip-path: none;
    }

    .fv.is-active .fv_bg,
    .fv.is-active .catch,
    .fv.is-active .jacket {
        animation: none;
    }

    .primary,
    .secondary {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
