@charset "UTF-8";

/* 宮崎鋼材 デザイン案（2026-10-31 全面改訂）
   白と淡いグレーの面に、青1色。暗い色の面は使わない。
   本文16px・行間1.9。見出しは太さ700まで。 */
:root {
  color-scheme: light;
  --white: #fff;
  --bg-tint: #f4f6f8;      /* 1つおきの区画の面 */
  --heading: #22292f;      /* 見出し */
  --text: #3a4248;         /* 本文 */
  --muted: #646d74;        /* 補足（白・淡いグレーの上で4.5:1以上） */
  --line: #dfe3e7;
  --line-strong: #c5ccd2;
  --brand: #1f5c9e;        /* 青。ボタン・リンク・番号 */
  --brand-hover: #184d86;
  --brand-pale: #e9f0f7;   /* 青の淡い面 */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header: 84px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "YuGothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.9; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; word-break: auto-phrase; }
body.menu-open, body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
button { color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { color: var(--heading); font-weight: 700; }
p, dd, li { text-wrap: pretty; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 150; padding: 12px 16px; background: var(--white); color: var(--heading); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- ボタン・リンク ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; border: 1px solid var(--brand); border-radius: 4px; font-size: 15px; font-weight: 700; line-height: 1.4; transition: background-color .2s, color .2s; }
.button-primary { background: var(--brand); color: var(--white); }
.button-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.button-outline { background: var(--white); color: var(--brand); }
.button-outline:hover { background: var(--brand-pale); }
.link-button, .text-link { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link-button:hover, .text-link:hover { text-decoration-thickness: 2px; }
.link-button { font-size: 15px; text-align: left; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header); display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter); background: var(--white); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--brand); }
.logo-mark { width: auto; height: 50px; }
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-group { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .06em; white-space: nowrap; }
.logo-name { color: var(--heading); font-size: 27px; font-weight: 700; line-height: 1; letter-spacing: .1em; white-space: nowrap; }
.logo-name small { margin-left: 4px; font-size: 16px; letter-spacing: .06em; }
.global-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.global-nav a { padding: 8px 0; white-space: nowrap; color: var(--heading); font-size: 15px; font-weight: 500; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.global-nav a:hover { color: var(--brand); }
.global-nav a[aria-current="location"] { color: var(--brand); border-bottom-color: var(--brand); }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; color: var(--heading); font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.header-tel small { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.header-contact { flex-shrink: 0; display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 4px; background: var(--brand); color: var(--white); font-size: 15px; font-weight: 700; transition: background-color .2s; }
.header-contact:hover { background: var(--brand-hover); }
.menu-toggle, .mobile-navigation { display: none; }

/* ---------- メインビジュアル ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: calc(100svh - var(--header)); overflow: hidden; background: #6f7a83; color: var(--white); }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; filter: url(#photo-lift); }
/* 文字の後ろだけを薄く暗くする。画像の右側はそのまま見せる */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(24 36 48 / 62%) 0%, rgb(24 36 48 / 42%) 38%, rgb(24 36 48 / 0%) 68%); }
/* 文字はヘッダーの社名と同じ左端にそろえる */
.hero-text { max-width: none; margin: 0; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: var(--white); font-size: clamp(32px, 3vw, 46px); line-height: 1.55; letter-spacing: .06em; text-shadow: 0 1px 12px rgb(0 0 0 / 25%); }
.hero-lead { max-width: 34em; margin-top: 24px; font-size: 16px; text-shadow: 0 1px 8px rgb(0 0 0 / 30%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero .button { min-width: 200px; }
.hero .button-outline { border-color: var(--white); }

/* ---------- 区画 ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { margin-bottom: 48px; }
.section-head h2 { position: relative; padding-bottom: 20px; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.5; letter-spacing: .08em; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--brand); }
.section-head p { max-width: 52em; margin-top: 24px; }
.section-head-center { text-align: center; }
.section-head-center h2::after { left: 50%; transform: translateX(-50%); }
.section-head-center p { margin-left: auto; margin-right: auto; }
.note { margin-top: 32px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.note-center { text-align: center; }

/* 事業内容 */
.business-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.business-card { display: flex; flex-direction: column; padding: 40px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brand); }
.business-card h3 { font-size: 22px; line-height: 1.5; }
.business-card p { margin-top: 16px; }
.business-card .link-button { margin-top: auto; padding-top: 24px; align-self: flex-start; }

/* 取扱商品 */
.material-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.material-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.material-figure { padding: 24px 32px; background: var(--white); border-bottom: 1px solid var(--line); }
.material-figure img { width: 100%; max-width: 320px; margin: 0 auto; }
.material-body { display: flex; flex-direction: column; flex: 1; padding: 32px; }
.material-body h3 { font-size: 20px; line-height: 1.5; }
.material-body p { margin-top: 12px; font-size: 15px; }
.material-body .link-button { margin-top: auto; padding-top: 24px; align-self: flex-start; }

/* お問い合わせの前に */
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 20px; padding: 32px; border: 1px solid var(--line); background: var(--white); }
.check-num { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-pale); color: var(--brand); font-size: 18px; font-weight: 700; line-height: 1; }
.check-list h3 { font-size: 18px; line-height: 40px; }
.check-list p { margin-top: 4px; font-size: 15px; }

