

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* --- 0. 基盤設定 --- */
html { scroll-behavior: smooth; }

.js_point {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s ease, transform 1.0s ease;
}
.js_point.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
#kv2026.js_point { opacity: 1; transform: translateY(0); }

/* デバイス別表示制御 */
@media screen and (min-width: 769px) {
    .pc-only { display: block !important; }
    span.pc-only { display: inline !important; }
    br.pc-only { display: inline !important; }
    .sp-only { display: none !important; }
    br.sp-only { display: none !important; }
}
@media screen and (max-width: 768px) {
    .pc-only { display: none !important; }
    br.pc-only { display: none !important; }
    .sp-only { display: block !important; }
    span.sp-only { display: inline !important; }
    br.sp-only { display: inline !important; }
}

/* ストアバッジ制御 */
body.is-ios .dl-badges .iosNone { display: none !important; }
body.is-android .dl-badges .andNone { display: none !important; }
@media screen and (min-width: 769px) {
    .dl-badges .andNone, .dl-badges .iosNone { display: block !important; }
}

/* --- 1. KVセクション --- */
#kv2026 {
    width: 100%; min-height: 100vh;
    background: #000; position: relative;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden; font-family: 'Noto Sans JP', sans-serif; padding: 60px 0;
}

#kv2026::before {
    content: "";
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/kv_bg.jpg') no-repeat center center;
    background-size: cover; z-index: 0;
    filter: blur(var(--kv-blur, 0px));
    transform: scale(var(--kv-scale, 1));
    will-change: transform, filter;
    transition: filter 0.1s linear, transform 0.1s linear;
}

.kv-container { 
    width: 90%; max-width: 1040px; margin: 0 auto; 
    position: relative; 
    display: flex; flex-direction: column; 
    align-items: center; text-align: center; z-index: 2;
}

