/* Campaign Page Styles */
#container.lower:before, #container.system:before, #container.terminal:before {
    /*background-color: rgba(0, 0, 0, 1);*/
}

.parts_column_02 {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

/* ナビゲーション */
.campaign-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0s 0.3s;
    width: 100%;
    margin: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    display: flex;
    gap: 5px;
}

/* 非表示状態 */
.campaign-nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    height: 0;
    overflow: hidden;
    padding: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0s 0.3s;
}

/* 表示状態（位置固定） */
.campaign-nav-fixed {
    padding: 5px;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: auto;
    overflow: visible;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0s;
}

.campaign-nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    transition: opacity 0.3s;
    position: relative;
    background: #fde009;
    border-radius: .3em;
}


.campaign-nav-item:hover {
    opacity: 0.8;
}

/* メイン画像 */
.main-image {
    max-width: 1000px;
    width: 100%;
    height: auto;
    /*display: block;*/
    margin-left: auto;
    margin-right: auto;
}

/* セクション共通 */
.campaign-section {
    /*background: rgba(0, 0, 0, 0.32);*/
    padding: 20px 0 20px 0;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.campaign-section.dark {
    background: transparent;
}

/* セクション見出し */
.section-title {
    position: relative;
    width: calc(100% - 94px);
    max-width: 706px;
    height: 60px;
    margin: 0 auto 30px;
}

.section-title-bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.section-title-layer1 {
    position: absolute;
    left: 78.914px;
    top: 12.53px;
    right: -4px;
    height: 90%;
    background: #6e591d;
    transform: skewX(-45deg);
}

.section-title-layer2 {
    position: absolute;
    left: -2px;
    top: -2px;
    right: 78.914px;
    height: 90%;
    background: #6e591d;
    transform: skewX(-45deg);
}

.section-title-layer3 {
    position: absolute;
    left: 2.132px;
    top: 3.199px;
    right: 0;
    height: 90%;
    background: #FFCD00;
    transform: skewX(-45deg);
}

.section-title-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    z-index: 1;
}

/* セクション内容 */
.section-content {
    max-width: 706px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-content ul {
    color: #FFF;
}

.section-content > p:first-of-type {
    margin-bottom: 1em;
}

.section-main-text {
    font-size: 20px !important;
    font-weight: 700 !important;
        color: #f3aa9b !important;
    margin-bottom: 10px;
    text-align: center !important;
}

.section-sub-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: center !important;
}

/* STEPボックス */
.step-list {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-item {
    background: rgba(255, 205, 0, .1);
    border: 2px solid #FFCD00;
    border-radius: 6px;
    margin-bottom: 0;
    overflow: hidden;
    flex: 1;
}
.sp { display: none;}

/* デスクトップで横並び */
@media screen and (min-width: 769px) {
    
    /* ナビ3つ目：デスクトップでは「マキシマムチューン 6RR PLUS」を1行に */
    .nav-mobile-br {
        display: none;
    }

    .section-content {
        text-align: center;
    }

    .section-content p {
        text-align: center !important;
    }
    
    .section-title {
        width: 100%;
        max-width: calc(100% - 60px);
    }
    
    .store-section .section-title {
        max-width: calc(1000px - 60px);
    }
    
    .step-list {
        flex-direction: row;
        gap: 10px;
    }
    
    .step-item {
        margin-bottom: 0;
    }
    
    .mobile-br {
        display: none;
    }
    
    .desktop-br {
        display: inline;
    }
    
    /* .store-map の3:2は共通スタイルで aspect-ratio を使用 */
}

.step-header {
    background: #000;
    padding: 10px 0;
    text-align: center;
}

.step-number {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 30px;
    font-weight: 800;
    font-style: italic;
    color: #FFCD00;
}

.step-content {
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.step-content img {
    flex-shrink: 0;
}

/* Bandai Namco Passport説明 */
.passport-info {
    max-width: 100%;
    margin: 20px auto 0;
    padding: 0 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
}

.passport-info p {
    margin: 0 0 8px;
}

.passport-info a {
    color: #FFCD00;
    text-decoration: underline;
}

/* 注意事項 */
.notes {
    max-width: 100%;
    margin: 20px auto 0;
    padding: 20px;
    background: rgba(0, 0, 0, .4);
    font-size: 12px;
    color: #fff;
    line-height: 2;
}

/* 店舗セクション */
.store-section {
    padding: 40px 0;
}

.store-map {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    position: relative;
    aspect-ratio: 3 / 2; /* 3:2アスペクト比（モバイル・デスクトップ共通） */
    overflow: hidden;
    border-radius: 0.6em;
}

.store-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.store-link {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
    padding: 10px 47px;
    font-size: 13px;
    color: #fff;
}

.store-link a {
    color: #FFCD00;
    text-decoration: underline;
}

@media screen and (min-width: 1095px) {
    .store-link {
        padding-left: 0;
        padding-right: 0;
    }
}

.store-note {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 20px 20px;
}

/* 店舗一覧（都道府県別アコーディオン） */
.store-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.store-prefecture-item {
    border: 2px solid #FFCD00;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(255, 205, 0, 0.08);
}

.store-prefecture-item:last-child {
    margin-bottom: 0;
}

.store-prefecture-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.store-prefecture-btn:hover {
    background: rgba(255, 205, 0, 0.15);
}

.store-prefecture-btn-text {
    flex: 1;
    padding-right: 12px;
}

.store-prefecture-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid #FFCD00;
    border-bottom: 2px solid #FFCD00;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.store-prefecture-item.is-open .store-prefecture-icon {
    transform: rotate(-135deg);
}

.store-prefecture-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.store-prefecture-answer[hidden] {
    display: block !important;
    max-height: 0;
}

.store-prefecture-item.is-open .store-prefecture-answer {
    max-height: 5000px;
}

.store-prefecture-inner {
    padding: 0 20px 18px;
    border-top: 1px solid rgba(255, 205, 0, 0.4);
}

.store-list .store-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: #fff;
}

