/* Base Reset & Variables */
:root {
    --color-primary: #0A192F;
    /* Deep Navy - Trust, Depth */
    --color-accent: #BFA57D;
    /* Muted Gold - Elegance */
    --color-accent-light: #F3E5AB;
    --color-text: #333333;
    --color-bg: #FFFFFF;
    --color-bg-light: #FAFAF8;
    /* Subtle Off-white */
    --color-accent-red: #800000;
    /* Deep Maroon/Bordeaux - Accent */
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-en: 'Times New Roman', serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 2.0;
    /* Increased for readability/luxury */
    background-color: var(--color-bg);
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Helpers */
.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

@media (max-width: 900px) {
    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }
}

/* Typography Refinements */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 500;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.en-title {
    display: block;
    color: var(--color-accent);
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.jp-title {
    font-size: 2.4rem;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    line-height: 1.4;
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    /* Slightly tighter for text readability */
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.section {
    padding: 120px 0;
    position: relative;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-white {
    background-color: var(--color-bg);
}

/* Header Refined */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.logo {
    font-size: 1.4rem;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    font-family: var(--font-en);
}

.nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    /* Remove bullets */
}

.nav a {
    font-size: 0.9rem;
    /* Slightly larger for serif */
    font-family: var(--font-serif);
    /* Switch to Serif */
    letter-spacing: 0.15em;
    /* Increase spacing */
    color: var(--color-primary);
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
    /* Smooth color transition */
}

/* Remove underline effect */
.nav a::after {
    display: none;
}

/* Color change on hover */
.nav a:hover {
    color: var(--color-accent);
}

.header-cta {
    display: flex;
    gap: 15px;
}

/* Buttons Refined */
.btn {
    padding: 14px 35px;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-gold {
    background-color: var(--color-accent);
    color: white;
}

.btn-gold:hover {
    background-color: #A68D68;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(191, 165, 125, 0.3);
}

.btn-dark {
    background-color: var(--color-primary);
    color: white;
}

.btn-dark:hover {
    background-color: #152a45;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 25, 47, 0.3);
}

/* Hero Section Refined */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker gradient for better text legibility on complex tower background */
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.4) 0%, rgba(10, 25, 47, 0.2) 50%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 2;
    pointer-events: none;
    /* Allow clicking through if needed */
}

.hero-sub {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 25px;
    letter-spacing: 0.4em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeUp 1s 0.5s forwards;
}

.hero-title {
    font-family: var(--font-en);
    font-size: 4.5rem;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding: 30px 60px;
    display: inline-block;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeUp 1s 0.8s forwards;
}

.hero-info {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 1s 1.1s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Concept Section (White) */
.concept {
    background-color: var(--color-bg);
}

.concept-content {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Adjusted density */
    justify-content: space-between;
}

.concept-text {
    flex: 1;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #555;
    line-height: 2.6;
    letter-spacing: 0.08em;
}

.concept-image {
    flex: 1.2;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 2px;
}

/* Cinematic Overlay */
.concept-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    /* Extremely subtle depth */
    pointer-events: none;
    z-index: 2;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Hidden by default, animated to show */
}

/* Cinematic Crossfade & Zoom (20s Cycle) */
.img1 {
    animation: cinematicFade1 20s infinite ease-in-out;
}

.img2 {
    animation: cinematicFade2 20s infinite ease-in-out;
}

@keyframes cinematicFade1 {

    0%,
    40% {
        opacity: 1;
        transform: scale(1);
    }

    50%,
    90% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cinematicFade2 {

    0%,
    40% {
        opacity: 0;
        transform: scale(1.1);
    }

    50%,
    90% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Design Section (Off-white) */
.design {
    background-color: var(--color-bg-light);
}

.design-content {
    display: flex;
    flex-direction: row-reverse;
    /* Image Left, Text Right visually */
    align-items: center;
    gap: 80px;
}

.design-text {
    flex: 1;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #555;
    line-height: 2.6;
}

.design-text h4 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 35px;
    letter-spacing: 0.1em;
}

.design-image {
    flex: 1;
    overflow: hidden;
}

.design-image img {
    transition: transform 0.6s ease;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.design-image:hover img {
    transform: scale(1.05);
}

/* Location Section (White) */
.location {
    background-color: var(--color-bg);
}

.location-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    border: 1px solid #f0f0f0;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}


.location-item {
    font-family: var(--font-serif);
    color: var(--color-primary);
    text-align: center;
    position: relative;
    z-index: 1;
}

.station-name {
    font-size: 1.0rem;
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 8px;
    color: var(--color-accent);
    font-weight: 400;
}

.walk-time {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    font-weight: 400;
}

.location-item .highlight {
    font-size: 3.0rem;
    color: var(--color-primary);
    margin: 0 5px;
    font-weight: 500;
    line-height: 1;
}

.access-map {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.map-inner {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.access-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.15);
    /* Slightly more zoom for professional crop */
    transform-origin: center center;
}

.access-map:hover img {
    transform: scale(1.2);
}

.access-map .caption {
    text-align: right;
    font-size: 0.7rem;
    margin-top: 12px;
    color: #999;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .location-card {
        padding: 40px 20px;
    }

    .location-card::before {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
    }

    .station-name {
        font-size: 1rem;
    }

    .walk-time {
        font-size: 1.4rem;
    }

    .location-item .highlight {
        font-size: 3rem;
    }
}

/* Access Section (Gallery info) */
.access {
    background-color: var(--color-bg);
}

.access-container {
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-card {
    display: flex;
    background: white;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.gallery-info {
    flex: 1;
    padding: 50px;
}

.gallery-info h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.gallery-info .address {
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.gallery-info .note {
    display: inline-block;
    font-size: 0.8rem;
    color: #e74c3c;
    /* Alert Red for distinction */
    background: #fff5f5;
    padding: 2px 8px;
    border-radius: 2px;
    margin-top: 5px;
    font-weight: bold;
}

.access-details dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
}

.access-details dt {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-accent);
}

.access-details dd {
    font-size: 0.95rem;
    color: #555;
}

.gallery-map-placeholder {
    flex: 1.2;
}

@media (max-width: 900px) {
    .gallery-card {
        flex-direction: column;
    }

    .gallery-info {
        padding: 30px;
    }

    .access-details dl {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .access-details dt {
        margin-top: 10px;
    }
}

/* Plan Section (Off-white) */
.plan {
    background-color: var(--color-bg-light);
}

.plan-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.plan-card {
    width: 340px;
    background: white;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s, box-shadow 0.4s;
    border-top: 3px solid transparent;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--color-accent);
}

.plan-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--color-bg-light);
    border: 1px solid #eee;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-image-placeholder span {
    font-family: var(--font-en);
    color: var(--color-accent);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.plan-info h4 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 5px;
    font-family: var(--font-en);
}

.plan-info p {
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 900px) {
    .plan-card {
        width: 100%;
        max-width: 400px;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: #f4f4f4;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.cta-box {
    flex: 1;
    background: white;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid #ddd;
    transition: transform 0.3s;
}

.cta-box:hover {
    transform: translateY(-5px);
}

.cta-box.gold-bg {
    background-color: var(--color-primary);
    color: white;
    border: none;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 30px;
}

.btn-cta,
.btn-cta-gold {
    display: block;
    width: 100%;
    padding: 18px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-top: 30px;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.btn-cta {
    background: var(--color-primary);
    color: white;
}

.btn-cta-gold {
    background: var(--color-accent-red);
    color: white;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.2);
}

.btn-cta:hover,
.btn-cta-gold:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.3);
}

