/* ADIF ENTERTAINMENT 公式サイト（LINE リッチメニューの行き先）共通スタイル */
:root {
  --ink: #1b1b2a; --ink2: #4a4a5a; --mute: #8a8a99;
  --bg: #f6f6f8; --card: #ffffff; --line: #e6e6ec; --soft: #f0f0f4;
  --pink: #e5317f; --orange: #f39800; --yellow: #f5d327; --green: #4cb848; --blue: #1aa0e0; --purple: #7b3fa0;
  --prism: linear-gradient(90deg, var(--purple), var(--pink), var(--orange), var(--yellow), var(--green), var(--blue));
  --rsm: 8px; --r: 12px; --rlg: 20px;
  --line-green: #06c755;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 15px; line-height: 1.75;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.en { font-family: "Montserrat", "Segoe UI", sans-serif; letter-spacing: .08em; }

/* ヘッダー */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head::after { content: ""; display: block; height: 3px; background: var(--prism); }
.site-head .in { max-width: 760px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-head .logo img { height: 34px; width: auto; }
.site-head nav a { font-size: 12px; text-decoration: none; color: var(--ink2); padding: 8px 4px; }

main { max-width: 760px; margin: 0 auto; padding: 0 16px 48px; }

/* ページ見出し：写真を透かしで敷き、文字を重ねる。写真は style="--img:url(...)" で渡す */
.hero {
  position: relative; overflow: hidden; margin: 16px 0 8px; min-height: 230px;
  border-radius: var(--rlg); background-color: #15151f; color: #fff;
  display: flex; align-items: flex-end; isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(21,21,31,.05) 0%, rgba(21,21,31,.35) 45%, rgba(21,21,31,.92) 100%); }
.hero.logo::before { background: var(--img) right -8% center / auto 115% no-repeat; opacity: .22; }
.hero.logo { background: radial-gradient(120% 90% at 85% 40%, #2a2340 0%, #15151f 70%); }
.hero .in { padding: 22px 20px 24px; width: 100%; }
.hero .en { display: block; font-weight: 700; font-size: 34px; line-height: 1.1; letter-spacing: .1em; }
.hero h1 { margin: 10px 0 0; font-size: 16px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.hero .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--prism); }

/* イベント詳細の写真 */
.page-hero { margin: 16px 0 8px; border-radius: var(--rlg); overflow: hidden; aspect-ratio: 26 / 17; background: #111; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; }
.page-title { font-size: 22px; font-weight: 700; margin: 20px 0 4px; line-height: 1.4; }
.lead { color: var(--ink2); margin: 0 0 8px; }

/* セクション */
section { margin-top: 32px; }
h2 { font-size: 17px; margin: 0 0 12px; padding-left: 12px; position: relative; line-height: 1.5; }
h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--pink), var(--orange), var(--blue)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.card + .card { margin-top: 12px; }
.pending { background: var(--soft); border-radius: var(--rsm); padding: 14px 16px; color: var(--mute); font-size: 13px; }
.pending::before { content: "準備中"; display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--mute); border-radius: 999px; padding: 1px 9px; margin-right: 8px; }
.quote { font-size: 17px; font-weight: 700; line-height: 1.9; padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.quote::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--prism); }
ul.dots { margin: 0; padding-left: 1.2em; }
ul.dots li { margin: 4px 0; }

