
@charset "utf-8";

/* ===================================
Header
=================================== */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 1000;
  box-sizing: border-box;
}

/* ロゴ */
.header-logo {
  display: block;
  width: 100px;
}

.header-logo img {
  display: block;
  width: 100%;
}

/* ===================================
Hamburger
=================================== */

.header-right {
  position: fixed;
  top: 24px;
  right: 5%;
  z-index: 1000002;
}

.hamBtn {
  width: 64px;
  height: 22px;
  background: #fff;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hamBar {
  position: relative;
  width: 28px;
  height: 8px;
}

.hamBar > div {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #152B3D;
  transition: 0.4s;
}

.hamBar > div:nth-child(1) {
  top: 0;
}

.hamBar > div:nth-child(2) {
  top: 50%;
  opacity: 0;
}

.hamBar > div:nth-child(3) {
  top: 100%;
}

/* 開いたとき */
.hamBar.active > div:nth-child(1) {
  top: 4px;
  transform: rotate(-10deg);
}

.hamBar.active > div:nth-child(2) {
  opacity: 0;
}

.hamBar.active > div:nth-child(3) {
  top: 4px;
  transform: rotate(10deg);
}

/* ===================================
Hamburger Menu
=================================== */

.sp__menu {
  position: fixed;
  top: 14px;
  right: 4%;
  max-width: 400px;
  width: 100%;
  max-height: calc(100dvh - 40px);
  padding: 80px 3rem 2.5rem;
  border-radius: 10px;
  box-sizing: border-box;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(32px) brightness(1.8);
  -webkit-backdrop-filter: blur(32px) brightness(1.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sp__menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===================================
Menu Layout
=================================== */

.sp__menu .footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  gap: 40px;
}

/* フッター共通CSSの影響を防ぐ */
.sp__menu .footer-menu {
  width: 100%;
}

.sp__menu .footer-menu-list,
.sp__menu .footer-menu-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sp__menu .footer-menu-col {
  gap: 18px;
}

/* ===================================
Main Menu
=================================== */

.sp__menu .footer-menu-col > a,
.sp__menu .c4217 > a:first-child {
  display: block;
  width: fit-content;
  color: #202327;
  text-decoration: none;
}

.sp__menu .footer-menu-col > a p,
.sp__menu .c4217 > a:first-child p {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 400;
  color: #202327;
}

.sp__menu .footer-menu-col a{
  transition:0.3s;
}

.sp__menu .footer-menu-col a:hover{
  color:#C5A367;
}

/* ===================================
SERVICES Submenu
=================================== */

.sp__menu .c4217 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

/* SERVICES */
.sp__menu .c4217 > a:first-child {
  margin-bottom: 5px;
}

/* 子メニュー */
.sp__menu .c4217 > a:not(:first-child) {
  display: block;
  width: fit-content;
  margin-left: 20px;
  color: #444;
  text-decoration: none;
}

.sp__menu .c4217 > a:not(:first-child) p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #444;
}

/* ===================================
Menu Hover
=================================== */

.sp__menu .footer-menu-col a {
  transition: color 0.3s;
}

.sp__menu .footer-menu-col a:hover {
  opacity: 1;
}

.sp__menu .footer-menu-col a:hover p {
  color: #C5A367;
}

/* ===================================
Social
=================================== */

.sp__menu .footer-social {
  width: 100%;
  margin-top: auto;
  padding-bottom: 15px;
  border-bottom: 1px solid #aaa;
}

/* Socialの見出しを非表示 */
.sp__menu .footer-social > .footer-title {
  display: none;
}

.sp__menu .footer-social .footer-menu-list {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.sp__menu .footer-social-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  width: 100%;
}

.sp__menu .footer-social-list a {
  display: block;
  width: fit-content;
  color: #444;
  text-decoration: none;
}

.sp__menu .footer-social-list a p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  color: #444;
}

.sp__menu .footer-social-list a:hover {
  opacity: 1;
}

.sp__menu .footer-social-list a:hover p {
  color: #C5A367;
}

/* ===================================
Overlay
=================================== */

.ham-cover {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10000;
  transition: 0.3s;
}

.ham-cover.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===================================
Tablet
=================================== */

@media screen and (max-width: 1024px) {

  .sp__menu {
    width: 480px;
    padding: 75px 55px 35px;
  }

  .sp__menu .footer-menu-col > a p,
  .sp__menu .c4217 > a:first-child p {
    font-size: 30px;
  }
}

/* ===================================
SP
=================================== */

@media screen and (max-width: 767px) {

  .header {
    padding: 12px 5%;
  }

  .header-logo {
    width: 90px;
  }

  /* ハンバーガーボタン */
  .header-right {
    top: 16px;
    right: 5%;
  }

  .hamBtn {
    width: 56px;
    height: 22px;
  }

  .hamBar {
    width: 24px;
    height:6px;
  }

  /* ===================================
  SP Menu
  =================================== */

  .sp__menu {
    top: 8px;
    right: 2.5%;
    width: 95%;
    height: auto;
    padding: 65px 40px 30px;
    border-radius: 10px;
  }

  .sp__menu .footer-right {
    gap: 40px;
    justify-content: flex-start;
  }

  .sp__menu .footer-menu-col {
    gap: 16px;
  }

  /* メインメニュー */
  .sp__menu .footer-menu-col > a p,
  .sp__menu .c4217 > a:first-child p {
    font-size: 28px;
  }

  /* SERVICES */
  .sp__menu .c4217 {
    gap: 5px;
    margin-bottom: 8px;
  }

  .sp__menu .c4217 > a:first-child {
    margin-bottom: 5px;
  }

  .sp__menu .c4217 > a:not(:first-child) {
    margin-left: 18px;
  }

  .sp__menu .c4217 > a:not(:first-child) p {
    font-size: 13px;
  }

  /* Social */
  .sp__menu .footer-social {
    padding-bottom: 12px;
    margin-top: 0rem;
  }

  .sp__menu .footer-social-list {
    gap: 20px;
  }

  .sp__menu .footer-social-list a p {
    font-size: 12px;
  }
}

/* ===================================
Small SP
=================================== */

@media screen and (max-width: 375px) {

  .sp__menu {
    padding: 60px 30px 25px;
  }

  .sp__menu .footer-menu-col {
    gap: 12px;
  }

  .sp__menu .footer-menu-col > a p,
  .sp__menu .c4217 > a:first-child p {
    font-size: 25px;
  }

  .sp__menu .c4217 > a:not(:first-child) p {
    font-size: 12px;
  }

  .sp__menu .footer-social-list {
    gap: 15px;
  }
}