.store-list .store-item:last-child {
    border-bottom: none;
}

.store-list .store-item dt {
    font-weight: bold;
    margin-bottom: 4px;
}

.store-list .store-item dd {
    margin: 0;
    padding-left: 0;
    color: rgba(255, 255, 255, 0.9);
}

.store-list .store-item dt a {
    color: #FFCD00;
    text-decoration: underline;
}

.store-list .store-item dt a:hover {
    text-decoration: none;
}

/* ゲーム紹介セクション */
.game-intro-section {
    /*background: rgba(255, 255, 255, 0.22);*/
    padding: 0; /*background-image: url("../img/bg.png"); background-size: auto 10px;*/
}

#detail { /*background-image: url("../img/bg.png"); background-size: auto 10px;*/}

.game-intro-header {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background: #000;
    border-top: 4px solid #FFCD00;
    padding: 30px 0;
    text-align: center;
}

.game-intro-title {
    font-size: 28px;
    font-weight: 700;
    color: #FFCD00;
}

.game-intro-image {
    max-width: 1000px;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    background: #555;
    display: block;
}

.game-intro-text {
    font-size: 23px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    line-height: 1.8;
}

.game-feature-image {
    width: 100%;
    max-width: 513px;
    height: auto;
    margin: 20px auto;
    display: block;
}

.btn-primary {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 50px;
    background: #E7373A;
    border: 2px solid #000;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    color: #FFF;
    text-decoration: none;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
    margin-top: 20px;
    margin-bottom: 40px;
}

.btn-primary:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

/* 配信動画セクション */
.video-section {
    background: #FFCD00;
    padding: 40px 0;
    text-align: center;
}

.video-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

.video-list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 706px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.video-item {
    flex: 0 1 247px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: opacity 0.3s;
    position: relative;
}

.video-item:hover {
    opacity: 0.8;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    background: #666;
    display: block;
    margin-bottom: 10px;
    object-fit: cover;
}

.video-caption {
    font-size: 14px !important;
    color: #000 !important;
    text-align: center !important;
    white-space: nowrap;
}

/* 配信動画セクション下のTikTokアイコン */
.video-section-tiktok {
    margin: 20px 0 0;
    width: 100%;
    text-align: center;
}
.video-tiktok-icon {
    width: 50px;
    height: 50px;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
}

