/*
Theme Name: Nikkou Child
Theme URI: https://nikkou-shibata.com/
Description: yStandard child theme for Nikkou Shibata construction support site.
Author: Nikkou Shibata
Template: ystandard
Version: 1.1.1
Text Domain: nikkou-child
*/

:root { --ns-ink: #182b3a; --ns-accent: #dc8729; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html {scroll-behavior: auto;} }

/* ===============================
   TOP HERO
=============================== */
.ns-top-hero,
.ns-top-hero * {
  box-sizing: border-box;
}

.ns-top-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #16232f;
}

.ns-top-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("ここにHERO画像URL");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

.ns-top-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 32, 0.88) 0%, rgba(12, 22, 32, 0.74) 38%, rgba(12, 22, 32, 0.35) 68%, rgba(12, 22, 32, 0.15) 100%);
  z-index: 2;
}

.ns-top-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 110px;
}

.ns-top-hero__eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f0b55d;
  text-transform: uppercase;
}

.ns-top-hero__title {
  margin: 0 0 24px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.ns-top-hero__title span {
  color: #f0b55d;
}

.ns-top-hero__lead {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.7;
  font-weight: 700;
  color: #fff;
}

.ns-top-hero__text {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
}

.ns-top-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ns-top-hero__points span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(2px);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.ns-top-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s ease;
}

.ns-btn--primary {
  background: #f0a43b;
  color: #16232f !important;
  border: 1px solid #f0a43b;
}

.ns-btn--primary:hover {
  background: #ffb957;
  border-color: #ffb957;
  transform: translateY(-2px);
}

.ns-btn--outline {
  background: rgba(255,255,255,0.05);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.55);
}

.ns-btn--outline:hover {
  background: #fff;
  color: #16232f !important;
  transform: translateY(-2px);
}

.sp-only {
  display: none;
}

/* スマホ */
@media (max-width: 767px) {
  .ns-top-hero {
    min-height: 640px;
    align-items: center;
  }

  .ns-top-hero__bg {
    background-position: 62% center;
  }

  .ns-top-hero__overlay {
    background:
      linear-gradient(180deg, rgba(12, 22, 32, 0.72) 0%, rgba(12, 22, 32, 0.82) 48%, rgba(12, 22, 32, 0.9) 100%);
  }

  .ns-top-hero__inner {
    width: calc(100% - 30px);
    padding: 95px 0 80px;
  }

  .ns-top-hero__eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
  }

  .ns-top-hero__title {
    font-size: clamp(34px, 10vw, 48px);
    margin-bottom: 20px;
  }

  .ns-top-hero__lead {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .ns-top-hero__text {
    font-size: 14px;
    line-height: 1.85;
  }

  .ns-top-hero__points {
    gap: 10px;
    margin-top: 26px;
  }

  .ns-top-hero__points span {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    min-height: 40px;
  }

  .ns-top-hero__buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .ns-btn {
    width: 100%;
    min-height: 54px;
    font-size: 14px;
  }

  .sp-only {
    display: inline;
  }
}


/* ========================================
   HERO 全幅化
======================================== */

.ns-top-hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 720px;
}

/* 全幅化による横スクロールを防止 */
html,
body {
  overflow-x: clip;
}


.ns-top-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;

  /* ここをアップロードした画像URLに変更 */
  background-image: url("http://cz-group.xsrv.jp/nikkoshibata_new/wp-content/uploads/2026/09/23415487_s.jpg");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}


.ns-top-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    90deg,
    rgba(12, 22, 32, 0.93) 0%,
    rgba(12, 22, 32, 0.78) 36%,
    rgba(12, 22, 32, 0.28) 75%,
    rgba(12, 22, 32, 0.08) 100%
  );
}


/* ==========================================
   TOP - YOUR CHALLENGES
   こんなお悩みはありませんか？
========================================== */

.ns-problems,
.ns-problems * {
  box-sizing: border-box;
}

.ns-problems {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0 110px;
  background: #fff;
  color: #182b3a;
}

.ns-problems__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* 共通セクション見出し */

.ns-section-heading {
  margin: 0 auto 55px;
  text-align: center;
}

.ns-section-heading__en {
  margin: 0 0 12px;
  color: #d98225;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}

.ns-section-heading__title {
  margin: 0 0 20px;
  color: #182b3a;
  font-size: clamp(27px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .025em;
}

.ns-section-heading__title span {
  color: #d98225;
}

.ns-section-heading__lead {
  margin: 0;
  color: #626d76;
  font-size: 16px;
  line-height: 1.9;
}

/* 4つのカード */

.ns-problems__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ns-problems__card {
  position: relative;
  min-width: 0;
  padding: 36px 25px 38px;
  border: 1px solid #e4e8eb;
  border-radius: 10px;
  background: #f8f9fa;
  text-align: center;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.ns-problems__card:hover {
  transform: translateY(-5px);
  border-color: #edc99e;
  box-shadow: 0 12px 28px rgba(24,43,58,.08);
}

.ns-problems__number {
  position: absolute;
  top: 18px;
  left: 20px;
  color: #d9dfe3;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .05em;
}

.ns-problems__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  margin: 6px auto 24px;
  border-radius: 50%;
  background: #fff0df;
  color: #d98225;
}

.ns-problems__icon svg {
  display: block;
  width: 42px;
  height: 42px;
}

.ns-problems__card h3 {
  margin: 0 0 16px;
  color: #182b3a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.ns-problems__card p {
  margin: 0;
  color: #64717a;
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}

/* 下部の解決訴求 */

.ns-problems__solution {
  position: relative;
  margin-top: 55px;
  padding: 48px 30px 50px;
  border-radius: 10px;
  background: #182b3a;
  color: #fff;
  text-align: center;
}

.ns-problems__solution-label {
  margin: 0 0 15px;
  color: #f0b55d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.ns-problems__solution h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.6;
}

.ns-problems__solution h3 span {
  color: #ffc06c;
}

.ns-problems__solution > p:not(.ns-problems__solution-label) {
  margin: 0;
  color: #e3e9ed;
  font-size: 16px;
  line-height: 1.9;
}

.ns-problems__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin-top: 30px;
  padding: 17px 28px;
  min-height: 56px;
  border-radius: 4px;
  background: #e89a34;
  color: #182b3a !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    background .2s ease,
    transform .2s ease;
}

.ns-problems__button:hover {
  background: #ffc06c;
  transform: translateY(-2px);
}

.ns-problems__sp {
  display: none;
}

/* タブレット */

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

  .ns-problems__card {
    padding: 36px 30px;
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  .ns-problems {
    padding: 65px 0 75px;
  }

  .ns-problems__inner {
    width: calc(100% - 32px);
  }

  .ns-section-heading {
    margin-bottom: 35px;
  }

  .ns-section-heading__en {
    font-size: 11px;
  }

  .ns-section-heading__title {
    font-size: 27px;
    line-height: 1.45;
  }

  .ns-section-heading__lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .ns-problems__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ns-problems__card {
    padding: 28px 25px 30px;
  }

  .ns-problems__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
  }

  .ns-problems__icon svg {
    width: 36px;
    height: 36px;
  }

  .ns-problems__card h3 {
    font-size: 19px;
  }

  .ns-problems__card p {
    font-size: 14px;
    text-align: center;
  }

  .ns-problems__solution {
    margin-top: 35px;
    padding: 38px 20px 40px;
  }

  .ns-problems__solution h3 {
    font-size: 23px;
  }

  .ns-problems__solution > p:not(.ns-problems__solution-label) {
    font-size: 14px;
  }

  .ns-problems__sp {
    display: initial;
  }

  .ns-problems__button {
    width: 100%;
    max-width: 350px;
    gap: 20px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-problems__card,
  .ns-problems__button {
    transition: none;
  }
}


/* ==========================================
   TOP - OUR SERVICES
   土木・解体・建築の対応業務
========================================== */

.ns-services,
.ns-services * {
  box-sizing: border-box;
}

.ns-services {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0 110px;
  background: #f3f5f7;
  color: #182b3a;
}

.ns-services__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* 3カラム */

.ns-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

/* カード */

.ns-services__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e9ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(24,43,58,.035);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.ns-services__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(24,43,58,.11);
}

/* 写真 */

.ns-services__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d5dce1;
}

.ns-services__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.ns-services__card:hover .ns-services__image img {
  transform: scale(1.04);
}

