/* ===== Base / Common ===== */
:root {
  --main-color: #4b81c5;
  --sub-color: #d3deec;
  --text-color: #000;
  --a-color: #e05c3b;
  --bg-1: #fff;
  --bg-2: #d4eff5;
  --content-width: 1200px;
  --underline-color: var(--sub-color);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-color);
  background: var(--bg-1);
  font-size:16px;
  line-height: 1.75;
  letter-spacing:0.25px;
  overflow-x:hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Layout ===== */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
  background: var(--bg-1);
  --underline-color: var(--sub-color);
}

.section.bg-alt {
  background: var(--bg-2);
  --underline-color: #fff;
}

/* ===== Section Title ===== */
.section-title {
  position: relative;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  display: inline;
  position: relative;
  z-index: 1;
  padding: 0 11px;
  margin: 0;
  background-image: linear-gradient(var(--underline-color), var(--underline-color));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 16px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ===== Title Mark (Top) ===== */
.title-mark {
  position: absolute;
  max-width: none;
  z-index: 0;
}

/* ===== Header ===== */
.site-header {
  height: 70px;
  background: var(--bg-1);
  border-bottom: 1px solid #e2e2e2;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  padding: 6px 2px;
  transition: opacity 0.3s;
}

.header-btn {
  height: 70px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
  border-radius: 0;
  gap: 10px;
  transition: opacity 0.3s;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #000;
  background: transparent;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #000;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(80vw, 320px);
  height: 100vh;
  background: #fff;
  padding: 90px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  box-shadow: -10px 0 24px rgba(0, 0, 0, 0.1);
}

.mobile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  font-weight: 600;
}

.mobile-btn {
  height: auto;
  padding: 12px 20px;
  justify-content: center;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 150;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* ===== Hero ===== */
.hero {
  width: 100%;
  height: 95vh;
  background: url("./images/kv.webp") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-logo {
  position: relative;
  z-index: 2;
}

.hero-badges {
  position: absolute;
  left: 40px;
  bottom: 40px;
  display: flex;
  gap: 20px;
  z-index: 2;
}

.hero-badge {
  width: 180px;
  height: 180px;
  background: var(--main-color);
  color: #fff;
  border-radius: 50%;
  padding: 20px;
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.hero-badge span {
    font-size: 1.25em;
    font-weight: bold;
}

/* ===== About ===== */
#about .section-title{
  margin-bottom:24px;
}

#about .title-mark {
    top: -125px;
    right: -80px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 100px;
  align-items: end;
}

.about-text p {
    font-size: 1.2em;
    font-weight: 500;
}

/* ===== Charm ===== */
#charm .section-title{
  text-align:center;
}

#charm .title-mark {
    top: -35px;
    right: -250px;
    max-width: 240px;
}

.charm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.charm-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight:bold;
}

.charm-card p {
    text-align: justify;
}

/* ===== Plans ===== */
#plans .section-title{
  text-align:center;
  margin-bottom: 82px;
}

#plans .title-mark {
    top: -28px;
    right: -192px;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.plan-item {
  display: flex;
  gap: 30px;
  row-gap:0;
  align-items: flex-end;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
  padding: 0 50px;
  margin: 0 auto;
}

.plan-photo {
  flex: 0 0 calc(45% - 15px);
  min-width: 0;
}

.plan-photo img {
  width: 100%;
  height: auto;
}

.plan-info {
  flex: 0 0 calc(55% - 15px);
  min-width: 0;
}

.plan-info h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-info h3::before {
  content: "";
  width: 28px;
  height: 28px;
  background: url("./images/title-door.webp") center/contain no-repeat;
  flex: 0 0 28px;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.plan-table th,
.plan-table td {
  border: 1px solid #000;
  padding: 12px 14px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.plan-table th {
  width: 25%;
  background: #fff;
  font-weight:bold;
  vertical-align: middle;
}

.plan-list-items {
  margin: 0;
  padding-left: 18px;
}

.plan-list-items li {
  margin: 0;
  list-style: '●';
}

.plan-action {
  text-align: right;
  margin-top: 16px;
  width: 100%;
  flex: 0 0 100%;
}

.btn-dark {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 70px 10px 22px;
  font-size: 14px;
  position: relative;
  transition: opacity 0.3s;
}

.btn-dark::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 39px;
  height: 16px;
  background: url("./images/button-arrow.webp") center/contain no-repeat;
  transform: translateY(-50%);
}

/* ===== Access ===== */
#access .title-mark {
    top: -24px;
    right: -78px;
}

