@charset "UTF-8";
/* ==========================================================
   home-mix.css — 現行トップページに「差し替え・追加した部分」だけのスタイル。
   ・書体は一切指定しない。本文は body の游明朝系、見出しは .s_title_jp / .s_title_en、
     商品名と英字は .fnt-Cardo(いずれも現行のルール)をそのまま使う。
   ・色は現行に合わせた明るい配色。
   ・body.hm-mix(トップページ)にだけ効く。
   ========================================================== */
body.hm-mix {
  --ink: #000;
  --text: #333;
  --mute: #4f4f4f;   /* 背景が灰色のグラデーションなので、補足の文字も読める濃さにする */
  --line: rgba(0, 0, 0, .16);
  --panel: #f3f3f1;
  --gutter: clamp(20px, 2.2vw, 40px);
  --edge: max(var(--gutter), calc((100% - 1270px) / 2));
  --sec: clamp(80px, 9vw, 150px);
}

/* ---------- 動き: 現行の表示エフェクトは止め、修正案の動き(GSAP)に置き換える ---------- */
body.hm-mix .title_effect,
body.hm-mix .text_effect { opacity: 1; transform: none; transition: none; }

/* ---------- 動画: テーマの video { position:absolute; min-width:100% … !important }(背景動画用)を打ち消す ---------- */
body.hm-mix video.hm-video {
  display: block !important; position: static !important; top: auto !important; left: auto !important;
  min-width: 0 !important; min-height: 0 !important; width: 100% !important; height: 100% !important;
  max-width: none !important; transform: none !important; z-index: auto !important;
  object-fit: cover; background: #ddd;
}

/* ==========================================================
   2. 最初の画面のボタン2つ(スライドは現行のまま)
   ========================================================== */
