/* 株式会社ふじサンバ トップページ（Cloudflare Pages の試し版）
   今の fujisanba.com をブラウザで開いて測った値（位置・大きさ・色）をもとに、一から書いたもの。
   幅の切り替え: 1141px 以上＝パソコン / 841〜1140px / 541〜840px / 540px 以下＝スマホ */

:root {
  --bg: #fcfafa;
  --ink: #222;
  --ink2: #333;
  --gray: #868585;
  --red: #e54b35;
  --blue: #3f85ef;
  --yellow: #fabd33;
  --green: #44a65c;
  --accent: #ffcc00;
  --line: #ddd;
  --jp: "Noto Sans JP", sans-serif;
  --lato: "Lato", "Noto Sans JP", sans-serif;
  --telfont: "M PLUS 1p", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.4, .4, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink2);
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
iframe { border: 0; display: block; }

/* アイコン（Google Fonts の Material Symbols） */
.ms {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  flex: none;
}
.ms-fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 48; }
.tel-num { font-family: var(--telfont); font-weight: 800; }

/* ===== 上の帯（ヘッダー） ===== */
.hd {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 120px;
  z-index: 50;
  pointer-events: none;
}
.hd-bar {
  pointer-events: auto;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1165px, calc(100% - 40px));
  height: 80px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}
.hd-logo, .hd-logo img { width: 160px; height: 60px; flex: none; }
.hd-nav { display: flex; align-items: center; gap: 30px; margin-left: clamp(16px, calc(100vw - 1360px), 80px); }
.hd-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  color: var(--ink2);
  transition: color .3s var(--ease);
}
.hd-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.hd-link:hover { color: #808080; }
.hd-link:hover::after { opacity: 1; }
.hd-service .ms { font-size: 20px; font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 20; transition: transform .3s var(--ease); }
.hd-service:hover .ms { transform: rotate(180deg); }
.hd-tel {
  margin-left: auto;
  width: 170px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all .3s var(--ease);
}
.hd-tel .ms { font-size: 20px; }
.hd-tel .tel-num { font-size: 16px; line-height: 22.4px; }
.hd-tel:hover { background: #fff; color: #333; border-color: #010100; }
.hd-contact {
  margin-left: 16px;
  width: 170px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 22.4px;
  color: var(--ink);
  transition: all .3s var(--ease);
}
.hd-contact:hover { background: #fff; border-color: var(--accent); }
.hd-burger { display: none; }

/* ===== 一番上（ファーストビュー） ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.hero-bg .st { fill: none; stroke-linecap: round; stroke-opacity: .17; visibility: hidden; }
.hero-inner { position: relative; z-index: 1; width: 720px; max-width: calc(100% - 48px); }
.hero-title, .hero-lead, .hero-tags { animation: heroIn .7s cubic-bezier(.25, .46, .45, .94) .35s both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-title { font-size: 54px; line-height: 75.6px; font-weight: 700; color: var(--ink); text-align: center; font-feature-settings: "palt"; }
.hero-l1 { display: block; }
.hero-l2 { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 11px; }
.hero-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 80px;
  border-radius: 20px;
  color: #fff;
  line-height: 54px;
  background: var(--blue);
  animation: faceColor 8s linear infinite;
}
@keyframes faceColor {
  0%, 100% { background-color: #3f85ef; }
  25% { background-color: #fabd33; }
  50% { background-color: #44a65c; }
  75% { background-color: #e54b35; }
}
.hero-lead { margin-top: 35px; font-family: var(--lato); font-size: 15px; line-height: 26.25px; color: var(--ink); }
.hero-tags { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.tag {
  display: block;
  padding: 6.2px 10px;
  border: 2px solid;
  border-radius: 20px;
  font-family: var(--lato);
  font-size: 24px;
  font-weight: 600;
  line-height: 33.6px;
  color: #fdfdfd;
  transition: all .3s var(--ease);
}
.tag-red { background: var(--red); border-color: var(--red); }
.tag-blue { background: var(--blue); border-color: var(--blue); }
.tag-yellow { background: var(--yellow); border-color: var(--yellow); font-family: var(--jp); }
.tag-green { background: var(--green); border-color: var(--green); }
.tag:hover { background: #fff; }
.tag-red:hover { color: var(--red); }
.tag-blue:hover { color: var(--blue); }
.tag-yellow:hover { color: var(--yellow); }
.tag-green:hover { color: var(--green); }

/* 流れる英字 */
.marquee {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 160px;
  overflow: hidden;
  opacity: .4;
  pointer-events: none;
}
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track img { height: 160px; width: auto; flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 20px)); } }

