@charset "UTF-8";

/*-------------------------------
中ページ用のスタイル
-------------------------------*/
.o-page-header {
  position: relative;
}
.o-main_visual--page {
  width: 100%;
  height: auto;
  aspect-ratio: 750 / 255;
  position: relative;
}
@media (min-width: 40em) {
  .o-main_visual--page {
    min-height: auto;
    aspect-ratio: 14 / 3;
  }
}
.o-main_visual--page__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}
.o-main_visual--page--bg__img {
  width: 100%;
  position: absolute;
  bottom: -2px;
  left: 0;
}
.o-page-header__body {
  background: #fff;
  clip-path: polygon(
    0 0,
    75% 0,
    75% 40%,
    100% 40%,
    100% 100%,
    0 100%
  );
  margin-top: -15vw;
  padding-top: 10vw;
  padding-bottom: 5vw;
}
.o-page-header__body h1 {
  line-height: 1;
  padding-bottom: 8vw;
  border-bottom: 1px solid var(--color-gray);
}
@media (min-width: 40em) {
  .o-page-header__body {
    clip-path: polygon(
      0 0,
      44% 0,
      44% 50%,
      100% 50%,
      100% 100%,
      0 100%
    );
    margin-top: -200px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .o-page-header__body h1 {
    margin-top: 30px;
    line-height: 1.2;
    padding-bottom: 40px;
  }
}
/* -----------------------------------会社案内------------------------------- */
.o-company-ceo {
  padding: 0 0 10vw;
}
.o-company-ceo h2 {
  margin-bottom: 10vw;
}
.o-company-ceo__img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  position: relative;
}
.o-company-ceo__img img {
  width: 400px;
  height: 100%;
  object-fit: cover;
}
.o-company-ceo__name {
  text-align: center;
  margin: 6vw 0;
  gap: 5vw;
}
.o-company-ceo__name .position {
  font-size: var(--px-to-vw_13);
}
.o-company-ceo__name .name {
  font-weight: bold;
  font-size: var(--px-to-vw_25);
  line-height: 1.2;
}
.o-company-ceo__message p {
  line-height: 2;
  font-size: var(--px-to-vw_14);
}

@media (min-width: 40em) {
  .o-company-ceo {
    padding: 0 0 30px;
  }
  .o-company-ceo h2 {
    margin-bottom: 45px;
  }
  .o-company-ceo__profile {
    padding-left: 40px;
  }
  .o-company-ceo__img img {
    width: 400px;
    height: auto;
  }
  .o-company-ceo__name {
    flex-direction: column;
    margin-top: 25px;
    gap: 0;
  }
  .o-company-ceo__name .position {
    font-size: var(--px-to-rem_15);
  }
  .o-company-ceo__name .name {
    font-size: var(--px-to-rem_32);
  }
  .o-company-ceo__message p {
    font-size: var(--px-to-rem_16);
  }
}

.o-company-banner {
  margin-bottom: -3vw;
}
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  font-size: calc(75 * 0.26667vw);
  color: #F2F2F2;
  font-weight: bold;
  line-height: 1;
}
.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee-animation 10s linear infinite;
}
@media (min-width: 40em) {
  .o-company-banner {
    margin-bottom: -18px;
  }
  .marquee p {
    font-size: 130px;
  }
}

@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 40s infinite linear 0.5s both;
}
.scroll-infinity__item--text {
  width: calc(500vw / 3);
  font-size: calc(75 * 0.26667vw);
  font-weight: bold;
  color: #F2F2F2;
  line-height: 1;
}
@media (min-width: 40em) {
  .scroll-infinity__item--text {
    width: calc(3300px / 3);
    font-size: 130px;
  }
}

