/*
Theme Name: イベント導線
Theme URI: https://user-flow.net
Author: Media Dev Team
Description: イベント・セミナー専門メディア「イベント導線」（https://user-flow.net）。チケット型レイアウトで催しを見つけるテーマ。
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: event-box
Tags: blog, custom-menu, featured-images, translation-ready
*/

:root {
  --ink: #1a2332;
  --muted: #5a6578;
  --line: #dde5ef;
  --paper: #f3f7fb;
  --surface: #ffffff;
  --night: #1a2332;
  --night-2: #e8f1fa;
  --accent: #0b84d6;
  --accent-dark: #0669ad;
  --coral: #e85a4f;
  --sky: #e8f4fc;
  --sky-deep: #b9daf3;
  --shadow: 0 10px 28px rgba(26, 35, 50, 0.08);
  --radius: 8px;
  --max: 1100px;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --display: "Outfit", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  /* 互換エイリアス（既存セレクタ向け） */
  --violet: var(--accent);
  --violet-dark: var(--accent-dark);
  --lime: var(--accent);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 320px at 8% -8%, rgba(11, 132, 214, 0.1), transparent 55%),
    radial-gradient(700px 280px at 96% 4%, rgba(232, 90, 79, 0.06), transparent 50%),
    var(--paper);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { opacity: 0.85; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  position: fixed; left: 8px; top: 8px; z-index: 9999;
  background: var(--surface); padding: 8px 16px; border-radius: 6px;
  box-shadow: var(--shadow);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header__main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 20px 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-brand { line-height: 1; }
.site-brand a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.site-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(200px, 72vw);
  object-fit: contain;
}
.site-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 8px;
}
.site-brand__name {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.site-tagline {
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.site-nav {
  background: var(--sky);
  border-bottom: 1px solid var(--line);
}
.site-nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  margin: 8px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.nav-menu { flex: 1; min-width: 0; }
.nav-menu ul { list-style: none; display: flex; flex-wrap: wrap; }
.nav-menu a {
  display: block;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}
.nav-menu a:hover { color: var(--accent-dark); background: rgba(255, 255, 255, 0.55); opacity: 1; }
.nav-search {
  flex: 0 0 auto;
  margin-left: auto;
  max-width: 280px;
  padding: 8px 0;
}
.nav-search .search-form { gap: 0; }
.nav-search .search-field {
  border-radius: 6px 0 0 6px;
  border-right: none;
  padding: 8px 12px;
  font-size: 0.85rem;
  background: var(--surface);
}
.nav-search .search-field:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  position: relative;
  z-index: 1;
}
.nav-search .search-submit {
  border-radius: 0 6px 6px 0;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}
.nav-search .search-submit:hover { background: var(--accent-dark); opacity: 1; }

.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  background: var(--sky);
  padding: 3px 9px;
  border-radius: 4px;
}

