/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* ヘッダー */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f8ff;
    padding: 10px;
}

.logo {
    margin-bottom: 20px;
    text-align: center;
}


/* ロゴの自動調整 */
.logo img {
    max-width: 85%;
    height: auto;
    display: block;
}

/* ナビゲーション */
nav ul {
    display: flex;
    list-style: none;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #005BAC;
}

/* 現在のページを強調表示 */
.nav-menu a.active {
  font-weight: bold;
  color: #ffcc00;
  border-bottom: 2px solid #ffcc00;
}


/* スライドショー */
.swiper {
    width: 100%;
    max-width: 800px; /* 必要に応じて変更 */
    margin: auto;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画面いっぱいに拡大 */
}

/* 統一されたセクションデザイン */
.info, .announcement, .updates, .recruitment {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    max-width: 800px;
    margin: auto;
}

/* セクションの見出し */
.info h1, .announcement h2, .updates h2, .recruitment h2 {
    font-size: 28px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 3px solid #b6e9ff;
    display: inline-block;
}

/* 画像の自動調整 */
.announcement img, .recruitment img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f0f8ff;
    color: black;
}

/* リンクのスタイル */
.link-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.link-container a img {
    transition: transform 0.3s ease;
}

.link-container a img:hover {
    transform: scale(1.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .swiper {
        height: 300px;
    }

    .info, .announcement, .updates, .recruitment {
        padding: 20px;
    }
}

/* ホームボタン */
.home-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #002f6c;
  color: white;
  text-decoration: none;
  font-size: 24px;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
  z-index: 9999;
}

.home-button:hover {
  background-color: #0055aa;
}

/* 文章左寄せ */
.greeting-left {
  text-align: left;
  line-height: 1.7;
}
.align-left {
  text-align: left;
  padding-left: 20px; /* 必要に応じて調整 */
}

/* 表中左寄せ */
.history-table td:nth-child(2) {
  text-align: left;
}



/* P修正 */
.info p {
  line-height: 1.8;
}
.button-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #007bff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button-link:hover {
    background-color: #0056b3;
}

.map-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 アスペクト比 */
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