.o-company-philosophy {
  position: relative;
  padding: 12vw 0;
  overflow: hidden;
}
.o-company-philosophy::after {
  content: "";
  position: absolute;
  top: -0.5%;
  right: -19%;
  width: 75vw;
  height: 9%;
  background-image: url('../img/logo_opaque.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.o-company-philosophy__title {
  color: #fff;
  font-weight: bold;
  font-size: var(--px-to-vw_33);
  line-height: 1.2;
  margin-bottom: 8vw;
}
.o-company-philosophy__title span {
  font-size: var(--px-to-vw_23);
}
.o-company-philosophy ul li {
  background: #fff;
  padding: 8vw 6.6667vw;
  margin-bottom: 5vw;
}
.o-company-philosophy ul li:last-child {
  margin-bottom: none;
} 
.o-company-philosophy ul li .head {
  font-size: var(--px-to-vw_26);
  font-weight: bold;
  line-height: 1.5;
  gap: 6vw;
}
.o-company-philosophy ul li .head span {
  color: var(--color-main);
  font-size: var(--px-to-vw_44);
}
.o-company-philosophy ul li .line {
  width: 100%;
  height: 1px;
  background: var(--color-main);
  margin: 6vw 0;
}
.o-company-philosophy ul li .content {
  font-size: var(--px-to-vw_15);
}
@media (min-width: 40em) {
  .o-company-philosophy {
    padding: 50px 0 75px;
  }
  .o-company-philosophy::after {
    top: -2%;
    right: -2%;
    width: 570px;
    height: 30%;
  }
  .o-company-philosophy__title {
    gap: 55px;
    font-size: var(--px-to-rem_47);
    margin-bottom: 40px;
  }
  .o-company-philosophy__title span {
    font-size: var(--px-to-rem_36);
  }
  .o-company-philosophy ul li {
    display: grid;
    grid-template-columns: 34% 1px 1fr;
    align-items: stretch;
    padding: 30px 50px;
    margin-bottom: 20px;
  }
  .o-company-philosophy ul li .head {
    font-size: var(--px-to-rem_28);
    gap: 20px;
  }
  .o-company-philosophy ul li .head span {
    font-size: var(--px-to-rem_44);
  }
  .o-company-philosophy ul li .line {
    width: 1px;
    height: auto;
    margin: 0;
  }
  .o-company-philosophy ul li .content {
    padding: 0 0 0 70px;
    font-size: var(--px-to-rem_19);
  }
}

.o-company-overview {
  padding: 18vw 0 30vw;
}
.o-company-overview h1 {
  font-size: var(--px-to-vw_41);
}
.o-company-overview h1 span {
  font-size: var(--px-to-vw_12);
  color: var(--color-main);
}
.o-company-overview__table {
  margin-top: 7vw;
}
@media (min-width: 40em) {
  .o-company-overview {
    padding: 100px 0 125px;
  }
  .o-company-overview h1 {
    font-size: var(--px-to-rem_70);
  }
  .o-company-overview h1 span {
    font-size: var(--px-to-rem_16);
  }
  .o-company-overview__table {
    padding: 0 100px 0 50px;
    margin-top: 50px;
  }
}

.o-company-history {
  position: relative;
  color: #fff;
  padding: 14vw 0;
}
.o-company-history.c-bg-black {
  background:
  linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
  url("../img/black_img_bg.webp");
}
.o-company-history__since {
  position: relative;
}
.o-company-history__since::before {
  content: attr(data-since) "-" attr(data-until);
  position: absolute;
  bottom: -18vw;
  right: 0;
  color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: var(--px-to-vw_100);
  letter-spacing: 0.02em;
}
.o-company-history__title h1 {
  position: relative;
  font-size: var(--px-to-vw_45);
}
.o-company-history__title h1::after {
  content: "";
  position: absolute;
  top: 35%;
  right: 0;
  transform: translateY(50%);
  width: 43vw;
  height: 2px;
  background-color: #fff;
}
.o-company-history__title h1::before {
  content: "";
  position: absolute;
  top: -4vw;
  right: 0;
  transform: translateY(50%) rotate(110deg);
  width: 4vw;
  height: 7vw;
  border-right: 2px solid #fff;
}

@media (min-width: 40em) {
  .o-company-history {
    padding: 60px 0 155px;
  }
  .o-company-history__since::before {
    bottom: -155px;
    line-height: 0.5;
    font-size: 150px;
  }
  .o-company-history__title {
    padding-left: 29px;
  }
  .o-company-history__title h1 {
    font-size: var(--px-to-rem_80);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }
  .o-company-history__title h1 span {
    font-size: var(--px-to-rem_25);
    margin-bottom: 30px;
    letter-spacing:5px;
  }
  .o-company-history__title h1::after {
    top: 115%;
    right: 50%;
    transform: translateX(50%);
    width: 2px;
    height: 170px;
  }
  .o-company-history__title h1::before {
    top: 160%;
    right: 50%;
    transform: translateX(50%) rotate(25deg);
    width: 12px;
    height: 25px;
  }
}
.o-company-history .c-timeline__meta {
  display: grid;
  grid-template-columns: 4ch auto;
  column-gap: 0.4em;
  align-items: baseline;
}
.o-company-history .c-timeline__meta span {
  white-space: nowrap;
}
@media (min-width: 40em) {
  .o-company-history .c-timeline__meta {
    display: block;
  }
  .o-company-history .c-timeline {
    padding-right: 180px;
  }
  .o-company-history .c-timeline__meta {
    font-size: var(--px-to-rem_45);
  }
  .o-company-history .c-timeline__text {
    font-size: var(--px-to-rem_18);
  }
  .o-company-history .c-timeline__body {
    padding: 0 50px 15px 330px;
  }
}

.o-company-access {
  padding: 8vw 0;
}
.o-company-access__head h1 {
  font-size: var(--px-to-vw_41);
}
.o-company-access__head h1 span {
  color: var(--color-main);
  font-size: var(--px-to-vw_12);
}
.o-company-access__head .line {
  width: 40%;
  height: 1px;
  background: var(--color-main);
  margin: 6vw 0;
}
.o-company-access__head .adress {
  font-size: var(--px-to-vw_13);
}
.o-company-access__map {
  margin-top: 6vw;
}
.o-company-access__map iframe {
  width: 100%;
  height: 67vw;
}
.o-company-access__method {
  margin-top: 12vw;
}
.o-company-access__transportation h2 {
  font-size: var(--px-to-vw_18);
  margin-bottom: 8vw;
}
.o-company-access__transportation h2::after {
  background: var(--color-main);
}
.o-company-access__transportation ul li {
  display: grid;
  grid-template-columns: 12% 22% auto;
  margin-bottom: 3vw;
  font-size: var(--px-to-vw_12);
}
.o-company-access__transportation ul li .icon img {
  width: 5vw;
}
.o-company-access__method .image {
  aspect-ratio: 5 / 2;
  width: 100%;
  height: auto;
  position: relative;
  margin-top: 8vw;
}
.o-company-access__method .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 40em) {
  .o-company-access {
    padding: 60px 0;
  }
  .o-company-access__head {
    display: grid;
    grid-template-columns: 60% 2px 1fr;
    align-items: stretch;
    margin-bottom: 55px;
  }
  .o-company-access__head h1 {
    font-size: var(--px-to-rem_70);
    margin: auto 0;
  }
  .o-company-access__head h1 span {
    font-size: var(--px-to-rem_16);
  }
  .o-company-access__head .line {
    width: 1px;
    height: auto;
    margin: 0;
  }
  .o-company-access__head .adress {
    padding: 0 0 0 50px;
    font-size: var(--px-to-rem_19);
  }
  .o-company-access__map {
    margin-top: 50px;
  }
  .o-company-access__map iframe {
    height: 450px;
  }
  .o-company-access__method {
    margin-top: 0;
  }
  .o-company-access__transportation {
    padding: 40px 0 0 60px;
  }
  .o-company-access__transportation h2 {
    margin-bottom: 45px;
    font-size: var(--px-to-rem_31);
  }
  .o-company-access__transportation ul li {
    grid-template-columns: 8% 22% auto;
    margin-bottom: 15px;
    font-size: var(--px-to-rem_16);
  }
  .o-company-access__transportation ul li .icon{
    width: 25px;
    height: 25px;
  }
  .o-company-access__method .image {
    aspect-ratio: 16 / 9;
    margin-top: 0;
  }
}
:root {
  --company-access-line-l--md: 100px;
  --company-access-line-w: 1px;
}
@media (min-width: 40em) {
  .o-company-access__border {
    padding: 20px;
    margin-top: 50px;
    background:
      /* 左上 */
      linear-gradient(var(--color-gray), var(--color-gray))
        left top / var(--company-access-line-l--md) var(--company-access-line-w) no-repeat,
      linear-gradient(var(--color-gray), var(--color-gray))
        left top / var(--company-access-line-w) var(--company-access-line-l--md) no-repeat,

      /* 右上 */
      linear-gradient(var(--color-gray), var(--color-gray))
        right top / var(--company-access-line-l--md) var(--company-access-line-w) no-repeat,
      linear-gradient(var(--color-gray), var(--color-gray))
        right top / var(--company-access-line-w) var(--company-access-line-l--md) no-repeat,

      /* 左下 */
      linear-gradient(var(--color-gray), var(--color-gray))
        left bottom / var(--company-access-line-l--md) var(--company-access-line-w) no-repeat,
      linear-gradient(var(--color-gray), var(--color-gray))
        left bottom / var(--company-access-line-w) var(--company-access-line-l--md) no-repeat,

      /* 右下 */
      linear-gradient(var(--color-gray), var(--color-gray))
        right bottom / var(--company-access-line-l--md) var(--company-access-line-w) no-repeat,
      linear-gradient(var(--color-gray), var(--color-gray))
        right bottom / var(--company-access-line-w) var(--company-access-line-l--md) no-repeat;
  }
}

