/*==========
  body
==========*/
* {
  box-sizing: border-box;
}

html {
  /* scroll-behavior: smooth; */
  scroll-padding-top: 70px;
}

body {
  font-family: var(--familyNotoSans);
  color: var(--colorBlack);
  background: var(--colorLightGray);
}

a {
  color: var(--colorBlack);
}

.for-sp {
  display: none;
}

.for-tab {
  display: none;
}

.for-pc {
  display: block;
}

@media screen and (max-width: 989px) {
  .for-sp {
    display: none;
  }
  .for-tab {
    display: block;
  }
  .for-pc {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .for-sp {
    display: block;
  }
  .for-tab {
    display: block;
  }
  .for-pc {
    display: none;
  }
}

/*==========
  header
==========*/
.header {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1608);
  position: fixed;
  top: 2.36rem;
  left: 3.125rem;
  right: 3.125rem;
  transition: 0.2s ease-out;
  max-width: 100%;
  z-index: 100;
}

.header.home {
  box-shadow: unset;
}

.header.home.scrolled {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1608);
}

.header.scrolled {
  top: 1.25rem;
  background-color: var(--colorWhite);
  border-radius: 0.5rem;
  overflow: hidden;
  padding: 0 0 0 2.85rem;
  min-height: 4.625rem;
}

.headerNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo--scrolled {
  display: none;
}

.header.scrolled .header__logo {
  display: none;
}

.header.scrolled .header__logo--scrolled {
  display: block;
}

.headerNav__list {
  display: flex;
  align-items: center;
  gap: 2.65625rem;
}

.headerNav__listItem a {
  color: var(--colorWhite);
  font-weight: 500;
  transition: 0.3s;
}

.header.scrolled .headerNav__listItem.is-current a {
  color: var(--colorDarkBlue);
}

.headerNav__listItem a:hover {
  color: var(--colorDarkBlue);
  transition: 0.3s;
}

.header.scrolled .headerNav__listItem a {
  color: var(--colorDarkGray);
  display: block;
  font-weight: 500;
  transition: 0.3s;
}

.header.scrolled .headerNav__listItem a:hover {
  color: var(--colorDarkBlue);
  transition: 0.3s;
}

.header.scrolled .headerNav__contact a {
  color: var(--colorWhite);
  background-color: var(--colorDarkBlue);
  padding: 1.75rem 2rem;
  transition: 0.3s;
  border: var(--colorDarkBlue) solid 1px;
  border-radius: 0 0.5rem 0.5rem 0;
  font-weight: 600;
}

.header.scrolled .headerNav__contact a:hover {
  background: var(--colorWhite);
  color: var(--colorDarkBlue);
  transition: 0.3s;
}

@media screen and (max-width: 989px) {
  .header {
    top: 1.575rem;
    left: 1.25rem;
    right: 1.25rem;
  }
  .header.chilled {
    box-shadow: unset;
  }

  .header.active {
    position: fixed;
    justify-content: space-between;
    background-color: var(--colorBlue);
    inset: 0;
    overflow: scroll;
    width: 100%;
    height: 100dvh;
  }

  .header.active::after {
    content: "";
    position: absolute;
    top: 2.4rem;
    right: 0.875rem;
    display: block;
    background-image: url(../images/common/img-header-bg.svg);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    width: 41%;
    height: 100%;
  }

  .header.active .headerNav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 1.575rem 1.25rem;
  }

  .header__logo img {
    width: 8.2rem;
  }

  .headerNav__list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.65625rem;
    margin: 1.5rem auto 0;
    width: 87%;
  }

  .header.active .headerNav__list {
    display: flex;
  }

  .headerNav__listItem {
    font-weight: 500;
  }

  .headerNav__listItem .for-pc {
    display: none;
  }

  .headerNav__listItem a {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .headerNav__listItem .headerNav__itemTitle--en {
    font-family: var(--familyJost);
    font-size: 1.875rem;
    font-weight: 600;
  }

  .headerNav__linkList {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    width: 100%;
    position: relative;
    z-index: 2;
  }

  .headerNav__linkListItem a {
    font-size: 0.8125rem;
    color: var(--colorWhite);
  }

  .hamburger {
    position: fixed;
    top: 1.15rem;
    right: 1.25rem;
    background-color: var(--colorDarkGray);
    border-radius: 999px;
    cursor: pointer;
    padding: 1.57rem 1.21875rem;
    width: 4rem;
    z-index: 100;
  }

  .hamburger span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    background-color: var(--colorWhite);
    width: 1.625rem;
    height: 1px;
  }

  .hamburger span:nth-of-type(1) {
    transform: translate(-50%, -5px);
    transition: transform 0.2s ease-out;
  }

  .hamburger span:nth-of-type(2) {
    transform: translate(-50%, 5px);
    transition: transform 0.2s ease-out;
  }

  .header.active .hamburger span:nth-of-type(1) {
    transform: translate(-50%, -50%) rotate(-21deg);
  }

  .header.active .hamburger span:nth-of-type(2) {
    transform: translate(-50%, -50%) rotate(21deg);
  }
}

