@charset "utf-8";
/* ==========================
   Base Font
========================== */
body {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

/* ==========================
   English Font
========================== */
.en {
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
}

/* =========================
   Header
========================= */
.site-header {
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  z-index: 100;
}

.home .site-header,
.front-page .site-header {
  position: absolute;
  background: transparent;
}

/*
body:not(.home):not(.front-page) .site-header {
  position: relative;
  background: #fff;
}
*/

/* ロゴ */
.site-logo img {
  height: 33px; /* Figma基準で */
  width: auto;
}

/* ナビ */
.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.global-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
}

.global-nav__list a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

/* hoverは薄くするだけでOK */
.global-nav__list a:hover {
  opacity: 0.7;
}

/* トップページ用 */
.global-nav.global-nav--top {
  background: transparent;
}
.global-nav.global-nav--top a {
  color: #fff;
}

/* 下層ページ用 */
.global-nav.global-nav--sub a {
  color: #0a0a0a;
}

/* お問い合わせ */
.header-contact {
  margin-left: 24px;
  display: flex;
  align-items: center;
}

.header-contact__btn {
  display: inline-block;
  padding: 10px 40px;
  background-color: #1f9244;
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none !important;
  border-radius: 9999px;
  transition: all 0.3s ease; /* transitionを共通の0.3sに */
}

.header-contact__btn:hover {
  background-color: #167a37; /* ホバー時に少し濃く */
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(31, 146, 68, 0.3);
}

/* =========================
   KV
========================= */
.top-kv {
  position: relative;
  width: 100%;
  height: 900px; /* 1440x900基準 */
  overflow: hidden;
}

/* =========================
   KV オーバーレイ
========================= */
.top-kv::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25); /* ← 暗さはここ */
  z-index: 1;
}

/* スライダー */
.kv-slider {
  position: absolute;
  inset: 0;
}

.kv-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.kv-slide.is-active {
  opacity: 1;
}

/* コピー */
.kv-copy {
  position: relative;
  z-index: 2;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  /* 右寄せポイント */
  max-width: 642px; /* テキストの横幅制御 */
  margin-left: auto; /* 右寄せ */
  margin-right: 35px; /* 右からの余白（Figma基準で調整） */

  text-align: left;
  color: #fff;
}

.kv-copy__eyecatch {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.kv-copy__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 32px;
}

.kv-copy__company {
  font-size: 20px;
  font-weight: 400;
}

/* =========================
   KV 下 英字コピー
========================= */
/* 親要素：ここで文字を「切る」 */
.kv-catch {
    position: relative;
    width: 100%;
    overflow: hidden; /* これで枠外の文字を隠す */
    margin-top: 20px;
}

.kv-catch__text {
    font-family: "Pathway Gothic One", sans-serif;
    font-size: 150px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.12px;
    color: #f5f5f5;
    white-space: nowrap;
    margin-left: 148px;
    display: inline-block;

    /* 初期状態：透明にして、少し右に配置 */
    opacity: 0;
}

/* 表示エリアに入った時の動き */
.is-visible .kv-catch__text {
    /* スピードを2.0sでゆったり */
    animation: slideInRight 2.0s ease-out forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        /* 最初はもっと右側に置いて、overflow:hiddenで隠しておく */
        transform: translateX(200px); 
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================
   施工実績カテゴリ KV（taxonomy 等で使用）
========================= */
.works-kv {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.works-kv::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.works-kv__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.works-kv__copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 642px;
  margin-left: auto;
  margin-right: 35px;
  text-align: left;
  color: #fff;
}

.works-kv__eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  opacity: 0.9;
}

.works-kv__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
  .works-kv {
    height: 280px;
  }

  .works-kv__copy {
    margin-right: 20px;
  }

  .works-kv__title {
    font-size: 28px;
  }
}

/* =========================
   Layout
========================= */
.l-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================
   NEWS
