@charset "utf-8";

/* ======================
common
====================== */
html {
  font-size: 62.5%;
}

:root {
  --baseFont: "游ゴシック体", "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN", "メイリオ", Meiryo, sans-serif;
  --subFont: "DM Sans", "游ゴシック体", "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN", "メイリオ", Meiryo, sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;
  --mainColor: #31414F;
  --baseColor: #FFF;
  --subColor: #466677;
  --accentColor: #3EB993;
}

body {
  font-family: "游ゴシック体", "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN", "メイリオ", Meiryo, sans-serif;
  width: 100%;
  font-style: normal;
  line-height: 1.6;
  color: var(--mainColor);
  background-color: var(--baseColor);
}

img {
  max-width: 100%;
  height: auto;
}

.pcBr {
  display: none;
}

@media screen and (min-width: 769px) {
  .spBr {
    display: none;
  }

  .pcBr {
    display: block;
  }
}

/* ======================
header
====================== */
.header__logo {
  width: min(40vw, 150px);
  position: absolute;
  top: 40px;
  right: 51%;
  transform: translateX(50%);
  z-index: 100;
  cursor: pointer;
}

.nav {
  backdrop-filter: blur(40px);
  background-color: rgba(255, 255, 255, 0.9);
  width: 80%;
  height: 100vh;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateX(100%);
  transition: 0.8s;
}

.nav.active {
  opacity: 1;
  transform: translateY(0);
}

