/*---------------------------------------------
    common
---------------------------------------------*/
.button {
  text-align: center;
}
.button a::before {
  background: #000;
  bottom: 4px;
  content: "";
  display: inline-block;
  height: 1px;
  margin-right: 8px;
  position: relative;
  width: 30px;
}

.section-ttl {
  color: #ec6300;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 24px;
  text-align: center;
}

/*---------------------------------------------
    mv
---------------------------------------------*/
.mv {
  left: 0;
  margin-bottom: 16px;
  position: relative;
  top: 0;
}
.mv img {
  display: block;
}
.mv h1 {
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  bottom: 0;
  display: block;
  font-size: 2rem;
  height: 70px;
  left: 0;
  letter-spacing: 3px;
  line-height: 1.4;
  margin: auto;
  padding: 16px 0 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 14%;
  width: 200px;
}
.mv h1 .en {
  color: #ec6300;
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0;
}
@media screen and (max-width: 500px) {
  .mv h1 {
    top: 4%;
  }
}
.mv h1 span {
  display: block;
  font-size: 1.2rem;
}
.mv header {
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}
.mv .mv-contact {
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 110px;
  width: 474px;
  z-index: 1000000000000000000000;
}
.mv .mv-contact li {
  height: 40px;
  margin-right: 8px;
  width: 40px;
}

@media screen and (max-width: 1160px) {
  .mv .mv-contact {
    right: 5%;
  }
}
.fixed {
  position: fixed;
  top: 30px;
  z-index: 1000;
}

/*---------------------------------------------
    maintenance
---------------------------------------------*/
.maintenance {
  background: #fff;
  box-shadow: 0px 0px 15px -5px #3d3d3d;
  margin: 0 auto;
  margin-bottom: 40px;
  padding-bottom: 40px;
  padding-top: 24px;
  position: relative;
  top: -80px;
  width: 90%;
  z-index: 99;
}
.maintenance .inner {
  margin: 0 auto;
  width: 90%;
}
.maintenance .txt {
  margin-bottom: 16px;
}
@media screen and (max-width: 500px) {
  .maintenance .txt {
    font-size: 1.4rem;
  }
}
.maintenance .note {
  position: relative;
}
.maintenance .note ol {
  list-style: none;
  margin: 0 auto;
  width: 90%;
}
.maintenance .note ol li {
  color: #004fa2;
  margin-bottom: 16px;
}
@media screen and (max-width: 500px) {
  .maintenance .note ol li {
    font-size: 1.4rem;
  }
}
.maintenance .note ol li .num {
  background: #004fa2;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  height: 30px;
  margin-right: 8px;
  text-align: center;
  width: 30px;
}
.maintenance .note .img-list {
  display: flex;
  gap: 16px;
}
.maintenance .note::after {
  background: url(../images/common/character_01.png) no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: auto;
  height: 80px;
  position: absolute;
  right: 30px;
  top: 0px;
  width: 40px;
  z-index: 9999;
}
@media screen and (max-width: 500px) {
  .maintenance .note::after {
    right: 10px;
  }
}

/*---------------------------------------------
    works
---------------------------------------------*/
.works {
  background: #fff;
  box-shadow: 0px 0px 15px -5px #3d3d3d;
  margin: 0 auto;
  margin-bottom: 40px;
  padding-bottom: 40px;
  padding-top: 24px;
  position: relative;
  top: -80px;
  width: 90%;
  z-index: 99;
}
.works .inner {
  margin: 0 auto;
  width: 90%;
}
.works .txt {
  margin-bottom: 16px;
}
@media screen and (max-width: 500px) {
  .works .txt {
    font-size: 1.4rem;
  }
}
.works .works-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}
@media screen and (max-width: 500px) {
  .works .works-list {
    flex-direction: column;
  }
}
.works .works-list li {
  margin-bottom: 16px;
  width: 48%;
}
@media screen and (max-width: 500px) {
  .works .works-list li {
    margin: 0 auto 24px;
    width: 90%;
  }
}
.works .works-list li .img img {
  display: block;
}
.works .works-list li .name {
  color: #ec6300;
  font-size: 1.2rem;
  text-align: center;
}
@media screen and (max-width: 500px) {
  .works .works-list li .name {
    font-size: 1.3rem;
  }
}
.works .works-list li:last-child {
  background: #fde6d2;
  color: #ec6300;
  font-weight: bold;
  height: 0;
  padding-top: 35.2%;
  position: relative;
  text-align: center;
}
@media screen and (max-width: 500px) {
  .works .works-list li:last-child {
    padding-top: 60%;
  }
}
.works .works-list li:last-child .txt {
  align-items: center;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}
