@charset "utf-8";
/* -----------------------------------------------------------
　　無垢材加工ページ
----------------------------------------------------------- */
/* フォント */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
:root {
  --font-family-m: 'Noto Sans JP', sans-serif;
}
/* ===== mukuzai内だけリセット（WP全体を壊さない） ===== */
.mukuzai * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ===== ベース ===== */
.mukuzai {
  font-family: var(--font-family-m);
  font-size: 62.5%; /* 1rem = 10px */
  line-height: 1.5;
  letter-spacing: normal;
  font-weight: 700;
}
.mukuzai p {
  margin: 0;
  padding: 0;
  text-indent: 0;
  letter-spacing: normal;
}
.mukuzai div, .mukuzai article, .mukuzai section, .mukuzai ul, .mukuzai li, .mukuzai ol, .mukuzai dl, .mukuzai dt, .mukuzai dd, .mukuzai table, .mukuzai th, .mukuzai td, .mukuzai span {
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: normal;
  font-weight: 700;
}
/* ==========================
  見出し（共通）
========================== */
.mukuzai h2 {
  margin: 0 0 40px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .02em;
  font-size: clamp(2.2rem, 2.8vw, 3.0rem);
  text-align: center;
}
.mukuzai h3 {
  margin: 10px auto 40px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  text-align: center;
  max-width: 34em;
}
@media (max-width: 740px) {
  .mukuzai h2 {
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 1.0em;
  }
  .mukuzai h3 {
    font-size: 1.6rem;
    line-height: 1.45;
    margin-bottom: 1.0em;
    max-width: 100%;
  }
}
.mukuzai h4 {
  font-style: italic;
  font-size: clamp(1.8rem, 2.3vw, 2.5rem);
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
}
.mukuzai .inner > p {
  max-width: 60em;
  margin: 0.5em auto 0;
  text-align: center;
}
/* ===== レイアウト共通 ===== */
.mukuzai section {
  width: 100%;
  padding: 40px 0 80px;
}
.mukuzai .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.mukuzai .section-dark {
  background-color: #EFEFEF;
  color: #000;
}
.mukuzai .section-white {
  background-color: #FFF;
  color: #000;
}
@media screen and (max-width: 985px) {
  .mukuzai section {
    padding: 30px 0 40px;
  }
  .mukuzai .inner {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* =============== 
  トップイメージ（動画）
=============== */
.mukuzai section.hero-video {
  padding: 0; /* section共通paddingを無効化 */
}
.mukuzai .hero-video__inner {
  position: relative;
  width: 100%;
  height: clamp(320px, 45vw, 520px);
  overflow: hidden;
  background: #000;
}
/* YouTubeを全面フィット */
.mukuzai .hero-video__inner iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* 16:9 */
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.mukuzai .hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .15));
  pointer-events: none;
}
/* ===== 文字を上下左右ど真ん中 ===== */
.mukuzai .hero-video__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: clamp(12px, 3vw, 32px);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
  pointer-events: none;
  background: none;
}
/* 文言 */
.mukuzai .hero-video__lead {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.6;
}
.mukuzai .hero-video__title {
  margin: 0;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.0rem, 3.6vw, 3.2rem);
  line-height: 1.5;
}
/* ================ 
YouTube（現在非公開）
================ */
.mukuzai .mukuzai-movie {
  padding: 40px 0;
}
.mukuzai .mukuzai-movie__wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.mukuzai .mukuzai-movie__wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
/* ================ 
  メッセージ（5つのメリット）
================ */
.mukuzai .message {
  text-align: center;
}
.mukuzai .message__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 30px);
  align-items: start;
  justify-items: center;
}
.mukuzai .message__item {
  width: 100%;
  display: grid;
  justify-items: center;
}
.mukuzai .message__fig {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: .75em;
}
.mukuzai .message__fig img {
  width: clamp(90px, 10vw, 140px);
  height: auto;
  display: block;
}
.mukuzai .message__fig figcaption {
  font-size: clamp(1.7rem, 1.9vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .02em;
}
.mukuzai .message__desc {
  max-width: 68em!important;
  margin: 2.2em auto 0!important;
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 980px) {
  .mukuzai .message__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(18px, 4.2vw, 40px);
  }
  .mukuzai .message__item {
    grid-column: span 2;
  }
  .mukuzai .message__item:nth-child(1) {
    grid-column: 2 / span 2;
  }
  .mukuzai .message__item:nth-child(2) {
    grid-column: 4 / span 2;
  }
  .mukuzai .message__fig img {
    width: clamp(84px, 16vw, 130px);
  }
  .mukuzai .message__fig figcaption {
    font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  }
}
@media (max-width: 420px) {
  .mukuzai .message__fig {
    gap: .6em;
  }
  .mukuzai .message__fig img {
    width: clamp(78px, 20vw, 110px);
  }
  .mukuzai .message__fig figcaption {
    font-size: 1.9rem;
  }
}

