h2 {
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans JP", sans-serif;
  background-image: url(../img/home/bg_h2.webp);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: 0 0;
  padding: 0px 0 0 10px;
  transform: translateX(-10px);
  font-size: 32px;
}
@media (max-width: 999px) {
  h2 {
    background-position: 3px 3px;
    background-size: 15px 15px;
    font-size: 30px;
    margin-bottom: 10px;
  }
}
@media (max-width: 781px) {
  h2 {
    font-size: 36px;
  }
}
h2 * {
  position: relative;
  z-index: 10;
}
h2::before, h2::after {
  content: none;
}
h2 span {
  font-weight: normal;
  color: #666;
  margin-left: 5px;
  display: block;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
  font-size: 50%;
}

a.textlink {
  color: #343434;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: end;
  transition: all 0.2s;
  font-size: 13px;
}
a.textlink::after {
  content: "";
  display: inline;
  width: 23px;
  height: 7px;
  background-image: url(../img/icon/arrow/arrow_textlink.webp);
  background-size: cover;
  margin-left: 10px;
}
a.textlink:hover {
  opacity: 0.8;
}

footer,
.footer {
  margin-top: 0;
}

.hero {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 165px;
  position: relative;
}
@media (max-width: 999px) {
  .hero {
    margin-bottom: 100px;
  }
}
@media (max-width: 781px) {
  .hero {
    margin-bottom: 50px;
  }
}
.hero .swiper .swiper-wrapper .swiper-slide {
  aspect-ratio: 1200/590;
  max-height: 590px;
}
.hero .swiper .swiper-wrapper .swiper-slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
  pointer-events: none;
  transition: transform 10s linear;
  transform: scale(1.2);
}
.hero .swiper .swiper-wrapper .swiper-slide.swiper-slide-active img, .hero .swiper .swiper-wrapper .swiper-slide.swiper-slide-prev img {
  transform: scale(1);
}
.hero_text {
  position: absolute;
  left: 0;
  bottom: 35px;
  font-size: 32px;
  padding: 5px 30px 10px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 15;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.12em;
  line-height: 1.25;
  font-weight: 500;
}
.hero_text span {
  line-height: 1.25;
  border-bottom: 2px solid #5a5a5a;
  display: inline-block;
}
@media (max-width: 999px) {
  .hero_text {
    font-size: 24px;
    padding: 3px 20px 10px;
    bottom: 20px;
  }
}
@media (max-width: 781px) {
  .hero_text {
    font-size: 20px;
    padding: 3px 10px 10px;
    bottom: 15px;
  }
}

.iabout {
  margin: 110px 0 260px;
}
@media (max-width: 999px) {
  .iabout {
    margin: 80px 0;
  }
}
.iabout_wrapper {
  display: flex;
  position: relative;
  justify-content: end;
}
@media (max-width: 1199px) {
  .iabout_wrapper {
    gap: 50px;
  }
}
@media (max-width: 999px) {
  .iabout_wrapper {
    gap: 30px;
  }
}
@media (max-width: 781px) {
  .iabout_wrapper {
    gap: 10px;
    flex-direction: column;
  }
}
.iabout_image {
  width: calc(50% + 100px);
  max-width: 620px;
  position: absolute;
  left: -100px;
  top: 0;
  margin-top: 70px;
}
@media (max-width: 1199px) {
  .iabout_image {
    width: 50%;
    left: 0;
    position: inherit;
  }
}
@media (max-width: 999px) {
  .iabout_image {
    margin-top: 10px;
  }
}
@media (max-width: 781px) {
  .iabout_image {
    width: 100%;
    margin: 0 auto;
  }
}
.iabout_image > div {
  position: relative;
  aspect-ratio: 620/420;
}
.iabout_image > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
  position: absolute;
  z-index: 10;
}
.iabout_image > div::after {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../img/home/about/bg_about.webp);
  background-size: cover;
  position: absolute;
  top: -100px;
  left: -100px;
  z-index: 5;
}
@media (max-width: 1199px) {
  .iabout_image > div::after {
    top: -10px;
    left: -10px;
  }
}
.iabout_text {
  width: 50%;
}
@media (max-width: 781px) {
  .iabout_text {
    width: 100%;
  }
}
.iabout_text p {
  line-height: 2;
}
@media (max-width: 999px) {
  .iabout_text p {
    line-height: 1.5;
  }
}
.iabout h2 {
  margin-top: 0;
}
@media (max-width: 1199px) {
  .iabout h2 + * {
    margin-top: 0px;
  }
}

