/*
Theme Name: RS_HOME
*/

/* 使用カラー */
:root {
  --black: #3C3C3C;
  --dark-gray: #7C7C7C;
  --light-gray: #D8D8D8;
  --off-white: #FCFCFA;
  --light-green: #D3E3D8;
  --green: #72A37F;
  --light-blue: #D4E0EB;
  --blue: #4978B9;
  --light-pink: #F4E1DB;
  --pink: #D17379;
  --light-brown: #EAE2D0;
  --brown: #988775;
  --text_area: rgba(252, 252, 250, 0.2);
}

/* 使用フォント */
:root {
  --NotoSans: 'Noto Sans JP', sans-serif;
  /* Regular 400 Medium 500 Bold 700 Black 900 */
  --Ubuntu: 'Ubuntu', sans-serif;
  /* Medium 500 Bold 700 */
  --ZenOldMincho: 'Zen Old Mincho', serif;
  /* Regular 400 */
}

body {
  background-color: var(--light-pink);
  color: var(--black);
}

/* input,textarea,select,span{
  font-family: var(--NotoSans);
} */
/* 左固定エリア▼ */
.contact_title_wrap {
  width: 32rem;
  margin: 27rem auto 10rem;
  margin-top: max(270px);
  color: var(--black);
}

.contact_title_wrap h1 {
  font-family: var(--Jost);
  font-size: 7rem;
  font-weight: 500;
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
  line-height: 1.214em;
}

.ob_lifestyle {
  font-family: var(--NotoSans);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 11rem;
  letter-spacing: 0.02em;
  line-height: 1.75em;
  position: relative;
}

.ob_lifestyle::before {
  content: "";
  width: 21.3rem;
  height: 2rem;
  background-color: var(--off-white);
  display: block;
  position: absolute;
  top: 1.1rem;
  left: -0.9rem;
  border-radius: 0.5rem;
  z-index: -9;

}

.title_description {
  font-family: var(--NotoSans);
  width: 29.4rem;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.875em;
  letter-spacing: 0.02em;
}

/* 左固定エリア▲ */

.container {
  /* width: 50%; */
  margin-bottom: 13.4rem;
}

.lifestyle_illustration {
  width: 70rem;
  height: 80rem;
  /* bottomで指定しているところあり。 */
  position: relative;
  overflow: hidden;
  margin-bottom: 12rem;
}

/* 画像配置▼ 全てleftからの位置に合わせています*/
.niche {
  width: 20rem;
  height: auto;
  position: absolute;
  top: 5.05rem;
  left: 2.5rem;
}

.bar_counter {
  width: 23.7rem;
  height: auto;
  position: absolute;
  top: 19.9rem;
  left: 2.5rem;
}

.big_set {
  width: 17.204rem;
  height: auto;
  position: absolute;
  top: 37rem;
  left: 2.5rem;
}

.lamp {
  width: 10.3rem;
  height: auto;
  position: absolute;
  bottom: 15.5rem;
  left: 6rem;
  z-index: -9;
}

.living {
  width: 19.3rem;
  height: auto;
  position: absolute;
  bottom: 2.2rem;
  ;
  left: 3.3rem;
}

.sunny_bbq {
  width: 15.744rem;
  height: auto;
  position: absolute;
  top: 17.2rem;
  left: 20.5rem;
  z-index: -9;
}

.member {
  width: 13.4rem;
  height: auto;
  position: absolute;
  top: 32.3rem;
  left: 20.5rem;
  z-index: -9;
}

.coffee {
  width: 18.2rem;
  height: auto;
  position: absolute;
  bottom: 17.9rem;
  left: 14.5rem;
}

.european {
  width: 19.4rem;
  height: auto;
  position: absolute;
  bottom: 2rem;
  left: 19.3rem;
}

.cooking_study {
  width: 21.6rem;
  height: auto;
  position: absolute;
  top: 6.9rem;
  left: 27.1rem;
}

