/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', serif;
    color: #000;
    background-color: #FFF;
    /* 背景画像を非表示 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 140px;
}

/* ヘッダーメニュー */
.main-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 0;
}

.main-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 5px;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    padding: 8px 15px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    display: block;
    white-space: nowrap;
}

.main-menu a:hover,
.main-menu a.active {
    color: #000;
}

/* ハンバーガーメニューボタン(デフォルトは非表示) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    left: 20px;
    top: 15px;
    z-index: 1002;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #000;
    transition: all 0.3s;
}

/* モバイルヘッダー - PC版では完全非表示 */
.mobile-header {
    display: none;
}

.mobile-logo {
    height: 30px;
    width: auto;
}

.mobile-title {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #000;
}

/* HEROセクション */
.hero {
    text-align: center;
    padding: 120px 20px 60px 20px;
}

/* Heroロゴ */
.hero-logo {
    max-width: 200px;
    width: 80%;
    height: auto;
    margin: 0 auto 40px auto;
    display: block;
    opacity: 0.9;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
}

.symbols {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.symbol-image {
    max-width: 200px;
    width: 20%;
    height: auto;
    display: block;
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* 言語切替ボタン(フッター内) */
.language-switcher {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.language-switcher button {
    background: transparent;
    border: none;
    border-bottom: 0.5px solid transparent;
    color: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.language-switcher button:hover,
.language-switcher button.active {
    color: #000;
    border-bottom: 0.5px solid #000;
}

/* フッター */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.site-footer p {
    margin: 0;
}

/* ページコンテナ */
#pageContainer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.page {
    min-height: 60vh;
    animation: fadeIn 0.5s;
}

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

/* コンテンツページ */
.content-page {
    text-align: center;
    padding: 0;
    height: calc(100vh - 60px - 100px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.content-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, #C0C0C0, #000);
    z-index: 10;
}

/* ページヘッダー(見出し部分) */
.page-header {
    text-align: center;
    padding: 40px 20px 40px 20px;
    flex-shrink: 0;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, #C0C0C0, #000);
}

.page-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin: 0;
    color: #000;
}

.page-content {
    max-width: 800px;
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
    text-align: left;
    line-height: 1.8;
    font-size: 1.1rem;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.page-content::-webkit-scrollbar {
    display: none;
}

.page-content p {
    margin-bottom: 20px;
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: #000;
    font-family: 'Times New Roman', serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    background: rgba(255, 255, 255, 0.95);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #000;
    border: 2px solid #000;
    color: #FFF;
    font-size: 1.1rem;
    font-family: 'Times New Roman', serif;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #333;
    border-color: #333;
    color: #FFF;
}

.form-result {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
    display: none;
}

.form-result.success {
    display: block;
    background: rgba(0, 128, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #006400;
}

.form-result.error {
    display: block;
    background: rgba(128, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #8B0000;
}

/* レスポンシブ(タブレット・スマホ) */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
        padding-bottom: 180px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* モバイルヘッダーをスマホで表示 */
    .mobile-header {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        left: 70px;
        top: 18px;
        z-index: 1001;
    }
    
    .main-menu ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 70px;
        gap: 0;
        transition: left 0.3s;
    }
    
    .main-menu ul.active {
        left: 0;
    }
    
    .main-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
    
    .main-menu a {
        padding: 15px 20px;
        font-size: 1rem;
        width: 100%;
        text-align: left;
    }
    
    .hero {
        padding: 70px 20px 30px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }
    
    .symbols {
        margin: 30px 0;
    }
    
    .symbol-image {
        max-width: 250px;
        width: 40%;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-logo {
        max-width: 150px;
        margin-bottom: 25px;
    }
    
    .language-switcher {
        bottom: 70px;
        gap: 20px;
    }
    
    .language-switcher button {
        font-size: 0.95rem;
        padding: 8px 12px;
    }
    
    .site-footer {
        font-size: 0.75rem;
        padding: 15px;
    }
    
    .content-page h2 {
        font-size: 1.8rem;
    }
    
    .page-content {
        font-size: 1rem;
        padding: 20px 0;
        width: 80%;
    }
    
    .contact-form {
        padding: 10px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
    }
}