/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 日本語デフォルトフォント */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  background-color: #0e1b2c;
  line-height: 1.7;
}

/* 英語表記全般にCormorant Garamondを適用 */
.en,
:lang(en),
header .site-title,
.nav a,
.scroll-down,
h2,
.menu-btn {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ローディング画面 */
#loading-content-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#loading {
  position: fixed;
  inset: 0;
  background: #0e1b2c;
  z-index: 9999;
}

.loading-logo {
  width: 140px;
  height: auto;
  margin-bottom: 2rem;
  opacity: 1;
  transition: opacity 0.8s ease-out;
}

.loading-logo img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.loading-subtitle-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  margin-top: -3rem;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: 0.15em;
}

.loading-logo.fade-out {
  opacity: 0;
}

/* ラッパー：全体の幅と高さを定義 */
.progress-bar-wrapper {
  width: 250px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin-top: 10px;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: none;
}

/* プログレスバーと数字のラッパー */
.loading-progress {
  position: relative;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#progress-number {
  font-size: 2.5rem;
  font-family: "Cormorant Garamond", serif;
  color: #fff;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

/* プログレスバーと数字を非表示にするクラス */
#loading.hide-progress .loading-progress {
  opacity: 0;
}

/* 画面が開くための要素 */
#loading-opener-left,
#loading-opener-right {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 50vw;
  background: #0e1b2c;
  z-index: 10000;
  transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1);
  pointer-events: none;
}

#loading-opener-left {
  left: 0;
  transform: translateX(0);
}

#loading-opener-right {
  right: 0;
  transform: translateX(0);
}

/* 画面が開いた後のアニメーション */
#loading.open-screen #loading-opener-left {
  transform: translateX(-100%);
}

#loading.open-screen #loading-opener-right {
  transform: translateX(100%);
}

/* ヘッダー */
.header {
  position: fixed;
  background: #0e1b2c;
  opacity: 0.95;
  padding: 1.2rem 1%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left h1 {
  font-size: 16px;
}

.site-logo {
  width: 100px;
  height: auto;
  display: block;
  transform: translateY(2px);
}

.site-title {
  font-size: 1rem;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  transform: translateY(23px);
}

.gnavi ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.gnavi li a {
  display: block;
  padding: 10px 30px;
  text-decoration: none;
  color: #b7b3b3;
}

.gnavi li {
  position: relative;
  margin: 0 10px;
}

.gnavi li::before,
.gnavi li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: #06617a;
  transition: all 0.2s linear;
  transition-delay: 0.2s;
}

.gnavi li::before {
  right: 0;
  top: 0;
}
.gnavi li::after {
  left: 0;
  bottom: 0;
}


.gnavi li span {
  display: block;
}

.gnavi li span::before,
.gnavi li span::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 0;
  background: #06617a;
  transition: all 0.2s linear;
}

.gnavi li span::before {
  left: 0;
  top: 0;
}
.gnavi li span::after {
  right: 0;
  bottom: 0;
}

/*現在地とhoverした際の線の変化*/

.gnavi li.current::before,
.gnavi li.current::after,
.gnavi li:hover::before,
.gnavi li:hover::after {
  width: 100%;
}

.gnavi li.current span::before,
.gnavi li.current span::after,
.gnavi li:hover span::before,
.gnavi li:hover span::after {
  height: 100%;
}

/* メインビジュアル */
.main-visual {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 2s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* テキスト配置 */
.main-visual .main-text {
  position: absolute;
  top: 45%;
  left: 10%;
  transform: translate(-10%, -50%);
  color: #083a7a;
  text-align: center;
  z-index: 3;
}

.main-visual .main-text h2 {
  font-size: 13rem;
  letter-spacing: 0.1em;
  margin-bottom: -90px;
  font-family: "Cormorant Garamond", serif;
}

.main-visual .main-text p {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  font-family: "Cormorant Garamond", serif;
}

.scroll-down {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  z-index: 2;
}

.scroll-down span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.scroll-down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eee;
  animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
  0% {
    bottom: 45px;
  }
  100% {
    bottom: -5px;
  }
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

/* 線の描写 */
.scroll-down:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 2px;
  height: 50px;
  background: #eee;
}

.arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

#wrapper {
  position: relative;
  z-index: 2;
  background-color: #0e1b2c;
  margin-top: 100vh;
  padding: 20px 0 20px 0;
  opacity: 0.8;
  border-bottom: solid 1px;
}

