/* =========================================
   about-wan.css: ワン外伝ページ専用
   ========================================= */

/* ヘッダー画像（このページ固有） */
.header {
    background-image: url('../page-images/wan/header-wan.png');
}

/* タイトル文字色・影（このページ固有：青文字・白縁取り） */
.site-title, .header h1 {
    color: #0d47a1;
    text-shadow: 3px 3px 0px #ffffff,
                -2px -2px 0px #ffffff,
                 2px -2px 0px #ffffff,
                -2px  2px 0px #ffffff,
                 0px  6px 15px rgba(0, 0, 0, 0.2);
}

.site-title:hover, .header h1:hover {
    color: #1565c0;
}

/* サブタイトル色・影（このページ固有） */
.site-subtitle, .header-subtitle {
    color: #0d47a1;
    text-shadow: 1px 1px 0 #ffffff, -1px -1px 0 #ffffff,
                 1px -1px 0 #ffffff, -1px  1px 0 #ffffff,
                 2px 2px 6px rgba(0, 0, 0, 0.15);
}

/* --- イントロカード --- */
.intro-card {
    background: #ffffff !important;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 850px;
    margin: 40px auto;
    border-left: 10px solid #ffd32a;
}

/* --- プラットフォームグリッド --- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px auto;
}

.platform-card {
    background: #ffffff !important;
    border-radius: 30px;
    border: 2px solid #fff9e6;
    box-shadow: 0 10px 0 #ffd32a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    transition: all 0.3s ease;
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(255, 211, 42, 0.3);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #fffdf0;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 30px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    color: #bf7200;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.card-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* --- ボタン --- */
.btn {
    display: block;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff !important;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
    transition: opacity 0.3s;
    margin-top: auto;
}

.btn-ameba { background: #2ecc71; }
.btn-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #bc1888); }
.btn-x     { background: #000; }

/* --- 見どころセクション --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    background: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 30px;
    border: 3px dashed #ffd32a;
    margin-top: 40px;
}

.feature-item h4 {
    color: #bf7200;
    border-bottom: 3px solid #ffd32a;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 800;
}

/* --- Instagramセクション --- */
.insta-showcase {
    margin: 60px auto;
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 40px;
}

.insta-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.instagram-media {
    margin: 0 auto !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border: 4px solid #ffffff !important;
}

.insta-showcase .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #bf7200;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .intro-card {
        padding: 25px 20px;
        margin: 40px 15px;
    }
    .insta-container {
        padding: 0 10px;
    }
}
