﻿/*
Theme Name: Kawasaki
Theme URI: https://example.com/
Author: Kawasaki Kogyo
Description: 有限会社カワサキ工業 コーポレートサイトテーマ
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: kawasaki
*/
/* style.css — サイト固有スタイル（reset / base は css/） */

/* ------------------
共通：ヘッダー
------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
}

.site-logo {
  position: relative;
  top: 20px;
  left: 15px;
}

.site-logo small {
  position: absolute;
  top: -1.00rem;
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #777;
  white-space: nowrap;
}

.site-logo a {
  display: block;
  transition: opacity 0.25s var(--ease-out);
}

.site-logo a:hover {
  opacity: 0.85;
}

.site-logo img {
  width: 260px;
  height: auto;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.gnav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem 2rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem) 0.5rem;
}

.gnav a {
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #444;
}

.gnav a:hover {
  color: #2d6a4f;
}

.gnav a[aria-current="page"] {
  color: #1b4332;
  border-bottom: 2px solid #2d6a4f;
}

.gnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1.25rem;
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

.gnav ul {
  padding-right: 0;
}

.gnav a.gnav-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  line-height: 0;
  color: #1b4332;
  border: 1.5px solid rgba(27, 67, 50, 0.35);
  border-radius: 50%;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.gnav a.gnav-instagram:hover {
  color: #2d6a4f;
  border-color: #2d6a4f;
  background: rgba(45, 106, 79, 0.08);
}

.gnav-instagram__label {
  display: none;
}

.gnav a.gnav-instagram svg {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.btn-instagram {
  gap: 0.5rem;
  color: #fff;
  background: #2d6a4f;
  border: 2px solid #2d6a4f;
}

.btn-instagram:hover {
  color: #fff;
  background: #1b4332;
  border-color: #1b4332;
}

.btn-instagram svg {
  flex-shrink: 0;
}

.works--home .more--dual {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1rem;
}

.works--home .more--dual .btn {
  min-width: min(100%, 17rem);
}

.page-works__instagram {
  margin: 0 0 1.75rem;
  text-align: center;
}

.tel a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1b4332;
  white-space: nowrap;
}

.tel a::before {
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.3 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.4 0 .7-.3 1l-2.2 2.1z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.3 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.4 0 .7-.3 1l-2.2 2.1z'/></svg>") center / contain no-repeat;
}

.tel .tel-num {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.header-cta .tel a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon num"
    ". hours";
  column-gap: 0.4rem;
  row-gap: 0.1rem;
  align-items: center;
}

.header-cta .tel a::before {
  grid-area: icon;
}

.header-cta .tel .tel-num {
  grid-area: num;
  line-height: 1.1;
}

.header-cta .tel small {
  grid-area: hours;
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: #333;
  background: #fff;
  border: 1px solid #d0d0cc;
  border-radius: 2px;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn:hover {
  color: #222;
  background: #f5f5f2;
  border-color: #bfbfba;
}

.btn:active {
  transform: scale(0.98);
}

.btn > svg:first-child {
  flex-shrink: 0;
  width: 1.5em;
  height: 1.5em;
  margin-inline-end: 0.45em;
}

.btn-accent {
  background: #2d6a4f;
  color: #fff;
  border: 1px solid transparent;
}

.btn-accent:hover {
  background: #1b4332;
  color: #fff;
  border-color: transparent;
}

.btn-outline {
  background: transparent;
  color: #1b4332;
  border: 2px solid #2d6a4f;
}

.btn-outline:hover {
  background: rgba(45, 106, 79, 0.1);
  color: #1b4332;
  border-color: #1b4332;
}

.flow .section-head {
  margin-bottom: 0.5rem;
}

.nav-toggle {
  position: relative;
  z-index: 120;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 0;
  color: transparent;
  background: transparent;
  border: 0;
}

.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
  content: "";
  display: block;
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: #1b4332;
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.nav-toggle::before {
  top: calc(50% - 9px);
}

.nav-toggle span {
  top: calc(50% - 1px);
}

.nav-toggle::after {
  bottom: calc(50% - 9px);
}

.nav-toggle[aria-expanded="true"]::before {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::after {
  bottom: calc(50% - 1px);
  transform: rotate(-45deg);
}

/* ------------------
共通：フッター CTA・フッター本体
------------------ */
.contact-cta {
  background: linear-gradient(90deg, #4f9444 0%, #3f8638 50%, #4f9444 100%);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-cta .inner {
  padding-block: 2rem;
}

.contact-cta h2 {
  margin: 0 0 1.35rem;
  text-align: center;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--color-white);
}

.contact-cta ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.contact-cta li {
  min-width: 0;
  display: flex;
}

