/* ==========================================================
   Shisha Lounge OPAQUE — Top
   ========================================================== */

:root {
  --bg: #11151C;
  --white: #fff;
  --copper: #DC934E;
  --gray: #828282;
  --line: #545454;
  --cream: #F6E9D2;
  --font-sans: "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-disp: Optima, "Marcellus", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
ul { list-style: none; }
figure { margin: 0; }
h2, h3 { font-weight: 400; }

.inner {
  margin: 0 auto;
  max-width: 520px;
  width: calc(100% - 32px);
}
.inner.rel { position: relative; }

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1100;
  background: var(--bg);
  border: 1px solid var(--copper);
  padding: 12px 18px;
  font-size: 13px;
}

@media (min-width: 768px) {
  .inner { width: calc(100% - 96px); }
}
@media (min-width: 1024px) {
  body { font-size: 16px; }
  .inner { max-width: 1080px; }
}

/* ==========================================================
   Loader
   ========================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  pointer-events: none;
  animation: loaderOut .6s ease 2.2s both;
}
.loader-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(238px, 22.9vw, 330px);
  overflow: hidden;
}
.loader-logo img {
  transform: translateY(102%);
  animation: logoReveal 2.1s ease .1s both;
}
@keyframes logoReveal {
  0% { transform: translateY(102%); }
  40% { transform: translateY(0); }
  62% { transform: translateY(0); }
  100% { transform: translateY(-102%); }
}
@keyframes loaderOut {
  to { opacity: 0; visibility: hidden; }
}

/* ==========================================================
   Header
   ========================================================== */
.site-head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 990;
  background: rgba(17, 21, 28, .88);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))) {
  .site-head {
    background: rgba(17, 21, 28, .45);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
}
.site-head-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  height: 100%;
  margin: 0 auto;
  max-width: 1440px;
  width: calc(100% - 32px);
}
.langs-nav { grid-column: 1; grid-row: 1; justify-self: start; }
.head-logo { display: none; grid-column: 2; grid-row: 1; }
.head-nav { grid-column: 3; grid-row: 1; justify-self: end; }

.langs {
  display: flex;
  align-items: center;
  font-family: var(--font-disp);
  font-size: 15px;
  color: #b9bec5;
}
.langs .current { color: var(--white); }
.langs li + li::before { content: "\FF0F" / ""; color: #b9bec5; margin: 0 6px; }
.langs a { padding: 4px 1px; transition: color .3s; }
.langs a:hover { color: var(--copper); }

.head-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-line {
  display: inline-block;
  border: 1px solid var(--white);
  font-family: var(--font-disp);
  font-size: 12px;
  letter-spacing: .08em;
  padding: 10px 12px;
  position: relative;
  z-index: 0;
  overflow: hidden;
  transition: color .3s;
}
.btn-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
  z-index: -1;
}
.btn-line:hover,
.btn-line:focus-visible { color: var(--bg); }
.btn-line:hover::before,
.btn-line:focus-visible::before { transform: scaleX(1); }

.tel-long { display: none; }
@media (min-width: 1024px) {
  .tel-short { display: none; }
  .tel-long { display: inline; }
}
@media (max-width: 400px) {
  .langs { font-size: 13px; }
  .btn-line { font-size: 11px; padding: 9px 10px; }
  .site-head-inner { gap: 8px; }
  .head-nav { gap: 8px; }
}

@media (min-width: 1024px) {
  .site-head { height: 80px; }
  .site-head-inner {
    gap: 24px;
    width: calc(100% - 48px);
  }
  .head-logo {
    display: block;
    width: clamp(180px, 16vw, 258px);
  }
  .langs { font-size: 18px; }
  .btn-line { font-size: 15px; padding: 14px 20px; }
}

/* ==========================================================
   Main Visual
   ========================================================== */
.mv {
  position: relative;
  margin: 0 0 88px;
}
.mv-slides {
  position: relative;
  aspect-ratio: 750 / 1564;
  max-height: 100vh;
  max-height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.mv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  animation: mvFade 24s linear infinite;
  animation-delay: calc(2.2s + var(--i) * 4.8s);
}
.mv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  animation: mvZoom 24s linear infinite;
  animation-delay: calc(2.2s + var(--i) * 4.8s);
}
/* 入場側をz-indexで最前面に置き、退場側はハンドオフ完了まで不透明のまま保持する
   (2枚のopacityを同時に動かすと中間点で背景色が透けて輝度が沈むため) */
@keyframes mvFade {
  0% { opacity: 0; z-index: 2; }
  5% { opacity: 1; z-index: 2; }
  5.001% { z-index: 1; }
  20% { opacity: 1; z-index: 1; }
  25% { opacity: 1; z-index: 1; }
  25.001% { opacity: 0; z-index: 1; }
  100% { opacity: 0; z-index: 1; }
}
@keyframes mvZoom {
  0% { transform: scale(1.09); }
  25% { transform: scale(1); }
  100% { transform: scale(1); }
}

