/* 名古屋金属 ワイヤーフレーム用スタイル */

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* メインビジュアル以下：2カラム（左固定追従・右メイン） */
.layout-two-col {
  display: flex;
  flex-wrap: wrap;
}

/* 左：固定追従サイドバー（ロゴ・メニュー・電話・CTA・SNS）※フッターまで画面高さ100％ */
.sidebar {
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  align-self: stretch;
  padding: 0;
  background: #f5f5f5;
  border-right: 1px solid #ddd;
}

/* サイドバーの中身のみ追従＋天地中央維持（短いときは中央、長いときはスクロール） */
.sidebar-inner {
  position: sticky;
  top: 0;
  max-height: 100vh;
  min-height: 100vh;
  overflow-y: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.sidebar-logo {
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0;
  color: #111;
}

.sidebar-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav-list li {
  margin-bottom: 4px;
}

.sidebar-nav-list a {
  color: #333;
  text-decoration: none;
  display: block;
  padding: 6px 0;
}

.sidebar-nav-list a:hover {
  color: #111;
  text-decoration: underline;
}

/* サイドバー：アコーディオンメニュー */
.sidebar-accordion .accordion-item {
  margin-bottom: 4px;
}

.sidebar-accordion .accordion-details {
  margin: 0;
}

.sidebar-accordion .accordion-summary {
  list-style: none;
  padding: 8px 0;
  cursor: pointer;
  font-weight: bold;
  color: #111;
  user-select: none;
}

.sidebar-accordion .accordion-summary::-webkit-details-marker {
  display: none;
}

.sidebar-accordion .accordion-summary::before {
  content: "▼";
  display: inline-block;
  margin-right: 6px;
  font-size: 0.7em;
  transition: transform 0.2s ease;
}

.sidebar-accordion .accordion-details[open] .accordion-summary::before {
  transform: rotate(-90deg);
}

.sidebar-accordion .accordion-inner {
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0 0 0 1em;
  border-left: 1px solid #ccc;
}

.sidebar-accordion .accordion-inner li {
  margin-bottom: 2px;
}

.sidebar-accordion .accordion-inner a {
  padding: 4px 0;
  font-size: 0.95rem;
}

.sidebar-accordion .current {
  display: block;
  padding: 8px 0;
  font-weight: bold;
  color: #111;
}

/* サイドバーCTA：PC時は電話番号大きめ＋メールするを50%／50%、SP時はボタン2本 */
.sidebar-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: stretch;
}

