/*
Theme Name: Hanare JA
Theme URI: https://hanare.rest/
Description: HANARE (Japanese) theme built from static site assets.
Author: HANARE
Version: 1.1.0
Text Domain: hanare-ja
*/
/* HANARE Website - Common Styles */
/* トップページ基準の統一CSS */

:root {
    --primary-dark: #1a1a1a;
    --primary-light: #f8f6f3;
    --accent-green: #4a5d4f;
    --accent-earth: #8b7355;
    --accent-gold: #c9a961;
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
}

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

body {
    font-family: 'Noto Serif JP', serif;
    color: var(--text-dark);
    background: var(--primary-light);
    overflow-x: hidden;
    line-height: 1.8;
}

body.en {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
}

/* Header - トップページ基準 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    padding: 1.5rem 4rem;
}

.logo {
    display: block;
    text-decoration: none;
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 350px;
    background: rgba(26, 26, 26, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.3s ease;
    padding: 6rem 2rem 2rem;
    z-index: 999;
    text-align: center;
}

nav.active {
    right: 0;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    font-weight: 300;
}

nav a:hover {
    color: var(--accent-gold);
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.lang-switch:hover {
    background: var(--text-light);
    color: var(--primary-dark);
}

/* Hamburger Menu - Always visible */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section - トップページ */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('images/hero.jpg?010852');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2.5rem 0;
    animation: fadeInUp 1.5s ease-out;
}

.hero-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

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

.hero h1 {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.hero .subtitle {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero .tagline {
    font-size: 1rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator::after {
    content: '↓';
    color: var(--text-light);
    font-size: 2rem;
    opacity: 0.6;
}

/* Page Header - 施設案内ページ */
.page-header {
    background: var(--accent-green);
    color: var(--text-light);
    padding: 8rem 4rem 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Section - トップページ基準: padding 8rem 4rem */
.section {
    padding: 8rem 4rem;
}

.section h2 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--accent-green);
}

/* About Section - トップページ基準 */
.about {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 2;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Facility Pages */
.facility-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 2.5rem;
    background: rgba(74, 93, 79, 0.05);
    border-left: 4px solid var(--accent-green);
}

.facility-intro p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
    text-align: left;
}

.floor-plan {
    max-width: 1000px;
    margin: 0 auto 6rem;
    text-align: center;
    background: white;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.floor-plan h3 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    color: var(--accent-green);
}

.floor-plan img {
    width: 100%;
    max-width: 900px;
    height: auto;
}

.bedroom-info {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2.5rem;
    background: rgba(74, 93, 79, 0.05);
    border-left: 4px solid var(--accent-green);
}

.bedroom-info p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
    text-align: left;
}

/* Grids - トップページ基準 */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bedrooms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Room Cards - トップページ基準 */
.room-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.room-info {
    padding: 2rem;
}

.room-info h4 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.room-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

/* Bedroom Cards */
.bedroom-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bedroom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.bedroom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bedroom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(74, 93, 79, 0.95), transparent);
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bedroom-number {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

/* Section Backgrounds */
.rooms-section {
    background: #fafaf8;
}

.bedrooms-section {
    background: white;
}

.facilities-section {
    background: #fafaf8;
}

.gallery {
    background: var(--primary-light);
}

/* Gallery - トップページ基準 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--text-light);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

/* Features - トップページ基準 */
.features {
    background: var(--primary-dark);
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.8;
    font-weight: 300;
}

/* Plans - トップページ基準 */
.plans {
    max-width: 1200px;
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 700px;
    margin: 0 auto;
}

.plan-card {
    padding: 3rem;
    border: 2px solid var(--accent-earth);
    position: relative;
    transition: all 0.4s ease;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 97, 0.05) 100%);
    z-index: -1;
}

.plan-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.plan-card h3 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.plan-capacity {
    font-size: 1.2rem;
    color: var(--accent-earth);
    margin-bottom: 2rem;
    font-weight: 300;
}

.plan-card p {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.plan-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-green);
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-green);
    font-weight: 400;
    margin-right: 1rem;
}

.plan-cta:hover {
    background: transparent;
    color: var(--accent-green);
}