========================= */
.top-news {
  margin-top: 0px;
}

.top-news__inner {
}

.top-news__main {
  display: flex;
}

.top-news__heading {
  width: 468px;
  padding: 120px 120px 50px 80px;
}

.top-news__jp {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 10px;
  color: #0a0a0a;
  margin-bottom: 30px;
}

.top-news__en {
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 128px;
  font-weight: 400;
  line-height: 100px;
  letter-spacing: -0.31px;
  color: #1f9244;
}

.top-news__list {
  width: 932px;
  padding-top: 120px;
}

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

.news-item {
  display: grid;
  grid-template-columns: 120px 40px 108px 1fr;
  align-items: center;
  column-gap: 20px;

  padding: 20px 0;
  border-top: 1px solid #c8c8c8;
}

.news-date {
  font-size: 16px;
  color: #939393;
  white-space: nowrap;
}

.news-new-cell {
  min-width: 40px;
  display: flex;
  align-items: center;
}

.news-new {
  font-size: 12px;
  font-weight: 700;
  color: #c00;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6d6d6d;
  background: #e6e6e6;
  padding: 10px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.news-title {
  padding-left: 8px;
  font-size: 16px;
  color: #000;
  text-decoration: none;
}

.news-title:hover {
  color: #1f9244;
}

.news-item:last-child {
  border-bottom: 1px solid #c8c8c8;
}

.news-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 44px;
  padding: 10px 40px;
  border-radius: 30px;

  background: #1f9244;
  color: #fff !important;
  font-size: 16px;
  text-decoration: none !important;
  white-space: nowrap;

  transition: all 0.3s ease;
}

.about-btn:hover {
  background: #167a37;
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(31, 146, 68, 0.3);
}

.about-btn .arrow {
  font-size: 18px;
  line-height: 1;
}

/* =========================
   about
========================= */
.top-about {
  max-width: 1400px;
  height: 563px;
  margin: 0 auto;
  margin-top: 120px;
  border-radius: 6px;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url("../img/top/TOP_1About.png") center / cover no-repeat;
}

.top-about__jp {
  font-size: 24px;
  letter-spacing: 10px;
  color: #fff;
}

.top-about__en {
  font-size: 128px;
  line-height: 120px;
  letter-spacing: -0.31px;
  color: #fff;
}

.top-about {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-about__inner {
  max-width: 1200px;
  padding: 120px 120px 150px;
  text-align: center;
  color: #fff;
}

.top-about__text {
  font-size: 16px;
  line-height: 24px;
  margin: 30px 0 40px;
}

/* =========================
   business
========================= */
.top-business {
  max-width: 1400px;
  height: 563px;
  margin: 10px auto 0;
  border-radius: 6px;

  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/top/TOP_2Business.png") center / cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
}

.top-business__inner {
  max-width: 1200px;
  padding: 120px 120px 50px;
  text-align: center;
  color: #fff;
}

.top-business__jp {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 10px;
  margin-bottom: 30px;
}

.top-business__en {
  font-size: 128px;
  line-height: 100px;
  letter-spacing: -0.31px;
  margin-bottom: 30px;
}

.top-business__text {
  max-width: 1000px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 24px;
}

/* =========================
   works
========================= */
.top-works {
  position: relative;
  padding: 0;
}

.top-works::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 1200px;
  background: url("../img/top/TOP_3Works_bg.png") center / cover no-repeat;
  z-index: -1;
}

.top-works__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  top: 100px;
  padding-bottom: 100px;
}

.top-works__heading {
  max-width: 600px;
  margin-bottom: 40px;
}

.top-works__jp {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 10px;
  color: #0a0a0a;
  margin-bottom: 20px;
}

.top-works__en {
  font-size: 128px;
  line-height: 100px;
  letter-spacing: -0.31px;
  color: #1f9244;
  margin-bottom: 40px;
}

