/* ========================================
   CSS Reset & Base Styles
======================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Color Variables & Gradients
======================================== */

:root {
    /* Brand Colors - Blue to Yellow-Green Gradient */
    --primary-blue: #4a90e2;
    --primary-teal: #5cb3a8;
    --primary-green: #7bc142;
    --gradient-primary: linear-gradient(135deg, #4a90e2 0%, #5cb3a8 50%, #7bc142 100%);
    --gradient-secondary: linear-gradient(45deg, rgba(74, 144, 226, 0.1) 0%, rgba(92, 179, 168, 0.1) 50%, rgba(123, 193, 66, 0.1) 100%);
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-gray: #6c757d;
    --color-dark-gray: #495057;
    --color-black: #212529;
    
    /* Japanese Traditional Colors */
    --color-sumi: #1c1c1c;
    --color-beige: #f5f3f0;
    --color-wood: #8b6914;
    
    /* Header & Layout */
    --header-height: 70px;
    --overlay-z: 1050;   /* 背景を覆うスクラム（グレー） */
    --header-z: 1200;    /* ← ヘッダーごと前面へ（overlay より上） */
    --menu-z: 1201;      /* ← メニューはヘッダーの直上（一枚上） */
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --section-padding-mobile: 60px 0;
    
    /* Typography */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ========================================
   Typography
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

h1 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-dark-gray);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-teal);
}

/* ========================================
   Layout Components
======================================== */

/* Page Header Styles */
.page-header {
    background: var(--gradient-secondary);
    padding: 15rem 0 6rem;
    margin-top: 70px;
    text-align: center;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}


/* Full width page content - No left/right margins */
.access-section,
.area-guide-section, 
.faq-section,
.blog-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    padding: 4rem 0;
}

.access-section::before,
.area-guide-section::before,
.faq-section::before,
.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(74, 144, 226, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(123, 193, 66, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Container for full-width pages */
.access-section .container,
.area-guide-section .container,
.faq-section .container,
.blog-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Modern Card Styles for Content */
.feature-section {
    margin-bottom: 0;
    width: 100%;
}

.feature-section .feature-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 4rem 3rem;
    margin-bottom: 0;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Attraction Cards */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.attraction-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0;
}

.attraction-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.attraction-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.attraction-content {
    padding: 2rem;
}

/* FAQ Items */
.faq-items {
    width: 100%;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 2rem 2rem;
    display: none;
}

/* Facilities Grid Styles */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.facility-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.facility-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.facility-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-sumi);
}

.facility-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-dark-gray);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-sumi);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-description {
    font-size: 1.1rem;
    color: var(--color-dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Specific fix for rooms page visibility */
.rooms-overview {
    padding-top: 4rem;
}

/* Ensure page header content is always visible */
.page-header .container {
    padding-top: 2rem;
}

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

.section {
    padding: var(--section-padding);
}

/* ========================================
   Button Styles
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-medium);
    font-family: inherit;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    min-width: 140px;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--color-white);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-width: 180px;
}

/* ========================================
   Header & Navigation
======================================== */

.header {
    background: var(--color-white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--header-z);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand .brand-link {
    text-decoration: none;
    color: inherit;
}

.site-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-sumi);
    margin: 0;
    letter-spacing: 0.05em;
}

.site-subtitle {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0;
    font-weight: var(--font-weight-light);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--color-dark-gray);
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-blue);
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.lang-current {
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
}

.lang-link {
    color: var(--color-gray);
    font-weight: var(--font-weight-normal);
}

.lang-link:hover {
    color: var(--primary-blue);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--color-dark-gray);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* ========================================
   Hero Section
======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.7;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 2rem;
    opacity: 0.95;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.9;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Feature Sections
======================================== */

.features-container {
    background: var(--color-light-gray);
}

.feature-section {
    padding: 0;
    position: relative;
    margin-bottom: 0;
}

.feature-section:nth-child(even) {
    background: var(--color-white);
}

.feature-section:nth-child(odd) {
    background: var(--gradient-secondary);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    margin: 0;
}

.feature-content.reverse {
    direction: rtl;
}

.feature-content.reverse > * {
    direction: ltr;
}

.feature-text {
    padding: 2rem 0;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--color-sumi);
    position: relative;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-dark-gray);
}

.feature-link {
    color: var(--primary-blue);
    font-weight: var(--font-weight-medium);
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.feature-link:hover {
    color: var(--primary-teal);
}

.feature-image {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 400px;
    background-color: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
    display: block;
}

.feature-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   Call to Action Section
======================================== */

.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: var(--color-white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--color-white);
    color: var(--primary-blue);
}

.cta-section .btn-primary:hover {
    background: var(--color-light-gray);
    color: var(--primary-blue);
}

.cta-section .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta-section .btn-outline:hover {
    background: var(--color-white);
    color: var(--primary-blue);
}

/* ========================================
   Footer
======================================== */

.footer {
    background: var(--color-sumi);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-address {
    color: var(--color-sumi) !important;
}

.contact-info p,
.contact-info h3,
.contact-info h4 {
    color: var(--color-sumi) !important;
}

.contact-form-section {
    background: var(--color-light-gray);
    padding: 4rem 0;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: var(--color-sumi) !important;
    margin-bottom: 2rem;
}

.form-label {
    color: var(--color-sumi) !important;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.footer-contact {
    color: rgba(255, 255, 255, 0.9);
}

.footer-address {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-email a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-email a:hover {
    color: var(--color-white);
}

.footer-nav-title,
.footer-social-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-nav-list {
    list-style: none;
}

.footer-nav-list li {
    margin-bottom: 0.5rem;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
    color: var(--color-white);
}

/* Airbnb Booking Button */
.booking-section {
    margin-bottom: 2rem;
}

.airbnb-booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff5a5f;
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: var(--border-radius-medium);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-medium);
    text-decoration: none;
}

.airbnb-booking-btn:hover {
    background: #e04347;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--color-white);
}

.airbnb-icon {
    width: 20px;
    height: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-medium);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--color-white);
}

.copyright {
    margin: 0;
}

/* ========================================
   Utility Classes
======================================== */

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}