.access-grid {
  display: grid;
  grid-template-columns: 35% 65%;
  grid-template-areas:
    "title address"
    "photo map";
  gap: 20px 40px;
  align-items: start;
}

.access-title {
  grid-area: title;
}

.access-address {
  grid-area: address;
  font-size: 16px;
}

.access-photo {
  grid-area: photo;
}

.access-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.access-map {
  grid-area: map;
  height: 100%;
}

.access-map iframe {
  width: calc(100% + (100vw - var(--content-width)) / 2);
  height: 100%;
  min-height: 0;
  border: 0;
  display: block;
  margin-right: calc((100vw - var(--content-width)) / -2);
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 40px;
}

.faq-tabs {
  display: flex;
  gap: 5px;
  justify-content: center;
  border-bottom:1px solid var(--text-color);
}

.tab-btn {
  padding: 10px 16px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius:5px 5px 0 0;
  border:1px solid var(--text-color);
  border-bottom:0;
}

.tab-btn.active {
  background: var(--main-color);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.section#faq {
    padding-top: 120px;
}

#faq .title-mark {
    top: -50px;
    right: -60px;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.faq-list details {
  background: #fff;
  padding: 24px 16px;
  border-bottom: 1px solid var(--text-color);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
}

.qa-label {
  font-weight: 700;
  margin-right: 6px;
}

.q-label {
  color: var(--main-color);
}

.a-label {
  color: var(--a-color);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 700;
  color: var(--main-color);
  margin-left: auto;
}

.faq-list details[open] summary::after {
  content: "-";
}

.answer {
    margin: 1em 0 0 1em;
}

/* ===== Footer ===== */
.site-footer {
  padding: 40px 0;
  background: var(--bg-2);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-left h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 20px;
}

.footer-links a {
    font-size: 14px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.footer-buttons {
  display: flex;
  gap: 12px;
}

.footer-buttons a {
  min-width: 140px;
  text-align: center;
}

/* ===== Buttons ===== */
.btn-outline {
  border: 1px solid #000;
  color: #000;
  padding: 5px 20px;
  display: inline-block;
  transition: opacity 0.3s;
}

.btn-main {
  background: var(--main-color);
  color: #fff;
  padding: 5px 20px;
  display: inline-block;
  transition: opacity 0.3s;
}

/* ===== Floating Reserve Button ===== */
.reserve-float {
  position: fixed;
  right:0;
  top: 50%;
  transform: translateY(-50%);
  background: #41a677;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 12px 0 0 12px;
  z-index: 120;
  transition: opacity 0.3s;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.reserve-float img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ===== Room Pages ===== */
.room-hero {
  padding: 60px 0;
  padding-bottom: 0;
}

/* Room: Gallery */
.room-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.room-main {
  position: relative;
  --gallery-btn-size: 44px;
  --gallery-btn-gap: 10px;
  padding: 0 calc(var(--gallery-btn-size) + var(--gallery-btn-gap));
}

.room-main img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--gallery-btn-size);
  height: var(--gallery-btn-size);
  border: none;
  background: var(--main-color);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.gallery-btn.prev {
  left: 0;
}

.gallery-btn.next {
  right: 0;
}

.room-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.room-thumb {
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
}

.room-thumb.active {
  border-color: var(--main-color);
}

.room-thumb img {
  width: 100%;
  height: auto;
  display: block;
}


/* Room: Text */
.room-text {
  margin: 0;
}

/* Room: Recommend */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.recommend-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.recommend-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.recommend-card img {
  width: 100%;
  height: auto;
  display: block;
}

.recommend-card p {
  margin: 0;
  font-weight: 700;
  display: inline-block;
  padding: 0.75em 0;
}

/* Room: Table */
.room-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  background: #fff;
  margin: 0 auto;
}

.room-table th,
.room-table td {
  border: 1px solid #000;
  padding: 12px 14px;
  text-align: left;
}

.room-table th {
  width: 40%;
  background: #fff;
  font-weight:bold;
  text-align:center;
}

.room-note {
  margin-top: 12px;
  font-size: 14px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}

.room-reserve {
  text-align: center;
  margin-top: 24px;
}

/* Room: Links */
.room-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.room-link-card {
  display: block;
  text-align: center;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.room-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.room-link-card p {
  margin: 12px 0 16px;
  font-weight: 600;
}

.room-link-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
}