@keyframes kvPopIn {
    0% { opacity: 0; transform: translateY(var(--start-y, 20px)); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes kvPopInPC {
    0% { opacity: 0; transform: translateY(calc(-50% + 30px)); }
    100% { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* SP版 KV調整: ロゴを主役(80%)に */
.kv-logo { margin-bottom: 20px; opacity: 0; animation: kvPopIn 0.8s ease forwards; width: 90%; }
.kv-logo img { width: 100%; height: auto; max-width: none; }

.main-copy { 
    color: #fff; font-weight: 900; line-height: 1.1; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.8); 
    font-size: 8.0vw; /* ロゴ幅に合わせた1行サイズ(SP) */
    margin-bottom: 20px; letter-spacing: -0.02em;
    white-space: nowrap;
    opacity: 0; animation: kvPopIn 0.8s ease 0.2s forwards;
}

.lead-text { 
    color: #fff; font-weight: 500; font-size: 18px; 
    margin-bottom: 40px; width: 100%; 
    line-height: 1.4; /* SP版行間タイト化 */
    opacity: 0; animation: kvPopIn 0.8s ease 0.4s forwards; 
}

/* ナビゲーション */
.kv-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; width: 100%; max-width: 600px; margin-bottom: 40px; }
.kv-nav-grid a { display: block; opacity: 0; transform: scale(0.5); transition: transform 0.3s ease, opacity 0.3s ease; }
.kv-nav-grid a:hover { transform: scale(1.05) !important; opacity: 0.9 !important; }
.kv-nav-grid img { width: 100%; height: auto; border-radius: 8px; }

.kv-nav-grid a.item-1 { animation: kvPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards; }
.kv-nav-grid a.item-2 { animation: kvPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards; }
.kv-nav-grid a.item-3 { animation: kvPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards; }

.kv-download-area { width: 100%; margin-top: 20px; }
.dl-title { 
    display: block; color: #fff !important; font-weight: bold; font-size: 18px; margin: 0 0 15px 0; 
    opacity: 0; animation: kvPopIn 0.8s ease 0.9s forwards;
}
.dl-badges { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.dl-badges a { width: 160px; display: block; opacity: 0; transition: transform 0.3s ease; animation: kvPopIn 0.8s ease 1.0s forwards; }
.dl-badges a:hover { transform: scale(1.05) !important; }
.dl-badges img { width: 100%; height: auto; display: block; }

.kv-mock { 
    width: 85%; max-width: 280px; margin: 0 auto 40px; opacity: 0; 
    --start-y: 100px; animation: kvPopIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards; 
}
.kv-mock img { width: 100%; height: auto; }

/* 1.1 PCレイアウト調整 (1100px以上) */
@media screen and (min-width: 1100px) {
    #kv2026 { height: 100vh; }
    .kv-container { align-items: flex-start; text-align: left; }
    
    /* PC版: ロゴ幅をナビと同じ600pxに揃える */
    .kv-logo { width: 600px; margin-bottom: 25px; }
    .kv-logo img { max-width: 600px; }
    
    /* PC版: メインコピーを600pxラインで1行に */
    .main-copy { font-size: 42px !important; max-width: 600px; margin-bottom: 15px; } 
    
    /* PC版: リード文も600pxライン。行間は読みやすく1.8に維持 */
    .lead-text { max-width: 600px; font-size: 20px; line-height: 1.8; margin-bottom: 50px; }
    
    .kv-nav-grid { max-width: 600px; } 
    .dl-badges { flex-direction: row; justify-content: flex-start; gap: 24px; }
    .dl-badges a { width: 192px; flex: 0 0 192px; } 
    
    .kv-mock { 
        position: absolute; right: 0; top: 50%; width: 33%; max-width: 340px; margin: 0; 
        transform: translateY(calc(-50% + 30px)); 
        animation: kvPopInPC 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
    }
}

/* --- 2. 共通セクション設定 --- */
.section-common { padding: 80px 0; background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%); color: #fff; }
.container-inner { width: 90%; max-width: 1040px; margin: 0 auto; }
.section-title { color: #ff8c00; font-weight: 900; text-align: center; font-size: 24px; margin-bottom: 15px; }
.section-lead { color: #ccc; text-align: center; font-size: 15px; line-height: 1.6; max-width: 700px; margin: 0 auto 40px; }

.divider-line { 
    width: 100%; height: 1px; 
    background: linear-gradient(90deg, transparent 0%, rgba(255, 140, 0, 0.5) 50%, transparent 100%); 
    margin: 0 auto; 
}

@media screen and (min-width: 769px) { 
    .section-common { padding: 100px 0; } 
    .section-title { font-size: 36px; } 
    .section-lead { font-size: 18px; margin-bottom: 60px; }
}

.pattern-text p, .pattern-b-text p { color: #ccc; font-size: 16px; line-height: 1.8; margin-bottom: 10px; }
@media screen and (min-width: 769px) { .pattern-text p, .pattern-b-text p { font-size: 18px; } }

/* --- 3. Pattern A (スライダー) --- */
.mock-wrapper { display: block !important; width: 100%; max-width: 840px; margin: 0 auto; }
.mock-item img { 
    position: relative !important; 
    width: 100%; 
    max-width: 240px; 
    margin: 0 auto; 
    border-radius: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    display: block !important;
}
.pattern-text { width: 100%; max-width: 720px; margin: 60px auto 0; text-align: left; }

/* --- 4. Pattern B (横並び) --- */
.pattern-b-content { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.pattern-b-mock img { width: 100%; max-width: 240px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.pattern-b-text { width: 100%; max-width: 480px; text-align: left; }

@media screen and (min-width: 769px) {
    .pattern-b-content { flex-direction: row; justify-content: center; gap: 80px; }
    .pattern-b-content.reversed { flex-direction: row-reverse; }
    .pattern-b-mock { flex: 0 0 240px; }
    .pattern-b-text { flex: 0 1 540px; }
}

/* --- 4.1 Slick Dots (自前描画) --- */
.slick-dots { 
    position: absolute;
    bottom: -35px; 
    display: flex !important; 
    justify-content: center; 
    align-items: center;
    list-style: none; 
    padding: 0; 
    margin: 0;
    width: 100%;
}
.slick-dots li { 
    margin: 0 6px; 
    width: 12px; 
    height: 12px; 
    padding: 0;
}
.slick-dots li button { 
    display: block;
    width: 12px !important; 
    height: 12px !important; 
    padding: 0 !important;
    background: transparent !important; 
    border: none !important; 
    cursor: pointer;
    font-size: 0 !important; 
    line-height: 0 !important;
    outline: none;
    position: relative;
}
.slick-dots li button:before { 
    content: '' !important; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff !important; 
    border-radius: 50%; 
    opacity: 0.25 !important; 
    transition: opacity 0.3s ease, background-color 0.3s ease;
}
.slick-dots li.slick-active button:before { 
    background-color: #ff8c00 !important; 
    opacity: 1 !important; 
}

/* --- 5. フッター --- */
#footer { background: #000; color: #fff; border-top: 1px solid #333; padding: 0; }
#footTop { padding: 4rem 1.5rem 5rem; text-align: center; }
#footTopLogo img { max-width: 140px; margin-bottom: 2.5rem; }
#appDetailArea { text-align: left; width: 90%; max-width: 550px; margin: 0 auto; }
#appDetailArea .text { 
    margin-bottom: 1.5rem; line-height: 1.8; color: #fff; display: block; 
    font-weight: 700; font-size: 16px; 
}
#appDetailArea .anno { list-style: none; padding: 0; margin-top: 2rem; }
#appDetailArea .anno li { 
    margin-bottom: 0.8rem; line-height: 1.6; font-size: 11px; color: #888; 
    text-indent: -1.2em; padding-left: 1.2em;
}
#footBtm { background: #000; padding: 2rem; text-align: center; border-top: 1px solid #222; }
#copy { color: #888; font-size: 12px; letter-spacing: 0.1em; }