:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-gold: #cca44b;
    --accent-blue: #45A09F;
    --accent-light-blue: #a9ebea;
    --accent-red: #d16760;
    --deep-teal: #002a2d;
    --paper--color: #fef7dd;
    --content-width: 750px;

    /* フォントの変数 */
    --font-family-base: "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    --font-family-mincho: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro", serif;

    /* サイズの基準変数 */
    --size-base: 62.5%;
    --size-line-height: 1.6;


    /* 四隅を暗くするビネット効果のパーツ */
    --vignette-gradient: radial-gradient(circle,
            transparent 60%,
            rgba(0, 0, 0, 0.3) 145%);

    /* 古紙の画像パス */
    --paper-image: url('../img/vv_paper_bg.webp');

    /* まとめて使い回す用の変数 */
    --paper-bg-full: var(--vignette-gradient), var(--paper-image);

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    background-image: url(../img/vv_mv_bk.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    font-family: var(--font-family-base);
    font-size: var(--size-base);
    line-height: var(--size-line-height);
}

/* リンク (アクセントカラーを適用) */
a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-border);
    text-decoration: none;
}

/* ==================================================== */
/* ユーティリティ*/
/* ==================================================== */
/*flexbox*/
.flex-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

.flex-container img {
    width: 100%;
    height: auto;
}

.flex-2 {
    width: 50%;
}


@media screen and (max-width: 768px) {
    .flex-container {
        display: block;
    }

    .flex-2 {
        width: 100%;
        ;
    }
}


/*grid*/
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* 共通ボタンの基本スタイル */
.common-btn {
    appearance: none;
    background-color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    color: var(--text-color);
    padding: 15px 40px;
    font-family: var(--font-family-mincho);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    display: flex;
    margin: 20px auto;
    max-width: fit-content;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.common-btn:hover {
    background-color: var(--text-color);
    color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(204, 164, 75, 0.6);
    transform: translateY(-2px);
}


.btn-text {
    margin-right: 20px;
    font-weight: bold;
}


.btn-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(-45deg);
    transition: all 0.3s ease;
    flex-shrink: 0;
}


.common-btn:hover .btn-arrow {
    border-color: var(--accent-gold);
    transform: rotate(-45deg) translateX(5px);
}


.overflow-wrapper {
    width: 100%;
    overflow-y: clip;
    overflow-x: hidden;
}

/* メインコンテナ（PC幅制限） */
.container {
    width: 100%;
    background-color: var(--bg-color);
    max-width: var(--content-width);
    margin: 0 auto;
    position: relative;
}

/* セクション設定 */
.section {
    padding: 80px 20px;
    position: relative;
    font-size: 1rem;
}

.section-title {
    color: var(--accent-gold);
    font-family: var(--font-family-mincho);
    text-align: center;
    margin: 0 auto 40px;
    font-size: 1.8rem;
    display: block;
}

.section-title img {
    margin: 20px auto 60px;
    padding: 0 20px;
}

.bg-pattern {
    background-image:
        /* 1. 左上の素材 */
        url(../img/frame_1.svg),
        /* 2. 右上の素材 */
        url(../img/frame_2.svg),
        /* 3. 左下の素材 */
        url(../img/frame_3.svg),
        /* 4. 右下の素材 */
        url(../img/frame_4.svg),
        /* 5. 背景の地紋パターン（一番下に敷く） */
        url(../img/vv_zara-bg.png);

    background-position:
        top left,
        top right,
        bottom left,
        bottom right,
        center;

    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat;

    background-size:
        100px auto,
        100px auto,
        100px auto,
        100px auto,
        cover;
    /* 5. 地紋パターンのサイズ */
}

/* MV */
.mv-inner {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.mv-img {
    width: 100%;
    display: block;
}

.yohaku {
    height: 500px;
}

.story-container {
    position: relative;
}

.story-container p {
    font-family: var(--font-family-mincho);
    font-size: clamp(1.25rem, 1.123rem + 0.64vw, 1.6rem);
    text-align: center;
    margin: 40px;
}

.content-container {
    padding: 80px 0;
    position: relative;
}

.content-box {
    position: relative;
    margin: 50px 0;
}

/* 遊び方 */
.flow-wrapper {
    padding: 60px 0;
}

.flow-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 45px 0;
    cursor: grab;
}

