/*
 * top.css — トップページ専用スタイル（ネイビー & ゴールドテーマ）
 * body.top-page で完全スコープ、他ページへの影響なし
 */

/* =============================================
 * テーマカラー変数
 * =============================================
 */
body.top-page {
    --tp-navy:        #0D1B2A;
    --tp-navy-mid:    #152336;
    --tp-navy-light:  #1E3048;
    --tp-gold:        #C9A84C;
    --tp-gold-light:  #E8D5A3;
    --tp-cream:       #F3F1EC;
    --tp-white:       #FFFFFF;
    --tp-text:        #1A1A1A;
    --tp-muted:       #6B7280;
}

/* =============================================
 * HEADER
 * =============================================
 */
body.top-page .header-section {
    background: var(--tp-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
body.top-page .header-left1 h1 {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}
body.top-page .header-right1.contactBtn {
    background: var(--tp-gold);
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
}
body.top-page .header-right1.contactBtn a {
    color: var(--tp-navy);
    font-weight: 700;
}
body.top-page .header-menu-item a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
body.top-page .header-menu-item a:hover {
    color: var(--tp-gold);
    opacity: 1;
}
body.top-page .header-menu-item:not(:last-child)::before {
    background: rgba(255, 255, 255, 0.2);
}

@media only screen and (max-width: 1024px) {
    body.top-page .header-section {
        background: var(--tp-navy);
    }
    body.top-page .header-mobile-btn {
        background: var(--tp-gold);
        color: var(--tp-navy);
        border-radius: 50px;
    }
    body.top-page .header-mobile-menu {
        background: var(--tp-navy);
    }
    body.top-page .header-mobile-menu::before {
        background: var(--tp-navy);
    }
    body.top-page .header-mobile-menu-inner ul li a {
        color: rgba(255, 255, 255, 0.9);
    }
    body.top-page .header-mobile-close {
        color: rgba(255, 255, 255, 0.7);
    }
    body.top-page .header-mobile-menu .contactBtn {
        background: var(--tp-gold);
    }
    body.top-page .header-mobile-menu .contactBtn a {
        color: var(--tp-navy);
        font-weight: 700;
    }
}

/* =============================================
 * HERO
 * =============================================
 */
body.top-page .main {
    background: var(--tp-navy);
    background-image: none !important;
    margin-top: 0;
    padding-top: 90px;
    padding-bottom: 110px;
    height: auto;
    min-height: unset;
    position: relative;
    overflow: hidden;
}

/* 右下の装飾リング */
body.top-page .main::before {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 60px solid rgba(201, 168, 76, 0.08);
    pointer-events: none;
}
/* 左上の装飾リング */
body.top-page .main::after {
    content: "";
    position: absolute;
    left: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 40px solid rgba(201, 168, 76, 0.05);
    pointer-events: none;
}

body.top-page .main-subtext {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: var(--tp-gold);
    color: var(--tp-navy);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
}

body.top-page .main h2 {
    margin-bottom: 24px;
}

body.top-page .main-text {
    color: var(--tp-white);
    font-size: 50px;
    font-weight: 900;
    line-height: 1.5;
    margin-top: 16px;
    margin-bottom: 0;
}

body.top-page .main-left p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.9;
    margin-top: 0;
    margin-bottom: 0;
}

/* メインボタン */
body.top-page .main-btns {
    margin-top: 44px;
    gap: 16px;
}
body.top-page .main-btn1 {
    background: var(--tp-gold);
    border-radius: 50px;
    height: 54px;
    width: 220px;
    transition: opacity 0.2s, transform 0.2s;
}
body.top-page .main-btn1:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}
body.top-page .main-btn1 span {
    color: var(--tp-navy);
    font-weight: 700;
    padding: 0;
    font-size: 14px;
}
body.top-page .main-btn1 span::before {
    display: none;
}
body.top-page .main-btn2 {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    height: 54px;
    width: 200px;
    transition: border-color 0.2s, transform 0.2s;
}
body.top-page .main-btn2:hover {
    border-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transform: translateY(-2px);
}
body.top-page .main-btn2 span {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0;
    font-size: 14px;
}
body.top-page .main-btn2 span::before {
    display: none;
}