.noimg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 140px;
  background:
    linear-gradient(135deg, var(--sky-deep), var(--accent));
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  height: clamp(220px, 42vh, 340px);
  max-height: 50vh;
  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  animation: hero-in 0.55s ease both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hero__media {
  display: block;
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.hero__media img,
.hero__media .noimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.hero__media:hover img {
  transform: scale(1.03);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.55));
  pointer-events: none;
}
.hero__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px 24px;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(165deg, #fff 0%, var(--sky) 100%);
}
.hero__cat {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.35;
}
.hero__title a { color: var(--ink); }
.hero__title a:hover { color: var(--accent-dark); opacity: 1; }
.hero__lead {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
  max-width: 34em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero__cta {
  margin-top: 4px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 9px 14px;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero__cta:hover {
  opacity: 1;
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ---------- Lanes ---------- */
.lanes {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.lanes__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px;
}
.lanes__title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.lanes__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.lane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--violet);
  color: var(--ink);
}
.lane:nth-child(2) { border-left-color: var(--coral); }
.lane:nth-child(3) { border-left-color: #22c55e; }
.lane:nth-child(4) { border-left-color: #3b82f6; }
.lane:nth-child(5) { border-left-color: #f59e0b; }
.lane:hover { opacity: 1; background: #fff; }
.lane__name { font-weight: 800; line-height: 1.4; }
.lane__count {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--violet-dark);
}

/* ---------- Main ---------- */
.site-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 0;
}
.section-head { margin-bottom: 20px; }
.section-head__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
}
.section-head__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ticket {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.ticket:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--sky-deep);
}
.ticket__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--sky);
  color: var(--ink);
  text-align: center;
  padding: 14px 8px;
  border-right: 1px dashed var(--line);
}
.ticket__month {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
}
.ticket__day {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}
.ticket__thumb {
  display: block;
  overflow: hidden;
  background: var(--paper);
  line-height: 0;
}
.ticket__thumb img,
.ticket__thumb .noimg {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
.ticket__body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.ticket__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--muted);
}
.ticket__title {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.4;
}
.ticket__title a { color: var(--ink); }
.ticket__title a:hover { color: var(--violet-dark); opacity: 1; }
.ticket__excerpt {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Ranking ---------- */
.ranking {
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow);
}
.ranking__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.ranking__list { list-style: none; }
.ranking__item {
  display: grid;
  grid-template-columns: 36px 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.ranking__item:last-child { border-bottom: none; }
.ranking__num {
  font-family: var(--display);
  font-weight: 800;
  color: var(--coral);
  text-align: center;
}
.ranking__thumb { display: block; overflow: hidden; border-radius: 4px; line-height: 0; }
.ranking__thumb img,
.ranking__thumb .noimg {
  width: 112px;
  height: 84px;
  min-height: 84px;
  object-fit: cover;
}
.ranking__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ranking__link {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}
.ranking__link:hover { color: var(--violet-dark); opacity: 1; }

/* ---------- Pagination / empty ---------- */
.pagination { margin: 28px 0 0; text-align: center; }
.pagination .nav-links {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--ink);
}
.pagination a.page-numbers:hover {
  border-color: var(--violet);
  color: var(--violet-dark);
  opacity: 1;
}
.pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.empty-state,
.error-page {
  margin: 24px 0;
  padding: 40px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.error-code {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--violet);
}

