:root {
    /* Colors */
    --c-bg-linen: #F7F5F2;
    --c-text-main: #222222;
    --c-text-muted: #666666;
    --c-line: #D6D6D6;
    --c-accent: #4B8A6D;
    
    /* Typography */
    --font-sans: 'Noto Sans JP', 'ヒラギノ角ゴ', sans-serif;
    --font-serif: 'Noto Serif JP', '游明朝体', serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    
    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.8;
    
    /* Letter Spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0.03em;
    --tracking-wide: 0.05em;
}

html {
    scroll-padding-top: 8px;
}

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

/* Base Typography */
body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    letter-spacing: var(--tracking-normal);
    color: var(--c-text-main);
    background-color: var(--c-bg-linen);
    max-width: 1600px;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-wide);
    margin: 0 0 1rem;
}

h1 {
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
}

h2 {
    font-size: var(--text-3xl);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: var(--text-2xl);
    margin-bottom: 1.25rem;
}

/* Text Elements */
p {
    margin: 0 0 1.5rem;
    line-height: var(--leading-relaxed);
}

a {
    color: var(--c-accent);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--c-text-main);
    text-decoration: underline;
}

/* Special Text Classes */
.text-lead {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--c-text-main);
}

.text-muted {
    color: var(--c-text-muted);
    font-size: var(--text-sm);
}

/* Responsive Typography */
@media (max-width: 768px) {
    :root {
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
        --text-2xl: 1.5rem;
        --text-xl: 1.125rem;
        --text-lg: 1rem;
    }
    
    h2 {
        margin-bottom: 1.25rem;
    }
}

body::after {
    content: "";
    background-image: url("https://subtlepatterns.com/patterns/linen.png");
    background-size: 320px auto;
    opacity: 0.15;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: fixed;
    z-index: -2;
}

/* Removed body::before as it's no longer needed */

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
}

section {
    padding: 96px 0;
}

@media (min-width: 768px) {
    section {
        padding: 128px 0;
    }
}

.section-title {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: .04em;
    margin-bottom: 48px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background-color: var(--c-line);
}

/* .section-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%236F826E' d='M3 5h18v2H3V5zm0 6h18v2H3v-2zm0 6h18v2H3v-2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Design Features Counter */
.design-features {
    counter-reset: design-counter;
    margin-top: 48px;
}

.design-features > div {
    margin-bottom: 32px;
}

.design-feature {
    position: relative;
    padding-left: 2.5em;
}

.design-feature h3 {
    position: relative;
    margin-bottom: 1rem;
}

.design-feature h3::before {
    counter-increment: design-counter;
    content: counter(design-counter) ". ";
    position: absolute;
    left: -1.8em;
    color: #6F826E;
    font-weight: 500;
    font-family: var(--font-sans);
}

/* Hero Section */
.hero {
    position: relative;
    height: auto;
    aspect-ratio: 16/9;
    max-height: 900px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 0;
    padding-top: 200px; /* Height of the header */
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    max-width: 1600px;
    max-height: 900px;
    margin: 0 auto;
}

.carousel-arrows {
    position: absolute;
    top: 150px;
    left: 0;
    width: 100%;
    height: calc(100% - 150px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 2;
    pointer-events: none;
}

.carousel-prev, .carousel-next {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--c-line);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    pointer-events: auto;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background-color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
    animation: fadeUp 0.6s ease-out;
}

.main-copy {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: clamp(2.1rem, calc(2.5vw + 1.5rem), 3.5rem);
    font-weight: 500;
    letter-spacing: .04em;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    color: white;
    padding-top: 80px;
}
/* Main Copy */



.sub-copy {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 32px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: .03em;
}

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

.scroll-reveal {
    opacity: 1; /* Changed from 0 to ensure content is visible by default */
}

.scroll-reveal.animate {
    animation: fadeUp 0.6s ease-out forwards;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--c-text-main);
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #3a3a3a; /* 10% lighter than #222 */
}

/* New Primary Button Style */
.btn-primary {
    background: #4B8A6D; /* 明度+15% の新アクセント */
    color: white;
    border-radius: 32px;
    padding: 14px 32px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: .25s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #3A7C5E;
}

/* Floating CTA for Mobile */
#floating-cta {
    display: none;
}

@media(max-width: 768px) {
    #floating-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: white;
        padding: 12px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    #floating-cta .btn-primary {
        width: 90%;
        max-width: 300px;
    }
}