/* 動画サムネイル中央の再生アイコン */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 64px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.btn-secondary {
    display: block;
    padding: 15px 60px;
    background: #E7373A;
    border: 2px solid #000;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    color: #FFF;
    text-decoration: none;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
    margin: 30px auto 0;
    text-align: center;
    width: fit-content;
}

.btn-secondary:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

/* デスクトップ：ナビを max-width 1000px で中央寄せ */
@media screen and (min-width: 769px) {
    .campaign-nav {
        max-width: 1000px;
        left: 50%;
        right: auto;
        transform: translate(-50%, -100%);
    }

    .campaign-nav-fixed {
        transform: translate(-50%, 0);
    }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .campaign-nav {
        flex-wrap: wrap;
        position: fixed;
        top: 0;
        z-index: 2;
    }

    .campaign-nav-item {
        font-size: 14px;
        padding: 15px 5px;
        line-height: 1.3;
        flex: 1 1 0;
        min-width: 0;
    }

    .campaign-nav-item:nth-child(3) {
        border-right: none;
    }

    .section-title {
        width: calc(100% - 80px);
        height: 60px;
    }

    .section-title-layer1 {
        height: 54.4px;
    }

    .section-title-layer2 {
        height: 54.4px;
    }

    .section-title-layer3 {
        top: 2.8px;
        height: 54.4px;
    }

    .section-title-text {
        font-size: 20px;
        top: calc(2.8px + 54.4px / 2);
        transform: translate(-50%, -50%);
    }

    .section-main-text {
        font-size: 20px !important;
    }

    .section-sub-text {
        font-size: 13px;
    }

    .store-link {
        padding: 10px 20px;
    }

    .store-map {
        aspect-ratio: 1 / 1;
        border-radius: 0;
    }

    .step-content {
        font-size: 14px;
        padding: 20px 15px;
    }

    .notes {
    }

    .game-intro-title {
        font-size: 20px;
        padding: 0 20px;
    }

    .game-intro-text {
        font-size: 18px;
        padding: 30px 20px;
    }
    
    .desktop-br {
        display: none;
    }
    
    .mobile-br {
        display: inline;
    }

    .video-list {
        gap: 20px;
        flex-wrap: nowrap;
    }

    .video-item {
        flex: 0 1 auto;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 40px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .campaign-nav-item {
        font-size: 12px;
        padding: 12px 3px;
        flex: 1 1 0;
        min-width: 0;
    }

    .section-title-text {
        font-size: 18px;
        top: calc(2.8px + 54.4px / 2);
        transform: translate(-50%, -50%);
    }

    .section-main-text {
        font-size: 20px !important;
    }

    .game-intro-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .game-intro-text {
        font-size: 16px;
        line-height: 1.6;
    }

    .video-section-title {
        font-size: 22px;
    }

    .video-item {
        flex: 0 1 auto;
        max-width: 247px;
    }
}
nav.campaign-nav:before {
    display: block;
    content: "";
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .05);
}
figure {
    height: 70px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

img.icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.campaign-section:before {
    /*content: "";*/
    display: block;
    background: rgba(255, 255, 255, .15); 
    height: calc(100% - 50px);
    position: absolute;
    bottom: 0;
    left: 1%;
    border: 0px solid #FFCD00;
    width: 98%;
    border-radius: 0em;
}

.pc { display: block!important;}
@media screen and (max-width: 768px) {
    .sp { display: block;}
    .pc { display: none!important;}
    .step-content figure {
        height: auto;
        width: 40%;
    }
    
    .step-item:nth-child(2) .step-content figure {
        height: auto;
        width: 30%;
    }
    
    .step-item:last-child .step-content figure {
        width: 80%;
    }
}

#gFooter .copyright {
    padding: 30px 10px;
}

/* FAQ アコーディオン */
.faq-section .faq-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    border: 2px solid #FFCD00;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(255, 205, 0, 0.08);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 205, 0, 0.15);
}

.faq-question-text {
    flex: 1;
    padding-right: 12px;
}

.faq-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid #FFCD00;
    border-bottom: 2px solid #FFCD00;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer[hidden] {
    display: block !important;
    max-height: 0;
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 20px 18px;
    border-top: 1px solid rgba(255, 205, 0, 0.4);
}

.faq-answer-inner p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.faq-answer-inner p:first-child {
    margin-top: 16px;
}