.contact-cta li a {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  grid-template-areas:
    "icon label"
    "icon main"
    "icon note";
  column-gap: 1rem;
  row-gap: 0.1rem;
  align-items: center;
  width: 100%;
  min-height: 100%;
  padding: 1.15rem 1.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: background 0.25s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.contact-cta li a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.contact-cta li a > span {
  grid-area: icon;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.contact-cta li a > span::before {
  content: "";
  width: 2rem;
  height: 2rem;
  background: #3f8638;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.contact-cta li:first-child a > span::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.3 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.4 0 .7-.3 1l-2.2 2.1z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.3 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.4 0 .7-.3 1l-2.2 2.1z'/></svg>");
}

.contact-cta li:last-child a > span::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 2v.01L12 12l8-4.99V7H4Zm16 10V9.3l-7.47 4.67a1 1 0 0 1-1.06 0L4 9.3V17h16Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 2v.01L12 12l8-4.99V7H4Zm16 10V9.3l-7.47 4.67a1 1 0 0 1-1.06 0L4 9.3V17h16Z'/></svg>");
}

.contact-cta li p {
  margin: 0;
}

.contact-cta li p:first-of-type {
  grid-area: label;
  margin-bottom: 0.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
}

.contact-cta li p:nth-of-type(2) {
  grid-area: main;
  margin-bottom: 0.15rem;
  font-size: clamp(1.25rem, 2.1vw, 1.95rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-white);
}

.contact-cta li p:last-of-type {
  grid-area: note;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.contact-cta li:last-child p:nth-of-type(2) {
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
}

.site-footer {
  background: #fff;
  color: #444;
  padding-block: 2.5rem 0;
  border-top: 1px solid #e5e5e0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-bottom: 2rem;
}

.footer-brand h2 {
  margin-bottom: 0.75rem;
  color: #1b4332;
}

.footer-brand h2 img {
  display: block;
  width: min(100%, 320px);
  height: auto;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #555;
}

.footer-brand p a {
  color: #0f2f24;
  font-weight: 700;
  margin-top: 0.5rem;
  display: inline-block;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.footer-nav a {
  color: #555;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: #2d6a4f;
}

.footer-copy {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-bottom: 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-white);
  padding: 0.75rem 1rem;
  background: #2d6a4f;
  border-top: 0;
}

.page-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #2d6a4f;
  color: var(--color-white);
  text-indent: -9999px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.25s var(--ease-out), transform 0.2s var(--ease-out), opacity 0.25s, box-shadow 0.25s var(--ease-out);
  opacity: 0;
  pointer-events: none;
}

.page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.page-top:hover {
  background: #1b4332;
  transform: translateY(-2px);
}

.page-top::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ------------------
トップ：メインビジュアル（全面）
------------------ */
.main-visual {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  background: #e5ebe7;
  overflow: hidden;
}

.main-visual-slides {
  position: absolute;
  inset: 0;
}

.main-visual-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  pointer-events: none;
}

.main-visual-slide.is-active {
  opacity: 1;
}

.main-visual-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.main-visual-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.main-visual-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.main-visual .inner {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem 3rem;
}

.main-visual-watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 6.8rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(27, 67, 50, 0.18);
}

.main-visual h1 {
  position: relative;
  z-index: 2;
  max-width: 18em;
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: #1b4332;
  margin-bottom: 1rem;
  text-shadow: none;
}

.main-visual h1 span {
  display: inline;
  padding: 0.1em 0.35em;
  background: rgba(255, 255, 255, 0.82);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.85;
}

.main-visual .lead {
  position: relative;
  z-index: 2;
  max-width: 36em;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: #333;
  margin-bottom: 1.75rem;
}

.main-visual .lead span {
  display: inline;
  padding: 0.08em 0.3em;
  background: rgba(255, 255, 255, 0.78);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.95;
}

.main-visual-cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.main-visual .btn-hero-sub {
  border: 2px solid #2d6a4f;
  color: #1b4332;
  background: transparent;
}

.main-visual .btn-hero-sub:hover {
  background: rgba(45, 106, 79, 0.1);
  color: #1b4332;
  border-color: #1b4332;
}

.main-visual-scroll {
  position: absolute;
  left: clamp(1rem, 3vw, 2.25rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  color: #1b4332;
  text-decoration: none;
  transition: opacity 0.25s var(--ease-out);
}

.main-visual-scroll:hover {
  color: #2d6a4f;
  opacity: 0.85;
}

.main-visual-scroll-label {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.main-visual-scroll-line {
  position: relative;
  display: block;
  width: 2px;
  height: 11rem;
  background: rgba(27, 67, 50, 0.22);
  overflow: hidden;
}

.main-visual-scroll-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform-origin: top center;
  animation: main-visual-scroll-line 2s ease-in-out infinite;
}

@keyframes main-visual-scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top center;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top center;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom center;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom center;
  }
}

.main-visual-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.main-visual-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  text-indent: -9999px;
  overflow: hidden;
  transition: background 0.25s, transform 0.2s;
}

.main-visual-dots button.is-active {
  background: #2d6a4f;
  transform: scale(1.15);
}

#services {
  scroll-margin-top: 7rem;
}

@media (max-width: 768px) {
  .main-visual {
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
  }

  .main-visual .inner {
    height: 100%;
    min-height: 0;
    padding-block: 2.5rem 5.5rem;
  }

  .main-visual h1 {
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
    max-width: none;
  }

  .main-visual .lead {
    font-size: clamp(0.9375rem, 3.6vw, 1.125rem);
    max-width: none;
  }

  .main-visual-watermark {
    display: none;
  }

  .main-visual-scroll {
    left: 50%;
    top: auto;
    bottom: 2.75rem;
    transform: translateX(-50%);
    gap: 0.35rem;
  }

  .main-visual-scroll-label {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.6875rem;
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }

  .main-visual-scroll-line {
    height: 2rem;
  }

  .main-visual-dots {
    bottom: 0.85rem;
  }

  #services {
    scroll-margin-top: calc(var(--header-h) + 0.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-visual-scroll-line::before {
    animation: none;
    transform: scaleY(1);
  }
}

/* =============================================================================
 * 共通化：セクション見出し（.section-en + .section-head）
 * 各ページの <div class="section-head"> … </div> と対応。英字行は .section-en、日本語見出しは h2。
 * ============================================================================= */
.section-en {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2d6a4f;
  -webkit-text-stroke: 0;
}

.section-head {
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1b4332;
}

/* ------------------
トップ：事業内容（2カラム）
------------------ */
.service-split {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: #fff;
  color: var(--color-text);
  border-top: 1px solid #e8e6e0;
}

.service-split .inner {
  position: relative;
  width: min(100% - clamp(1rem, 2vw, 1.5rem), 1720px);
  max-width: none;
  min-height: clamp(20rem, 34vw, 29rem);
  margin-right: 0;
}

.service-split-copy {
  position: absolute;
  left: clamp(0.75rem, 3vw, 2.5rem);
  top: 30%;
  transform: translateY(-30%);
  z-index: 2;
  width: min(44rem, 46%);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e0e0dd;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.service-split-copy .section-en {
  text-align: left;
  margin-bottom: 0.9rem;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #2d6a4f;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.service-split-copy h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem, 2.35vw, 2.15rem);
  font-weight: 800;
  line-height: 1.35;
  color: #1b4332;
}

.service-split-copy .lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.9;
  color: #555;
}

.service-split-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.service-split-cta .btn {
  position: relative;
  min-width: 15rem;
  padding: 0.95rem 2.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  border-width: 2px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.service-split-cta .btn::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -1.5rem;
  width: 2.25rem;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-220%) skewX(-24deg);
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
}