.flow-carousel::-webkit-scrollbar {
    display: none;
}

.flow-carousel:active {
    cursor: grabbing;
}

.flow-carousel::-webkit-scrollbar {
    display: none;
}

.flow-carousel-wrapper {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.flow-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    user-select: none;
    scroll-snap-align: center;
    flex-shrink: 0;
}

#js-flow-carousel {
    touch-action: auto !important; 
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    display: flex;
    cursor: grab;
    scrollbar-width: none;
}

#js-flow-carousel.active {
    cursor: grabbing;
}

@media (min-width: 768px) {
    
    .flow-item {
        flex: 0 0 360px;
        margin-top: 0 !important;
        margin-bottom: 0 !important;

    }
    .flow-item .js-fukidashi {
        margin-bottom: 0 !important;
    }
}

.flow-inner {
    background-image:
        radial-gradient(circle at 20% 20%, transparent 50%, rgba(0, 0, 0, 0.4) 150%),
        var(--paper-image);
    background-size: cover;
    background-blend-mode: multiply;
    text-align: center;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: auto !important;
}

.flow-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 20px 0;
    flex-shrink: 0;
    pointer-events: none;
}

.flow-ctrl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.flow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--text-color);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #555;
    border-radius: 50%;
    transition: background 0.1s;
}

.dot.is-active {
    background: var(--text-color);
}

.flow-num {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-family-mincho);
    font-size: 2.4rem;
    color: var(--text-color);
    background-color: var(--accent-gold);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
}

.flow-num::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-gold);
    transform: rotate(45deg);
    z-index: -1;
    border-radius: 4px;
}

.flow-step-title {
    font-family: var(--font-family-mincho);
    font-size: 1.3rem;
    color: var(--deep-teal);
}

.flow-text {
    color: var(--bg-color);
}

/* キット値段 */
.kit-container {
    text-align: center;
    padding: 40px 20px;

}

.kit-title {
    font-family: var(--font-family-mincho);
    font-size: 1.8rem;
    color: var(--accent-light-blue);
    margin-bottom: 30px;
    position: relative;
}

.kit-title::after {
    content: '';
    background-color: var(--accent-light-blue);
    width: 5rem;
    height: 1px;
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.kit-visual {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.kit-main-img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(5px 5px 15px rgba(255, 255, 255, 0.5));
}

.kit-price-pop {
    position: absolute;
    bottom: -75px;
    right: -60px;
    width: 45%;
    max-width: 300px;
    transform: rotate(2deg);
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.5));
    z-index: 10;
}


@media (max-width: 480px) {
    .kit-price-pop {
        bottom: -10px;
        right: 0;
        width: 35%;
    }
}

/* 吹き出しの配置 */
.fukidashi {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 100;
}

/* イベント概要 */
.play-container {
    width: 80%;
    max-width: 700px;
    margin: auto;
}

.play-item {
    text-align: center;
    font-family: var(--font-family-mincho);
    font-size: 1.1rem;
}

.play-item img {
    padding: 20px;
}


/* 開催情報 */
.event-table {
    width: 100%;
    margin: 60px 0;
    color: var(--bg-color);
    background-image: var(--paper-bg-full);
    background-size: cover;
    background-blend-mode: multiply;
    font-size: 1.2rem;
    position: relative;
}

.event-table th {
    background: var(--accent-blue);
    font-family: var(--font-family-mincho);
    font-size: clamp(0.8rem, 0.35rem + 1.92vw, 1.25rem);
    padding: 20px;
    color: #fff;
    width: 30%;
    vertical-align: top;
    border-bottom: var(--deep-teal) solid 1px;
    text-align: left;
}

.event-table td {
    font-size: clamp(1rem, 0.75rem + 1.07vw, 1.25rem);
    padding: 20px;
    width: 70%;
    line-height: 1.6;
    border-bottom: var(--deep-teal) solid 1px;
}

.event-table tr:last-child th,
.event-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 480px) {
    .event-table th,.event-table td {
        padding: 8px;
    }
}