.kitchen {
  width: 22.6rem;
  height: auto;
  position: absolute;
  top: 20.7rem;
  left: 30.1rem;
  z-index: -10;
}

.healing_space {
  width: 18.8rem;
  height: auto;
  position: absolute;
  top: 35.9rem;
  left: 30.9rem;
}

.wood_deck {
  width: 15.8rem;
  height: auto;
  position: absolute;
  bottom: 14.3rem;
  left: 32.4rem;
}

.yoga {
  width: 20rem;
  height: auto;
  position: absolute;
  bottom: 1.8rem;
  left: 32.7rem;
  z-index: -9;
}

.support {
  width: 18.9rem;
  height: auto;
  position: absolute;
  top: 9rem;
  left: 50.9rem;
}

.cooking_good {
  width: 18.9rem;
  height: auto;
  position: absolute;
  top: 21.7rem;
  left: 50.9rem;
}

.children {
  width: 19.1rem;
  height: auto;
  position: absolute;
  top: 32.3rem;
  left: 42.9rem;
  z-index: -9;
}

.secret_base {
  width: 18.9rem;
  height: auto;
  position: absolute;
  top: 43.6rem;
  left: 49.9rem;
}

.tent {
  width: 19.5rem;
  height: auto;
  position: absolute;
  bottom: 12.3rem;
  left: 43.5rem;
  z-index: -9;
}

.day_off {
  width: 22.3rem;
  height: auto;
  position: absolute;
  top: 59.7rem;
  left: 47.2rem;

}

.instagram_ob {
  object-fit: cover;
  position: relative;
  /* top: 5rem; */
  width: 100%;
  overflow: hidden;
  height: 100%;
  /* object-fit: cover; */
  /* padding-bottom: 10rem; */
}

.instagram_ob_top {
  width: 25.2rem;
  height: 25.2rem;
  /* margin-bottom: 1rem; */
  z-index: 0;
  position: relative;
}

.instagram_ob iframe {
  width: 100%;
  height: 100%;
  min-width: auto !important;
  /* margin-bottom: 10rem; */
  position: absolute;
  top: -56px;
  margin-bottom: 0 !important;
  height: 125%;
  z-index: 0;
  transform: scale(1.1);
}

.instagram_blog_text {
  width: 26.7rem;
  height: 30.6rem;
  background-color: var(--off-white);
  padding: 0.8rem;
  position: relative;
}

.insta_text_title {
  text-align: right;
  padding-right: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 1rem;
  font-family: var(--NotoSans);
}

.owners_insta_blog {
  display: flex;
  flex-wrap: wrap;
  gap: 9.8rem 4.6rem;
  margin-top: 6rem;
  /* margin-bottom: 17rem; */
  padding: 0 6rem;
}

.instagram_blog_text:nth-child(even) {
  position: relative;
  bottom: -15rem;
  top: auto;
}

.instagram_blog_text:nth-child(1) {
  border-radius: 0 4rem 0 4rem;
}

.instagram_blog_text:nth-child(1)::after {
  content: "";
  background-image: url(../img/owners_life_img01.png);
  width: 9rem;
  display: inline-block;
  height: 9rem;
  position: absolute;
  object-fit: cover;
  z-index: -1;
  bottom: -6.8rem;
  left: 13rem;
  background-size: cover;
}

.instagram_blog_text:nth-child(1) .instagram_ob:first-child {
  border-radius: 0 4rem 0 4rem;
  z-index: 0;
}

.instagram_blog_text:nth-child(2) {
  border-radius: 0 5rem 0 5rem;
}

.instagram_blog_text:nth-child(2) .instagram_ob:first-child {
  border-radius: 0 5rem 0 5rem;
}

.instagram_blog_text:nth-child(3) {
  border-radius: 5rem 0 5rem 0;
}

.instagram_blog_text:nth-child(3) .instagram_ob:first-child {
  border-radius: 5rem 0 5rem 0;
}

