@charset "utf-8";

/*

PC
  margin: 50px auto 0px;
  margin: 100px auto 0px;（背景指定時）
  padding: 80px 0px;（背景指定時）
  background: #f9f9f9;
  font-size: 1.7rem;

tb
  marign: 40px 25px 0px;
  margin: 70px 0px 0px;（背景指定時）
  padding: 30px 25px 70px;（背景指定時）
  font-size: 1.7rem;

sp
  margin: 30px 15px 0px;
  margin: 50px 0px 0px;（背景指定時）
  padding: 30px 15px;（背景指定時）
  font-size: 1.5rme;

*/


.anchor{
  width: 1000px;
  margin: 30px auto 15px;
}

.anchor ul{
  display: flex;
}

.anchor ul li{
  width: 24%;
  margin: 0px 0.5%;
}

.anchor ul li a{
  position: relative;
  display: block;
  padding: 7.5px 0px;
  color: #202020;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border: 1px #dfdfdf solid;
  border-radius: 5px;
  background: #efefef;
}

.anchor ul li a:hover{
  color: #fff;
  background: #f39600;
}

.anchor ul li a::after{
  position: absolute;
  top: 6px;
  left: 25px;
  margin: 0px;
  color: #888;
  font-size: 1.8rem;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  content: '\f103';
}

.anchor ul li a:hover::after{
  color: #fff;
}

@media only screen and ( max-width: 1019px ){
  .anchor{
    width: auto;
    margin: 30px 25px 15px;
  }

  .anchor ul li a::after{
    top: auto;
    bottom: -15px;
    left: 48%;
  }
}

@media only screen and ( max-width: 1019px ){
  .anchor{
    margin: 30px 15px 15px;
  }

  .anchor ul{
    flex-wrap: wrap;
  }

  .anchor ul li{
    width: 48%;
    margin: 1.5% 1%;
    font-size: 1.45rem;
  }

  .anchor ul li a::after{
    top: 8px;
    left: 20px;
    font-size: 1.7rem;
  }
}



/*----------------------------------------------------------------------------------------------------

  Contact Parts / お問い合わせ・フォーム類の設定

----------------------------------------------------------------------------------------------------　*/

.company table{
  width: 800px;
  margin: 50px auto 0px;
  font-size: 1.7rem;
  border-collapse: separate;
  border-spacing: 15px;
  background-color: #fff;
}

.company table tr th{
  width: 30%;
  padding: 10px 15px 20px;
  text-align: right;
  border-bottom: 1px #f39600 dotted;
}

.company table tr td{
  width: 70%;
  padding: 10px 15px 20px;
  line-height: 1.4;
  border-bottom: 1px #f39600 dotted;
}


@media only screen and ( max-width: 1019px ){
  .company table{
    width: calc( 100% - 50px );
    margin: 50px 25px;
    font-size: 1.6rem;
  }
}


@media only screen and ( max-width: 640px ){
  .company table{
    width: calc( 100% - 30px );
    margin: 50px 15px 0px;
    font-size: 1.5rem;
    border-spacing: 5px;
  }

  .company table tr th{
    width: 32%;
    padding: 15px 10px;
  }

  .company table tr td{
    width: 68%;
    padding: 15px 10px;
  }
}


/*----------------------------------------------------------------------------------------------------

  Privacy Parts / お問い合わせ・フォーム類の設定

----------------------------------------------------------------------------------------------------　*/

.privacytext{
  width: 800px;
  margin: 70px auto 0px;
  text-align: left;
}

.privacytext h3{
  margin: 50px 0px 0px;
}

.privacytext h3 span::after{
  content: "：";
  margin: 0px 5px;
}

.privacytext p{
  margin: 20px 0px 0px;
}

@media only screen and ( max-width: 1019px ){
  .privacytext{
    width: auto;
    margin: 50px 25px 0px;
  }
}

@media only screen and ( max-width: 640px ){
  .privacytext{
    margin: 50px 15px 0px;
  }

  .privacytext h3{
    margin: 40px 0px 0px;
  }
}




