@charset "UTF-8";
/*
Theme Name: jncsite
Description: JAPAN NATURE COLLECTION - Inbound accommodation portal theme.
Author: BookingResort
*/

/* ============================
   CSS Variables
   ============================ */
:root {
  --color-bg:       #f8f6f3;
  --color-white:    #ffffff;
  --color-dark:     #1e1e1e;
  --color-text:     #333333;
  --color-muted:    #888888;
  --color-border:   #e0dbd4;
  --color-accent:   #8b7355;
  --color-gold:     #c4a96e;
  --color-footer-bg:#141410;

  --font-en:   'Cormorant Garamond', Georgia, serif;
  --font-ja:   'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', sans-serif;

  --header-h:  72px;
  --container: 1160px;
  --radius:    4px;
  --transition: 0.3s ease;
}

/* ============================
   Reset / Base
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-dark);
}

p { line-height: 1.9; color: var(--color-text); }

a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
}
a:hover { opacity: 0.75; }

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

ul, ol { list-style: none; }

/* ============================
   Layout Helpers
   ============================ */
.wrapper { }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ============================
   Header
   ============================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(20, 20, 16, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 40px;
  max-width: var(--container);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; height: 60px; }
}

.site-logo a {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-white);
  white-space: nowrap;
}

/* Global Nav (PC) */
.global-nav { display: flex; align-items: center; gap: 0; }

.global-nav ul {
  display: flex;
  gap: 0;
}

.global-nav ul li a {
  display: block;
  padding: 0 16px;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.global-nav ul li a:hover {
  color: var(--color-white);
  opacity: 1;
}

/* ---- ヘッダー認証ボタン (PC) ---- */
.header-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.header-auth-login {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  padding: 6px 12px;
  transition: color var(--transition);
}
.header-auth-login:hover { color: var(--color-white); opacity: 1; }

.header-auth-register {
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  background: var(--color-gold);
  padding: 7px 16px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background var(--transition);
}
.header-auth-register:hover { background: var(--color-white); opacity: 1; }

.header-auth-member {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-auth-member:hover { color: var(--color-white); opacity: 1; }
.header-auth-member svg { flex-shrink: 0; }

.header-auth-logout {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 10px;
  border-radius: 2px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.header-auth-logout:hover { color: var(--color-white); border-color: rgba(255,255,255,0.5); opacity: 1; }

/* Hamburger button */
.nav-toggle { display: none; }

.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 9999;
  position: relative;
}

.nav-toggle-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  margin: 3px 0;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 400;
}

@media (max-width: 896px) {
  .nav-toggle-btn { display: flex; }

  body.nav-open .nav-overlay { display: block; }
  body.nav-open .nav-toggle-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle-btn span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--color-footer-bg);
    padding: 80px 0 40px;
    flex-direction: column;
    justify-content: flex-start;
    transition: right 0.35s ease;
    z-index: 500;
    overflow-y: auto;
  }

  body.nav-open .global-nav { right: 0; }

  .global-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .global-nav ul li a {
    padding: 16px 32px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
  }

  /* スマホメニュー内の認証ボタン */
  .header-auth {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 24px 32px 0;
    padding: 24px 0 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .header-auth-login {
    text-align: center;
    padding: 12px;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2px;
    font-size: 1.4rem;
  }

  .header-auth-register {
    text-align: center;
    padding: 12px;
    font-size: 1.4rem;
    border-radius: 2px;
  }

  .header-auth-member {
    justify-content: center;
    max-width: none;
    font-size: 1.4rem;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
  }

  .header-auth-logout {
    text-align: center;
    padding: 10px;
    font-size: 1.3rem;
  }
}

/* ============================
   Section Common
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: block;
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-dark);
}

@media (max-width: 768px) {
  .section-title { font-size: 2.4rem; }
  .section-header { margin-bottom: 32px; }
}

/* More button */
.section-more {
  text-align: center;
  margin-top: 48px;
}

.btn-more {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid var(--color-dark);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  transition: background var(--transition), color var(--transition);
}

.btn-more:hover {
  background: var(--color-dark);
  color: var(--color-white);
  opacity: 1;
}

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

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .footer-inner { padding: 0 20px; }
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo a {
  font-family: var(--font-en);
  font-size: 2.0rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-white);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav ul li a {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.footer-nav ul li a:hover { color: var(--color-white); opacity: 1; }

.footer-links {
  display: flex;
  gap: 48px;
  padding: 48px 0;
  flex-wrap: wrap;
}

.footer-links-title {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-area { flex: 1; min-width: 280px; }

.footer-area-table {
  border-collapse: separate;
  border-spacing: 4px 6px;
  font-size: 1.3rem;
}

.footer-area-table th,
.footer-area-table td {
  padding: 2px 8px;
  text-align: left;
}

.footer-area-table th { color: rgba(255,255,255,0.7); font-weight: 500; }
.footer-area-table td a { color: rgba(255,255,255,0.5); }
.footer-area-table td a:hover { color: var(--color-white); opacity: 1; }

.footer-facilities { flex: 1; min-width: 280px; }

.footer-fac-cols {
  column-count: 2;
  column-gap: 40px;
}
.footer-fac-group {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 18px;
}
.footer-facilities ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-facilities .footer-fac-region {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

.footer-facilities ul li a {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  display: block;
}

.footer-facilities ul li a:hover { color: var(--color-white); opacity: 1; }

.footer-facilities-more {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-facilities-more a {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-facilities-more a:hover { color: var(--color-white); opacity: 1; }

.footer-copy {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 0;
}

.footer-copy small {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .footer-top { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-facilities { flex: none; }
  .footer-fac-cols { column-count: 1; }
}
