@charset "UTF-8";

/* ////////////////////////////////////////////////////////////////////
header
//////////////////////////////////////////////////////////////////// */

/* ==================================================
PC
================================================== */

.structure-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--color-line);
}

.structure-header .container {
  height: 86px;

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


/* --------------------------
logo
-------------------------- */

.header-logo {
  flex-shrink: 0;
}

.header-logo-link {
  position: relative;
  display: block;

  width: 241px;
  height: 46px;
}

.header-logo-img {
  display: block;

  width: 241px;
  height: auto;
}

.header-logo-img-hover {
  position: absolute;
  top: 0;
  left: 0;

  opacity: 0;

  transition: opacity 0.2s ease;
}

.header-logo-link:hover .header-logo-img-hover {
  opacity: 1;
}


/* --------------------------
header-nav
-------------------------- */

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav-list {
  display: flex;
  align-items: center;

  gap: 0;
}

.header-nav-item {
  display: flex;
  align-items: center;
}


/* --------------------------
PCメニュー罫線

ホーム │ 事務所案内 │ 業務内容 │ 料金案内
-------------------------- */

.header-nav-item:nth-child(-n+3)::after {
  content: "";

  display: inline-block;

  width: 2px;
  height: 14px;

  margin: 0 20px;

  background-color: rgba(31, 31, 31, 0.2);
}


/* --------------------------
通常メニュー
-------------------------- */

.header-nav-link {
  position: relative;

  display: inline-block;

  color: var(--color-text);

  font-size: 0.9375rem;
  font-weight: 700;

  transition: color 0.2s ease;
}

.nav-attention {
  color: var(--color-pink);
}

.header-nav-link::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -8px;

  width: 100%;
  height: 2px;

  background: var(--color-main);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.2s ease;
}

.header-nav-link:hover {
  color: var(--color-main);
}

.header-nav-link:hover::after {
  transform: scaleX(1);
}


/* --------------------------
お問い合わせ
-------------------------- */

.header-nav-item-contact {
  margin-left: 28px;
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  min-width: 142px;
  height: 42px;

  padding: 0 18px;

  color: var(--color-main);

  font-size: 0.875rem;
  font-weight: 700;

  background: var(--color-white);

  border: 2px solid var(--color-main);
  border-radius: 10px;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.header-contact-link:hover {
  color: var(--color-white);
  background: var(--color-main);
}


/* Google Material Symbols */

.header-contact-link .material-symbols-outlined {
  color: currentColor;

  font-size: 20px;
  line-height: 1;

  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}


/* --------------------------
hamburger button
-------------------------- */

.header-nav-toggle {
  display: none;

  position: relative;

  width: 42px;
  height: 42px;

  flex-shrink: 0;
}

.header-nav-toggle span {
  display: block;

  width: 34px;
  height: 3px;

  margin: 7px auto;

  background-color: var(--color-text);

  border-radius: 999px;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


/* --------------------------
hamburger active
-------------------------- */

.header-nav-toggle.is-active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.header-nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}


/* --------------------------
SNS
-------------------------- */

.header-sns {
  display: none;
}


/* ####################################################################
responsive
#################################################################### */

/* ==================================================
1150px以下
================================================== */

@media (max-width: 1150px) {

  /* --------------------------
  header
  -------------------------- */

  .structure-header {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 9999;

    width: 100%;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .structure-header .container {
    height: 80px;
  }


  /* --------------------------
  logo
  -------------------------- */

  .header-logo-link {
    width: 241px;
    height: 46px;
  }

  .header-logo-img {
    width: 241px;
  }


  /* --------------------------
  hamburger
  -------------------------- */

  .header-nav-toggle {
    display: block;

    position: relative;

    z-index: 1002;
  }

  .header-nav-toggle span {
    display: block;

    width: 34px;
    height: 3px;

    margin: 7px auto;

    background-color: var(--color-text);

    border-radius: 999px;
  }


  /* --------------------------
  右スライドメニュー
  -------------------------- */

  .header-nav {
    display: flex;

    position: fixed;

    top: 80px;
    right: 0;

    width: min(78vw, 360px);
    height: calc(100vh - 80px);

    padding: 28px 28px 40px;

    flex-direction: column;
    align-items: stretch;

    gap: 28px;

    background: rgba(103, 142, 124, 0.96);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    overflow-y: auto;

    z-index: 1000;

    transform: translateX(100%);

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0.3s ease;
  }


  /* 開いた状態 */

  .header-nav.is-active {
    transform: translateX(0);

    visibility: visible;
    opacity: 1;

    pointer-events: auto;
  }


  /* --------------------------
  navigation list
  -------------------------- */

  .header-nav-list {
    display: flex;

    flex-direction: column;

    width: 100%;

    gap: 0;
  }

  .header-nav-item {
    display: block;

    width: 100%;

    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }


  /* PC縦罫線を解除 */

  .header-nav-item:nth-child(-n+3)::after {
    display: none;
  }


  /* --------------------------
  navigation
  -------------------------- */

  .header-nav-link {
    display: block;

    width: 100%;

    padding: 18px 0;

    color: var(--color-white);

    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;

    text-align: left;
  }

  .header-nav-link::after {
    display: none;
  }

  .header-nav-link:hover {
    color: var(--color-white);
  }


  /* --------------------------
  お問い合わせ
  スマホでは通常メニュー形式
  -------------------------- */

  .header-nav-item-contact {
    margin-left: 0;
  }

  .header-contact-link {
    display: flex;

    align-items: center;
    justify-content: flex-start;

    gap: 9px;

    width: 100%;
    min-width: 0;
    height: auto;

    padding: 18px 0;

    color: var(--color-white);

    background: transparent;

    border: none;
    border-radius: 0;

    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;

    text-align: left;
  }

  .header-contact-link:hover {
    color: var(--color-white);
    background: transparent;
  }

  .header-contact-link .material-symbols-outlined {
    color: currentColor;

    font-size: 22px;
  }


  /* --------------------------
  SNS
  -------------------------- */

  .header-sns {
    display: flex;

    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    gap: 18px;
  }

  .header-sns-link,
  .header-sns-link img {
    width: 42px;
    height: 42px;
  }

  .header-sns-link img {
    display: block;

    object-fit: contain;
  }

}


/* ==================================================
スマートフォン
================================================== */

@media (max-width: 777px) {

  /* --------------------------
  logo
  -------------------------- */

  .header-logo-link {
    width: 220px;
    height: auto;
  }

  .header-logo-img {
    width: 220px;
  }


  /* --------------------------
  hamburger
  -------------------------- */

  .header-nav-toggle {
    display: block;

    width: 42px;
    height: 42px;
  }

  .header-nav-toggle span {
    display: block;

    width: 34px;
    height: 3px;

    margin: 7px auto;

    background-color: var(--color-text);

    border-radius: 999px;
  }


  /* --------------------------
  右スライドナビ
  -------------------------- */

  .header-nav {
    width: min(82vw, 340px);

    padding: 24px 24px 36px;
  }


  /* --------------------------
  navigation
  -------------------------- */

  .header-nav-link,
  .header-contact-link {
    padding: 17px 0;

    font-size: 1.0625rem;
  }


  /* --------------------------
  SNS
  -------------------------- */

  .header-sns {
    gap: 16px;
  }

  .header-sns-link,
  .header-sns-link img {
    width: 40px;
    height: 40px;
  }

}