/* ーーーー 2025.10 トップページ改修 ーーーー */

body {
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 990px) {
  .pc {
    display: none;
  }
}

/* ーーーー h2 ーーーー */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2rem);
  font-weight: 500;
  color: inherit;
  text-align: center;
  position: relative;
  line-height: 1.4;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  margin-bottom: 3.5rem;
}

.section-title::after {
  content: "";
  display: block;
  margin-inline: auto;
  background-color: #9d2328;
  width: 80px;
  height: 4px;
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  right: 0;
}

/* ーーーー メインビジュアル ーーーー */
.app-home .app-main {
  margin-top: 0;
  margin-bottom: 2rem;
  padding-top: 2rem;
  background: linear-gradient(#d1eeff, #fff);
}

.img_mv02 {
  display: block;
  background: none;
  padding: 0 1rem 0 0;
}

.mv02_contents {
  display: block;
  background-color: #fff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 100%;
  padding: 2.75rem 1rem 1rem;
}

.mv02_contents .catch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.mv02_contents .catch p {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: bold;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #e23a40 0%, #9d2328 70%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
}

.mv02_contents .catch img {
  width: 160px;
}

.mv02_contents .lead {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}

/* ーーーー ctaボタン ーーーー */
.mv_cta_btn {
  display: inline-block;
  width: 70%;
  font-size: 1.25rem;
  padding: 1.25rem;
  text-box: trim-both cap alphabetic;
  position: relative;
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.mv_cta_btn:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

.mv_cta_btn::after {
  content: "";
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  position: absolute;
  top: 47%;
  right: 1.25rem;
  transform: rotate(45deg) translateY(-50%);
}

@media screen and (max-width: 990px) {
  .app-home .app-main {
    padding-top: 1rem;
  }

  .img_mv02 {
    padding-right: 0;
  }

  .mv02_contents {
    padding: 1.75rem 1rem;
  }

  .mv02_contents .catch {
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .mv02_contents .catch p {
    margin-bottom: 0;
  }

  .mv02_contents .catch img {
    width: 120px;
  }

  .mv02_contents .lead {
    margin-bottom: 1.25rem;
  }
}

/* ーーーー cards ーーーー */
#cards {
  margin-bottom: 3rem;
}

#cards .cards-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-inline-start: 0;
  margin-bottom: 0;
}

#cards .cards-inner .cards-item {
  position: relative;
  list-style: none;
}

#cards .cards-inner .cards-item::after {
  content: "";
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  border-top: solid 2px #f2a3a6;
  border-right: solid 2px #f2a3a6;
  position: absolute;
  top: 47%;
  right: 1.25rem;
  transform: rotate(45deg) translateY(-50%);
}

#cards .cards-inner .cards-item a {
  display: block;
  width: 100%;
  text-align: center;
  color: #9d2328;
  font-weight: 600;
  /* border: solid 2px #ed9b9e; */
  border: solid 2px #f2a3a6;
  border-radius: 8px;
  padding: 1rem;
  transition: 0.2s;
  box-shadow: 3px 3px 3px #ccccccb3;
}

#cards .cards-inner .cards-item a:hover {
  background-color: #ffebeb;
  text-decoration: none;
}

#cards .cards-inner .cards-item a img {
  height: 55px;
  margin-bottom: 0.5rem;
}

#cards .cards-inner .cards-item a p {
  margin-bottom: 0;
  line-height: 1.4;
}

@media screen and (max-width: 1024px) {
  #cards {
    margin-bottom: 2rem;
  }

  #cards .cards-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  #cards .cards-inner .cards-item a {
    padding: 1rem 0;
  }

  /* #cards .cards-inner .cards-item a img {
    height: 35px;
    margin-bottom: 0.5rem;
  } */

  #cards .cards-inner .cards-item a p {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 768px) {
  #cards .cards-inner .cards-item a img {
    height: 35px;
    margin-bottom: 0.5rem;
  }
}

