@charset "UTF-8";
/* ====================
house
==================== */
#fixed-header {
  top: 0;
}

.section--house,
.section--story,
.nextDoor {
  background-image: url(../images/bg_shikkui_housePc.png);
  background-size: contain;
  background-repeat: repeat-x;
}

.section--house {
  padding-bottom: 75px;
}

.house__txt {
  padding-top: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}

.house__txt::before {
  content: "";
  width: 388px;
  height: 928px;
  background-image: url(../images/house_before.png);
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 30%;
  position: absolute;
  top: 520px;
  left: 0;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 2s;
}

.house__txt::after {
  content: "";
  width: 230px;
  height: 302px;
  background-image: url(../images/house_after.png);
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 30%;
  position: absolute;
  top: 200px;
  right: 0;
  animation: katakata 6s infinite ease-in-out alternate;
}

.topic__main--house {
  position: relative;
}

.topic__main--house:before {
  content: "";
  width: 195px;
  height: 206px;
  background-image: url(../images/house_voice1.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: -320px;
  transform-origin: center bottom;
  animation: yurayura 2s linear infinite;
}

.pcSpan {
  font-size: 2rem;
}

.house__content,
.house__contentMore {
  margin: 0 auto;
  max-width: 769px;
  padding-top: 5px;
}

.section--house li {
  background-color: rgba(253, 253, 253, 0.8);
  padding: 48px 36px;
  display: flex;
  margin-top: 75px;
  gap: 6px;
  position: relative;
}

.section--house li:nth-child(2n) {
  flex-direction: row-reverse;
  text-align: right;
}

.section--house li:after {
  content: "";
  width: 110px;
  height: 75px;
  background-image: url(../images/house1.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -21%;
  left: 50%;
  transform: translateX(-50%);
}

.section--house li:nth-child(2n)::after {
  background-image: url(../images/house2.png);
}

.room__content01 {
  position: relative;
}

.room__content01::before {
  position: absolute;
  content: "";
  width: 120px;
  height: 120px;
  background-image: url(../images/guide02.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -35px;
  left: 465px;
  transform: scaleX(-1);
}

.room__content02::before {
  content: "";
  width: 122px;
  height: 98px;
  background-image: url(../images/room02after.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -25px;
  left: 180px;
}

.voice--sp,
.voice__img--sp {
  display: none;
}

.room__content03::before {
  content: "";
  width: 30%;
  max-width: 177px;
  aspect-ratio: 177 / 172;
  background-image: url(../images/guide03.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -45px;
  right: 50px;
  animation: fadeInTopRight 2s ease;
  animation-timeline: view();
  animation-range: cover;
}
/* fuwafuwa */
.fuwafuwa {
  animation-name: fuwafuwa;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  background-image: url(../images/fuwafuwa.svg);
  background-repeat: no-repeat;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 70px;
  height: 70px;
  margin-top: 15px;
} /* fuwafuwa */

.room__content04::before {
  content: "";
  width: 131px;
  height: 106px;
  background-image: url(../images/guide02.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 40px;
  right: 50px;
  /* ここからアニメーション */
  animation-name: fuwafuwa;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transition: 1.5s ease-in-out;
}

.room__content06::before {
  content: "";
  width: 30%;
  max-width: 270px;
  aspect-ratio: 270 / 223;
  background-image: url(../images/room06_before.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0px;
  right: 3%;
  opacity: 30%;
  transform: rotate(-20deg);
  overflow: hidden;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 2s;
}

.room__content07::before {
  content: "";
  width: 120px;
  height: 120px;
  background-image: url(../images/guide01.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -30px;
  left: 160px;
}

.room__content08::before {
  content: "";
  width: 113px;
  height: 116px;
  background-image: url(../images/guide03.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -30px;
  right: 160px;
  z-index: 1;
}

.room__img {
  max-width: 330px;
  max-height: 250px;
}

.room__txtBox {
  padding: 0 24px;
  width: 360px;
  height: 250px;
}

.room__name {
  font-size: 2rem;
  letter-spacing: 2;
}

.room__txt {
  margin-top: 12px;
  font-size: 1.3rem;
  letter-spacing: 0.65;
}

.room__extra {
  margin-top: 12px;
  display: flex;
}

.house__comment {
  margin: -6px;
  width: 208px;
  height: 126px;
  background-image: url(../images/speechBubble.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.voice__img {
  max-width: 130px;
  max-height: 130px;
}

.voice__img--05 {
  animation-timeline: view();
  animation-range: cover;
}

/* house sp */
@media screen and (max-width: 768px) {
  .section--house,
  .nextDoor {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 48px 20px;
    background-repeat: repeat;
  }

  .house__txt {
    padding-top: 30px;
    gap: 103px;
  }

  .house__txt::before {
    content: "";
    width: 272px;
    height: 650px;
  }

  .topic__main--house:before {
    width: 197.5px;
    height: 73.9px;
    background-image: url(../images/house_sp_topicbefore.png);
    top: 50px;
    left: 0px;
  }

  .topic__lead {
    text-align: left;
  }

  .house__content,
  .house__contentMore {
    max-width: 335px;
  }

  .house__contentMore {
    padding-top: 0px;
  }

  .section--house li {
    display: block;
    padding: 36px 16.5px;
    max-width: 335px;
    margin: 58px auto 0 auto;
  }

  .section--house li:nth-child(1) {
    margin: 28px auto;
  }

  .section--house li:after {
    width: 80px;
    height: 54.6px;
    bottom: -55px;
  }

  .room__txtBox {
    height: auto;
  }

  .voice--pc,
  .voice__img--pc {
    display: none;
  }

  .voice--sp,
  .voice__img--sp {
    display: block;
  }

  .room__content01::before {
    width: 80px;
    height: 80px;
    bottom: -10px;
    left: 120px;
  }

  .room__content02::before {
    display: none;
  }

  .room__content03::before {
    width: 100px;
    height: 96.5px;
    bottom: 0;
  }

  .room__content04 {
    margin-top: 0;
  }

  .room__content04::before {
    width: 90px;
    height: 72.8px;
    bottom: 45px;
  }

  .room__content06::before {
    display: none;
  }

  .room__content07::before {
    width: 118px;
    height: 117px;
    bottom: -40px;
    left: 90px;
  }

  .room__content08::before {
    width: 91px;
    height: 88px;
    bottom: 30px;
    left: 140px;
  }

  .room__img {
    max-width: 300px;
  }

  .room__txtBox {
    margin-top: 24px;
    padding: 0 12px;
    max-height: 390px;
    width: auto;
  }

  .house__comment {
    width: 170px;
    height: 110px;
  }

  .voice {
    font-size: 1.3rem;
    /* max-width: 110px; */
  }

  .voice__img {
    width: 120px;
    height: 120px;
  }
} /* sp 768px */

/* ====================
story
==================== */
.section--story {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0 20px;
  position: relative;
}

.section--story::before {
  content: "";
  width: 424px;
  height: 526px;
  background-image: url(../images/house_before3.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -1160px;
  left: 0;
  opacity: 30%;
  animation: katakata 6s infinite ease-in-out alternate;
}

.section--story::after {
  content: "";
  width: 273px;
  height: 329px;
  background-image: url(../images/story_after.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -165px;
  right: 0;
  opacity: 30%;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 2s;
}

.story__bg {
  margin: 0 auto;
  background-image: url(../images/story_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 900px;
  aspect-ratio: 1 / 1;
  display: block;
  text-align: center;
}

.story__txt {
  margin: 0 auto;
  max-width: 769px;
  padding-top: 48px;
  text-align: center;
  z-index: 1;
}

.topic__lead--story {
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: 0.7;
  margin-top: 24px;
}

.story__content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.story__content::after {
  content: "";
  width: 110px;
  height: 75px;
  background-image: url(../images/house2.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -31%;
  left: 50%;
  transform: translateX(-50%);
}

.story__comment {
  display: inline-block;
}

.story__comment p {
  width: 224px;
  height: 141px;
  margin: 0 auto;
  background-image: url(../images/speechBubble.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.story__guide {
  width: 230px;
  height: 230px;
}

.story__list img {
  width: 110px;
  height: 110px;
}

ol {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 12px;
  max-width: 528px;
  margin: 24px;
  list-style: none;
  counter-reset: li;
  font-family: "Hina Mincho", serif;
}

ol li {
  position: relative;
  font-size: 2rem;
  padding-left: 30px;
  margin: 0 0 10px;
}

ol li::before {
  position: absolute;
  top: 0;
  left: 0;
  counter-increment: li;
  content: counter(li);
  background-image: url(../images/story_number_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 34px;
  height: 33px;
}

ol p {
  display: none;
}

/* story sp */
@media screen and (max-width: 920px) {
  .section--story {
    padding: 5px 20px 0;
  }

  .section--story::before {
    width: 297px;
    height: 368px;
  }

  .section--story::after {
    width: 137px;
    height: 165px;
    bottom: -27px;
  }

  .story__bg {
    background-image: none;
    max-width: 335px;
    padding: 24px 20px;
    height: auto;
    border-radius: 30px 15px;
    border: 1.5px dashed #5654a2;
  }

  .story__content {
    flex-direction: column;
    margin-top: 24px;
  }

  .story__content::after {
    bottom: -12%;
  }

  .story__comment {
    order: 2;
  }

  .story__txt {
    padding-top: 0;
  }

  .story__guide {
    width: 120px;
    height: 120px;
  }

  .story__list {
    margin-top: 24px;
  }

  ol {
    margin: 0;
  }
} /* sp 768px */

/* ====================
nextDoor
==================== */
.nextDoor {
  padding-top: 75px;
  padding-bottom: 80px;
  position: relative;
}

.nextDoor::after {
  content: "";
  width: 250px;
  height: 311px;
  background-image: url(../images/nxtDoor_after.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -100px;
  right: 0;
  opacity: 30%;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 2s;
}

.topic__end {
  position: relative;
}

.topic__end::after {
  content: "";
  width: 322px;
  height: 412px;
  background-image: url(../images/house_before2.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -100px;
  left: 0;
  opacity: 30%;
  animation: katakata 6s infinite ease-in-out alternate;
}

.btn__next {
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .topic__end::after {
    width: 161px;
    height: 206px;
    bottom: 0;
    left: -20px;
  }

  .nextDoor {
    padding-top: 142.5px;
    padding-bottom: 48px;
  }

  .nextDoor::after {
    display: none;
  }
}

/* ====================
articleFooter
==================== */
.article__footer {
  text-align: center;
  padding-bottom: 80px;
  background-color: rgba(232, 233, 241, 0.5);
}

.topic__end {
  padding-top: 80px;
  text-align: center;
  font-size: 2.8rem;
  line-height: 1.8;
  letter-spacing: 2.8;
  position: relative;
}

.topic__end::before {
  content: "";
  width: 184px;
  height: 227px;
  background-image: url(../images/house_voice2.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: -230px;
  left: 335px;
  transform-origin: center bottom;
  animation: yurayura 2s linear infinite;
}

.spBr {
  display: none;
}

.epilogue__txt {
  padding-top: 36px;
  padding-bottom: 36px;
  color: var(--Base-default, #0b1644);
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: 0.7;
}

/* article footer sp */
@media screen and (max-width: 768px) {
  .spBr {
    display: block;
  }

  .article__footer {
    padding: 48px 20px;
  }

  .topic__end {
    padding-top: 0;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-left: 0;
  }

  .topic__end::before {
    width: 216px;
    height: 137px;
    background-image: url(../images/house_voice3.png);
    top: -310px;
    left: 43px;
  }

  .epilogue__txt {
    padding-top: 24px;
    padding-bottom: 24px;
    font-family: "Zen Kaku Gothic New";
    line-height: 1.5;
    text-align: left;
  }
} /* sp 768px */

/* ====================
chikuchiku 固定
==================== */
.chikuchiku {
  width: 150px;
  height: 150px;
  opacity: 70%;
  animation: chikuchiku 60s steps(60) infinite;
  position: fixed;
  bottom: 20%;
  left: 10px;
}

/* chikuchiku sp */
@media screen and (max-width: 768px) {
  .chikuchiku {
    display: none;
  }
}