/* 会社概要 */
.company-table { max-width: 960px; margin: 0 auto; background: var(--white); border-top: 1px solid var(--line-strong); }
.company-table div { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.company-table dt { padding: 24px 32px; background: var(--brand-pale); color: var(--heading); font-weight: 700; }
.company-table dd { padding: 24px 32px; }
.company-table dd .text-link { display: inline-block; margin-top: 4px; }

/* お知らせ（ヒーローの直下） */
.news { padding: 64px 0; background: var(--bg-tint); }
.news-inner { display: grid; gap: 40px; }
.news h2 { position: relative; padding-bottom: 20px; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.5; letter-spacing: .08em; }
.news h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--brand); }
.news-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); background: var(--white); }
.news-list li { display: grid; grid-template-columns: 9em 7em minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.news-list time { color: var(--muted); font-size: 15px; }
.news-tag { justify-self: start; padding: 0 10px; border: 1px solid var(--brand); border-radius: 3px; background: var(--white); color: var(--brand); font-size: 13px; font-weight: 700; line-height: 1.8; }
.news-list p { color: var(--heading); }
.news-more { margin-top: 32px; text-align: center; }
.news-more .button { min-width: 240px; }
.news-page .news-list { max-width: 960px; margin: 0 auto; }

/* 会社概要の区画（グループ会社を上、会社概要を下） */
.company-block + .company-block { margin-top: 96px; }

/* グループ会社 */
.group-chart { max-width: 960px; margin: 0 auto; }
.group-parent, .group-children li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 24px; border: 1px solid var(--line); background: var(--white); text-align: center; }
.group-parent { position: relative; max-width: 440px; margin: 0 auto; border-top: 3px solid var(--brand); }
.group-role { margin-bottom: 4px; padding: 0 12px; border: 1px solid var(--brand); border-radius: 3px; background: var(--white); color: var(--brand); font-size: 13px; font-weight: 700; line-height: 1.8; }
.group-name { color: var(--heading); font-size: 18px; font-weight: 700; line-height: 1.5; }
.group-place { color: var(--muted); font-size: 14px; }
/* 当社の目印は所在地の右に置き、社名の高さを他社とそろえる */
.group-meta { display: flex; align-items: center; gap: 8px; }
.group-meta .group-role { margin-bottom: 0; padding: 0 8px; font-size: 12px; line-height: 1.6; }
.group-parent .text-link, .group-children .text-link { margin-top: 8px; font-size: 14px; }
/* 持株会社から3社へ線でつなぐ */
.group-children { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; padding: 0; list-style: none; }
.group-children::before { content: ""; position: absolute; left: 50%; top: -64px; height: 32px; border-left: 1px solid var(--line-strong); }
.group-children li { position: relative; justify-content: flex-start; }
.group-children li::before { content: ""; position: absolute; top: -32px; left: 50%; height: 32px; border-left: 1px solid var(--line-strong); }
.group-children::after { content: ""; position: absolute; top: -32px; left: calc((100% - 48px) / 6); right: calc((100% - 48px) / 6); border-top: 1px solid var(--line-strong); }
.group-children .is-current { border-color: var(--brand); background: var(--brand-pale); }

