@charset "UTF-8";
/* ============================================================
   株式会社相澤組 TOPページ custom.css
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #2b2b2b;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.75;
}

/* ---------- Variables ---------- */
:root {
  /* 2026-08-27 配色は青で確定。比較用の ?tone 切替は廃止し、ここが唯一の定義。 */
  --c-primary: #2f8fc4;
  --c-primary-dark: #2f8fc4;
  --c-navy: #2f8fc4;
  --c-blue-pale: #d7ebf7;
  --c-blue-bg: #eef7fc;
  --c-accent: #ed7d00;
  --c-text: #2b2b2b;
  --c-white: #fff;
  --font-en: "Jost", sans-serif;
  --header-h: 90px;
}

/* ---------- Utility ---------- */
.u-blue {
  color: var(--c-primary);
  font-weight: 700;
}

.pc-only {
  display: block;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 共通見出し ---------- */
.sec-head {
  text-align: center;
}

.sec-head__en {
  font-family: var(--font-en);
  font-size: 3.4rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-primary);
  line-height: 1.2;
}

.sec-head__en::after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  background: currentColor;
  margin: 14px auto 12px;
}

.sec-head__ja {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-primary);
}

.sec-head--white .sec-head__en,
.sec-head--white .sec-head__ja {
  color: var(--c-white);
}

/* ---------- 共通ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

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

.btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
}

.btn--outline {
  border: 1px solid var(--c-primary);
  border-radius: 10px;
  color: var(--c-primary);
  background: var(--c-white);
  padding: 18px 28px;
}

.btn--white {
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-navy);
  min-width: 320px;
}

.btn__arrow {
  font-size: 1.3rem;
  line-height: 1;
}

.btn--icon {
  position: relative;
  padding-left: 56px;
}

.btn__circle {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.btn-wrap {
  text-align: center;
  margin-top: 56px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-text);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.text-link__arrow {
  font-size: 1.05rem;
  transition: transform 0.3s;
}

.text-link:hover .text-link__arrow {
  transform: translateX(6px);
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--c-white);
  z-index: 100;
  transition: box-shadow 0.3s;
}

.header.is-scrolled {
  box-shadow: 0 2px 14px rgba(22, 52, 78, 0.12);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 24px;
}

.header__logo {
  line-height: 1;
}

.header__logo img {
  width: 280px;
  height: auto;
}

.gnav__list {
  display: flex;
  align-items: center;
}

.gnav__item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  line-height: 1.4;
}

.gnav__ja {
  font-size: 0.92rem;
  font-weight: 500;
}

.gnav__en {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--c-primary);
}

.gnav__item--contact {
  display: none;
}

/* ハンバーガー */
.menu-btn {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  background: var(--c-primary);
  border: none;
  cursor: pointer;
  z-index: 110;
}

.menu-btn span {
  position: absolute;
  left: 14px;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn span:nth-child(3) { top: 32px; }

.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 追従お問い合わせタブ */
.fixed-contact {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 11px;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px 0 0 6px;
}

.fixed-contact svg {
  flex-shrink: 0;
}

.fixed-contact span {
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  line-height: 1;
}

/* ============================================================
   MV
   ============================================================ */
.mv {
  position: relative;
  margin-top: var(--header-h);
  height: min(720px, calc(100vh - var(--header-h)));
  min-height: 480px;
  overflow: hidden;
}

.mv__bg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* スライドショー：クロスフェード＋ゆっくり拡大（Ken Burns） */
.mv__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  opacity: 0;
}

.mv__slide.is-active {
  opacity: 1;
  z-index: 2;
  transition: opacity 1.8s ease;
  animation: mvZoom 6s linear forwards;
}

.mv__slide.is-leaving {
  opacity: 0;
  z-index: 1;
  transform: scale(1.08);
  transition: opacity 1.8s ease;
}

@keyframes mvZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .mv__slide.is-active {
    animation: none;
  }
}

.mv__copy {
  position: absolute;
  top: 70px;
  right: 30%;
  writing-mode: vertical-rl;
  z-index: 5;
}

.mv__line {
  background: var(--c-white);
  color: var(--c-text);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  padding: 22px 10px;
  /* 縦書きのため width=枠の太さ / height=枠の長さ。どちらも文字量に合わせる */
  width: fit-content;
  height: fit-content;
  /* 順次表示アニメーション（上→下へワイプ） */
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.mv__line--1 { transition-delay: 0.4s; }
.mv__line--2 { margin-top: 34px; margin-right: 14px; transition-delay: 1s; }
.mv__line--3 { margin-top: 68px; margin-right: 14px; transition-delay: 1.6s; }

.mv.is-ready .mv__line {
  clip-path: inset(0 0 0 0);
}

.mv__en {
  position: absolute;
  left: 59%;
  bottom: 125px;
  z-index: 5;
  font-weight: bold;
  color: var(--c-white);
  font-family: var(--font-en);
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  display: flex;
  text-align: left;
  align-items: center;
  gap: 18px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.9s ease 2.5s;
}

.mv.is-ready .mv__en {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mv__line {
    clip-path: none;
    transition: none;
  }

  .mv__en {
    opacity: 1;
    transition: none;
  }
}

/* 高さの低いウィンドウではキャッチを縮小して溢れを防ぐ */
@media (max-height: 820px) and (min-width: 769px) {
  .mv__copy {
    top: 44px;
  }

  .mv__line {
    font-size: 1.55rem;
    padding: 17px 9px;
  }

  .mv__line--2 { margin-top: 24px; }
  .mv__line--3 { margin-top: 48px; }
}

.mv__en::before {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--c-white);
}

/* ============================================================
   お悩み
   ============================================================ */
