@charset "UTF-8";

header {
  background: #FFFFFF;
  margin-bottom: 10px;
}

footer {
  background: #ecedf1;
  text-align: center;
  padding: 30px 0 0;
}

header .inner,
footer .inner {
	max-width: 900px;
  margin: 0 auto;
	align-items: center;
}

header .inner {
	display: flex;
  flex-flow: row nowrap;
	justify-content: space-between;
}

#wrapper > section > div > div {
  max-width: 900px;
  margin: auto;
}

#wrapper > section {
  margin-bottom: 40px;
}
figure img {
  width: 100%;
}

figure figcaption {
  display: none;
}

/* header */
header .inner {
  padding: 10px;
}
header .inner > figure:first-child {
  max-width: 180px;
}
header .inner > a:last-child {
  width: 50%;
  text-align: right;
}
header .inner > a:last-child figure {
  width: 70%;
  display: inline-block;
}

/* footer */
footer .inner > div {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: flex-start; */
}
footer .inner a {
	display: block;
	width: calc(100% / 3 - 20px);
	text-decoration: underline;
  color:#000;
  margin-bottom: 30px;
}

footer .inner a:hover,
footer .inner a:active {
  text-decoration: none;
}

footer .inner div:nth-child(2) a:nth-child(1) {
  width: 45%;
  margin-right: 5%;
}
footer .inner div:nth-child(2) a:nth-child(2) {
width: 45%;
  text-align: center;
}

footer .footer-logo img {
  width: 100%;
}

/* key visual */
section#visual > div > div figure {
  margin-bottom: 40px;
}

section#visual > div > div figure:nth-child(2) {
  margin-bottom: 0;
}

/* point */
section#point {
  margin-bottom: 20px;
}

section#point > div > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

section#point > div > div figure {
  width: calc( 50% - 10px );
  margin-bottom: 20px;
}

section#point > div > div figure:nth-child(4) {
  align-self: center;
}

/* equipment */
section#equipment > div > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

section#equipment > div > div figure {
  margin-bottom: 30px;
}

/* entry */
section#entry > div > div figure {
  margin-bottom: 40px;
}

/* link */
.link-area > div > div {
  background: #ecedf1;
  text-align: center;
  padding: 2em;
  margin: 2em 0;
}

.link-area a {
  display: inline-block;
  color: #FFF;
  background: #8fc31f;
  padding: 0.6em 2em;
  text-decoration: none;
  font-size: 1.4em;
}

.btns-entry a {
  display: inline-block;
  text-decoration: none;
  color: #FFF;
  background: #8fc31f;
  padding: 0.4em 2em;
  line-height: 1.4em;
  text-align: center;
}
.btns-entry a:hover,
.btns-entry a:active {
  background: #5e8607;
}

.link-area .btns-entry a {
  width: 16em;
}

/* tel */

/* confirmationForm */
#wrapper > section.confirmationForm {
  margin-bottom: 4em;
}

.confirmationForm strong {
  color: #B22222;
}

.confirmationForm div,
.confirmationForm p {
  line-height: 1.4em;
}

.confirmationForm h1 {
  padding: 10px;
  background-color: #125c23;
  color: white;
}

.confirmationForm h1 + div {
  text-align: center;
  margin: 2em;
}

.confirmationForm h2 {
  font-size: 1.2em;
  margin: 0.5em 0;
}

#confirmationForm-Step2 h1:first-child {
  margin-bottom: 2em;
}

#confirmationChecklist {
  margin-bottom: 3em;
}

#confirmationChecklist > div {
  display: flex;
  width: 100%;
  margin: 1em 0;
}

#confirmationChecklist > div:before {
  display: inline-block;
  content: '[必須]';
  color: red;
  font-weight: bold;
  width: 4em;
  margin: 10px;
}

#confirmationChecklist > div > div {
  width: calc(100% - 4em - 20px);
  border: 1px solid #666;
  border-radius: 5px;
  margin-right: 10px;
  padding: 10px;
}

#confirmationPaymentMethod {
  width: calc(100% - 4em - 20px);
  margin-left: calc(4em + 10px);
}

#confirmationPaymentMethod p {
  margin: 1em 0;
}

#confirmationPaymentMethod table th,
#confirmationPaymentMethod table td {
  padding: 8px;
  border: 1px solid #ccc;
  font-weight: normal;
  text-align: left;
  min-width: 20em;
}
#confirmationPaymentMethod table th {
  background-color: rgb(241, 241, 241);
}
#confirmationPaymentMethod table {
  border: 1px solid #ccc;
}

