/* *,
*:before,
*:after {
  outline: 1px solid red !important;
} */


/*基本設定*/
html {
  font-size: 62.5%;
  scroll-padding-top: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  color: #000;
  font-size: 1.6rem;
  line-height: 1.625;
}

.txt-pink {
  color: #E398C1;
}

.txt-white {
  color: #fff;
}

.txt-orange {
  color: #FF6F07;
}

.txt-green {
  color: #599A50;
}

.txt-brown {
  color: #6B5A45;
}



h1 {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 1.25em;
}

.heading-decor {
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 26px;
  text-align: center;
  line-height: 1.3;

  --decor-color: #E398C1;
  /* デフォルト色 */
}

.heading-decor::before,
.heading-decor::after {
  content: '';
  width: 2px;
  height: 40px;
  background-color: var(--decor-color);
}

.heading-decor::before {
  margin-right: 30px;
  transform: rotate(-35deg);
}

.heading-decor::after {
  margin-left: 30px;
  transform: rotate(35deg);
}

.heading-white {
  --decor-color: #fff;
}



h2 {
  font-size: 2rem;
  font-weight: 500;
}

h3 {
  font-size: 1.6rem;
  font-weight: 500;
  padding-bottom: 2em;
}

p {
  margin: 1em 0;
}

img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

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

/* カプセル型見出し（共通） */
.pill-title {
  display: block;
  padding: 18px 56px;
  border-radius: 9999px;
}

/* 水色 */
.pill-blue {
  background: #E0F0F5;
}

/* ピンク */
.pill-pink {
  background: #E398C1;
  color: #fff;
}

.pill-yellow {
  background: #F5F5E0;
}

/* 共通ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 29px;
  border-radius: 9999px;
  font-size: 1.2rem;
  text-decoration: none;

  color: var(--btn-text);
  background-color: var(--btn-bg);
  border: var(--btn-border);

  transition: all 0.2s ease;
}

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

/* 色バリエーション */
.btn-blue {
  --btn-bg: #E0F0F5;
  --btn-text: #000;
  --btn-border: 1px solid #E0F0F5;
}

.btn-blue:hover {
  --btn-bg: #fff;
  --btn-border: 1px solid #E0F0F5;
}

.btn-pink {
  --btn-bg: transparent;
  --btn-text: #E398C1;
  --btn-border: 1px solid #E398C1;
}

.btn-pink:hover {
  --btn-bg: #E398C1;
  --btn-text: #fff;
  --btn-border: 1px solid #E398C1;
}


.btn-white {
  --btn-bg: #fff;
  --btn-text: #333333;
  --btn-border: 1px solid #fff;
}

.btn-white:hover {
  --btn-bg: #000;
  --btn-text: #fff;
  --btn-border: 1px solid #000;
}


.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 29px;
  border-radius: 9999px;
  font-size: 1.6rem;
  text-decoration: none;
  color: #fff;
  background-color: #E398C1;
  border: #E398C1;
  transition: all 0.2s ease;
}

.border-blue {
  border: 1px solid #B2E7F8;
  border-radius: 10px;

}

.border-pink {
  border: 1px solid #E398C1;
  border-radius: 10px;

}

.border-yellow {
  border: 1px solid #F5F5E0;
  border-radius: 10px;
}

.border-gray {
  border: 1px solid #CBCBCB;
  border-radius: 10px;
}

.label-yellow {
  background-color: #F5F5E0;
}


.label-blue {
  background-color: #E0F0F5;
}


.cr {
  border-radius: 0 10px 10px 0;
}

.cl {
  border-radius: 10px 0 0 10px;
}

.first {
  padding-top: 10em;
}

@media (max-width: 768px) {
  .first {
    padding-top: 8em;
  }
}

section {
  margin-bottom: 12.5em;
}

/* デフォルト（下層ページ） */
@media (max-width: 768px) {
  section {
    margin-bottom: 5em;
  }
}

/* トップページだけ */
@media (max-width: 768px) {

  body.home section,
  body.front-page section {
    margin-bottom: 10em;
  }
}

