@charset "utf-8";
/* CSS Document */
.under .page_title {
	background: url(../../img/mainvisual_bg.png)no-repeat center / cover;
  @media screen and (max-width: 700px) {
    background: url(../../img/mainvisual_bg.png)no-repeat right / cover;
    font-size: min(35px, 8vw);
  }
}
.under_container {
  padding-top: 100px;
  @media screen and (max-width: 700px) {
    padding-top: 50px;
  }
}
.facility > * {
  &:not(.bg-gray) {
    width: 90%;
    max-width: 1180px;
    margin-inline: auto;
  }
  &.bg-gray {
    background: #f2f2f2;
    padding-block: 50px calc(65px + 40px);
     & > * {
      width: 90%;
      max-width: 1180px;
      margin-inline: auto;
     }
  }
  &:not(:last-child) {margin-bottom: 50px;}
  @media screen and (max-width: 700px) {
    &.bg-gray {padding-bottom: 65px;}
  }
}
.tech_name {
  border-left: 2px solid #ccc;
  padding: 10px 20px;
  max-width: 1122px;
  width: 86%;
  margin-bottom: 20px;
  box-sizing: border-box;
  .jp {
    color: #0f2949;
    font-size: 230%;
    font-weight: bold;
  }
  &:not(:has(> .en)) .jp {font-size: 210%;}
  & ~ *:not(:last-child) {margin-bottom: 1em;}
  @media screen and (max-width: 700px) {
    padding: 10px 5%;
    width: 80%;
    .jp,
    &:not(:has(> .en)) .jp {font-size: 180%;}
  }
}

.masu_bg {background: url("/img/bg_tile.png")repeat top center;}

p.fac_address {
  font-weight: bold;
  color: #0f2949;
  margin: 0 0 14px 0;
  @media screen and (max-width: 700px) {
    margin: 20px 0;
  }
}
.factory_about {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-inline: auto;
  @media screen and (max-width: 700px) {
    flex-direction: column;
    gap: 1.5em;
  }
}
.factory_info {
  width: 100%;
}
.factory_img {
  margin: 0;
  width: 100%;
  max-width: max-content;
}

.fac_voice--art {
  &:not(:last-child) {margin-bottom: calc(65px + 40px);}
  @media screen and (max-width: 700px) {
    &:not(:last-child) {margin-bottom: 45px;}
  }
}
.fac_subHead {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
  @media screen and (max-width: 700px) {
    font-size: 24px;
    margin-bottom: 0.75em;
  }
}
.fac_voice--card {
  position: relative;
  display: flex;
  justify-content: space-between;
  min-height: 300px;
  margin-bottom: calc(65px + 40px);
  &:nth-child(odd) {
    flex-direction: row-reverse;
    figure {inset: auto auto -40px 0;}
    .fac_voice--des {padding-left: 160px;}
  }
  &:nth-child(even) {
    margin-bottom: 65px;
    figure {inset: -40px 0 auto auto;}
    .fac_voice--des {padding-right: 160px;}
  }
  &:last-child {margin-bottom: 0;}
  figure {
    position: absolute;
    height: 300px;
    margin: 0;
    aspect-ratio: 540 / 400;
  }
  @media screen and (max-width: 700px) {
    flex-direction: column-reverse!important;
    min-height: initial;
    &:nth-child(odd) {
      figure {inset: auto;}
      .fac_voice--des {padding-inline: 5%;}
    }
    &:nth-child(even) {
      figure {inset: auto;}
      .fac_voice--des {padding-inline: 5%;}
    }
    &:not(:last-child) {
      margin-bottom: 35px!important;
    }
    figure {
      position: relative;
      height: auto;
    }
  }
}
.fac_voice--des {
  background: #fff;
  width: 100%;
  max-width: 880px;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  @media screen and (max-width: 700px) {
    padding-block: 35px 20px;
  }
}
.fac_voice--desHead {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1em;
}
.fac_flow {
  max-width: 800px !important;
  position: relative;
  &::before {
    content: '';
    position: absolute;
    background: #0f2949;
    width: 2px;
    height: calc(100% - 12px);
    inset: 0 auto 0 107px;
    margin: auto;
  }
  @media screen and (max-width: 700px) {
    &::before {left: 66px;}
  }
}
.fac_flow--item {
  display: flex;
  align-items: center;
  gap: 40px;
  font-weight: bold;
  &:not(:last-child) {
    margin-bottom: 1em;
  }
  @media screen and (max-width: 700px) {
    gap: 15px;
  }
}
.fac_flow--time {
  font-size: 20px;
  min-width: 56px;
  @media screen and (max-width: 700px) {
    font-size: 16px;
    min-width: 44px;
  }
}
.faq_flow--circle {
  background: #0f2949;
  width: 24px;
  height: 24px;
  aspect-ratio: 1;
  border-radius: 50%;
  @media screen and (max-width: 700px) {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }
}
.faq_flow--txt {
  font-size: 18px;
  @media screen and (max-width: 700px) {
    font-size: 16px;
    width: 100%;
  }
}