.confirmationForm hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid #ccc;
}

#confirmationDescription {
  margin: 0 1em 2em;
  text-align: center;
}

#confirmationDescription p {
  margin: 1em 0;
}

#confirmationEntryButtons {
  display: flex;
  justify-content: space-evenly;
}

#confirmationAllowButtons {
  text-align: center;
  margin: 1em 0 1em;
}

#confirmationAllowButtons a,
#confirmationEntryButtons a {
  display: inline-block;
  width: 20em;
  text-decoration: none;
  color: #FFF;
  background: #ccc;
  padding: 1em 2em;
  line-height: 1.4em;
  text-align: center;
}
#confirmationAllowButtons a.active,
#confirmationEntryButtons a.active {
  background: #8fc31f;
}

#confirmationAllowButtons a.active:hover,
#confirmationAllowButtons a.active:active,
#confirmationEntryButtons a.active:hover,
#confirmationEntryButtons a.active:active {
  background: #5e8607;
}

#confirmationChecklist label {
  display: flex;
}

#confirmationChecklist label > span {
  display: inline-block;
  margin-left: 10px;
  width: calc(100% - 1.25em - 10px);
}

#confirmationGoBackButtons {
  margin: 3em 0 1em;
  text-align: right;
}

/* Base for label styling */
#confirmationChecklist [type="checkbox"]:not(:checked),
#confirmationChecklist [type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
#confirmationChecklist [type="checkbox"]:not(:checked) + label,
#confirmationChecklist [type="checkbox"]:checked + label {
  position: relative;
  /* padding-left: 1.95em; */
  cursor: pointer;
}

/* checkbox aspect */
#confirmationChecklist [type="checkbox"]:not(:checked) + label:before,
#confirmationChecklist [type="checkbox"]:checked + label:before {
  content: '';
  display: inline-block;
  /* position: absolute;
  left: 0; top: 0; */
  width: 1.25em; height: 1.25em;
  border: 2px solid #ccc;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}
/* checked mark aspect */
#confirmationChecklist [type="checkbox"]:not(:checked) + label:after,
#confirmationChecklist [type="checkbox"]:checked + label:after {
  content: '\2713\0020';
  display: inline-block;
  position: absolute;
  top: .15em; left: .22em;
  font-size: 1.3em;
  line-height: 0.8;
  color: #09ad7e;
  transition: all .2s;
  font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', Arial;
}
/* checked mark aspect changes */
#confirmationChecklist [type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
#confirmationChecklist [type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}
/* disabled checkbox */
#confirmationChecklist [type="checkbox"]:disabled:not(:checked) + label:before,
#confirmationChecklist [type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}
#confirmationChecklist [type="checkbox"]:disabled:checked + label:after {
  color: #999;
}
#confirmationChecklist [type="checkbox"]:disabled + label {
  color: #aaa;
}
/* accessibility */
#confirmationChecklist [type="checkbox"]:checked:focus + label:before,
#confirmationChecklist [type="checkbox"]:not(:checked):focus + label:before {
  border: 2px dotted blue;
}

/* hover style just for information */
#confirmationChecklist label:hover:before {
  border: 2px solid #4778d9!important;
}

/* confirmationCustomerInformation */

/* input-set */
.input-set{
  display: -webkit-flex; display: -ms-flexbox; display: flex;
  -ms-flex-flow:row nowrap; flex-flow:row nowrap;
  -webkit-justify-content: flex-start;-ms-flex-pack: start;justify-content: flex-start;
  margin-top:2.5em;
  margin-bottom:2.5em;
}

.input-set > div:nth-child(1){width:40%;}
.input-set > div:nth-child(2){width:60%;}
.input-set > div:nth-child(2) > p{line-height:1.5em;}
/* .input-set > div:nth-child(3){width:15%;}
.input-set > div:nth-child(3) > p{margin-top:0.8em;padding-left:1em;} */