.iproject {
  margin: 100px 0;
}

.card_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin: 0px 0 80px;
}
@media (max-width: 999px) {
  .card_list {
    gap: 40px;
  }
}
@media (max-width: 781px) {
  .card_list {
    gap: 20px;
  }
}
.card_list > div {
  width: calc(33% - 40px);
  position: relative;
}
@media (max-width: 999px) {
  .card_list > div {
    width: calc(33% - 26.6666666667px);
  }
}
@media (max-width: 781px) {
  .card_list > div {
    width: calc(50% - 10px);
  }
}
@media (max-width: 419px) {
  .card_list > div {
    width: 100%;
  }
}
.card_list > div a {
  position: relative;
  width: 100%;
  display: block;
  aspect-ratio: 360/400;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  color: #eeeeee;
}
.card_list > div a::before, .card_list > div a::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(to top, #141414 0%, rgba(20, 20, 20, 0) 50%);
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.2s ease-in;
  z-index: 10;
}
.card_list > div a::before {
  opacity: 0;
  z-index: 11;
  background: linear-gradient(to top, #b8874a 0%, rgba(184, 135, 74, 0) 50%);
}
.card_list > div a .image {
  width: 100%;
  height: 100%;
  display: block;
}
.card_list > div a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
  position: absolute;
  transition: all 0.2s ease-out;
}
.card_list > div a .text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  display: inline-block;
  z-index: 15;
}
@media (max-width: 999px) {
  .card_list > div a .text {
    font-size: 20px;
    bottom: 20px;
    left: 20px;
  }
}
@media (max-width: 781px) {
  .card_list > div a .text {
    font-size: 18px;
    bottom: 30px;
  }
}
.card_list > div a .text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background-color: #fff;
}
.card_list > div a:hover img {
  transform: scale(1.1);
}
.card_list > div a:hover::before {
  opacity: 1;
}
.card_list > div a:hover::after {
  opacity: 0;
}

.iwork .btn:not(.contact) {
  margin-top: 20px;
  background-color: #b8874a;
  border: 1px solid #b8874a;
  min-width: 240px;
}
.iwork .btn:not(.contact):hover {
  background-color: #b8874a;
  color: #fff;
  opacity: 0.8;
}

.work-swiper {
  overflow: visible;
  position: relative;
  width: 100vw;
  overflow-x: hidden;
  left: 50%;
  transform: translateX(-50%);
}
.work-swiper::after {
  content: "";
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100vw;
  height: 2px;
  background-color: #cccccc;
}
.work-swiper .swiper-wrapper {
  padding-bottom: 120px;
  box-sizing: border-box;
}
.work-swiper .swiper-wrapper .swiper-slide {
  max-width: 360px;
}
.work-swiper .swiper-wrapper .swiper-slide a {
  display: block;
  position: relative;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
  color: #343434;
}
.work-swiper .swiper-wrapper .swiper-slide a .image {
  aspect-ratio: 360/225;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.work-swiper .swiper-wrapper .swiper-slide a img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  vertical-align: bottom;
  position: absolute;
  transition: all 0.2s;
}
.work-swiper .swiper-wrapper .swiper-slide a .cat {
  font-weight: 600;
  padding: 0 15px;
}
@media (max-width: 781px) {
  .work-swiper .swiper-wrapper .swiper-slide a .cat {
    font-size: 15px;
    padding: 0 10px;
  }
}
.work-swiper .swiper-wrapper .swiper-slide a .title {
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.12em;
}
.work-swiper .swiper-wrapper .swiper-slide a:hover {
  opacity: 0.8;
}
.work-swiper .swiper-wrapper .swiper-slide a:hover img {
  transform: scale(1.1);
}
.work-swiper .swiper-pagination {
  top: auto !important;
  bottom: 0px !important;
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 781px) {
  .work-swiper .swiper-pagination {
    bottom: 30px !important;
  }
}
.work-swiper .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff !important;
  border: 2px solid #a45c32 !important;
  border-radius: 50%;
  opacity: 1;
}
.work-swiper .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #a45c32 !important;
  border-color: #a45c32 !important;
}
.work-swiper .swiper-button-prev, .work-swiper .swiper-button-next {
  width: 40px;
  height: 40px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-image: url(../img/icon/arrow/swiper_button.webp);
  transition: all 0.2s;
  background-size: cover;
  left: 10px;
  right: auto !important;
  top: auto !important;
  bottom: 0;
}
.work-swiper .swiper-button-prev::after, .work-swiper .swiper-button-next::after {
  content: none !important;
}
@media (max-width: 781px) {
  .work-swiper .swiper-button-prev, .work-swiper .swiper-button-next {
    bottom: 30px;
  }
}
@media (max-width: 781px) {
  .work-swiper .swiper-button-prev, .work-swiper .swiper-button-next {
    left: 0px;
    width: 30px;
    height: 30px;
  }
}
.work-swiper .swiper-button-prev:hover, .work-swiper .swiper-button-next:hover {
  background-image: url(../img/icon/arrow/swiper_button_hover.webp);
}
.work-swiper .swiper-button-next {
  transform: rotate(180deg);
  left: 70px;
}
@media (max-width: 781px) {
  .work-swiper .swiper-button-next {
    left: 40px;
  }
}

