@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* ===================================================
   株式会社ザイナース：ブランド公式・最速最適化CSS
   （Noto Sans JP 完全統一 ＆ 重複排除版）
   =================================================== */

/* ---------------------------------------------------
   1. サイト全体の文字サイズ・改行制御
   --------------------------------------------------- */
:root {
  /* 本文テキスト：スマホ(15px) 〜 PC(16.5px) */
  --font-size-base: clamp(15px, 1.1vw + 11px, 16.5px);
  /* 小見出し(H3等)：スマホ(18px) 〜 PC(22px) */
  --font-size-h3: clamp(18px, 1.5vw + 13px, 22px);
  /* 中見出し(H2等)：スマホ(22px) 〜 PC(28px) */
  --font-size-h2: clamp(22px, 2.0vw, 28px);
  /* 大見出し・メインコピー：スマホ(28px) 〜 PC(40px) */
  --font-size-h1: clamp(28px, 3.2vw + 10px, 40px);
}

body, p, li {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", sans-serif !important;
  font-size: var(--font-size-base) !important;
  font-weight: 500 !important; /* Windowsでのかすれを防ぐため、標準よりわずかに太い500を指定 */
  line-height: 1.8;
  color: #4a3b32 !important; /* Deep Mocha */
}

h2, .section-title-text {
  font-size: var(--font-size-h2) !important;
}

h3, .jp-title, .reason-title-text {
  font-size: var(--font-size-h3) !important;
}

/* 単語の途中での不自然な改行を自動防止 */
.smart-autowrap {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.smart-sentence .phrase,
.mv-phrase {
  display: inline-block;
}

/* ---------------------------------------------------
   2. パンくずリスト非表示（SWELL側で設定不可のためCSSで完全非表示）
   --------------------------------------------------- */
.p-breadcrumb {
  display: none !important;
}

/* ---------------------------------------------------
   3. メインビジュアル（ファーストビュー）の文字配置
   --------------------------------------------------- */
.p-mainVisual__slideText,
.c-mainVisual__text {
  display: flex !important;
  flex-direction: column !important;
}

/* 上部：サブテキスト（「工業用〜向け」を上部に配置しNoto Sans JP化） */
.p-mainVisual__slideSubTitle,
.c-mainVisual__subTitle {
  order: 1 !important;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", sans-serif !important;
  font-size: clamp(14px, 2.0vw, 21px) !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  margin-bottom: 12px !important;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(74, 59, 50, 0.6) !important; /* Deep Mocha色の影 */
}

/* 下部：メインテキスト（「在庫売買仲介サービス」をNoto Sans JP化） */
.p-mainVisual__slideTitle,
.c-mainVisual__title {
  order: 2 !important;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", sans-serif !important;
  font-size: clamp(26px, 4vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(74, 59, 50, 0.6) !important;
}

/* ---------------------------------------------------
   4. ヘッダー全体・メニュー・ボタン最適化（PC：横幅960px以上）
   --------------------------------------------------- */
@media (min-width: 960px) {
  /* ① 通常ヘッダー＆追従ヘッダーのフルワイド完全拡張 */
  .l-header__inner,
  .l-fixHeader__inner,
  #fix_header .l-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 48px !important;
    padding-right: 48px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease;
  }

  /* ② ヘッダーメニュー：Noto Sans JP（太字ゴシック）統一 */
  .c-gnav .menu-item:not(:last-child) > a,
  .l-fixHeader .c-gnav .menu-item:not(:last-child) > a {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", sans-serif !important;
    font-size: 16px !important;        /* ゴシック体の太さに合わせて品格ある16pxに最適化 */
    font-weight: 700 !important;        /* 太字で輪郭をクッキリ立たせる */
    letter-spacing: 0.04em !important;  /* 漢字の隙間を整えて読みやすく */
    color: #4a3b32 !important;          /* Deep Mocha */
    padding: 0 14px !important;
    transition: color 0.3s ease;
  }

  /* メニューホバー時：テラコッタ色へ美しく変化 */
  .c-gnav .menu-item:not(:last-child) > a:hover,
  .l-fixHeader .c-gnav .menu-item:not(:last-child) > a:hover {
    color: #c65d47 !important;          /* Rosy Copper */
  }

  /* ③ 右端「お問い合わせ」ボタン：基本設計 */
  .c-gnav .menu-item:last-child {
    display: flex !important;
    align-items: center !important;
    margin-left: 24px !important;
  }

  .c-gnav .menu-item:last-child > a {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", sans-serif !important;
    background-color: #4a3b32 !important;
    padding: 0 24px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, box-shadow 0.15s ease, transform 0.1s ease !important;
  }

  /* ボタン内文字色：アイボリー（#FAF9F6）完全固定 */
  .c-gnav .menu-item:last-child > a,
  .c-gnav .menu-item:last-child > a *,
  .c-gnav .menu-item:last-child > a:hover,
  .c-gnav .menu-item:last-child > a:hover *,
  .c-gnav .menu-item:last-child > a:active,
  .c-gnav .menu-item:last-child > a:active * {
    color: #faf9f6 !important;
    text-decoration: none !important;
  }

  /* ボタンホバー時：位置を動かさず、背景の明度だけを上品に上げる */
  .c-gnav .menu-item:last-child > a:hover {
    background-color: #635043 !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: 0 3px 6px rgba(74, 59, 50, 0.16) !important;
  }

  /* ボタンクリック時：キーストローク風に1px沈み込む上質な手応え */
  .c-gnav .menu-item:last-child > a:active {
    background-color: #43352d !important;
    transform: translateY(1px) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.05s ease, box-shadow 0.05s ease !important;
  }

  /* 下線を非表示 */
  .c-gnav .menu-item:last-child > a::after {
    display: none !important;
  }
}

/* 画面幅の広い大型モニター（横幅1600px以上）のときの左右余白調整 */
@media (min-width: 1600px) {
  .l-header__inner,
  .l-fixHeader__inner,
  #fix_header .l-container {
    padding-left: 64px !important;
    padding-right: 64px !important;
  }
}

