@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

/* ------------------------------------------------------------
   Reset & Base
------------------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Meiryo", "MS PGothic", sans-serif;
    overflow: hidden;
    touch-action: none;
    background: url('../images/bg.jpg') center / cover no-repeat;
}
@media screen and (min-width: 768px) {
    body {
        background-attachment: fixed;
    }
}

a {
    color: #333;
    text-decoration: underline dotted;
    transition: color 0.3s ease;
}
a:hover {
    color: #555;
}

/* ------------------------------------------------------------
   Layout
------------------------------------------------------------ */
.container {
    position: relative;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 580px;
    margin: 0 auto;
    background: #fafaf7;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}
.container::-webkit-scrollbar {
    display: none;
}

/* Swiper */
.swiper-wrapper {
    height: 77dvh;
}
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #f2f7e1;
}
.swiper-slide img,
.swiper-slide video {
    max-width: 100%;
    max-height: 100%;
}
.swiper-scrollbar {
    background-color: rgb(211, 204, 204);
    width: 5px;
    height: 76.5vh;
}
.swiper-scrollbar-drag {
    background-color: rgb(183, 185, 183);
}

/* Footer */
.footer {
    max-height: 22dvh;
    background-color: #fafaf7;
}
.footer p {
    text-align: center;
    color: #333;
    font-size: 11px;
    margin-bottom: 1%;
}
.cta {
    max-height: 18dvh;
    max-width: 100%;
}
.cta-button {
    cursor: pointer;
}

/* ------------------------------------------------------------
   Link Section
------------------------------------------------------------ */
.link-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: calc(100dvh - 22dvh);
    padding: 0;
    overflow-y: auto;
}

.link-title {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    color: #49a349;
    font-weight: bold;
    letter-spacing: 2px;
    margin: auto;
}

.link-button-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 94%;
    max-width: 540px;
    margin: 2% auto 0;
    gap: 4px;
    padding-right: 14px;
    padding-bottom: 20px;
    overflow-y: auto;
    scrollbar-width: auto;
    scrollbar-color: #49a349 #e0e0e0;
}

.link-button-container::-webkit-scrollbar {
    width: 20px;
}
.link-button-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}
.link-button-container::-webkit-scrollbar-thumb {
    background: #49a349;
    border-radius: 10px;
    border: 3px solid #e0e0e0;
}
.link-button-container::-webkit-scrollbar-thumb:hover {
    background: #3a8c3a;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 32px;
    padding: 7px 16px;
    color: #49a349;
    background-color: #fff;
    border: 2px solid #49a349;
    border-radius: 14px;
    font-weight: bold;
    font-size: clamp(16px, 2.2vw, 18px);
    text-decoration: none;
    transition: background-color 0.3s;
    word-break: break-word;
    flex: 1;
}
.link-button:hover {
    background-color: #f0f8ff;
}
.link-button .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   Responsive
------------------------------------------------------------ */

.sp { display: none !important; }
.pc { display: block !important; }
@media screen and (max-width: 499px) {
    .sp { display: block !important; }
    .pc { display: none !important; }
}
@media screen and (max-height: 550px) {
    .link-button {
        font-size: 13px;
        padding: 5px 16px;
    }
    .link-title {
        margin-bottom: 3px;
    }
}

/* ------------------------------------------------------------
   Entry Page
------------------------------------------------------------ */
.entry_container {
    max-width: 580px;
    height: 100dvh;
    margin: auto;
    background: #e1f4fa;
}
.entry_page p {
    padding: 2rem;
    font-size: 16px;
    vertical-align: middle;
}
.entry_container .link-slide {
    height: 100dvh;
}

/* ------------------------------------------------------------
   Movie Background
------------------------------------------------------------ */
.movie-bg-01 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: url('../images/img_03.png') center / cover no-repeat;
}
.movie-bg-01 iframe {
    width: 100%;
    height: auto;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}
