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

body {
    font-family: 'Antic Didone', 'Noto Serif JP', serif;
    background: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* ===========================
   Header
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 45px;
    width: auto;
    display: block;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-family: 'Antic Didone', 'Noto Serif JP', serif;
    font-size: 0.9em;
    letter-spacing: 0.07em;
    font-weight: normal;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.6;
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    list-style: none;
    padding: 1rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Antic Didone', 'Noto Serif JP', serif;
    font-size: 0.85em;
    letter-spacing: 0.05em;
    transition: background 0.3s ease;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* ===========================
   Main Content
   =========================== */
.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 90px;
    padding-bottom: 4rem;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 6rem 3rem;
    text-align: center;
}

.page-title {
    font-family: 'Antic Didone', serif;
    font-size: 16.5px;
    color: #333;
    font-weight: 400;
    letter-spacing: 0.1em;
}

/* ===========================
   Container
   =========================== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   Access Info Section
   =========================== */
.access-info {
    padding: 5rem 0 3rem;
    background: #fff;
}

.info-group {
    margin-bottom: 4rem;
}

.info-group:last-child {
    margin-bottom: 0;
}

.section-title {
    font-family: 'Antic Didone', 'Noto Serif JP', serif;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 2.5em;
    text-align: center;
}

.text-content {
    font-family: 'Antic Didone', 'Noto Serif JP', serif;
    font-size: 0.9em;
    line-height: 1.9em;
    letter-spacing: 0.05em;
}

.text-content p {
    margin-bottom: 1.5em;
    text-align: justify;
}

.text-content p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Map Section
   =========================== */
.map {
    padding: 3rem 0 5rem;
    background: #fafafa;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.map-placeholder p {
    font-family: 'Antic Didone', 'Noto Serif JP', serif;
    font-size: 0.9em;
    color: #999;
    letter-spacing: 0.05em;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left span {
    font-family: 'Antic Didone', serif;
    font-size: 0.9em;
    color: #333;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(7, 0, 0, 1);
    text-decoration: none;
    font-family: 'Antic Didone', serif;
    font-size: 1em;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.6;
}

/* ===========================
   Company Info Section
   =========================== */
.company-info {
    padding: 3rem 0;
    background: #fff;
    border-top: 2px solid #000;
}

.company-text {
    font-family: 'Antic Didone', 'Noto Serif JP', serif;
    font-size: 0.9em;
    text-align: center;
    color: #333;
    letter-spacing: 0.05em;
    line-height: 1.9em;
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet (768px以下) */
@media screen and (max-width: 768px) {
    .header {
        padding: 1.125rem 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 2rem;
        padding: 5rem 2rem;
        align-items: flex-start;
    }

    .nav-link {
        font-size: 1.1em;
    }

    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0.5rem;
        border-radius: 0;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-link {
        font-size: 0.95em;
        padding: 0.4rem 1rem;
    }

    .site-logo {
        height: 33.75px;
    }

    .hero {
        padding: 4rem 2rem;
    }

    .page-title {
        font-size: 1.25em;
    }

    .access-info {
        padding: 3rem 0 2rem;
    }

    .info-group {
        margin-bottom: 3rem;
    }

    .map {
        padding: 2rem 0 3rem;
    }

    .map-placeholder {
        height: 300px;
    }

    .footer {
        padding: 1rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links {
        gap: 1rem;
        font-size: 0.9em;
    }

    .footer-left span {
        font-size: 0.8em;
    }
}

/* Mobile (480px以下) */
@media screen and (max-width: 480px) {
    .header {
        padding: 0.75rem 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.75em;
    }

    .site-logo {
        height: 26.25px;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .page-title {
        font-size: 1em;
    }

    .container {
        padding: 0 1.5rem;
    }

    .access-info {
        padding: 2rem 0 1.5rem;
    }

    .info-group {
        margin-bottom: 2rem;
    }

    .text-content {
        font-size: 0.95em;
    }

    .text-content p {
        text-align: left;
    }

    .map {
        padding: 1.5rem 0 2rem;
    }

    .map-placeholder {
        height: 250px;
    }

    .footer {
        padding: 0.75rem 1rem;
    }

    .footer-links {
        gap: 0.75rem;
        font-size: 0.85em;
    }

    .footer-left span {
        font-size: 0.75em;
    }
}

/* 地図（Google マップ埋め込み）・お知らせ  2026-10-02 */
.map-embed {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background: #e0e0e0;
}

.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%);
}

.map-link {
    margin-top: 0.75rem;
    font-size: 0.85em;
}

.map-link a {
    color: #333;
}

.notice {
    font-weight: 500;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}

/* Access は短い行なので見出しに合わせて中央揃え（長文のページは左揃えのまま） 2026-10-02 */
.access-info .text-content p {
    text-align: center;
}

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

@media (max-width: 768px) {
    .map-embed {
        height: 300px;
    }
}

/* 日本語／英語の切り替え（lang.js）2026-10-02 */
html[data-lang="ja"] [lang="en"],
html[data-lang="en"] [lang="ja"] {
    display: none !important;
}

.language-selector {
    display: flex;
    align-items: center;
    margin-left: 2rem;
    font-family: 'Antic Didone', serif;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.lang-btn {
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 2px;
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active {
    color: #fff;
}

.lang-btn.active {
    border-bottom-color: #fff;
}

.lang-separator {
    margin: 0 0.3em;
    color: rgba(255, 255, 255, 0.6);
}

@media screen and (max-width: 768px) {
    .language-selector {
        margin-left: auto;
        margin-right: 1rem;
        font-size: 12px;
    }
}

/* ヘッダーをトップと同じ部品に（2026-10-02 本人「トップと同じにしてください」）。
   明るいページなので地だけ黒。寸法・文字・並びは style.css の .top-header と同じ */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: #000;
    z-index: 1000;
}

.top-logo img {
    display: block;
    height: 44px;
    width: auto;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.top-nav {
    display: flex;
    gap: 2rem;
}

.top-nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Antic Didone', serif;
    font-size: 1.1em;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
}

.top-nav a:hover {
    opacity: 0.6;
}

.top-header .language-selector {
    margin: 0;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .top-header {
        padding: 1rem 1.5rem;
    }

    .top-logo img {
        height: 34px;
    }

    .top-right {
        gap: 1.25rem;
    }

    .top-header .language-selector {
        margin: 0;
    }

    .main-content {
        padding-top: 66px;
    }
}
