@charset "UTF-8";

/* ==========================================
   厚岸水鳥観察館 共通スタイルシート
========================================== */

/* ＝＝＝ 全体の設定 ＝＝＝ */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f0fff0; /* 春らしいパステルグリーン */
    background-image: url('images/smewbg.gif'); 
    color: #333;
}

/* ＝＝＝ コンテンツを囲む中央の枠（共通） ＝＝＝ */
.container {
    max-width: 1000px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.85); /* 背景を透かせる */
    border-radius: 10px; 
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    padding: 30px 40px;
    box-sizing: border-box;
}

/* ＝＝＝ 共通の文字装飾 ＝＝＝ */
.text-center { text-align: center; }
.text-red { color: #ff0000; font-weight: bold; }
a { color: #0073cc; text-decoration: none; word-wrap: break-word; }
a:hover { text-decoration: underline; }

/* ＝＝＝ 見出しの装飾（各ページ共通） ＝＝＝ */
h1 {
    color: #2e8b57;
    text-align: center;
    border-bottom: 2px solid #2e8b57;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 1.6em;
}

h2 {
    color: #cd5c5c;
    border-left: 5px solid #cd5c5c;
    padding-left: 10px;
    font-size: 1.2em;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    color: #0073cc;
    font-size: 1.1em;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* ＝＝＝ ナビゲーションメニュー（トップページ用） ＝＝＝ */
.modern-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    padding: 20px;
    background-color: #f0fdf4; 
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}

.nav-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff; 
    color: #2e8b57; 
    border: 1px solid #cce0ff;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.2s ease;
    text-align: center;
}

.nav-btn:hover {
    background-color: #ffb6c1; 
    color: #ffffff;
    border-color: #ffb6c1;
    text-decoration: none;
}

/* ドロップダウン設定 */
.nav-dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fffff0;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.15);
    z-index: 10;
    border-radius: 5px;
    overflow: hidden;
    top: 100%; left: 50%; transform: translateX(-50%);
    border: 1px solid #ddd;
}
.dropdown-content a {
    color: #555;
    padding: 12px 16px;
    display: block;
    font-size: 0.85em;
    border-bottom: 1px dashed #ccc;
    text-align: left;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover {
    background-color: #f0fdf4;
    color: #2e8b57;
    text-decoration: none;
}
.nav-dropdown:hover .dropdown-content { display: block; }
.has-dropdown::after { content: " ▼"; font-size: 0.8em; }

/* ＝＝＝ コンテンツ装飾パーツ ＝＝＝ */
/* 強調ボックス（トップページ用） */
.highlight-box {
    background-color: #fffacd; 
    border: 5px solid #faf089;
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    border-radius: 10px;
}

/* 警告ボックス（鳥インフル情報など） */
.alert-box {
    background-color: #fff0f0;
    border: 2px solid #ffcccc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* 連絡先リスト */
.contact-list {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}

/* 動画コンテナ */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 20px;
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* フッター・その他 */
.counter-area { font-size: 1.2em; margin: 15px 0; }
.footer-links { display: flex; justify-content: center; gap: 15px; font-size: 0.9em; margin-bottom: 20px; }
.btn-back {
    display: inline-block; margin-top: 20px; padding: 10px 30px;
    background-color: #2e8b57; color: #ffffff; border-radius: 5px; font-weight: bold;
    transition: background-color 0.2s;
}
.btn-back:hover { background-color: #1e6b40; color: #ffffff; text-decoration: none; }