
body {
    font-family: 'Noto Sans JP', Arial, sans-serif; /* メインフォント */
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* 全体背景色 */
    color: #333; /* 基本文字色 */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Kiwi Maru', serif; /* 見出しフォント */
    margin-top: 0;
}

a {
    color: #004080;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle; /* 画像下 */
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Container */
.container {
    max-width: 1000px; /* サイトの最大幅 */
    margin: 0 auto; /* 中央寄せ */
    background-color: #ebffff; /* コンテンツエリア背景色 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* 影 */
}

/* Header */
header {
    background-color: #ffffff; /* ヘッダー背景色 */
    padding: 20px 30px 0 30px; /* 上下左右のパディング (ナビゲーションとの間にスペース確保) */
}

.header-content {
    display: flex; /* 横並び */
    justify-content: space-between; /* 両端揃え */
    align-items: center; /* 垂直中央揃え */
    padding-bottom: 15px; /* h1とnavの間の余白 */
}

.header-contact {
    color: rgb(214, 84, 84);
}

header h1 {
    color: #004080; /* ロゴテキスト色 */
    margin: 0;
    font-size: 1.8em;
}

/* Navigation */
nav {
    background-color: #eaf4ff; /* ナビゲーション背景色 */
    text-align: center; /* メニュー項目を中央揃え */
}

nav ul li {
    display: inline-block; /* 横並び */
}

nav ul li a {
    display: block; /* クリック範囲を広げる */
    color: #004080; /* リンク文字色 */
    padding: 12px 20px; /* パディング */
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease; /* ホバー効果 */
}

nav ul li a:hover {
    background-color: #cce0ff; /* ホバー時の背景色 */
    text-decoration: none;
}

/* Slideshow Section (.hello) */
.hello {
    padding: 0; /* スライドショーがセクション全体を占めるように */
    height: 350px; /* スライドショーの高さ */
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* 初期状態非表示 */
    animation: fadeSimple 15s infinite; /* 5秒 x 3枚 = 15秒サイクル */
    background-color: #eee; /* 画像読み込み中の背景 */
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をコンテナに合わせてトリミング */
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 1.1em;
}

.aboutlist
 {
    background-color: #ffffff;
    padding: 20px 20px;
    border: solid;
    border-color: #004080;
    border-radius: 4%;
}

/* CSS Animation for Slideshow */
@keyframes fadeSimple {
    0%   { opacity: 0; }
    8%   { opacity: 1; } /* フェードイン完了 (15s * 0.08 = 1.2s) */
    33%  { opacity: 1; } /* 表示維持 (表示時間 15s * (0.33-0.08) = 3.75s) => 計 約5秒表示 */
    41%  { opacity: 0; } /* フェードアウト完了 (15s * (0.41-0.33) = 1.2s) */
    100% { opacity: 0; }
}

/* Animation Delays for each slide */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; } /* 2枚目は5秒後から開始 */
.slide:nth-child(3) { animation-delay: 10s; } /* 3枚目は10秒後から開始 */


/* Main Content Area */
main {
    padding: 20px 30px; /* メインコンテンツの左右パディング */
}

section {
    padding: 25px 0; /* セクション上下のパディング */
    margin-bottom: 25px; /* セクション間のマージン */
    border-bottom: 1px solid #eee; /* セクション区切り線 */
}
section:last-child {
    border-bottom: none; /* 最後のセクションの下線は消す */
    margin-bottom: 0;
}

h2 {
    color: #004080; /* 見出しの色 */
    font-size: 1.6em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #cde0f3; /* 見出しの下線 */
    border-left: 6px solid #004080; /* 見出し左の縦線 */
    padding-left: 12px;
}

/* Specific Sections */
#news ul {
    list-style: disc; /* お知らせ箇条書きマーカー */
    padding-left: 25px;
}
#news ul li {
    margin-bottom: 8px;
}

#contact .contact-info div {
    margin-bottom: 10px;
}
#contact .contact-info strong {
    display: inline-block;
    width: 80px; /* ラベル幅*/
}

#access .access-info {
    margin-bottom: 15px;
}

.map-container {
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 アスペクト比 */
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ボタン */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004080;
    color: white;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color: #0059b3;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #f0f0f0; 
    color: #555; /* フッター文字色 */
    text-align: center;
    padding: 20px 30px;
    border-top: 3px solid #eaf4ff; /* 区切り線 */
    font-size: 0.9em;
}
footer p {
    margin: 0;
}


body > b {
 display: none; 
}