.nav__content {
  height: 100vh;
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.nav__desc {
  display: none;
}

.nav__item {
  position: relative;
  margin: 0 12px;
  font-weight: var(--weight-semibold);
  line-height: 2.8;
  letter-spacing: 0.06em;
  padding-left: 40px;
}

.nav__txt {
  font-size: 2.1rem;
}

.nav__list {
  counter-reset: number 0;
}

.nav__item::before {
  position: absolute;
  left: 0;
  top: 20%;
  transform: translateY(-50%);
  font-family: var(--subFont);
  font-weight: var(--weight-black);
  font-size: 1.4rem;
  color: #C2C5C8;
  counter-increment: number 1;
  content: counter(number, decimal-leading-zero) "";
}

.nav__bottom {
  position: absolute;
  bottom: 8px;
}

.nav__logo {
  width: 185px;
  height: 43px;
}

.copy {
  color: var(--subColor);
  font-family: var(--subFont);
  font-weight: var(--weight-black);
  margin-top: 20px;
  text-align: center;
  font-size: 1.2rem;
}

/* nav hover */
.nav__group {
  position: relative;
  display: block;
  overflow: hidden;
  transition: 0.9s ease-in-out;
}

.nav__txt {
  display: block;
  transition: transform 0.4s ease-in-out;
}

.nav__txt:nth-child(odd) {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
}

@media (any-hover: hover) {
  .nav__group:hover .nav__txt:nth-child(even) {
    transform: translateY(-100%);
  }

  .nav__group:hover .nav__txt:nth-child(odd) {
    transform: translateY(0);
  }
}

.nav__btn {
  width: 40px;
  position: absolute;
  top: 42px;
  right: 40px;
  z-index: 1000;
}

.nav__line {
  display: block;
  border-radius: 1px;
  background-color: var(--mainColor);
  width: 40px;
  height: 1px;
  transition: 0.6s;
  margin-top: 8px;
}

.nav__line.active:nth-of-type(1) {
  transform: rotate(-25deg);
}

.nav__line.active:nth-of-type(2) {
  margin-top: 0;
  transform: rotate(25deg);
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .header__logo {
    width: min(40vw, 200px);
    position: absolute;
    top: 48px;
  }

  .nav {
    width: 70%;
  }

  .nav__txt {
    font-size: 2.4rem;
  }

  .nav__btn {
    width: 56px;
    position: absolute;
    top: 48px;
    right: 48px;
  }

  .nav__line {
    width: 56px;
  }

  .nav__logo {
    width: 212px;
    height: 60px;
  }

  .copy {
    font-size: 1.3rem;
  }
}

@media screen and (min-width: 1024px) {
  .header__logo {
    display: none;
  }

  .nav {
    backdrop-filter: blur(40px);
    background-color: rgba(255, 255, 255, 0.4);
    width: 546px;
    height: 80px;
    border-radius: 46px;
    position: fixed;
    top: 53px;
    right: 54px;
    transform: translateX(0);
    opacity: 1;
    transition: 0.3s ease;
  }

  .nav.active-transform {
    top: 14px;
    right: 14px;
  }

  .nav__content {
    height: 80px;
    position: absolute;
    top: 0;
    transform: translateY(0);
    display: flex;
    justify-content: flex-start;
    justify-content: center;
  }

  .nav__list {
    width: 100%;
    display: flex;
    flex-direction: row;
  }

  .nav__desc {
    display: block;
    color: #7896AF;
    font-size: 1rem;
    letter-spacing: 0.04em;
    font-family: var(--subFont);
    font-weight: var(--weight-semibold);
  }

  .nav__item {
    text-align: center;
    position: relative;
    margin: 0;
    font-weight: var(--weight-semibold);
    line-height: 2.2;
    letter-spacing: 0.06em;
    padding-left: 42px;
  }

  .nav__item:nth-of-type(2) {
    padding-left: 0;
  }

  .nav__txt {
    font-size: 1.5rem;
  }

  .nav__item::before {
    display: none;
  }

  .nav__item--home {
    display: none;
  }

  .nav__bottom {
    display: none;
  }

  .nav__btn {
    display: none;
  }
}

/* ======================
recruit
====================== */
.recruit {
  padding-top: 40px;
}

.recruit__group {
  max-width: 400px;
  margin: 0 auto;
  transition: 0.7s;
}

.recruit__group:hover {
  transform: scale(1.02);
  opacity: 0.9;
  transition: 0.7s;
}

.recruit__visual {
  max-height: 300px;
}

.recruit__visual img {
  display: block;
  border-radius: 10px 10px 0 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit__content {
  position: relative;
  border-radius: 0 0 10px 10px;
  padding: 24px 32px 42px;
  text-align: center;
  font-weight: var(--weight-bold);
  background-color: #E6E8EA;
}

.recruit__content::after {
  content: "RECRUIT";
  display: block;
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 1rem;
  color: var(--subColor);
  letter-spacing: 0.03em;
}

.recruit__title--main {
  background: linear-gradient(90deg, #31414F 0%, #7095B5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.4rem;
  font-family: var(--subFont);
  letter-spacing: 0.03em;
}

.recruit__title--sub {
  color: var(--subColor);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

.recruit__txt {
  display: inline-block;
  margin-top: 16px;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  line-height: 2.4;
  text-align: left;
  font-weight: var(--weight-medium);
}

@media screen and (min-width: 769px) {
  .recruit {
    margin: 0 auto;
  }

  .recruit__group {
    display: flex;
    max-width: 945px;
  }

  .recruit__visual {
    width: 50%;
    height: auto;
    max-height: none;
  }

  .recruit__visual img {
    border-radius: 10px 0 0 10px;
    height: 100%;
    max-height: none;
  }

  .recruit__content {
    width: 50%;
    border-radius: 0 10px 10px 0;
    padding: 41px 32px 42px;
  }

  .recruit__content::after {
    font-size: 1.2rem;
    letter-spacing: 0.04em;
  }

  .recruit__title--main {
    font-size: 3.2rem;
    letter-spacing: 0.04em;
  }

  .recruit__title--sub {
    font-size: 1.5rem;
    letter-spacing: 0.03em;
  }

  .recruit__txt {
    font-size: 1.3rem;
  }
}

/* ======================
contact
====================== */
.contact {
  margin-top: 108px;
}

.contact__group {
  max-width: 400px;
  margin: 0 auto;
}

.contact__visual {
  max-height: 128px;
}

.contact__visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 128px;
  border-radius: 8px;
  object-fit: cover;
  background-position: center;
}

.contact__content {
  /* max-width: 945px; */
  margin-top: 28px;
  display: flex;
  flex-direction: column;
}

.contact__telephone {
  text-align: center;
  margin-top: 8px;
}

.contact__telephone img {
  width: 240px;
}

.contact__desc {
  color: #466677;
  font-size: 1.2rem;
  font-weight: var(--weight-semibold);
  line-height: 1.8;
}

.contact__desc--tel {
  margin-top: 16px;
}

.contact__e-mail {
  margin-top: 22px;
  text-align: center;
}

.contact__e-mail img {
  width: 208px;
}

.e-mail {
  color: var(--accentColor);
  font-size: 2rem;
  font-family: var(--subFont);
  font-weight: var(--weight-black);
  position: relative;
  display: inline-block;
  overflow: hidden;
  transition: 0.4s ease-in-out;
}

.e-mail::after {
  margin-left: 8px;
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  background-image: url(../images/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.e-mail__txt {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.e-mail__txt:nth-child(odd) {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(100%);

}

@media (any-hover: hover) {
  .e-mail:hover .e-mail__txt:nth-child(even) {
    transform: translateY(-100%);
  }

  .e-mail:hover .e-mail__txt:nth-child(odd) {
    transform: translateY(0);
    color: var(--accentColor);
  }
}

.contact__desc--e-mail {
  margin-top: 6px;
}

@media screen and (min-width: 769px) {
  .contact {
    margin-top: 186px;
  }

  .contact__group {
    max-width: 945px;
    margin: 0 auto;
  }

  .contact__visual {
    max-width: 945px;
    max-height: 280px;
  }

  .contact__visual img {
    max-height: 280px;
    border-radius: 10px;
  }

  .contact__content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .contact__content::before {
    position: absolute;
    left: 50%;
    display: inline-block;
    content: "";
    width: 1px;
    height: 100%;
    background: linear-gradient(#5A7891 0%, #CBCBCB 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 2s ease-out;
    z-index: 1;
  }

  .contact__content.animate::before {
    animation: drawLine 2s ease-out forwards;
  }

  @keyframes drawLine {
    0% {
      transform: scaleY(0);
      opacity: 0;
    }

    100% {
      transform: scaleY(1);
      opacity: 1;
    }
  }

  .contact__telephone {
    margin-top: 0px;
    padding: 0 32px;
  }

  .contact__telephone img {
    width: 376px;
  }

  .contact__desc {
    font-size: 1.5rem;
  }

  .contact__desc--tel {
    margin-top: 18px;
  }

  .contact__e-mail {
    margin-top: 0px;
    padding: 0 32px;
  }

  .contact__e-mail img {
    width: 248px;
  }

  .e-mail {
    font-size: 2.2rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .contact__desc {
    font-size: 1.5vw;
  }

  .contact__telephone img {
    width: 37.6vw;
  }

  .contact__e-mail img {
    width: 24.8vw;
  }

  .e-mail {
    font-size: 2.2vw;
  }
}

/* ======================
footer
====================== */
.footer {
  position: relative;
  padding: 0 28px 72px;
}

.footer__content {
  margin-top: 296px;
  width: 288px;
  margin: 80px auto 0;
}

.footer__logo {
  transition: 0.7s;
}

.footer__logo:hover {
  opacity: 0.7;
  transition: 0.7s;
}

.footer__logo img {
  width: 288px;
  transition: 0.7s;
}

.footer__nav {
  margin-top: 16px;
}

.nav__txt--footer {
  font-size: 1.4rem;
}

.footer__nav__wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer__nav__item {
  position: relative;
  color: var(--mainColor);
  font-size: min(3.2vw, 1.4rem);
  font-weight: var(--weight-bold);
  line-height: 2.8;
  letter-spacing: 0.02em;
}

.copy--footer {
  font-size: 1.4rem;
  margin-top: 28px;
}

@media screen and (min-width: 769px) {
  .footer__content {
    width: 320px;
  }

  .footer__logo img {
    width: 320px;
  }

  .footer__nav {
    margin-top: 16px;
  }

  .nav__txt--footer {
    font-size: 1.5rem;
  }

  .footer__nav__wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__nav__item {
    position: relative;
    color: var(--mainColor);
    font-size: min(3.2vw, 1.4rem);
    font-weight: var(--weight-bold);
    line-height: 2.8;
    letter-spacing: 0.02em;
  }

  .copy--footer {
    font-size: 1.5rem;
  }
}