@charset "UTF-8";

/* ===== Hero: base ===== */
/* ===== 4分割ワイプ（hero内） ===== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2枚目は最初は見えない */
.hero__img.is-2 {
  opacity: 0;
  z-index: 2;
}

.hero__img.is-1 {
  z-index: 1;
}

/* ワイプのコンテナ（4本の帯を縦に並べる） */
.hero__wipe.wipe4 {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  display: flex;
  flex-direction: column;
}

.hero-open {
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 12px;
  color: goldenrod;
}

/* 4本の黒い帯 */
.wipe4__band {
  flex: 1;
  background: #000;
}

/* 初期位置：右スタート(rl) / 左スタート(lr) */
.wipe4__band[data-dir="rl"] {
  transform: translateX(110%);
}

.wipe4__band[data-dir="lr"] {
  transform: translateX(-110%);
}

/* JSが hero に is-swap を付けたら開始（←JSはそのままでOK） */
.hero.is-swap .wipe4__band[data-dir="rl"] {
  animation: wipeRL 1700ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.hero.is-swap .wipe4__band[data-dir="lr"] {
  animation: wipeLR 1700ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

/* ワイプが中央あたりに来た頃に2枚目を表示 */
.hero.is-swap .hero__img.is-2 {
  animation: heroReveal 0ms linear 600ms forwards;
}

/* 右→左（右から入って左に抜ける） */
@keyframes wipeRL {
  0% {
    transform: translateX(110%);
  }

  50% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-110%);
  }
}

/* 左→右（左から入って右に抜ける） */
@keyframes wipeLR {
  0% {
    transform: translateX(-110%);
  }

  50% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(110%);
  }
}

@keyframes heroReveal {
  to {
    opacity: 1;
  }
}

/* ===== HERO_03（最初は見えない）===== */
.hero__img.is-3 {
  opacity: 0;
  z-index: 2;
  /* is-2と同じ層でOK。必要なら3に */
}

/* ===== 縦4本ワイプのコンテナ ===== */
.hero__wipe.wipe4v {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  display: flex;
  /* 横に4本並ぶ */
  flex-direction: row;
  /* ★縦線＝縦帯なのでrow */
}

/* 4本の帯（縦線） */
.wipe4v__band {
  flex: 1;
  background: #000;
}

/* 初期位置：上から入って下へ抜ける／下から入って上へ抜ける */
.wipe4v__band[data-dir="tb"] {
  transform: translateY(-110%);
}

.wipe4v__band[data-dir="bt"] {
  transform: translateY(110%);
}

/* ★発火：hero に is-swap3 を付けたら縦ワイプ開始 */
.hero.is-swap3 .wipe4v__band[data-dir="tb"] {
  animation: wipeTB 1100ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.hero.is-swap3 .wipe4v__band[data-dir="bt"] {
  animation: wipeBT 1100ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

/* ワイプが中央に来た頃にHERO_03を出す（delayは好みで微調整） */
.hero.is-swap3 .hero__img.is-3 {
  animation: heroReveal3 0ms linear 150ms forwards;
}

@keyframes wipeTB {
  0% {
    transform: translateY(-110%);
  }

  50% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(110%);
  }
}

@keyframes wipeBT {
  0% {
    transform: translateY(110%);
  }

  50% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-110%);
  }
}

@keyframes heroReveal3 {
  to {
    opacity: 1;
  }
}

.hero__img.is-4 {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
}

.hero.is-swap4 .hero__img.is-4 {
  animation: heroFinalIn 900ms ease-out 200ms forwards;
}