/* Room: Docking */
.docking {
  margin-top: 45px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--main-color);
}

.docking h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.docking p {
  margin: 0;
}

.docking-images {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.docking-images img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== States ===== */
.btn-dark:hover,
.btn-outline:hover,
.btn-main:hover,
.header-btn:hover {
  opacity: 0.5;
}

.reserve-float:hover {
  opacity: 0.5;
}

.site-nav a:hover,
.footer-links a:hover {
  opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header-actions {
    gap: 12px;
  }

  .hero-badges {
    left: 20px;
    bottom: 20px;
  }

    #about .title-mark {
    width: 240px;
    top: -90px;
}

.section#about {
    padding-top: 120px;
}
}

@media (max-width: 900px) {
  .site-header {
    padding-right: 32px;
  }

  .site-nav {
    display: none;
  }

  .header-actions .header-btn {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .about-grid,
  .charm-grid,
  .access-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .access-grid {
    grid-template-areas:
      "title"
      "address"
      "photo"
      "map";
  }

  .plan-item {
    flex-direction: column;
  }

  .plan-photo,
  .plan-info {
    flex: 1 1 auto;
  }

  .hero-badges {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    left:0;
    bottom:20px;
    gap:7px;
  }

  .hero {
      padding: 0 60px;
      flex-direction: column;
        height: 60vh;
  }
  
  .access-map iframe {
    width: 100%;
    height: auto;
    margin-right: 0;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
  }

  body {
    font-size: 14px;
  }

  .section-title h2 {
    font-size: 24px;
  }

.about-image {display: flex;justify-content: center;}

  .about-text p {
    font-size: 1.15em;
    font-weight: 500;
}

  .plan-info h3 {
    font-size: 18px;
  }

  .charm-card h3 {
    font-size: 16px;
  }

  .tab-btn {
    font-size: 12px;
  }

  .faq-list summary {
    font-size: 14px;
  }

  .btn-dark,
  .btn-outline,
  .btn-main,
  .header-btn {
    font-size: 13px;
  }

  .reserve-float {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
  }

  .site-footer {
    padding-bottom: 120px;
  }

  .room-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommend-grid,
  .room-links {
    grid-template-columns: 1fr;
  }

  .gallery-btn {
    font-size: 16px;
  }

  .room-main {
    --gallery-btn-size: 24px;
    --gallery-btn-gap: 8px;
  }
}

@media (max-width: 600px) {
  .hero-badge {
    width: 150px;
    height: 150px;
    font-size: 12px;
  }

.section#about {
    padding-top: 112px;
}

#about .title-mark {
    top: -78px;
    left: 0;
    width: 180px;
}

.about-grid {
    gap: 50px;
}

.about-image img {
    width: 80%;
}

#charm .section-title {
    text-align: left;
}

#charm .title-mark {
    max-width: 170px;
    top: -18px;
    right: -180px;
}

#plans .section-title {
    text-align: left;
    margin-bottom: 50px;
}

#plans .title-mark {
    max-width: 120px;
    right: -82px;
    top: -46px;
}

.plan-item {
    padding: 0;
    gap: 15px;
}

.plan-photo, .plan-info {
    width: 100%;
}

.plan-action {
    margin-top: 0;
}

.section {
    padding: 60px 0;
}

#plans.section {
    padding-top: 75px;
}

.plan-table th {
    width: 30%;
}

#access .section-title {
    margin-bottom: 0;
}

.access-map iframe {
    height: 500px;
}

.section#faq {
    padding-top: 80px;
}

#faq .title-mark {
    width: 72px;
    top: -40px;
}

#faq .section-title {
    margin-bottom: 0;
}

.tab-btn {
    width: 30%;
}

.faq-list details {
    padding: 16px;
}

.footer-inner {
    align-items: flex-start;
    gap: 20px;
}

.footer-links{
  gap:5px 10px;
}

.room-hero{padding-bottom:0;}
}

@media (max-width: 490px) {
  .hero-badges .hero-badge {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 380px) {
.plan-table th br{
  display:none;
}
}

/* ===== Room Page Overrides ===== */
.room-page .section-title {
    text-align: center;
    margin-bottom: 45px;
}

.recommend-card p {
    font-weight: 500;
    font-size: 1.15em;
    color: var(--main-color);
}
