.guideline-page {
    margin: 0;
    color: #fff;
    background-color: #111;
    background-image: url("../images/icon/img_icon_back.webp");
    background-position: center top;
    background-repeat: repeat;
    background-size: 1024px auto;
}

.guideline {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.guideline__header {
    margin-bottom: 24px;
    color: #fff;
    text-align: center;
    -webkit-text-stroke: 2px #000;
    paint-order: stroke fill;
}

.guideline__title {
    margin: 0;
}

.guideline__title picture,
.guideline__title img {
    display: block;
}

.guideline__title img {
    width: min(48vw, 820px);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.guideline-viewer {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.guideline-viewer__viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(34, 34, 34, 0.5);
}

.guideline-viewer__track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}

.guideline-viewer__page {
    flex: 0 0 100%;
    width: 100%;
}

.guideline-viewer__page picture,
.guideline-viewer__page img {
    display: block;
}

.guideline-viewer__page img {
    width: 100%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.guideline-pagination {
    display: none;
    margin-top: 20px;
    text-align: center;
    font-size: 24px;
}

.guideline__back {
    margin-top: 32px;
    text-align: center;
}

.guideline__back a {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    -webkit-text-stroke: 1px #000;
    paint-order: stroke fill;
}

.guideline__jasrac {
    margin-top: 20px;
}

.guideline__jasrac a {
    display: inline-block;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    -webkit-text-stroke: 0;
    paint-order: normal;
    border: 2px solid #fff;
    padding: 10px 24px;
    text-decoration: none;
}

.guideline-page .l-footer__guide {
    padding-top: 4vw;
}

@media (min-width: 768px) {
    .guideline-viewer__page {
        height: auto;
        min-height: 0;
        padding: 16px 20px;
        box-sizing: border-box;
    }

    .guideline-viewer__page picture {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
    }

    .guideline-viewer__page img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .guideline-page {
        background-position: center top;
        background-repeat: repeat-y;
        background-size: 100% auto;
    }

    .guideline {
        padding: 72px 0 20px;
    }

    .guideline__header {
        margin-bottom: 16px;
        padding: 0 16px;
    }

    .guideline__title img {
        width: min(78vw, 420px);
        max-width: 100%;
    }

    .guideline-viewer__viewport {
        border-radius: 0;
        touch-action: pan-y;
    }

    .guideline__back a {
        font-size: 18px;
        -webkit-text-stroke: 1px #000;
    }

    .guideline__jasrac a {
        color: #fff;
        font-size: 15px;
        -webkit-text-stroke: 0;
        border: 2px solid #fff;
        padding: 8px 16px;
        text-decoration: none;
    }

    .guideline-page .l-footer__guide {
        padding-top: 6vw;
    }
}
