/* ///// header ///// */

.l-header {
  padding: 50px 0;
}

.l-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  vertical-align: middle;
  align-items: center;
}

.l-header-inner a {
  display: inline-block;
}

.l-header-inner nav li {
  display: inline-block;
}

.l-header-inner nav li a {
  margin-left: 30px;
  font-weight: bold;
  border-bottom: 2px solid rgba(0, 0, 0, .1);
}

.l-header-inner nav li a.active,
.l-header-inner nav li a:hover {
  border-bottom: 2px solid rgb(218, 31, 55);
}


/* ///// main ///// */

/* hero */

.l-hero {
  width: 100%;
}

.l-hero-image {
  background: url('../../img/hero.jpg') no-repeat center center;
  background-size: cover;
  width: 100%;
  aspect-ratio: 3 / 1;
  position: relative;
}
.internal{
  aspect-ratio: 10 / 1;
  min-height: 150px;
}

.l-hero-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60%;
}

/* news */
.l-news {
  background: rgba(0, 0, 0, .1);
  max-width: 1000px;
  margin: 50px auto;
  padding: 5px;
}

.l-news-inner {
  display: flex;
  flex-wrap: wrap;
}

.l-news-inner dt {
  width: 100px;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  display: table;
}

.l-news-inner dt p {
  display: table-cell;
  vertical-align: middle;
}

.l-news-inner dd {
  background: rgba(255, 255, 255, 1);
  width: calc(100% - 100px);
  padding: 10px 20px;
}

.l-news-inner dd time {
  display: inline;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 20px 0 0;
}

.l-news-inner dd a {
  display: inline;
}

/* about */
.l-about {
  margin: 50px 0;
}

.l-about-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.l-about-text h2 {
  font-size: 1.8rem;
}

.l-about-text p {
  margin: 30px 0 0 0;
}

.l-about-text img {
  margin: 30px 0 0 0;
  transform: scale(0.5);
  transform-origin: left top;
}

.l-about-image {
  position: absolute;
  top: 0;
  right: 0;
}

.l-about-image img {
  transform: scale(0.5);
  transform-origin: right top;
}

/* business */
.l-business {
  margin: 0;
}

.l-business-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0 0 0;
  position: relative;
}

.business-list {
  margin: 30px 0 0 0;
  display: flex;
  flex-wrap: wrap;
}

.business-item {
  width: 300px;
  margin: 0 50px 0 0;
}

.business-item:last-of-type {
  margin: 0;
}

.business-item img {
  width: 100%;
}

.business-item p {
  margin: 20px 0 0 0;
}

/* materials */
.l-materials-inner {
  max-width: 1000px;
  margin: 30px auto 0;
  position: relative;
}

.materials-list {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.materials-item {
  width: 300px;
  margin: 30px 50px 0 0;
}

.materials-item:nth-child(3n) {
  margin: 30px 0 0 0;
}

.materials-item img {
  width: 100%;
}

.materials-item p {
  margin: 20px 0 0 0;
}

/* company */
.l-company-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0 0 0;
  position: relative;
}

.l-company-table {
  width: 100%;
  margin: 30px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}

.l-company-inner dl {
  width: calc((100% - 50px) / 2);
  display: grid;
  grid-template-columns: 100px 1fr;
}

.l-company-inner dl dt {
  padding: 15px 0;
  font-weight: bold;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
}

.l-company-inner dl dd {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
}

/* history */
.l-history-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0 0 0;
}

.l-history-list {
  background-image: url('../../img/history_line_w.svg'), url('../../img/history_line.svg');
  background-repeat: no-repeat, repeat-y;
  background-position: 33px top, 35px 40px;
  background-size: 5px 40px, auto;
  margin: 10px 0 0 0;
  padding: 0 0 0 60px;
}

.l-history-list li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
  display: grid;
  grid-template-columns: 200px 1fr;
  position: relative;
}

.l-history-list li::before {
  content: url('../../img/red_dot.svg');
  position: absolute;
  left: -30px;
  top: 24px;
  width: 11px;
  height: 11px;
}

.l-history-list time {
  margin: 0 0 0 1rem;
  font-size: 1.8rem;
  font-weight: bold;
}

.l-history-list time span {
  font-size: 1.2rem;
  font-weight: normal;
}

/* clients */
.l-clients-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0 0 0;
}

.l-clients-inner .section-subtitle {
  margin-top: 50px !important;
}

.clients-list ul {
  margin: 10px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 5%;
  list-style-type: disc;
  list-style: inside;
}

.clients-list li {
  width: 30%;
  padding: 15px 0 15px 2rem;
  text-indent: -1.5em;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
}

/* footer */
.l-footer {
  padding-block: 40px;
  font-size: 1.2rem;
  text-align: center;
}

