html {
  font-size: 4.2666666667vw;
  scroll-behavior: smooth;
}

img {
  width: 100%;
  margin: 0 auto;
}
.header {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: block;
  z-index: 99;
}

#fixed-header {
  position: fixed;
  top: -70px;
  width: 100%;
  font-size: 2em;
  text-align: center;
  color: #fff;
  transition: 0.5s;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}
#fixed-header.is-show {
  top: 0;
}
.wrap {
  max-width: 90%;
  margin: 0 auto;
  display: block;
  position: relative;
}

.mv {
  position: relative;
}
.mv__link {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 92%;
  display: block;
  bottom: 22%;
}
.mv__link img {
  width: 100%;
}

.header_h {
  width: 40%;
}
.gift {
  padding: 32px 0 20px;
}
.gift img {
  width: 80%;
  margin: 0 auto;
  display: block;
}

.gift .sp {
  width: 100%;
}

#fixed-header .logo__txt {
  color: #004aad;
  border: 1px solid #004aad;
}
.header__link {
  width: 52%;
  display: flex;
  justify-content: end;
}
.header__link img {
  width: 100%;
}
.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.arrow {
  width: 10px;
  position: absolute;
  top: 36%;
  right: 5%;
  display: block;
  margin: 0 auto;
}

.swiper {
  max-width: 100%; /* スライドの最大幅 */
}
.swiper-wrapper {
  height: auto;
}
.swiper-slide img {
  /* width: 100%;
  height: auto; */
}
.swiper-slide {
  margin-top: 32px;
}
/* 矢印とページネーションの色 */
.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-color: #eee; /* 矢印の色 */
}
.swiper-pagination-bullet-active {
  --swiper-pagination-color: #000; /* ページネーション、アクティブの色 */
}

.logo__img {
  width: 100%;
  margin-bottom: -10px;
}
.logo__img_2 {
  margin-bottom: 0;
}
.footer img {
  width: 240px;
}
.sp {
  display: block;
}
.pc {
  display: none;
}
.news__list__item {
  margin-bottom: 24px;
}
.news__list {
  margin-top: 40px;
}
.why {
  margin: 56px auto;
}
.cta {
  position: relative;
}
.cta__link {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 92%;
  display: block;
  top: 38%;
}
.what,
.achievements,
.diff,
.seminar,
.works {
  padding: 64px 0;
}
.works {
  background-color: #f3f7ff;
}
.movie {
  margin-top: 24px;
  display: block;
}
.movie p {
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
}
.movie_v {
  width: 100%;
}
.work__list {
  margin-top: 40px;
}
.work__item {
  margin-bottom: 12px;
}
.free__img {
  padding: 40px 0;
}
.faq__ttl {
  width: 60%;
  margin: 0 auto;
  display: block;
}

.faq {
  background-color: #f3f7ff;
  padding: 56px 0;
}

