/* Google Fonts: Noto Serif JP for a grounded feel */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500&display=swap');

:root {
    --bg-color: #fcfbf9;
    --text-color: #33302c;
    --accent-color: #5d6146;
    --soft-white: #ffffff;
    --border-color: #e6e2da;
    --max-width: 900px;
    --spacing-base: 2rem;
}

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

body {
    font-family: 'Noto Serif JP', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.05em;
}

/* Sections */
section {
    padding: 7rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

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

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), url('images/hero.png') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 0;
    margin-bottom: 3rem;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.hero-title {
    font-weight: 300;
    font-size: 3rem;
    margin-bottom: 1rem;
    z-index: 1;
    letter-spacing: 0.15em;
}

.hero-subtitle {
    font-weight: 300;
    font-size: 1.1rem;
    opacity: 0.85;
    z-index: 1;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-weight: 300;
    font-size: 0.95rem;
    opacity: 0.75;
    z-index: 1;
}

/* Typography & Layout */
h2 {
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.2rem;
    letter-spacing: 0.2em;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
}

p {
    margin-bottom: 1.8rem;
}

.concept-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: justify;
    line-height: 2.1;
}

.space-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: justify;
    line-height: 2.1;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 0 auto 3rem;
    max-width: 600px;
}

.usage-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.usage-item:hover {
    border-color: var(--accent-color);
}

.facilities {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.facilities span {
    padding: 0.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Pricing */
.pricing-note {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Images */
.image-container {
    margin: 5rem 0;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 2s ease;
}

/* Links & Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

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

.link-item a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    transition: border-color 0.3s;
    font-size: 0.95rem;
}

.link-item a:hover {
    border-color: var(--accent-color);
}

/* Access & Contact */
.access-details,
.contact-details {
    text-align: center;
    font-size: 0.95rem;
}

.access-details address {
    font-style: normal;
    margin-bottom: 1.5rem;
}

.access-details .note {
    font-size: 0.85rem;
    opacity: 0.75;
}

.map-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 1rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.map-link:hover {
    border-color: var(--accent-color);
}

.contact-details p {
    margin-bottom: 1rem;
}

.contact-details a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.contact-details a:hover {
    border-color: var(--accent-color);
}

/* Footer */
footer {
    padding: 7rem 0 4rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.7;
}

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

    section {
        padding: 5rem 1.5rem;
    }

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

    .facilities {
        flex-direction: column;
        gap: 1rem;
    }

    .links-grid {
        gap: 2rem;
    }
}