/*============内容============*/

/*============背景============*/

.mv {
  background-image: url(../image/companymv.png);
}

/*============Company============*/

.company {
  text-align: center;
  margin-top: 10px;
  padding-bottom: 30px;
  background-image: url(../image/companybackground.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 1200px;
}

.company_phraze {
  font-size: 22px;
  letter-spacing: 8px;
}

.company_phraze span {
  font-size: 55px;
}

.yellow {
  color: #f0c105;
}

.blue {
  color: #005bb1;
}

.green {
  color: #26b746;
}

.company_text h1 {
  font-size: 66px;
  letter-spacing: 10px;
}

.company_text h2 {
  line-height: 5;
  font-size: 20px;
}

.company_sentence {
  line-height: 3;
  margin-top: 40px;
  font-size: 15px;
}

.company_top {
  line-height: 2;
  font-size: 13px;
  margin-top: 15px;
}

/*============会社概要============*/

.information_wrapper_text {
  text-align: center;
  margin-bottom: 30px;
}

.information_wrapper_text h2 {
  font-size: 30px;
  letter-spacing: 3px;
  margin-top: 100px;
}

.information_wrapper_text p {
  font-size: 20px;
  letter-spacing: 3px;
  line-height: 3;
}

.data_item {
  border-top: 1px solid #ccc;
  display: flex;
}

.data_item:last-of-type {
  border-bottom: 1px solid #ccc;
}

.data_title {
  align-items: flex-start;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: space-between;
  min-width: 245px;
  padding: 2.3% 0 2.3% 2.3%;
  width: 25%;
  line-height: 2;
  align-items: center;
}

.data_contents {
  border-left: 1px solid #ccc;
  font-size: 16px;
  padding: 2.3% 0 2.3% 2.3%;
  width: 75%;
  line-height: 2;
}

.form_text {
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  padding: 2.8% 10px;
  width: 97%;
}

/*============工場情報============*/
.factory_wrapper {
  max-width: 1080px;
  margin: 0 auto;
  width: 96%;
}

.factory_wrapper_ttl {
  margin-bottom: -30px;
  text-align: center;
}

.factory_wrapper_ttl h2 {
  font-size: 30px;
  letter-spacing: 3px;
  margin-top: 100px;
}

.factory_wrapper_ttl p {
  font-size: 20px;
  letter-spacing: 3px;
  line-height: 3;
}

.factory_wrapper .item_wrap {
  display: flex;
  flex-wrap: wrap;
}

.factory_wrapper .item_wrap .item {
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 5.6%;
  position: relative;
  width: 29.6%;
}

.factory_wrapper .item_wrap .item:not(:nth-child(3n)) {
  margin-right: 5.2%;
}

.factory_wrapper .item_title {
  background-color: #333;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 20px;
}

.factory_wrapper .contents_wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.factory_wrapper .text_wrap {
  padding: 6.26% 7.823%;
}

.factory_wrapper .item_text {
  font-size: 15px;
  margin-top: 10px;
}

.factory_wrapper .item_tel {
  display: block;
}

.factory_wrapper .item_map {
  bottom: 0;
  left: 0;
  /* position: absolute; */
}

.factory_wrapper .item_map iframe {
  height: auto;
  width: 100%;
}

/*============沿革============*/

.history_list {
  border: 1px solid;
  margin: 30px 0 150px 0;
}

.history_wrapper_ttl {
  text-align: center;
}

.history_wrapper_ttl h2 {
  font-size: 30px;
  letter-spacing: 3px;
  margin-top: 100px;
}

.history_wrapper_ttl p {
  font-size: 20px;
  letter-spacing: 3px;
  line-height: 3;
}

.list_item {
  display: flex;
  border-bottom: 1px solid;
}

.list_item:last-of-type {
  border: none;
}

.list_title {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  min-width: 160px;
  padding: 2%;
}

.list_contents {
  align-items: center;
  display: block;
  font-size: 16px;
  padding: 2%;
  width: 75%;
  border-left: 1px solid;
}

/*============1279px以下============*/
@media screen and (max-width: 1280px) {
  .company {
    background-size: contain;
    height: 1000px;
    padding-bottom: 0;
  }

  .information_wrapper_text h2 {
    margin-top: 0;
    font-size: 25px;
  }

  .information_wrapper_text p {
    font-size: 14px;
  }
}

/*============767px以下============*/
@media screen and (max-width: 768px) {
  .company {
    background-size: cover;
    height: auto;
    padding-bottom: 30%;
  }

  .company_text h1 {
    font-size: 25px;
  }

  .company_text h2 {
    font-size: 15px;
  }

  .company_phraze span {
    font-size: 45px;
  }

  .information_wrapper {
    padding-top: 8%;
  }

  .aluminum {
    font-size: 35px;
  }

  .future {
    font-size: 35px;
  }

  .spread {
    font-size: 35px;
  }

  .company_phraze {
    font-size: 18px;
  }

  .company_sentence {
    text-align: left;
    font-size: 12px;
    display: block;
    width: 96%;
    margin: 0 auto;
    margin-top: 40px;
  }

  /*============工場情報============*/
  .factory_wrapper {
    width: 90%;
  }

  .factory_wrapper_ttl {
    margin-bottom: 0;
  }

  .factory_wrapper .item_wrap {
    justify-content: space-between;
  }

  .factory_wrapper .item_wrap .item {
    width: 48%;
  }

  .factory_wrapper .item_wrap .item:not(:nth-child(3n)) {
    margin-right: 0;
  }

  .factory_wrapper .item_title {
    font-size: 18px;
    padding: 15px;
  }

  .factory_wrapper .text_wrap {
    padding: 4% 3%;
  }

  .factory_wrapper .item_text {
    font-size: 14px;
  }
}

/*============479px以下============*/
@media screen and (max-width: 480px) {
  .company_sentence {
    /* font-size: 8px; */
  }

  .company {
    background-size: cover;
    margin-bottom: 20px;
  }

  .company_phraze span {
    font-size: 35px;
  }

  .data_list {
    margin: 0 auto;
    width: 96%;
  }

  .data_item {
    display: block;
    border: none;
  }

  .data_item:last-of-type {
    border: none;
  }

  .data_title {
    width: 96%;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }

  .data_title:first-of-type {
    border-top: 1px solid #ccc;
  }

  .data_contents {
    width: 96%;
    border-right: 1px solid #ccc;
  }

  .data_contents_last {
    border-bottom: 1px solid #ccc;
  }

  .history_wrapper_ttl h2 {
    font-size: 25px;
    margin-top: 60px;
  }

  .history_wrapper_ttl p {
    font-size: 14px;
  }

  .list_item {
    display: block;
    border: none;
  }

  .list_contents {
    border-right: 1px solid;
    width: 96%;
    padding: 5% 2%;
  }

  .list_contents_last {
    border-bottom: 1px solid;
  }

  .history_list {
    border: none;
    margin: 30px 0 90px 0;
  }

  .list_title {
    width: 96%;
    text-align: left;
    border-top: 1px solid;
    border-right: 1px solid;
    border-left: 1px solid;
    border-bottom: 1px solid;
  }

  /*============工場情報============*/
  .factory_wrapper {
    width: 90%;
  }

  .factory_wrapper_ttl {
    margin-bottom: 0;
  }

  .factory_wrapper .item_wrap {
    justify-content: space-between;
  }

  .factory_wrapper .item_wrap .item {
    width: 48%;
  }

  .factory_wrapper .item_wrap .item:not(:nth-child(3n)) {
    margin-right: 0;
  }

  .factory_wrapper .item_title {
    font-size: 15px;
    padding: 10px;
  }

  .factory_wrapper .text_wrap {
    padding: 4% 3%;
  }

  .factory_wrapper .item_text {
    font-size: 13px;
  }
}
