@charset "utf-8";
/* /sp/ トップ: モダンなスマホデザイン */
:root {
  color-scheme: light;
  --brand: #f39800;
  --brand-dark: #d97f00;
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #222;
  --sub: #6b7280;
  --line: #e5e7eb;
  --red: #e60012;
  --green: #1ea363;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 14px rgba(0,0,0,.05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.m {
  margin: 0; padding: 0 0 76px; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 15px; line-height: 1.6; -webkit-tap-highlight-color: transparent;
}
.m a { color: inherit; text-decoration: none; }
.m img { max-width: 100%; height: auto; border: 0; }
.m ul { list-style: none; margin: 0; padding: 0; }
.m h1, .m h2, .m h3, .m p, .m dl, .m dd { margin: 0; padding: 0; font-weight: normal; }

/* ヘッダー */
.m-header { position: sticky; top: 0; z-index: 50; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.m-header-in { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto; padding: 8px 14px; }
.m-logo { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.m-logo img { height: 34px; width: auto; }
.m-logo span { font-weight: bold; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-pc { font-size: 12px; color: var(--sub); border: 1px solid var(--line); padding: 4px 10px; border-radius: 14px; white-space: nowrap; }

.m-wrap { max-width: 640px; margin: 0 auto; padding: 0 14px; }

/* ヒーロー (検索) */
.m-hero { margin: 0 -14px; padding: 18px 14px 22px; color: #fff; background: linear-gradient(135deg, var(--brand), #ff6a00); }
.m-hero p { font-size: 13px; opacity: .92; margin-bottom: 10px; }
.m-search { display: flex; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.m-search input[type=search] { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 18px; font-size: 16px; background: transparent; color: #222; -webkit-appearance: none; appearance: none; }
.m-search button { border: 0; padding: 0 20px; background: var(--brand-dark); color: #fff; font-size: 15px; font-weight: bold; cursor: pointer; }

/* セクション */
.m-sec { margin: 20px 0 0; }
.m-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 10px; }
.m-sec-head h2 { font-size: 17px; font-weight: bold; padding-left: 10px; border-left: 4px solid var(--brand); line-height: 1.3; }
.m-sec-head a { font-size: 13px; color: var(--brand-dark); }
.m-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

/* クイックメニュー */
.m-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 14px 6px; }
.m-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; border-radius: 12px; font-size: 11.5px; text-align: center; line-height: 1.3; }
.m-quick a:active { background: var(--bg); }
.m-quick i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff3e0; }
.m-quick i { font-style: normal; font-size: 26px; line-height: 1; }

/* チップ (横スクロール / 折り返し) */
.m-chips-scroll { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-chip { flex: 0 0 auto; padding: 9px 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; white-space: nowrap; }
.m-chips-scroll .m-chip { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; white-space: normal; text-align: center; line-height: 1.3; border-radius: 12px; }
.m-chips-scroll .m-chip.hot { grid-column: 1 / -1; }
.m-chip.hot { background: var(--brand); color: #fff; font-weight: bold; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
.m-chips .m-chip { box-shadow: none; border: 1px solid var(--line); padding: 8px 14px; font-size: 13.5px; }

/* 広告・バナー */
.m-banner { display: block; margin-bottom: 10px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.m-banner img { display: block; width: 100%; }
.m-ad-label { font-size: 11px; color: var(--sub); text-align: center; margin-bottom: 6px; }

/* タブ (お知らせ / HOT NEWS) */
.m-seg { display: flex; padding: 4px; margin: 0 0 12px; border-radius: 12px; background: #e9eaee; }
.m-seg button { flex: 1; border: 0; padding: 9px 4px; border-radius: 9px; background: transparent; color: var(--sub); font-size: 14px; font-weight: bold; cursor: pointer; }
.m-seg button[aria-selected=true] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.m-panel[hidden] { display: none; }

/* リスト (サムネ付き) */
.m-news li + li { border-top: 1px solid var(--line); }
.m-news a { display: flex; gap: 12px; padding: 12px; align-items: flex-start; }
.m-news a:active { background: var(--bg); }
.m-news-thumb { flex: 0 0 76px; }
.m-news-thumb img { display: block; width: 76px; height: 57px; object-fit: cover; border-radius: 8px; background: var(--line); }
.m-news-body { flex: 1; min-width: 0; }
.m-news-body .t1 { font-size: 13px; color: var(--brand-dark); font-weight: bold; line-height: 1.4; }
.m-news-body .t2 { font-size: 14.5px; line-height: 1.5; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-news-body .t3 { font-size: 12px; color: var(--sub); margin-top: 3px; }
.m-more { display: block; padding: 13px; text-align: center; font-size: 14px; color: var(--brand-dark); border-top: 1px solid var(--line); }

/* イベント */
.m-ev li + li { border-top: 1px solid var(--line); }
.m-ev a { display: flex; align-items: center; gap: 12px; padding: 12px; }
.m-ev-date { flex: 0 0 52px; text-align: center; padding: 6px 0; border-radius: 10px; background: #fff3e0; color: var(--brand-dark); line-height: 1.1; }
.m-ev-date b { display: block; font-size: 20px; }
.m-ev-date small { font-size: 11px; }
.m-ev-title { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 特集 */
.m-feature li + li { border-top: 1px solid var(--line); }
.m-feature a { display: flex; gap: 12px; padding: 12px; }
.m-feature img { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.m-feature .t1 { font-weight: bold; font-size: 15px; line-height: 1.4; }
.m-feature .t2 { font-size: 13px; color: var(--sub); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* フッター */
.m-footer { margin: 28px 0 8px; text-align: center; font-size: 12.5px; color: var(--sub); }
.m-footer a { color: var(--brand-dark); text-decoration: underline; }
.m-footer p + p { margin-top: 6px; }

/* 下部タブバー */
.m-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--card); box-shadow: 0 -1px 0 var(--line), 0 -4px 16px rgba(0,0,0,.06); padding-bottom: env(safe-area-inset-bottom); }
.m-tabbar ul { display: flex; max-width: 640px; margin: 0 auto; }
.m-tabbar li { flex: 1; }
.m-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px 6px; font-size: 10.5px; color: var(--sub); }
.m-tabbar a.on { color: var(--brand-dark); font-weight: bold; }
.m-tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 下層ページ共通 */
.m-crumb { margin: 12px 2px 10px; font-size: 12.5px; color: var(--sub); }
.m-crumb a { color: var(--brand-dark); }
.m-hero-img img { display: block; width: 100%; }
.m-btn-row { display: flex; gap: 10px; margin: 14px 0 0; }
.m-btn { flex: 1; display: block; padding: 13px 8px; border-radius: 12px; background: var(--brand); color: #fff !important; text-align: center; font-weight: bold; box-shadow: var(--shadow); }
.m-btn.ghost { background: var(--card); color: var(--brand-dark) !important; border: 1px solid var(--brand); box-shadow: none; }
.m-btn:active { opacity: .85; }
.m-prose { padding: 14px; margin-bottom: 12px; }
.m-prose h3 { font-size: 16px; font-weight: bold; color: var(--brand-dark); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px dotted var(--line); }
.m-prose p { margin: 0 0 10px; line-height: 1.75; }
.m-prose p:last-child { margin-bottom: 0; }
.m-prose img { display: inline-block; max-width: 100%; height: auto; }
.m-prose.center, .m-prose .center { text-align: center; }
.m-note { font-size: 11.5px; color: var(--sub); line-height: 1.6 !important; }
.m-note a { color: var(--brand-dark); text-decoration: underline; word-break: break-all; }
.m-links { margin: 6px 0 12px; }
.m-links li + li { margin-top: 8px; }
.m-links a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); position: relative; padding-right: 28px; }
.m-links a::after { content: "›"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--sub); font-size: 18px; }
.m-media li { padding: 12px 0; text-align: center; }
.m-media li + li { border-top: 1px solid var(--line); }
.m-media li a:first-child { display: block; margin-bottom: 8px; }
.m-media li a:last-child { display: block; font-size: 13.5px; text-align: left; line-height: 1.6; color: var(--brand-dark); }