/* 画像フレーム */
body.top-page .main-topimg {
    border: 3px solid var(--tp-gold);
    border-right: none;
    border-radius: 24px 0 0 24px;
    box-shadow: -12px 12px 40px rgba(0, 0, 0, 0.35);
}

@media only screen and (max-width: 1024px) {
    body.top-page .main {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    body.top-page .main-text {
        font-size: 30px;
    }
    body.top-page .main::before,
    body.top-page .main::after {
        display: none;
    }
}

/* =============================================
 * SECTION 共通 — subh2 & h2 カラー
 * =============================================
 */
body.top-page .subh2 {
    color: var(--tp-gold);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}
body.top-page h2 {
    margin-bottom: 50px;
}

/* =============================================
 * ABOUT
 * =============================================
 */
body.top-page .about-section {
    margin-top: 100px;
    padding: 0 60px;
}
body.top-page .about-inner {
    text-align: center;
}
body.top-page .about-flex {
    margin-top: 0;
    gap: 24px;
}
body.top-page .about-card {
    border: none;
    border-top: 4px solid var(--tp-gold);
    border-radius: 0 0 20px 20px;
    background: var(--tp-white);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.07);
    padding: 36px 28px 40px;
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
}
body.top-page .about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
body.top-page .about-icon {
    font-size: 32px;
    margin-bottom: 18px;
    display: block;
}
body.top-page .about-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--tp-text);
    margin-bottom: 12px;
    line-height: 1.4;
}
body.top-page .about-card p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--tp-muted);
}

@media only screen and (max-width: 1024px) {
    body.top-page .about-section {
        margin-top: 60px;
        padding: 0 20px;
    }
    body.top-page .about-flex {
        flex-direction: column;
        gap: 16px;
    }
}

/* =============================================
 * BRANDS
 * =============================================
 */
body.top-page .brands-section {
    margin-top: 100px;
    padding: 80px 60px;
    background: var(--tp-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.top-page .brands-inner {
    text-align: center;
}
body.top-page .brands-categories {
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
body.top-page .brand-category-item {
    background: var(--tp-navy);
    border-radius: 8px;
    padding: 10px 24px;
}
body.top-page .brand-category-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--tp-white);
    letter-spacing: 0.05em;
}
body.top-page .brands-list {
    gap: 10px;
}
body.top-page .brand-tag {
    background: var(--tp-white);
    border: 1.5px solid var(--tp-navy);
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tp-navy);
    transition: background 0.2s, color 0.2s;
}
body.top-page .brand-tag:hover {
    background: var(--tp-navy);
    color: var(--tp-white);
}
body.top-page .brand-tag--more {
    border-style: dashed;
    color: #999;
    border-color: #bbb;
    background: transparent;
}
body.top-page .brand-tag--more:hover {
    background: transparent;
    color: #999;
}
body.top-page .brands-note {
    margin-top: 28px;
    color: #999;
    font-size: 12px;
}

@media only screen and (max-width: 1024px) {
    body.top-page .brands-section {
        margin-top: 60px;
        padding: 50px 20px;
    }
}

/* =============================================
 * RESULTS
 * =============================================
 */
