:root {
  --main: #2e9f8f;
  --dark: #2b2b2b;
  --light: #f7f5f2;
  --text: #222;
}

/* =====================
   RESET
===================== */

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

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  line-height: 1.8;
}

a {
  text-decoration: none;
}

/* =====================
   HEADER
===================== */

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Hiragino Mincho Pro", serif;
  font-size: 18px;
  font-weight: bold;
  color: #ea0084;
  text-decoration: none;
  line-height: 1.2;
}

.logo span {
  display: block;
  font-size: 10px;
  color: #777;
  letter-spacing: .15em;
}

.global-nav {
  display: flex;
  gap: 24px;
}

.global-nav a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.global-nav a.active {
  color: var(--main);
}

.global-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--main);
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .global-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

 .hero-tubaki {
    width: 55px;
  }

  .lead span {
    display: block;
  }
}
  


/* =====================
   HERO
===================== */

.hero {
  position: relative;
  height: 88vh;
  min-height: 600px;
  padding-top: 70px;
  box-sizing: border-box;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}

.hero-content {
  position: relative;
  z-index: 20;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: #fff;

  gap: 26px;
  padding: 0 20px;

  /* 少し上寄せ（宿サイト定番） */
  transform: translateY(-4vh);
}

/* 椿（ロゴ扱い） */
.hero-tubaki {
  width: 75px;          /* ← 約30%縮小 */
  max-width: 22vw;      /* ← 画面比率も少し抑える */
  height: auto;
  margin-bottom: 6px;

  filter: drop-shadow(0 6px 12px rgba(120,0,20,.35));
}

.hero .catch {
  font-family: "Hiragino Mincho Pro", serif;
  font-size: clamp(16px, 3.5vw, 26px);
  letter-spacing: .1em;
}

.title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero h1 {
  font-family: "Hiragino Mincho Pro", serif;
  font-size: clamp(42px, 10vw, 96px);
  letter-spacing: .25em;
}

.hero-content h1 {
  color: #fff;
  text-shadow:
    0 0 10px rgba(210, 30, 40, 0.75),
    0 0 28px rgba(210, 30, 40, 0.6),
    0 0 60px rgba(210, 30, 40, 0.45),
    0 0 90px rgba(210, 30, 40, 0.25);
}

.catch {
  color: #fff;
  text-shadow:
    0 0 10px rgba(210, 30, 40, 1.2),
    0 0 28px rgba(210, 30, 40, 0.8),
    0 0 60px rgba(210, 30, 40, 0.6),
    0 0 90px rgba(210, 30, 40, 0.4);
}

.hero .en {
  font-size: clamp(12px, 2.5vw, 20px);
  letter-spacing: .25em;
  opacity: .8;
}

.hero-content .en {
  margin-bottom: 28px;
}

.hero .lead {
  font-size: 14px;
  max-width: 700px;
  line-height: 1.9;
}

/* タイトル3行をひとまとまりに */
.title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  gap: 0;              /* ← まず余白をゼロに */
}

/* 伊豆大島 ゲストハウス */
.title-block .catch {
  line-height: 1.15;
  margin-bottom: 5px;
}

/* かめりあ */
.title-block h1 {
  line-height: 1.05;   /* ← ここが一番効く */
  margin: 0;
}

/* CAMELLIA GUESTHOUSE */
.title-block .en {
  line-height: 1.15;
  margin: 0;
}


/* SP */

@media (max-width: 1024px) {
  .hero { height: 80vh; }
}

@media (max-width: 768px) {
  .hero { height: 55vh; }
}

@media (max-width: 480px) {
  .hero { height: 45vh; }
}

  .hero-content {
    gap: 18px;
    transform: translateY(-2vh);
  }

  .hero-tubaki {
    width: 80px;
  }

  .hero .lead {
    font-size: 13px;
  }

  .catch-block {
  gap: 12px;
}

/* =====================
   HERO フェードイン演出
===================== */