/* Superhost - トップページ基準 */
.superhost-section {
    background: linear-gradient(135deg, #4a5d4f 0%, #2c3e3f 100%);
    padding: 6rem 4rem;
    text-align: center;
    color: var(--text-light);
}

.superhost-badge {
    display: inline-block;
    padding: 2rem 4rem;
    border: 3px solid var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.superhost-badge .rating {
    font-size: 4rem;
    font-weight: 400;
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
}

.superhost-badge .status {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    margin-top: 1rem;
}

.superhost-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 2;
    opacity: 0.9;
}

/* CTA Section - 施設ページ */
.cta-section {
    background: linear-gradient(135deg, #4a5d4f 0%, #2c3e3f 100%);
    color: var(--text-light);
    padding: 5rem 4rem;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent-gold);
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-gold);
    font-weight: 500;
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-gold);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.cta-button.secondary:hover {
    background: var(--text-light);
    color: var(--primary-dark);
}

.map-container-cta {
    max-width: 900px;
    margin: 2rem auto 0;
}

.map-address-cta {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.map-wrapper-cta {
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
}

.map-wrapper-cta iframe {
    display: block;
}

/* Contact - トップページ基準 */
.contact {
    background: var(--primary-light);
    text-align: center;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.map-container h3 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.map-address {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.map-wrapper {
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.map-wrapper iframe {
    display: block;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 2rem;
}

.contact-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent-green);
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-green);
}

.contact-button:hover {
    background: transparent;
    color: var(--accent-green);
}

/* Contact Form */
.contact_notice,
.contact-notice {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact_notice .must,
.contact-notice .must,
.contact_form_item_title .must {
    color: #fe4647;
    font-weight: 600;
}

.contact_form {
    margin-top: 2rem;
    text-align: left;
}

.contact_form .flex {
    flex-direction: column;
}

.contact_form_item {
    width: 100%;
    margin-bottom: 1.5rem;
}

.contact_form_item.full_width {
    width: 100%;
}

.contact_form_item_title {
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
    color: var(--accent-green);
}

.contact-content .contact_form_item_title {
    margin-bottom: 0.25rem;
}

.contact_form_item input,
.contact_form_item select,
.contact_form_item textarea,
.contact form input[type="text"],
.contact form input[type="email"],
.contact form input[type="tel"],
.contact form input[type="url"],
.contact form select,
.contact form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border: 1px solid rgba(74, 93, 79, 0.3);
    background: #ffffff;
    color: var(--text-dark);
    box-sizing: border-box;
}

.contact_form_item textarea,
.contact form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact_form_item input:focus,
.contact_form_item select:focus,
.contact_form_item textarea:focus,
.contact form input:focus,
.contact form select:focus,
.contact form textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(74, 93, 79, 0.15);
}

.contact_form_button {
    margin-top: 2.5rem;
}

.contact_form_button input,
.contact form input[type="submit"],
.contact form button,
.contact form .wpcf7-submit {
    display: inline-block;
    min-width: 220px;
    padding: 0.9rem 2.5rem;
    color: var(--text-light);
    background: var(--accent-green);
    border: 2px solid var(--accent-green);
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact_form_button input:hover,
.contact form input[type="submit"]:hover,
.contact form button:hover,
.contact form .wpcf7-submit:hover {
    background: transparent;
    color: var(--accent-green);
}

.contact_form_button input.button--back {
    color: var(--accent-green);
    background: transparent;
}

.contact_form_button input.button--back:hover {
    color: var(--text-light);
    background: var(--accent-green);
}

/* Footer - トップページ基準 */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 4rem;
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    opacity: 0.9;
}

footer p {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* Mobile Styles - トップページ基準 */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
    }

    header.scrolled {
        padding: 1rem 2rem;
    }

    .logo img {
        height: 32px;
    }

    nav {
        width: 85%;
        max-width: 300px;
    }

    nav a {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 3rem;
        letter-spacing: 0.3em;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1.75rem 0;
    }


    .page-header {
        padding: 6rem 2rem 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 5rem 2rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .about-content,
    .features-grid,
    .gallery-grid,
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bedrooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .bedroom-number {
        font-size: 2rem;
    }

    .plan-cta {
        display: block;
        margin: 0.5rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}
