/* CRAZYPIECE — お手本17（Atlas）ベース：全面の写真＋中央の半透明の札＋字間の広い細い大文字 */
:root {
  --ink: #EDE6DA;          /* 象牙色の文字 */
  --ink-dim: #B8AF9F;
  --night: #121417;        /* 夜の黒 */
  --navy: #1C222B;         /* 足元の濃紺（Atlas の足元） */
  --brass: #C9A86A;        /* 真鍮色：線と小さな飾りだけ */
  --panel: rgba(14, 15, 18, .62);
  --line: rgba(201, 168, 106, .45);
  --f-caps: "Josefin Sans", "Zen Kaku Gothic New", sans-serif;
  --f-ja: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-serif: "Shippori Mincho", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--f-ja); font-weight: 300; font-size: 15px; line-height: 2; letter-spacing: .04em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

/* 上の帯（Atlas と同じ：左に印、真ん中に字間の広いメニュー） */
.topbar { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 18px; height: 58px; padding: 0 20px; background: rgba(12, 13, 16, .72); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(201,168,106,.18); }
.topbar .mark { width: auto; height: 26px; }
.topbar nav { flex: 1; display: flex; justify-content: center; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar a { font-family: var(--f-caps); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; text-decoration: none; color: var(--ink-dim); white-space: nowrap; padding: 6px 0; }
.topbar a:hover { color: var(--ink); }
.topbar .ig { display: flex; align-items: center; color: var(--ink-dim); padding: 6px 0; }
.topbar .ig:hover { color: var(--ink); }
.topbar .ig svg { display: block; }

/* 制作中の帯 */
.wip { position: fixed; top: 58px; left: 0; right: 0; z-index: 39; text-align: center; font-size: 11.5px; letter-spacing: .06em; line-height: 1.6; padding: 6px 12px; background: rgba(201,168,106,.92); color: #121417; }
.wip { transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease; }
.wip.wip-hide { transform: translateY(-14px); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .25s ease; }
@media (prefers-reduced-motion: reduce) { .wip { transition: none; } }

/* 全面の写真の区画 */
.scene { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 96px 16px 64px; isolation: isolate; overflow: hidden; }
.scene .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: saturate(.85) brightness(.55); transform: scale(1.04); }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 45%, rgba(0,0,0,.15), rgba(0,0,0,.65)); }
.scene.short { min-height: 78svh; }

/* 中央の半透明の札 */
.plate { width: min(560px, 100%); text-align: center; padding: 44px 28px 40px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(2px); }
.plate .logo { width: min(300px, 76%); height: auto; margin: 0 auto 22px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }
.kicker { font-family: var(--f-caps); font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; }
.title { font-family: var(--f-caps); font-weight: 300; font-size: clamp(20px, 4.6vw, 28px); letter-spacing: .34em; text-transform: uppercase; line-height: 1.5; margin: 0 0 18px; }
.title small { display: block; font-size: .5em; letter-spacing: .4em; color: var(--ink-dim); margin-top: 8px; }
.plate p { margin: 0 auto; max-width: 30em; font-size: 14px; color: var(--ink); }
.rule { width: 46px; height: 1px; background: var(--brass); border: 0; margin: 22px auto; }
.open { font-family: var(--f-caps); font-size: 12px; letter-spacing: .4em; color: var(--ink); margin: 0; }
.legal-mini { font-size: 11px; line-height: 1.7; color: var(--ink-dim); margin-top: 18px !important; }
.h1 { font-size: 12px; font-weight: 400; color: var(--ink-dim); letter-spacing: .08em; margin: 0 0 18px; line-height: 1.7; }

.btn { display: inline-block; margin-top: 24px; padding: 13px 28px; border: 1px solid var(--brass); color: var(--ink); text-decoration: none; font-family: var(--f-caps); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; }
.btn:hover { background: rgba(201,168,106,.12); }

/* 中身の区画（写真なし・静か） */
.quiet { background: var(--night); padding: 96px 16px; text-align: center; }
.quiet .inner { max-width: 640px; margin: 0 auto; }
.quiet p { font-size: 14.5px; }
.times { display: grid; grid-template-columns: 1fr; gap: 0; margin: 34px auto 0; max-width: 520px; border-top: 1px solid var(--line); }
.times div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.times b { display: block; font-family: var(--f-caps); font-weight: 400; letter-spacing: .3em; font-size: 13px; }
.times span { font-size: 13px; color: var(--ink-dim); }