/*----------------------------------------------------------------------------------------------------

  Recruit Parts / お問い合わせ・フォーム類の設定

----------------------------------------------------------------------------------------------------　*/

.companybox dl{
  display: flex;
  flex-wrap: wrap;
  width: 800px;
  margin: 50px auto 0px;
  font-size: 1.7rem;
}

.companybox dl dt{
  display: flex;
  justify-content: right;
  align-items: center;
  width: 30%;
  padding: 20px 15px;
  font-weight: bold;
  text-align: right;
  border-bottom: 1px #fc9600 dotted;
}

.companybox dl dd{
  width: 69%;
  margin-left: 1%;
  padding: 20px 15px;
  text-align: left;
  border-bottom: 1px #fc9600 dotted;
}

.companybox dl dt:last-of-type,
.companybox dl dd:last-of-type{
  border-bottom: 0;
}


@media only screen and ( max-width: 1019px ){
  .companybox dl{
    width: auto;
    margin: 40px 25px 0px;
  }
}

@media only screen and ( max-width: 640px ){
  .companybox dl{
    margin: 30px 15px 0px;
    font-size: 1.5rem;
  }

  .companybox dl dt{
    padding: 12.5px 10px;
  }

  .companybox dl dd{
    width: 68%;
    padding: 12.5px 10px;
  }
}



/*----------------------------------------------------------------------------------------------------

  Contact Parts / お問い合わせ・フォーム類の設定

----------------------------------------------------------------------------------------------------　*/

.contact table{
  width: 600px;
  margin: 50px auto 0px;
  text-align: left;
  border-collapse: separate;
  border-spacing: 10px;
}

.contact table th{
  display: block;
  width: 100%;
  margin: 20px 0px 0px;
  color: #202020;
  font-size: 1.6rem;
}

.contact table th span{
  display: inline-block;
  margin: 1px 5px 0px 0px;
  padding: 2px 7.5px;
  color: #fff;
  font-size: 1.2rem;
  vertical-align: top;
  border-radius: 3px;
  background: #ce3b2a;
}

.contact table th span.nini{
  background: #a0a0a0;
}

.contact table td{
  position: relative;
  display: block;
  width: 100%;
  margin: 10px 0px 0px;
  font-size: 1.6rem;
}

.contact table td span{
  display: block;
  margin: 5px 0px 0px;
  color: #808080;
  font-size: 1.4rem;
}

.contact table td input[type="text"]{
  width: 100%;
  padding: 10px;
  font-size: 1.8rem;
  border: 1px #d0d0d0 solid;
  border-radius: 3px;
}

.contact table td select{
  padding: 10px 10px 10px 8px;
  font-size: 1.6rem;
  border: 1px #d0d0d0 solid;
  border-radius: 3px;
}

.contact table td textarea{
  width: 100%;
  height: 400px;
  margin: 0px;
  padding: 10px;
  font-size: 1.8rem;
  border: 1px #d0d0d0 solid;
  border-radius: 3px;
}

.contact table td input[type="text"]:hover,
.contact table td select:hover,
.contact table td textarea:hover{
  border: 1px #ff9300 solid;
  background-color: #ffffdd;
}

.contact table td input[type="text"]:focus,
.contact table td select:focus,
.contact table td textarea:focus{
  border: 1px #ff9300 solid;
  background-color: #ffffdd;
}

.contact table td input[name="zipcode"]{
  width: 150px;
}

.contact table td input[type="button"]{
  margin-left: 10px;
  padding: 11px 10px;
  color: #fff;
  font-size: 1.6rem;
  border: 1px #f39600 solid;
  border-radius: 3px;
  background: #f39600;
  cursor: pointer;
}

.contact table td input[type="button"]:hover{
  color: #f39600;
  background: #fff;
}

::placeholder{
  color: #707070;
  font-size: 1.6rem;
  font-weight: normal;
}

.contact table td ul{
  margin: 15px 0px 0px 10px;
}

.contact table td ul li{
  margin: 5px 0px 0px;
}