.service-split-cta .btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.service-split-cta .btn:hover::after {
  transform: translateX(820%) skewX(-24deg);
}

.service-split-fig {
  position: relative;
  z-index: 1;
  width: 64%;
  margin-left: auto;
  height: 100%;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.service-split-fig figure {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  min-height: clamp(20rem, 34vw, 29rem);
  border: 1px solid #e0e0dd;
}

.service-split-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.service-split-fig:hover img {
  transform: scale(1.03);
}

.service-split.is-visible .service-split-copy .section-en {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.18s;
}

.service-split.is-visible .service-split-fig {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.08s;
}

.service-split--reverse .inner {
  margin-left: 0;
}

.service-split--reverse .service-split-copy {
  left: auto;
  right: clamp(0.75rem, 3vw, 2.5rem);
}

.service-split--reverse .service-split-copy .section-en {
  transform: translateX(24px);
}

.service-split--reverse .service-split-fig {
  margin-left: 0;
  margin-right: auto;
}

.service-split--reverse .service-split-fig figure {
  direction: ltr;
}

.service-split--reverse.is-visible .service-split-copy .section-en {
  transform: translateX(0);
}

/* 代表挨拶（会社概要・採用共通） */
.company-greeting.service-split {
  border-top: 0;
}

.company-greeting .service-split-copy .section-en {
  opacity: 1;
  transform: none;
}

.company-greeting .service-split-fig,
.company-greeting.is-visible .service-split-fig {
  opacity: 1;
  transform: translateX(0);
}

.company-greeting .service-split-copy .lead + .lead {
  margin-top: -0.35rem;
}

.company-greeting .service-split-copy .lead:last-child {
  margin-bottom: 0;
}

/* ------------------
トップ：施工事例（赤帯＋グリッド）
------------------ */
.works--home {
  padding: 0;
  background: linear-gradient(90deg, #1b4332 0%, #2d6a4f 45%, #1b4332 100%);
}

.works-band {
  padding: 5rem 0 1.75rem;
  text-align: center;
  background: transparent;
}

.works-band .section-en {
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.works-band h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

.works-slider {
  padding-block: 2rem 2.5rem;
}

.works-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.works-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  transition: transform 0.45s var(--ease-out);
}

.works-track > article {
  min-width: 0;
}

.work-grid-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e5e0;
  border-radius: 4px;
  overflow: hidden;
  color: #333;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.work-grid-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.work-grid-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.work-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.work-grid-card:hover img {
  transform: scale(1.05);
}

.work-grid-card h3 {
  margin: 0;
  padding: 0.75rem 0.85rem 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1b4332;
}

.work-grid-card .meta {
  padding: 0 0.85rem 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.works-slider-nav {
  display: none;
}

.works-slider-btn {
  min-width: 6.5rem;
  padding: 0.7rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  transition: background 0.25s var(--ease-out), transform 0.2s var(--ease-out), border-color 0.25s var(--ease-out);
}

.works-slider-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.works--home .more {
  padding-block: 0 2.75rem;
  text-align: center;
}

.works--home .more .btn {
  position: relative;
  min-width: 15rem;
  padding: 0.95rem 2.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  color: #1b4332;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.works--home .more .btn::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -1.5rem;
  width: 2.25rem;
  background: rgba(27, 67, 50, 0.08);
  transform: translateX(-220%) skewX(-24deg);
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
}

.works--home .more .btn:hover {
  color: #fff;
  background: transparent;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.works--home .more .btn:hover::after {
  transform: translateX(820%) skewX(-24deg);
}

/* ------------------
トップ：選ばれる理由（3件）
------------------ */
.reason {
  position: relative;
  padding-block: 4rem;
  background:
    linear-gradient(180deg, rgba(27, 67, 50, 0.58) 0%, rgba(27, 67, 50, 0.48) 100%),
    url("img/p3.jpg") center / cover no-repeat;
  border-top: 1px solid #e5e2db;
  overflow: hidden;
}

.reason::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.reason .section-head {
  position: relative;
  margin-bottom: 2.5rem;
}

.reason .inner > .section-head .section-en {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  -webkit-text-stroke: 0;
}

.reason .inner > .section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

.reason > .inner > .lead {
  text-align: center;
  max-width: 36em;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  margin-top: 0.25rem;
  color: var(--color-white);
}

.reason ul {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.reason li {
  padding: 1.5rem;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e8e6e0;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.reason li:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.reason li figure {
  margin: 0 0 1rem;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e8e6e0;
  background: #f7f6f2;
}

.reason li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out);
}

.reason li:hover img {
  transform: scale(1.03);
}

.reason h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1b4332;
  margin-bottom: 0.5rem;
}

.reason p {
  font-size: 0.9375rem;
  color: #666;
}

/* 事業ページ：#service-list へのアンカー時に固定ヘッダー分を確保 */
#service-list.reason {
  scroll-margin-top: clamp(4rem, 12vw, 6.5rem);
}

/* 事業ページ：サービス一覧（先頭2件は大きめ2列、以降は3列） */
#service-list .service-menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}

#service-list .service-menu > li {
  grid-column: span 2;
}

#service-list .service-menu > li.service-menu__featured {
  grid-column: span 3;
  padding: 1.75rem;
}

#service-list .service-menu > li.service-menu__featured figure {
  aspect-ratio: 16 / 10;
}

#service-list .service-menu > li.service-menu__featured h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
}

#service-list .service-menu > li.service-menu__featured p {
  font-size: 0.975rem;
}

/* サービス一覧：スクロール到達で1枚ずつ表示 */
#service-list .service-menu > li {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

#service-list .service-menu > li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  #service-list .service-menu > li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------
トップ：施工の流れ
------------------ */
.flow {
  padding-block: 4rem;
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0.82) 0%, rgba(4, 10, 7, 0.74) 100%),
    url("img/p5.jpg") center / cover no-repeat;
  border-top: 1px solid #e8e6e0;
}

