@charset "utf-8";

/* =============================================
   1. Base / Reset / Variables
   ============================================= */
:root {
  --ink: #50453c;
  --paper: #fffcf7;
  --card: #ffffff;
  --accent: #d88a1e;
  --line: rgba(80, 69, 60, 0.15);
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: bottom;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

/* =============================================
   2. Typography & Headings
   ============================================= */
h1, h2, h3 {
  line-height: 1.3;
}

h2 {
  margin: 40px auto 20px;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
  font-size: 22px;
  max-width: 650px;
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 200px);
  height: 1px;
  background: linear-gradient(to right, rgba(80,69,60,0), rgba(80,69,60,0.6), rgba(80,69,60,0));
  transform: translateX(-50%);
}

.hero-title {
  text-align: left;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 24px;
  margin: 0 0 8px 0;
}
.hero-title::after {
  display: none;
}

.hero-sub {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  opacity: 0.7;
}

h3.section-subtitle {
  font-size: 18px;
  margin: 30px 0 12px;
  font-weight: 700;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  max-width: 640px;
}


p {
  font-size: 18px;
  margin-bottom: 1em;
  letter-spacing: 0.03em;
}

/* =============================================
   3. Header & Navigation (Mobile)
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 300;
  background: var(--ink);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.head h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.head h1 a {
  color: #FFF9F7;
}

.tagline {
  color: #FFF9F7;
  font-size: 10px;
  opacity: 0.8;
  display: block;
}

/* Hamburger Menu */
.hamburger {
  cursor: pointer;
  height: 60px;
  width: 60px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hamburger span {
  background: #FFF9F7;
  height: 2px;
  width: 26px;
  position: absolute;
  transition: all 0.4s;
}
.hamburger_linetop { top: 22px; }
.hamburger_linecenter { top: 29px; }
.hamburger_linebottom { top: 36px; }

/* Open State */
.nav_open .hamburger_linetop { top: 29px; transform: rotate(45deg); }
.nav_open .hamburger_linecenter { opacity: 0; }
.nav_open .hamburger_linebottom { top: 29px; transform: rotate(-45deg); }

.sidemenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: var(--ink);
  padding-top: 80px;
  transition: right 0.4s ease;
  z-index: 100;
}
.nav_open .sidemenu {
  right: 0;
}

.sidemenu li a {
  display: block;
  padding: 15px 24px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.nav_open .overlay {
  opacity: 1;
  visibility: visible;
}

/* =============================================
   4. Layout & Container
   ============================================= */
.page {
  max-width: 800px;
  margin: 80px auto 100px;
  padding: 0 16px;
}

/* Text width limit for readability */
section p, 
section ul, 
.highlight-box {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   5. Components (Buttons, Pills, Boxes)
   ============================================= */
/* 最安値のボタン */
   .cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 20px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(216, 138, 30, 0.3);
}

.cta-pill::after,
.link-with-arrow::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-bottom: 1px;
}
/* 右下の固定ボタン */
/* index.htmlだけボタンが2個ある */
.floating-booking {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  z-index: 9999;
}

.booking-button {
  display: inline-block;
  background-color: #d88a1e;
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: 0.2s;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .floating-booking {
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }

  .booking-button {
    padding: 8px 10px;
    font-size: 12px;
  }
}
.rb-bookingbtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Perks Box */
.highlight-box {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 0 rgba(216, 138, 30, 0.1);
}
.highlight-box ul li {
  margin-bottom: 8px;
}

/* Bullet list style */
.bullet-dot li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 6px;
}
.bullet-dot li::before {
  content: "●";
  color: var(--accent);
  font-size: 0.6em;
  position: absolute;
  left: 0;
  top: 0.5em;
}

.note {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 10px;
}

/* =============================================
   6. Room Cards & Grid
   ============================================= */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.room-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.2s;
}
.room-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.room-name {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.room-max {
  font-size: 11px;
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
  color: #666;
}
.room-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.link-with-arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
}
.room-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.room-card-link:hover .room-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}
.room-card-link:hover .link-with-arrow {
  opacity: 0.7;
}
.room-card {
  transition: all 0.3s ease;
}
/* =============================================
   7. Gallery Carousel
   ============================================= */
.carousel {
  position: relative;
  margin: 20px auto;
  max-width: 640px;
}

.carousel__viewport {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
}
.carousel__viewport::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
}

.carousel__slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-weight: bold;
}
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }

/* =============================================
   8. Room Icons & Amenities
   ============================================= */
.room-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  max-width: 640px;
}

.room-info__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.room-info__item img {
  width: 24px;
  height: 24px;
}

.amenitys {
  background: #f3eee6;
  border-radius: 16px;
  padding: 10px;
  margin-top: 20px;
}
.amenity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 40px;
  width: fit-content;
  max-width: 100%;
  margin: 10px auto;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 240px; 
}
.amenity-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}
.amenity-item span {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
}
.amenity-item small {
  font-weight: 500;
  font-size: 0.85em;
  opacity: 0.8;
  display: block;
  margin-top: 2px;
}
@media (min-width: 600px) {
  .amenity-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================
   10. FAQ (Accordion)
   ============================================= */
.faq {
  background: #f3eee6;
  border-radius: 16px;
  padding: 20px;
  margin-top: 30px;
}

.faq-item {
  border-bottom: 1px solid rgba(80,69,60,0.1);
}
.faq-item:last-child { border: none; }

.faq-q {
  font-weight: 700;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
  color: var(--accent);
}

.faq-item[open] .faq-q::after {
  content: "-";
}

.faq-a {
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* =============================================
   11. Footer & Floating Button
   ============================================= */
.site-footer {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  border-radius: 20px 20px 0 0;
}
.site-footer a {
  color: #fff;
  opacity: 0.8;
  margin: 0 10px;
  font-size: 13px;
}

.copyright {
  margin-top: 20px;
  font-size: 10px;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

/* =============================================
   12. PC Responsive
   ============================================= */
@media (min-width: 768px) {
  .page {
    margin-top: 100px;
  }
  
  .head h1 {
    font-size: 24px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .carousel__slide img {
    height: 400px;
  }
}

/* =============================================
   13. Reviewボタン
   ============================================= */
.superhost-link-container {
  max-width: 640px;
  margin: 10px auto 30px;
  display: flex;
  justify-content: flex-end;
}
.superhost-pill {
  display: inline-block;
  background-color: #ffffff;
  color: var(--ink);
  border: 1px solid #ffd1da;
  padding: 8px 24px;
  border-radius: 999px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.superhost-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  opacity: 1; 
}

/* =============================================
   14. legalnotice-page and privacy-page
   ============================================= */
 .content-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}
.standard-list dt {
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.standard-list dt:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.standard-list dd {
  font-size: 15px;
  margin: 5px 0 15px 0;
  line-height: 1.6;
}
.standard-list dd small {
  font-size: 12px;
  opacity: 0.7;
}
@media (min-width: 600px) {
  .content-card {
    padding: 30px 40px;
  }
  .standard-list dl {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0;
  }
  .standard-list dt {
    border-top: none;
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 20px 0;
    display: flex;
    align-items: center;
  }
  .standard-list dd {
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 20px 0;
  }
  .standard-list dt:last-of-type,
  .standard-list dd:last-of-type {
    border-bottom: none;
  }
}