.top-works__text {
  font-size: 16px;
  line-height: 24px;
  color: #0a0a0a;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.works-card {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.works-card img {
  width: 100%;
  height: auto;
  display: block;
}

.works-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 10, 0.8) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
}

.works-text {
  position: absolute;
  left: 40px;
  bottom: 32px;
  color: #fff;
  z-index: 2;
  text-align: left;
}

.works-jp {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 10px;
  margin-bottom: 24px;
}

.works-en {
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.31px;
}

.works-item:nth-child(4) .works-jp {
  letter-spacing: -0.31px;
}

.works-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* =========================
   recruit
========================= */
.top-recruit {
  max-width: 1400px;
  width: auto;  
  height: 563px;
  margin: 120px auto 0;
  border-radius: 6px;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url("/wp-content/uploads/2026/02/TOP_4Recruit.png") center / cover no-repeat;
}

.top-recruit__inner {
  width: 606px;
  padding: 80px 120px 50px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.top-recruit__jp {
  font-size: 24px;
  letter-spacing: 10px;
  margin-bottom: 30px;
}

.top-recruit__en {
  font-size: 128px;
  line-height: 100px;
  margin-bottom: 130px;
}

.top-recruit__text {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

/* =========================
   csr
========================= */
.top-csr {
  max-width: 1400px;
  width: auto;  
  height: 563px;
  margin: 10px auto 0;
  border-radius: 6px;

  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url("../img/top/TOP_5CSR.png") center / cover no-repeat;
}

.top-csr__inner {
  width: 606px;
  padding: 120px 120px 50px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.top-csr__jp {
  font-size: 24px;
  letter-spacing: 10px;
  margin-bottom: 30px;
}

.top-csr__en {
  font-size: 128px;
  line-height: 100px;
  margin-bottom: 30px;
}

.top-csr__text {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 40px;
}

/* =========================
   for PARTNERS
========================= */
.top-partner {
  padding: 10px;
  overflow: hidden;
}

.top-partner__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.top-partner__content {
  width: 850px;
  padding: 120px 0px 50px 120px;
  text-align: center;
}

.top-partner__image img {
  width: 858px;
  height: auto;
  border-radius: 6px;
  display: block;
  position: relative;
  left: -120px;
}

.top-partner__jp {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 10px;
  color: #0a0a0a;
  margin-bottom: 20px;
}

.top-partner__en {
  font-size: 128px;
  line-height: 100px;
  letter-spacing: -0.31px;
  color: #1f9244;
  margin-bottom: 30px;
  white-space: nowrap;
}

.top-partner__text {
  font-size: 16px;
  line-height: 24px;
  color: #0a0a0a;
}

.partner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 10px 40px;
  border-radius: 30px;
  background: #1f9244;
  color: #fff !important;
  font-size: 16px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.3s ease;
  margin-top: 30px;
  font-size: 14px;
}

.partner-btn:hover {
  background: #167a37;
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(31, 146, 68, 0.3);
}

.icon-doc {
  width: 16px;
  height: 20px;
  position: relative;
  display: inline-block;
  background: #fff;
  border: 2px solid #1F9244;
  border-radius: 3px;
  vertical-align: middle;
}

/* 矢印の棒 */
.icon-doc::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  width: 1.5px;
  height: 7px;
  background: #1F9244;
  border-radius: 1px;
}

/* 矢印の先っちょ */
.icon-doc::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #1F9244;
  border-bottom: 1.5px solid #1F9244;
  border-radius: 1px;
}

/* =========================
   Contact
========================= */
.footer-contact {
  background: #1f9244;
  padding: 60px 20px;
}

.footer-contact__inner {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.footer-contact__jp {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 10px;
  margin-bottom: 10px;
}

.footer-contact__en {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.31px;
  margin-bottom: 20px;
}

.footer-contact__text {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 20px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* 矢印との間隔を少し調整 */

  width: 280px;
  height: 44px;

  background: #ff4646;
  border-radius: 30px;

  font-size: 16px;
  font-weight: 500;
  color: #fff !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #e63e3e; /* 少し濃い赤にして変化を強調 */
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 70, 70, 0.3);
}