.center {
  text-align: center;
}

.bold {
  font-weight: bold;
}

.left {
  text-align: left;
}

.dotline-orange {
  text-decoration: underline 2px dotted #FFBD8D;
  text-underline-offset: 0.7em;
}

.dotline-green {
  text-decoration: underline 2px dotted #599A50;
  text-underline-offset: 0.7em;
}

.dotline-brown {
  text-decoration: underline 2px dotted #6B5A45;
  text-underline-offset: 0.7em;
}


/*基本設定ここまで*/


/*最初の画像*/
.start{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;

  display: grid;
  place-items: center;

  opacity: 1;
  transition: opacity 2s ease-in; /* XD：2秒・イーズイン */
}

.start img{
  display: block;
  width: min(306px, 45vw);
  height: auto;
}

.start.is-hide{
  opacity: 0;
}

.start.is-gone{
  display: none;
}
/*最初の画像ここまで*/


/* ヘッダー */
/* ヘッダー全体 */
.site-header {
  background: transparent;
  position: absolute;
  width: 100%;
  z-index: 9999;
}

/* 中身 */
.site-header__frame {
  height: 80px;
  /* ヘッダー高さ */
  padding: 0 2.5%;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
}

/* ロゴ */
.site-header__logo {
  display: block;
}

.site-header__logo img {
  width: 140px;
  height: auto;
  display: block;
}

/* ナビ */
.site-header__nav {
  flex: 1;
}

/* メニュー */
.gnav {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

/* リンク */
.gnav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

/* 下層ページ */
body:not(.home) .gnav a {
  color: #000;
}

/* アイコン */
.gnav i {
  font-size: 1.7rem;
  color: #B1E7F8;
}

/* hover */
.gnav a:hover {
  opacity: 0.7;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .site-header__logo img {
    width: 120px;
  }
}


/* ヘッダーここまで */


/* FV */
/* ===== Hero Slider (1280x800 / 8:5) ===== */
.fv {
  position: relative;
  top: 0;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.heroSlider {
  width: 100%;
  aspect-ratio: 1280 / 800;
  /* 8:5 */
  height: auto;
  overflow: hidden;
  /* ← はみ出し防止 */
}

/* track */
.heroSlider__track {
  display: flex;
  width: 100%;
  /* スライド3枚なら 300% */
  height: 100%;
  /* heroSlider の高さを継承 */
  animation: heroSlide 12s infinite;
  will-change: transform;
}

/* slide */
.heroSlider__slide {
  flex: 0 0 100%;
  height: 100%;
}

/* image */
.heroSlider__slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  /* ← img下の謎の隙間/はみ出し対策 */
  border-radius: 0;
}

/* animation */
@keyframes heroSlide {

  0%,
  25% {
    transform: translateX(0);
  }

  33%,
  58% {
    transform: translateX(-100%);
  }

  66%,
  91% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0);
  }
}

/* 動きが苦手な人への配慮 */
@media (prefers-reduced-motion: reduce) {
  .heroSlider__track {
    animation: none;
  }
}

@media (max-width: 768px) {
  .fv {
    margin-bottom: 3em !important;
  }
}

@media (max-width: 768px) {

  .heroSlider {
    width: 100%;
    height: 100dvh;
    aspect-ratio: auto;
  }

  .heroSlider__slide {
    height: 100dvh;
  }

  .fv .heroSlider__track {
    height: calc(100dvh + 2px);
  }

  .heroSlider__slide img {
    width: 100%;
    object-fit: cover;
    height: calc(100dvh + 2px);
  }
}




/* FV ここまで*/


/* ABOUT */
.about {
  justify-content: space-between;
}


.about__cta {
  text-align: center;
  margin-top: 2.5em;
}

.about-mt {
  margin-top: 5em;
}

.about__box {
  align-items: center;
}

.about__box .txt-area {
  flex: 0 0 36.5%;
}

.about__box .about__content:not(.txt-area) {
  flex: 0 0 63.5%;
}

