.company-info{
  width: 100%;
  padding: 10% 0;
  max-width: 1500px;
  margin: 0 auto;
}

.company-info-title-text,
.contact-title-text{
  margin-left: 200px;
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  align-items: center;
  color: #8C8C8C;
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.company-info-content{
  display: flex;
  justify-content: center;
}

.company-info-content-table{
  width: 60%;
  padding: 65px 0;
  background: #FAAE5C;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.company-info-content-table-row{
  display: flex;
  margin-left: 15%;
  gap: 20px;
  align-items: center;
}

figure.row-title{
  margin: 0;
  width: 120px;
  height: 40px;
  border-radius: 20px;
  background-color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF9727;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.row-content{
  color: #FFF;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 28.57px; /* 119.042% */
}

.contact{
  width: 100%;
  padding: 10% 0;
  z-index: 10;
  max-width: 1500px;
  margin: 0 auto;
}

.contact-contents{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.contact-item{
  width: 60%;
  border-radius: 20px;
  font-family: 'Roboto', sans-serif;
  background: #FFF;
  box-shadow: 8px 8px 36px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
}

.contact-item-title{
  color: #5F5F5F;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.contact-tel-num{
  color: #FF9727;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.contact-tel-num a {
  text-decoration: none;
  color: inherit; /* 親要素の色を継承 */
  padding: 10px;
  border-radius: 5px;
  display: inline-block;
}

.contact-tel-num a:hover {
  text-decoration-line: underline;
}

.content-item-text{
  color: #222;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.57px; /* 119.042% */
}

.contact-form{
  color: #FF9727;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration-line: underline;
  text-align: left;
  /* z-index: 10; */
}

.contact-form a{
  color: inherit; /* 親要素の色を継承 */
  text-decoration: none; /* アンダーラインを消す */
  cursor: pointer;
  z-index: 10;
}

.footer{
  width: 100%;
  background: #03211E;
}

.footer-content{
  padding: 70px 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo-image{
  width: 200px;
}

.footer-text{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer p{
  margin: 0;
  color: #FFF;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.footer p a {
  color: inherit; /* 親要素の色を継承 */
  text-decoration: none; /* アンダーラインを消す */
  cursor: pointer;
}

@media (max-width: 768px) {
  .company-info-title,
  .contact-title{
    display: flex;
    justify-content: center;
  }

  .company-info-title-text,
  .contact-title-text{
    margin: 0;
    display: flex;
    justify-content: flex-start;
    width: 80%;
  }

  .company-info-title-text,
  .contact-title-text{
    display: flex;
    gap: 10px;
    font-size: 25px;
  }

  .company-info-content-table{
    margin-top:25px;
    width: 90%;
    justify-content: flex-start;
    padding: 30px 0;
    gap: 10px;
  }

  .company-info-content-table-row{
    margin: 0;
    padding: 5px 10px;
    justify-content: left;
  }

  figure.row-title{
    width: 80px;
    height: 20px;
    font-size: 10px;
  }
  
  .row-content{
    font-size: 9.5px;
    line-height: 10.57px; /* 119.042% */
  }

  .contact-contents{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .contact-item{
    width: 85%;
    gap: 15px;
    padding: 20px 15px;
  }

  .contact-item-title{
    color: #5F5F5F;
    font-size: 15px;
  }
  
  .contact-tel-num{
    font-size:30px;
  }  

  .contact-item-text{
    font-size: 10px;
    line-height: 12.57px; /* 119.042% */
  }
  
  .contact-form{
    color: #FF9727;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration-line: underline;
    text-align: left;
  }

  .footer{
    width: 100%;
    background: #03211E;
  }
  
  .footer-content{
    padding: 10% 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-logo-image{
    width: 50px;
  }
  
  .footer-text{
    gap: 10px;
  }

  .footer p{
    margin: 0;
    font-size: 12px;
  }
}


/* タブレット向けスタイル */
@media (min-width: 769px) and (max-width: 1199px) {
  .company-info,
  .contact{
    display: flex;
    flex-direction: column;
    margin-left: 0;
    margin: 0;
    align-items: center;
    padding: 5% 0 15% 0;
  }

  .company-info-content{
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .company-info-content-table{
    width: 90%;
    padding: 65px 0;
    background: #FAAE5C;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .contact-contents{
    width: 100%;
  }

  .contact-item{
    width: 90%;
  }

  .company-info-title,
  .contact-title{
    margin-top: 10px;
    display: flex;
    justify-content: flex-start; 
    width: 90%;
  }

  .company-info-title-text,
  .contact-title-text{
    display: flex;
    gap: 10px;
    font-size: 30px;
    margin-left: 0;
  }
}