/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Multi-step Form Styles */

/* General form styling */
.survey-form-child-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.survey-form-child-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.survey-form-child {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Progress bar */
.form-progress {
    margin-bottom: 30px;
}

.progress-container {
    background-color: #f0f0f0;
    border-radius: 5px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    background-color: #007bff;
    height: 100%;
    width: 20%; /* Default 20% for first step */
    transition: width 0.3s ease;
}

.step-indicator {
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Form steps */
.form-step {
    display: none; /* Hidden by default, shown by JS */
}

.form-step.active {
    display: block;
}

/* Step sections */
.form-section {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    border-radius: 5px;
}

.form-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

/* Form fields */
.form-row {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 10px;
}

/* Radio and checkbox styles */
.wpcf7-radio,
.wpcf7-checkbox {
    display: block;
}

.wpcf7-list-item {
    display: block;
    margin: 0 0 8px 0;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.wpcf7-list-item input[type="radio"],
.wpcf7-list-item input[type="checkbox"] {
    margin-right: 8px;
}

/* Navigation buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.step-nav button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.step-nav button:hover {
    background-color: #0069d9;
}

.step-nav button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.submit-form {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-form:hover {
    background-color: #45a049;
}

/* Children info section */
#children-info-container {
    margin-bottom: 20px;
}

.child-entry {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
}

.gender-field,
.age-type-field,
.age-field,
.birth-field {
    margin-bottom: 10px;
}

.remove-child {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
}

.remove-child:hover {
    background-color: #c82333;
}

#add-child {
    display: block;
    width: 100%;
    padding: 8px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

#add-child:hover {
    background-color: #5a6268;
}

/* Agreement section */
.agreement-section label {
    display: flex;
    align-items: flex-start;
}

.agreement-section input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 10px;
}

/* Email Verification Page Styles */
.email-verification-child-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.email-verification-child-title {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.email-verification-child-description {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

.email-verification-child-form {
    margin-bottom: 20px;
}

.email-verification-child-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
}

#submit-email {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

#submit-email:hover {
    background-color: #45a049;
}

#message-container {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
}

#message-container .success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 4px;
}

#message-container .error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 4px;
}

#message-container .info {
    color: #0c5460;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 15px;
    margin-top: 10px;
    border-radius: 4px;
}

#message-container .pending {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 4px;
}

/* Loading spinner */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 15px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cancel button */
.cancel-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 15px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cancel-btn:hover {
    background-color: #5a6268;
}

/* Validation styles */
.validation-error {
    border: 1px solid #ff0000 !important;
    background-color: #fff8f8 !important;
}

.custom-error {
    color: #ff0000;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .survey-form-child-container,
    .email-verification-child-container {
        padding: 15px;
    }
    
    .step-nav button {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .form-section {
        padding: 12px;
    }
    
    .wpcf7-form input,
    .wpcf7-form select,
    .wpcf7-form textarea {
        font-size: 16px; /* Better for mobile input */
    }
}

/* Other input fields */
.other-input {
    display: none;
    margin-top: 8px;
}

/* JA name selection */
#ja-name-other-wrap {
    display: none;
    margin-top: 10px;
}

/* Success message */
#form-success-message {
    display: none;
    padding: 15px;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* Thank you page styles */
.thanks-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thanks-title {
    color: #28a745;
    margin-bottom: 25px;
    font-size: 28px;
}

.thanks-message {
    margin-bottom: 30px;
    line-height: 1.6;
}

.thanks-message p {
    margin-bottom: 15px;
}

.thanks-navigation {
    margin-top: 30px;
}

.home-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.home-button:hover {
    background-color: #0069d9;
    color: white;
    text-decoration: none;
}

/* Email verification notes */
.email-verification-child-notes {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
    text-align: left;
}

.email-verification-child-notes p {
    margin-bottom: 5px;
}

.email-verification-child-form small {
    display: block;
    margin-top: -10px;
    margin-bottom: 15px;
    color: #666;
    font-size: 12px;
    text-align: left;
}

.required {
    color: #000;
    font-weight: bold;
}