/* ===== 実現したいこと（日本地図） ===== */
.vision { padding: 80px 80px 0; }
.vision-box {
  position: relative;
  max-width: 1280px;
  height: 85vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vision-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.vision-text { position: relative; text-align: center; }
.vision h2 { font-size: 36px; line-height: 50.4px; font-weight: 700; color: var(--ink2); }
.vision p { font-size: 18px; line-height: 32.4px; letter-spacing: 1.8px; color: var(--ink); }
.vision h2 + p { margin-top: 20px; }
.vision p + p { margin-top: 10px; }

/* ===== 見出し（Service / News / Access） ===== */
.sec-head { display: inline-block; text-align: center; }
.sec-title { font-size: 45px; line-height: 63px; font-weight: 700; letter-spacing: -.45px; color: var(--ink); }
.sec-sub { display: block; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); }

/* ===== サービス ===== */
.svc { padding-top: 130px; text-align: center; }
.svc-lead { display: block; margin-top: 24px; font-size: 20px; line-height: 28px; color: var(--ink2); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 449px);
  justify-content: center;
  gap: 45px;
  margin-top: 104px;
}
.svc-card {
  --dy: 0px;
  position: relative;
  display: block;
  height: 377px;
  border-radius: 48px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
  color: #fff;
  transition: filter .3s var(--ease);
}
.svc-card:hover { filter: brightness(1.13); }
.c-red { background: var(--red); }
.c-blue { background: var(--blue); --dy: -4px; }
.c-yellow { background: var(--yellow); }
.c-green { background: var(--green); --dy: 2px; }
.svc-catch {
  position: absolute;
  top: calc(13px + var(--dy));
  left: 0; right: 0;
  font-family: var(--lato);
  font-size: 24px;
  font-weight: 700;
  line-height: 33.6px;
}
.svc-img {
  position: absolute;
  top: calc(47px + var(--dy));
  left: 50%;
  width: 301px;
  height: 241px;
  margin-left: -150.5px;
  object-fit: contain;
}
.svc-name {
  position: absolute;
  top: calc(287px + var(--dy));
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 52px;
  font-weight: 900;
  line-height: 72.8px;
}
.svc-arrow {
  flex: none;
  width: 60px;
  height: 60px;
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-arrow svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ===== キーワードから探す ===== */
.kw { padding-top: 130px; text-align: center; }
.kw-title { font-size: 45px; line-height: 63px; font-weight: 700; color: var(--ink2); }
.kw-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 1150px;
  margin: 50px auto 0;
  padding: 0 20px;
}
.kw-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 30px;
  border: 1px solid #000;
  border-radius: 64px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 22.4px;
  color: #000;
  transition: all .3s var(--ease);
}
.kw-list a:hover { background: #000; color: #fff; }

/* ===== ニュース ===== */
.news { padding-top: 81px; text-align: center; }
.news-list { width: 761px; max-width: calc(100% - 60px); margin: 50px auto 0; text-align: left; }
.news-list li { border-bottom: 1px solid #ccc; }
.news-list a { display: flex; align-items: center; height: 80px; padding: 0 25px 0 5px; }
.news-cat {
  flex: none;
  padding: 1.8px 10px;
  border-radius: 4px;
  background: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 22.4px;
  color: #fff;
}
.news-row { flex: 1; display: flex; align-items: center; min-width: 0; }
.news-text { flex: 1; display: flex; align-items: center; min-width: 0; }
.news-list time {
  flex: none;
  width: 128px;
  margin-left: 57px;
  font-size: 15px;
  line-height: 30px;
  color: var(--gray);
  transition: color .3s var(--ease);
}
.news-ttl { flex: 1; font-size: 15px; line-height: 30px; color: var(--gray); transition: color .3s var(--ease); }
.news-list a:hover time, .news-list a:hover .news-ttl { color: var(--ink2); }
.news-arrow { flex: none; width: 36px; height: 36px; transform: rotate(180deg); }
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  margin-top: 71px;
  font-size: 16px;
  font-weight: 900;
  line-height: 22.4px;
  color: var(--ink);
}
.news-more img { width: 34px; height: 34px; }

/* ===== アクセス ===== */
.access { padding-top: 113px; text-align: center; }
.office { margin-top: 50px; }
.office + .office { margin-top: 60px; }
.office h3 { font-size: 28px; line-height: 39.2px; font-weight: 500; color: var(--ink2); }
.office-addr { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 20px; font-size: 20px; line-height: 28px; color: var(--ink2); }
.office iframe { width: 960px; max-width: calc(100% - 60px); height: 509px; margin: 20px auto 0; }

/* ===== お問い合わせ ===== */
.contact { position: relative; margin-top: 184px; padding: 50px 0; }
.js .contact[data-reveal] { opacity: 0; transition: opacity 1s ease .2s; }
.js .contact[data-reveal].is-in { opacity: 1; }
.contact-bg { position: absolute; inset: 0; background: url("contact-texture.svg") center / cover no-repeat; }
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  mix-blend-mode: multiply;
  box-shadow: inset 0 0 0 1px #fff;
}
.contact-card {
  position: relative;
  width: 1080px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 80px 54px;
  display: grid;
  grid-template-columns: 1fr 1px 467px;
  align-items: center;
  column-gap: 15px;
  background: #fff;
}
.contact-title { font-size: 45px; line-height: 63px; font-weight: 700; letter-spacing: -.45px; color: var(--ink2); }
.contact-sub { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink2); }
.contact-catch { margin-top: 40px; font-size: 20px; line-height: 34px; font-weight: 700; color: var(--ink2); }
.contact-text { margin-top: 24px; font-size: 15px; line-height: 30px; color: var(--ink2); }
.contact-divider { width: 1px; height: 259px; background: var(--line); }
.contact-right { text-align: center; }
.contact-tel { display: flex; justify-content: center; align-items: center; gap: 13px; font-size: 32px; line-height: 44.8px; font-weight: 700; color: var(--ink2); }
.contact-tel .ms { font-size: 42px; font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 48; }
.contact-hours { font-size: 15px; line-height: 30px; color: var(--ink2); }
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  height: 79px;
  margin-top: 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ffd441;
  box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
  font-size: 32px;
  font-weight: 700;
  line-height: 44.8px;
  color: var(--ink2);
  transition: all .3s var(--ease);
}
.contact-btn .ms { font-size: 44px; }
.contact-btn:hover { background: transparent; border-color: var(--ink2); }