.flow .section-head {
  margin-bottom: 0.5rem;
}

.flow .section-head .section-en {
  color: var(--color-white);
}

.flow .section-head h2 {
  color: var(--color-white);
}

.flow > .inner > .lead {
  text-align: center;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.flow li {
  position: relative;
  padding: 0 0.35rem;
  text-align: center;
  color: var(--color-white);
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3.55rem;
  right: -0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 2px solid rgba(255, 255, 255, 0.92);
  border-right: 2px solid rgba(255, 255, 255, 0.92);
  transform: rotate(45deg);
}

.flow-step-num {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
}

.flow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 6.6rem);
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
  border: 1px solid rgba(45, 106, 79, 0.18);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(19, 63, 45, 0.08);
}

.flow-icon img {
  display: block;
  width: min(68%, 3.25rem);
  height: auto;
  object-fit: contain;
}

.flow-icon::before {
  content: none;
}

.flow li h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
}

.flow li p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* ------------------
トップ・事業：事業内容（グリッド）
------------------ */
.service {
  padding-block: 4rem;
  background: #f7f5f0;
  border-top: 1px solid #e5e2db;
}

.service .section-head {
  margin-bottom: 0.5rem;
}

.service .section-head h2 {
  color: #1b4332;
}

.service > h2 {
  color: #1b4332;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service > .inner > .lead {
  text-align: center;
  max-width: 36em;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  color: #555;
}

.service ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service li {
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e6e0;
  transition: transform 0.3s var(--ease-out);
}

.service li:hover {
  transform: translateY(-4px);
}

.service figure {
  aspect-ratio: 4 / 3;
  background: #eef4f0;
  overflow: hidden;
}

.service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}

.service li:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.service h3 {
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1rem 0.25rem;
  color: #1b4332;
}

.service p {
  font-size: 0.875rem;
  padding: 0 1rem 1.25rem;
  color: #666;
}

.service .more {
  text-align: center;
  margin-top: 2rem;
}

/* ------------------
トップ：お知らせ
------------------ */
.news {
  padding-block: 4rem;
  background: #fff;
  border-top: 1px solid #e8e6e0;
}

.news .section-head {
  margin-bottom: 2rem;
}

.news .section-head .section-en {
  color: #2d6a4f;
}

.news .section-head h2 {
  color: #1b4332;
}

.news .news-list {
  max-width: 720px;
  margin-inline: auto;
}

/* お知らせ記事リスト（トップ・一覧共通） */
.news-list li,
.topics-archive li {
  border-bottom: 1px solid #e8e6e0;
}

.news-list li:first-child {
  border-top: 1px solid #e8e6e0;
}

.news-list li a,
.topics-archive li a {
  display: grid;
  grid-template-columns: 7.5rem 5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 1rem 0.25rem;
  color: #333;
}

.news-list li a:hover,
.topics-archive li a:hover {
  color: #2d6a4f;
}

.news-list time,
.topics-archive time {
  font-size: 0.8125rem;
  color: #777;
}

.news-list .cat,
.topics-archive .cat {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #1b4332;
  background: #e8f0ec;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  width: fit-content;
}

.news-list .cat--accent,
.topics-archive .cat--accent {
  background: #2d6a4f;
  color: #fff;
}

.news-list .cat--gold,
.topics-archive .cat--gold {
  background: #c9a227;
  color: #222;
}

/* お知らせ一覧（topics ページ） */
[data-current-page="topics.html"] .main-content {
  border-top: 0;
}

.topics-archive li,
.topics-archive li:first-child {
  border-top: 0;
}

.topics-archive li a {
  padding-block: 0.85rem;
}

.news .more {
  text-align: center;
  margin-top: 2rem;
}

.news .more .btn {
  position: relative;
  min-width: 15rem;
  padding: 0.95rem 2.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  border-width: 2px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.news .more .btn::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -1.5rem;
  width: 2.25rem;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-220%) skewX(-24deg);
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
}

.news .more .btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.news .more .btn:hover::after {
  transform: translateX(820%) skewX(-24deg);
}

/* ------------------
トップ：会社／スタッフ（2ブロック）
------------------ */
.about-split {
  padding-block: 0;
  background: #f0ede6;
  border-top: 1px solid #e5e2db;
}

.about-split .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-split-block {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid #e0ddd6;
}

.about-split-block--company {
  background: linear-gradient(180deg, #faf9f7 0%, #f0ede8 100%);
}

.about-split-block--staff {
  background: linear-gradient(180deg, #f5f3ee 0%, #ebe8e0 100%);
}

.about-split-block .section-en {
  margin-bottom: 0.35rem;
}

.about-split-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1b4332;
}

.about-split-block p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #555;
  max-width: 28em;
}

.about-split-block .btn {
  align-self: flex-start;
}

