/* ベースレイアウト */
.site-content {
    position: relative;
    z-index: 1;
}

/* ヒーローセクション */
.contact-hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* コンテンツ領域のスタイル */
.contact-page-wrapper {
    position: relative;
    z-index: 1;
}

.contact-page-wrapper h1 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
    color: #3E3E3E;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-page-wrapper p.page-subheading {
    font-size: 13px;
    letter-spacing: 0.065em;
    margin-bottom: 0px;
    color: #3E3E3E;
    font-weight: normal;
}

.hero-content {
    text-align: center;
    color: #3E3E3E;
}

.hero-subtitle {
    font-size: 15px;
    margin-bottom: 0.5rem;
}

.page-hero-content p{
    font-size: 13px;
    letter-spacing: 0.065em;
    margin-bottom: 0px;
    color: #3E3E3E;
    font-weight: normal;}

.page-hero-content h1{
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
    color: #3E3E3E;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}
.hero-title {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
}

/* お問い合わせフォームセクション */
.contact-form-section {
    background-color: #FFF;
    padding: 3rem 1rem;
}

.contact-container {
    max-width: 771px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.04em;
    line-height: 27px;
    margin-bottom: 3rem;
}

/* Contact Form 7カスタマイズ */
.wpcf7 {
    max-width: 771px;
    margin: 0 auto;
}

/* フォーム全体のレイアウト */
.wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* 2カラムレイアウト用のスタイル */
.form-row {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-bottom: 10px;
}

.form-col {
    width: 50%;
}
.form-col p {
    margin: 0;
}
.form-full p {
    margin: 0;
}

/* 入力フィールドの共通スタイル */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.wpcf7 select {
    color: #999;
    margin: 10px 0;
}
/* プレースホルダーのスタイル */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    font-size: 14px;
    color: #999;
}

/* フル幅要素のスタイル */
.form-full {
    width: 100%;
    margin-bottom: 5px;
}
form.wpcf7-form.init p {
    width: 100%;
    margin: 0;
}
/* 送信ボタンのスタイル */
.wpcf7 input[type="submit"] {
    background-color: #FFE42D;
    border: none;
    color: #3E3E3E;
    padding: 1rem 3rem;
    font-size: 14px;
    cursor: pointer;
    display: block;
    margin: 0rem auto 0;
    transition: opacity 0.3s ease;
    width: auto;
    min-width: 100%;
}

.wpcf7 input[type="submit"]:hover {
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 28px;
    }

    .contact-form-section {
        padding: 3rem 1rem;
    }

    .form-row {
        flex-direction: column;
    }
    
    .form-col {
        width: 100%;
    }
}

/* アニメーション */
.contact-hero,
.contact-text,
.contact-form-wrapper {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.contact-text {
    animation-delay: 0.3s;
}

.contact-form-wrapper {
    animation-delay: 0.6s;
}

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