/* ---------- Single ---------- */
.single-wrap {
  max-width: 820px;
  margin: 28px auto 56px;
  padding: 0 20px;
}
.breadcrumb { font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; opacity: 0.45; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--violet-dark); opacity: 1; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
  box-shadow: var(--shadow);
}
.article__cat { font-size: 0.76rem; font-weight: 800; color: var(--violet-dark); }
.article__title {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 8px 0;
}
.article__meta {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.article__thumb { margin: 22px 0; line-height: 0; }
.article__thumb img { width: 100%; border-radius: var(--radius); }
.article__thumb .noimg { aspect-ratio: 16 / 9; min-height: 0; border-radius: var(--radius); }

.entry-content { font-size: 1rem; }
.entry-content > * + * { margin-top: 1.35em; }
.entry-content h2 {
  font-family: var(--display);
  font-size: 1.3rem;
  padding: 10px 14px;
  background: var(--sky);
  color: var(--ink);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  line-height: 1.45;
}
.entry-content h3 {
  font-family: var(--display);
  font-size: 1.12rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--coral);
  line-height: 1.45;
}
.entry-content h4 { font-size: 1.05rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.5em; }
.entry-content blockquote {
  border-left: 4px solid var(--violet);
  padding: 12px 18px;
  background: var(--paper);
  color: var(--muted);
}
.entry-content img { border-radius: var(--radius); }
.entry-content a { color: var(--violet-dark); text-decoration: underline; }
.entry-content table {
  border-collapse: collapse;
  width: 100%;
  display: block;
  overflow-x: auto;
}
.entry-content th,
.entry-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 0.9rem;
}
.entry-content th { background: var(--sky); }
.entry-content code {
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.wp-block-image figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.article__footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.article__tags a {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--accent-dark);
  border: 1px solid var(--line);
  background: var(--sky);
  border-radius: 6px;
  padding: 3px 12px;
  margin: 0 6px 6px 0;
}
.article__share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.article__share-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.share-btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
  padding: 6px 14px;
}
.share-btn--x { background: #0f1419; }
.share-btn--fb { background: #1877f2; }
.share-btn--line { background: #06c755; }
.share-btn--hatena { background: #00a4de; }

.related-posts { margin-top: 36px; }
.related-posts__title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 12px;
}
.rcard:hover { opacity: 1; box-shadow: var(--shadow); }
.rcard__thumb { display: block; line-height: 0; }
.rcard__thumb img,
.rcard__thumb .noimg {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  min-height: 0;
}
.rcard__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  padding: 0 12px;
}
.rcard__date {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0 12px;
  margin-top: auto;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.post-nav a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.85rem;
  color: var(--ink);
}
.post-nav .nav-label {
  display: block;
  font-size: 0.72rem;
  color: var(--violet-dark);
  font-weight: 700;
}
.post-nav .nav-next { text-align: right; }

.search-form { display: flex; gap: 8px; }
.search-form .search-field {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 12px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}
.search-form .search-submit {
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 9px 16px;
  font: inherit;
  cursor: pointer;
}
.search-form .search-submit:hover { background: var(--accent-dark); opacity: 1; }
.section-head__search {
  margin-top: 14px;
  max-width: 420px;
}
.search-empty {
  margin-top: 16px;
  max-width: 420px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 56px;
  background: var(--surface);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #5ec8ef, var(--coral));
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 20px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 30px;
}
.footer-brand__name {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.footer-brand__name a {
  color: inherit;
  display: inline-flex;
  align-items: center;
}
.footer-brand__logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(180px, 70vw);
  object-fit: contain;
}
.footer-brand__tagline { margin-top: 8px; color: var(--accent-dark); font-size: 0.84rem; }
.footer-brand__desc { margin-top: 12px; font-size: 0.8rem; line-height: 1.9; color: var(--muted); }
.footer-col__title {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a,
.footer-nav a { color: var(--muted); font-size: 0.85rem; }
.footer-col a:hover,
.footer-nav a:hover,
.footer-totop:hover { color: var(--accent-dark); opacity: 1; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.copyright,
.footer-totop { font-size: 0.78rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }
  .hero__media {
    height: min(28vh, 200px);
    min-height: 160px;
    max-height: 28vh;
  }
  .hero__media img,
  .hero__media .noimg {
    min-height: 0;
  }
  .hero__media::after {
    background: linear-gradient(180deg, transparent 35%, rgba(255, 255, 255, 0.92));
  }
  .hero__panel {
    margin-top: -40px;
    padding: 16px 16px 20px;
    background: transparent;
    overflow: visible;
  }
  .lanes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket { grid-template-columns: 180px minmax(0, 1fr); }
  .related-posts__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .site-header__main { padding: 16px 14px; }
  .site-logo { height: 36px; }
  .site-brand__mark { width: 36px; height: 36px; font-size: 0.75rem; }
  .site-brand__name { font-size: 1.25rem; }
  .site-tagline { width: 100%; font-size: 0.78rem; }
  .site-nav__inner { padding: 0 8px; flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .nav-menu { display: none; width: 100%; order: 3; flex: none; }
  .nav-menu.is-open { display: block; padding-bottom: 8px; }
  .nav-menu ul { flex-direction: column; }
  .nav-menu a {
    padding: 11px 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav-search {
    order: 2;
    flex: 1;
    max-width: none;
    min-width: 0;
    margin-left: 0;
    padding: 8px 0;
  }
  .nav-search .search-submit { padding: 8px 12px; }
  .lanes__inner,
  .site-main,
  .single-wrap { padding-left: 14px; padding-right: 14px; }
  .ticket {
    grid-template-columns: 1fr;
  }
  .ticket__body {
    grid-column: 1 / -1;
  }
  .ticket__thumb img,
  .ticket__thumb .noimg { min-height: 200px; }
  .ticket__day { font-size: 1.4rem; }
  .ranking { padding: 18px 14px; }
  .ranking__item { grid-template-columns: 28px 88px minmax(0, 1fr); gap: 10px; }
  .ranking__thumb img,
  .ranking__thumb .noimg { width: 88px; height: 66px; min-height: 66px; }
  .article { padding: 22px 16px; }
  .article__title { font-size: 1.4rem; word-break: break-word; }
  .post-nav { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .lanes__list { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.15rem; }
}
