@charset "utf-8";

/* スマホ（〜767px） */
@media (max-width: 767px) {
  /* スマホ専用スタイル */
}

/* タブレット（768px〜1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
  /* タブレット専用スタイル */
}

/* PC（1025px〜） */
@media (min-width: 1025px) {
  /* PC専用スタイル */
}



@media (max-width: 767px) {
  .contents_bg_basic.contents_bg_white_sp { padding-top: 24px; background: #FFF; }
  footer { border-top: 1px solid #A3A3A3; }
}




/*==============================
フォーム
==============================*/
input[type="checkbox"],input[type="radio"] { cursor: pointer; }
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none; margin: 0;
}
input[type="number"] { -moz-appearance:textfield; }

/* .text-danger { color: #F75228; } */
.alert { text-align: center; margin-bottom: 12px; color: #F75228; }

.contact_form .contact_caption { margin: 20px 0; font-weight: 600; }
.contact_form dl dt { position: relative; padding: 16px; border-top: 1px solid #DADADA; font-weight: 600; }
.contact_form em { display: inline-block; height: 22px; padding: 0.5px 5px; font-size: 14px; line-height: 20px; font-weight: 700; color: #FFF; background: #F75228; border-radius: 3px; }
.contact_form dl dt em { position: absolute; top: 0; right: 10px; bottom: 0; margin: auto 0; }
.contact_form .privacy_policy_check em { margin: 0 6px; }
.contact_form dl dd { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px; flex-wrap:wrap; font-weight: 700; }
.contact_form dl dd .pass { width:100%; margin:5px 0 0 0; }
.contact_form dl dd dl dt { padding:10px 0 0 0; background:none; border-bottom:none; font-weight:700; }
.contact_form dl dd dl:first-child dt { border-top:none; }
.contact_form dl dd input, textarea { width: 100%; padding: 10px; background: #FFF; border: 2px solid #999; }
.contact_form dl dd input[type="date"] { min-height:52px; }
.contact_form dl dd select { max-width:100%; padding: 10px; background: #FFF; border: 2px solid #999; }
.contact_form .is-invalid { padding:10px; display:inline-block; border:2px solid #F75228; }
.contact_form dl dd input.input_short { width:100px; }
.contact_form dl dd input.input_datetime { color: #999; }
.contact_form dl dd input.input_datetime.active { color: #000; }
.contact_form dl dd input.input_zip { width:150px; margin-left:10px; }
.contact_form dl dd input.input_address { margin-top:5px; }
.contact_form dl dd input.input_address_town { margin-top:5px; }
.contact_form dl dd input.input_address_last { margin-top:5px; }
.contact_form dl dd input.input_mansion { margin-top:5px; }
.contact_form dl dd input.input_room { margin-top:5px; }
.contact_form dl dd input.input_birth_year { width:100px; }
.contact_form dl dd .birth_span { margin:0 3% 0 2%; }
.contact_form dl dd .birth_span:last-child { margin:0 0 0 2%; }
.contact_form dl dd div.div_column { margin-top:5px; }
.contact_form dl dd #time { width:100%; }
.contact_form dl dd input.is-invalid { border:2px solid #F75228; }
.contact_form dl dd select.select-toggle-color { color: #999; }
.contact_form dl dd select.select-toggle-color.active { color: #000; }
.contact_form dl dd .span_chiku { margin-left:5px; }
.contact_form .invalid-feedback { color:#F75228; font-weight:bold; }
.contact_form dl dd label input { width: 18px; aspect-ratio: 1 / 1; }
.contact_form dl dd .checkbox_after { padding-top: 4px; }
.contact_form dl dd .ass_type { display:none; }
.contact_form dl dd .ass_type.active { display:block; }
.contact_form dl dd .ass_type dl:first-child dt { border-top: 1px solid #DADADA;  }
.contact_form dl dd .div_birth { display:flex; justify-content:left; align-items:center; }
.contact_form .satei_dl { border-bottom: 1px solid #DADADA; }

.contact_form .privacy_policy { display: flex; flex-direction: column; gap: 12px; height: 120px; padding: 10px; margin:40px 0 20px; overflow-y: scroll; background: #FFF; border: 1px solid #DADADA; }
/* .contact_form .privacy_content_text { line-height: 1.8; } */
.contact_form .privacy_policy_check { display: block; margin: 20px 10px 0; }
.privacy_policy_check_inner { display:flex; justify-content:space-between; align-items:center; }
.privacy_policy_check_inner.is-invalid { display:flex; }

@media (min-width: 400px) {
  .contact_form dl dd input.input_zip { width:200px;}
}

@media (min-width: 768px) {
  .contact_form .privacy_policy_check { display: flex; flex-direction:column; align-items: center; justify-content: center; }
}

input[type="checkbox"] {/* width: 18px; */aspect-ratio: 1 / 1; }
.target_blank_img { margin-left: -0.1em; margin-right: 0.5em; }
/* .icon_othersite_black { width: 16px; height: 16px; margin: 0 4px -2px 0; } */
.privacy_text { width:calc(100% - 100px); }
.privacy_link { padding-bottom: 4px; border-bottom: 1px solid #222; line-height: 2em; }
.privacy_link:hover { border-bottom-color: transparent; }
.button.button_contact_send { display: block; margin: 40px auto 0; }
@media (min-width: 768px) {
  .privacy_text { width:auto; }
}

.contents_form_thanks a.button { display: block; margin: 40px auto 0px; }


select:invalid { color: #BBB; }
select option { color: #343330; }
select option:first-child { color: #BBB; }
::placeholder { color: #BBB; }
input  { text-align: left; -webkit-appearance: none; }
input::-webkit-date-and-time-value { text-align: left; }
.input_datetime {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  text-align: left;
}

@media (min-width: 768px) {
  .contact_form { padding: 80px 5%; background: #FFF; border-radius: 10px; }
  .contact_form .contact_caption { margin: 0 auto 12px; }
  .contact_form dl { display: flex; width: 100%; border-top: 1px solid #DADADA; }
  .contact_form dl:first-child { display:flex; }
  .contact_form dl:last-child { border-bottom: 1px solid #DADADA; }
  .contact_form dl dt { display: flex; align-items: center; width: 240px; padding: 24px; flex-shrink: 0; border-top: none; background: #F4F4F4; }
  .contact_form dl dt em { right: 24px; }
  .contact_form dl dd { padding: 24px; flex-grow: 1; }
  .contact_form dl dd div { width:100%; display:block; }
  .contact_form dl dd div.div_flex { display: flex; flex-wrap: wrap; align-items:center; }
  .contact_form dl dd .birth_span { margin:0 10px 0 5px; }
  .contact_form dl dd .birth_span:last-child { margin:0 0 0 5px; }
  .contact_form dl dd div.div_column { width:45%; margin:0 2.5% 0 0; display: flex; flex-direction:column; }
  .contact_form dl dd dl:first-child { border-top:none; }
  .contact_form dl dd dl:last-child { border-bottom:none; }
  .contact_form dl dd { flex-direction: initial;}
  .contact_form dl dd input.input_datetime { width:100%; }
  .contact_form dl dd.dl_in_dl { padding: 0; gap: 0; }
  .contact_form dl dd.dl_in_dl dl { flex-direction: column; gap: 12px; padding: 24px; }
  .contact_form dl dd.dl_in_dl dl dt { width:100%; padding:0; display: flex;align-items: center;}
  .contact_form dl dd.dl_in_dl dl dd { padding: 0; }
  .contact_form dl dd.dl_in_dl dl dd div.div_flex { display: flex; flex-wrap: wrap; align-items: center;}
  .contact_form dl dd.dl_in_dl dl dd div#checkBox div { width: 100%; }
  .contact_form dl.date_dl dd .input_datetime { flex-grow: 1; }
  .contact_form dl dd.address_dd div { display: flex; flex-wrap: wrap; }
  .contact_form dl dd.address_dd div#checkBox div { width: 100%; align-items: center;}
  .contact_form dl dd input.input_address { width:110px; margin-right:5px; }
  .contact_form dl dd input.input_address_town { width:210px; margin-right:5px; }
  .contact_form dl dd input.input_address_last { width:210px; flex-grow: 1; }
  .contact_form dl dd input.input_mansion { width:auto; flex-grow: 1; }
  .contact_form dl dd input.input_room { width:160px; margin-left:5px; }
  .contact_form dl dd input.input_birth_year { width:160px; }
  .contact_form dl dd .span_chiku { display: flex;align-items: center; }
  .contact_form dl dd .ass_type dl:first-child { border-top: 1px solid #DADADA; }
  .contact_form dl dd .ass_type dl:first-child dt { border-top: none }
  .contact_form .privacy_policy { height: 180px; margin: 80px 0 40px; }
  .contact_form .privacy_policy_check { margin-top: 60px; text-align: center; }
  .button.button_contact_send { margin: 80px auto 0; }
}

.radio_label { display: flex !important; align-items: center; gap: 8px;  cursor: pointer; }
.contact_form dl dd { gap: 12px 24px; }

/* @media (min-width: 768px) {
  .radio_label { min-width: calc(calc(100% - 24px)/2); }
} */

.none_contact_button_wrap { display: flex; flex-direction: column; gap: 20px; align-items: center; justify-content: center; }
.none_contact_button_wrap .button { width: 240px; margin: 0; }
.none_contact_button_wrap .button_down .button_arrow { transform: rotate(90deg); }
a.button_down:hover .button_arrow { transform: rotate(90deg); }
@media (min-width: 768px) {
  .none_contact_button_wrap { flex-direction: row; }
  .none_contact_button_wrap .button { width: 280px; }
}

h1.h1_jp { display: block; text-align: center; }
.contents_bg_contact { display: block; }
.contact_wrap_outer { position: relative; width: min(90%, 1200px); margin: 0 auto; padding-bottom: 30px; background-color: white; border-radius: 10px; }
.contact_wrap_outer .contact_wrap { width: auto; padding-bottom: 0; }
.contact_wrap_outer .contact_main_text { margin-bottom: 12px; }
.contact_wrap_outer .contact_form_arrow { margin: 0 auto; }
.contact_wrap_outer .contact_form_arrow img { width: 24px; }
.contact_wrap_outer .contact_form { width: min(90%, 1200px); margin: 0 auto; }
@media (min-width: 768px) {
  .contents_bg_contact_form { padding: 80px 0; }
  .contact_wrap_outer .contact_main_text { margin-bottom: 40px; }
  .contact_wrap_outer .contact_form { padding-top: 40px; }
}

/*==============================
サンクスページ
==============================*/
.thanks_contact_wrap{margin: 0 auto;}
.contact_input_contents{width: 90vw;padding: 40px 20px;border: 1px solid #DADADA;}
.button_normal{margin: 80px auto 120px;}
@media (min-width: 768px) {
  .thanks_contents{width: min(90%, 900px);}
  .contact_thanks_caption{text-align: center;margin-bottom: 20px;}
  .contact_input_contents {padding: 40px 5vw;width: 900px;}
}

/*インプットボタン*/

/* ベース */
@media (max-width: 767px) {.privacy_policy_check label {transform: translateY(8px);}}
.privacy_policy_check label {margin-right: 8px;}
.privacy_policy_check input[type="checkbox"] { width:28px; height:28px; /*appearance:none; -webkit-appearance:none; -moz-appearance:none; box-sizing:border-box; display:inline-block;border:1px solid #ccc; border-radius:6px; background:#fff; position:relative; vertical-align:middle; margin:0; line-height:1; outline:none;*/}
.privacy_policy_check input[type="checkbox"]:checked::after { top: 5px; left: 9px; width: 7px; height: 12px; }
/* 中央のチェック（線で描く・中央固定） */
.privacy_policy_check input[type="checkbox"]::after {content:""; position:absolute; left:50%; top:50%; width:10px; height:18px; border-right:3px solid #f00; border-bottom:3px solid #f00; transform:translate(-50%, -55%) rotate(45deg); opacity:0; pointer-events:none;}
/* チェック時：表示だけ切り替え（寸法は変えない） */
.privacy_policy_check input[type="checkbox"]:checked::after {opacity:1;}
/* 任意：フォーカス見やすく（位置は変えない） */
.privacy_policy_check input[type="checkbox"]:focus-visible {outline:2px solid #4CC764; outline-offset:2px;}
/* 推奨：ラベルと縦中央揃えで横ズレ対策 */
.privacy_policy_check label.cb {display:inline-flex; align-items:center; gap:.5em;}


#pagetop_lottie { display:none; }
