@import "./destyle.css";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");

:root {
  --text: #484848;
  --text-light: #5e9eba;
  --white: #ffffff;
  --primary: #53b6e0;
  --secondary: #2c5aa0;
  --bg-light: #d9e5f4;
  --bg-gray: #f8f9fa;
  --footer-bg: #434242;
  --border-gray: #e9ecef;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  line-height: 1.5;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 80px;
  transition: opacity 0.3s;
}

.u-sp-only {
  display: block;
}
@media screen and (min-width: 1025px) {
  .u-sp-only {
    display: none;
  }
}

.u-pc-only {
  display: none;
}
@media screen and (min-width: 1025px) {
  .u-pc-only {
    display: block;
  }
}

/* Header */
.header {
  width: 100%;
  height: 81px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  border-top: 4px solid;
  border-image: linear-gradient(180deg, #53b6e0 31%, #4aa1c6 100%);
  border-image-slice: 1;
}

@media screen and (min-width: 1025px) {
  .header {
    width: 100%;
    height: 90px;
    background-color: var(--white);
    position: relative;
    border-top: 6px solid;
    border-image: linear-gradient(180deg, #53b6e0 31%, #4aa1c6 100%);
    border-image-slice: 1;
  }
}

.header__inner {
  padding: 18px 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
}
@media screen and (min-width: 1025px) {
  .header__inner {
    height: 100%;
    padding-left: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
}
@media screen and (min-width: 1440px) {
  .header__inner {
    justify-content: space-between;
  }
}

.header__logo img {
  width: 130px;
}
@media screen and (min-width: 1025px) {
  .header__logo img {
    width: 150px;
  }
}

.header__nav,
.header__button {
  display: none;
}
@media screen and (min-width: 1025px) {
  .header__nav,
  .header__button {
    display: block;
  }
}

.header__hamburger {
  display: block;
  width: 40px;
  height: 26px;
  position: relative;
  cursor: pointer;
  z-index: 102;
  top: 9px;
  left: 0;
}
@media screen and (min-width: 1025px) {
  .header__hamburger {
    display: none;
  }
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #4671a2;
  position: absolute;
  transition: 0.3s;
}

.header__hamburger span:nth-child(1) {
  top: 0;
}
.header__hamburger span:nth-child(2) {
  top: 12px;
}
.header__hamburger span:nth-child(3) {
  bottom: 0;
}

.header__hamburger.is-active span:nth-child(1) {
  top: 13px;
  transform: rotate(45deg);
  background-color: #4671a2;
}

.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
  bottom: 12px;
  transform: rotate(-45deg);
  background-color: #4671a2;
}

/* menu active */
.header.is-menu-open .header__logo {
  opacity: 0;
  position: relative;
}

.header.is-menu-open {
  border-image: linear-gradient(transparent);
}

/* drawer menu */
.drawer-menu {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  z-index: 99;
  transition: right 0.3s;
  padding-top: 85px;
  overflow-y: auto;
}

.drawer-menu.is-active {
  right: 0;
}

.drawer-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px 0 2px 14px;
}

.drawer-menu__item {
  width: 86.5%;
  border-bottom: 1px dashed #c2c2c2;
}

.drawer-menu__item:first-child {
  border-top: none;
}

.drawer-menu__item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0px 11px;
  color: var(--text);
  font-family: "Noto Sans JP";
  font-weight: 700;
  text-decoration: none;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  position: relative;
}

.drawer-menu__item a:hover {
  color: #4aa1c6;
}

.drawer-menu__item a:after {
  content: url(../../images/common/arrow_right_black.svg);
  margin-right: 5%;
}

.drawer-menu__icon {
  width: 18px;
  margin-right: 10px;
}

main {
  padding-top: 85px;
}
@media screen and (min-width: 1025px) {
  main {
    padding-top: 0;
  }
}

@media screen and (min-width: 1025px) {
  .mail_icon {
    position: absolute;
    top: 15px;
    right: 63px;
    width: 32.8px;
  }

  .button__text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 47px;
    left: 32px;
    color: var(--white);
  }

  .button__text-ja {
    font-size: 1.44rem;
    font-weight: 500;
    letter-spacing: 0.05em;
  }

  .button__text-en {
    font-size: 1rem;
    font-family: "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.05em;
  }

  .drawer-menu {
    display: none;
  }

  .header__nav-item a:hover {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 16px;
  }

  .header__button .button__contact {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .button__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 112px;
    position: absolute;
    top: 0;
    right: 3.8%;
    flex-direction: column;
    gap: 5px;
  }

  .header_contactUS {
    position: absolute;
    top: -6px;
  }

  .header_contactUS:nth-of-type(2) {
    opacity: 0;
    position: absolute;
    left: 0%;
  }

  .header_contactUS:hover {
    opacity: 1;
  }
}

@media screen and (min-width: 1025px) {
  .header__nav-item a {
    color: var(--text);
    font-family: "Noto Sans JP";
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    transition: color 0.3s;
  }
}
@media screen and (min-width: 1280px) {
  header .header__nav-item a {
    font-size: 1.6rem;
  }
}

@media screen and (min-width: 1025px) {
  .header__nav {
    margin-left: 0;
  }
}
@media screen and (min-width: 1280px) {
  .header__nav {
    margin-left: 57px;
  }
}

@media screen and (min-width: 1025px) {
  .header__nav-list {
    display: flex;
    gap: 8px;
    margin-top: 5px;
  }
}
@media screen and (min-width: 1280px) {
  .header__nav-list {
    gap: 20px;
  }
}

/* footer */
.footer {
  position: relative;
  margin-top: 100px;
  background-color: var(--footer-bg);
  padding: 26px 0 39px;
  color: var(--white);
}
@media screen and (min-width: 1025px) {
  .footer {
    margin-top: 200px;
    padding: 27px 0 0;
  }
}

.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 1025px) {
  .footer__inner {
    display: flex;
    justify-content: space-between;
    padding-right: 50px;
  }

  .footer__logo {
    width: 150px;
    margin-left: 48px;
    padding-top: 20px;
  }
}

.footer__nav {
  display: none;
}
@media screen and (min-width: 1025px) {
  .footer__nav {
    display: block;
  }
}

@media screen and (min-width: 1025px) {
  .footer__nav-list {
    align-items: center;
    display: inline-flex;
    gap: 40px;
  }
}

.footer__logo img {
  width: 180px;
}
@media screen and (min-width: 1025px) {
  .footer__logo img {
    width: 150px;
  }
}

@media screen and (min-width: 1025px) {
  .footer__nav-item a {
    color: var(--white);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.footer__copyright {
  border-top: 1px solid var(--white);
  width: 100%;
  color: var(--white);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-top: 24px;
  padding: 12px 0;
}
@media screen and (min-width: 1025px) {
  .footer__copyright {
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    margin-top: 54px;
    padding: 11px 0 13px;
  }
}

/* page Top */
#pagetop {
  position: fixed;
  bottom: 25%;
  right: 41%;
  z-index: 10;
  width: 60px;
  height: 60px;
  background-color: var(--white);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  gap: 6px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.01em;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

@media screen and (min-width: 1025px) {
  #pagetop {
    bottom: 31.4%;
    right: 4%;
  }
}

#pagetop:hover {
  background-color: var(--primary);
  border: 1px solid var(--white);
}

.pagetop__circle img {
  width: 20px;
}

#pagetop:hover .pagetop__circle img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%)
    hue-rotate(116deg) brightness(100%) contrast(104%);
}

.pagetop__text {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  color: #87cdeb;
}

#pagetop:hover .pagetop__text {
  color: var(--white);
}

#pagetop.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