.ns-services__number {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 48px;
  background: #e89a34;
  color: #182b3a;
  font-size: 22px;
  font-weight: 800;
}

/* カード本文 */

.ns-services__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 27px 32px;
}

.ns-services__en {
  margin: 0 0 8px;
  color: #d98225;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ns-services__body h3 {
  margin: 0 0 16px;
  color: #182b3a;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.4;
}

.ns-services__description {
  margin: 0 0 22px;
  color: #5e6b76;
  font-size: 14px;
  line-height: 1.95;
}

/* 対応作業リスト */

.ns-services__tasks {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.ns-services__tasks li {
  position: relative;
  padding: 0 0 0 19px;
  color: #364855;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.ns-services__tasks li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e89a34;
}

/* 詳細・相談リンク */

.ns-services__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 18px 0 0;
  border-top: 1px solid #e9edf0;
  color: #c67822 !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

.ns-services__link span {
  font-size: 22px;
  transition: transform .2s ease;
}

.ns-services__link:hover span {
  transform: translateX(5px);
}

/* 下部CTA */

.ns-services__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  padding: 36px 40px;
  border-radius: 8px;
  background: #182b3a;
  color: #fff;
}

.ns-services__cta h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-services__cta p {
  margin: 0;
  color: #e0e8ed;
  font-size: 14px;
  line-height: 1.8;
}

.ns-services__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-shrink: 0;
  padding: 18px 24px;
  border-radius: 4px;
  background: #e89a34;
  color: #182b3a !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    background .2s ease,
    transform .2s ease;
}

.ns-services__cta-button:hover {
  background: #ffc06c;
  transform: translateY(-2px);
}

/* タブレット */

@media (max-width: 1024px) {
  .ns-services__grid {
    gap: 16px;
  }

  .ns-services__body {
    padding: 25px 20px;
  }

  .ns-services__body h3 {
    font-size: 23px;
  }

  .ns-services__cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  .ns-services {
    padding: 65px 0 75px;
  }

  .ns-services__inner {
    width: calc(100% - 32px);
  }

  .ns-services__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ns-services__image {
    aspect-ratio: 16 / 10;
  }

  .ns-services__body {
    padding: 26px 23px 28px;
  }

  .ns-services__body h3 {
    font-size: 25px;
  }

  .ns-services__cta {
    gap: 24px;
    margin-top: 35px;
    padding: 30px 23px;
  }

  .ns-services__cta h3 {
    font-size: 22px;
  }

  .ns-services__cta-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-services__card,
  .ns-services__image img,
  .ns-services__link span,
  .ns-services__cta-button {
    transition: none;
  }
}

/* ==========================================
   TOP - OUR STRENGTHS
   ニッコウ柴田の強み
========================================== */

.ns-strengths,
.ns-strengths * {
  box-sizing: border-box;
}

.ns-strengths {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0 110px;
  background: #fff;
  color: #182b3a;
}

.ns-strengths__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* 4項目 */
.ns-strengths__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #dde3e7;
  border-bottom: 1px solid #dde3e7;
}

.ns-strengths__item {
  position: relative;
  min-width: 0;
  padding: 42px 30px 45px;
  border-right: 1px solid #dde3e7;
  background: #fff;
}

.ns-strengths__item:first-child {
  border-left: 1px solid #dde3e7;
}

.ns-strengths__number {
  margin: 0 0 24px;
  color: #e89a34;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ns-strengths__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #f7eee3;
  color: #d98225;
}

.ns-strengths__icon svg {
  width: 34px;
  height: 34px;
}

.ns-strengths__item h3 {
  margin: 0 0 16px;
  color: #182b3a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
}

.ns-strengths__item p:last-child {
  margin: 0;
  color: #65717b;
  font-size: 14px;
  line-height: 1.9;
}

/* 下部メッセージ */
.ns-strengths__message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 50px;
  padding: 42px 46px;
  border-radius: 8px;
  background: #f3f5f7;
}

.ns-strengths__message-en {
  margin: 0 0 10px;
  color: #d98225;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.ns-strengths__message h3 {
  margin: 0 0 12px;
  color: #182b3a;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-strengths__message-text > p:last-child {
  margin: 0;
  color: #65717b;
  font-size: 14px;
  line-height: 1.8;
}

.ns-strengths__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-shrink: 0;
  min-width: 250px;
  padding: 18px 24px;
  border-radius: 4px;
  background: #e89a34;
  color: #182b3a !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    background .2s ease,
    transform .2s ease;
}

.ns-strengths__button:hover {
  background: #ffc06c;
  transform: translateY(-2px);
}

/* タブレット */
@media (max-width: 1024px) {

  .ns-strengths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ns-strengths__item:nth-child(2) {
    border-right: 1px solid #dde3e7;
  }

  .ns-strengths__item:nth-child(3),
  .ns-strengths__item:nth-child(4) {
    border-top: 1px solid #dde3e7;
  }

  .ns-strengths__item:nth-child(3) {
    border-left: 1px solid #dde3e7;
  }

  .ns-strengths__message {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* スマートフォン */
@media (max-width: 767px) {

  .ns-strengths {
    padding: 65px 0 75px;
  }

  .ns-strengths__inner {
    width: calc(100% - 32px);
  }

  .ns-strengths__grid {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .ns-strengths__item,
  .ns-strengths__item:first-child,
  .ns-strengths__item:nth-child(3) {
    border-right: 1px solid #dde3e7;
    border-left: 1px solid #dde3e7;
    border-bottom: 1px solid #dde3e7;
  }

  .ns-strengths__item:nth-child(3),
  .ns-strengths__item:nth-child(4) {
    border-top: 0;
  }

  .ns-strengths__item {
    padding: 30px 24px 34px;
  }

  .ns-strengths__number {
    margin-bottom: 18px;
  }

  .ns-strengths__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
  }

  .ns-strengths__icon svg {
    width: 30px;
    height: 30px;
  }

  .ns-strengths__item h3 {
    font-size: 19px;
  }

  .ns-strengths__message {
    gap: 26px;
    margin-top: 35px;
    padding: 30px 24px;
  }

  .ns-strengths__message h3 {
    font-size: 22px;
  }

  .ns-strengths__button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-strengths__button {
    transition: none;
  }
}


/* ==========================================
   TOP - HOW IT WORKS
   ご依頼の流れ
========================================== */

.ns-flow,
.ns-flow * {
  box-sizing: border-box;
}

.ns-flow {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0 110px;
  background: #f3f5f7;
  color: #182b3a;
}

.ns-flow__inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* 4ステップ */

.ns-flow__steps {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 0 auto;
}

/* 縦の接続ライン */

.ns-flow__steps::before {
  content: "";
  position: absolute;
  top: 50px;
  bottom: 50px;
  left: 49px;
  width: 2px;
  background: #e89a34;
  opacity: .45;
}

/* 各ステップ */

.ns-flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 100px 90px minmax(0, 1fr);
  align-items: center;
  gap: 25px;
  min-height: 175px;
  padding: 28px 35px 28px 0;
  border: 1px solid #e2e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(24,43,58,.035);
}

/* STEP番号 */

.ns-flow__number {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border: 7px solid #fff;
  border-radius: 50%;
  background: #182b3a;
  color: #fff;
  text-align: center;
}

.ns-flow__number span {
  color: #f0b55d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ns-flow__number strong {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

/* アイコン */

.ns-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff0df;
  color: #d98225;
}

.ns-flow__icon svg {
  width: 42px;
  height: 42px;
}

/* 説明文 */

.ns-flow__content h3 {
  margin: 0 0 12px;
  color: #182b3a;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}

.ns-flow__content p {
  margin: 0;
  color: #64717b;
  font-size: 15px;
  line-height: 1.9;
}

/* CTA */

.ns-flow__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 60px;
  padding: 42px 45px;
  border-radius: 10px;
  background: #182b3a;
  color: #fff;
}

.ns-flow__cta-label {
  margin: 0 0 10px;
  color: #f0b55d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.ns-flow__cta h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(23px, 2.7vw, 32px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-flow__cta-text > p:last-child {
  margin: 0;
  color: #dfe7ed;
  font-size: 15px;
  line-height: 1.8;
}

.ns-flow__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-shrink: 0;
  min-width: 260px;
  padding: 19px 26px;
  border-radius: 4px;
  background: #e89a34;
  color: #182b3a !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    background .2s ease,
    transform .2s ease;
}

