/* --------------------
 Case
-------------------- */
.case {
    margin: 0 0 80px;
}

@media (min-width: 768px) {
    .case {
        margin: 0 0 100px;
    }
}

.detail {
    margin: 0 0 80px;
    padding: 0;
}

@media (min-width: 768px) {
    .detail {
        margin: 0 0 100px;
        padding: 8px 0 0;
    }
}

.detail-container {
    margin: 0 auto;
    max-width: calc(1000px + var(--c-pad)*2);
    padding: 0 var(--c-pad);
    width: 100%;
}

.detail__head {
    border-bottom: 1px solid #777777;
    margin: 0 0 30px;
    padding: 0 0 30px;
}

.detail__head__title {
    font-size: var(--fs22);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.6;
    margin: 0 0 20px;
}

@media (min-width: 768px) {
    .detail__head__title {
        font-size: var(--fs26);
    }
}

.detail__head__meta {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    gap: 8px;
    justify-content: flex-start;
}

.detail__head__meta__category {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    gap: 12px;
    margin: 0;
}

.detail__head__meta__category span {
    background-color: var(--color-theme);
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    color: var(--color-white);
    display: block;
    font-size: var(--fs13);
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.2;
    min-width: 120px;
    padding: 3px 18px 3px 10px;
    text-align: center;
    width: -webkit-fit-content;
    width: fit-content;
}

@media (min-width: 768px) {
    .detail__head__meta__category span {
        font-size: var(--fs14);
        padding: 4px 18px 4px 10px;
    }
}

@media (min-width: 1240px) {
    .detail__head__meta__category span {
        font-size: var(--fs17);
        min-width: 140px;
    }
}

.detail__head__meta__date {
    display: block;
    font-size: var(--fs14);
    line-height: 1.2;
    margin: 0;
}

@media (min-width: 768px) {
    .detail__head__meta__date {
        font-size: var(--fs16);
    }
}

.detail__gallery {
    margin: 0 auto 40px;
    max-width: 850px;
    padding: 0 var(--c-pad);
    width: 100%;
}

@media (min-width: 768px) {
    .detail__gallery {
        margin: 0 auto 60px;
        padding: 0 75px;
    }
}

.detail__gallery .splide__arrows {
    align-items: flex-end;
    bottom: auto;
    display: flex;
    flex-flow: row nowrap;
    height: auto;
    justify-content: space-between;
    left: -30px;
    margin: 0 auto;
    padding: 0;
    pointer-events: none;
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

@media (min-width: 768px) {
    .detail__gallery .splide__arrows {
        left: -75px;
        right: -75px;
    }
}

.detail__gallery .splide__arrow {
    background: none;
    border-radius: 0;
    bottom: auto;
    display: block;
    height: 52px;
    left: auto;
    opacity: 1;
    pointer-events: all;
    position: relative;
    right: auto;
    text-align: center;
    top: auto;
    transform: none;
    transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 52px;
}

.detail__gallery .splide__arrow img {
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 100%;
}

.detail__gallery .splide__arrow:focus {
    opacity: 0.65;
}

@media (hover: hover) and (pointer: fine) {
    .detail__gallery .splide__arrow:hover {
        opacity: 0.65;
    }
}

@media (min-width: 768px) {
    .detail__gallery .splide__arrow--prev:focus img {
        transform: translateX(-5px);
    }
}

@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
    .detail__gallery .splide__arrow--prev:hover img {
        transform: translateX(-5px);
    }
}

@media (min-width: 768px) {
    .detail__gallery .splide__arrow--next:focus img {
        transform: translateX(5px);
    }
}

@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
    .detail__gallery .splide__arrow--next:hover img {
        transform: translateX(5px);
    }
}

.detail__gallery .splide__list {
    align-items: stretch;
}

.detail__gallery .splide__slide {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.detail__gallery__nav {
    align-items: stretch;
    display: flex;
    flex-flow: row wrap;
    gap: 12px;
    justify-content: flex-start;
    padding: 12px 0 0;
}

@media (min-width: 768px) {
    .detail__gallery__nav {
        gap: 20px;
        padding: 30px 0 0;
    }
}

.detail__gallery__nav > button {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: none;
    border-radius: 0;
    display: block;
    flex: 0 0 calc(25% - 9px);
    font-size: var(--fs10);
    margin: 0;
    padding: 0;
    position: relative;
    width: auto;
}

@media (min-width: 768px) {
    .detail__gallery__nav > button {
        flex: 0 0 calc(25% - 15px);
    }
}

.detail__gallery__nav > button:before {
    background-color: #000000;
    bottom: 0;
    content: "";
    display: block;
    left: 0;
    opacity: 0.6;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    z-index: 1;
}

.detail__gallery__nav > button img {
    aspect-ratio: 160/113;
    height: auto;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.detail__gallery__nav > button.-active:before {
    opacity: 0;
}

.detail__content {
    font-size: var(--fs14);
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 2;
    margin: 0 0 80px;
}

@media (min-width: 768px) {
    .detail__content {
        font-size: var(--fs16);
        margin: 0 0 100px;
    }
}

@media (min-width: 992px) {
    .detail__content {
        margin: 0 0 120px;
    }
}

.detail__content h2 {
    font-size: var(--fs20);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.6;
    margin: 40px 0 0.75em;
}

@media (min-width: 768px) {
    .detail__content h2 {
        font-size: var(--fs24);
        margin: 60px 0 0.75em;
    }
}

.detail__content h2:first-child {
    margin-top: 0;
}

.detail__content h2:last-child {
    margin-bottom: 0;
}

.detail__content img {
    display: block;
    margin: 40px auto 40px;
}

@media (min-width: 768px) {
    .detail__content img {
        margin: 50px auto 50px;
    }
}

.detail__content img:first-child {
    margin-top: 0;
}

.detail__content img:last-child {
    margin-bottom: 0;
}

.detail__content p {
    font-size: var(--fs14);
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 2;
    margin: 0 0 2em;
}

@media (min-width: 768px) {
    .detail__content p {
        font-size: var(--fs16);
    }
}

.detail__content p:last-child {
    margin-bottom: 0;
}

.detail__content strong {
    font-weight: 700;
}

.detail__content a {
    color: var(--color-theme);
    font-weight: 500;
    text-decoration: underline;
    -webkit-text-decoration-color: color-mix(in srgb, currentColor, transparent 0%);
    text-decoration-color: color-mix(in srgb, currentColor, transparent 0%);
    transition: color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, -webkit-text-decoration-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    transition: color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, text-decoration-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    transition: color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, text-decoration-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, -webkit-text-decoration-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.detail__content a:focus {
    color: var(--color-theme);
    -webkit-text-decoration-color: color-mix(in srgb, currentColor, transparent 100%);
    text-decoration-color: color-mix(in srgb, currentColor, transparent 100%);
}

@media (hover: hover) and (pointer: fine) {
    .detail__content a:hover {
        color: var(--color-theme);
        -webkit-text-decoration-color: color-mix(in srgb, currentColor, transparent 100%);
        text-decoration-color: color-mix(in srgb, currentColor, transparent 100%);
    }
}