@charset "UTF-8";
.workstemplate-header {
  background-color: #D80000;
  padding: 64px 0;
}
.workstemplate-header .heading {
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}
.workstemplate-header .desc {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
}

.workstemplate-main {
  padding-top: 80px;
}
.workstemplate-main .heading-gr {
  margin-bottom: 40px;
}
.workstemplate-main .heading-gr time {
  color: #0F653A;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.workstemplate-main .heading-gr .title {
  color: #D80000;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.workstemplate-main .heading-gr .cat ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.workstemplate-main .heading-gr .cat li {
  color: #0F653A;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 8px 16px;
  background-color: #E6F2EA;
  border-radius: 50px;
}
.workstemplate-main .box {
  background-color: #F7F7F7;
  padding: 40px;
  border-radius: 20px;
}
.workstemplate-main .box .lr {
  display: flex;
  justify-content: space-between;
}
.workstemplate-main .box .lr .left {
  width: 30%;
}
.workstemplate-main .box .lr .left .image {
  width: 100%;
}
.workstemplate-main .box .lr .left .image img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.workstemplate-main .box .lr .left .image.noimage {
  padding: 40px;
  background-color: #fff;
}
.workstemplate-main .box .lr .right {
  padding-left: 32px;
  width: 70%;
}
.workstemplate-main .box .lr .right .copy {
  margin-top: 48px;
  color: #D80000;
  font-size: 2.8rem;
  font-weight: 600;
  border-bottom: 2px solid #D80000;
  margin-bottom: 16px;
  padding-bottom: 16px;
}
.workstemplate-main .box .lr .right .desc {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2;
  margin-bottom: 16px;
}
.workstemplate-main .spirit {
  margin-top: 100px;
  width: 90%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.workstemplate-main .spirit h2 {
  margin-top: 48px;
  color: #D80000;
  font-size: 2.8rem;
  font-weight: 600;
  border-bottom: 2px solid #D80000;
  margin-bottom: 32px;
  padding-bottom: 16px;
}
.workstemplate-main .spirit ul {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.workstemplate-main .spirit ul li .lr {
  display: flex;
  justify-content: space-between;
}
.workstemplate-main .spirit ul li .lr .left {
  width: 120px;
}
.workstemplate-main .spirit ul li .lr .left figure img {
  width: 120px;
  height: 120px;
  background-color: #eee;
  border-radius: 50%;
  display: block;
  border: solid 1px #0F653A;
}
.workstemplate-main .spirit ul li .lr .left figure figcaption {
  color: #0F653A;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
}
.workstemplate-main .spirit ul li .lr .right {
  width: calc(100% - 120px - 40px);
}
.workstemplate-main .spirit ul li .lr .right .gray {
  position: relative;
  background-color: #F7F7F7;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.287);
}
.workstemplate-main .spirit ul li .lr .right .gray::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  -webkit-clip-path: polygon(100% 0, 0 50%, 100% 100%);
          clip-path: polygon(100% 0, 0 50%, 100% 100%);
  background-color: #F7F7F7;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.287);
}
.workstemplate-main .spirit ul li .lr .right .gray p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2;
}

.workstemplate-gal {
  margin-top: 80px;
}
.workstemplate-gal .items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 1%;
}
.workstemplate-gal .items::after {
  content: "";
  width: 24%;
}
.workstemplate-gal .items .item {
  width: 24%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.workstemplate-gal .items .item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  background-color: #ddd;
  transition: transform 0.5s ease;
}
.workstemplate-gal .items .item:hover {
  cursor: pointer;
}
.workstemplate-gal .items .item:hover img {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.workstemplate-conclution {
  margin-top: 100px;
  margin-bottom: 100px;
  width: 90%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.workstemplate-conclution h2 {
  margin-top: 48px;
  color: #D80000;
  font-size: 2.8rem;
  font-weight: 600;
  border-bottom: 2px solid #D80000;
  margin-bottom: 32px;
  padding-bottom: 16px;
}
.workstemplate-conclution .gray {
  background-color: #F7F7F7;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.287);
}
.workstemplate-conclution .gray p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2;
}

/* === モーダル共通 === */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.image-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.image-modal__content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 90%;
  height: 90vh;
  background-color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.287);
}

.image-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  color: #333333;
  z-index: 2;
}

/* モーダル表示中は背景スクロール禁止 */
body.is-modal-open {
  overflow: hidden;
}

/* === Swiper部分 === */
.image-modal__swiper {
  width: 100%;
  height: 100%;
}

.image-modal__swiper .swiper-wrapper {
  align-items: center;
}

.image-modal__swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal__swiper .swiper-slide img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  display: block;
}

/* ナビボタン調整（必要に応じて調整） */
.image-modal__swiper .swiper-button-prev,
.image-modal__swiper .swiper-button-next {
  color: #000;
  width: 38px !important;
  height: 38px;
  border-radius: 50%;
  background-color: #000;
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 1.6rem !important;
  color: #fff !important;
}

.image-modal__swiper .swiper-pagination-bullet {
  background: #ffffff;
}

.l_works-upper {
  background-color: #D80000;
  padding: 64px 0;
}
.l_works-upper .desc {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  font-weight: 400;
  text-align: center;
}

