:root {
  --bg: #fff8ef;
  --bg-tint: #fdeedd;
  --surface: #ffffff;
  --text: #2b2420;
  --muted: #6b5e55;
  --line: #ecdccb;
  --red: #e2574c;
  --yellow: #f2b632;
  --green: #3e9e74;
  --blue: #3c7dd9;
  --purple: #8b63c9;
  --accent: #c8402f;
  --radius: 20px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  word-break: auto-phrase;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 .8em; }

.wrap { width: min(1040px, 100% - 32px); margin-inline: auto; }
.pc { display: none; }
@media (min-width: 720px) { .pc { display: inline; } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 248 239 / .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; }
.logo b { color: var(--accent); margin-left: .2em; }
.logo-dots { display: flex; gap: 3px; }
.logo-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.logo-dots i:nth-child(2) { background: var(--yellow); }
.logo-dots i:nth-child(3) { background: var(--blue); }
.nav { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 15px; }
.nav a:hover { background: var(--bg-tint); }
@media (min-width: 860px) { .nav { display: flex; } }

/* ヒーロー */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  margin: 0 0 20px; font-weight: 900; line-height: 1.25; letter-spacing: .02em;
  font-size: clamp(40px, 9vw, 84px);
}
.h1-sub { display: block; font-size: .42em; letter-spacing: .2em; color: var(--muted); }
.h1-year { display: inline-block; margin-left: .2em; font-size: .55em; color: var(--accent); vertical-align: .15em; }
.hero-lead { font-size: clamp(16px, 2.4vw, 19px); max-width: 34em; margin-bottom: 32px; }

.hero-card {
  display: inline-grid; gap: 4px;
  padding: 24px 28px; background: var(--surface);
  border: 3px solid var(--text); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--yellow);
}
.hero-card p { margin: 0; }
.date { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-weight: 900; line-height: 1.1; }
.date-y { width: 100%; font-size: 18px; color: var(--muted); letter-spacing: .1em; }
.date-d { font-size: 30px; }
.date-d b { font-size: 64px; color: var(--accent); }
.date-d small { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; margin-left: 4px; border-radius: 50%; background: var(--text); color: #fff; font-size: 15px; vertical-align: .6em; }
.date-sep { font-size: 32px; color: var(--muted); }
.time { font-size: 26px; font-weight: 700; }
.venue { font-size: 18px; font-weight: 700; }
.free { justify-self: start; margin-top: 8px !important; padding: 2px 14px; background: var(--green); color: #fff; border-radius: 999px; font-weight: 700; }

.floaters { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
main, .site-footer { position: relative; z-index: 1; }
.fl { position: absolute; left: 0; top: 0; display: block; background: var(--c); opacity: .55; will-change: transform; }
.fl-circle { border-radius: 50%; }
.fl-square { border-radius: 22%; }
.fl-triangle { clip-path: polygon(50% 4%, 96% 92%, 4% 92%); }
.fl-pill { border-radius: 999px; }
@media (max-width: 759px) { .fl { opacity: .4; } }

/* セクション共通 */
.section { padding: 72px 0; }
.section-tint { background: rgb(253 238 221 / .72); }
.heading { margin: 0 0 28px; font-size: clamp(26px, 4.5vw, 34px); font-weight: 900; line-height: 1.4; }
.heading span { background: linear-gradient(transparent 62%, rgb(242 182 50 / .55) 62%); padding: 0 4px; }
.lead { font-size: 18px; max-width: 40em; }
.note { margin-top: 28px; color: var(--muted); font-size: 15px; }
.sub { color: var(--muted); font-size: 15px; }

/* カード */
.cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; justify-content: center; grid-template-columns: min(100%, 340px); }
/* 3つ並べるのは、図形1つが300px以上取れる幅のときだけ */
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 340px)); } }
.card {
  position: relative; isolation: isolate; aspect-ratio: 1; container-type: inline-size;
  display: grid; place-content: center; justify-items: center; text-align: center; padding: 14%;
}
.card::before, .card::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.card::before { background: color-mix(in srgb, var(--c) 20%, white); }
.card::after { z-index: -2; background: var(--c); translate: 10px 10px; }
/* 中の文字やアイコンは図形の大きさに合わせて縮む（cqi＝余白を除いた中身の幅の1%。図形340pxのとき見出し24px・本文15px） */
.card h3 { margin: 3.3cqi 0 1.7cqi; font-size: 9.8cqi; font-weight: 900; line-height: 1.4; }
.card p { margin: 0; font-size: 6.1cqi; line-height: 1.75; }
.c-see { --c: var(--blue); padding: 30% 16% 16%; }
.c-see::before, .c-see::after { inset: -12% -14% -2%; clip-path: polygon(50% 0, 100% 87%, 0 87%); rotate: -9deg; }
.c-buy { --c: var(--red); }
.c-buy::before, .c-buy::after { border-radius: 50%; }
.c-try { --c: var(--green); }
.c-try::before, .c-try::after { inset: 8%; border-radius: 18px; rotate: 10deg; }
.c-see .card-icon, .c-buy .card-icon, .c-try .card-icon { width: 23cqi; height: 23cqi; background: #fff; }
.cards .card-icon svg { width: 14cqi; height: 14cqi; }
.card-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, white); }
.card-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* 開催概要 */
.info { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 8px 28px; }
.info > div { display: grid; gap: 4px 24px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.info > div:last-child { border-bottom: 0; }
.info dt { font-weight: 900; color: var(--accent); }
.info dd { margin: 0; font-size: 18px; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) { .info > div { grid-template-columns: 6em 1fr; } }

/* アクセス */
.access { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .access { grid-template-columns: 1fr 1.2fr; } }
.access-name { font-size: 20px; font-weight: 900; }
.map { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); background: var(--bg-tint); }
.map iframe { width: 100%; height: 340px; border: 0; }

.btn {
  display: inline-block; margin-top: 8px; padding: 12px 24px;
  background: var(--text); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 999px; transition: transform .15s ease, background .15s ease;
  overflow-wrap: anywhere;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(.97); }

/* 語の途中で改行しない */
.nw { white-space: nowrap; }

/* 事業所向け */
.recruit {
  position: relative; padding: 36px 28px 28px; background: var(--surface);
  border: 3px solid var(--text); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--blue);
}
.recruit-badge {
  position: absolute; top: -18px; left: 24px; margin: 0;
  padding: 2px 16px; background: var(--red); color: #fff; border-radius: 999px; font-weight: 700;
}
.list { margin: 0 0 20px; padding-left: 1.3em; }
.list li { margin-bottom: 6px; }
.deadline { font-size: 18px; padding: 12px 18px; background: var(--bg-tint); border-radius: 12px; }
.deadline b { color: var(--accent); }

/* お問い合わせ */
.contact-org { font-size: 20px; font-weight: 900; }

/* フッター */
.site-footer { padding: 40px 0; background: var(--text); color: #f3ebe3; }
.site-footer p { margin: 0 0 6px; }
.site-footer .small { font-size: 13px; color: #c9bcb0; }