/* -----------------------------------組織図------------------------------- */
.o-organization {
  padding: 14vw 0;
}
.o-organization h1 {
  font-size: var(--px-to-vw_41);
}
.o-organization h1 span {
  color: var(--color-main);
  font-size: var(--px-to-vw_12);
}
.o-organization .o-chart_img {
  margin: 6vw auto 12vw; 
  max-width: 90%;
  height: auto; 
}
.o-organization .c-table--gray {
  margin: 9.5vw auto 0;
}
@media (min-width: 40em) {
  .o-organization {
    padding: 100px 0;
  }
  .o-organization h1 {
    font-size: var(--px-to-rem_70);
  }
  .o-organization h1 span {
    font-size: var(--px-to-rem_16);
  }
  .o-organization .o-chart_img {
    max-width: 70%;
    margin: 3.5em auto 6em;
  }
  .o-organization .c-table--gray {
    margin: 3.5em auto 0;
  }
}

/* -----------------------------------事業案内------------------------------- */
.o-service p {
  margin-bottom: 5em;
  font-size: var(--px-to-vw_14);
}
.o-service .o-chart_img {
  margin: 6vw auto 12vw;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.o-service .o-chart_img img {
  width: 190vw;
  max-width: none;
  height: auto;
}
@media (min-width: 40em) {
  .o-service p {
    margin-bottom: 6em;
    font-size: var(--px-to-rem_16);
  }
  .o-service .o-chart_img {
    margin: 3em auto 7em; 
    height: auto; 
    -webkit-overflow-scrolling: none;
  }
  .o-service .o-chart_img img {
    width: 100%;
  }
}

/* --------------------------------鉄骨制作の流れ------------------------------- */
.o-flow_img {
    margin-top: 50px;
}
@media (min-width: 40em) {
  .o-flow_img {
    margin-top: 90px;
  }
}
.o-flow-content {
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
}
@media (min-width: 40em) {
  .o-flow-content {
    margin-top: 150px;
    margin-bottom: 125px;
  }
  .o-flow-content::after{
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 10%;
    background: #808080;
  }
}
.c-flow__item{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 50px;
}
@media (min-width: 40em) {
  .c-flow__item{
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
  }
}
.c-flow__item:first-of-type{
  margin-top: 0;
}
.c-folder-tab__diagonal-sp {
  position: relative;
}
.c-folder-tab__diagonal-sp::after {
  content: "";
  position: absolute;
  top: -32px;
  right: -31px;
  width: 28px;
  height: 20px;
  background: #ffffff;
  transform: rotate(45deg);
}
@media (min-width: 40em) {
  .c-folder-tab__diagonal-sp::after {
    display: none;
  }
}
.c-folder-tab {
  position: relative;
  width: auto;
  height: 40px;
  background-color: #000;
  margin-top: 13px;
}
.c-folder-tab::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  top: 7px;
  right: 0;
  background: #fe0000;
}
.c-folder-tab__shape {
  position: relative;
  height: 53px;
  display: inline-flex;
  align-items: center;
  background: #000;
  padding: 10px 20px 0 16px;
  top: -13px;
}
.c-folder-tab__shape::before {
  content: "";
  position: absolute;
  width: calc(100% - 13px);
  height: 2px;
  right: 31px;
  left: 0;
  top: 7px;
  background: #fe0000;
}
.c-folder-tab__shape::after {
  content: "";
  position: absolute;
  top: 6px;
  left: calc(100% - 13px);
  width: 20px;
  height: 2px;
  background: #fe0000;
  transform-origin: left center;
  transform: rotate(48deg);
}
.c-folder-tab__text {
  writing-mode: horizontal-tb;
  color: #fff;
  font-size: var(--px-to-vw_18);
  line-height: 1.4;
}
@media (min-width: 40em) {
  .c-folder-tab {
    width: 53px;
    height: auto;
    padding-bottom: 100px;
  }
  .c-folder-tab::before {
    width: 2px;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 12px;
  }
  .c-folder-tab__shape {
    width: 73px;
    height: auto;
    display: inline-flex;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 30px),
      calc(100% - 20px) 100%,
      0 100%
    );
    padding-left: 0;
    padding-bottom: 40px;
  }
  .c-folder-tab__shape::before {
    width: 2px;
    height: calc(100% - 31px);
    top: 0;
    bottom: 31px;
    right: 10px;
    left: auto;
  }
  .c-folder-tab__shape::after {
    top: auto;
    left: auto;
    bottom: 30px;
    right: 11px;
    width: 40px;
    height: 2px;
    transform-origin: right center;
    transform: rotate(-55deg);
  }
  .c-folder-tab__text {
    padding: 20px 0 0 10px;
    writing-mode: vertical-rl;
    font-size: var(--px-to-rem_26);
    line-height: 1.5;
  }
}

.c-folder-tab__shape img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}
.c-flow_titlebox {
  max-width: 580px;
  width: 100%;
}
.c-flow__title {
  position: relative;
  border-top: 1px solid #fe0000;
  width: 72vw;
  font-size: clamp(19px, 4vw, 30px);
  padding-top: 10px;
}
.c-flow__title::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0px;
  width: 60px;
  height: 1px;
  background: #fe0000;
  transform-origin: right center;
  transform: rotate(-55deg);
}
.c-flow__title::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: 0;
  right: -30px;
  width: 40px;
  height: 50px;
  background: #fe0000;
  transform: skewX(-35deg);
}
@media (min-width: 40em) {
  .c-flow__title {
    width: 90%;
  }
  .c-flow__title::before {
    top: -1px;
    right: 0px;
    width: 80px;
    height: 1px;
  }
  .c-flow__title::after {
    height: 66px;
  }
}

.c-flow__details {
  position: relative;
}
.c-flow__detail {
  margin-top: 70px;
}
.c-flow__detail:first-of-type {
  margin-top: 0;
}
@media (min-width: 40em) {
  .c-flow__detail {
    display: flex;
    gap: 70px;
    margin-top: 50px;
    flex-direction: column;
  }
  .c-flow__details::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50px;
    width: 15px;
    height: 15px;
    background: #fe0000;
    z-index: 2;
  }
  .c-flow__detail {
    flex-direction: row;
  }
}

