/* --- 基本設定 (Reset & Base) --- */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-red: #b22222;
    --primary-green: #556b2f;
    --bg-color: #f4f4f4;
    --text-color: #2d2d2d;
    --accent-gold: #daa520;
}

body {
    font-family: 'Yuji Syuku', serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    
    /* 背景画像設定 */
    background-image: url('表紙/hyoushi.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    /* レイアウト設定 */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
}

/* 背景を少し白くして文字を読みやすくするオーバーレイ */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: -1;
}

/* --- コンテナレイアウト --- */
.container {
    max-width: 600px;
    padding: 40px 20px;
    width: 100%;
    animation: fadeInUp 1.5s ease-out;
}

/* --- ロゴ・タイトルエリア --- */
.title-area {
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.main-title {
    font-size: 2.5rem;
    margin: 0;
    color: var(--text-color);
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 15px;
    line-height: 1.4;
}

.sub-title {
    font-size: 1.2rem;
    margin-top: 15px;
    color:navy;
    font-weight: normal;
    letter-spacing: 0.05em;
}
.font-text{
    color: yellow;
}

/* 装飾的な円 */
.decoration-circle {
    width: 220px;
    height: 220px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    z-index: -1;
    animation: rotateCircle 20s linear infinite;
}

/* --- 機能紹介アイコン --- */
.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    font-size: 0.9rem;
    color: #555;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-green);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- スタートボタン --- */
.start-btn {
    display: inline-block;
    text-decoration: none;
    background-color: var(--primary-red);
    color: white;
    font-size: 1.5rem;
    padding: 15px 60px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.start-btn:hover {
    background-color: #8b0000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(178, 34, 34, 0.6);
}
.start-btn::after {
    content: "";
    margin-left: 10px;
    transition: margin-left 0.3s;
}

.start-btn:hover::after {
    margin-left: 15px;
}

.footer-note {
    margin-top: 60px;
    font-size: 0.8rem;
    color: #080131;
}

/* --- アニメーション --- */
@keyframes rotateCircle {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- レスポンシブ設定 --- */
@media (max-width: 600px) {
    .main-title { font-size: 1.8rem; }
    .features { gap: 10px; }
}