/* Relocation Info Section */
#relocation-info {
    --gap: 24px;
    background-color: var(--c-bg-linen);
    border-bottom: 1px solid var(--c-line);
    padding: 128px 0 128px;
}

#relocation-info .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    margin-top: 40px;
}

#relocation-info h3 {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 1.2rem;
    margin: 30px 0 15px;
    color: var(--c-text-main);
}

#relocation-info h3:first-child {
    margin-top: 0;
}

.bullet {
    margin: 0 0 24px 0;
    padding: 0;
    list-style: none;
    line-height: 1.9;
}

.bullet li {
    margin-bottom: 8px;
}

.bullet li::before {
    content: '•';
    color: var(--c-text-main);
    margin-right: 8px;
}

.map-illustration img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-inline {
    margin-top: 30px;
}

.more-info {
    text-align: center;
    margin-top: 40px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-text-main);
}

.more-info a {
    color: #4B8A6D;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.more-info a:hover {
    color: #3A7C5E;
    text-decoration: underline;
}

@media (max-width: 768px) {
    #relocation-info .grid-2 {
        grid-template-columns: 1fr;
    }
    
    #relocation-info {
        padding: 40px 0;
    }
}

/* Features Section */
.features {
    background-color: white;
    border-bottom: 1px solid var(--c-line);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.feature-item {
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--c-line);
    border-radius: 4px;
    padding: 40px 24px;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}
/*
.feature-item:hover {
    transform: translateY(-3px);
}
*/

.feature-image-container {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--c-line);
    transition: transform 0.4s ease;
    z-index: 1;
}
/*
.feature-image-container:hover .feature-image {
    transform: scale(1.08);
    z-index: 3;
}
*/
.feature-label {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-weight: 500;
    font-size: clamp(1.1rem, calc(1.5vw + 0.3rem), 2.5rem);
    letter-spacing: .1em;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 16px 24px;
    background: rgba(0,0,0,0.4);
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .feature-label {
        font-size: clamp(1.4rem, calc(1vw + 0.3rem), 1.8rem);
        letter-spacing: .4em;
    }
}


/* More Link */
.more-link {
    display: inline-block;
    margin-top: 16px;
    color: #4B8A6D;
    text-decoration: none;
    font-style: italic;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.more-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #4B8A6D;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.more-link:hover {
    color: #4B8A6D;
    opacity: 0.8;
}

.more-link:hover::after {
    transform: scaleX(0);
}

@media (max-width: 768px) {
    .more-link {
        font-size: 0.85rem;
        margin-top: 14px;
    }
}

/*
.feature-image-container:hover .feature-label {
    opacity: 0;
    transform: translateY(10px);
}


.feature-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--c-line);
}
*/

.feature-desc {
    color: var(--c-text-main);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 8px;
}

/* Concept Section */
.concept {
    text-align: center;
    background-color: var(--c-bg-linen);
    border-bottom: 1px solid var(--c-line);
}

/* Map Section */
.map-section {
    padding: 128px 0;
    background-color: #fff;
}
/*
.map-address {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--c-text-muted);
}
*/
.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--c-line);
    padding: 24px;
}

.map-container iframe {
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--c-line);
}

/* Access Info Styles */
.access-info {
    padding: 15px 24px 40px 24px;
    background-color: #fff;
    font-family: var(--font-sans);
}