.contact table td label{ font-size: 1.8rem; cursor: pointer; }
.contact table td label:hover{ color: #f39600; text-decoration: underline; }
.contact table td input[type=checkbox],
.contact table td input[type=radio]{ display: inline-block; opacity: 0; cursor: pointer; }
.contact table td input + label::before{ display: inline-block; margin-left: -12px; margin-bottom: 3px; padding-right: 5px; font-size: 2.0rem; font-family: "Font Awesome 5 Free"; content: "\f0c8"; color: #afafaf; font-weight: 400; line-height: 1; vertical-align: middle; }
.contact table td input[type=radio] + label::before{ content: "\f111"; }
.contact table td input:checked + label::before{ content: "\f14a"; color: #f39600; font-weight: 900; }
.contact table td input[type=radio]:checked + label::before{ content: "\f058"; }
.contact table td input[type="radio"]:hover + label::before,
.contact table td input[type="radio"]:focus + label::before,
.contact table td input[type="checkbox"]:hover + label::before,
.contact table td input[type="checkbox"]:focus + label::before{ color: #f39600; }
.contact table td input[type="radio"]:hover + label,
.contact table td input[type="radio"]:focus + label,
.contact table td input[type="checkbox"]:hover + label,
.contact table td input[type="checkbox"]:focus + label{ color: #f39600; font-weight: bold; text-decoration: underline; }

.contact table td input[type="radio"]:disabled{ cursor: auto; }
.contact table td input[type="radio"]:disabled + label{ color: #9f9f9f; cursor: auto; text-decoration: line-through; }
.contact table td input[type="radio"]:disabled:hover + label{ color: #9f9f9f; font-weight: normal; }
.contact table td input[type="radio"]:disabled + label:before{ content: "\f111"; font-weight: 900; color: #dfdfdf; }


.contact button[type=submit]{
  display: block;
  margin: 50px auto 0px;
  padding: 15px 150px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  border: 2px #f39600 solid;
  border-radius: 3px;
  background: #f39600;
  cursor: pointer;
  transition: all 0.3s;
}

.contact button[type=submit]:after{
  display: inline-block;
  padding-left: 10px;
  font-family: "Font Awesome 5 Free";
  content: '\f101';
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
}

.contact button[type=submit]:hover{
  color: #f39600;
  background: #fff;
}

.contact button[type=submit]:hover::after{
  color: #f39600;
}


@media only screen and ( max-width: 1019px ){
  .contact table{
    width: calc( 100% - 50px );
    max-width: 600px;
    margin: 50px auto 0px;
  }

  .contact table td input[type="text"]{
    font-size: 1.7rem;
  }

  .contact table td input[type="button"]{
    padding: 8px 10px;
  }

  .contact table td select{
    padding: 7.5px 10px 8px 5px;
  }

  .contact table td textarea{
    height: 300px;
    padding: 7.5px 10px;
    font-size: 1.7rem;
  }
}


@media only screen and ( max-width: 640px ){
  .contact table{
    width: calc( 100% - 30px );
    margin: 40px 15px 0px;
  }

  .contact table th{
    margin-top: 10px;
    font-size: 1.5rem;
  }

  .contact table td{
    font-size: 1.5rem;
  }

  .contact table tr:last-child th,
  .contact table tr:last-child td{
    border-bottom: 1px #dfdfdf solid;
  }

  .contact table td input[type="text"]{
    padding: 7.5px;
    font-size: 1.5rem;
  }

  .contact table td input[type="button"]{
    padding: 7.5px 10px;
    font-size: 1.5rem;
  }

  .contact table td select{
    padding: 7.5px;
    font-size: 1.5rem;
  }

  .contact table td textarea{
    height: 300px;
    padding: 7.5px;
    font-size: 1.5rem;
  }

  ::placeholder{
    font-size: 1.5rem;
  }

  .contact table td input[type=radio],
  .contact table td input[type=checkbox]{
    margin: 4px 2.5px 5px 5px;
  }

  .contact table td ul li{
    margin: 2px 0px 0px;
  }

  .contact table td label{
    font-size: 1.6rem;
  }

  .contact button[type=submit]{
    width: 80%;
    margin: 30px auto;
    padding: 12px 0px 10px;
    font-size: 1.6rem;
  }
}