/* =========================
   Footer Sitemap
========================== */
.footer-sitemap {
  background: #fff;
  padding: 100px 80px 0px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #0a0a0a;
}

.footer-sitemap__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-sitemap__logo {
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-sitemap__logo img {
  display: block;
  width: 328px;
  height: 42px;
  margin-bottom: 60px;
}

.footer-company {
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
}

.footer-company__name {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 15px;
  line-height: 32px;
  letter-spacing: 0.07px;
}

.footer-sitemap__links {
  display: flex;
  flex: 3 1 900px;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-sitemap__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 150px;
}

.footer-sitemap__col a {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-bottom: 1px solid #c8c8c8;
  padding-bottom: 4px;
  margin-bottom: 12px;
  color: #0a0a0a;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: -0.31px;
}

.footer-sitemap__col a .en {
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 10px;
  letter-spacing: -0.31px;
  margin-bottom: 8px;
}

.footer-sitemap__col a .arrow {
  position: absolute;
  right: 0;
  top: 65%;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
}

.footer-sitemap__col a span.fa-solid {
  margin-left: auto;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  line-height: 20px;
  letter-spacing: -0.15px;
}

.footer-copy {
  border-top: 1px solid #c8c8c8;
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  line-height: 24px;
  margin-top: 40px;
}

/* ======= Responsive ======= */
@media screen and (max-width: 1024px) {
  .footer-sitemap__inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-sitemap__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-sitemap__col {
    min-width: 45%;
  }
}

@media screen and (max-width: 640px) {
  .footer-sitemap__links {
    flex-direction: column;
    gap: 56px;
  }

  .footer-sitemap__col {
    min-width: 100%;
  }
}

/* ==========================
   Page (固定ページ)
========================== */
.page-main {
  padding: 0px 0 60px;
}

/* ==========================
   Single Post (投稿ページ)
========================== */
.single-main {
  padding: 40px 0 80px;
}

.single-main__inner {
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb--single {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}

.single-header {
  margin-bottom: 32px;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #666;
}

.single-date {
  font-weight: 500;
  font-size: 16px;
  color: #939393;
}

.single-category {
  display: inline-block;
  padding: 4px 12px;
  background: #333;
  color: #fff;
  font-size: 12px;
  border-radius: 2px;
}

.single-title {
  font-size: 36px !important;
  font-weight: bold !important;
  line-height: 80px !important;
  color: #1f9244 !important;
  margin: 0;
  letter-spacing: 2px !important;
}

.single-content {
  line-height: 1.8;
  margin: 70px auto 140px;
  width: 1000px;
}

.single-content p {
  margin-bottom: 1em;
}

.single-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 2em 0 0.5em;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  color: #0a0a0a;
}

.single-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
  color: #0a0a0a;
}

.single-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 1.25em 0 0.5em;
  color: #0a0a0a;
}

.single-tags {
  margin-top: 24px;
  font-size: 14px;
  color: #666;
}

.single-tags-label {
  font-weight: 500;
  margin-right: 8px;
}

.single-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  font-size: 14px;
}

.single-nav__archive {
  flex: 0 0 100%;
  text-align: center;
}

.single-kv__cat {
  font-size: 14px;
  padding: 3px 22px;
  border-radius: 25px;
  color: #6d6d6d;
  margin-left: 8px;
}

/* カテゴリ別背景色（update / event / news） */
.single-kv__cat--update {
  background-color: #cee3f5;
  color: #0a0a0a;
}

.single-kv__cat--event {
  background-color: #ffe9c1;
  color: #0a0a0a;
}

.single-kv__cat--info {
  background-color: #d1e8d8;
  color: #0a0a0a;
}

