@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f5f5dc;
}

.header {
  width: min(1000px, 90%);
  display: flex;
  gap: 50px;
  align-items: center;
  height: 100px;
  position: relative;
}
.header h1 {
  padding-left: 100px;
  font-weight: normal;
}
.header h1 a {
  text-decoration: none;
  color: black;
}
.header ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
@media (max-width: 900px) {
  .header ul {
    display: none;
  }
}
.header ul li a {
  text-decoration: none;
  color: black;
}
.header .hamburger_menu {
  display: none;
}
@media (max-width: 900px) {
  .header .hamburger_menu {
    display: block;
  }
}
.header .hamburger_menu .hamburger_label {
  display: none;
}
@media (max-width: 900px) {
  .header .hamburger_menu .hamburger_label {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10;
  }
  .header .hamburger_menu .hamburger_label span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: black;
  }
}
.header .hamburger_menu .hamburger_menu_check {
  display: none;
}
.header .hamburger_menu .hamburger_menu_check:checked ~ .hamburger_label {
  transition: all ease 0.3s;
}
.header .hamburger_menu .hamburger_menu_check:checked ~ .hamburger_label span {
  background-color: white;
}
.header .hamburger_menu .hamburger_menu_check:checked ~ .hamburger_label span:nth-child(1) {
  transform: translateY(10px) rotate(-45deg);
}
.header .hamburger_menu .hamburger_menu_check:checked ~ .hamburger_label span:nth-child(2) {
  opacity: 0;
}
.header .hamburger_menu .hamburger_menu_check:checked ~ .hamburger_label span:nth-child(3) {
  transform: translateY(-10px) rotate(45deg);
}
.header .hamburger_menu .hamburger_menu_check:checked ~ .hamburger_menu_list {
  top: 0;
}
.header .hamburger_menu .hamburger_menu_list {
  display: flex;
  flex-direction: column;
  padding: 100px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100vh;
}
.header .hamburger_menu .hamburger_menu_list a {
  color: white;
}
.header .hamburger_menu .hamburger_menu_list a:hover {
  text-decoration: underline;
}
.header .sub_title {
  position: fixed;
  top: 0;
  right: 0;
  height: 100px;
  width: 200px;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header .sub_title a {
  text-decoration: none;
  color: white;
}

.hero {
  width: 100%;
}
.hero img {
  width: 100%;
  height: auto;
}

.news {
  width: min(1000px, 100%);
  min-height: 400px;
  margin: 0 auto;
  padding: 100px 0;
}
.news .title {
  position: relative;
  margin-bottom: 50px;
}
.news .title h2 {
  text-align: left;
}
.news .title p {
  text-align: left;
}
.news .title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -30px;
  width: 50px;
  height: 2px;
  background-color: black;
}
.news ul {
  display: flex;
  /*flex-wrap:wrap;これは不要だが、理解のため*/
  justify-content: space-between;
  list-style: none;
  text-align: center;
  /*文字を中央に*/
  width: 100%;
}
@media (max-width: 900px) {
  .news ul {
    flex-direction: column;
    text-align: left;
  }
}
.news ul li {
  border-left: 1px solid black;
  padding-left: 20px;
  flex: 1;
}
.news ul li:first-child {
  border-left: none;
}
@media (max-width: 900px) {
  .news ul li {
    border: none;
    padding: 0 0 10px 0;
  }
}
.news ul li span {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 2px 5px;
}

.about {
  width: 100%;
  min-height: 400px;
  display: flex;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .about {
    flex-direction: column;
  }
}
.about .about_picture {
  width: 70%;
  height: 70%;
  overflow: hidden;
}
@media (max-width: 900px) {
  .about .about_picture {
    width: 100%;
  }
}
.about .about_picture img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.about .about_coment {
  width: 30%;
  padding: 0 5%;
  margin-top: 150px;
}
@media (max-width: 900px) {
  .about .about_coment {
    width: 100%;
    padding: 0;
    margin: 0 0 100px;
  }
}
.about .about_coment .title {
  position: relative;
  margin-bottom: 30px;
}
.about .about_coment .title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 2px;
  width: 100px;
  background-color: black;
}