.c-flow__text {
  margin-top: 25px;
}
.c-flow__img-shadow {
  position: relative;
  margin-top: 20px;
  width: 100%;
  max-height: 300px;
  flex-shrink: 0;
}
.c-flow__img-shadow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fe0000;
  transform: translate(6px, 6px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 20px) 100%, 0 100%);
  z-index: -1;
}
.c-flow__img {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 20px) 100%, 0 100%);
  aspect-ratio: 297 / 205;
  width: 100%;
  max-height: 190px;
  overflow: hidden;
}
.c-flow__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-flow__details {
  padding-bottom: 70px;
  border-bottom: 1px solid #cccccc;
}
.o-flow-content > .c-flow__item:last-of-type .c-flow__details {
  border-bottom: none;
  padding-bottom: 0;
}
@media (min-width: 40em) {
  .c-flow__img {
    max-height: none;
  }
  .c-flow__img-shadow {
    margin-top: 0;
    max-width: 297px;
  }
  .c-flow__details {
    padding-bottom: 70px;
  }
}

/* -----------------------------------施工実績------------------------------- */
.c-department-list-btn {
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url("../img/main-img_back.webp") center / cover no-repeat;
  margin-top: 50px;
  padding: 50px 0;
}

.c-department-list-btn-item-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
}

.c-department-list-btn-item {
  background-color: #ffffff;
  padding: 8px 30px 8px 0;
  width: 100%;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

@media (max-width: 40em) {
  /* スマホ用 */
  .c-sp-flex {
    display: flex;
  }
}

@media (min-width: 40em) {
  .c-department-list-btn-item-container {
    flex-direction: row;
    gap: 40px;
  }

  .c-department-list-btn-item {
    padding: 15px 30px 18px 0;
    width: calc((100% - 80px) / 3);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
  }
}

.c-department-list-btn-img {
  width: 45vw;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.c-department-list-btn-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-department-list-btn-item::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 0%;
  width: 110px;
  height: 52px;
  background-image: url(../img/logo_gray.svg);
  background-repeat: no-repeat;
  z-index: -1;
}

.c-department-list-btn-icon {
  position: absolute;
  bottom: 0%;
  right: 7%;
  font-size: clamp(24px, 4vw, 30px);
  color: #fe0000;
}

@media (min-width: 40em) {
  .c-department-list-btn-img {
    width: auto;
  }

  .c-department-list-btn-item::after {
    bottom: 6%;
    right: -4%;
    width: 154px;
    height: 67px;
  }

  .c-department-list-btn-icon {
    bottom: 3%;
    right: 10%;
  }
}

.c-department-list-btn-icon .fa-arrow-right::before {
  display: inline-block;
  transition: transform 0.3s ease;
}

.c-department-list-btn-item:hover .c-department-list-btn-icon .fa-arrow-right::before {
  transform: translateX(6px);
}

.c-department-list-btn-title {
  margin-left: 8%;
  margin-top: 10px;
  font-size: var(--px-to-rem_20);
}

.c-department-slider-wrap {
  margin-top: 30px;
}

@media (min-width: 40em) {
  .c-department-list-btn-title {
    font-size: var(--px-to-rem_25);
    line-height: 1.2;
  }

  .c-department-slider-wrap {
    margin-top: 0;
  }
}

.c-department-slider {
  position: relative;
}

.c-department-slider img {
  width: 100%;
  display: block;
}

.c-department-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

@media (min-width: 40em) {
  .c-department-slider__dots {
    margin-top: 22px;
  }
}

.c-department-slider__dots button {
  width: 5px;
  height: 12px;
  border-radius: 50%;
  background: #828282;
  border: none;
  cursor: pointer;
}

.c-department-slider__dots button.is-active {
  background: #fe0000;
}

/* .department-sub-images  {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  width: 383px;
} */

.department-sub-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  max-width: 383px;
  aspect-ratio: 383 / 365;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 20px) 100%,
    0 100%
  );
}

.c-department-item:nth-child(even) .department-sub-image {
  clip-path: polygon(
    20px 0,
    100% 0,
    100% 100%,
    0 100%,
    0 30px
  );
}

.department-sub-image.is-active {
  opacity: 1;
  pointer-events: auto;
}

.department-sub-image:first-child {
  position: relative;
}

.department-sub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-department-item {
  position: relative;
  display: flex;
  margin-top: 130px;
  justify-content: space-between;
}

.c-department-item:nth-child(even) {
  flex-direction: row-reverse;
}

.c-department-item:first-of-type {
  margin-top: 0;
}

.c-department-bg {
  position: absolute;
  top: -50px;
  bottom: -50px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: #f0f0f0;
  z-index: -1;
}

@media (min-width: 40em) {
  .c-department-item {
    margin-top: 150px;
  }

  .c-department-bg {
    top: -50px;
    bottom: -70px;
    right: auto;
    left: calc(50% - 50vw);
    width: 71vw;
    transform: none;
  }
}

.c-department-item .c-department-bg {
  display: none;
}

.c-department-item:nth-child(even) .c-department-bg {
  display: block;
}

.c-department-item-infobox {
  max-width: 650px;
}

.c-department-list {
  margin: 70px 0 110px;
}

@media (min-width: 40em) {
  .c-department-list {
    margin: 100px 0 170px;
  }
}

.c-department__title {
  position: relative;
  border-top: 1px solid #fe0000;
  width: 72vw;
  font-size: clamp(24px, 4vw, 30px);
  padding-top: 10px;
  font-weight: bold;
}

.c-department__title::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0px;
  width: 60px;
  height: 1px;
  background: #fe0000;
  transform-origin: right center;
  transform: rotate(-55deg);
}

.c-department__title::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: 0;
  right: -30px;
  width: 40px;
  height: 50px;
  background: #fe0000;
  transform: skewX(-35deg);
}

@media (min-width: 40em) {
  .c-department__title {
    width: 90%;
    border-top: 2px solid #fe0000;
  }

  .c-department__title::before {
    top: -2px;
    right: 0px;
    width: 80px;
    height: 2px;
  }

  .c-department__title::after {
    height: 66px;
  }
}

.c-department__title::first-letter {
  color: #fe0000;
}

.c-department-text {
  margin-top: 20px;
}

.c-department__img-shadow {
  position: relative;
  flex-shrink: 0;
}

