@charset "UTF-8";
/* ===== 基本指定 ===== */
:root {
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #222;
  line-height: 1.75;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
}

.container {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: 15px;
}

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.6em 0.8em;
  z-index: 10000;
}
.skiplink:focus {
  left: 15px;
}

/* ===== ヘッダー（固定） ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: #fff;
  z-index: 1000;
}
.site-header .header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-right: 30px;
}
.site-header .logo img {
  display: block;
  height: 50px;
  width: auto;
}
.site-header .logo h1 {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.worktime {
  text-align: right;
  line-height: 1.4;
}
.worktime .companyname {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
}
.worktime .time {
  margin: 0.1em 0 0;
  color: #666;
  font-size: 16px;
}

/* ナビ（PC） */
.gnav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gnav li:not(:last-child) a::before {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  background: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: -15px;
}

.gnav a {
  text-decoration: none;
  color: #222;
  display: block;
  padding: 10px 2px;
  position: relative;
  font-size: 14px;
}

.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.25s;
}

.gnav a:hover::after,
.gnav a:focus-visible::after {
  transform: scaleX(1);
}

/* ハンバーガー */
.nav-toggle {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 10px;
  margin: -10px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  margin: 5px 0;
  transition: 0.25s;
}
.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 840px) {
  .site-header .header__inner {
    grid-template-columns: auto 1fr auto;
  }
  .site-header .logo {
    margin-right: 0;
  }
  .site-header .logo img {
    height: 40px;
  }
  .worktime {
    padding-right: 50px;
  }
  .worktime .companyname {
    font-size: 18px;
  }
  .worktime .time {
    font-size: 12px;
  }
  .nav-toggle {
    display: inline-block;
    width: 46px;
    position: absolute;
    right: 20px;
  }
  .gnav {
    position: fixed;
    inset: var(--header-h) -280px 0 auto;
    width: 280px;
    background: #fff;
    border-left: 1px solid #9E9E9E;
    transition: transform 0.25s;
    transform: translateX(100%);
    padding: 12px 14px;
    z-index: 1000;
  }
  .gnav ul {
    display: grid;
    gap: 6px;
  }
  .gnav li:not(:last-child) a::before {
    content: none;
  }
  .gnav a {
    font-size: 18px;
    padding: 12px 8px;
  }
  .gnav.is-open {
    transform: translateX(0);
    inset-inline-end: 0;
  }
}
/* モバイル（767以下） */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.body--lock {
  overflow: hidden;
}

/* ===== セクション ===== */
main {
  padding-top: var(--header-h);
}

.section {
  padding: clamp(42px, 7vw, 50px) 0;
  background: #fff;
}
.section#hero {
  padding-top: 0;
}
.section#company {
  padding: clamp(42px, 8vw, 100px) 0;
}
.section#access {
  padding: clamp(42px, 8vw, 100px) 0;
}
.section#contact {
  padding: clamp(42px, 8vw, 100px) 0;
}

.section--alt {
  background: #f6f6f6;
}

/* 共通見出し（中央＋英字サブ） */
.sechead {
  text-align: center;
  margin-bottom: 40px;
}

.sechead__ja {
  font-size: clamp(33px, 4.8vw, 50px);
  letter-spacing: 0.1em;
  margin: 0;
  line-height: 1.3;
}

.sechead__en {
  margin: 0.2em 0 0;
  font-size: 20px;
  color: #b2b3b3;
  letter-spacing: 0.25em;
}

.sechead--mini .sechead__ja {
  position: relative;
  display: inline-block;
  padding-top: 10px;
}

.sechead__line {
  display: block;
  width: 100px;
  height: 2px;
  background: #bd1b20;
  margin: 0 auto 20px;
}

/* KV（JPGの枠っぽい雰囲気） */
.kv_back {
  background: url("./img/kv-back.png");
  background-repeat: no-repeat;
  background-size: 138%;
  position: relative;
  height: 350px;
  overflow: hidden;
  will-change: background-position;
}
@media (max-width: 1000px) {
  .kv_back {
    height: 35vw;
  }
}
@media (max-width: 640px) {
  .kv_back {
    height: 28vw;
  }
}

.hero__kv {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
}
@media (max-width: 640px) {
  .hero__kv {
    width: 100%;
  }
}

.hero__kv img {
  display: block;
  width: 100%;
  height: auto;
}

