@charset "UTF-8";

/*
こちらのCSSファイルを使用してください！

以下、CSS記述の注意事項

■色の指定
下記はデザイン上で使用している色の名前と同じです！
CSS変数と言われるものです。
var(--color-primary)
var(--color-grad) // こちらはデザイン上で「grad02」の名前をつけているものです。
var(--color-grad-reverse)
var(--color-black)
var(--color-white)

下記のように使用してください！
.example {
  color:var(--color-primary);
}

■フォントサイズの指定
フォントサイズの指定には「rem」を使用します。

1remが10pxになるように調整していますので、
デザイン上で16pxの箇所は
font-size:1.6rem:
のように記述してください！

■cssの記述について
必ず最初に
「#_ #セクションのid」 を記載してください！

↓例
aboutセクションの場合。
#_ #about {
  margin:100px;
}

aboutセクションの小要素の場合
#_ #about .heading {
  display:none;
}
*/

/* 改行　*/
/* .sp-only {
  display: none;
} */

@media screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* .pc-only {
  display: inline;
} */

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

/* VISION */

#_ #vision {
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  #_ #vision {
    padding-block: 70px 80px;
  }
}
#_ #vision .heading {
  color: var(--color-white);
  /* margin-top: 50px; */
}
#_ #vision .vision-subheading {
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

@media screen and (max-width: 767px) {
  #_ #vision .vision-subheading {
    font-size: 1.6rem;
  }
}

#_ #vision .vision-text-wrap {
  margin-top: 50px;
}

@media screen and (max-width: 767px) {
  #_ #vision .vision-text-wrap {
    margin-top: 30px;
  }
}

#_ #vision .vision-text-wrap p {
  color: var(--color-white);
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.75;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
  #_ #vision .vision-text-wrap p {
    font-size: 1.4rem;
  }
}

#_ #vision .vision-text-wrap p + p {
  margin-top: 1lh;
}

/*画像 */
#vision .vision-image {
  height: 240px;
  width: 917.82px;
  display: block;
  margin: 50px auto 0;
}

#vision .vision-image-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  #vision .vision-image {
    display: none;
  }

  #vision .vision-image-sp {
    display: block;
    width: 336px;
    height: auto;
    margin: 30px auto 0;
  }

  #vision .vision-image-sp img {
    width: 100%;
    height: auto;
  }
}

/* なみなみ  ！！！わからなかったです！！！　*/
/* なみなみ追記 */
#_ #vision .vision-back {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}
#_ #vision::before,
#_ #vision::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  background-image: var(--color-grad);
}
#_ #vision::before {
  mask-image: url('../img/vision-wave.png');
  -webkit-mask-image: url('../img/vision-wave.png');
  -webkit-mask-size: 1440px 133px;
  mask-size: 1440px 133px;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: bottom left;
  mask-position: bottom left;
}
@media screen and (max-width: 767px) {
  #_ #vision::before {
    mask-image: url('../img/vision-wave-sp.png');
    -webkit-mask-image: url('../img/vision-wave-sp.png');
    -webkit-mask-size: 1440px 70px;
    mask-size: 1440px 70px;
  }
}
#_ #vision::after {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 132px),
    0 calc(100% - 132px)
  );
}
@media screen and (max-width: 767px) {
  #_ #vision::after {
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 69px),
      0 calc(100% - 69px)
    );
  }
}
/* END なみなみ追記 */

/*access */
#_ #access {
  position: relative;
  z-index: 1;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

#_ #access .access-card {
  background-color: var(--color-white);
  padding: 50px;
  margin-inline: auto;
  border: 1px solid var(--color-black);
  border-radius: 5px;
}

@media screen and (max-width: 767px) {
  #_ #access .access-card {
    padding: 15px;
  }
}

