@charset "UTF-8";

/* ==========================================================================
   ベーススタイル (PC/Default)
   ========================================================================== */

.section {
  padding: 30px 0;
}

.section-title {
  text-align: left;
  letter-spacing: 1.1px;
  font-weight: 500;
  color: rgba(0, 86, 174, 1);
}

.section-title .section-subtitle {
  line-height: 1.5;
  display: block;
  font-size: 25px;
  font-weight: 300;
  color: var(--color-text);
}

.news-title {
  text-align: left;
  margin-left: 0;
  font-weight: 500;
  margin-right: auto;
  margin-bottom: 0;
  width: 100%;
  font-size: 55px;
  color: rgba(0, 86, 174, 1);
}

.title-non-news {
  text-align: left;
  color: rgba(0, 86, 174, 1);
  margin-left: 0;
  font-weight: 500;
  margin-right: auto;
  margin-bottom: 0;
  width: 100%;
  font-size: 50px;
}

.news-title::after {
  content: none;
  display: none;
}

/* ==========================================================================
   メインビジュアル（スライドショー）
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 643px;
  overflow: hidden;
  z-index: 10;
}

.hero__slideshow {
  width: 100%;
  height: 100%;
}

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

.slide-text {
  position: absolute;
  bottom: 8%;
  left: 8%;
  color: #fff;
  text-align: left;
  z-index: 10;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  width: 85%;
  max-width: 800px;
  padding: 0;
}

.slide-text p {
  font-size: 80px;
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  width: auto;
  white-space: pre-line;
}

.slide-text2 p {
  font-size: 60px;
  position: absolute;
  font-weight: 600;
  bottom: 8%;
  left: 8%;
  color: #fff;
  text-align: left;
  z-index: 10;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  width: 85%;
  max-width: 800px;
  padding: 0;
}

.swiper-pagination-bullet-active {
  background: rgba(255, 255, 255, 1);
}

/* ==========================================================================
   リードメッセージセクション
   ========================================================================== */
main .lead-message h2.lead-message__title {
  color: rgba(0, 86, 174, 1);
  text-align: center;
  font-size: 40px;
  margin: 0 auto 30px auto;
  font-weight: 400;
  line-height: 1.5;
  padding-left: 40px;
  padding-right: 40px;
}

.lead-message {
  padding-top: 60px;
}

main .lead-message .lead-message__inner-wrap {
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
  max-width: 1366px;
  margin: 0 auto;
}

main .lead-message .lead-message__content-area {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
  height: 443px;
  padding: 0;
  overflow: hidden;
}

main .lead-message .lead-message__text-box {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: calc(100% - 120px);
  max-width: calc(var(--container-width) - 80px);

  margin-left: auto;
  margin-right: auto;
  height: 371px;
  padding: 20px;
  color: #fff;
  font-size: 24px;
  line-height: 1.7;
  text-align: center;
  background-color: rgba(11, 1, 1, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main .lead-message .lead-message__text-box p {
  font-size: 24px;
  font-weight: 200;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================================
   ニュースセクション
   ========================================================================== */
.news .container {
  max-width: 1126px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--container-padding);
}

.news__grid {
  display: flex;
  gap: 20px;
}

.news__card-image {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.news {
  padding-top: 30px;
}

.news__card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  min-width: 235px;
  min-height: 235px;
}

.news__card-content {
  width: 100%;
}
.news__card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  margin-top: 5px;
}

.news__card-date {
  font-size: 20px;
  margin-right: 15px;
  color: rgba(0, 86, 174, 1);
}

.news__card-category {
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.news__card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  word-wrap: break-word;
}

.news__card-excerpt {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news__all-link-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 40px;
  width: 100%;
}

.news__all-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 21px;
  font-weight: 500;
  color: rgba(67, 103, 136, 1);
  margin-right: 50px;
}