.l_works-cat {
  padding: 40px 0;
}
.l_works-cat .container {
  width: 100%;
}
.l_works-cat .container .lr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.l_works-cat .container .lr .left {
  width: auto;
}
.l_works-cat .container .lr .left .heading {
  color: #D80000;
  font-size: 3.2rem;
  font-weight: 600;
}
.l_works-cat .container .lr .left .heading .jpn {
  font-size: 2.4rem;
  font-weight: 600;
}
.l_works-cat .container .lr .left .heading .eng {
  margin-top: 4.8px;
  width: 200px;
  display: block;
  opacity: 0.4;
}
.l_works-cat .container .lr .right {
  padding-left: 32px;
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  gap: 1%;
}
.l_works-cat .container .lr .right a {
  display: block;
  width: 24%;
  text-align: center;
  color: #0F653A;
  font-size: 1.5rem;
  font-weight: 600;
  border: solid 1px #D80000;
  color: #D80000;
  padding: 8px;
}
.l_works-cat .container .lr .right a.this {
  background-color: #D80000;
  color: #fff;
}

.l_works-list {
  padding: 80px 0;
  background-color: #F7F7F7;
}
.l_works-list .items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 1.3%;
}

.l-nothing {
  padding-top: 80px;
  padding-bottom: 80px;
}
.l-nothing h2 {
  font-size: 2.4rem;
  text-align: center;
  line-height: 1.5;
}
.l-nothing .btn {
  margin-top: 40px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .workstemplate-header {
    padding: 32px 0;
  }
  .workstemplate-header .heading {
    font-size: 2.8rem;
    margin-bottom: 16px;
  }
  .workstemplate-header .desc {
    font-size: 1.3rem;
  }
  .workstemplate-main {
    padding-top: 40px;
  }
  .workstemplate-main .heading-gr {
    margin-bottom: 24px;
  }
  .workstemplate-main .heading-gr time {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  .workstemplate-main .heading-gr .title {
    font-size: 2.4rem;
    margin-bottom: 8px;
  }
  .workstemplate-main .heading-gr .cat ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6.4px;
  }
  .workstemplate-main .heading-gr .cat li {
    font-size: 1.25rem;
    padding: 4.8px 4px;
  }
  .workstemplate-main .box {
    padding: 24px;
    border-radius: 10px;
  }
  .workstemplate-main .box .lr {
    display: block;
  }
  .workstemplate-main .box .lr .left {
    width: 100%;
  }
  .workstemplate-main .box .lr .right {
    margin-top: 16px;
    padding-left: 0;
    width: 100%;
  }
  .workstemplate-main .box .lr .right .copy {
    margin-top: 24px;
    font-size: 2rem;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  .workstemplate-main .box .lr .right .desc {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 8px;
  }
  .workstemplate-main .spirit {
    margin-top: 40px;
    width: 100%;
  }
  .workstemplate-main .spirit h2 {
    margin-top: 24px;
    font-size: 1.8rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }
  .workstemplate-main .spirit ul {
    gap: 32px;
  }
  .workstemplate-main .spirit ul li .lr .left {
    width: 80px;
  }
  .workstemplate-main .spirit ul li .lr .left figure img {
    width: 80px;
    height: 80px;
  }
  .workstemplate-main .spirit ul li .lr .left figure figcaption {
    font-size: 1.1rem;
    margin-top: 4.8px;
  }
  .workstemplate-main .spirit ul li .lr .right {
    width: calc(100% - 80px - 20px);
  }
  .workstemplate-main .spirit ul li .lr .right .gray {
    padding: 24px 12px;
    border-radius: 8px;
  }
  .workstemplate-main .spirit ul li .lr .right .gray::before {
    top: 24px;
    width: 20px;
    height: 20px;
    transform: translateX(-100%);
  }
  .workstemplate-main .spirit ul li .lr .right .gray p {
    font-size: 1.3rem;
    line-height: 1.8;
  }
  .workstemplate-gal {
    margin-top: 40px;
  }
  .workstemplate-gal .items {
    gap: 8px 0;
    justify-content: space-between;
  }
  .workstemplate-gal .items::after {
    width: 48.75%;
  }
  .workstemplate-gal .items .item {
    width: 48.75%;
  }
  .workstemplate-conclution {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
  }
  .workstemplate-conclution h2 {
    margin-top: 24px;
    font-size: 1.8rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }
  .workstemplate-conclution .gray {
    padding: 24px 12px;
    border-radius: 8px;
  }
  .workstemplate-conclution .gray p {
    font-size: 1.3rem;
    line-height: 1.8;
  }
  .image-modal__swiper .swiper-button-prev, .image-modal__swiper .swiper-button-next {
    top: initial;
    bottom: 32px;
  }
  .l_works-upper {
    padding: 32px 0;
  }
  .l_works-upper .desc {
    font-size: 1.5rem;
  }
  .l_works-cat {
    padding: 24px 0;
  }
  .l_works-cat .container .lr {
    display: block;
  }
  .l_works-cat .container .lr .left {
    width: auto;
  }
  .l_works-cat .container .lr .left .heading .jpn {
    font-size: 1.8rem;
  }
  .l_works-cat .container .lr .left .heading .eng {
    margin-top: -12px;
    width: 125px;
  }
  .l_works-cat .container .lr .right {
    padding-left: 0;
    width: 100%;
    gap: 8px 0;
    justify-content: space-between;
  }
  .l_works-cat .container .lr .right a {
    width: 48.75%;
    text-align: center;
    font-size: 1.2rem;
    padding: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .l_works-list {
    padding: 80px 0;
    background-color: #F7F7F7;
  }
  .l_works-list .items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 1.3%;
  }
  .l-nothing {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .l-nothing h2 {
    font-size: 1.8rem;
  }
  .l-nothing .btn {
    margin-top: 24px;
  }
}/*# sourceMappingURL=works.css.map */