.instagram_blog_text:nth-child(4) {
  border-radius: 5rem;
}

.instagram_blog_text:nth-child(4)::after {
  content: "";
  background-image: url(../img/owners_life_img02.png);
  width: 13rem;
  display: inline-block;
  height: 15rem;
  position: absolute;
  object-fit: cover;
  z-index: -1;
  top: -9rem;
  left: -3rem;
  background-size: cover;
}

.instagram_blog_text:nth-child(4) .instagram_ob:first-child {
  border-radius: 5rem;
}

.instagram_blog_text:nth-child(5) {
  border-radius: 0 0 5rem 5rem;
}

.instagram_blog_text:nth-child(5) .instagram_ob:first-child {
  border-radius: 0 0 5rem 5rem;
}

.instagram_blog_text:nth-child(6) {
  border-radius: 12rem 12rem 0 0;
}

.instagram_blog_text:nth-child(6) .instagram_ob:first-child {
  border-radius: 12rem 12rem 0 0;
}

.instagram_blog_text:nth-child(7) {
  border-radius: 0 0 5rem 5rem;
}

.instagram_blog_text:nth-child(7)::after {
  content: "";
  background-image: url(../img/owners_life_img03.png);
  width: 9rem;
  display: inline-block;
  height: 14rem;
  position: absolute;
  object-fit: cover;
  z-index: -1;
  top: -10rem;
  left: 0rem;
  background-size: cover;
}

.instagram_blog_text:nth-child(7) .instagram_ob:first-child {
  border-radius: 0 0 5rem 5rem;
}

.instagram_blog_text:nth-child(8) {
  border-radius: 5rem 5rem 0 0;
}

.instagram_blog_text:nth-child(8)::after {
  content: "";
  background-image: url(../img/owners_life_img04.png);
  width: 13rem;
  display: inline-block;
  height: 15rem;
  position: absolute;
  object-fit: cover;
  z-index: -1;
  top: -9rem;
  left: -4rem;
  background-size: cover;
}

.instagram_blog_text:nth-child(8) .instagram_ob:first-child {
  border-radius: 5rem 5rem 0 0;
}

.instagram_blog_text:nth-child(9) {
  border-radius: 5rem 0 5rem 0;
}

.instagram_blog_text:nth-child(9) .instagram_ob:first-child {
  border-radius: 5rem 0 5rem 0;
}

.instagram_blog_text:nth-child(10) {
  border-radius: 5rem;
}

.instagram_blog_text:nth-child(10) .instagram_ob:first-child {
  border-radius: 5rem;
}

.owners_insta_blog .instagram_ob:nth-child(1) {
  /* border-radius: 2rem; */
  /* z-index: 0; */
}

/* .instagram_blog_text:last-child{
  margin-bottom: 17rem;
} */

/* 偶数 */
.instagram_blog_text:nth-child(even):last-child{
  margin-bottom: 32rem;
}

/* 奇数 */
.instagram_blog_text:nth-child(odd):last-child{
  margin-bottom: 17rem;
}

.test_owners {
  width: 18.2rem;
  left: -2rem;
  z-index: 10;
  top: -12rem;
  position: absolute;
  height: 14rem;
  object-fit: cover;
}