.about-split-fig {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-split-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.about-split-block > *:not(.about-split-fig) {
  position: relative;
  z-index: 1;
}

.about-split-block--staff .about-split-fig img {
  opacity: 0.4;
}

/* ------------------
スクロール表示（軽め）
------------------ */
.js-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

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

.js-reveal-left {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.js-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.js-reveal-right {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.js-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ------------------
下層：ページ見出し
------------------ */
.page-header {
  padding-block: 2.5rem 2rem;
  background: linear-gradient(135deg, #1a0505 0%, var(--color-accent) 55%, #4a0000 100%);
  color: var(--color-white);
}

.company-header {
  background: url("img/sub_header_back.jpg") center / cover no-repeat;
}

.company-header .inner {
  text-align: center;
}

.company-header-title {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding-bottom: 1.4rem;
  font-size: clamp(2.8rem, 7.6vw, 5.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2d6a4f;
}

.company-header-title span {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-white);
}

.company-header-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4rem;
  height: 3px;
  background: #2d6a4f;
  transform: translateX(-50%);
}

.page-header h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
}

.page-header p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.breadcrumb {
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: inherit;
  gap: 0.35rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "／";
  margin-right: 0.35rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: underline;
}

.breadcrumb--outside {
  margin: 0;
  padding-top: 0.9rem;
  padding-bottom: 0.35rem;
  text-align: right;
  color: #666;
  opacity: 1;
}

.breadcrumb--outside ul {
  justify-content: flex-end;
}

.breadcrumb-strip {
  background: #ffffff;
}

/* ------------------
下層：2カラム（サイドバー）
------------------ */
.page-body {
  padding-block: 3rem 4rem;
  background: #fff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  align-items: start;
}

.main-content {
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid #e8e6e0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.main-content > h2:first-child {
  font-size: 1.25rem;
  color: #1b4332;
  margin-bottom: 1rem;
}

.sidebar {
  background: #fff;
  padding: 1.25rem;
  border-radius: 4px;
  border: 1px solid #e8e6e0;
}

.sidebar h2 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1b4332;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2d6a4f;
}

.sidebar ul {
  margin-bottom: 1.5rem;
}

.sidebar li {
  font-size: 0.8125rem;
  border-bottom: 1px solid #eaeaea;
}

.sidebar a {
  display: block;
  padding: 0.5rem 0;
  color: #333;
}

.sidebar a:hover {
  color: #2d6a4f;
}

/* ------------------
会社概要ページ（.company-page 配下の main レイアウト）
------------------ */
.company-page .main-content h2 {
  margin-top: 2rem;
}

.company-page .main-content h2:first-of-type {
  margin-top: 0;
}

.extra-block {
  margin-top: 2rem;
}

.extra-block h2 {
  color: #1b4332;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.extra-block__btn {
  margin-top: 1rem;
}

.recruit-note {
  margin-top: 1.5rem;
}

/* 採用ページ：4枚写真（余白・隙間なし） */
.recruit-photo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: -2rem -2rem 1.5rem;
  width: calc(100% + 4rem);
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}

.recruit-photo-row img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 640px) {
  .recruit-photo-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 採用ページ：職種タブ（最大4） */
.recruit-tabs {
  margin-top: 1.5rem;
}

.recruit-tabs__head {
  margin-bottom: 1.5rem;
}

.main-content .recruit-tabs__head .section-en {
  color: #2d6a4f;
}

.main-content .recruit-tabs__head h2 {
  color: #1b4332;
}

.recruit-tabs__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  border-bottom: 2px solid #e8e6e0;
}

.recruit-tabs__tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.7rem 0.5rem;
  font: inherit;
  font-size: clamp(0.6875rem, 1.6vw, 0.875rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #555;
  background: #f5f5f2;
  border: 1px solid #e0e0dd;
  border-bottom: 0;
  border-radius: 0;
  margin: 0 -1px -2px 0;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.2s var(--ease-out), border-color 0.25s var(--ease-out);
}

.recruit-tabs__tab:first-child {
  margin-left: 0;
  border-radius: 4px 0 0 0;
}

.recruit-tabs__tab:last-child {
  margin-right: 0;
  border-radius: 0 4px 0 0;
}

.recruit-tabs__tab:hover {
  color: #1b4332;
  background: #eef4f0;
}

.recruit-tabs__tab.is-active {
  position: relative;
  z-index: 1;
  color: #fff;
  background: #2d6a4f;
  border-color: #2d6a4f;
}