/* =========================================================
  ラインナップ
========================================================= */
.mukuzai .lineup--light {
  background: #efeff0;
  padding: 70px 0;
}
.mukuzai .lineup--gray {
  background: #e6e6e6;
  padding: 70px 0;
}
.mukuzai .lineup-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}
.mukuzai .lineup-text small {
  font-size: 1.07rem;
}
.mukuzai .lineup-cta {
  margin-top: 28px;
  text-align: center;
}
.mukuzai .btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  padding: 18px 50px;
  border-radius: 6px;
  background: #f3bd3b;
  color: #000;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.mukuzai .btn-detail:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.mukuzai .btn-detail:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .10);
}
.mukuzai .lineup-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .mukuzai .lineup-content {
    align-items: center;
  }
}
@media (max-width: 740px) {
  .mukuzai .lineup-text {
    font-size: 1.0rem;
    line-height: 1.5;
  }
  .mukuzai .lineup-text small {
    font-size: 1.0rem;
  }
}
@media (max-width: 600px) {
  .mukuzai .lineup-cta {
    margin-top: 22px;
  }
  .mukuzai .btn-detail {
    min-width: 240px;
    padding: 16px 26px;
    font-size: 1.45rem;
  }
}
/* 無垢階段セット */
.mukuzai .lineup-grid-stairs {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.mukuzai .stairs-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mukuzai .stairs-photo {
  margin: 0;
}
.mukuzai .stairs-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 900px) {
  .mukuzai .lineup-grid-stairs {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }
  .mukuzai .stairs-photos {
    max-width: 720px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .mukuzai .stairs-photos {
    gap: 10px;
    max-width: 560px;
  }
}
/* 敷居・鴨居・方立・中方立・廻り子・出隅・出角・巾木 */
.mukuzai .lineup-grid-trim {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.mukuzai .lineup-photo {
  margin: 0;
}
.mukuzai .lineup-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.mukuzai .lineup-illustration {
  margin: 18px 0 0;
}
.mukuzai .lineup-illustration img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 900px) {
  .mukuzai .lineup-grid-trim {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }
  .mukuzai .lineup-illustration img {
    max-width: 560px;
    margin: 0 auto;
  }
}


/* ケーシング枠セット /
オーダーメイド加工（共通：左画像1枚 + 右テキスト） 
*/
.mukuzai .lineup-grid-casing{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px){
  .mukuzai .lineup-grid-casing{
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }
}


/* ==========================
安心なJAS認定工場（写真4枚）
========================== */
.mukuzai .jas-block{
  padding: 5rem 0;
}

.mukuzai .jas-grid{
  list-style: none;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 2.4vw, 2rem);
  align-items: start;
}

.mukuzai .jas-fig{
  margin: 0;
  text-align: center;
}

.mukuzai .jas-fig img{
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.mukuzai .jas-cap{
  margin-top: 10px;
  font-size: 1.0rem;
  line-height: 1.4;
  font-weight: 700;
}

.mukuzai .jas-text{
  margin: 22px auto 0;
  padding: 0 20px;
  max-width: 920px;
  box-sizing: border-box;
  text-align: center;  
  line-height: 1.6;
  font-size: 1.1rem;
}

.mukuzai .jas-text p{
  font-weight: bold;
  color: #222;
}

@media (max-width: 980px){
  .mukuzai .jas-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .mukuzai .jas-grid{
    grid-template-columns: 1fr;
  }
  .mukuzai .jas-cap{
    font-size: 0.95rem;
  }
  .mukuzai .jas-text{
    font-size: 1.0rem;
	line-height: 1.5;
  }
}


/* ==========================
加工設備
========================== */

.mukuzai .facility__header p{
  font-size: clamp(1.0rem, 1.2vw, 1.15rem);
  line-height: 1.8;
  margin: 0;
}

.mukuzai .facility__figure figcaption{
  margin-top: 0.7em;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mukuzai .facility .inner {
  width: min(92%, 1100px);
  margin: 0 auto;
}
.mukuzai .facility__header {
  text-align: center;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}
.mukuzai .facility__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3.5vw, 2.8rem);
}
.mukuzai .facility__figure {
  margin: 0;
}
.mukuzai .facility__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #f4f4f4;
}
.mukuzai .facility__figure figcaption {
  margin-top: 0.9em;
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .mukuzai .facility__grid {
  grid-template-columns: repeat(2, 1fr);
  }
    .mukuzai .facility__header p{
    font-size: 1.0rem;
  }
  .mukuzai .facility__figure figcaption{
    font-size: 0.95rem;
    margin-top: 0.6em;
  } 
}


