html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: "Oswald", Helvetica, "Hiragino Sans", "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f1ec;
  color: #1E1E1E;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 2;
}

a {
  transition: 0.3s;
}

/*********** SNS ***********/
.sns {
  position: fixed;
  display: block;
  text-orientation: sideways;
  writing-mode: tb;
  right: 1.6rem;
  bottom: 4rem;
  z-index: 1000;
  mix-blend-mode: difference;
}

.sns ul {
  display: flex;
  justify-content: center;
}

.sns ul li {
  float: left;
  padding: 7px 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 200;
  letter-spacing: 0.1em;
}

.sns ul li img {
  vertical-align: middle;
  transition: 0.3s;
}

.sns li img:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {

  .sns {
    display: none;
  }

}

/*********** Navigation ***********/
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  color: #fff;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #333;
}

.navbar.scrolled .nav-logo img {
  content: url("../img/logo-rec-g.svg");
}

.nav-container {
  padding: 20px 0 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h1 {
  line-height: 1;
}

.nav-logo img {
  width: 160px;
  transition: 0.3s;
}

.nav-logo img:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4.8rem;
}

.nav-link {
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #2c5530;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #2c5530;
  transition: 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.lang ul {
  display: flex;
  font-size: 1.6rem;
  gap: 1.6rem;
}

.reservation a {
  background-color: #28514B;
  padding: 2.7rem 3.2rem 2.7rem 3.2rem;
  color: #fff;
  position: relative;
  transition: 0.3s ease;
}

.reservation a:hover {
  background-color: #fff;
  color: #2c5530;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 2rem;
  }

  .nav-logo img {
    width: 120px;
  }
}

/*********** Hamburger Menu ***********/
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1000;
}

.bar {
  width: 30px;
  height: 2px;
  background: #333;
  transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar.scrolled {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-logo {
    z-index: 1000;
  }

  .nav-menu {
    position: fixed;
    left: 0;
    display: none;
    top: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: 0.3s;
    padding: 100px 0 20px;
    gap: 4rem;
    font-size: 2rem;
    color: #1E1E1E;
  }

  .nav-link {
    font-size: 2rem;
  }

  .nav-item:last-child {
    width: 100%;
    max-width: 320px;
  }

  .reservation a {
    display: inline-block;
    background-color: #28514B;
    padding: 2rem 3.2rem 2rem 3.2rem;
    color: #fff;
    width: 100%;
    position: relative;
    transition: 0.3s ease;
  }

  .nav-menu.active {
    display: flex;
  }


  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    transform: rotate(-45deg);
  }

}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: fadeIn 1s ease-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/*********** Hero Section ***********/
.hero {
  height: 100svh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../img/kv.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: center;
  color: white;
  position: relative;
  padding: 0 12rem 8rem;
}

.hero-content {
  z-index: 2;
  text-align: left;
}


.hero-title {
  font-family: "Italiana", sans-serif;
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 2;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 200;
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 0 2rem 4rem;
    background-attachment: local;
  }

  .hero-title {
    font-size: 3.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .text-content h2 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.6rem;
    line-height: 1.8;
  }

}

/*********** Experience Section ***********/
.message-section {
  background-color: #28514B;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  color: white;
  position: relative;
  padding: 20rem 0 0 0;
}

.section-content {
  display: flex;
  justify-content: space-between;
}

.text-content-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.message_item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
  font-size: 1.6rem;
  text-align: left;
}

.message_item .lead {
  font-size: 2.4rem;
}

.image-content {
  width: 50%;
}

.image-content img {
  width: 100%;
}

@media (max-width: 768px) {
  .message-section {
    justify-content: center;
    padding-bottom: 8rem;
  }

  .section-content {
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .text-content-wrap {
    width: 100%;
    padding: 6rem 2rem 0;
  }

  .message_item {
    width: 100%;
    gap: 2rem;
  }

  .message_item .lead {
    font-size: 2rem;
  }

  .image-content {
    width: 80%;
  }
}

/*********** Img Section ***********/
.img-section-01, .img-section-02 {
  height: 100vh;
}

.img-section-01 {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../img/img-01.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.img-section-02 {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../img/img-02.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .img-section-01, .img-section-02 {
    height: 80vh;
    padding: 0 2rem 4rem;
    background-attachment: local;
  }

}

/*********** Villa Section ***********/
.villa-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem;
  gap: 8rem;
}

.villa-inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  gap: 20px;
}

.villa-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  font-size: 1.6rem;
  max-width: 405px;
}

.villa-text h2 {
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  border-bottom: 1px solid #C8C8C8;
  padding-bottom: 8px;
}

.villa-text h2 span {
  font-size: 2rem;
  line-height: 1.5;
  margin-right: 0.8rem;
}

.villa-text p {
  font-size: 1.6rem;
  line-height: 1.8;
}

.villa-options {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

}

.villa-option {
  padding: 2.4rem;
  border-top: 1px solid #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.villa-option:last-child {
  border-bottom: 1px solid #aaa;
}

.villa-option.active {
  font-weight: 300;
  background-color: #ffffff81;
}

.villa-option::after {
  content: "";
  background-image: url(../img/arrow-b.svg);
  width: 42px;
  height: 8px;
  position: absolute;
  top: 34px;
  right: 16px;

}

.villa-image {
  flex: 1;
  max-width: 704px;
}

.villa-image img {
  width: 100%;
  transition: opacity 0.4s ease;
}

.villa-section button {
  width: 220px;
  text-align: center;
}

