:root {
  color-scheme: light;
  --font-body: "Inter", Arial, sans-serif;
  --font-display: "Inter", Arial, sans-serif;
  --font-accent: "Outfit", "Inter", Arial, sans-serif;
  --ink: #333333;
  --muted: #777777;
  --line: #f0f0f0;
  --paper: #ffffff;
  --canvas: #ffffff;
  --accent: #f8003a;
  --accent-soft: #f4f4f4;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; line-height: 1.65; overflow-x: hidden; background: #f5f5f5; }
a { color: var(--accent); }

.notice-bar {
  padding: 25px 24px;
  color: #fff;
  background: #181818;
  font-size: 17px;
}

.notice-bar-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  text-align: left;
}

.notice-bar a { color: #fff; font-weight: 600; text-decoration: underline; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner,
.footer-inner,
.page-layout,
.breadcrumb,
.archive-main { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { color: var(--ink); font-size: 21px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 22px; }
.main-nav a { color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.order-link,
.read-more,
.button-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 17px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
  cursor: pointer;
}
.order-link svg,
.button-link svg { flex: 0 0 auto; width: 20px; height: 20px; }
.read-more::after { content: "→"; flex: 0 0 auto; line-height: 1; }
.order-link,
.read-more,
.button-link { transition: none; }
.order-link:hover,
.read-more:hover,
.button-link:hover { background: #c40030; border-color: #c40030; }
.breadcrumb { padding-block: 20px 14px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.25; }
h1 { margin: 0 0 16px; font-size: 36px; }
h2 { margin: 36px 0 14px; font-size: 33.18px; }
h3 { margin: 0 0 10px; font-size: 21px; }
p { margin: 0 0 18px; }

.archive-main { padding-block: 36px 72px; }
.archive-intro { max-width: 760px; margin-bottom: 34px; font-size: 18px; }
.topic-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 44px; padding: 0 0 18px; border-bottom: 1px solid var(--line); list-style: none; }
.topic-nav a { display: inline-flex; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 14px; text-decoration: none; }
.topic-section { margin-top: 42px; scroll-margin-top: 20px; }
.topic-section:first-of-type { margin-top: 0; }
.topic-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.topic-heading h2 { margin: 0; }
.topic-count { color: var(--muted); font-size: 14px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.article-card[hidden] { display: none; }
.article-card img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: center; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 19px; }
.card-topic { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.article-card h3 { margin: 0 0 10px; font-size: 19px; }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card .excerpt { flex: 1; margin: 0 0 20px; color: #555; font-size: 14px; line-height: 1.6; }
.read-more { min-height: 40px; margin-top: auto; padding-inline: 15px; font-size: 14px; }

.page-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr); align-items: start; gap: 40px; padding-bottom: 72px; }
.article-content { min-width: 0; padding: 36px 50px 36px 0; }
.article-category { margin: 0 0 9px; color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.article-date,
.card-date { color: var(--muted); font-size: 13px; }
.article-date { margin: -3px 0 17px; }
.card-date { margin: 0 0 9px; }
.article-lead { margin: 0 0 28px; font-size: 19px; line-height: 1.55; }
.article-hero { width: 100%; max-width: 100%; margin: 0 0 32px; overflow: hidden; }
.article-hero img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }
.article-hero figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.article-hero figcaption a { color: inherit; }
.article-content h2 { margin: 34px 0 12px; font-size: 25px; }
.article-content h3 { margin: 26px 0 10px; font-size: 20px; }
.article-content ul,
.article-content ol { margin: 0 0 20px; padding-left: 24px; }
.article-content li { margin: 0 0 8px; }
.article-image { display: block; width: 100%; height: auto; margin: 0 0 26px; border-radius: 15px; }
.article-note { margin-block: 25px; padding: 15px 17px; border-left: 3px solid var(--accent); background: #fff; }
.article-contact {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  align-items: stretch;
  gap: 0;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
}
.article-contact figure { display: flex; align-items: flex-end; justify-content: center; margin: 0; }
.article-contact img { display: block; width: 100%; max-height: 250px; object-fit: contain; object-position: center bottom; }
.article-contact-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.article-contact-copy h2 { margin: 0 0 10px; font-size: 23px; }
.article-contact-copy p { margin: 0 0 10px; }
.article-contact-copy .contact-phone { font-family: var(--font-accent); font-weight: 700; }
.related-panel { position: sticky; top: 20px; padding: 40px 40px 30px; border: 1px solid var(--line); border-radius: 25px; background: #fff; }
.related-panel h2 { margin: 0 0 18px; font-size: 24px; font-weight: 700; }
.related-list { margin: 0 0 22px; padding: 0; list-style: none; }
.related-list a { display: block; padding: 5px 0; color: var(--ink); font-weight: 400; text-decoration: none; }
.related-list a:hover { color: var(--accent); }
.related-order-link { width: 100%; }
.related-cta { display: block; margin-top: 22px; text-align: center; }
.related-cta a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; width: 100%; border-radius: 999px; color: #fff; background: var(--accent); font-weight: 700; text-decoration: none; }
.related-contact-note { margin-top: 20px; color: var(--ink); font-size: 16px; line-height: 26px; font-synthesis: style; }
.related-contact-note a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.article-back { display: inline-block; margin-top: 22px; }

.site-footer { color: #f5f6f3; background: #181818; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding-block: 38px; }
.site-footer h2 { margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: #f5f6f3; }
.copyright { grid-column: 1 / -1; margin-top: 4px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 24%); font-size: 14px; }

@media (max-width: 900px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 13px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .header-inner { min-height: unset; flex-wrap: wrap; padding-block: 16px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; gap: 18px; overflow-x: auto; padding-bottom: 3px; }
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .related-panel { position: static; }
  .article-content { padding: 28px 0; }
}
@media (max-width: 560px) {
  .header-inner, .footer-inner, .page-layout, .breadcrumb, .archive-main { width: min(100% - 32px, 1160px); }
  .notice-bar {
    padding: 12px;
    font-size: 15px;
    line-height: 1.4;
  }
  .notice-bar-inner {
    width: min(100%, 1160px);
  }
  .brand { font-size: 18px; }
  .order-link { min-height: 42px; padding-inline: 13px; }
  .main-nav { gap: 16px; }
  .archive-main { padding-block: 22px 44px; }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .topic-nav { gap: 7px; margin-bottom: 32px; }
  .topic-nav a { padding: 7px 11px; font-size: 13px; }
  .topic-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .page-layout { padding-bottom: 44px; }
  .article-content { padding: 22px 0; }
  .article-contact { grid-template-columns: minmax(0, 1fr); }
  .article-contact img { max-height: 240px; }
  .article-contact-copy { padding: 20px; }
  .related-panel { padding: 21px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .copyright { grid-column: auto; }
}
