@charset "utf-8";

#header {
  display: block;
}

.in {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1240px;
}

@media screen and (width <= 768px) {
  .in {
    margin-right: 0.625rem;
    margin-left: 0.625rem;
  }
}

.sp {
  display: none;
}

@media screen and (width <= 768px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: inherit;
  }
}

.hamburger-menu {
  display: none;
}

.menu-btn {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  background-color: #888;
}

.menu-btn span::before {
  bottom: 8px;
}

.menu-btn span::after {
  top: 8px;
}

#menu-btn-check {
  display: none;
}

#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgb(255 255 255 / 0%);
}

#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

#menu-btn-check:checked ~ .menu-content {
  left: 0;
}

.menu-content {
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  width: 100%;
  height: 100%;
  background-color: white;
  transition: all 0.5s;
}

.menu-content .menu-content-in {
  margin-top: 40px;
  padding-top: 20px;
  padding-left: 15px;
  height: 100%;
  background-color: white;
  font-weight: bold;
  font-size: 0.9375rem;
  line-height: 2rem;
}

.submenu-check {
  display: none;
}

.submenu-content {
  visibility: hidden;
  height: 0;
  opacity: 0;
}

.submenu-label {
  position: relative;
}

.submenu-label::before,
.submenu-label::after {
  content: "";
  position: absolute;
  right: -20px;
  display: block;
  border: 4px solid;
  transform: rotate(-45deg);
}

.submenu-label::before {
  top: 3px;
  border-color: transparent transparent #333 #333;
}

.submenu-label::after {
  top: 1px;
  border-color: transparent transparent #fff #fff;
}

.submenu-check:checked + .submenu-label::before {
  top: 9px;
  border-color: #333 #333 transparent transparent;
}

.submenu-check:checked + .submenu-label::after {
  top: 11px;
  border-color: #fff #fff transparent transparent;
}

.submenu-check:checked + .submenu-label + .submenu-content {
  display: table;
  visibility: visible;
  margin-right: -1rem;
  margin-left: -1rem;
  padding: 1rem 2rem;
  width: 110%;
  font-weight: normal;
  font-size: 0.75rem;
  line-height: 1.25rem;
  opacity: 1;
}

.submenu-content {
  background-color: #f3f3f3;
}

@media screen and (width <= 768px) {
  .hamburger-menu {
    display: block;
  }
}

.header1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

@media screen and (width <= 768px) {
  .header1 {
    margin-top: 10px;
  }
}

.header1 > div {
  display: flex;
  align-items: center;
}

.header1 > div > .corp_info {
  position: relative;
  margin-right: 1.5rem;
  font-size: 0.8125rem;
}

.header1 > div > .corp_info::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -0.5rem;
  border-top: 3px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid #0074c1;
  transform: translateY(-48%);
}

.header1 > div > .contact_sp {
  margin-right: 2.6rem;
  margin-left: 0.5rem;
}

.header1 > div > a > img {
  max-width: 100%;
}

.header2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  font-size: 0.875rem;
}

.header2 a {
  text-decoration: none;
}

.header2 > div {
  position: relative;
  padding: 0.25rem;
  width: 100%;
  border-right: solid 1px #e3e3e3;
  text-align: center;
}

.header2 > div:first-child {
  border-left: solid 1px #e3e3e3;
}

.header2 div a {
  white-space: nowrap;
}

.header2 div div {
  position: absolute;
  left: 0;
  z-index: 100;
  display: none;
  margin-top: 0.25rem;
  padding: 0.5rem 1rem;
  background-color: #f2f2f2;
  text-align: left;
}

.header2 div:last-child div {
  right: 0;
  left: auto;
}

.header2 div div a {
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  font-weight: normal;
}

.header2 div:hover div {
  display: block;
}

.header2 div div:hover {
  display: block;
}

.line {
  margin-top: 3rem;
  margin-bottom: 2rem;
  height: 4px;
  background-color: #f3f3f3;
  color: #fff;
}

.footer1 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1.1fr 1fr 0.9fr;
}

@media screen and (width <= 768px) {
  .footer1 {
    display: block;
    text-align: center;
  }

  .footer1 > div:not(:first-child) {
    display: none;
  }
}

.footer1 > div > a {
  display: block;
}

.footer1 > div > .misawa {
  margin-bottom: 2rem;
}

.footer1 > div > .contact {
  margin-bottom: 1rem;
}

.footer1 > div > h3 {
  position: relative;
  margin-bottom: 0.625rem;
  font-weight: bold;
  font-size: 0.875rem;
}

.footer1 > div > h3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -0.625rem;
  border-top: 0.5rem solid #0074c1;
  border-right: 2px solid #0074c1;
  border-bottom: 0.5rem solid #0074c1;
  border-left: 2px solid #0074c1;
  transform: translateY(-48%);
}

.footer1 > div > div {
  position: relative;
  margin-bottom: 2rem;
  margin-left: -1px;
  font-size: 0.875rem;
  line-height: 1.375rem;
}

.footer2 {
  padding: 2rem 0;
  background-color: #f3f3f3;
  font-size: 0.8125rem;
}

.footer2 > div {
  display: flex;
  justify-content: space-between;
}

.footer2 > div > div:first-child {
  display: flex;
}

@media screen and (width <= 768px) {
  .footer2 > div {
    display: block;
    text-align: center;
  }

  .footer2 > div > div:first-child {
    display: none;
  }
}

.footer2 > div > div:first-child > a {
  position: relative;
  left: 0.75rem;
  margin-right: 3rem;
}

.footer2 > div > div:first-child > a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -0.75rem;
  border-top: 3px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid #000;
  transform: translateY(-48%);
}

