@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  font-family: YuGothic, 'Yu Gothic', sans-serif;
  font-feature-settings: 'palt';
}

.container {
  max-width: 1020px;
  padding-inline: 20px;
  margin: 0 auto;
}

.u-visible-pc,
.u-visible-tab,
.u-visible-sp {
  display: none;
}

.u-visible-pc-tab {
  display: block;
}

/* ヘッダー */

header {
  position: relative;
}

.header__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
}

.header__logo {
  max-width: 236px;
}

.header__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header__nav-list {
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column-reverse;
  gap: 64px;
  margin-top: 102px;
  font-feature-settings: normal;
}

.header__nav-item a {
  display: block;
  font-size: 14px;
  font-weight: bold;
  line-height: 14px;
  color: #2a2a2a;
}

.header__nav-item a.current {
  color: #E60012;
  position: relative;
}

.header__nav-item a.current::before {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background-color: #E60012;
  position: absolute;
  top: -80px;
  left: 7px;
}

.header__nav-item a img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  margin-top: 8px;
  margin-left: 1px;
}

.header__contact {
  padding: 18px 10px;
  border-bottom-left-radius: 8px;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #E60012;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  writing-mode: vertical-rl;
  font-feature-settings: normal;
  z-index: 1000;
}

/* メイン */

.hero {
  position: relative;
  margin-top: 84px;
}

.hero__text {
  font-size: 48px;
  writing-mode: vertical-rl;
  font-feature-settings: normal;
  position: absolute;
  left: calc((252 / 1400) * 100vw);
  top: -84px;
  color: #2a2a2a;
  line-height: 68.8px;
  letter-spacing: 0.1em;
}

.hero__mv {
  width: 100%;
  max-width: 100%;
  height: 500px;
  overflow: hidden;
}

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

.hero__news {
  width: 640px;
  position: absolute;
  bottom: -254px;
  right: 0;
  background-color: #fff;
  padding: 40px 0 0 40px;
}

.title-label {
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  letter-spacing: 0.1em;
  color: #2a2a2a;
  position: relative;
}

.hero__news-label::before {
  content: '';
  display: block;
  width: 1px;
  height: 80px;
  background-color: #E60012;
  position: absolute;
  top: -89px;
  left: 33px;
}

.title-heading {
  font-size: 36px;
  font-weight: bold;
  line-height: 36px;
  letter-spacing: 0.1em;
  color: #2a2a2a;
}

.hero__news-heading {
  margin-top: 16px;
  margin-bottom: 28px;
}

.hero__news-list {
  margin-bottom: 68px;
}

.hero__news-data {
  font-size: 14px;
  color: #2a2a2a;
  float: left;
  clear: both;
  margin-bottom: 18px;
  padding-right: 90px;
  position: relative;
  line-height: normal;
}

.hero__news-data.icon-news::before,
.hero__news-data.icon-blog::before {
  font-size: 11px;
  line-height: 14px;
  color: #fff;
  display: block;
  padding: 2px 6px;
  background-color: #2a2a2a;
  position: absolute;
  top: 2px;
  left: 81px;
}

.hero__news-data.icon-news::before {
  content: 'ニュース';
}

.hero__news-data.icon-blog::before {
  content: 'ブログ';
}

.hero__news-item {
  font-size: 14px;
  color: #2a2a2a;
  margin-bottom: 18px;
  line-height: normal;
  letter-spacing: normal;
}

.link-btn {
  display: block;
  width: 228px;
  background-color: #E60012;
  padding: 21px 0 21px 39px;
  color: #fff;
  position: relative;
  font-size: 14px;
  font-weight: bold;
}

.hero__news-link {
  margin-left: auto;
}

.hero__news-link::after {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

/* 会社情報 */

.top-company {
  max-width: 1048px;
  margin: 374px auto 0;
  padding-inline: 24px;
}

.top-company__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 56px;
}

.top-company__label {
  margin-left: 16px;
}

.top-company__title {
  writing-mode: vertical-rl;
  font-feature-settings: normal;
  position: relative;
  margin-top: auto;
  margin-right: 24px;
}

.top-company__title::before {
  content: '';
  display: block;
  width: 1px;
  height: 120px;
  background-color: #E60012;
  position: absolute;
  top: -140px;
  left: 18px;
}

.top-company__img {
  position: relative;
  width: 800px;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
}

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

.top-company__link {
  position: absolute;
  left: 0;
  bottom: 0;
}