/* bg Deco */
.deco_wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.bg-gas01 {
  width: 1135px;
  position: absolute;
  top: -242px;
  right: -470px;
  animation: rotateAnimation 60s linear infinite;
  user-select: none;
  pointer-events: none;
}


/* ///// Responsive ///// */
/* tablet */
@media (max-width: 768px) {

  /* header */
  .l-header-inner {
    max-width: calc(100% - 60px);
  }

  /* hero */
  .l-hero-image {
    aspect-ratio: 5 / 2;
  }

  /* news */
  .l-news {
    max-width: calc(100% - 60px);
  }

  /* about */
  .l-about-inner {
    max-width: calc(100% - 60px);
    padding-right: 170px;
  }

  .l-about-image img {
    width: 150px;
    transform: scale(1);
  }

  /* business */
  .l-business-inner {
    max-width: calc(100% - 60px);
  }

  .business-list {
    margin: 30px 0 0 0;
    gap: 20px;
  }

  .business-item {
    width: calc((100% - 20px)/2);
    margin: 0;
  }

  /* materials */
  .l-materials-inner {
    max-width: calc(100% - 60px);
  }

  .materials-list {
    margin: 30px 0 0 0;
    gap: 20px;
  }

  .materials-item {
    width: calc((100% - 20px)/2);
    margin: 0;
  }

  .materials-item:nth-child(3n) {
    margin: 0;
  }

  /* company */
  .l-company-inner {
    max-width: calc(100% - 60px);
  }

  .l-company-inner dl {
    width: 100%;
    grid-template-columns: 100px 1fr;
  }

  .l-company-table {
    width: 100%;
    margin: 15px 0 0 0;
    padding: 0 0 30px 0;
    display: block;
    gap: 0;
  }

  /* history */
  .l-history-inner {
    max-width: calc(100% - 60px);
  }

  .l-history-list {
    background-position: 18px top, 20px 40px;
    padding: 0 0 0 45px;
  }

  .l-history-list li {
    grid-template-columns: 120px 1fr;
  }

  .l-history-list time span {
    display: block;
  }

  /* clients */
  .l-clients-inner {
    max-width: calc(100% - 60px);
  }

  .l-clients-inner .section-subtitle {
    margin-top: 30px !important;
  }

  .clients-list ul {
    column-gap: 20px;
  }

  .clients-list li {
    width: calc((100% - 20px)/2);
  }

  /* bg Deco */
  .bg-gas01 {
    width: 900px;
    top: -200px;
    right: -470px;
  }
}

/* smart phone */
@media (max-width: 599px) {
  .l-header-inner {
    display: block;
    text-align: center;
  }

  .l-header-inner nav {
    background: rgba(255, 255, 255, .9);
    width: 130px;
    height: 100dvh;
    padding: 122px 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    display: none;
  }

  .l-header-inner nav.active {
    display: block;
  }

  .l-header-inner nav li {
    margin: 0 0 20px 0;
    display: block;
    text-align: center;
  }

  .l-header-inner nav li a {
    margin-left: 0;
  }

  /* hero */
  .l-hero-image {
    aspect-ratio: 4 / 2;
  }

  /* news */
  .l-news-inner dt {
    width: 80px;
  }

  .l-news-inner dd {
    width: calc(100% - 80px);
  }

  .l-news-inner dd a {
    display: block;
  }

  /* about */
  .l-about-inner {
    max-width: calc(100% - 40px);
    padding-right: 0;
  }

  .l-about-image {
    display: none;
  }

  /* business */
  .l-business-inner {
    max-width: calc(100% - 40px);
  }

  .business-list {
    display: block;
  }

  .business-item {
    width: 100%;
    margin: 0 0 30px 0;
  }

  .business-item:last-of-type {
    margin: 0;
  }

  /* materials */
  .materials-list {
    display: block;
  }

  .materials-item {
    width: 100%;
    margin: 0 0 30px 0;
  }

  .materials-item:nth-child(3n) {
    margin: 0 0 30px 0;
  }

  .materials-item:last-of-type {
    margin: 0;
  }

  /* company */
  .l-company-table {
    display: block;
    gap: 0;
  }

  .l-company-inner dl {
    width: 100%;
    display: block;
  }

  .l-company-inner dl dt {
    padding: 15px 0 0 0;
    border-bottom: none;
  }

  .l-company-inner dl dd {
    padding: 0 0 15px 1rem;
  }

  /* history */
  .l-history-list li {
    display: block;
  }

  .l-history-list time {
    margin: 0;
    padding: 0 0 5px 0;
    font-size: 1.6rem;
    display: block;
  }

  .l-history-list time span {
    display: inline;
  }

  /* clients */
  .clients-list ul {
    column-gap: 0;
  }

  .clients-list li {
    width: 100%;
  }

  /* bg Deco */
  .bg-gas01 {
    width: 600px;
    top: -100px;
    right: -270px;
  }
}