@charset "utf-8";

html {
  font-size: 100%;
}
body {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
a {
  text-decoration: none;
  color: #000;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
p {
  line-height: 2.5;
}

#header {
  position: relative;
}
#header::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg,#fff,#8da0b6);
  transform: skewY(-7deg) translateY(-270px);
  z-index: -2;
}
.header-inner {
  display: flex;
  justify-content: space-between;
}
.logo {
  width: 150px;
}

.hamburger {
  position: fixed;
  right: 50px;
  top: 50px;
  width: 50px;
  height: 25px;
  cursor: pointer;
  z-index: 9999;
}
.hamburger__line {
  position: absolute;
  width: 50px;
  height: 4px;
  background-color: #8da0b6;
  border-radius: 5px;
  transition: all 300ms ease;
  transform: rotate(0deg);
}
.hamburger__line:nth-child(1) { top: 0px; }
.hamburger__line:nth-child(2) { top: 15px; }
.hamburger__line:nth-child(3) { top: 30px; }
.hamburger.open .hamburger__line:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger__line:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}
.hamburger.open .hamburger__line {
  background-color: #8da0b6;
}
.menu {
  position: fixed;
  top: 100px;
  right: 50px;
  z-index: 9998;
  flex-direction: column;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 300ms ease;
  width: 200px;
  background-color: #8da0b6;
  color: #fff;
  padding: 50px;
  gap: 10px;
}
.menu.open {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}
.menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #fff;
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;
}
.menu__item:last-child {
  border-bottom: none;
}
.icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.submenu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-left: 15px;
  margin-bottom: 20px;
}
.submenu.open {
  display: flex;
}
.submenu__item {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.9;
}
.submenu__item:hover {
  opacity: 1;
}

.title {
  font-size: 10vw;
  margin-top: 30px;
  margin-left: 100px;
  color: rgba(141, 160, 182, 0.5);
}
.header-title {
  font-size: 30px;
  margin-top: 30px;
  margin-left: 150px;
}

#about-mes {
  margin-top: 80px;
  margin-left: 150px;
}
.about-text {
  margin-bottom: 50px;
}

.vision-figures {
  position: relative;
  padding: 100px 0;
  font-size: 3vw;
}
.vision-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  z-index: -1;
}
.vision-figure {
  position: absolute;
  top: 30%;
  left: 2%;
}
.sincerity {
  color: #fff;
  -webkit-text-stroke: 2px #001686;
  paint-order: stroke;
  position: absolute;
  margin: 5px 585px;
}
.spirit {
  color: #fff;
  -webkit-text-stroke: 2px #655D00;
  paint-order: stroke;
  position: absolute;
  margin: 200px 500px;
}
.effort {
  color: #fff;
  -webkit-text-stroke: 2px #7F0200;
  paint-order: stroke;
  position: absolute;
  margin: 200px 750px;
}
.vision-text {
  position: absolute;
  width: 15%;
  font-size: 14px;
  line-height: 1.8;
}
.vision-text h3 {
  font-size: 25px;
  margin-bottom: 10px;
}
.spirit-color {
  color: #655D00;
}
.sincerity-color {
  color: #001686;
}
.effort-color {
  color: #7F0200;
}
.vision-text-left {
  top: 40%;
  left: 15%;
  border-left: 2px solid #b2b23c;
  padding: 0 0 50px 16px;
}
.vision-text-top {
  top: 5%;
  left: 60%;
  border-left: 2px solid #5c6bc0;
  padding: 0 0 50px 16px;
}
.vision-text-right {
  top: 50%;
  left: 70%;
  border-left: 2px solid#c24c44;
  padding: 0 0 50px 16px;
}

#footer {
  background: #555;
  color: #fff;
  margin-top: 100px;
  padding: 50px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.footer-left {
  flex: 2;
}
.footer-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}
.footer-nav a:hover {
  opacity: 0.7;
}
.footer-nav-service {
  position: relative;
}
.footer-nav-service-label {
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.footer-submenu {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #444;
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
  white-space: nowrap;
  z-index: 10;
  list-style: none;
}
.footer-submenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #444;
}
.footer-nav-service:hover .footer-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.footer-submenu a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.footer-submenu a:hover {
  opacity: 0.7;
}
.footer-company {
  position: relative;
  max-width: 360px;
}
.footer-logo {
  position: relative;
  left: -40px;
  bottom: -20px;
  width: 200%;
  opacity: 0.3;
}
.footer-company-text {
  position: absolute;
  left: 0;
  bottom: 0;
}
.footer-logo-text {
  font-size: 36px;
  letter-spacing: 0.3em;
  margin-bottom: 4px;
}
.footer-address {
  font-size: 14px;
  line-height: 1.5;
  font-style: normal;
}
.footer-right {
  flex: 1;
  display: flex;
  gap: 150px;
}
.footer-line {
  width: 1.5px;
  background: rgba(255, 255, 255, 0.4);
}
.footer-contact {
  display: flex;
  align-items: center;
}
.footer-contact-text p:first-child {
  font-size: 28px;
  margin-bottom: 8px;
}
.footer-contact-text p:nth-child(2) {
  font-size: 14px;
  margin-bottom: 24px;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}
.btn:hover {
  background: #fff;
  color: #555;
}

@media screen and (max-width: 767px) {
  html {
    font-size: 90%;
  }
  #header {
    padding-bottom: 50px;
  }
  #header::before {
    background: none;
  }
  .header-inner {
    padding: 0 10px;
  }
  .logo {
    width: 50px;
  }
  .hamburger {
    right: 30px;
    top: 30px;
    width: 30px;
    height: 25px;
  }
  .hamburger__line {
    width: 35px;
  }
  .hamburger__line:nth-child(1) { top: 0px; }
  .hamburger__line:nth-child(2) { top: 9px; }
  .hamburger__line:nth-child(3) { top: 18px; }
  .menu {
    right: 30px;
  }
  .title {
    margin-left: 50px;
  }
  .header-title {
    font-size: 18px;
    margin-left: 80px;
  }
  #about-mes {
    margin: 50px 50px;
  }
  .about-text {
    margin-bottom: 30px;
  }

  .vision-figures {
    padding: 50px 0;
  }
  .vision-img {
    width: 80%;
  }
  .vision-figure {
    display: none;
  }
  .vision-text {
    width: 55%;
  }
  .vision-text h3 {
    margin-bottom: 2px;
  }
  .vision-text-left {
    top: 60%;
    left: 6%;
    border-left: none;
  }
  .vision-text-top {
    top: 20%;
    left: 30%;
    border-left: none;
  }
  .vision-text-right {
    top: 48%;
    left: 50%;
    width: 50%;
    border-left: none;
  }



  .footer-inner {
    padding: 0 20px;
  }
  .footer-left {
    flex: 1;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 16px;
  }
  .footer-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    padding: 8px 0 0 16px;
    border-radius: 0;
    gap: 12px;
  }
  .footer-submenu::after {
    display: none;
  }
  .footer-company {
    max-width: 100%;
    margin-top: 30px;
  }
  .footer-logo {
    width: 140%;
    left: -10px;
    bottom: 0;
  }
  .footer-logo-text {
    margin-bottom: -10px;
  }

  .footer-right {
    flex-direction: column;
    gap: 24px;
  }

  .footer-line {
    background: none;
  }
  .footer-contact {
    align-items: none;
  }
  .footer-contact-text p:first-child {
    font-size: 22px;
  }

  .footer-btn {
    width: 100%;
    text-align: center;
  }
}