/* LINE */
.line--fixed {
  position: fixed;
  bottom: 2rem;
  right: 2.5rem;
  transition: opacity 0.3s ease-out;
  z-index: 99;
}

.line--fixed:hover {
  opacity: 0.7;
}

.line--fixed.is-hide {
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .line--fixed {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3.125rem;
    height: 3.125rem;
  }
}

/*==========
  breadcrumbs
==========*/
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--colorLightBlack);
  margin: 6.75rem auto 0;
  width: 91.63%;
}

.breadcrumbs span a,
.breadcrumbs span {
  font-size: 0.8125rem;
  color: var(--colorLightBlack);
}

.breadcrumbs ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.breadcrumbs ul li:after {
  content: "〉";
  margin-left: 0.5em;
}

.breadcrumbs ul li:last-child:after {
  content: "";
  display: none;
}

@media screen and (max-width: 767px) {
  .breadcrumbs {
    order: 2;
    font-size: 0.75rem;
    margin: 0.875rem auto 0;
    width: 89.33%;
  }
}

/*==========
  section
==========*/
.fade-in {
  opacity: 0;
  transform: translateY(5rem);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

.container {
  position: relative;
  width: 83.33%;
  margin-inline: auto;
  z-index: 3;
}

.container hgroup {
  width: fit-content;
}

.section__title--ja {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--colorWhite);
  padding-left: 0.45rem;
}

.section__title {
  font-size: 6rem;
  font-weight: 600;
  font-family: var(--familyJost);
  color: var(--colorWhite);
  line-height: 1.1;
}

.section__title--gray .section__title--ja {
  color: var(--colorBlack);
}

.section__title--gray .section__title {
  color: var(--colorGray);
}

.page__title .container {
  margin-inline: auto 0;
  width: 100%;
}

.page__titleContainer {
  margin: 1.5rem 0 0 auto;
  width: 91.63%;
}

.page__titleImg {
  filter: brightness(80%);
  margin-left: auto;
  width: fit-content;
}

.page__titleImg img {
  width: 100%;
}

.page__title {
  position: relative;
}

.page__title hgroup {
  position: absolute;
  top: 53.5%;
  left: 19.1%;
  transform: translateY(-50%);
}

.page__title .section__title--ja {
  font-size: 1rem;
  font-family: var(--familyNotoSans);
}

.page__title .section__title {
  font-size: 4.375rem;
  line-height: 1.27;
}

.page__title .section__title .section__title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  letter-spacing: 1.7%;
}