.hm-hero-cta {
  /* 左下(以前の「scroll」の位置)に左寄せで置く */
  position: absolute; left: clamp(20px, 4vw, 72px); bottom: clamp(36px, 7vh, 80px); z-index: 3;
  display: grid; gap: 18px; justify-items: start;
}
.hm-hero-cta__btn,
.hm-hero-cta__link { display: inline-flex; align-items: center; letter-spacing: .1em; line-height: 1.4; text-decoration: none; }
.hm-hero-cta__btn {
  justify-content: space-between; gap: 40px; min-width: 300px; padding: 18px 24px;
  background: #fff; color: #000; font-size: 15px; transition: background-color .25s, color .25s;
}
.hm-hero-cta__btn:hover { background: #000; color: #fff; opacity: 1; }
.hm-hero-cta__link { gap: 16px; padding-bottom: 6px; border-bottom: 1px solid currentColor; color: #fff; font-size: 14px; }
.hm-hero-cta__link:hover { opacity: .7; }
.hm-hero-cta__btn::after,
.hm-hero-cta__link::after { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }

/* ==========================================================
   4. 最新情報1件(最初の画面の下に細い1行)
   ========================================================== */
.hm-newsline {
  display: flex; align-items: baseline; gap: 32px;
  margin: clamp(40px, 5vw, 72px) var(--edge) 0; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.8;
}
.hm-newsline h2 { flex: none; margin: 0; font-size: 15px; font-weight: normal; letter-spacing: .1em; color: var(--mute); }
.hm-newsline__item { display: flex; gap: 24px; margin: 0; }
.hm-newsline__item dt { flex: none; letter-spacing: .06em; }
.hm-newsline__item dd { margin: 0; }
.hm-newsline a { color: inherit; text-decoration: none; }
.hm-newsline a:hover { text-decoration: underline; opacity: 1; }

/* ==========================================================
   6. デザインへの情熱をカタチに(左に文章、右に動画)
   ========================================================== */
body.hm-mix #vision { padding: var(--sec) 0; }
body.hm-mix #vision .hm-vision {
  display: grid; grid-template-columns: max-content minmax(0, 400px); justify-content: center; column-gap: clamp(40px, 9vw, 144px); align-items: center;
  box-sizing: border-box; width: auto; max-width: 1100px;
}
/* 左寄せ。改行は意味の切れ目で(index.php 側)。見出しの「は半角分ぶら下げて、本文の頭と揃える */
body.hm-mix #vision .hm-vision .txt { padding: 0; text-align: left; line-height: 2.4; }
body.hm-mix #vision .hm-vision .txt .highlight { display: inline-block; margin: 0 0 1em -.5em; white-space: nowrap; }
.hm-vision__media { width: 100%; max-width: 400px; aspect-ratio: 4 / 5; overflow: hidden; }

/* ==========================================================
   8. 商品紹介(全面写真に商品名、下に説明と特徴)
   ========================================================== */
.hm-product { position: relative; }
.hm-product__photo { height: min(84vh, 820px); min-height: 420px; overflow: hidden; background: #ccc; }
.hm-product__photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
.hm-product__name {
  position: absolute; inset: 0 0 auto 0; z-index: 2; box-sizing: border-box;
  height: min(84vh, 820px); min-height: 420px; margin: 0; pointer-events: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--edge) clamp(24px, 2.6vw, 44px); color: #fff;
}
.hm-product__name dt { font-size: 14px; line-height: 1.6; letter-spacing: .12em; color: #fff; }
.hm-product__name dd { margin: 10px 0 0; font-size: clamp(30px, 5.4vw, 96px); line-height: 1.18; letter-spacing: .04em; color: #fff; }
.hm-product__name dd span { display: block; white-space: nowrap; }
.hm-product:nth-child(even) .hm-product__name { align-items: flex-end; text-align: right; }
.hm-product__body {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; box-sizing: border-box;
  padding: clamp(28px, 3vw, 48px) var(--edge) clamp(72px, 9vw, 136px);
}
.hm-product__desc { grid-column: 1 / span 5; margin: 0; line-height: 2; }
.hm-product__feat { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-content: start; border-top: 1px solid var(--line); }
.hm-product__feat h4 { grid-column: 1 / -1; margin: 0; padding: 12px 0 2px; font-size: 13px; font-weight: normal; letter-spacing: .12em; color: var(--mute); }
.hm-product__feat dl { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hm-product__feat dt { font-size: 16px; font-weight: bold; line-height: 1.6; color: var(--ink); }
.hm-product__feat dd { margin: 4px 0 0; font-size: 14px; line-height: 1.8; color: var(--text); }
.hm-product__more { grid-column: 1 / span 5; align-self: end; margin: 28px 0 0; }
.hm-link {
  display: inline-flex; align-items: center; gap: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--ink);
  color: var(--ink); font-size: 14px; letter-spacing: .1em; line-height: 1.4; text-decoration: none;
}
.hm-link::after { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }
.hm-link:hover { opacity: .6; }

/* ==========================================================
   9. 比較表(7商品)
   ========================================================== */
.hm-spec { padding: var(--sec) 0; background: var(--panel); }
.hm-spec .wrap { box-sizing: border-box; }
.hm-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
.hm-table { width: 100%; min-width: 1240px; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.7; }
.hm-table th, .hm-table td { padding: 16px 18px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: normal; }
.hm-table thead th { font-size: 16px; line-height: 1.6; vertical-align: bottom; border-bottom: 1px solid var(--ink); }
.hm-table thead th small { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .06em; color: var(--mute); }
.hm-table thead a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.hm-table thead a:hover { text-decoration: underline; opacity: 1; }
.hm-table tbody th { width: 140px; font-size: 13px; letter-spacing: .08em; color: var(--mute); white-space: nowrap; }
.hm-table td { font-size: 16px; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.hm-table td.hm-td--jp { font-size: 15px; white-space: normal; }
.hm-table td.hm-td--none { color: #b5b5b5; }
.hm-table td sup { font-size: .6em; }
.hm-table__hint { display: none; margin: 0; padding-top: 10px; font-size: 12px; color: var(--mute); }

/* ==========================================================
   11. サンプル欄(カットサンプルの動画と依頼ボタン)
   ========================================================== */
/* 背景は現行と同じ(body の灰色のグラデーションをそのまま見せる) */
.hm-sample { margin-bottom: var(--sec); padding: var(--sec) 0 0; background: none; }
/* 見出しは現行の書き方: 和文 .s_title_jp を大きく、英字 .s_title_en を小さく */
.hm-sample__title { margin-bottom: clamp(28px, 3vw, 44px); }
.hm-sample__title .s_title_jp { margin: 0; }
body.hm-mix .hm-sample__en { margin: 14px 0 0; font-size: 16px; line-height: 1.6; letter-spacing: .3em; }
.hm-sample__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: center; box-sizing: border-box; }
.hm-sample__media { grid-column: 1 / span 7; aspect-ratio: 5 / 4; overflow: hidden; }
.hm-sample__body { grid-column: 8 / span 5; padding-left: clamp(0px, 2vw, 32px); }
.hm-sample__title .s_title_jp { white-space: nowrap; }
.hm-sample__facts { margin: 0; border-top: 1px solid var(--line); }
.hm-sample__facts > div { display: grid; grid-template-columns: 5.5em 1fr; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hm-sample__facts dt { font-size: 13px; line-height: 2; letter-spacing: .1em; color: var(--mute); }
.hm-sample__facts dd { margin: 0; font-size: 15px; line-height: 1.9; color: var(--text); }
.hm-sample__cta { margin: 32px 0 0; }

/* ==========================================================
   15. 問い合わせ欄とフッター(footer.php は編集せず、配置と色だけ変える)
   ========================================================== */
body.hm-mix #cta {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px;
  padding: clamp(72px, 9vw, 144px) var(--edge);
  background: var(--panel); border-top: 1px solid var(--line); color: var(--text); text-align: left;
}
body.hm-mix #cta > div { width: auto; padding: 0; background: none; }
body.hm-mix #cta h2 { padding: 0 0 16px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; letter-spacing: .12em; color: var(--mute); }
body.hm-mix #cta h2:before { display: none; }
body.hm-mix #cta .colL .tel { padding-top: 28px; letter-spacing: .04em; }
body.hm-mix #cta .colL .tel span { padding-bottom: 18px; font-size: 15px; line-height: 1.6; color: var(--text); }
body.hm-mix #cta .colL .tel a { padding-left: 0; background: none; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
body.hm-mix #cta .colL .tel small { padding-top: 18px; font-size: 13px; line-height: 1.6; letter-spacing: .1em; color: var(--mute); }
body.hm-mix #cta .colR ul { margin: 0; padding: 28px 0 0; list-style: none; }
body.hm-mix #cta .colR ul li { margin: 0; padding: 0; text-align: left; }
body.hm-mix #cta .btn-style a { margin: 0; max-width: 420px; }

body.hm-mix #footer { padding: 0; background: #fff; border-top: 1px solid var(--line); color: var(--text); }
body.hm-mix #footer .wrap {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start;
  grid-template-areas: "logo vcard" "nav vcard" "icon vcard";
  width: auto; max-width: none; margin: 0; box-sizing: border-box;
  padding: clamp(56px, 6vw, 96px) var(--edge) clamp(40px, 4vw, 64px);
}
body.hm-mix #footer .logo { grid-area: logo; width: auto; margin: 0; padding: 0; text-align: left; }
body.hm-mix #footer .logo img { width: clamp(200px, 21vw, 300px); height: auto; }
body.hm-mix #footer nav { grid-area: nav; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 28px; width: auto; margin: 0; padding: clamp(28px, 3vw, 44px) 0 0; }
body.hm-mix #footer nav a { width: auto; margin: 0; padding: 4px 0; font-size: 14px; line-height: 1.8; letter-spacing: .08em; color: var(--text); }
body.hm-mix #footer .foot-icon { grid-area: icon; justify-content: flex-start; margin: 0; padding: 28px 0 0; }
body.hm-mix #footer .vcard { grid-area: vcard; padding: 0; text-align: left; }
body.hm-mix #footer .vcard h2 { padding: 0 0 16px; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.8; letter-spacing: .06em; color: var(--ink); }
body.hm-mix #footer .vcard h2 a { color: inherit; text-decoration: none; }
body.hm-mix #footer .vcard ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; padding: 20px 0 0; }
body.hm-mix #footer .vcard ul li { width: auto; margin: 0; padding: 0; font-size: 14px; line-height: 2; letter-spacing: .06em; color: var(--text); }

/* ==========================================================
   幅1300px以下: 現行の .wrap に左右の余白を足す(差し替えた部分だけ)
   ========================================================== */
@media (max-width: 1300px) {
  body.hm-mix #vision .hm-vision,
  .hm-spec .wrap,
  .hm-sample__grid { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* ==========================================================
   スマホ
   ========================================================== */
@media (max-width: 767px) {
  .hm-hero-cta { left: 20px; right: 20px; bottom: 96px; justify-items: stretch; gap: 14px; }
  body.hm-mix .hm-sample__en { font-size: 13px; margin-top: 8px; }
  .hm-hero-cta__btn { min-width: 0; padding: 16px 20px; font-size: 14px; }
  .hm-hero-cta__link { justify-self: start; font-size: 13px; }

  .hm-newsline { display: block; margin-top: 32px; font-size: 13px; }
  .hm-newsline h2 { font-size: 13px; }
  .hm-newsline__item { display: block; margin-top: 4px; }

  body.hm-mix #vision .hm-vision { display: block; }
  .hm-vision__media { width: auto; max-width: none; margin: 40px calc(var(--gutter) * -1) 0; aspect-ratio: 4 / 5; }


  .hm-product__photo, .hm-product__name { height: min(72vh, 600px); min-height: 380px; }
  .hm-product__name dd { font-size: 30px; }
  .hm-product:nth-child(even) .hm-product__name { align-items: flex-start; text-align: left; }
  .hm-product__name dd span { white-space: normal; }
  .hm-product__body { display: block; }
  .hm-product__feat { display: block; margin-top: 28px; }

  .hm-table { min-width: 1160px; }
  .hm-table tbody th { position: sticky; left: 0; z-index: 1; width: 104px; padding-right: 10px; white-space: normal; background: var(--panel); }
  .hm-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); }
  .hm-table-scroll { margin-right: calc(var(--gutter) * -1); }
  .hm-table__hint { display: block; }

  .hm-sample__grid { display: block; }
  .hm-sample__media { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 4 / 3; }
  .hm-sample__body { margin-top: 32px; padding-left: 0; }

  body.hm-mix #cta { display: block; padding: 64px var(--gutter); }
  body.hm-mix #cta .colR { margin-top: 56px; }
  body.hm-mix #cta .colL .tel a { font-size: 32px; }
  body.hm-mix #cta .btn-style a { max-width: none; width: 100%; }
  body.hm-mix #footer .wrap { display: block; padding: 56px var(--gutter) 40px; }
  body.hm-mix #footer .logo img { width: 220px; }
  body.hm-mix #footer nav { display: none; } /* 現行どおり、スマホではメニューを出さない */
  body.hm-mix #footer .vcard { margin-top: 48px; }
  body.hm-mix #footer .vcard ul { display: block; padding-top: 4px; }
  body.hm-mix #footer .vcard ul li { padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  body.hm-mix * { transition: none !important; }
}