@keyframes heroFinalIn {
  from {
    opacity: 0;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.hero.is-swap4 .scroll-indicator {
  opacity: 1;
}

.scroll-text {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.scroll-line {
  width: 2px;
  height: 72px;
  background: rgba(255, 255, 255, .35);
  position: relative;
  overflow: hidden;
  border-radius: 999px;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  background: #ffffff;
  animation: scrollMove 1.8s ease-in-out infinite;
}



@keyframes scrollMove {
  0% {
    top: -24px;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    top: 72px;
    opacity: 0;
  }
}

/* 画像の重なり順を固定 */
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__img.is-1 {
  z-index: 1;
}

.hero__img.is-2 {
  z-index: 2;
}

.hero__img.is-3 {
  z-index: 3;
}

.hero__img.is-4 {
  z-index: 4;
}

/* 4枚目に行くとき、3枚目を退かす（これが効く） */
.hero.is-swap4 .hero__img.is-3 {
  opacity: 0;
  transition: opacity 350ms ease;
}

/* ここまで絶対触らない */
/* ===== Base ===== */
:root {
  --bg: #070a10;
  --fg: #eaf0ff;
  --muted: rgba(234, 240, 255, 0.75);
  --line: rgba(234, 240, 255, 0.14);
  --navBg: rgba(0, 0, 0, 0.55);
  --blur: blur(10px);
}

* {
  box-sizing: border-box;
}

/* アンカー移動を気持ちよく */
html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

/* JS準備ができるまで表示しない（チラ見え防止） */
html:not(.js-ready) body {
  visibility: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
  overflow-x: visible;
}

/* JS判定に重要 */
#navSentinel {
  height: 1px;
}

.nav--sticky {
  position: relative;
  /* ←stickyやめる */
  top: auto;
  z-index: 9999;

  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px 20px 0 0;
  /* “バー”じゃなく、クリックしやすさのための余白 */
  background: transparent;
}

/* ドッキング状態（通過したら上に固定） */
#siteNav.is-docked {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.nav--sticky a {
  color: rgba(234, 240, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 10px 6px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.nav a:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* コンセプト */
.hero-features {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.feature {
  position: relative;
  overflow: hidden;
}

.feature {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

/* 画像（左） */
.feature__image {
  justify-self: start;
  /* 左寄せ */
}

.feature__image img {
  width: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/* 文章（右） */
.feature__text {
  justify-self: end;
  /* 右カラム内で右寄せしたい場合 */
  text-align: left;
  /* 文字は左揃えが読みやすい */
  max-width: 520px;
}

.feature__num {
  font-size: 2rem;
  opacity: 0.25;
  margin-bottom: 8px;
}

.feature--image-right {
  grid-template-columns: 1fr 1fr;
}

.feature {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 30, 60, 0.95) 0%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 0;
}

/* キャラクターCSS */
.char-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.char-visual {
  position: relative;
  max-width: 520px;
}

.char-img {
  width: 100%;
  height: auto;
  display: block;
}

.char-img.shadow {
  position: absolute;
  left: 0;
  top: 0;
  filter: blur(14px);
  opacity: 0.22;
  transform: translate(18px, 26px);
}

.char-text h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.1;
}

.char-text h3 span {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.45em;
  opacity: 0.7;
  font-weight: 600;
}

.char-text p {
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.9;
}

.char-img.shadow {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 0 20px rgba(255, 0, 150, 0.9)) drop-shadow(0 0 40px rgba(255, 0, 150, 0.6));
  opacity: 0.9;
  z-index: 1;
}

.char-img.main {
  position: relative;
  z-index: 2;
}

/* USE */

.menu-item {
  padding: 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
}

.menu-item+.menu-item {
  margin-top: 14px;
  /* メニュー同士の間隔 */
}

/* ===== Sections ===== */
main {
  width: 100%;
}

.section {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 80px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* 仮画像：グラデ＋ノイズ風 */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 700px at 15% 25%, rgba(80, 160, 255, 0.35), transparent 60%), radial-gradient(900px 600px at 70% 30%, rgba(255, 80, 190, 0.22), transparent 60%), radial-gradient(900px 700px at 55% 85%, rgba(255, 200, 60, 0.18), transparent 62%), linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.85));
  transform: scale(1.02);
  z-index: 0;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 6px);
  opacity: 0.55;
  z-index: 0;
}

/* 利用方法枠 */
.section__content {
  position: relative;
  z-index: 1;

  /* ここがポイント：1200→広げる */
  max-width: 1440px;

  width: 100%;
  margin: 0 auto;

  padding: 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(10, 14, 24, 0.35);
  backdrop-filter: blur(8px);
}

.section-use-map {
  display: block;
  margin: 0 auto;
  max-width: 1000px;
  height: 600px;
  margin-bottom: 200px;
}

.section-use-manga {
  display: block;
  margin: 0 auto;
  max-width: 1000px;
  height: auto;
}

/* セクションごとに“雰囲気”だけ変える（仮） */
.section-hero::before {
  background: radial-gradient(1200px 750px at 18% 30%, rgba(80, 160, 255, 0.45), transparent 60%), radial-gradient(1100px 650px at 80% 35%, rgba(255, 120, 70, 0.18), transparent 62%), linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.86));
}

.section-character::before {
  background: radial-gradient(1100px 720px at 20% 25%, rgba(130, 255, 210, 0.22), transparent 60%), radial-gradient(900px 650px at 75% 35%, rgba(120, 160, 255, 0.25), transparent 60%), linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.88));
}

.section-use::before {
  background: radial-gradient(1000px 700px at 30% 30%, rgba(255, 120, 220, 0.2), transparent 60%), radial-gradient(900px 650px at 75% 60%, rgba(255, 210, 90, 0.16), transparent 62%), linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.9));
}

