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

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー（他のページ用） */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo a:hover .logo-img {
    opacity: 0.8;
}

/* ハンバーガーメニュー */
.hamburger {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.current {
    color: #007bff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.current::after {
    width: 100%;
}


/* ヒーローセクション（Topページ用） */
.hero {
    position: relative;
    width: 100%;
    min-height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #FFFFFF;
    z-index: 1;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    z-index: 2;
}

.main-logo {
    position: absolute;
    width: 252px;
    height: 238px;
    left: 50%;
    top: 150px;
    transform: translateX(-50%);
    z-index: 3;
}

/* メインナビゲーション（Topページ用） */
.main-nav {
    position: relative;
    margin-top: 20px;
    z-index: 3;
}

.nav-menu {
    position: absolute;
    width: 576px;
    height: 39px;
    left: 50%;
    top: 450px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.nav-item {
    text-decoration: none;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    text-align: center;
    width: 160px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.nav-item:hover {
    opacity: 0.7;
}

.nav-item.current {
    opacity: 1;
}

/* セクション共通スタイル */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #A24613;
}

/* Aboutページ */
.about {
    padding: 100px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

/* SNSアイコン */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.twitter {
    color: #000000;
}

.social-link.twitter:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.social-link.instagram {
    color: #E4405F;
}

.social-link.instagram:hover {
    background-color: #E4405F;
    color: #ffffff;
    border-color: #E4405F;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Memberページ */
.member {
    padding: 100px 0;
}

.member-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.member-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    padding: 30px;
    gap: 40px;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-img {
    transform: scale(1.05);
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.member-instrument {
    font-size: 1.2rem;
    color: #A24613;
    font-weight: 600;
    margin: 0;
}

.member-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.member-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.member-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
}

.member-social .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.member-social .social-link.twitter {
    color: #000000;
}

.member-social .social-link.twitter:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.member-social .social-link.instagram {
    color: #E4405F;
}

.member-social .social-link.instagram:hover {
    background-color: #E4405F;
    color: #ffffff;
    border-color: #E4405F;
}

.member-social .social-link svg {
    width: 20px;
    height: 20px;
}

/* 区切り画像 */
.member-divider {
    text-align: center;
    margin-top: 80px;
}

.bar-image {
    max-width: 100%;
    height: auto;
}

/* Contactページ */
.contact {
    padding: 100px 0;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.contact-lead {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* フォームスタイル */
.contact-form {
    text-align: left;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #A24613;
    box-shadow: 0 0 0 3px rgba(162, 70, 19, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background-color: #A24613;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #8B3A10;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.submit-button:disabled:hover {
    background-color: #ccc;
    transform: none;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    text-align: center;
    margin-top: 20px;
}

/* お問い合わせ完了ページ */
.thank-you {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.thank-you-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #A24613;
}

.thank-you-message {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.thank-you-message p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.thank-you-message p:last-child {
    margin-bottom: 0;
}

.thank-you-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.back-to-top-button,
.contact-again-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
}

.back-to-top-button {
    background-color: #A24613;
    color: white;
}

.back-to-top-button:hover {
    background-color: #8B3A10;
    transform: translateY(-2px);
}

.contact-again-button {
    background-color: transparent;
    color: #A24613;
    border: 2px solid #A24613;
}

.contact-again-button:hover {
    background-color: #A24613;
    color: white;
    transform: translateY(-2px);
}

/* フッター */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #A24613;
    z-index: 1000;
}

.footer-content {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 50px 20px 15px 0;
}

.footer-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: #000000;
    margin: 0;
}

/* フッターを画面下に固定 */
body {
    padding-bottom: 80px; /* フッターの高さ分のパディングを追加 */
}

main {
    min-height: calc(100vh - 80px); /* フッターの高さを考慮した最小高さ */
}

/* ナビゲーションメニューのスタイル */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 999;
}

.nav.active {
    right: 0;
}

.nav-list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
}

.nav-link {
    font-size: 1.5rem;
    font-weight: 600;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    
    /* Topページのレスポンシブ */
    .main-logo {
        width: 200px;
        height: auto;
        top: 100px;
    }
    
    .nav-menu {
        width: 100%;
        max-width: 400px;
        flex-direction: column;
        gap: 20px;
        height: auto;
        top: 300px;
    }
    
    .nav-item {
        font-size: 24px;
        width: auto;
        height: auto;
        padding: 10px 20px;
    }
    
    
    .footer-content {
        justify-content: flex-end;
        padding: 50px 5px 10px 0;
    }
    
    .footer-text {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .member-grid {
        gap: 40px;
        margin-top: 40px;
    }
    
    .member-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    
    .member-image {
        width: 150px;
        height: 150px;
    }
    
    .member-info {
        gap: 10px;
    }
    
    .member-instrument {
        font-size: 1.1rem;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
    
    .member-social {
        justify-content: center;
        gap: 10px;
    }
    
    .member-social .social-link {
        width: 40px;
        height: 40px;
    }
    
    .member-social .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about, .member, .contact {
        padding: 80px 0;
    }
    
    .social-links {
        gap: 20px;
        margin-top: 30px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    /* Contactページのレスポンシブ */
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-input,
    .form-textarea {
        padding: 10px 12px;
        font-size: 16px; /* iOS Safariでのズーム防止 */
    }
    
    /* お問い合わせ完了ページのレスポンシブ */
    .thank-you {
        padding: 80px 0;
        min-height: 50vh;
    }
    
    .thank-you-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .thank-you-message {
        padding: 30px 20px;
    }
    
    .thank-you-message p {
        font-size: 1.1rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .back-to-top-button,
    .contact-again-button {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text, .contact-text {
        font-size: 1rem;
    }
    
    .member-info {
        padding: 20px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-role {
        font-size: 1rem;
    }
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* スクロール時のヘッダーアニメーション */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}