/* 画像 */
.about__box img {
  width: 100%;
  height: auto;
  display: block;
}

/* 左に画像がある行：画像を左端まで伸ばす */
.about__box.is-image-left .about__content:not(.txt-area) {
  margin-left: calc(50% - 50vw);
}

.about__box.is-image-left .txt-area {
  padding: 5em 9em 5em 4em;
  text-align: center;
}

/* 下段 */

/* 左 */
.about__row .txt-area {
  width: 50%;
  padding-left: 6em;
  /* ← ここで調整 */
}

/* 右 */
.about__photo {
  width: 50%;
  display: flex;
  /* 追加 */
  justify-content: center;
  /* 横中央 */
}

/* 画像サイズ固定 */
.about__photo img {
  width: 465px;
  /* ← 指定どおり */
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== SP ===== */
@media (max-width: 768px) {

  .about__inner {
    width: 100%;
  }

  .about__box,
  .about__row {
    flex-direction: column;
    gap: 1em;
    margin-bottom: 1em;
  }

  .about__content {
    width: 100%;
  }

  .about__content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .about .txt-area {
    padding-left: 0;
    padding-right: 0;
  }

  .about-mt {
    margin-top: 0;
  }

  .about__box.is-image-left .txt-area {
    padding: 0 20%;
  }

  .about__row .txt-area {
    width: 100%;
    padding: 5%;
  }

  .about__box.is-image-left .about__content:not(.txt-area) {
    padding-right: 5%;
  }

  .about__photoInner {
    padding: 0 5%;
  }

}


/* ABOUT ここまで*/

/* SERVICE */
.service h1 {
  margin-bottom: 1.5em;
}

.service .flex {
  justify-content: center;
}

.service__box {
  border-top: 1px solid #B2E7F8;
}

.service__mb {
  margin-bottom: 20em;
}

.service__content {
  width: 50%;
}

.service__inner {
  margin: 0 6em;
}

.service .txt-area {
  padding-left: 5em;
}

.service__num {
  font-size: 1.4rem;
}

.service__content h2 {
  margin-bottom: 1em;
}

.btn__service {
  margin-top: 1em;
}

/* ===== SP ===== */
@media (max-width: 768px) {

  .service__inner {
    margin: 0;
    padding: 0 5%;
  }

  .service__box {
    flex-direction: column;
    gap: 1em;
  }

  .service__content {
    width: 100%;
  }

  /* txt-area がPC用に左paddingしてる前提 → SPは解除 */
  .service .txt-area {
    padding-left: 0;
    padding-right: 0;
  }

  .service__mb {
    margin-bottom: 3em;
  }

}

/* SERVICE ここまで*/


/* REASON */
.reason h1 {
  margin-bottom: 2.2em;
}

.reason-mt {
  margin-bottom: 12.5em;
}

/* 2カラム比率 */
.reason__box {
  align-items: center;
}

.reason__box .txt-area {
  flex: 0 0 36.5%;
}

.reason__box .reason__content:not(.txt-area) {
  flex: 0 0 63.5%;
}

/* 画像 */
.reason__box img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右に画像がある行：画像を右端まで伸ばす */
.reason__box.is-image-right .reason__content:not(.txt-area) {
  margin-right: calc(50% - 50vw);
}

/* 左に画像がある行：画像を左端まで伸ばす */
.reason__box.is-image-left .reason__content:not(.txt-area) {
  margin-left: calc(50% - 50vw);
}

/* テキストの寄せ（必要なら） */
.reason__box.is-image-right .txt-area {
  padding-left: 4.5em;
  text-align: center;
}

.reason__box.is-image-left .txt-area {
  padding-right: 4.5em;
  text-align: center;
}

/* 見出し等 */
.reason__content h2 {
  margin-bottom: 1em;
}

.btn__reason {
  margin-top: 1em;
}

/* ===== SP ===== */
@media (max-width: 768px) {

  /* まずSPでもflexを確実に効かせる */
  .reason__box {
    display: flex;
    gap: 1em;
  }

  /* 左画像（画像→文）＝そのまま縦積み */
  .reason__box.is-image-left {
    flex-direction: column;
  }

  /* 右画像（文→画像）＝縦積みで逆順にして「画像→文」へ */
  .reason__box.is-image-right {
    flex-direction: column-reverse;
  }

  .reason__content {
    width: 100%;
    min-width: 0;
  }

  .reason__content img {
    display: block;
    margin: 0 auto;
  }

  .reason .txt-area {
    padding-left: 0;
    padding-right: 0;
  }

  .reason__box.is-image-right .reason__content:not(.txt-area) {
    margin-right: 0;
    padding-left: 5%;
  }

  .reason__box.is-image-right .txt-area {
    padding-left: 0;
  }

  .reason__box.is-image-left .reason__content:not(.txt-area) {
    margin-left: 0;
    padding-right: 5%;
  }

  .reason__box.is-image-left .txt-area {
    padding-right: 0;
  }

  .reason-mt {
    margin-bottom: 3em;
  }

}

/* REASON ここまで */


/* WORKS */
.home-works h1 {
  margin-bottom: 2.2em;
}

.home-works {
  background-image: url(/wp-content/themes/nakazawa/images/works_bg.png);
  background-size: cover;
}

.home-works__inner {
  padding: 5em 0;
}

.home-works .flex {
  gap: 32px;
  justify-content: center;
}

.meta_flex {
  display: flex;
  gap: 10px;
}

.home-works__card {
  width: 340px;
  background-color: #fff;
  border-radius: 10px;
  padding: 21px;
}

.works__card__meta {
  margin-top: 1.5em;
}

.works__card__row {
  margin: 1em 0;
}

.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 23px;
  font-size: 1.4rem;
  border-radius: 9999px;
}

