@charset "UTF-8";

/* ====================================
   CONTACT Page Specific Styles
   ==================================== */

/* --- FV (Page Header) --- */
.contact-fv {
    position: relative;
    height: 50vh;
    min-height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding-top: 100px;
}

.contact-fv-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.fv-title {
    font-family: var(--font-en);
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fv-sub {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* --- Intro Text --- */
.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro p {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-main);
}

/* --- Form Wrapper --- */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    /* padding: 60px; 不要なら削除可、背景色をつけるなら必要 */
}

/* ====================================
   Contact Form 7 Custom Styles
   ==================================== */

/* 定義リスト（ラベルと入力欄のセット） */
.p-contact-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.p-contact-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 30px;
}

.p-contact-item:last-child {
    border-bottom: none;
}

/* ラベルエリア */
.p-contact-dt {
    width: 240px; /* 左側の幅 */
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
}

/* 必須バッジ */
.required-label {
    font-size: 0.75rem;
    color: #fff;
    background: #ff6b6b; /* 赤系で目立たせる */
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    vertical-align: middle;
    margin-left: 10px;
}

/* 任意バッジ */
.optional-label {
    font-size: 0.75rem;
    color: var(--text-light);
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    margin-left: 10px;
}

/* 入力エリア */
.p-contact-dd {
    flex: 1; /* 残りの幅 */
    width: 100%;
}

/* 入力フォーム共通設定 */
.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    font-size: 1rem;
    color: var(--text-main);
    transition: 0.3s;
    font-family: inherit;
}

.wpcf7-textarea {
    height: 200px;
    resize: vertical;
}

/* フォーカス時のスタイル（ティファニーブルー） */
.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.1);
    outline: none;
}

/* 送信ボタンエリア */
.p-contact-submit {
    margin-top: 60px;
    text-align: center;
}

/* 送信ボタン */
.wpcf7-submit {
    display: inline-block;
    width: 300px;
    max-width: 100%;
    padding: 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(10, 186, 181, 0.3);
}

.wpcf7-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(10, 186, 181, 0.4);
}

/* エラーメッセージ等の調整 */
.wpcf7-not-valid-tip {
    font-size: 0.85rem;
    color: #ff6b6b;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .p-contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 20px;
    }

    .p-contact-dt {
        width: 100%;
        padding-right: 0;
    }

    .p-contact-dd {
        width: 100%;
    }
    
    .wpcf7-submit {
        width: 100%;
    }
}