.ns-flow__button:hover {
  background: #ffc06c;
  transform: translateY(-2px);
}

.ns-flow__sp {
  display: none;
}

/* タブレット */

@media (max-width: 1024px) {
  .ns-flow__step {
    grid-template-columns: 100px 70px minmax(0, 1fr);
    gap: 20px;
    padding-right: 25px;
  }

  .ns-flow__icon {
    width: 65px;
    height: 65px;
  }

  .ns-flow__icon svg {
    width: 35px;
    height: 35px;
  }

  .ns-flow__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  .ns-flow {
    padding: 65px 0 75px;
  }

  .ns-flow__inner {
    width: calc(100% - 32px);
  }

  .ns-flow__steps {
    gap: 18px;
  }

  .ns-flow__steps::before {
    top: 35px;
    bottom: 35px;
    left: 35px;
  }

  .ns-flow__step {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 22px 16px 25px 0;
  }

  .ns-flow__number {
    width: 70px;
    height: 70px;
    border-width: 5px;
  }

  .ns-flow__number span {
    font-size: 9px;
  }

  .ns-flow__number strong {
    font-size: 23px;
  }

  .ns-flow__icon {
    display: none;
  }

  .ns-flow__content h3 {
    margin: 8px 0 10px;
    font-size: 19px;
  }

  .ns-flow__content p {
    font-size: 14px;
    line-height: 1.85;
  }

  .ns-flow__cta {
    gap: 26px;
    margin-top: 35px;
    padding: 32px 24px;
  }

  .ns-flow__cta h3 {
    font-size: 23px;
  }

  .ns-flow__cta-text > p:last-child {
    font-size: 14px;
  }

  .ns-flow__button {
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }

  .ns-flow__sp {
    display: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-flow__button {
    transition: none;
  }
}


/* ==========================================
   TOP - SERVICE AREA
   対応エリア
========================================== */

.ns-area,
.ns-area * {
  box-sizing: border-box;
}

.ns-area {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0 110px;
  background: #fff;
  color: #182b3a;
}

.ns-area__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* 左右2カラム */

.ns-area__content {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 55px;
  align-items: stretch;
}

/* 地域情報 */

.ns-area__info {
  min-width: 0;
}

.ns-area__eyebrow {
  margin: 0 0 18px;
  color: #d98225;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
}

.ns-area__info > h3 {
  margin: 0 0 25px;
  color: #182b3a;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-area__info > h3 span {
  color: #d98225;
}

.ns-area__description {
  margin: 0 0 32px;
  color: #64717b;
  font-size: 15px;
  line-height: 2;
}

/* 地域カード */

.ns-area__region {
  margin-bottom: 16px;
  padding: 24px 26px;
  border: 1px solid #f0d5b3;
  border-radius: 8px;
  background: #fff7ed;
}

.ns-area__region--sub {
  border-color: #e5e9ed;
  background: #f5f7f8;
}

.ns-area__region-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #d98225;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ns-area__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e89a34;
}

.ns-area__region h4 {
  margin: 0 0 10px;
  color: #182b3a;
  font-size: 19px;
  font-weight: 800;
}

.ns-area__region p {
  margin: 0;
  color: #596773;
  font-size: 14px;
  line-height: 1.9;
}

/* ボタン */

.ns-area__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 22px;
  padding: 18px 25px;
  border-radius: 4px;
  background: #e89a34;
  color: #182b3a !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    background .2s ease,
    transform .2s ease;
}

.ns-area__button:hover {
  background: #ffc06c;
  transform: translateY(-2px);
}

/* 右側写真 */

.ns-area__visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 10px;
  background: #d5dce1;
}

.ns-area__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ns-area__visual-label {
  position: absolute;
  right: 0;
  bottom: 35px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 25px;
  padding: 22px 26px;
  border-left: 4px solid #e89a34;
  border-radius: 3px;
  background: rgba(24,43,58,.93);
  color: #fff;
}

.ns-area__visual-label span {
  color: #f0b55d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

.ns-area__visual-label strong {
  font-size: 20px;
  line-height: 1.5;
}

/* 補足 */

.ns-area__notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding: 18px 22px;
  border: 1px solid #e5e9ed;
  border-radius: 6px;
  background: #f5f7f8;
}

.ns-area__notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border: 1px solid #a9b5be;
  border-radius: 50%;
  color: #667682;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.ns-area__notice p {
  margin: 0;
  color: #64717b;
  font-size: 13px;
  line-height: 1.8;
}

/* タブレット */

@media (max-width: 1024px) {
  .ns-area__content {
    gap: 30px;
  }

  .ns-area__visual {
    min-height: 450px;
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  .ns-area {
    padding: 65px 0 75px;
  }

  .ns-area__inner {
    width: calc(100% - 32px);
  }

  .ns-area__content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .ns-area__info > h3 {
    font-size: 28px;
  }

  .ns-area__description {
    font-size: 14px;
  }

  .ns-area__region {
    padding: 22px 20px;
  }

  .ns-area__region h4 {
    font-size: 18px;
  }

  .ns-area__button {
    width: 100%;
    justify-content: space-between;
  }

  .ns-area__visual {
    min-height: 360px;
  }

  .ns-area__visual-label {
    right: 15px;
    bottom: 20px;
    left: 15px;
    margin: 0;
    padding: 18px 20px;
  }

  .ns-area__visual-label strong {
    font-size: 18px;
  }

  .ns-area__notice {
    align-items: flex-start;
    margin-top: 28px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-area__button {
    transition: none;
  }
}


/* ==========================================
   TOP - FAQ
   よくある質問
========================================== */

.ns-faq,
.ns-faq * {
  box-sizing: border-box;
}

.ns-faq {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0 110px;
  background: #f3f5f7;
  color: #182b3a;
}

.ns-faq__inner {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
}

/* FAQ一覧 */

.ns-faq__list {
  display: grid;
  gap: 14px;
}

/* アコーディオン */

.ns-faq__item {
  overflow: hidden;
  border: 1px solid #e0e5e9;
  border-radius: 8px;
  background: #fff;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.ns-faq__item[open] {
  border-color: #e9c296;
  box-shadow: 0 5px 20px rgba(24,43,58,.04);
}

/* 質問 */

.ns-faq__question {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 25px 28px;
  cursor: pointer;
  list-style: none;
}

.ns-faq__question::-webkit-details-marker {
  display: none;
}

.ns-faq__question::marker {
  content: "";
}

.ns-faq__question:hover {
  background: #fffcf8;
}

.ns-faq__question:focus-visible {
  outline: 3px solid #e89a34;
  outline-offset: -4px;
}

.ns-faq__q {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff0df;
  color: #d98225;
  font-size: 22px;
  font-weight: 800;
}

.ns-faq__question-text {
  flex: 1;
  color: #182b3a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}

/* 開閉アイコン */

.ns-faq__toggle {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f3f5;
}

.ns-faq__toggle::before,
.ns-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #d98225;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.ns-faq__toggle::before {
  width: 12px;
  height: 2px;
}

.ns-faq__toggle::after {
  width: 2px;
  height: 12px;
}

.ns-faq__item[open] .ns-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* 回答 */

.ns-faq__answer {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin: 0 28px;
  padding: 24px 0 28px;
  border-top: 1px solid #edf0f2;
}

.ns-faq__a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #182b3a;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.ns-faq__answer p {
  flex: 1;
  margin: 6px 0 0;
  color: #586773;
  font-size: 15px;
  line-height: 2;
}

/* 下部CTA */

.ns-faq__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 55px;
  padding: 42px 45px;
  border-radius: 10px;
  background: #182b3a;
  color: #fff;
}

.ns-faq__cta-en {
  margin: 0 0 12px;
  color: #f0b55d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.ns-faq__cta h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-faq__cta-content > p:last-child {
  margin: 0;
  color: #dfe7ed;
  font-size: 14px;
  line-height: 1.9;
}

.ns-faq__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-shrink: 0;
  min-width: 240px;
  padding: 18px 24px;
  border-radius: 4px;
  background: #e89a34;
  color: #182b3a !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    background .2s ease,
    transform .2s ease;
}

.ns-faq__button:hover {
  background: #ffc06c;
  transform: translateY(-2px);
}

/* タブレット */

