@charset "UTF-8";

/* =========================================================
   山陽電工株式会社 ご提案専用サンプル
   モチーフ：制御盤（計器盤）／オフホワイト × 鋼 × 運転ランプの緑
   ========================================================= */

:root {
  color-scheme: only light;
  --paper: #f2f1ec;
  --white: #ffffff;
  --ink: #1c2024;
  --steel: #58616a;
  --steel-dark: #2b3238;
  --steel-deep: #1e242a;
  --line: #d9d7d0;
  --line-soft: #e8e6e0;
  --lamp: #16a06a;
  --lamp-dark: #0f7d52;
  --lamp-soft: #e4f3ec;
  --shadow: 0 1px 2px rgba(28, 32, 36, 0.06), 0 8px 24px rgba(28, 32, 36, 0.06);
  --radius: 4px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Meiryo", system-ui, sans-serif;
  --font-num: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-text-size-adjust: 100%;
  /* 日本語の意味のまとまりで改行させる（非対応ブラウザでは無視される） */
  word-break: auto-phrase;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.inner {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- ご提案専用の注釈 ---------- */
.proposal-note {
  background: var(--steel-deep);
  color: #e6e8ea;
  font-size: 14px;
  line-height: 1.8;
  padding: 12px 0;
}

.proposal-note .line1 {
  margin-bottom: 6px;
}

.proposal-note .line2 {
  color: #b9bfc5;
}

.proposal-note strong {
  color: #ffffff;
}

.proposal-note a {
  color: #ffffff;
}

/* ---------- ランプ ---------- */
.lamp {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 0 3px rgba(22, 160, 106, 0.18);
  display: inline-block;
  flex: none;
}

/* ---------- ヘッダー ---------- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  display: block;
}

.brand-name {
  display: block;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.brand-sub {
  display: block;
  font-size: 15px;
  color: var(--steel);
  letter-spacing: 0.12em;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tel {
  text-decoration: none;
  display: block;
  text-align: right;
}

.tel-label {
  display: block;
  font-size: 15px;
  color: var(--steel);
  letter-spacing: 0.16em;
}

.tel-num {
  display: block;
  font-family: var(--font-num);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.tel-time {
  display: block;
  font-size: 15px;
  color: var(--steel);
}

/* ---------- ナビゲーション ---------- */
.gnav {
  border-top: 1px solid var(--line-soft);
}

.gnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 28px;
}

.gnav a {
  display: block;
  padding: 12px 4px;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 3px solid transparent;
}

.gnav a:hover {
  border-bottom-color: var(--lamp);
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--steel-dark);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.menu-icon {
  display: grid;
  gap: 4px;
  width: 20px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-form {
  padding: 12px 18px;
  font-size: 15px;
  background: var(--steel-dark);
  color: #fff;
}

.btn-form:hover {
  background: var(--steel-deep);
}

.btn-primary {
  background: var(--lamp);
  color: #fff;
  padding: 16px 26px;
  font-size: 18px;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.btn-primary span {
  font-family: var(--font-num);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.btn-primary:hover {
  background: var(--lamp-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--steel);
  padding: 16px 26px;
  font-size: 18px;
}

.btn-ghost:hover {
  background: var(--white);
}

.btn-block {
  width: 100%;
  padding: 16px;
}

/* ---------- 第一画面 ---------- */
.hero {
  background: var(--steel-deep);
  position: relative;
  color: #fff;
}

.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero-body {
  position: relative;
  padding: 72px 0 64px;
  background: linear-gradient(
    100deg,
    rgba(30, 36, 42, 0.92) 0%,
    rgba(30, 36, 42, 0.72) 55%,
    rgba(30, 36, 42, 0.45) 100%
  );
}

.hero-eyebrow {
  font-size: 15px;
  letter-spacing: 0.2em;
  color: #9fd9bf;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(30px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero-title span {
  display: inline-block;
}

.hero-lead {
  font-size: 18px;
  max-width: 34em;
  color: #dfe3e6;
  margin-bottom: 28px;
}

.hero-badges {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 12px 16px;
  min-width: 210px;
}

.badge-key {
  display: block;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #9fd9bf;
  margin-bottom: 4px;
}

.badge-val {
  display: block;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-note {
  margin-top: 20px;
  font-size: 15px;
  color: #b9bfc5;
}

.card-photo figcaption {
  padding: 8px 28px 0;
}

/* ---------- セクション共通 ---------- */
section {
  padding: 72px 0;
}

/* 固定ヘッダーの下にアンカー先が潜り込まないようにする */
section[id] {
  scroll-margin-top: 150px;
}

.sec-head {
  margin-bottom: 40px;
}

.sec-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--steel);
  margin-bottom: 10px;
}

.sec-title {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}

.sec-lead {
  color: var(--steel);
  max-width: 46em;
}

/* ---------- ギミック：電気の配り方 ---------- */
.flow {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-hint {
  margin-top: 14px;
  font-size: 15px;
  color: var(--lamp-dark);
  background: var(--lamp-soft);
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius);
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 46px;
  position: relative;
  --draw: 0;
}

/* 幹線（下地） */
.flow-list::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--line);
  border-radius: 2px;
}

/* 幹線（通電＝スクロールで伸びる） */
.flow-list::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--lamp) 0%, var(--lamp-dark) 100%);
  border-radius: 2px;
  transform: scaleY(var(--draw));
  transform-origin: top center;
  transition: transform 0.35s ease-out;
}