.faq__head {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #e9e9e9;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.faq__head p,
.faq__head h2 {
  color: #1478de;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
}

.faq__list__item {
  background-color: #fff;
  padding: 24px 20px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.faq__head h2 {
  width: 95%;
  padding-left: 8px;
}
.faq__list {
  margin-top: 32px;
}
.faq__answer {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1px;
}

.blue {
  color: #1478de;
}
.footer {
  display: flex;
}

.movie__txt {
  font-size: 13px;
  text-align: center;
  margin-top: 16px;
}

.ttl_sec {
  padding: 40px 0;
}
.movie__wrap {
  margin: 24px auto;
}
.movie__wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 0 auto;
}
.modal {
  display: none; /* デフォルトでは非表示 */
  position: fixed; /* 画面に固定 */
  z-index: 1; /* 他の要素の上に表示 */
  left: 0;
  top: 0;
  width: 100%; /* 全幅 */
  height: 100%; /* 全高さ */
  overflow: auto; /* スクロール可能 */
  background-color: rgb(0, 0, 0); /* 背景色 */
  background-color: rgba(0, 0, 0, 0.4); /* 透過 */
}

/* モーダルコンテンツ */
.modal-content {
  background-color: #fefefe;
  margin: 0 auto; /* 中央に配置 */
  padding: 20px;
  border-radius: 12px;
  width: 100%; /* 幅 */
}
.work__item {
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
}

.modal_item {
  display: flex;
  align-items: center;
}
.modal__img {
  width: 28%;
}
.modal__left {
  width: 73%;
  margin-left: 12px;
}
.tab {
  font-size: 10px;
  padding: 2px 6px;
  display: inline-flex;
  border-radius: 120px;
  margin-bottom: 8px;
}
.modal__ttl {
  font-size: 14px;
  line-height: 18px;
  font-weight: bold;
  color: #1478de;
}
.tab_1 {
  background-color: #1478de;
  color: #fff;
}
.tab_2 {
  background-color: #fff;
  color: #1478de;
  border: 1px solid #1478de;
}
.tab_3 {
  background-color: #dee6f6;
  color: #1478de;
}

.modal__txt {
  font-size: 14px;
  line-height: 24px;
  margin-top: 12px;
}

.modal-content .close {
  text-align: right;
  display: block;
}

#modal-overlay {
  display: none;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.modal-style {
  display: none;
  width: 90%;
  height: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
}
.awa__list {
  margin-top: 40px;
}
.awa__list .movie__txt {
  margin-top: 4px;
  color: #222;
}
.awa__list_item {
  margin-bottom: 24px;
}
.awa__list_item iframe {
  width: 100%;
  height: 212px;
}

@media screen and (min-width: 1024px) {
  .mv__link {
    width: 36%;
    left: 6%;
    margin: 0;
    bottom: 26%;
  }
  #fixed-header {
    top: -110px;
  }
  .header {
    top: 0%;
    margin-top: 20px;
  }
  .wrap {
    max-width: 1024px;
  }
  .news__list {
    display: flex;
    justify-content: center;
  }
  .news__list__item {
    width: 31%;
    margin: 0 10px;
  }
  .logo__img {
    width: 36%;
    margin: 0;
  }
  .cta__link {
    position: absolute;
    left: 15%;
    right: 0;
    margin: 0;
    width: 30%;
    display: block;
    top: 61%;
  }
  .movie {
    width: 80%;
    margin: 0 auto;
  }

  .work__item {
    width: 40%;
    margin: 0 8px 16px;
  }
  .ttl_sec {
    padding: 72px 0;
  }
  .faq {
    padding: 80px 0;
  }
  .faq__ttl {
    width: 36%;
  }
  .work__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .faq__head p,
  .faq__head h2 {
    font-size: 22px;
  }

  .faq__answer {
    font-size: 16px;
  }

  .faq__list__item {
    padding: 32px 40px;
  }
  .faq__head {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .faq__list {
    margin-top: 56px;
  }

  .header__link {
    width: 260px;
    font-size: 16px;
  }
  .arrow {
    width: 14px;
    top: 40%;
  }
  .header_h {
    display: flex;
    width: 64%;
    align-items: center;
  }
  .logo__img {
    width: 28%;
  }
  .voice__item {
    padding: 16px;
  }
  .sp {
    display: none;
  }
  .pc {
    display: block;
  }
  .footer {
    padding: 40px 0;
  }
  .movie_m {
    margin-top: 40px;
  }
  .ttl_sec img {
    width: 72%;
  }
  .wrap_sec {
    max-width: 90%;
  }
  .movie__wrap {
    margin: 48px auto;
  }
  .works .wrap {
    max-width: 85%;
  }
  .modal__ttl {
    font-size: 16px;
    line-height: 24px;
  }
  .modal__tab {
    display: flex;
  }
  .tab {
    padding: 4px 8px;
    font-size: 11px;
  }
  .tab_2,
  .tab_3 {
    margin-left: 6px;
  }
  .modal__left {
    margin-left: 20px;
  }
  .modal-content {
    margin: 20% auto;
    width: 50%;
  }
  .modal-content .close {
    font-size: 15px;
  }
  .modal_inner .modal__ttl {
    font-size: 24px;
    line-height: 32px;
  }
  .modal-style .modal__txt {
    font-size: 18px;
    line-height: 32px;
  }
  .voice_pc_img {
    width: 72%;
  }
  .awa__list_item iframe {
    width: 100%;
    height: 89%;
  }
  .awa__list {
    display: flex;
    flex-wrap: wrap;
  }
  .awa__list_item {
    width: 32%;
  }
  .awa__list_item:nth-child(2),
  .awa__list_item:nth-child(5) {
    margin-left: 16px;
    margin-right: 16px;
  }
  .awa__list .movie__txt {
    margin-top: 14px;
  }
  .awa__list .movie__txt2 {
    margin-top: 9px;
  }
}

@media screen and (min-width: 1200px) {
  .modal__img {
    width: 20%;
  }
}