.inews {
  margin: 100px 0 0;
  padding: 80px 20px;
  box-sizing: border-box;
  position: relative;
}
@media (max-width: 999px) {
  .inews {
    margin: 80px 0 0;
  }
}
@media (max-width: 781px) {
  .inews {
    margin: 60px 0 0;
    padding: 60px 10px;
  }
}
.inews * {
  position: relative;
  z-index: 10;
}
.inews::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100vw;
  height: 100%;
  background-image: url(../img/home/news/inews_bg.webp);
}
.inews_container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
}
@media (max-width: 781px) {
  .inews_container {
    padding: 30px 20px;
  }
}
.inews h2 {
  background: transparent;
  margin-bottom: 20px;
}
.inews h2 span {
  margin-top: 10px;
}
.inews .newsline_list {
  margin-bottom: 2em;
}

.inited {
  transition: all 1s ease-out;
}

.slideUP.init {
  opacity: 0;
  transform: translateY(100px);
}
.slideUP.inited {
  transform: translateY(0px);
}

.slideUP_s.init {
  opacity: 0;
  transform: translateY(50px);
}
.slideUP_s.inited {
  transform: translateY(0px);
}

.slideDown.init {
  opacity: 0;
  transform: translateY(-100px);
}
.slideDown.inited {
  transform: translateY(0px);
}

.slideRight.init {
  opacity: 0;
  transform: translateX(-100px);
}
.slideRight.inited {
  transform: translateX(0px);
}

.slideLeft.init {
  opacity: 0;
  transform: translateX(100px);
}
.slideLeft.inited {
  transform: translateX(0px);
}

.showRight.init {
  clip-path: inset(0 100% 0% 0);
}
.showRight.inited {
  clip-path: inset(0 0% 0% 0);
  transition: all 1.5s ease-in-out;
}

.showLeft.init {
  clip-path: inset(0 0% 0% 100%);
}
.showLeft.inited {
  clip-path: inset(0 0% 0% 0);
  transition: all 1.5s ease-in-out;
}

.showTop.init {
  clip-path: inset(100% 0 0% 0);
}
.showTop.inited {
  clip-path: inset(0 0% 0% 0);
  transition: all 1.5s ease-in-out;
}

.showbottom.init {
  clip-path: inset(0 0% 100% 0);
}
.showbottom.inited {
  clip-path: inset(0 0% 0% 0);
  transition: all 1.5s ease-in-out;
}

.delay01 {
  transition-delay: 0.1s;
}

.delay02 {
  transition-delay: 0.2s;
}

.delay03 {
  transition-delay: 0.3s;
}

.delay04 {
  transition-delay: 0.4s;
}

.delay05 {
  transition-delay: 0.5s;
}

.delay06 {
  transition-delay: 0.6s;
}

.delay07 {
  transition-delay: 0.7s;
}

.delay08 {
  transition-delay: 0.8s;
}

.delay09 {
  transition-delay: 0.9s;
}

.delay1 {
  transition-delay: 1s;
}

.delay2 {
  transition-delay: 2s;
}

.delay3 {
  transition-delay: 3s;
}