/* ===== 下の帯（フッター） ===== */
.ft { margin-top: 53px; padding: 30px 0 64px; }
.ft-inner { display: flex; width: 1154px; max-width: calc(100% - 40px); margin: 0 auto; }
.ft-info { width: 272px; flex: none; }
.ft-logo { display: block; width: 180px; }
.ft-logo img { width: 180px; height: 67px; }
.ft-tagline { width: 160px; margin-top: 17px; font-size: 16px; line-height: 22.4px; font-weight: 700; color: var(--ink2); }
.ft-addr { margin-top: 15px; font-size: 14px; line-height: 19.6px; color: var(--ink2); }
.ft-addr + .ft-addr { margin-top: 16px; }
.ft-tel { display: flex; align-items: center; margin-top: 56px; color: var(--ink2); }
.ft-tel .tel-num { font-size: 20px; line-height: 28px; }
.ft-hours { margin-top: 16px; font-size: 12px; line-height: 16.8px; color: var(--ink2); }
.ft-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 40px;
  margin-top: 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--accent);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: all .3s var(--ease);
}
.ft-contact:hover { background: #fff; border-color: var(--accent); }
.ft-nav { flex: 1; min-width: 0; }
.ft-row { display: grid; grid-template-columns: repeat(4, 200px); column-gap: 24px; }
.ft-row1 { padding-bottom: 46px; border-bottom: 1px solid #eee; width: 882px; }
.ft-row2 { padding-top: 25px; }
.ft-h {
  position: relative;
  display: block;
  width: 200px;
  padding-bottom: 17px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--ink2);
}
.ft-h::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent) 16px, var(--line) 16px);
}
.ft-h-dark { color: var(--ink); }
.ft-stack .ft-h { margin-bottom: 40px; padding-bottom: 13px; }
.ft-stack .ft-h:first-child { padding-bottom: 17px; }
.ft-stack .ft-h:last-child { margin-bottom: 0; }
.ft-sub li { font-size: 14px; line-height: 19.6px; }
.ft-sub li + li { margin-top: 8px; }
.ft-sub a, .ft-cat { font-size: 14px; line-height: 19.6px; color: var(--gray); white-space: nowrap; transition: color .3s var(--ease); }
.ft-sub a:hover { color: var(--ink2); }
.ft-cat { display: block; color: var(--ink2); margin-bottom: 7.4px; }
.ft-sub-svc li + li { margin-top: 8.1px; }
.ft-long { font-size: 13.5px; }
.ft-copy { margin-top: 63px; text-align: center; font-size: 14px; line-height: 19.6px; color: var(--ink); }