.works__cta {
  text-align: center;
  margin-top: 3.5em;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .home-works .flex {
    flex-direction: column;
    gap: 3em;
    margin: 0 5%;
  }

  .home-works__card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* WORKS ここまで*/



/* CONTACT */

/* .cta{
  text-align: center;
  background-image: url(/wp-content/themes/nakazawa/images/cta_bg.png);
  background-size: cover;
  padding: 5em auto;
}


.cta__content{
  width: 328px;
}

.cta__inner{
  padding: 2.5em;
  background-color: #fff;
  opacity: 0.5;
} */

/* 背景（レンガ画像） */
.cta {
  padding: 5em 0;
  background-image: url(/wp-content/themes/nakazawa/images/cta_bg.png);
  background-size: cover;
  background-position: center;
}

/* 中央の白カード */
.cta__inner {
  max-width: 898px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2.5em 7em;
  text-align: center;
}


/* 説明文 */
.cta__text {
  margin: 0 0 26px;
  line-height: 1.8;
  font-size: 14px;
  color: #333;
}

/* 2カラム */
.cta__box {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 18px 0 22px;
  align-items: stretch;
}

/* 各枠 */
.cta__content {
  width: min(328px, 100%);
  padding: 18px 20px 20px;
}

/* ラベルと本文 */
.cta__label {
  margin: 0 0 10px;
  font-size: 13px;
  color: #333;
}

.cta__tel {
  font-size: 2.5rem;
  font-weight: 700;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .cta {
    padding: 2em 0;
  }

  .cta__inner {
    margin: 5%;
    padding: 21px;
  }

  .cta__box {
    flex-direction: column;
    gap: 16px;
  }

  .cta__content {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .btn-cta {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 320px;
  }

  /* 電話番号が大きすぎて溢れる場合の保険（必要なら） */
  .cta__tel {
    word-break: keep-all;
  }
}

/* CONTACT ここまで*/


/* 会社概要 */


.plofile__box {
  max-width: 632px;
  margin: auto;
  margin-top: 5em;
}

.company-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
}

/* ★ 追加：行をflex化 */
.company-table tr {
  display: flex;
  align-items: flex-start;
  /* 上揃え */
}

/* ★ 行間16px（2行目以降に上マージン） */
.company-table tr+tr {
  margin-top: 16px;
}

.company-table th,
.company-table td {
  line-height: 1.8;
  padding: 0;
  vertical-align: top;
}

/* th（左ラベル） */
.company-table th {
  flex: 0 0 120px;
  /* widthの代わり */
  background: #E0F0F5;
  text-align: center;
  white-space: nowrap;
  font-weight: normal;
}

/* td（内容） */
.company-table td {
  flex: 1;
  background: #fff;
  padding-left: 1.25em;
}

/* 複数行のところを少し詰めたい場合 */
.tight td {
  line-height: 1.8;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .company__inner {
    padding: 0 5%;
  }

  .plofile__box {
    margin-top: 3em;
  }
}


/* 沿革 */
.history__box {
  max-width: 790px;
  margin: auto;
  margin-bottom: 2em;
}

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

.history-list li {
  line-height: 27px;
  /* XDが27なら */
  padding: 0.5em 0;
  border-bottom: 1px dashed #B1E7F8;
  /* 水色点線 */
}

.map__box {
  max-width: 960px;
  height: 350px;
  margin: 0 auto;
}

.gmap {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 会社概要 ここまで */



/* 企業理念 */
.main_copy {
  font-size: 2.4rem;
  margin: 2.35em 0;
}

.cherish__box {
  justify-content: center;
  gap: 106px;
  margin: 2em 0;
}

.cherish__box p {
  font-size: 1.2rem;
}

.message__box {
  margin-top: 7.25em;
  padding: 0 12.5%;
}


.message {
  line-height: 52px;
  margin-top: 7.25em;
}

.signature {
  text-align: right;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .philosophy__inner {
    padding: 0 5%;
  }

  .cherish__inner {
    padding: 0 5%;
  }

  .cherish__box {
    flex-direction: column;
    align-items: center;
    gap: 3em;
  }

  .cherish__content {
    width: 100%;
    max-width: 420px;
  }

  .cherish__content img {
    display: block;
    margin: 0 auto;
  }

  .message__box {
    margin-top: 3em;
    padding: 0 5%;
  }

  .message {
    line-height: 40px;
    margin-top: 3em;
  }

}

/* 企業理念 ここまで */



/* 業務内容 */
.gyoumu h1 {
  margin-bottom: 2.15em;
}

.gyoumu h2 {
  margin-bottom: 1.2em;
}

.gyoumu h3 {
  margin-top: 2em;
}

.gyoumu__box {
  margin-bottom: 6.25em;
}

.detail__content {
  max-width: 304px;
}

.detail__box {
  align-items: start;
  justify-content: center;
  gap: 1.5em;
  margin-bottom: 2em;
}

.detail__title {
  font-size: 2rem;
  margin: 0.8em 0;
}

.long__box {
  max-width: 796px;
  margin: auto;
  margin-top: 3.5em;
  margin-bottom: 6.25em;
}

.long__content {
  gap: 2em;
  padding: 1em 3.5em;
  margin-top: 2em;
}

.long__content img{
  max-width: none;
}

.check__box {
  max-width: 796px;
  margin: auto;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2em;
  margin-bottom: 2em;
}

.check-card {
  position: relative;
  padding: 1em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 184px;
}

.check-card p {
  font-size: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  /* 基準ライン */
  margin: 0;
  line-height: 1.6;
  width: calc(100% - 2em);
  /* padding分を引く */
}

/* 番号画像 */
.check-num {
  position: absolute;
  top: 16px;
  left: 16px;
}

/* テキスト */
.check-card p {
  margin: 0;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .gyoumu__inner {
    padding: 0 5%;
  }

  .long__inner {
    padding: 0 5%;
  }

  /* 3カード：折り返しできるように */
  .detail__box {
    flex-wrap: wrap;
  }

  /* スマホ：1列 */
  .detail__content {
    width: 100%;
    max-width: 100%;
  }

  /* サービス詳細カード用 */
  .detail__content img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
  }

  /* メンテナンスの「アイコン＋文章」：スマホは縦積み */
  .long__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 1em 1.25em;
    /* 余白が大きければ少し縮める */
    margin-top: 2em;
  }

  .check-grid {
    grid-template-columns: 1fr;
    gap: 2em;
  }

}

