/*
Theme Name: I's TOKYO
Description: Styles for the General Contact template.
*/

/* --- お問い合わせフォームブロック --- */
.inquiry-form-block {
    padding: 60px 20px;
}

.inquiry-form-inner.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- 見出しエリア --- */
.car-selection-flow-block {
    text-align: center;
    padding: 0 0 40px 0px;
}

.car-selection-flow-inner {
    max-width: 750px;
    margin: 0 auto;
}

.flow-main-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: bold;
    color: #000;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.flow-main-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #e70314;
    border-radius: 2px;
}

.flow-sub-text {
    font-size: clamp(14px, 2vw, 18px);
    color: #666;
    line-height: 1.6;
}

/* --- お問い合わせ事例（吹き出し） --- */
.contact-examples-block {
    margin-bottom: 40px;
}

.example-heading {
    text-align: center;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 900;
    color: #111;
    margin-bottom: 30px;
    background: #fdf2f2;
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed #e70314;
}

.example-bubbles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.example-bubble-item {
    display: flex;
    flex-direction: column;
}

.example-bubble-item .bubble {
    position: relative;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: clamp(14px, 1.8vw, 15px);
    line-height: 1.6;
    color: #333;
    font-weight: 700;
    flex-grow: 1;
}

.example-bubble-item .bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    border-top: 15px solid #f5f5f5;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
}

.example-bubble-item .user {
    margin-top: 25px;
    padding-left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.example-bubble-item .user::before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #e70314;
    font-size: 14px;
}

.example-bubble-item .user span {
    font-size: 12px;
    color: #888;
    font-weight: 700;
}

/* --- 各ステップ --- */
.flow-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    margin-top: 40px;
}

.flow-number {
    font-family: "Oswald", sans-serif;
    font-size: clamp(60px, 10vw, 80px);
    font-weight: normal;
    background: linear-gradient(45deg, #e70314, #ff6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
}

.flow-text p {
    font-size: clamp(20px, 4vw, 30px);
    font-weight: bold;
    color: #333;
    font-style: italic;
}

.flow-text p span {
    font-size: 0.6em;
    font-weight: normal;
    color: #e70314;
    margin-left: 10px;
    font-style: normal;
}

/* --- LINEお問い合わせセクション --- */
.line-contact-block {
    text-align: center;
    padding: 30px 20px;
}

.line-button {
    display: inline-block;
    padding: 20px 40px;
    background-color: #00C300;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 280px;
}

.line-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.line-button i {
    margin-right: 10px;
}

.line-note {
    font-size: 14px;
    color: #888;
    margin-top: 15px;
}

/* --- もしくは区切り線 --- */
.or-text {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #999;
    position: relative;
    margin: 40px 0;
}

.or-text::before,
.or-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background-color: #eee;
}

.or-text::before { left: 0; }
.or-text::after { right: 0; }

/* --- フォームセクション --- */
.inquiry-frame {
    border: solid 1px #e70314;
    border-radius: 12px;
    margin-top: 40px;
    overflow: hidden;
}

.form-contact-title {
    text-align: center;
    background: linear-gradient(45deg, #8b1102, #e70314);
    padding: 20px;
}

.form-contact-title h3 {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.inquiry-heading {
    text-align: center;
    padding: 40px 20px 20px;
}

.inquiry-heading .main-title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: bold;
    background: linear-gradient(45deg, #8b1102, #e70314);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 20px;
}

.inquiry-heading p {
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

.inquiry-form-wrapper {
    padding: 20px;
}

.inquiry-form-wrapper iframe {
    border-radius: 8px;
    background-color: #fcfcfc;
}

/* 
==============================================
SP Styles (max-width: 639px)
==============================================
*/
@media screen and (max-width: 639px) {
    .inquiry-form-block {
        padding: 40px 10px;
    }

    .inquiry-form-inner.card {
        padding: 20px 15px;
    }

    .example-bubbles {
        grid-template-columns: 1fr;
    }

    .flow-step {
        gap: 15px;
        margin-top: 30px;
    }

    .line-button {
        width: 100%;
        padding: 15px 20px;
    }

    .or-text::before,
    .or-text::after {
        width: 25%;
    }

    .inquiry-frame {
        margin-left: 0;
        margin-right: 0;
    }
}

/* --- 問い合わせ方法ボタン群（LINE / メール / 電話） --- */
.contact-methods-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 520px;
    margin: 30px auto 50px;
}

.contact-method-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 32px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s;
    box-sizing: border-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}
.contact-method-btn i { font-size: 1.4em; }

.contact-method-line {
    background: #06C755;
    color: #fff !important;
}
.contact-method-line:hover { background: #05a847; color: #fff !important; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(6, 199, 85, 0.35); }

.contact-method-email {
    background: linear-gradient(135deg, #e70314 0%, #8b1102 100%);
    color: #fff !important;
}
.contact-method-email:hover { filter: brightness(1.08); color: #fff !important; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(231, 3, 20, 0.4); }

.contact-method-tel {
    background: #1a1a1a;
    color: #fff !important;
}
.contact-method-tel:hover { background: #333; color: #fff !important; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35); }

/* --- 戻るリンクボタン --- */
.contact-return-block {
    margin-top: 60px;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.return-text {
    font-size: 22px;
    font-weight: 900;
    color: #111;
    margin-bottom: 30px;
}

.return-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    border-radius: 60px;
    font-size: 19px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-width: 260px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.btn-return i {
    margin-right: 12px;
    font-size: 1.25em;
}

/* YouTubeチャンネル */
.btn-return-youtube {
    background: #ff0000;
    color: #fff !important;
}
.btn-return-youtube:hover { background: #cc0000; color: #fff !important; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255, 0, 0, 0.35); }

/* 在庫一覧（黒地に白） */
.btn-return-stock {
    background: #1a1a1a;
    color: #fff !important;
}
.btn-return-stock:hover { background: #333; color: #fff !important; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }

/* トップページ（白地に黒、黒ボーダー） */
.btn-return-top {
    background: #fff;
    color: #1a1a1a !important;
    border: 2px solid #1a1a1a;
}
.btn-return-top:hover { background: #1a1a1a; color: #fff !important; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }

@media screen and (max-width: 639px) {
    .contact-methods-block { max-width: 100%; padding: 0 16px; }
    .contact-method-btn { font-size: 19px; padding: 18px 22px; gap: 12px; }
    .contact-method-btn i { font-size: 1.35em; }
    .btn-return { font-size: 17px; padding: 18px 24px; min-width: 0; }
    .return-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .btn-return {
        width: 100%;
        min-width: 0;
    }
}
