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

/* ページヘッダー */
.page-header {
    background-color: #F5F5F5;
    padding: 60px 60px;
}

.page-header-container {
    max-width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 40vh;
}

.page-header-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 0;
}

.page-header-info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px 0 40px 40px;
}

.page-main-title {
    font-size: 72px;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.05em;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.page-header-text {
    font-size: 16px;
    line-height: 2;
    color: #666;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 143, 177, 0.2);
}

.contact-info-item svg {
    width: 40px;
    height: 40px;
    color: #D48FB1;
    flex-shrink: 0;
}

.contact-info-item > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.info-value {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* お問い合わせフォームセクション */
.contact-form-section {
    padding: 80px 20px;
    background-color: #fff;
}

.form-description {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.form-description p {
    font-size: 16px;
    line-height: 2;
    color: #666;
}

/* フォームスタイル */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #FAFAFA;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.form-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label.required::after {
    content: '必須';
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    background-color: #D48FB1;
    padding: 3px 8px;
    border-radius: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background-color: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #D48FB1;
    box-shadow: 0 0 0 3px rgba(212, 143, 177, 0.1);
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23D48FB1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

/* プライバシーポリシー同意 */
.form-privacy {
    margin: 40px 0 30px;
    display: flex;
    justify-content: center;
}

.privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.privacy-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #D48FB1;
}

.privacy-text {
    font-size: 15px;
    color: #666;
}

.privacy-text a {
    color: #D48FB1;
    text-decoration: underline;
    transition: color 0.3s;
}

.privacy-text a:hover {
    color: #B86A8F;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #D48FB1 0%, #E8B4C8 100%);
    color: #fff;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 143, 177, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 143, 177, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

/* 送信完了メッセージ */
.success-message {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background-color: #FFF5F8;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #D48FB1 0%, #E8B4C8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-icon svg {
    width: 45px;
    height: 45px;
    color: #fff;
    stroke-width: 3;
}

.success-message h3 {
    font-size: 26px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Shippori Mincho', serif;
}

.success-message p {
    font-size: 16px;
    line-height: 2;
    color: #666;
    margin-bottom: 40px;
}

.btn-back-home {
    display: inline-block;
    background-color: #D48FB1;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 143, 177, 0.3);
}

.btn-back-home:hover {
    background-color: #B86A8F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 143, 177, 0.4);
}

/* その他のお問い合わせ方法 */
.contact-methods {
    padding: 80px 20px;
    background-color: #FAFAFA;
}

.contact-methods.gray-bg {
    background-color: #FAFAFA;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-method-card {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(212, 143, 177, 0.2);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #D48FB1 0%, #E8B4C8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
    stroke-width: 2;
}

.contact-method-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Shippori Mincho', serif;
}

.method-detail {
    font-size: 24px;
    font-weight: 700;
    color: #D48FB1;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.method-description {
    font-size: 15px;
    line-height: 2;
    color: #666;
    margin-bottom: 30px;
}

.method-btn {
    display: inline-block;
    background-color: #D48FB1;
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 143, 177, 0.3);
}

.method-btn:hover {
    background-color: #B86A8F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 143, 177, 0.4);
}

/* レスポンシブ（タブレット） */
@media (max-width: 768px) {
    .section-title-mincho {
        font-size: 24px;
    }
    
    .page-header {
        min-height: auto;
        padding: 40px 20px;
    }

    .page-header-container {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .page-header-title {
        padding: 20px 0;
        justify-content: flex-start;
    }

    .page-header-info-wrapper {
        padding: 20px 0;
    }

    .page-main-title {
        font-size: 60px;
    }

    .contact-form-section {
        padding: 60px 20px;
    }

    .contact-form {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .contact-methods {
        padding: 60px 20px;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-method-card {
        padding: 40px 30px;
    }
}

/* レスポンシブ（スマホ） */
@media (max-width: 400px) {
    .page-header {
        padding: 40px 20px;
    }

    .page-header-title {
        padding: 15px 0;
    }

    .page-header-info-wrapper {
        padding: 15px 0;
        gap: 25px;
    }

    .page-main-title {
        font-size: 48px;
    }

    .page-header-text {
        font-size: 14px;
    }

    .contact-info-item {
        padding: 15px;
        gap: 15px;
    }

    .contact-info-item svg {
        width: 35px;
        height: 35px;
    }

    .info-label {
        font-size: 12px;
    }

    .info-value {
        font-size: 16px;
    }

    .contact-form-section {
        padding: 50px 15px;
    }

    .form-description p {
        font-size: 14px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-label {
        font-size: 14px;
    }

    .form-label.required::after {
        font-size: 10px;
        padding: 2px 6px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .form-textarea {
        min-height: 150px;
    }

    .form-privacy {
        margin: 30px 0 25px;
    }

    .privacy-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .privacy-text {
        font-size: 13px;
    }

    .form-submit {
        margin-top: 30px;
    }

    .btn-submit {
        padding: 15px 40px;
        font-size: 16px;
        gap: 10px;
    }

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

    .success-message {
        padding: 40px 25px;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }

    .success-icon svg {
        width: 40px;
        height: 40px;
    }

    .success-message h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .success-message p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .btn-back-home {
        padding: 12px 35px;
        font-size: 15px;
    }

    .contact-methods {
        padding: 50px 15px;
    }

    .contact-method-card {
        padding: 35px 25px;
    }

    .method-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }

    .method-icon svg {
        width: 35px;
        height: 35px;
    }

    .contact-method-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .method-detail {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .method-description {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .method-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}