/* ---------------------------------------------------
   5. お問い合わせフォームのブランドデザイン適用
   --------------------------------------------------- */
.zainurse-form-container {
  background-color: #faf9f6; /* Porcelain */
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e6e2dc;
  color: #4a3b32;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", sans-serif !important;
}

.zainurse-form-container .badge-required {
  background-color: #c65d47; /* Rosy Copper */
  color: #ffffff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.zainurse-form-container input[type="text"],
.zainurse-form-container input[type="email"],
.zainurse-form-container input[type="tel"],
.zainurse-form-container select,
.zainurse-form-container textarea {
  width: 100%;
  border: 1px solid #d6d1ca;
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 6px;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #4a3b32;
  font-family: inherit;
}

.zainurse-form-container input[type="submit"] {
  background-color: #c65d47 !important;
  color: #ffffff !important;
  font-weight: bold;
  font-size: 16px;
  padding: 14px 48px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: block;
  margin: 24px auto 0 auto;
  font-family: inherit;
}

.zainurse-form-container input[type="submit"]:hover {
  opacity: 0.88;
}

/* 入力エラー枠・エラー文字装飾 */
.zainurse-form-container .wpcf7-not-valid {
  border: 2px solid #c65d47 !important;
  background-color: #fff9f8 !important;
}

.zainurse-form-container .wpcf7-not-valid-tip {
  color: #c65d47 !important;
  font-size: 0.85em;
  margin-top: 4px;
}

/* reCAPTCHAバッジ非表示 */
.grecaptcha-badge {
  visibility: hidden;
}

/* ===================================================
   株式会社ザイナース：reCAPTCHA 免責テキストの上品なスタイリング
   =================================================== */
.recaptcha-terms-text {
  font-size: 11px !important;
  color: #7d6f65 !important;
  text-align: center !important;
  margin-top: 14px !important;
  line-height: 1.6 !important;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", sans-serif !important;
}

.recaptcha-terms-text a {
  color: #4a3b32 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease;
}

.recaptcha-terms-text a:hover {
  color: #c65d47 !important;
}


/* リッチカラム内のキャプションボックスの高さを完全に揃える */
.zn-equal-box .swell-block-column {
  display: flex;
  flex-direction: column;
}
.zn-equal-box .cap_box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
}
.zn-equal-box .cap_box_content {
  flex-grow: 1;
}