/* 一覧（home.php）内のカテゴリタグも同色 */
.news-list .single-kv__cat--update {
  background-color: #cee3f5;
  color: #0a0a0a;
}

.news-list .single-kv__cat--event {
  background-color: #ffe9c1;
  color: #0a0a0a;
}

.news-list .single-kv__cat--info {
  background-color: #d1e8d8;
  color: #0a0a0a;
}

@media screen and (min-width: 641px) {
  .single-nav__archive {
    flex: 0 0 auto;
    order: 0;
  }
}

.single-nav__prev a,
.single-nav__next a,
.single-nav__archive a {
  color: #333;
  text-decoration: none;
}

.single-nav__prev a:hover,
.single-nav__next a:hover,
.single-nav__archive a:hover {
  color: #1f9244;
  text-decoration: underline;
}

/* ==========================
   施工実績一覧（archive）
========================= */

/* 一覧 KV */
.works-archive-kv {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.works-archive-kv::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.works-archive-kv__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.works-archive-kv__copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.works-archive-kv__eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 0px;
}

.works-archive-kv__title {
  font-size: 64px;
  line-height: 100px;
}

/* 絞り込みバー（緑） */
.works-archive-filter {
  background: #1f9244;
  padding: 20px 0 24px;
}

.works-archive-filter__inner {
  padding: 0 40px;
}

.works-archive-filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
}

.works-archive-filter__item {
  margin: 0;
}