/* 業務内容 ここまで*/



/* 工事費用 */
.price h2 {
  margin-bottom: 0.8em;
}

/* 外枠 */
.price__box {
  overflow: hidden;
  /* 角丸を効かせる */
  background: #fff;
  max-width: 960px;
  margin: auto;
  margin-top: 2.4em;
}

/* テーブル基本 */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

/* ヘッダー */
.price-table thead th {
  background: #F5F5E0;
  padding: 0.75em;
  text-align: center;
  font-weight: normal;
}

/* 本文 */
.price-table tbody td {
  padding: 0.75em;
  vertical-align: middle;
  text-align: center;
}

/* tbody の最初の行の上だけ 2em */
.price-table tbody tr:first-child td {
  padding-top: 2em;
}

/* tbody の最後の行の下だけ 2em */
.price-table tbody tr:last-child td {
  padding-bottom: 2em;
}

.flow__box {
  max-width: 796px;
  margin: auto;
  margin-top: 3em;
}

.flow__content {
  gap: 2em;
  padding: 0em 3.5em;
  margin-top: 2em;
}

.flow__content img{
  max-width: none;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .price__inner {
    padding: 0 5%;
  }

  .price-table {
    width: 100%;
    border-collapse: separate;
    /* ← collapseやめる */
    border-spacing: 0;
    /* ← 安定させる */
  }

  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  /* 1案件＝1カード */
  .price-table tr {
    margin-bottom: 3em;
    border: 1px solid #F5F5E0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
  }

  .price-table tbody td {
    padding: 0;
  }

  .price-table tbody tr:first-child td {
    padding-top: 0;
  }

  /* td の paddingは完全削除 */
  .price-table td {
    padding: 0;
    margin-bottom: 1.5em;
    /* ← テキスト間の余白 */
    border: none;
    line-height: 1.7;
    /* ← 読みやすく */
  }

  /* ラベル */
  .price-table td::before {
    display: block;
    padding: 6px 10px;
    margin-bottom: 0.75em;
    background: #F5F5E0;
    color: #000;
    border-radius: 4px;
  }

  .price-table td:nth-child(1)::before {
    content: "工事内容";
  }

  .price-table td:nth-child(2)::before {
    content: "施工面積";
  }

  .price-table td:nth-child(3)::before {
    content: "金額";
  }

  .price-table td:nth-child(4)::before {
    content: "備考";
  }

  .flow__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 1em 1.25em;
    /* 余白が大きければ少し縮める */
    margin-top: 2em;
  }
}

