/* ====================================================
top common style
==================================================== */
.contents__txt_wrap {
  display: flex;
  align-items: end;
}

.contents__txt_wrap .com__ttl {
  line-height: 1;
}

.top .com__sub__ttl {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .2rem;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .top .com__sub__ttl {
    font-size: 1.8rem;
  }
}


/* ====================================================
top__kv
==================================================== */
.top__kv {
  position: relative;
  margin-top: 1rem;
  margin-right: 3rem;
}

.top__kv__swiper {
  width: 100%;
  height: auto;
  position: relative;
  margin-right: 3rem;
}

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

/* ページネーション */
.swiper-pagination {
  position: relative;
  display: flex;
  justify-content: right;
  align-items: end;
  gap: 1rem;
  margin-top: 5rem;
}

.swiper-pagination-bullet {
  position: relative;
  width: 6rem;
  height: 0.5rem;
  border-radius: 0;
  overflow: hidden;
  background: #707070;
  opacity: 1;
}

.swiper-pagination-bullet .progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  /* ← 初期状態は0% */
  background: var(--main_color);
}

.swiper-pagination-bullet-active {
  background: #707070;
  height: .7rem;
}

/* .swiper-pagination {
  position: relative;
  display: flex;
  justify-content: right;
  align-items: end;
  gap: 1rem;
  margin-top: 5rem;
}

.swiper-pagination-bullet {
  border-radius: initial;
  width: 6rem;
  height: .5rem;
  background: #707070;
} */

.swiper {
  width: 100%;
  height: auto;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .top__kv {
    margin-right: 1.2rem;
  }

  .swiper-pagination {
    gap: .5rem;
    margin-top: 2rem;
  }

  .swiper-pagination-bullet {
    width: 3.2rem;
    height: .3rem;
  }

  .swiper-pagination-bullet-active {
    height: .5rem;
  }
}


/* ====================================================
top__kv__scroll
==================================================== */
.top__kv__scroll {
  position: absolute;
  top: 40%;
  left: 3rem;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
  z-index: 10;
}

.top__kv__scroll::before {
  animation: scroll 2s infinite;
  background-color: #fff;
  bottom: -8rem;
  content: "";
  height: 7rem;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}


@media screen and (max-width: 768px) {
  .top__kv__scroll {
    left: 1rem;
  }
}


/* ====================================================
top__vision
==================================================== */
.top__vision {
  margin-bottom: 11.5rem;
}