.worry {
  position: relative;
  margin-top: -110px;
  padding: 0 4vw;
  z-index: 5;
}

.worry__panel {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  background: #f2f7fe;
  border-radius: 14px;
  padding: 72px 4% 150px;
  overflow: hidden;
}

.worry__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 56px;
}

.worry__title::before,
.worry__title::after {
  content: "";
  width: clamp(60px, 12vw, 260px);
  height: 2px;
  background: var(--c-primary);
}

.worry__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  z-index: 2;
}

.worry__card {
  background: var(--c-white);
  border-radius: 10px;
  padding: 36px 16px 32px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(26, 107, 181, 0.08);
}

.worry__icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--c-blue-bg);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.worry__icon img {
  max-width: 62%;
  max-height: 58%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.worry__text {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 2;
}

.worry__city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.worry__city img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   Feature
   ============================================================ */
.feature {
  padding: 90px 4vw 110px;
}

.feature__ribbon {
  position: relative;
  width: fit-content;
  margin: 0 auto 46px;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 18px 56px;
}

.feature__ribbon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border: 15px solid transparent;
  border-top-color: var(--c-primary);
  border-bottom: none;
}

.feature__grid {
  max-width: 1500px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.feature__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.feature__card:hover .feature__img img {
  transform: scale(1.05);
}

.feature__body {
  background: var(--c-blue-bg);
  padding: 34px 28px 40px;
  text-align: center;
}

.feature__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 18px;
}

.feature__text {
  font-size: 0.95rem;
  text-align: left;
}

/* ============================================================
   Service
   ============================================================ */
.service__band {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service__band > img {
  position: absolute;
  left: 0;
  top: -30%;
  width: 100%;
  height: 160%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .service__band > img {
    top: 0;
    height: 100%;
    transform: none !important;
  }
}

.service__band .sec-head {
  position: relative;
  z-index: 2;
}

.service__band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 52, 78, 0.18);
  z-index: 1;
}

.service__rows {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 4vw 120px;
  display: flex;
  flex-direction: column;
  gap: 130px;
}

.service__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}

.service__row--reverse {
  grid-template-columns: 1.15fr 1fr;
}

.service__row--reverse .service__detail {
  order: 2;
}

.service__row--reverse .service__img {
  order: 1;
}

.service__img {
  position: relative;
  z-index: 2;
}

.service__img::before {
  content: "";
  position: absolute;
  top: -48px;
  right: -60px;
  width: 78%;
  height: calc(100% + 96px);
  background: var(--c-blue-pale);
  z-index: -1;
}

.service__row--reverse .service__img::before {
  right: auto;
  left: -60px;
}

.service__img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service__title-wrap {
  position: relative;
  padding-top: 34px;
}

.service__num {
  position: absolute;
  top: 0;
  left: -12px;
  font-family: var(--font-en);
  font-size: 6.2rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(26, 107, 181, 0.18);
  z-index: -1;
}

.service__name {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.service__en {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: #9dbfdd;
  margin-top: 6px;
}

.service__lead {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 26px;
}

.service__text {
  font-size: 0.95rem;
  margin-top: 20px;
  margin-bottom: 36px;
}

/* ============================================================
   建材ネットワーク
   ============================================================ */
.network {
  padding: 110px 4vw;
  background: linear-gradient(180deg, #fff 0%, #f4f9f4 100%);
}

.network__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.network__en {
  font-family: var(--font-en);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--c-navy);
}

.network__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.1em;
  margin: 14px 0 34px;
}

.network__text {
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.network .btn--outline {
  margin-top: 18px;
  font-size: 0.98rem;
}

.network__map {
  text-align: center;
}

.network__map img {
  width: 100%;
  max-width: 640px;
  height: auto;
}

/* ============================================================
   News
   ============================================================ */
.news {
  padding: 90px 4vw;
}

.news__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--c-blue-pale);
  padding: 46px clamp(120px, 12vw, 210px) 46px clamp(24px, 3vw, 44px);
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news__item {
  background: var(--c-white);
  border-left: 6px solid var(--c-primary-dark);
}

.news__item a {
  display: flex;
  align-items: center;
  gap: clamp(24px, 6vw, 110px);
  padding: 26px clamp(20px, 3vw, 44px);
}

.news__item a:hover {
  opacity: 1;
  background: #f4f9ff;
}

.news__date {
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--c-primary);
  flex-shrink: 0;
}

.news__title {
  font-size: 0.98rem;
}