@media screen and (max-width: 576px) {
  #cards .cards-inner .cards-item::after {
    display: none;
  }
}

/* ーーーー summary ーーーー */
#summary {
  background: #fff2f2;
}

#summary .summary-inner {
  padding: 3rem 0;
}

#summary .summary-text {
  margin-inline: auto;
  font-size: 1.125rem;
}

#summary .summary-text p {
  line-height: 1.7;
  text-align: center;
}

/* #summary .summary-text p .red {
  color: #9d2328;
  font-weight: 500;
  text-underline-offset: 4px;
  text-decoration: underline;
} */

@media screen and (max-width: 992px) {
  #summary .summary-text {
    font-size: 1rem;
  }

  #summary .summary-text p {
    text-align: left;
  }
}

/* ーーーー feature ーーーー */
#feature {
  padding: 3.5rem 0;
}

#feature .section-title {
  margin-bottom: 3rem;
}

#feature .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4%;
  margin-bottom: 3rem;
}

#feature .flex.reverse {
  flex-direction: row-reverse;
}

#feature .flex .text {
  width: 50%;
}

#feature .flex .text p {
  line-height: 1.6;
  text-align: justify;
}

#feature .flex .img {
  width: 50%;
}

#feature .flex .img img {
  object-fit: cover;
  width: 100%;
}

/* ーーーー feature h3 ーーーー */
#feature .feature-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

#feature .feature-title img {
  width: 8rem;
  margin-bottom: 0.75rem;
}

#feature .feature-title span {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: "palt";
  letter-spacing: 0.03em;
}

/* ーーーー feature ctaボタン ーーーー */
#feature .cta-btn-area {
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
}

#feature .cta-btn-area p {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#feature .cta-btn-area .mv_cta_btn {
  width: 40%;
}

@media screen and (max-width: 768px) {
  #feature {
    padding: 2rem 0;
  }

  #feature .section-title {
    margin-bottom: 3rem;
  }

  #feature .flex,
  #feature .flex.flex.reverse {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  #feature .flex .text {
    width: 100%;
  }

  #feature .flex .text p {
    margin-bottom: 1rem;
  }

  #feature .flex .img {
    width: 100%;
  }

  #feature .feature-title img {
    width: 7rem;
    margin-bottom: 0.5rem;
  }

  #feature .cta-btn-area .mv_cta_btn {
    width: 50%;
  }
}

/* ーーーー お知らせーーーー */
.app-home .app-news-index {
  margin-bottom: 3rem;
  margin-top: 0;
}

.app-home .app-news-index h2 {
  margin-bottom: 3.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2rem);
}

/* ーーーー ナビゲーションバナー ーーーー */
.nav-bnr-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.nav-bnr-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /* height: 150px; */
  font-weight: 600;
  border: solid 2px #ed9b9e;
  border-radius: 8px;
  padding: 0.75rem 1rem 1.125rem;
  transition: 0.2s;
  box-shadow: 3px 3px 3px #ccccccb3;
}

.nav-bnr-list a:hover {
  background-color: #ffebeb;
  text-decoration: none;
}

.nav-bnr-list a img {
  height: 60px;
  margin-bottom: 0.75rem;
}

.nav-bnr-list a p {
  text-align: center;
  line-height: 1.3;
}

.nav-bnr-list a p.caption {
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  font-weight: 400;
  color: #777777;
  margin-bottom: 0.125rem;
}

.nav-bnr-list a p.title {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  font-weight: 600;
  color: #9d2328;
  font-feature-settings: "palt";
  letter-spacing: 0.03em;
  margin-bottom: 0;
}

.nav-bnr-list a.logolink {
  justify-content: center;
}

.nav-bnr-list a.logolink p.caption {
  margin-bottom: 0.375rem;
}

.nav-bnr-list a.logolink img {
  height: 3rem;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0;
  background-color: #fff;
}

@media screen and (max-width: 1024px) {
  .nav-bnr-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .nav-bnr-list a img {
    height: 50px;
  }
}