.recruit-tabs__scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .recruit-tabs__scroll-hint {
    display: block;
    margin: 0.4rem 0 0.75rem;
    font-size: 0.6875rem;
    line-height: 1.4;
    text-align: center;
    color: #888;
  }

  .recruit-tabs__nav {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .recruit-tabs__nav::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .recruit-tabs__tab {
    flex: 0 0 auto;
    min-width: max(7.5rem, 42vw);
    max-width: none;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .recruit-tabs__tab:first-child,
  .recruit-tabs__tab:last-child {
    border-radius: 0;
  }

  .recruit-tabs__tab:first-child {
    border-radius: 4px 0 0 0;
  }

  .recruit-tabs__tab:last-child {
    border-radius: 0 4px 0 0;
  }
}

.recruit-tabs__tab:focus-visible {
  outline: 3px solid #2d6a4f;
  outline-offset: 2px;
}

.recruit-tabs__panels {
  padding-top: 0.25rem;
}

.recruit-tabs__panel[hidden] {
  display: none;
}

.recruit-tabs__panel h2 {
  margin-top: 0;
  font-size: 1.125rem;
  color: #1b4332;
}

.recruit-tabs__panel h2 + p {
  margin-bottom: 1.25rem;
  line-height: 1.9;
  color: #555;
}

.recruit-tabs__heading {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1b4332;
}

.recruit-tabs__panel .recruit-table {
  margin-top: 0;
}

.company-info {
  margin-top: 1rem;
  width: 100%;
  border-collapse: collapse;
}

.company-info th,
.company-info td {
  padding: 1rem 1.15rem;
  border: 1px solid #e5e2db;
  font-size: 0.875rem;
  vertical-align: top;
}

.company-info th {
  width: 8rem;
  background: #f3f1ec;
  font-weight: 600;
  color: #1b4332;
}

.company-info td {
  color: #555;
  background: #fff;
}

.company-info td a {
  color: #0f2f24;
  font-weight: 700;
}

.map-embed {
  margin-top: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 1px solid #e5e2db;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.company-profile {
  padding-block: 4rem;
  background: url("img/slide1.jpg") center / cover no-repeat;
  border-top: 1px solid #e5e2db;
}

.company-profile .section-head {
  margin-bottom: 0.5rem;
}

.company-profile .section-en {
  color: var(--color-white);
}

.company-profile .section-head h2 {
  color: var(--color-white);
}

.company-profile > .inner > .lead {
  text-align: center;
  max-width: 38em;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.company-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.company-profile-card {
  width: min(100%, 1080px);
  margin-inline: auto;
  padding: 5rem;
  background: rgba(255, 255, 255, 1);
  border: 1px solid #e8e6e0;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.company-access {
  background: #ffffff;
}

.business-extra {
  padding-block: clamp(3rem, 5vw, 4rem);
  border-top: 1px solid #e5e2db;
}

.business-extra > .inner > .lead {
  max-width: 42em;
  margin-inline: auto;
  text-align: center;
}

.business-extra .extra-block__btn {
  text-align: center;
}

.company-access .section-en {
  color: #2d6a4f;
}

.company-access > .inner > .lead {
  color: #555;
}

.company-profile-card--map {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.company-profile-card--map .map-embed,
.company-access .map-embed {
  margin: 1.5rem calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.company-profile-card h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1b4332;
}

.company-profile-action {
  margin-top: 1rem;
}

/* ------------------
お問い合わせ：フォーム
------------------ */
.form-table {
  width: 100%;
  margin-top: 1rem;
}

.form-table th,
.form-table td {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
}

.form-table th {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1b4332;
}

.form-table td input,
.form-table td textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  border: 1px solid #e0e0dd;
  border-radius: 4px;
  background: #fff;
  color: #333;
}

.form-table td textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-table .required {
  font-size: 0.6875rem;
  color: var(--color-accent);
  margin-left: 0.35rem;
}

@media (min-width: 769px) {
  .form-table {
    border-collapse: collapse;
  }

  .form-table tbody {
    display: table-row-group;
  }

  .form-table tr {
    display: table-row;
    border-bottom: 1px solid var(--color-border);
  }

  .form-table tr:last-child {
    border-bottom: none;
  }

  .form-table th,
  .form-table td {
    display: table-cell;
    width: auto;
    padding: 1rem 0;
    vertical-align: middle;
  }

  .form-table th {
    width: 11rem;
    padding-right: 1.5rem;
    white-space: nowrap;
  }

  .form-table td {
    padding-left: 0;
  }

  .form-table tr:has(textarea) th,
  .form-table tr:has(textarea) td {
    vertical-align: top;
    padding-top: 1.15rem;
  }
}

.form-actions {
  margin-top: 1.5rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.contact-form__head {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.main-content .contact-form__head .section-en {
  color: #2d6a4f;
}

.main-content .contact-form__head h2 {
  color: #1b4332;
}

.privacy-policy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.privacy-policy__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1b4332;
}

.privacy-policy__scroll {
  max-height: 10rem;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  background: #f8f7f4;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  -webkit-overflow-scrolling: touch;
}

.privacy-policy__scroll p {
  margin: 0 0 0.75rem;
}

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

.privacy-policy__agree {
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

.privacy-policy__agree label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* Contact Form 7 */
.contact-cf7 {
  margin-top: 0;
}

.contact-cf7 .wpcf7 {
  margin: 0;
}

.contact-cf7 .wpcf7-form {
  margin: 0;
}

.form-table td .wpcf7-form-control-wrap {
  display: block;
}

.form-table td .wpcf7-form-control.wpcf7-text,
.form-table td .wpcf7-form-control.wpcf7-tel,
.form-table td .wpcf7-form-control.wpcf7-email,
.form-table td .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  border: 1px solid #e0e0dd;
  border-radius: 4px;
  background: #fff;
  color: #333;
}

.form-table td .wpcf7-form-control.wpcf7-textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-cf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.contact-cf7 .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.contact-cf7 .wpcf7-submit.btn {
  width: auto;
  cursor: pointer;
  border: none;
}

.contact-cf7 .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: 4px;
}

.contact-cf7 .wpcf7-form.invalid .wpcf7-response-output,
.contact-cf7 .wpcf7-form.unaccepted .wpcf7-response-output,
.contact-cf7 .wpcf7-form.payment-required .wpcf7-response-output {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: #fff5f5;
}

.contact-cf7 .wpcf7-form.sent .wpcf7-response-output {
  border: 1px solid #2d6a4f;
  color: #1b4332;
  background: #f0f7f4;
}

.contact-cf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-accent);
}

.contact-cf7__note {
  margin-top: 1rem;
}

.contact-cf7__note code {
  font-size: 0.75em;
}

/* ------------------
採用：テーブル
------------------ */
.recruit-table {
  width: 100%;
  margin-top: 1rem;
  font-size: 0.875rem;
  border-collapse: collapse;
}

.recruit-table th,
.recruit-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  vertical-align: top;
}

.recruit-table th {
  width: 9rem;
  background: #f3f1ec;
  font-weight: 600;
  color: #1b4332;
}

.recruit-table td {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .recruit-table {
    border: 0;
  }

  .recruit-table tbody {
    display: block;
  }

  .recruit-table tr {
    display: block;
    margin-bottom: 0.65rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
  }

  .recruit-table tr:last-child {
    margin-bottom: 0;
  }

  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
  }

  .recruit-table th {
    padding: 0.75rem 1rem 0.5rem;
  }

  .recruit-table td {
    padding: 0.5rem 1rem 0.75rem;
  }
}

/* ------------------
施工事例一覧・詳細
------------------ */
.inner.page-works {
  padding-block: 3rem 4rem;
}

.page-works > .lead {
  color: #444;
}

.page-works > .form-note {
  color: #666;
}

.works-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.works-list article {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.works-list > article > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e6e0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.works-list > article > a:hover {
  box-shadow: 0 12px 28px rgba(19, 63, 45, 0.12);
  transform: translateY(-3px);
}

.works-list > article > a:focus-visible {
  outline: 3px solid #2d6a4f;
  outline-offset: 3px;
}

.works-list figure {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
}

.works-list img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s var(--ease-out);
}

.works-list > article > a:hover img {
  transform: scale(1.08);
}

.works-list .arrow {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: #1b4332;
  background: #fff;
  border: 2px solid #1b4332;
  border-radius: 2px;
  pointer-events: none;
}

.works-list h2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  background: #2d6a4f;
  text-align: left;
  min-height: 0;
}

@media (max-width: 1024px) {
  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.works-detail .before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem 1.35rem;
  align-items: center;
  margin: 1rem 0;
}

