/* ==========================================================
   株式会社SI コーポレートサイト - style.css
   配色を変えたい場合は下記 :root の --accent 系だけ変更すればよい
   ========================================================== */

:root {
  --navy: #1c150d;
  --navy-deep: #100b06;
  --navy-soft: #2d2115;
  --accent: #d09e09;
  --accent-deep: #a97f00;
  --accent-red: #b72c2c;
  --ivory: #f7f5ef;
  --white: #ffffff;
  --text: #221c15;
  --text-soft: #6b6153;
  --line: #e6e1d4;
  --shadow: 0 10px 30px rgba(16, 11, 6, 0.12);
  --radius: 14px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Oswald", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
dl, dt, dd { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
svg { display: block; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(208, 158, 9, 0.35);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-lg { padding: 18px 44px; font-size: 17px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 11, 6, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text .ja { color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.brand-text .en { font-family: var(--font-en); color: var(--accent); font-size: 10.5px; letter-spacing: 0.16em; }

.nav {
  display: flex;
  gap: 26px;
  margin-left: 12px;
  flex: 1;
}
.nav a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  opacity: 0.88;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { opacity: 1; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--white);
  flex-shrink: 0;
}
.tel-label { font-size: 11px; opacity: 0.7; }
.tel-number {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (top page) ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(16,11,6,0.94) 22%, rgba(16,11,6,0.6) 62%, rgba(16,11,6,0.4) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-eyebrow {
  font-family: var(--font-en);
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-title {
  color: var(--white);
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15.5px;
  line-height: 1.9;
  margin-bottom: 34px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  padding: 64px 0 56px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,158,9,0.22), transparent 70%);
}
.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero-eyebrow {
  position: relative;
  z-index: 1;
  font-family: var(--font-en);
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.page-hero-title {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900;
  margin-bottom: 16px;
}
.page-hero-lead {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.8);
  font-size: 14.5px;
  max-width: 640px;
}

/* ---------- section common ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--white); }
.section-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title .en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
}
.section-lead {
  color: var(--text-soft);
  font-size: 15px;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ---------- business cards (top page) ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.biz-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(16,11,6,0.18); }
.biz-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.biz-card-img img { width: 100%; height: 100%; object-fit: cover; }
.biz-card-body { padding: 26px 26px 30px; }
.biz-card-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  background: rgba(208,158,9,0.12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.biz-card-body h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.biz-card-body p { font-size: 13.5px; color: var(--text-soft); margin-bottom: 18px; }
.biz-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-deep);
}
.biz-card-more svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.biz-card:hover .biz-card-more svg { transform: translateX(4px); }

/* ---------- icon badge ---------- */
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(208,158,9,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  flex-shrink: 0;
}
.icon-badge svg { width: 28px; height: 28px; }

/* ---------- business detail grid (sub pages) ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.detail-card .icon-badge { margin-bottom: 20px; }
.detail-card h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.detail-card p { font-size: 13.5px; color: var(--text-soft); }

/* ---------- price ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,11,6,0.16); }
.price-card-img {
  aspect-ratio: 4 / 3;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.price-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.price-card-body { padding: 20px 20px 24px; }
.price-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.price-desc { font-size: 13px; color: var(--text-soft); margin-bottom: 8px; line-height: 1.7; }
.price-note { color: var(--accent-deep); }
.price-models {
  font-size: 12.5px;
  color: var(--text-soft);
  background: var(--ivory);
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.price-list { display: flex; flex-direction: column; gap: 8px; border-top: 1px dashed var(--line); padding-top: 14px; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--text-soft);
}
.price-list strong {
  font-family: var(--font-en);
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
}
.price-caution { margin-top: 32px; font-size: 13px; color: var(--text-soft); }

/* ---------- flow ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.flow-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.flow-num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.9;
  margin-bottom: 12px;
  line-height: 1;
}
.flow-step h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.flow-step p { font-size: 13.5px; color: var(--text-soft); }
.flow-tel { color: var(--navy); font-weight: 700; }

.flow-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.flow-note {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 24px 28px;
  border-left: 4px solid var(--accent);
}
.flow-note h4 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.flow-note p { font-size: 13px; color: var(--text-soft); }
.flow-notes-single { grid-template-columns: 1fr; }
.flow-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- strength ---------- */
.strength-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.strength-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.strength-img img { width: 100%; height: 100%; object-fit: cover; }
.strength-list { display: flex; flex-direction: column; gap: 32px; }
.strength-item {
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.strength-item h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.strength-item p { font-size: 14px; color: var(--text-soft); }

/* ---------- shop ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.shop-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
}
.shop-info {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
}
.shop-info dl { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.shop-info dt {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}
.shop-info dd { color: var(--white); font-size: 15px; line-height: 1.7; }
.shop-info dd a { color: var(--accent); font-weight: 600; }

/* ---------- company ---------- */
.company-table {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.company-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
}
.company-row:last-child { border-bottom: none; }
.company-row dt {
  background: var(--ivory);
  padding: 18px 28px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.company-row dd {
  padding: 18px 28px;
  font-size: 14.5px;
  color: var(--text);
}

/* ---------- area tags ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.area-tag {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

/* ---------- concern tags (construction: 課題起点の入口) ---------- */
.concern-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.concern-tag {
  background: rgba(208,158,9,0.10);
  border: 1px solid rgba(208,158,9,0.35);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-deep);
}
.area-note { font-size: 13px; color: var(--text-soft); margin-top: 16px; }

/* ---------- license block (construction: 許可業種・許可番号) ---------- */
.license-block {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.license-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.license-number {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 20px;
}

/* ---------- detail note (品目・工事内容の内訳) ---------- */
.detail-note {
  display: inline-block;
  font-size: 12.5px;
  color: var(--text-soft);
  background: var(--ivory);
  padding: 6px 10px;
  border-radius: 8px;
  margin-top: 12px;
  line-height: 1.6;
}

/* ---------- check list (kaitori: 状態が悪くてもご相談ください) ---------- */
.check-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
}
.check-item svg { color: var(--accent-deep); flex-shrink: 0; }

/* ---------- faq ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-mark {
  font-family: var(--font-en);
  color: var(--accent-deep);
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-deep);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 4px 28px 24px 62px; font-size: 13.5px; color: var(--text-soft); }

/* ---------- cta ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  padding: 80px 0;
}
.cta-inner { text-align: center; }
.cta h2 { color: var(--white); font-size: 24px; font-weight: 900; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,0.75); font-size: 14px; margin-bottom: 32px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-deep);
  padding: 48px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-logo { height: 30px; opacity: 0.9; filter: brightness(0) invert(1); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 13px; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 12px; }

/* ---------- floating tel (mobile) ---------- */
.fab-tel {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-deep);
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  z-index: 90;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- accessibility (index/construction/kaitori限定。.page-improvedはrentalbikeに付与しないためrentalbikeへは無影響) ---------- */
.page-improved a:focus-visible,
.page-improved button:focus-visible,
.page-improved summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .page-improved.reveal,
  .page-improved .reveal { transition: none; }
}

/* ---------- flat tone override (index/construction/kaitori限定。斜めグラデーション・光彩オーブを廃し単色に。rentalbikeは.page-improved非付与のため無影響) ---------- */
.page-improved .page-hero,
.page-improved .cta {
  background: var(--navy-deep);
}
.page-improved .page-hero::after {
  content: none;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .strength-layout { grid-template-columns: 1fr; gap: 32px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-map { min-height: 280px; }
  .flow-notes { grid-template-columns: 1fr; }
  .flow-grid-3 { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { max-height: 480px; overflow-y: auto; }
  .nav a { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .header-tel { display: none; }
  .menu-btn { display: flex; }
  .header-inner { height: 66px; }
  .brand-logo { height: 32px; }
  .brand-text .ja { font-size: 13px; }

  .hero { min-height: 560px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .section { padding: 64px 0; }
  .price-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .company-row { grid-template-columns: 1fr; }
  .company-row dt { padding-bottom: 8px; }
  .faq-item summary { padding: 18px 20px; font-size: 14px; gap: 12px; }
  .faq-answer { padding: 4px 20px 20px 44px; }
  .check-list { grid-template-columns: 1fr; }

  .fab-tel { display: flex; }
}
