:root {
  --navy: #0b2e4f;
  --navy-2: #14456f;
  --accent: #e06a1b;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e3e7eb;
  --soft: #f6f8fa;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 按语言分字体栈 ----------
   中文站必须让中文字体排在日文字体前面：否则汉字先被日文字体（Yu Gothic）吃掉，
   而日文字体没有的简化字又掉到雅黑，同一行出现两种字体，看着字号/粗细不一致。 */
html[lang="zh"] body,
html[lang="zh-CN"] body,
html[lang="zh-Hans"] body {
  font-family: "Noto Sans SC Web", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC",
               "Source Han Sans SC", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}
html[lang="ja"] body {
  font-family: "Noto Sans JP Web", "Noto Sans SC Web", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP",
               "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
html[lang="en"] body {
  font-family: "Noto Sans SC Web", system-ui, "Segoe UI", "Helvetica Neue", Arial,
               "Hiragino Sans", "Yu Gothic", "Microsoft YaHei", sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
/* 表单控件/按钮默认不继承字体（Arial 13.3px），统一成站内字体 */
button, input, textarea, select { font-family: inherit; font-size: inherit; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section.alt { background: var(--soft); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark a { color: #cfd9e4; }
.center { text-align: center; }

/* ---------- 顶部信息条 ---------- */

.topbar {
  background: var(--navy);
  color: #cfd9e4;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 36px;
}
.topbar .mail { opacity: .85; }
.topbar .spacer { flex: 1; }
.langs { display: flex; gap: 14px; }
.langs a { color: #cfd9e4; }
.langs a.on { color: #fff; font-weight: 600; border-bottom: 2px solid var(--accent); }

/* ---------- 站内搜索（topbar 内，参考新日铁官网形式） ---------- */
.sitesearch { display: flex; align-items: center; gap: 8px; }
.sitesearch input[type="text"] {
  width: 170px; height: 26px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12); color: #fff; border-radius: 3px;
  padding: 0 8px; font-size: 13px;
}
.sitesearch input[type="text"]::placeholder { color: rgba(255,255,255,.55); }
.sitesearch button {
  height: 26px; padding: 0 12px; border: 0; border-radius: 3px;
  background: var(--accent); color: #fff; font-size: 13px; cursor: pointer;
}
.sitesearch button:hover { filter: brightness(1.12); }
.sitesearch .scopes { display: flex; gap: 10px; font-size: 12px; white-space: nowrap; color: #cfd9e4; }
.sitesearch .scopes label { display: flex; align-items: center; gap: 3px; cursor: pointer; }
.sitesearch .scopes input { accent-color: var(--accent); margin: 0; }

/* ---------- 搜索结果页 ---------- */
.searchcount { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.searchcount strong { color: var(--navy); font-size: 16px; }
.searchhint { color: var(--muted); font-size: 14px; }
.searchsec { margin-bottom: 36px; }
.searchsec h2 { font-size: 17px; color: var(--navy); border-left: 4px solid var(--accent); padding-left: 10px; margin-bottom: 6px; }
.searchitem { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.searchitem a { color: var(--navy); font-weight: 600; font-size: 15px; }
.searchitem a:hover { color: var(--accent); }
.searchitem p { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.7; }

@media (max-width: 760px) {
  .topbar .tel, .topbar .mail { display: none; }
  .topbar .wrap { gap: 10px; }
  .langs { gap: 10px; white-space: nowrap; }
  .sitesearch { margin-left: auto; }
  .sitesearch .scopes, .sitesearch .yahoo-link { display: none; }
  .sitesearch input[type="text"] { width: 110px; }
  .sitesearch button { white-space: nowrap; flex-shrink: 0; }
}

/* ---------- 会社概要：社长致辞 / 沿革 / 事务所 ---------- */
.sectitle { font-size: 20px; color: var(--navy); border-left: 4px solid var(--accent); padding-left: 12px; margin-bottom: 18px; }
.president .bodytext p, .president p { font-size: 15px; line-height: 2; }
.profile dd.multiline p { margin: 0 0 4px; }

/* ---------- 事業内容 6 项（旧站業務紹介） ---------- */
.bizlist { list-style: none; margin: 0; padding: 0; }
.bizlist li { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.bizlist h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.bizlist h3::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-right: 10px; border-radius: 2px; }
.bizlist p { color: var(--muted); font-size: 14.5px; }

/* ---------- 首页数字（旧站） ---------- */
.statgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.statgrid .num { display: block; font-size: 44px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.statgrid .cap { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .statgrid { grid-template-columns: repeat(2, 1fr); } .statgrid .num { font-size: 34px; } }

/* ---------- 首页深色口号横幅 ---------- */
.dark-slogan { font-size: 24px; font-weight: 700; color: #fff; text-align: center; line-height: 1.8; letter-spacing: 2px; }
.dark-slogan.sub { font-size: 16px; font-weight: 400; color: #cfd9e4; margin-top: 10px; letter-spacing: 4px; }

/* ---------- 页头 ---------- */

.head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.headinner { display: flex; align-items: center; gap: 30px; height: 76px; }
.logo { display: flex; align-items: center; line-height: 1.2; }
.logo img { height: 48px; width: auto; display: block; }

.nav { margin-left: auto; display: flex; gap: 26px; }
.nav a {
  color: var(--ink); font-size: 15px; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--accent); }
.nav a.on { color: var(--navy); font-weight: 600; border-bottom-color: var(--accent); }

/* ----- 导航下拉子菜单（会社概要） ----- */
.navitem { position: relative; }
.navitem > a { display: inline-block; color: var(--ink); font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.navitem > a:hover { color: var(--accent); }
.navitem.on > a { color: var(--navy); font-weight: 600; border-bottom-color: var(--accent); }
.subnav {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--navy); min-width: 170px; padding: 8px 0;
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 60; box-shadow: 0 8px 24px rgba(11,44,74,.25);
}
.navitem:hover .subnav, .navitem:focus-within .subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.subnav a {
  display: block; color: #dbe4ec; font-size: 14px; padding: 9px 20px;
  border-bottom: none; white-space: nowrap;
}
.subnav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.subnav a.on { color: var(--accent); font-weight: 600; }

.burger { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

/* ---------- 主视觉（参考 JFE：真实照片轮播 + 大标题压图） ---------- */

.hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  /* 高度 = min(82%视口高, 16:9 满宽时的高)。别用 aspect-ratio+max-height 组合，
     Chrome 会按比例反推宽度导致右侧留白 */
  height: min(82vh, 56.25vw);
  min-height: 380px;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transform: scale(1.02);
}
.hero-slide.on img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.10); } }
.hero-slides::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(6, 22, 40, .78) 0%, rgba(6, 22, 40, .38) 26%, rgba(6, 22, 40, 0) 52%);
}
.hero-body {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(40px, 7vh, 72px);
}
.hero-bar { display: block; width: 46px; height: 3px; background: var(--accent); margin-bottom: 18px; }
.hero-lead {
  font-size: clamp(24px, 3.2vw, 42px); font-weight: 700;
  margin: 0 0 14px; line-height: 1.45;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero-sub {
  margin: 0; font-size: clamp(13px, 1.3vw, 17px); line-height: 1.8;
  opacity: .95; max-width: 660px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
.hero-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .22);
  color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.hero-arrow:hover { background: rgba(0, 0, 0, .45); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots {
  position: absolute; z-index: 3; right: 26px; bottom: clamp(40px, 7vh, 72px);
  display: flex; gap: 10px;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .75); background: transparent;
}
.hero-dots button.on { background: #fff; border-color: #fff; }

/* ---------- 区块标题 ---------- */

.secthead { margin-bottom: 34px; }
.secthead h2 { margin: 0 0 10px; font-size: 22px; font-weight: 600; letter-spacing: .5px; }
.secthead .line { display: block; width: 46px; height: 3px; background: var(--accent); }
.secthead.light h2 { color: #fff; }

.pagehead {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 38px;
}
.pagehead h1 { margin: 0 0 8px; font-size: 26px; font-weight: 600; }
.pagehead p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 关于 ---------- */

.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.abouttext .big { font-size: 16px; }
.philosophy {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 16px;
  color: var(--muted);
  font-size: 15px;
}
.aboutpic img { width: 100%; border-radius: 4px; }

.btnline {
  display: inline-block; color: var(--navy); font-size: 14px;
  border-bottom: 1px solid var(--navy); padding-bottom: 2px;
}
.btnline:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- 业务 ---------- */

.threecol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bizcard { background: #fff; border: 1px solid var(--line); padding: 28px 26px; }
.section:not(.alt) .bizcard { background: #fff; }
.bizcard h3 { margin: 0 0 12px; font-size: 17px; color: var(--navy); }
.bizcard p { margin: 0; font-size: 14px; color: #444; }

.bizrow { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.bizrow.flip .biztext { order: 2; }
.bizrow h2 { font-size: 21px; color: var(--navy); margin: 0 0 14px; }
.bizpic img { width: 100%; border-radius: 4px; }

/* ---------- 业绩卡片 ---------- */

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.wcard { display: block; border: 1px solid var(--line); background: #fff; }
.wcard:hover { border-color: var(--accent); }
.wthumb { aspect-ratio: 4 / 3; overflow: hidden; background: #eef1f4; }
.wthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wcard:hover .wthumb img { transform: scale(1.04); }
.wname { display: block; padding: 12px 14px; font-size: 14px; color: var(--ink); }
.wcard { position: relative; }

figure.pic { margin: 0; }
figure.pic img { width: 100%; border-radius: 3px; }
figure.pic figcaption { padding: 10px 2px 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
figure.pic figcaption b { display: block; color: var(--ink); font-weight: 500; }

.nophoto {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(-45deg, #eef1f4, #eef1f4 12px, #e6eaee 12px, #e6eaee 24px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: #98a2ad; font-size: 13px; border-radius: 3px;
}

/* ---------- 服务 ---------- */

.svclist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 30px; }
.svclist li {
  border-left: 2px solid rgba(255,255,255,.25);
  padding: 6px 0 6px 14px;
  font-size: 15px;
  color: #e8eef5;
}
.svclist .num { color: var(--accent); font-weight: 600; margin-right: 10px; }

/* ---------- 新闻 ---------- */

.newslist { list-style: none; margin: 0; padding: 0; }
.newslist li { border-bottom: 1px solid var(--line); }
.newslist li a { display: flex; gap: 22px; padding: 15px 4px; color: var(--ink); align-items: baseline; }
.newslist li a:hover { background: #fafbfc; }
.newslist time { color: var(--muted); font-size: 13px; flex: none; }
.newslist .ntitle { font-size: 15px; }
.newslist.big li a { padding: 20px 4px; }

.article .date { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.articletitle { font-size: 22px; font-weight: 600; line-height: 1.6; margin: 0 0 26px; }
.article .cover img { width: 100%; border-radius: 4px; margin-bottom: 6px; }
.bodytext p { margin: 0 0 18px; }

/* ---------- 公司简介表 ---------- */

.profile { margin: 0; border-top: 1px solid var(--line); }
.profile dt {
  float: left; clear: left; width: 168px; padding: 12px 0;
  color: var(--muted); font-size: 14px; font-weight: 400;
}
.profile dd { margin: 0 0 0 168px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile dd:last-of-type { border-bottom: 1px solid var(--line); }

/* ---------- 联系 ---------- */

.contactwrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contactform .note { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--navy); }
.field .req { color: var(--accent); margin-left: 4px; }
input[type="text"], input[type="email"], textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 4px;
  padding: 10px 12px; font: inherit; color: var(--ink); background: #fdfdfd;
}
input:focus, textarea:focus { outline: none; border-color: var(--navy-2); background: #fff; }
.sendbtn {
  background: var(--navy); color: #fff; border: none; border-radius: 4px;
  padding: 13px 44px; font: inherit; cursor: pointer; margin-top: 10px;
}
.sendbtn:hover { background: var(--navy-2); }
.formerr {
  background: #fdf1f0; color: #a5322a; border: 1px solid #f0d3d0;
  padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; font-size: 14px;
}
.thanks {
  background: #eaf5ee; border: 1px solid #cfe8da; color: #1d7a4c;
  padding: 30px; border-radius: 4px; text-align: center;
}
.thanks h3 { margin: 0; font-weight: 500; }

/* ---------- CTA ---------- */

.cta {
  background: var(--navy); color: #fff; text-align: center; padding: 66px 0;
}
.cta h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; }
.cta p { margin: 0 0 26px; color: #cfd9e4; font-size: 15px; }
.btnbox {
  display: inline-block; border: 1px solid rgba(255,255,255,.5);
  color: #fff; padding: 12px 46px; border-radius: 4px;
}
.btnbox:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 页脚 ---------- */

.foot { background: #0a2439; color: #9fb0c2; font-size: 13px; }
.footgrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 46px 24px; }
.footlogo { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 2px; }
.footname { color: #cfd9e4; margin: 10px 0 14px; }
.footline { margin: 0 0 4px; }
.footcol h4 { color: #fff; font-size: 13px; margin: 0 0 12px; font-weight: 500; }
.footcol a { display: block; color: #9fb0c2; padding: 3px 0; }
.footcol a:hover { color: #fff; }
.footcol a.on { color: var(--accent); }
.copy { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; font-size: 13px; }

/* ---------- 灯箱 ---------- */

.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 20, 36, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; cursor: zoom-out;
}
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; }

.msgcell { max-width: 420px; white-space: normal; word-break: break-word; }

/* ---------- 产品一览 / 详情 ---------- */

.catnav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.catnav a {
  font-size: 13px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: #fff;
}
.catnav a:hover { border-color: var(--accent); color: var(--accent); }
.catnav a.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.catbody {
  max-width: 860px; margin: 0 0 28px; font-size: 15px; line-height: 1.9; color: var(--ink);
}
.catbody p { margin: 0 0 14px; }
.catbody p:last-child { margin-bottom: 0; }

.pname {
  display: block; padding: 12px 14px; font-size: 13px; line-height: 1.6;
  color: var(--ink); border-top: 1px solid var(--line);
}

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 20px 24px 0; font-size: 13px; color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.sectitle { font-size: 20px; font-weight: 500; margin: 40px 0 20px; }

.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.detail-img { border: 1px solid var(--line); background: #fff; }
.detail-img img { display: block; width: 100%; height: auto; }
.detail-info h1 { font-size: 26px; line-height: 1.4; margin: 12px 0 16px; font-weight: 500; }
.detail-desc { color: var(--muted); line-height: 1.9; margin: 0 0 24px; }

.tag {
  display: inline-block; font-size: 12px; padding: 5px 12px; border-radius: 4px;
  background: var(--soft); color: var(--accent);
}

.spec { margin: 0 0 8px; border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 14px; }
.spec dt { float: left; width: 100px; color: var(--muted); }
.spec dd { margin-left: 100px; }
.spec:after { content: ""; display: block; clear: both; }

.detail-nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px;
}
.detail-nav a { color: var(--muted); }
.detail-nav a:hover { color: var(--accent); }
.detail-nav .next { margin-left: auto; text-align: right; }

.btnsolid {
  display: inline-block; padding: 14px 32px; background: var(--accent);
  color: #fff; border-radius: 3px; font-size: 14px;
}
.btnsolid:hover { opacity: .88; }

.gallery .pic figcaption { padding: 10px 2px; }

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .twocol, .bizrow, .contactwrap { grid-template-columns: 1fr; gap: 28px; }
  .detail { grid-template-columns: 1fr; gap: 28px; }
  .bizrow.flip .biztext { order: 0; }
  .threecol, .svclist { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .footgrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .hero { height: 75vw; min-height: 300px; }
  .hero-arrow { display: none; }
  .hero-dots { right: 16px; bottom: 22px; }
  .hero-lead { font-size: 22px; }
  .headinner { height: 64px; gap: 12px; }
  .burger { display: block; margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
  }
  .nav.open { display: flex; }
  .nav a { border-bottom: 1px solid #f0f2f4; padding: 12px 0; border-bottom-width: 1px; }
  .nav a.on { border-bottom-color: #f0f2f4; }
  .navitem > a { display: block; padding: 12px 0; border-bottom: 1px solid #f0f2f4; }
  .navitem.on > a { border-bottom-color: #f0f2f4; }
  .subnav { position: static; transform: none; opacity: 1; visibility: visible; background: #f6f8fa; min-width: 0; padding: 4px 0; box-shadow: none; }
  .subnav a { padding: 10px 0 10px 16px; color: var(--muted); }
  .subnav a.on { color: var(--accent); }
  .threecol, .svclist, .grid3, .grid4 { grid-template-columns: 1fr; }
  .footgrid { grid-template-columns: 1fr; }
  .profile dt { float: none; width: auto; padding: 10px 0 0; border: none; }
  .profile dd { margin-left: 0; padding: 2px 0 10px; }
  .topbar .mail { display: none; }
}

/* ---------- 業務サポート詳細 ---------- */
.bizdetail { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.bizdetail dt {
  font-weight: 700; color: var(--accent); font-size: 17px;
  padding: 18px 0 6px; position: relative; padding-left: 18px;
}
.bizdetail dt::before { content: ''; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; background: var(--accent); }
.bizdetail dd { margin: 0 0 14px; padding-left: 18px; color: var(--muted); line-height: 1.8; border-bottom: 1px dashed var(--line); padding-bottom: 14px; }

/* ---------- ダウンロード ---------- */
.dlcard {
  max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 24px;
  border: 1px solid var(--line); border-radius: 10px; padding: 26px 30px; background: #fff;
  box-shadow: 0 4px 16px rgba(13,19,33,.05);
}
.dlcard .dlicon {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 8px; background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: 1px;
}
.dlcard .dlmeta { flex: 1 1 auto; }
.dlcard .dlmeta h2 { font-size: 20px; margin: 0 0 6px; }
.dlcard .dlmeta p { margin: 0; color: var(--muted); font-size: 14px; }
.dlcard .btnbox { flex: 0 0 auto; }

@media (max-width: 720px) {
  .dlcard { flex-direction: column; text-align: center; }
}

/* ---------- 主视觉文案（每页幻灯片一套） ---------- */
/* 多套文案在同一格堆叠切换（grid 叠加，避免互相占位撑高） */
.hero-body { display: grid; grid-template-columns: 1fr; align-content: end; }
.hero-cap { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease; }
.hero-cap.on { opacity: 1; visibility: visible; }
.hero-cap .slogancap { font-size: clamp(20px, 2.6vw, 34px); margin: 0; letter-spacing: 2px; max-width: 900px; }

/* 锚点定位偏移（避开固定头部） */
.bizrow, .bizdetail dt { scroll-margin-top: 96px; }

/* ---------- 搜索条 Yahoo! JAPAN 标识 ---------- */
.yahoo-link { display: inline-flex; align-items: center; opacity: .95; }
.yahoo-link img { height: 24px; width: auto; display: block; }
.yahoo-link:hover { opacity: 1; }



/* ---------- topbar 防断行（加了 Yahoo 标识后空间紧张） ---------- */
.topbar .tel, .topbar .mail, .topbar .langs a, .sitesearch button, .sitesearch .scopes label {
  white-space: nowrap;
}
.langs { flex-shrink: 0; gap: 10px; }
.sitesearch input[type="text"] { width: 140px; }
.yahoo-link img { height: 24px; width: auto; }
@media (max-width: 1250px) {
  .topbar .tel, .topbar .mail { display: none; }
  .sitesearch { margin-left: auto; }
}

/* ---------- 大图三页文案观感统一 ---------- */
.hero-cap .slogancap {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.5;
}

/* 下载页卡片上的按钮：白底卡片用橙色实心，避免白字白框隐形 */
.dlcard .btnbox {
  background: var(--accent); border-color: var(--accent); color: #fff;
  padding: 12px 34px; font-weight: 700;
}
.dlcard .btnbox:hover { background: #c85a12; border-color: #c85a12; }

/* ---------- 下拉菜单精致化（参考新日铁官网） ---------- */
.subnav { min-width: 230px; padding: 0; }
.subnav .subhead {
  display: block; padding: 15px 20px; color: #fff; font-weight: 600; font-size: 15px;
  background: rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.subnav .subhead:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.subnav .subhead.on { color: var(--accent); }
.subnav a:not(.subhead) {
  display: block; position: relative;
  padding: 12px 20px 12px 38px;
  color: #dbe4ec; font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.subnav a:not(.subhead)::before {
  content: '›'; position: absolute; left: 20px; top: 50%;
  transform: translateY(-54%); color: var(--accent); font-weight: 700; font-size: 15px;
}
.subnav a:not(.subhead):last-child { border-bottom: none; }
.subnav a:not(.subhead):hover { background: rgba(255, 255, 255, .09); color: #fff; }
.subnav a:not(.subhead).on { color: var(--accent); }
