@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=UoqMunThenKhung&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-color: #6FA043;
  --dark-green-color: #548428;
  --second-color: #F0F5E1;
  --text-color: #333;
  --black-color: #000;
  --white-color: #fff;
  --orange-color: #FF6A00;
  --pink-color: #FB686A;
  --black2-color: #1A1A1A;
  --brown-color: #C8A064;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
}

h1 {
  margin: 0;
}

a:hover {
  opacity: 0.4;
}

a {
  text-decoration: none;
  color: var(--defaut-color);
}

p {
  word-break: auto-phrase;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  color: var(--text-color);
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  position: relative;
}

header {
  width: 100%;
  background-color: var(--white-color);
  padding-inline: 32px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

#header > h1 img {
  max-height: 48px;
}

.dot_nav {
  display: flex;
  gap: 37px;
}

.dot_nav li {
  list-style: none;
  position: relative;
  color: var(--text-color);
  font-family: UoqMunThenKhung;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  }

.dot_nav li:not(:last-child)::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background-color: var(--text-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translate(50%, -50%);
}

.nav_btn {
  display: none;
  cursor: pointer;
}

.feature_btn:hover, .room_btn:hover, .plan_btn:hover {
  opacity: 1;
}

.feature_btn:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 41px;
  height: 41px;
  background-image: url(../icons/squirrel.svg);
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateX(-100%);
  animation: appearLeft 1s forwards;
}

.feature_btn:hover::after {
  content: "";
  position: absolute;
  top: 18px;
  left: -10.5px;
  width: 6.815px;
  height: 4.74px;
  background-image: url(../icons/squirrel_hand.svg);
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateX(-100%);
  animation:
    appearLeft-hand 1s forwards,
    swing 1s 1s infinite alternate ease-in-out;
  transform-origin: left;
}

@keyframes appearLeft {
  0% {
    transform: translateX(-60px);
    top: 0;
  }
  10% {
    top: -5px;
  }
  35% {
    top: 0;
  }
  50% {
    top: -5px;
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes appearLeft-hand {
  0% {
    transform: translateX(-25px);
    top: 18px;
  }
  10% {
    top: 13px;
  }
  35% {
    top: 18px;
  }
  50% {
    top: 13px;
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes swing {
  0% {
    transform: translateX(-100%) rotate(-10deg);
  }
  100% {
    transform: translateX(-100%) rotate(-40deg);
  }
}

.room_btn span.hide-on-hover {
  display: inline-block;
  transition: opacity 0.3s;
}
.room_btn:hover span.hide-on-hover {
  opacity: 0;
}

.room_btn:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 53px;
  height: 35px;
  background-color: var(--white-color);
  background-image: url(../icons/bed.svg);
  background-repeat: no-repeat;
  background-size: cover;
  animation: appearBottom 0.5s forwards;
}

.room_btn:hover::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 27px;
  background-image: url(../icons/flying_squirrel.svg);
  background-repeat: no-repeat;
  background-size: cover;
  rotate: -15deg;
  transform: translateY(-75%);
  animation: appearRight 0.5s forwards,
  flying 0.5s 0.5s infinite alternate ease-in-out;
}

@keyframes appearBottom {
  0% {
    transform: translateY(60%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes appearRight {
  0% {
    transform: translate(100%, -80%);
  }
  100% {
    transform: translate(0, -60%);
  }
}

@keyframes flying {
  0% {
    transform: translateY(-60%);
  }
  100% {
    transform: translateY(-75%);
  }
}

.plan_btn:hover::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  width: 29px;
  height: 16px;
  background-image: url(../icons/crown.svg);
  background-repeat: no-repeat;
  background-size: cover;
  animation: appearBottom 0.5s forwards;
  z-index: 2;
}

.plan_btn:hover::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: crown-blink 1s 0.3s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes crown-blink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 16px 8px rgba(255,215,0,0.5), 0 0 32px 16px rgba(255,215,0,0.2);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 32px 16px rgba(255,215,0,0.7), 0 0 48px 24px rgba(255,215,0,0.3);
  }
}

#top {
  position: relative;
  padding-inline: 32px;
  margin-top: 80px;
}

#top::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--main-color);
}