/* Footer */
.footer {
    background-color: #050d1a;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
    text-align: center;
}

.footer-address {
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    list-style: none;
}

.footer-links a {
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.8rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 2000;
    /* High Z-index */
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-btn {
    flex: 1;
    text-align: center;
    padding: 22px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.sticky-btn.request {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(5px);
}

.sticky-btn.reserve {
    background-color: rgba(191, 165, 125, 0.95);
    backdrop-filter: blur(5px);
}

/* Animation Classes */
.fade-in-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Mobile Responsive Overhaul */
@media (max-width: 900px) {

    /* Global Adjustments */
    .container {
        padding: 0 25px;
    }

    .section {
        padding: 80px 0;
    }

    /* Header */
    .header-inner {
        padding: 0 20px;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        position: absolute;
        transition: all 0.3s;
    }

    .menu-toggle span:nth-child(1) {
        top: 0;
    }

    .menu-toggle span:nth-child(2) {
        top: 9px;
    }

    .menu-toggle span:nth-child(3) {
        bottom: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1050;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav a {
        font-size: 1.2rem;
    }

    /* Hide desktop CTA in header on mobile */
    .header-cta {
        display: none;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
        padding: 20px 0;
        border-width: 1px;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-info {
        font-size: 1rem;
    }

    /* Sections General */
    .section-header {
        margin-bottom: 50px;
    }

    .jp-title {
        font-size: 1.6rem;
    }

    /* Concept: Stack vertically, Image First */
    .concept-content {
        flex-direction: column-reverse;
        gap: 40px;
    }

    /* Design: Stack vertically, Image First */
    /* Original desktop was row-reverse (Image Left, Text Right visually? No, see CSS above) */
    /* CSS .design-content { flex-direction: row-reverse; } which means Item 1 (Image) is Right, Item 2 (Text) is Left? */
    /* Let's verify HTML structure usually: Image then Text. */
    /* If HTML is <Image> <Text> and flex-direction: row-reverse, visually it is Text | Image. */
    /* On mobile, we want Image Top, Text Bottom. So we need normal column layout. */
    .design-content {
        flex-direction: column;
    }

    .concept-image,
    .design-image {
        width: 100%;
    }

    /* Location */
    .location-item {
        padding: 30px 20px;
        font-size: 1.5rem;
    }

    .location-item .highlight {
        font-size: 2.5rem;
    }

    /* Plans */
    .plan-list {
        gap: 30px;
    }

    .plan-card {
        width: 100%;
        max-width: 400px;
    }

    /* CTA */
    .cta-container {
        flex-direction: column;
    }

    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (min-width: 901px) {
    .menu-toggle {
        display: none;
    }
}

/* Page Header */
.page-header {
    padding-top: var(--header-height);
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding-bottom: 60px;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-top: 60px;
    letter-spacing: 0.1em;
}

/* Form Styles */
.form-section {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--color-accent);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-family: var(--font-serif);
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--color-primary);
}

.form-group label span.required {
    color: #c0392b;
    font-size: 0.8rem;
    margin-left: 5px;
    vertical-align: middle;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: white;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.radio-group,
.checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 50px;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }
}