﻿/* ===== ポータルページ全体の基本設定 ===== */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    margin: 0;
    background-color: #f0f0f0;
    color: #fff;
    text-align: center;
}

/* ===== ヘッダー ===== */
.portal-header {
    padding: 30px 20px;
    background-color: firebrick;
}
.portal-header h1 {
    margin: 0;
    font-size: 2em;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}
.portal-header .lang-en {
    margin: 5px 0 0;
    font-style: italic;
    opacity: 0.8;
}

/* ===== ２つの扉を囲むコンテナ ===== */
.portal-container {
    display: flex;
    width: 100%;
    min-height: 80vh; /* 画面の高さの80%を使う */
}

/* ===== 扉の共通スタイル ===== */
.portal-door {
    flex: 1; /* 左右均等に分割 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-decoration: none;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* 背景画像の上に半透明の黒い膜をかけて文字を読みやすくする魔法 */
.portal-door::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 扉の中のコンテンツ（文字や画像） */
.door-content {
    position: relative;
    z-index: 2; /* 膜より手前に表示 */
}

/* 扉ごとの背景画像を指定 */
.microshells {
    background-image: url(../theater/kaizen.gif);
}
.musical-sand {
    background-image: url(../msand/sand/image/bunkarig.gif);

}

/* マウスを乗せた時の動き */
.portal-door:hover {
    transform: scale(1.05); /* 少しだけ拡大 */
    filter: brightness(1.2); /* 少しだけ明るく */
}

/* ===== 扉の中の要素のスタイル ===== */
.guide-image img {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
.door-content h2 {
    font-size: 2.5em;
    margin: 10px 0;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
.description {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 400px;
    margin: 20px 0;
}
.enter-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 2px solid #fff;
    border-radius: 50px;
    font-weight: bold;
    background-color: rgba(255,255,255,0.2);
    transition: background-color 0.3s, color 0.3s;
}
.portal-door:hover .enter-button {
    background-color: #fff;
    color: #333;
}