@charset "utf-8";

/* var(--primary-color)で指示する */
:root {
  --primary-color: #042275;
  /* --accent-color: #47515f; */
  --text-color: #333;
  --back-color: #F0F0F0;
}

.profile-inner {
  max-width: 963px;
  padding: 0 16px;
  margin: 0 auto;
}

.profile-about,
.profile-work {
  margin-bottom: 120px;
}
/* ----------------------------------------------------------
960px以下で適用させたいcssを記述していく（タブレット）
---------------------------------------------------------- */
@media screen and (max-width: 960px) {

}

/* ----------------------------------------------------------
520px以下で表示させたいcssを記述していく（スマホ）
---------------------------------------------------------- */
@media screen and (max-width: 520px) {
  .profile-about,
  .profile-work {
    margin-bottom: 60px;
}
}

/* 会社案内｜イメージ
---------------------------*/
.profile img {
  margin-bottom: 30px;
  width: 100%;
}

/* 会社案内｜代表あいさつ
---------------------------*/
.profile-about-inner {
  display: flex;
  justify-content: space-between;
}
.profile-slider,
.profile-txt {
  width: 48%;
}
.profile-txt {
  line-height: 2;
}
.profile-txt p:first-of-type {
  margin-bottom: 30px;
}
.profile-company-president {
  text-align: right;
}

/* スライダー */
/* .profile-slider-img {
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-name: slideAnime;
  animation-timing-function: ease;
  display: block;
  object-fit: cover;
  opacity: 0;
  width: 100%;
}
.profile-slider-list-item:nth-last-of-type(1) .profile-slider-img {
  animation-delay: 0s;
}
.profile-slider-list-item:nth-last-of-type(2) .profile-slider-img {
  animation-delay: 5s;
}

@keyframes slideAnime {
  0% {
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  49% {
    opacity: 0;
  }
} */
.profile-slider {
  position: relative;
  overflow: hidden;
  width: 450px;
}
.profile-slider-list {
  position: relative;
}
.profile-slider-list-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.profile-slider-list-item img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.profile-slider-list .slide1 {
  position: relative;
}
.profile-slider-list .profile-slider-list-item  {
  animation: slideshow 24s infinite;
}
@keyframes slideshow {
  0% {
    transform: translateX(0);
  }
  21% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(100%);
  }
  25.001% {
    transform: translateX(-100%);
  }
  96% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
.profile-slider-list .slide1 {
  animation-delay: 0s;
}
.profile-slider-list .slide2 {
  animation-delay: -18s;
}
.profile-slider-list .slide3 {
  animation-delay: -12s;
}
.profile-slider-list .slide4 {
  animation-delay: -6s;
}

/* ----------------------------------------------------------
960px以下で適用させたいcssを記述していく（タブレット）
---------------------------------------------------------- */
@media screen and (max-width: 960px) {

}

/* ----------------------------------------------------------
520px以下で表示させたいcssを記述していく（スマホ）
---------------------------------------------------------- */
@media screen and (max-width: 520px) {
  .profile-about-inner {
    flex-direction: column;
  }
  .profile-slider,
  .profile-txt {
  width: 100%;
}
.profile-slider {
  margin-bottom: 10px;
}
}



/* 会社案内｜会社概要
---------------------------*/
.profile-work {

}
.profile-work-wrap {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 40px;
}
.profile-work-overview table {
  font-size: 0.875rem;
}
.profile-work-overview th {
  /* font-weight: normal; */
  padding-right: 20px;
  color: var(--primary-color);
  background-color: var(--back-color);
  width: 40%;
}
.profile-work-overview th,
.profile-work-overview td {
  padding: 8px 10px;
  border: 1px solid #919191;
  border-left: none;
  border-right: none;
  line-height: 1.5;
}
/* ----------------------------------------------------------
960px以下で適用させたいcssを記述していく（タブレット）
---------------------------------------------------------- */
@media screen and (max-width: 960px) {

}

/* ----------------------------------------------------------
520px以下で表示させたいcssを記述していく（スマホ）
---------------------------------------------------------- */
@media screen and (max-width: 520px) {
  .profile-work-wrap {
    flex-direction: column-reverse;
  }
}

/* 会社案内｜事務所案内
---------------------------*/
.profile-office-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.profile-office-wrap img {
  width: 32%;
}
.profile-map {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
.profile-office p:first-of-type {
  text-align: center;
  margin-bottom: 20px;
}
.profile-office span:first-of-type {
  font-weight: bold;
}

.profile-map {
  position: relative;
  /* width: 100%; */
  height: 0;
  padding-top: 50%;
}
.profile-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* ----------------------------------------------------------
960px以下で適用させたいcssを記述していく（タブレット）
---------------------------------------------------------- */
@media screen and (max-width: 960px) {

}

/* ----------------------------------------------------------
520px以下で表示させたいcssを記述していく（スマホ）
---------------------------------------------------------- */
@media screen and (max-width: 520px) {
  .profile-office p:first-of-type {
    text-align: left;
    font-size: 0.875rem;
  }
}