/* 開催場所 */
.access-text {
    font-size: 1rem;
}

.access-text p {
    margin-bottom: 1rem;
}

.shop-name {
    font-weight: bold;
    color: var(--accent-gold);
    border-bottom: var(--accent-gold) solid 1px;
    font-size: 1.3rem;
    font-family: var(--font-family-mincho);
    padding: 0 0 5px;
}

.address {
    font-size: 1.1rem;
}

.map {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 375px;
    position: relative;
    box-sizing: border-box;
}

.map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 480px) {
    .map {
        max-width: 750px;
    }
}

/* Q&A */
.qna-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background-image: var(--paper-bg-full);
    background-size: cover;
    background-blend-mode: multiply;
    position: relative;
}

.qna-item {
    border-bottom: 1px solid var(--accent-gold);
    margin-bottom: 10px;
    transition: background 0.3s;
}

.qna-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    cursor: pointer;
    list-style: none;
}

.qna-summary span {
    color: var(--bg-color);
    font-family: var(--font-family-mincho);
    font-size: 1.3rem;
}

.qna-summary::-webkit-details-marker {
    display: none;
}

.qna-q-text {
    font-weight: bold;
    color: var(--bg-color);
    padding-right: 20px;
    display: flex;
    width: 100%;
}

.qna-q-text::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--accent-blue);
    color: var(--text-color);
    border-radius: 20%;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    font-size: 0.95rem;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    font-family: var(--font-family-mincho);
    line-height: 1;
    padding-bottom: 1px;
}

.qna-arrow {
    width: 20px;
    transition: transform 0.4s ease;
}

.qna-arrow img {
    width: 100%;
    display: block;
}

.qna-item[open] .qna-arrow {
    transform: rotate(180deg);
}

.qna-content {
    padding: 0 10px 20px;
    color: var(--bg-color);
    font-size: 1rem;
    line-height: 1.8;
}

.qna-content p {
    display: flex;
    align-items: flex-start;
    padding: 10px 0 0;
}

.qna-content p::before {
    content: "A";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--accent-red);
    color: var(--text-color);
    border-radius: 20%;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    font-size: 0.95rem;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    font-family: var(--font-family-mincho);
    transform: translateY(2px);
    line-height: 1;
    padding-bottom: 1px;
}


/* 注意事項 */
.not-container {
    width: 100%;
    text-align: center;
    margin: 40px auto;
}

.not-trigger {
    appearance: none;
    background: transparent;
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    color: var(--accent-gold);
    padding: 15px 40px;
    font-family: var(--font-family-mincho);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.not-trigger:hover {
    background-color: rgba(204, 164, 75, 0.1);
    box-shadow: 0 0 15px rgba(204, 164, 75, 0.4);
}

.not-btn-text {
    margin-right: 15px;
}

.not-arrow-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
    transform: rotate(45deg);
    transition: transform 0.4s ease;
    margin-top: -5px;
}

.not-trigger.is-active .not-arrow-icon {
    transform: rotate(-135deg);
    margin-top: 5px;
}

.not-detail {
    height: 0;
    overflow: hidden;
    opacity: 0;
    display: none;
    text-align: left;
}

.not-detail-inner {
    color: var(--bg-color);
    margin: 50px 0;
    background-image: var(--paper-bg-full);
    background-size: cover;
    background-blend-mode: multiply;
}

.not-detail-text {
    padding: 20px 0;
    text-align: left;
}

.not-detail-text li {
    margin: 15px 20px;
    padding: 10px 10px 30px 50px;
    position: relative;
    border-bottom: 1px solid var(--accent-gold);
    line-height: 1.8;
}

.not-detail-text li:last-child {
    border: none;
    padding: 10px 10px 10px 50px;
    margin: 15px 15px 0;
}

.not-detail-text li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--accent-gold);
    color: var(--text-color);
    border-radius: 20%;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: 14px;
    line-height: 1;
    padding-bottom: 2px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

/* sns */
.sns-container {
    background: url(../img/sns_bg.webp) no-repeat top center;
    background-size: 100%;
    padding-top: 60px;
    height: 400px;
    position: relative;
}