.access-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--c-text-main);
    margin-bottom: 16px;
    text-align: center;
    position: relative;
}
/*
.access-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--c-accent);
}
*/
.access-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.access-list li {
    padding: 12px 0;
    text-align: center;
    font-size: 1rem;
    color: var(--c-text-main);
    border-bottom: 1px solid var(--c-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.access-time {
    font-weight: 500;
    color: var(--c-accent);
    margin-left: 8px;
}

@media (max-width: 768px) {
    .access-list {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .access-list li {
        justify-content: space-between;
        padding: 10px 16px;
    }
}

.map-address {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 1.5rem;
    margin: 0 auto 40px;
    text-align: center;
    letter-spacing: .03em;
    max-width: 800px;
}

.concept-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    letter-spacing: .03em;
}

.concept-main-message {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: .04em;
    color: var(--c-text-main);
    line-height: 1.5;
}

.concept-secondary-message {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--c-text-main);
}

.concept-note {
    font-size: 1.1rem;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-top: 24px;
}

.concept-text br {
    margin-bottom: 16px;
    display: block;
    content: "";
}

/* Spec Section */
.spec {
    text-align: center;
    background-color: var(--c-bg-linen)
    border-bottom: 1px solid var(--c-line);
}

.badge {
    display: inline-block;
    background-color: var(--c-accent);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    margin-top: 24px;
    font-weight: 500;
    letter-spacing: .03em;
}

.floor-plan {
    max-width: 800px;
    width: 100%;
    margin: 32px auto;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.floor-plan:hover {
    transform: scale(1.02);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox img.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    margin: 5vh auto;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    border: 2px solid #fff;
    line-height: 1;
    padding-bottom: 5px;
    box-sizing: border-box;
    z-index: 1001;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    transform: scale(1.1);
}

#lightbox-caption {
    color: #fff;
    margin-top: 20px;
    font-size: 1.2em;
}

.image-preparing {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.image-preparing::after {
    content: "画像準備中";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--c-text-main);
    font-size: 1.25rem;
    font-weight: 500;
    font-family: 'Noto Serif JP', '游明朝体', serif;
    letter-spacing: .04em;
}

.spec-list {
    list-style: none;
    max-width: 800px;
    margin: 40px auto;
    padding: 30px 60px;
    background-color: white;
    border: 1px solid var(--c-line);
    border-radius: 4px;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (max-width: 768px) {
    .spec-list {
        grid-template-columns: 1fr;
    }
}

.spec-list {
    position: relative;
    padding-bottom: 40px;
}

.spec-more-item {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px 0px;
    list-style: none;
    padding: 0;
}

.spec-more-item .more-link {
    display: inline-block;
    margin: 0 auto;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    transition: opacity 0.3s ease;
}

.spec-more-item .more-link:hover {
    opacity: 0.7;
}

.spec-heading {
    margin-bottom: 16px; 
    font-family: 'Noto Serif JP', '游明朝体', serif; 
    font-weight: 500; 
    font-size: 1.8rem;
    letter-spacing: .04em; 
    color: var(--c-text-main);
}

.spec-inquiry {
    margin-bottom: 32px;
    font-size: 1.2rem;
    color: var(--c-text-main);
    font-family: 'Noto Sans JP', '游ゴシック体', sans-serif;
}

.spec-item {
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--c-text-main);
    font-family: 'Noto Serif JP', '游明朝体', serif;
}

.spec-item:before {
    content: '•'; /* Bullet point */
    position: absolute;
    left: 0;
    color: var(--c-accent);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.6;
    top: -0.1em;
}

/* Instagram Section */
.instagram {
    background-color: white;
    border-bottom: 1px solid var(--c-line);
}

.instagram-widget {
    width: 100%;
    max-width: 1500px;
    aspect-ratio: 99/100;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--c-line);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    max-width: 1000px;
    margin: 0 auto;
}

.instagram-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--c-line);
}

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

.instagram-item:hover img {
    transform: scale(1.05);
}

/* Form Section */
.form-section {
    text-align: center;
    background-color: white;
    border-bottom: 1px solid var(--c-line);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--c-line);
    border-radius: 4px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.5);
}

input[type="email"] {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 24px;
    border: 1px solid var(--c-line);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', 'ヒラギノ角ゴ', sans-serif;
    font-weight: 300;
}

.download-link {
    display: none;
    text-align: center;
    margin-top: 24px;
}

.form-subtitle {
    max-width: 800px;
    margin: 24px auto 32px;
    text-align: center;
    color: var(--c-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: .03em;
}

/* Contact Section */
.contact {
    position: relative;
    text-align: center;
    color: var(--c-text-main);
}

/* Footer Section */
.site-footer {
    background-color: var(--c-bg-linen);
    padding: 60px 0 40px;
    border-top: 1px solid var(--c-line);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    gap: 30px;
}

.footer-logo-img {
    max-width: 160px;
    height: auto;
}

.footer-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.footer-tagline {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 1.1rem;
    letter-spacing: .04em;
}

.footer-address {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    letter-spacing: .03em;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 5px;
}

.social-link {
    color: var(--c-text-main);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    color: #4B8A6D;
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--c-line);
}

