@font-face { font-family: "Noto Sans JP"; font-weight: 400; font-display: swap; src: url("./fonts/noto-sans-jp-400.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 700; font-display: swap; src: url("./fonts/noto-sans-jp-700.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 900; font-display: swap; src: url("./fonts/noto-sans-jp-900.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("./fonts/roboto-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("./fonts/roboto-latin-700.woff2") format("woff2"); }

:root {
  --ink: #494949;
  --sub: #6b6b6b;
  --accent: #d83810;
  --page: #f0f0f0;
  --card: #ffffff;
  --soft: #f5f5f5;
  --line: #dcdcdc;
  --notice: #fffdeb;
  --footer: #494949;
  --footer-text: #c9c9c9;
  --header-h: 58px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.latin { font-family: "Roboto", "Noto Sans JP", sans-serif; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
  padding: 10px 16px;
  background: #fff;
}
.site-header__logo { width: auto; height: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 900; line-height: 1; text-decoration: none; white-space: nowrap;
}
@media (hover: hover) { .button:hover { background: #333; } }

.page-title { padding: 32px 16px; text-align: center; }
.page-title h1 { font-size: 24px; font-weight: 700; line-height: 1.5; }

.cards { display: flex; flex-direction: column; gap: 16px; padding: 0 12px 48px; }
.card {
  display: flex; flex-direction: column; gap: 24px;
  width: 100%; max-width: 1120px; margin: 0 auto;
  padding: 32px 20px;
  border-radius: 12px; background: var(--card);
}

.notice { padding: 14px 16px; background: var(--notice); }
.notice__title { color: var(--accent); font-size: 15px; font-weight: 700; line-height: 1.6; }
.notice__body { margin-top: 4px; font-size: 14px; line-height: 1.7; }

.lead { font-size: 16px; line-height: 1.9; }

.news__item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.news__date { color: var(--sub); font-size: 14px; line-height: 1.5; }
.news__link { font-size: 15px; line-height: 1.6; }

.heading {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px 14px 14px;
  background: var(--soft);
  font-size: 20px; font-weight: 700; line-height: 1.5;
}
.heading::before { content: ""; flex: none; align-self: stretch; width: 3px; background: var(--accent); }

.faq__category { display: flex; flex-direction: column; gap: 4px; }
.faq__category-title { font-size: 17px; font-weight: 700; line-height: 1.5; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  font-size: 15px; line-height: 1.7;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; margin-left: auto;
  width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--ink);
}
.faq__item[open] summary::after { border-top: 0; border-bottom: 6px solid var(--ink); }
.faq__answer { margin-bottom: 16px; padding: 14px 16px; border-radius: 8px; background: var(--soft); font-size: 14px; line-height: 1.4; }
.faq__answer p + p { margin-top: 0.5em; }

.contact__name { font-size: 17px; font-weight: 700; line-height: 1.5; }
.contact__table { border-top: 1px solid var(--line); }
.contact__row { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__row dt { color: var(--sub); font-size: 14px; font-weight: 700; line-height: 1.5; }
.contact__row dd { font-size: 16px; line-height: 1.7; }
.contact__mail { font-size: 20px; font-weight: 700; line-height: 1.4; }
.contact__notes { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 8px; background: var(--soft); font-size: 14px; line-height: 1.7; }

.site-footer {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 20px;
  background: var(--footer); color: var(--footer-text);
}
.site-footer__logo { width: 148px; }
.site-footer__text { font-size: 11px; line-height: 1.7; text-align: center; }

@media (min-width: 768px) {
  :root { --header-h: 72px; }
  .site-header { padding: 12px 40px; }
  .site-header__logo { height: 44px; }
  .button { padding: 16px 24px; font-size: 16px; }

  .page-title { padding: 56px 40px; }
  .page-title h1 { font-size: 40px; }

  .cards { gap: 24px; padding: 0 clamp(24px, 6.25vw, 80px) 80px; }
  .card { gap: 32px; padding: 64px clamp(32px, 6.25vw, 80px); border-radius: 16px; }

  .notice { padding: 18px 24px; }
  .notice__title { font-size: 16px; }
  .notice__body { font-size: 15px; }

  .news__item { flex-direction: row; align-items: center; gap: 16px; padding: 18px 0; }
  .news__date { flex: none; display: flex; align-items: center; gap: 16px; }
  .news__date::after { content: ""; width: 1px; height: 14px; background: #ccc; }
  .news__link { font-size: 16px; }

  .heading { gap: 16px; padding: 20px 24px; font-size: 24px; }

  .faq__category { gap: 8px; }
  .faq__category-title { font-size: 18px; }
  .faq__item summary { padding: 20px 0; font-size: 16px; }
  .faq__answer { padding: 18px 24px; font-size: 15px; }

  .contact__name { font-size: 20px; }
  .contact__row { flex-direction: row; align-items: center; gap: 24px; padding: 18px 0; }
  .contact__row dt { flex: none; width: 140px; font-size: 15px; }
  .contact__mail { font-size: 28px; }
  .contact__notes { padding: 18px 24px; font-size: 15px; }

  .site-footer { flex-direction: row; justify-content: center; gap: 22px; padding: 20px 40px; }
  .site-footer__logo { width: 185px; flex: none; }
  .site-footer__text { max-width: 761px; font-size: 12px; text-align: left; }
}
