@charset "utf-8";

/* ==========================================================================
   フィスコインターナショナル株式会社 — design tokens
   ========================================================================== */
:root {
  --navy: #192e6e;
  --navy-deep: #12245a;
  --blue-rule: #004aad;
  --gold: #ffbd59;
  --line-green: #00bf63;
  --grey: #828188;
  --border: #bbc0c5;
  --border-soft: #e3e7ec;
  --bg: #fafafa;
  --bg-tint: #f7fcff;
  --white: #fff;
  --shadow-card: 0 2px 10px rgba(25, 46, 110, .08);
  --shadow-raise: 0 6px 22px rgba(25, 46, 110, .12);
  --radius: 12px;
  --radius-pill: 16px;
  --wrap: 1230px;
  --font-gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Sawarabi Gothic", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* -------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  width: min(100% - 32px, 1340px);
  margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  min-height: 90px; padding: 12px 0;
}
.site-header__logo { flex: 0 0 auto; display: inline-flex; }
.site-header__logo img { width: 272px; height: auto; }

.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-family: var(--font-gothic);
  font-weight: 700; font-size: 18px; color: var(--navy);
  text-decoration: underline; text-underline-offset: 5px;
  text-decoration-thickness: 1px; text-decoration-color: transparent;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration-color: currentColor; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-gothic); font-weight: 700; font-size: 17px;
  padding: 13px 22px; border-radius: var(--radius-pill);
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px; text-decoration-color: transparent;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration-color: currentColor; transform: translateY(-1px); box-shadow: var(--shadow-card); }
.btn img { width: 26px; height: auto; flex: 0 0 auto; }
/* the icon set is baked in navy; flip it to white on dark surfaces */
.btn--navy img,
.btn--line img,
.panel--line .panel__figure img,
.side-line__head img,
.catalog-card__badge img,
.side-nav a[aria-current="page"] img,
.category-tile[aria-current="page"] img { filter: brightness(0) invert(1); }
.btn--line { background: var(--line-green); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--sm { font-size: 15px; padding: 10px 18px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: none; border: 0; color: var(--navy); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor;
  margin-inline: auto; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative; isolation: isolate;
  display: grid; align-items: center;
  min-height: 524px; padding-block: 64px;
  background: #dfe9f3; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(252, 252, 252, .72) 0%, rgba(252, 252, 252, .5) 45%, rgba(252, 252, 252, .18) 100%);
}
.hero__title {
  font-family: var(--font-mincho); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 40px); line-height: 1.25; letter-spacing: .04em;
}
.hero__lead { margin-top: 26px; font-size: 17px; line-height: 1.9; white-space: pre-line; }
.hero__cta { margin-top: 40px; }

/* page hero (subpages) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; min-height: 384px; padding-block: 56px;
  background: #e7eef6;
}
.page-hero--plain { background: linear-gradient(135deg, #f2f4f7 0%, #e9edf2 100%); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(252, 252, 252, .74), rgba(252, 252, 252, .3));
}
.page-hero__title {
  font-family: var(--font-mincho); font-weight: 600;
  font-size: clamp(30px, 4.6vw, 42px); letter-spacing: .05em;
}
.page-hero__rule { display: block; width: 170px; height: 4px; margin-top: 14px; background: var(--gold); }
.page-hero__rule--short { width: 51px; }
.page-hero__en {
  display: block; margin-top: 12px; color: var(--gold);
  font-family: var(--font-mincho); font-size: 20px; letter-spacing: .18em; text-transform: none;
}

/* ------------------------------------------------------------ sections -- */
.section { padding-block: 68px; }
.section--tint { background: var(--bg); }
.section--white { background: var(--white); }
.section-title {
  font-family: var(--font-mincho); font-weight: 700;
  font-size: clamp(22px, 2.6vw, 26px); letter-spacing: .04em;
}
.section-title--center { text-align: center; }
.section-title--center::after {
  content: ""; display: block; width: 69px; height: 4px;
  margin: 18px auto 0; background: var(--gold);
}

