/* --- 基本設定 --- */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: #1d1d1f; /* Appleがよく使う濃いグレー */
    overflow-x: hidden;
    scroll-behavior: smooth; /* スクロールをヌルッとさせる */
    font-size: 24px; /* 標準（16px）より少し大きく */
    line-height: 2.0;
}

/* --- 背景：ぼかして固定 --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background2.jpg'); /* 保存した画像名 */
    background-size: cover;
    background-position: center;
    filter: blur(12px); /* 背景のぼかし量 */
    z-index: -1;
    transform: scale(1.1); /* ぼかしの端の白浮きを隠す */
}

/* --- ヒーローセクション --- */
.hero-section {
    height: 60vh; /* 画面の6割を占める */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin: 0;
    letter-spacing: 0.1em;
}

.hero-content h2 {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
    margin: 10px 0 0 0;
}

/* header以外の.glass-panelは最初透明にして下げておく */
.container .glass-panel {
    opacity: 0;
    transform: translateY(40px); /* 下に60pxずらしておく */
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* JavaScriptで 'show' クラスが付与された時の状態 */
.container .glass-panel.show {
    opacity: 1;
    transform: translateY(0);
}
/* --- メインコンテナ --- */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 100px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --- リキッドグラスの核心 --- */
.glass-panel {
    /* 超薄い白 + 強力なぼかし */
    background: rgba(255, 255, 255, 0.671);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    
    /* ガラスの繊細な縁取り */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px; /* Appleっぽい角丸 */
    
    /* 影は「重さ」ではなく「光の拡散」 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ホバー時にさらに「浮く」感じを出す */
.glass-panel:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(233, 233, 233, 0.897);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* --- カード内テキストの調整 --- */
.card h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #0066cc; /* 知的な青をアクセントに */
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.label {
    font-weight: bold;
    font-size: 0.9rem;
    color: #666;
}

.value {
    font-size: 0.95rem;
}

p {
    margin: 10px 0 0 0;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    /* 1. カード同士の間隔をめちゃくちゃ広げる */
    .container {
        gap: 120px; /* 150pxはやりすぎたので半分に */
        padding-bottom: 150px;
    }

    /* 2. カードの幅を絞って上品に */
    .glass-panel {
        padding: 50px; /* 余白を少し抑える */
        min-height: auto; /* 強制的な高さをやめる */
        
        /* 【ここがポイント】横幅をあえて80%くらいに絞る */
        width: 80%; 
        max-width: 700px; /* これ以上は太らせない */
        margin: 0 auto; /* 中央に寄せる */
    }

    /* 3. フォントも「読みやすい」レベルに留める */
    .card h3 {
        font-size: 2.5rem; 
    }
    
    .value, p {
        font-size: 1.5rem;
    }
    .hero-section {
        height: 90vh; /* 画面の9割を名前に使う */
    }
}