/* =========================
   共通設定（リセット + ベース）
========================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* =========================
   ロゴ・ヘッダー・ヒーロー
========================= */
.logo-text {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.hero-header {
  text-align: center;
  padding-top: 40px;
  position: relative;
}

.hero img {
  margin-top: 30px;
  width: 100%;
  height: auto;
  display: block;
}

.hero-title {
  font-size: 32px;
  color: #223366;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 16px;
  color: #fff;
  margin-top: 5px;
}

/* =========================
   セクション共通スタイル
========================= */
section.intro {
  padding: 40px 4%;
  background-color: #f9f9f9;
  text-align: center;
}

.intro-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.intro h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.intro h2 span {
  font-size: 14px;
  color: #666;
}

.intro p {
  font-size: 15px;
  line-height: 1.7;
}

/* =========================
   自己紹介セクション
========================= */
.about-section {
  background-color: #f9f9f9;
  padding: 80px 6% 60px;
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.about-text,
.about-text.center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
}

.about-text h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #222;
}

/* =========================
   カードセクション（案内）
========================= */
.card-section {
  background-color: #f0f8ff;
}

.event-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-box {
  display: block;
  text-decoration: none;
  color: inherit;
}

.event-image img {
  width: 100%;
  height: auto;
  display: block;
}

.event-info {
  padding: 10px;
}

.event-title {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 8px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.event-date {
  font-size: 0.9rem;
  color: #888;
}

/* =========================
   ボタン・リンク
========================= */
/* ボタン共通 */
.btn {
  background-color: #f8e71c;
  color: #000;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* PC用ホバー */
.btn:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-2px);
}

.btn.underline {
  text-decoration: underline;
}

.footer-links a,
.event-title a {
  text-decoration: none;
  color: inherit;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* =========================
   フッター
========================= */
.site-footer {
  background-color: #222;
  padding: 60px 6% 40px;
  text-align: center;
  font-size: 14px;
  color: #eee;
}

.footer-desc p {
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.8;
  font-size: 15px;
  color: #ccc;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  margin: 0 12px;
  font-weight: 500;
  font-size: 14px;
  color: #ccc;
}

.footer-copy {
  font-size: 13px;
  color: #aaa;
}

/* =========================
   レスポンシブ（PC向け）
========================= */
@media screen and (min-width: 768px) {
  .about-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .about-text {
    flex: 1;
    margin-right: 40px;
    
  }

  .event-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5%;
  }

  .event-box {
    width: 31%;
  }

  .intro h2 {
    font-size: 28px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}

@media screen and (min-width: 1024px) {
  .about-text,
  .about-text.center {
    max-width: 1000px;
  }
}

@media screen and (max-width: 767px) {
  .about-text {
    padding: 0 20px;
    font-size: 14px;
    line-height: 2;
    text-align: left; /* 中央にしたい場合は center に */
  }
}


/* パソコン用：最大幅を広げる */
@media screen and (min-width: 768px) {
  .about-text {
    max-width: 1000px;
    font-size: 17px;
    line-height: 1.9;
  }
}

/* スマホ用タップ */
@media screen and (max-width: 767px) and (hover: none) and (pointer: coarse) {
  .btn:active {
    background-color: #000 !important;
    color: #fff !important;
    transform: scale(0.96);
  }
}
