@charset "UTF-8";

/* =================================== */
/*          Common Components          */
/* =================================== */

/* Buttons */
.button {
  display: inline-block;
  background-color: #a20f19;
  color: #fff;
  padding: 20px 40px;
  border-radius: 32px;
  font-weight: bold;
  text-align: center;
  min-width: 250px;
}

.button--with-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 64px 18px 54px;
  width: 250px;
  height: 64px;
  min-width: auto;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
  font-size:16px;
  border: 0px;
}

.button--with-arrow:hover {
  opacity: 0.7;
}

.button__arrow-wrapper {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  background-color: #fff;
  border-radius: 50%;
}

.button--contact {
  background-color: #fff;
  color: #a20f19;
  border-radius: 36px;
  padding: 23px 40px;
  font-size: 17px;
  gap: 16px;
  transition: opacity 0.3s ease;
}

.button--contact:hover {
  opacity: 0.7;
}

.button__icon {
  display: inline-block;
  vertical-align: middle;
  vertical-align: text-top;
  padding-right: 20px;
}

.button--header {
  padding: 12px 24px;
  min-width: auto;
  font-size: 16px;
  border-radius: 24px;
}


/* Section Titles */
.section-title {
  position: relative;
  padding-left: 36px;
  margin-bottom: 8px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background-color: #a20f19;
}

.section-title__en {
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #a20f19;
}

.section-main-title {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: .08em;
  line-height: 2;
}

@media screen and (max-width: 520px) {
  .section-main-title {
    font-size: 30px;
  }
  .section-title {
    margin-bottom: 0px;
  }
}


/* Animations / Utilities */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #A20F19;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgb(34 34 34 / 25%);;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 100;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.back-to-top:hover {
  opacity: 0.9;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

._sp {
  display: none;
}

._pc {
  display: block;
}

@media screen and (max-width: 768px) {
    ._sp {
        display: block;
      }
      
      ._pc {
        display: none;
      }
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
}


/* =================================== */
/*              Header                 */
/* =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 100;
  transition: background-color 0.3s ease;
}

.header--scrolled {
  background-color: rgba(45, 45, 45, 0.9);
}

.header--scrolled .header__inner {
  padding: 10px 60px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 60px 20px 60px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  transition: padding 0.3s ease;
}

.header__logo img {
  width: 195px;
}

.header__nav-list {
  display: flex;
  gap: 36px;
  align-items: center;
}

.header__nav-item a {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.90px;
  color: #fff !important;
  transition: opacity 0.3s ease;
  position: relative;
  text-decoration: none;
}

.header__nav-item--top {
  display: none;
}

.header__nav-item a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.header__nav-item--top .header__nav-top-link::after {
  display: none;
}

.header__nav-item a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.header__contact-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background-color: #a20f19;
  border-radius: 4px;
  transition: opacity 0.3s ease;
}

.header__contact-button:hover {
  opacity: 0.7;
}

.header__hamburger {
  display: none;
}

.header__nav-footer {
  display: none;
}


/* Header Media Queries */
@media (min-width: 769px) {
  .header__inner {
    justify-content: flex-start;
    gap: 40px;
  }
  .header__nav {
    margin-left: auto;
  }
  .header__contact-button {
    position: static;
  }
}

@media (max-width: 1359px) and (min-width: 769px) {
  .header__nav-list {
    gap: 25px;
  }

  .header__nav-item a {
    font-size: 14px;
  }

  .header__logo img {
    width: 200px;
  }

  .header__inner {
    justify-content: flex-start;
    gap: 20px;
    padding: 50px 40px 20px 40px;
  }

  .header--scrolled .header__inner {
    padding: 10px 40px;
  }
}

@media screen and (max-width: 768px) {
  .header__inner {
    padding: 30px 20px;
  }

  .header--scrolled .header__inner {
    padding: 25px 20px
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(45, 45, 45, 0.95);
    transition: left 0.3s ease;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 140px 0 80px;
    box-sizing: border-box;
  }

  .header__nav.is-active {
    left: 0;
    background-color: #1C1C1C;
  }

  .header__nav-list {
    flex-direction: column;
    justify-content: center;
    height: auto;
    gap: 30px;
  }

  .header__nav-item--top {
    display: block;
    width: 100%;
  }

  .header__nav-top-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-decoration: none;
  }

  .header__nav-top-logo img {
    width: 200px;
    margin: 0 auto;
  }

  .header__nav-item a {
    font-size: 20px;
  }

  .header__contact-button {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    z-index: 102;
  }

  .header__hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #1c1c1c;
    border: none;
    cursor: pointer;
    z-index: 102;
    border-radius: 4px;
  }

  .header__hamburger span {
    position: absolute;
    left: 50%;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .header__hamburger span:nth-child(1) {
    top: 14px;
  }

  .header__hamburger span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .header__hamburger span:nth-child(3) {
    bottom: 14px;
  }

  .header__hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
  }

  .header__hamburger.is-active {
    background: #fff;
  }

  .header__hamburger.is-active span {
    background-color: #1c1c1c;
  }

  .header__nav.is-active .header__nav-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
  }

  .header__nav-address {
    font-size: 14px;
    line-height: 2;
    color: #fff;
    text-align: center;
  }

  .header__nav-footer .button--contact {
    width: 315px;
    box-sizing: border-box;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 520px) {
  .header__logo img {
    width: 180px;
  }

  .header__contact-button {
    width: 45px;
    height: 45px;
  }
}


