* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

header {
  background-color: white;
  border-bottom: 2px solid #cd0009;
  padding-top: 10px;
  height: 87px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: end;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: space-between;
}

.logo {
  height: 60px;
  margin-bottom: 4px;
}

.header-text {
  margin-left: 20px;
  flex-grow: 1;
}

.tagline {
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: bold;
}

.website {
  font-size: 16px;
  color: gray;
  margin-top: 5px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li .nav-button {
  text-decoration: none;
  color: white;
  background-color: #cd0009;
  padding: 10px 20px;
  border: 1px solid #fff;
  border-bottom: none;
  font-weight: bold;
}

nav ul li:first-child .nav-button {
  border-left: none;
}

nav ul li:last-child .nav-button {
  border-right: none;
}

.hero {
  text-align: center;
}

.main_visual_wrapper {
  height: 750px;
  position: relative;
}

.main_visual_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_visual_white_back {
  position: absolute;
  height: 300px;
  width: 100%;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: #fff;
  opacity: 0.8;
}

.main_visual_wrapper p {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 40px;
  /* white-space: nowrap; */
}

.fade-in-text {
  opacity: 0;
  animation: fadeInUp 2s ease-in-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 0%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.content {
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.content_img_wrapper {
  height: 150px;
  position: relative;
  margin-bottom: 50px;
}

.content_img_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content_img_wrapper .content_h1_white_back {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: #fff;
  opacity: 0.6;
  width: 101%;
  height: 101%;
}

.content_img_wrapper h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
}

.content h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.table-wrapper {
  max-width: 720px;
  margin: 15px auto;
}

table {
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  max-width: 100%;
  margin-bottom: 15px;
}

table.comp-tbl {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #eee -moz-use-text-color -moz-use-text-color;
  border-image: none;
  border-right: 1px solid #eee;
  border-style: solid none none;
  border-width: 1px medium medium;
  font-size: 16px;
  width: 100%;
}

caption,
td {
  font-weight: normal;
  text-align: left;
}

th {
  text-align: center;
  font-weight: bold;
}

table.comp-tbl tr:nth-child(2n+1) th,
table.comp-tbl tr:nth-child(2n+1) td {
  background: none repeat scroll 0 0 #f9f9f9;
}

table.comp-tbl th,
table.comp-tbl td {
  border: 1px solid #eee;
  padding: 8px;
  line-height: 1.9;
  min-width: 80px;
}

.img-takken {
  width: 100%;
  text-align: right;
}

.img-takken img {
  width: 350px;
}

.flex_box {
  display: flex;
}

.message_title {
  justify-content: space-between;
  margin-bottom: 20px;
}

.message_h1_wrapper {
  margin-bottom: 50px;
}

.message_img_wrapper {
  height: 200px;
}

.message_img_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.message {
  max-width: 800px;
  width: 100%
}

.message p {
  line-height: 1.8;
}

.message .name {
  width: 100%;
  text-align: right;
  margin-top: 10px;
}

.message .name span {
  display: inline-block;
  text-align: left;
}

footer {
  background-color: #cd0009;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-spacer {
  width: 25%;
}

.footer-content {
  width: 50%;
  text-align: center;
}

.footer-content p {
  margin: 5px 0;
}

.footer-container .company-name {
  font-size: 30px;
  color: #fff;
}

.footer-container .company-address {
  line-height: 1.3em;
}

.footer-content .copyright {
  font-size: 12px;
}

.contact-info-wrapper {
  width: 25%;
}

.contact-info {
  margin: 0 auto;
  width: 100%;
  border: 1px solid #fff;
}

.contact-info .contact-title {
  background-color: #fff;
  color: #cd0009;
  font-weight: bold;
  margin: 0;
  padding: 5px;
  text-align: center;
}

.contact-info p {
  margin: 5px auto;
  padding-left: 28px;
  text-align: left;
}

.contact-info a {
  color: white;
  text-decoration: none;
}

.menu-icon {
  display: none;
  font-size: 30px;
}

.nav-menu.active {
  display: flex;
}

@media screen and (max-width: 900px) {
  .header-text {
    display: none;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 84px;
    right: 0;
    background-color: #fff;
    width: 200px;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-icon {
    height: 87px;
    width: 60px;
    display: block;
    cursor: pointer;
    font-size: 50px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1001;
    color: #cd0009;
  }

  .nav-button {
    display: inline-block;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    width: 100%;
  }

  .nav-button:hover {
    background-color: #f82929;
  }

  .main_visual_wrapper p {
    font-size: 35px;
  }

  .footer-container {
    flex-direction: column-reverse;
  }

  .contact-info-wrapper {
    width: 300px;
    margin-bottom: 20px;
  }

  .contact-info p {
    padding: 0;
    text-align: center;
  }

  .footer-content {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .content {
    padding-top: 40px;
  }

  .main_visual_wrapper {
    height: 400px;
  }

  .main_visual_wrapper p {
    font-size: 20px;
  }

  .nav-menu {
    width: 100vw;
  }

  nav ul li .nav-button {
    text-align: center;
  }


  .main_visual_white_back {
    height: 150px;
  }

  .message_title {
    justify-content: start;
  }

  .message_img_wrapper {
    margin-left: auto;
    width: 30%;
  }
}