@media screen and (max-width: 767px) {
  .page__title .section__title .section__title {
    letter-spacing: 0;
  }
  .container {
    width: 89.33%;
  }

  .section__title--ja {
    font-size: min(4vw, 0.9375rem);
    padding-left: 0;
  }

  .section__title {
    font-size: min(13.87vw, 3.25rem);
    line-height: 1.4;
  }

  .page__title .container {
    display: grid;
    width: 100%;
  }

  .page__titleContainer {
    margin-top: 0;
    width: 100%;
  }

  .page__title hgroup {
    top: 52.1%;
    left: 8%;
  }

  .page__title .section__title {
    font-size: min(13.87vw, 3.25rem);
    letter-spacing: 0;
  }

  .section__title--ja {
    font-size: min(4vw, 0.9375rem);
    letter-spacing: -5%;
    padding-left: 0;
  }
  .page__titleImg {
    margin-left: 0;
    width: 100%;
  }
  .page__title img {
    width: 100%;
  }
}

/* contact */
.contact__container {
  margin: 5.875rem auto 0;
  width: 66.67%;
}

.contact__leadText {
  color: var(--colorDarkBlack);
  line-height: 1.8;
}

.contact__form {
  margin-top: 2.4375rem;
}

.form__row {
  display: grid;
  grid-template-columns: 8.5625rem 1fr;
  align-items: center;
  gap: 3.9375rem;
  margin-top: 1.25rem;
}

.form__label {
  color: var(--colorDarkBlack);
  font-size: 1rem;
  display: inline-block;
  line-height: 3rem;
  white-space: nowrap;
}

.form__textarea {
  align-items: flex-start;
}

.required::after {
  content: "＊";
  color: var(--colorBlue);
  font-size: 0.6rem;
  vertical-align: super;
  margin-left: 0.15rem;
}

.form__row input,
.form__row textarea {
  background-color: var(--colorWhite);
  border: 1px solid var(--colorBorderGray);
  border-radius: 0.625rem;
  font-size: 1rem;
  padding: 0.90625rem 1.5rem;
  width: 100%;
}

.form__row select {
  background-color: var(--colorWhite);
  border: 1px solid var(--colorBgGray);
  border-radius: 0.625rem;
  color: #000;
  font-size: 1rem;
  padding: 0.90625rem 1.5rem;
  width: 22.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.select_box .wpcf7-form-control-wrap {
  display: inline-block;
  position: relative;
}

.select_box .wpcf7-form-control-wrap:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 10px;
  height: 8px;
  background-image: url("../images/contact/icon_select.png");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none; /* 矢印部分をクリックしてもselectが開くようにする */
}

::placeholder {
  color: var(--colorPlaceholder);
}

.form__submit input {
  background-color: var(--colorDarkBlack);
  border: none;
  border-radius: 1.8125rem;
  color: var(--colorWhite);
  cursor: pointer;
  display: block;
  font-size: 1.125rem;
  padding-block: 1rem;
  margin: 3.5625rem auto 0;
  width: 18.125rem;
  transition: 0.3s;
}

.form__submit input:hover {
  background-color: var(--colorBlue);
  transition: 0.3s;
}

@media screen and (max-width: 989px) {
  .contact__container {
    margin-top: 2.3125rem;
    width: 100%;
  }

  .contact__leadText {
    font-size: 0.9375rem;
  }

  .contact__form {
    margin-top: 2.125rem;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0.6875rem;
    margin-top: 1.5rem;
  }

  .form__row input,
  .form__row textarea {
    font-size: 0.9375rem;
    padding: 0.6875rem 1.4375rem 0.8125rem;
  }

  .form__submit input {
    font-size: 1rem;
    padding-block: 0.8125rem;
    margin-top: 2.9375rem;
    width: 100%;
  }
  .form__row select {
    font-size: 0.9375rem;
    padding: 0.6875rem 1.4375rem 0.8125rem;
  }
}

@media screen and (max-width: 767px) {
  .contact__container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .contact__form {
    margin-top: 0;
  }
  .form__row {
    margin-top: 0.875rem;
    gap: 0;
  }
  .form__label {
    font-size: 0.9375rem;
  }
  .required::after {
    content: "*";
    font-size: 0.9375rem;
    vertical-align: baseline;
  }
  .form__row input,
  .form__row textarea {
    border-radius: 0.625rem;
  }
  .form__row textarea {
    height: 14.0625rem;
  }
  .form__submit input {
    margin-top: 2.625rem;
  }
}

