/*==============================================================
header
==============================================================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 16px 40px;

  @media screen and (max-width: 1320px) {
    padding: 16px;
  }

  @media screen and (max-width: 991px) {
    padding: 8px 16px;
    height: 80px;
  }
}

.hdr-sp {
  display: none;

  @media screen and (max-width: 991px) {
    display: block;
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 4px;

  @media screen and (max-width: 991px) {
    height: 50px;
  }
}

.left-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex: 1;
  align-items: center;

  @media screen and (max-width: 991px) {
    padding: 0;
    height: 100%;
    justify-content: space-between;
    z-index: 10001;
  }
}

.header-contact {
  height: -webkit-fill-available;

  @media screen and (max-width: 991px) {
    display: none;
  }
}

.header-contact-inner {
  display: flex;
  align-items: center;
  background: #149737;
  gap: 8px;
  color: #fff;
  padding: 11px 16px;
  border-radius: 0 5px 5px 0;
  text-decoration: none;
  font-weight: bold;
  height: -webkit-fill-available;
}

.header-contact-inner img {
  max-height: 24px;
}

.header-contact.pc {
  @media (min-width: 991px) and (max-width: 1320px) {
    display: none;
  }
}

.header-contact.sp {
  display: none;

  @media (min-width: 991px) and (max-width: 1320px) {
    display: flex;
    position: absolute;
    top: 90px;
    right: 16px;
  }
}

.header-contact .contact-button {
  color: #fff;
  font-family: "Noto sans jp";
}

.site-logo {
  display: flex;
  align-items: center;
  position: relative;

  @media screen and (max-width: 991px) {
    height: 100%;
  }
}

footer .site-logo {
  @media screen and (max-width: 991px) {
    justify-content: center;
    height: 40px;
  }
}

.logo-img {
  height: 100%;
  background: #149737;
  padding: 8px 14px;
  display: flex;
  border-radius: 5px 0 0 5px;
  align-items: center;

  @media screen and (max-width: 991px) {
    padding: 4px 8px;
  }
}

.logo-img img {
  height: 40px;

  @media screen and (max-width: 991px) {
    height: 20px;
  }
}

.site-logo a {
  @media screen and (max-width: 991px) {
    display: flex;
    align-items: center;
    height: 100%;
  }
}

.logo-flex {
  display: flex;
  align-items: stretch;
  height: 100%;

  @media screen and (max-width: 991px) {
    height: 100%;
  }
}

.site-name {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 8px 8px 0;
  height: -webkit-fill-available;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-weight: 600;
  color: #333;
  font-size: clamp(0.875rem, 0.625rem + 0.5208vw, 1.25rem);
  height: initial;

  @media screen and (max-width: 991px) {
    padding: 0px 8px;
    height: 100%;
  }
}

.sp-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.right-header {
  position: relative;
  z-index: 10001;
  display: flex;
  align-items: center;
  height: -webkit-fill-available;

  @media screen and (max-width: 991px) {
    padding: 0;
  }
}

.right-header-cont {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px 0 0 8px;
  height: -webkit-fill-available;
  display: flex;
  gap: 8px;
  align-items: center;
  border-radius: 8px;
  padding-left: 16px;

  @media screen and (max-width: 991px) {
    backdrop-filter: unset;
    padding: 0px 8px;
  }
}

.nav-cont {
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  height: -webkit-fill-available;
}

.right-header-left {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 0 16px;

  @media screen and (max-width: 991px) {
    display: none;
  }
}

.global-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;

  @media screen and (max-width: 1320px) {
    gap: 16px;
  }

  @media screen and (max-width: 991px) {
    flex-direction: column;
    width: 100%;
    gap: 0px;
  }
}

.nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  position: relative;
  line-height: 1;
  transition: color 0.3s ease;
  font-size: clamp(0.875rem, 0.7917rem + 0.1736vw, 1rem);
  font-family: "Noto sans jp";

  @media screen and (max-width: 991px) {
    color: #ffffff;
  }
}

.nav-list li a:hover {
  color: #149737;
}

.hamburger {
  display: none;

  @media screen and (max-width: 991px) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10001;
  }
}

.hamburger span {
  display: none;

  @media screen and (max-width: 991px) {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
}

@media screen and (max-width: 991px) {
  .global-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 100px 24px 40px;
    background-color: #000000b3;
    transform: translateY(-100%);
    opacity: 0;
    transition:
      transform 0.4s ease,
      opacity 0.4s ease;
    z-index: 9999;
    pointer-events: none;
    align-items: center;
  }

  .global-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-list li:last-child a {
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 12px 16px;
  }

  .nav-list li a {
    display: block;
    padding: 12px 16px;
    border-top: 1px solid #ccc;
  }
}

.header-contact-sp {
  display: flex;
  justify-content: center;
  width: 100%;
}

.header-contact-sp .contact-button {
  display: block;
  background: #149737;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  width: 100%;
  font-weight: bold;
  white-space: nowrap;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;

  @media screen and (max-width: 1080px) {
    margin-top: 24px;
  }
}

.header-contact-sp .contact-button:hover {
  background: linear-gradient(135deg, #466bac, #30387b);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 15px rgba(7, 168, 217, 0.1);
}

.header-tell {
  display: block;

  @media screen and (max-width: 991px) {
    display: none;
  }
}

.tel-contact {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  gap: 6px;
}

.tel-icon img {
  height: 40px;
  width: auto;

  @media screen and (max-width: 991px) {
    position: relative;
    z-index: 10000;
  }
}

.tel-number-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: center;
}

.tel-number {
  font-size: clamp(1.25rem, 1.1667rem + 0.1736vw, 1.375rem);
  font-weight: bold;
  line-height: 20px;
}

.tel-hours {
  font-size: clamp(0.75rem, 0.6667rem + 0.1736vw, 0.875rem);
  color: #666;
}

.sp .tel-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  z-index: 15000;
}

.header-sp {
  display: none;

  @media screen and (max-width: 991px) {
    display: unset;
  }
}

/*==============================================================
Footer
==============================================================*/
.footer {
  z-index: 2;
  background-image: url("../assets/img/common/ftr-bg.jpg");
  position: relative;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
  }

  @media screen and (max-width: 991px) {
  }
}

