@charset "UTF-8";
/* CSS Document */


.breadcrumb {
    margin: 95px 0 5px;
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        margin: 85px 0 5px;
    }
}
@media screen and (max-width: 500px) {
    .breadcrumb {
        margin: 70px 0 5px;
    }
}


/* =========================
  works共通
========================= */
.works-bg {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}
.works-bg::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 70%;
  background: url(../img/works/works-bg-pc.webp) no-repeat center bottom / cover;
}
@media screen and (max-width: 700px) {
  .works-bg::after {
    height: 80%;
    background: url(../img/works/works-bg-sp.webp) no-repeat center bottom / cover;
  }
}

.works-ttl-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.works-ttl-wrap__num {
  position: relative;
  flex-shrink: 0;
  padding-left: 50px;
  color: #00bce3;
  font-weight: 700;
  line-height: 1;
}
.works-ttl-wrap__num::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 7px;
  background: #00bce3;
  transform: translateY(-50%);
}
.works-ttl-wrap__ttl {
  flex-shrink: 0;
  font-weight: 700;
  line-height: 1.3;
}
.works-ttl-wrap__line {
  display: block;
  flex: 1;
  height: 2px;
  background: #00bce3;
}
.works__desc {
  margin-top: 15px;
}
.works__card-wrap {
  display: flex;
  gap: 15px;
  margin-top: 60px;
}
.works-card {
  width: calc((100% - 30px) / 3);
}
.works-card__img img {
  display: block;
  aspect-ratio: 388 / 260;
  object-fit: cover;
  border-bottom: 6px solid #274870;
}
.works-card__txt-wrap {
  padding: 10px;
  border-bottom: 6px solid #274870;
  text-align: center;
  background: #fff;
}
.works-card__company {
  font-size: 1.4rem;
  line-height: 1.5;
}
.works-card__name {
  font-weight: 600;
  line-height: 1.4;
}

.works-other {
  margin-top: 45px;
  padding: 60px 20px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  background: #fff;
}
.works-other__btn {
  position: relative;
  width: 100%;
  border: none;
  background: transparent;
  color: #274870;
  text-align: center;
  cursor: pointer;
}
.works-other__ttl {
  font-weight: 700;
}
.works-other__icon {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
}
.works-other__icon::before,
.works-other__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #274870;
  transform: translate(-50%, -50%);
  transition: .3s;
}
.works-other__icon::before {
  width: 26px;
  height: 3px;
}
.works-other__icon::after {
  width: 3px;
  height: 26px;
}

.works-other.is-open .works-other__icon::after {
  opacity: 0;
}
.works-other__content {
  display: none;
  margin-top: 40px;
}
.works-other.is-open .works-other__content {
  display: block;
}
.works-other__list-wrap {
  display: flex;
  gap: 35px;
}
.works-other__list {
  width: calc((100% - 70px) / 3);
}
.works-other__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-top: 1px solid #274870;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.works-other__list li:last-child {
  border-bottom: 1px solid #274870;
}
/* ===== PC（常に開く） ===== */
@media screen and (min-width: 850px) {
  .works-other__content {
    display: block !important;
  }
  .works-other__btn {
    pointer-events: none;
  }
  .works-other__icon {
    display: none;
  }
}
@media (max-width: 850px) {
  .works-ttl-wrap {
    gap: 12px;
  }
  .works-ttl-wrap__num {
    padding-left: 35px;
  }
  .works-ttl-wrap__num::before {
    width: 28px;
    height: 4px;
  }
  .works__card-wrap {
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin: 40px auto 0;
  }
  .works-card {
    width: 100%;
  }
  .works-card__txt-wrap {
    padding: 15px 10px 10px;
  }
  .works-card__company {
    font-size: 1.3rem;
  }
  .works-other__list-wrap {
    flex-direction: column;
    gap: 0;
  }
  .works-other__list {
    width: 100%;
  }
  .works-other__item {
    padding: 10px;
    font-size: 1.6rem;
  }
  .works-other__list li:last-child {
    border-bottom:none;
  }
  .works-other {
    margin-top: 45px;
    padding: 20px;
  }

  .works-other__content {
    margin-top: 30px;
  }

  .works-other__icon {
    right: 15px;
    width: 20px;
    height: 20px;
  }

  .works-other__icon::before {
    width: 20px;
    height: 2px;
  }

  .works-other__icon::after {
    width: 2px;
    height: 20px;
  }
}


/* =========================
  works-mv
========================= */

.works-mv {
  position: relative;
  height: 770px;
  background: url(../img/works/works-mv.webp) no-repeat center center / cover;
  padding: 60px;
}
.works-mv__inner {
  position: relative;
  height: 100%;
}
.works-mv__box {
  position: absolute;
  top: 70px;
  left: 0;
  z-index: 2;
  width: 340px;
  padding: 35px 25px 30px;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(0, 188, 227, .85);
  text-align: center;
}
.works-mv__sub {
  color: #00bce3;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.works-mv__ttl {
  margin-top: 10px;
  padding: 10px 20px 15px;
  background: #00bce3;
  color: #fff;
  line-height: 1.2;
  text-align: center;
  font-size: 4rem;
}
.works-mv__txt {
  display: inline-block;
  margin-top: 35px;
  text-align: left;
  line-height: 1.9;
}

