/* layout.css - ページレイアウト（スライダー・セクション・フッター等） */

/* ========================================
   ヒーローバナー（各ページ共通）
======================================== */
.hero-wrap {
  padding: 30px 30px 0;
}
.hero-img {
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}
.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 48px;
  color: #000;
  text-align: center;
  white-space: nowrap;
  z-index: 1;
}
.hero-section {
  position: relative;
}
/* ========================================
   FVスライダー
======================================== */
.fv-section {
  position: relative;
  height: 730px;
  overflow: visible;
}
.slider-container {
  width: 100%;
  height: 730px;
  overflow: hidden;
}
.slide {
  position: relative;
  height: 700px;
}
.slide-inner {
  padding: 30px;
  height: 100%;
}
.slide-img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  pointer-events: none;
}
.slide-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 48px;
  color: white;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.25), 0 0 4px black;
  line-height: 1.4;
}
/* スライダードット */
.fv-section .slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 10px;
  position: relative;
  bottom: 20px;
}
.slick-dot-inner {
  width: 30px;
  height: 6px;
  background: #d9d9d9;
}
.slick-active .slick-dot-inner {
  background: #a2a2a2;
}
/* 矢印 */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  background: none;
  border: none;
  color: white;
  font-size: 60px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  line-height: 1;
}
.slider-arrow:hover {
  opacity: 0.7;
}
.slider-arrow.prev {
  left: 46px;
}
.slider-arrow.next {
  right: 46px;
}
/* ========================================
   イントロセクション
======================================== */
.intro-section {
  background: #fff;
}
.intro-wrap {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
.intro-text {
  flex: 1;
}
.intro-lead {
  font-size: 24px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.intro-sub {
  font-size: 20px;
  line-height: 1.8;
}
.intro-illust {
  width: 640px;
  flex-shrink: 0;
}
.intro-illust img {
  width: 100%;
  height: auto;
}
.intro-icons {
  display: flex;
  gap: 30px;
}
.intro-icon-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.intro-icon-item img {
  height: 120px;
  width: auto;
  object-fit: contain;
}
.intro-icon-item p {
  font-size: 20px;
  color: #444;
  line-height: 1.6;
}
   イベントカレンダーセクション
======================================== */
.cal-layout {
  display: flex;
  flex-direction: row !important;
  gap: 60px;
  align-items: flex-start;
}
.cal-list {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.event-list-head {
  background: #11323b;
  color: white;
  font-size: 20px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
}
.event-list {
  list-style: none;
}
.event-list li {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  border-bottom: 1px solid #d7d7d7;
}
.event-list-date {
  font-weight: 700;
  font-size: 16px;
  color: #444;
}
.event-list-name {
  font-size: 16px;
  color: #444;
}
/* カレンダー本体 */
.cal-wrap {
  width: 600px;
  background: rgba(155, 236, 0, 0.1);
  border-radius: 12px;
  padding: 20px 16px 16px;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
}
.cal-header p {
  font-size: 16px;
  color: #222;
  letter-spacing: 0.05em;
}
.cal-header button {
  background: none;
  border: none;
  color: #444;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.cal-header button:hover {
  color: #111;
}
.cal-table {
  border-collapse: collapse;
  width: 100%;
}
.cal-table thead th {
  text-align: center;
  padding: 6px 0 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #444;
  letter-spacing: 0.08em;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.cal-table thead th:last-child {
  border-right: none;
}
.cal-table tbody td {
  text-align: left;
  vertical-align: top;
  padding: 6px 6px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #222;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  height: 70px;
}
.cal-table tbody td:last-child {
  border-right: none;
}
.cal-table tbody tr:last-child td {
  border-bottom: none;
}
.event-text {
  display: block;
  font-size: 10px;
  color: #11323b;
  line-height: 1.4;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ========================================
   ABOUT US
======================================== */
.about-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
	margin-top: 40px;
}
.about-left {
  width: 580px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  color: #11323b;
  margin-bottom: 12px;
}
.photo-row {
  display: flex;
  gap: 16px;
}
.photo-item {
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-right {
  flex: 1;
}
.map-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* ========================================
   PROJECT
======================================== */
.project-grid {
  width: 100%;
  max-width: 1120px;
  margin: 40px auto 0;
}
.project-row-top {
  display: flex;
}
.project-row-bottom {
  display: flex;
  justify-content: center;
}
.project-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.project-row-top .project-card {
  flex: 1;
}
.project-row-bottom .project-card {
  width: 50%;

}
.project-card img {
}
.project-card:hover img {
  opacity: 0.7;
}
.project-card-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 20px;
  color: white;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.partnership-banner {
  width: 100%;
  max-width: 1120px;
  margin: 20px auto 0;
}
.partnership-banner img {
	margin: 0 auto;
}
.partnership-banner:hover img {
  opacity: 0.7;
}
.partnership-fallback {
  background: #11323b;
  padding: 30px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.partnership-title {
  font-weight: 700;
  font-size: 28px;
  color: white;
  margin-bottom: 8px;
}
.partnership-desc {
  font-size: 15px;
  color: white;
}
/* ========================================
   仲間募集バナー
======================================== */
.nakama-banner {
  background: #11323b;
  max-width: 928px;
	margin: 100px auto;
}
.nakama-banner img:hover {
  opacity: 0.7;
}
.nakama-inner {
}
.nakama-title {
  font-weight: 700;
  font-size: 32px;
  color: white;
  margin-bottom: 10px;
}
.nakama-desc {
  font-size: 16px;
  color: white;
  margin-bottom: 20px;
}
/* ========================================
   フッターtop
======================================== */
.footer-top {
  height: 300px;
  background-image: url('images/footer-bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.footer-top-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 192px;
}
.footer-top-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 192px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-top-item:hover {
  opacity: 0.8;
}
.footer-top-item img {
  width: 90px;
  height: 80px;
  object-fit: contain;
}
.footer-top-item p {
  font-weight: 700;
  font-size: 28px;
  color: white;
  text-align: center;
  line-height: 1.4;
}
.footer-divider {
  width: 1px;
  height: 215px;
  background: white;
}
/* ========================================
   フッターbottom
======================================== */
.site-footer {
  background: #11323b;
  padding: 30px 0;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-info {
  width: 290px;
}
.footer-logo {
  width: 143px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
}
.footer-org {
  font-weight: 700;
  font-size: 20px;
  color: white;
  margin-bottom: 8px;
}
.footer-address {
  font-size: 16px;
  color: white;
  line-height: 1.8;
}
.footer-nav {
  display: flex;
  gap: 50px;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-link {
  font-size: 12px;
  color: white;
  line-height: 1.8;
  transition: opacity 0.2s;
}
.footer-link:hover {
  opacity: 0.6;
}
.footer-copy {
  text-align: center;
  font-size: 12px;
  color: white;
  padding: 16px 32px;
}

/* ========================================
   SP対応追加（layout.css）
======================================== */

/* スライダー */
.slide-inner {
  height: 640px;
  max-width: 1378px;
  margin: 0 auto;
}
.slide-title {
  font-size: clamp(22px, 3.3vw, 48px);
  white-space: nowrap;
}

/* カレンダー三角ボタン */
.cal-header button,
.cal-header a {
  color: #444 !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  /* スライダー */
  .fv-section { height: auto; }
  .slider-container { height: auto; }
  .slide { height: auto; }
  .slide-inner { height: auto; padding: 12px; max-width: 100%; }
  .slide-img { height: auto; aspect-ratio: 16/9; }
  .slide-img img { width: 100%; height: 100%; object-fit: cover; }
  .slide-title { font-size: 22px !important; white-space: normal; }

  /* ヒーロー */
  .hero-wrap { padding: 12px 12px 0; }
  .hero-img { height: 100px; }
  .hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .hero-title { font-size: 22px !important; white-space: normal !important; width: 90%; }

  /* 見出し */
  .section-title-en { font-size: 40px !important; line-height: 1; }
  .section-title-ja { font-size: 14px !important; }

  /* フッタートップ */
  .footer-top { height: auto !important; padding: 30px 20px; }
  .footer-top-links { flex-direction: column !important; gap: 0 !important; align-items: center; width: 100%; }
  .footer-top-item { width: auto !important; flex: none !important; display: flex !important; flex-direction: column; align-items: center; gap: 6px; padding: 20px 0; }
  .footer-top-item p { font-size: 16px !important; }
  .footer-top-item img { display: block !important; width: 48px !important; height: 43px !important; max-width: 48px !important; object-fit: contain !important; }
  .footer-divider { display: block; width: 60%; height: 1px; background: rgba(255,255,255,0.5); margin: 0 auto; }

  /* テーブル */
  .info-table th, .info-table td,
  .history-table td {
    display: block !important;
    width: 100% !important;
  }

  /* アコーディオン */
  .accordion-col { flex-direction: column; gap: 16px; }
  .accordion-photos { width: 100% !important; }
  .accordion-photos img { width: 100% !important; height: auto !important; }

  /* フォーム */
  .form-row { flex-direction: column !important; gap: 8px !important; }
  .form-label { width: 100% !important; }
}

@media (min-width: 769px) {
  .footer-top-links { flex-direction: row !important; gap: 192px !important; align-items: center !important; }
  .footer-divider { display: block !important; width: 1px !important; height: 120px !important; }
}

@media (min-width: 769px) {
  .cal-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 60px;
    align-items: flex-start;
  }
  .cal-list {
    width: 420px !important;
    flex-shrink: 0 !important;
  }
}