@media (max-width: 1024px) {
  .ns-faq__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  .ns-faq {
    padding: 65px 0 75px;
  }

  .ns-faq__inner {
    width: calc(100% - 32px);
  }

  .ns-faq__list {
    gap: 10px;
  }

  .ns-faq__question {
    gap: 13px;
    padding: 20px 16px;
  }

  .ns-faq__q,
  .ns-faq__a {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .ns-faq__question-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .ns-faq__toggle {
    width: 25px;
    height: 25px;
  }

  .ns-faq__answer {
    gap: 13px;
    margin: 0 16px;
    padding: 19px 0 23px;
  }

  .ns-faq__answer p {
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.85;
  }

  .ns-faq__cta {
    gap: 25px;
    margin-top: 35px;
    padding: 32px 23px;
  }

  .ns-faq__cta h3 {
    font-size: 22px;
  }

  .ns-faq__button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-faq__item,
  .ns-faq__toggle::before,
  .ns-faq__toggle::after,
  .ns-faq__button {
    transition: none;
  }
}


/* ==========================================
   TOP - CONTACT
   お問い合わせ
========================================== */

.ns-contact,
:is(.ns-contact, .ns-detail-contact) * {
  box-sizing: border-box;
}

:is(.ns-contact, .ns-detail-contact) {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0 110px;
  background: #182b3a;
  color: #fff;
}

.ns-contact__inner {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
}

/* セクション見出し */

.ns-contact__heading {
  margin: 0 auto 55px;
  text-align: center;
}

.ns-contact__en {
  margin: 0 0 12px;
  color: #f0b55d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .17em;
}

.ns-contact__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-contact__heading-line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 22px auto;
  background: #e89a34;
}

.ns-contact__heading > p:last-child {
  margin: 0;
  color: #dce5eb;
  font-size: 16px;
  line-height: 1.9;
}

/* フォーム全体 */

.ns-contact__form-wrap {
  text-align: left;
  padding: 55px 60px 60px;
  border-radius: 12px;
  background: #fff;
  color: #182b3a;
  box-shadow: 0 15px 45px rgba(0,0,0,.1);
}

/* フォーム見出し */

.ns-contact__form-heading {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  text-align: left;
}

.ns-contact__form-en {
  margin: 0 0 12px;
  color: #d98225;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}

.ns-contact__form-heading h3 {
  margin: 0 0 15px;
  color: #182b3a;
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-contact__form-heading > p:last-child {
  margin: 0;
  color: #66737d;
  font-size: 14px;
  line-height: 1.9;
}

/* ==========================================
   CONTACT / PHONE + FAX + WEB FORM
   Current CF7 layout: .ns-contact__quick
   Previous phone/fax overrides removed.
========================================== */

/* The form wrapper is shared by the homepage and all service pages. */
.ns-contact .ns-contact__form-wrap {
  color: #182b3a;
  text-align: left;
}

.ns-contact .ns-contact__form-heading h3,
.ns-contact .ns-contact__web-heading h4,
.ns-contact .ns-contact__field > label {
  color: #182b3a;
}

.ns-contact .ns-contact__form-heading > p:last-child,
.ns-contact .ns-contact__web-heading > p {
  color: #64717b;
}

/* Tightly packed call/fax cards: no flex stretching or fixed card height. */
.ns-contact__quick {
  width: 100%;
  margin: 0;
  padding: 0;
}

.ns-contact__quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.ns-contact .ns-contact__quick-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: start;
  row-gap: 8px;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 19px 22px 20px;
  border: 1px solid #e1e6ea;
  border-radius: 8px;
  background: #fff;
  color: #182b3a;
  text-align: left;
  box-shadow: none;
}

.ns-contact__quick-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  color: #182b3a;
  font-size: 14px;
  line-height: 1.5;
}

.ns-contact__quick-label strong {
  color: #182b3a;
  font-weight: 800;
}

.ns-contact__quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff0df;
  color: #d98225;
  font-size: 19px;
}

.ns-contact .ns-contact__quick-card > .ns-contact__quick-number {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #182b3a !important;
  font-size: clamp(21px, 2.35vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: left;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}

.ns-contact a.ns-contact__quick-number:hover {
  color: #d98225 !important;
}

.ns-contact .ns-contact__quick-card > .ns-contact__quick-note {
  margin: 0;
  color: #64717b;
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
}

/* WordPress/CF7 auto-generated empty paragraphs must not inflate cards. */
.ns-contact__quick-card > p:empty,
.ns-contact__quick > p:empty {
  display: none;
}

.ns-contact__web-heading {
  margin: 27px 0 23px;
  padding-top: 24px;
  border-top: 1px solid #dce3e8;
  text-align: left;
}

.ns-contact__web-heading h4 {
  margin: 0 0 7px;
  color: #182b3a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.ns-contact .ns-contact__web-heading p {
  margin: 0;
  color: #64717b;
  font-size: 14px;
  line-height: 1.8;
}

.ns-contact .ns-contact__fields {
  margin-top: 0;
}

.ns-contact .ns-contact__privacy,
.ns-contact .ns-contact__privacy .wpcf7-list-item-label {
  color: #344754;
}

@media (max-width: 767px) {
  .ns-contact__quick-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ns-contact .ns-contact__quick-card {
    padding: 18px 19px;
  }

  .ns-contact .ns-contact__quick-card > .ns-contact__quick-number {
    font-size: 25px;
  }

  .ns-contact__web-heading {
    margin-top: 25px;
    padding-top: 21px;
  }

  .ns-contact__web-heading h4 {
    font-size: 19px;
  }
}

/* 入力欄 */

.ns-contact__fields {
  display: grid;
  gap: 27px;
}

.ns-contact__field {
  min-width: 0;
}

.ns-contact__field > label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: #182b3a;
  font-size: 15px;
  font-weight: 800;
}

.ns-contact__required {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  background: #fff0e9;
  color: #c54b28;
  font-size: 11px;
  font-weight: 800;
}

/* 2カラム */

.ns-contact__two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

/* CF7 入力項目 */

:is(.ns-contact, .ns-detail-contact) input[type="text"],
:is(.ns-contact, .ns-detail-contact) input[type="email"],
:is(.ns-contact, .ns-detail-contact) input[type="tel"],
:is(.ns-contact, .ns-detail-contact) input[type="date"],
:is(.ns-contact, .ns-detail-contact) select,
:is(.ns-contact, .ns-detail-contact) textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #dce2e7;
  border-radius: 5px;
  outline: none;
  background: #fafbfc;
  color: #182b3a;
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

:is(.ns-contact, .ns-detail-contact) input:focus,
:is(.ns-contact, .ns-detail-contact) select:focus,
:is(.ns-contact, .ns-detail-contact) textarea:focus {
  border-color: #e89a34;
  box-shadow: 0 0 0 3px rgba(232,154,52,.12);
}

:is(.ns-contact, .ns-detail-contact) input::placeholder,
:is(.ns-contact, .ns-detail-contact) textarea::placeholder {
  color: #9aa5ae;
}

:is(.ns-contact, .ns-detail-contact) textarea {
  min-height: 170px;
  resize: vertical;
}

/* 作業種別チェックボックス */

:is(.ns-contact, .ns-detail-contact) .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

:is(.ns-contact, .ns-detail-contact) .wpcf7-list-item {
  margin: 0;
}

:is(.ns-contact, .ns-detail-contact) .wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 15px;
  border: 1px solid #e0e5e9;
  border-radius: 5px;
  background: #fafbfc;
  cursor: pointer;
}

:is(.ns-contact, .ns-detail-contact) .wpcf7-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #e89a34;
}

:is(.ns-contact, .ns-detail-contact) .wpcf7-list-item-label {
  color: #344754;
  font-size: 14px;
  font-weight: 600;
}

/* 相談内容の区切り */

.ns-contact__divider {
  margin: 8px 0 0;
  padding: 15px 0;
  border-bottom: 2px solid #e89a34;
  color: #182b3a;
  font-size: 19px;
  font-weight: 800;
}

/* 注意事項 */

.ns-contact__notice {
  padding: 19px 22px;
  border-left: 4px solid #e89a34;
  border-radius: 4px;
  background: #fff7ec;
  color: #82551c;
  font-size: 13px;
  line-height: 1.9;
}

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

.ns-contact__privacy {
  text-align: center;
}

.ns-contact__privacy .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.ns-contact__privacy input {
  width: 18px;
  height: 18px;
  accent-color: #e89a34;
}