/* ===== サービス一覧の枠（パソコンで「サービス」を押した時） ===== */
.svc-modal, .sp-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.svc-modal.is-open, .sp-menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.svc-modal { display: flex; align-items: center; justify-content: center; }
.svc-modal-bg, .sp-menu-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .16); }
.svc-modal-panel {
  position: relative;
  width: min(1358px, calc(100% - 82px));
  height: 526px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, .2);
}
.svc-modal-close {
  position: absolute;
  top: 25px;
  right: 21px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fafafa;
  color: #333;
}
.svc-modal-close .ms { font-size: 20px; font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 20; }
.svc-modal-logo { flex: none; width: 200px; display: flex; flex-direction: column; align-items: center; color: var(--ink); font-weight: 900; }
.svc-modal-logo img { width: 170px; height: 158px; object-fit: cover; background: #eee; }
.svc-modal-logo .l1 { margin-top: -5px; font-size: 20px; line-height: 30px; }
.svc-modal-logo .l2 { font-size: 36px; line-height: 50.4px; }
.svc-modal-logo .l3 { font-size: 20px; line-height: 30px; letter-spacing: 4px; }
.svc-modal-body { margin-left: 24px; }
.svc-modal-title { display: block; padding: 9px 0 8px; font-size: 24px; line-height: 33.6px; font-weight: 700; color: #000; }
.svc-modal-cols { display: grid; grid-template-columns: repeat(4, 274px); column-gap: 8px; margin-top: 24px; }
.svc-modal-col .h {
  position: relative;
  display: block;
  width: 219px;
  padding-bottom: 8px;
  margin-bottom: 27px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--ink2);
}
.svc-modal-col .h::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent) 16px, var(--line) 16px);
}
.svc-modal-col li + li { margin-top: 15.1px; }
.svc-modal-col li a { font-size: 16px; line-height: 22.4px; font-weight: 500; color: var(--ink2); }

