/* STEAM特設ページ用スタイル */
.container { max-width: 1000px; margin: 0 auto; padding: 60px 20px; }

/* ヒーロー */
.steam-hero {
    background: linear-gradient(135deg, #fff 0%, #fdf2f2 100%);
    text-align: center;
    padding: 100px 20px;
    border-bottom: 1px solid #eee;
}
.steam-hero .sub-title { color: #e60012; font-weight: bold; letter-spacing: 0.1em; }
.steam-hero h1 { font-size: 2.5rem; margin: 20px 0; color: #333; line-height: 1.4; }

/* イントロ */
.intro-box { background: #fff; border: 2px solid #e60012; padding: 40px; border-radius: 20px; text-align: center; }
.intro-box h2 { margin-bottom: 20px; color: #e60012;}

/* 5つの要素カード */
.steam-elements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}
.element-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border-top: 5px solid #ccc;
    transition: 0.3s;
}
.element-card:hover { transform: translateY(-10px); }
.el-head { font-size: 1.2rem; font-weight: bold; margin-bottom: 15px; }
.el-head span { font-size: 2rem; display: block; }

/* 各カラー分け */
.border-s { border-top-color: #4CAF50; } /* 科学 */
.border-t { border-top-color: #2196F3; } /* 技術 */
.border-e { border-top-color: #FF9800; } /* 工学 */
.border-a { border-top-color: #9C27B0; } /* 芸術 */
.border-m { border-top-color: #F44336; } /* 数学 */

/* 脳科学コラム */
.brain-column { background: #ffffff; padding: 80px 0; }
.flex-row { display: flex; align-items: center; gap: 40px; }
.text-area { flex: 1; }
.image-area { flex: 1; }
.image-area img { width: 100%; border-radius: 15px; }
.label { color: #e60012; font-weight: bold; }

/* CTA */
.steam-cta { text-align: center; }
.cta-btns { margin-top: 30px; }

/* スマホ対応 */
@media (max-width: 768px) {
    .flex-row { flex-direction: column; }
    .steam-hero h1 { font-size: 1.8rem; }
}

.steam-comparison { padding-top: 20px; }
.section-title { text-align: center; margin-bottom: 40px; }

.table-wrapper { overflow-x: auto; }
.steam-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.steam-table th, .steam-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.steam-table th {
    background: #f8f8f8;
    color: #e60012;
    font-size: 0.9rem;
}
.p-name { font-weight: bold; color: #333; }

/* STEAMドットの装飾 */
.s-dot, .t-dot, .e-dot, .a-dot, .m-dot {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    margin-right: 4px;
    font-weight: bold;
}
.s-dot { background: #4CAF50; }
.t-dot { background: #2196F3; }
.e-dot { background: #FF9800; }
.a-dot { background: #9C27B0; }
.m-dot { background: #F44336; }

@media (max-width: 600px) {
    .steam-table th, .steam-table td { font-size: 0.85rem; padding: 12px; }
}

/* ヒント（STEAM）を薄く目立たなくする */
.hint {
    display: block;
    font-size: 0.7rem;
    color: #ccc; /* 薄いグレーにして「匂わせ」に留める */
    margin-top: 10px;
    letter-spacing: 0.1em;
}

.el-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.element-card h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* ストーリーセクションのスタイル */
.philosophy-story {
    background-color: #fcfaf5; /* ぬくもりのある薄いベージュ */
    padding: 100px 20px;
    text-align: center;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-label {
    display: block;
    color: #e60012;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.story-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

/* タイトルの下の装飾線 */
.story-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background-color: #e60012;
}

.story-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 40px;
}

.story-text p {
    margin-bottom: 1.5rem;
}

.story-divider {
    width: 1px;
    height: 40px;
    background-color: #ddd;
    margin: 30px auto;
}

.story-text strong {
    color: #333;
    background: linear-gradient(transparent 70%, #ffefef 70%); /* 薄い赤のマーカー線 */
}

.story-footer {
    margin-top: 50px;
}

.history-tag {
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 0.05em;
    border: 1px solid #ddd;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .philosophy-story {
        padding: 60px 20px;
    }
    .story-title {
        font-size: 1.6rem;
    }
    .story-text {
        font-size: 1rem;
        text-align: left; /* スマホでは長文は左寄せが読みやすい */
    }
}

/* 共通設定 */
.container-narrow { max-width: 800px; margin: 0 auto; padding: 80px 20px; }

/* 3つの理由 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}
.feature-item {
    text-align: left;
    position: relative;
    padding-top: 40px;
}
.feature-number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3rem;
    font-weight: 900;
    color: #f0f0f0; /* 薄いグレーで背景っぽく */
    line-height: 1;
    z-index: -1;
}
.feature-item h3 {
    font-size: 1.2rem;
    color: #e60012;
    margin-bottom: 15px;
}
.feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* よくある質問 */
.faq-section { background: #f9f9f9; padding: 80px 0; }
.faq-list { margin-top: 40px; }
.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.faq-item summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* デフォルトの矢印を消す（ブラウザによる） */
    position: relative;
    padding-right: 50px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: #e60012;
    font-size: 1.5rem;
}
.faq-item[open] summary::after { content: '-'; }
.faq-item p {
    padding: 0 20px 20px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}