@media screen and (max-width: 500px) {
  .works .works-list li:last-child .txt {
    font-size: 1.4rem;
  }
}
.works .works-list li:last-child::before {
  background: url(../images/common/character_02.png) no-repeat;
  background-size: contain;
  bottom: -40px;
  content: "";
  display: block;
  height: 80px;
  left: 10px;
  position: absolute;
  width: 80px;
}
.works .works-list li:last-child::after {
  background: url(../images/common/character_03.png) no-repeat;
  background-position: top right;
  background-size: contain;
  bottom: -40px;
  content: "";
  display: block;
  height: 80px;
  position: absolute;
  right: -10px;
  width: 80px;
}

/*---------------------------------------------
    product（製品販売：works ベース拡張）
---------------------------------------------*/
.works .contact-btn {
  margin: 16px auto 32px;
  max-width: 360px;
  text-align: center;
}
.works .contact-btn a {
  background: #ec6300;
  border-radius: 30px;
  color: #fff;
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 12px 16px;
  transition: opacity 0.3s;
}
.works .contact-btn a:hover {
  opacity: 0.85;
}
@media screen and (max-width: 500px) {
  .works .contact-btn a {
    font-size: 1.4rem;
    padding: 12px;
  }
}

/* 各カード（既存 .works .works-list を継承、product 限定で上書き） */
.works .product-list li:not(:last-child) {
  background: #fff;
  border: 1px solid #e3e3e3;
  margin-bottom: 24px;
  padding: 12px 12px 16px;
}
.works .product-list li .img {
  margin-bottom: 12px;
  overflow: hidden;
  padding-top: 75%;
  position: relative;
}
.works .product-list li .img img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}
.works .product-list li .img .img-hover {
  opacity: 0;
  transition: opacity 0.4s;
}
.works .product-list li:hover .img .img-hover {
  opacity: 1;
}
.works .product-list li .model {
  color: #ec6300;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 12px;
  text-align: center;
}
.works .product-list li .btn {
  margin: 0 auto;
  max-width: 200px;
  text-align: center;
}
.works .product-list li .btn a {
  background: #ec6300;
  border-radius: 30px;
  color: #fff;
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 8px 12px;
  transition: opacity 0.3s;
}
.works .product-list li .btn a:hover {
  opacity: 0.85;
}

/* 末尾「お問い合わせ」カード：左キャラを消し、右キャラを character_05.png に差し替え */
.works .product-list li:last-child::before {
  content: none;
}
.works .product-list li:last-child::after {
  background-image: url(../images/common/character_05.png);
}

/*---------------------------------------------
    client
---------------------------------------------*/
.client {
  background: #fff;
  box-shadow: 0px 0px 15px -5px #3d3d3d;
  margin: 0 auto;
  padding-bottom: 40px;
  padding-top: 24px;
  position: relative;
  top: -80px;
  width: 90%;
  z-index: 99;
}
.client .inner {
  margin: 0 auto;
  width: 90%;
}
.client .txt {
  margin-bottom: 16px;
}
@media screen and (max-width: 500px) {
  .client .txt {
    font-size: 1.4rem;
  }
}
.client .client-list {
  margin: 0 auto;
  position: relative;
  width: 88%;
}
@media screen and (max-width: 500px) {
  .client .client-list {
    width: 94%;
  }
}
.client .client-list li .small {
  font-size: 60%;
}
@media screen and (max-width: 500px) {
  .client .client-list li {
    font-size: 1.4rem;
  }
}
.client .client-list::after {
  background: url(../images/common/character_04.png) no-repeat;
  background-position: top right;
  background-size: contain;
  content: "";
  display: block;
  height: 120px;
  position: absolute;
  right: -30px;
  top: 20px;
  width: 120px;
}
@media screen and (max-width: 500px) {
  .client .client-list::after {
    height: 100px;
    right: -10px;
    width: 100px;
  }
}