/*
Theme Name: tao_theme
Theme URI:
Author: tao
Description: 火災報知器設備会社コーポレートサイト
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tao_theme
*/

/* ==========================================================================
   Google Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/* ==========================================================================
   Reset / Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: #fff;
  z-index: 100;
}

/* トップページ：固定 + 縦幅を広く（PCは白背景、SPは透過のまま） */
.site-header.header--transparent {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  height: 140px;
}

/* ロゴ */
.site-header .header-logo img {
  height: 80px;
  width: auto;
  margin: 8px 0;
}

/* PC ナビ */
.pc-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.pc-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.pc-nav a:hover {
  opacity: 0.6;
}

/* トップページ：ナビ文字色 */
.header--transparent .pc-nav a {
  color: #162c5d;
}

/* お問い合わせボタン */
.nav-contact-btn {
  background: #1a1a1a;
  color: #fff !important;
  border-radius: 9999px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-contact-btn:hover {
  opacity: 0.8;
}

/* お問い合わせボタンは全ページ黒背景・白テキスト固定 */

/* SP ハンバーガーボタン（PC では非表示） */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: background 0.2s;
}

.header--transparent .hamburger-btn span {
  background: #1a1a1a;
}

/* ==========================================================================
   SP 全画面ナビモーダル
   ========================================================================== */
.sp-nav-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sp-nav-modal.is-open {
  display: flex;
}

.sp-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}

.sp-nav-modal ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.sp-nav-modal ul a {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
}

.sp-nav-modal ul a:hover {
  opacity: 0.6;
}

/* ==========================================================================
   Hero（ファーストビュー）
   ========================================================================== */
.hero {
  width: 100%;
  height: 100vh;
  background: #fff;
  padding: 24px;
  box-sizing: border-box;
  position: relative;
}

.hero-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.hero-video-pc {
  display: block;
  object-position: left center;
}

.hero-video-sp {
  display: none;
  object-position: left center;
}

@media (max-width: 767px) {
  .hero-video-pc {
    display: none;
  }

  .hero-video-sp {
    display: block;
  }
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.08) 65%, rgba(0, 0, 0, 0.32) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.55) 1px, transparent 1px);
  background-size: 4px 4px;
  background-position: 0 0;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.hero-catch {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 3rem);
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* ==========================================================================
   Section Divider
   ========================================================================== */
.section-divider {
  border: none;
  border-top: 1px solid #1a1a1a;
  margin: 0;
}

/* ==========================================================================
   Philosophy（理念）セクション
   ========================================================================== */
.philosophy {
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.philosophy-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #162c5d;
}

.philosophy-body {
  padding-left: 0;
}

.philosophy-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: 32px;
  color: #162c5d;
}

.philosophy-text {
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #444;
}

/* ==========================================================================
   NEWS セクション
   ========================================================================== */
.news-section {
  padding: 100px 5%;
}

.section-title-en {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #162c5d;
}

.section-title-ja {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  color: #888;
  margin-top: 8px;
}

.news-section-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-areas:
    "head list"
    "btn  list";
  column-gap: 60px;
  row-gap: 32px;
  align-items: start;
  margin-top: 48px;
}

.news-section-head {
  grid-area: head;
}

