/* styles.css - サンプル道路株式会社 デザインシステム & スタイル（完全版） */

:root {
  /* カラー定義 */
  --color-bg-dark: #121214;       /* アスファルトを象徴する深みのある黒 */
  --color-bg-light: #f8f9fa;      /* クリーンな印象の薄いグレー */
  --color-text-dark: #1a1a1c;     /* 濃いグレー */
  --color-text-light: #ffffff;    /* 白 */
  --color-text-muted: #8e8e93;    /* ミュートされたグレー */
  
  /* アクセント：安全・信頼を象徴しつつ、高級感のあるマスタードゴールド */
  --color-accent: #d4af37;        
  --color-accent-hover: #b8962e;
  
  /* フォント */
  --font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  
  /* トランジション */
  --transition-smooth: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.3s ease;
}

/* リセット & 共通スタイル */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* インナー幅 */
.c-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}

.u-center {
  text-align: center;
}

/* セクションタイトル (スフォルゼスト風) */
.c-ttl_sup {
  margin-bottom: 60px;
}

.c-ttl_sup.-center {
  text-align: center;
}

.c-ttl_sup__en {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.c-ttl_sup__jp {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ボタン */
.c-btn {
  display: inline-block;
  padding: 18px 45px;
  border: 1px solid var(--color-text-light);
  background-color: transparent;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.c-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-text-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}

.c-btn:hover {
  color: var(--color-bg-dark);
}

.c-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.c-btn.-gold {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.c-btn.-gold::before {
  background-color: var(--color-accent);
}

.c-btn.-gold:hover {
  color: var(--color-bg-dark);
}

/* 1. ローダー (l-loader) */
.l-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.l-loader.-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.l-loader__logo {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-text-light);
  opacity: 0;
  transform: translateY(20px);
  animation: loaderFadeIn 1s forwards 0.3s;
}

.l-loader__logo span {
  color: var(--color-accent);
}

@keyframes loaderFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. ヘッダー (l-header) */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 60px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.l-header.-scrolled {
  background-color: rgba(18, 18, 20, 0.95);
  padding: 15px 60px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.l-header__logo {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.l-header__logo span {
  color: var(--color-accent);
}

.l-header__burger {
  display: none;
}

.l-header__navi {
  display: flex;
  align-items: center;
  gap: 50px;
}

.l-header__menu {
  display: flex;
  list-style: none;
  gap: 35px;
}

.l-header__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  padding: 5px 0;
}

.l-header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.l-header__link:hover {
  color: var(--color-accent);
}

.l-header__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.l-header__btn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 28px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.l-header__btn:hover {
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
}

/* 3. キービジュアル (p-home_kv) */
.p-home_kv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

.p-home_kv__inner {
  width: 100%;
  height: 100%;
}

.mv-swiper {
  width: 100%;
  height: 100%;
}

.p-home_kv__img {
  width: 100%;
  height: 100%;
  position: relative;
}

.p-home_kv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55); /* 視認性向上のため少し暗めに */
}

/* KV文字アニメーション */
.p-home_kv__catch {
  position: absolute;
  top: 52%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  pointer-events: none;
}

.p-home_kv__catch br {
  display: block;
  content: "";
  margin-top: 10px;
}

/* 文字出現アニメーション */
.c-animation.-ttl span {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.c-animation.-ttl span span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

body.-loaded .p-home_kv__catch.c-animation.-ttl span span {
  transform: translateY(0);
}

/* 遅延 */
.c-animation.-delay100 { transition-delay: 0.1s !important; }
.c-animation.-delay150 { transition-delay: 0.15s !important; }
.c-animation.-delay200 { transition-delay: 0.2s !important; }
.c-animation.-delay250 { transition-delay: 0.25s !important; }
.c-animation.-delay300 { transition-delay: 0.3s !important; }
.c-animation.-delay350 { transition-delay: 0.35s !important; }
.c-animation.-delay400 { transition-delay: 0.4s !important; }
.c-animation.-delay450 { transition-delay: 0.45s !important; }
.c-animation.-delay500 { transition-delay: 0.5s !important; }
.c-animation.-delay550 { transition-delay: 0.55s !important; }
.c-animation.-delay600 { transition-delay: 0.6s !important; }
.c-animation.-delay650 { transition-delay: 0.65s !important; }
.c-animation.-delay700 { transition-delay: 0.7s !important; }
.c-animation.-delay750 { transition-delay: 0.75s !important; }
.c-animation.-delay800 { transition-delay: 0.8s !important; }
.c-animation.-delay850 { transition-delay: 0.85s !important; }
.c-animation.-delay900 { transition-delay: 0.9s !important; }
.c-animation.-delay950 { transition-delay: 0.95s !important; }
.c-animation.-delay1000 { transition-delay: 1.0s !important; }
.c-animation.-delay1050 { transition-delay: 1.05s !important; }
.c-animation.-delay1100 { transition-delay: 1.1s !important; }
.c-animation.-delay1150 { transition-delay: 1.15s !important; }
.c-animation -delay1200 { transition-delay: 1.2s !important; }
.c-animation.-delay1250 { transition-delay: 1.25s !important; }
.c-animation.-delay1300 { transition-delay: 1.3s !important; }
.c-animation.-delay1350 { transition-delay: 1.35s !important; }
.c-animation.-delay1400 { transition-delay: 1.4s !important; }
.c-animation.-delay1450 { transition-delay: 1.45s !important; }

/* 4. お知らせ (NEWS) */
.p-home_news {
  background-color: var(--color-bg-dark);
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.p-home_news__cnt {
  max-width: 1000px;
  margin: 0 auto;
}

.p-home_news__wrap {
  display: flex;
  align-items: center;
  gap: 30px;
}

.p-home_news__label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-bg-dark);
  background-color: var(--color-accent);
  padding: 4px 15px;
  letter-spacing: 0.1em;
}

.p-home_news__ttl {
  flex: 1;
}

.p-home_news__link {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.p-home_news__link time {
  color: var(--color-text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.p-home_news__link div {
  font-weight: 500;
}

.p-home_news__link:hover {
  color: var(--color-accent);
}

/* 5. コンセプト (CONCEPT) */
.p-home_concept {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background-color: #0b0b0c;
}

.p-home_concept__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.12; /* 背景画像を薄く配置 */
  pointer-events: none;
}

.p-home_concept__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-home_concept__lead {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.1em;
  margin-bottom: 60px;
}

.p-home_concept__content {
  max-width: 800px;
}

.p-home_concept__sublead {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.p-home_concept__desc {
  font-size: 16px;
  color: #d1d1d6;
  line-height: 2;
  letter-spacing: 0.05em;
}

/* 6. 事業内容 (BUSINESS) */
.p-home_business {
  padding: 140px 0;
  background-color: var(--color-bg-dark);
}

.p-home_business__intro {
  margin-bottom: 80px;
  max-width: 800px;
}

.p-home_business__lead {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.p-home_business__desc {
  font-size: 16px;
  color: #a1a1a6;
  line-height: 1.8;
}

.p-home_business__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.p-home_business__card {
  background-color: #1a1a1d;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.p-home_business__card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.p-home_business__img-wrapper {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.p-home_business__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-home_business__card:hover .p-home_business__img-wrapper img {
  transform: scale(1.08);
}

.p-home_business__card-content {
  padding: 35px;
}

.p-home_business__card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.p-home_business__card-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.p-home_business__card-txt {
  font-size: 14px;
  color: #d1d1d6;
  margin-top: 15px;
  line-height: 1.9;
}

/* 7. 強み (STRENGTHS) */
.p-home_strengths {
  padding: 140px 0;
  background-color: #0b0b0c;
}

.p-home_strengths__list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.p-home_strengths__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 50px;
}

.p-home_strengths__item:last-child {
  border-bottom: none;
}

.p-home_strengths__head {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 25px;
}

.p-home_strengths__num {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.p-home_strengths__ttl {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.p-home_strengths__txt {
  font-size: 15px;
  color: #d1d1d6;
  padding-left: 65px; /* 数字と揃えるため余白 */
  line-height: 2;
}

.p-home_strengths__recruit-tag {
  display: inline-block;
  background-color: rgba(214, 175, 55, 0.15);
  color: var(--color-accent);
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  border-radius: 2px;
}

/* 8. よくあるご質問 (FAQ) */
.p-home_faq {
  padding: 140px 0;
  background-color: var(--color-bg-dark);
}

.p-home_faq__wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-home_faq__item {
  background-color: #1a1a1d;
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.p-home_faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  background-color: transparent;
  border: none;
  color: var(--color-text-light);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.p-home_faq__q:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.p-home_faq__icon {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
}

.p-home_faq__q-txt {
  flex: 1;
  padding-right: 30px;
  line-height: 1.5;
}

.p-home_faq__chevron {
  width: 12px;
  height: 12px;
  position: relative;
  transition: transform 0.4s ease;
}

.p-home_faq__chevron::before,
.p-home_faq__chevron::after {
  content: '';
  position: absolute;
  background-color: var(--color-text-light);
  transition: background-color 0.3s;
}

/* 横線 */
.p-home_faq__chevron::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}

/* 縦線 */
.p-home_faq__chevron::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}

.p-home_faq__item.-open .p-home_faq__chevron {
  transform: rotate(45deg);
}

.p-home_faq__item.-open .p-home_faq__chevron::before,
.p-home_faq__item.-open .p-home_faq__chevron::after {
  background-color: var(--color-accent);
}

.p-home_faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-home_faq__a-inner {
  padding: 0 30px 30px 30px;
  display: flex;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
}

.p-home_faq__icon.-a {
  color: #ff3b30; /* 赤色系 */
}

.p-home_faq__a-txt {
  font-size: 15px;
  color: #d1d1d6;
  line-height: 1.9;
}

/* 9. 会社概要 (COMPANY) */
.p-home_company {
  padding: 140px 0;
  background-color: #0b0b0c;
}

.p-home_company__wrap {
  max-width: 900px;
  margin: 0 auto;
}

.p-home_company__table {
  width: 100%;
  border-collapse: collapse;
}

.p-home_company__table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.p-home_company__table th,
.p-home_company__table td {
  padding: 25px 20px;
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}

.p-home_company__table th {
  width: 25%;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.p-home_company__table td {
  color: #e5e5ea;
  line-height: 1.8;
}

.p-home_company__map {
  margin-top: 50px;
  width: 100%;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  /* ダークテーマに調和するスタイリッシュなモノトーン/反転フィルター */
  filter: grayscale(1) invert(0.9) contrast(1.2);
  transition: var(--transition-smooth);
}

.p-home_company__map:hover {
  border-color: rgba(214, 175, 55, 0.3);
  filter: grayscale(0.5) invert(0.9) contrast(1.1); /* ホバー時に少し元の色味を出す */
}

/* 10. お問い合わせ (CONTACT) */
.p-home_contact {
  padding: 140px 0;
  background-color: var(--color-bg-dark);
  text-align: center;
  position: relative;
}

.p-home_contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(214, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.p-home_contact__lead {
  font-size: 18px;
  color: #d1d1d6;
  margin-bottom: 50px;
  line-height: 1.8;
}

/* 11. フッター */
.l-footer {
  background-color: #060607;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.l-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.l-footer__logo {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.l-footer__logo span {
  color: var(--color-accent);
}

.l-footer__menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.l-footer__menu a {
  font-size: 12px;
  color: #8e8e93;
  letter-spacing: 0.1em;
}

.l-footer__menu a:hover {
  color: var(--color-accent);
}

.l-footer__bottom {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 30px;
}

.l-footer__copy {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  color: #636366;
  letter-spacing: 0.05em;
}

/* 12. スクロールアニメーション (js-anime) */
.js-anime {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-anime.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ対応 (SP向け調整) */
@media (max-width: 960px) {
  .l-header {
    padding: 20px 30px;
  }
  .l-header.-scrolled {
    padding: 10px 30px;
  }
  /* ハンバーガーボタンを表示 */
  .l-header__burger {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
  }
  
  .l-header__burger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-light);
    left: 0;
    transition: var(--transition-fast);
  }
  
  .l-header__burger span:nth-child(1) { top: 0; }
  .l-header__burger span:nth-child(2) { top: 11px; }
  .l-header__burger span:nth-child(3) { top: 22px; }
  
  /* アクティブ時のバツ印アニメーション */
  .l-header__burger.is-open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    background-color: var(--color-accent);
  }
  .l-header__burger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .l-header__burger.is-open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background-color: var(--color-accent);
  }
  
  /* SP用のドロワーナビゲーション */
  .l-header__navi {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%; /* 初期表示は画面右外 */
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: rgba(18, 18, 20, 0.98);
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 30px 40px;
    transition: transform 0.4s ease, right 0.4s ease;
    z-index: 100;
    gap: 40px;
    align-items: flex-start;
    overflow-y: auto;
  }
  
  .l-header__navi.is-open {
    right: 0;
  }
  
  .l-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }
  
  .l-header__link {
    font-size: 15px;
    display: block;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .l-header__btn {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    margin-top: 10px;
  }
  
  .p-home_kv__catch {
    font-size: 28px;
    left: 5%;
  }
  
  .p-home_concept__lead {
    font-size: 22px;
  }
  
  .p-home_business__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .p-home_strengths__ttl {
    font-size: 18px;
  }
  
  .p-home_strengths__txt {
    padding-left: 0;
    margin-top: 15px;
  }
  
  .p-home_company__table th {
    width: 35%;
  }
  
  .l-footer__top {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  
  .l-footer__menu {
    flex-wrap: wrap;
    gap: 15px 25px;
  }
}

/* ==========================================
   13. ニュース詳細ページ (news-detail.html)
   ========================================== */
.p-news-detail-body {
  background-color: var(--color-bg-dark);
}

.p-news-detail {
  padding: 160px 0 100px;
}

.p-news-detail__article {
  max-width: 800px;
  margin: 0 auto;
  background-color: #1a1a1d;
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.p-news-detail__header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.p-news-detail__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.p-news-detail__label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-bg-dark);
  background-color: var(--color-accent);
  padding: 2px 10px;
  letter-spacing: 0.1em;
}

.p-news-detail__date {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--color-text-muted);
}

.p-news-detail__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-light);
}

.p-news-detail__body-content {
  font-size: 15px;
  color: #e5e5ea;
  line-height: 2.1;
}

.p-news-detail__body-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 45px 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(214, 175, 55, 0.2);
}