/* ===== スマホのメニュー ===== */
.sp-menu-panel {
  position: absolute;
  top: 20px; left: 20px; right: 20px;
  max-height: calc(100% - 40px);
  overflow-y: auto;
  background: #fff;
}
.sp-menu-head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding-left: 16px; }
.sp-menu-head img { width: 160px; height: 60px; }
.sp-menu-close { position: relative; width: 68px; height: 68px; background: var(--accent); flex: none; }
.sp-menu-close span { position: absolute; left: 18px; top: 33px; width: 32px; height: 2px; background: #333; }
.sp-menu-close span:first-child { transform: rotate(45deg); }
.sp-menu-close span:last-child { transform: rotate(-45deg); }
.sp-menu-body { padding: 10px 20px 20px; }
.acc-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px 12px 24px;
  text-align: left;
  margin-bottom: 10px;
}
.acc-tall .acc-btn { padding-bottom: 30px; }
.acc-btn::after, .sp-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent) 16px, var(--line) 16px);
}
.acc-label { display: block; font-size: 16px; line-height: 16px; font-weight: 700; color: var(--ink2); }
.acc-label-cinzel { font-family: "Cinzel", sans-serif; }
.acc-btn .ms { position: absolute; right: 12px; top: 10px; transition: transform .3s var(--ease); color: var(--ink2); }
.acc.is-open .acc-btn .ms { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding-left: 10px; }
.acc.is-open .acc-inner { padding-bottom: 12px; }
.acc-inner a { font-size: 14px; line-height: 19.6px; color: var(--gray); }
.acc-inner a.acc-cat { color: var(--ink2); margin-bottom: 8px; }
.acc-inner a.acc-cat:not(:first-child) { margin-top: 10px; }
.sp-link {
  position: relative;
  display: block;
  margin-top: 30px;
  padding: 10px 15px 13px;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 800;
  color: var(--ink2);
}
.sp-link-first { margin-top: 0; padding-top: 20px; padding-bottom: 10px; }