.works-detail .before-after-card {
  margin: 0;
  min-width: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e6e0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.works-detail .before-after-card__img {
  margin: 0;
  overflow: hidden;
  background: #f0f0f0;
}

.works-detail .before-after-card__img img {
  display: block;
  width: 100%;
  height: auto;
}

.works-detail .before-after-ribbon {
  margin: 0;
  padding: 0.45rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: left;
  color: #fff;
}

.works-detail .before-after-ribbon--before {
  background: #2d6a4f;
}

.works-detail .before-after-ribbon--after {
  background: #b4232a;
}

.works-detail .before-after-card figcaption {
  margin: 0;
  padding: 0.5rem 0.75rem 0.65rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  background: #fafaf8;
  border-top: 1px solid #e8e6e0;
}

.works-detail .before-after-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 3rem;
  width: 3rem;
  color: #2d6a4f;
}

/* 線だけの「＞」（border でクッキリ表示・縦長） */
.works-detail .before-after-arrow__gt {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: scaleY(1.7) rotate(45deg);
  margin-right: 0.4rem;
}

.works-detail figure {
  border-radius: 6px;
  overflow: hidden;
}

.works-detail figcaption {
  font-size: 0.75rem;
  margin-top: 0.35rem;
  color: var(--color-text-muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery figure {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1;
}

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

.topic-article p + p {
  margin-top: 1em;
}

.works-detail h2 {
  margin-top: 1.75rem;
  font-size: 1.125rem;
  color: #1b4332;
}

/* 詳細ページ：一覧へ戻る（works_ex / topics_ex 共通） */
.page-back {
  margin: 2.5rem 0 1.5rem;
  text-align: center;
}

.page-back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 14rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: #2d6a4f;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}

.page-back a::after {
  content: "";
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.page-back a:hover {
  color: #fff;
  background: #1b4332;
}

/* ------------------
768px以下
------------------ */
@media (max-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .header-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    align-items: stretch;
    padding: 0;
    gap: 0;
  }

  .site-logo {
    display: contents;
    top: 0;
    left: 0;
  }

  .site-logo small {
    grid-column: 1;
    grid-row: 1;
    position: static;
    margin: 0;
    padding: 0.4rem 0.65rem 0.15rem;
    max-width: none;
    font-size: clamp(0.5625rem, 2.7vw, 0.6875rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .site-logo small .sp-only {
    display: inline;
  }

  .site-logo a {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.15rem 0.65rem 0.55rem;
  }

  .site-logo img {
    width: min(220px, 64vw);
  }

  /* SP: 電話はアイコンのみ、お問い合わせボタンは非表示、右端にハンバーガー */
  .header-cta {
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin: 0;
    padding: 0 0.15rem;
    gap: 0;
  }

  .header-cta .header-contact {
    display: none;
  }

  .header-cta .tel {
    margin: 0;
  }

  .header-cta .tel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    gap: 0;
    color: #1b4332;
    border: 2px solid #1b4332;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .header-cta .tel a::before {
    width: 1.35rem;
    height: 1.35rem;
  }

  .header-cta .tel .tel-num,
  .header-cta .tel small {
    display: none;
  }

  .nav-toggle.sp-only {
    grid-column: 3;
    grid-row: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 3.25rem;
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #2d6a4f;
    border: 0;
    border-radius: 0;
  }

  .nav-toggle.sp-only::before,
  .nav-toggle.sp-only::after,
  .nav-toggle.sp-only span {
    background: #fff;
  }

  .gnav {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 110;
    display: block;
    width: auto;
    max-height: none;
    padding: 5rem 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    border-top: 0;
    border-left: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: none;
    transition: opacity 0.3s var(--ease-out), visibility 0.3s;
  }

  .gnav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .gnav ul {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .gnav a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
  }

  .gnav a.gnav-instagram {
    display: inline-flex;
    width: auto;
    height: auto;
    justify-content: flex-start;
    margin: 0.5rem 0 0;
    padding: 0.85rem 0;
    border: 0;
    border-radius: 0;
    border-bottom: 0;
    color: #1b4332;
  }

  .gnav a.gnav-instagram:hover {
    background: transparent;
    border-color: transparent;
  }

  .gnav-instagram__label {
    display: inline;
    font-size: 1rem;
    font-weight: 700;
  }

  .gnav-cta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
  }

  .gnav-cta .tel {
    margin: 0 0 0.85rem;
  }

  .gnav-cta .tel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1b4332;
    white-space: nowrap;
  }

  .gnav-cta .tel a::before {
    width: 1.35em;
    height: 1.35em;
    flex-shrink: 0;
  }

  .gnav-cta .tel .tel-num {
    font-size: 1.25rem;
    letter-spacing: 0.02em;
  }

  .gnav-cta > p {
    margin: 0;
    text-align: center;
  }

  .gnav-cta .btn,
  .gnav-cta a.btn.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 12rem;
    max-width: 100%;
    margin-inline: auto;
    padding: 0.85rem 1.5rem;
    color: #fff;
    background: #2d6a4f;
    border: 1px solid #2d6a4f;
  }

  .gnav-cta a.btn.btn-accent:hover {
    color: #fff;
    background: #1b4332;
    border-color: #1b4332;
  }

  .page-header {
    padding-block: 1.75rem 1.5rem;
  }

  .company-header-title {
    font-size: clamp(2rem, 12vw, 3.5rem);
    letter-spacing: 0.06em;
    gap: 0.55rem;
    padding-bottom: 1rem;
  }

  .company-header-title span {
    font-size: clamp(0.9375rem, 3.8vw, 1.15rem);
  }

  .main-content {
    padding: 1.25rem 1rem;
  }

  .recruit-photo-row {
    margin: -1.25rem -1rem 1.25rem;
    width: calc(100% + 2rem);
  }

  .service-split-cta .btn,
  .news .more .btn,
  .works--home .more .btn,
  .about-split-block .btn {
    min-width: 0;
    width: 100%;
    max-width: 20rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .company-profile {
    padding-block: 2.5rem;
  }

  .company-profile-grid {
    grid-template-columns: 1fr;
  }

  .company-profile-card {
    padding: 1.25rem 1rem;
  }

  .company-info {
    border: 0;
  }

  .company-info tbody {
    display: block;
  }

  .company-info tr {
    display: block;
    margin-bottom: 0.65rem;
    border: 1px solid #e5e2db;
    border-radius: 4px;
    overflow: hidden;
  }

  .company-info tr:last-child {
    margin-bottom: 0;
  }

  .company-info th,
  .company-info td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
  }

  .company-info th {
    padding: 0.75rem 1rem 0.35rem;
  }

  .company-info td {
    padding: 0.35rem 1rem 0.75rem;
  }

  .company-profile-card--map .map-embed,
  .company-access .map-embed {
    margin-top: 1rem;
  }

  .reason ul {
    grid-template-columns: 1fr;
  }

  /* 事業サービス：先頭2件は2列、カード内は画像→タイトル→本文の3段 */
  #service-list .service-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  #service-list .service-menu > li.service-menu__featured {
    grid-column: span 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "image"
      "title"
      "body";
    gap: 0.4rem;
    padding: 0.75rem;
  }

  #service-list .service-menu > li.service-menu__featured figure {
    grid-area: image;
    margin: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  #service-list .service-menu > li.service-menu__featured h3 {
    grid-area: title;
    margin: 0;
    align-self: start;
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  #service-list .service-menu > li.service-menu__featured p {
    grid-area: body;
    margin: 0;
    align-self: start;
    font-size: 0.6875rem;
    line-height: 1.55;
  }

  #service-list .service-menu > li:not(.service-menu__featured) {
    grid-column: 1 / -1;
  }

  .reason li {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    grid-template-areas:
      "image title"
      "image body";
    column-gap: 0.9rem;
    row-gap: 0.35rem;
    align-items: start;
    padding: 1rem;
  }

  .reason li figure {
    grid-area: image;
    margin: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .reason h3 {
    grid-area: title;
    margin-bottom: 0;
    align-self: end;
    font-size: 0.975rem;
  }

  .reason p {
    grid-area: body;
    align-self: start;
    font-size: 0.875rem;
  }

  .flow ol {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .flow {
    padding-block: 2.5rem;
  }

  .flow li {
    display: grid;
    grid-template-columns: 5rem 1fr;
    grid-template-areas:
      "icon num"
      "icon title"
      "icon body";
    column-gap: 0.9rem;
    row-gap: 0.25rem;
    padding: 0;
    text-align: left;
    align-items: center;
  }

  .flow li:not(:last-child)::after {
    display: none;
  }

  .flow-step-num {
    grid-area: num;
    margin-bottom: 0;
    font-size: 0.9375rem;
  }

  .flow-icon {
    grid-area: icon;
    width: 5rem;
    margin: 0;
  }

  .flow li h3 {
    grid-area: title;
    margin: 0;
  }

  .flow li p {
    grid-area: body;
    font-size: 0.875rem;
  }

  .service ul {
    grid-template-columns: 1fr;
  }

  .news,
  .page-body,
  .inner.page-works {
    padding-block: 2.5rem;
  }

  .news-list li a,
  .topics-archive li a {
    grid-template-columns: auto auto 1fr;
    gap: 0.4rem 0.65rem;
    align-items: center;
  }

  .news-list li a time,
  .topics-archive li a time {
    grid-column: 1;
  }

  .news-list li a .cat,
  .topics-archive li a .cat {
    grid-column: 2;
  }

  .news-list li a > span:last-child,
  .topics-archive li a > span:last-child {
    grid-column: 1 / -1;
  }

  .service-split .inner {
    width: min(100% - 1.5rem, var(--max-inner));
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    margin-inline: auto;
  }

  .service-split--reverse .inner {
    margin-inline: auto;
  }

  .service-split-copy,
  .service-split--reverse .service-split-copy {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: auto;
    margin-inline: auto;
    margin-top: 0;
    margin-bottom: 1rem;
    padding: 1.35rem 1.15rem;
  }

  .service-split-fig,
  .service-split--reverse .service-split-fig {
    width: 100%;
    margin-inline: 0;
    transform: translateY(18px);
  }

  .service-split.is-visible .service-split-fig {
    transform: translateY(0);
  }

  .service-split-fig figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .about-split .inner {
    grid-template-columns: 1fr;
  }

  .about-split-block {
    padding: 1.5rem 1.15rem;
  }

  .works-slider {
    padding-block: 1.5rem 1.25rem;
  }

  .works-track {
    display: flex;
    gap: 0;
  }

  .works-track > article {
    flex: 0 0 100%;
  }

  .works-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }

  .works-list {
    grid-template-columns: 1fr;
  }

  .works-detail .before-after {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 0.75rem 0;
  }

  .works-detail .before-after-card {
    max-width: 100%;
  }

  .works-detail .before-after-arrow {
    min-width: 0;
    width: 100%;
    padding: 0.35rem 0;
  }

  .works-detail .before-after-arrow__gt {
    margin: 0 auto;
    transform: scaleY(1.7) rotate(135deg);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .contact-cta {
    padding-block: 2.5rem;
  }

  .contact-cta .inner {
    text-align: center;
  }

  .contact-cta h2 {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  }

  .contact-cta ul {
    grid-template-columns: 1fr;
  }

  .contact-cta li a {
    grid-template-columns: 4.25rem 1fr;
    padding: 1rem 1.05rem;
    text-align: left;
  }

  .contact-cta li a > span {
    width: 4.25rem;
    height: 4.25rem;
  }

  .navigation.pagination,
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
  }

  .navigation.pagination .page-numbers,
  .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.875rem;
    color: #1b4332;
    background: #fff;
    border: 1px solid #e0e0dd;
    border-radius: 2px;
  }

  .navigation.pagination .page-numbers.current,
  .nav-links .page-numbers.current {
    color: #fff;
    background: #2d6a4f;
    border-color: #2d6a4f;
  }

  .page-back a,
  .recruit-note,
  .form-note {
    word-break: break-word;
  }
}

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

@media (min-width: 769px) {
  .company-profile-card--map .map-embed {
    aspect-ratio: auto;
    height: 300px;
  }
}

