pre {
  text-align: left;
}

html {
  scroll-behavior: smooth; /* memo:JSが効かなくなった場合は削除する */
}
#complete div#wrapper div#container {
  padding-bottom: 50px;
}

/* ---------- 基本情報入力 ---------- */
div#wrapper div#container form#mailformpro dl.mfp_rows dd {
  padding: 5px 12px 15px;
}

/* ---------- 注意事項 ---------- */
dl.caution_list {
  display: flex;
  border: 1px solid #eee;
  border-radius: 3px;
}
#confirm dl.caution_list {
  pointer-events: none;
}
div#wrapper div#container form#mailformpro dl.caution_list dt {
  border: none;
}
div#wrapper div#container form#mailformpro dl.caution_list dd {
  padding: 5px 10px 10px 5px;
}

/* ---------- 記入例、居室チェック ---------- */
.entry_check {
  margin: 2em 0;
  border-top: 1px solid #ccc;
}
dl.entry {
  display: flex;
  margin: 0;
}
div#wrapper div#container form#mailformpro dl.entry dt,
div#wrapper div#container form#mailformpro .all dl.entry dt {
  padding: 10px;
  width: 5.5em;
  border: none;
}
/* div#wrapper div#container form#mailformpro dl.entry:not(.entry:first-of-type) dt {
  background: #f8f8f8;
} */
div#wrapper div#container form#mailformpro dl.entry dt.defect {
  padding-top: 15px;
}
div#wrapper div#container form#mailformpro dl.entry dd {
  line-height: 1em;
  width: 100%;
}
#confirm div#wrapper div#container form#mailformpro dl.entry dt,
#confirm div#wrapper div#container form#mailformpro dl.entry dd {
  line-height: 1.5em;
  height: 40px;
}
form#mailformpro #detail div .entry dd label {
  padding-right: 5px;
}
form#mailformpro #detail div .entry dd .must {
  margin-bottom: 3px;
}
#detail div .entry dd p:first-of-type {
  margin-bottom: 5px;
}
dl.entry span {
  margin-left: 3px;
  vertical-align: middle;
}

/* ---------- 共通 ---------- */
form#mailformpro label {
  white-space: normal;
  cursor: pointer;
}

dl {
  border-bottom: 1px solid #ccc;
}

h2 {
  margin: 2em 0 1em;
  font-size: 1.4em;
}
h3 {
  margin: 2em 0 1.1em;
  font-size: 1em;
}
h4 {
  margin: 2em 0;
  font-size: 0.9em;
}
p {
  margin: 0 0 1em 0;
  font-size: 14px;
}
em {
  font-weight: bold;
  font-style: normal;
}
textarea {
  width: 100%;
}

/* input[type="file"] のスタイル（inputへの指定はできないので疑似要素で対応する） */
::file-selector-button,
::-webkit-file-upload-button {
  height: 30px;
  border-radius: 5px;
  margin-bottom: 1em;
  padding: 5px 10px;
  border: solid 1px #CCC;
  background: gradient(linear, center top, center bottom, from(#EEE), to(#CCC));
  background: -webkit-gradient(linear, center top, center bottom, from(#EEE), to(#CCC));
  text-shadow: 0px 2px 0px #FFF;
  font-size: 14px;
  color: #000;
}

/* ---------- テキスト制御 ---------- */
.center {
  text-align: center;
}
.font_small {
  font-size: 80%;
  line-height: 1.4rem;
}

/* 表示/非表示の制御 */
.display_pc {
  display: none;
}
.display_sp {
  display: block;
}

/* ---------- 写真アップロード ---------- */
#photo h3 + p {
  font-size: 80%;
  margin-bottom: 3em;
}
.drop_zone {
  margin: 1em 0 0;
  width: 300px;
  height: 100px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  text-align: center;
  color: #aaa;
  transition: background-color 0.3s ease;
}
.drop_zone.dragover {
  background-color: #f0f0f0;
}
.drop_zone p {
  margin: 0;
}
#fileList {
  margin: -0.5em;
  font-size: 80%;
}

/* ---------- 送信ボタン ---------- */
div.mfp_buttons {
  padding-top: 3em;
}

/* ---------- ポップアップ ---------- */
/* ポップアップ表示ボタン */
.drawer_hidden {
  display: none;
}
.drawer_open {
  display: flex;
  height: 35px;
  width: 150px;
  justify-content: center;
  align-items: center;
  z-index: 100;
  cursor: pointer;
  /* transition: 0.3s; */
}
.drawer_open:after {
  content: '記入例を見る';
  color: #000;
  position: relative;
  top: 15%;
  left: 23%;
  font-size: 13px;
  text-shadow: 0px 2px 0px #FFF;
  z-index: 110;
}
.drawer_open span {
  content: '';
  display: block;
  height: 35px;
  width: 150px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background: gradient(linear, center top, center bottom, from(#EEE), to(#CCC));
  background: -webkit-gradient(linear, center top, center bottom, from(#EEE), to(#CCC));
  transition: 0.3s;
  position: absolute;
}
/* 表示ボタンのアイコンクリック時 */
#drawer_input:checked ~ .drawer_open {
  height: 40px;
  width: 40px;
  position: fixed;
  top: 3px;
  left: 87%;
  /* background: #eee; */
  /* border-radius: 5px;
  border: 1px solid #ccc;
  background: -webkit-gradient(linear, center top, center bottom, from(#EEE), to(#CCC)); */
}
#drawer_input:checked ~ .drawer_open:after {
  content: '記入例';
  font-size: 20px;
  position: fixed;
  top: 12px;
  left: 42%;
}
#drawer_input:checked ~ .drawer_open span { /*消す*/
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0);
  border: none;
}
#drawer_input:checked ~ .drawer_open span::before {
  content: '';
  display: block;
  height: 2px;
  width: 40px;
  border-radius: 3px;
  background: #000;
  transition: 0.3s;
  position: absolute;
  bottom: 20px;
  transform: rotate(45deg);
}
#drawer_input:checked ~ .drawer_open span::after {
  content: '';
  display: block;
  height: 2px;
  width: 40px;
  border-radius: 3px;
  background: #000;
  transition: 0.3s;
  position: absolute;
  top: 18px;
  transform: rotate(-45deg);
}
/* 記入例部分 */
#wrap_ex {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  /* left: 100%; */
  /* z-index: 99; */
  z-index: -10;
  opacity: 0;
  transition: 0.3s;
}
.ex {
  width: 90%;
  padding: 1em;
  margin: 10% auto 0;
  pointer-events: none;
  opacity: 0.5;
  /* border: 1px solid #ddd; */
  border-radius: 6px;
}
#wrap_ex.entry_check {
  margin: 0;
  border-top: none;
}
#wrap_ex .ex div:last-of-type dl:last-of-type {
  border: none;
}
.ex_bg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  /* left: 100%;
  z-index: 98; */
  z-index: -15;
  background: #fff;
  opacity: 0;
  transition: 0.3s;
}
/* 記入例部分のアイコンクリック時 */
#drawer_input:checked ~ #wrap_ex {
  /* left: 0; */
  /* top: -65px; */
  z-index: 99;
  opacity: 1;
}
#drawer_input:checked ~ .ex_bg {
  /* left: 0; */
  z-index: 98;
  opacity: 1;
}
/* ---------- /ポップアップ ---------- */