/* .input-set > div:nth-child(1) label{margin-top: 0.5em;display: block;} */
.input-set > div p{font-size:14px;text-align:justify;}
.input-set > div a{display:inline-block;line-height:2.3em;color:#0f345b;letter-spacing: 0.08em;}
.input-set > div a:hover{opacity:1.0;text-decoration: underline;}

.input-set.input-type01{align-items:center;}
.input-set.input-type01 > div:nth-child(1){width:30%;}
.input-set.input-type01 > div:nth-child(1) .right{padding-right:0;margin-top:0;}
.input-set.input-type01 > div:nth-child(2){width:10%;white-space:nowrap;text-align:right;padding-right:8px;}
.input-set.input-type01 > div:nth-child(3){width:25%;}
.input-set.input-type01 > div:nth-child(4){width:10%;white-space:nowrap;text-align:right;padding-right:8px;}
.input-set.input-type01 > div:nth-child(5){width:25%;}

.input-set.input-type02{align-items:center;}
.input-set.input-type02 > div:nth-child(1){width:16%;}
.input-set.input-type02 > div:nth-child(1) .right{padding-right:0;margin-top:0;}
.input-set.input-type02 > div:nth-child(2){width:6%;white-space:nowrap;text-align:right;padding-right:8px;}
.input-set.input-type02 > div:nth-child(3){width:56%;}
.input-set.input-type02 .item{display:flex;align-items:center;}
.input-set.input-type02 .item span{padding:0 10px;}

.input-set.input-type03 > div:nth-child(1){width:16%;}
.input-set.input-type03 > div:nth-child(2){width:40%;}
.input-set.input-type03 > div:nth-child(3){width:15%;}

.input-set.input-type04 > div:nth-child(2){margin-top:10px;}

label.right{display:block;text-align:right;padding-right:1em;}
label#label01 span{display:inline-block;text-align:left;}
label#label02 span{display:inline-block;text-align:left;}

@media(max-width:999px){
.input-set > div:nth-child(1){width:25%;}
.input-set > div:nth-child(2){width:60%;}
.input-set > div:nth-child(3){width:15%;}
.input-set > div:nth-child(3) > p{margin-top:0.8em;padding-left:1em;}
}
@media(max-width:640px){
.input-set{-ms-flex-flow:column nowrap; flex-flow:column nowrap;margin:0;}
.input-set > div{width:100% !important;}
.input-set > div:nth-child(1){padding-bottom:0.3em;}
.input-set > div:nth-child(1) label{margin-top:1em;}
.input-set > div a{font-size:4vmin;text-decoration:underline;}
.input-set > div div.attention-text a{font-size: 0.8em;}
.input-set > div:nth-child(2) > p{font-size:12px;}
.input-set > div:nth-child(3) > p{display:none;}
label.right{text-align:left;}

.input-set.input-type01 > div:nth-child(1) .right{margin-top:1em;}
.input-set.input-type02 > div:nth-child(1) .right{margin-top:1em;}
.input-set.input-type03 > div:nth-child(1) .right{margin-top:1em;}

.input-set.input-type01 > div:nth-child(2){text-align:left;margin:0.2em 0;font-size:14px;}
.input-set.input-type01 > div:nth-child(4){text-align:left;margin:0.2em 0;font-size:14px;}
.input-set.input-type02 > div:nth-child(2){text-align:left;margin:0.2em 0;font-size:14px;}
}
.input-set .address-group {
  display: flex;
  flex-direction: column;
  gap: 1em;
  .zip {
    display: flex;
    gap: 1em;
    button {
      flex: none;
      background: #8fc31f;
      color: white;
      border: none;
      padding: 0.5em 1em;
      border-radius: 0.2em;
      cursor: pointer;
      font-size: 14px;
    }
  }
}
input:placeholder-shown {
  color: #ccc;
}
input, select {
  color: #4d4d4d;
  border: 1px solid #b3b3b3;
  border-radius: 0.1em;
  display: block;
  padding: 0.5em;
  width: 100%;
  font-size: 16px;
  background: #FFF;
}
.input-set > div:nth-child(1) .required:before {
  display: inline-block;
  content: '[必須]';
  color: red;
  font-weight: bold;
  width: 4em;
  margin: 10px;
}

label input[type=radio] {
  width: 1.5em;
  text-align: left;
  display: inline-block;
  margin: 0;
  padding: 0;
}
label input[type=radio] {
  width: 1.5em;
  text-align: left;
  display: inline-block;
  margin: 0;
  padding: 0;
}
.input-set.input-type04 label {
  line-height: 1.5em;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.5em;
  cursor: pointer;
}

.separate { border-top: 1px solid #ccc;}

/* -------------------------------------------------------------------------------- */
/* #service-info */
/* -------------------------------------------------------------------------------- */
#service-info{margin-top:1em;background:#f2f2f2;padding:30px;}
#service-info h4{font-weight:bold;margin-bottom:25px;font-size:15px;}
#service-info .lead{font-size:13px;margin-bottom:15px;}
#service-info .note{font-size:13px;margin-top:15px;}
#service-info .tab-link{border-right:1px solid #ccc;border-top:1px solid #ccc;display:flex;width:100%;}
#service-info .tab-link > li{border-left:1px solid #ccc;list-style-type:none;text-align:center;flex-grow:1;font-size:13px;padding:12px 10px;cursor:pointer;display:flex;align-items:center;justify-content:center;}
#service-info .tab-link > li.active{background:#fff;}
#service-info .tab-contents{border:1px solid #ccc;background:#fff;padding:10px 30px;}
#service-info .tab-contents .box{display:none;}
#service-info .tab-contents .box#service01{display:block;}
#service-info .input-set > div:nth-child(1){width:30%;}
#service-info .input-set > div:nth-child(2){width:70%;}

#service-info .tab-contents .box ul li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
#service-info .tab-contents .box ul li:first-child {
  margin-top: 1rem;
}
#service-info .tab-contents .box ul li label {
  cursor: pointer;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}