.copyright {
    font-size: 0.8rem;
    color: var(--c-text-muted);
    letter-spacing: .03em;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--c-line);
    color: var(--c-text-main);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.3;
    visibility: visible;
    transition: opacity 0.3s;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.back-to-top-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
    margin-top: -8px;
}
/*
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--c-line);
    color: var(--c-text-main);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.3;
    visibility: visible;
    transition: opacity 0.3s;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}
*/
.back-to-top.visible {
    opacity: 1;
}

.back-to-top-label {
    display: block;
    font-size: 0.7rem;
    color: var(--c-text-muted);
    text-align: center;
    margin-top: -11px;
    letter-spacing: 0.08em;
    font-family: var(--font-sans);
}

.back-to-top:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -1;
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 32px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--c-line);
    border-radius: 4px;
    color: var(--c-text-main);
}

.contact-info {
    margin-bottom: 32px;
    line-height: 1.8;
    letter-spacing: .03em;
}

.contact-company {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: .04em;
    color: var(--c-text-main);
}

.contact-address {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: .03em;
}

.contact-detail {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 0.95rem;
    margin-bottom: 8px;
    letter-spacing: .03em;
}

.contact-note {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    text-align: center;
    letter-spacing: .03em;
    max-width: 800px;
}

.contact-info p {
    margin-bottom: 8px;
    /*font-size: 0.95rem;*/
}