/* ----------------------------------------------------------- home grid -- */
.home-panels {
  display: grid; gap: 24px;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) minmax(0, 1fr);
}
.panel { border-radius: var(--radius); padding: 26px 28px; }
.panel--news { background: var(--white); box-shadow: var(--shadow-card); border: 1px solid var(--border-soft); }
.panel--line { background: var(--line-green); color: #fff; display: flex; flex-direction: column; }
.panel--catalog { background: var(--navy); color: #fff; display: flex; flex-direction: column; }

.panel__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.panel__head h2 { font-family: var(--font-gothic); font-size: 22px; }
.panel__head .en { color: var(--grey); font-family: var(--font-gothic); font-size: 15px; font-weight: 700; }
.panel__more {
  margin-left: auto; font-family: var(--font-gothic); font-weight: 700; font-size: 16px;
  text-decoration: underline; text-underline-offset: 4px; white-space: nowrap;
}

.news-list { display: grid; }
.news-list li + li { border-top: 1px solid var(--border-soft); }
.news-list a {
  display: grid; grid-template-columns: 104px 1fr auto; gap: 12px;
  align-items: center; padding: 13px 0; text-decoration: none;
}
.news-list a:hover .news-list__title { text-decoration: underline; text-underline-offset: 3px; }
.news-list__date { font-family: var(--font-gothic); font-weight: 700; font-size: 14px; color: var(--navy); }
.news-list__title { font-family: var(--font-gothic); font-weight: 700; font-size: 14px; }
.badge-new { width: 36px; height: auto; }

.panel--line .panel__figure { display: flex; align-items: center; gap: 16px; }
.panel--line .panel__figure img { width: 74px; }
.panel--line h2, .panel--catalog h2 { font-family: var(--font-gothic); font-size: 22px; }
.panel__lead { margin-top: 14px; font-family: var(--font-gothic); font-weight: 700; font-size: 17px; white-space: pre-line; }
.panel__cta { margin-top: auto; padding-top: 22px; }
.panel--line .btn { background: #fff; color: var(--line-green); }
.panel--catalog .btn { background: #fff; color: var(--navy); font-size: 15px; }
.panel--catalog .panel__body { display: flex; gap: 16px; align-items: flex-start; }
.panel--catalog .panel__body img { width: 118px; flex: 0 0 auto; border-radius: 4px; }
.panel--catalog .panel__lead { font-size: 16px; }

/* ------------------------------------------------------ category tiles -- */
.category-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 34px;
}
.category-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 179px; padding: 18px 10px 14px;
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-card); text-decoration: none; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.category-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-raise); }
.category-tile__icon { height: 86px; display: grid; place-items: center; }
.category-tile__icon img { max-height: 86px; width: auto; }
.category-tile__name { font-family: var(--font-gothic); font-weight: 700; font-size: 16px; }
.category-tile { --chev-fg: var(--navy); --chev-bg: #fff; }
.category-tile__chevron { width: 25px; height: 25px; }
.category-tile__chevron circle { fill: var(--chev-fg); }
.category-tile__chevron path { stroke: var(--chev-bg); }
.category-tile[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; --chev-fg: #fff; --chev-bg: var(--navy); }
.category-tile[aria-current="page"] img { filter: brightness(0) invert(1); }

.center-cta { margin-top: 40px; text-align: center; }

/* --------------------------------------------------------- mascot band -- */
.mascot-band {
  position: relative; display: flex; align-items: center; gap: 34px;
  padding: 26px 34px; border: 1px solid var(--border-soft);
  border-radius: var(--radius); background: var(--white);
}
.mascot-band__img { width: 150px; flex: 0 0 auto; }
.mascot-band__body { flex: 1 1 auto; }
.mascot-band__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-mincho); font-size: 24px; }
.mascot-band__title img { width: 40px; }
.mascot-band__lead { margin-top: 12px; font-family: var(--font-gothic); font-size: 17px; }
.mascot-band__cta { flex: 0 0 auto; }