.mv-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 238px;
  z-index: 2;
}

.mv-side { display: none; }

.mv-scroll {
  position: absolute;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-disp);
  font-size: 12px;
  letter-spacing: .2em;
  text-align: center;
}
.mv-scroll::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 17px;
  height: 17px;
  border: 1px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, 100%);
  animation: scrollLine 1.5s linear infinite;
}
.mv-scroll::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 1px;
  height: 64px;
  background: var(--white);
  transform: translate(-50%, 100%);
}
@keyframes scrollLine {
  from { transform: translate(-50%, 100%); }
  to { transform: translate(-50%, 350%); }
}

@media (min-width: 1024px) {
  .mv { margin: 20px 20px 104px; }
  .mv-slides {
    aspect-ratio: 1400 / 750;
    max-height: none;
    border-radius: 16px;
  }
  .mv-logo { display: none; }
  .mv-side {
    display: block;
    position: fixed;
    left: 26px;
    top: 316px;
    z-index: 5;
    writing-mode: vertical-rl;
    font-family: var(--font-disp);
    font-size: 11px;
    letter-spacing: .1em;
  }
  .mv-scroll { bottom: 52px; }
  .mv-scroll::before { bottom: -16px; }
  .mv-scroll::after { bottom: -12px; }
}

/* ==========================================================
   Headings / big copy
   ========================================================== */
.h-en {
  font-family: var(--font-disp);
  font-size: 36px;
  letter-spacing: .05em;
  line-height: 1.2;
  margin: 0 0 24px;
  padding: 0 0 16px;
  position: relative;
  width: max-content;
  max-width: 100%;
}
.h-en::before,
.h-en::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 1px;
}
.h-en::before {
  left: 0;
  width: 147px;
  background: var(--copper);
}
.h-en::after {
  left: 124px;
  width: 23px;
  background: var(--white);
}
.h-en.center {
  margin-left: auto;
  margin-right: auto;
}
.h-en.center::before {
  left: 50%;
  transform: translateX(-50%);
}
.h-en.center::after {
  left: 50%;
  transform: translateX(calc(-50% + 62px));
}
@media (min-width: 1024px) {
  .h-en {
    font-size: 56px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
}

.big-copy {
  font-family: var(--font-disp);
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, .14);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .big-copy {
    background-image: linear-gradient(180deg, #FFFFFF -50%, rgba(255, 255, 255, 0) 77.78%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* ==========================================================
   Message
   ========================================================== */
.sec-message { margin: 0 0 45px; }
.message-desc {
  letter-spacing: 0;
  line-height: 2.1875;
  margin: 0 0 24px;
}
.message-photo {
  margin-left: -8px;
  width: calc(100% + 16px);
}
.message-copy {
  font-size: clamp(30px, 10vw, 40px);
  text-align: right;
  transform: translateY(-45%);
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .sec-message { margin-bottom: 46px; }
  .message-desc {
    margin-bottom: 147px;
    max-width: 647px;
  }
  .message-photo {
    position: absolute;
    right: calc(-1 * min(60px, (100vw - 100%) / 2 - 8px));
    top: 0;
    margin: 0;
    width: 420px;
    z-index: -1;
  }
  .message-copy {
    font-size: 96px;
    letter-spacing: .05em;
    transform: translate(-2%, 1.5%);
  }
}

/* ==========================================================
   About (What's OPAQUE?)
   ========================================================== */
.sec-about {
  margin: 0 0 80px;
  overflow: clip;
}
.about-item:not(:last-child) { margin-bottom: 80px; }

.about-box { margin: 0 0 40px; }

.about-photo {
  position: relative;
  margin: 0 calc(50% - 50vw) 40px;
}
.about-photo img { width: 100%; }
.about-copy {
  position: absolute;
  right: 16px;
  bottom: 0;
  transform: translate(0, 45%);
  font-size: 56px;
  letter-spacing: .05em;
}

.about-title {
  font-family: var(--font-disp);
  font-size: 40px;
  letter-spacing: .05em;
  margin: 0 0 24px;
}
.about-desc {
  letter-spacing: 0;
  line-height: 2.0625;
}

.about-gallery {
  margin: 0 calc(50% - 50vw);
  overflow: clip;
}
.about-gallery .strip { display: block; }
.about-gallery .strip picture { display: block; }
.about-gallery .strip img { width: 100%; }
.about-gallery .strip picture.dup { display: none; }

@media (min-width: 1024px) {
  .about-item:not(:last-child) { margin-bottom: 80px; }
  .about-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 74px;
  }
  .about-photo {
    margin: 0;
    width: 45.3703703704%;
    flex: 0 0 auto;
  }
  .about-copy { font-size: 96px; right: 0; }
  .about-body { width: 48.7037037037%; }
  .about-title { margin-bottom: 40px; }
  .about-desc { line-height: 2.1875; }

  .about-gallery {
    position: relative;
    height: 300px;
  }
  .about-gallery .strip {
    display: flex;
    width: max-content;
    animation: marquee 48s linear infinite;
  }
  .about-gallery .strip picture {
    width: 50vw;
    height: 300px;
  }
  .about-gallery .strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about-gallery .strip picture.dup { display: block; }
  .about-item:nth-child(2) .about-gallery .strip {
    animation-direction: reverse;
  }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-150vw); }
}