.owners_text_cloud {
  position: absolute;
  top: -7rem;
  text-align: center;
  z-index: 15;
  overflow-wrap: break-word;
  left: 1rem;
  width: 13.1rem;
  font-size: 1.6rem;
  height: 4.3rem;
  overflow: hidden;
  letter-spacing: 0.02em;
  line-height: 1.3em;
  font-weight: 500;
  transform: rotate(10deg);
  font-family: var(--NotoSans);
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram_blog_text:nth-child(odd)>.text_and_cloud_left_right {
  transform: rotate(340deg);
  z-index: 10;
  position: relative;
}

.instagram_blog_text:nth-child(even)>.text_and_cloud_left_right {
  transform: rotate(20deg);
  z-index: 10;
  position: relative;
}

.instagram_blog_text:nth-child(even)>.text_and_cloud_left_right>.test_owners {
  top: -10rem;
  left: 10rem;
}

.instagram_blog_text:nth-child(even)>.text_and_cloud_left_right>.owners_text_cloud {
  top: -5rem;
  left: 12.3rem;
  transform: rotate(7deg);
}
.page-numbers{
  background: var(--pink);
}
/* .instagram_blog_text .text_and_cloud_left_right:nth-child(1){
  transform:rotate(340deg);
  z-index: 10;
  position: relative;
}
.instagram_blog_text:nth-child(1) > .text_and_cloud_left_right{
  transform:rotate(340deg);
  z-index: 10;
  position: relative;
} */
.ob_model_house_link {
  /* width: 34rem; */
  height: 20rem;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  /* padding: 0px 6rem; */
  gap: 8rem;
}

.ob_model_house_a {
  width: 13rem;
  display: inline-block;
  height: 13rem;
  border-radius: 10rem;
  background-color: #fff;
}

.ob_model_house_link_a {
  fill: var(--black);
  width: 100%;
  height: 1.8rem;
  padding-top: 2.7rem;
  stroke: var(--black);
  margin-bottom: 0.6rem;
}

.ob_model_house_link_text {
  text-align: center;
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 500;
  font-family: 'Noto Sans JP';
}

.ob_page01 {
  background-color: var(--pink);
  width: 7rem;
  display: inline-block;
  border-radius: 4rem;
  height: 7rem;
  text-align: center;
  padding-top: 2.5rem;
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
}

.ob_page_list {
  display: flex;
  width: 25rem;
  margin: 0 auto;
  justify-content: space-evenly;
}
.header .logo-svg{
  fill: var(--black);
}
.shop_name_logo{
  color: var(--black);
}

@keyframes poyon {
  0% {
    transform: scale(0.1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1.0);
  }
}

.poyon {
  transform: scale(0);
}

.poyon.active {
  animation-name: poyon;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

.instagram_ob img{
  object-fit: cover!important;
}


.top_logo_icon{
  filter:invert(18%) sepia(40%) saturate(0%) hue-rotate(0deg) brightness(19%) contrast(80%);
}

@media screen and (max-width: 699.98px) {
  .logo_wrap::after {
    content: "";
    background-color: #fff;
    position: absolute;
    width: 140px;
    height: 80px;
    left: -20px;
    top: -38px;
    z-index: -1;
    border-radius: 0 0 20px 20px;
  }
  .contact_title_wrap {
    width: 32.5rem;
    padding-left: 1.7rem;
  }

  .contact_title_wrap h1 {
    font-size: 3.7rem;
    line-height: 1.24em;
  }

  .ob_lifestyle {
    font-size: 1.4rem;
    line-height: 2.5em;
    margin-bottom: 3.9rem;
  }

  .ob_lifestyle::before {
    width: 14.5rem;
    height: 1.8rem;
    top: 1.3rem;
    left: -0.6rem;
    border-radius: 0.8rem;
  }

  .contact_title_wrap {
    margin-top: 12.3rem;
    padding-top: 12.3rem;
    margin-top: 0;
  }


  /* 画像配置▼ top,leftのみにしました*/
  .lifestyle_illustration {
    width: 37rem;
    height: 42.3rem;
    overflow: hidden;
    z-index: -5;
    margin-top: -12.4rem;
  }

  .niche {
    width: 15.009rem;
    top: 0.5rem;
    left: -5.109rem;
  }

  .bar_counter {
    width: 17.786rem;
    top: 11.9rem;
    left: -5.686rem;
  }

  .big_set {
    width: 12.911rem;
    top: 23.1rem;
    left: -5.611rem;
    z-index: -9;
  }

  .sunny_bbq {
    width: 11.815rem;
    top: 7.7rem;
    left: 8.2rem;
  }

  .member {
    width: 10rem;
    top: 20.9rem;
    left: 8.2rem;
  }

  .coffee {
    width: 13.658rem;
    top: 31.6rem;
    left: 5.3rem;
  }

  .lamp {
    width: 7.7rem;
    top: 30.2rem;
    left: -2.8rem;
    z-index: -10;

  }

  .living {
    display: none;
  }

  .cooking_study {
    width: 16.9rem;
    top: 0;
    left: 13.2rem;
  }

  .kitchen {
    width: 16.9rem;
    top: 12.1rem;
    left: 13.2rem;
    z-index: -8;
  }

  .healing_space {
    width: 14.2rem;
    top: 22.6rem;
    left: 15.9rem;
  }

  .wood_deck {
    width: 11.857rem;
    top: 33.6rem;
    left: 18.8rem;
  }

  .support {
    width: 14.3rem;
    top: 2.5rem;
    left: 28.8rem;
  }

  .cooking_good {
    width: 14.517rem;
    top: 12.2rem;
    left: 28.8rem;

  }

  .children {
    width: 14.7rem;
    top: 19.9rem;
    left: 24.1rem;
  }

  .secret_base {
    width: 14rem;
    top: 29.6rem;
    left: 28.4rem;
  }

  .tent,
  .yoga,
  .day_off,
  .european {
    display: none;
  }

  .owners_insta_blog {
    /* flex-direction: column; */
    /* margin-bottom: 23rem; */
    padding: 0 2.5rem;
    gap: 6.4rem 0.8rem;
  }

  .instagram_blog_text {
    width: 15.837rem;
    height: 18.099rem;
    padding: 0.4rem;
  }

  .instagram_ob iframe {
    top: -53px;
    width: 117%;
    /* left: -1rem; */
    height: 150%;
    transform: scale(1.1);
  }

  .instagram_ob_top {
    width: 14.894rem;
    height: 14.894rem;
  }

  .container {
    width: 100%;
  }

  .insta_text_title {
    font-size: 1.3rem;
    margin-top: 0.4rem;
    padding-right: 1.8rem;
  }

  .test_owners {
    width: 10.7rem;
    height: 8.3rem;
    left: 3rem;
    top: -6rem;
  }

  .owners_text_cloud {
    top: -3.6rem;
    width: 7rem;
    height: 4rem;
    left: 5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
  }

  .instagram_blog_text:nth-child(even)>.text_and_cloud_left_right>.test_owners {
    top: -6rem;
    left: 4.4rem;
  }

  .instagram_blog_text:nth-child(even)>.text_and_cloud_left_right>.owners_text_cloud {
    left: 6.4rem;
    top: -4rem;
  }

  .ob_model_house_a {}

  .instagram_blog_text:nth-child(2){
    border-radius: 0 4rem 0 4rem;
  }

  .instagram_blog_text:nth-child(2) .instagram_ob:first-child {
    border-radius: 0 4rem 0 4rem;
  }

  .instagram_blog_text:nth-child(3) {
    border-radius: 4rem 0 4rem 0;
  }
  .instagram_blog_text:nth-child(3) .instagram_ob:first-child {
    border-radius: 4rem 0 4rem 0;
  }

  .instagram_blog_text:nth-child(4),
  .instagram_blog_text:nth-child(4) .instagram_ob:first-child {
    border-radius: 4rem;
  }

  .instagram_blog_text:nth-child(5) ,
  .instagram_blog_text:nth-child(5) .instagram_ob:first-child{
    border-radius: 0 0 4rem 4rem;
  }

  .instagram_blog_text:nth-child(7) ,
  .instagram_blog_text:nth-child(7) .instagram_ob:first-child{
    border-radius: 0 0 4rem 4rem;
  }

  .instagram_blog_text:nth-child(8) ,
  .instagram_blog_text:nth-child(8) .instagram_ob:first-child{
    border-radius: 4rem 4rem 0 0;
  }

  .instagram_blog_text:nth-child(9),
  .instagram_blog_text:nth-child(9) .instagram_ob:first-child {
    border-radius: 4rem 0 4rem 0;
  }

  .instagram_blog_text:nth-child(10),
  .instagram_blog_text:nth-child(10) .instagram_ob:first-child {
    border-radius: 4rem;
  }

  .ob_model_house_link{
    padding: 0 2.5rem;
    gap: 6.5rem;
  }

  .instagram_blog_text:nth-child(1)::after{
    width: 5.8rem;
    height: 6rem;
    bottom: -4.8rem;
    left: 7rem;
  }

  .instagram_blog_text:nth-child(4)::after{
    width: 6.5rem;
    height: 9.2rem;
    top: -6rem;
    left: -1rem;
  }

  .instagram_blog_text:nth-child(7)::after{
    width: 6.5rem;
    height: 10.3rem;
    top: -6rem;
    left: 0rem;
  }

  .instagram_blog_text:nth-child(8)::after{
    top: -5rem;
    left: -2rem;
    width: 7.3rem;
    height: 10rem;
  }

  /* .instagram_blog_text:last-child{
    margin-bottom: 9rem;
  } */

  /* 偶数 */
  .instagram_blog_text:nth-child(even):last-child{
    margin-bottom: 24rem;
  }

  /* 奇数 */
  .instagram_blog_text:nth-child(odd):last-child{
    margin-bottom: 9rem;
  }
}
/*----------------------------------------
	和歌山店 追加CSS
----------------------------------------*/
body{
  background: var(--soft-blue);
}
.ob_lifestyle{
  color: #fff;
}
.ob_lifestyle::before{
  background: var(--dark-blue);
  border-radius: .2rem;
}
.ob_model_house_a{
  background: var(--dark-blue);
}
.ob_model_house_link_text{
  color: #fff;
}
.ob_model_house_link_a{
  stroke: #fff;
}
.title_description{
  width: 31rem;
}
.lamp{
  width: 15rem;
  left: 1rem;
  bottom: 14rem;
}
.member{
  width: 24rem;
  top: 35rem;
  left: 15rem;
}
.sunny_bbq{
  left: 21rem;
}
.children{
  width: 13rem;
  top: 35rem;
  left: 46rem;
}
.tent{
  width: 13rem;
  bottom: 14rem;
  left: 45rem;
}
@media screen and (max-width: 699.98px) {
  .fixed_area{
    margin: 0;
  }
  .contact_title_wrap{
    padding: 12rem 1.6rem 0;
    margin: 0 auto 4rem;
  }
  .lifestyle_illustration{
    height: 65rem;
    margin: 0;
  }
  .big_set{
    top: 26rem;
    left: -9rem;
  }
  .lamp{
    width: 12rem;
    top: 40rem;
    left: -8rem;
  }
  .living{
    display: block;
    left: -11rem;
    bottom: 0;
  }
  .member{
    width: 20rem;
    top: 26rem;
    left: 2rem;
  }
  .sunny_bbq{
    left: 8rem;
  }
  .european{
    display: block;
    width: 18rem;
    left: 4rem;
    bottom: 0;
  }
  .coffee{
    width: 16rem;
    top: 37rem;
    left: 1rem;
  }
  .wood_deck{
    width: 13rem;
    top: 39rem;
    left: 16rem;
  }
  .yoga{
    display: block;
    left: 16rem;
  }
  .healing_space{
    top: 27rem;
    left: 15rem;
  }
  .kitchen{
    width: 17rem;
    top: 14rem;
  }
  .children{
    display: block;
    top: 22rem;
    left: 25rem;
  }
  .secret_base{
    top: 31rem;
  }
  .tent{
    display: block;
    left: 26rem;
    bottom: 14rem;
  }
  .day_off{
    display: block;
    top: 46rem;
    left: 28rem;
  }
}