/* ========================================
   お問い合わせ方法セクション
======================================== */
.contact-methods-section {
    background: #fff;
    padding: 60px 0 80px;
}

.contact-methods-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.contact-method-item {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.contact-method-item:hover {
    background: #fff;
    border-color: #0066cc;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
    opacity: 1;
}

.contact-method-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon-phone {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
    color: #fff;
}

.contact-method-icon-line {
    background: linear-gradient(135deg, #00B900 0%, #009900 100%);
}

.contact-method-icon-mail {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
}

.contact-method-icon svg,
.contact-method-icon img {
    display: block;
}

.contact-method-content {
    flex: 1;
}

.contact-method-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.contact-method-number {
    font-size: 20px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 5px;
}

.contact-method-desc {
    font-size: 13px;
    color: #999;
}

/* ========================================
   お問い合わせフォームセクション
======================================== */
.contact-form-section {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    padding: 60px 0 80px;
}

.contact-form-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-desc {
    text-align: center;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin-top: 15px;
}

.form-notes {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-note-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.form-note-item:last-child {
    margin-bottom: 0;
}

.form-note-item svg {
    flex-shrink: 0;
    color: #0066cc;
}

.required-badge {
    background: #ff6b35;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 5px;
}

/* エラーメッセージ */
.form-errors {
    background: #fff5f5;
    border: 2px solid #ff6b35;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.form-errors-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff6b35;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

.form-errors-header svg {
    flex-shrink: 0;
}

.form-errors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-errors-list li {
    padding: 8px 0 8px 25px;
    font-size: 14px;
    color: #d63031;
    position: relative;
    line-height: 1.6;
}

.form-errors-list li::before {
    content: '・';
    position: absolute;
    left: 8px;
    color: #ff6b35;
    font-weight: bold;
}

/* フォーム */
.contact-form {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: all 0.3s;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ff6b35;
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.form-help {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    line-height: 1.5;
}

.form-help-counter {
    text-align: right;
    color: #999;
}

.form-help-counter.warning {
    color: #ff9a56;
}

.form-help-counter.danger {
    color: #ff6b35;
    font-weight: bold;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #0066cc;
}

.form-checkbox-text {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.7;
}

.form-link {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 600;
}

.form-link:hover {
    opacity: 0.7;
}

.form-submit-wrapper {
    text-align: center;
    margin-top: 40px;
}

.form-submit-btn {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
}

.form-submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
    opacity: 1;
}

.form-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.form-submit-btn svg {
    display: block;
}

.form-submit-note {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
    line-height: 1.6;
}

/* ========================================
   安心ポイントセクション
======================================== */
.reassurance-section {
    background: #fff;
    padding: 60px 0 80px;
}

.reassurance-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.reassurance-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.reassurance-item {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reassurance-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.reassurance-icon svg {
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reassurance-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.reassurance-text {
    font-size: 14px;
    line-height: 2;
    color: #555;
}

/* ========================================
   モバイルビューポート内の調整
======================================== */
.mobile-viewport .contact-methods-section,
.mobile-viewport .contact-form-section,
.mobile-viewport .reassurance-section {
    padding: 60px 0 80px !important;
}

.mobile-viewport .contact-form {
    padding: 30px 20px !important;
}

/* ========================================
   レスポンシブ（タブレット以上）
======================================== */
@media (min-width: 769px) {
    .contact-methods-section,
    .contact-form-section,
    .reassurance-section {
        padding: 80px 0;
    }
    
    .section-desc {
        font-size: 15px;
    }
    
    .contact-methods-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-method-item {
        padding: 30px 25px;
    }
    
    .contact-method-icon {
        width: 64px;
        height: 64px;
    }
    
    .contact-method-icon svg,
    .contact-method-icon img {
        width: 36px;
        height: 36px;
    }
    
    .contact-method-title {
        font-size: 19px;
    }
    
    .contact-method-number {
        font-size: 22px;
    }
    
    .contact-method-desc {
        font-size: 14px;
    }
    
    .form-notes {
        padding: 25px 30px;
    }
    
    .form-note-item {
        font-size: 14px;
    }
    
    .contact-form {
        padding: 45px 40px;
    }
    
    .form-group {
        margin-bottom: 35px;
    }
    
    .form-label {
        font-size: 16px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 16px 18px;
        font-size: 16px;
    }
    
    .form-help {
        font-size: 13px;
    }
    
    .form-checkbox-text {
        font-size: 15px;
    }
    
    .form-submit-btn {
        font-size: 18px;
        padding: 20px 60px;
    }
    
    .reassurance-list {
        gap: 30px;
    }
    
    .reassurance-item {
        padding: 35px 30px;
    }
}