/* ==========================================================
   Instagram
   ========================================================== */
.sec-instagram { margin: 0 0 80px; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  max-width: 900px;
  margin: 0 auto 30px;
}
.ig-grid a { display: block; }
.ig-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity .3s;
}
.ig-grid a:hover img,
.ig-grid a:focus-visible img { opacity: .72; }
.ig-follow { text-align: center; }
.ig-handle {
  font-family: var(--font-disp);
  font-size: 19px;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
@media (min-width: 1024px) {
  .sec-instagram { margin-bottom: 120px; }
  .ig-grid { gap: 20px; margin-bottom: 40px; }
}

/* ==========================================================
   Access
   ========================================================== */
.sec-access { margin: 0 0 80px; }
.access-table { margin: 0 0 40px; }
.access-table .row {
  display: flex;
  gap: 40px;
}
.access-table .row:not(:last-child) { margin-bottom: 40px; }
.access-table dt {
  flex-shrink: 0;
  font-weight: 700;
  width: 68px;
}
.access-table dd { flex-grow: 1; line-height: 1.9; }
.access-table dd a[href^="tel"] { text-decoration: underline; text-underline-offset: 3px; }
.map-applink {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-applink:hover { opacity: .75; }

.access-map {
  position: relative;
  margin: 0 calc(50% - 50vw);
  height: 0;
  padding-bottom: 71.5%;
  overflow: hidden;
}
.access-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  border: 0;
}

@media (min-width: 1024px) {
  .sec-access { margin-bottom: 160px; }
  .access-cols {
    display: grid;
    grid-template-columns: minmax(300px, 5fr) minmax(420px, 7fr);
    gap: 40px 64px;
    align-items: center;
  }
  .access-table { margin: 0; }
  .access-table .row { gap: 56px; }
  .access-map {
    margin: 0;
    height: clamp(360px, 32vw, 460px);
    padding-bottom: 0;
  }
}

/* ==========================================================
   Related Stores
   ========================================================== */
.sec-related { margin: 0 0 80px; }
.stores { display: grid; gap: 40px; }
.store-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.store-address {
  line-height: 1.9;
  margin-bottom: 16px;
}
@media (min-width: 1024px) {
  .sec-related { margin-bottom: 120px; }
  .stores { grid-template-columns: 1fr 1fr; gap: 48px; }
  .store-name { font-size: 19px; }
}

/* ==========================================================
   Recruit
   ========================================================== */
.sec-recruit {
  background: var(--bg) url("../assets/img/home/img_14_sp.jpg") no-repeat center center / cover;
  background-image: image-set(
    url("../assets/img/home/img_14_sp.webp") type("image/webp"),
    url("../assets/img/home/img_14_sp.jpg") type("image/jpeg")
  );
  padding: 64px 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}
.recruit-title {
  font-family: var(--font-disp);
  font-size: 40px;
  margin: 0 0 24px;
  text-align: center;
}
.recruit-desc {
  font-size: 15px;
  line-height: 2;
  text-align: center;
}
@media (min-width: 1024px) {
  .sec-recruit {
    background-image: url("../assets/img/home/img_14.jpg");
    background-image: image-set(
      url("../assets/img/home/img_14.webp") type("image/webp"),
      url("../assets/img/home/img_14.jpg") type("image/jpeg")
    );
    padding: 100px 0;
  }
  .recruit-title { font-size: 52px; margin-bottom: 40px; }
  .recruit-desc { font-size: 17px; }
}

/* ==========================================================
   Footer
   ========================================================== */
.site-foot { padding: 14px 0; }
.copyright {
  font-size: 12px;
  text-align: center;
}
@media (min-width: 1024px) {
  .site-foot { padding: 24px 0; }
}

/* ==========================================================
   Reveal on scroll (progressive)
   ========================================================== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================
   Reduced motion / print
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .mv-slide { animation: none; opacity: 0; }
  .mv-slide:first-child { opacity: 1; }
  .mv-slide:not(:first-child) { display: none; }
  .mv-slide img { animation: none; transform: none; }
  .mv-scroll::before { animation: none; }
  .about-gallery .strip { animation: none !important; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .loader, .site-head, .mv-side, .mv-scroll { display: none !important; }
  body { background: #fff; color: #000; }
  .big-copy { -webkit-text-fill-color: initial; color: #888; background: none; }
}