/* ---------- ページトップ ---------- */
.gototop {
  width: 40px;
  height: 40px;
  display: block;
  background: #f2e5d2;
  border-radius: 50%;
  /* border: 1px solid #fff; */
  position: fixed;
  bottom: 70px;
  right: 10px;
  z-index: 99;
  transition: .5s;
  opacity: 0;
}
.gototop a {
  width: 40px;
  height: 40px;
  display: block;
  position: relative;
  left: 34.5%;
  top: 40%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #412a1c;
  border-right: 2px solid #412a1c;
  border-radius: 2px;
  transform: rotate(-45deg);
}
/* ---------- /ページトップ ---------- */




/* ======================================== *
 * for PC --base size 800px
/* ======================================== */
@media screen and (min-width: 800px) {

/* ---------- 基本情報入力 ---------- */
/* 確認画面 */
#confirm .mfp_rows dt {
  font-weight: bold;
}

.mfp_rows input[type="text"], .mfp_rows input[type="email"], .mfp_rows input[type="tel"], .mfp_rows input[type="number"], .mfp_rows input[type="date"], .mfp_rows input[type="file"], .mfp_rows select, .mfp_rows button, form#mailformpro .mfp_rows label {
  width: 70%;
  min-width: 70%;
}

/* ---------- 記入例、居室チェック ---------- */
.ex {
  margin: 30px auto 0;
}
div#wrapper div#container form#mailformpro dl.entry dd {
  width: auto;
}
div#wrapper div#container form#mailformpro .all dl dd {
  border-left: 1px solid #ccc;
}
/* 詳細 */
#detail {
  display: flex;
  flex-wrap: wrap;
}
#detail div:nth-of-type(2) dt,
#detail div:nth-of-type(4) dt,
#detail div:nth-of-type(6) dt,
#detail div:nth-of-type(8) dt,
#detail div:nth-of-type(10) dt {
  display: none;
}
div#wrapper div#container form#mailformpro .entry_check dl.entry dd {
  width: 301px;
  border-left: 1px solid #ccc;
}
div#wrapper div#container form#mailformpro dl.entry dd.js-check,
#confirm div#wrapper div#container form#mailformpro dl.entry dd.js-check {
  height: 180px;

}

/* ---------- ポップアップ ---------- */
.ex {
  width: 60%;
}
#drawer_input:checked ~ .drawer_open:after {
  left: 47%;
}

/* ---------- ページトップ ---------- */
.gototop {
  width: 50px;
  height: 50px;
  bottom: 20px;
  right: 20px;
}
.gototop a {
  width: 50px;
  height: 50px;
  width: 15px;
  height: 15px;
}
.gototop:hover {
  background: #f5d4a4;
  cursor: pointer;
}
/* ---------- /ページトップ ---------- */




}