.p-news-detail__body-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.p-news-detail__body-content li {
  margin-bottom: 10px;
}

.p-news-detail__body-content strong {
  color: var(--color-text-light);
}

.p-news-detail__footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* SP調整 */
@media (max-width: 768px) {
  .p-news-detail__article {
    padding: 30px 20px;
  }
  .p-news-detail__title {
    font-size: 20px;
  }
}

/* ==========================================
   14. 施工実績ギャラリーページ (works.html)
   ========================================== */
.p-works-body {
  background-color: var(--color-bg-dark);
}

.p-works-page {
  padding: 160px 0 100px;
}

.p-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.p-works__card {
  background-color: #1a1a1d;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.p-works__card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 175, 55, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.p-works__img-container {
  width: 100%;
  height: 180px; /* 画像を小さくコンパクトにするため高さを抑える */
  overflow: hidden;
}

.p-works__img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-works__card:hover .p-works__img-container img {
  transform: scale(1.06);
}

.p-works__info {
  padding: 20px;
}

.p-works__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.p-works__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.p-works__tag.-public {
  background-color: rgba(214, 175, 55, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(214, 175, 55, 0.3);
}

.p-works__tag.-private {
  background-color: rgba(255, 255, 255, 0.05);
  color: #c7c7cc;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.p-works__date {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: var(--color-text-muted);
}

.p-works__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

.p-works__details {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.6;
}

.p-works__details tr {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.p-works__details th,
.p-works__details td {
  padding: 8px 0;
  text-align: left;
  vertical-align: top;
}

.p-works__details th {
  width: 25%;
  font-weight: 700;
  color: var(--color-accent);
}

.p-works__details td {
  color: #a1a1a6;
}

.p-works__back-btn {
  margin-top: 60px;
  text-align: center;
}

/* 施工実績セクション (TOPページ埋め込み用) */
.p-home_works {
  padding: 140px 0;
  background-color: #0b0b0c;
  text-align: center;
}

.p-home_works__desc {
  font-size: 16px;
  color: #a1a1a6;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* SP調整 */
@media (max-width: 960px) {
  .p-works__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .p-works__grid {
    grid-template-columns: 1fr;
  }
  .p-works__img-container {
    height: 220px; /* SPでは少し高さを出して見やすく */
  }
}