/* ボタン */
.btns { display: grid; gap: 10px; margin-top: 12px; }
.btns.two { grid-template-columns: 1fr 1fr; }
.btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
  min-height: 52px; padding: 10px 16px; border-radius: var(--r); border: 1px solid var(--ink);
  background-color: var(--ink); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.4;
}
.btn.sub { background-color: #fff; color: var(--ink); }
.btn.line { background-color: var(--line-green); border-color: var(--line-green); }
.btn.big { min-height: 56px; }
.btn small { display: block; font-weight: 500; font-size: 11px; opacity: .8; }
.btn[aria-disabled="true"] { background-color: var(--soft); border-color: var(--line); color: var(--mute); pointer-events: none; }
.btn[aria-disabled="true"]::after { content: "（準備中）"; font-weight: 500; font-size: 12px; }

/* トップのタイル */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.tiles a { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 26 / 17; background: #111; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.tiles img { width: 100%; height: 100%; object-fit: cover; }
.band { margin: 16px 0 0; }

/* イベント */
.ev-list { display: grid; gap: 12px; }
.ev { display: grid; grid-template-columns: 112px 1fr; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; }
.ev .ph { background: #222 center / cover no-repeat; min-height: 100px; }
.ev .tx { padding: 10px 12px 10px 0; }
.ev .tt { font-weight: 700; line-height: 1.45; }
.ev .meta { font-size: 12px; color: var(--ink2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 9px; margin-top: 6px; }
.badge.open { background: #e7f6ee; color: #1e7a48; }
.badge.full, .badge.closed { background: #f1f1f4; color: var(--ink2); }
.badge.cancelled { background: #fdecef; color: #b4234a; }
.empty { text-align: center; color: var(--mute); font-size: 13px; padding: 24px 16px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); }

/* カレンダー */
.cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-size: 16px; font-variant-numeric: tabular-nums; }
.cal-head button { min-width: 44px; min-height: 40px; border: 1px solid var(--line); background-color: #fff; border-radius: var(--rsm); font-size: 16px; color: var(--ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.cal-grid .dow { font-size: 11px; color: var(--mute); padding: 4px 0; }
.cal-grid .dow:first-child, .cal-grid .sun { color: #c0395a; }
.cal-grid .dow:last-child, .cal-grid .sat { color: #2a6fb5; }
.cal-grid button { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: var(--rsm); background-color: transparent; font-size: 14px; color: inherit; position: relative; }
.cal-grid button.has { background-color: #fff3f8; font-weight: 700; }
.cal-grid button.has::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--pink); }
.cal-grid button.sel { outline: 2px solid var(--ink); }
.cal-grid button.today { text-decoration: underline; }
.cal-day { margin-top: 12px; }

/* イベント詳細 */
.dl { display: grid; grid-template-columns: 84px 1fr; gap: 8px 12px; font-size: 14px; }
.dl dt { color: var(--mute); }
.dl dd { margin: 0; font-variant-numeric: tabular-nums; }

/* 相談 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background-color: #fff; font-size: 14px; }
.chips input:checked + span { background-color: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--blue); }
.note { font-size: 12px; color: var(--mute); margin-top: 8px; }

/* 流れ（番号付きの手順） */
.steps { counter-reset: st; display: grid; gap: 10px; }
.steps > div { counter-increment: st; position: relative; padding: 14px 14px 14px 56px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.steps > div::before { content: counter(st); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 700 14px/30px "Montserrat", sans-serif; text-align: center; }
.steps b { display: block; line-height: 1.5; }
.steps span { display: block; font-size: 13px; color: var(--ink2); margin-top: 2px; }

/* 写真付きの事例・店舗 */
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feature + .feature { margin-top: 12px; }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature .tx { padding: 14px 16px 16px; }
.feature .kick { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--pink); }
.feature .tt { font-weight: 700; font-size: 16px; line-height: 1.5; margin-top: 2px; }
.feature p { margin: 6px 0 0; font-size: 14px; color: var(--ink2); }
.feature .btns { margin-top: 12px; }
.feature .btn { min-height: 44px; font-size: 14px; }

/* 人物の名前を並べる */
.names { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.names div { background: var(--card); border: 1px solid var(--line); border-radius: var(--rsm); padding: 10px 12px; font-weight: 700; }
.names small { display: block; font-weight: 500; font-size: 11px; color: var(--mute); }

/* 動画 */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.video + .video { margin-top: 12px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cap { font-size: 13px; color: var(--ink2); margin: 6px 0 16px; line-height: 1.6; }

/* フォーム */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field .req { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; color: #fff; background-color: var(--pink); border-radius: 4px; padding: 1px 6px; vertical-align: 2px; }
.field .opt { display: inline-block; margin-left: 6px; font-size: 10px; color: var(--mute); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; vertical-align: 2px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink);
  background-color: #fff; border: 1px solid #d6d6de; border-radius: var(--rsm);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.field .hint { font-size: 12px; color: var(--mute); margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecef; color: #b4234a; border-radius: var(--rsm); padding: 12px 14px; font-size: 14px; }
button.btn { width: 100%; font: inherit; font-weight: 700; cursor: pointer; }
button.btn:disabled { opacity: .6; cursor: default; }
.done { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 20px; }
.done .ok { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--prism); display: grid; place-items: center; color: #fff; font-size: 28px; font-weight: 700; }
.done .no { font: 700 22px/1.4 "Montserrat", sans-serif; letter-spacing: .06em; margin: 8px 0; font-variant-numeric: tabular-nums; }
.done p { margin: 6px 0 0; color: var(--ink2); font-size: 14px; }

.site-foot { text-align: center; font-size: 11px; color: var(--mute); padding: 24px 16px 40px; }
.site-foot .bar { height: 3px; background: var(--prism); margin-bottom: 20px; opacity: .6; }