.contact-info a {
    color: var(--c-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Site Header */
.site-header {
    background-color: rgba(236, 236, 236, 0.95);
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid var(--c-line);
}

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

.header-buttons {
    display: flex;
    gap: 12px;
    margin-right: 10px;
}

.site-logo {
    height: 55.35px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-left: 10px;
}

.header-cta {
    white-space: nowrap;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 64px 0; /* Reduce section padding on mobile */
    }
    
    .hero {
        min-height: 500px;
        margin-top: 0;
        padding-top: 80px; /* Height of the header on mobile */
    }
    
    .main-copy {
        font-family: 'Noto Serif JP', '游明朝体', serif;
        font-size: clamp(2.1rem, calc(2.5vw + 1.5rem), 3.0rem);
        font-weight: 500;
        letter-spacing: .04em;
        margin-bottom: 24px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        line-height: 1.4;
        color: white; 
    }
    
    .sub-copy {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .contact-container {
        padding: 32px 16px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Adjust Instagram widget for mobile */
    .instagram-widget {
        width: 100% !important;
        aspect-ratio: 99/100 !important;
    }
    
    /* Improve form responsiveness */
    .form-container {
        padding: 24px 16px;
    }
    
    /* Adjust feature items for mobile */
    .feature-item {
        padding: 32px 16px;
    }
    
    /*
    .feature-image {
        max-width: 220px;
    }
    */
    
    /* Improve spec list readability on mobile */
    .spec-list {
        padding: 24px 16px;
        gap: 16px;
    }
    
    /* Adjust concept text for mobile */
    .concept-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    /* Improve header on mobile */
    .site-logo {
        height: 40px;
    }
    
    .header-cta {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* Additional breakpoint for very small screens */
@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }
    
    .main-copy {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .instagram-widget {
        aspect-ratio: 80/100 !important;
    }
    
    /*
    .feature-image {
        max-width: 280px;
    }
    */
    
    .carousel-controls button {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* ─── Intro Overlay ────────────────────────── */
/* ① オーバーレイ全体 */
#intro-overlay{
    position:fixed; inset:0;
    display:flex; align-items:center; justify-content:center;
    background:var(--c-bg-linen, #F7F5F2);
    z-index:2000;                 /* 他要素より前面 */
    opacity:1; transition:opacity 1s ease-out;
    animation: hideOverlay 3s forwards;
}

@keyframes hideOverlay {
    0% { opacity: 1; }
    66% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}
/* ② テキスト */
#intro-overlay h1{
    font-family:"Noto Serif JP","游明朝体",serif;
    font-size:clamp(24px,6vw,64px);
    font-weight:500; letter-spacing:.05em;
    color:var(--c-text-main,#656262);
    margin:0; opacity:0;
    animation:fadeInTxt 1s .5s forwards ease-out;
    text-align:center;
}
@keyframes fadeInTxt{
    from{opacity:0; transform:translateY(20px);}
    to  {opacity:1; transform:translateY(0);}
}
/* ③ prefers-reduced-motion 対応 */
@media (prefers-reduced-motion: reduce){
    #intro-overlay{display:none !important;}
}

/* Content Boxes */
/* Content Grid Layout */
.room-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 24px 0;
}

.room-features h3 {
    text-align: center;
    margin-bottom: 16px;
}

/* Responsive grid for smaller screens */
@media (max-width: 768px) {
    .room-features {
        grid-template-columns: 1fr;
    }
}

/* Content box styles */
.content-green,
.content-red,
.content-yellow,
.content-blue {
    padding: 24px;
    border-radius: 8px;
    margin: 0;
    height: 100%;
    box-sizing: border-box;
}

.content-green {
    background-color: #A8DDC7; /* rgb(168, 221, 199) */
}

.content-red {
    background-color: #F8D6ED; /* rgb(248, 214, 237) */
}

.content-yellow {
    background-color: #FBE7D7; /* rgb(251, 231, 215) */
}

.content-blue {
    background-color: #A9E0F1; /* rgb(169, 224, 241) */
}

/* パノラマビュー部分 */
#panorama {
  width: 100%;
  height: 50vw;
  max-height: 400px;
}
/* サムネイル部分 */
.panorama-navs {
  list-style: none;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-left: -3px;
  margin-right: -3px;
}
.panorama-navs li {
  width: calc(100% / 7);
  padding: 3px 5px;
}
.panorama-navs li > a {
  display: inline-block;
  background-color: #fff;
}
.panorama-navs li > a > img {
  width: 100%;
  height: auto;
}
.panorama-navs li > a:hover img {
  opacity: 0.65;
  cursor: pointer;
}
/* スマホ */
@media(max-width: 599px) {
  /* サムネイル数を4つ並びに */
  .panorama-navs li {
    width: calc(100% / 4);
  }
}

/* ─── 360° Panorama Viewer ─────────────── 
.panorama-section {
    margin: 3rem 0;
}
.panorama-title {
    text-align: center;
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-size: 1.5rem;
    color: var(--c-text-main);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}
.panorama-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--c-line);
}
.pannellum-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
*/
/* 360°パノラマ 
#panorama{
    width:100%;
    height:500px;      /* ここで必ず高さを固定 
    position:relative;
    background:#f5f5f5;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6F826E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.panorama-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--c-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    #panorama {
        height: 300px;
    }
    .panorama-title {
        font-size: 1.3rem;
    }
}
*/
/* ─── sub page style ─────────────────────── */

/* Page Header */
.page-header {
    text-align: center;
    padding: 200px 0 100px 0;
    background-color: #fff;
    border-bottom: 1px solid var(--c-line);
}

.page-title {
    font-family: 'Noto Serif JP', '游明朝体', serif;
    font-weight: 500;
    font-size: 2.5rem;
    letter-spacing: .04em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.page-subtitle {
    font-weight: 300;
    color: var(--c-text-muted);
    font-size: 1.2rem;
}

.page-subtitle::before,
.page-subtitle::after {
    content: '—';
    color: var(--c-line);
    font-weight: 1000;
}

.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: var(--leading-tight);
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    color: var(--c-text-main);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: var(--text-2xl);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* List Styles */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style-type: none; /* Remove default markers */
    padding-left: 0; /* Remove default padding */
}

li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

/* Bullet Points */
ul:not(.access-list) li:not(.spec-more-item)::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--c-accent);
}

/* Table Styles */
.table-striped {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 32px 0;
    font-size: 0.95rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.table-striped thead {
    background-color: var(--c-bg-linen);
    border-bottom: 2px solid var(--c-line);
}

.table-striped th {
    padding: 16px 12px;
    text-align: center;
    font-weight: 500;
    color: var(--c-text-main);
    letter-spacing: 0.02em;
    vertical-align: middle;
}

.table-striped td {
    padding: 16px 12px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid var(--c-line);
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #fff;
}

.table-striped tbody tr:hover {
    background-color: rgba(111, 130, 110, 0.05);
}

.table-striped a {
    color: var(--c-text-main);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.table-striped a:hover {
    color: var(--c-accent);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-striped {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-striped th,
    .table-striped td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--c-line);
}

.content-text {
    font-size: 1.1rem;
}

.content-text p {
    margin-bottom: 16px;
}

.content-text ul {
    margin: 0 auto;
    border: none;
}

.content-text li {
    margin: 0 20px 8px 20px;
}

/* Panorama Image */
.panorama-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 40px 0;
    border-radius: 4px;
    border: 1px solid var(--c-line);
}

.panorama-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
}