/* 工事費用 ここまで*/



/* 施工事例 */
.renovation {
  margin-top: 4em;
}

.new-build {
  margin-top: 6.25em;
}

.works__box {
  max-width: 796px;
  margin: auto;
  margin-top: 3em;
}

.works__card {
  padding: 3.5em 3.5em 1em;
  margin: 2em 0;
}

/* 画像エリアを2列にする（このカードだけ） */
.works__card__img--ba {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px;
  /* 画像間の余白 */
}

/* 既存の .works__card__img img を殺さずに整える */
.works__card__img--ba img {
  width: 100%;
  height: 228px;
  /* 好みで調整 */
  object-fit: cover;
  display: block;
}

/* Before / After ラベル */
.ba__label {
  font-size: 1.2rem;
}

/* 念のため：metaの2行目の右側もclass統一 */
.works__card__row .text {
  line-height: 1.6;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .works__inner {
    padding: 0 5%;
  }

  .works__card {
    padding: 1em;
  }


  /* Before/After を縦に */
  .works__card__img--ba {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .works__card__img--ba .ba {
    width: 100%;
  }

  .works__card__img--ba img {
    width: 100%;
    height: auto;
    display: block;
  }

}

/* 施工事例 ここまで*/



/* 採用情報 */

.recruit-list {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0 auto;
  margin-top: 3.5em;
  /* ← 中央寄せ */
  width: fit-content;
  /* ← 中身の幅に合わせる */
  text-align: left;
  /* ← 文字は左揃え */
}


.ideal__box {
  max-width: 960px;
  margin: auto;
}

/* 3カラム共通 */
.ideal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ideal_01 {
  margin: 2em 0 3.5em;
}

.ideal_02 {
  margin: 2em 0 2em;
}


/* 共通カード */
.ideal-card {
  padding: 1em;
}

/* 上段（ピンク） */
.is-pink {
  background: #e9a1c7;
  border-radius: 10px;
}


/* 下段タイトル */
.ideal-card__title {
  margin: 0 0 0.5em;
}

/* 下段テキスト */
.ideal-card__text {
  margin: 0;
  font-size: 1.2rem;
}

/* ===== SP ===== */
@media (max-width: 768px) {

  /* 共通：左右余白 */
  .recruit__inner,
  .ideal__inner {
    padding: 0 5%;
  }

  /* 「求める人物像」全体を縦に */
  .ideal-grid {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }

  /* 上段/下段カードは縦積み */
  .ideal-cards {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }

  /* カードは幅100%で */
  .ideal-card {
    width: 100%;
    box-sizing: border-box;
  }

  .ideal_01 {
    margin: 0 0 3em;
  }

  .ideal_02 {
    margin: 0 0 1em;
  }

}

/* 採用情報 ここまで*/



/* 新着情報 */
.news__box {
  max-width: 680px;
  margin: auto;
  margin-top: 5.5em;
}

.news-list {
  list-style: none;
}

.news-item {
  border-bottom: 1px solid #E4E4E4;
  margin-bottom: 1em;
}

.news-item a {
  display: block;
  text-decoration: none;
  color: #000;
}

.news-title {
  display: block;
  margin: 0;
}

.news-date {
  display: block;
  font-size: 1.2rem;
  color: #5D5D5D;
  margin: 0.5em 0;
}

/* ホバー */
.news-item a:hover {
  opacity: 0.7;
}

.column__box {
  max-width: 960px;
  margin: auto;
  margin-top: 2em;
}

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

.column-card a {
  text-decoration: none;
  color: #000;
  display: block;
}

/* サムネ */
/* サムネ枠 */
.column-card__thumb {
  background: #bbb;
  width: 304px;
  /* 追加 */
  height: 228px;
  /* 追加 */
  overflow: hidden;
  border-radius: 10px;
}

/* 画像本体 */
.column-card__thumb img {
  width: 304px;
  height: 228px;
  object-fit: cover;
  display: block;
  /* ← 念のため */
}


/* タイトル */
.column-card__title {
  margin-top: 1em;
  line-height: 26px;
}

/* hover */
.column-card a:hover {
  opacity: 0.7;
}

/* ===== SP ===== */
@media (max-width: 768px) {

  /* 内側余白 */
  .news__inner,
  .column__inner {
    padding: 0 5%;
  }

  .news__box {
    margin-top: 3em;
  }

  /* column：3枚→1列に */
  .column-grid {
    display: flex;
    flex-direction: column;
    gap: 2em;
  }

  .column-card__thumb {
    width: 100%;
  }

  .column-card__thumb img {
    width: 100%;
    height: auto;
    display: block;
  }
}


/* 新着情報 ここまで*/



/* お問い合わせ */
.form_contact {
  max-width: 680px;
  margin: 0 auto;
  /* 中央配置 */
}

.form_contact_box {
  width: 100%;
}

.form_contact label {
  display: block;
  margin-bottom: 1em;
  font-weight: 500;
}

.form_contact input:not([type="submit"]):not([type="button"]):not([type="reset"]),
.form_contact textarea {
  width: 100%;
  padding: 1em;
  margin-top: 0.5em;
  border: 1px solid #E4E4E4;
  border-radius: 10px;
  box-sizing: border-box;
  transition: border .2s;
}

.form_contact textarea {
  min-height: 160px;
  resize: vertical;
}

.form_contact input:focus,
.form_contact textarea:focus {
  outline: none;
  border-color: #E398C1;
  /* アクセントカラー */
}

.must {
  color: #E398C1;
  margin-left: 4px;
  font-size: 1em;
}

.wpcf7-spinner {
  display: none;
}

/* 送信ボタン中央 */
.form-submit {
  text-align: center;
}

.form-submit input[type="submit"] {
  width: auto;
  /* ← 100%にならない */
  cursor: pointer;
  border: none;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .contact__inner {
    padding: 0 5%;
  }
}

/* お問い合わせ ここまで*/


/* プライバシーポリシー */
.privacy-policy__box {
  margin: 3.5em 10%;
}

.privacy_explain {
  margin: 4em 0;
}

.privacy_explain ul {
  margin: 0 2em;
}

/* プライバシーポリシー ここまで*/


/* フッター */
/* ===== Footer ===== */

.site-footer {
  background: #F3F9FB;
}

.site-footer__inner {
  width: 100%;
  margin: 0 auto;
  padding: 3.5% 5% 0 5%;
}

/* 上段 */
.footer-main {
  display: flex;
  justify-content: space-between;
}

/* ロゴ */
.footer-logo img {
  width: 211px;
}

/* ナビ4列 */
.footer-navs {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2.5em;
}

/* 共通 */
.footer-title {
  margin: 0;
  margin-bottom: 0.5em;
}

.footer-title a {
  font-size: 1.4rem;
  color: #000;
  text-decoration: none;
}

.footer-title a:hover {
  text-decoration: underline;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.5em;
}

/* 見出し以外のリンクに - を付ける */
.footer-nav ul li a::before {
  content: "- ";
  margin-right: -2px;
}

.footer-nav a {
  font-size: 1.4rem;
  color: #000;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* 縦セット列 */
.footer-nav--stack {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

/* 下段 */
/* プライバシーポリシー部分 */
.footer-policy {
  border-top: 1px solid #e5e5e5;
  padding: 1em 0 2.5em;
  text-align: center;
  background: #F3F9FB;
  /* ← 好きな色 */
  margin-top: 4em;
}

.footer-privacy {
  color: #000;
  font-size: 1.4rem;
  text-decoration: none;
}

/* コピーライト部分 */
.footer-copy-area {
  background: #fff;
  /* ← 白 */
  padding: 0.2em 0;
  text-align: center;
}

.footer-copy {
  font-size: 1rem;
  color: #707070;
  margin: 0;
}

/* SP */
@media (max-width:900px) {
  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-navs {
    grid-template-columns: repeat(2, auto);
  }
}

@media (max-width:480px) {
  .footer-navs {
    grid-template-columns: 1fr;
  }
}

/* フッター ここまで*/

/* 投稿-シングルページ */
.single__box {
  max-width: 960px;
  margin: 0 auto;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .single__inner {
    padding: 0 5%;
  }
}


/* 投稿-シングルページ ここまで*/



/* ===== Hamburger menu FINAL ===== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ハンバーガー / × ボタン */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 12px;
  position: fixed;
  /* ← スクロールしても消えない */
  top: 10px;
  right: 2%;
  z-index: 1002;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: #B1E7F8;
  transition: .25s;
}

/* × に変形 */
#site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

#site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== SP ===== */
@media (max-width:900px) {

  .nav-toggle {
    display: block;
  }

  /* メニュー本体 */
  #primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    /* ← 完全白 */
    padding-top: 80px;
    z-index: 1001;
    display: none;
  }

  /* ハンバーガー表示時のリンク色を黒に固定 */
  #primary-nav .gnav a {
    color: #000;
  }

  #primary-nav .gnav a:visited {
    color: #000;
  }

  #primary-nav .gnav a:hover {
    color: #000;
  }

  #site-header.is-nav-open #primary-nav {
    display: block;
  }

  /* 縦一列 */
  .gnav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 24px;
  }

  .gnav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
  }

  .gnav i {
    width: 18px;
    text-align: center;
  }
}