/* PC：左50% 電話番号（大きめ）、右50% メールするボタン */
.sidebar-tel {
  flex: 0 0 calc(50% - 5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
}

/* PC用：電話番号を大きめ表示 */
.sidebar-tel-pc {
  display: block;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

/* SP用：電話するラベル（PCでは非表示） */
.sidebar-tel-sp {
  display: none;
}

.sidebar-mail {
  flex: 0 0 calc(50% - 5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: #fff;
  color: #111;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 4px;
  text-align: center;
}

/* サイドバー：SNSブロック（タイトル・リード・リンク） */
.sidebar-sns-block {
  margin-top: 0;
}

.sidebar-sns-title {
  margin: 0 0 8px;
  font-weight: bold;
  font-size: 0.95rem;
  color: #111;
}

.sidebar-sns-lead {
  margin: 0 0 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
}

/* SNSボタン：4等分・ロゴマーク＋ラベル */
.sidebar-sns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.sidebar-sns li {
  margin: 0;
}

.sidebar-sns a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.75rem;
  min-height: 56px;
}

.sidebar-sns a:hover {
  background: #111;
}

.sidebar-sns .sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-sns .sns-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sidebar-sns .sns-label {
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 768px) {
  .sidebar-sns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sidebar-sns-note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #555;
}

/* 右：メインコンテンツ（asideと同幅・隣接） */
.main-content {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.main-content .container {
  max-width: none;
}

/* パンくずリスト（下層ページ main-content 内） */
.breadcrumb {
  padding: 12px 16px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.breadcrumb-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 0.85rem;
  color: #666;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.breadcrumb-list li:not(:last-child)::after {
  content: ">";
  margin-left: 4px;
  color: #999;
  font-weight: normal;
}

.breadcrumb-list a {
  color: #333;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
  color: #111;
  font-weight: bold;
}

/* SP用：ハンバーガーボタン（右上・768px以下で表示） */
.hamburger-btn {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 102;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.hamburger-btn:hover {
  background: #333;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* メニュー開時：ハンバーガーを×に */
body.nav-open .hamburger-btn .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .hamburger-btn .hamburger-line:nth-child(2) {
  opacity: 0;
}

body.nav-open .hamburger-btn .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* SP用：オーバーレイ（メニュー背後の暗転・クリックで閉じる） */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.nav-open .nav-overlay {
  display: block;
  opacity: 1;
}

/* 2カラム：SP時はサイドバー非表示→ハンバーガーで開くドロワーに */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .layout-two-col .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
  }

  body.nav-open .layout-two-col .sidebar {
    transform: translateX(0);
  }

  .sidebar-inner {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 72px;
  }

  .sidebar-logo {
    flex: none;
  }

  .sidebar-nav {
    flex: none;
  }

  .sidebar-nav-list {
    display: block;
    flex-wrap: nowrap;
  }

  .sidebar-nav-list li {
    margin-bottom: 4px;
  }

  /* SP：CTAは縦並び、電話は「📞 電話する」表示 */
  .sidebar-cta {
    flex-direction: column;
    flex-wrap: wrap;
    flex: none;
  }

  .sidebar-tel {
    flex: none;
    display: block;
  }

  .sidebar-tel-pc {
    display: none;
  }

  .sidebar-tel-sp {
    display: inline;
  }

  .sidebar-mail {
    flex: none;
  }

  .main-content {
    padding-left: 0;
  }
}

/* FV（全画面メインビジュアル：1.mp4 → 2.jpg → 3.mp4 → 4.mp4 リピート） */
.fv {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 全画面メディアレイヤー */
.mv-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mv-media .mv-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.mv-media .mv-item.mv-active {
  opacity: 1;
  z-index: 1;
}

/* テキスト読みやすさ用オーバーレイ（任意） */
.fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.fv-content {
  position: relative;
  z-index: 3;
  padding: 48px 16px;
}

.fv-title {
  font-size: 1.75rem;
  margin: 0 0 8px;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.fv-sub {
  font-size: 1rem;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.fv-assurance {
  margin-bottom: 24px;
}

/* FV内カード・ボタンは白/コントラスト確保 */
.fv .card {
  background: rgba(255, 255, 255, 0.95);
}

.fv .btn,
.fv .btn-fax {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* SP：FVセクションの文字サイズ調整 */
@media (max-width: 768px) {
  .fv-content {
    padding: 32px 16px;
  }

  .fv-title {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .fv-sub {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .fv-assurance {
    margin-bottom: 16px;
  }

  .fv .card {
    padding: 12px 14px;
    font-size: 0.85rem;
    min-width: 0;
  }
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.card {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 180px;
  text-align: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
}

.btn-fax {
  background: #555;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .cta-row {
    flex-direction: column;
  }
  .btn,
  .btn-fax {
    display: block;
    text-align: center;
  }
}

/* セクション共通 */
.section {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111;
}

/* お悩み共感 */
.worry-lead {
  margin: 0 0 16px;
}

.worry-list {
  margin: 0 0 20px;
  padding-left: 1.5em;
}

.worry-list li {
  margin-bottom: 8px;
}

.notice-emphasis {
  font-size: 1.1rem;
  font-weight: bold;
  color: #111;
  padding: 12px;
  background: #eee;
  border-radius: 4px;
}

.reasons-lead,
.items-lead,
.company-lead,
.recruit-lead {
  margin: 0 0 20px;
}

/* 選ばれる理由（3カラム） */
.cards-three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .cards-three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards-three .card .img-placeholder {
  margin-bottom: 12px;
  width: 100%;
}

.cards-three .card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.cards-three .card p {
  margin: 0;
  font-size: 0.95rem;
}

/* 取扱品目 */
.items-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.items-box {
  padding: 16px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.items-box h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.items-box-ng {
  border-color: #ccc;
  background: #f0f0f0;
}

.notice {
  margin: 8px 0;
  font-size: 0.95rem;
}

.notice-small {
  font-size: 0.85rem;
  color: #666;
}

/* 施設・流れ */
.facility-scale {
  margin: 0 0 24px;
  font-weight: bold;
  color: #111;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.step {
  flex: 1;
  min-width: 120px;
  padding: 16px;
  text-align: center;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.step-num {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #111;
  margin-bottom: 4px;
}

.step strong {
  display: block;
  margin-bottom: 4px;
}

/* SP：steps・step を1カラムに */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    gap: 12px;
  }

  .step {
    flex: none;
    width: 100%;
    min-width: 0;
  }
}

.img-placeholders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* 取扱品目：items-lead下の3枚横並び */
.img-placeholders-three {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .img-placeholders-three {
    grid-template-columns: 1fr;
  }
}

/* 取扱品目：買取できないものの上、2枚横並び */
.img-placeholders-two {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 480px) {
  .img-placeholders-two {
    grid-template-columns: 1fr;
  }
}

/* SP（768px以下）：連続で写真が表示されるブロックを横スクロールスライダーに（選ばれる理由は除く） */
@media (max-width: 768px) {
  /* 写真のみのブロック（img-placeholders / three / two）をスライダーに */
  .img-placeholders,
  .img-placeholders-three,
  .img-placeholders-two {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: unset;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 0 16px 8px;
    margin: 0 -16px;
  }

  .img-placeholders .img-placeholder,
  .img-placeholders-three .img-placeholder,
  .img-placeholders-two .img-placeholder {
    flex: 0 0 85%;
    min-width: 0;
    scroll-snap-align: start;
  }
}

.img-placeholder {
  aspect-ratio: 4/3;
  background: #ddd;
  border: 1px dashed #999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.9rem;
}

/* 遺品整理・業者様 */
.section-legacy p,
.section-business p {
  margin: 0 0 12px;
}

.cta-single {
  margin: 20px 0 0 !important;
}

/* 会社情報 */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.company-table th,
.company-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}

.company-table th {
  background: #f5f5f5;
  width: 140px;
}

.sub-title {
  font-size: 1rem;
  margin: 16px 0 8px;
}

.partner-list {
  margin: 0;
  padding-left: 1.5em;
}

/* 求人 */
.section-recruit p {
  margin: 0 0 8px;
}

/* お問い合わせ */
.contact-lead {
  margin: 0 0 16px;
}

.contact-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.contact-list li {
  margin-bottom: 16px;
}

.contact-note {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
}

.sns-lead {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.contact-list a {
  color: #111;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

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

.sns-list a {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.sns-list a:hover {
  background: #111;
}

/* Googleマップ（mainとfooterの間） */
.map-section {
  width: 100%;
  background: #eee;
}

.map-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 450px;
  vertical-align: top;
}

/* 名古屋金属までのルート案内ボタン（map-sectionとフッターの間） */
.map-route-section {
  width: 100%;
  padding: 24px 0;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
}

.map-route-wrap {
  text-align: center;
}

.btn-map-route {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.btn-map-route-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-map-route-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.btn-map-route:hover {
  background: #333;
}

/* フッター */
.footer {
  background: #111;
  color: #fff;
  padding: 24px 0;
  text-align: center;
}

.footer .container {
  padding: 0 16px;
}

.copyright {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.link-top {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.link-top:hover {
  text-decoration: underline;
}

/* お問い合わせページ（contact/index.html）用 */
.contact-header {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}

.contact-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-header-logo {
  margin: 0;
  font-weight: bold;
  font-size: 1.25rem;
}

.contact-header-logo a {
  color: #111;
  text-decoration: none;
}

.contact-header-logo a:hover {
  text-decoration: underline;
}

.contact-back {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-back:hover {
  color: #111;
  text-decoration: underline;
}

.contact-page .contact-container,
.contact-page .container {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 16px;
}

/* お問い合わせページ：メールフォーム */
.contact-form {
  margin: 0 0 40px;
  padding: 24px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.contact-form-item {
  margin-bottom: 20px;
}

.contact-form-item label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  color: #111;
}

.contact-form-item .required {
  color: #c00;
  font-size: 0.85rem;
  font-weight: normal;
}

.contact-form-item input,
.contact-form-item textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #111;
  background: #fff;
  border: 1px solid #999;
  border-radius: 4px;
  box-sizing: border-box;
}

.contact-form-item input:focus,
.contact-form-item textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.contact-form-item input::placeholder,
.contact-form-item textarea::placeholder {
  color: #999;
}

.contact-form-item textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-submit {
  margin-top: 28px;
}

.contact-form-submit .btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 4px;
}

.section-title-sub {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.contact-sns-lead {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: #333;
}

.contact-page-sns {
  margin-bottom: 0;
}

/* 業者様向けページ：FV・補足リスト */
.section-partners-fv .img-placeholder {
  margin-bottom: 20px;
}

.section-partners-fv .section-title {
  margin-bottom: 12px;
}

.partners-subcopy {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: #333;
}

.partners-lead-list {
  margin: 0 0 24px;
  padding-left: 1.5em;
}

.partners-lead-list li {
  margin-bottom: 6px;
}

/* 会社情報ページ：FV・代表署名 */
.section-company-fv .img-placeholder {
  margin-bottom: 20px;
  /* 高さを半分に（4/3 → 8/3） */
  aspect-ratio: 8/3;
}

.section-company-fv .section-title {
  margin-bottom: 12px;
}

.company-subcopy {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: #333;
}

.company-sign {
  margin: 24px 0 0;
  font-size: 0.95rem;
  text-align: right;
  color: #555;
}

/* 会社情報：代表メッセージ・事業内容・地域・社会との関わり 2カラム（写真＋本文） */
.company-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.company-two-col-img .img-placeholder {
  width: 100%;
  margin: 0;
}

.company-two-col-body .section-title {
  margin-top: 0;
}

@media (max-width: 768px) {
  .company-two-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company-two-col-img {
    order: 1;
  }

  .company-two-col-body {
    order: 2;
  }
}

/* 採用ページ：FV・FAQ */
.section-recruit-fv .img-placeholder {
  margin-bottom: 20px;
}

.section-recruit-fv .section-title {
  margin-bottom: 12px;
}

.recruit-subcopy {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: #333;
}

.recruit-faq {
  margin: 0;
  padding: 0;
}

.recruit-faq dt {
  margin: 16px 0 6px;
  font-weight: bold;
  color: #111;
}

.recruit-faq dt:first-child {
  margin-top: 0;
}

.recruit-faq dd {
  margin: 0 0 0 1em;
  padding: 0;
}

/* ========================================
   SP（768px以下）：全ページ共通の文字サイズ調整
   ======================================== */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 28px 0;
  }

  .section-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    padding-bottom: 6px;
  }

  .section-title-sub {
    font-size: 1rem;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .worry-list,
  .partners-lead-list,
  .recruit-lead-list {
    font-size: 0.9rem;
  }

  .worry-list li {
    margin-bottom: 6px;
  }

  .notice,
  .notice-small {
    font-size: 0.875rem;
  }

  .notice-emphasis {
    font-size: 1rem;
  }

  .card {
    padding: 14px 16px;
    font-size: 0.9rem;
    min-width: 0;
  }

  .cards-three .card h3 {
    font-size: 0.95rem;
  }

  .cards-three .card p {
    font-size: 0.875rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .breadcrumb-list {
    font-size: 0.8rem;
  }

  .breadcrumb-list li[aria-current="page"] {
    font-size: 0.8rem;
  }

  .contact-lead {
    font-size: 0.9rem;
  }

  .contact-form-item label {
    font-size: 0.9rem;
  }

  .contact-form-item input,
  .contact-form-item textarea {
    font-size: 16px;
  }

  .contact-form-submit .btn {
    font-size: 0.95rem;
  }

  .sidebar-logo {
    font-size: 1.1rem;
  }

  .sidebar-nav-list a {
    font-size: 0.9rem;
  }

  .sidebar-tel-pc {
    font-size: 1.1rem;
  }

  .sidebar-sns-title {
    font-size: 0.9rem;
  }

  .sidebar-sns-lead,
  .sidebar-sns-note {
    font-size: 0.8rem;
  }

  .partners-subcopy,
  .company-subcopy,
  .recruit-subcopy {
    font-size: 1rem;
  }

  .company-lead,
  .recruit-lead {
    font-size: 0.9rem;
  }

  .company-two-col-body .section-title {
    font-size: 1.15rem;
  }

  .company-two-col-body p,
  .company-two-col-body .worry-list {
    font-size: 0.9rem;
  }

  .company-sign {
    font-size: 0.875rem;
  }

  .step-num {
    font-size: 1.25rem;
  }

  .step {
    padding: 12px;
    font-size: 0.9rem;
  }

  .facility-scale,
  .items-lead,
  .reasons-lead {
    font-size: 0.9rem;
  }

  .items-box h3,
  .items-box p {
    font-size: 0.9rem;
  }

  .company-table th,
  .company-table td {
    padding: 8px 10px;
    font-size: 0.875rem;
  }

  .partner-list {
    font-size: 0.9rem;
  }

  .recruit-faq dt,
  .recruit-faq dd {
    font-size: 0.9rem;
  }

  .btn-map-route {
    font-size: 0.9rem;
    padding: 12px 16px;
  }

  .footer .copyright {
    font-size: 0.8rem;
  }
}

/* ========================================
   SP用：画面最下部固定バー（768px以下のみ表示）
   ======================================== */
.sp-fixed-bottom,
.sp-sns-sheet-overlay,
.sp-sns-sheet {
  display: none;
}

@media (max-width: 768px) {
  .sp-fixed-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 12px 8px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
    background: #111;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
  }

  .sp-fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .sp-fixed-btn-sns {
    background: #333;
    color: #fff;
    margin-right: 4px;
  }

  .sp-fixed-btn-sns:hover {
    background: #444;
  }

  .sp-fixed-btn-tel {
    background: #c00;
    color: #fff;
    margin-left: 4px;
  }

  .sp-fixed-btn-tel:hover {
    background: #d00;
  }

  /* せり上がりパネル：オーバーレイ（SP時のみ表示） */
  .sp-sns-sheet-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 94;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  body.sp-sns-sheet-open .sp-sns-sheet-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* せり上がりパネル：本体（SP時のみ表示） */
  .sp-sns-sheet {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    max-height: 70vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .sp-sns-sheet[aria-hidden="false"] {
    transform: translateY(0);
  }

  .sp-sns-sheet-inner {
    padding: 24px 20px 20px;
    overflow-y: auto;
    max-height: 70vh;
  }

  .sp-sns-sheet-title {
    margin: 0 0 16px;
    font-weight: bold;
    font-size: 1rem;
    color: #111;
  }

  .sp-sns-sheet-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .sp-sns-sheet-list li {
    margin: 0;
  }

  .sp-sns-sheet-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 8px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.75rem;
  }

  .sp-sns-sheet-list a:hover {
    background: #111;
  }

  .sp-sns-sheet-list .sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sp-sns-sheet-list .sns-icon svg {
    width: 24px;
    height: 24px;
    display: block;
  }

  .sp-sns-sheet-note {
    margin: 0 0 20px;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
  }

  .sp-sns-sheet-close {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    color: #111;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
  }

  .sp-sns-sheet-close:hover {
    background: #ddd;
  }
}