#_ #access .access-card-images {
  display: grid;
  grid-template-columns: 50% 1fr;
  align-items: flex-start; /* 追記 */
  gap: 10px;
}
@media screen and (max-width: 767px) {
  #_ #access .access-card-images {
    grid-template-columns: 1fr;
  }
}
#_ #access .access-card-images-img {
  align-self: stretch; /* 追記 */
  object-fit: cover; /* 追記 画像は線ごと書き出さないで、CSSで線をつけてあげた方がいいです！ */
  border: 1px solid var(--color-black);
}
@media screen and (max-width: 767px) {
  #_ #access .access-card-images-img {
    width: 100%;
    border: 1px solid var(--color-black);
  }
}

#_ #access .access-card-images-map {
  border: 1px solid var(--color-black);
  align-self: stretch;
}

#_ #access .access-card-images-map iframe {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  #_ #access .access-card-images-map iframe {
    aspect-ratio: 305 / 207;
  }
}

#_ #access .access-card-text {
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  #_ #access .access-card-text {
    margin-top: 15px;
  }
}

#_ #access .access-back {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#_ #access .access-back::before,
#_ #access .access-back::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  background-image: url('../img/access-back.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media screen and (max-width: 767px) {
  #_ #access .access-back::before,
  #_ #access .access-back::after {
    background-image: url('../img/access-back-sp.jpg');
  }
}

#_ #access .access-back::before {
  mask-image: url('../img/access-mask-top.png'),
    url('../img/access-mask-bottom.png');
  -webkit-mask-image: url('../img/access-mask-top.png'),
    url('../img/access-mask-bottom.png');
  -webkit-mask-size: 100% 80px;
          mask-size: 100% 80px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: top, bottom;
          mask-position: top, bottom;
  background-image: url('../img/access-back.jpg');
}

@media screen and (max-width: 767px) {
  #_ #access .access-back::before {
    mask-image: url('../img/access-mask-top-sp.png'),
      url('../img/access-mask-bottom-sp.png');
    -webkit-mask-image: url('../img/access-mask-top-sp.png'),
      url('../img/access-mask-bottom-sp.png');
    -webkit-mask-size: 100% 30px;
            mask-size: 100% 30px;
  }
}

#_ #access .access-back::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: calc(100% - 159px);
}
@media screen and (max-width: 767px) {
  #_ #access .access-back::after {
    height: calc(100% - 59px);
  }
}

/* OTHER HUBS */
#_ #other-hubs .other-hubs-subheading {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.75;
  text-align: center;
}

@media screen and (max-width: 767px) {
  #_ #other-hubs .other-hubs-subheading {
    font-size: 1.6rem;
  }
}

/*カード*/

#_ #other-hubs .splide {
  visibility: visible !important;
  max-width: 1140px;
  width: 100%;
  padding-inline: 20px;
  margin: 50px auto 0;
}

@media screen and (max-width: 1023px) {
  #_ #other-hubs .splide {
    padding-inline: 0;
    margin-top: 34px;
  }
}

#_ #other-hubs .splide__track {
  overflow: visible;
}

@media screen and (max-width: 1023px) {
  #_ #other-hubs .splide__track {
    overflow: hidden;
    padding-bottom: 5px;
  }
}

@media screen and (max-width: 767px) {
  #_ #other-hubs .splide__track {
    padding-bottom: 3px;
  }
}

#_ #other-hubs .splide__slide {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  #_ #other-hubs .splide__slide {
    width: 100% !important;
    margin-right: 0 !important;
  }
}

#_ #other-hubs .splide__list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 25px;
}

@media screen and (max-width: 1023px) {
  #_ #other-hubs .splide__list {
    display: flex !important;
    column-gap: 0 !important;
  }
}

#_ #other-hubs .splide__slide {
  padding: 25px;
}

@media screen and (max-width: 767px) {
  #_ #other-hubs .splide__slide {
    padding: 15px;
  }
}

#_ #other-hubs .splide__slide::after,
#_ #other-hubs .splide__slide::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-black);
  border-radius: 5px;
}