.flow-item {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}

.flow-item:first-child {
  border-top: 1px solid var(--line-soft);
}

.flow-btn {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: 0;
  padding: 18px 0;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

.flow-btn::after {
  content: "";
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  transform: rotate(45deg);
  transition: transform 0.25s;
  margin-right: 4px;
}

.flow-btn[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

/* 幹線上の分岐点 */
.flow-node {
  position: absolute;
  left: -38px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--line);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background-color 0.3s;
}

/* 分岐点から見出しへの枝 */
.flow-node::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--line);
  transition: background-color 0.3s;
}

.flow-item.is-lit .flow-node {
  border-color: var(--lamp);
  box-shadow: 0 0 0 5px rgba(22, 160, 106, 0.14);
}

.flow-item.is-lit .flow-node::after {
  background: var(--lamp);
}

.flow-stage {
  display: block;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.flow-name {
  display: block;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.flow-item.is-source .flow-name {
  color: var(--lamp-dark);
}

.flow-desc {
  display: none;
  padding: 0 0 20px;
  color: var(--steel);
  font-size: 18px;
}

.flow-item.is-open .flow-desc {
  display: block;
}

.flow-foot {
  margin-top: 32px;
  background: var(--paper);
  border-left: 4px solid var(--lamp);
  padding: 18px 22px;
}

.flow-photo {
  margin: 40px 0 0;
}

.flow-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.flow-photo figcaption,
.card-photo figcaption {
  font-size: 15px;
  color: var(--steel);
  margin-top: 8px;
}

/* ---------- 会社の備え ---------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.reason-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.reason-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.card-photo {
  margin: -28px -28px 20px;
}

.card-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.reason-lead {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--lamp-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.reason-card p {
  color: var(--steel);
  font-size: 18px;
}

/* 2カラムの下端を揃える（最後の一文を下に寄せる） */
.reason-card > p:last-child {
  margin-top: auto;
  padding-top: 8px;
}

.qual-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 12px;
  font-size: 18px;
}

.qual-table th,
.qual-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 8px 0;
  text-align: left;
  font-weight: 400;
}

.qual-table th {
  color: var(--ink);
}

.qual-table td {
  text-align: right;
  font-family: var(--font-num);
  font-weight: 700;
  white-space: nowrap;
  padding-left: 12px;
}

.note {
  font-size: 15px !important;
}

.machine-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 18px;
}

.machine-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  padding: 8px 0;
}