.btn {
  font-size: 1.6rem;
  font-weight: 300;
  width: 100%;
  display: inline-block;
  padding: 12px;
  border: 1px solid #333;
  background: transparent;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: #28514B;
  color: #fff;
}

@media (max-width: 768px) {
  .villa-inner {
    flex-direction: column;
    gap: 4rem;
  }

  .villa-text {
    width: 100%;
    max-width: 100%;
  }

  .villa-text p {
    margin-bottom: 4rem;
  }
}


/*********** Price Section ***********/

.price-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem;
  text-align: center;
}

.price-section h2 {
  font-size: 3.2rem;
  font-weight: 300;
  margin-bottom: 1.6rem;
}

.price-section h2 span {
  display: block;
  font-size: 2rem;
  line-height: 1.5;
}

.price-section p {
  margin-bottom: 4rem;
}

/* Tabs */

.price-tabs {
  background-color: #fff;
  display: inline-block;
  padding: 4px;
  border-radius: 30px;
  margin-bottom: 40px;
}

.tab-btn {
  display: inline-block;
  padding: 1rem 8rem;
  border-radius: 25px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 400;
}

.tab-btn.active {
  background: #2e5d4e;
  color: #fff;
  border-color: #2e5d4e;
}

/* Card Container */
.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  transition: opacity 0.3s ease;
}

.card {
  background: #fff;
  padding: 3.2rem;
  text-align: left;
}

.card h3 {
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.card h4 {
  font-size: 2rem;
  margin-bottom: 1.6rem;
}

.card .price {
  font-size: 3.2rem;
  font-weight: 400;
}

.card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  line-height: 1.8;
}

.card ul li {
  position: relative;
  padding-left: 24px;
}

.card ul li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../img/icon-check.svg');
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 6;
  left: 0;
}

.card hr {
  margin: 3.2rem 0;
}

/* 切り替え */
.season {
  display: none;
}

.season.active {
  display: grid;
}

@media(max-width: 768px) {
  .price-cards {
    grid-template-columns: 1fr;
  }
}

/*********** Reservation Section ***********/
.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  justify-content: flex-start;
  gap: 40px;
  width: 100%;
  padding: 80px 0;
}

.contact-text h2 {
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  border-bottom: 1px solid #C8C8C8;
  padding-bottom: 8px;
}

.contact-text h2 span {
  font-size: 2rem;
  line-height: 1.5;
  margin-right: 0.8rem;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.form-row p {
  width: 100%;
  max-width: 130px;
}


.form-group {
  margin-bottom: 3.2rem;
  flex: 1;
}

.form-group label, .form-row p {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
}

.form-row p {
  margin-bottom: 0;
}

.form-group label.sub {
  display: block;
  margin-bottom: 8px;
  font-weight: 300;
  font-size: 1.4rem;
  color: #999;
}

.required {
  color: #AE1F1F;
}

.form-group input[placeholder], select, .form-group textarea[placeholder] {
  font-size: 1.6rem;
  color: #999;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #28514B;
}

input[type=date] {
  position: relative;
}

input[type=date]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type=date]::-webkit-clear-button {
  -webkit-appearance: none;
}

input[type=date]::-webkit-calendar-picker-indicator {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-wrap {
  text-align: center;
}

.submit-btn {
  background: #28514B;
  color: #fff;
  padding: 15px 40px;
  margin-top: 4.8rem;
  border: none;
  border-radius: 8px;
  max-width: 250px;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: #fff;
  color: #28514B;
}

@media(max-width: 768px) {
  .contact-inner {
    padding: 8rem 2rem;
    gap: 4rem;
  }

  .form-row p {
    max-width: 70px;
  }

  .submit-btn {
    margin-top: 0;
  }
}

/*********** Access Section ***********/
.access-section {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  padding: 0 2rem;
}

.access-inner {
  display: flex;
  max-width: 1200px;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 100px;
  width: 100%;
  padding: 80px 0;
}


.access-text {
  width: 100%;
}

.access-text h2 {
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  border-bottom: 1px solid #C8C8C8;
  padding-bottom: 8px;
}

.access-text h2 span {
  font-size: 2rem;
  line-height: 1.5;
  margin-right: 8px;
}

.map {
  text-decoration: underline;
  padding-left: 24px;
  position: relative;
}

.map::before {
  content: '';
  background-image: url(../img/icon-map.svg);
  width: 16px;
  height: 16px;
  left: 0;
  top: 6px;
  position: absolute;
}

@media(max-width: 768px) {
  .access-inner {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .access-inner iframe {
    max-width: 100%;
  }

  .access-text {
    padding: 0 20px;
  }
}

/*********** Footer Section ***********/
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background: #28514B;
  padding: 4rem 0 2rem
}

.footer-logo {
  max-width: 150px;
}

.footer-logo img {
  width: 100%;
  /* max-width: 150px; */
}

.footer-copy {
  display: none;
}

footer small {
  font-size: 1.2rem;
  color: #fff;
}

@media(max-width: 768px) {
  .footer-copy {
    display: block;
    text-align: center;
  }

  .footer-sns-box img {
    margin: 0 0.5rem;
    width: 3rem;
  }
}

/*********** Complete Section ***********/

.hero-sub {
  height: 50svh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../img/kv.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: center;
  color: white;
  position: relative;
  padding: 0 12rem 8rem;
}

.complete-section {
  text-align: center;
  padding-top: 10rem;
}

.complete-section p {
  margin-bottom: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-sub {
    padding: 0 2rem 4rem;
  }

  .hero-title {
    font-size: 3.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .text-content h2 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.6rem;
    line-height: 1.8;
  }

}