.top-company__link::after {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.top-company__text {
  max-width: 630px;
  font-size: 14px;
  color: #2a2a2a;
  line-height: 25.2px;
  letter-spacing: 0.04em;
}

/* 事業内容 */

.top-services {
  margin-top: 127px;
}

.top-services__inner {
  max-width: 1048px;
  margin: 0 auto;
  padding-inline: 24px;
}

.top-services__header {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.top-services__label {
  margin-bottom: 16px;
}

.top-services__label::before {
  content: '';
  display: block;
  width: 1px;
  height: 120px;
  background-color: #E60012;
  position: absolute;
  top: -140px;
  left: 33px;
}

.top-services__titile-img {
  position: relative;
  width: 280px;
  max-width: 100%;
  height: 180px;
  overflow: hidden;
  margin-top: 32px;
}

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

.top-services__overview {
  padding-top: 42px;
  position: relative;
  margin-right: 24px;
}

.top-services__overview-heading,
.top-services__cases-heading,
.top-services__content-heading {
  font-size: 16px;
  font-weight: bold;
  color: #2a2a2a;
  margin-bottom: 24px;
}

.top-services__overview-top,
.top-services__overview-bottom {
  display: flex;
  gap: 38px;
}

.top-services__overview-text-box {
  flex: 1 0 200px;
}

.top-services__overview-text,
.top-services__cases-text,
.top-services__content-text {
  font-size: 14px;
  color: #2a2a2a;
  line-height: normal;
}

.top-services__overview-text {
  max-width: 266px;
}

.top-services__overview-img-right {
  position: relative;
  max-width: 340px;
  overflow: hidden;
  top: 0;
}

.top-services__overview-img-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.top-services__overview-img-bottom {
  position: relative;
  max-width: 380px;
  overflow: hidden;
  margin-top: -91px;
  flex: 1 1.5 auto;
}

.top-services__overview-img-bottom img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.top-services__cases-inner {
  max-width: 1048px;
  margin: 0 auto;
  position: relative;
  margin-top: -28px;
}

.top-services__cases-text-box {
  max-width: 560px;
  margin-left: auto;
  margin-top: clamp(5.313rem, -15.182rem + 42.7vw, 10.063rem);
  flex: 0 1 auto;
}

.top-services__link::after {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

/* スライダー */

.top-services__cases {
  position: relative;
  margin-top: 34px;
  margin-bottom: 24px;
}

.slider {
  max-width: 100%;
}

.swiper-slide img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
}

/* 前へ次への矢印カスタマイズ */
.top-services__cases .swiper-button-prev,
.top-services__cases .swiper-button-next {
  width: 45px;
  height: 45px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
}

.top-services__cases .swiper-button-prev {
  left: 0;
}

.top-services__cases .swiper-button-next {
  right: 0;
}

.top-services__cases .swiper-button-next svg,
.top-services__cases .swiper-button-prev svg {
  height: 21px;
  color: #fff;
}

/* 採用情報 */

.top-recruit {
  max-width: 1048px;
  margin: 156px auto 120px;
  padding-inline: 24px;
}

.top-recruit__header {
  display: flex;
}

.top-recruit__title {
  writing-mode: vertical-rl;
  font-feature-settings: normal;
  position: relative;
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
}

.top-recruit__title-text {
  padding: 24px 0 24px 24px;
  background-color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.top-recruit__label {
  margin-left: 16px;
}

.top-recruit__heading {
  position: relative;
}

.top-recruit__heading::before {
  content: '';
  display: block;
  width: 1px;
  height: 120px;
  background-color: #E60012;
  position: absolute;
  top: -140px;
  left: 18px;
}

.top-recruit__titile-img {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: fit-content;
  overflow: hidden;
}

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

.top-recruit__main {
  display: flex;
  margin-top: 92px;
  justify-content: space-between;
}

.top-recruit__img-middle {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: fit-content;
  overflow: hidden;
  margin-top: -240px;
  margin-right: 24px;
  flex-shrink: 1;
  min-width: 0;
}

.top-recruit__img-middle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-recruit__content {
  max-width: 620px;
  display: flex;
  position: relative;
  flex-shrink: 1;
}

.top-recruit__content-img {
  width: 100%;
  max-width: 310px;
  margin-right: 31px;
  flex-shrink: 0;
}

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

.top-recruit__content-inner {
  max-width: 266px;
  margin-right: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 1;
}

.top-recruit__link img {
  margin-left: 8px;
}

/* お問い合わせ */

.top-contact {
  padding: 120px 24px;
  position: relative;
  margin-bottom: 120px;
}

.top-contact::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #f5f5f5;
  transform: translateX(-50%) skewX(10deg);
}

.top-contact__inner {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fff;
  display: flex;
  position: relative;
  justify-content: space-between;
}

.top-contact__inner::before {
  content: "";
  width: 1px;
  height: calc((191 / 271) * 100%);
  background-color: #E60012;
  position: absolute;
  top: calc((40 / 271) * 100%);
  left: 50%;
  transform: translateX(-50%);
}

.top-contact__tel {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.top-contact__tel-head {
  font-size: 18px;
  font-weight: bold;
  color: #2a2a2a;
  text-align: center;
}

.top-contact__tel-number {
  display: block;
  font-size: 44px;
  font-weight: bold;
  color: #2a2a2a;
  margin-top: 8px;
  margin-bottom: 8px;
}

.top-contact__tel-text {
  font-size: 14px;
  color: #2a2a2a;
  text-align: center;
}

.top-contact__form {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-contact__form-head {
  margin-top: 13px;
  font-size: 18px;
  font-weight: bold;
  color: #2a2a2a;
  text-align: center;
  margin-bottom: 8px;
}

.top-contact__link {
  padding-left: 0;
  text-align: center;
}

/* フッター */

footer {
  border-top: 1px solid #E60012;
}

.footer__inner {
  max-width: 1048px;
  margin: 0 auto;
  padding: 80px 24px 24px;
}

.footer__box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.footer__logo a {
  display: block;
  max-width: 236px;
  margin-bottom: 32.5px;
}

.footer__logo img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

.footer__address {
  font-size: 14px;
  color: #2a2a2a;
  line-height: normal;
}

.footer__nav-list {
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;
  font-feature-settings: normal;
}

.footer__nav-item a {
  display: block;
  font-size: 14px;
  line-height: 14px;
  color: #2a2a2a;
}

.footer__nav-item:nth-of-type(4) {
  margin-right: 62px;
}

.footer__nav-item a img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  margin-top: 8px;
  margin-left: 1px;
}

.footer__copy {
  font-size: 12px;
  color: #2a2a2a;
  text-align: center;
}

/* 下層ページ共通 */

.hero--page {
  margin-top: 80px;
}

.hero__img {
  width: 100%;
  max-width: 100%;
  height: 320px;
  overflow: hidden;
}

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

.hero__inner {
  max-width: 1048px;
  margin: 60px auto 120px;
  padding-inline: 24px;
}

.hero__label {
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  letter-spacing: 0.1em;
  color: #2a2a2a;
  margin-bottom: 16px;
  position: relative;
}

.hero__title {
  font-size: 36px;
  font-weight: bold;
  line-height: 36px;
  letter-spacing: 0.1em;
  color: #2a2a2a;
}

.hero__label::before {
  content: '';
  display: block;
  width: 1px;
  height: 80px;
  background-color: #E60012;
  position: absolute;
  top: -98px;
  left: 59px;
}

@media screen and (max-width: 767px) {
  .u-visible-sp {
    display: block;
  }

  .u-visible-pc-tab {
    display: none;
  }

  /* ハンバーガーボタン */
  .hamburger {
    position: fixed;
    top: 17px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    width: 43px;
    height: 43px;
    border-radius: 9999px;
    background-color: #E60012;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    padding: 17px 9px;
  }

  .hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    transition: 0.5s;
  }

  .hamburger.open span {
    transition: 0.5s;
  }

  .hamburger.open span:first-of-type {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .hamburger.open span:last-of-type {
    transform: rotate(-45deg) translate(3px, -3px);
  }

  /* スマホメニュー */
  .header__nav--sp {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    transition: 0.3s ease;
    background-color: rgba(0, 0, 0, 0.3);
  }

  .header__nav-list--sp {
    width: calc((262.5 / 375) * 100vw);
    position: fixed;
    height: 100%;
    top: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 24px;
    padding-top: 96px;
    padding-left: 63.5px;
    transform: translateX(calc((262.5 / 375) * 100vw));
    transition: 0.3s ease;
  }

  .header__nav-item--sp {
    margin-bottom: 15px;
  }

  .header__nav-item--sp a {
    text-decoration: none;
    color: #2a2a2a;
    font-size: 14px;
    font-weight: bold;
  }

  .header__nav-item--sp a img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    margin-left: 8px;
    margin-top: 0px;
    vertical-align: initial;
  }

  /* メニュー表示時 */
  .header__nav--sp.active {
    opacity: 1;
    visibility: visible;
    transition: 0.3s ease;
  }

  .header__nav--sp.active .header__nav-list--sp {
    transform: translateX(0px);
    transition: 0.3s ease;
  }

  /* メイン */

  .hero {
    margin-top: 0;
  }

  .hero__text {
    font-size: 32px;
    left: 34px;
    top: 40px;
    line-height: 35.2px;
  }

  .hero__mv {
    height: 433px;
  }

  .hero__news {
    width: auto;
    position: relative;
    bottom: auto;
    padding-inline: 24px;
  }

  .title-label {
    font-size: 14px;
    line-height: 14px;
  }

  .hero__news-label::before {
    top: -97px;
    left: 24px;
  }

  .title-heading {
    font-size: 28px;
    line-height: 28px;
  }

  .hero__news-heading {
    margin-top: 8px;
    margin-bottom: 32px;
  }

  .hero__news-data {
    float: none;
    margin-bottom: 4px;
  }

  .hero__news-item {
    margin-bottom: 24px;
    letter-spacing: 0.1em;
  }

  .hero__news-list {
    margin-bottom: 0px;
  }

  .link-btn {
    width: 180px;
    padding: 19px 0 19px 15px;
  }

  .hero__news-link::after {
    content: '';
    display: block;
    width: 80px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .top-company {
    margin-top: 80px;
  }

  .top-company__img {
    height: 292px;
  }

  .top-services {
    margin: 157px auto 0;
  }

  .top-services__header {
    flex-direction: column;
  }


  .top-services__label::before {
    height: 80px;
    top: -97px;
  }

  .top-services__titile-img {
    width: 100%;
    height: auto;
  }

  .top-services__overview {
    margin-right: auto;
  }

  .top-services__overview-top,
  .top-services__overview-bottom {
    flex-direction: column;
    gap: 24px;
  }

  .top-services__overview-text-box {
    flex: 0 1 auto;
  }

  .top-services__overview-text {
    max-width: 100%;
  }

  .top-services__overview-img-right {
    max-width: 100%;
  }

  .top-services__overview-img-bottom {
    max-width: 100%;
    margin-top: 24px;
  }

  .top-services__cases-text-box {
    max-width: 100%;
    margin-top: 32px;
  }

  .top-services__cases {
    margin-top: 32px;
  }

  .swiper-slide img {
    max-width: 100%;
  }

  .top-recruit {
    margin: 120px auto 80px;
  }

  .top-recruit__heading::before {
    height: 80px;
    top: -100px;
  }

  .top-contact {
    padding: 48px 24px;
  }

  .top-contact::before {
    transform: translateX(0) skewX(0deg);
  }

  .top-contact__inner {
    flex-direction: column;
  }

  .top-contact__inner::before {
    content: "";
    width: calc((279 / 375) * 100%);
    height: 1px;
    position: absolute;
    top: 50%;
  }

  .top-contact__tel {
    padding-top: 48px;
    padding-bottom: 24px;
  }

  .top-contact__tel-head {
    font-size: 16px;
  }

  .top-contact__tel-number {
    font-size: 28px;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .top-contact__form {
    padding-bottom: 48px;
  }

  .top-contact__form-head {
    margin-top: 24px;
  }

  .top-contact__link {
    padding-left: 0;
    margin: 0 auto;
  }

  /* フッター */

  .footer__inner {
    padding-top: 56px;
  }

  .footer__box {
    flex-direction: column-reverse;
  }

  .footer__nav-list {
    writing-mode: initial;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 56px;
  }

  .footer__nav-item:nth-of-type(4) {
    margin-right: auto;
    margin-bottom: 40px;
  }

  .footer__nav-item a img {
    margin-left: 8px;
    margin-top: 0;
  }

  .hero__inner {
    margin-bottom: 80px;
  }
}

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

  .u-visible-tab {
    display: block;
  }

  .top-recruit__titile-img {
    max-width: 100%;
  }

  .top-recruit__main {
    margin-top: 40px;
  }

  .top-recruit__img-middle {
    margin-top: 0px;
    max-width: calc((196 / 375) * 100vw);
    height: fit-content;
    margin-right: 0;
  }

  .top-recruit__content {
    max-width: calc((164 / 375) * 100vw);
    height: fit-content;
    margin-left: -32px;
    margin-top: 127.5px;
  }

  .top-recruit__content-img {
    max-width: 100%;
  }

  .top-recruit__content-inner-tab {
    max-width: 100%;
    margin-right: 0;
    margin-top: 16px;
  }

  .top-recruit__link {
    margin-top: 16px;
  }
}

@media (min-width: 993px) {
  .u-visible-pc {
    display: block;
  }
  .top-recruit__content-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}