@charset "UTF-8";

/* ==========================================================================
   1. 基本スタイル・リセット (全ページ共通)
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  background-color: #f8f8f8;
  line-height: 1.6;
}

a {
  color: #1E90FF;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #00AB35;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* ==========================================================================
   2. ヘッダー ＆ グローバルナビゲーション
   ========================================================================== */
header {
  padding: 20px;
  text-align: center;
  background-color: #fff;
}

header h1 img {
  max-width: 100%;
  height: auto;
}

nav {
  background-color: #26264d;
}

nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

nav li {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

nav a {
  display: block;
  padding: 12px 10px;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

nav a span.en {
  display: block;
  font-size: 10px;
  color: #aaa;
  letter-spacing: 1px;
}

nav a:hover {
  background-color: #ff00a2;
  color: #fff;
}

/* ==========================================================================
   3. メインコンテンツ・テーブル・コンポーネント
   ========================================================================== */
main {
  padding: 30px 20px;
}

.page-title {
  font-size: 20px;
  color: #26264d;
  border-left: 5px solid #ff00a2;
  padding-left: 10px;
  margin-bottom: 25px;
}

.section-subtitle {
  font-size: 16px;
  color: #26264d;
  margin: 30px 0 10px;
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 5px;
}

/* 汎用カード型テーブル (.basic-table) */
.basic-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 25px;
}

.basic-table th,
.basic-table td {
  padding: 16px 20px;
  vertical-align: top;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
}

.basic-table tr:last-child th,
.basic-table tr:last-child td {
  border-bottom: none;
}

.basic-table th {
  background-color: #f0f4f8;
  color: #26264d;
  font-weight: bold;
  border-right: 1px solid #e0e0e0;
}

.basic-table ul {
  padding-left: 20px;
}

.basic-table li {
  margin-bottom: 4px;
}

/* ギャラリー画像 */
.image-gallery {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  flex-wrap: wrap;
}

.image-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 行事紹介用写真ギャラリー */
.photo-gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.photo-gallery img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ellipsis-row {
  text-align: center;
  color: #888;
  font-weight: bold;
  background-color: #fafbfc;
}

/* 連絡先・地図ボタン等 */
.contact-box {
  background-color: #f9fbfc;
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 6px;
  font-size: 14px;
}

.contact-box address ul {
  list-style: none;
  padding-left: 0;
}

.map-btn {
  background-color: #ff00a2;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  margin-top: 8px;
  transition: background 0.2s;
}

.map-btn:hover {
  background-color: #d00084;
}

.text-right {
  text-align: right;
}

.show-right {
  text-align: right;
  font-size: 13px;
  margin-top: 15px;
}

/* ==========================================================================
   4. フッター
   ========================================================================== */
footer {
  background-color: #26264d;
  color: #fff;
  padding: 20px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-top: 20px;
}

#footer_left a {
  color: #ccc;
  margin: 0 5px;
}

#footer_left a:hover {
  color: #ff00a2;
}

#footer_right {
  color: #aaa;
}

/* ==========================================================================
   5. スマホ向けレスポンシブ対応
   ========================================================================== */
@media (max-width: 768px) {
  .basic-table th, 
  .basic-table td {
    display: block;
    width: 100% !important;
    text-align: left;
  }

  .basic-table th {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    background-color: #e8edf3;
  }

  nav ul {
    flex-direction: column;
  }
}