/* =========================================
   about-extra.css: 番外編ページ専用
   ========================================= */

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

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

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

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

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

/* =========================================
   グリッド（プラットフォーム・誘導 共通）
   ========================================= */
.platform-grid, .guidance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: stretch;
}

/* =========================================
   カード（プラットフォーム・誘導 共通）
   ========================================= */
.platform-card, .guidance-card {
    background: #ffffff;
    border-radius: 30px;
    border: 2px solid #e8f8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.platform-card:hover, .guidance-card:hover {
    transform: translateY(-5px);
}

.platform-card:hover {
    box-shadow: 0 15px 25px rgba(0, 196, 113, 0.3);
}

/* --- サムネイル画像ラッパー --- */
.card-image-wrapper, .guidance-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0fff8;
}

.card-image-wrapper img, .guidance-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   カード内部（プラットフォーム・誘導 共通）
   ========================================= */
.card-body, .guidance-body {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3, .guidance-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a7a4a;
}

.card-body p, .guidance-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
    flex-grow: 1;
}

/* =========================================
   カード影（底面の太線）
   ========================================= */
.platform-card { box-shadow: 0 10px 0 #00c471; }
.card-ai       { box-shadow: 0 10px 0 #6c5ce7; }
.card-canva    { box-shadow: 0 10px 0 #fd79a8; }
.card-phone    { box-shadow: 0 10px 0 #2ecc71; }

/* =========================================
   ボタン
   ========================================= */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: #fff !important;
    font-weight: bold;
    margin-top: 15px;
}

.btn-digital { background-color: #f1c40f; color: #333 !important; }
.btn-note    { background-color: #41d993; }
.btn-hatena  { background-color: #34495e; }

.btn-guide {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: auto;
    align-self: center;
    transition: opacity 0.3s;
}

/* =========================================
   アクセントカラー
   ========================================= */
.bg-ai     { background: #6c5ce7; }
.bg-canva  { background: #fd79a8; }
.bg-phone  { background: #2ecc71; }

/* =========================================
   ワサビのメッセージ
   ========================================= */
.wasabi-card {
    background: #eef2f7;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    max-width: 700px;
    margin: 60px auto;
    border: 2px solid #34495e;
}

.wasabi-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background: #34495e;
    color: white;
    padding: 5px 20px;
    border-radius: 8px;
    font-weight: bold;
}

.wasabi-content {
    font-style: italic;
    color: #2c3e50;
    line-height: 1.8;
}

.wasabi-name {
    display: block;
    text-align: right;
    margin-top: 15px;
    font-weight: bold;
}

/* =========================================
   スマホ対応
   ========================================= */
@media (max-width: 768px) {
    .platform-grid, .guidance-grid {
        grid-template-columns: 1fr;
    }
}
