@charset "UTF-8";

/*
Theme Name: web
*/

body {
  font-size: 0.9rem;
  background-color: #f0f0f0;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  opacity: 0.9;
}

ul {
  list-style: none;
}

.wpcf7-spinner {
  display: none !important; /*Contact Form 7のスピナーを非表示にする*/
}

.page-title {
  font-size: 2.25rem;
  font-weight: normal;
  letter-spacing: 0.3em;
  line-height: 1;
  margin-bottom: 80px;
}

.wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2%;
}

/* header */
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

#header .header-nav {
  display: flex;
  align-items: center;
}

.logo {
  width: 100px;
}

#header .header-nav nav {
  margin-left: 50px;
}

#header .header-nav ul {
  display: flex;
}

#header .header-nav li {
  margin-right: 20px;
}


#header .header-nav:last-child {
  margin-right: 0px;
}

#header .contact {
  color: #fff;
  background-color: #333;
  display: inline-block;
  width: 200px;
  height: 80px;
  text-align: center;
  line-height: 80px;
  font-size: 0.75rem;
}

/* main */
#mainvisual {
  height: calc(100vh - 80px);
  margin-bottom: 100px;
}

#mainvisual img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* news */
#news {
  margin-bottom: 130px;
}

.sec-title {
  font-weight: normal;
  margin-bottom: 50px;
}

.sec-title::after {
  content: "";
  width: 40px;
  height: 1px;
  background-color: #000;
  display: block;
}

.sec-title .en,
.sec-title .ja {
  display: block;
}

.sec-title .en {
  font-size: 2.5rem;
  letter-spacing: 0.75rem;
}

.sec-title .ja {
  font-size: 0.9rem;
  padding-bottom: 30px;
}

#news .list {
  display: flex;
  justify-content: space-between;
}

#news .list li {
  border-left: 1px solid #000;
  padding-left: 20px;
}

#news .list li:first-child {
  border-left: 0;
  padding-left: 0;
}

.date-area {
  padding-bottom: 20px;
}

.date-area time {
  padding-right: 20px;
}

.date-area span {
  background-color: #000;
  color: #fff;
  font-size: 0.75rem;
  width: 50px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  display: inline-block;
}

/* about */
#about {
  margin-bottom: 130px;
  display: flex;
}

#about .img {
  width: 55%;
}

#about .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

#about .text {
  width: 45%;
  padding: 180px 80px 0;
}

#about .text p {
  line-height: 2.2;
}

/* business */
#business {
  margin-bottom: 130px;
}

.business {
  display: flex;
  justify-content: center;
}

.business .left,
.business .right {
  width: 45%;
}

.business .left {
  margin-top: 100px;
  margin-right: 30px;
}

.business .right {
  margin-left: 30px;
}

.business .item .title {
  font-weight: bold;
  margin: 0 0 10px 20px;
  position: relative;
}

.business .item {
  margin-bottom: 40px;
}

.business .item p::before {
  content: "";
  width: 8px;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: -20px;
}

/* company */
#company {
  display: flex;
  margin-bottom: 130px;
  position: relative;
}

#company .company-area {
  width: 55%;
  background-color: #fff;
  padding: 100px 8% 100px 6%;
}

#company .company-area .info {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

#company .company-area .info dt,
#company .company-area .info dd {
  margin-bottom: 10px;
}

#company .company-area .info dt {
  width: 20%;
}

#company .company-area .info dd {
  width: 80%;
}

#company .company-area .info .add {
  margin-left: 20%;
}

#company .company-img {
  width: 55%;
  position: absolute;
  top: 20%;
  left: 50%;
}

#company .company-img img {
  height: 400px;
  object-fit: cover;
}

/* 固定ページ */
#page {
  margin-top: 80px;
  margin-bottom: 120px;
}
#page .form {
  margin-top: 60px;
}
#page .form .required {
  color: #ff0000;
}
#page .form dt {
  margin-bottom: 5px;
}
#page .form dd {
  margin-bottom: 30px;
}
#page .form input,
#page .form textarea {
  width: 100%;
  background-color: #fff;
  padding: 15px;
}
#page .form textarea {
  height: 180px;
}
#page .button {
  max-width: 100px;
  border: solid 1px #000;
  margin: 0 auto;
  transition: all 0.3s ease;
}
#page .button p {
  padding: 0;
}
#page .button:hover {
  background-color: #ddd;
}
#page .button input {
  width: 100%;
  padding: 10px 0;
  background-color: transparent;
}

/* category */
#category {
  margin-top: 80px;
  margin-bottom: 120px;
}
#category .tab-menu {
  display: flex;
  border-bottom: solid 1px #000;
}
#category .tab-menu .active {
  border-bottom: solid 3px #000;
}
#category .tab-menu li {
  width: 240px;
  padding: 20px 0;
  text-align: center;
}
#category .tab-menu li a {
  font-size: 1rem;
}
#category .list dt {
  margin: 50px 0 10px 0;
}
#category .list dt span {
  width: 50px;
  height: 20px;
  line-height: 20px;
  background-color: #000;
  color: #fff;
  display: inline-block;
  font-size: 0.75rem;
  margin-left: 10px;
  text-align: center;
}
#category .list dd {
  padding-bottom: 50px;
  border-bottom: solid 1px #ccc;
}

/* footer */
#footer {
  background-color: #fff;
  padding: 40px 0 20px 0;
}

#footer .footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

#footer .copyright {
  font-size: 0.6rem;
}

@media (max-width:900px) {

  /* #header */
  #header .header-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  #header .header-nav nav {
    margin-left: 0;
  }

  .logo {
    width: 80px;
  }

  #header .contact {
    display: none;
  }

  /* news */
  #news .list {
    flex-direction: column;
  }


  #news .list li {
    border-left: 0;
    padding-left: 0;
    padding-bottom: 30px;
  }

  /* about */
  #about {
    flex-direction: column;
  }

  #about .img,
  #about .text {
    width: 100%;
  }

  #about .text {
    padding: 20px 2% 0;
  }

  /* business */
  .business {
    flex-direction: column;
  }

  .business .left,
  .business .right {
    width: 100%;
  }

  .business .left {
    margin-top: 30px;
    margin-right: 0;
  }

  .business .right {
    margin-left: 0;
  }

  .business .item {
    text-align: center;
  }

  .business .item p {
    text-align: left;
  }

  /* company */
  #company {
    flex-direction: column;
  }

  #company .company-area,
  #company .company-img {
    width: 100%;
  }

  #company .company-area {
    padding: 20px 3%
  }

  #company .company-area .info {
    flex-direction: column;
  }

  #company .company-area .info dd {
    margin-left: 20px;
    margin-bottom: 30px;
  }

  #company .company-area .info .add {
    margin-left: 20px;
  }

  #company .company-img {
    margin-top: 30px;
    position: static;
  }

  /* 固定ページ */
  #page {
    margin-top: 40px;
  }
  #page .form {
    margin-top: 40px;
  }

  /* category */
  #category {
    margin-top: 40px;
  }
  #category .tab-menu li {
    width: 50%;
  }
  #category .list dt {
    margin-top: 40px;
  }
  #category .list dd {
    padding-bottom: 40px;
  }

  /* footer */
  #footer .footer-info {
    flex-direction: column;
    align-items: flex-start;
  }


}