/* --- 変数の定義 --- */
:root {
    --primary-color: #0056b3;
    --accent-color: #f39c12;
    --sub-bg: #f1f5f9;
    --border-color: #e2e8f0;
    --bg-light: #ffffff;
    --header-sky: #e0f2fe;
    --text-main: #333;
    --bright-red: #ff0000;
}

/* --- 全体レイアウト --- */
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-main);
    background-color: #f8fafc;
    line-height: 1.8;
    overflow-x: hidden;
}

/* --- ナビゲーションメニュー --- */
nav {
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: bold;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* --- ヘッダー（ヒーローエリア） --- */
.hero {
    background: linear-gradient(to bottom, var(--header-sky) 0%, #f8fafc 100%);
    padding: 60px 20px 40px;
    text-align: center;
}

.main-title {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.scope-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #555;
    margin: 10px auto;
    max-width: 800px;
    font-weight: normal;
    background: rgba(255,255,255,0.5);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.combined-countdown {
    font-size: clamp(1.1rem, 4vw, 1.8rem); 
    font-weight: bold;
    color: #444;
    margin: 20px 0 15px;
}

.red-num {
    color: var(--bright-red) !important;
    font-size: 1.5em;
    font-weight: 900;
    display: inline-block;
}

.intro-copy {
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    color: #666;
    font-weight: bold;
}

/* --- 案内用セクション --- */
.info-section {
    max-width: 800px;
    margin: 20px auto 40px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    z-index: 20;
}

.info-section h2 {
    margin: 0 0 10px;
    color: var(--primary-color);
    border: none;
    padding: 0;
    font-size: 1.2rem;
}

.info-section p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #666;
}

.btn-sub {
    background: #64748b;
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.2s;
    font-size: 0.95rem;
}

.btn-sub:hover {
    background: var(--primary-color);
}

/* --- クイックナビ（3ステップ） --- */
.step-container {
    max-width: 1000px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.step-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.step-num {
    background: var(--primary-color);
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 0.85rem;
}

.step-card h3 {
    margin: 0 0 10px;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.step-card p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* --- メインコンテンツ --- */
.container {
    max-width: 940px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.card {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
}

h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    border-left: 6px solid var(--accent-color);
    padding-left: 15px;
    margin: 40px 0 20px;
    font-weight: bold;
    line-height: 1.4;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 2em;
}

.highlight-red {
    color: var(--bright-red);
    font-weight: bold;
}

.nobr {
    display: inline-block;
    white-space: nowrap;
}

/* --- 画像 --- */
.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 20px auto;
}

.caption {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 10px;
}

/* --- ボタンエリア --- */
.btn-area {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-accent {
    background: var(--accent-color);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* --- フッター --- */
footer {
    text-align: center;
    padding: 60px 20px;
    font-size: 0.85rem;
    color: #aaa;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .step-container {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 30px 20px;
    }
    .main-title {
        font-size: 1.7rem;
    }
}

/* 案内文を大きく、強調するスタイル */
.scope-text-large {
    font-size: clamp(1.1rem, 3vw, 1.4rem); /* 文字サイズを大きく */
    color: var(--primary-color);
    margin: 15px auto;
    max-width: 900px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid var(--border-color);
    line-height: 1.4;
}

/* モバイルでの調整 */
@media (max-width: 768px) {
    .scope-text-large {
        font-size: 1rem;
        padding: 10px;
        margin: 10px 10px;
    }
}

/* カード内部のステップ配置用 */
.step-container-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0 40px;
}

/* モバイル対応：縦一列に並べる */
@media (max-width: 768px) {
    .step-container-inner {
        grid-template-columns: 1fr;
    }
}

/* 案内文の強調 */
.scope-text-large {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--primary-color);
    margin: 15px auto;
    max-width: 900px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid var(--border-color);
    line-height: 1.5;
}

/* 文章中の特定の文字を赤く強調するためのクラス */
.text-red {
    color: var(--bright-red) !important;
    font-weight: bold; /* 目立たせるために太字に設定しています */
}

/* ステップカード内の説明文（pタグ）の調整 */
.step-card p {
    font-size: 1.1rem;    /* 文字を大きく（h3に近いサイズ） */
    text-align: left;     /* 左揃えに変更 */
    line-height: 1.6;     /* 行間を広げて読みやすく */
    margin-top: 10px;     /* 見出しとの間隔を調整 */
    color: #444;          /* 文字色を少し濃くして視認性を向上 */
}

/* スマホ表示での微調整 */
@media (max-width: 768px) {
    .step-card p {
        font-size: 1rem;  /* スマホでは画面幅に合わせてわずかに調整 */
    }
}

