/* ==========================================================
   サミマ（コスサミマーケット Artist Alley 2026）共通スタイル
   デザイン方針：白ベース／差し色はピンク・ミント・ネイビー
   スマホ縦スクロール前提・余白重視・導線明確
   ========================================================== */
:root {
  /* ロゴから抽出した配色：メインは紺、差し色はロゴのフラッグカラー */
  --navy: #1d4a9e;
  --navy-deep: #16346e;
  --navy-soft: #e9eef9;
  --pink: #d5528d;
  --pink-soft: #fbecf3;
  --mint: #17a8a3;
  --mint-soft: #e6f5f4;
  --lime: #a6c93f;
  --lime-soft: #f2f7de;
  --yellow: #edab13;
  --yellow-soft: #fceebe;
  --orange: #d2532b;
  --purple: #8c4e93;
  --cyan: #2fa9c6;
  --text: #2b3550;
  --muted: #6b7791;
  --line: #dfe5f0;
  --bg: #ffffff;
  --bg-alt: #f7f9fd;
  --radius: 18px;
  --shadow: 0 10px 28px rgba(29, 74, 158, 0.08);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI",
    "Yu Gothic", "Noto Sans JP", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
ul { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}
/* ロゴのフラッグガーランドをイメージした多色ストライプ */
.site-header::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg,
    var(--navy) 0 14.3%,
    var(--cyan) 0 28.6%,
    var(--mint) 0 42.9%,
    var(--lime) 0 57.2%,
    var(--yellow) 0 71.5%,
    var(--orange) 0 85.8%,
    var(--pink) 0 100%);
}
.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo { height: 46px; width: auto; }
@media (max-width: 900px) {
  .brand-logo { height: 38px; }
}
.brand .brand-main {
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand .brand-main .accent { color: var(--pink); }
.brand .brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.25s;
}
.global-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.global-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.global-nav a:hover {
  background: var(--pink-soft);
  color: var(--pink);
  text-decoration: none;
}
.global-nav a.current {
  background: var(--navy);
  color: #fff;
}
.global-nav a.nav-external { color: var(--mint); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .global-nav.open { display: block; }
  .global-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 12px 16px;
  }
  .global-nav a { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-soft) 0%, #ffffff 45%, var(--mint-soft) 100%);
}
.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero-copy .eyebrow {
  display: inline-block;
  background: #fff;
  border: 1.5px solid var(--pink);
  color: var(--pink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-copy h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.hero-logo { margin: 0 0 18px; }
.hero-logo img { max-width: 440px; width: 100%; height: auto; }
.hero-copy .catch {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.hero-copy .catch .marker {
  color: var(--pink);
  background: linear-gradient(transparent 68%, var(--yellow-soft) 68%);
  padding: 0 2px;
}
.hero-copy .sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.hero-img img {
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.event-badges .badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 4px 14px rgba(38, 48, 77, 0.06);
}
.event-badges .badge .label {
  display: block;
  font-size: 11px;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.event-badges .badge .value {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 20px 32px; }
  .hero-copy h1 { font-size: 26px; }
  .hero-copy .catch { font-size: 22px; }
}

/* ---------- ページヘッダー（下層） ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-soft), var(--mint-soft));
  padding: 44px 0 36px;
  text-align: center;
}
.page-header h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--navy);
}
.page-header .lead {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}
@media (max-width: 820px) {
  .page-header h1 { font-size: 23px; }
}

/* ---------- セクション ---------- */
.section { padding: 48px 0; }
.section.alt { background: var(--bg-alt); }
.section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 22px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 21px;
  box-shadow: var(--shadow);
}
.section-title .en {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  margin-bottom: 2px;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 640px;
  margin: 0 auto 32px;
}
h2.heading {
  font-size: 22px;
  color: var(--navy);
  border-left: 6px solid var(--pink);
  padding-left: 14px;
  line-height: 1.5;
  margin: 40px 0 16px;
}
h2.heading:first-child { margin-top: 0; }
h3.subheading {
  font-size: 18px;
  color: var(--navy);
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px dashed var(--mint);
  display: inline-block;
}
@media (max-width: 820px) {
  .section { padding: 36px 0; }
  .section-title { font-size: 18px; padding: 10px 20px; }
  h2.heading { font-size: 19px; }
}

/* ---------- カード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 3 / 2; object-fit: cover; }
.card .card-body { padding: 20px 20px 22px; flex: 1; }
.card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 8px;
}
.card h3 { margin: 0 0 8px; font-size: 17.5px; color: var(--navy); }
.card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- 開催概要テーブル ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.info-table th,
.info-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }
.info-table th {
  width: 160px;
  background: var(--navy-soft);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding: 10px 16px; }
  .info-table td { padding: 12px 16px 16px; border-bottom: 1px solid var(--line); }
}

/* ---------- CTA ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 74, 158, 0.32);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(29, 74, 158, 0.42); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy-soft); }
.btn-mint {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 168, 163, 0.35);
}
.btn-mint:hover { color: #fff; }
.btn-accent {
  background: var(--pink);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(213, 82, 141, 0.35);
}
.btn-accent:hover { color: #fff; box-shadow: 0 12px 26px rgba(213, 82, 141, 0.45); }
.btn.disabled {
  background: #cfd6e2;
  color: #fff;
  box-shadow: none;
  pointer-events: none;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 26px 0 6px;
}
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #2f6ab8 55%, var(--mint) 135%);
  border-radius: 22px;
  padding: 36px 28px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 8px; font-size: 23px; }
.cta-band p { margin: 0 0 20px; font-size: 14.5px; opacity: 0.95; }
.cta-band .btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}
.cta-band .btn-white:hover { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 20px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--pink);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .q-mark, .faq-item .a-mark {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 15px;
}
.faq-item .q-mark { color: var(--pink); }
.faq-item .a-mark { color: var(--mint); }
.faq-item .faq-answer {
  padding: 0 20px 18px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--text);
  font-size: 14.5px;
  border-top: 1px dashed var(--line);
}
.faq-item .faq-answer > div { padding-top: 14px; }
.faq-item .faq-answer .a-mark { padding-top: 14px; }

/* ---------- リスト装飾 ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  line-height: 21px;
  text-align: center;
  border-radius: 50%;
  background: var(--lime-soft);
  color: #7ea32b;
  font-size: 13px;
  font-weight: 700;
}
.note-list { list-style: none; padding: 0; font-size: 14px; color: var(--muted); }
.note-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.note-list li::before {
  content: "・";
  position: absolute;
  left: 2px;
  color: var(--pink);
  font-weight: 700;
}

/* ---------- ステップ ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 62px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(210, 83, 43, 0.3);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 46px;
  bottom: 2px;
  width: 2px;
  background: #f6ddd2;
}
.steps li h3 { margin: 0 0 4px; font-size: 17px; color: var(--navy); padding-top: 7px; }
.steps li p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- お知らせ／準備中 ---------- */
.preparing {
  text-align: center;
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 64px 24px;
  color: var(--muted);
}
.preparing .icon { font-size: 40px; margin-bottom: 10px; }
.preparing h2 { color: var(--navy); margin: 0 0 8px; font-size: 21px; }

/* ---------- ハイライトボックス ---------- */
.highlight-box {
  background: var(--pink-soft);
  border: 1.5px solid #efc6da;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 24px 0;
}
.highlight-box h3 {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 17px;
}
.highlight-box p:last-child, .highlight-box ul:last-child { margin-bottom: 0; }
.mint-box {
  background: var(--mint-soft);
  border: 1.5px solid #b8e2e0;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 24px 0;
}
.mint-box h3 { margin: 0 0 10px; color: var(--mint); font-size: 17px; }
.mint-box p:last-child, .mint-box ul:last-child { margin-bottom: 0; }

/* ---------- 募集ステータス（一次終了／二次募集） ---------- */
.round-status {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.round-card {
  flex: 1 1 200px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: #fff;
}
.round-card h3 { margin: 8px 0 0; font-size: 18px; }
.round-card p { margin: 6px 0 0; }
.round-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
}
.round-card.is-closed { background: var(--bg-alt); opacity: 0.75; }
.round-card.is-closed h3 { color: var(--muted); text-decoration: line-through; }
.round-card.is-closed .round-badge { background: var(--line); color: var(--muted); }
.round-card.is-open { border-color: var(--mint); background: var(--mint-soft); }
.round-card.is-open h3 { color: var(--mint); }
.round-card.is-open .round-badge { background: var(--mint); color: #fff; }

/* ---------- 出演者プレースホルダ ---------- */
.performer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.performer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.performer-card .avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-soft), var(--mint-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 14px;
}
.performer-card h3 { text-align: center; margin: 0 0 12px; font-size: 17px; color: var(--navy); }
.performer-card dl { margin: 0 0 14px; font-size: 13.5px; }
.performer-card dt { font-weight: 700; color: var(--mint); margin-top: 8px; }
.performer-card dd { margin: 0; color: var(--muted); }
.performer-card .btn { width: 100%; padding: 11px 0; font-size: 14px; }

/* ---------- TOP用リンクパネル ---------- */
.link-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  max-width: 560px;
  margin: 0 auto 26px;
  text-align: center;
}
.link-panel .panel-en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
}
.link-panel .btn {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  padding: 18px 20px;
  font-size: 16.5px;
}
.link-panel .btn:last-child { margin-bottom: 0; }
.link-panel .panel-note {
  font-size: 13px;
  color: var(--muted);
  margin: -4px 0 14px;
}
.link-panel .panel-title {
  margin: 0 0 12px;
  font-size: 21px;
  color: var(--navy);
}
.link-panel .panel-body {
  font-size: 14px;
  color: var(--text);
  text-align: left;
  margin: 0 0 18px;
}
.link-panel .panel-date {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 2px;
}
.link-panel .panel-place {
  font-size: 15px;
  font-weight: 700;
  color: var(--mint);
  margin: 0 0 18px;
}

/* ---------- TOP用サブリンク ---------- */
.sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 560px;
  margin: 4px auto 0;
}
.sub-links a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
}
.sub-links a:hover {
  border-color: var(--navy);
  text-decoration: none;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #cdd4e6;
  margin-top: 64px;
  padding: 44px 0 28px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer .f-brand {
  font-weight: 800;
  color: #fff;
  font-size: 17px;
  margin-bottom: 6px;
}
.site-footer .f-brand .accent { color: #f4a0c3; }
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #cdd4e6; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #93a0c0;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- ユーティリティ ---------- */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt-0 { margin-top: 0; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