.c-department__img-shadow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fe0000;
  transform: translate(6px, 6px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 20px) 100%, 0 100%);
  z-index: -1;
}

.c-department-item:nth-child(even) .c-department__img-shadow::after {
  clip-path: polygon(
    20px 0,
    100% 0,
    100% 100%,
    0 100%,
    0 30px
  );
}

.c-parent-department__title {
  color: #7d7d7d;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
}

/* -----------------------------------施工実績------------------------------- */
.o-works {
  padding-bottom: 8vw;
}
@media (min-width: 40em) {
  .o-works {
    padding-bottom: 80px;
  }
}
.o-works__search {
  border: 5px solid var(--color-main);
  padding: 3.2vw 4.4vw 4.3vw;
  margin-top: 6vw;
}
.o-works__num {
  font-size: var(--px-to-vw_12);
  font-weight: bold;
  margin-top: 8vw;
}
.o-works__notice {
  font-size: var(--px-to-vw_12);
}
.o-works-ex {
  font-size: var(--px-to-vw_12);
  margin-top: 6.7vw;
  line-height: 1.8;
}
.o-search-head {
  font-size: var(--px-to-vw_13);
  font-weight: bold;
  color: var(--color-main);
  margin: auto 0;
}
.o-search-head i {
  margin-right: 1.9vw;
  color: var(--color-gray);
}
@media (min-width: 40em) {
  .o-works__search {
    border: 5px solid var(--color-main);
    padding: 30px 90px 30px 50px;
    margin-top: 50px;
  }
  .o-works__num {
    font-size: var(--px-to-rem_16);
    margin-top: 50px;
  }
  .o-works__notice {
    font-size: var(--px-to-rem_16);
  }
  .o-works-ex {
    font-size: var(--px-to-rem_16);
    margin-top: 30px;
  }
  .o-search-head {
    font-size: var(--px-to-rem_20);
  }
  .o-search-head i {
    margin-right: 10px;
  }
}
.o-search-location {
  margin-top: 2vw;
}
@media (min-width: 40em) {
  .o-search-location {
    margin-top: 15px;
  }
}
.o-select--location,
.o-search-date input,
.o-select--year {
  width: 16.5em;
}
@media (min-width: 40em) {
  .o-select--location,
  .o-search-date input,
  .o-select--year {
    width: 800px;
  }
}
.o-search-btn {
  margin-top: 5.4vw;
}
.o-search-btn .c-btn {
  font-size: var(--px-to-vw_12);
  gap: 2em;
  padding: 0 1.5em 0 3.5em !important;
}
@media (min-width: 40em) {
  .o-search-btn {
    margin-top: 25px;
  }
  .o-search-btn .c-btn {
    font-size: var(--px-to-rem_18);
  }
}
/* ------------ */
.o-works-contens {
  background: #f0f0f0;
  padding: 10.7vw 0 6.7vw;
  margin-top: 8vw;
  margin-bottom: 6.7vw;
}
@media (min-width: 40em) {
  .o-works-contens {
    padding: 70px 0 60px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}
.o-works-box {
  border: 5px solid #DCDCDC;
  padding: 4.8vw;
  background: #fff;
  position: relative;
  line-height: 1.5;
  margin-bottom: 6.7vw;
}
.o-works-box:last-child {
  margin-bottom: 0px;
}
@media (min-width: 40em) {
  .o-works-box {
    border: 5px solid #DCDCDC;
    padding: 25px 30px 30px;
    margin-bottom: 50px;
  }
}
.o-works-title,
.o-works-sub span,
.o-works-label {
  font-weight: bold;
}
.o-works-header {
  margin-bottom: 3vw;
}
.o-works-title span {
  display: inline-block;
  position: absolute;
  top: -12px;
  font-size: var(--px-to-vw_9);
  font-weight: bold;
  background-color: var(--color-black);
  border: 1px solid var(--color-black);
  color: #fff;
  padding: 0 2em;
  line-height: 1.8em;
}
@media (min-width: 40em) {
  .o-works-header {
    margin-bottom: 15px;
  }
  .o-works-title span {
    top: -15px;
    font-size: var(--px-to-rem_14);
    line-height: 1.8em;
  }
}
.o-works-title p {
  font-size: var(--px-to-vw_13);
}
.o-works-sub {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-top: 2.7vw;
}
.o-works-sub span {
  display: inline-block;
  font-size: var(--px-to-vw_8);
  font-weight: bold;
  background-color: #5A5A5A;
  border: 1px solid #5A5A5A;
  color: #fff;
  line-height: 1.8em;
  text-align: center;
  width: 13vw;
}
.o-works-sub p {
  font-size: var(--px-to-vw_11);
  color: #666666;
  width: 56vw;
}
@media (min-width: 40em) {
  .o-works-title span {
    font-size: var(--px-to-rem_14);
    line-height: 1.8em;
  }
  .o-works-title p {
    font-size: var(--px-to-rem_20);
    padding: 0 15px;
  }
  .o-works-sub {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
  }
  .o-works-sub span {
    font-size: var(--px-to-rem_14);
    padding: 0;
    line-height: 1.5em;
    width: 75px;
  }
  .o-works-sub p {
    font-size: var(--px-to-rem_16);
    width: 340px;
  }
}

.o-works-body {
  border-top: 1px solid var(--color-gray);
  padding: 3vw 0 0 0;
}
.o-works-items {
  padding-left: 2.1vw;
  gap: 2.5vw;
}
.o-works-item {
  gap: 5.4vw;
}
.o-works-item p {
  margin: 0;
  line-height: 1.6;
  font-size: var(--px-to-vw_11);
  width: 50vw;
}
@media (min-width: 40em) {
  .o-works-body {
    padding: 20px 0 0 0;
  }
  .o-works-items {
    padding-left: 20px;
    gap: 10px 0;
  }
  .o-works-item {
    gap: 30px;
  }
  .o-works-item p {
    line-height: 1.4;
    font-size: var(--px-to-rem_16);
    width: 250px;
  }
}
.o-works-label {
  display: inline-block;
  width: 17vw;
  height: 2em;
  font-size: var(--px-to-vw_9);
  font-weight: bold;
  background-color: #fff;
  border: 1px solid var(--color-main);
  color: var(--color-main);
  line-height: 1.8em;
  text-align: center;
}
@media (min-width: 40em) {
  .o-works-label {
    width: auto;
    font-size: var(--px-to-rem_12);
    line-height: 1.8em;
    width: 100px;
  }
}
.o-works-img {
  gap: 2.9vw;
  margin-top: 3.8vw;
}
.o-works-img__wrap {
  position: relative;
  cursor: pointer;
}
.o-works-img__wrap img {
  height: 17.33334vw;
  aspect-ratio: 245 / 130;
  object-fit: cover;
}
.o-works-img__wrap i {
  position: absolute;
  color: #fff;
  right: 8px;
  bottom: 8px;
  font-size: var(--px-to-vw_12);
}
@media (min-width: 40em) {
  .o-works-img {
    gap: 15px;
    margin-top: 0;
  }
  .o-works-img__wrap img {
    width: 100px;
    height: 100px;
  }
  .o-works-img__wrap i {
    right: 8px;
    bottom: 8px;
    font-size: var(--px-to-rem_15);
  }
}
/* -----------------------------------設備機器一覧------------------------------- */
.o-equipment--list {
  position: relative;
  margin-top: 6.67vw;
  padding: 9vw 0;
}
@media (min-width: 40em) {
  .o-equipment--list {
    margin-top: 55px;
    padding: 60PX 0;
  }
}
.o-equipment--list h2 {
  font-size: var(--px-to-vw_19);
  color: #fff;
  margin-bottom: 6vw;
}
.o-equipment--list h2::after {
  background: linear-gradient(to right, var(--color-main) 0%, var(--color-main) 50%, #fff 50%, #fff 100%);
}
.o-equipment--list > div> p {
  font-size: var(--px-to-vw_12);
  color: #fff;
  margin-bottom: 4vw;
}
@media (min-width: 40em) {
  .o-equipment--list h2 {
    font-size: var(--px-to-rem_30);
    margin-bottom: 25px;
  }
  .o-equipment--list > div> p {
    font-size: var(--px-to-rem_16);
    margin-bottom: 30px;
  }
}
.o-equipment--list ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* SP 2列 */
  gap: 6vw 4vw;
}
.o-equipment--list ul li {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.o-equipment--list ul li .bg {
  background: #fff;
  padding: 1vw;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.o-equipment--list ul li .image {
  aspect-ratio: 245 / 200; 
  width: 100%;
  height: auto;
  overflow: hidden;
  cursor: pointer;
}
.o-equipment--list ul li .image img {
  object-fit: cover;
  transform: scale(1.2);
}
.o-equipment--list ul li:nth-child(1) .image img {
  transform: scale(1.2) translateX(0%);
}
.o-equipment--list ul li:nth-child(3) .image img {
  transform: scale(1.8) translateY(17%);
}
.o-equipment--list ul li:nth-child(4) .image img {
  transform: scale(1.3) translateY(9%);
}
.o-equipment--list ul li:nth-child(7) .image img {
  transform: scale(1.2) translateX(-8%) translateY(1%);
}
.o-equipment--list ul li:nth-child(8) .image img {
  transform: scale(1.2) translateX(3%) translateY(7%);
}
.o-equipment--list ul li .text {
  margin: auto;
  padding: 2.6668vw 0 1.6668vw;
  text-align: center;
  flex-direction: column;
}
.o-equipment--list ul li .text .name {
  font-weight: bold;
  font-size: var(--px-to-vw_14);
  line-height: 1.57141em;
}
.o-equipment--list ul li .text .quantity {
  font-size: var(--px-to-vw_11);
  line-height: 1.5;
}
@media (min-width: 40em) {
  .o-equipment--list ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .o-equipment--list ul li .bg {
    padding: 8px;
  }
  .o-equipment--list ul li .text {
    padding: 20px 0 12px;
  }
  .o-equipment--list ul li .text .name {
    font-size: var(--px-to-rem_18);
    line-height: 26px;
  }
  .o-equipment--list ul li .text .quantity {
    font-size: var(--px-to-rem_14);
  }
}

.o-equipment--map {
  padding: 10vw 0;
}
.o-equipment--map__img img {
  width: 100%;
}
.o-equipment--map__btn {
  margin-top: 6.67vw;
}
.o-equipment--map__btn .c-btn {
  font-size: var(--px-to-vw_16);
  gap: 1em;
  padding: 0 1.5em 0 2.5em !important;
}
@media (min-width: 40em) {
  .o-equipment--map {
    padding: 80px 0;
  }
  .o-equipment--map__btn {
    margin-top: 6.67vw;
  }
  .o-equipment--map__btn .c-btn {
    font-size: var(--px-to-vw_16);
    gap: 1em;
    padding: 0 1.5em 0 2.5em !important;
  }
}
.o-equipment--table {
  padding: 12vw 0;
}
.o-equipment--table__scroll .scroll-hint-icon {
  top: calc(50% - 700px);
}
.o-equipment--table .col-name {
  width: calc((100% - 25.5%) / 2);
}
.o-equipment--table .col-spec {
  width: calc((100% - 25.5%) / 2);
}
.o-equipment--table .col-manufacturer {
  width: 18%;
}
.o-equipment--table .col-quantity {
  width: 7.5%;
}
@media (min-width: 40em) {
  .o-equipment--table {
    padding: 75px 0;
  }
}

/* -----------------------------------採用情報------------------------------- */
.o-recruit-slider {
  width: 100%;
  height: 80vw;
  overflow: hidden;
  margin-bottom: 8vw;
}
.o-recruit-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.o-recruit-slide {
  flex-shrink: 0;
  margin-right: 4vw;
}
.o-recruit-slide--large {
  max-width: 70vw;
  overflow: hidden;
  aspect-ratio: 450 / 430;
  width: 100%;
  height: auto;
}
.o-recruit-slide--group {
  max-width: 70vw;
}
.o-recruit-group {
  display: flex;
  flex-direction: column;
  gap: 4vw;
}
.o-recruit-group__wide {
  overflow: hidden;
  aspect-ratio: 450 / 205;
  width: 100%;
  height: auto;
}
.o-recruit-group__row {
  display: flex;
  gap: 4vw;
}
.o-recruit-group__col {
  flex: 1;
  overflow: hidden;
  aspect-ratio: 215 / 205;
  width: 100%;
  height: auto;
}
.o-recruit-slide img {
  display: block;
  width: 100%;
  object-fit: cover;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (min-width: 40em) {
  .o-recruit-slider {
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-bottom: 100px;
  }
  .o-recruit-track {
    display: flex;
    width: max-content;
    animation: marquee 60s linear infinite;
  }
  .o-recruit-slide {
    flex-shrink: 0;
    margin-right: 20px;
  }
  .o-recruit-slide--large {
    width: 85vw;
    max-width: 450px;
    overflow: hidden;
    aspect-ratio: 450 / 430;
    width: 100%;
    height: auto;
  }
  .o-recruit-slide--group {
    width: 70vw;
    max-width: 450px;
  }
  .o-recruit-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .o-recruit-group__wide {
    overflow: hidden;
    aspect-ratio: 450 / 205;
    width: 100%;
    height: auto;
  }
  .o-recruit-group__row {
    display: flex;
    gap: 20px;
  }
  .o-recruit-group__col {
    flex: 1;
    overflow: hidden;
    aspect-ratio: 215 / 205;
    width: 100%;
    height: auto;
  }
  .o-recruit-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
  }
}

.o-recruit--catchcopy {
  margin: 5vw 0 7vw;
  text-align: center;
  line-height: 1.3;
  font-weight: bold;
  font-size: var(--px-to-vw_28);
  text-align: left;
}
.o-recruit--catchcopy p {
  font-size: var(--px-to-vw_23);
}
@media (min-width: 40em) {
  .o-recruit--catchcopy  {
    text-align: center;
    margin: 10px 0 50px;
    font-size: var(--px-to-rem_50);
  }
  .o-recruit--catchcopy p {
  font-size: var(--px-to-rem_45);
}
}
.o-recruit--details {

}
.o-recruit--details h2 {
  margin-bottom: 8vw;
}
.o-recruit--new,
.o-recruit--mid {
  padding-bottom: 20vw;
}
@media (min-width: 40em) {
  .o-recruit--details h2 {
    margin-bottom: 20px;
  }
  .o-recruit--new,
  .o-recruit--mid {
    padding-bottom: 80px;
  }
}
.o-recruit--mainabi {
  margin-bottom: 6vw;
}
.o-recruit--mainabi__img {
  text-align: right;
  padding-right: 10px;
}
.o-recruit--mainabi__img img {
  width: 50vw;
  border: 1px solid #f0f0f0;
  margin-bottom: 2vw;
}

.o-recruit--mainabi p {
  font-size: var(--px-to-vw_15);
}
@media (min-width: 40em) {
  .o-recruit--mainabi {
    margin-bottom: 20px;
  }
  .o-recruit--mainabi__img {
    text-align: right;
    padding-right: 10px;
  }
  .o-recruit--mainabi__img:hover img {
    opacity: 0.8;
  }
  .o-recruit--mainabi__img img {
    width: 200px;
    margin-bottom: 0;
  }
  .o-recruit--mainabi div {
    padding-left: 10px
  }
  .o-recruit--mainabi p {
    font-size: var(--px-to-rem_18);
  }
}
.o-recruit--mid__btn {
  margin-bottom: 6vw;
}
.o-recruit--mid__btn .c-btn {
  line-height: 3;
  gap: 2em;
  padding: 0 1em 0 3em !important;
}
@media (min-width: 40em) {
  .o-recruit--mid__btn {
    margin-bottom: 20px;
  }
  .o-recruit--mid__btn .c-btn {
    font-size: var(--px-to-rem_16);
  }
}
.o-recruit--notes {
  margin-top: 5vw;
}
.o-recruit--notes ul {

}
.o-recruit--notes ul li {
  font-size: var(--px-to-vw_14);
  margin-bottom: 1vw;
}
.o-recruit--notes ul li:last-child {
  margin-bottom: 0;
}
@media (min-width: 40em) {
  .o-recruit--notes {
    margin-top: 20px;
  }
  .o-recruit--notes ul {

  }
  .o-recruit--notes ul li{
    font-size: var(--px-to-rem_16);
    margin-bottom: 5px;
  }
}

/* -----------------------------------社員紹介TOP------------------------------- */
.o-entry-content .o-member p,
.o-entry-content .o-member ul,
.o-entry-content .o-member li {
  margin: 0;
}
.o-member--catchphrease {
  padding-bottom: 11vw;
}
.o-member--catchphrease div {
  font-weight: bold;
  font-size: var(--px-to-vw_25);
  line-height: 1.4;
}
.o-member--catchphrease p {
  margin-top: 6vw !important;
  font-size: var(--px-to-vw_14);
  line-height: 1.6;
}
@media (min-width: 40em) {
  .o-member--catchphrease {
    padding-bottom: 60px;
  }
  .o-member--catchphrease div {
    font-size: var(--px-to-rem_30);
  }
  .o-member--catchphrease p {
    margin-top: 20px !important;
    font-size: var(--px-to-rem_16);
  }
}
.o-member--list {
  margin-bottom: 20vw;
}
.o-member--list__box {
  padding: 14vw var(--px-to-vw_10);
}
@media (min-width: 40em) {
  .o-member--list {
    margin-bottom: 70px;
  }
  .o-member--list__box {
    padding: 75px 0 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px 60px;
  }
}
.o-member--item {
  border: 1px solid #9D9D9D;
  margin-bottom: 13.5vw;
  overflow: hidden;
}
.o-member--item:last-child {
  margin-bottom: 0;
}
.o-member--item .image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  z-index: 3;
}
.o-member--item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.o-member--item .text {
  position: relative;
  padding: 4vw;
  background: #fff;
}
.o-member--item .text::after {
  content: "";
  position: absolute;
  bottom: 15%;
  right: -8%;
  width: 35vw;
  height: 16vw;
  background-image: url(../img/logo_gray.svg);
  background-repeat: no-repeat;
  z-index: 2;
}
.o-member--item .text h2 {
  position: absolute;
  font-size: var(--px-to-vw_25);
  top: -1.3em;
  left: 0;
  background: #fff;
  padding: 0.1em 0 0 4vw;
  display: block;
  width: fit-content;
  z-index: 3;
}
.o-member--item .text h2::before {
  content: "";
  position: absolute;
  top: 0;
  right: -1em;
  width: 1.8em;
  height: 100%;
  background: #fff;
  transform: skewX(35deg);
}
.o-member--item .text h2 i {
  position: relative;
  color: var(--color-main);
  font-size: var(--px-to-vw_18);
  margin-left: 4vw;
  transform: translateY(-0.1em);
  z-index: 3;
}
.o-member--item .text p {
  width: 5.5em;
  font-size: var(--px-to-vw_14);
  background-color: var(--color-main);
  border: 1px solid var(--color-main);
  color: #fff;
  line-height: 1.5em;
  text-align: center;
  margin-top: 4vw;
}
@media (min-width: 40em) {
  .o-member--item {
    margin-bottom: 0;
  }
  .o-member--item .image {
    aspect-ratio: 7 / 6;
  }
  .o-member--item .text {
    padding: 17px 15px;
  }
  .o-member--item .text::after {
    right: -10%;
    width: 160px;
    height: 90%;
  }
  .o-member--item .text h2 {
    font-size: var(--px-to-rem_30);
    top: -42px;
    padding: 8px 0 0 15px;
  }
  .o-member--item .text h2::before {
    top: 0;
    right: -0.8em;
    width: 1.5em;
    height: 80%;
    transform: skewX(35deg);
  }
  .o-member--item .text h2 i {
    font-size: var(--px-to-rem_18);
    margin-left: 20px;
    transform: translateY(-0.3em);
    transition: transform 0.3s ease;
  }
  .o-member--item:hover .text h2 i {
    transform: translate(6px, -0.3em);
  }
  .o-member--item .text p {
    width: 88px;
    font-size: var(--px-to-rem_14);
    margin-top: 25px;
  }
}
/* -----------------------------------社員紹介詳細------------------------------- */
.o-member-single__profile {
  position: relative;
  padding: 4vw 0 26vw;
}
.o-member-single__profile .bg {
  position: relative;
}
.o-member-single__profile .bg::after {
  content: "";
  position: absolute;
  top: -8vw;
  left: 0;
  width: 90%;
  height: 132%;
  background: linear-gradient(
    to bottom,
    #fbfbfb 0%,
    #d1d1d1 100%
  );
  clip-path: polygon(
    0 0,
    75% 0,
    100% 100%,
    0 100%,
    0 100%
  );
  z-index: -2;
}
@media (min-width: 40em) {
  .o-member-single__profile {
    padding: 90px 0 150px;
    flex-direction: row-reverse;
  }
  .o-member-single__profile .bg {
    position: relative;
  }
  .o-member-single__profile .bg::after {
    content: "";
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50vw);

    width: calc(50vw + 13rem);
    height: 500px;
    background: linear-gradient(
      to bottom,
      #fbfbfb 0%,
      #d1d1d1 100%
    );
    clip-path: polygon(
      0 0,
      calc(100% - 100px) 0,
      100% 100%,
      0 100%,
      0 100%
    );
    z-index: -2;
  }
}
.o-member-single__summary {
  margin-bottom: 16vw;
}
.o-member-single__summary::before {
  content: "";
  position: absolute;
  top: 13%;
  right: -23%;
  width: 53vw;
  height: 18%;
  background-image: url(../img/logo_gray.svg);
  background-repeat: no-repeat;
  z-index: -1;
}
.o-member-single__summary h2 {
  font-size: var(--px-to-vw_30);
}
.o-member-single__summary h2 span {
  display: inline-block;
  font-size: var(--px-to-vw_15);
  background-color: var(--color-main);
  border: 1px solid var(--color-main);
  color: #fff;
  line-height: 1.5em;
  padding: 0 1em;
  margin: 0 0 0 2em;
  transform: translateY(-0.3em);
  text-align: center;
}
.o-member-single__summary p {
  font-weight: bold;
  margin-top: 4vw;
  font-size: var(--px-to-vw_22);
  line-height: 1.6;
}
@media (min-width: 40em) {
  .o-member-single__summary {
    margin-bottom: 0;
    padding-left: 50px;
  }
  .o-member-single__summary::before {
    top: 38%;
    right: -28%;
    width: 465px;
    height: 37%;
  }
  .o-member-single__summary h2 {
    font-size: var(--px-to-rem_43);
    margin-top: 50px;
  }
  .o-member-single__summary h2 span {
    font-size: var(--px-to-rem_25);
    padding: 0 1.3em;
  }
  .o-member-single__summary p {
    margin-top: 45px;
    font-size: var(--px-to-rem_30);
  }
}
.o-member-single__visual .image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  position: relative;
}
.o-member-single__visual .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 40em) {
  .o-member-single__visual {
    padding-right: 40px;
  }
  .o-member-single__visual .image {
    aspect-ratio: 3 / 2;
  }
}

