/* 全体フォント */
body {
  font-family: "FOT-TsukuARdGothic Std", "筑紫A丸ゴシック", "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  color: #333;
  line-height: 1.8;
}

/* フォーム要素にも明示的にフォントとサイズを指定 */
input, textarea, button, select {
  font-family: "FOT-TsukuARdGothic Std", "筑紫A丸ゴシック", "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-size: 14px;
}

/* Contactセクション背景（背景画像入れる部分） */
.contact-bg {
  background-image: url("images/contact-bg.jpg"); /* 画像のファイル名にあわせて変えてね！ */
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  color: #fff;
}

/* 内側のフォームを読みやすくするための背景 */
.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(0, 73, 142, 100); /* 半透明の黒背景 */
  padding: 40px;
  border-radius: 10px;
}

/* 見出し（Contact） */
.contact-title {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
}

/* 説明テキスト */
.contact-text {
  font-size: 16px;
  margin-bottom: 30px;
  text-align: center;
}

/* 小さい注意書きの文字 */
.note {
  font-size: 14px;
  color: #df600e;
}

/* ラベル（名前、メール、メッセージ） */
.contact-form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
}

/* 入力欄とテキストエリア */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* メッセージ欄の高さ */
.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* 送信ボタン */
.contact-form button {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 12px 30px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #df600e;
}.sns-icons {
  position: absolute;
  top: 20px;
  right: 30px;
}

.sns-icons a {
  margin-left: 10px;
  display: inline-block;
}

.sns-icons img {
  vertical-align: middle;
  width: 590px; /* ← ここでサイズ調整 */
  height: 600px;
}
.home-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff;
  color: #00498E; /* 青系に */
  text-decoration: none;
  border: 2px solid #00498E;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.home-button:hover {
  background-color: #00498E;
  color: #fff;
}

/* 送信ボタンを右寄せするためのラッパー */
.submit-wrapper {
  text-align: right;
  margin-top: 20px;
}

/* 作品グリッド */
.works-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.work-item {
  width: 200px;
  text-align: center;
}

.work-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.work-title {
  margin-top: 10px;
  font-size: 14px;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  width: calc(50% - 10px); /* 2列に */
  aspect-ratio: 56.15%;   /* ←これが超重要！ */
  overflow: hidden;
  background: #ccc;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

input,
textarea,
button,
select {
  font-family: "FOT-TsukuARdGothic Std", "筑紫A丸ゴシック", "Hiragino Sans", "ヒラギノ角ゴ", sans-serif !important;
}
gallery-item::after {
  content: "No." attr(data-no);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,73,142,0.7); /* オーバーレイ色 */
  color: yellow; /* 文字色 */
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

figure figcaption::before {
  content: none;
}

.credit {
  display: block;       /* ブロック要素にして幅を持たせる */
  text-align: right;    /* 右寄せ */
  margin-top: 10px;     /* 上に少し余白を追加（任意） */
  color: #012B55;
}

.events {
  max-width: 900px;  /* 横幅を広めにして見栄え良く */
  margin: 50px auto;
  padding: 0 20px;
}

.events h2 {
  margin-bottom: 15px;
  font-size: 20px;
  text-align: left;
}

.event-single {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* ← 16:9比率を固定 */
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 10px;
}

.event-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 画像をトリミングして16:9にフィット */
  transition: transform 0.3s, opacity 0.3s;
  display: block;
}

.event-single img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* 共通レイアウト */
.news,
.events,
.schedule {
  width: 100%;
  max-width: 700px;
  margin: 50px auto;
  padding: 0 20px;
}

.section-title {
  margin-bottom: 15px;
  font-size: 20px;
  text-align: left;
}

/* 開催中イベント */
.event-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 0px;
  border-radius: 10px;
  overflow: hidden;
}
.event-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s, opacity 0.3s;
}
.event-wrapper img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* 今後のイベント（Swiperスライダー） */
.eventsSwiper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0px;
}
.eventsSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}
.eventsSwiper img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
.eventsSwiper .swiper-button-next,
.eventsSwiper .swiper-button-prev {
  color: #012B55;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  width: 40px;
  height: 40px;
}
.eventsSwiper .swiper-button-next::after,
.eventsSwiper .swiper-button-prev::after {
  font-size: 20px;
}

/* 開催中イベント（Scheduleと同じ位置に揃える） */
.event-wrapper {
  width: 100%;
  max-width: 700px;   /* Scheduleと同じ幅 */
  margin: 0 auto 40px;/* 中央揃え & 下余白 */
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
}

.event-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 今後のイベントのスライダーをScheduleと揃える */
.eventsSwiper {
  width: 100%;
  max-width: 700px;   /* Scheduleと同じ幅 */
  margin: 0 auto 40px;/* 中央揃え & 下余白 */
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
}

.eventsSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

