@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 {
  height: 700px;
  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;
}

.header-box {
  position: relative;
  margin-left: 90px;
}

.title {
  position: absolute;
  font-size: 100px;
  margin-top: 30px;
  margin-left: 30px;
  color: rgba(141, 160, 182, 0.5);
}
.tb-title {
  position: absolute;
  font-size: 80px;
  margin: 50px 0 0 50px;
}

.details-title-box {
  position: relative;
  margin-left: 100px;
}
.tb-title-back {
  position: absolute;
  opacity: 0.5;
}
.details-title {
  position: absolute;
  margin: 90px 0 0 100px;
  font-size: 30px;
  letter-spacing: 0.5rem;
}
.details {
  max-width: 750px;
  margin: 0 auto 200px;
  padding-top: 200px;
}
.details-item {
  position: relative;
  margin-bottom: 32px;
  padding: 32px 40px;
  background-color: #fff;
  border: 1px solid #777;
  clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
}
.details-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: -1;
}
.details-item-blue::before {
  background: #dfe2ff;
}
.details-item-yellow::before {
  background: #fff2c7;
}
.details-item-pink::before {
  background: #ffd0d0;
}
.details-heading {
  display: inline-block;
  margin: 0 0 16px 30px;
  padding: 4px 12px;
  font-size: 18px;
  background: #eef0ff;
}
.details-item-yellow .details-heading {
  background: #fff8df;
}
.details-item-pink .details-heading {
  background: #ffdfdf;
}



.tb-strengths-box {
  display: flex;
  margin: 0 200px;
}
.tele-img {
  width: 35%;
  object-fit: cover;
}
.strengths-box {
  margin: 100px 0 50px 80px;
}
.strengths-text {
  font-size: 2vw;
  letter-spacing: 0.5rem;
  padding-bottom: 30px;
}


.strengths-inner {
  background: rgba(141, 160, 182, 0.4);
  max-width: 1000px;
  margin: 150px auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strengths-item {
  position: relative;
  padding: 0 50px;
  text-align: left;
}
.strengths-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 0;
  width: 2px;
  height: calc(100% - 20px);
  background: #8da0b6;
}
.strengths-icon {
  position: absolute;
  top: -140px;
  left: 120px;
  width: 100px;
}
.strengths-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
  font-weight: normal;
}

#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;
  }

  #header {
    height: 250px;
  }
  .header-box {
    margin-left: 5px;
  }
  .title {
    font-size: 32px;
    color: rgba(141, 160, 182, 0.2);
    margin-left: 0;
  }
  .tb-title {
    font-size: 42px;
    margin: 10px 0 0 20px;
  }
  .details {
    margin-bottom: 100px;
    padding-top: 50px;
  }
  .details-title-box {
    margin-left: 30px;
  }
  .details-title {
    margin: 15px 0 0 15px;
  }
  .details-item,
  .details-item::before {
    all: unset;
  }
  .details-heading {
    margin-top: 50px;
  }
  .details-text {
    margin: 0 50px;
  }

  .tb-strengths-box {
    flex-direction: column;
    margin: 0 50px;
  }
  .tele-img {
    width: 200px;
  }
  .strengths-box {
    margin: 30px 20px;
  }
  .strengths-text {
    font-size: 18px;
  }

  .strengths-inner {
    background: none;
    margin: 100px auto 0;
    padding: 0 0;
    grid-template-columns: 1fr;
  }
  .strengths-item {
    padding-bottom: 50px;
  }
  .strengths-item:not(:last-child)::after {
    all: unset;
  }
  .strengths-icon {
    width: 40px;
    top: 0;
    left: 40px;
  }
  .strengths-title {
    text-align: left;
    margin-bottom: 10px;
    padding-left: 35px;
    align-items: center;
  }

  #footer {
    margin-top: 0;
  }
  .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;
  }
}