.ns-contact__privacy .wpcf7-list-item-label {
  font-size: 14px;
}

/* 送信ボタン */

.ns-contact__submit {
  text-align: center;
}

:is(.ns-contact, .ns-detail-contact) input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  min-height: 64px;
  padding: 18px 30px;
  border: 0;
  border-radius: 5px;
  background: #e89a34;
  color: #182b3a;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background .2s ease,
    transform .2s ease;
}

:is(.ns-contact, .ns-detail-contact) input[type="submit"]:hover {
  background: #ffc06c;
  transform: translateY(-2px);
}

:is(.ns-contact, .ns-detail-contact) .wpcf7-spinner {
  display: block;
  margin: 15px auto 0;
}

/* エラー表示 */

:is(.ns-contact, .ns-detail-contact) .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #c94332;
  font-size: 12px;
}

:is(.ns-contact, .ns-detail-contact) .wpcf7-response-output {
  margin: 25px 0 0 !important;
  padding: 16px 20px !important;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.8;
}

/* タブレット */

@media (max-width: 1024px) {
  .ns-contact__form-wrap {
    padding: 45px 38px;
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  :is(.ns-contact, .ns-detail-contact) {
    padding: 65px 0 75px;
  }

  .ns-contact__inner {
    width: calc(100% - 32px);
  }

  .ns-contact__heading {
    margin-bottom: 35px;
  }

  .ns-contact__heading > p:last-child {
    font-size: 14px;
  }

  .ns-contact__form-wrap {
    padding: 32px 20px 38px;
    border-radius: 8px;
  }

  .ns-contact__form-heading {
    margin-bottom: 22px;
  }

  .ns-contact__form-heading h3 {
    font-size: 23px;
  }

  .ns-contact__fields {
    gap: 23px;
  }

  .ns-contact__two-col,
  :is(.ns-contact, .ns-detail-contact) .wpcf7-checkbox {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ns-contact__field > label {
    font-size: 14px;
  }

  :is(.ns-contact, .ns-detail-contact) input[type="submit"] {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.ns-contact, .ns-detail-contact) input,
  :is(.ns-contact, .ns-detail-contact) select,
  :is(.ns-contact, .ns-detail-contact) textarea {
    transition: none;
  }
}


/* ==========================================
   COMMON FOOTER
========================================== */

.ns-footer,
.ns-footer * {
  box-sizing: border-box;
}

.ns-footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 75px 0 0;
  background: #182b3a;
  color: #fff;
}

.ns-footer__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* メイン4カラム */

.ns-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr .75fr .95fr 1.3fr;
  gap: 45px;
  padding-bottom: 65px;
}

/* 会社紹介 */

.ns-footer__logo {
  display: inline-block;
  margin-bottom: 5px;
  color: #fff !important;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none !important;
}

.ns-footer__logo span {
  color: #e89a34;
}

.ns-footer__tagline {
  margin: 0 0 25px;
  color: #aebfca;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.ns-footer__description {
  margin: 0 0 20px;
  color: #d7e1e7;
  font-size: 13px;
  line-height: 2;
}

.ns-footer__area {
  margin: 0;
  color: #aebfca;
  font-size: 12px;
  line-height: 1.8;
}

/* ナビゲーション */

.ns-footer__nav h3 {
  position: relative;
  margin: 0 0 30px;
  padding-bottom: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.ns-footer__nav h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: #e89a34;
}

.ns-footer__nav ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ns-footer__nav li {
  margin: 0;
  padding: 0;
}

.ns-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7e1e7 !important;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none !important;
  transition:
    color .2s ease,
    transform .2s ease;
}

.ns-footer__nav a::before {
  content: "›";
  color: #e89a34;
  font-size: 18px;
  line-height: 1;
}

.ns-footer__nav a:hover {
  color: #f0b55d !important;
  transform: translateX(3px);
}

/* お問い合わせ */

.ns-footer__contact {
  align-self: start;
  padding: 28px 25px 30px;
  border: 1px solid #405462;
  border-radius: 8px;
  background: #223948;
}

.ns-footer__contact-en {
  margin: 0 0 12px;
  color: #f0b55d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.ns-footer__contact h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
}

.ns-footer__contact > p:not(.ns-footer__contact-en) {
  margin: 0;
  color: #d7e1e7;
  font-size: 13px;
  line-height: 1.9;
}

.ns-footer__contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
  padding: 16px 18px;
  border-radius: 4px;
  background: #e89a34;
  color: #182b3a !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none !important;
  transition: background .2s ease;
}

.ns-footer__contact-button:hover {
  background: #ffc06c;
}

/* コピーライト */

.ns-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid #405462;
}

.ns-footer__bottom p {
  margin: 0;
  color: #aebfca;
  font-size: 12px;
  line-height: 1.8;
}

.ns-footer__pagetop {
  color: #f0b55d !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none !important;
}

.ns-footer__pagetop:hover {
  color: #fff !important;
}

/* タブレット */

@media (max-width: 1024px) {
  .ns-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 35px;
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  .ns-footer {
    padding-top: 55px;
  }

  .ns-footer__inner {
    width: calc(100% - 36px);
  }

  .ns-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 20px;
    padding-bottom: 45px;
  }

  .ns-footer__about,
  .ns-footer__contact {
    grid-column: 1 / -1;
  }

  .ns-footer__logo {
    font-size: 26px;
  }

  .ns-footer__tagline {
    margin-bottom: 18px;
  }

  .ns-footer__nav h3 {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .ns-footer__nav ul {
    gap: 13px;
  }

  .ns-footer__nav a {
    font-size: 12px;
  }

  .ns-footer__contact {
    padding: 28px 23px;
  }

  .ns-footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 23px 0;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-footer__nav a,
  .ns-footer__contact-button {
    transition: none;
  }
}

/* ==========================================
   NIKKOU SHIBATA
   SERVICE DETAIL PAGE
========================================== */

.ns-detail,
.ns-detail * {
  box-sizing: border-box;
}

.ns-detail {
  --nd-navy: #182b3a;
  --nd-orange: #e89a34;
  --nd-gray: #f3f5f7;

  width: 100%;
  color: var(--nd-navy);
}

.ns-detail > section {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.ns-detail-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.ns-detail-en {
  margin: 0 0 15px;
  color: #d98225;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

/* 共通見出し */

.ns-detail-heading {
  margin-bottom: 50px;
  text-align: center;
}

.ns-detail-heading h2 {
  margin: 0 0 18px;
  color: var(--nd-navy);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-detail-heading h2 span {
  color: #d98225;
}

.ns-detail-heading > p:last-child {
  margin: 0;
  color: #64717b;
  font-size: 15px;
  line-height: 1.9;
}

/* ==========================================
   HERO
========================================== */

.ns-detail-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  background: var(--nd-navy);
  color: #fff;
}

.ns-detail-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;

  /* 写真URLをここに設定 */
  background-image: url("ここに土木HERO写真URL");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ns-detail-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(13,27,39,.94) 0%,
    rgba(13,27,39,.77) 42%,
    rgba(13,27,39,.16) 100%
  );
}

.ns-detail-hero__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0;
}

.ns-detail-hero__en {
  margin: 0 0 24px;
  color: #f1b45d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}

.ns-detail-hero h1 {
  max-width: 950px;
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(35px, 5vw, 65px);
  font-weight: 800;
  line-height: 1.35;
}

.ns-detail-hero h1 span {
  color: #ffc06c;
}

.ns-detail-hero__lead {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.7;
}

.ns-detail-hero__text {
  max-width: 660px;
  margin: 0;
  color: #e1e8ed;
  font-size: 15px;
  line-height: 2;
}

.ns-detail-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.ns-detail-hero__tags span {
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* ボタン */

.ns-detail-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 36px;
}

.ns-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 58px;
  padding: 16px 25px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    background .2s ease,
    transform .2s ease;
}

.ns-detail-btn:hover {
  transform: translateY(-2px);
}

.ns-detail-btn--orange {
  background: var(--nd-orange);
  color: var(--nd-navy) !important;
}

.ns-detail-btn--orange:hover {
  background: #ffc06c;
}

.ns-detail-btn--outline {
  border-color: #fff;
  color: #fff !important;
}

.ns-detail-btn--outline:hover {
  background: #fff;
  color: var(--nd-navy) !important;
}

/* ==========================================
   INTRO
========================================== */

