/* ▼フォーム全体のスタイル */
.booking-form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

/* ▼各フィールドのラベル */
.booking-form p {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
  font-weight: bold;
  color: #6b5e51; /* ラベルの色 */
}

/* ▼テキスト、メール、電話、日付、セレクト、テキストエリアの統一デザイン */
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #d3c7b8;
  border-radius: 6px;
  box-sizing: border-box;
  background: #fff;
  margin-top: 6px;
  transition: border-color 0.2s ease;
}

.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
  outline: none;
  border-color: #c0a978;
  box-shadow: 0 0 0 2px rgba(192, 169, 120, 0.2);
}

/* ▼チェックボックス（性別選択） */
.booking-form .checkbox-1 input[type="checkbox"] {
  display: none; /* デフォルトチェックボックスを非表示 */
}

.booking-form .checkbox-1 label {
    display: inline-block;
    padding: 6px 6px 6px 0;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    transition: background 0.1s, border-color 0.1s;
}

.booking-form .checkbox-1 input[type="checkbox"]:checked + label {
  background: #c0a978;
  border-color: #c0a978;
  color: #fff;
}

/* ▼送信ボタン */
.booking-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 12px;
  background: #c0a978;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.booking-form input[type="submit"]:hover {
  background: #a88e63;
}


.wpcf7-checkbox label:has(input[type="checkbox"]:checked) {
    background-color: #c0a978;
    color: white;
    border-color: #c0a978;
}

/* ラベルの初期状態 */
.wpcf7-checkbox .wpcf7-list-item-label {
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 6px;
    margin-right: 4px;
}

/* ラベル全体をボタンのように見せるためのスタイル */
.wpcf7-list-item-label {
  display: inline-block;
  padding: 8px 15px; /* ボタンのサイズを調整 */
  border: 1px solid #d3c7b8;
  border-radius: 5px; /* 角を丸くする */
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ラジオボタンがチェックされたときのラベルのスタイル */
.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
  background-color: #eee7de; /* 選択時の背景色を薄い緑に変更 */
}


.wpcf7-list-item input[type="radio"] {
  /* デフォルトのラジオボタンを完全に隠す */
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.wpcf7-not-valid-tip{
    color: red;
}

.screen-reader-response,.wpcf7-response-output{
  display: none;
}


/* Basic styling for the container */
.thanks-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}
/* Header section with the checkmark */
.thanks-header {
    text-align: center;
    margin-bottom: 20px;
}
.checkmark-circle {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #28a745; /* Green color */
    color: white;
    font-size: 40px;
    line-height: 60px;
    margin-bottom: 15px;
}
.checkmark-icon {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
/* This is a simple SVG checkmark, you can replace it with an image if you prefer */
.checkmark-icon::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.thanks-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #555;
    margin: 0 0 10px;
}
/* Main text content */
.thanks-content {
    text-align: center;
    line-height: 1.6;
}
.thanks-content p {
    margin: 0;
}
/* Appointment details section */
.appointment-details {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: left;
}
.detail-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.detail-item strong {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
}
.detail-item span {
    display: block;
    font-size: 16px;
    color: #333;
}
.detail-item .red-text {
    color: #dc3545; /* Red color for caution text */
    font-size: 14px;
    margin-top: 5px;
}
/* LINE button section */
.line-section {
    text-align: center;
    padding: 20px 20px 0 20px;
}

.line-section p {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    margin: 0 0 15px;
}
.line-button {
    display: inline-block;
    background-color: #00c300; /* LINE green color */
    color: white;
    padding: 12px 24px;
    margin: 5px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}
.line-button:hover {
    background-color: #00a800; /* Darker green on hover */
}
.contact-info {
    text-align: center;
}