.news-more-btn {
  grid-area: btn;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  background: #1a1a1a;
  color: #fff;
  border-radius: 9999px;
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.news-more-btn:hover {
  opacity: 0.8;
}

.news-more-btn-arrow {
  transition: transform 0.2s ease;
}

.news-more-btn:hover .news-more-btn-arrow {
  transform: translateX(4px);
}

.news-list {
  grid-area: list;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  border-bottom: 1px solid #e0e0e0;
}

.news-item:first-child {
  border-top: 1px solid #e0e0e0;
}

.news-item-link {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
}

.news-thumb {
  flex: 0 0 140px;
  width: 140px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
}

.news-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.news-item-link:hover .news-thumb-img {
  transform: scale(1.05);
}

.news-thumb-default {
  width: 100%;
  height: 100%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-thumb-default-logo {
  width: 50%;
  height: auto;
  object-fit: contain;
  opacity: 0.35;
}

.news-item-body {
  flex: 1;
  min-width: 0;
}

.news-item-body time {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: #888;
  display: block;
}

.news-item-title {
  margin: 8px 0 0;
  color: #1a1a1a;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 700;
}

.news-item-link:hover .news-item-title {
  text-decoration: underline;
}

/* ==========================================================================
   CONSTRUCTION（トップページ・施工完了工事の最新5件）
   ========================================================================== */
.construction-section {
  padding: 100px 5%;
}

.construction-section-grid {
  display: grid;
  grid-template-columns: 1fr 5fr;
  grid-template-areas:
    "head list"
    "btn  list";
  column-gap: 60px;
  row-gap: 32px;
  align-items: start;
  margin-top: 48px;
}

.construction-section-head {
  grid-area: head;
}

.construction-more-btn {
  grid-area: btn;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  background: #1a1a1a;
  color: #fff;
  border-radius: 9999px;
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.construction-more-btn:hover {
  opacity: 0.8;
}

.construction-more-btn-arrow {
  transition: transform 0.2s ease;
}

.construction-more-btn:hover .construction-more-btn-arrow {
  transform: translateX(4px);
}

.construction-list {
  grid-area: list;
  list-style: none;
  margin: 0;
  padding: 0;
}

.construction-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.construction-item:first-child {
  border-top: 1px solid #e0e0e0;
}

.construction-item-period {
  flex: 0 0 110px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
}

.construction-item-name {
  flex: 0 0 420px;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.construction-item-detail {
  flex: 1;
  min-width: 180px;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .construction-section {
    padding: 60px 5%;
  }

  .construction-section-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "list"
      "btn";
    row-gap: 24px;
    margin-top: 32px;
  }

  .construction-more-btn {
    justify-self: start;
  }

  .construction-item {
    flex-direction: column;
    gap: 4px;
  }

  .construction-item-period,
  .construction-item-name {
    flex: none;
  }
}

/* ==========================================================================
   View Transitions API（ページ遷移フェード）
   ========================================================================== */
@supports (view-transition-name: none) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: 200ms ease-in fade-out;
  }

  ::view-transition-new(root) {
    animation: 300ms ease-out fade-in;
  }

  @keyframes fade-out {
    from { opacity: 1; }
    to   { opacity: 0; }
  }

  @keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* ==========================================================================
   ページヒーロー（cases / company / contact 共通）
   ========================================================================== */
.page-hero {
  padding: 80px 0 60px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.page-title-en {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #162c5d;
  margin: 0;
}

.page-title-ja {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  color: #162c5d;
  margin-top: 8px;
}

/* ==========================================================================
   会社概要ページ（page-company.php）
   ========================================================================== */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

/* ご挨拶: 左にタイトル・右に本文の2カラム */
.ceo-greeting-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.ceo-greeting-head {
  padding-top: 4px;
}

.ceo-message {
  font-size: 1rem;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: #444;
}

.ceo-message p {
  margin: 0 0 1.8em;
}

.ceo-message p:last-child {
  margin-bottom: 0;
}

.ceo-signoff {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-top: 56px;
}

.ceo-photo {
  flex: 0 0 auto;
  width: 160px;
}

.ceo-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.ceo-signature {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}

/* 会社概要: 左にタイトル・右にテーブルの2カラム */
.company-info-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.company-info-head {
  padding-top: 4px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 32px 24px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.9;
}

.company-table tr:first-child th,
.company-table tr:first-child td {
  padding-top: 0;
}

.company-table th {
  width: 160px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.company-table td {
  font-weight: 400;
  color: #444;
}

@media (max-width: 767px) {
  .ceo-greeting-grid,
  .company-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ceo-signoff {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ceo-photo {
    width: 140px;
  }

  .company-table tr:first-child th,
  .company-table tr:first-child td {
    padding-top: 24px;
  }

  .company-table th {
    width: auto;
    display: block;
    border-bottom: none;
    padding-bottom: 4px;
    white-space: normal;
  }
  .company-table td {
    display: block;
    padding-top: 4px;
  }
}

/* ==========================================================================
   お問い合わせページ（page-contact.php）
   ========================================================================== */
.contact-lead {
  text-align: center;
  font-size: 1rem;
  line-height: 2;
  color: #444;
  letter-spacing: 0.05em;
}

.cf7-wrap .wpcf7-form p {
  margin-bottom: 20px;
}

.cf7-wrap label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}

.cf7-wrap input[type="text"],
.cf7-wrap input[type="email"],
.cf7-wrap input[type="tel"],
.cf7-wrap select,
.cf7-wrap textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  background: #fafafa;
  transition: border-color 0.2s ease;
}

.cf7-wrap input:focus,
.cf7-wrap select:focus,
.cf7-wrap textarea:focus {
  outline: none;
  border-color: #1a1a1a;
  background: #fff;
}

.cf7-wrap textarea {
  min-height: 160px;
  resize: vertical;
}

.cf7-wrap input[type="submit"],
.cf7-wrap .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 8px;
}

.cf7-wrap input[type="submit"]:hover,
.cf7-wrap .wpcf7-submit:hover {
  background: #333;
}

.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 32px 5%;
  text-align: center;
  background: #162c5d;
  color: #fff;
}

.copyright {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Responsive（SP: ~767px）
   ========================================================================== */
@media (max-width: 767px) {

  /* ヘッダー */
  .site-header {
    height: 44px;
    justify-content: center;
    position: relative;
  }

  .site-header.header--transparent {
    position: fixed;
    background: #fff;
    height: 44px;
  }

  .site-header .header-logo {
    /* SP: 中央配置（flex center で対応） */
  }

  .site-header .header-logo img {
    height: 40px;
    margin: 2px 0;
  }

  .pc-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Hero */
  .hero {
    padding: 12px;
  }

  /* Philosophy */
  .philosophy {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 60px 5%;
  }

  .philosophy-label {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  /* NEWS */
  .news-section {
    padding: 60px 5%;
  }

  .news-section-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "list"
      "btn";
    row-gap: 24px;
    margin-top: 32px;
  }

  .news-more-btn {
    justify-self: start;
  }

  .news-thumb {
    flex: 0 0 100px;
    width: 100px;
  }
}

/* ニュースアーカイブ（index.php）*/
.news-card {
  border: none;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.news-card-link {
  text-decoration: none;
  color: inherit;
}

.news-archive-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
}

.news-card-link:hover .news-thumb-img {
  transform: scale(1.05);
}

.news-date {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: #888;
  display: block;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
  margin: 8px 0 0;
}

.news-pagination {
  text-align: center;
}

.news-pagination .page-numbers {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #ddd;
  margin: 0 2px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.875rem;
}

.news-pagination .page-numbers.current {
  background: #162c5d;
  color: #fff;
  border-color: #162c5d;
}

/* ==========================================================================
   施工実績ページ（page-work.php）
   ========================================================================== */

/* 営業案内: 左にタイトル・右に本文の2カラム */
.work-business-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.work-business-head {
  padding-top: 4px;
}

.work-business-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #444;
}

/* 主な事業内容: カテゴリごとのカードグリッド（PC:4列 / タブレット:2列 / SP:1列） */
.work-contents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .work-contents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.work-contents-card {
  background: #f5f5f5;
  padding: 28px 24px;
}

.work-contents-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #162c5d;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #162c5d;
}