#top .images {
  position: relative;
}

#top .images img {
  width: 100%;
  height: 665px;
  object-fit: cover;
  border-radius: 16px;
}

#top .images figcaption {
  font-family: UoqMunThenKhung;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: 0;
  bottom: 24px;
  background-color: var(--white-color);
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.banner {
  width: 40%;
  max-width: 540px;
  min-width: 320px;
  position: absolute;
  top: 50%;
  left: 12%;
  transform: translateY(-50%);
}

#lead {
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color);
}

#lead p {
  width: fit-content;
  color: var(--white-color);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  position: relative;
  margin: 20px auto;
  padding-block: 32px;
}

#lead p::before, #lead p::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url(../icons/bar1.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#lead p::before {
  top: 0;
  transform: translateY(-100%);
}

#lead p::after {
  bottom: 0;
  transform: translateY(100%);
}

#feature, #plan {
  background-color: var(--second-color);
  padding: 80px 32px 130px;
  clip-path: ellipse(165% 100% at 50% 0);
  position: relative;
  scroll-margin-top: 80px;
}

#feature .list {
  background-color: var(--white-color);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 40px;
  border-radius: 16px;
}

#feature .list > div {
  display: flex;
  gap: 64px;
  align-items: center;
}

#feature .list > div:nth-of-type(2n) {
  flex-direction: row-reverse;
}

#feature .list > div > picture {
  width: 50%;
}

#feature .list > div > picture img {
  aspect-ratio: 500/318;
  border-radius: 16px;
}

#feature .list > div > div {
  max-width: 350px;
}

#feature .list > div > div > strong {
  color: var(--orange-color);
  text-align: center;
  font-family: UoqMunThenKhung;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

#feature .list > div > div > p {
  width: 101%;
}

#feature .list > div > div > strong > span {
  flex-shrink: 0;
}

#feature .list > div > div > strong::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--brown-color);
  flex-shrink: 1;
}

#feature .list > div:nth-of-type(2n) > div > strong {
  color: var(--pink-color);
}

#room {
  padding: 120px 32px 80px;
  scroll-margin-top: 80px;
}

#room .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

#room .container > .gallery {
  position: relative;
}

#room .container > .gallery > .images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border-radius: 16px;
  overflow: hidden;
}

#room .container > .gallery::before, #room .container > .gallery::after {
  content: "";
  width: 139px;
  height: 98px;
  background-image: url(../icons/leaf_top.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-45%);
}

#room .container > .gallery::after {
  background-image: url(../icons/leaf_bottom.svg);
  top: unset;
  left: unset;
  bottom: 0;
  right: 0;
  transform: translateY(45%);
}

#room .container > .gallery > .images > picture:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

#room .container > p {
  width: fit-content;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 200%;
  position: relative;
}

#room .container > p::before,
#room .container > p::after {
  content: "";
  position: absolute;
  top: 0;
  left: -16px;
  height: 100%;
  aspect-ratio: 20/240;
  transform: translateX(-100%);
  background-image: url(../icons/bar2_pc.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#room > .container > p::after {
  left: unset;
  right: -16px;
  transform: translateX(100%) scaleX(-1);
}

#plan {
  padding: 80px 32px 130px;
  background-color: var(--second-color);
}

#plan h2 {
  color: var(--black-color);
  text-align: center;
  font-family: UoqMunThenKhung;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 1.2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

#plan h2::before, #plan h2::after {
  content: "";
  width: 36.63px;
  height: 87.83px;
  background-image: url(../icons/light.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#plan h2::after {
  transform: scaleX(-1);
}

#plan .list {
  margin-top: 40px;
}