footer .site-name {
  color: #fff;
}

.ftr-txt-cont {
  text-align: center;
  padding: 64px 0 0;

  @media screen and (max-width: 991px) {
    padding: 32px 0 0;
  }
}

.ftr-copy {
  font-size: clamp(1.5rem, -0.8333rem + 4.8611vw, 5rem);
  font-family: "shippori-antique-b1", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #fff;
}

.ftr-corp-name {
  color: #fff;
  font-weight: 600;
}

.footer-cont {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 0;
  gap: 68px;

  @media screen and (max-width: 1200px) {
    gap: 16px;
  }

  @media screen and (max-width: 991px) {
    position: unset;
    top: unset;
    left: unset;
    transform: unset;
    gap: 16px;
  }
}

.footer-inner {
  width: 100%;
  max-width: 1720px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 0px 16px 0;
  font-size: 14px;
  margin: 0 auto;

  @media (max-width: 991px) {
    flex-direction: column;
    gap: 4px;
    padding: 32px 0px 0px;
  }
}

.footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;

  @media screen and (max-width: 991px) {
    width: 100%;
  }
}

.footer-middle {
  flex: 1;
  display: flex;
  justify-content: center;

  @media screen and (max-width: 991px) {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0 0 0;
  }
}

.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 54px 0 0 0;

  @media screen and (max-width: 991px) {
    width: 100%;
    padding: 16px 0 0 0;
  }
}

.sub-menu-cont {
  display: flex;
  gap: 8px;

  @media screen and (max-width: 991px) {
    width: 100%;
    justify-content: center;
  }
}