/* コンセプト */
.concept {
  min-height: 100vh;
  padding-top: 180px;
  /* transform: translateY(60px); */
  opacity: 0;
  z-index: 2;
  transition: transform 1s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 1s ease;
  border-bottom: solid 1px;
}

@media (max-width: 768px) {
  .concept {
    padding-top: 90px;
  }
}

.concept h2 {
  font-size: 4rem;
  letter-spacing: 0.5em;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 3px 3px 4px #9e9e9e;
}

.catch {
  font-size: 28px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.en {
  font-size: 24px;
  color: #ccc;
  margin-bottom: 3rem;
  text-align: center;
}

.concept-text {
  font-size: 14px;
  text-align: left;
  margin: 0 auto;
  max-width: 700px;
}

.owner-text h3 {
  font-size: 28px;
  color: #fff;
  margin: 45px;
}

.en-sub {
  font-size: 24px;
  font-family: "Cormorant Garamond", serif;
  margin: 5px 0px 30px 50px;
  color: #fff;
}

.owner-textsub {
  font-size: 14px;
  color: #ffffff;
  padding: 20px 100px;
  opacity: 0.8;
}

.concept-owner {
  color: #0d1a2b;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  /* margin-top: 4rem; */
  flex-wrap: wrap;
  /* margin-left: 25%; */
  margin-right: 50%;
  background-color: #0d1a2b;
  opacity: 0.8;
  border-bottom: solid 1px;
}

.owner-photo img {
  width: 300px;
  border-radius: 4px;
}

.owner-name {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  margin-top: 1.5rem;
  margin-left: 6rem;
  font-weight: bold;
}

.concept,
.style-gallery,
.salon-menu,
.footer {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in {
  opacity: 1;
  /* transform: translateY(0); */
}

/* STYLE GALLERY */
.style-gallery {
  text-align: center;
  padding: 6rem 0;
  color: #d4dde9;
  border-bottom: solid 1px;
  background-color: #0d1a2b;
  opacity: 0.9;
}

.style-gallery h2 {
  font-size: 4rem;
  letter-spacing: 0.5em;
  margin-bottom: 2rem;
  text-shadow: 3px 3px 4px #9e9e9e;
}

.style-gallery img {
  width: 60%;
  max-width: 600px;
  border-radius: 8px;
}

.slider img {
  width: 100%;
  height: auto;
}

/* STYLE GALLERY */
.style-gallery {
  position: relative;
}

.slider li img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-out, filter 0.3s ease-out;
}

.slider li:hover img {
  transform: scale(1.2);
  filter: brightness(100%);
  z-index: 10;
  position: relative;
}

.slider:hover li img {
  filter: brightness(80%);
}

.slider:hover li:not(:hover) img {
  filter: brightness(50%);
}

.slider .slick-slide {
  margin: 0 10px;
}

/* SALON MENU */
.salon-menu {
  padding: 6rem 10%;
  text-align: center;
  margin-left: 50%;
  background-color: #0d1a2b;
  opacity: 0.8;
}

.salon-menu h2 {
  font-size: 4rem;
  letter-spacing: 0.5em;
  margin-bottom: 3rem;
  text-shadow: 3px 3px 4px #9e9e9e;
}

.salon-menu p {
  font-size: 14px;
}

.menu-box {
  max-width: 700px;
  margin: 0 auto;
}

.menu-box img {
  width: 100%;
  margin-bottom: 2rem;
}

.menu-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 2rem;
  border: 1px solid #fff;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s;
}

.menu-btn:hover {
  background: #fff;
  color: #0e1b2c;
}

.reserve-btn {
  display: inline-block;
  margin-top: 2rem;
  margin-left: 1rem;
  padding: 0.6rem 2rem;
  border: 1px solid #fff;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s;
}

.reserve-btn:hover {
  background: #fff;
  color: #0e1b2c;
}

/* フッター */
.footer {
  background: #0e1b2c;
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid;
  /* opacity: 0.8; */
}

.footer-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -40px;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo h1 {
  font-size: 16px;
}

