.pd-100 {
  padding: 0 100px 0;
}

.contact_button_flex01 span {
  color: #ffffff !important;
}

.service_container {
  padding: 85px 0;
  background-image: url("image/wood_grain_behind.png");
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  box-sizing: border-box;
}

.service_wrapper {
  max-width: 1366px;
}

.service_content p {
  padding: 20px 0;
}

.contact_button_container {
  width: 240px;
  height: 40px;
}

.contact_button_wrapper {
  width: 100%;
  height: 100%;
  box-shadow: 5px 5px 0px 0px #a7a7a7;
  border-radius: 5px;
  background-color: #1e2c59;
  overflow: hidden;
  transition: all 0.2s ease;
  transform: translate(0, 0);
  position: relative;
  top: 0;
  left: 0;
}

.contact_button_wrapper:hover {
  box-shadow: 0px 0px 0px 0px #a7a7a7;
  transform: translate(2px, 2px);
  background-color: #1a264d;
}

.contact_button_flex_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  height: 100%;
}

.contact_button_flex_content a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

.contact_button_flex01 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact_button_flex01 i {
  font-size: 16px;
}

.contact_button_flex02 {
  position: relative;
  bottom: 2px;
}

.slider_container {
  text-align: center;
  padding: 100px 0;
}

.slider_container h1 {
  /* 指定値 50px; */
  font-size: 30px;
}

.slider_container p {
  font-size: 20px;
  padding: 20px 0;
}

.slider_content span {
  color: #0068E2;
  font-size: 40px;
}

.service_details_container {
  background-color: #f5f5f5;
  /* 仮設定 */
  padding: 100px 0;
}

.details_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 指定値 間100px */
  gap: 25px;
}

.grid_item {
  padding: 20px 20px 100px;
  color: #ffffff;

  /* 仮設定 */
  background-color: #1e2c59;
}

.grid_item h1 {
  font-size: 30px;
}

.grid_item p {
  font-size: 20px;
  /* 仮設定 */
  padding: 20px 0 0;
}

.service_request_container {
  background-color: #f5f5f5;
}

.request_wrapper {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
  margin-left:  25px;
  box-sizing: border-box;
}
.request_content h1,
.flex_item h1 {
  font-size: 30px;
}

.request_content,
.flex_item p {
  font-size: 20px;
}

.request_content p {
  padding: 20px 0 0;
  font-size: 16px;
}

.request_details_area {
  display: flex;
  /* 仮設定 */
  gap: 20px;
  padding: 50px 0 0;
}

.request_details_area .flex_item {
  width: 375px;
  height: 300px;
  text-align: center;
  background-color: #f4f4f4;
  padding: 20px;
  box-shadow: 2px 2px 5px #d5d5d5;
}

.ceo_message_container {
  background-color: #ebebeb;
  padding: 50px 25px 100px 0;
  padding-top: 60px;
  padding-bottom: 60px;
}

.ceo_message_wrapper {
  background-color: #ffffff;
  display: flex;
  gap: 20px;
  height: auto;
  padding-bottom: 20px;
  box-shadow: 0 10px 40px rgba(16, 79, 161, 0.2);
  box-sizing: border-box;
}

.ceo_message_wrapper .flex_item {
  width: 510px;
  height: auto;
  text-align: center;
  flex: 1;
}
.ceo_message_content01,
.ceo_message_content02{
  position: relative;
  bottom: 20px;
}
.ceo_message_content01 h1{
  text-align: left;
  font-size: 25px;
}
.ceo_message_content01 p:first-of-type {
  padding: 20px 0 0;
}
.ceo_message_content01 p{
  text-align: left;
  font-size: 18px;
  margin-bottom: 20px;
}
.ceo_message_content02 img {
  box-shadow: 35px 35px 0px 0px #A0D7EB;
  height: 420px;
  width: 510px;
  object-fit: cover;
  border-radius: 10px;
}

.floor_creaking_container {
  background-image: url("image/3abe.png");
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  padding: 20px 0;
}

.floor_creaking_wrapper {
  display: flex;
  padding: 0 0 0 100px;
  background-color: #ffffff;
}