@media (max-width: 850px) {
  .works-mv {
    height: 620px;
    background: url(../img/works/works-mv-sp.webp) no-repeat center center / cover;
  }
  .works-mv__box {
    top: 100px;
    left: 50%;
    width: calc(100% - 40px);
    max-width: 480px;
    padding: 35px 25px 30px;
    box-shadow: 10px 10px 0 rgba(0, 188, 227, .85);
    transform: translateX(-50%);
  }
  .works-mv__sub {
    font-size: 1.7rem;
  }
  .works-mv__ttl {
    margin-top: 15px;
    padding: 15px 20px 18px;
  }
}
@media screen and (max-width: 500px) {
  .works-mv {
    height: 520px;
  }
  .works-mv__box {
    top: 60px;
    padding: 30px 25px;
  }
  .works-mv__ttl {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 3.2rem;
  }
  .works-mv__txt {
    margin-top: 20px;
    line-height: 1.8;
  }
}

@media screen and (max-width: 410px) {
  .works-mv {
    padding: 40px;
  }
  .works-mv__ttl {
    font-size: 2.8rem;
  }
}
@media screen and (max-width: 370px) {
  .works-mv {
        padding: 30px;
    }
  .works-mv__ttl {
    font-size: 2.5rem;
  }
  .works-mv__txt {
    font-size: 1.8rem;
  }
}


/* =========================
  works-nav
========================= */

.works-nav {
  margin-top: 60px;
}
.works-nav__list {
  display: flex;
  gap: 20px;
}
.works-nav__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc((100% - 80px) / 5);
  padding: 15px;
  border-radius: 20px;
  background: #f7f8fa;
}
.works-nav__txt-wrap {
  text-align: center;
}
.works-nav__num {
  color: #00bce3;
  font-weight: 700;
  line-height: 1.2;
}
.works-nav__name {
  margin-top: 5px;
  color: #274870;
  font-weight: 700;
  line-height: 1.4;
}
.works-nav__line {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 15px;
  background: #274870;
}
.works-nav__icon {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  margin: 15px auto 0;
  border: 2px solid #eceff2;
  border-radius: 50%;
  background: #fff;
}
.works-nav__icon::before,
.works-nav__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%; /* ←これが重要 */
  width: 12px;
  height: 3px;
  background: #274870;
  border-radius: 10px;
}
.works-nav__icon::before {
  transform: translate(-80%, -50%) rotate(45deg);
}
.works-nav__icon::after {
  transform: translate(-20%, -50%) rotate(-45deg);
}

@media (max-width: 850px) {
  .works-nav {
    margin-top: 40px;
  }
  .works-nav__list {
    flex-direction: column;
    gap: 20px;
  }
  .works-nav__item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
  }
  .works-nav__txt-wrap {
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
  }
  .works-nav__num {
    line-height: 1;
  }
  .works-nav__name {
    margin-top: 0;
    min-height: auto;
    line-height: 1.4;
  }
  .works-nav__line {
    width: 2px;
    height: 40px;
    margin: 0 20px 0 auto;
  }
  .works-nav__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: 0;
    border-width: 4px;
  }
  .works-nav__icon::before,
  .works-nav__icon::after {
    top: 50%;
    left: 50%;
    width: 12px;
    height: 3px;
  }
  .works-nav__icon::before {
    transform: translate(-80%, -50%) rotate(45deg);
  }
  .works-nav__icon::after {
    transform: translate(-20%, -50%) rotate(-45deg);
  }
}

/* =========================
  works-office
========================= */




@media (max-width: 850px) {
  .works-office__ttl-wrap {
    gap: 10px;
    padding-bottom: 10px;
  } 
  
}

/* =========================
  works-medical
========================= */

.works-medical__card-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
  margin-top: 60px;
}
.works-card--wide .works-card__name {
    letter-spacing: -0.05rem;
  }

@media (max-width: 850px) {
  .works-medical__ttl-wrap {
    gap: 10px;
    padding-bottom: 10px;
  }
  .works-medical__num {
    padding-left: 35px;
  }
  .works-medical__num::before {
    width: 28px;
    height: 4px;
  }
  .works-medical__card-wrap {
    gap: 30px;
    margin-top: 40px;
  }
  
}


/* =========================
  works-commercial
========================= */

.works-commercial__card-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
  margin-top: 60px;
}
.works-commercial__card-wrap .works-card--center {
  margin: 0 auto;
}

@media (max-width: 850px) {

  .works-commercial__card-wrap {
    gap: 30px;
    margin-top: 40px;
  }

}


/* =========================
  works-public
========================= */

.works-public__card-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
  margin-top: 60px;
}
.works-public__card-wrap .works-card--center {
  margin: 0 auto;
}

@media (max-width: 850px) {
 
  .works-public__card-wrap {
    gap: 30px;
    margin-top: 40px;
  } 
}

/* =========================
  works-culture
========================= */

.works-culture__card-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
  margin-top: 60px;
}
.works-culture__card-wrap .works-card--center {
  margin: 0 auto;
}
@media (max-width: 850px) {
 
  .works-culture__card-wrap {
    gap: 30px;
    margin-top: 40px;
  }
}