/* atsyringe.com — サイト全体のスタイル
   色はロゴ（atSyringe-normal.png）の黒 #231f20 と青 #1a75bc に合わせる。 */

:root {
  --ink: #231f20;
  --ink-soft: #55504f;
  --blue: #1a75bc;
  --blue-dark: #145d96;
  --line: #dcdde0;
  --bg-alt: #f3f6f9;
  --error: #b42318;
  --ok: #157f3b;
  --wrap: 1080px;
  --gutter: 20px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 8px;
  top: 8px;
  z-index: 10;
  padding: 8px 12px;
  background: #fff;
}

/* ---- ヘッダ ---- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.site-logo img { width: 200px; }
.site-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.site-nav a[aria-current="page"],
.site-nav a:hover { color: var(--blue); }

/* ---- ボタン ---- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--bg-alt); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---- トップ ---- */
.hero { padding: 56px 0; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero__title {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.45;
}
.hero__name { color: var(--blue); }
.hero__lead { margin: 0 0 28px; font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero__media video { width: 100%; border-radius: 8px; }

.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 1.4;
}
.section__note { color: var(--ink-soft); font-size: 14px; }
.section__more { margin: 20px 0 0; }
.cta { text-align: center; }

/* ---- お知らせ一覧 ---- */
.news-list { margin: 0; padding: 0; list-style: none; }
.news-list__item {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.news-list__item time { color: var(--ink-soft); font-size: 14px; padding-top: 2px; }

/* ---- 下層ページ・記事 ---- */
.page, .article { padding-top: 40px; padding-bottom: 64px; max-width: 840px; }
.page__title, .article__title { margin: 0 0 24px; font-size: 28px; line-height: 1.45; }
.article__meta { margin: 0 0 8px; color: var(--ink-soft); font-size: 14px; }
.article__featured { margin: 0 0 24px; }
.article__featured img { width: 200px; border: 1px solid var(--line); }
.article__body h2 { font-size: 20px; margin: 32px 0 12px; }
.article__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article__nav a { text-decoration: none; font-size: 14px; }
.article__nav span { display: block; color: var(--ink-soft); font-size: 12px; }
.article__nav-next { grid-column: 2; text-align: right; }
.article__back { margin-top: 32px; }

/* ---- フォーム ---- */
.contact-form { margin-top: 32px; }
.field { margin: 0 0 22px; padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: 6px; font-weight: 600; }
.req {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 3px;
  background: var(--error);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  vertical-align: 2px;
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b8bcc3;
  border-radius: 4px;
  font: inherit;
  color: inherit;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.check { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 20px 8px 0; font-weight: 400 !important; }
.check input { width: 18px; height: 18px; }
.turnstile { margin: 8px 0 20px; min-height: 65px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid;
}
.form-message.is-error { color: var(--error); border-color: var(--error); background: #fef3f2; }
.form-message.is-success { color: var(--ok); border-color: var(--ok); background: #ecfdf3; }

.links { padding-left: 1.2em; }

/* ---- フッタ ---- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}
.site-footer p { margin: 0 0 4px; }

/* ---- スマホ ---- */
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .site-header__inner { min-height: 60px; }
  .site-header__inner { gap: 12px; }
  .site-logo img { width: 116px; }
  .site-nav ul { gap: 12px; }
  .site-nav a { font-size: 13px; white-space: nowrap; }
  .hero { padding: 32px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__title { font-size: 26px; }
  .hero__lead { font-size: 16px; }
  .pc { display: none; }
  .section { padding: 40px 0; }
  .section__title { font-size: 22px; }
  .news-list__item { grid-template-columns: 1fr; gap: 2px; }
  .page__title, .article__title { font-size: 22px; }
  .article__nav { grid-template-columns: 1fr; }
  .article__nav-next { grid-column: 1; text-align: left; }
}