/* =================================== */
/*              Footer                 */
/* =================================== */
.footer {
  color: #fff;
  position: relative;
  z-index: 2;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 40px 40px;
  box-sizing: border-box;
}

.footer__contact {
  background-color: #a20f19;
  padding: 120px 0;
}

.footer__contact .footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 40px;
}

.footer__contact-content {
  max-width: 780px;
}

.footer__contact .section-title {
  display: inline-block;
}

.footer__contact .section-title__en {
  color: #fff;
}

.footer__contact .section-title::before {
  background-color: #fff;
}

.footer__contact .section-main-title {
  color: #fff;
}

.footer__contact-text {
  color: #fff;
  font-size: 16px;
  line-height: 2;
  margin-top: 24px;
}

.footer__main {
  background-color: #1c1c1c;
}

.footer__body {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 60px;
}

.footer__info {
  flex: 1;
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__address {
  color: #fff;
  font-size: 15px;
  line-height: 2;
}

.footer__message {
  flex: 1.5;
}

.footer__message-title {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 20px;
}

.footer__message-text {
  color: #fff;
  font-size: 15px;
  line-height: 2;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__nav {
  padding: 40px 0;
}

.footer__nav-list {
  display: flex;
  gap: 36px;
  align-items: center;
}

.footer__nav-item--recruit {
  display: flex;
  align-items: center;
}

.footer__nav-link--recruit {
  display: inline-flex;
  align-items: center;
}

.footer__recruit-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  background-color: #a20f19;
  border-radius: 4px;
  margin-left: 40px;
  transition: opacity 0.3s ease;
}

.footer__recruit-icon:hover {
  opacity: 0.7;
}

.footer__nav-item a {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  position: relative;
  text-decoration: none;
}

.footer__nav-item a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.footer__nav-item a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer__nav-item a.footer__nav-link--recruit::after,
.footer__nav-item a.footer__recruit-icon::after {
  content: none;
}

.footer__nav-link-text {
  position: relative;
}

.footer__nav-link-text::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.footer__nav-link-text:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer__policy a {
  color: #fff;
  font-size: 13px;
  line-height: 2;
  position: relative;
  text-decoration: none;
}

.footer__policy a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.footer__policy a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer__copyright {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #fff;
}

/* Footer Media Queries */
@media screen and (max-width: 768px) {
  .footer__contact {
    padding: 60px 20px;
  }

  .footer__contact .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 0;
  }

  .footer__contact .button--contact {
    align-self: center;
  }

  .footer__main .footer__inner {
    padding: 60px 20px 20px;
  }

  .footer__body {
    flex-direction: column-reverse;
    gap: 30px;
    align-items: center;
    padding-bottom: 40px;
  }

  .footer__info {
    text-align: center;
  }

  .footer__nav {
    padding: 30px 0;
  }

  .footer__logo {
    margin-left: 20px;
  }

  .footer__message {
    margin-bottom: 65px;
  }

  .footer__message-title {
    font-size: 16px;
    line-height: 2;
  }

  .footer__message-text {
    font-size: 16px;
  }

  .footer__address {
    font-size: 16px;
    margin-top: 38px;
  }

  .footer__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }

  .footer__nav-item--recruit {
    flex-direction: column;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer__contact .section-title,
  .footer__contact .section-main-title {
    text-align: center !important;
  }

  .footer__recruit-icon {
    margin-left: 0px;
    margin-top: 0px;
  }

  .footer__contact-content {
    text-align: center;
  }

  .footer__contact-text {
    text-align: left;
  }

  .button--contact {
    padding: 20px 40px;
    font-size: 16px;
  }
}

@media screen and (max-width: 520px) {
  .footer__message-text {
    font-size: 14px;
    line-height: 2;
  }

  .footer__address {
    font-size: 14px;
  }
}


br.u-sp-only-br {
  display: none;
}

@media (max-width: 520px) {
  br.u-sp-only-br { 
    display: block;
  }
}