.o-member-single__values {
  padding: 16vw 0 13.5vw;
}
.o-member-single__values-content {
  background: #fff;
  padding: 16vw 4vw 8vw;
  margin-bottom: 16vw;
  text-align: center;
}
.o-member-single__values-content:last-child {
  margin-bottom: 0;
}
.o-member-single__values-content .c-speech-bubble {
  margin-top: -22vw;
}
.o-member-single__values-content p {
  margin-top: 8vw;
  font-size: var(--px-to-vw_16);
  text-align: left;
}
@media (min-width: 40em) {
  .o-member-single__values {
    padding: 70px 0;
  }
  .o-member-single__values-content {
    background: #fff;
    margin-left: 20px;
    padding: 65px 30px 40px;
    margin-bottom: 65px;
    text-align: center;
  }
  .o-member-single__values-content:last-child {
    margin-bottom: 0;
  }
  .o-member-single__values-content .c-speech-bubble {
    margin: -80px 0 0 -50px;
  }
  .o-member-single__values-content p {
    margin-top: 25px;
    font-size: var(--px-to-rem_16);
    text-align: left;
  }
}
.o-member-single__banner {
  padding: 10vw 0;
}
.o-member-single__banner .image {
  aspect-ratio: 99 / 45;
  width: 100%;
  height: auto;
  position: relative;
}
.o-member-single__banner .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 40em) {
  .o-member-single__banner {
    padding: 80px 0;
  }
  .o-member-single__banner .c-img-shadow {
    margin: 0 55px;
  }
  .o-member-single__banner .image img {
    width: 990px;
  }
}

.o-member-single__schedule {
  position: relative;
  color: #fff;
  padding: 16vw 0;
}
.o-member-single__schedule-heading h2::after {
  background: linear-gradient(to right, var(--color-main) 0%, var(--color-main) 50%, #fff 50%, #fff 100%);
}
.o-member-single__schedule-heading p {
  margin-top: 8vw;
  font-size: var(--px-to-vw_14);
}
@media (min-width: 40em) {
  .o-member-single__schedule {
    padding: 100px 0 40px;
  }
  .o-member-single__schedule-heading h2::after {
    background: linear-gradient(to right, var(--color-main) 0%, var(--color-main) 50%, #fff 50%, #fff 100%);
  }
  .o-member-single__schedule-heading p {
    margin: auto 0;
    font-size: var(--px-to-rem_16);
  }
}
.o-member-single__btn {
  padding: 6.667vw 0 13.5vw;
}
@media (min-width: 40em) {
  .o-member-single__btn {
    padding: 50px 0 100px;
  }
}