.sns-list {
    position: absolute;
    top: 26%;
    left: 3.8%;
    display: flex;
    gap: 20px;
    width: 50%;
    padding: 20px;
    justify-content: center;
}

.about {
    padding: 40px 10px;
}

.about img {
    max-width: 250px;
    margin: 50px auto;
}

.about-txt {
    font-family: var(--font-family-mincho);
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 480px) {
    .sns-list {
        width: 60%;
        top: 15%;
        left: 1%;
    }

    .modal-sns .flex-container {
        display: flex;
    }
}

/* モーダル（小窓）スタイル */
.secret-memo {
    margin: 50px 20px;
    cursor: pointer;
    z-index: 10;
    position: relative;
    width: fit-content;
    margin-left: auto;
    padding: 0 10px;
}

.secret-img {
    width: 60px;
    height: auto;
    display: block;
}


.js-memo-fukidashi {
    position: absolute;
    bottom: 53%;
    right: 90%;
    width: 400px;
    max-width: none;
    height: auto;
}

@media (max-width: 480px) {
    .js-memo-fukidashi {
        transform: scale(0.8) !important;
        bottom: 30%;
        right: 10%;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-window {
    background-color: var(--paper--color);
    width: 85%;
    max-width: 380px;
    border-radius: 10px;
    padding: 40px 20px 20px 20px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease-out;
    box-sizing: border-box;
}

.modal-overlay.active .modal-window {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: var(--bg-color);
    font-size: 32px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.modal-content {
    text-align: center;
    font-family: var(--font-family-mincho);
    font-size: 1.2rem;
    color: var(--bg-color);
}

.modal-content img {
    max-width: 100%;
    height: auto;
}

.modal-sns {
    margin: 20px 0;
}

.modal-sns ul {
    width: 80%;
    margin: 10px auto 0;
}


/* 足音、足跡、吹き出し */
.deco-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 750px;
    height: 100%;
    min-height: auto;
}

.deco-item {
    position: absolute;
    pointer-events: none;
    min-width: 50px;
}

.deco-item img {
    width: 100%;
    height: auto;
}

.js-balloon {
    visibility: hidden;
    /* JSが動くまでは隠しておく */
}

.js-balloon img {
    width: 100%;
}

/* 吹き出し調整 */
.balloon-m01 {
    position: absolute;
    top: 24%;
    left: 10%;
    width: 350px;
}

.balloon-m02 {
    position: absolute;
    top: 46%;
    right: 1%;
    width: 400px;
}

.balloon-p06 {
    position: absolute;
    top: 52%;
    left: 0%;
    width: 250px;
}

.balloon-m03 {
    position: absolute;
    top: 66%;
    right: 7%;
    width: 400px;
}

.balloon-p05 {
    position: absolute;
    top: 78%;
    left: 23%;
    width: 270px;
}

.balloon-b02 {
    position: absolute;
    top: -20%;
    left: 5%;
    width: 270px;
}

.balloon-r06 {
    position: absolute;
    bottom: -10%;
    right: 5%;
    width: 270px;
}

.balloon-b01 {
    position: absolute;
    bottom: 14%;
    left: 4%;
    width: 270px;
}

.balloon-p04 {
    position: absolute;
    top: 3%;
    right: -1%;
    width: 250px;
}

.balloon-r01 {
    position: absolute;
    bottom: 26%;
    right: 3%;
    width: 300px;
}

.balloon-m04 {
    position: absolute;
    top: -13%;
    left: 5%;
    width: 350px;
}

.balloon-r04 {
    position: absolute;
    top: 40%;
    left: 0%;
    width: 250px;
}

.balloon-p03 {
    position: absolute;
    top: 3%;
    right: -1%;
    width: 250px;
}

.balloon-r05 {
    position: absolute;
    bottom: -11%;
    right: 2%;
    width: 270px;
}

.balloon-m05 {
    position: absolute;
    top: -25%;
    left: -2%;
    width: 350px;
}

.balloon-p01 {
    position: absolute;
    bottom: -20%;
    left: 2%;
    width: 300px;
}

.balloon-b06 {
    position: absolute;
    top: -8%;
    right: 0%;
    width: 250px;
}

.balloon-v02 {
    position: absolute;
    top: -1%;
    right: 5%;
    width: 250px;
}

.balloon-m07 {
    position: absolute;
    top: 4%;
    left: -2%;
    width: 320px;
    z-index: 99;
}

.balloon-r02 {
    position: absolute;
    top: -1%;
    left: 5%;
    width: 300px;
}

.balloon-b04 {
    position: absolute;
    top: 27%;
    right: 28%;
    width: 250px;
}

.balloon-g03 {
    position: absolute;
    bottom: 0%;
    left: 10%;
    width: 250px;
}

.balloon-p07 {
    position: absolute;
    bottom: -1%;
    right: 6%;
    width: 320px;
}

.balloon-b03 {
    position: absolute;
    top: 25%;
    right: 2%;
    width: 250px;
    z-index: 9;
}

.balloon-g01 {
    position: absolute;
    top: -22%;
    left: 2%;
    width: 270px;
    z-index: 9;
}

.balloon-v01 {
    position: absolute;
    top: -15%;
    right: 2%;
    width: 250px;
    z-index: 9;
}

.balloon-g02 {
    position: absolute;
    bottom: 0%;
    left: 2%;
    width: 270px;
    z-index: 9;
}

@media screen and (max-width: 768px) {
    .deco-container {
        min-height: 400px !important;
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 750px) {

    .deco-item {
        transform: scale(0.65) !important;
    }

    .js-balloon-trigger {
        transform: scale(0.8) !important;
    }
}

@media (max-width: 480px) {

    .balloon-m01 {
        top: 19%;
        left: -10%;
    }

    .balloon-m02 {
        top: 30%;
        right: -14%;
    }

    .balloon-p06 {
        top: 50%;
        left: 0%;
    }

    .balloon-m03 {
        top: 66%;
        right: -11%;
    }

    .balloon-p05 {
        top: 70%;
        left: 4%;
    }

    .balloon-b02 {
        top: -32%;
        left: 9%;
    }

    .balloon-r06 {
        bottom: -20%;
        right: 0%;
    }

    .balloon-b01 {
        bottom: 14%;
        left: 4%;
    }

    .balloon-p04 {
        top: 15%;
        right: -5%;
    }

    .balloon-r01 {
        bottom: -4%;
        right: -14%;
        transform: scale(0.6) !important;
    }

    .balloon-m04 {
        top: -30%;
        left: 8%;
    }

    .balloon-r04 {
        top: 31%;
        left: -10%;
    }

    .balloon-p03 {
        top: 0%;
        right: -10%;
    }

    .balloon-r05 {
        bottom: -18%;
        right: -10%;
    }

    .balloon-m05 {
        top: -43%;
        left: -13%;
    }

    .balloon-p01 {
        bottom: -29%;
        left: -10%;
    }

    .balloon-b06 {
        top: -25%;
        right: -10%;
    }

    .balloon-v02 {
        top: -6%;
        right: -11%;
    }

    .balloon-m07 {
        top: -10%;
        left: -12%;
    }

    .balloon-r02 {
        top: -1%;
        left: 5%;
    }

    .balloon-b04 {
        top: 20%;
        right: -9%;
    }

    .balloon-g03 {
        left: -4%;
    }

    .balloon-p07 {
        bottom: -2%;
        right: -11%;
    }

    .balloon-b03 {
        top: 30%;
        right: -10%;
    }

    .balloon-g01 {
        top: -15%;
        left: -14%;
    }

    .balloon-v01 {
        top: -12%;
        right: -15%;
    }

    .balloon-g02 {
        bottom: 30%;
        left: 0%;
    }
}

/* 向きの微調整用ユーティリティクラス */
.flip-h {
    transform: scaleX(-1);
}

/* 左右反転 */
.rotate-right {
    transform: rotate(15deg);
}

.rotate-left {
    transform: rotate(-15deg);
}

/* コンテンツに被るものは z-index を上げる */
.is-front {
    z-index: 100;
}

.spacer-s {
    height: 100px;
}

.spacer-m {
    height: 250px;
}

.spacer-l {
    height: 500px;
}

/* スマホでは少し高さを抑える調整 */
@media (max-width: 768px) {
    .spacer-l {
        height: 300px;
    }
}