.section-Menu::before {
  background: radial-gradient(1000px 700px at 25% 35%, rgba(120, 180, 255, 0.22), transparent 60%), radial-gradient(900px 650px at 70% 55%, rgba(150, 255, 200, 0.14), transparent 62%), linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.92));
}

/*FAQ*/

.faq {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 16px;
}

.faq__title {
  font-size: 32px;
  margin: 0 0 18px;
}

/* list spacing */
.faq__list {
  display: grid;
  gap: 14px;
}

/* card */
.faq__item {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

/* summary row */
.faq__q {
  list-style: none;
  /* デフォのマーカー消し */
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 18px 18px;
  cursor: pointer;
  user-select: none;
}

/* Chrome/Safariのデフォ三角を消す */
.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  background: rgba(255, 255, 255, 0.06);
}

.faq__qnum {
  min-width: 48px;
  font-weight: 700;
  opacity: 0.95;
}

.faq__qtext {
  flex: 1;
  line-height: 1.5;
}

/* 右端の + */
.faq__icon {
  font-size: 24px;
  line-height: 1;
  opacity: 0.9;

  transform: rotate(0deg);
  transition: transform 220ms ease;
}

/* openで + を回して × に見せる */
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

/* answer */
.faq__a {
  padding-bottom: 10px;
}

.faq__a p {
  margin: 0;
  padding: 0 18px 12px;
  line-height: 1.75;
  opacity: 0.95;
}

.faq__a p:first-child {
  padding-top: 6px;
}

.faq__note {
  font-size: 14px;
  opacity: 0.85;
}

/* link */
.faq__link {
  text-decoration: underline;
}

/* optional: focus visible */
.faq__q:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
  border-radius: 14px;
}

/* フッター場所 */
.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-logo img {
  max-width: 360px;
  /* ← まずはこのくらい */
  width: 100%;
  height: auto;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.footer-sns img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

/* scaleは拡大縮小 */
.footer-sns a.sns-youtube img {
  transform: scale(1.75);
}

.footer-sns a:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.site-footer {
  background: #141d31;
  padding: 80px 16px 40px;
  color: #e1e1e1;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  text-align: center;
  margin-bottom: 24px;
}

.footer-text {
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-instagram {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid #b1b1b1;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  color: #cdcdcd;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.info-card {
  border: 4px solid #f4f4f4;
  border-radius: 26px;
  overflow: hidden;
}

.info-head {
  background: #222f31;
  color: #bdbdbd;
  text-align: center;
  padding: 18px;
  font-size: 26px;
  font-weight: 800;
}

.info-body {
  padding: 28px;
  text-align: center;
}

.info-body a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  text-decoration: underline;
  color: #b2b5bc;
}

.footer-copy {
  text-align: center;
  margin-top: 48px;
  font-size: 14px;
  opacity: 0.7;
}


@media screen and (max-width: 767px) {

  body {
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .menu-button {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10001;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .menu-button__line {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
  }

  #siteNav {
    display: none;
  }

  #siteNav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .92);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
  }

  #siteNav.is-open a {
    font-size: 22px;
    color: #fff;
  }

  .section {
    padding: 72px 20px;
  }

  .section__content {
    padding: 20px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature__image,
  .feature__text {
    justify-self: center;
    width: 100%;
  }

  .feature--image-right .feature__image {
    order: 1;
  }

  .feature--image-right .feature__text {
    order: 2;
  }

  .char-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .char-visual {
    max-width: 320px;
    margin: 0 auto;
  }

  .section-use-map,
  .section-use-manga {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 80px;
  }

  .footer-info {
    grid-template-columns: 1fr;
  }

  .hero__img.is-1,
  .hero__img.is-2,
  .hero__img.is-3,
  .hero__wipe {
    display: none;
  }

  .hero__img.is-4 {
    display: block;
    opacity: 1;
    animation: none;
    position: absolute;
    inset: 0;
    z-index: 1;
    object-fit: cover;
    object-position: 52% center;
  }

  .hero__img.is-4 {
    content: url("../HERO/cafe-media.webp");
  }

  .hero::before,
  .hero::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: #4b443c;
    letter-spacing: 0.12em;
    font-weight: 600;
    pointer-events: none;
  }

  .hero::before {
    content: "Cre in Lude";
    top: 12%;
    left: 44%;
    transform: translateX(-50%);
    font-size: 28px;
    font-weight: 700;
    white-space: nowrap;
  }

  .hero::after {
    content: "ようこそ。";
    right: 6%;
    left: auto;
    transform: none;
    bottom: 10%;
    font-size: 22px;
    font-weight: 700;
  }

  .scroll-text {
    color: #111;
  }

  .scroll-line {
    background: rgba(0, 0, 0, .18);
  }

  .scroll-line::after {
    background: #111;
  }
}