@media screen and (max-width: 500px) {
  .form__row select {
    border-radius: 0.625rem;
    padding: 0.6875rem 2.375rem 0.8125rem 1.4375rem;
    width: 100%;
  }
}

/* btn */
.more__btn {
  cursor: pointer;
}

.more__btn a {
  display: flex;
  align-items: center;
  font-family: var(--familyJost);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--colorBlack);
  text-decoration: underline;
  text-decoration-color: var(--colorTextUnderline);
  text-underline-offset: 0.4rem;
  gap: 0.5625rem;
  transition: 0.3s;
}

.more__btnArrow {
  position: relative;
  display: block;
  background-color: var(--colorBlue);
  border-radius: 50%;
  width: 2.375rem;
  height: 2.375rem;
}

.more__btnArrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  background-image: url(../images/common/icon-arrow-white.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 0.775rem;
  height: 0.57rem;
}

.more__btn a:hover .more__btnArrow {
  background: var(--colorDarkBlue);
  transition: 0.3s;
}

@media screen and (max-width: 767px) {
  .more__btn a {
    font-size: 1rem;
    text-underline-offset: 0.5rem;
    gap: 0.9rem;
  }

  .more__btnArrow {
    width: 2.1875rem;
    height: 2.1875rem;
  }
}

/*==========
  footer
==========*/
.footer {
  position: relative;
  background-color: var(--colorDarkGray);
  margin-top: 8.625rem;
}

.pagetop__wrap {
  position: absolute;
  top: -1.1875rem;
  right: 1.875rem;
  transform: translateY(-100%);
  z-index: 4;
}

.pagetop {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  font-family: var(--familyJost);
  font-weight: 500;
  color: var(--colorBlue);
  gap: 0.75rem;
  transition: 0.3s;
}

.pagetop:hover {
  opacity: 0.75;
  transition: 0.3s;
}

.pagetop__arrow {
  position: relative;
  display: block;
  background-color: var(--colorBgBlue);
  border-radius: 50%;
  width: 2.375rem;
  height: 2.375rem;
}

.pagetop__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  background-image: url(../images/common/icon-pagetop.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 0.5rem;
  height: 0.375rem;
}

.footer__container {
  padding-block: 4.75rem 2.875rem;
}

.footer__contentWrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.875rem;
}

.footer__logo {
  flex-shrink: 0;
}

.footer__logo img {
  width: 9.66rem;
}

.footerNav {
  display: flex;
  align-items: center;
  gap: 2.51875rem;
}

.footerNav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6875rem;
}

.footerNav__listItem a {
  font-size: 0.875rem;
  color: var(--colorWhite);
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.footerNav__listItem a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--colorWhite);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footerNav__listItem a:hover::after {
  transform: scaleX(1);
}

.copyright {
  font-family: var(--familyJost);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--colorWhite);
  text-align: right;
  margin-top: 2.75rem;
}

@media screen and (max-width: 767px) {
  .footer {
    margin-top: 5.15rem;
  }

  .footer__container {
    padding-block: 1.5rem 2.875rem;
  }

  .pagetop__wrap {
    top: 1.25rem;
    right: 1.25rem;
    transform: translateY(0);
  }

  .pagetop {
    font-size: 0.6875rem;
    gap: 0.5rem;
  }

  .pagetop__arrow {
    width: 1.8125rem;
    height: 1.8125rem;
  }

  .pagetop__arrow::after {
    width: 0.4375rem;
    height: 0.375rem;
  }

  .footer__logo img {
    width: 6.99875rem;
  }

  .footerNav.for-pc {
    display: none;
  }

  .copyright {
    font-size: 0.6875rem;
    letter-spacing: -2.5%;
    margin-top: 2.45rem;
  }
}