#plan .list > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

#plan .list > div > picture img {
  border-radius: 16px;
}

#plan .list > div > a:hover {
  border: 2px solid var(--dark-green-color);
  background-color: transparent;
  color: var(--dark-green-color);
  opacity: 1;
  transition: color 0.5s ease, background 0.5s ease;
}

#plan .list > div > a {
  grid-column: 1/ span 2;
  margin: auto;
  width: 430px;
  height: 52px;
  background-color: var(--dark-green-color);
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  text-align: center;
  font-family: UoqMunThenKhung;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 1.92px;
}

#plan .list > div > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#plan .list > div > div > strong {
  color: var(--dark-green-color);
  font-family: UoqMunThenKhung;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

#plan .list > div > div > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#plan .list > div > div > div > div {
  display: flex;
  gap: 16px;
}

#plan .list > div > div > div > div > span {
  width: 116px;
  height: 32px;
  background-color: var(--brown-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  font-family: UoqMunThenKhung;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 1.28px;
  border-radius: 50px;
  flex-shrink: 0;
}

.star_list {
  margin-top: 8px;
}

.star_list, .star_list li {
  list-style: none;
}

.star_list li {
  display: flex;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
}

.star_list li::before {
  content: "※";
}


#bottom {
  margin-top: -50px;
  position: relative;
  z-index: -1;
}

#bottom .fluid-container {
  display: flex;
}

#bottom .fluid-container img {
  aspect-ratio: 3/2;
}

footer {
  width: 100%;
  padding: 40px 32px;
  background-color: var(--dark-green-color);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  color: var(--white-color);
}

footer .container > address {
  font-style: normal;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
}

footer .container > address > strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 160%;
}

footer .container > a {
  border: 3px solid var(--white-color);
  border-radius: 16px;
  padding: 24px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

footer .container > a > span {
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 170%;
}

footer .container > a > span > strong{
  font-family: "Noto Sans JP";
  font-size: 20px;
  display: block;
}

footer .container > a::before {
  content: "";
  width: 52px;
  height: 52px;
  background-image: url(../icons/insta.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

footer .container > a::after {
  content: "";
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--white-color);
  border-right: 2px solid var(--white-color);
  transform: rotate(45deg);
}

.line_nav, .line_nav li {
  list-style: none;
  position: relative;
  text-align: center;
}

footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .line_nav {
  display: flex;
  gap: 65px;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  width: fit-content;
}

.line_nav li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: var(--white-color);
  left: -32px;
  transform: translateX(-100%);
}

.line_nav li::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: var(--white-color);
  right: -32px;
  transform: translateX(100%);
}

.copyright {
  padding: 16px 24px;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%; /* 23.4px */
}

.move-effect {
  transition: transform 0.5s;
  transform: translateY(100px);
}
.move-in {
  transform: translateY(0);
}
.move-out {
  transform: translateY(100px);
}