.news__en {
  position: absolute;
  top: 50%;
  right: clamp(-10px, 1vw, 30px);
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(26, 107, 181, 0.35);
  line-height: 1;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 30px 4vw 110px;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.faq__banner {
  display: inline-block;
  max-width: 1124px;
  transition: opacity 0.3s, transform 0.3s;
}

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

.faq__banner img {
  width: 100%;
  height: auto;
}

/* ============================================================
   Map / Contact
   ============================================================ */
.map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

.contact {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.contact__bg,
.contact__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact__bg img {
  object-fit: cover;
  object-position: left center;
}

.contact__panel {
  position: relative;
  margin-left: auto;
  width: min(56%, 900px);
  background: linear-gradient(100deg, rgba(22, 52, 78, 0) 0%, rgba(22, 52, 78, 0.82) 26%, rgba(22, 52, 78, 0.88) 100%);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  padding: 50px 8% 50px 22%;
}

.contact__body {
  color: var(--c-white);
}

.contact__en {
  font-family: var(--font-en);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.contact__en::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--c-white);
  margin: 20px 0 18px;
}

.contact__ja {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 34px;
}

.contact__text {
  font-size: 0.98rem;
  margin-bottom: 44px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding-top: 80px;
}

.footer__inner {
  text-align: center;
  padding: 0 4vw;
}

.footer__logo img {
  width: 270px;
}

.footer__nav {
  margin-top: 48px;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav li {
  position: relative;
  padding: 4px 22px;
}

.footer__nav li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #9db4c6;
}

.footer__nav a {
  font-size: 0.9rem;
  color: #4a5a68;
}

.footer__copy {
  margin-top: 56px;
  background: var(--c-primary);
  color: var(--c-white);
  text-align: center;
  padding: 18px 4vw;
}

.footer__copy small {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1280px) {
  .header__logo img {
    width: 220px;
  }

  .gnav__item > a {
    padding: 10px 10px;
  }

  .gnav__ja {
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 70px;
  }

  /* ナビをドロワー化 */
  .gnav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(78%, 380px);
    height: 100vh;
    height: 100dvh;
    background: var(--c-white);
    padding: 110px 36px 40px;
    transform: translateX(100%);
    transition: transform 0.4s;
    overflow-y: auto;
    z-index: 105;
    box-shadow: -6px 0 24px rgba(22, 52, 78, 0.14);
  }

  .gnav.is-open {
    transform: translateX(0);
  }

  .gnav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .gnav__item > a {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 16px 4px;
    border-bottom: 1px solid #e2ebf3;
  }

  .gnav__item--contact {
    display: block;
  }

  .gnav__item--contact > a {
    margin-top: 22px;
    background: var(--c-accent);
    color: var(--c-white);
    justify-content: center;
    gap: 14px;
    border-bottom: none;
  }

  .gnav__item--contact .gnav__en {
    color: rgba(255, 255, 255, 0.8);
  }

  .menu-btn {
    display: block;
  }

  .worry__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .service__img::before {
    top: -28px;
    right: -30px;
    height: calc(100% + 56px);
  }

  .service__row--reverse .service__img::before {
    left: -30px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .pc-only {
    display: inline;
  }

  .fixed-contact {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 0;
  }

  .fixed-contact span {
    writing-mode: horizontal-tb;
    letter-spacing: 0.14em;
  }

  .sec-head__en {
    font-size: 2.4rem;
  }

  /* MV */
  .mv {
    height: 74vh;
    min-height: 420px;
  }

  .mv__copy {
    top: 40px;
    left: auto;
    right: 6vw;
    transform: none;
    gap: 10px;
  }

  .mv__line {
    font-size: 1.25rem;
    padding: 16px 8px;
  }

  .mv__line--2 { margin-top: 22px; }
  .mv__line--3 { margin-top: 44px; }

  .mv__en {
    bottom: 90px;
    font-size: 0.85rem;
  }

  /* お悩み */
  .worry {
    margin-top: -60px;
    padding: 0 5vw;
  }

  .worry__panel {
    padding: 48px 6% 110px;
  }

  .worry__title {
    gap: 14px;
    margin-bottom: 36px;
  }

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

  .worry__card {
    padding: 26px 12px 24px;
  }

  .worry__icon {
    width: 84px;
    height: 84px;
    margin-bottom: 18px;
  }

  .worry__icon img {
    max-width: 58%;
    max-height: 54%;
  }

  .worry__text {
    font-size: 0.88rem;
  }

  /* Feature */
  .feature {
    padding: 64px 5vw 80px;
  }

  .feature__ribbon {
    padding: 14px 26px;
    width: 100%;
    text-align: center;
  }

  .feature__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 44px;
  }

  /* Service */
  .service__band {
    height: 200px;
  }

  .service__rows {
    padding: 64px 5vw 80px;
    gap: 90px;
  }

  .service__row,
  .service__row--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service__row--reverse .service__detail {
    order: 1;
  }

  .service__row--reverse .service__img {
    order: 2;
  }

  .service__img::before {
    top: -20px;
    right: -5vw;
    width: 82%;
    height: calc(100% + 40px);
  }

  .service__num {
    font-size: 4.4rem;
  }

  /* Network */
  .network {
    padding: 70px 5vw;
  }

  .network__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .network .btn--outline {
    width: 100%;
    min-width: 0;
    font-size: 0.88rem;
    padding: 16px 14px;
  }

  /* News */
  .news {
    padding: 64px 5vw;
  }

  .news__inner {
    padding: 30px 5% 64px;
  }

  .news__item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 20px;
  }

  .news__en {
    top: auto;
    bottom: -14px;
    right: 12px;
    transform: none;
    writing-mode: horizontal-tb;
    font-size: 2.6rem;
  }

  /* FAQ */
  .faq {
    padding: 10px 5vw 70px;
  }

  /* Map / Contact */
  .map iframe {
    height: 320px;
  }

  .contact {
    min-height: 0;
  }

  .contact__panel {
    width: 100%;
    clip-path: none;
    background: linear-gradient(180deg, rgba(22, 52, 78, 0.55) 0%, rgba(22, 52, 78, 0.88) 100%);
    padding: 70px 7%;
  }

  .btn--white {
    min-width: 0;
    width: 100%;
  }

  /* Footer */
  .footer {
    padding-top: 56px;
    padding-bottom: 52px; /* 追従バーの高さ分 */
  }

  .footer__logo img {
    width: 210px;
  }

  .footer__nav {
    margin-top: 30px;
  }

  .footer__nav li {
    padding: 4px 14px;
  }

  .footer__copy {
    margin-top: 36px;
  }
}

/* ============================================================
   下層ページ共通（KEI STUDIO 追記）
   ============================================================ */
