/* ----------------------------------------------------------------
   MST Page CSS - Ultra Slim Footer & Flush Version
   ---------------------------------------------------------------- */

/* =========================================================
   1. Theme Reset & Base (Header Hidden / Footer Active)
   ========================================================= */
.site-header,
.entry-header,
.page-header {
    display: none !important;
}

/* =========================================================
   Ultimate Slim Footer (Corrected Layout)
   ========================================================= */

/* 1. フッター全体のベース */
.site-footer {
    display: block !important;
    background-color: #0b0b0b !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    min-height: 0 !important;
}

/* 2. 内部コンテナ：要素を縦に並べて中央揃え */
.site-footer .container,
.site-footer .mst-container,
.site-footer .footer-inner {
    display: flex !important;
    flex-direction: column !important;
    /* 縦並びに強制 */
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 0 8px 0 !important;
    /* 上下の絶妙な余白 */
    max-width: 100% !important;
}

/* 3. SNSアイコンエリア：横に並べる */
.site-footer .social-links-menu,
.site-footer .widget_nav_menu ul {
    display: flex !important;
    flex-direction: row !important;
    /* アイコンは横並び */
    justify-content: center !important;
    gap: 25px !important;
    margin: 0 0 6px 0 !important;
    /* 下の文字との隙間 */
    padding: 0 !important;
    list-style: none !important;
}

/* アイコン自体のサイズ感 */
.site-footer a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    display: inline-block !important;
    transition: 0.3s;
}

.site-footer a:hover {
    color: var(--accent, #00d2ff) !important;
    transform: translateY(-2px);
}

/* 4. コピーライト */
.site-footer .copy-right,
.site-footer .site-info {
    font-size: 10px !important;
    color: #333 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    display: block !important;
    letter-spacing: 0.05em;
}

/* 前のセクションとの隙間を完全に埋める */
.mst-article section {
    margin-bottom: 0 !important;
}

/* =========================================================
   3. Components & Sections (Base Styles)
   ========================================================= */
.mst-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.mst-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* ボタン */
.mst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.mst-btn-accent {
    background: var(--accent, #00d2ff);
    color: #000;
    border: 1px solid var(--accent, #00d2ff);
}

.mst-btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* =========================================================
   Header CTA Button Neon Hover
   ========================================================= */

/* ヘッダーのお問い合わせボタンの基本状態（念のため上書き） */
.custom-header-wrapper .cta-button {
    background: var(--accent, #00d2ff) !important;
    color: #000 !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    box-shadow: 0 2px 10px rgba(0, 210, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
}

/* ★ホバーアクション：ネオン発光 */
.custom-header-wrapper .cta-button:hover {
    background: #fff !important;
    /* 背景を白くして発光を強調 */
    color: var(--accent, #00d2ff) !important;
    /* 文字を青く */
    transform: translateY(-2px);
    /* 軽く浮かせる */

    /* 強力なネオン発光エフェクト */
    box-shadow:
        0 0 10px var(--accent, #00d2ff),
        0 0 20px var(--accent, #00d2ff),
        0 0 40px rgba(0, 210, 255, 0.4) !important;
}

/* スマホメニュー内のボタンにも適用 */
.mobile-menu-drawer .cta-button:hover {
    box-shadow: 0 0 15px var(--accent, #00d2ff) !important;
}

/* =========================================================
   4. Background Patterns (Subtle Grey)
   ========================================================= */
.mst-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.1;
}

.mst-pattern-diagonal {
    background-image: repeating-linear-gradient(45deg, #808080 0, #808080 1px, transparent 0.5px, transparent 12px);
}

.mst-pattern-grid {
    background-image: linear-gradient(#808080 0.5px, transparent 0.5px), linear-gradient(90deg, #808080 0.5px, transparent 0.5px);
    background-size: 10px 10px;
}

/* =========================================================
   5. Safari & Map Flush Fix
   ========================================================= */
.mst-custom-html--flush {
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

.mst-custom-html--flush iframe {
    display: block;
    width: 100%;
    border: none;
    vertical-align: bottom;
}

/* Responsive */
@media (max-width: 900px) {
    .mst-mv-sub {
        font-size: 2.5rem;
    }

    .site-footer {
        padding: 15px 0 !important;
    }
}