@charset "UTF-8";

body {
  background-color: #fff;
  font-family: 'Noto Sans JP',sans-serif!important;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #000;
}

a {
  background-color: transparent;
}
img {
  border-style: none;
  vertical-align: bottom;
  max-width: 100%;
}
table {
  margin-bottom: 0;
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
table tr:nth-of-type(2n+1),
table th,
table td {
  background-color: transparent;
  border: none;
}
table:not(.has-border-color) :where(th,td) {
  border: none;
}

#lp-relocation {
  background-color: #fff;
  font-family: 'Noto Sans JP',sans-serif!important;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #000;
	position: relative;

	& .move-to-form-fixed {
		position: fixed;
	  top: 10px;
	  right: 10px;
	  z-index: 10;
    @media screen and (max-width: 768px) {
      display: none;
    }

	  & img {
	  	height: 264px;
	  	max-height: 90vh;
      @media screen and (max-width: 960px) {
        height: 211px;
        @media screen and (max-width: 768px) {
          height: 0;
        }
      }
	  }
	}

  & header {
  	position: relative;
    background-image: url(header_bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right top;
    color: #000;
    width: 100%;
    aspect-ratio: 1 / 0.486;
    max-height: 800px;
    @media screen and (max-width: 1440px) {
    	height: 700px;
    	background-position: center top;
	    @media screen and (max-width: 960px) {
	    	background-image: url(header_bg_sp.webp);
	    	background-position: center top;
		    @media screen and (max-width: 768px) {
		    	height: 650px;
		    }
	    }
    }

    & .header-top {
    	width: 94%;
    	margin: auto;
    	padding-top: 30px;
	    @media screen and (max-width: 600px) {
	    	padding-top: 20px;
	    }

      & .header-top-in {
      	width: fit-content;
	      display: flex;
	      gap: 40px;
	      align-items: center;
		    @media screen and (max-width: 768px) {
		    	gap: 20px;
			    @media screen and (max-width: 600px) {
			    	width: 100%;
			    	justify-content: space-between;
			    }
		    }

	      & .logo {
	        display: flex;
	        align-items: center;
	        gap: 40px;
	        & img {
	          width: auto;
	          height: 42px;
				    @media screen and (max-width: 768px) {
				    	height: 36px;
				    }
	        }
	      }
	      & .jpx {
	        display: flex;
	        gap: 12px;
	        font-size: 12px;
	        line-height: 1.4;
	        color: #fff;
	        & img {
	          width: auto;
	          height: 52px;
				    @media screen and (max-width: 768px) {
				    	height: 41px;
				    }
	        }

	        & .pcw {
	        	display: block;
				    @media screen and (max-width: 768px) {
				    	display: none;
				    }
	        }
	        & .spw-none {
				    @media screen and (max-width: 600px) {
				    	display: none;
				    }
	        }
	      }
      }
    }/*//.header-top */

    & .header-main {
      width: 82.3%;
      max-width: 1580px;
      margin: auto;
	    @media screen and (max-width: 960px) {
	    	width: 86%;
	    }

      & h1 {
        margin-top: 158px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        font-size: clamp(32px, 2.22vw, 48px);
        line-height: 1;
        font-weight: 900;
		    @media screen and (max-width: 960px) {
		    	margin-top: 80px;
			    @media screen and (max-width: 768px) {
			    	margin-top: 60px;
			    	font-size: 28px;
				    @media screen and (max-width: 600px) {
				    	margin-top: 40px;
			    		font-size: 25px;
				    }
			    }
		    }

        & div {
          width: fit-content;
          background-color: #fff;
          padding: .25em .35em;
          & span {
            color: #384E31;
          }
        }

        & .pcw {
        	display: block;
			    @media screen and (max-width: 960px) {
			    	display: none;
			    }
        }
        & .tbw {
        	display: none;
			    @media screen and (max-width: 960px) {
			    	display: block;
			    }
        }
      }

      & .h1-sub {
        font-size: clamp(24px, 1.66vw, 32px);
        line-height: 1;
        color: #fff;
        font-weight: 900;
        text-shadow: 0 0 1em rgba(0,0,0,.8);
        display: flex;
        gap: .5em;
        margin-top: 35px;
		    @media screen and (max-width: 960px) {
		    	font-size: 21px;
          margin-top: 30px;
			    @media screen and (max-width: 768px) {
			    	font-size: 19px;
			    	flex-wrap: wrap;
            margin-top: 25px;
			    }
		    }
      }

      & .move-to-form {
        margin-top: 45px;
      	width: 23.8%;
      	max-width: 460px;
      	min-width: 343px;
        @media screen and (max-width: 960px) {
          margin-top: 35px;
  		    @media screen and (max-width: 768px) {
  		    	position: absolute;
  		    	bottom: 25px;
  		    	left: 50%;
  		    	transform: translateX(-50%);
  			    @media screen and (max-width: 360px) {
  			    	width: 90%;
  			    	min-width: 90%;
  			    }
  		    }
        }
      }
    }/*//.header-main */

    & .watermark {
    	width: 40%;
    	position: absolute;
    	bottom: 30px;
    	right: 30px;
    	z-index: 9;
	    @media screen and (max-width: 960px) {
	    	display: none;
	    }
    	& img {
    		opacity: .5;
    	}

    }
  }/*//header */

  & #cases {
    background-color: #F5F2EA;
    background-image: url(section_title_bg_case.svg);
    background-size: 33% auto;
    background-position: top 50px left;
    background-repeat: no-repeat;
    padding: 80px 0;
    @media screen and (max-width: 1024px) {
      background-size: 50% auto;
      padding: 80px 0 60px;
      @media screen and (max-width: 600px) {
        background-size: 75% auto;
        padding: 80px 0 40px;
      }
    }

    & .cases-header {
        width: fit-content;
        max-width: 90%;
        margin: auto;
        text-align: center;
        line-height: 1.6;

      & .cumulative-total {
        font-size: 28px;
        font-weight: 900;
        line-height: 1.2;
        color: #384E31;
        margin-bottom: 10px;
        @media screen and (max-width: 960px) {
          font-size: 24px;
          @media screen and (max-width: 600px) {
            font-size: 20px;
          }
        }
        & span {
          font-size: 48px;
          font-family: "Roboto Condensed", sans-serif;
          @media screen and (max-width: 960px) {
            font-size: 44px;
            @media screen and (max-width: 600px) {
              font-size: 32px;
            }
          }
        }

        & br {
          display: none;
          @media screen and (max-width: 375px) {
            display: block;
          }
        }
      }
    }/*//.cases-header */

    & .cases-in {
      margin: 50px auto 0;
      padding: 0 0 80px;
      @media screen and (max-width: 1024px) {
        padding: 0 0 60px;
        @media screen and (max-width: 600px) {
          padding: 0 0 50px;
        }
      }

      & .slick-slide {
        padding: 0 20px;
        @media screen and (max-width: 1440px) {
          padding: 0 30px;
          @media screen and (max-width: 960px) {
            padding: 0 25px;
            @media screen and (max-width: 768px) {
              padding: 0 15px;
              @media screen and (max-width: 600px) {
                padding: 0 10px;
              }
            }
          }
        }

        & img {
          border-radius: 10px;
        }

        & .client {
          display: block;
          width: fit-content;
          margin: 30px auto 0;
        }
      }

      & .slick-prev,
      & .slick-prev:hover,
      & .slick-prev:focus,
      & .slick-next,
      & .slick-next:hover,
      & .slick-next:focus {
        width: 72px;
        height: 72px;
        z-index: 3!important;
        background-image: url(cases_slick-prev.svg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        @media screen and (max-width: 1440px) {
          width: 60px;
          height: 60px;
          @media screen and (max-width: 768px) {
            width: 50px;
            height: 50px;
          }
        }
      }
      & .slick-prev {
        left: calc(36% - 72px);
        @media screen and (max-width: 1440px) {
          left: calc(25% - 30px);
          @media screen and (max-width: 960px) {
            left: calc(15% - 50px);
            @media screen and (max-width: 768px) {
              left: calc(15% - 12px);
              @media screen and (max-width: 600px) {
                left: calc(5% - 12px);
              }
            }
          }
        }
      }
      & .slick-next,
      & .slick-next:hover,
      & .slick-next:focus {
          right: calc(36% - 72px);
          background-image: url(cases_slick-next.svg);
        @media screen and (max-width: 1440px) {
          right: calc(25% - 30px);
          @media screen and (max-width: 960px) {
            right: calc(15% - 50px);
            @media screen and (max-width: 768px) {
              right: calc(15% - 12px);
              @media screen and (max-width: 600px) {
                right: calc(5% - 12px);
              }
            }
          }
        }
      }
      & .slick-prev::before,
      & .slick-next::before {
          display: none;
      }

      & .slick-dots {
        bottom: 0;
        line-height: 1;
        & li {
            margin: 0 8px;
          & button::before {
              font-size: 20px;
          }
        }
        @media screen and (max-width: 1024px) {
          & li {
              margin: 0 5px;
            & button::before {
                font-size: 16px;
            }
          }
          @media screen and (max-width: 834px) {
            display: block!important;
            @media screen and (max-width: 600px) {
              & li {
                  margin: 0 3px;
                & button::before {
                    font-size: 12px;
                }
              }
            }
          }
        }
      }




    }
  }/*//#cases */



}/*//#lp-relocation */


/* ========================================
    estimate
======================================== */
#estimate {
  background-color: #384E31;
  padding: 80px 0;
  color: #fff;
  font-size: 16px;

  .estimate-in {
    width: 90%;
    max-width: 800px;
    margin: auto;

    & .balloon {
      position: relative;
      padding: 7px 10px;
      width: fit-content;
      max-width: 90%;
      margin: auto;
      color: #000;
      font-size: 18px;
      font-weight: 700;
      background: #fff;
      border-radius: 10px;
      &::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -8px;
        border: 8px solid transparent;
        border-top: 8px solid #fff;
      }
    }

    & h2 {
      margin-top: 20px;
      font-size: 36px;
      font-weight: 700;
      color: #F7CD60;
      text-align: center;
    }

    & .lead {
      width: fit-content;
      max-width: 90%;
      margin: 20px auto 0;
      text-align: center;
    }

    & table {
        margin-top: 60px;

      & th {
        white-space: nowrap;
        padding: 10px 40px 10px 0;
        @media screen and (max-width: 768px) {
          display: block;
          width: 100%;
          white-space: nowrap;
          padding: 10px 0 0 0;
        }
      }
      &  td {
        padding: 10px 0 10px 0;
        @media screen and (max-width: 768px) {
          display: block;
          width: 100%;
          padding: 10px;
        }
      }
    }

    & input[type="text"],
    & input[type="tel"],
    & input[type="email"],
    & textarea,
    & select {
      width: 100%;
      max-width: 100%;
      padding: 10px;
      font-family: 'Noto Sans JP', sans-serif!important;
      font-weight: 400!important;
      font-size: 16px;
      line-height: 1.2;
      color: #000;
      border: none;
      background-color: #EAEAEA;
    }

    & .wpcf7-radio span.wpcf7-list-item,
    & .wpcf7-checkbox span.wpcf7-list-item {
      display: block;
      margin: 0;
    }
    & input[type="radio"] {
        width: 20px;
        height: 20px;
        margin: 0 3px 6px 0;
        vertical-align: middle;
    }
    & input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin: 0 6px 6px 0;
        vertical-align: middle;
    }

    & .privacy {
      width: 100%;
      border: none;
      border-top: 1px solid #ccc;
      margin: 30px 0 0;
      padding: 20px 0 0;
      text-align: center;

      & .link {
        width: fit-content;
        text-align: left;
        margin: 0 auto 8px;

        & a {
          color: #fff;
        }
      }

      & .wpcf7-acceptance{
        & .wpcf7-list-item {
          margin: 0!important;

          & input[type="checkbox"] {
            width: 24px;
            height: 24px;
            margin: 0 6px 0 0;
            vertical-align: middle;
          }
        }
      }
    }

    /* Chrome, Safari */
    &::-webkit-input-placeholder{color: #c7c7c7;}
    /* Firefox */
    &::-moz-placeholder{color: #c7c7c7;}
    /* Firefox 18以前 */
    &:-moz-placeholder{color: #c7c7c7;}
    /* IE */
    &:-ms-input-placeholder{color: #c7c7c7;}

    /* 必須／任意 */
    & .required::before {
      content: '必須';
        padding: 1px 5px;
        margin-right: 10px;
        font-size: 11px;
        line-height: 1;
        font-weight: bold;
        color: #fff;
        border: 1px solid #fff;
        white-space: nowrap;
    }
    & .optional::before {
      content: '任意';
        padding: 1px 5px;
        margin-right: 10px;
        font-size: 11px;
        line-height: 1;
        font-weight: bold;
        color: #A7A7A7;
        border: 1px solid #A7A7A7;
        white-space: nowrap;
    }

    & .center {
      text-align: center;
      margin-top: 30px;
    }
    & input[type=submit],
    & input[type=button].wpcf7-submit {
      border: none;
      border-radius: 4em;
      padding: 1em 4em;
      font-weight: 700;
      font-size: 24px;
      color: #31452B;
      position: relative;
      cursor: pointer;
      background: #F7CD60;
      background-image:
      url(images/cmn_btn01_ico_mail.svg), url(images/cmn_btn01_ico_arrow.svg);
      background-repeat: no-repeat, no-repeat;
      background-position:
      center left 1.5em,
      center right 1.5em;
    }

    & .wpcf7-not-valid-tip {
      color: #ec653c!important;
      font-size: 14px;
    }
    & .wpcf7 form.sent .wpcf7-response-output,
    & .wpcf7 form.failed .wpcf7-response-output,
    & .wpcf7 form.aborted .wpcf7-response-output,
    & .wpcf7 form.spam .wpcf7-response-output,
    & .wpcf7 form.invalid .wpcf7-response-output,
    & .wpcf7 form.unaccepted .wpcf7-response-output {
      width: 100%;
      margin: 1em auto 0;
      font-size: 16px;
      color: #fff;
      text-align: center;
      box-sizing: border-box;
    }

  }/*//.estimate-in */
}/*//#estimate */

#footer {
  background-color: #384E31!important;
  padding: 20px 0!important;

  & div {
    width: fit-content;
    max-width: 90%;
    margin: 10px auto;
    color: #fff;
    font-size: 12px!important;
    font-weight: 400!important;
    line-height: 1.2;
  }

  & a {
    color: #fff;
  }
}

/* reCAPTCHA v3 */
.grecaptcha-badge { visibility: hidden; }