.sp {
  display: none;
}
main{
  overflow: hidden;
}

.service2_top {
  position: relative;
  margin: 0 auto;
  width: 115rem;
  padding-bottom: 8.6rem;
}

.service2_top_sc {
  position: absolute;
  width: 115rem;
  z-index: -5;
  height: 39rem;
}

.pattern {
  position: absolute;
  width: 30rem;
  /* height: 30rem; */
  right: -16rem;
  bottom: -12rem;
  z-index: -6;
  /* transform: rotate(180deg); */
}

.service2_top_sc img {
  border-radius: 4rem;
}

.service2_title {
  writing-mode: vertical-rl;
  font-size: 1.7rem;
  display: flex;
  flex-flow: column;
  gap: 2rem;
  margin-left: 3.3rem;
  padding-top: 4.2rem;
}

.service2_title h1{
  background-color: #FF8900;
  height: fit-content;
  color: #FFFFFF;
  font-weight: 400;
  padding: 0.7rem 1.2rem;
  font-family: "Noto Serif JP", serif;
  width: 4.9rem;
  line-height: 3rem;
  letter-spacing: 1rem;
  text-shadow: 0rem 0.3rem 0.6rem #00000029;
  font-size: 2.5rem;
}

.section1 {
  margin-left: 6.5rem;
  margin-top: 8.5rem;
}

.service2_hukuoka_first {
  display: flex;
}

.service2_hukuoka_first_sc {
  width: 47rem;
  height: 50rem;
}

.service2_hukuoka_first_sc img {
  border-radius: 4rem;
}

.service2_hukuoka_first_text {
  margin-left: 4.5rem;
  width: 63.5rem;
}

.service2_hukuoka_first_text h3 {
  font-size: 2.5rem;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
}

.service2_hukuoka_first_text p {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 3rem;
  margin-top: 2rem;
}

.place {
  margin-bottom: 9.2rem;
  margin-top: 6.5rem;
}

.place_title {
  font-size: 4rem;
  font-family: "Noto Serif Jp";
  text-align: center;
  font-weight: 500;
  margin-bottom: 4rem;
}

.place_wrapper {
  display: flex;
  gap: 6.3rem;
  justify-content: center;
}

.place_box {
  width: 34.1rem;
  height: 40.9rem;
  background-color: #FFE8CE;
  border-radius: 4rem;
  padding: 4rem 1.5rem 0 1.6rem;
  position: relative;
}

.place_box::before {
  content: '';
  display: block;
  position: absolute;
  width: 34.1rem;
  height: 40.9rem;
  border: 0.1rem solid #000000;
  border-radius: 4rem;
  top: 0;
  left: 0;
  transform: rotate(352deg);
  z-index: -1;
}

.place_box_up {
  bottom: 7rem;
}

.place_box_title {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.2rem;
}

.place_box_text {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 3rem;
}

.service2_figure {
  width: 35.34rem;
  height: 57rem;
  margin-top: 10.8rem;
  margin-bottom: 10rem;
}

.service2_detailed_title {
  display: flex;
}

.service2_detailed_title h3 {
  font-size: 4rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}

.service2_detailed_title p {
  margin-left: 3.2rem;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 3rem;
}

.service2_detailed_content {
  display: flex;
  flex-wrap: wrap;
  gap: 5.5rem 8rem;
  margin-top: 6rem;
}

.service2_detailed_list div {
  width: 33rem;
  height: 33rem;
}

.service2_detailed_list div img {
  border-radius: 4rem;
}

.service2_detailed_list h4 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-top: 2rem;
}

.service2_detailed_list p {
  margin-top: 1rem;
  font-size: 1.6rem;
  line-height: 3rem;
  font-weight: 300;
  width: 33rem;
}

.section2 {
  margin-left: 6.5rem;
  margin-top: 12.7rem;
}

.service2_facility_title {
  font-size: 4rem;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
}

.service2_map {
  width: 115rem;
  height: 39rem;
  margin-top: 6rem;
  margin-bottom: 5rem;
}

.service2_map iframe {
  width: 100%;
  height: 100%;
  border-radius: 4rem;
}

.service2_facility_text {
  display: flex;
  font-size: 2rem;
  width: 105rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 0.2rem solid #000000;
}

.living {
  padding-bottom: 1rem;
}

.service2_facility_text h4 {
  padding-left: 3.5rem;
  width: 13.5rem;
  font-weight: 500;
}

.service2_facility_text p {
  margin-left: 14.15rem;
  font-weight: 500;
}

.contact {
  color: white;
  background-color: #FF8900;
  padding: 3rem 0 3rem 5.5rem;
  width: 115rem;
  margin: 23.8rem auto 15rem;
  
}

.contact_title {
  font-size: 4rem;
  width: 17.8rem;
  border-bottom: 0.1rem solid #ffffff;
  margin-bottom: 0.9rem;
  letter-spacing: 0.4rem;
}

.contact_content {
  display: flex;
  gap: 11.3rem;
}

.contact_text {
  font-size: 1.6rem;
  line-height: 3.8rem;
  margin-bottom:2.4rem;
}

.contact_img {
  width: 23.3rem;
  height: 13.3rem;
  position:relative;
  bottom:2.9rem;
}

