@import "./common/common.css";

/* mv */
.mv {
  position: relative;
  background-color: #f8f8f8;
}

.mv__image {
  background-image: url("../../images/top/mv_sp.png");
  background-image: image-set(
    url("../../images/top/mv_sp.png") 1x,
    url("../../images/top/mv_sp@2x.png") 2x
  );
  height: 148vw;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 1025px) {
  .mv__image {
    background-image: url("../../images/top/mv_pc.png");
    background-image: image-set(
      url("../../images/top/mv_pc.png") 1x,
      url("../../images/top/mv_pc@2x.png") 2x
    );
    height: 500px;
  }
}

img.mv_logo {
  width: 292px;
}
@media screen and (min-width: 1025px) {
  img.mv_logo {
    width: 411px;
  }
}

#scroll__button-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

#scroll__button {
  width: 60px;
  height: 60px;
  background-color: var(--white);
  border: 2px solid #52a3c5;
  border-radius: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  bottom: 5%;
  cursor: pointer;
  transition: color 0.3s ease;
}

#scroll__button:hover {
  background-color: #52a3c5;
  color: var(--white);
}

.scroll__button-image {
  padding-top: 9px;
  margin-left: 9px;
  width: 20px;
}

.scroll__button-text {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-align: center;
  color: #87cdeb;
  padding-top: 18px;
}

#scroll__button:hover .scroll__button-text {
  color: var(--white);
}

img.mvscroll {
  position: absolute;
  top: 24%;
  left: 31%;
  width: 20px;
  display: block;
}

#scroll__button:hover img.mvscroll {
  filter: brightness(0) saturate(100%) invert(99%) sepia(0%) saturate(0%)
    hue-rotate(303deg) brightness(112%) contrast(100%);
}

/* common section styles */
.section-title {
  font-family: "Noto Sans JP";
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 1025px) {
  .section-title {
    font-size: 2.8rem;
  }
}

.section-subtitle {
  display: block;
  text-align: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text-light);
  font-size: 1.4rem;
  margin: 6px 0;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 1025px) {
  .section-subtitle {
    font-size: 1.6rem;
    margin: 0;
  }
}

.section-header__underline {
  text-align: center;
  width: 90%;
  margin: 0 auto;
}
@media screen and (min-width: 1025px) {
  .section-header__underline {
    text-align: center;
    margin-top: 0px;
  }
}

.section-header__underline img {
  width: 350px;
}

/* about */
.about {
  padding: 17px 0 48px;
  background-color: #f8f8f8;
}
@media screen and (min-width: 1025px) {
  .about {
    padding: 23px 0 96px;
  }
}