body.top-page .results-section {
    margin-top: 100px;
    padding: 0 60px;
}
body.top-page .results-inner {
    text-align: center;
}
body.top-page .results-lead {
    color: var(--tp-muted);
    font-size: 14px;
    margin-top: -30px;
    margin-bottom: 44px;
}
body.top-page .results-flex {
    gap: 24px;
}
body.top-page .results-card {
    background: var(--tp-white);
    border: 1.5px solid #E5E7EB;
    border-radius: 20px;
    padding: 44px 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
body.top-page a.results-card:hover {
    border-color: var(--tp-gold);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.15);
    transform: translateY(-4px);
    opacity: 1;
}
body.top-page .results-card--coming {
    background: #FAFAFA;
    border-style: dashed;
}
body.top-page .results-platform-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--tp-text);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
body.top-page .results-platform-sub {
    font-size: 11px;
    color: #C0C0C0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
body.top-page .results-status--active {
    background: var(--tp-gold);
    color: var(--tp-navy);
    font-weight: 700;
}
body.top-page .results-status--coming {
    background: #EFEFEF;
    color: #AFAFAF;
}
body.top-page .results-url {
    color: var(--tp-gold);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
}
body.top-page .results-card--coming .results-url {
    color: #C0C0C0;
}

@media only screen and (max-width: 1024px) {
    body.top-page .results-section {
        margin-top: 60px;
        padding: 0 20px;
    }
    body.top-page .results-flex {
        flex-direction: column;
        gap: 16px;
    }
    body.top-page .results-lead {
        margin-top: 0;
        margin-bottom: 28px;
    }
}

/* =============================================
 * MERIT
 * =============================================
 */
body.top-page .merit-section {
    margin-top: 100px;
    padding: 90px 60px;
    background: var(--tp-navy);
    position: relative;
    overflow: hidden;
}
/* 装飾ライン */
body.top-page .merit-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--tp-gold), transparent);
}
body.top-page .merit-inner {
    text-align: center;
}
body.top-page .merit-inner h2 {
    color: var(--tp-white);
}
body.top-page .merit-flex {
    gap: 24px;
    margin-top: 0;
}
body.top-page .merit-card {
    background: var(--tp-navy-light);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: left;
    transition: border-color 0.25s, background 0.25s;
}
body.top-page .merit-card:hover {
    border-color: rgba(201, 168, 76, 0.5);
    background: var(--tp-navy-mid);
}
body.top-page .merit-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--tp-gold);
    letter-spacing: 0.18em;
    margin-bottom: 20px;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}
body.top-page .merit-num::after {
    content: "";
    display: block;
    flex: 1;
    height: 1px;
    background: rgba(201, 168, 76, 0.25);
}
body.top-page .merit-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--tp-white);
    margin-bottom: 14px;
    line-height: 1.5;
}
body.top-page .merit-card p {
    font-size: 13px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.5);
}

@media only screen and (max-width: 1024px) {
    body.top-page .merit-section {
        margin-top: 60px;
        padding: 60px 20px;
    }
    body.top-page .merit-flex {
        flex-direction: column;
        gap: 16px;
    }
}

/* =============================================
 * CTA
 * =============================================
 */
body.top-page .cta-section {
    padding: 110px 60px;
    background: var(--tp-cream);
    position: relative;
}
body.top-page .cta-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
body.top-page .cta-inner h2 {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.65;
    margin-bottom: 20px;
    color: var(--tp-navy);
}
body.top-page .cta-inner p {
    font-size: 14px;
    color: var(--tp-muted);
    line-height: 1.8;
    margin-bottom: 44px;
}
body.top-page .cta-btn {
    display: inline-block;
    background: var(--tp-navy);
    color: var(--tp-white);
    font-size: 15px;
    font-weight: 700;
    padding: 20px 64px;
    border-radius: 50px;
    letter-spacing: 0.06em;
    border: 2px solid var(--tp-navy);
    transition: background 0.25s, color 0.25s, transform 0.2s;
}
body.top-page .cta-btn:hover {
    background: transparent;
    color: var(--tp-navy);
    transform: translateY(-2px);
    opacity: 1;
}

@media only screen and (max-width: 1024px) {
    body.top-page .cta-section {
        padding: 60px 20px;
    }
    body.top-page .cta-inner h2 {
        font-size: 22px;
    }
    body.top-page .cta-btn {
        display: block;
        padding: 18px 24px;
        text-align: center;
    }
}

/* =============================================
 * FOOTER（トップページ）
 * =============================================
 */
body.top-page .footer-section {
    background: var(--tp-navy);
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0;
    margin-bottom: 0;
}
body.top-page .footer-section .footer-left div {
    color: rgba(255, 255, 255, 0.75);
}
body.top-page .footer-hon {
    color: var(--tp-gold) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 14px;
    margin-bottom: 4px;
}
body.top-page .footer-section ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    transition: color 0.2s;
}
body.top-page .footer-section ul li a:hover {
    color: var(--tp-gold);
    opacity: 1;
}
body.top-page .footer-section .footer-rightl > div {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
}
body.top-page .footer-corp {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
body.top-page .footer-corp small {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}
