@charset "UTF-8";
/* CSS Document */ :root {
  --primary-color: #f1e8e5;
  --background-color: #FBF9FA;
  --background-color-2: #F0ECE9;
  --text-color: #5a4c4f;
  --font-xl: clamp(50px, 8.59vw, 110px);
  --font-l: clamp(18px, 2.19vw, 28px);
  --font-m: clamp(12px, 1.25vw, 16px);
  --font-s: clamp(12px, 0.93vw, 14px);
  --font-xs: clamp(11px, 0vw, 12px);
}
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: var(--background-color);
  font-family: "Source Sans 3", YuGothic, "Yu Gothic", sans-serif;
  font-weight: 400;
  font-size: var(--font-m);
  line-height: 1.8;
}
h2 {
  font-size: var(--font-m);
  font-weight: 600;
  color: var(--text-color);
  line-height: 1;
  text-align: center;
  padding: 6em 0;
  letter-spacing: 0.08em;
}
h3 {
  font-size: var(--font-m);
  font-weight: 600;
  color: var(--text-color);
  line-height: 1;
  text-align: left;
  letter-spacing: 0.08em;
}
p {
  color: var(--text-color);
  letter-spacing: 0.08em;
  line-height: 2.3;
}
#g-nav {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -120%;
  width: 50%;
  height: 100vh;
  background: var(--background-color-2);
  transition: all 0.8s;
  background-color: rgba(240, 236, 233, 0.9);
}
#g-nav.panelactive {
  right: 0;
}
#g-nav.panelactive #g-nav-list {
  position: fixed;
  z-index: 999;
  width: 50%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#g-nav ul {
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#g-nav li {
  list-style: none;
  text-align: center;
}
#g-nav li a {
  color: var(--text-color);
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}
#g-nav-list a:hover {
  opacity: 0.7; /* 透明度を70%に調整 */
}
.reservation-box {
  width: 43vw;
  max-width: 590px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 5vw 3vw;
  margin: 5vh auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: static;
}
.reservation-title {
  margin-bottom: 1vh;
}
.button_section_reservation {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin-right: 0;
}
#g-nav li .nav_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.3em 3.5em;
  border-radius: 70px;
  text-decoration: none;
  outline: none;
  /*背景の色と形状*/
  background: linear-gradient(270deg, #F4E8E8 30%, #fbf9fa 100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  transition: all 0.4s ease-out;
  margin-top: 1.5em;
  position: relative;
  font-weight: 400;
}
.nav_button:hover {
  color: var(--text-color);
  background-position: 99% 50%;
}
.nav_button::after {
  content: '';
  position: absolute;
  right: -1em;
  width: 3em;
  height: 1px;
  background: var(--text-color);
  transition: transform 0.3s ease-out;
}
.nav_button:hover::after {
  transform: translateX(40%);
}
@media (max-width: 768px) {
  .reservation-box {
    width: 92vw;
    padding: 5vh 3vw;
  }
  .button_section_reservation {
    gap: 15px;
  }
  .nav_button {
    padding: 1.2em 4em;
    border-radius: 50px;
    font-size: 1rem;
  }
  .nav_button::after {
    right: -3.5%;
    width: 20px;
  }
  #g-nav {
    width: 100%;
    right: -100%;
  }
  #g-nav.panelactive {
    right: 0;
  }
  #g-nav.panelactive #g-nav-list {
    width: 100%;
  }
}
.header {
  position: fixed; /* 固定配置 */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between; /* 左右に配置 */
  align-items: center; /* 上下中央揃え */
  padding: 2em 3em 2em 4.2em;
  z-index: 1000;
  transition: background 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.4); /* 透過した白 */
}
/* ロゴを固定配置 */
.header h1 {
  display: flex;
  align-items: center;
  z-index: 1000;
}
.header h1 img {
  display: block; /* 余計な隙間を削除 */
  width: 2.5em; /* サイズ調整 */
  height: auto;
  vertical-align: middle; /* インライン要素のズレを修正 */
}
.header h1 a {
  display: inline-block; /* `img` のサイズに合わせて `a` の高さを適切にする */
  line-height: 1; /* 行の高さの影響をなくす */
}
.header h1 a:hover img {
  opacity: 0.5; /* 透明度を70%に調整 */
}
.openbtn {
  width: 5em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001; /* 背景より前に */
}
.openbtn span {
  position: absolute;
  width: 30%; /* 線の長さ */
  height: 1px; /* 線の太さ */
  background-color: var(--text-color);
  left: 50%; /* X 軸の中央 */
  transform: translateX(-50%);
  transition: all 0.4s;
}
/* === 3 本線の位置調整（上下中央に揃える） === */
.openbtn span:nth-of-type(1) {
  top: 50%;
  transform: translate(-50%, -9px); /* 上の線を少し上に */
}
.openbtn span:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, 0); /* 真ん中の線 */
}
.openbtn span:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, 9px); /* 下の線を少し下に */
}
/* === ハンバーガーアイコンが「X」に変化する時の動作 === */
.openbtn.active span:nth-of-type(1) {
  top: 50%;
  transform: translate(-50%, 0) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0; /* 真ん中の線を消す */
}
.openbtn.active span:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, 0) rotate(45deg);
  width: 30%;
}
.main-visual {
  position: relative;
  overflow: hidden;
}
.main-visual_image {
  position: relative;
  width: 100%;
  height: 30em;
  overflow: hidden;
}
.main-visual_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-visual_image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 1;
}
.stylist_wrap {
  display: flex;
  justify-content: center;
  gap: 4em;
  max-width: 800px;
  margin: 0 auto;
}
.stylist_wrap img {
  width: 100%;
  max-width: 300px;
}
.stylist_info {
  width: 28em;
  align-self: flex-end;
}
.stylist_info_text {
  color: #D0C7CA;
  font-size: 0.8em;
  display: inline-block;
    padding-bottom: 0.5em;
}
.roman {
  color: #D0C7CA;
  padding-bottom: 1.3em;
}
@media (max-width: 768px) {
  .main-visual_image {
    height: 20em;
  }
  .stylist_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2em;
    max-width: 80%;
    margin: 0 auto;
  }
  .stylist_wrap img {
    width: 80%;
    max-width: 250px;
    height: auto;
  }
  .stylist_wrap p {
    text-align: left;
  }
  .stylist_info {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
  .roman {
    padding-bottom: 1em;
  }
}
.footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2em 5em;
}
.footer-logo img {
  width: 50%;
  max-width: 200px;
  height: auto;
  display: block;
}
.footer nav {
  display: flex;
  gap: 2em;
  margin-top: 1.5em;
}
.footer nav a {
  text-decoration: none;
  color: var(--text-color, #fff);
  font-size: 1em;
  transition: color 0.3s ease;
}
.footer-logo a img {
  transition: opacity 0.3s ease; /* スムーズな変化 */
}
.footer-logo a:hover img {
  opacity: 0.5; /* 50% 透過（0.0 〜 1.0 で調整可能） */
}
.footer nav a {
  text-decoration: none;
  color: var(--text-color, #fff);
  font-size: 1em;
  transition: color 0.3s ease;
}
.footer nav a:hover {
  opacity: 0.7;
}
.footer-line {
  width: 70em;
  height: 1px;
  background-color: var(--text-color);
  margin: 2em 0;
}
.footer-instagram {
  align-self: flex-start;
  margin-top: 1em;
}
.footer-instagram img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}
.footer-instagram a:hover img {
  transform: scale(1.1);
}
.footer .description {
  font-size: 0.7em;
  text-align: left;
  margin-top: 1em;
}
.wave {
  position: relative;
  height: 200px;
  margin-bottom: -1px;
}
canvas {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
@media (max-width: 768px) {
  /* フッター全体を中央揃え */
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 5em; /* 波と重ならないように調整 */
  }
  /* フッターロゴを中央寄せ */
  .footer-logo {
    text-align: center;
    margin-bottom: 1em; /* 波と距離を確保 */
    position: relative;
    z-index: 2; /* 波より手前に配置 */
  }
  .footer-logo img {
    display: block;
    margin: 0 auto; /* 画像を中央に */
  }
  /* フッターのナビゲーションを縦並びに変更 */
  .footer nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    width: 100%;
  }
  /* フッター内のリンクを中央揃え */
  .footer nav a {
    font-size: 0.9em;
    text-align: center;
  }
  /* 横線を画面幅に合わせて調整 */
  .footer-line {
    width: 90%;
    margin: 1.5em auto;
  }
  /* Instagramアイコンを中央に */
  .footer-instagram {
    align-self: center;
    margin-top: 1em;
  }
  /* コピーライトを中央揃え */
  .footer .description {
    text-align: center;
    margin-top: 1em;
  }
  /* 波の高さを調整し、ロゴと重ならないようにする */
  .wave {
    height: 120px; /* スマホで高さを縮小 */
    position: relative;
    z-index: 1; /* 波を背景に配置 */
  }
  canvas {
    z-index: 0; /* 波を一番奥に */
  }
}
.fixed-sns-link {
  position: fixed;
  bottom: 6em;
  right: 0;
  transform: rotate(90deg) translateX(50%);
  font-weight: 500;
  font-size: 0.9em;
  color: rgb(191, 160, 107);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  z-index: 1000;
  align-items: center;
  gap: 0.5em;
}
.fixed-sns-link::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: rgb(191, 160, 107);
  display: inline-block;
}
.fixed-sns-link:hover {
  background: rgb(191, 160, 107);
  color: white;
}
.fixed-copyright {
  position: fixed;
  bottom: 15.5em;
  right: -1.3em;
  transform: rotate(90deg) translateX(50%);
  font-weight: 500;
  font-size: 0.9em;
  color: rgb(191, 160, 107);
  text-decoration: none;
  z-index: 1000;
  letter-spacing: 0;
  line-height: 0;
  display: inline-block;
  text-align: center;
}