.works-archive-filter__link {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.works-archive-filter__link:hover {
  background: rgba(255, 255, 255, 0.15);
}

.works-archive-filter__link.is-active {
  background: rgba(255, 255, 255, 0.25);
}

.works-archive-filter__label {
  margin: 12px 0 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
}

/* page-anchor（絞り込みボタン・現在該当をホバー状態に） */
.page-anchor {
  background: #1f9244;
}

.page-anchor__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.page-anchor__item {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  word-break: keep-all
}

.page-anchor__item:hover {
  background: #fff;
  color: #0a0a0a;
}

/* 現在該当カテゴリ＝ホバー状態で表示 */
.page-anchor__item.is-active {
  background: #fff;
  color: #0a0a0a;
}

.page-anchor__item.is-active:hover {
  background: #fff;
  color: #0a0a0a;
}

/* 新着情報一覧：年別絞り込み（緑帯の下に設置） */
.news-year-filter {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.news-year-filter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.news-year-filter__item {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.news-year-filter__item:hover {
  background: #eee;
  border-color: #999;
  color: #000;
}

.news-year-filter__item.is-active {
  background: #1f9244;
  border-color: #1f9244;
  color: #fff;
}

.news-year-filter__item.is-active:hover {
  background: #188038;
  border-color: #188038;
  color: #fff;
}

/* 一覧メイン */
.works-archive {
  padding: 60px 0 80px;
}

.works-archive__inner {
  padding: 0 40px;
}

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

.works-archive-card {
  margin: 0;
}

.works-archive-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.works-archive-card__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
}

.works-archive-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-archive-card__thumb--noimg {
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.works-archive-card__cat {
  display: inline-block;
  padding: 6px 14px;
  margin: 10px 0 0;
  background: #fff;
  color: #666;
  font-size: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-align: center;
}

.works-archive-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: #0a0a0a;
}

.works-archive-card__link:hover .works-archive-card__title {
  text-decoration: underline;
}

.works-archive-more {
  text-align: center;
  margin-top: 48px;
}

.works-archive-more a {
  display: inline-block;
  padding: 14px 48px;
  background: #1f9244;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, opacity 0.2s;
}

.works-archive-more a:hover {
  background: #197538;
  color: #fff;
}

.works-archive-pagination {
  margin-top: 32px;
  text-align: center;
}

.works-archive__empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

@media screen and (max-width: 1024px) {
  .works-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .works-archive-kv {
    height: 280px;
  }

  .works-archive-filter__list {
    flex-direction: column;
    align-items: center;
  }

  .works-archive__inner {
    padding: 0 20px;
  }

  .works-archive-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================
   プライバシーポリシー
========================= */

/* プライバシーKV（背景＋中央テキスト） */
.page-kv--privacy {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.page-kv--privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-kv--privacy .page-kv__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-kv--privacy .page-kv__copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.page-kv--privacy .page-kv__copy--center {
  margin-left: auto;
  margin-right: auto;
}

.page-kv--privacy .page-kv__eyebrow {
  font-size: 16px;
}

.page-kv--privacy .page-kv__title {
  font-size: 56px;
}

/* パンくず */
.breadcrumb {
  padding: 16px 0 24px;
}

.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.breadcrumb__item:not(:last-child)::after {
  content: " > ";
  margin: 0 8px;
  color: #999;
}

.breadcrumb__item a {
  color: #666;
  text-decoration: none;
}

.breadcrumb__item a:hover {
  color: #1f9244;
}

.breadcrumb__item[aria-current="page"] {
  color: #0a0a0a;
  font-weight: 500;
}

/* プライバシー本文 */
.page-main--privacy {
  padding-bottom: 80px;
}

.privacy-section {
  margin-top: 0;
}

.privacy-section__inner {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-heading {
  font-size: 24px !important;
  font-weight: normal;
  color: #0a0a0a;
  margin: 110px 0 50px !important;
  line-height: 1.4;
  border-bottom: none !important;
  text-align: center;
}

.privacy-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 48px;
}

.privacy-list {
  display: flex;
  flex-direction: column;
}

.privacy-item__title {
  font-size: 20px !important;
  font-weight: normal;
  color: #0a0a0a;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1f9244;
  line-height: 1.4;
}

.privacy-item__body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.privacy-item__body p {
  margin: 0 0 0.5em;
}

.privacy-item__body p:last-child {
  margin-bottom: 0;
}

.privacy-extra {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

/* ==========================
   スクロールふわっと表示
========================= */
.scroll-reveal {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* アニメーション無効化を希望するユーザー向け（ prefers-reduced-motion ） */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ==========================
   ハンバーガー
========================= */
.nav-toggle {
  display: none;
  margin-left: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 200;
}

.global-nav--top + .nav-toggle {
  color: #fff;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

@media (max-width: 1200px) {
	
  .global-nav__list {
    gap: 16px;
  }
  .global-nav__list a {
    font-size: 12px;
  }
}

@media (max-width: 1000px) {

  /* PCの横並びは消す */
  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    padding: 80px 24px 24px;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 150;
    margin-left: 0;
	display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .global-nav__list {
    flex-direction: column;
    gap: 18px;
	margin-bottom: 24px;
    margin-left: 40px;
  }

  .global-nav__list a {
    color: #0a0a0a;
    font-size: 18px;
  }

  .global-nav__contact {
    margin-top: 16px;
  }

  .global-nav__contact .header-contact__btn {
    width: 100%;
    text-align: center;
  }
	
  /* ハンバーガー表示 */
  .nav-toggle {
    display: inline-block;
	margin-left: auto;
  }

  /* 開いた状態 */
  body.nav-open .global-nav {
    transform: translateX(0);
  }

  /* ハンバーガーを×に */
  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100;
  }
	
  .site-header {
    height: 54px;
  }
  .site-logo img {
    height: 24px;
    width: auto;
  }
	
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1000px) {

  /* トップページでもハンバーガーメニューは白背景にする */
  body.nav-open .global-nav.global-nav--top {
    background: #fff;
  }

  /* トップページでもメニュー文字を黒にする */
  body.nav-open .global-nav.global-nav--top .global-nav__list a {
    color: #0a0a0a;
  }
	
  body.nav-open .nav-toggle {
    color: #0a0a0a;
  }
	
}

.works-archive-kv__title.en {
  font-size: 80px;
  line-height: 100px;
}