.news__cow-icon {
  display: block;
  width: 48px;
  height: 77px;
  margin-bottom: 5px;
  margin-right: -20px;
}

.news__card-image {
  position: relative;
  overflow: hidden;
}
.news__card-image .news__card-category {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  display: inline-block;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  border: none;
  border-radius: 0;
}

.news__card-image .news__card-category.category--event {
  background: rgba(253, 87, 153, 1);
}

.news__card-image .news__card-category.category--info {
  background-color: var(--color-primary);
}

.news__card-meta .news__card-category {
  display: none;
}
.news__all-link-wrap {
  justify-content: flex-end;
  max-width: 1126px;
  margin-left: auto;
  margin-right: auto;
  padding-right: var(--container-padding);
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.news__grid .news__card {
  width: calc(33.33% - 13.33px);
}

/* ==========================================================================
   組合のご案内セクション (.about)
   ========================================================================== */

.about .container {
  max-width: 1126px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--container-padding);
}

.about__content {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 50px;
}
.about__column {
  flex: 0 0 auto;
  width: 537px;
}

.about__image {
  overflow: hidden;
  width: 537px;
  height: 530px;
}

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

.about__link-wrap {
  display: block;
  text-align: left;
  margin: 30px 0 0 100px;
  width: fit-content;
}

.about__cow-icon {
  display: block;
  width: 90px;
  height: auto;
  margin: 0 0 5px 0;
}

.about__button {
  display: block;
  text-align: left;
  color: rgba(67, 103, 136, 1);
  font-size: 21px;
  margin-top: 5px;
  font-weight: 500;
}

/* ==========================================================================
   組合の取り組みセクション (.activity)
   ========================================================================== */

.activity .container {
  max-width: 1126px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  padding: 0 var(--container-padding);
}

.section-subtitle {
  display: block;
  margin-bottom: 30px;
  font-size: 25px;
  color: rgba(0, 0, 0, 1);
  font-weight: 300;
}

.section-subtitle-non-news {
  display: block;
  margin-bottom: 30px;
  font-size: 20px;
  color: rgba(0, 0, 0, 1);
  font-weight: 300;
}

.activity__content {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.activity__column {
  flex: 1 1 500px;
  max-width: 50%;
}

.activity__image {
  width: 100%;
  overflow: hidden;
}

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

.activity__text-area {
  width: 100%;
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}

.activity__description {
  font-size: 24px;
  font-weight: 300;
  color: rgba(0, 86, 174, 1);
}
.activity__description br {
  display: block;
}

.activity__link-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 40px;
}

.activity__button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 50px;
  font-weight: 500;
  font-size: 21px;
  color: rgba(67, 103, 136, 1);
}

.activity__text-area {
  width: 100%;
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 0px;
  color: #0056ae;

  max-width: 995px;
  margin-left: auto;
  margin-right: auto;
}

.activity__cow-icon {
  width: 48px;
  height: 77px;
  object-fit: contain;
  order: -1;
}

/* ==========================================================================
   組合員のご案内セクション (.member-guide__content)
   ========================================================================== */

.member-guide__content {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.member-guide__image-wrapper {
  position: relative;
  max-width: 971px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  height: 483px;
}

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

.member-guide__buttons {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 635px;
  max-width: none;
}
.member-guide__button {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 635px;
  height: 103px;
  font-weight: 400;
  position: relative;
  padding: 18px 30px;
  background-color: var(--color-bg);
  border-radius: 51px;
  font-size: 30px;
  color: #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, opacity 0.3s;
  color: rgba(0, 0, 0, 1);
}

.member-guide__button:hover {
  opacity: 1;
  background-color: var(--color-bg-gray);
}

.member-guide__icon {
  width: 81px;
  height: 74px;
  margin-right: 5px;
  stroke: var(--color-primary);
  fill: none;
}

.member-guide__button > span:first-of-type {
  display: flex;
  align-items: center;
}

.member-guide__arrow {
  position: absolute;
  right: 30px;
  font-size: 24px;
  font-weight: normal;
}

.member-guide__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.container .section-title {
  margin-bottom: 0;
}

/* ===============================
   リンク/関連団体 セクション
   =============================== */

.related-links__list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin-top: 40px;
  margin-bottom: 400px;
  gap: 30px;
}
.related-links__item img {
  width: 100%;
  height: auto;
  display: block;
}

