@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --color-primary: #2C5F2D;
    --color-secondary: #4A7C4B;
    --color-accent: #D4AF37;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #F9F9F7;
    --color-white: #FFFFFF;

    --font-base: 'Noto Sans JP', sans-serif;
    --font-heading: 'Zen Old Mincho', serif;

    --width-container: 1200px;
    --transition-base: 0.3s ease;
}

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

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-base);
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Typrography & Utilities
   ========================================================================== */
.container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.section__subtitle {
    font-size: 1rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: background-color var(--transition-base), padding var(--transition-base);
}

.header.is-scrolled,
.is-video-ended .header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

.header__inner {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo a {
    display: block;
    line-height: 0;
    /* Remove extra space below image */
}

.header__logo img {
    height: 64px;
    /* Adjust height as needed */
    width: auto;
}

.header.is-scrolled .header__logo a,
.is-video-ended .header__logo a {
    color: var(--color-primary);
    text-shadow: none;
}

.header__nav-list {
    display: flex;
    gap: 30px;
}

.header__nav-list a {
    color: var(--color-white);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.header.is-scrolled .header__nav-list a,
.is-video-ended .header__nav-list a {
    color: var(--color-text);
    text-shadow: none;
}

.header__nav-list .icon-link img,
.header__mobile-menu .icon-link img {
    height: 24px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.header__nav-list .icon-link:hover img,
.header__mobile-menu .icon-link:hover img {
    transform: scale(1.1);
}

/* Hamburger */
.header__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 110;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    position: absolute;
    transition: all var(--transition-base);
}

.header.is-scrolled .header__hamburger span,
.is-video-ended .header__hamburger span {
    background-color: var(--color-primary);
}

.header__hamburger span:nth-child(1) {
    top: 0;
}

.header__hamburger span:nth-child(2) {
    top: 9px;
}

.header__hamburger span:nth-child(3) {
    bottom: 0;
}

.header__hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
    background-color: var(--color-white);
}

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

.header__hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
    background-color: var(--color-white);
}

/* Mobile Menu */
.header__mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 105;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-base);
}

.header__mobile-menu.is-active {
    right: 0;
}

.header__mobile-menu ul {
    text-align: center;
}

.header__mobile-menu a {
    display: block;
    font-size: 1.5rem;
    color: var(--color-white);
    padding: 20px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__bg img,
.hero__bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    /* Slightly darken for text readability */
    transition: opacity 1s ease;
}

.hero__bg video.is-hidden {
    opacity: 0;
}

/* Video Loader */
.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.video-loader__spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero__content {
    color: var(--color-white);
    z-index: 1;
    padding: 20px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero__title-line {
    display: block;
}

.hero__subtitle {
    font-size: 1.8rem;
    color: var(--color-white);
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-top: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Concept
   ========================================================================== */
.concept__content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.concept__text {
    flex: 1;
}

.concept__text h4 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.concept__text p {
    margin-bottom: 20px;
    text-align: justify;
}

.concept__note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 20px;
}

.concept__image {
    flex: 1;
    position: relative;
}

.concept__image img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Scenes
   ========================================================================== */
.scenes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
}

.card__image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card__content {
    padding: 25px;
}

.card__content h4 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.card__content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Center Image Box (Pure image for aesthetics) */
.card__image-box {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card__image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* ==========================================================================
   Environment
   ========================================================================== */
.environment {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 120px 0;
    position: relative;
    background-image: linear-gradient(rgba(44, 95, 45, 0.9), rgba(44, 95, 45, 0.9)), url('../image/exterior/exterior_03.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.environment h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* ==========================================================================
   Facilities
   ========================================================================== */
/* Bento Grid Layout */
.facilities__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.facility-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Feature Image (Entrance Gate) - Full Width at Top */
.facility-item:nth-of-type(1) {
    grid-column: span 4;
    grid-row: span 1;
}

/* Panorama Image (Lobby) - Wide Span beneath gate */
.facility-item:nth-of-type(2) {
    grid-column: span 3;
    grid-row: span 2;
}

/* Rooms next to panorama */
.facility-item:nth-of-type(3),
.facility-item:nth-of-type(4) {
    grid-column: span 1;
    grid-row: span 1;
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.facility-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--color-white);
    padding: 30px 20px 15px;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.facility-item:hover p {
    opacity: 1;
    transform: translateY(0);
}

.facilities__note {
    text-align: center;
    margin-top: 30px;
    color: var(--color-text-light);
}

/* Amenities Area */
.amenities {
    margin-top: 15px;
    padding: 5px 40px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.amenities__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 5px;
    text-align: center;
}

.amenities__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 10px;
    margin-bottom: 5px;
}

.amenity-item {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 24px;
    position: relative;
}

.amenity-item::before {
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.amenity-item.is-available {
    color: var(--color-text);
}

.amenity-item.is-available::before {
    content: '○';
    color: var(--color-primary);
}

.amenity-item.is-unavailable {
    color: #999;
}

.amenity-item.is-unavailable::before {
    content: '×';
    color: #ccc;
}

.amenities__note {
    font-size: 1.1rem;
    color: #888;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .amenities__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .amenities {
        padding: 20px 15px;
        margin-top: 30px;
    }

    .amenities__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 5px;
    }

    .amenity-item {
        font-size: 0.85rem;
        padding-left: 20px;
    }
}

/* ==========================================================================
   Menu & Calendar
   ========================================================================== */
.menu-calendar__content {
    display: flex;
    gap: 40px;
}

.menu-box {
    flex: 1.5;
}

.calendar-box {
    flex: 1;
}

.menu-box h4,
.calendar-box h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
    display: inline-block;
}