.business {
  width: min(1000px, 100%);
  margin: 0 auto;
}
.business .title {
  position: relative;
  margin-bottom: 30px;
}
.business .title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 2px;
  background-color: black;
}
.business .content {
  width: 100%;
  display: flex;
  align-items: flex-start;
  /*これを入れることで、左右のcontent_,content_2が独立してそれぞれの高さになる。
  これがない時にはcontent_2にmargin-bottom:100px;が必要だった。*/
  gap: 50px;
  margin-bottom: 100px;
}
@media (max-width: 900px) {
  .business .content {
    flex-direction: column;
  }
}
.business .content .content_1 {
  display: grid;
  gap: 50px;
  width: 50%;
  margin-top: 100px;
}
@media (max-width: 900px) {
  .business .content .content_1 {
    width: 100%;
  }
}
.business .content .content_1 p::before {
  content: "-";
}
.business .content .content_1 img {
  width: 100%;
  height: auto;
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
}
.business .content .content_2 {
  display: grid;
  gap: 50px;
  width: 50%;
}
@media (max-width: 900px) {
  .business .content .content_2 {
    width: 100%;
  }
}
.business .content .content_2 p::before {
  content: "-";
}
.business .content .content_2 img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.company {
  width: min(1000px, 100%);
  margin: 0 auto 100px;
  position: relative;
}
@media (max-width: 900px) {
  .company {
    position: static;
  }
}
.company .company_wrap {
  background-color: white;
  padding: 4%;
  width: 60%;
}
@media (max-width: 900px) {
  .company .company_wrap {
    width: 100%;
  }
}
.company .company_wrap .title {
  position: relative;
  margin-bottom: 30px;
}
.company .company_wrap .title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 2px;
  width: 100px;
  background-color: black;
}
.company .company_wrap .company_text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.company .company_wrap .company_text .company_sub {
  display: flex;
}
.company .company_wrap .company_text .company_sub dt {
  width: 30%;
}
.company .company_wrap .company_text .company_sub dd {
  width: 70%;
}
.company .company_picture {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  overflow: hidden;
}
@media (max-width: 900px) {
  .company .company_picture {
    position: static;
    width: 100%;
  }
}
.company .company_picture img {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}

.footer {
  width: 100%;
  background-color: white;
  padding-top: 30px;
}
.footer .footer_title {
  width: min(1000px, 100%);
  margin: 0 auto 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 900px) {
  .footer .footer_title {
    flex-direction: column;
    align-items: flex-start;
  }
}
.footer .footer_copyright {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.news_press {
  width: min(1000px, 100%);
  min-height: 100vh;
  margin: 50px auto 0;
}
.news_press h2 {
  margin-bottom: 30px;
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: normal;
}
.news_press .news_title {
  display: flex;
  gap: 30px;
  list-style: none;
  border-bottom: 1px solid black;
  padding-bottom: 2px;
}
.news_press .news_title li {
  padding: 5px 10px;
  position: relative;
}
@media (max-width: 900px) {
  .news_press .news_title li {
    width: 50%;
  }
}
.news_press .news_title li a {
  display: block;
  color: black;
  text-decoration: none;
}
.news_press .news_title li.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: black;
}
.news_press .news_subtitle {
  margin-top: 30px;
}
.news_press .news_subtitle .news_menu {
  padding: 20px 0;
  border-bottom: 1px solid gray;
  width: 100%;
}
.news_press .news_subtitle span {
  display: inline-block;
  margin-left: 10px;
  background-color: black;
  color: white;
  padding: 2px 3px;
  font-size: 12px;
}

.contact {
  width: min(1000px, 90%);
  margin: 0 auto;
  min-height: 100vh;
}
.contact h4 {
  font-size: 32px;
}
.contact .contact_form {
  padding-top: 50px;
}
.contact .contact_form .contact_item {
  display: flex;
  flex-direction: column;
}
.contact .contact_form .contact_item label {
  padding: 5px 0;
}
.contact .contact_form .contact_item input {
  padding: 5px 0 5px 3px;
  outline: none;
}
.contact .contact_form .contact_item input:user-invalid {
  border: 2px solid red;
}
.contact .contact_form .contact_item textarea {
  padding: 5px 0 5px 3px;
  height: 50px;
  outline: none;
}
.contact .contact_form .contact_item textarea:user-invalid {
  border: 2px solid red;
}
.contact .contact_form .btn {
  display: block;
  padding: 5px 10px;
  margin: 20px auto;
}/*# sourceMappingURL=style.css.map */