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

/* -----------------------------------------------
   お問い合わせ方法バー
----------------------------------------------- */
.ct-methods-bar {
    background: var(--bg-card);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 0;
}

.ct-methods-bar .container {
    display: flex;
    align-items: stretch;
    min-height: 80px;
}

.ct-method-divider {
    width: 1px;
    background: rgba(212, 175, 55, 0.15);
    flex-shrink: 0;
}

.ct-method-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
}

.ct-method-icon {
    width: 42px;
    height: 42px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.ct-method-icon--line {
    background: rgba(6, 199, 85, 0.1);
    color: #06c755;
}

.ct-method-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ct-method-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ct-method-note {
    font-size: 0.76rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ct-method-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ct-method-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.ct-method-btn--tel {
    background: var(--gradient-accent);
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.ct-method-btn--form {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.ct-method-btn--form:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    opacity: 1;
}

.ct-method-btn--line {
    background: #06c755;
    color: #fff;
}

/* -----------------------------------------------
   メインセクション
----------------------------------------------- */
.ct-main-section {
    padding: 70px 0 90px;
    background: var(--primary-color);
}

/* ページ本文イントロ */
.ct-intro {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 0.95rem;
}

/* 2カラムレイアウト */
.ct-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 50px;
    align-items: start;
}

/* -----------------------------------------------
   フォームカラム
----------------------------------------------- */
.ct-form-wrap {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 14px;
    overflow: hidden;
}

.ct-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 28px 36px 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.ct-heading-en {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.ct-form-body {
    padding: 36px;
}

/* -----------------------------------------------
   CF7 フォームスタイル上書き
----------------------------------------------- */
.ct-form-body .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-form-body p {
    margin: 0;
}

.ct-form-body label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 7px;
    letter-spacing: 0.3px;
}

.ct-form-body .wpcf7-form-control-wrap {
    display: block;
}

.ct-form-body input[type="text"],
.ct-form-body input[type="email"],
.ct-form-body input[type="tel"],
.ct-form-body input[type="url"],
.ct-form-body select,
.ct-form-body textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 11px 14px;
    color: var(--text-primary);
    font-size: 0.93rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.ct-form-body input[type="text"]:focus,
.ct-form-body input[type="email"]:focus,
.ct-form-body input[type="tel"]:focus,
.ct-form-body input[type="url"]:focus,
.ct-form-body select:focus,
.ct-form-body textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.04);
}

.ct-form-body select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23d4af37' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.ct-form-body select option {
    background: #1a1a1a;
    color: var(--text-primary);
}

.ct-form-body textarea {
    resize: vertical;
    min-height: 140px;
}

/* 必須マーク */
.ct-form-body .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.ct-form-body .wpcf7-response-output {
    margin: 0 !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 0.88rem !important;
    border: none !important;
}

/* チェックボックス（プライバシーポリシー等） */
.ct-form-body input[type="checkbox"] {
    width: auto;
    accent-color: var(--secondary-color);
    margin-right: 8px;
}

.ct-form-body input[type="checkbox"] + .wpcf7-list-item-label,
.ct-form-body .wpcf7-list-item label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.ct-form-body .wpcf7-list-item-label a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 送信ボタン */
.ct-form-body input[type="submit"],
.ct-form-body .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 30px;
    background: var(--gradient-accent);
    color: var(--primary-color);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 1px;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ct-form-body input[type="submit"]:hover,
.ct-form-body .wpcf7-submit:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4);
}

/* -----------------------------------------------
   サイドカラム
----------------------------------------------- */

/* 店舗カード */
.ct-shop-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 24px 26px 20px;
    margin-bottom: 20px;
}

.ct-shop-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.ct-shop-name i {
    font-size: 0.95rem;
}

.ct-shop-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ct-shop-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.ct-shop-list li i {
    color: var(--secondary-color);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.ct-tel-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.ct-tel-link:hover {
    color: var(--secondary-color);
}

.ct-shop-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    padding-top: 4px;
}

.ct-shop-detail-link:hover {
    color: var(--secondary-color);
}

/* FAQカード */
.ct-faq-card {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 24px 26px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ct-faq-icon {
    font-size: 1.6rem;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.ct-faq-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.ct-faq-text {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.ct-faq-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: gap 0.2s;
}

.ct-faq-link:hover {
    gap: 10px;
}

/* -----------------------------------------------
   レスポンシブ
----------------------------------------------- */
@media (max-width: 1024px) {
    .ct-layout {
        grid-template-columns: 1fr 300px;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .ct-methods-bar .container {
        flex-direction: column;
        min-height: auto;
    }

    .ct-method-divider {
        width: 100%;
        height: 1px;
    }

    .ct-method-item {
        padding: 14px 20px;
    }

    .ct-method-note {
        white-space: normal;
    }

    .ct-layout {
        grid-template-columns: 1fr;
    }

    .ct-side-col {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        align-items: start;
    }

    .ct-shop-card,
    .ct-faq-card {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .ct-form-body {
        padding: 24px 20px;
    }

    .ct-heading {
        padding: 22px 20px 18px;
    }

    .ct-side-col {
        grid-template-columns: 1fr;
    }
}