.footer-name {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-info p {
  font-size: 12px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 10px;
}

.copyright {
  font-size: 0.75rem;
  color: #0d1a2b;
  margin-top: 2rem;
  padding: 10px 0;
  background-color: #ccc;
}

/* =================================================
  スマホ・タブレット用レスポンシブ (768px以下)
   ================================================= */
@media screen and (max-width: 768px) {

  /* --- 1. レイアウト共通 --- */
  #wrapper, .concept-owner, .salon-menu {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: center;
  }

  .loading-subtitle-en {
    font-size: 1.1rem !important;
    white-space: nowrap;
    letter-spacing: 0.1em;
    margin-top: -2rem;
    width: 100%;
    text-align: center;
  }

  .progress-bar-wrapper { width: 200px; }

  /* --- 2. ヘッダー構造の調整 --- */
  .header-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 15px 0 10px;
    min-height: auto;
  }

  .header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
    /* text-align: center; */
  }

  .site-logo {
    width: 70px;
    margin-bottom: -15px;
    transform: none;
  }

  .site-title {
    font-size: 0.7rem;
    margin-top: 5px;
    transform: none;
    letter-spacing: 0.1em;
    text-align: center;
  }

  /* --- 3. ハンバーガーボタン --- */
  .hamburger {
    display: flex;
    position: static;
    margin: -30px auto 0;
    transform: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    z-index: 3000;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.4s;
    margin: 3px 0;
  }

  .hamburger span:nth-child(1) { top: 7px; }
  .hamburger span:nth-child(2) { top: 14px; }
  .hamburger span:nth-child(3) { top: 21px; }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px)
    rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px)
    rotate(-45deg);
  }

  /* --- 4. ナビゲーション --- */
  .header .gnavi {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0e1b2c;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s ease;
    z-index: 2500;
    opacity: 1;
  }

  .header .gnavi.active {
    right: 0;
  }

  .gnavi ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .gnavi li {
    margin: 20px 0 !important;
  }

  .gnavi li a {
    font-size: 1.5rem !important;
    padding: 10px 0;
    color: #fff !important;
  }

  .gnavi li::before, .gnavi li::after,
  .gnavi li span::before, .gnavi li span::after {
    display: none !important;
  }

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  z-index: 2;
}

  /* --- 5. メインビジュアル・コンテンツ --- */
.main-visual {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

  .main-visual .main-text {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 3;
  }
  .main-visual .main-text h2 {
    font-size: 5rem;
    margin-bottom: 0;
    line-height: 1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  }
  .main-visual .main-text p {
    font-size: 0.9rem; margin-top: 10px;
  }

  #wrapper {
    margin-top: 80vh;
  }

  .concept h2, .style-gallery h2, .salon-menu h2 {
    font-size: 2.5rem;
    letter-spacing: 0.2em;
  }

  .catch {
    font-size: 20px; padding: 0 15px;
  }

  .en {
    font-size: 16px;
  }

  .concept-text {
    max-width: 100%; text-align: justify;
  }

  .concept-owner {
    flex-direction: column;
    align-items: center;
    margin-right: 0 !important;
  }

  .owner-text h3 {
    font-size: 22px; margin: 20px 0 10px;
  }

  .en-sub {
    margin: 0 0 20px 0; font-size: 16px;
  }

  .owner-textsub {
    padding: 0 !important;
    text-align: left;
    font-size: 14px;
  }

  .owner-photo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .owner-photo img {
    width: 80%;
    max-width: 300px;
    margin-bottom: 25px
  }

  .owner-name {
    margin: 20px 0;
    text-align: center;
  }

  .salon-menu {
    margin-left: 0;
    padding: 4rem 20px;
  }

  .reserve-btn, .menu-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 25px;
  }

  /* --- 6. フッター --- */
.footer-logo {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  gap: 15px;
}

.footer-left {
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.footer-left .site-logo {
  width: 70px;
  margin-bottom: -25px;
  transform: none;
}

.footer-left .site-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  transform: none;
  text-align: center;
  margin-top: 5px;
}

.footer-info {
  padding: 0 20px;
  margin-bottom: 20px;
}

.footer-info p {
  font-size: 11px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 8px;
}

.footer-catch {
  font-size: 14px;
  margin-top: 20px;
}
}
/* =================================================
  さらに小さいスマホ用 (480px以下)
   ================================================= */
@media screen and (max-width: 480px) {
  .main-visual .main-text h2 {
    font-size: 4rem;
  }

  .gnavi li {
    margin: 0 5px;
  }
}