.contact_link {
  display: block;
  width: 19.2rem;
  height: 5rem;
  background-color: white;
  color: black;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  line-height: 5rem;
  margin-left: 47.9rem;
  font-size: 2rem;
  border-radius: 2.5rem;
  border: 0.1rem solid #000000;
  padding-right:0.7rem;
  margin-top: -3rem;
  
}


@media screen and (max-width:699.98px) {
  main {
    overflow: hidden;
  }

  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .service2_top {
    width: 35.5rem;
    padding-bottom: 13.3rem;
  }

  .pattern {
    width: 22rem;
    right: -9rem;
    bottom: -10rem;
  }

  .service2_top_sc {
    width: 35.5rem;
    height: 40.3rem;
  }

  .service2_title {
    font-size: 1.4rem;
    gap: 1.6rem;
    margin-left: 2rem;
    padding-top: 3.5rem;
  }

  .service2_title h2 {
    padding: 1.6rem 0.8rem;
    width: 4.4rem;
    letter-spacing: 0.8rem;
  }

  .section1 {
    margin-left: 1rem;
    margin-top: 6.3rem;
    position: relative;
  }
  .pattern2{
    position: absolute;
    bottom: -2rem;
    left: -5rem;
    width: 22rem;
    z-index: -6;
    transform: rotateY(180deg);
  }

  .service2_hukuoka_first {
    display: block;
  }

  .service2_hukuoka_first_text {
    margin-left: 0rem;
    width: 35.5rem;
  }

  .service2_hukuoka_first_text h3 {
    font-size: 2rem;
    line-height: 3.5rem;
  }

  .service2_hukuoka_first_text p {
    margin-top: 1.2rem;
  }

  .service2_hukuoka_first_sc {
    margin-top: 1.6rem;
    width: 35.5rem;
    height: 33.5rem;
  }

  .place_title {
    font-size: 2.6rem;
    margin-bottom: 2.7rem;
  }

  .place_box {
    width: 26.2rem;
    height: 44.2rem;
    padding: 2.9rem 1.7rem 0;
    margin: 0 auto;
  }

  .place_box::before {
    width: 26.2rem;
    height: 44.2rem;
  }

  .place_box_title {
    font-size: 1.8rem;
  }

  .place_box_text {
    font-size: 1.6rem;
    line-height: 2.5rem;
  }

  .swiper_content_wrapper {
    position: relative;
  }

  .swiper-button-prev,
  .swiper-button-next {
    position: absolute;
    top: 20rem;
    width:4.6rem;
    height:4.6rem;
  }

  .swiper-button-prev {
    left: 2rem;
  }

  .swiper-button-next {
    right: 2rem;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 4.6rem;
    width: 4.6rem;
  }

  .swiper-button-prev::after {
    background-image: url(../img/newswiperarrow.png);
    transform: rotate(180deg);
  }

  .swiper-button-next::after {
    background-image: url(../img/newswiperarrow.png);

  }

  .service2_figure {
    margin-top: 5rem;
    width: 33rem;
    height: 53.23rem;
    margin-left: 1.3rem;
    margin-bottom: 19.1rem;
  }

  .service2_detailed_title {
    display: block;
  }

  .service2_detailed_title h3 {
    font-size: 2.7rem;
  }

  .service2_detailed_title p {
    margin-left: 0;
    margin-top: 1rem;
  }

  .service2_detailed_content {
    margin-top: 2.4rem;
    flex-flow: column;
    gap: 4rem;
  }

  .service2_detailed_list div {
    width: 35.5rem;
    height: 29.5rem;
  }

  .service2_detailed_list h4 {
    margin-top: 1rem;
  }

  .service2_detailed_list p {
    margin-top: 0.3rem;
    width: 35.5rem;
  }

  .section2 {
    margin-left: 1rem;
    margin-top: 4rem;
  }

  .service2_facility_title {
    font-size: 2.7rem;
  }

  .service2_map {
    width: 35.5rem;
    height: 21.4rem;
    margin-top: 1.6rem;
    margin-bottom: 2rem;
  }

  .service2_facility_text {
    flex-flow: column;
    font-size: 1.5rem;
    width: 35.5rem;
  }

  .service2_facility_text h4 {
    padding-left: 1rem;
  }

  .service2_facility_text p {
    margin-left: 0;
    padding-left: 1rem;
    margin-top: 0.6rem;
    line-height: 2.4rem;
  }

  .home_pricing_big_title{
    width:4rem;
    padding-right:0.5rem;
    writing-mode:initial;
  }

  .service2_facility_text_margin {
    margin-left: 0;
  }

  .living {
    padding-bottom: 2rem;
    margin-top: 0.4rem;
  }

  .contact {
    width: 35rem;
    padding: 4rem 1.2rem 1rem;
    margin-bottom:8rem;
    margin-top:8rem;
  }

  .contact_title {
    font-size: 3rem;
    width: 13.3rem;
    margin: 0 auto 1.6rem;
    letter-spacing:0.3rem;

  }

  .contact_content {
    display: block;
  }

  .contact_text {
    margin-bottom: 1.7rem;
    line-height:3rem;
  }

  .contact_link {
    margin: 0 auto 5rem;
    padding-right:0.2rem;
    font-size:1.6rem;
    
  }

  .contact_img {
    width: 16.5rem;
    height: 9.4rem;
    margin: 0 auto ;
  }
}