/* MARK: MOBILE
*/

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  header {
    padding-inline: 20px;
  }

  #top {
    margin-top: 62px;
    padding-inline: 20px;
  }


  #header > h1 img {
    max-height: 32px;
  }

  .nav_btn {
    display: flex;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
  }
  
  .nav_btn span {
    width: 30px;
    height: 2px;
    background-color: var(--black2-color);
    border-radius: 1px;
    transition: rotate 0.3s ease;
  }
  
  .nav_menu {
    position: absolute;
    top: 0;
    right: 0;
    padding: 48px 40px;
    background-color: var(--white-color);
    transform: translate(100%, -100%);
    border-bottom-left-radius: 40px;
    z-index: 1;
    transition: transform 0.3s ease;
  }
  
  .nav_menu.active {
    transform: translate(0, 0);
    transition: transform 0.3s ease;
  }

  .nav_btn.active span:nth-child(2) {
    display: none;
  }
  
  .nav_btn.active span {
    width: 100%;
    rotate: 45deg;
    transform-origin: top left;
    transition: rotate 0.3s ease;
  }
  .nav_btn.active span:last-child {
    rotate: -45deg;
    transform-origin: bottom left;
  }

  .dot_nav li:not(:last-child)::after {
    content: none;
  }

  .dot_nav {
    width: max-content;
    display: flex;
    gap: 4px;
    flex-direction: column;
  }

  #top .images img {
    height: 360px;
  }

  #top .images figcaption {
    top: 16px;
    bottom: unset;
  }

  #top .images figcaption {
  padding: 8px 16px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  }
  
  .banner {
    bottom: 0;
    top: unset;
    left: 50%;
    transform: translate(-50%, 25%);
  }

  #lead p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 200%;
  }

  #lead p::before, #lead p::after {
    height: 16px;
  }

  #feature, #plan {
      clip-path: ellipse(275% 100% at 50% 0);
  }

  #feature .list {
    padding: 32px 16px;
  }

  #feature .list > div:nth-of-type(2n) {
    flex-direction: column;
  }
  
  #feature .list > div {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  #feature .list > div > picture {
    width: 100%;
  }
  
  #feature .list > div > div {
    max-width: 100%;
  }
  
  #feature .list > div > div > strong {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 400;
    line-height: 100%;
  }
  
  #feature .list > div > div > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 180%;
  }

  #room {
    padding: 40px 20px 100px;
  }

  #room .container > .gallery::before, #room .container > .gallery::after {
    width: 70px;
    height: 49px;
    top: 4px;
  }

  #room .container {
    gap: 90px;
  }

  #room .container > .gallery::after {
    top: unset;
    bottom: 4px;
  }

  #room .container > p {
    font-size: 16px;
    line-height: 180%;
  }

  #room .container > p::before,
  #room .container > p::after {
    width: 100%;
    height: auto;
    aspect-ratio: 240/20;
    background-image: url(../icons/bar2_sp.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    left: 0;
    top: -32px;
    bottom: unset;
    right: unset;
    transform: translateY(-100%);
  }

  #room .container > p::after {
    left: 0;
    top: unset;
    bottom: -32px;
    right: unset;
    transform: translateY(100%) scaleY(-1);
  }

  #plan {
    padding: 48px 20px 64px;
  }

  #plan h2 {
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.96px;
    gap: 16px;
  }

  #plan .list > div {
    gap: 24px;
  }

  #plan .list > div > a {
    width: 100%;
  }

  #plan h2::before, #plan h2::after {
    width: 24px;
    height: 61.091px;
  }

  #plan .container > .list > div {
    grid-template-columns: 1fr;
  }

  #plan .container > .list > div > a {
    grid-column: unset;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 1.28px;
  }

  #plan .container > .list > div > div > strong {
    font-size: 22px;
  }

  #plan .container > .list > div > div > div > div {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
  }

  #plan .container > .list > div > div > div > div > span {
    width: 92px;
    height: 22px;
    font-family: UoqMunThenKhung;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 1.12px;
  }

  .star_list li {
    display: flex;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
  }

  #bottom {
    margin-top: -24px;
  }

  #bottom .fluid-container img {
    aspect-ratio: 187/170;
    
  }

  footer {
    padding-inline: 20px;
  }

  footer .container {
    flex-direction: column;
    gap: 26px;
  }

  footer .container > address {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  footer .container > address > strong, footer .container > address > span {
    display: block;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
  }

  footer .container > a {
    gap: 16px;
    padding: 16px 20px;
  }

  footer .container > a > strong {
      font-size: 20px;
      font-style: normal;
      font-weight: 700;
      line-height: 140%;
  }

  footer .container > a > span {
      font-size: 14px;
      font-style: normal;
      font-weight: 700;
      line-height: 170%;
  }

  footer .line_nav {
    flex-direction: column;
    gap: 16px;
    align-items: center;

  }

  .line_nav li {
    width: 100%;
  }

}