/*
Theme Name: LP2 Original Theme
Version: 1.0
*/

.form-body ,
#calendar-frame ,
.page-id-50 ,
.page-id-37 ,
.page-id-35 {
  font-family: sans-serif !important;
}

select {
  color: #000;
}

body.page-id-85 {
  margin: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5em;
}

  .form-row label {
display: flex;
align-items: center;
}

.label-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media(min-width: 768px) {
  .form-row {
    align-items: flex-start;
  }
  .form-row label {
    font-weight: bold;
  }
  .form-row .input-field {
    flex: 1;
  }
}

.select-info {
    font-size: 12px;
    margin: 0 0 0 10px;
}

.calendar-box {
  display: none;
  margin: 1em 0;
}

.wpcf7-form {
background-color: #2594A0;
padding: 30px;
}

.form-body {
background-color: #fff;
border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.wpcf7-form::before {
content: "";
    display: block;
    width: 154px;
    height: 44px;
    background-image: url(/lp2/img/form-balloon.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: -50px auto 0;
}
.form-question {
background-color: #FFFBF5;
}

.required::after {
content: "必須";
display: inline-block;
color: #fff;
background-color: #E84063;
font-size: 10px;
font-weight: 500;
border-radius: 100px;
padding: 0px 5px;
    height: 16px;
    margin-left: 10px;
}

.any::after {
content: "任意";
display: inline-block;
color: #4AADA1;
background-color: #fff;
border: solid 1px #4AADA1;
font-size: 10px;
font-weight: 500;
border-radius: 100px;
padding: 0px 5px;
    height: 16px;
    margin-left: 10px;
}

/* .radio-any .wpcf7-list-item.first {
visibility: hidden;
width: 0;
margin: 0;
} */

.form-attention {
font-size: 12px;
color: #999;
margin: 10px 0 0 1em;
}

.question-heading ,
.form-heading {
text-align: center;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  font-size: 14px;
  color: #999;
}

span.wpcf7-not-valid-tip {
    color: #E84063;
    font-size: 14px;
    font-weight: 500;
    background-color: #FFFFC8;
    display: flex;
    border-radius: 8px;
    padding: 8px 10px;
    line-height: 1;
    box-shadow: 0 2px 4px #00000033;
    position: relative;
    align-items: center;
    width: 210px;
}

span.wpcf7-not-valid-tip::before {
content: "!";
    display: flex;
    color: #FFFFC8;
    background-color: #E84063;
    border-radius: 100px;
    height: 18px;
    width: 18px;
    text-align: center;
    font-weight: 600;
    justify-content: center;
    align-items: center;
margin-right: 5px;
}

span.wpcf7-not-valid-tip::after {
    position: absolute;
    content: "";
    top: -50%;
    left: 10px;
    border: 10px solid transparent;
    border-bottom: 10px solid #FFFFC8;
    width: 0;
    height: 0;
}

.wpcf7-not-valid {
    /* background-color: #eb6d7b45; */
    color: #EB6D7B;
    border: none;
}

input.wpcf7-not-valid::placeholder,
textarea.wpcf7-not-valid::placeholder {
  color: #EB6D7B;
  opacity: 1;
}

/* Contact Form 7 フォーム全体に限定 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  border: none;
    background-color: #F0F0F0;
    border-radius: 10px;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 18px;
    font-size: 16px;
}


/* フォーカス時（入力中） */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border: solid 1px #4AADA1;
  background-color: #f0f8ff;
  outline: none;
}

/* 入力済み（JavaScriptで .filled クラスが付与された場合） */
.wpcf7-form input.filled,
.wpcf7-form textarea.filled,
.wpcf7-form select.filled {
  background-color: #f0f8ff;
}

/* エラー時（自動付与） */
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid {
    background-color: #eb6d7b45;
    border: none;
}

/* プレースホルダー通常時 */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #999;
  opacity: 1;
}

/* エラー時プレースホルダーの色 */
.wpcf7-form input.wpcf7-not-valid::placeholder,
.wpcf7-form textarea.wpcf7-not-valid::placeholder {
  color: #EB6D7B;
}

/* ラジオボタン */
.wpcf7-form input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  vertical-align: middle;
  margin: 0 10px 0 0;
}

/* ラジオチェック時 */
.wpcf7-form input[type="radio"]:checked {
  border: solid 4px #eb6d7b;
    background-color: #fff;
    box-shadow: 0 0 0 2px #eb6d7b55;
}

/* ラジオエラー時 */
.wpcf7-form .wpcf7-not-valid input[type="radio"] {
  outline: 2px solid #eb6d7b;
}

/* チェックボックスの見た目を初期化 */
.wpcf7-form input[type="checkbox"] {
  appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    vertical-align: middle;
    position: relative;
    margin: 0 10px 0 0;
}

/* チェック状態の見た目 */
.wpcf7-form input[type="checkbox"]:checked {
    background-color: #eb6d7b;
    border-color: #ffd2d8;
    width: 20px;
    height: 20px;
}