.ns-detail-intro {
  padding: 105px 0;
  background: #fff;
}

.ns-detail-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}

.ns-detail-intro__content h2 {
  margin: 0 0 28px;
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-detail-intro__content h2 span {
  color: #d98225;
}

.ns-detail-intro__content > p:not(.ns-detail-en) {
  color: #566570;
  font-size: 15px;
  line-height: 2.1;
}

.ns-detail-intro__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #d9e0e5;
}

.ns-detail-intro__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   対応業務
========================================== */

.ns-detail-services {
  padding: 100px 0;
  background: var(--nd-gray);
}

.ns-detail-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 25px;
}

.ns-detail-services__card {
  position: relative;
  padding: 38px;
  border: 1px solid #e0e5e9;
  border-radius: 9px;
  background: #fff;
}

.ns-detail-services__number {
  position: absolute;
  top: 25px;
  right: 30px;
  color: #e5e8eb;
  font-size: 30px;
  font-weight: 800;
}

.ns-detail-services__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #fff0df;
  color: #d98225;
  font-size: 27px;
}

.ns-detail-services__card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}

.ns-detail-services__card > p {
  margin: 0 0 22px;
  color: #64717b;
  font-size: 14px;
  line-height: 1.9;
}

.ns-detail-services__card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ns-detail-services__card li {
  position: relative;
  padding-left: 20px;
  color: #344754;
  font-size: 14px;
  line-height: 1.7;
}

.ns-detail-services__card li::before {
  content: "";
  position: absolute;
  top: .65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nd-orange);
}

.ns-detail-note {
  margin: 25px 0 0;
  color: #73808a;
  font-size: 12px;
  line-height: 1.9;
}

/* ==========================================
   対応現場
========================================== */

.ns-detail-scenes {
  padding: 100px 0;
  background: #fff;
}

.ns-detail-scenes__grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
}

.ns-detail-scenes__card {
  overflow: hidden;
  border: 1px solid #e4e8eb;
  border-radius: 9px;
  background: #fff;
}

.ns-detail-scenes__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9e0e5;
}

.ns-detail-scenes__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-detail-scenes__body {
  padding: 25px;
}

.ns-detail-scenes__body span {
  color: #d98225;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.ns-detail-scenes__body h3 {
  margin: 12px 0;
  font-size: 22px;
  font-weight: 800;
}

.ns-detail-scenes__body p {
  margin: 0;
  color: #64717b;
  font-size: 14px;
  line-height: 1.9;
}

/* ==========================================
   当社の特徴
========================================== */

.ns-detail-strengths {
  padding: 100px 0;
  background: var(--nd-gray);
}

.ns-detail-strengths__grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}

.ns-detail-strengths__grid article {
  padding: 32px 26px;
  border-top: 4px solid var(--nd-orange);
  border-radius: 5px;
  background: #fff;
}

.ns-detail-strengths__grid article span {
  display: block;
  margin-bottom: 25px;
  color: #d98225;
  font-size: 24px;
  font-weight: 800;
}

.ns-detail-strengths__grid h3 {
  margin: 0 0 15px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}

.ns-detail-strengths__grid p {
  margin: 0;
  color: #64717b;
  font-size: 14px;
  line-height: 1.9;
}

/* ==========================================
   安全管理
========================================== */

.ns-detail-safety {
  padding: 100px 0;
  background: #fff;
}

.ns-detail-safety__box {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 55px;
}

.ns-detail-safety h2 {
  margin: 0 0 20px;
  font-size: clamp(27px,3vw,38px);
  font-weight: 800;
}

.ns-detail-safety__lead {
  color: #566570;
  font-size: 16px;
  line-height: 1.9;
}

.ns-detail-safety ul {
  display: grid;
  gap: 13px;
  margin: 25px 0;
  padding-left: 25px;
  line-height: 1.8;
}

.ns-detail-safety li::marker {
  color: #d98225;
}

.ns-detail-safety__panel {
  padding: 45px 32px;
  border-left: 5px solid var(--nd-orange);
  border-radius: 5px;
  background: var(--nd-navy);
  color: #fff;
}

.ns-detail-safety__panel strong {
  display: block;
  margin-bottom: 20px;
  color: #ffc06c;
  font-size: 23px;
  line-height: 1.5;
}

.ns-detail-safety__panel p {
  margin: 0;
  color: #e1e8ed;
  font-size: 14px;
  line-height: 2;
}

/* ==========================================
   ご依頼の流れ
========================================== */

.ns-detail-flow {
  padding: 100px 0;
  background: var(--nd-gray);
}

.ns-detail-flow__grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}

.ns-detail-flow__grid article {
  padding: 30px 25px;
  border: 1px solid #e3e8ec;
  border-radius: 8px;
  background: #fff;
}

.ns-detail-flow__grid article span {
  display: block;
  margin-bottom: 22px;
  color: #d98225;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}

.ns-detail-flow__grid h3 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 800;
}

.ns-detail-flow__grid p {
  margin: 0;
  color: #64717b;
  font-size: 14px;
  line-height: 1.9;
}

/* ==========================================
   FAQ
========================================== */

.ns-detail-faq {
  padding: 100px 0;
  background: #fff;
}

.ns-detail-faq .ns-detail-container {
  max-width: 950px;
}

.ns-detail-faq__list {
  display: grid;
  gap: 14px;
}

.ns-detail-faq details {
  overflow: hidden;
  border: 1px solid #e1e6ea;
  border-radius: 8px;
}

.ns-detail-faq details[open] {
  border-color: #edc99e;
}

.ns-detail-faq summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 23px;
  cursor: pointer;
  color: var(--nd-navy);
  font-size: 16px;
  font-weight: 800;
  list-style: none;
}

.ns-detail-faq summary::-webkit-details-marker {
  display: none;
}

.ns-detail-faq summary::after {
  content: "+";
  margin-left: auto;
  color: #d98225;
  font-size: 24px;
}

.ns-detail-faq details[open] summary::after {
  content: "−";
}

.ns-detail-faq summary span {
  color: #d98225;
  font-size: 22px;
}

.ns-detail-faq details > div {
  margin: 0 23px;
  padding: 22px 0 27px;
  border-top: 1px solid #edf0f2;
  color: #586773;
  font-size: 15px;
  line-height: 2;
}

/* ==========================================
   CONTACT CTA
========================================== */

.ns-detail-contact {
  padding: 90px 0 100px;
  background: var(--nd-navy);
  color: #fff;
  text-align: center;
}

