@charset "UTF-8";

/* ==========================================================================
   1. ファーストビュー (FV)
   ========================================================================== */
.top-fv {
  width: 100%;
  background-color: #fff;
  padding: 0 0 40px 0;
}

.fv-container {
  width: 100%;
  margin: 0 auto;
}

.fv-image-placeholder {
  width: 100%;
}

.fv-image-placeholder picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   2. 協会について (About)
   ========================================================================== */
.top-about {
  width: 100%;
  padding: 100px 200px;
  background-color: #fff;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
}

.about-header {
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-sub {
  font-size: 1rem;
  font-weight: 400;
  color: #0098ff;
  display: block;
  margin-bottom: 15px;
  letter-spacing: 0.03em;
}

.about-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00031e;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.about-header p {
  font-size: 1rem;
  font-weight: 400;
  color: #00031e;
  letter-spacing: 0.05em;
  line-height: 2;
}

.about-img img {
  width: 400px;
  height: 300px;
}

.about-more {
  text-align: left;
}

/* バナーカード部分 */
.about-banners-wrapper {
  width: 100%;
  background-color: #ffffff;
  margin-top: 50px;
}

.banners-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.banner-card {
  background-color: #eff9ff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  min-height: 220px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.banner-title {
  font-size: 1rem;
  font-weight: 700;
  color: #00031e;
  line-height: 1.6;
  margin-bottom: 25px;
  word-break: keep-all;
  letter-spacing: 0.1em;
}

.banner-title-min {
  font-size: 1rem;
  font-weight: 500;
  color: #d9d9d9;
  line-height: 1.6;
  margin-bottom: 25px;
  word-break: keep-all;
}

.banner-btn-wrap {
  width: 100%;
}

.btn-detail {
  display: inline-block;
  background-color: #0098ff;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 20px;
  border-radius: 25px;
  letter-spacing: 0.05em;
}

.btn-detail:hover {
  background-color: #0077c7;
}

.btn-detail::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  vertical-align: -1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/><polyline points='15 3 21 3 21 9'/><line x1='10' y1='14' x2='21' y2='3'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ==========================================================================
   3. お知らせ (News)
   ========================================================================== */
.top-news {
  width: 100%;
  padding: 0px 200px 100px 200px;
  background-color: #fff;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-header {
  line-height: 1.2;
}

.news-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00031e;
  letter-spacing: 0.05em;
}

.news-sub {
  font-size: 1rem;
  font-weight: 400;
  color: #0098ff;
  display: block;
  margin-bottom: 15px;
  letter-spacing: 0.03em;
}

.news-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-list {
  border-top: 1px solid #e0e0e0;
}

.news-item {
  border-bottom: 1px solid #e0e0e0;
}

.news-item a {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  gap: 40px;
}

.news-date {
  font-size: 1rem;
  font-weight: 500;
  color: #0098ff;
  white-space: nowrap;
}

.news-title {
  font-size: 1rem;
  font-weight: 400;
  color: #00031e;
  line-height: 1.6;
}

.news-more {
  text-align: left;
}

.btn-more-arrow {
  display: inline-flex;
  align-items: center;
  padding: 12px 64px 12px 0px;
  color: #00031e;
  font-size: 0.95rem;
  font-weight: 600;
  background-color: transparent;
  position: relative;
}

/* ==========================================================================
   4. レスポンシブ対応 (画面サイズごとの調整)
   ========================================================================== */

/* タブレット未満 (横幅1024px以下) */
@media (max-width: 1024px) {
  .top-about,
  .top-news {
    padding: 40px 20px;
  }
}

/* タブレット (横幅960px Moff) */
@media (max-width: 960px) {
  .banners-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホサイズ (横幅768px以下) */
@media (max-width: 768px) {
  /* FVのSP用余白調整 */
  .top-fv {
    padding: 0 0 20px 0;
  }

  /* Aboutセクションの調整 */
  .about-container {
    flex-direction: column;
    align-items: flex-start; /* 縦並びの要素全体を左寄せに */
    text-align: left; /* テキストを左揃えに */
    gap: 30px;
  }
  .about-more {
    text-align: left; /* ボタンも左寄せに */
  }
  .about-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
  }
  .about-header p {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  /* Newsセクションの調整 */
  .top-news {
    padding: 40px 20px;
  }
  .news-item a {
    flex-direction: column;
    gap: 8px;
    padding: 15px 0;
  }
  .news-date {
    font-size: 0.85rem;
  }
  .news-title {
    font-size: 0.95rem;
  }
  .btn-more-arrow {
    padding: 10px 48px 10px 0px;
    font-size: 0.9rem;
  }
}

/* 小さめのスマホサイズ (横幅600px以下) */
@media (max-width: 600px) {
  .banners-container {
    grid-template-columns: 1fr;
  }
}