.hero-content .title-block,
.hero-content .catch-block {
  opacity: 0;
  animation: heroFadeUp 2.5s ease forwards;
}

/* 少し遅れて出す（自然な流れ） */
.hero-content .catch-block {
  animation-delay: 0.8s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =====================
   FEATURES
===================== */

.features {
  padding-bottom: 100px;
  padding: 80px 20px 140px;
  text-align: center;
}

.section-label {
  font-size: 20px;
  letter-spacing: .2em;
  color: var(--main);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.feature-list {
  max-width: 1400px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
}

.feature-card img {
  width: calc(100% - 24px);
    margin: 0 auto;
    display: block;
  border-radius: 16px;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.9;
}



/* PRICE */
.price {
  margin-top: 100px;
  background: #f7f7f5;
  padding: 40px 20px 80px;
  text-align: center;
}

.price-inner {
  max-width: 520px;
  margin: 0 auto;
}

.price-title {
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  font-weight: 600;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 10px;
  border-bottom: 1px solid #ddd;
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list li:first-child .yen {
  color: #2b8f85;
}

.people {
  font-size: 15px;
  color: #333;
}

.yen {
  font-size: 20px;
  font-weight: 600;
  color: #222;
}

.yen span {
  font-size: 13px;
  font-weight: normal;
  margin-left: 4px;
}

.price-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

.price-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: #2b8f85;
  text-decoration: none;
}


/* CTA */
.cta {
  background: var(--dark);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  background: var(--main);
  color: #fff;
  padding: 16px 40px;
  border-radius: 30px;
  margin-top: 24px;
  font-size: 20px;
}

.map img {
  border-radius: 16px;
  margin: 32px auto;
  max-width: 1000px;
}

/* =====================
   FOOTER
===================== */

.footer {
  margin-top: 160px;
  text-align: center;
}

/* ---------- 白帯 ---------- */

.footer-upper {
  padding: 10px 20px 100px;
}

.footer-lower {
  padding: 60px 20px 50px;
}


.footer-upper-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-block h4 {
  font-size: 17px;
  margin-bottom: 14px;
  color: #222;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block li {
  margin-bottom: 8px;
}

.footer-block a {
  color: #222;
  font-size: 14px;
  text-decoration: none;
}

.footer-block a:hover {
  color: #2e9f8f;
}

.footer-block p {
  font-size: 14px;
  line-height: 1.8;
  color: #222;
}

/* ---------- 黒帯 ---------- */

.footer-lower {
  background: #2b2b2b;
  color: #fff;
  padding: 50px 20px 40px;
}

.footer-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-address,
.footer-tel {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 6px;
}

/* ---------- copyright ---------- */

.footer .copyright {
  background: #1f1f1f;
  color: #aaa;
  font-size: 12px;
  padding: 14px 10px;
}

/* ---------- SP ---------- */

@media (max-width: 768px) {
  .footer-upper-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-block {
    text-align: center;
  }
}





/* ===== FACILITY ===== */

.page-hero {
  position: relative;
  height: 45vh;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.page-hero h1 {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  letter-spacing: .2em;
  font-size: 36px;
}

/* 共通タイトル */

.jp-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 8px;
}

.jp-lead {
  text-align: center;
  color: #666;
  margin-bottom: 48px;
}

/* 客室 */

.facility-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

.facility-row {
  display: flex;
  gap: 48px;
  margin-bottom: 80px;
  align-items: center;
}

.facility-row.reverse {
  flex-direction: row-reverse;
}

.facility-image img {
  border-radius: 16px;
}

.facility-text {
  max-width: 420px;
}

.facility-text h3 {
  margin-bottom: 16px;
}

.tag-list {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.tag-list li {
  list-style: none;
  font-size: 12px;
  padding: 6px 12px;
  background: #f2f2f2;
  border-radius: 20px;
}

/* 共用 */

.common-section {
  background: #fafafa;
  padding: 80px 20px;
}

.common-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 32px;
}

.common-card img {
  border-radius: 12px;
  margin-bottom: 12px;
}

/* アメニティ */

.amenities {
  margin-top: 60px;
}

.sub-title {
  text-align: center;
  margin-bottom: 40px;
}

.amenity-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-items: center;
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.amenity-list li {
  text-align: center;
  font-size: 14px;
}

.amenity-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  border-radius: 16px;
  background: #f2f5f4;

  display: flex;
  align-items: center;
  justify-content: center;
}

.amenity-icon img {
  width: 80px;
  height: 80px;
}



/* SP */
@media (max-width: 768px) {
  .amenity-list {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}




/* ===== ACCESS PAGE ===== */

.access-page,
.price-page,
.reserve-page {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head .en {
  font-size: 12px;
  letter-spacing: .2em;
  color: #2e9f8f;
}

.section-head h1,
.section-head h2 {
  font-size: 28px;
  margin-top: 8px;
}

.sub {
  color: #666;
  margin-top: 8px;
}

/* MAP */

.map-box iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

/* INFO */

.access-info {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 40px;
  margin-top: 50px;
}

.info-card {
  background: #f7f7f7;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* アイコン外枠 */
.info-card .icon {
  width: 64px;
  height: 64px;
  background: #f7f7f7;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.info-card .icon img {
  width: 80px;
  height: 80px;
}

.info-text h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.info-text p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* PRICE */

.price-table {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.price-row.head {
  background: #2e9f8f;
  color: #fff;
  font-weight: bold;
}

.price-note {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 24px;
}

/* RESERVE */

.reserve-steps {
  max-width: 720px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reserve-step {
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  display: block;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #2b8f85;
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.step span {
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2e9f8f;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.reserve-btn {
  display: block;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  background: #2e9f8f;
  color: #fff;
  padding: 18px;
  border-radius: 40px;
  font-size: 16px;
}

.tel-note {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #666;
}

/* SP */
@media (max-width: 768px) {
  .price-row {
    flex-direction: column;
    gap: 8px;
  }

  .reserve-steps {
  grid-template-columns: 1fr;
  }
}




/* ===== TERMS ===== */

.terms-hero {
  background: #2e9f8f;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.terms-hero h1 {
  font-size: 24px;
}

/* content */

.terms-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.terms-box {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.terms-box summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: bold;
  list-style: none;
  position: relative;
}

.terms-box summary::after {
  content: "＋";
  position: absolute;
  right: 24px;
  top: 20px;
}

.terms-box[open] summary::after {
  content: "−";
}

.terms-text {
  padding: 0 24px 20px;
  color: #444;
  font-size: 14px;
}

.terms-note {
  padding: 0 24px 20px;
  font-size: 12px;
  color: #777;
}

/* table */

.terms-table {
  margin: 0 24px 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

.terms-table .row {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.terms-table .row.head {
  background: #2e9f8f;
  color: #fff;
  font-weight: bold;
}

/* contact */

.terms-contact {
  background: #faf8f4;
  text-align: center;
  padding: 60px 20px;
}

.terms-tel {
  display: block;
  margin: 16px 0;
  font-size: 22px;
  color: #2e9f8f;
  font-weight: bold;
}

.terms-contact .small {
  font-size: 12px;
  color: #666;
}


/* 画像ホバー拡大 */

.image-link {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.image-link img {
  transition: transform .4s ease;
}

.image-link:hover img {
  transform: scale(1.08);
}


/* ===== 画像モーダル ===== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

/* 表示状態 */
.modal:target {
  opacity: 1;
  pointer-events: auto;
}

/* 拡大画像 */
.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

/* 閉じる用（背景クリック） */
.modal-close {
  position: absolute;
  inset: 0;
}


@media (max-width: 768px) {
  .common-grid {
    justify-items: center;
    text-align: center;
  }

  .common-grid p,
  .common-grid h3 {
    text-align: center;
  }
}