/* お問い合わせ */
.contact { background: var(--brand-pale); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; }
.contact-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 168px; padding: 32px; background: var(--white); border: 1px solid var(--line); }
.contact-label { color: var(--muted); font-size: 14px; font-weight: 500; }
.contact-tel { color: var(--brand); font-size: 34px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
a.contact-box:hover { border-color: var(--brand); }

/* ---------- フッター ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.footer-company p { margin-top: 20px; font-size: 14px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 48px; align-content: start; font-size: 14px; }
.footer-nav a:hover { color: var(--brand); }
.footer-bottom-line { border-top: 1px solid var(--line); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; color: var(--muted); font-size: 13px; }
.footer-bottom button { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ダイアログ ---------- */
dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100svh - 64px); padding: 0; border: 0; border-radius: 6px; background: var(--white); color: var(--text); box-shadow: 0 16px 48px rgb(30 40 50 / 18%); overscroll-behavior: contain; }
dialog::backdrop { background: rgb(60 70 80 / 40%); }
.dialog-heading { position: relative; padding: 32px 40px 20px; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { padding-right: 48px; font-size: 22px; line-height: 1.5; }
.dialog-heading p { margin-top: 8px; font-size: 15px; }
.dialog-close { position: absolute; right: 24px; top: 24px; width: 40px; height: 40px; border-radius: 4px; color: var(--muted); font-size: 26px; line-height: 1; }
.dialog-close:hover { background: var(--bg-tint); color: var(--heading); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; color: var(--heading); font-size: 14px; font-weight: 700; }
.form-wide { grid-column: 1 / -1; }
.optional, .required { display: inline-block; margin-left: 8px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--white); color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.7; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--white); color: var(--text); font-size: 16px; font-weight: 400; line-height: 1.6; }
.form-grid textarea { resize: vertical; }
.form-submit { width: 100%; margin-top: 32px; }
.form-footnote { margin-top: 12px; color: var(--muted); font-size: 13px; }
.required { border-color: var(--brand); color: var(--brand); }
.field-label { display: flex; align-items: center; gap: 8px; }
.field-label .optional, .field-label .required { margin-left: 0; }
.form-grid input:focus-visible, .form-grid select:focus-visible, .form-grid textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.result-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.result-buttons .button { min-width: 200px; }

/* ---------- お問い合わせページ ---------- */
.page-head { padding: 40px 0 48px; background: var(--bg-tint); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--brand); }
.page-head h1 { margin-top: 24px; color: var(--heading); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.5; letter-spacing: .08em; }
.page-head p { margin-top: 16px; }
.contact-layout { display: grid; gap: 32px; max-width: calc(880px + var(--gutter) * 2); }
.contact-tel-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 24px; border: 1px solid var(--line); background: var(--white); }
.contact-tel-box:hover { border-color: var(--brand); }
.contact-form-box { border: 1px solid var(--line); background: var(--white); }
.form-notice { margin: 32px 40px 0; padding: 12px 16px; border: 1px solid var(--line); background: var(--bg-tint); font-size: 14px; line-height: 1.7; }
#contact-form, .contact-confirm, .contact-done { padding: 32px 40px 40px; }
.contact-confirm:focus, .contact-done:focus { outline: none; }
.form-title { margin-bottom: 24px; color: var(--heading); font-size: 22px; line-height: 1.5; letter-spacing: .06em; }
.contact-confirm > p, .contact-done > p { margin-bottom: 24px; }
.form-agree { margin-top: 32px; padding: 20px 24px; background: var(--bg-tint); font-size: 14px; }
.checkbox { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--heading); font-size: 15px; font-weight: 700; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--brand); }
.confirm-list { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-top: 1px solid var(--line); }
.confirm-list dt, .confirm-list dd { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.confirm-list dt { background: var(--brand-pale); color: var(--heading); font-weight: 700; }
.confirm-list dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.notes-dialog { width: min(680px, calc(100% - 32px)); }
.notes-body { padding: 24px 40px 40px; font-size: 15px; }
.notes-body h3 { margin-top: 28px; padding-left: 12px; border-left: 3px solid var(--brand); font-size: 16px; line-height: 1.6; }
.notes-body h3 + p, .notes-body h3 + ul { margin-top: 8px; }
.notes-body ul { padding-left: 1.4em; }
.notes-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.notes-body > p:last-child, .notes-body ul + p { margin-top: 8px; }

/* ---------- 1360px以下：ヘッダーの電話番号を外す ---------- */
@media (max-width: 1360px) {
  .header-tel { display: none; }
  .global-nav { gap: 24px; }
}

/* ---------- 1180px以下：メニューを折りたたむ ---------- */
@media (max-width: 1180px) {
  :root { --header: 64px; }
  .site-header { gap: 16px; }
  .global-nav, .header-contact { display: none; }
  .menu-toggle { display: flex; flex-direction: column; padding-top: 6px; align-items: center; justify-content: center; gap: 14px; width: 64px; height: 56px; margin-left: auto; margin-right: -12px; color: var(--heading); }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -7px; }
  .menu-bars::after { top: 7px; }
  .menu-label { font-size: 10px; line-height: 1; letter-spacing: .02em; }
  .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .mobile-navigation { position: fixed; inset: var(--header) 0 0; z-index: 39; display: flex; flex-direction: column; gap: 24px; padding: 8px var(--gutter) 32px; overflow-y: auto; background: var(--white); }
  .mobile-navigation[hidden] { display: none !important; }
  .mobile-navigation nav { display: flex; flex-direction: column; }
  .mobile-navigation nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--heading); font-size: 17px; font-weight: 500; }
  .mobile-tel { display: flex; flex-direction: column; align-items: center; padding: 16px; border: 1px solid var(--line); color: var(--brand); font-size: 26px; font-weight: 700; line-height: 1.3; }
  .mobile-tel small { color: var(--muted); font-size: 13px; font-weight: 500; }
}

