/* ========================================
    お問い合わせページ専用スタイル
    ======================================== */

/* ページタイトルセクション */
.page-title-section {
    background: linear-gradient(135deg, rgba(197, 212, 218, 0.8), rgba(139, 218, 194, 0.8)), url('../koya.img/tree2.jpg!d');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: clamp(4rem, 8vw, 6rem) 0;
    text-align: center;
    color: #ffffff;
    margin-top: 180px; /* 固定ヘッダーの高さ分 */
}

.page-title-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.page-title {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: #666666; /* より濃いグレーに変更 */
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); /* 白い影を追加 */
}

/* お問い合わせ方法セクション */
.contact-methods-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 248, 220, 0.1));
}

/* お問い合わせ方法グリッド */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* お問い合わせ方法タイル */
.contact-method-tile {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(74, 103, 65, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.contact-method-tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* お問い合わせ方法ヘッダー */
.contact-method-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    text-align: center;
    color: #ffffff;
}

.contact-method-title {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    font-size: clamp(1.3rem, 2.6vw, 1.6rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

/* お問い合わせ方法コンテンツ */
.contact-method-content {
    padding: clamp(1.5rem, 2.5vw, 2rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

/* お問い合わせ方法アイコン */
.contact-method-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-method-icon svg {
    width: 60px;
    height: 60px;
    color: #667eea;
}

/* お問い合わせ方法詳細 */
.contact-method-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-method-description {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    font-size: clamp(0.95rem, 1.9vw, 1.1rem);
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

/* お問い合わせ方法情報 */
.contact-method-info {
    margin-bottom: 1.5rem;
}

.contact-method-info p {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: #666;
    margin: 0.5rem 0;
}

.contact-method-info strong {
    color: #333;
    font-weight: 600;
}

.contact-method-value {
    font-size: clamp(1rem, 2vw, 1.1rem) !important;
    color: #667eea !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

/* お問い合わせ方法ボタン */
.contact-method-btn {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    display: inline-block;
    padding: clamp(0.8rem, 2vw, 1.2rem) clamp(1.5rem, 3vw, 2rem);
    background: linear-gradient(135deg, #40E0D0, #20B2AA);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    margin-top: auto;
}

.contact-method-btn:hover {
    background: linear-gradient(135deg, #48D1CC, #00CED1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
}

/* お問い合わせフォームセクション */
.contact-form-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(240, 248, 255, 0.1));
}

.contact-form-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-description {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* お問い合わせフォーム */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 103, 65, 0.1);
    backdrop-filter: blur(10px);
}

/* フォームグループ */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    display: block;
    font-size: clamp(0.95rem, 1.9vw, 1.1rem);
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

/* フォーム入力 */
.form-input,
.form-select,
.form-textarea {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    width: 100%;
    padding: clamp(0.8rem, 1.5vw, 1rem);
    border: 2px solid rgba(74, 103, 65, 0.2);
    border-radius: 8px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #40E0D0;
    box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.1);
}

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

/* プライバシーポリシー */
.privacy-policy {
    background: rgba(248, 249, 250, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #40E0D0;
}

.privacy-policy p {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    font-size: clamp(0.85rem, 1.7vw, 0.95rem);
    color: #666;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.privacy-link {
    color: #40E0D0;
    text-decoration: none;
    font-weight: 600;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* フォームアクション */
.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

/* よくある質問セクション */
.faq-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(248, 255, 248, 0.1));
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

/* FAQアイテム */
.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 103, 65, 0.1);
    overflow: hidden;
}

/* FAQ質問 */
.faq-question {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    width: 100%;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    background: linear-gradient(135deg, #40E0D0, #20B2AA);
    color: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #48D1CC, #00CED1);
}

.faq-question-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0;
    transition: transform 0.3s ease;
}

/* FAQ回答 */
.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.faq-answer p {
    font-family: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Rounded Mplus 1c', 'Rounded Mplus 1p', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding: clamp(1.5rem, 2.5vw, 2rem);
}

/* アクティブなナビゲーションリンク */
.nav-link.active {
    background-color: #f8f9fa;
    color: #007bff;
}

.nav-link.active .nav-text-ja,
.nav-link.active .nav-text-en {
    color: #007bff;
}

/* レスポンシブ対応 */
@media screen and (max-width: 900px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 3vw, 2rem);
    }
}

@media screen and (max-width: 768px) {
    .contact-form {
        padding: clamp(1.5rem, 3vw, 2rem);
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .faq-question {
        padding: clamp(1rem, 2vw, 1.5rem);
    }
    
    .faq-answer p {
        padding: clamp(1rem, 2vw, 1.5rem);
    }
}

@media screen and (max-width: 480px) {
    .page-title-section {
        margin-top: 160px;
        padding: clamp(2rem, 6vw, 4rem) 0;
    }
    
    .contact-method-header {
        padding: clamp(1rem, 2vw, 1.5rem);
    }
    
    .contact-method-title {
        font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    }
    
    .contact-method-content {
        padding: clamp(1rem, 2vw, 1.5rem);
    }
    
    .contact-method-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .contact-method-description {
        font-size: clamp(0.85rem, 1.7vw, 0.95rem);
    }
    
    .contact-method-info p {
        font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    }
    
    .contact-method-value {
        font-size: clamp(0.9rem, 1.8vw, 1rem) !important;
    }
    
    .contact-method-btn {
        padding: clamp(0.7rem, 1.8vw, 1rem) clamp(1.2rem, 2.5vw, 1.5rem);
        font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    }
    
    .contact-form-description {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
    }
    
    .form-label {
        font-size: clamp(0.85rem, 1.7vw, 0.95rem);
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: clamp(0.7rem, 1.3vw, 0.8rem);
        font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    }
    
    .privacy-policy {
        padding: 1rem;
    }
    
    .privacy-policy p {
        font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    }
    
    .submit-btn {
        padding: clamp(0.8rem, 2vw, 1.2rem) clamp(1.5rem, 3vw, 2rem);
        font-size: clamp(0.9rem, 1.8vw, 1rem);
    }
    
    .faq-question-text {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
    }
    
    .faq-toggle {
        font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    }
}

/* アニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-method-tile {
    animation: fadeInUp 0.6s ease-out;
}

.contact-method-tile:nth-child(2) {
    animation-delay: 0.1s;
}

.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

.faq-item:nth-child(2) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.3s;
}

/* スクロール時の視差効果 */
.contact-method-tile {
    will-change: transform;
}

/* フォームのフォーカス効果 */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    transform: translateY(-2px);
}

/* ボタンのホバー効果 */
.contact-method-btn:hover,
.submit-btn:hover {
    transform: translateY(-3px);
}

/* FAQアコーディオンのスムーズな開閉 */
.faq-answer {
    transition: max-height 0.3s ease, padding 0.3s ease;
}

/* アクセシビリティ */
.faq-question:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 2px solid #40E0D0;
    outline-offset: 2px;
}

