/* カラー・フォント設定 */
:root {
    --bg-deep: #0f172a;      /* 深いネイビー */
    --accent-gold: #bda06d;   /* 知的なゴールド */
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --card-bg: #1e293b;
    --font-heading: 'Playfair Display', serif;
    --font-jp: 'Noto Serif JP', serif;
}

/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: var(--font-jp);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ヘッダー */
header {
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(189, 160, 109, 0.2);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent-gold);
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-deep) 30%, transparent 100%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
}

.hero-content .line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    margin-bottom: 30px;
}

.hero-content .eng {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.3;
    margin-bottom: 30px;
}

.hero-content p {
    max-width: 500px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* タイルグリッドレイアウト */
.category-grid {
    padding: 150px 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 30px;
}

.tile {
    background-color: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tile:hover {
    transform: translateY(-10px);
}

.tile-img {
    height: 60%;
    overflow: hidden;
}

.tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile-text {
    padding: 30px;
}

.tag {
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.tile h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.tile p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* 非対称なグリッド配置 */
.tile-main {
    grid-column: span 2;
    grid-row: span 2;
}

.tile-main .tile-img {
    height: 70%;
}

.tile-sub {
    justify-content: center;
}

/* メッセージエリア */
.message {
    padding: 150px 20px;
    text-align: center;
}

.message p {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 50px;
}

.circle-btn {
    width: 150px;
    height: 150px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.4s;
}

.circle-btn:hover {
    background-color: var(--accent-gold);
    color: var(--bg-deep);
}

/* フッター */
footer {
    padding: 60px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* レスポンシブ */
@media (max-width: 1000px) {
    .grid-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .tile-main {
        grid-column: span 1;
        grid-row: span 1;
    }
    .hero-content {
        padding-top: 100px;
    }
}