.machine-list li span:last-child {
  font-family: var(--font-num);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- お取引先 ---------- */
.clients {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.client-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.client-list li {
  border: 1px solid var(--line);
  border-left: 3px solid var(--lamp);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 18px;
  background: var(--paper);
}

.orgs h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.orgs p {
  color: var(--steel);
  font-size: 18px;
}

/* ---------- 会社概要 ---------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

.company-table th,
.company-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  font-size: 18px;
}

.company-table th {
  width: 200px;
  background: #fafaf8;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.company-table .quote {
  color: var(--lamp-dark);
}

.company-note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--steel);
}

/* ---------- 住まいの電気 ---------- */
.home-use {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.propose-badge {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--steel);
  font-size: 15px;
  letter-spacing: 0.16em;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 12px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.home-photo {
  margin: 0;
}

.home-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.home-cases {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.home-cases li {
  background: var(--paper);
  border-left: 3px solid var(--lamp);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.case-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.case-sub {
  display: block;
  font-size: 15px;
  color: var(--steel);
}

.home-lead {
  color: var(--steel);
  font-size: 18px;
  margin-bottom: 20px;
}

.home-body .btn-primary {
  width: 100%;
}

.propose-note {
  margin-top: 32px;
  font-size: 15px;
  color: var(--steel);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: var(--radius);
}

/* ---------- お問い合わせ ---------- */
.contact {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.contact-tel {
  background: var(--steel-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.contact-label {
  font-size: 15px;
  letter-spacing: 0.2em;
  color: #9fd9bf;
  margin-bottom: 10px;
  display: block;
}

.contact-num {
  font-family: var(--font-num);
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.contact-sub {
  font-size: 15px;
  color: #c8ced3;
  margin-top: 10px;
}

.contact-info {
  margin: 16px 0 0;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 18px;
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 6px 12px;
}

.contact-info dt {
  color: var(--steel);
  font-size: 15px;
  letter-spacing: 0.1em;
  padding-top: 2px;
}

.contact-info dd {
  margin: 0;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-form .contact-label {
  color: var(--steel);
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.req {
  background: var(--lamp);
  color: #fff;
  font-size: 15px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 8px;
  letter-spacing: 0.1em;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  font-size: 14px;
  color: var(--steel);
  margin-top: 10px;
  text-align: center;
}

/* ---------- フッター ---------- */
.footer {
  background: var(--steel-deep);
  color: #dfe3e6;
  padding: 40px 0 96px;
}

.footer-main {
  font-size: 18px;
  margin-bottom: 6px;
}

.footer-main a {
  color: #fff;
}

.footer-copy {
  font-size: 14px;
  color: #98a0a7;
  margin-bottom: 16px;
}

.footer-note {
  font-size: 14px;
  line-height: 1.8;
  color: #b9bfc5;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 16px;
}

/* ---------- スマホ固定バー ---------- */
.sp-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--steel-deep);
  padding: 8px;
  gap: 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.sp-tel,
.sp-form {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
}

.sp-tel {
  flex: 1 1 auto;
  background: var(--lamp);
  color: #fff;
  flex-direction: column;
  padding: 8px;
  line-height: 1.25;
}

.sp-tel span {
  font-size: 15px;
  letter-spacing: 0.12em;
}

.sp-tel strong {
  font-family: var(--font-num);
  font-size: 21px;
}

.sp-form {
  flex: 0 0 100px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 15px;
}

/* =========================================================
   レスポンシブ
   ========================================================= */

@media screen and (max-width: 900px) {
  .reason-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .client-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .home-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 720px) {
  body {
    font-size: 18px;
  }

  .inner {
    width: min(1080px, 100% - 32px);
  }

  section {
    padding: 52px 0;
  }

  .header-contact .btn-form {
    display: none;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
  }

  .menu-btn {
    display: inline-flex;
  }

  /* ヘッダー直下の全幅ドロップダウン（position:fixed にしない） */
  .gnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(28, 32, 36, 0.12);
  }

  /* 最後の項目が下部の電話バーに隠れないよう、高さを制限して中でスクロールさせる
     （実際の上限は script.js が開いた時点の位置を実測して設定する） */
  .gnav.is-open {
    display: block;
    max-height: calc(100vh - 230px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gnav ul {
    display: block;
  }

  .gnav li + li {
    border-top: 1px solid var(--line-soft);
  }

  .gnav a {
    padding: 14px 0;
    border-bottom: 0;
  }

  .header-contact {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .tel {
    text-align: left;
  }

  .tel-num {
    font-size: 24px;
  }

  .btn-form {
    padding: 10px 14px;
    font-size: 15px;
  }

  .hero-body {
    padding: 52px 0 48px;
  }

  .hero-badges li {
    min-width: 0;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .flow-list {
    padding-left: 38px;
  }

  .flow-list::before,
  .flow-list::after {
    left: 11px;
  }

  .flow-node {
    left: -32px;
    width: 13px;
    height: 13px;
  }

  .flow-node::after {
    width: 16px;
  }

  .flow-name {
    font-size: 19px;
  }

  .client-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-table th,
  .company-table td {
    display: block;
    width: auto;
    white-space: normal;
  }

  .company-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .company-table td {
    padding-top: 0;
  }

  .contact-tel {
    padding: 28px 20px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .footer {
    padding-bottom: 110px;
  }

  .sp-bar {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .flow-list::after {
    transition: none;
  }
}