/* チェックマーク（白の✔） */
.wpcf7-form input[type="checkbox"]:checked::after {
     content: "";
    background-image: url(/lp2/wp-content/themes/lp2-original/images/checkmark.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 14px;
    display: inline-block;
    height: 8px;
    position: absolute;
    top: 25%;
    left: 10%;
}

/* チェックボックスエラー時 */
.wpcf7-form .wpcf7-not-valid input[type="checkbox"] {
  outline: 2px solid #eb6d7b;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
  color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 20px 45px;
    border: solid 1px #ffffff66;
    border-radius: 10px;
    transition: background-color 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 10px #9E183E45;
    background: linear-gradient(-20deg, #E84063 0%, #d57a91 100%);
}

.wpcf7-form input[type="button"] {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 20px 45px;
    border: solid 1px #ffffff66;
    border-radius: 10px;
    transition: background-color 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 10px #00000033;
    background-color: #999;
}

.submit-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  gap: 8px;
}

.submit-wrap input[type="submit"] {
  padding-right: 50px; /* 矢印のスペース確保 */
}

.submit-wrap::after {
  content: "";
    background-image: url(/lp2/wp-content/themes/lp2-original/images/submit-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 15px;
    width: 24px;
    height: 15px;
    position: absolute;
    right: 16px;
    top: 35%;
    transform: translateY(-50%);
    pointer-events: none;
}

.label-name {
    font-size: 14px;
    font-weight: 600;
}

.wpcf7-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><path d='M5.25 7.5l4.5 4.5 4.5-4.5H5.25z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 22px;
}

.wpcf7-form-control-wrap {
    margin-top: 15px;
}

.title_in_form ,
.displaynone {
  display: none;
}

#paymentPanel {
    visibility: hidden;
}

.form-main {
    padding: 60px 80px;
}

.wpcf7-form-control-wrap {
    
}

.form-question {
    padding: 60px 80px;
}

.wpcf7 form .wpcf7-response-output {
    border: none;
}

.input-wrap {
    width: 100%;
}

.form-row {
    gap: 10px 0;
    margin-bottom: 2em;
}

.question-heading, .form-heading
 {
    margin-bottom: 50px;
}

.form-body {
    max-width: 1440px;
    margin: 0 auto;
}

.form-buttons {
    margin-top: 60px;
}

.confirm-heading {
    color: #fff;
    font-size: 42px;
    margin-bottom: 30px;
}

.confirm-p {
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 60px;
}

.init.wpcf7-form::before {
  content: none;
}

.button-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0 40px;
}

.init .form-buttons {
    margin-top: 20px;
}

#booking-package_inputFormPanel .name {
    display: none !important;
}

#booking-package_inputFormPanel .row {
  border: none !important;
  background-color: #F0F0F0;
    border-radius: 10px;
    margin-left: -8px !important;
    padding: 15px 18px !important;
        width: 30% !important;
}

#booking-package_inputFormPanel .return_form_button , #returnToCalendarButton {
    width: 15% !important;
    border-radius: 100px;
    border: none;
    padding: 15px;
    display: inline-block;
    font-size: 14px;
    color: #666;
    border: solid 1px #999;
    background-color: #fff;
}

#nextAndReturnPanel {
    margin-top: 0 !important;
}

#paymentPanel {
    height: 0;
}

.wpcf7-response-output:empty {
  display: none;
}

.wpcf7-response-output {
    background-color: #FFFFC8;
    color: #E84065;
    border: solid 2px #E84065 !important;
    text-align: center;
    width: 320px;
    display: flex;
    margin: -2em auto 0 !important;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    height: 72px;
    font-size: 24px;
    font-weight: 600;
}

.page-id-29 ,
.page-id-37 {
  margin: 0;
}

.name-split-wrap {
    display: flex;
    gap: 20px;
}

.hidden-field {
  visibility: hidden;
}

.page-id-85 .wpcf7-form::before {
content: none;
}

.name-split-wrap .wpcf7-form-control-wrap {
  margin-top: 0;
}
 
@media(max-width: 767px) {
  .form-main{
    padding: 25px 20px 0px;
}

.wpcf7-form {
    padding: 45px 10px;
}

.form-heading {
    margin-bottom: 20px;
    margin-top: 0;
}

.question-heading {
    margin-bottom: 40px;
}

.wpcf7-response-output {
    width: 77%;
}

.form-question {
    padding: 40px 20px 0px;
}

.form-heading img {
      width: 270px;
    height: auto;
}

.question-heading img {
  width: 164px;
    height: auto;

}

.form-buttons {
    margin-top: 35px;
    margin-bottom: 0;
}

.submit-wrap::after {
    right: 35px;
    top: 35%;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-form-control {
      display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
}

.form-attention {
    margin: 10px 0 0 0;
}

#booking-package_inputFormPanel .return_form_button, #returnToCalendarButton {
  width: 60% !important;
    margin: 0 auto;
}

#booking-package_inputFormPanel .row {
    width: 100% !important;
}

.button-wrap {
    flex-direction: column-reverse;
    gap: 0 30px;
    margin-bottom: 30px;
}

.wpcf7-form input[type="button"] {
    font-size: 20px;
    padding: 10px 45px;
}

.page-id-35 .thanks {
    margin-top: 60px;
    padding: 0 10px;
}

.name-split-wrap {
    gap: 10px;
}

.name-split-wrap .wpcf7-form-control-wrap {
  margin-top: 0;
}

.wpcf7-response-output {
    margin: -15px auto 20px !important;
}

span.wpcf7-not-valid-tip {
width: auto;
}

.name-split-wrap span.wpcf7-not-valid-tip::after {
top: -46%;
}

.name-split-wrap span.wpcf7-not-valid-tip::before {
padding: 0 4px;
}

.wpcf7-form select {
    padding: 15px 36px 15px 18px;
}

.confirm-heading {
  font-size: 32px;
  margin-bottom: 0;
}

.confirm-p {
    font-size: 16px;
    margin-bottom: 40px;
}
#form .wpcf7-form {
        padding: 25px 10px 45px;
    }

}