/* よくある質問 */
.faq { text-align: left; margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 400; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-dim); }

/* 募集の条件 */
.terms { list-style: none; padding: 0; margin: 24px 0 0; text-align: left; font-size: 13.5px; }
.terms li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.terms li span:first-child { color: var(--ink-dim); white-space: nowrap; }
.terms li span:last-child { text-align: right; }

/* 足元（Atlas：濃紺に4つの列と線のアイコン） */
footer { background: var(--navy); padding: 64px 16px 40px; text-align: center; color: var(--ink-dim); font-size: 12.5px; line-height: 1.9; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 34px; max-width: 980px; margin: 0 auto; }
.foot-grid svg { width: 26px; height: 26px; stroke: var(--ink-dim); fill: none; stroke-width: 1.2; margin: 0 auto 12px; display: block; }
.foot-grid a { color: var(--ink); }
.foot-legal { max-width: 760px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; line-height: 1.8; }
.copy { margin-top: 16px; font-size: 10.5px; letter-spacing: .2em; }

@media (min-width: 760px) {
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .plate { padding: 56px 48px 50px; }
}
@media (max-width: 640px) {
  /* スマホ：メニューを詰めて全部見えるように（Instagram はアイコン）。Story はロゴで代わる */
  .topbar { padding: 0 12px; }
  /* ロゴとメニューを1列に並べて、ロゴ→1ST→2ND→…の間を全部同じにする（両端は今の余白のまま） */
  .topbar { justify-content: space-between; gap: 0; }
  .topbar nav { display: contents; }
  .topbar nav a { letter-spacing: .14em; font-size: 10.5px; margin-right: -.14em; } /* 最後の字の後ろの字間を消して、見た目の間をそろえる */
  .topbar nav a[href="#story"] { display: none; } /* 一番上の区画なので、スマホではロゴを押せば戻れる */
}
.fade { opacity: 0; transform: translateY(10px); transition: opacity 1s ease, transform 1s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* 1st（韓国バー）の区画だけ：韓国の街角みたいなネオン（線だけ・実在のロゴは使わない）。
   本物のネオン管のように、芯は白っぽく明るく、まわりに色の光を重ねる。大きめにボンと置く */
.neon { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#first .plate { position: relative; z-index: 1; }
.neon .n { position: absolute; fill: none; stroke: var(--core); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 1.5px var(--c)) drop-shadow(0 0 5px var(--c)) drop-shadow(0 0 14px var(--c)) drop-shadow(0 0 30px var(--c));
  animation: neon-flicker 7s infinite; shape-rendering: geometricPrecision; }
.neon .n text { font-family: "Josefin Sans", sans-serif; font-weight: 400; font-size: 40px; letter-spacing: .04em; stroke-width: 1.6; }
.neon .n.ko text { font-family: "Jua", "Zen Kaku Gothic New", sans-serif; font-size: 46px; letter-spacing: .02em; stroke-width: 1.5; }
.neon .n circle { fill: var(--core); stroke: none; }
/* ロゴと同じ6色（ピンク・マゼンタ・オレンジ・黄色・水色・青）。1つのネオンの中で隣り合う2色をグラデーションに */
.neon .g-pk-or { --c: #FF4FA8; --core: url(#ng-pk-or); }
.neon .g-ye-cy { --c: #FFD84A; --core: url(#ng-ye-cy); }
.neon .g-cy-bl { --c: #3DE6F0; --core: url(#ng-cy-bl); }
.neon .g-or-ye { --c: #FF8F3D; --core: url(#ng-or-ye); }
.neon .g-mg-pk { --c: #F25CE6; --core: url(#ng-mg-pk); }
.neon .g-ye-or { --c: #FFD84A; --core: url(#ng-ye-or); }
.neon .g-pk-mg { --c: #FF4FA8; --core: url(#ng-pk-mg); }
.neon .g-bl-cy { --c: #4DA2FF; --core: url(#ng-bl-cy); }
.neon .g-cy-ye { --c: #3DE6F0; --core: url(#ng-cy-ye); }
.neon .g-bl-mg { --c: #4DA2FF; --core: url(#ng-bl-mg); }
.neon .n circle { fill: var(--c); }
.neon .n-hello  { width: 300px; top: 6%;  left: 3%;  transform: rotate(-9deg); }
.neon .n-melon  { width: 180px; top: 8%;  right: 4%; transform: rotate(6deg); animation-delay: 1.3s; }
.neon .n-cup    { width: 96px;  bottom: 8%; left: 6%; transform: rotate(-8deg); animation-delay: 2.1s; }
.neon .n-glass  { width: 76px;  bottom: 12%; right: 9%; transform: rotate(10deg); animation-delay: .7s; }
.neon .n-heart  { width: 84px;  top: 50%; right: 4%; transform: rotate(-12deg); animation-delay: 3.2s; }
.neon .n-cheers { width: 230px; bottom: 3%; right: 26%; transform: rotate(-5deg); animation-delay: 4s; }
.neon .n-jinjja { width: 200px; top: 40%; left: 2%; transform: rotate(-14deg); animation-delay: 2.7s; }
.neon .n-jjan    { width: 110px; bottom: 6%; left: 20%; transform: rotate(12deg); animation-delay: 1.8s; }
.neon .n-daebak  { width: 190px; top: 24%; right: 2%; transform: rotate(-7deg); animation-delay: 3.6s; }
.neon .n-eoseowa { width: 230px; bottom: 26%; left: 14%; transform: rotate(5deg); animation-delay: 5s; }
@keyframes neon-flicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .55; } 49% { opacity: 1; } 50.5% { opacity: .7; } 51.5% { opacity: 1; } }
@media (max-width: 640px) {
  /* スマホ：ネオンを区画の上端・下端に寄せて、文字の札になるべく重ならないようにする。区画の上を8pxだけ削る（札とネオンの位置は変えない） */
  #first.scene.short { min-height: calc(78svh - 32px); padding-top: 100px; padding-bottom: 100px; } /* 札の上下の写真の幅をそろえて広げ、ネオンが札に隠れないように（上下とも100px・鈴木さん） */
  .neon .n-hello   { width: 120px; top: 8px;   left: 3%;  bottom: auto; }
  .neon .n-melon   { width: 96px;  top: 6px;   right: 3%; }
  .neon .n-jinjja  { width: 84px;  top: 40px;  left: 37%; transform: rotate(-6deg); }
  .neon .n-eoseowa { width: 90px;  top: 56px;  left: 2%;  bottom: auto; transform: rotate(-5deg); }
  .neon .n-daebak  { width: 86px;  top: 58px;  right: 4%; transform: rotate(8deg); }
  .neon .n-jjan    { width: 52px;  top: auto; bottom: 56px; left: 27%; transform: rotate(-10deg); }
  .neon .n-heart   { width: 46px;  top: auto; bottom: 54px; right: 28%; }
  .neon .n-cup     { width: 48px;  bottom: 10px; left: 5%; }
  .neon .n-glass   { width: 40px;  bottom: 18px; right: 7%; }
  .neon .n-cheers  { width: 120px; bottom: 4px; right: 34%; }
}
@media (prefers-reduced-motion: reduce) { .neon .n { animation: none; } }

/* 言語の切り替え：一番右の丸い国旗（上の帯の高さの中でできるだけ大きく）。
   数秒ごとにくるっと回ってほかの国旗に変わる。押すとネオンの幕が下りて、丸い国旗が扇形に飛び出す */
.langsel { flex: none; margin-left: 16px; display: flex; align-items: center; }
.ls-btn { display: block; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; perspective: 200px; }
.ls-btn img { display: block; max-width: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.6px #D9B877; transition: transform .26s ease-in, box-shadow .2s ease; }
.ls-btn.flip img { transform: rotateY(90deg); }
.ls-btn:hover img, .langsel.open .ls-btn img { box-shadow: 0 0 0 1.6px #D9B877, 0 0 12px rgba(217,184,119,.6); }
.ls-curtain { position: fixed; inset: 0; z-index: 70; background: rgba(6, 7, 10, 0); backdrop-filter: blur(0); transition: background .3s ease, backdrop-filter .3s ease; }
.ls-curtain[hidden] { display: none; }
.langsel.open ~ .ls-curtain, .ls-curtain.on { background: rgba(6, 7, 10, .82); backdrop-filter: blur(5px); }
.ls-ring { margin: 0; padding: 0; list-style: none; }
.ls-ring li { position: fixed; opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); transition: transform .42s cubic-bezier(.2,1.4,.4,1) var(--d), opacity .25s ease var(--d); }
.ls-curtain.on .ls-ring li { opacity: 1; transform: none; }
.ls-ring a { display: block; width: 100%; height: 100%; text-decoration: none; position: relative; }
.ls-ring img { display: block; max-width: none; width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px #D9B877, 0 0 12px var(--c, #FF4FA8), 0 0 26px var(--c, #FF4FA8); transition: transform .18s ease; }
.ls-ring a:hover img, .ls-ring a:focus-visible img { transform: scale(1.1); }
.ls-ring span { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; font-size: 11px; letter-spacing: .06em; color: #fff; text-shadow: 0 0 6px var(--c, #FF4FA8); }
.ls-ring li:nth-child(6n+1) { --c: #FF4FA8; } .ls-ring li:nth-child(6n+2) { --c: #3DE6F0; } .ls-ring li:nth-child(6n+3) { --c: #FFD84A; }
.ls-ring li:nth-child(6n+4) { --c: #F25CE6; } .ls-ring li:nth-child(6n+5) { --c: #4DA2FF; } .ls-ring li:nth-child(6n+6) { --c: #FF8F3D; }
/* 海外のスマホで開いたときの案内 */
.ls-hint { position: fixed; left: 50%; top: 70px; z-index: 65; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 8px; border-radius: 40px;
  background: rgba(16,18,21,.94); border: 1px solid rgba(201,168,106,.5); box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 18px rgba(255,79,168,.25);
  opacity: 0; transform: translate(-50%, -14px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.ls-hint.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.ls-hint a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 14px; letter-spacing: .04em; padding-right: 4px; white-space: nowrap; }
.ls-hint img { max-width: none; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.6px #D9B877; }
.ls-hint button { border: 0; background: none; color: var(--ink-dim); font-size: 18px; line-height: 1; width: 30px; height: 30px; cursor: pointer; }
@media (max-width: 640px) {
  .langsel { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .ls-ring li, .ls-btn img, .ls-curtain, .ls-hint { transition: none; } }

.topbar.ls-top { z-index: 80; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.topbar.ls-top > :not(.langsel) { opacity: .25; }

/* 上の帯のアイコン（シーシャ・アクセス）：Instagram と同じ線の太さ・大きさ */
.topbar a.ico { display: flex; align-items: center; padding: 6px 0; }
.topbar a.ico svg { display: block; }
@media (max-width: 640px) { .topbar nav a.ico { margin-right: 0; } }

/* トップの NEWS 欄：日付と見出しだけ。押すとお知らせのページのその記事へ */
.news-heads { list-style: none; margin: 30px 0 0; padding: 0; text-align: left; border-top: 1px solid var(--line); }
.news-heads li { border-bottom: 1px solid var(--line); }
.news-heads a { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; text-decoration: none; color: var(--ink); }
.news-heads a::after { content: "›"; margin-left: auto; color: var(--brass); }
.news-heads a:hover span { color: var(--brass); }
.news-heads time { flex: none; font-family: var(--f-caps); font-size: 12px; letter-spacing: .18em; color: var(--brass); }
.news-heads span { font-size: 14px; line-height: 1.7; }
@media (max-width: 640px) { .news-heads a { flex-wrap: wrap; gap: 4px 12px; } .news-heads time { width: 100%; } .news-heads a::after { display: none; } }
.news-item { scroll-margin-top: 80px; } /* トップの NEWS から飛んだとき、上の帯に見出しが隠れないように */
/* FAQ と NEWS のあいだは FAQ の上のすき間と同じ96px（鈴木さん） */
#faq:has(+ #news) { padding-bottom: 48px; }
#news { padding-top: 48px; }
