@charset "utf-8";

.first-view {
  height: calc(100vh);
  background-image: url(../images/index/bg-main.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.first-view-logo {
  margin-left: auto;
  margin-right: auto;
  margin-top: 180px;
  padding-left: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
 }

.first-view-text {
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-bottom: 80px;
  color: #000000;
  background-image: url(../images/index/tait.png);
  background-repeat: no-repeat;
}

.first-view-text p {
  font-size: 18px;
  margin-top: 55px;
  padding-right: 10px;
}

.link-button-area {
  text-align: center;
  margin-top: 40px;
}

.link-button {
  background-color: #f4dd64;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.link-button:hover {
  background-color: #d8b500;
}

.title-w {
  width: 1200px;
  max-width: 90%;
  height: 80px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  background-image: url(../images/index/works_back.png);
  display: flex;
}

.title-w h4{
  padding-top: 46px;
}

.item-list {
  max-width: 100%;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, 400px);
  column-gap: 0px;
  row-gap: 70px;
  justify-content: center;
}

.item-list li {
  position: relative;
}

.item-list p {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.work-text {
  height: 140px;
}

.work-text p {
  line-height: 25px;
}

.link-button-area {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 10px;
}

.link-button-1 {
  border: 2px solid #dabe20;
  display: inline-block;
  border-radius: 24px;
  width: 398px;
  line-height: 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.link-button-2 {
  border: 2px solid #000000;
  display: inline-block;
  border-radius: 24px;
  width: 398px;
  line-height: 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.link-button-3 {
  border: 2px solid #bd0202;
  display: inline-block;
  border-radius: 24px;
  width: 398px;
  line-height: 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.link-button-1:hover {
  background-color: #dabe20;
  color: #ffffff;
}

.link-button-2:hover {
  background-color: #000000;
  color: #ffffff;
}

.link-button-3:hover {
  background-color: #bd0202;
  color: #ffffff;
}

.title-com {
  width: 1200px;
  max-width: 90%;
  height: 80px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  background-image: url(../images/index/company_back.png);
  display: flex;
}

.title-com h4{
  padding-top: 46px;
}

.company-area {
  width: 930px;
  max-width: 90%;
  background-color: #cccccc;
  padding: 20px 30px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
}

.company-area h4 {
  font-weight: bold;
  margin-top: 20px;
  margin-left: 0px;
  margin-right: auto;
  line-height: 17px;
}

.company-area h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background-color: #999999;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: auto;
}

.company-area p {
  font-size: 18px;
  line-height: 28px;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 100px;
}

.address {
  width: 600px;
  max-width: 90%;
  height: 80px;
  background-image: url(../images/index/TEOS_add.png);
  background-repeat: no-repeat;
  background-position: left center;
  margin-top: 0px;
  margin-left: 0px;
}

.title-c {
  width: 1200px;
  max-width: 90%;
  height: 80px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  background-image: url(../images/index/contact_back.png);
  display: flex;
}

.title-c h4{
  padding-top: 46px;
}

.contact {
  width: 930px;
  max-width: 90%;
  padding: 20px 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 110px;
  background-color: #cccccc;
}

.contact h4{
  font-weight: bold;
  margin-top: 20px;
  margin-left: 0px;
  margin-right: auto;
  line-height: 17px;
}

.contact h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background-color: #999999;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: auto;
}

.form-area {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
}

.form-area dt {
  width: 200px;
  padding: 15px 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 24px;
}

.form-area dt .required::after {
  content: '必須';
  font-size: 11px;
  color: #eb4f32;
  margin-left: 10px;
}

.form-area dd {
  width: calc(100% - 200px);
  padding: 10px 0;
}

.input-text {
  width: 100%;
  max-width: 280px;
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
}

.select-box {
  width: 200px;
  height: 40px;
}

.radio-button {
  display: block;
  margin-top: 20px;
}

.radio-button:first-child {
  margin-top: 0;
}

.radio-button input {
  margin-right: 8px;
}

.message {
  width: 100%;
  height: 260px;
  padding: 10px;
  line-height: 1.5;
}

.confirm-text {
  font-size: 14px;
  line-height: 22px;
  margin-top: 30px;
}

.submit-button {
  background-color: #000000;
  color: #eeeeee;
  display: inline-block;
  min-width: 180px;
  line-height: 30px;
  border-radius: 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
  border: none;
}

.submit-button:hover {
  background-color: #333333;
}


@media (max-width: 800px) {
  .first-view {
    height: calc(100vh);
    background-image: url(../images/index/bg-main-sp.jpg);
    align-items: flex-start;
  }

  .first-view-logo {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .first-view-text {
    padding-top: 0px;
    padding-left: 20px;
    line-height: 20px;
  }

  .first-view-text p {
    font-size: 14px;
    margin-top: 50px;
    padding-right: 10px;
  }

  .title-w {
    width: 800px;
    max-width: 90%;
    height: 130px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/index/works_back.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    display: flex;
  }
  
  .title-w h4{
    padding-top: 100px;
  }

  .item-list {
    padding-left: 20px;
    padding-right: 20px;
  }

  .item-list li {
    width: 300px;
    margin-left: 50px;
  }

  .work-text {
    height: 180px;
  }
    
  .link-button-1 {
    border: 2px solid #dabe20;
    display: inline-block;
    border-radius: 24px;
    width: 300px;
    line-height: 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
  }
  
  .link-button-2 {
    border: 2px solid #000000;
    display: inline-block;
    border-radius: 24px;
    width: 300px;
    line-height: 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
  }
  
  .link-button-3 {
    border: 2px solid #bd0202;
    display: inline-block;
    border-radius: 24px;
    width: 300px;
    line-height: 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
  }

  .title-com {
    width: 800px;
    max-width: 90%;
    height: 130px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/index/company_back.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    display: flex;
  }
  
  .title-com h4{
    padding-top: 100px;
  }

  .company-area p {
    font-size: 16px;
    line-height: 28px;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 5px;
  }

  .address {
    width: 350px;
    height: 80px;
    background-image: url(../images/index/TEOS_add_t.png);
    background-repeat: no-repeat;
    background-position: left center;
    margin-top: 10px;
    margin-left: 0px;
  }

  .title-c {
    width: 800px;
    max-width: 90%;
    height: 130px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/index/contact_back.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    display: flex;
  }

  .title-c h4{
    padding-top: 100px;
  }

  .map,

  .contact {
    margin-top: 45px;
  }

  .form-area dt,
  .form-area dd {
    width: 100%;
  }

  .form-area dt {
    padding-bottom: 0;
  }

  .submit-button {
    width: 100%;
  }

}