.ns-detail-contact__en {
  color: #f1b45d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}

.ns-detail-contact h2 {
  margin: 20px 0;
  color: #fff;
  font-size: clamp(30px,4vw,45px);
  font-weight: 800;
  line-height: 1.5;
}

.ns-detail-contact h2 span {
  color: #ffc06c;
}

.ns-detail-contact > .ns-detail-container > p:not(.ns-detail-contact__en) {
  color: #e1e8ed;
  font-size: 15px;
  line-height: 2;
}

.ns-detail-contact .ns-detail-btn {
  margin-top: 25px;
}

.ns-detail-contact__note {
  margin-top: 23px;
  font-size: 12px !important;
}


/* 詳細ページのCTA内部にCF7フォームを設置した場合も、
   トップページと同じ白背景・濃色文字・左揃えを保つ。 */
.ns-detail-contact .ns-contact__form-wrap {
  background: #fff;
  color: #182b3a;
  text-align: left;
}

.ns-detail-contact .ns-contact__form-en {
  color: #d98225;
}

.ns-detail-contact .ns-contact__form-heading > p:last-child {
  color: #66737d;
}

.ns-detail-contact .ns-contact__field > label,
.ns-detail-contact .ns-contact__form-heading h3,
.ns-detail-contact .ns-contact__divider {
  color: #182b3a;
  text-align: left;
}

.ns-detail-contact .ns-contact__required {
  color: #c54b28;
}

.ns-detail-contact .wpcf7-list-item-label {
  color: #344754;
}

.ns-detail-contact .ns-contact__privacy {
  color: #182b3a;
  text-align: center;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:1024px) {

  .ns-detail-intro__grid {
    gap: 35px;
  }

  .ns-detail-strengths__grid,
  .ns-detail-flow__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

}

@media (max-width:767px) {

  .ns-detail-container,
  .ns-detail-hero__inner {
    width: calc(100% - 32px);
  }

  .ns-detail > section:not(.ns-detail-hero) {
    padding-top: 65px;
    padding-bottom: 70px;
  }

  .ns-detail-hero {
    min-height: 620px;
  }

  .ns-detail-hero__bg {
    background-position: 60% center;
  }

  .ns-detail-hero__overlay {
    background: linear-gradient(
      90deg,
      rgba(13,27,39,.91),
      rgba(13,27,39,.65)
    );
  }

  .ns-detail-hero__inner {
    padding: 85px 0;
  }

  .ns-detail-hero h1 {
    font-size: clamp(32px,9vw,43px);
  }

  .ns-detail-hero__lead {
    font-size: 18px;
  }

  .ns-detail-hero__text {
    font-size: 14px;
  }

  .ns-detail-hero__buttons {
    flex-direction: column;
  }

  .ns-detail-btn {
    width: 100%;
  }

  .ns-detail-heading {
    margin-bottom: 35px;
  }

  .ns-detail-intro__grid,
  .ns-detail-services__grid,
  .ns-detail-scenes__grid,
  .ns-detail-strengths__grid,
  .ns-detail-safety__box,
  .ns-detail-flow__grid {
    grid-template-columns: 1fr;
  }

  .ns-detail-intro__grid {
    gap: 30px;
  }

  .ns-detail-intro__content h2 {
    font-size: 29px;
  }

  .ns-detail-services__card {
    padding: 30px 25px;
  }

  .ns-detail-scenes__image {
    aspect-ratio: 16/10;
  }

  .ns-detail-safety__box {
    gap: 30px;
  }

  .ns-detail-contact h2 {
    font-size: 29px;
  }

}

@media (prefers-reduced-motion:reduce) {
  .ns-detail-btn {
    transition: none;
  }
}


/* ==========================================
   NIKKOU SHIBATA
   DEMOLITION DETAIL PAGE
   解体作業ページ専用CSS
========================================== */

/* HERO背景画像 */

.ns-demolition .ns-detail-hero__bg {
  background-image: url("ここに解体HERO写真URL");
  background-position: center center;
  background-size: cover;
}

/* HEROの写真を見せるための調整 */

.ns-demolition .ns-detail-hero__overlay {
  background: linear-gradient(
    90deg,
    rgba(13, 27, 39, .95) 0%,
    rgba(13, 27, 39, .82) 36%,
    rgba(13, 27, 39, .42) 70%,
    rgba(13, 27, 39, .12) 100%
  );
}

/* 対応業務のアイコン */

.ns-demolition__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #fff0df;
  color: #d98225;
}

.ns-demolition__icon svg {
  display: block;
  width: 35px;
  height: 35px;
}

/* 安全管理セクション */

.ns-demolition__safety-text {
  margin: 15px 0 0;
  color: #566570;
  font-size: 15px;
  line-height: 2;
}

/* 対応現場の写真 */

.ns-demolition .ns-detail-scenes__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.ns-demolition .ns-detail-scenes__card:hover
.ns-detail-scenes__image img {
  transform: scale(1.04);
}

/* FAQの開閉時 */

.ns-demolition .ns-detail-faq details[open] {
  background: #fffdf9;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767px) {

  .ns-demolition .ns-detail-hero__bg {
    background-position: 60% center;
  }

  .ns-demolition .ns-detail-hero__overlay {
    background: linear-gradient(
      90deg,
      rgba(13, 27, 39, .93),
      rgba(13, 27, 39, .65)
    );
  }

  .ns-demolition__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .ns-demolition__icon svg {
    width: 32px;
    height: 32px;
  }

  .ns-demolition__safety-text {
    font-size: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .ns-demolition .ns-detail-scenes__image img {
    transition: none;
  }

}



/* ==========================================
   NIKKOU SHIBATA
   CONSTRUCTION DETAIL PAGE
   建築作業ページ専用CSS
========================================== */

/* HERO背景画像 */

.ns-construction .ns-detail-hero__bg {
  background-image: url("ここに建築HERO写真URL");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* HEROグラデーション */

.ns-construction .ns-detail-hero__overlay {
  background: linear-gradient(
    90deg,
    rgba(13, 27, 39, .95) 0%,
    rgba(13, 27, 39, .82) 36%,
    rgba(13, 27, 39, .42) 70%,
    rgba(13, 27, 39, .12) 100%
  );
}

/* 対応業務アイコン */

.ns-construction__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #fff0df;
  color: #d98225;
}

.ns-construction__icon svg {
  display: block;
  width: 35px;
  height: 35px;
}

/* 安全管理セクション */

.ns-construction__safety-text {
  margin: 15px 0 0;
  color: #566570;
  font-size: 15px;
  line-height: 2;
}

/* 対応現場の写真 */

.ns-construction .ns-detail-scenes__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.ns-construction .ns-detail-scenes__card:hover
.ns-detail-scenes__image img {
  transform: scale(1.04);
}

/* 対応業務カード */

.ns-construction .ns-detail-services__card {
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.ns-construction .ns-detail-services__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(24, 43, 58, .08);
}

/* FAQの開閉時 */

.ns-construction .ns-detail-faq details[open] {
  background: #fffdf9;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767px) {

  .ns-construction .ns-detail-hero__bg {
    background-position: 60% center;
  }

  .ns-construction .ns-detail-hero__overlay {
    background: linear-gradient(
      90deg,
      rgba(13, 27, 39, .93),
      rgba(13, 27, 39, .65)
    );
  }

  .ns-construction__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .ns-construction__icon svg {
    width: 32px;
    height: 32px;
  }

  .ns-construction__safety-text {
    font-size: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .ns-construction .ns-detail-scenes__image img,
  .ns-construction .ns-detail-services__card {
    transition: none;
  }

}

/* ==========================================
   COMPANY PAGE
========================================== */

.ns-company-page,
.ns-company-page * {
  box-sizing: border-box;
}

.ns-company-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.ns-company-en {
  margin: 0 0 12px;
  color: #d98225;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

/* HERO */
.ns-company-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 90px 0 95px;
  background: #182b3a;
  color: #fff;
  text-align: center;
}

.ns-company-hero__inner {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
}

.ns-company-hero__en {
  margin: 0 0 14px;
  color: #f0b55d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.ns-company-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
}

.ns-company-hero p:last-child {
  margin: 0;
  color: #dce5eb;
  font-size: 16px;
  line-height: 1.9;
}

/* ABOUT */
.ns-company-about {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 100px 0;
  background: #fff;
}

.ns-company-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ns-company-about__text h2 {
  margin: 0 0 28px;
  color: #182b3a;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.5;
}

.ns-company-about__text h2 span {
  color: #d98225;
}

.ns-company-about__text p:not(.ns-company-en) {
  margin: 0 0 18px;
  color: #62717b;
  font-size: 15px;
  line-height: 2;
}

.ns-company-about__visual {
  overflow: hidden;
  min-height: 430px;
  border-radius: 10px;
  background: #e2e7eb;
}

.ns-company-about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HEADING */
.ns-company-heading {
  margin-bottom: 50px;
  text-align: center;
}

.ns-company-heading h2 {
  margin: 0 0 16px;
  color: #182b3a;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
}

.ns-company-heading h2 span {
  color: #d98225;
}

.ns-company-heading > p:last-child {
  margin: 0;
  color: #64717b;
  font-size: 15px;
  line-height: 1.9;
}

/* SERVICE */
.ns-company-service {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 100px 0 110px;
  background: #f3f5f7;
}

.ns-company-service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ns-company-service__grid article {
  padding: 35px 30px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e7eb;
}

.ns-company-service__grid article > span {
  color: #d98225;
  font-size: 13px;
  font-weight: 800;
}

.ns-company-service__grid h3 {
  margin: 18px 0 14px;
  color: #182b3a;
  font-size: 24px;
}

.ns-company-service__grid p {
  margin: 0;
  color: #64717b;
  font-size: 14px;
  line-height: 1.9;
}

/* AREA */
.ns-company-area {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 90px 0;
  background: #fff;
}

.ns-company-area__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 50px;
  border-radius: 10px;
  background: #182b3a;
  color: #fff;
}

.ns-company-area__box h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
}

.ns-company-area__box p {
  margin: 0 0 12px;
  color: #dce5eb;
  font-size: 14px;
  line-height: 1.9;
}