.about .container {
  padding: 0;
  max-width: 1180px;
}
.about__bg {
  background-image: url("../../images/top/about_bg_sp.jpg");
  background-image: image-set(
    url("../../images/top/about_bg_sp.jpg") 1x,
    url("../../images/top/about_bg_sp@2x.jpg") 2x
  );
  height: 138.66vw;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
@media screen and (min-width: 768px) {
  .about__bg {
    height: 90dvh;
    background-position: 50% 83%;
  }
}
@media screen and (min-width: 1024px) {
  .about__bg {
    background-repeat: no-repeat;
    background-image: url("../../images/top/about_bg.jpg");
    height: 60.4dvh;
    background-size: cover;
    background-position: 50% 60%;
    width: 100%;
  }
}

.about__message {
  text-align: center;
  font-family: "Noto Sans JP";
}

.about__content {
  width: 100%;
  margin-top: 25px;
}
@media screen and (min-width: 1024px) {
  .about__content {
    margin-top: 35px;
  }
}

img.about__video-icon {
  width: 24px;
}
@media screen and (min-width: 1024px) {
  img.about__video-icon {
    width: 30px;
  }
}

.about__inner {
  padding: 55px 20px 0;
}
@media screen and (min-width: 1024px) {
  .about__inner {
    padding: 70px 20px 0;
  }
}

.about__message-title {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 0 4px #5e9eba;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 1024px) {
  .about .u-sp-only {
    display: none;
  }
  .about__message-title {
    font-size: 2.8rem;
    margin-bottom: 8px;
  }
}

.about__message-text {
  color: var(--white);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
@media screen and (min-width: 1024px) {
  .about__message-text {
    font-size: 1.8rem;
  }
}

.about__button {
  width: 200px;
  margin: 0 auto;
}
@media screen and (min-width: 1024px) {
  .about__button {
    width: 250px;
  }
}

.button--video {
  width: 200px;
  height: 40px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  border-radius: 64px;
  border: 1.6px solid var(--white);
  gap: 12px;
}
@media screen and (min-width: 1024px) {
  .button--video {
    width: 250px;
    height: 50px;
    font-size: 1.6rem;
    border: 2px solid var(--white);
    border-radius: 80px;
  }
}

.button--video:hover {
  background-color: var(--text-light);
}

/* intro */
.intro {
  padding: 0 0 50px;
  background-color: #f8f8f8;
}

@media screen and (min-width: 1025px) {
  .intro {
    margin-left: auto;
    padding: 0 0 100px;
  }
}
@media screen and (min-width: 1280px) {
  .intro {
    padding: 0 0 93px;
  }
}

.intro .container {
  background-color: var(--bg-light);
  padding: 0 20px 48px;
  margin: 0;
  margin-left: auto;
}
@media screen and (min-width: 1025px) {
  .intro .container {
    padding: 0;
    background-color: transparent;
  }
}

.intro__inner {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
}
@media screen and (min-width: 1025px) {
  .intro__inner {
    flex-direction: row;
  }
}

.intro__image {
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  height: 380px;
}
@media screen and (min-width: 768px) {
  .intro__image {
    width: auto;
    height: 520px;
  }
}
@media screen and (min-width: 1025px) {
  .intro__image {
    width: 450px;
    height: 520px;
    position: absolute;
    right: 62%;
    top: 1%;
  }
}
@media screen and (min-width: 1280px) {
  .intro__image {
    right: 76.8%;
    top: 19px;
  }
}

img.intro_image {
  object-fit: cover;
  aspect-ratio: 45/52;
}
@media screen and (min-width: 1025px) {
  img.intro_image {
    height: 380px;
  }
}
@media screen and (min-width: 1280px) {
  img.intro_image {
    height: auto;
  }
}

.intro__content {
  width: 90%;
}
@media screen and (min-width: 768px) {
  .intro__content {
    margin: 0 auto;
    width: 75%;
  }
}
@media screen and (min-width: 1025px) {
  .intro__content {
    margin-left: auto;
    margin-right: 0;
  }
}
@media screen and (min-width: 1280px) {
  .intro__content {
    max-width: 900px;
    width: 84.7%;
  }
}

@media screen and (min-width: 1025px) {
  .intro__content-inner {
    padding: 54px 150px 80px 146px;
    background-color: var(--bg-light);
  }
}

.intro__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 53px;
}
@media screen and (min-width: 1025px) {
  .intro__header {
    height: 60px;
    gap: 11px;
  }

  img.intro__icon {
    height: 60px;
  }
}

.intro__content-image {
  margin-top: 18px;
  aspect-ratio: 300/189;
  width: 300px;
}
@media screen and (min-width: 768px) {
  .intro__content-image {
    width: auto;
    height: auto;
  }
}
@media screen and (min-width: 1025px) {
  .intro__content-image {
    width: 600px;
    height: 338px;
    margin-top: 51px;
  }
}

img.intro_content-image {
  object-fit: cover;
}

@media screen and (min-width: 1025px) {
  img.intro_content-image {
    width: 81%;
  }
}
@media screen and (min-width: 1280px) {
  img.intro_content-image {
    aspect-ratio: 300 / 169;
    width: 100%;
  }
}

.intro__title {
  color: var(--text);
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 100%;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
@media screen and (min-width: 1025px) {
  .intro__title {
    font-size: 2.2rem;
  }
}

.intro__text {
  color: var(--text);
  text-align: justify;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.6rem; /* 185.714% */
  letter-spacing: 0.05em;
  margin-top: 17px;
}
@media screen and (min-width: 1025px) {
  .intro__text {
    font-size: 1.6rem;
    line-height: 3rem;
    margin-top: 25px;
  }
}

span.intro__text-bold {
  color: var(--text);
  font-family: "Noto Sans JP";
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 2.8rem;
}
@media screen and (min-width: 1025px) {
  span.intro__text-bold {
    font-size: 2rem;
    line-height: 3.2rem;
  }
}

.intro__text.bottom {
  margin-top: 33px;
}
@media screen and (min-width: 1025px) {
  .intro__text.bottom {
    font-size: 1.6rem;
    line-height: 3rem;
  }
}

.intro__button {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  padding-left: 35px;
}
@media screen and (min-width: 768px) {
  .intro__button {
    padding-left: 0;
  }
}
@media screen and (min-width: 1025px) {
  .intro__button {
    margin-top: 14px;
    justify-content: flex-start;
  }
}

.button--member {
  width: 200px;
  height: 40px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 64px;
  background-color: var(--primary);
  letter-spacing: 0.05em;
  position: relative;
}
@media screen and (min-width: 1025px) {
  .button--member {
    width: 250px;
    height: 50px;
    font-size: 1.6rem;
    border-radius: 80px;
  }
}

.button--member::after {
  content: "";
  background-image: url(../../images/common/arrow_right_white.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 9.4px;
  position: absolute;
  right: 7%;
}

.button--member:hover {
  color: #4aa1c6;
  background-color: var(--white);
  border: 2px solid var(--primary);
}

.button--member:hover::after {
  content: "";
  background-image: url(../../images/common/arrow_right_blue.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 9.4px;
  position: absolute;
  right: 6px;
}

.intro__border img {
  position: absolute;
  left: auto;
  right: -2%;
  width: 20px;
  top: 3%;
}
@media screen and (min-width: 768px) {
  .intro__border img {
    right: 0;
  }
}
@media screen and (min-width: 1025px) {
  .intro__border img {
    top: 4%;
    right: 4.8%;
  }
}
@media screen and (min-width: 1280px) {
  .intro__border img {
    top: 3.6%;
    right: 7%;
  }
}

@media screen and (min-width: 1440px) {
  .intro .container {
    max-width: 100%;
  }

  .intro__content {
    width: 78%;
    max-width: none;
  }

  .intro__image {
    height: auto;
    right: 70%;
    left: 0;
    width: 30%;
  }

  .intro__content-inner {
    padding-left: 26%;
  }

  .intro__inner {
    margin-right: auto;
  }

  .intro__border img {
    right: 4%;
  }
}

/* news */
.news {
  position: relative;
  background-color: var(--white);
  padding: 45px 0 48px;
}
@media screen and (min-width: 1025px) {
  .news {
    padding: 50px 0 61px;
  }
}

.news .section-subtitle {
  margin: 0;
}

.section-header__underline-small {
  margin-top: 21px;
  margin-left: 20px;
}
@media screen and (min-width: 1025px) {
  .section-header__underline-small {
    margin-top: 0;
    margin-left: 0;
  }
}

img.ribbon_line {
  width: 30px;
  height: 550px;
}
@media screen and (min-width: 390px) {
  img.ribbon_line {
    width: 20px;
    object-fit: contain;
  }
}
@media screen and (min-width: 768px) {
  img.ribbon_line {
    width: 30px;
    height: auto;
  }
}
@media screen and (min-width: 1025px) {
  img.ribbon_line {
    width: auto;
    /* height: 439px; */
  }
}

@media screen and (min-width: 1025px) {
  .news__wrapper {
    display: flex;
  }
}

.news__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
@media screen and (min-width: 1025px) {
  .news__header {
    width: 181px;
    padding-right: 0;
  }
}
@media screen and (min-width: 1280px) {
  .news__header {
    width: 181px;
    padding-right: 55px;
  }
}

.news__list {
  padding: 0 14px;
  margin-top: 18px;
}
@media screen and (min-width: 1025px) {
  .news__list {
    padding: 0;
    margin-top: 30px;
  }
}

.news__list-wrapper {
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .news__list-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
  }
}
@media screen and (min-width: 1025px) {
  .news__list-wrapper {
    transform: translateX(-29px);
    gap: 82px;
  }
}

.news__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 1px dashed #d7d7d7;
  padding: 16px 0 15px;
}
@media screen and (min-width: 1025px) {
  li.news__item {
    padding: 19px 0px;
  }
}

.news__item:first-child {
  border-top: 1px dashed #d7d7d7;
}

.news__item a {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 1025px) {
  .news__item a {
    display: flex;
    flex-direction: row;
    gap: 36px;
  }
}

.news__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
  margin-bottom: 2px;
}
@media screen and (min-width: 1025px) {
  .news__meta {
    gap: 36px;
    flex-direction: row;
  }
}

.news__meta-inner {
  display: flex;
  gap: 14px;
  align-items: center;
}
@media screen and (min-width: 1025px) {
  .news__meta-inner {
    gap: 34px;
  }
}

.news__date {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}

.news__tag {
  display: inline-block;
  width: 3px;
  height: 15px;
  background-color: var(--primary);
}

.news__button {
  margin-top: 26px;
  margin-inline: 22px;
}
@media screen and (min-width: 390px) {
  .news__button {
    text-align: center;
  }
}
@media screen and (min-width: 1025px) {
  .news__button {
    margin-left: 55%;
  }
}
@media screen and (min-width: 1280px) {
  .news__button {
    margin-left: 93%;
    margin-top: 20px;
  }
}

.button--archive {
  width: 250px;
  height: 40px;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  background-color: var(--primary);
  color: var(--white);
  margin: 0 auto;
  position: relative;
}
@media screen and (min-width: 1025px) {
  .button.button--archive {
    font-size: 1.6rem;
    height: 50px;
  }
}

.button--archive::after {
  content: "";
  background-image: url(../../images/common/arrow_right_white.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 9.4px;
  position: absolute;
  right: 7%;
}
@media screen and (min-width: 1025px) {
  .button--archive::after {
    right: 17px;
  }
}

.button--archive:hover {
  color: var(--primary);
  background-color: var(--white);
  border: 2px solid var(--primary);
}

.button--archive:hover::after {
  content: "";
  background-image: url(../../images/common/arrow_right_blue.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 9.4px;
  position: absolute;
  right: 7%;
}

/* obstacle */
.obstacle {
  background-color: #f8f8f8;
  position: relative;
  padding: 48px 0 0;
  color: var(--white);
  align-items: center;
}
@media screen and (min-width: 1025px) {
  .obstacle {
    padding: 96px 0 0;
  }
}

.obstacle__bg {
  background-image: url("../../images/top/obstacle_bg_sp.png");
  background-image: image-set(
    url("../../images/top/obstacle_bg_sp.png") 1x,
    url("../../images/top/obstacle_bg_sp@2x.png") 2x
  );
  height: 225px;
  width: 90%;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto;
  position: relative;
}

.obstacle__bg::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 15px;
  left: 13px;
  right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
@media screen and (min-width: 1025px) {
  .obstacle__bg {
    background-image: url("../../images/top/obstacle_bg_pc.png");
    background-image: image-set(
      url("../../images/top/obstacle_bg_pc.png") 1x,
      url("../../images/top/obstacle_bg_pc@2x.png") 2x
    );
    height: 229px;
    width: 94%;
    aspect-ratio: 24/5;
  }

  .obstacle__bg::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 22px;
    left: 15px;
    right: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
}
@media screen and (min-width: 1280px) {
  .obstacle__bg {
    max-width: 1080px;
  }
}

.obstacle__bg:hover {
  opacity: 0.5;
  cursor: pointer;
}

@media screen and (min-width: 1025px) {
  .obstacle__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.obstacle__content {
  height: 243px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
@media screen and (min-width: 1025px) {
  .obstacle__content {
    padding-left: 80px;
    align-items: flex-start;
    height: 215px;
  }
}
@media screen and (min-width: 768px) {
  .obstacle__content {
    width: auto;
  }
}

a.obstacle__link {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media screen and (min-width: 1025px) {
  a.obstacle__link {
    gap: 0;
  }
}

.obstacle__title {
  color: var(--white);
  text-shadow: 0 0 4px #5e9eba;
  font-family: "Noto Sans JP";
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  .obstacle__title {
    font-size: 3.4rem;
  }
}

.obstacle__text {
  color: var(--white);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 1024px) {
  .obstacle__text {
    font-size: 1.6rem;
  }
}

/* banners */
.banners {
  padding: 24px 0 46px;
  background-color: #f8f8f8;
}
@media screen and (min-width: 1025px) {
  .banners {
    padding: 46px 50px 96px;
  }
}

.banners__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
@media screen and (min-width: 1025px) {
  .banners__list {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
}
@media screen and (min-width: 1280px) {
  .banners__list {
    margin-inline: 0;
  }
}

.banners__item {
  width: 100%;
  max-width: 89%;
  border: 1px solid #c2c2c2;
}
@media screen and (min-width: 1025px) {
  .banners__item {
    width: 48%;
    max-width: 520px;
  }
}
.banners__item img {
  width: 100%;
}

/* single.php */
.news__button.past__button {
  text-align: center;
}
@media screen and (min-width: 1025px) {
  .news__button.past__button {
    margin-left: auto;
  }
}
.post__content {
  font-size: 1.6rem;
}

/* category.php */
.news__button.category__button {
  margin-left: 0;
}