/* ---------- 960px以下：1列・ロゴを小さく ---------- */
@media (max-width: 960px) {
  .logo-mark { width: auto; height: 40px; }
  .logo-name { font-size: 22px; }
  .logo-group { font-size: 11px; }
  .logo-text { gap: 2px; }
  .logo-name small { font-size: 13px; }

  .hero-photo img { object-position: 60% 50%; }
  .hero::before { background: linear-gradient(90deg, rgb(24 36 48 / 60%) 0%, rgb(24 36 48 / 30%) 100%); }
  .hero-text { padding-top: 56px; padding-bottom: 56px; }
  .section { padding: 72px 0; }
  .news { padding: 56px 0; }
  .news-inner { gap: 32px; }
  .company-block + .company-block { margin-top: 72px; }
  .material-grid { grid-template-columns: 1fr; max-width: 640px; }
  .material-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
  .material-figure { display: grid; place-items: center; padding: 16px; border-bottom: 0; border-right: 1px solid var(--line); }
  .material-body { padding: 24px; }
  .footer-main { flex-direction: column; }
}

/* ---------- 720px以下 ---------- */
@media (max-width: 720px) {
  .business-grid, .check-list, .contact-grid { grid-template-columns: 1fr; }
  .business-card { padding: 28px 24px; }
  .check-list li { padding: 24px 20px; gap: 16px; }
  .company-table div { grid-template-columns: 1fr; }
  .group-children { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .group-children::before { top: -32px; height: 32px; }
  .group-children::after, .group-children li::before { display: none; }
  .company-table dt { padding: 12px 20px; }
  .company-table dd { padding: 16px 20px 20px; }
}

/* ---------- 640px以下 ---------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 26px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .button { flex: 1 1 100%; }
  .section { padding: 56px 0; }
  .news { padding: 48px 0; }
  .news-inner { gap: 24px; }
  .news h2 { font-size: 24px; padding-bottom: 16px; }
  .news-list li { grid-template-columns: auto 1fr; gap: 4px 12px; padding: 16px 20px; }
  .news-list p { grid-column: 1 / -1; }
  .news-more { margin-top: 24px; }
  .news-more .button { width: 100%; }
  .company-block + .company-block { margin-top: 56px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 24px; padding-bottom: 16px; }
  .section-head p { margin-top: 20px; }
  .section-head-center { text-align: left; }
  .section-head-center h2::after { left: 0; transform: none; }
  .note-center { text-align: left; }
  .material-card { display: flex; }
  .material-figure { border-right: 0; border-bottom: 1px solid var(--line); }
  .material-figure img { max-width: 280px; }
  .contact-box { min-height: 0; padding: 24px 20px; }
  .contact-tel { font-size: 30px; }
  .contact-box .button { width: 100%; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); }
  .dialog-heading { padding: 24px 20px 16px; }
  .dialog-heading h2 { font-size: 19px; }
  .dialog-close { top: 16px; right: 12px; }
  .notes-body { padding: 20px 20px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-head { padding: 24px 0 32px; }
  .page-head h1 { margin-top: 16px; font-size: 26px; }
  .form-notice { margin: 20px 20px 0; }
  #contact-form, .contact-confirm, .contact-done { padding: 24px 20px 28px; }
  .form-title { font-size: 19px; }
  .confirm-list { grid-template-columns: 1fr; }
  .confirm-list dt { padding: 10px 14px; border-bottom: 0; }
  .confirm-list dd { padding: 10px 14px 14px; }
  .result-buttons .button { flex: 1 1 100%; }
}

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