.ns-company-area__badge {
  flex-shrink: 0;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #e89a34;
  color: #182b3a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ns-company-area__badge span {
  font-size: 13px;
  letter-spacing: .15em;
}

.ns-company-area__badge strong {
  font-size: 28px;
}

/* PROFILE */
.ns-company-profile {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 100px 0 110px;
  background: #f3f5f7;
}

.ns-company-profile__table {
  max-width: 900px;
  margin: 0 auto;
}

.ns-company-profile__table dl {
  margin: 0;
  background: #fff;
  border: 1px solid #e0e5e9;
}

.ns-company-profile__table dl > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #e0e5e9;
}

.ns-company-profile__table dl > div:last-child {
  border-bottom: 0;
}

.ns-company-profile__table dt,
.ns-company-profile__table dd {
  margin: 0;
  padding: 22px 25px;
}

.ns-company-profile__table dt {
  background: #f7f8f9;
  color: #182b3a;
  font-size: 14px;
  font-weight: 800;
}

.ns-company-profile__table dd {
  color: #5d6b75;
  font-size: 14px;
  line-height: 1.8;
}

/* CONTACT */
.ns-company-contact {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 90px 0 100px;
  background: #182b3a;
  color: #fff;
  text-align: center;
}

.ns-company-contact__en {
  color: #f0b55d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
}

.ns-company-contact h2 {
  margin: 15px 0 20px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
}

.ns-company-contact h2 span {
  color: #f0b55d;
}

.ns-company-contact p:not(.ns-company-contact__en) {
  color: #dce5eb;
  line-height: 1.9;
}

.ns-company-contact__button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 18px 28px;
  border-radius: 4px;
  background: #e89a34;
  color: #182b3a !important;
  font-weight: 800;
  text-decoration: none !important;
}

@media (max-width: 767px) {

  .ns-company-about__grid,
  .ns-company-service__grid {
    grid-template-columns: 1fr;
  }

  .ns-company-about,
  .ns-company-service,
  .ns-company-profile {
    padding: 65px 0 75px;
  }

  .ns-company-area__box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .ns-company-area__badge {
    width: 140px;
    height: 140px;
  }

  .ns-company-profile__table dl > div {
    grid-template-columns: 1fr;
  }

  .ns-company-profile__table dt {
    padding-bottom: 10px;
  }

  .ns-company-profile__table dd {
    padding-top: 10px;
  }

}


/* ==========================================
   PRIVACY POLICY PAGE
========================================== */

.ns-policy-page,
.ns-policy-page * {
  box-sizing: border-box;
}

.ns-policy-container {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

/* HERO */
.ns-policy-hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 85px 0 90px;
  background: #182b3a;
  color: #fff;
  text-align: center;
}

.ns-policy-hero__inner {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
}

.ns-policy-hero__en {
  margin: 0 0 14px;
  color: #f0b55d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.ns-policy-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.4;
}

.ns-policy-hero p:last-child {
  margin: 0;
  color: #dce5eb;
  font-size: 15px;
  line-height: 1.9;
}

/* CONTENT */
.ns-policy-content {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 90px 0 100px;
  background: #f5f7f8;
}

.ns-policy-intro {
  margin-bottom: 45px;
  padding: 28px 30px;
  border-left: 4px solid #e89a34;
  background: #fff;
}

.ns-policy-intro p {
  margin: 0;
  color: #586773;
  font-size: 15px;
  line-height: 2;
}

/* 各項目 */
.ns-policy-sections {
  display: grid;
  gap: 20px;
}

.ns-policy-section {
  padding: 34px 36px 36px;
  border: 1px solid #e1e6ea;
  border-radius: 8px;
  background: #fff;
}

.ns-policy-number {
  margin: 0 0 10px;
  color: #d98225;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

.ns-policy-section h2 {
  margin: 0 0 18px;
  color: #182b3a;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.5;
}

.ns-policy-section p {
  margin: 0 0 14px;
  color: #5f6e79;
  font-size: 14px;
  line-height: 2;
}

.ns-policy-section p:last-child {
  margin-bottom: 0;
}

.ns-policy-section ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ns-policy-section li {
  position: relative;
  padding-left: 20px;
  color: #5f6e79;
  font-size: 14px;
  line-height: 1.8;
}

.ns-policy-section li::before {
  content: "";
  position: absolute;
  top: .65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e89a34;
}

/* お問い合わせ情報 */
.ns-policy-contact {
  margin-top: 24px;
  border: 1px solid #e1e6ea;
}

.ns-policy-contact dl {
  margin: 0;
}

.ns-policy-contact dl > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #e1e6ea;
}

.ns-policy-contact dl > div:last-child {
  border-bottom: 0;
}

.ns-policy-contact dt,
.ns-policy-contact dd {
  margin: 0;
  padding: 18px 20px;
}

.ns-policy-contact dt {
  background: #f6f7f8;
  color: #182b3a;
  font-size: 13px;
  font-weight: 800;
}

.ns-policy-contact dd {
  color: #5f6e79;
  font-size: 14px;
  line-height: 1.8;
}

/* 制定日 */
.ns-policy-date {
  margin-top: 35px;
  text-align: right;
}

.ns-policy-date p {
  margin: 0;
  color: #7a8790;
  font-size: 13px;
}

/* スマートフォン */
@media (max-width: 767px) {

  .ns-policy-hero {
    padding: 65px 0 70px;
  }

  .ns-policy-content {
    padding: 60px 0 70px;
  }

  .ns-policy-container {
    width: calc(100% - 32px);
  }

  .ns-policy-intro {
    padding: 22px 20px;
  }

  .ns-policy-section {
    padding: 27px 22px 29px;
  }

  .ns-policy-section h2 {
    font-size: 20px;
  }

  .ns-policy-contact dl > div {
    grid-template-columns: 1fr;
  }

  .ns-policy-contact dt {
    padding-bottom: 8px;
  }

  .ns-policy-contact dd {
    padding-top: 8px;
  }

}

/* ==========================================
   CONTACT FINAL OVERRIDE
   Phone/FAX + CF7 layout normalization
========================================== */
.ns-contact .ns-contact__form-wrap .ns-contact__quick-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
}

.ns-contact .ns-contact__form-wrap .ns-contact__quick-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 22px 24px !important;
  border: 1px solid #e1e6ea !important;
  border-radius: 8px !important;
  background: #fff !important;
  text-align: left !important;
}

.ns-contact .ns-contact__form-wrap .ns-contact__quick-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #182b3a !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.ns-contact .ns-contact__form-wrap .ns-contact__quick-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #fff0df !important;
  color: #d98225 !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.ns-contact .ns-contact__form-wrap .ns-contact__quick-number,
.ns-contact .ns-contact__form-wrap a.ns-contact__quick-number,
.ns-contact .ns-contact__form-wrap a[href^="tel:"].ns-contact__quick-number {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #182b3a !important;
  font-size: 29px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: .01em !important;
  text-align: left !important;
  text-decoration: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ns-contact .ns-contact__form-wrap a.ns-contact__quick-number:hover,
.ns-contact .ns-contact__form-wrap a[href^="tel:"].ns-contact__quick-number:hover {
  color: #d98225 !important;
  text-decoration: none !important;
}

.ns-contact .ns-contact__form-wrap .ns-contact__quick-note {
  margin: 10px 0 0 !important;
  padding: 0 !important;
  color: #64717b !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  text-align: left !important;
}

.ns-contact .ns-contact__form-wrap .ns-contact__web-heading {
  margin: 30px 0 24px !important;
  padding: 24px 0 0 !important;
  border-top: 1px solid #dce3e8 !important;
  text-align: left !important;
}

.ns-contact .ns-contact__form-wrap .ns-contact__web-heading h4 {
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: #182b3a !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

.ns-contact .ns-contact__form-wrap .ns-contact__web-heading p {
  margin: 0 !important;
  padding: 0 !important;
  color: #64717b !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

@media (max-width: 767px) {
  .ns-contact .ns-contact__form-wrap .ns-contact__quick-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ns-contact .ns-contact__form-wrap .ns-contact__quick-card {
    padding: 20px !important;
  }

  .ns-contact .ns-contact__form-wrap .ns-contact__quick-number,
  .ns-contact .ns-contact__form-wrap a.ns-contact__quick-number,
  .ns-contact .ns-contact__form-wrap a[href^="tel:"].ns-contact__quick-number {
    font-size: 25px !important;
  }
}