/* 確認画面のスタイル */
#form-summary {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.summary-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
}

.summary-section p {
    margin: 8px 0;
    line-height: 1.5;
}

/* 隠された CF7 フィールド */
.hidden-cf7-fields {
    position: absolute;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}





/* あなたの未来応援フォームのスタイル */

/* Container and Base Styles */
.multi-step-form {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    position: relative;
  }
  
  /* Progress Bar */
  .form-progress {
    margin-bottom: 40px;
  }
  
  .progress-bar {
    height: 8px;
    background-color: #f2f2f2;
    border-radius: 4px;
    position: relative;
    margin-bottom: 15px;
  }
  
  .progress-indicator {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 20%; /* Initial width - 5ステップ対応に修正 */
  }
  
  .progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
  }
  
  .progress-steps .step {
    width: 20%; /* 5ステップ対応に修正 */
    text-align: center;
    font-size: 14px;
    color: #888;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .progress-steps .step.active {
    color: #4CAF50;
    font-weight: 600;
  }
  
  .progress-steps .step::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: #f2f2f2;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin: 0 auto 8px;
    transition: all 0.3s ease;
  }
  
  .progress-steps .step.active::before {
    background: #4CAF50;
    border-color: #4CAF50;
  }
  
  /* Form Steps */
  .form-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .form-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Step Header */
  .step-header {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, transparent);
    margin: 8px auto 0;
  }
  
  /* Form Layout */
  .form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 20px;
  }
  
  .form-field {
    flex: 1;
    padding: 0 10px;
    min-width: 250px;
  }
  
  .form-field.full-width {
    flex: 0 0 100%;
  }
  
  /* Labels and Inputs */
  .form-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
  }
  
  .wpcf7-form label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
  }
  
  .wpcf7-form .wpcf7-text,
  .wpcf7-form .wpcf7-date,
  .wpcf7-form .wpcf7-tel,
  .wpcf7-form .wpcf7-email,
  .wpcf7-form .wpcf7-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 5px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f9f9f9;
  }
  
  .wpcf7-form .wpcf7-text:focus,
  .wpcf7-form .wpcf7-date:focus,
  .wpcf7-form .wpcf7-tel:focus,
  .wpcf7-form .wpcf7-email:focus,
  .wpcf7-form .wpcf7-select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    outline: none;
    background-color: #fff;
  }
  
  /* Checkboxes and Radio Buttons */
  .wpcf7-form .wpcf7-checkbox,
  .wpcf7-form .wpcf7-radio {
    display: block;
    margin-bottom: 20px;
  }
  
  .wpcf7-list-item {
    display: block;
    margin: 0 0 10px;
    position: relative;
  }
  
  .wpcf7-list-item label {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  
  .wpcf7-list-item label:hover {
    background-color: #f0f9f0;
    border-color: #c8e6c9;
  }
  
  .wpcf7-list-item input:checked ~ .wpcf7-list-item-label {
    background-color: #e8f5e9;
    border-color: #a5d6a7;
  }
  
  /* Insurance Selection Specific Styling */
  .insurance-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
  }
  
  .insurance-options .wpcf7-list-item {
    min-width: 250px;
  }
  
  .insurance-options .wpcf7-list-item label {
    padding: 20px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .insurance-options .wpcf7-list-item label:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Question Blocks */
  .question-block {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }
  
  .question-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  /* Navigation Buttons */
  .step-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
  }
  
  .nav-buttons p {
    display: flex;
    justify-content: space-between;
  }
  
  button.btn-prev,
  button.btn-next,
  button.btn-submit {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
  }
  
  button.btn-prev {
    background-color: #e0e0e0;
    color: #666;
  }
  
  button.btn-next,
  button.btn-submit {
    background-color: #4CAF50;
    color: white;
  }
  
  button.btn-prev:hover {
    background-color: #d5d5d5;
  }
  
  button.btn-next:hover,
  button.btn-submit:hover {
    background-color: #43a047;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Hide actual submit button */
  .hidden-submit {
    display: none;
  }
  
  /* JA Details */
  .ja-details,
  .ja-details-fire {
    margin-top: 15px;
    padding: 20px;
    background-color: #f0f8ff;
    border-radius: 6px;
    border: 1px dashed #b3e5fc;
  }
  
  /* Required Field Indicator */
  .required {
    color: #f44336;
    margin-left: 3px;
  }
  
  /* Error Message Styling */
  .wpcf7-not-valid-tip {
    color: #f44336;
    font-size: 0.9em;
    margin-top: 5px;
    margin-bottom: 10px;
    display: block;
  }
  
  div.wpcf7-validation-errors {
    border: none;
    background-color: #fff4e5;
    color: #e65100;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    position: relative;
    padding-left: 50px;
  }
  
  div.wpcf7-validation-errors:before {
    content: "⚠️";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
  }
  
  div.wpcf7-mail-sent-ok {
    border: none;
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    position: relative;
    padding-left: 50px;
  }
  
  div.wpcf7-mail-sent-ok:before {
    content: "✓";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .multi-step-form {
      padding: 20px 15px;
    }
    
    .form-field {
      flex: 0 0 100%;
      margin-bottom: 15px;
    }
    
    .progress-steps .step {
      font-size: 12px;
    }
    
    .section-title {
      font-size: 20px;
    }
    
    .question-block {
      padding: 15px;
    }
    
    .question-title {
      font-size: 16px;
    }
    
    .nav-buttons p {
      flex-direction: column;
      gap: 10px;
    }
    
    button.btn-prev,
    button.btn-next,
    button.btn-submit {
      width: 100%;
    }
  }
  
  
  .thanks-container {
      max-width: 800px;
      margin: 0 auto;
      padding: 40px 20px;
      font-family: sans-serif;
      line-height: 1.6;
    }
    
    .thanks-header {
      text-align: center;
      margin-bottom: 40px;
      padding-bottom: 20px;
      border-bottom: 1px solid #eee;
    }
    
    .thanks-header h1 {
      color: #4CAF50;
      margin-bottom: 10px;
      font-size: 28px;
    }
    
    .thanks-subheader {
      font-size: 18px;
      color: #666;
    }
    
    .thanks-content {
      margin-bottom: 40px;
      font-size: 16px;
    }
    
    .thanks-content p {
      margin-bottom: 15px;
    }
    
    .thanks-action {
      text-align: center;
      margin: 40px 0;
    }
    
    .home-button {
      display: inline-block;
      padding: 12px 24px;
      background-color: #4CAF50;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      font-weight: bold;
      transition: background-color 0.3s;
    }
    
    .home-button:hover {
      background-color: #45a049;
    }
    
    .thanks-contact {
      font-size: 14px;
      color: #666;
      border-top: 1px solid #eee;
      padding-top: 20px;
      text-align: center;
    }
    
    .thanks-contact p {
      margin: 5px 0;
    }
    
    @media (max-width: 600px) {
      .thanks-header h1 {
        font-size: 24px;
      }
      
      .thanks-content {
        font-size: 15px;
      }
    }
  
  /* メール認証フォームスタイル - あなたの未来応援キャンペーン & こどもの未来応援CP共通 */
  .email-confirmation-wrapper {
    background-color: #f9f9f9;
    min-height: 100vh;
    padding: 50px 20px;
    box-sizing: border-box;
  }
  
  .email-confirmation-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }
  
  .confirmation-header {
    text-align: center;
    padding: 30px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #eee;
  }
  
  .confirmation-header h1 {
    color: #4CAF50;
    margin: 0 0 10px;
    font-size: 28px;
  }
  
  .confirmation-header .subheader {
    color: #666;
    margin: 0;
    font-size: 16px;
  }
  
  .confirmation-content {
    padding: 40px 20px;
  }
  
  .confirmation-card {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }
  
  .card-icon {
    margin-bottom: 20px;
  }
  
  .confirmation-card h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
  }
  
  .confirmation-card p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
  }
  
  .form-field {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
  }
  
  .form-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f9f9f9;
  }
  
  .form-field input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    outline: none;
    background-color: #fff;
  }
  
  .form-privacy {
    margin-bottom: 20px;
    font-size: 14px;
    color: #888;
  }
  
  .form-actions {
    text-align: center;
  }
  
  button.confirmation-submit {
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  button.confirmation-submit:hover {
    background-color: #43a047;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .confirmation-message {
    padding: 30px;
    text-align: center;
  }
  
  .message-success {
    background-color: #e8f5e9;
    padding: 30px;
    border-radius: 8px;
  }
  
  .message-icon {
    margin-bottom: 20px;
  }
  
  .message-success h2 {
    color: #2e7d32;
    margin-bottom: 20px;
  }
  
  .message-success p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .email-note {
    color: #e65100;
    font-size: 14px;
  }
  
  @media (max-width: 768px) {
    .confirmation-content {
      padding: 30px 15px;
    }
    
    .confirmation-card {
      padding: 20px;
    }
    
    .confirmation-header h1 {
      font-size: 24px;
    }
  }
  
  /* こどもの未来応援CP独自のスタイル */
  .terms-agreement-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }
  
  .terms-agreement-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .agreement-checkbox {
    margin-bottom: 15px;
  }
  
  .agreement-checkbox label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  
  .agreement-checkbox label:hover {
    background-color: #f0f9f0;
    border-color: #c8e6c9;
  }
  
  .agreement-checkbox input:checked ~ label {
    background-color: #e8f5e9;
    border-color: #a5d6a7;
  }
  
  .agreement-validation {
    margin-top: 10px;
    color: #f44336;
    font-weight: 500;
  }
  
  .agreement-button {
    text-align: center;
    margin-top: 25px;
  }
  
  button#agreement-submit {
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  button#agreement-submit:hover {
    background-color: #43a047;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* 子供情報フォームスタイル */
  .children-info-section {
    margin-bottom: 30px;
  }
  
  .child-form {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #81C784;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }
  
  .child-form h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .add-child-button {
    text-align: center;
    margin: 20px 0;
  }
  
  button.btn-add-child {
    padding: 10px 20px;
    background-color: #81C784;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  button.btn-add-child:hover {
    background-color: #66BB6A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .expected-birth-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
  }
  
  /* その他入力フィールドのスタイル */
  .other-input-field {
    margin-top: 10px;
    padding: 15px;
    background-color: #f0f9f0;
    border-radius: 6px;
    border: 1px dashed #a5d6a7;
  }
  
  .other-input-field label {
    font-weight: 500;
    color: #2e7d32;
    margin-bottom: 8px;
  }
  
  /* 同意ステップのスタイル */
  .agreement-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
  }
  
  .agreement-checkboxes {
    margin-bottom: 15px;
  }
  
  .agreement-checkboxes .wpcf7-list-item {
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #4CAF50;
    padding-bottom: 5px;
  }
  
  .agreement-checkboxes .wpcf7-list-item label {
    font-weight: 500;
  }
  
  .agreement-notice {
    font-size: 14px;
    color: #e53935;
    margin-top: 10px;
    text-align: center;
  }
  
  .agreement-checkboxes .wpcf7-not-valid-tip {
    margin-top: 8px;
    margin-bottom: 8px;
    color: #e53935;
    font-size: 14px;
    text-align: center;
    display: block;
    background-color: rgba(229, 57, 53, 0.1);
    padding: 8px;
    border-radius: 4px;
  }
  /* 同意ステップのスタイル */
  .agreement-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
  }
  
  .agreement-notice {
    font-size: 14px;
    color: #e53935;
    margin-top: 10px;
    text-align: center;
  }
  
  .agreement-checkboxes {
    margin-bottom: 15px;
  }
  
  .agreement-checkboxes .wpcf7-list-item {
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #4CAF50;
    padding-bottom: 5px;
  }
  
  .agreement-checkboxes .wpcf7-not-valid-tip {
    margin-top: 8px;
    margin-bottom: 8px;
    color: #e53935;
    font-size: 14px;
    text-align: center;
    display: block;
    background-color: rgba(229, 57, 53, 0.1);
    padding: 8px;
    border-radius: 4px;
  }
  