.work-contents-list li {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #444;
}

/* ギャラリー: 自動横スライド（無限ループ） */
.work-gallery-section {
  overflow: hidden;
  padding: 40px 0;
}

.work-gallery-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation-name: work-gallery-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.work-gallery-img {
  flex: 0 0 auto;
  height: 380px;
  width: auto;
  object-fit: cover;
  display: block;
}

@keyframes work-gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .work-gallery-track {
    animation: none;
  }
}

@media (max-width: 767px) {
  .work-gallery-section {
    padding: 24px 0;
  }

  .work-gallery-img {
    height: 220px;
  }
}

/* 施工完了工事: 年ごとの見出し + テーブル */
.work-construction-year {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: #162c5d;
  margin: 56px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1a1a1a;
}

.work-construction-year:first-of-type {
  margin-top: 0;
}

.work-construction-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.work-construction-table thead th {
  padding: 0 12px 12px;
  text-align: left;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #888;
  border-bottom: 2px solid #1a1a1a;
}

.work-construction-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.work-construction-table td {
  padding: 16px 12px;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #666;
}

.work-construction-th-name,
.work-construction-td-name {
  width: 34%;
}

.work-construction-td-name {
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.work-construction-more {
  margin: 4px 0 8px;
  padding: 0 12px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #162c5d;
}

@media (max-width: 767px) {
  .work-business-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-contents-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-construction-table thead {
    display: none;
  }

  .work-construction-table tbody tr {
    display: block;
    padding: 16px 0 8px;
  }

  .work-construction-table td {
    display: block;
    width: auto;
    padding: 2px 0;
  }

  .work-construction-td-name {
    padding-top: 4px;
  }
}
