@charset "utf-8";
/* CSS Document */
/* 外枠の調整 */
.country-points {
    max-width: 950px;
    margin: 30px auto;
    font-family: "Meiryo", sans-serif;
}

/* カード共通設定 */
.country-card {
    background-color: #f9f9f9; /* 薄いグレー背景 */
    border-left: 6px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 国別のアクセントカラー（アフリカ・インド洋をイメージ） */
/* 01 フィジー：土・イスラムの黄金色 */
.topic-gold { 
    border-color: #c99a2e; 
    background-color: #fcf8ee; /* 非常に薄いゴールド */
}

/* 02 モーリシャス：インド洋の澄んだ青 */
.topic-blue { 
    border-color: #007bbb; 
    background-color: #f0f7fb; /* 非常に薄いブルー */
}

/* 03 キリバス：火山の情熱的な赤 */
.topic-red { 
    border-color: #e60012; 
    background-color: #fef5f5; /* 非常に薄いピンク/レッド */
}

/* 04 ：豊かなヤシの緑 */
.topic-green { 
    border-color: #009944; 
    background-color: #f2faf5; /* 非常に薄いグリーン */
}


/* 見出し部分 */
.point-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* ナンバー */
.step-num {
    background: #444;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    padding: 4px 10px;
    margin-right: 15px;
    border-radius: 3px;
}

/* タイトル */
.point-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    letter-spacing: 1px;
}

/* 本文 */
.point-content p {
    margin: 0;
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
}
.multi-gold     { background: #f3e6ca; border-radius: 3px; padding: 2px 5px;}
.multi-blue  { background: #bfddec; border-radius: 3px; padding: 2px 5px;}
.multi-red   { background: #fabfc2; border-radius: 3px; padding: 2px 5px;}
.multi-green { background: #bfdfcc; border-radius: 3px; padding: 2px 5px;}
	
/* スマホ対応 */
@media (max-width: 768px) {
    .point-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .step-num {
        margin-bottom: 10px;
    }
}

/* 目次全体のコンテナ */
.island-nav {
    margin: 40px 0;
    padding: 25px;
    background-color: #fafafa;
    border: 1px solid #eeeeee;
    text-align: center;
}

.nav-title {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

/* リンクボタンの並び（スマホでは2列、PCでは4列） */
.nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .nav-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ボタン共通スタイル */
.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-bottom: 3px solid rgba(0,0,0,0.1); /* 少し立体感 */
}

.nav-item:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* 島ごとの色付け（中間色を使用） */
.btn-blue { background-color: #bfddec; color: #005a8a; } /* 青 */
.btn-green { background-color: #bfdfcc; color: #006b30; } /* 緑 */
.btn-gold { background-color: #f3e6ca; color: #8e6d20; } /* 金 */
.btn-red  { background-color: #fabfc2; color: #a3000d; } /* 赤 */

	.island-point, 
.state-point, 
.country-point,
	.country-card{
    /* ヘッダー(40+25=65px) + 予白(20px) = 85px */
    scroll-margin-top: 85px;
}

/* スルスルと滑らかに移動させる設定（任意） */
html {
    scroll-behavior: smooth;
}
	