#service-info .tab-contents .box ul li label:hover {
  opacity: 0.7;
}
#service-info .tab-contents .box ul li input {
  flex: 0 0 auto;
  width: auto;
  margin-right: 0.5rem;
}

@media(max-width:640px){
  #service-info{padding:20px;}
  #service-info h4{margin-bottom:15px;}
  #service-info .tab-link{flex-wrap:wrap;}
  #service-info .tab-link > li{width:50%;font-size:12px;padding:15px 5px;border-bottom:1px solid #ccc;}
  #service-info .tab-contents{border-top:0;padding:20px;}
}

/* for jQuery */
.is-hide {
  display: none;
}

/* common */
.imgtxt {
  margin-top: 1em;
  color: #036;
  font-size: 0.7em;
  line-height: 2em;
  b{
    margin-top: 2em;
  }
  ul {
    margin-left: 1em;
  }
}
.imgtxtm {
  margin-top: 1em;
  margin-bottom: 2em;
  color: #036;
  font-size: 1.1em;
  line-height: 1.5em;
}
.contract_note {
  white-space: pre-line;
  color: red;
}
.center {
  text-align: center;
}
.attention-text {
  margin-top: 0.5em;
  font-size: 0.8em;
  color: #666;
}

/* validate */
input:invalid {
  border-color: red;
}
input[type=radio]:invalid + span {
  color: red;
}

.howto {
  background:#f5f5f5;
  padding: 0.5em 2em 2em;
  margin-bottom: 1em;
}

.howto-image {
  width: 100%;
  margin: 0.5em 0 0;
  object-fit: contain;
}

.remarks {
  resize: none;
  width: 100%;
  min-height: 100px;
}

.inline-input-set {
  display: flex;
  width: 100%;
  margin-top: 10px;
  .inline-label{
    flex: none;
    margin-right: 20px;
    font-weight: bold;
  }
}
.inline-input-set:not(:last-child) {
  margin-bottom: 2rem;
}

.contact-time {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  label {
    display: flex;
    align-items: center;
    min-width: 200px;
    justify-content: flex-end;
    input {
      margin-right: 0.5em;
      width: min-content;
    }
  }
}

.radios {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  label {
    display: inline-flex;
    align-items: center;
    > span {
      width: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
    }
  }
}
.ventilation-unit {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-items: flex-end;
  gap: 10px;
  > span {
    font-size: 0.8em;
  }
  > input {
    width: 150px;
  }
}

.remove-vent {
  padding: 5px 10px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
#add-vent {
  margin-top: 10px;
  margin-left: auto;
  padding: 8px 15px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.hint {
  color: #666;
  font-size: 0.9em;
  margin-top: 5px;
}

.upload-section {
  width: 60%;
  padding: 20px;
  background: #f5f5f5;
}

.upload-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.file-size-notice {
  margin: 10px 0;
  color: #666;
  font-size: 14px;
}

.preview-container {
  margin-top: 20px;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.thumbnail-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnail-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}

body.thanks {
  display: flex;
  flex-direction: column;
  height: 100%;

  #wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    margin-top: 20px;

    section {
      border: 1px solid #ccc;
      padding: 40px;
      border-radius: 10px;
      margin: 0 16px;

      .thanksTitle {
        text-align: center;
        font-weight: bold;
        font-size: 1.6em;
        margin-bottom: 20px;
      }
      .thanksText {
        line-height: 1.4em;
        text-align: center;
        font-size: 1.4em;
        word-break: break-all;
        white-space: pre-line;
      }
    }
  }
}