/* =============== 
発注〜納品の流れ
=============== */
.mukuzai .flow__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: clamp(12px, 2.4vw, 28px);
  align-items: start;
  position: relative;
}
.mukuzai .flow__item {
  text-align: center;
  position: relative;
}
.mukuzai .flow__step {
  display: inline-block;
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: .06em;
  font-weight: 700;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: .28em .7em;
  margin-bottom: .5em;
}
.mukuzai .flow__icon {
  width: clamp(64px, 10vw, 96px);
  height: clamp(64px, 10vw, 96px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
}
.mukuzai .flow__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.mukuzai .flow__text {
  margin: .6em 0 0;
  line-height: 1.5;
  font-weight: 700;
  min-height: 2.8em;
}
.mukuzai .flow__text small {
  display: block;
  color: #666;
  font-weight: 600;
}
/* 点線コネクタ */
.mukuzai .flow__item:not(:last-child) .flow__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + clamp(6px, 1.2vw, 14px));
  transform: translateY(-50%);
  width: clamp(28px, 5vw, 64px);
  height: 2px;
  background: repeating-linear-gradient(90deg, #bbb 0 8px, transparent 8px 14px);
  pointer-events: none;
}
@media (max-width: 1200px) {
  .mukuzai .flow__grid {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
  }
}
@media (max-width: 900px) {
  .mukuzai .flow__grid {
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    overflow-x: auto;
    padding-bottom: .4rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .mukuzai .flow__item {
    scroll-snap-align: start;
  }
}
@media (max-width: 640px) {
  .mukuzai .flow__grid {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    overflow: visible;
    grid-template-columns: repeat(6, 1fr);
    justify-items: center;
  }
  .mukuzai .flow__item {
    grid-column: span 2;
  }
  .mukuzai .flow__item:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .mukuzai .flow__item:nth-child(5) {
    grid-column: 4 / span 2;
  }
  .mukuzai .flow__icon {
    width: clamp(52px, 18vw, 72px);
    height: clamp(52px, 18vw, 72px);
  }
  .mukuzai .flow__step {
    font-size: 10px;
  }
}
/* =============== 
見積・DLセクション
=============== */
.mukuzai .estimate-cta__header {
  text-align: center;
  margin: 2.4rem 0 1.2rem;
}
.mukuzai .estimate-cta__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(16px, 4vw, 40px);
  align-items: center;
  justify-content: center;
}
.mukuzai .dl-list {
  list-style: none;
  display: grid;
  gap: clamp(10px, 2.2vw, 16px);
}
.mukuzai .dl-card {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  padding: clamp(12px, 2.5vw, 18px);
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.mukuzai .dl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
  border-color: #ddd;
}
.mukuzai .dl-text strong {
  font-weight: 800;
  font-size: clamp(14px, 2vw, 16px);
}
.mukuzai .dl-text small {
  color: #666;
  font-weight: 700;
  font-size: clamp(12px, 1.6vw, 13px);
}
.mukuzai .estimate-cta__preview {
  margin: 0;
  text-align: center;
}
.mukuzai .estimate-cta__preview img {
  width: clamp(240px, 38vw, 420px);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.mukuzai .estimate-cta__preview .preview-link:hover img {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}
.mukuzai .estimate-cta__preview figcaption {
  margin-top: .6em;
  color: #666;
  font-size: clamp(12px, 1.6vw, 13px);
  font-weight: 700;
}
@media (max-width: 980px) {
  .mukuzai .estimate-cta__grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .mukuzai .estimate-cta__preview img {
    width: clamp(260px, 64vw, 520px);
  }
  .mukuzai .dl-card {
    justify-content: center;
  }
  .mukuzai .dl-text {
    text-align: center;
  }
}
/* =============== 
連絡先
=============== */
.mukuzai .contact__wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) 0;
}
.mukuzai .contact__lead {
  font-weight: 800;
  font-style: italic;
  letter-spacing: .02em;
  color: #111;
  margin: 0 0 .6em;
  font-size: clamp(16px, 2.2vw, 20px);
}
.mukuzai .contact__brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 14px);
  margin-bottom: .4em;
}
.mukuzai .contact__logo {
  width: 300px;
  height: auto;
  display: block;
}
.mukuzai .contact__name {
  margin: 0;
  font-weight: 900;
  font-size: clamp(22px, 3.6vw, 40px);
  letter-spacing: .06em;
}
.mukuzai .contact__list {
  list-style: none;
  padding: 0;
  margin: .4em auto 0;
}
.mukuzai .contact__row {
  display: block;
  line-height: 1.6;
  margin: .05em 0;
  white-space: nowrap;
}
.mukuzai .contact__label {
  display: inline;
  font-weight: 900;
  letter-spacing: .04em;
  margin-right: .45em;
}
.mukuzai .contact__value {
  display: inline;
  font-weight: 800;
  text-decoration: none;
  color: #111;
  font-size: clamp(14px, 2vw, 18px);
}
.mukuzai a.contact__value:hover {
  text-decoration: underline;
  text-underline-offset: .18em;
}
.mukuzai .contact__note {
  margin: .9em 0 1.15em;
  color: #555;
  font-weight: 700;
  font-size: clamp(12px, 1.6vw, 14px);
}
.mukuzai .contact__btn {
  display: inline-block;
  border: 2px solid #222;
  border-radius: 999px;
  padding: .68em 1.8em;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 800;
  transition: transform .15s ease, filter .15s ease;
  font-size: clamp(13px, 1.9vw, 16px);
}
.mukuzai .contact__btn:hover {
  transform: translateY(-1px);
  filter: brightness(.95);
}
@media (max-width: 420px) {
  .mukuzai .contact__row {
    white-space: normal;
  }
  .mukuzai .contact__logo {
    width: 80%;
  }
}