.f-recruit,
.f-contact {
  @media screen and (max-width: 991px) {
    flex: 1;
  }
}

.f-btn {
  border-radius: 50px;
  border: 1px solid #fff;
  padding: 8px 24px;
  display: block;
  color: #fff;
  transition: all 0.3s ease;

  @media screen and (max-width: 991px) {
    text-align: center;
  }
}

.f-btn:hover {
  transform: scale(1.05);
}

.privacy {
  @media screen and (max-width: 991px) {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
  }
}

.privacy a {
  color: #7c7c7c;
  border-bottom: 1px solid #cccccc7d;
  padding-bottom: 4px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 320px;
  border-radius: 50px;
  margin-bottom: 16px;

  @media screen and (max-width: 991px) {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
  }
}

.footer-logo img {
  width: 100%;
  display: block;
  max-height: 100px;

  @media screen and (max-width: 991px) {
    max-height: 24px;
    max-height: max-content;
  }
}

.footer-info p {
  margin: 4px 0;
  font-size: 15px;
}

.footer-nav {
  width: 100%;
}

.footer-nav .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: right;

  @media screen and (max-width: 991px) {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex-direction: column;
    gap: 0px;
    flex-wrap: wrap;

    li {
      border-top: 1px solid #ccc;
      padding: 8px;
    }

    li:last-child {
      border-bottom: 1px solid #ccc;
    }
  }
}

.footer-menu li a {
  text-decoration: none;
  color: #ffffff;
  padding-bottom: 6px;
  border-bottom: 1px solid #fff;
  text-decoration: none;

  @media screen and (max-width: 991px) {
    font-weight: 600;
    border-bottom: unset;
  }
}

.footer-copy {
  font-size: 14px;
  margin-bottom: 16px;
  color: #ffffff;

  @media screen and (max-width: 991px) {
    margin: 0 0 16px 0;
    text-align: center;
  }
}

.footer-info.sp {
  width: 100%;
  max-width: 60%;
  margin: 0 auto 0 0;

  @media screen and (max-width: 991px) {
    margin: 0 auto;
    max-width: 90%;
    color: #fff;
    text-align: center;
  }
}

.produced-by {
  color: #ffffff;
  text-decoration: none;
  transition:
    color 0.3s ease,
    text-decoration 0.3s ease;
}

.produced-by:hover {
  color: #0077ff;
  text-decoration: none;
}

@supports (-webkit-touch-callout: none) {
  .footer-info p {
    color: #fff !important;
  }
}

@media screen and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  .footer-info p {
    color: #fff !important;
  }
}

.footer-info p {
  color: #fff !important;
}

.footer-info a {
  color: #fff !important;
  text-decoration: none; /* 必要なら下線消す */
}

.ftr-dec-img {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  position: absolute;
  bottom: 16px;

  @media screen and (max-width: 991px) {
    padding: 0 16px;
  }
}

.ftr-dec-img img {
  @media screen and (max-width: 991px) {
    max-width: 40px;
    width: 100%;
    height: auto;
  }
}

/* ========================================
   メニューのアクティブ状態スタイル
   hdr-ftr.css の最後に追加してください
   ======================================== */

/* 現在のページのメニュー項目 */
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
  color: #149737;
  font-weight: bold;
  position: relative;
}

/* アクティブメニューに下線を追加する場合 */
/* .nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 50px;
  background: linear-gradient(135deg, #d2d2d2, #ffffff, #a2a2a2, #d5d5d5, #cfcfcf);
} */

.nav-list .current-menu-parent > a,
.nav-list .current-page-parent > a,
.nav-list .current-menu-ancestor > a,
.nav-list .current_page_ancestor > a {
  color: #149737;
  font-weight: 600;
}

.nav-list .current-menu-item > a:hover,
.nav-list .current_page_item > a:hover {
  color: #149737;
}