/* ===== 841〜1140px：上の帯をスマホの形にする ===== */
@media (max-width: 1140px) {
  .hd { height: 68px; background: #fff; pointer-events: auto; }
  .hd-bar {
    position: static;
    transform: none;
    width: 100%;
    height: 68px;
    padding: 0 0 0 16px;
    border-radius: 0;
    box-shadow: none;
  }
  .hd-nav, .hd-tel, .hd-contact { display: none; }
  .hd-burger { display: block; position: relative; margin-left: auto; width: 68px; height: 68px; background: var(--accent); }
  .hd-burger span { position: absolute; left: 18px; width: 32px; height: 2px; background: #333; }
  .hd-burger span:nth-child(1) { top: 23px; }
  .hd-burger span:nth-child(2) { top: 33px; }
  .hd-burger span:nth-child(3) { top: 43px; }
  .svc-modal { display: none; }
  .svc-grid { grid-template-columns: 449px; }
  .contact-card { grid-template-columns: 1fr 1px minmax(0, 467px); }
  /* 下の帯は中央ぞろえの1列にする */
  .ft-inner { display: block; text-align: center; }
  .ft-info { width: auto; display: flex; flex-direction: column; align-items: center; }
  .ft-tagline { width: auto; }
  .ft-nav { display: none; }
  .ft-copy { margin-top: 54px; }
}

/* ===== 541〜840px ===== */
@media (max-width: 840px) {
  .hero-title { font-size: 48px; line-height: 67.2px; }
  .tag { font-size: 20px; line-height: 28px; }
  .vision { padding: 80px 48px 0; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding: 0 48px; }
  .svc-card { height: 210px; --dy: 0px; }
  .svc-catch { top: 3px; font-size: 18px; line-height: 28px; }
  .svc-img { top: 31px; width: 159px; height: 126px; margin-left: -79.5px; }
  .svc-name { top: 157px; gap: 10px; font-size: 32px; line-height: 50.4px; }
  .svc-arrow { width: 35px; height: 35px; }
  .contact-card { display: block; padding: 24px 20px; text-align: center; }
  .contact-divider { display: none; }
  .contact-right { margin-top: 48px; }
}

/* ===== 540px 以下：スマホ ===== */
@media (max-width: 540px) {
  .hero { display: block; }
  .hero-inner { position: absolute; top: 224px; left: 24px; right: 24px; width: auto; max-width: none; }
  .hero-title { font-size: 32px; line-height: 44.8px; }
  .hero-l2 { margin-top: 24.5px; }
  .hero-face { width: 88px; height: 46px; border-radius: 12px; line-height: 38.4px; }
  .hero-lead { margin-top: 40px; font-size: 14px; line-height: 24.5px; }
  .hero-tags { gap: 10px; margin-top: 24px; }
  .tag { padding: 6.2px 10px; font-size: 14px; line-height: 19.6px; }

  .vision { padding: 0 32px; }
  .vision h2 { font-size: 21px; line-height: 29.4px; }
  .vision p { font-size: 14px; line-height: 21px; letter-spacing: 1.4px; }

  .sec-sub { font-size: 16px; line-height: 22.4px; }
  .svc { padding-top: 50px; }
  .svc-lead { margin-top: 21px; font-size: 16px; line-height: 22.4px; }
  .svc-grid { grid-template-columns: minmax(0, 330px); gap: 25px; padding: 0 30px; margin-top: 20px; }
  .svc-catch { font-size: 20px; }
  .svc-name { font-size: 36px; }

  .kw { padding-top: 55px; }
  .kw-title { font-size: 36px; line-height: 50.4px; }
  .kw-list { flex-direction: column; align-items: center; margin-top: 25px; }
  .kw-list li { width: 281px; max-width: 100%; }
  .kw-list a { height: 47px; padding: 0 10px; }

  .news { padding-top: 80px; }
  .news-list { width: 330px; max-width: calc(100% - 60px); margin-top: 0; }
  .news-list a { display: block; height: auto; padding: 8px 16px; }
  .news-cat { display: block; width: fit-content; margin-left: 5px; padding: 1.6px 5px; font-size: 13px; line-height: 20.8px; }
  .news-text { display: block; }
  .news-list time { display: block; width: auto; margin: 0; line-height: 30px; color: var(--ink2); }
  .news-ttl { display: block; padding-left: 5px; font-size: 13px; line-height: 26px; color: var(--ink2); }
  .news-arrow { width: 24px; height: 24px; margin-right: -1px; }
  .news-more { gap: 27px; margin-top: 21px; }
  .news-more img { width: 24px; height: 24px; }

  .office h3 { font-size: 16px; line-height: 22.4px; }
  .office-addr { gap: 10px; font-size: 16px; line-height: 22.4px; }
  .office iframe { width: 330px; margin-top: 21px; }

  .contact { padding: 20px 0; }
  .contact-card { max-width: calc(100% - 40px); width: 350px; padding: 24px 8px; }
  .contact-text { margin-top: 24px; }
  .contact-catch { margin-top: 40px; }
  .contact-tel { gap: 16px; font-size: 18px; line-height: 25.2px; }
  .contact-tel .ms { font-size: 30px; }
  .contact-right { margin-top: 48px; }
  .contact-btn { width: 301px; max-width: 100%; height: 64px; margin: 20px auto 0; gap: 15px; font-size: 18px; line-height: 25.2px; }
  .contact-btn .ms { font-size: 30px; }

  .ft { padding-bottom: 54px; }
  .ft-logo { width: 280px; }
  .ft-logo img { width: 280px; height: 105px; }
  .ft-tagline { width: 280px; margin-top: 15px; font-size: 20px; line-height: 28px; }
  .ft-addr { margin-top: 16px; }
  .ft-tel .ms { font-size: 28px; }
  .ft-tel .tel-num { font-size: 28px; line-height: 39.2px; }
  .ft-hours { font-size: 14px; line-height: 19.6px; }
  .ft-contact { width: 220px; height: 50px; font-size: 18px; }
}