/* 説明リード */
.lead {
  margin: 0 0 40px;
  color: #444;
  text-align: center;
}

/* 事業案内カード（2カラム） */
.biz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
@media (max-width: 767px) {
  .biz {
    grid-template-columns: 1fr;
  }
}

.biz__card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.03);
}

.biz__media {
  position: relative;
  margin: 0;
  line-height: 0;
}

.biz__media img {
  width: 100%;
  height: auto;
  display: block;
}

.biz__cap {
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 30px;
  padding: 0.9em 1.5em;
  border-radius: 4px;
  white-space: nowrap;
}

.biz__body {
  padding: 25px 26px 15px;
}

/* 会社案内 定義リスト（横2列 行単位境界） */
.cmp {
  display: grid;
  border-top: 1px solid #9E9E9E;
  border-bottom: 1px solid #9E9E9E;
}

.cmp__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 35px 0px;
  border-top: 1px solid #9E9E9E;
}
.cmp__row:first-child {
  border-top: none;
}
@media (max-width: 767px) {
  .cmp__row {
    grid-template-columns: 120px 1fr;
    display: block;
  }
}

.cmp dt {
  font-weight: 700;
  color: #444;
}
@media (max-width: 767px) {
  .cmp dt {
    font-size: 18px;
  }
}

.cmp dd {
  margin: 0;
  white-space: pre-line;
}
@media (max-width: 767px) {
  .cmp dd {
    padding-left: 8px;
  }
}

/* 改行残す */
.map {
  overflow: hidden;
  background: #eee;
  aspect-ratio: 24/10;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* CTA（電話） */
.cta {
  display: flex;
  justify-content: center;
}

.cta__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 35px 10px;
  border: 1px solid #9E9E9E;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
  position: relative;
}

.cta__text {
  text-align: center;
}

.fa-phone {
  color: #b81f25;
  font-size: 33px;
  transform: rotate(18deg);
}
@media (max-width: 480px) {
  .fa-phone {
    position: absolute;
    font-size: 7vw;
    left: 2vw;
  }
}

.cta__lead {
  margin: 0 0 2px;
  font-size: 18px;
}

.cta__tel {
  font-size: 50px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .cta__tel {
    font-size: 9vw;
  }
}

.cta__note {
  color: #666;
  margin: 0.2em 0 0;
}

/* フッター */
.site-footer {
  background: #111;
  color: #bbb;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  /* 左：会社名（広め） / 右：ナビ・コピー */
  grid-template-rows: auto auto;
  /* 上段=ナビ段 / 下段=コピー段 */
  grid-template-areas: "brand copy" "nav copy";
  column-gap: 16px;
  row-gap: 8px;
  align-items: center;
  padding-block: 50px;
}

/* 会社名：左側に上下2段ぶち抜き */
.footer__name {
  grid-area: brand;
  font-weight: 700;
  font-size: 24px;
}

/* ナビ：左下（左寄せ） */
.fnav {
  grid-area: nav;
  display: flex;
}
@media (max-width: 767px) {
  .fnav {
    justify-content: center;
  }
}

.fnav ul {
  display: flex;
  flex-wrap: wrap;
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-start;
  /* ← 左寄せに変更 */
}
.fnav ul li:not(:last-child) a::before {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  background: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: -15px;
}

.fnav a {
  position: relative;
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
}

/* コピーライト：右下（右寄せ＆下寄せ） */
.copy {
  grid-area: copy;
  justify-self: end;
  align-self: end;
  font-size: 12px;
  color: #888;
}

/* スマホは縦積みセンター */
@media (max-width: 767px) {
  .footer__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "brand" "nav" "copy";
    text-align: center;
  }
  .fnav ul {
    justify-content: center;
  }
  .copy {
    justify-self: center;
    align-self: auto;
    margin-top: 35px;
  }
}
@media (max-width: 480px) {
  .fnav ul {
    margin-top: 10px;
    justify-content: center;
    gap: 10px 0;
    /* ← 左寄せに変更 */
  }
  .fnav ul li {
    width: 50%;
  }
  .fnav ul li:not(:last-child) a::before {
    content: none;
  }
  .fnav ul a {
    font-size: 20px;
    border-bottom: solid 1px #fff;
  }
}
/* アンカー補正（固定ヘッダー対策） */
[id] {
  scroll-margin-top: calc(var(--header-h) + 10px);
}/*# sourceMappingURL=style.css.map */