.top h1 {
  color: var(--main_color);
  font-size: 11.3rem;
  font-weight: 600;
  padding: 5rem 11.3rem 10rem;
  user-select: none;
  /* テキスト選択を無効化 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
}

.top h1 svg {
  margin-right: -1.5rem;
}

.com__ttl .svg_wrap {
  margin-left: 0 !important;
}

.com__ttl div svg {
  margin-left: 0;
  width: auto;
}

.com__ttl div:nth-child(1) {
  width: 64.8rem;
  margin-left: 0;
}

.com__ttl div:nth-child(1) svg {
  height: 9.7rem;
}

.com__ttl div:nth-child(2) {
  width: 93.5rem;
  margin-left: 20rem;
  margin-top: -1rem;
}

.com__ttl div:nth-child(2) svg {
  height: 8.7rem;
}

.com__ttl div:nth-child(3) {
  width: 85.1rem;
  margin-left: 14.5rem;
  margin-top: -1rem;
}

.com__ttl div:nth-child(3) svg {
  height: 8.7rem;
}

.top__vision p {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: .15rem;
  line-height: 1.8;
  width: 60rem;
  margin-left: auto;
}

.top__vision p:first-child {
  margin-bottom: 3.5rem;
}


@media screen and (max-width: 768px) {
  .top__vision {
    margin-bottom: 7rem;
  }

  .top h1 {
    font-size: 4.2rem;
    padding: 3rem 1rem;
  }

  .top h1 svg {
    margin-right: -.5rem;
    width: auto;
  }

  .com__ttl div:nth-child(1) {
    width: 64.8rem;
  }

  .com__ttl div:nth-child(1) svg {
    height: 3.4rem;
  }

  .com__ttl div:nth-child(2) {
    width: 33.8rem;
    margin-left: 3.5rem;
    margin-top: initial;
  }

  .com__ttl div:nth-child(2) svg {
    height: 3.2rem;
  }

  .com__ttl div:nth-child(3) {
    width: 40rem;
    margin-left: 1.4rem;
    margin-top: initial;
  }

  .com__ttl div:nth-child(3) svg {
    height: 3.4rem;
  }

  .top__vision p {
    font-size: 1.5rem;
    width: 31.4rem;
    margin-left: 0;
  }
}


/* ====================================================
top__message
==================================================== */
.top__message .top__message__img {
  position: absolute !important;
  top: 0;
  width: 100%;
}

.top__message .top__message__img img {
  width: 100%;
}

.top__message .inner {
  position: relative;
  margin: 18rem 0 13.8rem;
  margin-left: 79rem;
  z-index: 10;
}

.top__message .com__ttl {
  margin-bottom: 6.5rem;
}

.top__message .com__sub__ttl {
  color: var(--sub_color);
}

.top__message .com__more__btn {
  margin-top: 10rem;
  margin-left: 32rem;
}

@media (max-width: 768px) {
  .top__message .inner {
    margin: 29rem 0 14rem;
    margin-left: 0;
  }

  .top__message .com__ttl {
    margin-bottom: 3.7rem;
  }

  .top__message .com__more__btn {
    position: absolute;
    margin-left: initial;
    bottom: -35%;
    right: 4%;
  }
}


/* ====================================================
top__about
==================================================== */
.top__about {
  padding: 16rem 0;
}

.top__about__contents__txt_wrap .com__sub__ttl {
  letter-spacing: .2rem;
  margin: 5rem auto 7rem;
}

.top__about__contents__txt_wrap .com__txt {
  width: 39rem;
}

.top__about__img {
  position: absolute;
  width: 87.6rem;
  right: 0;
  top: 13%;
  z-index: -1;
}

.top__about__img img {
  width: 100%;
}

.top__about .com__more__btn {
  position: absolute;
  right: 36%;
  bottom: 10%;
}

@media (max-width: 768px) {
  .top__about {
    padding: 52rem 0 15rem;
  }

  .top__about__contents__txt_wrap .com__sub__ttl {
    font-size: 1.8rem;
    margin: 3.5rem auto 2.4rem;
  }

  .top__about__contents__txt_wrap .com__txt {
    width: 31.8rem;
  }

  .top__about__img {
    width: 33.3rem;
    top: 7%;
  }

  .top__about .com__more__btn {
    right: 4%;
    bottom: 5%;
  }
}


/* ====================================================
top__service
==================================================== */
.top__service .top__service__img {
  position: absolute !important;
  top: 0;
  width: 100%;
}

.top__service .top__service__img img {
  width: 100%;
}

.top__service .inner {
  position: relative;
  margin: 9.2rem 0 9.5rem;
  margin-left: 79rem;
  z-index: 10;
}

.top__service__contents__txt_wrap .com__txt {
  width: 39rem;
  margin: 3.5rem 0 5.2rem;
}

.top__service__contents__list li a {
  border-bottom: solid 1px var(--sub_color);
}

.top__service__contents__list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 2.4rem;
  font-weight: 600;
  width: 38.9rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.top__service__contents__list li a:hover p {
  transition: .2s;
  color: var(--accent_color);
}

.top__service__contents__list li a:hover p {
  opacity: .8;
}


@media (max-width: 768px) {
  .top__service {
    background-image: url(../img/top/top__service__img--sp@2x.webp);
  }

  .top__service .inner {
    margin: 10rem auto;
    margin-left: 0;
  }

  .top__service__contents__txt_wrap .com__txt {
    margin: 3.1rem 0;
  }

  .top__service__contents__list li a {
    font-size: 1.8rem;
    width: 29rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .top__service__contents__list li:hover p {
    opacity: initial;
  }

  .top__service__contents__list li a:hover .com__arrow__btn__circle-element {
    stroke: var(--accent_color);
  }

  .top__service__contents__list li a:hover .com__arrow__btn__arrow-path {
    fill: var(--accent_color);
  }
}


/* ====================================================
top__story
==================================================== */
.top__story {
  padding: 16rem 0;
}

.top__story__contents__txt_wrap .com__txt {
  width: 58.2rem;
  margin: 4.7rem 0 4.3rem;
}

.top__story .com__more__btn {
  margin-bottom: 4.3rem;
  margin-left: auto;
}

.top__story__contents__story_list_wrap {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.top__story__contents__story_list_wrap li {
  width: 52rem;
}

.top__story__contents__story_list_wrap li img {
  width: 100%;
}

.top__story__contents__story_list_wrap li .com__txt {
  margin: 1.5rem 0;
}

.top__story__contents__story_list__tag {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 400;
  color: var(--sub_color);
  background-color: #0000FF;
  padding: .6rem 1rem .7rem;
}

@media screen and (min-width: 768px) {
  .top__story__contents__story_list a:hover .com__txt {
    color: var(--accent_color);
  }
}


@media (max-width: 768px) {
  .top__story {
    padding: 8.6rem 0;
  }

  .top__story .inner {
    padding: 0 1.5rem;
  }

  .top__story__contents__txt_wrap {
    flex-direction: column;
    align-items: start;
  }

  .top__story__contents__txt_wrap__ttl {
    padding-left: 1rem;
  }

  .top__story__contents__txt_wrap .com__txt {
    width: initial;
    margin: 3.2rem 0;
  }

  .top__story__contents__story_list_wrap li .com__txt {
    margin: 1rem 0;
  }
}


/* ====================================================
top__jobs
==================================================== */
.top__jobs__contents__txt_wrap {
  justify-content: space-between;
}

.top__jobs__contents__txt_wrap .com__txt {
  width: 58.2rem;
  margin: 4.7rem 0 4.3rem;
}

.top__jobs .com__more__btn {
  margin-bottom: 4.3rem;
}

.top__jobs__contents__story_list_wrap {
  display: flex;
  gap: 1rem;
  max-width: 152rem;
  margin: auto;
  padding: 0 1rem;
}

.top__jobs__contents__story_list_wrap li {
  width: 58rem;
}

.top__jobs__contents__story_list_wrap li img {
  width: 100%;
}

.top__jobs__contents__story_list_wrap li .com__txt {
  line-height: 1.5;
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.top__jobs__contents__story_list_wrap li .com__txt span {
  font-weight: 500;
  transition: .13s;
}

@media (min-width: 768px) {

  .top__jobs__contents__story_list_wrap li a:hover,
  .top__jobs__contents__story_list_wrap li a:hover span {
    color: var(--accent_color);
  }
}


@media (max-width: 768px) {
  .top__jobs .inner {
    padding: 0 1.5rem;
  }

  .top__jobs .com__more__btn {
    margin-left: auto;
  }

  .top__jobs__contents__txt_wrap {
    flex-direction: column;
    align-items: start;
  }

  .top__jobs__contents__story_list_wrap {
    gap: 2rem;
    flex-direction: column;
    max-width: 100%;
    padding: 0;
  }

  .top__jobs__contents__story_list_wrap li {
    width: 100%;
  }

  .top__jobs__contents__txt_wrap__ttl {
    padding-left: 1rem;
  }

  .top__jobs__contents__txt_wrap .com__txt {
    width: initial;
    margin: 3.2rem 0;
  }

  .top__jobs__contents__story_list_wrap li .com__txt {
    margin: 1rem 0;
  }
}


/* ====================================================
top__work_style
==================================================== */
.top__work_style {
  padding: 10rem 0 12rem;
}

.top__work_style__contents__txt_wrap .com__txt {
  width: 58.2rem;
  margin: 4.7rem 0 4.3rem;
}

.top__work_style .com__more__btn {
  display: block;
  width: fit-content;
  margin: 4.5rem 0;
  margin-left: auto;
}

.top__work_style__contents__style_list_wrap {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.top__work_style__contents__style_list_wrap li {
  width: 52rem;
  border: solid 1px var(--main_color);
}

.top__work_style__contents__style_list_wrap li:hover {
  border: solid 1px var(--accent_color);
}

.top__work_style__contents__style_list_wrap li:hover a .com__txt {
  color: var(--accent_color);
}

.top__work_style__contents__style_list_wrap li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3.5rem 3.3rem;
}

.top__work_style__contents__style_list_wrap li a .com__txt {
  font-size: 2.4rem;
  letter-spacing: .8rem;
  font-weight: 700;
}

.top__work_style__contents__style_list_wrap li a .com__txt span {
  margin-right: 3rem;
  letter-spacing: initial;
}

@media (max-width: 768px) {
  .top__work_style .inner {
    padding: 0 2rem;
  }

  .top__work_style {
    padding: 8.6rem 0;
  }

  .top__work_style .com__more__btn {
    margin: 4rem 0 0;
    margin-left: auto;
  }

  .top__work_style__contents__txt_wrap {
    flex-direction: column;
    align-items: start;
  }

  .top__work_style__contents__style_list_wrap li {
    width: 100%;
  }

  .top__work_style__contents__style_list_wrap li a {
    padding: 1.7rem 1rem 1.7rem 2rem;
  }

  .top__work_style__contents__style_list_wrap li a .com__txt {
    font-size: 1.8rem;
    letter-spacing: .3rem;
  }

  .top__work_style__contents__style_list_wrap {
    gap: 2rem;
    flex-direction: column;
    max-width: 100%;
    padding: 0;
  }

  .top__work_style__contents__txt_wrap .com__txt {
    width: initial;
    margin: 3.2rem 0;
  }
}


/* ====================================================
top com__news
==================================================== */
.top .com__news {
  background-color: var(--bg_color);
  padding: 7rem 0 10rem;
}

.com__news__contents__news_list_wrap {
  display: flex;
  flex-direction: column;
}

.com__news__contents__news_list_wrap ul {
  width: 56rem;
}

@media (max-width: 768px) {
  .com__news .inner {
    padding: 0 1.5rem;
  }

  .com__news__contents__news_list_wrap {
    width: 100%;
  }

  .com__news__contents__news_list_wrap ul {
    width: 100%;
  }
}