/* =====================================================================
   兵庫カーライフフェスタ2026｜第2弾公開版
   Flyer-inspired: white + soft orange, playful and family-friendly
   Pure HTML + CSS / No JavaScript
   ===================================================================== */

:root {
  --orange: #ef8126;
  --orange-deep: #db5f16;
  --orange-soft: #fff0df;
  --orange-pale: #fff8f1;
  --yellow: #ffdd3e;
  --green: #49ad33;
  --green-deep: #25833a;
  --pink: #ea4e9a;
  --blue: #3b8dd2;
  --ink: #3c3027;
  --muted: #735e51;
  --cream: #fffdf9;
  --line: #f3c89e;
  --max-w: 1160px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.75;
  background: var(--cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max-w), calc(100% - 40px));
  margin: 0 auto;
}

.mobile-only {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 2px 12px rgba(112, 66, 29, 0.1);
}

.header-inner {
  width: min(1220px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.header-category {
  display: inline-block;
  padding: 4px 12px;
  color: #fff;
  background: var(--green);
  border: 2px solid #e6f4c9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.header-title {
  color: var(--orange-deep);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  flex-wrap: wrap;
}

.header-nav a {
  color: #704b30;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-nav a:hover {
  color: var(--orange-deep);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  padding: 28px 20px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 15%, rgba(255, 221, 62, 0.6) 0 44px, transparent 45px),
    radial-gradient(circle at 94% 16%, rgba(236, 94, 99, 0.18) 0 90px, transparent 91px),
    radial-gradient(circle at 11% 86%, rgba(255, 190, 97, 0.36) 0 100px, transparent 101px),
    linear-gradient(180deg, #fff4e3 0%, #fffaf2 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  color: rgba(239, 129, 38, 0.16);
  font-size: clamp(80px, 13vw, 175px);
  font-weight: 900;
  line-height: 1;
}

.hero::before {
  content: "●";
  top: -50px;
  left: -25px;
}

.hero::after {
  content: "●";
  right: -35px;
  bottom: -75px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 7px solid #fff;
  border-radius: 0;
  box-shadow: 0 10px 0 rgba(229, 115, 34, 0.15), 0 14px 28px rgba(115, 75, 48, 0.15);
}

.hero picture,
.hero picture img {
  display: block;
  width: 100%;
  border-radius: 0;
}

/* Banner */
.event-banner {
  background: var(--orange);
  color: #fff;
  padding: 13px 18px;
  text-align: center;
}

.event-banner-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.event-banner-label {
  display: inline-block;
  padding: 3px 12px;
  background: var(--yellow);
  color: #75480c;
  font-size: 15px;
  font-weight: 900;
  border-radius: 999px;
}

.event-banner p {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* Sections */
.section {
  position: relative;
  padding: 80px 0;
}

.section-summary,
.section-campaign,
.section-access {
  background: #fff;
}

.section-events,
.section-ecoshopping,
.section-flyers {
  background: var(--orange-pale);
}

body:has(.pagetop) .section-flyers {
  margin-bottom: -70px;
}

.section-gourmet {
  background: #fff8e5;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image: radial-gradient(rgba(239, 129, 38, 0.11) 1px, transparent 1px);
  background-size: 13px 13px;
}

.section>.container {
  position: relative;
  z-index: 1;
}

.section-heading {
  margin: 0 auto 38px;
  text-align: center;
}

.section-kicker {
  display: block;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.section-heading h2 {
  margin: 2px 0 5px;
  color: var(--orange-deep);
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.23;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 rgba(239, 129, 38, 0.16);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

/* Summary */
.summary-board {
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border: 4px solid var(--orange);
  box-shadow: 10px 10px 0 rgba(255, 189, 105, 0.35);
}

.summary-title {
  padding: 16px 30px;
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.summary-title span {
  color: var(--yellow);
  text-shadow: 1px 1px 0 #a65311;
}

.summary-list {
  margin: 0;
  padding: 10px 30px;
}

.summary-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  padding: 18px 0;
  border-bottom: 2px dashed #f2cfad;
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row dt {
  color: var(--orange-deep);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.summary-row dd {
  margin: 0;
}

.summary-row dd strong {
  display: block;
  color: var(--ink);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.22;
  font-weight: 900;
}

.summary-row dd strong span {
  color: var(--orange-deep);
  font-size: 0.7em;
}

.summary-row dd small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.summary-row-free dd strong {
  display: inline-block;
  padding: 3px 14px;
  color: #fff;
  background: var(--green);
  border-radius: 5px;
  font-size: 25px;
}

.summary-note {
  margin: 0;
  padding: 11px 30px;
  background: #fff7ee;
  color: #866d5b;
  font-size: 13px;
}

/* Events */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.event-card {
  overflow: hidden;
  background: #fff;
  border: 3px solid var(--card-color, var(--orange));
  border-radius: 0;
  box-shadow: 7px 7px 0 var(--card-shadow, #fbd9b5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 10px 10px 0 var(--card-shadow, #fbd9b5);
}

.card-green {
  --card-color: var(--green);
  --card-shadow: #d8efc9;
}

.card-blue {
  --card-color: var(--blue);
  --card-shadow: #cfe9fa;
}

.card-orange {
  --card-color: var(--orange);
  --card-shadow: #ffdab8;
}

.card-pink {
  --card-color: var(--pink);
  --card-shadow: #fad5e8;
}

.card-yellow {
  --card-color: #e8aa00;
  --card-shadow: #ffedaf;
}

.card-mint {
  --card-color: #32b59b;
  --card-shadow: #ccefe6;
}

.event-photo {
  display: block;
  width: 100%;
  height: 195px;
  object-fit: cover;
  object-position: center;
  border-bottom: 3px solid var(--card-color, var(--orange));
}

.event-photo-trucky {
  object-position: center 80%;
}

.event-card-body {
  padding: 20px 18px 22px;
}

.event-tag {
  display: inline-block;
  margin-bottom: 9px;
  padding: 3px 10px;
  color: #fff;
  background: var(--card-color, var(--orange));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.event-tag-date {
  background: var(--pink);
}

.event-card h3 {
  min-height: 2.9em;
  margin: 0 0 10px;
  color: var(--card-color, var(--orange-deep));
  font-size: 23px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.015em;
}

.event-card p {
  margin: 0;
  color: #55483f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

/* Gourmet */
.gourmet-board {
  overflow: hidden;
  background: #fff;
  border: 4px solid var(--green);
  box-shadow: 10px 10px 0 rgba(91, 180, 73, 0.2);
}

.gourmet-visual {
  border-bottom: 4px solid var(--green);
  background: #e9f8db;
}

.gourmet-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.gourmet-content {
  padding: 26px 32px 30px;
  text-align: center;
}

.gourmet-content h3 {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 31px;
  font-weight: 900;
}

.gourmet-content p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  font-weight: 700;
}

/* Campaign */
.campaign-board {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  /* background: #fff; */
  background: linear-gradient(145deg, #fff4fb 0%, #fff 70%);
  border: 4px solid var(--pink);
  box-shadow: 10px 10px 0 rgba(234, 78, 154, 0.18);
}

.campaign-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.campaign-content {
  padding: 36px 36px 28px;
  /* background: linear-gradient(145deg, #fff4fb 0%, #fff 70%); */
}

.campaign-ribbon {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  color: #fff;
  background: var(--pink);
  font-size: 16px;
  font-weight: 900;
  transform: rotate(-2deg);
}

.campaign-content h3 {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.25;
  font-weight: 900;
}

.campaign-content>p:not(.campaign-ribbon) {
  margin: 0;
  color: #55483f;
  font-size: 17px;
  font-weight: 700;
}

.campaign-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.campaign-chips span {
  padding: 4px 10px;
  color: var(--pink);
  background: #fff;
  border: 2px solid #f2aacd;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

/* Eco shopping: no stamp space */
.eco-board {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  /* background: #fff; */
  background: linear-gradient(145deg, #f8f0ff 0%, #fff 70%);
  border: 4px solid #7955b7;
  box-shadow: 10px 10px 0 rgba(121, 85, 183, 0.16);
}

.eco-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.eco-content {
  padding: 34px 36px;
}

.eco-content p {
  margin: 0 0 10px;
  color: #463653;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.75;
}

.eco-content strong {
  display: block;
  /* color: #7045a2; */
  font-size: 20px;
  line-height: 1.6;
}

.eco-content strong span {
  display: block;
  margin-block: .75rem;
  color: #0a60a8;
  font-weight: 900;
  line-height: 1.6em;
}

.eco-content strong span mark {
  color: #e0468c;
  font-size: 1.5em;
  font-weight: 900;
  text-shadow:
    2px 2px 1px #ffffff,
    -2px 2px 1px #ffffff,
    2px -2px 1px #ffffff,
    -2px -2px 1px #ffffff,
    2px 0px 1px #ffffff,
    0px 2px 1px #ffffff,
    -2px 0px 1px #ffffff,
    0px -2px 1px #ffffff;
  background: linear-gradient(to top, #938dc1 .5em, transparent .5em);
}

.areaMap {
  margin-top: 50px;
}

/* Access */
.access-board {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  background: #fff;
  border: 4px solid var(--orange);
  box-shadow: 10px 10px 0 rgba(239, 129, 38, 0.18);
}

.access-copy {
  padding: 34px;
}

.access-copy h3 {
  margin: 0;
  color: var(--orange-deep);
  font-size: 34px;
  font-weight: 900;
}

.access-address {
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 700;
}

.access-block {
  margin: 13px 0;
  padding: 14px 17px;
  background: #fff8f1;
  border-left: 7px solid var(--orange);
}

.access-block h4 {
  margin: 0 0 4px;
  color: var(--orange-deep);
  font-size: 17px;
  font-weight: 900;
}

.access-block ul {
  margin: 0;
  padding-left: 1.2em;
  color: #57493f;
  font-size: 15px;
  font-weight: 700;
}

.access-caution {
  margin: 7px 0 0;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.map-button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 20px;
  color: #fff;
  background: var(--orange);
  border: 3px solid var(--orange-deep);
  border-radius: 0;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 #f7c591;
  transition: transform 0.2s ease;
}

.map-button:hover {
  transform: translate(-1px, -1px);
}

.access-map {
  display: flex;
  align-items: center;
  background: #fff3e3;
  padding: 20px;
}

.access-map img {
  width: 100%;
  height: auto;
  border: 2px solid #cfc0ae;
}

/* Flyers */
.flyers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 920px;
  margin: 0 auto;
}

.flyer-card {
  padding: 22px;
  background: #fff;
  border: 3px solid var(--orange);
  box-shadow: 7px 7px 0 #fed6b2;
  text-align: center;
}

.flyer-card h3 {
  margin: 0 0 15px;
  color: var(--orange-deep);
  font-size: 23px;
  font-weight: 900;
}

.flyer-card img {
  display: block;
  width: 100%;
  /* height: 405px; */
  object-fit: cover;
  object-position: top;
  border: 2px solid #f1d0af;
}

.flyer-card a.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.exhibiting-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3em 4em;
  justify-content: center;
  padding: 3em 6%;
  overflow: hidden;
  background: #fff;
  border: 4px solid var(--orange);
  box-shadow: 10px 10px 0 rgba(239, 129, 38, 0.18);
}

.exhibiting-board a:hover {
  opacity: .8;
}

.exhibiting-board img {
  width: 100%;
  object-fit: contain;
  aspect-ratio: 5/2;
}

/* Footer */
.site-footer {
  background: #f07f24;
  color: #fff;
  border-top: 8px solid var(--yellow);
  padding: 46px 0 26px;
}

.footer-container {
  width: min(var(--max-w), calc(100% - 40px));
  margin: 0 auto;
}

.footer-org-block {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px 48px;
  padding-bottom: 26px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.52);
}

.org-group h4 {
  margin: 0 0 5px;
  color: var(--yellow);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.org-group p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.contact-highlight {
  font-size: 17px !important;
}

.footer-disclaimer {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0 0;
  color: #fff7e8;
  font-size: 12px;
  font-weight: 700;
}

.footer-disclaimer p {
  margin: 0;
}

.footer-copyright {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.pagetop {
  position: sticky;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  margin-bottom: 20px;
  margin-inline: auto 20px;
  background: #f07f24;
  aspect-ratio: 1/1;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(225, 93, 27, 0.8);
}

.pagetop::before {
  content: '';
  display: block;
  width: 20%;
  height: 20%;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: translateY(25%) rotate(45deg);
}

@media (max-width: 980px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 9px 0;
  }

  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .access-board,
  .campaign-board,
  .eco-board {
    grid-template-columns: 1fr;
  }

  .campaign-image {
    height: 300px;
    min-height: 0;
  }

  .eco-image {
    height: 245px;
    min-height: 0;
  }

  .access-map {
    order: -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--max-w));
  }

  .mobile-only {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .header-title {
    font-size: 16px;
  }

  .header-category {
    font-size: 10px;
    padding: 3px 7px;
  }

  .header-nav {
    justify-content: center;
    gap: 8px 12px;
    padding-bottom: 4px;
  }

  .header-nav a {
    font-size: 11px;
  }

  .hero {
    padding: 12px 10px 16px;
  }

  .hero-inner {
    border-width: 4px;
  }

  .event-banner {
    padding: 10px 14px;
  }

  .event-banner p {
    font-size: 14px;
    line-height: 1.5;
  }

  .event-banner-label {
    font-size: 12px;
  }

  .section {
    padding: 55px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 39px;
  }

  .section-heading p {
    font-size: 15px;
    line-height: 1.6;
  }

  .section-kicker {
    font-size: 11px;
  }

  .summary-board {
    border-width: 3px;
    box-shadow: 5px 5px 0 rgba(255, 189, 105, 0.35);
  }

  .summary-title {
    padding: 13px 12px;
    font-size: 20px;
    line-height: 1.4;
  }

  .summary-list {
    padding: 6px 16px;
  }

  .summary-row {
    grid-template-columns: 92px 1fr;
    padding: 15px 0;
  }

  .summary-row dt {
    font-size: 15px;
  }

  .summary-row dd strong {
    font-size: 21px;
  }

  .summary-row dd small {
    font-size: 12px;
  }

  .summary-note {
    padding: 8px 16px;
    font-size: 11px;
    line-height: 1.6;
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-photo {
    height: 205px;
  }

  .event-card h3 {
    min-height: 0;
    font-size: 25px;
  }

  .event-card p {
    font-size: 15px;
  }

  .gourmet-board,
  .campaign-board,
  .eco-board,
  .access-board {
    box-shadow: 5px 5px 0 rgba(239, 129, 38, 0.16);
  }

  .gourmet-content {
    padding: 20px 18px 23px;
  }

  .gourmet-content h3 {
    font-size: 26px;
  }

  .gourmet-content p {
    font-size: 15px;
  }

  .campaign-content,
  .eco-content,
  .access-copy {
    padding: 25px 20px;
  }

  .campaign-content h3 {
    font-size: 32px;
  }

  .campaign-content>p:not(.campaign-ribbon),
  .eco-content p {
    font-size: 15px;
  }

  .eco-content strong {
    font-size: 17px;
  }

  .eco-content strong span {
    font-size: 18px;
  }

  .access-copy h3 {
    font-size: 30px;
  }

  .access-map {
    padding: 12px;
  }

  .exhibiting-board {
    gap: 2em;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body:has(.pagetop) .section-flyers {
    padding-bottom: 100px;
  }


  .flyers-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .flyer-card {
    padding: 16px;
  }

  .flyer-card img {
    height: auto;
  }

  .footer-org-block {
    grid-template-columns: 1fr;
    gap: 17px;
  }
}

.object-contain {
  object-fit: contain;
}

#kitchen-car-schedule {
  margin-top: 50px;
  padding: 40px 30px 50px;
  font-weight: normal;
  background: #fff;
  border: 4px solid #49ad33;
}

#kitchen-car-schedule .bg-primary {
  font-size: 16px;
  font-weight: normal;
  background-color: rgba(255, 88, 62, .2) !important;
}

#kitchen-car-schedule .bg-secondary {
  font-size: 16px;
  font-weight: normal;
}