/* -------------------------------------------------------------- footer -- */
.site-footer { background: var(--navy); color: #fff; padding-block: 44px; }
.site-footer a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: transparent; }
.site-footer a:hover { text-decoration-color: currentColor; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 300px) 1fr auto; gap: 36px; align-items: start; }
.site-footer__logo { background: #fff; border-radius: 10px; padding: 14px 18px; display: inline-block; }
.site-footer__logo img { width: 320px; max-width: 100%; }
.footer-nav { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-nav h2 { font-family: var(--font-body); font-size: 15px; font-weight: 400; margin-bottom: 10px; }
.footer-nav li { font-size: 13px; line-height: 1.85; }
.site-footer__contact .btn { background: #fff; color: var(--navy); }
.site-footer__legal { margin-top: 34px; font-size: 12px; color: rgba(255, 255, 255, .8); }

/* --------------------------------------------------------- breadcrumbs -- */
.breadcrumbs { background: var(--bg-tint); padding-block: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; font-family: var(--font-gothic); font-size: 15px; font-weight: 700; color: #4267b2; }
.breadcrumbs li + li::before { content: "›"; color: var(--border); font-weight: 400; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs [aria-current="page"] { color: var(--navy); }

/* ------------------------------------------------------ product layout -- */
.product-page { background: var(--bg-tint); padding-block: 44px 66px; }
.product-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; }

.side-nav { background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-card); }
.side-nav__title { background: var(--navy); color: #fff; font-family: var(--font-gothic); font-size: 17px; padding: 14px 18px; }
.side-nav li + li { border-top: 1px solid var(--border-soft); }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 18px; font-family: var(--font-gothic); font-weight: 700; font-size: 16px; text-decoration: none;
}
.side-nav a:hover { background: #f2f6fb; }
.side-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.side-nav a[aria-current="page"] img { filter: brightness(0) invert(1); }
.side-nav img { width: 15px; }

.side-line {
  margin-top: 22px; background: var(--line-green); color: #fff;
  border-radius: 8px; padding: 20px 18px; text-align: center;
}
.side-line__head { display: flex; align-items: center; gap: 10px; font-family: var(--font-gothic); font-weight: 700; font-size: 15px; }
.side-line__head img { width: 52px; }
.side-line p { margin-top: 12px; font-family: var(--font-gothic); font-weight: 700; font-size: 15px; }
.side-line .btn { margin-top: 14px; background: #fff; color: var(--line-green); font-size: 16px; }

.product-main { display: grid; gap: 34px; }
.product-title {
  font-family: var(--font-gothic); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 33px); text-align: center; letter-spacing: .02em;
}

.product-body { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 34px; align-items: start; }
.product-gallery {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 22px; display: grid; gap: 20px; box-shadow: var(--shadow-card);
}
.product-gallery img { width: 100%; height: auto; border-radius: 4px; }

.product-doc { display: grid; gap: 22px; }
.product-doc h2 {
  font-family: var(--font-body); font-weight: 400; font-size: 20px; line-height: 1.6;
  padding-bottom: 8px; border-bottom: 2px solid var(--blue-rule); white-space: pre-line;
}
.product-doc p { font-size: 16px; line-height: 1.9; white-space: pre-line; }
.product-doc .figures { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.product-doc .figures img { width: 100%; border-radius: 6px; }

.spec-table { margin-top: 6px; }
.spec-table + .spec-table { margin-top: 26px; }
.spec-table th, .spec-table td {
  text-align: left; vertical-align: top; padding: 14px 8px;
  border-bottom: 2px solid var(--grey); white-space: pre-line;
}
.spec-table th { width: 190px; font-family: var(--font-gothic); font-weight: 700; font-size: 19px; }
.spec-table td { font-size: 16px; }

/* comparison tables: several variants side by side, so they scroll if narrow */
.spec-scroll {
  margin-top: 6px; overflow-x: auto;
  /* a shadow on the right edge while there is more table to scroll to */
  background:
    linear-gradient(90deg, var(--bg) 30%, rgba(255, 255, 255, 0)) left / 24px 100% no-repeat,
    linear-gradient(270deg, var(--bg) 30%, rgba(255, 255, 255, 0)) right / 24px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgba(25, 46, 110, .18), transparent) left / 12px 100% no-repeat,
    radial-gradient(farthest-side at 100% 50%, rgba(25, 46, 110, .18), transparent) right / 12px 100% no-repeat;
  background-attachment: local, local, scroll, scroll;
}
.spec-scroll:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.spec-scroll + .spec-scroll, .spec-scroll + .spec-table, .spec-table + .spec-scroll { margin-top: 26px; }
.spec-table--grid { width: 100%; min-width: 560px; border-collapse: collapse; }
.spec-table--grid th, .spec-table--grid td { padding: 12px 14px; font-size: 15px; }
.spec-table--grid thead th {
  font-family: var(--font-gothic); font-weight: 700; font-size: 16px;
  border-bottom: 2px solid var(--navy); white-space: normal;
}
.spec-table--grid tbody th { width: auto; white-space: nowrap; font-size: 16px; }
.spec-table--grid tbody tr:nth-child(even) { background: #f6f8fb; }

.product-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }

/* ------------------------------------------- category head + switcher -- */
.cat-head { background: linear-gradient(180deg, #eef2f8 0%, var(--bg) 100%); padding-block: 40px 34px; }
.cat-head__inner { display: flex; align-items: center; gap: 26px; }
.cat-head__icon {
  flex: 0 0 auto; width: 92px; height: 92px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.cat-head__icon img { max-width: 58px; max-height: 58px; width: auto; }
.cat-head__title {
  font-family: var(--font-mincho); font-weight: 600;
  font-size: clamp(26px, 4vw, 40px); letter-spacing: .04em; line-height: 1.2;
}
.cat-head__count {
  margin-top: 8px; font-family: var(--font-gothic); font-size: 15px; color: var(--grey);
}
.cat-head__count span { font-size: 20px; font-weight: 700; color: var(--navy); }
.cat-head__lead {
  margin-top: 22px; max-width: 820px; font-size: 15.5px; line-height: 2;
  color: var(--navy); padding-left: 118px;
}
.cat-head__lead + .cat-head__lead { margin-top: 14px; }

.cat-switch { background: var(--white); border-bottom: 1px solid var(--border-soft); padding-block: 18px 2px; }
.cat-switch + .section { padding-top: 44px; }
.cat-switch__label {
  font-family: var(--font-gothic); font-weight: 700; font-size: 14px;
  color: var(--grey); letter-spacing: .08em; margin-bottom: 10px;
}
.cat-switch__list {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 14px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.cat-chip {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--white); color: var(--navy); text-decoration: none;
  font-family: var(--font-gothic); font-weight: 700; font-size: 15px;
  transition: background .15s ease, border-color .15s ease;
}
.cat-chip img { width: 22px; height: auto; }
.cat-chip:hover { background: #f2f6fb; border-color: var(--navy); }
.cat-chip[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-chip[aria-current="page"] img { filter: brightness(0) invert(1); }

/* ------------------------------------------------------- product cards -- */
.product-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.product-grid--top { margin-top: 0; }
.product-grid > li { display: flex; }
.product-card {
  flex: 1 1 auto;
  display: flex; flex-direction: column; gap: 16px; padding: 18px 18px 24px;
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-card); text-decoration: none; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raise); }
.product-card__media { display: grid; place-items: center; height: 178px; }
.product-card__media img { max-height: 178px; max-width: 100%; width: auto; object-fit: contain; }
.product-card__name {
  font-family: var(--font-gothic); font-weight: 700; font-size: 19px; line-height: 1.5;
  text-wrap: balance;
}
.product-card__cta {
  margin-top: auto; align-self: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 9px 26px; font-family: var(--font-gothic); font-weight: 700; font-size: 17px;
  text-decoration: underline; text-underline-offset: 4px;
}

/* ---------------------------------------------------------- news pages -- */
.news-year { font-family: var(--font-mincho); font-size: clamp(26px, 3.4vw, 34px); text-align: center; }
.news-year::after { content: ""; display: block; width: 69px; height: 4px; margin: 16px auto 0; background: var(--gold); }
.news-intro { margin-top: 22px; text-align: center; font-size: 20px; line-height: 1.7; white-space: pre-line; }

.news-entries {
  margin-top: 42px; background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 8px 34px;
}
.news-entry { padding-block: 30px; }
.news-entry + .news-entry { border-top: 1px solid var(--border-soft); }
.news-entry__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 24px; }
.news-entry__date { font-family: var(--font-gothic); font-weight: 700; font-size: 21px; }
.news-entry__title { font-family: var(--font-gothic); font-size: 24px; }
.news-entry__body { margin-top: 16px; padding-left: 44px; font-size: 17px; white-space: pre-line; }
.news-entry__more { margin-top: 10px; padding-left: 44px; }
.news-entry__more a {
  font-family: var(--font-gothic); font-weight: 700; font-size: 15px;
  text-decoration: underline; text-underline-offset: 4px;
}

.news-nav { margin-top: 34px; text-align: right; }

/* ------------------------------------------------------- company pages -- */
.greeting-card {
  background: var(--white); border-radius: 4px; box-shadow: var(--shadow-raise);
  padding: 46px 54px;
}
.greeting-card__title { display: flex; align-items: center; gap: 26px; font-family: var(--font-mincho); font-size: 26px; letter-spacing: .06em; }
.greeting-card__title::after { content: ""; flex: 1 1 auto; height: 2px; background: #8f9dc4; }
.greeting-card__body { margin-top: 26px; font-size: 15px; line-height: 2.1; white-space: pre-line; }
.greeting-card__sign { margin-top: 26px; font-size: 15px; line-height: 1.9; white-space: pre-line; }

.profile-table { margin-top: 48px; }
.profile-table tr { border-bottom: 2px solid var(--border-soft); }
.profile-table th, .profile-table td { padding: 24px 10px; text-align: left; vertical-align: middle; }
.profile-table th { width: 320px; }
.profile-table__label { display: flex; align-items: center; gap: 26px; font-family: var(--font-gothic); font-size: 20px; font-weight: 700; }
.profile-table__label img { width: 46px; height: auto; }
.profile-table td { border-left: 2px solid var(--border-soft); padding-left: 44px; font-size: 20px; line-height: 1.7; white-space: pre-line; }

/* ---------------------------------------------------------- catalog cta */
.catalog-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: center;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 40px;
}
.catalog-card__badge { background: var(--blue-rule); border-radius: 4px; padding: 22px; display: grid; place-items: center; }
.catalog-card__badge img { width: 135px; }
.catalog-card__cover img { width: 193px; }

/* ------------------------------------------------------ distributors -- */
.distributor {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 44px; align-items: center;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 36px;
}
.distributor__name { font-family: var(--font-mincho); font-size: 27px; margin-bottom: 22px; }
.distributor__rows { display: grid; gap: 18px; }
.distributor__row { display: flex; align-items: center; gap: 22px; font-family: var(--font-gothic); font-size: 17px; }
.distributor__row img { width: 38px; }

/* ---------------------------------------------------------- mascot page */
.mascot-page { background: var(--bg); }
.mascot-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px; align-items: center;
}

.mascot-profile { justify-self: center; text-align: center; }
.mascot-profile__title {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--font-gothic); font-weight: 500; font-size: 27px; letter-spacing: .06em;
}
.mascot-profile__title img { width: 31px; height: auto; }
.mascot-profile__rows { margin-top: 40px; }
.mascot-profile__row {
  display: flex; align-items: center; justify-content: center; gap: 42px;
  padding-bottom: 14px; border-bottom: 2px dotted var(--grey);
}
.mascot-profile__row dt {
  display: flex; align-items: center; gap: 24px;
  font-family: var(--font-gothic); font-size: 24px; margin: 0;
}
.mascot-profile__row dt img { width: 37px; height: auto; }
.mascot-profile__row dd { margin: 0; font-family: var(--font-gothic); font-size: 24px; }
.mascot-profile__cta { margin-top: 22px; }
.mascot-profile__cta .btn { font-size: 24px; padding: 6px 20px; border-radius: 9px; }

.mascot-figure { margin: 0; position: relative; justify-self: center; }
.mascot-figure img { width: 340px; max-width: 100%; height: auto; }
.mascot-balloon {
  position: absolute; top: -22px; right: -46px; z-index: 1;
  min-width: 162px; padding: 16px 18px;
  background: var(--white); border: 2px solid var(--navy); border-radius: 14px;
  font-family: var(--font-gothic); font-size: 17px; line-height: 1.6;
  text-align: center; white-space: pre-line;
}
.mascot-balloon::before, .mascot-balloon::after {
  content: ""; position: absolute; left: 34px; width: 0; height: 0;
  border-style: solid;
}
.mascot-balloon::before {
  bottom: -22px; border-width: 22px 16px 0 0; border-color: var(--navy) transparent transparent transparent;
}
.mascot-balloon::after {
  bottom: -18px; border-width: 18px 13px 0 0; border-color: var(--white) transparent transparent transparent;
}

.mascot-gallery {
  display: grid; grid-auto-flow: column; justify-content: center;
  align-items: end; gap: 46px; margin-top: 56px;
}
.mascot-gallery img { height: clamp(180px, 21vw, 280px); width: auto; }

/* -------------------------------------------------------------- 404 --- */
.error-page { padding-block: 110px; text-align: center; }
.error-page h1 { font-family: var(--font-mincho); font-size: 40px; }
.error-page p { margin-top: 20px; }

/* ================================================== responsive ========= */
@media (max-width: 1180px) {
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-nav ul { gap: 18px; }
  .site-nav a { font-size: 16px; }
  .site-header__logo img { width: 220px; }
}

@media (max-width: 1024px) {
  .home-panels { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .product-body { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-head__inner { gap: 20px; }
  .cat-head__icon { width: 74px; height: 74px; }
  .cat-head__icon img { max-width: 46px; max-height: 46px; }
  .cat-head__lead { padding-left: 0; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .catalog-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .distributor { grid-template-columns: 1fr; }
  .mascot-layout { grid-template-columns: 1fr; gap: 56px; }
  .mascot-balloon { right: 0; }
}

@media (max-width: 1080px) {
  .site-header__inner { flex-wrap: wrap; min-height: 74px; row-gap: 0; }
  .nav-toggle { display: block; margin-left: auto; order: 1; }
  .site-nav { order: 2; flex: 1 0 100%; margin-inline: 0; display: none; }
  .header-actions { order: 3; flex: 1 0 100%; display: none; padding: 4px 0 16px; }
  .site-header[data-open="true"] .site-nav { display: block; }
  .site-header[data-open="true"] .header-actions { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-top: 1px solid var(--border-soft); }
  .site-nav a { display: block; padding: 14px 4px; font-size: 17px; }
  .header-actions .btn { flex: 1 1 0; }
  .greeting-card { padding: 28px 22px; }
  .profile-table th { width: auto; }
  .profile-table, .profile-table tbody, .profile-table tr, .profile-table th, .profile-table td { display: block; }
  .profile-table tr { padding-block: 18px; }
  .profile-table th, .profile-table td { padding: 6px 0; font-size: 17px; }
  .profile-table td { border-left: 0; padding-left: 68px; }
  .news-entry__body, .news-entry__more { padding-left: 0; }
  .news-entries { padding-inline: 20px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { min-height: 420px; padding-block: 48px; }
  .section { padding-block: 46px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: 1fr; }
  .cat-head { padding-block: 26px 22px; }
  .cat-head__inner { gap: 16px; }
  .cat-head__icon { width: 62px; height: 62px; border-radius: 8px; }
  .cat-head__icon img { max-width: 38px; max-height: 38px; }
  .cat-head__lead { margin-top: 18px; font-size: 14.5px; line-height: 1.9; }
  .cat-switch__list { margin-inline: -20px; padding-inline: 20px; }
  .cat-chip { font-size: 14px; padding: 8px 13px; }
  .product-card__media { height: 200px; }
  .product-card__media img { max-height: 200px; }
  .mascot-band { flex-direction: column; text-align: center; }
  .mascot-band__title { justify-content: center; }
  .mascot-gallery { grid-auto-flow: row; gap: 22px; justify-items: center; }
  .mascot-gallery img { height: auto; width: min(100%, 320px); }
  .mascot-profile__row { gap: 24px; }
  .mascot-profile__row dt, .mascot-profile__row dd { font-size: 20px; }
  .mascot-profile__cta .btn { font-size: 20px; }
  .news-list a { grid-template-columns: 1fr auto; }
  .news-list__date { grid-column: 1 / -1; }
  /* stack 項目/内容 pairs; comparison tables keep their grid and scroll instead */
  .spec-table:not(.spec-table--grid) th, .spec-table:not(.spec-table--grid) td {
    display: block; width: auto; border-bottom: 0; padding: 4px 0;
  }
  .spec-table:not(.spec-table--grid) th { padding-top: 16px; }
  .spec-table:not(.spec-table--grid) td { border-bottom: 2px solid var(--grey); padding-bottom: 14px; }
  .spec-table--grid th, .spec-table--grid td { padding: 10px; font-size: 14px; }
  .product-actions .btn { width: 100%; }
  .footer-nav { gap: 30px; }
  .site-header__logo img { width: 190px; }
  .header-actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .product-actions { display: none; }
  body { color: #000; }
}