.menu-images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
}

.menu-images-grid img {
    width: 100%;
    height: auto;
    /* Auto height to show full image */
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.menu-images-grid img:hover {
    transform: scale(1.2);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.calendar-wrapper {
    background-color: var(--color-white);
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.calendar-extra-images {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.calendar-extra-images img {
    width: 80%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Message
   ========================================================================== */
.message {
    background-color: #ECEAE4;
    /* Light beige */
    text-align: center;
}

.message__inner h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 40px;
}

.message__survey {
    margin-top: 60px;
    padding: 40px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: inline-block;
    max-width: 800px;
    width: 100%;
}

.survey-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.survey-text {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.survey-link {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.survey-link:hover {
    transform: translateY(-2px);
    background-color: var(--color-secondary);
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #2C5F2D;
    /* Dark Green */
    color: #fff;
    padding: 60px 0 20px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__info {
    flex: 1;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer address {
    font-style: normal;
    margin-bottom: 30px;
    line-height: 2;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer__links a {
    display: inline-block;
    border: 1px solid #fff;
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 0.9rem;
}

.footer__links a:hover {
    background-color: #fff;
    color: #222;
}

.footer__map {
    flex: 1;
}

.footer__logo-small {
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 4px;
    display: block;
    width: 100%;
    max-width: 380px;
}

.footer__logo-small img {
    width: auto;
    height: 90px;
    max-width: 100%;
    object-fit: contain;
}

.footer__copy {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .section__title {
        font-size: 2.2rem;
    }

    .header__nav {
        display: none !important;
    }

    .header__hamburger {
        display: block;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__bg img {
        object-position: 80% 20%;
    }

    .concept__content {
        flex-direction: column;
    }

    .scenes__grid {
        grid-template-columns: 1fr;
    }

    .card__image-box {
        display: none;
    }

    /* Hide middle image on mobile to stack cards nicely */

    /* Bento Grid Mobile Reset */
    .facilities__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 10px;
    }

    .facility-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .facility-item:nth-of-type(1),
    .facility-item:nth-of-type(2) {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    /* Always show label on mobile */
    .facility-item p {
        opacity: 1;
        transform: translateY(0);
        padding: 15px 10px 10px;
        font-size: 0.85rem;
    }





    .menu-calendar__content {
        flex-direction: column;
    }

    .footer__inner {
        flex-direction: column;
    }
}

/* Header Reserve Button */
.header__reserve a {
    background-color: #81C784;
    /* Light Green */
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.header__reserve a:hover {
    transform: translateY(-2px);
    background-color: #66bb6a;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
}

.header.is-scrolled .header__reserve a {
    color: #fff !important;
    /* Keep text white even when scrolled */
}

/* Adjust mobile menu button */
.header__mobile-menu .header__reserve {
    margin-top: 20px;
}

.header__mobile-menu .header__reserve a {
    display: block;
    text-align: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-init {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.is-active {
    display: flex;
}

.lightbox__content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    animation-name: zoom;
    animation-duration: 0.6s;
    object-fit: contain;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox__close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox__close:hover,
.lightbox__close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Dining Info */
.dining-info {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid var(--color-primary);
}

.dining-info h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

.dining-info dl {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.dining-row {
    display: flex;
    align-items: baseline;
}

.dining-row dt {
    font-weight: bold;
    width: 80px;
    flex-shrink: 0;
}

.dining-row dd {
    flex: 1;
}

.dining-row .note {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.dining-message {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-top: 15px;
    font-weight: 500;
}