/* ================= =================
   トップページ（index.php）専用スタイル
===================================== */

/* ヒーローエリア（ファーストビュー） */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle, #ffffff 0%, #f0f0f0 100%);
}

.hero-sub {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
    letter-spacing: 0.2em;
}

.hero-copy {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 2;
}

/* 理念セクション（黒背景） */
.philosophy {
    background-color: #111111;
    color: #e5e5e5;
}

.philosophy .section-title::after {
    background-color: #444;
}

.text-block p {
    margin-bottom: 24px;
    font-size: 1.05rem;
}

/* 研究所についてセクション */
.about {
    background-color: #fbfbfb;
}

/* ================= =================
   アクセスセクション（アクセス情報 & マップ）
===================================== */
.access {
    background-color: #ffffff;
}

/* 2分割レイアウトを収めるコンテナ */
.access-container {
    max-width: 960px;
}

.access-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
    text-align: left;
    /* PCでは左揃え */
    margin-top: 40px;
}

/* 左側：テキストエリア */
.access-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.access-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.access-address {
    font-size: 1rem;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.8;
}

.access-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    font-size: 0.95rem;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.access-detail dt {
    font-weight: 600;
    color: #1a1a1a;
}

/* 右側：マップエリア */
.access-map {
    flex: 1;
    min-height: 320px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

/* ================= =================
   スマホ対応（768px以下：中央揃え設定）
===================================== */
@media (max-width: 768px) {
    .access-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        /* コンテンツ全体を中央揃え */
    }

    /* 住所・詳細情報を中央配置に調整 */
    .access-info {
        align-items: center;
    }

    .access-detail {
        /* スマホ時はGridから1列の中央揃えに変更 */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .access-detail dt {
        margin-top: 8px;
    }

    .access-detail dt:first-child {
        margin-top: 0;
    }

    .access-map {
        width: 100%;
        height: 280px;
        min-height: 280px;
    }
}