.page-hero {
  position: relative;
  margin-top: var(--header-h);
  background: linear-gradient(120deg, var(--c-navy) 0%, var(--c-primary-dark) 100%);
  color: var(--c-white);
  text-align: center;
  padding: 78px 20px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/wp-content/uploads/bg_service.webp) center/cover no-repeat;
  opacity: 0.15;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__icon { font-size: 2.1rem; margin-bottom: 14px; opacity: 0.92; }
.page-hero__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: 0.12em; line-height: 1.3; }
.page-hero__sub {
  font-family: var(--font-en);
  letter-spacing: 0.22em;
  margin-top: 12px;
  color: var(--c-blue-pale);
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* パンくず */
.breadcrumb {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 5vw 0;
  font-size: 0.8rem;
  color: #78889a;
}
.breadcrumb a { color: var(--c-primary); }
.breadcrumb span { margin: 0 6px; }

/* セクション */
.lsec { padding: 74px 5vw; }
.lsec--tint { background: var(--c-blue-bg); }
.lsec--navy { background: linear-gradient(120deg, var(--c-navy), var(--c-primary-dark)); color: #fff; }
.linner { max-width: 1080px; margin: 0 auto; }
.lnarrow { max-width: 860px; margin: 0 auto; }

.lhead { text-align: center; margin-bottom: 44px; }
.lhead__en { font-family: var(--font-en); color: var(--c-primary); letter-spacing: 0.16em; font-size: 0.9rem; text-transform: uppercase; }
.lhead__ja { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; color: var(--c-navy); margin-top: 8px; }
.lhead__ja::after { content: ""; display: block; width: 56px; height: 3px; background: var(--c-accent); margin: 16px auto 0; }
.lsec--navy .lhead__ja, .lsec--navy .lhead__en { color: #fff; }

.ltext { font-size: 1rem; line-height: 2.1; margin-bottom: 20px; }
.llead { font-size: 1.05rem; line-height: 2.1; text-align: center; max-width: 880px; margin: 0 auto 40px; }
.lsubhead { font-size: 1.25rem; font-weight: 700; color: var(--c-navy); border-left: 5px solid var(--c-primary); padding-left: 14px; margin: 0 0 22px; }

/* 代表挨拶 */
.greeting { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 50px; align-items: start; }
.greeting__photo img { width: 100%; border-radius: 10px; }
.greeting__name { margin-top: 26px; text-align: right; font-size: 0.95rem; }
.greeting__name strong { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.08em; }

/* 会社概要テーブル */
.info-table { width: 100%; border-collapse: collapse; background: #fff; }
.info-table th, .info-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid #dce4ec; font-size: 0.95rem; vertical-align: top; line-height: 1.9; }
.info-table th { width: 210px; color: var(--c-navy); font-weight: 700; background: var(--c-blue-bg); white-space: nowrap; }

/* 沿革 */
.history { max-width: 840px; margin: 0 auto; }
.history li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 16px 4px; border-bottom: 1px dashed #c9d6e2; }
.history__year { color: var(--c-primary); font-weight: 700; }

/* ジグザグ（強み・特徴） */
.zigzag { display: grid; gap: 60px; }
.zzrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.zzrow--rev .zzrow__img { order: 2; }
.zzrow__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.zzrow__no { font-family: var(--font-en); color: var(--c-blue-pale); font-size: 3rem; font-weight: 600; line-height: 1; }
.zzrow__ttl { font-size: 1.4rem; font-weight: 700; color: var(--c-navy); margin: 6px 0 16px; }

/* カード3列（強み） */
.pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pt { background: #fff; border-radius: 10px; padding: 34px 24px; text-align: center; box-shadow: 0 4px 16px rgba(26,107,181,0.08); }
.pt__icon { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: var(--c-blue-bg); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.pt__ttl { font-size: 1.12rem; font-weight: 700; color: var(--c-navy); margin-bottom: 12px; }
.pt__txt { font-size: 0.93rem; text-align: left; line-height: 1.95; }

/* 建材カード */
.matgroup { margin-bottom: 46px; }
.matcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.matcard { background: #fff; border: 1px solid #e2ebf3; border-radius: 8px; padding: 20px 16px; text-align: center; }
.matcard__name { font-weight: 700; color: var(--c-navy); font-size: 0.98rem; }
.matcard__note { font-size: 0.82rem; color: #6d7d8c; margin-top: 6px; }
.matcard--stock { border-color: var(--c-accent); position: relative; }
.matcard--stock::before { content: "常時在庫"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--c-accent); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }

/* 残土 フロー */
.flow { display: grid; gap: 18px; max-width: 780px; margin: 0 auto; }
.flow__step { position: relative; display: grid; grid-template-columns: 66px 1fr; gap: 22px; align-items: center; background: #fff; border-radius: 10px; padding: 24px 26px; box-shadow: 0 4px 14px rgba(26,107,181,0.08); }
.flow__num { width: 66px; height: 66px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-en); font-size: 1.6rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.flow__ttl { font-weight: 700; color: var(--c-navy); font-size: 1.08rem; margin-bottom: 4px; }
.flow__step:not(:last-child)::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 33px; bottom: -18px; transform: translateX(-50%); color: var(--c-blue-pale); font-size: 1.1rem; z-index: 1; }

/* リスト（チェック） */
.checklist { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.checklist li { position: relative; padding: 14px 18px 14px 50px; background: #fff; border-radius: 8px; border: 1px solid #e2ebf3; line-height: 1.9; }
.checklist li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 18px; top: 16px; color: var(--c-accent); }

/* ダンプ表 */
.spec-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.spec-card { background: #fff; border: 1px solid #e2ebf3; border-radius: 8px; padding: 22px 12px; text-align: center; font-weight: 700; color: var(--c-navy); }
.spec-card span { display: block; font-family: var(--font-en); color: var(--c-primary); font-size: 1.5rem; margin-bottom: 4px; }

/* 建材ネットワーク */
.area-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 30px 0; }
.area-tag { background: var(--c-blue-pale); color: var(--c-navy); padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; }
.notice-box { max-width: 820px; margin: 0 auto; background: #fff; border: 1px dashed var(--c-primary); border-radius: 10px; padding: 28px 30px; text-align: center; color: #4a5a68; line-height: 2; }

/* FAQ（details/summary） */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid #e2ebf3; border-radius: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 22px 58px 22px 58px; font-weight: 700; color: var(--c-navy); position: relative; list-style: none; line-height: 1.7; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; background: var(--c-primary); color: #fff; border-radius: 50%; font-family: var(--font-en); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.faq-item summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 22px; top: 22px; color: var(--c-primary); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item__body { padding: 0 24px 24px 58px; line-height: 2; color: #40505e; }
.faq-item__body::before { content: "A"; float: left; margin: 0 12px 0 -38px; width: 28px; height: 28px; background: var(--c-accent); color: #fff; border-radius: 50%; font-family: var(--font-en); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }

/* 下部CTA */
.cta-band { background: linear-gradient(120deg, var(--c-navy), var(--c-primary-dark)); color: #fff; text-align: center; padding: 64px 20px; }
.cta-band__ttl { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.cta-band__txt { margin-bottom: 26px; opacity: 0.9; }
.cta-band__tel { font-family: var(--font-en); font-size: 2.2rem; font-weight: 700; letter-spacing: 0.04em; }
.cta-band__tel a { color: #fff; }
.cta-band__small { font-size: 0.85rem; opacity: 0.8; margin: 6px 0 24px; }

/* お問い合わせ（CF7） */
.md-form-lead { margin: 0 0 32px; line-height: 2; font-weight: 600; color: var(--c-text); text-align: center; }
.md-form-row { margin-bottom: 24px; }
.md-form-label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; color: var(--c-navy); }
.md-form-required { padding: 3px 9px; background: #c90012; color: #fff; border-radius: 999px; font-size: 12px; }
.md-form-optional { padding: 3px 9px; background: #777; color: #fff; border-radius: 999px; font-size: 12px; }
.md-form-row input, .md-form-row textarea { width: 100%; padding: 15px 18px; border: 1px solid rgba(0,0,0,0.18); border-radius: 10px; font-size: 16px; background: #f8fafc; }
.md-form-row textarea { min-height: 180px; }
.md-form-submit { text-align: center; margin-top: 34px; }
.md-form-submit input { width: min(360px, 100%); height: 62px; border: none; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; transition: opacity 0.3s; }
.md-form-submit input:hover { opacity: 0.85; }
.md-recaptcha-note { margin: 22px 0 0; font-size: 12px; line-height: 1.8; text-align: center; color: #666; }
.md-recaptcha-note a { color: var(--c-primary); text-decoration: underline; }
.contact-meta { max-width: 620px; margin: 0 auto 46px; background: var(--c-blue-bg); border-radius: 10px; padding: 26px 30px; text-align: center; line-height: 2; }
.contact-meta__tel { font-family: var(--font-en); font-size: 1.9rem; font-weight: 700; color: var(--c-primary); }

/* プライバシーポリシー */
.priv-content { max-width: 860px; margin: 0 auto; }
.priv-lead-txt { margin-bottom: 40px; line-height: 2.1; }
.priv-section { margin-bottom: 34px; }
.priv-section h3 { font-size: 1.05rem; font-weight: 700; color: var(--c-navy); border-left: 4px solid var(--c-primary); padding-left: 12px; margin-bottom: 12px; }
.priv-list { padding-left: 1.4em; line-height: 2; }
.priv-list li { list-style: disc; margin-bottom: 4px; }
.priv-footer-info { margin-top: 56px; padding-top: 30px; border-top: 1px solid #e0dbd3; font-size: 0.9rem; line-height: 2; color: #555; }

/* 下層レスポンシブ */
@media (max-width: 900px) {
  .greeting { grid-template-columns: 1fr; gap: 30px; }
  .greeting__photo { max-width: 420px; margin: 0 auto; }
  .pts { grid-template-columns: 1fr; }
  .zzrow { grid-template-columns: 1fr; gap: 26px; }
  .zzrow--rev .zzrow__img { order: 0; }
}
@media (max-width: 768px) {
  .page-hero { padding: 54px 18px; }
  .lsec { padding: 56px 6vw; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: none; }
  .history li { grid-template-columns: 1fr; gap: 4px; }
  .flow__step { grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 18px; }
  .flow__num { width: 52px; height: 52px; font-size: 1.3rem; }
  .flow__step:not(:last-child)::after { left: 26px; }
}

/* ============================================================
 * お知らせ（一覧・記事詳細）
 * ============================================================ */

/* Arkhe既定のカードリストは使わない（負マージンで横スクロールが出るため） */
.p-postList.-type-card { margin-left: 0; margin-right: 0; }

/* ---- 一覧 ---- */
.newslist { display: grid; gap: 26px; }
.newslist__item { list-style: none; }
.newslist__link {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2ebf3;
  border-radius: 12px;
  overflow: hidden;
  padding: 22px;
  text-decoration: none;
  color: var(--c-text);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.newslist__link:hover {
  box-shadow: 0 12px 30px rgba(22, 52, 78, 0.12);
  transform: translateY(-3px);
  border-color: var(--c-blue-pale);
}
.newslist__thumb {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--c-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.newslist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.newslist__thumb .newslist__noimg { width: 70%; height: auto; object-fit: contain; opacity: 0.75; }

.newslist__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.newslist__date { font-family: var(--font-en); color: var(--c-primary); font-weight: 600; letter-spacing: 0.06em; }
.newslist__cat {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--c-blue-bg);
  color: var(--c-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
.newslist__title { font-size: 1.2rem; font-weight: 700; color: var(--c-navy); line-height: 1.6; margin: 0 0 10px; }
.newslist__excerpt { font-size: 0.94rem; line-height: 1.9; color: #55606b; margin: 0 0 14px; }
.newslist__more { display: inline-flex; align-items: center; gap: 8px; color: var(--c-primary); font-weight: 700; font-size: 0.9rem; }
.newslist__more i { transition: transform 0.3s; }
.newslist__link:hover .newslist__more i { transform: translateX(4px); }

/* ---- ページ送り ---- */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #e2ebf3;
  border-radius: 8px;
  background: #fff;
  color: var(--c-navy);
  font-family: var(--font-en);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- 記事詳細 ---- */
.newspost__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.newspost__title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.6;
  padding-bottom: 22px;
  margin: 0 0 30px;
  border-bottom: 3px solid var(--c-blue-pale);
}
.newspost__thumb { margin: 0 0 34px; border-radius: 12px; overflow: hidden; }
.newspost__thumb img { width: 100%; height: auto; display: block; }
.newspost__body { font-size: 1rem; line-height: 2.1; }
.newspost__body p { margin-bottom: 22px; }
.newspost__body h2 { font-size: 1.3rem; font-weight: 700; color: var(--c-navy); border-left: 5px solid var(--c-primary); padding-left: 14px; margin: 40px 0 20px; }
.newspost__body h3 { font-size: 1.1rem; font-weight: 700; color: var(--c-navy); margin: 32px 0 16px; }
.newspost__body ul, .newspost__body ol { padding-left: 1.5em; margin-bottom: 22px; }
.newspost__body li { list-style: disc; margin-bottom: 6px; }
.newspost__body ol li { list-style: decimal; }
.newspost__body img { max-width: 100%; height: auto; border-radius: 8px; }
.newspost__body a { color: var(--c-primary); text-decoration: underline; }

/* ---- 前後ナビ ---- */
.newsnav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid #e2ebf3;
}
.newsnav__side { min-width: 0; }
.newsnav__side--right { text-align: right; }
.newsnav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #55606b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.newsnav__link:hover { color: var(--c-primary); }
.newsnav__link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.newsnav__index { white-space: nowrap; }

@media (max-width: 900px) {
  .newslist__link { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .newslist__thumb { aspect-ratio: 16 / 9; }
  .newslist__title { font-size: 1.08rem; }
  .newsnav { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .newsnav__side, .newsnav__side--right { text-align: center; }
  .newsnav__index { order: 3; justify-self: center; }
}

/* ============================================================
 * 固定ヘッダー分の余白確保
 * Arkhe の `.l-main__body > :first-child` と `.c-postContent > :first-child`
 * が margin-top を !important で 0 に潰すため、MV / page-hero に指定した
 * margin-top: var(--header-h) が効かず、固定ヘッダーの下に潜り込んでいた。
 * margin では勝てないので body 側の padding で確保する。
 * Arkhe は padding も上書きしてくるため !important 必須。
 * （--header-h は1024px以下で 70px に切り替わるため SP も自動で追従する）
 * ============================================================ */
body { padding-top: var(--header-h) !important; }
.mv, .page-hero { margin-top: 0 !important; }

/* ============================================================
 * セクション内の写真（単体／2枚並び）
 * ============================================================ */
/* 単体写真はセクションのコンテナ幅いっぱいに（カード類と左右を揃える） */
.lphoto { margin: 40px 0 0; }

.lphotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0 0;
}
/* 2枚並びの中の figure だけリセット
   （figure.lphoto を書くと詳細度で .lphoto 自身の margin-top を潰すので書かない） */
.lphotos figure { margin: 0; }
.lphoto img, .lphotos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(22, 52, 78, 0.10);
}
.lphoto figcaption, .lphotos figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: #667585;
  text-align: center;
}

/* 単体写真は幅が広いぶんワイドに（上の共通指定を上書きするため後ろに置く） */
.lphoto img { aspect-ratio: 16 / 9; }

@media (max-width: 768px) {
  .lphotos { grid-template-columns: 1fr; gap: 26px; }
  .lphoto img { aspect-ratio: 3 / 2; }
}

/* ============================================================
 * Arkhe の td/th padding 上書き対策
 * Arkhe が `td, th { padding: var(--ark-padding--cell,.5em .75em) !important; }`
 * を当てており、.info-table の指定（特異度 0,1,1）では勝てず 7.6px/11.4px に
 * 潰されていた。!important で明示的に通す（AI_FRAMEWORK/skills/arkhe.md 準拠）。
 * ============================================================ */
.info-table th,
.info-table td { padding: 18px 20px !important; }

@media (max-width: 768px) {
  .info-table th { padding: 12px 16px 8px !important; }
  .info-table td { padding: 4px 16px 14px !important; }
}

/* ============================================================
 * 代表挨拶の写真：縦長にトリミングして被写体を大きく見せる
 * ============================================================ */
.greeting__photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
}

/* ============================================================
 * 「手配可能なダンプ」のカード：8枚が 6+2 で折り返して不揃いだったため
 * 4列×2段に固定する
 * ============================================================ */
.spec-cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .spec-cards { grid-template-columns: repeat(2, 1fr); } }

/* リード直下に置く導入ビジュアル（文字だけの印象を避ける） */
.lphoto--hero { margin-top: 60px; }
.lphoto--hero img { aspect-ratio: 16 / 7; }
@media (max-width: 768px) {
  .lphoto--hero { margin-top: 40px; }
  .lphoto--hero img { aspect-ratio: 3 / 2; }
}

/* ============================================================
 * 建材カード：商品イメージ付きに刷新
 * ※画像はAI生成のイメージ。注記は画像に焼き込まず、画像の外（テキスト）に出す。
 * ============================================================ */
.matcards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }

.matcard {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: visible; /* 「常時在庫」バッジがカード外にはみ出すため hidden にしない */
}
.matcard__img { margin: 0; position: relative; }
.matcard__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 7px 7px 0 0;
}
.matcard__body { padding: 16px 14px 14px; }
.matcard__imgnote {
  font-size: 0.68rem;
  color: #a2aeb9;
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.matcard--stock::before { z-index: 2; }

/* 商品画像に関するお断り */
.matnote {
  margin-top: 34px;
  padding: 16px 20px;
  background: #fff;
  border: 1px dashed #cfdae5;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.9;
  color: #6d7d8c;
  text-align: center;
}

/* ============================================================
 * SP固定CTA（一定スクロールで下からせり上がる）
 * 旧実装は PC用の .fixed-contact をSPで下部バーに流用しており、
 * ①最初から出ている ②オレンジのベタ帯 という状態だった。
 * SP専用の2ボタン（電話／お問い合わせ）に作り直す。
 * ============================================================ */
.spcta { display: none; }

@media (max-width: 1024px) {
  /* PC用の追従タブはSPでは使わない */
  .fixed-contact { display: none !important; }

  .spcta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    gap: 9px;
    box-shadow: 0 -4px 18px rgba(22, 52, 78, 0.13);
    transform: translateY(120%);
    transition: transform 0.35s ease;
    pointer-events: none;
  }
  .spcta.is-show {
    transform: translateY(0);
    pointer-events: auto;
  }

  .spcta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 56px;
    padding: 8px 6px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    line-height: 1.25;
    transition: opacity 0.25s;
  }
  .spcta__btn:active { opacity: 0.85; }
  .spcta__btn i { font-size: 1.05rem; flex-shrink: 0; }

  .spcta__txt { display: flex; flex-direction: column; align-items: flex-start; }
  .spcta__label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em; }
  .spcta__sub {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-top: 2px;
  }

  /* 電話＝ネイビー／お問い合わせ＝アクセント。オレンジのベタ帯をやめる */
  .spcta__btn--tel { background: var(--c-navy); }
  .spcta__btn--contact { background: var(--c-accent); }
}

@media (max-width: 360px) {
  .spcta__label { font-size: 0.7rem; }
  .spcta__sub { font-size: 0.85rem; }
  .spcta__btn { gap: 6px; }
}

@media (max-width: 1024px) {
  /* 固定CTAがフッター最下部（コピーライト）を隠さないよう余白を確保 */
  .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ============================================================
 * 「こんなお悩みありませんか」のカードが右へずれる問題
 * ul のリストマーカー用 padding-left（SP 22.5px / PC 24px）だけが残り、
 * 左右非対称になっていた。左右とも 0 にして中央で揃える。
 * ============================================================ */
.worry__list {
  padding-left: 0 !important;
  padding-right: 0 !important;
  list-style: none;
}
.worry__card { list-style: none; }

/* ============================================================
   2026-08-17 先方修正 #01
   ============================================================ */

/* --- 1-4 MV：3枚とも全体（足元まで）を見せる／次セクションを覗かせない --- */
.mv {
  height: calc(100vh - var(--header-h));
  min-height: 480px;
  background: #4ea3e6;
}

.mv__slide {
  object-fit: contain;
  object-position: center top;
}

/* 全体表示のため拡大量を抑える（端が切れないように） */
@keyframes mvZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.03); }
}

@media (max-width: 768px) {
  .mv { height: 74vh; }
  .mv__slide { object-fit: cover; object-position: center 58%; }
}

/* --- 1-5 FEATURE：写真と説明文の上下を入れ替え --- */
.feature__card {
  display: flex;
  flex-direction: column-reverse;
}

/* --- 1-4 「こんなお悩み」がMVに食い込むのをやめる（スクロールで出す） --- */
.worry {
  margin-top: 40px;
}

/* --- 配色トーンに追従させる（青のハードコードを変数化） --- */
.worry__panel { background: var(--c-blue-bg); }
.news__item a:hover { background: var(--c-blue-bg); }
.service__en { color: var(--c-primary); opacity: 0.6; }

/* ============================================================
   2026-08-17 修正#01 -b（指摘反映）
   ============================================================ */

/* --- MV：余白（背景の帯）を出さない。16:9のまま画面に収める --- */
.mv {
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - var(--header-h));
  min-height: 480px;
  background: transparent;
}

.mv__slide {
  object-fit: cover;
  object-position: center top;
}

/* --- MVコピー：天地のバランスを取る --- */
.mv__copy {
  top: 46%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .mv {
    aspect-ratio: auto;
    height: 74vh;
    max-height: none;
  }
  .mv__slide { object-fit: cover; object-position: center 58%; }
  .mv__copy { top: 40px; transform: none; }
}

/* --- FEATURE：カードの写真位置を3枚とも揃える --- */
.feature__img { flex: 0 0 auto; }

.feature__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- 1-7 ロゴをテキスト組みに変更（画像ロゴ廃止） --- */
.logo-txt {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  line-height: 1;
}

.logo-txt__ja {
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-navy);
  white-space: nowrap;
}

.logo-txt__en {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--c-primary);
  white-space: nowrap;
}

.logo-txt--footer {
  align-items: center;
}

.logo-txt--footer .logo-txt__ja {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.header__logo a:hover .logo-txt__ja,
.header__logo a:hover .logo-txt__en {
  opacity: 0.75;
}

@media (max-width: 768px) {
  .logo-txt__ja { font-size: 1.15rem; letter-spacing: 0.08em; }
  .logo-txt__en { font-size: 0.6rem; letter-spacing: 0.24em; }
}

/* --- MVコピー：縦書きが折り返さないよう高さを内容分で確保する --- */
.mv__copy {
  height: max-content;
  max-height: none;
}

.mv__line {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .mv__copy { height: max-content; }
}

/* --- MV：高さがクランプされたときに幅まで縮まないよう固定する --- */
.mv {
  width: 100%;
}

/* --- 旧テーマ色(#1a6bb5)のハードコードをトーンに追従させる --- */
.news__en {
  color: var(--c-primary);
  opacity: 0.35;
}

.service__num {
  color: var(--c-primary);
  opacity: 0.18;
}

.pt,
.flow__step,
.matcard {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* ============================================================
   FAQバナー（画像1枚からHTML+CSSへ置き換え／2026-08-18）
   ============================================================ */
.faqbn {
  max-width: 1124px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  text-align: left;
  background: var(--c-blue-bg);
  border: 1px solid var(--c-blue-pale);
  border-radius: 16px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 60px);
}

.faqbn__en {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--c-primary);
  margin-bottom: 10px;
}

.faqbn__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.faqbn__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--c-primary);
  margin: 18px 0 0;
}

.faqbn__lead {
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 2;
}

.faqbn__btn {
  margin-top: 28px;
}

.faqbn__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.faqbn__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-white);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faqbn__q {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .faqbn {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .faqbn {
    padding: 32px 22px;
    border-radius: 12px;
  }
  .faqbn__list li {
    padding: 14px 16px;
    font-size: 0.88rem;
  }
}

/* --- Contact帯・SERVICE帯の被せ色をトーンに追従させる ---
   rgba() で使うため、--c-navy を RGB成分でも持たせる */
:root {
  --c-navy-rgb: 47, 143, 196;
}

.contact__panel {
  background: linear-gradient(100deg,
    rgba(var(--c-navy-rgb), 0) 0%,
    rgba(var(--c-navy-rgb), 0.82) 26%,
    rgba(var(--c-navy-rgb), 0.88) 100%);
}

.service__band::before {
  background: rgba(var(--c-navy-rgb), 0.18);
}

@media (max-width: 768px) {
  .contact__panel {
    background: linear-gradient(180deg,
      rgba(var(--c-navy-rgb), 0.55) 0%,
      rgba(var(--c-navy-rgb), 0.88) 100%);
  }
}

/* --- SP：MVの英字コピーが右端で切れるのを直す（left:59%固定をやめる） --- */
@media (max-width: 768px) {
  .mv__en {
    left: auto;
    right: 5vw;
    justify-content: flex-end;
    max-width: 90vw;
    font-size: clamp(0.6rem, 3vw, 0.85rem);
    letter-spacing: 0.18em;
    white-space: nowrap;
  }

  .mv__en::before {
    width: 34px;
  }
}

/* --- 建材ネットワークの背景をトーンに追従させる（#f4f9f4 の直書きを解消） --- */
.network {
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-blue-bg) 100%);
}

/* --- 会社概要などの表：th が背景と同色で沈むのを直す --- */
.info-table th {
  background: var(--c-blue-pale);
}

.info-table th,
.info-table td {
  border-bottom-color: rgba(var(--c-navy-rgb), 0.14);
}

.info-table {
  border: 1px solid rgba(var(--c-navy-rgb), 0.14);
}

@media (max-width: 768px) {
  .info-table th {
    border-bottom: 1px solid rgba(var(--c-navy-rgb), 0.14);
  }
}

/* ============================================================
   2026-08-26 修正#02（先方方針決定：青トーンで確定）
   ------------------------------------------------------------
   1) 配色は「青」で確定。tone 指定が無くても青トーンを既定にする
      （2026-08-27：?tone 切替は廃止。:root が唯一の定義）
   2) 下層ページ（詳細を見る先）の紺が「重い・汚く見える」との指摘。
      くすんだ濃い青（#256b91 / #2379a9 / #2f86b4 の系統）は全て不可。
      文字も帯も **プライマリと同じ明るさ #2f8fc4 の系統** に揃える。
   ============================================================ */

/* --- 下層ページのヒーロー帯（「相澤組とは」等） --- */
.page-hero {
  background: linear-gradient(120deg, #2f8fc4 0%, #4fb0e0 100%);
}

.page-hero::before {
  opacity: 0.12;
}

.page-hero__sub {
  color: #f0faff;
}

/* --- 下層ページの帯（CTA・強調セクション）も同じ明るさに揃える --- */
.cta-band,
.lsec--navy {
  background: linear-gradient(120deg, #2f8fc4 0%, #4fb0e0 100%);
}

/* --- SP固定CTA「お電話でのご相談」 --- */
.spcta__btn--tel {
  background: #2f8fc4;
}

/* --- ロゴのテキスト組みも同じ青で統一（濃いままにしない） --- */
.logo-txt__ja {
  color: #2f8fc4;
}

/* --- SERVICEの装飾板が右へ4pxはみ出しTOPだけ横スクロールしていたのを止める。
       上下へのはみ出しは意匠なので overflow-x: clip で横だけ刈る --- */
.service__rows {
  overflow-x: clip;
  overflow-y: visible;
}
