@charset "utf-8";

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  color: #444;
  font-family: "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

/* 入力項目のスタイル */
input[type="text"],
input[type="number"],
select,
textarea {
  border: 1px solid #bec1c4;
  border-radius: 0.25rem;
  font-size: 0.93rem;
  padding: 0.2rem 0.4rem;
}

input[type="number"] {
  text-align: end;
}

select {
  width: fit-content !important;
}

textarea {
  height: 5rem;
  resize: none;
  width: 100%;
}

/* <input type="number">のスピンボタンを非表示にする */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* 所在地 */
.mail_search input[type="number"]:nth-child(2) {
  width: 6rem;
}
.postal_code {
  width: 5rem;
}
.location,
.location_num {
  width: 20rem;
}

/* ヘッダーフッター部分 */
header,
footer {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  line-height: 2.2rem;
  width: 100vw;
  z-index: 999;
}

header {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 10vh;
  padding: 0.7rem 1rem 0;
  position: relative;
}

footer {
  align-items: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  height: 8.5vh;
  padding: 0.7rem 13rem;
}

.header_title {
  position: relative;
}

.header_title h1 {
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
  line-height: 2.7rem;
  margin: 0;
}

/* ヘッダー部エラーメッセージ */
.header_title .error_message {
  color: red;
  position: absolute;
  left: 50%;
  bottom: 0;
  text-align: center;
  transform: translate(-50%, 0);
  width: 30rem;
  z-index: 99999;
}

/* Wトラストロゴ */
.logo {
  cursor: pointer;
  display: flex;
}

.logo:hover {
  opacity: 0.7;
}

.logo img {
  object-fit: contain;
  width: 3rem;
}

.logo .system_name {
  font-weight: bold;
}

.name_label {
  align-items: center;
  display: flex;
  margin-left: 1rem;
}

/* ログアウトボタン */
.logout {
  margin-left: 16%;
}

.logout button {
  background-color: #d6d6d6;
  border: 2px solid transparent;
  border-radius: 0;
  color: #FFF155;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  padding: 0.2rem 0.7rem;
  transition: .2s;
}

.logout button:hover {
  background-color: transparent;
  border-color: #EBEBEB;
  color: #FFF155;
}

/* フラッシュメッセージ */
.flash_message_container {
  background-color: #0AC817;
  position: absolute;
  left: 50%;
  bottom: -3.5rem;
  transform: translateX(-50%);
  width: 17rem;
}

.flash_message_container.hidden {
  display: none;
}

.flash_message {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0.3rem 0;
}

.flash_message p {
  color: #fff;
  font-size: 1.1rem;
  width: fit-content;
}

.flash_message_gauge {
  background-color: #d3f092;
  height: 0.25rem;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

footer button {
  background-color: #90C31F;
  border: 2px solid transparent;
  border-radius: 0;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  padding: 0.5rem 0;
  transition: .2s;
  width: 7rem;
}

footer button:hover {
  background-color: transparent;
  border-color: #90C31F;
}

table {
  text-align: left;
}

li {
  list-style: none;
}

img {
  border: 0;
  object-fit: contain;
  width: 100%;
}

iframe {
  aspect-ratio: 16 / 9;
}

h1 {
  margin: 0;
}

a,
button {
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

a {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  text-decoration: none;
}

button {
  background-color: transparent;
  border: none;
}

.title {
  background-color: #90C31F;
  font-weight: bold;
  margin: 2rem 0 2rem;
  padding: 0.5rem 0 0.5rem 3rem;
}

.sale {
  display: flex;
  justify-content: flex-start;

}

.sale>span {
  flex: 1;
  max-width: 50%;
}

/* メインコンテナ */
.container {
  height: 81.5vh;
  overflow: scroll;
  overflow-x: hidden;
  width: 100%;
}

/* グーグルマップ */
.access_title {
  display: flex;
  gap: 3rem;
}

.access_title h1 {
  font-size: 1.2rem;
}

.access_title p {
  line-height: 1.4rem;
}

.map_container {
  margin: 1rem 12rem 3rem 0;
}

/* 成約済み画像 */
.position {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.none_position {
  display: none;
}

/* ダイアログ */
.dialog_bg,
.dialog_bg02 {
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 2;
}

.closing_confirm,
.closing_confirm02 {
  background-color: #fff;
  border-radius: 30px;
  color: #0AC817;
  height: 40vh;
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
  z-index: 3;
}

.confirm_alert,
.confirm_alert02,
.closing_confirm_btn,
.closing_confirm_btn02,
.cancel_btn,
.cancel_btn02,
.ok_btn,
.ok_btn02,
.btn_container {
  align-items: center;
  display: flex;
  justify-content: center;
}

.confirm_alert,
.confirm_alert02 {
  font-size: 2rem;
  height: 80%;
}

.closing_confirm_btn,
.closing_confirm_btn02 {
  border-top: 1px solid #eeeeee;
  height: 20%;
}

.closing_confirm_btn button,
.closing_confirm_btn02 button {
  background-color: transparent;
  border: none;
  color: #0AC817;
  font-size: 1.5rem;
  font-weight: 500;
  height: 100%;
  width: 100%;
}

.cancel_btn,
.ok_btn,
.cancel_btn02,
.ok_btn02 {
  height: 100%;
  transition: 0.2s;
  width: 50%;
}

.cancel_btn:hover,
.ok_btn:hover,
.cancel_btn02:hover,
.ok_btn02:hover {
  background-color: #F9F9F9;
}

.ok_btn,
.ok_btn02 {
  border-left: 1px solid #eeeeee;
}

/* 入力項目バリエーションエラーメッセージ */
.common_error_message {
  color: red;
  padding-top: 0.3rem;
  width: 100%;
}

input.input_error,
select.input_error {
  border-color: red;
}