.floor_creaking_content01,
.floor_creaking_content02 {
  flex: 1;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.floor_creaking_content01 {
  z-index: 1;
}

/*
.floor_creaking_content01::after {
  content: "";
  position: absolute;
  top: 0px;
  right: -60px;
  bottom: 0;
  width: 20px;
  background-color: red;
  transform: skewX(-30deg);
  transform-origin: 0 0;
  z-index: 2;
}
*/
.floor_creaking_content02 {
  background-color: #87ceeb;
  z-index: 5;
  right: 0;
}

.floor_creaking_wrapper .contact_button_container {
  padding: 10px 0 0;
}
.floor_creaking_content01 {
  padding: 100px 0;
  padding-bottom: 90px;
  width: 50%;
}

.floor_creaking_content01 h1 {
  font-size: 30px;
}

.floor_creaking_content01 h1 span {
  font-size: 35px;
}

.floor_creaking_content01 p {
  font-size: 16px;
  line-height: 40px;
  font-weight: bold;
}

.floor_creaking_content01 span {
  color: #0068e2;
  font-weight: bold;
}

.floor_creaking_content02 {
  background-color: #a2d7eb;
  text-align: end;
  z-index: 100;
  width: 40%;
  height: 100%;
  clip-path: polygon( 30% 0, 100% 0, 100% 100%, 0 100% );
}
.floor_creaking_content02{
  width: 70%;
  height: auto;
  display: block;
}
.floor_creaking_img_on{
  text-align: end;
  margin-top: -447px;
  position: relative;
  z-index: 200;
}
.floor_creaking_img_on img{
  position: relative;
  width: 617px;
  height: 447px;
  position: relative;
  z-index: 10;
}

@media(max-width:900px){
  .floor_creaking_container {
    padding:50px 0;
    padding-bottom: 0;
  }
  .floor_creaking_wrapper {
    padding: 20px;
    flex-wrap: wrap;
  }
  .floor_creaking_content01,
  .floor_creaking_content02 {
    flex: 1;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }

  .floor_creaking_content01 {
    z-index: 1;
  }

  /*
  .floor_creaking_content01::after {
    content: "";
    position: absolute;
    top: 0px;
    right: -60px;
    bottom: 0;
    width: 20px;
    background-color: red;
    transform: skewX(-30deg);
    transform-origin: 0 0;
    z-index: 2;
  }
  */
  .floor_creaking_content02 {
    background-color: #87ceeb;
    z-index: 5;
    right: 0;
  }

  .floor_creaking_wrapper .contact_button_container {
    padding: 10px 0 0;
  }
  .floor_creaking_content01 {
    padding: 10px;
    padding-bottom: 90px;
    width: 100%;
  }
  .floor_creaking_content01 h1 {
    font-size: 20px;
  }

  .floor_creaking_content01 h1 span {
    font-size: 25px;
  }

  .floor_creaking_content01 p {
    font-size: 16px;
    line-height: 40px;
    font-weight: bold;
  }

  .floor_creaking_content01 span {
    color: #0068e2;
    font-weight: bold;
  }

  .floor_creaking_content02 {
    background-color: #a2d7eb;
    text-align: end;
    z-index: 100;
    width: 100%;
    height: 100%;
    clip-path: polygon( 180% 0, 100% 0, 100% 100%, 0 100% );
  }
  .floor_creaking_content02{
    width: 70%;
    height: auto;
    display: block;
  }
  .floor_creaking_img_on{
    text-align: end;
    margin-top: -90px;
    position: relative;
    z-index: 200;
  }
  .floor_creaking_img_on img{
    position: relative;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
    object-fit: contain;
    bottom: -6px;
  }
  .floor_creaking_content01, .floor_creaking_content02{
    flex: auto;
  }
  .ceo_message_wrapper{
    flex-wrap: wrap;
  }
  .ceo_message_wrapper .flex_item{
    width: 100%;
    height: auto;
  }

  .ceo_message_content01 p {
      text-align: left;
      font-size: 14px;
      margin-bottom: 20px;
  }
  .ceo_message_wrapper{
    padding: 20px;
  }
  .ceo_message_content01, .ceo_message_content02 {
      bottom: 40px;
  }
  .ceo_message_wrapper .flex_item{
    flex: auto;
  }
  .ceo_message_content02 img {
      width: 100%;
      box-shadow: 20px 20px 0px 0px #A0D7EB;
      height: 320px;
  }
}

.swiper-slide {
  border: solid;
  border-color: #f5f5f5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15),
              0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  height: 400px;
}
.swiper-slide {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  text-align: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
    display: flex;
    justify-content: center;
}
.swiper-slide:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.18),
    0 12px 20px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.swiper-slide:hover img {
  transform: scale(1.05);
}
.swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, transparent 60%);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
}

.swiper-slide:hover::after {
  left: 125%;
}

.swiper-slide img {
  width: 100%;
  height: 350px;
}

.swiper-button-prev,
.swiper-button-next {
  width: 50px !important;
  height: 50px !important;
  top: 88% !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #333 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px !important;
  font-weight: bold !important;
  color: #333 !important;
}

.swiper-button-prev::after {
  content: "◀" !important;
}

.swiper-button-next::after {
  content: "▶" !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px) !important;
}

@media(max-width:768px){
  .service_container .pd-100{
    padding: 10px;
    margin: 0 auto;
  }
  .slider_container{
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .slider_container .pd-100{
    padding: 10px;
    margin: 0 auto;
  }
  .slider_container h1{
    font-size: 25px;
  }
  .slider_container h1 span{
    font-size: 30px;
  }
  .slider_content p{
    font-size: 16px;
    text-align: left;
  }
  .details_wrapper .pd-100{
    padding: 50px;
  }
}
@media (max-width: 768px) {
  .details_wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .details_wrapper > * {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
}
@media (max-width: 768px) {
  .details_wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .grid_item {
    width: 95%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
    .details_wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.request_details_area {
    display: flex;
    gap: 20px;
    padding: 50px 0 0;
    justify-content: space-between;
    min-width: 1000px;
}
.request_details_area .flex_item img{
  width: 200px;
}
@media(max-width:768px){
  .request_wrapper{
    margin-left: 0;
  }
  .request_details_area{
    min-width: 100%;
    flex-direction: column;
  }
  .service_request_container .pd-100{
    padding: 20px;
  }
  .request_details_area .flex_item{
    width: 90%;
  }
  .request_details_area p{
    font-size: 16px;
  }
  .grid_item{
    box-sizing: border-box;
  }
  .grid_item h1{
    font-size: 25px;
  }
  .grid_item p{
    font-size: 16px;
  }
}
.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  background: none !important;
  -webkit-mask-image: none !important;
          mask-image: none !important;
}

/* Font Awesomeアイコンに変更 */
.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
  font-family: "Font Awesome 6 Free"; /* バージョンに合わせる */
  font-weight: 900; /* Solidアイコン用 */
  font-size: 20px;  /* お好みで調整 */
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.swiper .swiper-button-next::after {
  content: "\f054"; /* fa-chevron-right のコード */
}

.swiper .swiper-button-prev::after {
  content: "\f053"; /* fa-chevron-left のコード */
}