#_ #other-hubs .splide__slide::after {
  z-index: -1;
  background-color: var(--color-white);
  border-radius: 5px;
}

#_ #other-hubs .splide__slide::before {
  z-index: -2;
  top: 5px;
  left: 5px;
  background-color: var(--color-primary);
}

@media screen and (max-width: 767px) {
  #_ #other-hubs .splide__slide::before {
    top: 3px;
    left: 3px;
  }
}

#_ #other-hubs .slide-control {
  display: none;
}

@media screen and (max-width: 1023px) {
  #_ #other-hubs .slide-control {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    margin-top: 26px;
  }
}

#_ #other-hubs .other-hubs-cards-card-img {
  border: 1px solid var(--color-black);
}

#_ #other-hubs .other-hubs-cards-card-content {
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  #_ #other-hubs .other-hubs-cards-card-content {
    margin-top: 10px;
  }
}

#_ #other-hubs .other-hubs-cards-card-content-heading {
  display: flex;
  align-items: center;
  column-gap: 5px;
  font-size: 18px;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  #_ #other-hubs .other-hubs-cards-card-content-heading {
    font-size: 16px;
  }
}

#_ #other-hubs .other-hubs-cards-card-content-heading span {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

#_ #other-hubs .other-hubs-cards-card-content-heading span::before {
  display: block;
  content: '';
  width: 10px;
  height: 2px;
  background-color: var(--color-primary);
}

#_ #other-hubs .other-hubs-cards-card-content-text {
  margin-top: 15px;
}

@media screen and (max-width: 767px) {
  #_ #other-hubs .other-hubs-cards-card-content-text {
    margin-top: 12px;
  }
}

#_ #other-hubs .other-hubs-cards-card-link {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  column-gap: 8px;
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 5px;
  margin-top: 15px;
}

@media screen and (max-width: 767px) {
  #_ #other-hubs .other-hubs-cards-card-link {
    margin-top: 10px;
  }
}

#_ #other-hubs .other-hubs-cards-card-link::after {
  display: block;
  content: '';
  width: 6px;
  aspect-ratio: 6 / 9;
  background-image: url('../img/arrow.svg');
  background-repeat: no-repeat;
}
/* PC表示 */
/* #_ #other-hubs .splide__track {
  padding-bottom: 3px;
}
@media screen and (min-width: 768px) {
  #_ #other-hubs .splide__track {
    padding-bottom: 5px;
  }
  #_ #other-hubs .splide__list {
    display: flex !important;
    justify-content: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #_ #other-hubs .splide__slide {
    position: relative;
    z-index: 1;
  }
} */

/* #_ #other-hubs .splide {
  display: flex !important;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 50px;
}
#_ #other-hubs .splide__slide {
  width: 350px;
  height: 354px;
  border-radius: 5px;
  border: 1px solid var(--color-black);
  box-shadow: 5px 5px 0 var(--color-primary), 0 0 0 1px var(--color-black);
  padding: 25px;
}

#_ #other-hubs .other-hubs-cards-card-content-heading {
  font-size: 18px;
  font-weight: bold;
}
#_ #other-hubs .other-hubs-cards-card-content-text {
  padding: 15px 0;
}
@media screen and (max-width: 767px) {
  #_ #other-hubs .splide-button {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .splide__pagination {
    counter-reset: pagination-num;
    color: #000;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }
  .splide__pagination__page {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-primary);
    opacity: 20%;
    font-size: 0;
    line-height: 0;
    color: transparent;
    padding: 0;
    margin: 0;
  }
  .splide__pagination__page.is-active {
    background-color: var(--color-primary);
    opacity: 100%;
  }

  .splide__pagination__page:before {
    content: counter(pagination-num);
  }
  .splide__arrow .splide__arrow--prev {
    width: 40px;
    height: 40px;
  }
} */
