

    /* =======================
       HERO：左右2枚＆中央コピー
       ======================= */
    .hero {
      position: relative;
      overflow: hidden;
      height: min(80vh, 640px);
      min-height: 360px;
    }

    /* スライド全体 */
    .hero-slides {
      position: absolute;
      inset: 0;
    }

    /* 1枚のスライド（左右2分割） */
    .hero-slide {
      position: absolute;
      inset: 0;
      display: flex;
      opacity: 0;
      transform: scale(1.05);              /* ぶわっと感用：少しズームさせておく */
      transition: opacity 1.6s ease-in-out,
                  transform 1.6s ease-in-out;
    }

    /* 表示中スライド */
    .hero-slide.is-active {
      opacity: 1;
      transform: scale(1);                  /* フェード＋ズームアウトで「ぶわっ」と表示 */
    }

    /* 左右の半分 */
    .hero-slide-half {
      flex: 1;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
    }

    /* 左右で若干トリミング位置を変えたい場合はここで */
    .hero-slide-half--left {
      background-position: center left;
    }
    .hero-slide-half--right {
      background-position: center right;
    }

    /* うっすら暗くするグラデーション */
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: radial-gradient(
                  circle at center,
                  rgba(0,0,0,0.25) 0,
                  rgba(0,0,0,0.45) 60%,
                  rgba(0,0,0,0.6) 100%
                );
      pointer-events: none;
    }

    /* 中央のコピーエリア */
    .hero-content {
      position: relative;
      z-index: 2;
      height: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;              /* 中央寄せ */
      text-align: center;
      color: #fff;
    }

    /* 白いシンボルアイコン */
    .hero-symbol {
      width: 64px;
      height: auto;
      margin-bottom: 24px;
    }

    /* メインコピー */
    .hero-copy-main {
      font-size: clamp(32px, 4.8vw, 52px);
      letter-spacing: 0.2em;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    /* サブコピー（例画像では1行なので背景なし） */
    .hero-copy-sub {
      font-size: 14px;
    }

    /* ドットナビ */
    .hero-dots {
      position: absolute;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 3;
    }

    .hero-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: 1px solid #fff;
      background: transparent;
      opacity: 0.7;
      cursor: pointer;
    }
    .hero-dot.is-active {
      background: #fff;
      opacity: 1;
    }

    /* ===== レスポンシブ ===== */
    @media (max-width: 960px) {

      .hero {
        height: min(70vh, 520px);
        min-height: 320px;
      }

      /* スマホでは上下 2 分割にする（好みで横のままでも可） */
      .hero-slide {
        flex-direction: column;
      }

      .hero-copy-main {
        font-size: clamp(26px, 7vw, 34px);
        letter-spacing: 0.16em;
      }

      .hero-copy-sub {
        font-size: 13px;
      }

      .hero-symbol {
        width: 52px;
        margin-bottom: 18px;
      }
    }


    /* =======================
       SECTION COMMON
       ======================= */
    section {
      padding: 64px 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-eyebrow {
      /*font-family: "Montserrat", system-ui, sans-serif;*/
      letter-spacing: 0.2em;
      font-size: 12px;
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .section-title {
      font-size: 22px;
      letter-spacing: 0.1em;
      margin-bottom: 8px;
    }

    .section-sub {
      font-size: 13px;
      color: var(--color-gray);
    }

    /* =======================
       SERVICES
       ======================= */
    .services {
  background: #fff;
  padding: 80px 0 100px;
  overflow-x: hidden;   /* ←これが最重要 */
  position: relative;
    }

    .services .inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .services__header {
      text-align: center;
      margin-bottom: 48px;
    }

    .services__label {
      /*font-family: "Roboto", system-ui, sans-serif;*/
      letter-spacing: 0.2em;
      font-size: 14px;
    }

    .services__sub {
      font-size: 18px;
      margin-top: 4px;
    }

    .service-block {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 56px;
      margin-bottom: 1em;
    }

    .service-block--reverse {
      flex-direction: row-reverse;
    }

    .service-block__text {
      flex: 1;
      min-width: 280px;
    }
    /* 外枠全体のラッパー */
    .service-tag {
      position: relative;
      display: inline-block;
    }

    .service-block__lead {
      line-height: 2;
      margin-bottom: 24px;
    }

    .service-block__list-wrap {
      margin-bottom: 24px;
    }

    .service-block__list-title {
      font-weight: 700;
      margin-bottom: 8px;
    }

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

    .service-block__list li::before {
      content: "•";
      color: #f39b1a;
      margin-right: 4px;
    }

    .service-block__media {
      flex: 1;
      min-width: 320px;
      position: relative;
    }

    .service-block__bg {
      position: absolute;
      top: -32px;
      right: -15%;
      width: 100%;
      height: 100%;
      background: #2F3A3E;
      border-radius: 6px;
      z-index: 1;
    }

    /* 反転時はグレーを左に */
    .service-block--reverse .service-block__bg {
      right: auto;
      left: -15%;
    }

    .service-block__photos {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .service-block__photo {
      overflow: hidden;
      border-radius: 6px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .service-block__photo img {
      display: block;
      width: 100%;
      height: auto;
    }

    .service-block__photo--main {
      width: 80%;
    }

    .service-block__photo--sub {
      width: 60%;
      align-self: flex-end;
    }

    /* 庭リフォーム側は少しレイアウトを変えてもOK */
    .service-block--reverse .service-block__photo--main {
      align-self: flex-end;
    }

    .service-block--reverse .service-block__photo--sub {
      align-self: flex-start;
    }

    .btn-more {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 32px;
      /*border-radius: 999px;*/
      border-radius: 6px;
      font-size: 14px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      text-decoration: none;
      transition: 0.25s ease;
    }

    .btn-more--service {
      background: #f39b1a;
      color: #fff;
    }

    .btn-more--service:hover {
      opacity: 0.85;
    }

    /* スマホ対応 */
    @media (max-width: 768px) {
      .service-block,
      .service-block--reverse {
        flex-direction: column;
        padding: 1em 0;
      }
      .service-block__bg {
        top: -16px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 100%;
      }
      .service-block__photos {
        align-items: center;
      }
      .service-block__photo--main {
        width: 90%;
      }
      .service-block__photo--sub {
        width: 70%;
      }
      .service-tag {
        padding: 12px 40px;
      }
      .service-tag__inner {
        font-size: 22px;
        letter-spacing: 0.2em;
      }
      .service-tag::before {
        top: -8px;
        left: -10px;
        width: calc(100% + 20px);
        height: calc(100% + 16px);
      }
      .service-tag__inner::before {
        left: -26px;
        bottom: -14px;
        width: 18px;
        height: 18px;
      }
      .service-tag__inner::after {
        right: -26px;
        top: -14px;
        width: 18px;
        height: 18px;
      }

    }

    /* タイトル共通スタイル */
    .service-title {
      position: relative;
      width: 100%;
      max-width: 520px;       /* お好みで調整 */
      margin: 0 auto 40px;    /* 中央寄せ */
      
      /* 背景画像の指定 */
      background-image: url("/wp/wp-content/themes/niwano-sonoyama/assets/images/service_title_bg.svg");
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;

      /* 背景画像の比率を維持（必須） */
      aspect-ratio: 520 / 160;  /* 画像の横幅÷高さの比率に合わせて下さい */
    }

    /* テキスト部分 */
    .service-title span {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);

      font-size: 32px;
      font-weight: 700;
      letter-spacing: 0.25em;
      color: #333;
      white-space: nowrap; /* 文字折返し防止 */
    }

    /* スマホ対応 */
    @media (max-width: 768px) {
      .service-title {
        max-width: 360px;
      }
      .service-title span {
        font-size: 24px;
        letter-spacing: 0.18em;
      }
    }





/* ===== services の画像レイアウト調整 ===== */

/* 画像側コンテナ */
.service-block__media {
  flex: 1;
  min-width: 360px;
  max-width: 520px;          /* 横に広がりすぎないよう制限 */
  position: relative;
}

/* 後ろのダークグレーの板 */
.service-block__bg {
  position: absolute;
  top: -32px;
  right: -30%;      /* ここを大きくしてもスクロールしない */
  width: 120%;       /* 画面より大きく */
  height: 100%;
  background: #2F3A3E;
  border-radius: 6px;
  z-index: 1;
}

/* 反転時は左側に */
.service-block--reverse .service-block__bg {
  right: auto;
  left: -30%;
}

/* 写真を縦並び＆中央寄せ */
.service-block__photos {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

/* 各写真カード共通 */
.service-block__photo {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* 比率固定：4:3（お好みで変更可） */
.service-block__photo--main {
  width: 80%;
  aspect-ratio: 4 / 3;
}

.service-block__photo--sub {
  width: 60%;
  aspect-ratio: 4 / 3;
  align-self: flex-end;
}

/* reverse 側だけ配置を入れ替え */
.service-block--reverse .service-block__photo--main {
  align-self: flex-end;
}
.service-block--reverse .service-block__photo--sub {
  align-self: flex-start;
}

/* 画像は枠いっぱい＆トリミング */
.service-block__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SP 調整 ===== */
@media (max-width: 768px) {
  .service-block__media {
    min-width: 100%;
    max-width: 100%;
  }

  .service-block__bg {
    /*top: -16px;*/
    /*left: 0;*/
    right: -50%;
    /*width: 100%;*/
    /*margin: 0 auto;*/
  }

  .service-block__photos {
    align-items: center;
  }

  .service-block__photo--main {
    width: 90%;
  }

  .service-block__photo--sub {
    width: 70%;
    align-self: flex-end;
  }
}





    /* =======================
       REASON
       ======================= */

    /* セクション背景 */

    .reason {
      background: #f6f2f2;
      padding: 100px 0;
    }

    .reason .inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .reason-header {
      text-align: center;
      margin-bottom: 60px;
      position: static;
    }

    .reason-label {
      /*font-family: "Montserrat", sans-serif;*/
      font-size: 28px;
      letter-spacing: 0.1em;
      margin-bottom: 8px;
    }

    .reason-sub {
      font-size: 14px;
      margin-bottom: 16px;
    }

    .reason-title {
      font-size: 26px;
      line-height: 1.7;
    }

    .reason-section {
      position: relative;
      padding: 80px 0;
      background: url("/wp/wp-content/themes/niwano-sonoyama/assets/images/reason-bg.png") center top / cover no-repeat;
      background-attachment: fixed; /* PCではパララックス風に */
    }

    .reason-title {
      text-align: center;
      font-size: 20px;
      line-height: 1.8;
      margin-bottom: 48px;
      font-weight: 600;
    }
    .reason-items {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 60px;
    }
    .reason-item {
      position: relative;
    }

    .reason-item img {
      width: 100%;
      border-radius: 6px;
    }
    .reason-card {
      position: absolute;
      left: 40px;
      bottom: -30px;
      width: 60%;
      padding: 24px;
      border-radius: 6px;
      color: #fff;
      line-height: 1.7;
    }

    .reason-card.green {
      background: #3b8f5c;
    }

    .reason-card.orange {
      background: #f4a328;
    }

    .reason-card.dark {
      background: #444;
    }
    @media (max-width: 768px) {
      .reason-section {
        background-attachment: scroll; /* SP Safari対策 */
        background-size: contain;
      }

      .reason-card {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        margin-top: 12px;
      }
    }

    /* REASONセクションの背景だけを設定 */
    #reason {
      background-image: url("/wp/wp-content/themes/niwano-sonoyama/assets/images/reason-bg.png");
      background-repeat: no-repeat;
      background-position: left bottom; /* 下に線画が来るように */
      background-size: 50% auto;         /* 横幅いっぱいにフィット */
    }

    /* スマホで縦長になった時の調整（必要に応じて） */
    @media (max-width: 768px) {
      #reason {
        background-size: contain;          /* 画面を自然に埋める */
        background-position: left bottom;
      }
    }



    /* =======================
       REASON（3つの理由）
       ======================= */

    /* 各ブロック基本設定 */
    .reason-item {
      position: relative;
      max-width: 1200px;
      margin: 0 auto 120px; /* ブロック同士の間隔 */
    }

    /* 画像（独立表示） */
    .reason-image img {
      width: 100%;
      border-radius: 6px;
      display: block;
    }

    /* テキストBOX（画像に少しだけかぶせる） */
    .reason-text-box {
      position: relative;
      width: 42%;        /* テキスト40％イメージ */
      padding: 2em 1.5em;
      border-radius: 6px;
      color: #fff;
      z-index: 3;
      box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    /* 1つ目（テキスト左 → 写真右。左側に配置して写真にかぶせる） */
    .reason-item-1 {
      display: flex;
      justify-content: flex-start;
    }

    .reason-item-1 .reason-text-box {
      margin-right: -40px;   /* ← 写真に40pxかぶせる */
      align-self: center;
    }

    .reason-item-1 .reason-image {
      width: 60%;
      margin-left: auto;
    }

    /* 2つ目（テキスト右 → 写真左。右側に配置してかぶせる） */
    .reason-item-2 {
      display: flex;
      justify-content: flex-end;
    }

    .reason-item-2 .reason-text-box {
      margin-left: -40px;  /* ← 写真に40pxかぶせる */
      align-self: center;
    }

    .reason-item-2 .reason-image {
      width: 60%;
      margin-right: auto;
    }

    /* 3つ目（1つ目と同じ向き） */
    .reason-item-3 {
      display: flex;
      justify-content: flex-start;
    }

    .reason-item-3 .reason-text-box {
      margin-right: -40px;
      align-self: center;
    }

    .reason-item-3 .reason-image {
      width: 60%;
      margin-left: auto;
    }

    /* テキストBOXカラー */
    .reason-text-green  { background: #4c8b50; }
    .reason-text-orange { background: #f4a328; }
    .reason-text-dark   { background: #555; }


    /* -----------------------
       スマホ表示（縦並び）
    ------------------------ */
    @media (max-width: 768px) {
      .reason-item {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        margin-bottom: 60px;
      }

      /* 画像を必ず先に表示（上：画像 → 下：テキスト） */
      .reason-item-1 .reason-image,
      .reason-item-2 .reason-image,
      .reason-item-3 .reason-image {
        order: 1;
        width: 100%;
      }

      .reason-item-1 .reason-text-box,
      .reason-item-2 .reason-text-box,
      .reason-item-3 .reason-text-box {
        order: 2;
        width: 100%;
        margin: 16px auto 0;   /* 画像との間に少し余白 */
        position: static;      /* PC用のpositionの影響を消す */
        box-shadow: none;      /* 必要なら影も消す（好みで） */
      }

      .reason-text-box {
        padding: 20px 16px;
      }
    }






    /* =======================
       WORKS
       ======================= */
    /* 共通コンテナ */
    .top-works {
      padding: 100px 0 120px;
      background: #ffffff;
    }

    .top-works .inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 見出し */
    .top-works-header {
      text-align: right;
      margin-bottom: 48px;
      position: relative;
      display: inline-block;
      margin-left: auto;
    }

    .top-works-label {
      /*font-family: "Montserrat", sans-serif;*/
      font-size: 40px;
      font-weight: 700;
      letter-spacing: 0.12em;
      font-style: italic;
      position: relative;
      z-index: 2;
    }

    .top-works-header::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 8px;
      width: 140px;
      height: 10px;
      background: #4c8b50; /* グリーンのライン */
      z-index: 1;
    }

    .top-works-sub {
      font-size: 14px;
      font-weight: 700;
      margin-top: 4px;
    }

    /* カード一覧 */
    .top-works-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-bottom: 56px;
    }

    .top-works-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      /*cursor: pointer;*/
    }

    .top-works-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    }

    .top-works-card:hover img {
      transform: scale(1.05);
    }

    .top-works-thumb img {
      transition: transform 0.3s ease;
      border-radius: 6px;
    }


    .top-works-body {
      padding: 24px 24px 28px;
      background: #f7f7f7;
    }

    .top-works-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .top-works-text {
      font-size: 14px;
      line-height: 1.8;
    }

    /* ホバー */
    .top-works-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    }

    /* MORE WORKS ボタン */
    .top-works-footer {
      text-align: center;
    }

    .btn-more-works {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 260px;
      padding: 18px 40px;
      border: 2px solid #555;
      border-radius: 6px;
      font-size: 16px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      background: #fff;
      transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .btn-more-works:hover {
      background: #555;
      color: #fff;
      transform: translateY(-2px);
    }

    /* レスポンシブ */
    @media (max-width: 1024px) {
      .top-works-list {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .top-works {
        padding: 72px 0 96px;
      }

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

      .top-works-header {
        text-align: left;
        display: block;
      }

      .top-works-header::after {
        left: 0;
        right: auto;
      }
    }


    /* =======================
       NEWS
       ======================= */
    /* NEWS セクション */
    .top-news {
      padding: 80px 0 100px;
      background: #dde3e1; /* 背景の薄いグレー */
    }

    .top-news .inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 見出し（中央寄せ） */
    .top-news-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .top-news-label {
      /*font-family: "Montserrat", sans-serif;*/
      font-size: 40px;
      font-weight: 700;
      font-style: italic;
      letter-spacing: 0.12em;
    }

    .top-news-sub {
      font-size: 14px;
      font-weight: 700;
      margin-top: 4px;
    }

    /* 一覧表示 */
    .top-news-list {
      list-style: none;
      margin: 0 0 56px;
      padding: 0;
    }

    .top-news-item + .top-news-item {
      margin-top: 20px;
    }

    .top-news-item a {
      display: flex;
      align-items: center;
      gap: 40px;
      padding: 10px 0;
      border-bottom: 2px solid #000;
      color: inherit;
    }

    .top-news-date {
      min-width: 120px;
      font-size: 16px;
      font-weight: 700;
    }

    .top-news-title {
      flex: 1;
      font-size: 16px;
      line-height: 1.8;
    }

    /* ホバー時のわずかな変化 */
    .top-news-item a:hover .top-news-title {
      text-decoration: underline;
    }

    /* MORE NEWS ボタン */
    .top-news-footer {
      text-align: center;
    }

    .btn-more-news {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 260px;
      padding: 18px 40px;
      margin-top: 12px;
      border: 2px solid #555;
      border-radius: 6px;
      background: #dde3e1;
      font-size: 16px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .btn-more-news:hover {
      background: #555;
      color: #fff;
      transform: translateY(-2px);
    }

    /* レスポンシブ */
    @media (max-width: 768px) {
      .top-news {
        padding: 64px 0 80px;
      }

      .top-news-item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }

      .top-news-date {
        font-size: 14px;
      }

      .top-news-title {
        font-size: 14px;
      }
    }


    /* =======================
       INSTAGRAM
       ======================= */
    .section-instagram {
      padding: 80px 0 100px;
      text-align: center;
    }

    .section-instagram .inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 16px;
    }
    /*
    .section-instagram .section-heading {
      margin-bottom: 40px;
    }
    */

    .section-instagram .section-en {
      /*font-family: "Montserrat", sans-serif;*/
      letter-spacing: 0.2em;
      font-size: 26px;
    }

    .section-instagram .section-ja {
      margin-top: 4px;
      font-size: 14px;
    }

    /* 画像グリッド：SPは2列×3行 */
    .instagram-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      justify-items: center;
      margin-bottom: 40px;
    }

    /* PCは6列×1行 */
    @media (min-width: 960px) {
      .instagram-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 20px;
      }
    }

    .instagram-item {
      display: block;
      width: 100%;
      max-width: 180px;
      overflow: hidden;
      border-radius: 6px;
    }

    .instagram-item img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.4s ease;
    }

    .instagram-item:hover img {
      transform: scale(1.05);
    }

    /* FOLLOW ME ボタン */
    .sbi_load {
      text-align: center;
    }

    .sbi_follow_btn {
      display: inline-block;
      min-width: 260px;
      padding: 14px 40px;
      border-radius: 6px;
      /*font-family: "Montserrat", sans-serif;*/
      font-size: 16px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: #fff;
      text-decoration: none;
      background: linear-gradient(90deg, #ffb36b, #ff6fb5);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
      transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    }

    .sbi_follow_btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
      opacity: 0.9;
    }
    #sb_instagram .sbi_follow_btn a{
          background: none !important;
    }
    #sb_instagram .sbi_follow_btn a:focus, 
    #sb_instagram .sbi_follow_btn a:hover{
       box-shadow: none; 
    }


    /* =======================
       FAQ (QUESTION)
       ======================= */
    /* FAQセクション全体 ----------------------------- */
    .section-faq {
      padding: 80px 0 100px;
      background: #e6eae8;
    }

    .section-faq .inner {
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 20px;
      text-align: center;
    }

    /* 見出し */
    .section-faq .section-en {
      /*font-family: "Montserrat", sans-serif;*/
      font-size: 32px;
      letter-spacing: 0.1em;
      margin-bottom: 4px;
    }

    .section-faq .section-ja {
      font-size: 14px;
      margin-bottom: 40px;
    }

    /* FAQリスト ------------------------------------ */
    .faq-list {
      width: 100%;
      margin-top: 20px;
    }

    .faq-item {
      margin-bottom: 20px;
      text-align: left;
    }

    .faq-question {
      width: 100%;
      padding: 24px 28px;
      background: #fff;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      border: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-icon {
      font-size: 18px;
      color: #2f7d32; /* 緑のアイコン */
      transition: transform 0.3s ease;
    }

    .faq-item.active .faq-icon {
      transform: rotate(180deg);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      background: #fff;
      border-radius: 0 0 6px 6px;
      transition: max-height 0.4s ease;
      padding: 0 28px;
    }

    .faq-answer p {
      padding: 18px 0 24px;
      margin: 0;
      line-height: 1.7;
    }


    /* =======================
       3DCADセクション
       ======================= */
    .section-3dcad {
      padding: 80px 0;
      background: #ffffff;
    }

    .section-3dcad .inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 見出し（右寄せ） */
    .section-heading-right {
      text-align: right;
    }

    .section-heading-right .section-en {
      font-size: 32px;
      font-weight: 700;
      letter-spacing: 0.1em;
    }

    .section-heading-right .section-ja {
      margin-top: 4px;
      font-size: 14px;
    }

    /* 上段：画像3つ横並び */
    .cad-images-row{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }
    .cad-img img{
      width: 100%;
      height: auto;
      display: block;
    }

    .cad-images-row img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* 下段：右下にテキストボックス */
    .cad-text-wrapper {
      display: flex;
      justify-content: flex-end;
      margin-top: 30px;
    }

    .cad-text-box {
      background: #555555;
      color: #ffffff;
      padding: 32px 40px;
      width: 55%;         /* 画像とのバランス用。お好みで調整OK */
      font-size: 14px;
      line-height: 1.8;
      border-radius: 6px;
    }

    /* スマホ版：画像が縦並び → テキストがその下 */
    @media (max-width: 768px) {
      .cad-images-row {
        flex-direction: column;
        gap: 16px;
      }

      .cad-text-wrapper {
        justify-content: center;
      }

      .cad-text-box {
        width: 100%;
        padding: 24px 20px;
      }
    }


    /* スマホ対応 ------------------------ */
    @media (max-width: 768px) {

      .cad-images-row {
        flex-direction: column;
        gap: 16px;
      }

      .cad-text-wrapper {
        justify-content: center;
      }

      .cad-text-box {
        width: 100%;
        padding: 24px 20px;
        text-align: left;
      }
    }


    /* =======================
       company
       ======================= */
    .company-section {
      position: relative;
      padding: 80px 0;
      background: #ffffff;
      overflow: hidden;
    }

    /* 背景画像（薄い透かし） */
    .company-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url("/wp/wp-content/themes/niwano-sonoyama/assets/images/company-bg.png") center/cover no-repeat;
      opacity: 0.75;   /* 透明度（調整可） */
      z-index: 1;
    }

    .company-section .inner {
      position: relative;
      z-index: 2;
      max-width: 900px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* タイトル */
    .company-title {
      text-align: center;
      font-size: 28px;
      letter-spacing: 0.1em;
      margin-bottom: 40px;
      font-weight: 700;
    }

    .company-title span {
      border-bottom: 4px solid #4b8b4b; /* 緑ライン（調整可） */
      padding-bottom: 4px;
    }

    /* テーブル */
    .company-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 16px;
      /*background: rgba(255,255,255,0.7);*/
    }

    .company-table th,
    .company-table td {
      padding: 18px 12px;
      border-bottom: 1px solid #444;
      text-align: left;
    }

    .company-table th {
      width: 120px;
      font-weight: 700;
      white-space: nowrap;
    }

    /* ボタン */
    .company-btn-wrapper {
      text-align: center;
      margin-top: 40px;
      border-radius: 6px;
    }

    .company-btn {
      display: inline-block;
      padding: 16px 48px;
      border: 2px solid #333;
      color: #333;
      text-decoration: none;
      font-size: 14px;
      letter-spacing: 0.08em;
      transition: 0.3s;
    }

    .company-btn:hover {
      background: #333;
      color: #fff;
    }

    /* スマホ対応 */
    @media (max-width: 768px) {
      .company-table th,
      .company-table td {
        display: block;
        width: 100%;
        padding: 12px;
      }

      .company-table th {
        margin-top: 12px;
        border-bottom: none;
      }
    }



