:root {
    --primary-color: #336633;
    --primary-dark: #2a552a;
    --text-color: #333;
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    --accent-brown: #7a583a;
    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-heading);
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--bg-light);
}

/* --- Common Util --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Loading */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    z-index: 9999;
    pointer-events: none;
}

/* --- Magnetic CTA Button --- */
.magnetic-cta {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 100px;
    height: 100px;
    background-color: var(--accent-brown);
    border-radius: 50%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

.cta-hover-bg {
    position: absolute;
    width: 0%;
    height: 0%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    transition: width 0.4s ease, height 0.4s ease;
}

.magnetic-cta:hover .cta-hover-bg {
    width: 200%;
    height: 200%;
}

/* Header - Floating Menu */
.floating-menu {
    position: fixed; right: 20px; top: 50%;
    transform: translateY(-50%); z-index: 100;
    display: flex; flex-direction: column; gap: 10px;
}
.float-item {
    width: 80px; height: 80px;
    background: var(--bg-white);
    border-radius: 10px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-decoration: none; color: var(--text-color);
    font-size: 12px; font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}
.float-item.contact { background: var(--accent-brown); color: #fff; }
.float-item:hover { transform: scale(1.05); }
.menu-icon span {
    display: block; width: 20px; height: 2px; background: #333; margin: 3px 0;
}

/* Hero Section */
.hero {
    position: relative; width: 100%; height: 100vh;
    overflow: hidden;
}
.hero-bg-wrapper { position: absolute; inset: 0; z-index: -1; }
.hero-bg {
    width: 100%; height: 110%;
    background-size: cover; background-position: center;
}
.hero-content {
    height: 100%; width: 100%; display: flex;
    color: #fff;
}
.hero-copy-wrapper {
    width: 100%; height: 100%; display: flex;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 30px; text-align: center; position: relative; z-index: 10;
}

.gunma-crane img {
    width: 100px; height: 100px;
    animation: spin 30s linear infinite;
    filter: brightness(0) invert(1); opacity: 0.9;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.main-copy {
    writing-mode: vertical-rl; font-size: 3.5rem;
    letter-spacing: 0.5em; line-height: 2; margin: 0;
    text-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.main-copy .line { display: inline-block; }

.mountain-icon {
    display: block; width: 140px; height: 35px;
    border-top: 2px solid rgba(255,255,255,0.85);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    position: relative;
}
.mountain-icon::after {
    content: ''; position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%); width: 70px; height: 25px;
    border-top: 2px solid rgba(255,255,255,0.6);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-pagination {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); display: flex; gap: 15px; z-index: 10;
}
.dot {
    width: 8px; height: 8px; background: rgba(255,255,255,0.5);
    border-radius: 50%; cursor: pointer;
}
.dot.active { background: #fff; transform: scale(1.3); }

.hero-bottom-wave {
    position: absolute; bottom: -1px; left: 0; width: 100%;
    line-height: 0; z-index: 1;
}
.hero-bottom-wave svg { width: 100%; height: 80px; }

/* --- ABOUT SECTION --- */
.about-section {
    position: relative; padding: 150px 0;
    background-color: var(--bg-light); overflow: hidden;
}
.about-bg-text { position: absolute; top: 50px; left: 50%; transform: translateX(-50%); font-size: 15vw; font-weight: 900; color: #fff; opacity: 0.8; z-index: 0; font-family: var(--font-body); text-shadow: 0 0 30px rgba(0,0,0,0.02); pointer-events: none; }
.about-map-visual { width: 100%; max-width: 900px; margin: 0 auto 80px; text-align: center; position: relative; z-index: 2; }
.map-img { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); border-radius: 20px; }
.about-content-wrapper { display: flex; align-items: center; justify-content: center; gap: 80px; position: relative; z-index: 2; }
.about-image-col { flex: 0 0 45%; position: relative; }
.image-frame { position: relative; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); aspect-ratio: 4/5; }
.main-about-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s ease; }
.image-frame:hover .main-about-img { transform: scale(1.05); }
.img-deco-box { position: absolute; bottom: -20px; left: -20px; width: 100%; height: 100%; border: 2px solid var(--primary-color); border-radius: 30px; z-index: -1; opacity: 0.3; }
.about-text-col { flex: 0 0 45%; }
.section-title .en { display: block; color: var(--primary-color); font-size: 1.2rem; font-weight: bold; font-family: var(--font-body); margin-bottom: 15px; letter-spacing: 0.05em; }
.section-title .ja { display: block; font-size: 2rem; line-height: 1.6; margin-bottom: 30px; font-weight: 700; }
.section-desc { font-family: var(--font-body); font-size: 0.95rem; line-height: 2; color: #666; margin-bottom: 40px; }
.btn-primary { display: inline-flex; align-items: center; padding: 15px 40px; background-color: var(--bg-white); color: var(--text-color); text-decoration: none; border-radius: 50px; font-weight: bold; font-family: var(--font-body); border: 1px solid #ddd; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.btn-primary .arrow { margin-left: 10px; transition: transform 0.3s ease; }
.btn-primary:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn-primary:hover .arrow { transform: translateX(5px); }

/* --- ACCESS SECTION --- */
.access-section {
    padding: 120px 0;
    background: #fff;
    position: relative;
    z-index: 2;
}
.section-heading-center {
    text-align: center; font-size: 2.5rem; color: var(--primary-color); margin-bottom: 60px;
}
.section-heading-center .sub {
    display: block; font-size: 1rem; color: #999; font-family: var(--font-body); margin-top: 10px; letter-spacing: 0.1em;
}
.access-wrapper {
    display: flex; justify-content: center; align-items: stretch; gap: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05); border-radius: 20px; overflow: hidden;
}
.access-map {
    flex: 1; min-height: 400px; background: #eee;
}
.map-placeholder {
    width: 100%; height: 100%; background-size: cover; background-position: center;
    filter: grayscale(100%) contrast(90%); transition: filter 0.5s ease;
}
.access-map:hover .map-placeholder { filter: grayscale(20%); }
.access-info {
    flex: 0 0 400px; padding: 50px; background: #fff; display: flex; flex-direction: column; justify-content: center;
}
.info-group {
    margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 30px;
}
.info-group:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.info-group h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--primary-color); }
.address { font-family: var(--font-body); line-height: 1.8; color: #555; }
.contact-list dt { float: left; clear: left; width: 80px; font-weight: bold; color: var(--text-color); }
.contact-list dd { margin-left: 80px; margin-bottom: 10px; font-family: var(--font-body); color: #555; }
.info-group h4 { font-size: 1.1rem; margin-bottom: 10px; color: var(--accent-brown); }
.transport p { font-family: var(--font-body); font-size: 0.9rem; color: #666; }

/* --- FOOTER --- */
.main-footer {
    position: relative; background-color: var(--primary-dark); color: #fff; margin-top: 0;
}
.footer-wave {
    position: absolute; top: -50px; left: 0; width: 100%; line-height: 0; transform: rotate(180deg);
}
.footer-wave svg { width: 100%; height: 60px; }
.footer-wave path { fill: var(--primary-dark); }
.footer-content { padding: 60px 0 30px; }
.footer-layout {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo h2 { font-size: 1.8rem; margin-bottom: 5px; }
.footer-logo p { font-size: 0.8rem; opacity: 0.7; letter-spacing: 0.1em; font-family: var(--font-body); }
.footer-nav { display: flex; gap: 30px; }
.footer-nav a {
    color: #fff; text-decoration: none; font-size: 0.9rem; font-family: var(--font-body); opacity: 0.8; transition: opacity 0.3s;
}
.footer-nav a:hover { opacity: 1; }
.copyright { text-align: center; padding-top: 30px; opacity: 0.5; font-family: var(--font-body); font-size: 0.7rem; }

/* Responsive */
@media (max-width: 960px) {
    .about-content-wrapper { flex-direction: column; gap: 50px; }
    .about-image-col, .about-text-col { flex: 1 1 100%; width: 100%; text-align: center; }
    .image-frame { max-width: 500px; margin: 0 auto; }
    .section-desc { text-align: left; max-width: 500px; margin: 0 auto 40px; }
    
    /* サイドナビゲーション削除に伴い、不要になったスタイルを削除 */
    
    .access-wrapper { flex-direction: column; }
    .access-map { min-height: 300px; }
    .access-info { flex: auto; padding: 30px; }
    
    .footer-layout { flex-direction: column; gap: 30px; text-align: center; }
    .footer-nav { flex-direction: column; gap: 15px; }

    .magnetic-cta { width: 80px; height: 80px; bottom: 20px; right: 20px; font-size: 12px; }
}

@media (max-width: 768px) {
    .main-copy { font-size: 2rem; }
    .about-bg-text { font-size: 20vw; top: 100px; }
    .section-title .ja { font-size: 1.6rem; }
}