.related-links__list .related-links__item:nth-child(1) {
  width: 36.46%;
  max-width: 396px;
  flex-shrink: 1;
}
.related-links__list .related-links__item:nth-child(2) {
  width: 34.14%;
  max-width: 326px;
  flex-shrink: 1;
}
.related-links__list .related-links__item:nth-child(3) {
  width: 30.39%;
  max-width: 300px;
  flex-shrink: 1;
}

/* ===============================
   TOPへ戻るボタン
   =============================== */
.to-top-wrap {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  width: fit-content;
  text-align: center;
  cursor: pointer;
  z-index: 999;
}

.to-top-wrap.is-visible {
  opacity: 1;
  visibility: visible;
}

.to-top-cow-icon {
  width: 50px;
  height: auto;
  display: block;
  margin-bottom: 5px;
}

.to-top-link {
  display: block;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

/* ==========================================================================
   responsive  (スマホ・タブレット対応)
   ========================================================================== */

@media screen and (min-width: 1169px) and (max-width: 1311px) {
  main .lead-message .lead-message__text-box {
    font-size: 22px;
  }
  main .lead-message .lead-message__text-box p {
    font-size: 22px;
  }
}

/* 2. PC/Tablet: 1120px 以下 */
@media screen and (max-width: 1120px) {
  .news__grid {
    gap: 20px;
  }
  .news__card-image img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* 2.1. Range: 994px から 1168px */
@media screen and (min-width: 994px) and (max-width: 1168px) {
  main .lead-message .lead-message__text-box {
    max-width: calc(100% - 80px);
    font-size: 18px;
    padding: 20px;
    line-height: 1.5;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  main .lead-message .lead-message__text-box p {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* 3. Tablet: 834px から 993px */
@media screen and (min-width: 834px) and (max-width: 993px) {
  main .lead-message .lead-message__text-box {
    max-width: calc(100% - 80px);
    font-size: 20px;
    line-height: 1.4;
    height: 240px;
  }
  main .lead-message .lead-message__text-box p {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* 4. Tablet: 834px から 1168px の共通レイアウト設定 */
@media screen and (min-width: 834px) and (max-width: 1168px) {
  @media screen and (max-width: 1120px) {
    .news__all-link-wrap {
      max-width: 100%;
      padding-left: var(--container-padding);
      padding-right: var(--container-padding);
    }
  }

  main .lead-message .lead-message__text-box {
    max-width: var(--container-width);
    font-size: 18px;
    padding: 20px;
    line-height: 1.5;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: calc(100% - 80px);
  }
  main .lead-message .lead-message__text-box p {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* 5. Mobile: 832px 以下 */
@media screen and (max-width: 832px) {
  main .lead-message .lead-message__text-box {
    position: static;
    top: auto;
    transform: none;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    height: auto;
    background-color: transparent;
    color: var(--color-text);
    padding: 30px 0;
    display: block;
  }

  main .lead-message h2.lead-message__title {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 24px;
  }

  .slide-text p {
    font-size: 60px;
  }

  main .lead-message .lead-message__text-box p {
    text-align: left;
    margin-bottom: 20px;
    margin-top: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    font-size: 16px;
  }
  .lead-message__text-box .sp-no-break {
    display: none;
  }

  .slide-text2 p {
    font-size: 45px;
  }
}

/* 6. Mobile: 775px 以下 */
@media screen and (max-width: 775px) {
  /* Common */
  .news-title,
  .title-non-news {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .section-title {
    font-size: 36px;
    text-align: center;
  }
  .section-title .section-subtitle,
  .section-title .section-subtitle-non-news {
    font-size: 20px;
  }

  main .lead-message .lead-message__text-box p {
    margin-top: 0;
    margin-bottom: 0;
  }

  /* News */
  .news .container {
    padding: 0 20px;
    max-width: 100%;
  }
  .news__grid {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  .news__grid .news__card {
    width: 100%;
    flex: 0 0 100%;
    max-width: 537px;
  }
  .news__all-link-wrap {
    flex-direction: column;
    align-items: flex-end;
    max-width: 537px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
  .news__card-image,
  .news__card-content {
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .news__card-date {
    font-size: 16px;
    margin-right: 15px;
    color: rgba(0, 86, 174, 1);
  }
  .news__card-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    word-wrap: break-word;
  }

  /* About */
  .about__content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .about__column {
    width: 100%;
    max-width: 537px;
  }
  .about__image {
    width: 100%;
    height: auto;
  }
  .about__image img {
    height: auto;
    margin-top: 20px;
  }
  .about .section-title,
  .about .section-subtitle,
  .about .section-subtitle-non-news {
    text-align: center;
  }
  .link-wrap-parent {
    display: flex;
    max-width: 537px;
    justify-content: flex-end;
    margin: 0 auto;
  }

  /* Activity */
  .activity__content {
    flex-direction: column;
    align-items: center;
  }
  .activity__column {
    width: 100%;
    max-width: 537px;
    flex: 0 0 auto;
  }
  .activity .section-subtitle,
  .activity .section-subtitle-non-news {
    text-align: center;
    display: block;
    margin-bottom: 30px;
    color: var(--color-text);
  }
  .activity__description {
    font-size: 16px;
  }
  .activity__text-area {
    text-align: left;
    font-size: 16px;
    max-width: 537px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
  }
  .activity__link-wrap {
    justify-content: flex-start;
    align-items: flex-end;
    margin-top: 20px;
    padding: 0 20px;
    max-width: 537px;
    margin-left: auto;
    margin-right: auto;
  }

  .member-guide__buttons {
    width: auto;
    height: auto;
    max-width: none;
    align-items: center;
  }
  .member-guide__button {
    width: 400px;
    height: auto;
    justify-content: center;
    max-width: none;
    padding: 15px 20px;
    font-size: 16px;
  }
  .member-guide__icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }
}

@media screen and (max-width: 768px) {
  .related-links__list {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 100px;
  }
  .related-links__list .related-links__item:nth-child(1),
  .related-links__list .related-links__item:nth-child(2),
  .related-links__list .related-links__item:nth-child(3) {
    width: 90%;
      max-width: 396px;
      margin-left: auto;
      margin-right: auto;
  }

  .hero__slideshow,
  .hero {
    height: 550px;
  }
}

@media screen and (max-width: 585px) {
  .slide-text p {
    font-size: 40px;
  }
  main .lead-message .lead-message__text-box p {
    text-align: left;
    margin-bottom: 20px;
    margin-top: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    font-size: 16px;
  }

  .slide-text2 p {
    font-size: 30px;
  }
}

@media screen and (max-width: 442px) {
  main .lead-message h2.lead-message__title {
    font-size: 20px;
  }
  .news-title,
  .title-non-news {
    font-size: 30px;
  }
}

@media screen and (max-width: 440px) {
  .member-guide__buttons {
    width: 90%;
    max-width: none;
  }
  .member-guide__button {
    width: 90%;
    font-size: 15px;
    padding: 12px 15px;
  }
  .member-guide__arrow {
    right: 15px;
  }

  .slide-text p {
    font-size: 32px;
  }

  .slide-text2 p {
    font-size: 24px;
  }

  main .lead-message .lead-message__content-area {
    height: 152px;
  }
}
