@charset "UTF-8";

/* =====================================================
   Base Styles
===================================================== */

html,
body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
 min-height: 100vh;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho","Meiryo", serif;
  line-height: 1.8;
  color: #222;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =====================================================
   ヘッダー
===================================================== */

.site-header {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.header-inner {
  width: 100%;
  min-height: 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;

/* ヘッダを上部に固定表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-image: url("../images/img_header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ヘッダボタン */
.header-button {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #8a6a32;
  border-radius: 4px;
    background: #8a6a32;
  font-size: 18px !important;
  font-weight: 500;
  color: #fff !important;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-button:hover {
  color: #8a6a32 !important;
  background: #fff;
}
.header-button.active {
  color: #8a6a32 !important;
  background: #fff;
}

/* =====================================================
   メインビジュアル
===================================================== */

.main-visual {
  position: relative;
  width: 100%;
  height: min(47vw, 700px);
  min-height: 400px;
  overflow: hidden;
  margin-top: 60px;
  z-index: 1;
}



/* =====================================================
   モザイク表示エリア
===================================================== */

.visual-stage {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}


/* =====================================================
   モザイクタイル
===================================================== */

.visual-tile {
  position: relative;
  overflow: hidden;

  /* タイル自体の大きさを変えない */
  transform: none;
}


/* =====================================================
   タイル内の画像
===================================================== */

.visual-tile img {
  position: absolute;

  display: block;

  max-width: none;

  /* 縮小・拡大のアニメーションはしない */
  transform: none;
}


/* =====================================================
   現在表示している画像
===================================================== */

.visual-tile .tile-current {
  z-index: 1;
  opacity: 1;
}


/* =====================================================
   次に表示する画像
===================================================== */

.visual-tile .tile-next {
  z-index: 2;
  opacity: 0;

  transition:
    opacity 450ms ease;
}

/* =====================================================
   キャッチコピー
===================================================== */

.main-copy {
  position: absolute;
  z-index: 20;
}


/* =====================================================
   画像注記
===================================================== */

.visual-note {
  position: absolute;
  right: 30px;
  bottom: 20px;
  color: #fff;
  font-size: 12px;

  z-index: 21;
  display: block;
  opacity: 1;
  visibility: visible;
}


/* =====================================================
   ドット
===================================================== */

.visual-dots {
  display: flex;
  justify-content: center;
  gap: 10px;

  margin-top: 15px;
}

.visual-dot {
  width: 9px;
  height: 9px;

  padding: 0;

  border: none;
  border-radius: 50%;

  background: #ccc;

  cursor: pointer;
}

.visual-dot.active {
  background: #333;
}

/* =====================================================
   メインコピー
===================================================== */

.main-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  justify-content: center;
  color: #413004;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.65);
  padding: 30px 40px;
}
.kagi {
  display: inline-block;
  transform: translateY(-0.5em);
}

/* -------------------------
   縦書きコピー
------------------------- */

.copy-line {
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 0 18px;
  font-size: 50px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.12em;
  border-left: 1px solid rgba(65, 48, 4, 0.5);
}

/* -------------------------
   左右端の罫線
------------------------- */

/* 右端 */
.copy-line:first-child {
  border-right: 1px solid rgba(65, 48, 4, 0.5);
}

/* 左端 */
.copy-line:last-child {
  border-left: 1px solid rgba(65, 48, 4, 0.5);
}


/* -------------------------
   文字の影
------------------------- */

.copy-line {
  text-shadow:
    0 1px 4px rgba(255, 255, 255, 0.7);
}

/* =====================================================
   スライドドット
===================================================== */

.visual-dots {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 10px;
  padding: 16px 0;
}

.visual-dot {
  width: 9px;
  height: 9px;

  padding: 0;

  border: none;
  border-radius: 50%;

  background: #ccc;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.visual-dot.active {
  background: #745e17;
  transform: scale(1.2);
}

.visual-dot:hover {
  background: #777;
}


/* =========================
   表示タイミング
========================= */

/* 1枚目 */
.visual-slide01 {
  opacity: 1;
  animation-delay: 0s;
}

/* 2枚目 */
.visual-slide02 {
  animation-delay: 5s;
}

/* 3枚目 */
.visual-slide03 {
  animation-delay: 10s;
}


/* =========================
   フェードアニメーション
========================= */

@keyframes visualFade {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  41% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* =========================
   社名ロゴ
========================= */

.company-logo {
  display: block;
}
.company-logo img {
  display: block;
  width: auto;
  max-height: 40px;
}

/* =========================
   ヘッダーナビゲーション
========================= */

.header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  text-decoration: none;
}

.header-nav a {
  display: block;
  color: #222;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.header-nav a:hover {
  opacity: 0.6;
}


/* =====================================================
   お問い合わせボタン
===================================================== */

.mail-btn {
  position: relative;
  z-index: 2;

  display: block;
  margin: 30px auto;
  padding: 10px 20px;

  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.1em;

  color: #fff;
  background: #333;

  border: none;
  cursor: pointer;

  transition: opacity 0.3s ease;
}

.mail-btn:hover {
  opacity: 0.75;
}

/* =====================================================
   造作大工募集
===================================================== */

.recruit-box {
  width: fit-content;
   margin: 100px auto 0%;  /* 上を広げ、下を狭く */
  padding: 18px 45px;
  border: 1px solid #413004;
  text-align: center;
}

.recruit-title {
  font-size: 26px;
    color: #413004;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.recruit-detail {
  font-size: 18px;
    color: #413004;
  letter-spacing: 0.08em;
}

/* =====================================================
   コンセプト
===================================================== */
.concept {
  width: 100%;
  padding: 60px 5% 40px;
}
.concept-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 50px;
}

.concept-image {
  width: 100%;
}

.concept-image img {
  display: block;
  width: 100%;
  height: auto;
}

.concept-text {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #413004;
}

.concept-text p {
  margin: 0;
  font-size: 18px;
  line-height: 2.1;
}

/* =====================================================
   事業内容
===================================================== */

.business {
  width: 100%;
  padding: 60px 5%;
}

.business-image-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.business-image {
  width: 1200px;
  max-width: none;
  height: auto;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.business-title {
  margin: 0 0 50px;
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

/* -------------------------
   3カラム
------------------------- */

.business-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* -------------------------
   ボックス
------------------------- */

.business-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #776e6e;
}

/* -------------------------
   リンク
------------------------- */

.business-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* -------------------------
   背景画像
------------------------- */

.business-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* -------------------------
   画像上の暗いオーバーレイ
------------------------- */

.business-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(223, 184, 70, 0.25);
  transition: background 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

/* -------------------------
   タイトル
------------------------- */

.business-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 100%;
  text-align: center;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  text-shadow: 0 0 5px rgba(0, 0, 0, 1.0);
  pointer-events: none;
}

/* -------------------------
   英語
------------------------- */

.business-en {
  margin-bottom: 14px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

/* -------------------------
   日本語
------------------------- */

.business-ja {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.0;
}

/* -------------------------
   設計／施工
------------------------- */

.business-detail {
  margin-top: 8px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.0;
}

/* -------------------------
   ホバー
------------------------- */

.business-item:hover img {
  transform: scale(1.05);
}

.business-item:hover::after {
  background: rgba(0, 0, 0, 0.4);
}

/* =====================================================
   4つのこだわり
===================================================== */

.commitment {
  position: relative;
  width: 100%;
  padding: 120px 5%;
  background-image: url("../images/img_back.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 背景の薄いグレー */
.commitment::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(230, 228, 223, 0.78);
  z-index: 0;
}

/* 中身 */
.commitment-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* 見出し */
.commitment-title {
  margin: 0 0 50px;
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #413004;
}

/* =====================================================
   4つのボックス
===================================================== */
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ボックス */
.commitment-item {
  box-sizing: border-box;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #8a6a32;
  border-radius: 18px;
  text-align: center;
  color: #413004;
}



/* タイトル・アイコン */
.commitment-item h3 {
  margin: 0 0 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.commitment-item h3 img {
  display: block;
  width: 55px;
  height: 55px;
  object-fit: contain;
}

/* 本文 */

.commitment-item p {
  margin: 0;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: left;
}

/* =====================================================
   プロフィール
===================================================== */

.profile {
  width: 100%;
  padding: 120px 5%;
  background: #fff;
}

/* 全体 */
.profile-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* タイトル画像 */

.profile-title {
  text-align: center;
  margin-bottom: 20px;
}

.profile-title img {
   display: block;
  width: 200px;
  height: auto;
  margin: 0 auto;
}

/* ------------------------------
   プロフィール表
------------------------ */

.profile-table {
  width: 100%;
  border-top: 1px solid #b5a27d;
}

/* 1行 */
.profile-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #b5a27d;
}

/* 左側 */
.profile-label {
  padding: 20px 25px;
  background: #f5f3ef;
  color: #413004;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
}

/* 右側 */
.profile-value {
  padding: 20px 25px;
  color: #413004;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* 事業内容の箇条書き */
.profile-value span {
  display: inline-block;
  padding-left: 0.2em;
}

/* Googleマップボタン */
.map-button {
  display: inline-block;
  margin-left: 15px;
  padding: 7px 18px;
  border: 1px solid #8a6a32;
  border-radius: 4px;
  color: #fff;
  background: #8a6a32;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.3s ease;
}

.map-button:hover {
  color: #8a6a32;
  background: #fff;
}

/* =====================================================
   スクロール表示
===================================================== */

.concept-reveal {
  opacity: 0;
  transform: translateY(50px);

  transition:
    opacity 2.5s ease,
    transform 2.5s ease;
}

.concept-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   works 主な施工実績
========================= */

.works {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 0;
}

/* worksページ 本文フェードイン */

.works-page .works {
  opacity: 0;
  animation: worksFadeIn 1.2s ease-out forwards;
}

@keyframes worksFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
.works-title {
  text-align: center;
  margin-bottom: 10px;
  scroll-margin-top: 100px;
}

.works-title img {
  height: 40px;
  width: auto;
  display: block;
  margin: 0 auto 5px;
}

.works-title p {
  font-size: 25px;
  letter-spacing: 0.08em;
  color: #413004;
  margin: 0;
}

.works-category {
  margin-bottom: 60px;
}

.works-category h3 {
  font-size: 20px;
  color: #413004;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #413004;
}

.works-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.works-table th,
.works-table td {
  border: 1px solid #ccc;
  padding: 5px 10px;
  text-align: left;
  vertical-align: middle;
}

.works-table th {
  background-color: #ebdcc6;
  font-weight: 600;
  text-align: center;
}

.works-table th:nth-child(1) {
  width: 18%;
}

.works-table th:nth-child(2) {
  width: 27%;
}

.works-table th:nth-child(3) {
  width: 40%;
}

.works-table th:nth-child(4) {
  width: 15%;
  text-align: center;
}

.works-table td:last-child {
  text-align: center;
}
.works-table-wrap {
  width: 100%;
  overflow-x: auto;
}


/* =====================================================
   戸建住宅・設計施工
===================================================== */

.house-works {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


/* -------------------------
   実績写真
------------------------- */

.house-gallery {
  width: 100%;
}

/* 1段目：4枚 */
.house-gallery-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

/* 2段目：6枚 */
.house-gallery-row-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 15px;
}


/* 写真 */
.house-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* -------------------------
   説明コピー
------------------------- */

.house-intro {
  max-width: 900px;
  margin: 60px auto 0;
  text-align: center;
}

.house-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.08em;
}

/* =====================================================
   リフォーム・リノベ
===================================================== */

.works-renovation {
  margin-top: 100px;
}
.works-coming {
  width: 100%;
  min-height: 180px;
  border: 1px solid #c8bfae;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  letter-spacing: 0.15em;
  color: #8a6a32;
  box-sizing: border-box;
}



/* =====================================================
   フッター
===================================================== */

.site-footer {
  width: 100%;
  padding: 10px 20px;

  text-align: center;
  background: #be6704c2;
  color: #fff;
}

.copyright {
  margin: 0;

  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.7;
}


/* =====================================================
   トップへ戻るボタン
===================================================== */

.scroll-top-btn {
  position: fixed;
  right: 200px;
  bottom: 40px;
  z-index: 999;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 18px;
  border: 1px solid #8a6a32;
  border-radius: 4px;
  background-color: #8a6a32;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

/* 表示時 */
.scroll-top-btn.show {
  opacity: 1;
  transform: translateY(0);
}


/* ホバー */
.scroll-top-btn:hover {
  background-color: #fff;
  color: #413004;
}

/* ----------------------------------------------------------
    メインコンテンツ
------------------------------------------------------------- */
#wrapper {
    width : 720px ;
    margin: 20px auto 0;
    -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    background : #ffffff;
    border-left : 1px solid #ffcb4d ;
    border-right : 1px solid #ffcb4d ;
    border-bottom : 1px solid #ffcb4d ;
}

#header { padding: 40px 25px 40px; }

.red_txt {
    color: #ff3333;
}

/* 説明文を表示するためのタグ */
#txt_explain {
    color: #000000;
}

#footer {
    margin-top: 40px;
    padding: 15px 0;
    background: #222;
    color: #fff;
    text-align: center;
    font-size: 12px;
}

#main { padding: 25px; }

.section { margin-bottom: 40px; }
.section:last-child { margin-bottom: 0; }
.section__ttl {
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    color:#fff;
    background : #999999;
    
    font-size: 18px;
}
.section__body { padding: 0 30px; }

.block { margin-bottom: 15px; }
.block:last-child { margin-bottom: 0; }
.block__ttl {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}
.block__body {}

.table {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}
.table th {
    padding: 15px;
    background : #ffe199;
    color: #4d4d4d;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 13px;
}
.table td {
    padding: 15px;
    background: #fff;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    color: #222;
    font-size: 13px;
}

/* =====================================================
   レスポンシブ
===================================================== */

/* ---タブレット--- */
@media screen and (max-width: 1100px) {
  /* ヘッダー */
  .header-inner {
    padding: 0 5%;
  }
  .header-nav {
    gap: 25px;
  }
  .header-nav a {
    font-size: 14px;
  }
  .header-button {
    font-size: 16px !important;
    padding: 7px 16px;
  }

  /* メインビジュアル */
  .main-visual {
    height: 55vw;
    min-height: 400px;
  }

  /* メインコピー */
  .main-copy {
    padding: 25px 30px;
  }
  .copy-line {
    padding: 0 12px;
    font-size: 40px;
  }

  /* コンセプト */
  .concept {
    padding: 100px 5% 40px;
  }

  /* 事業内容 */
  .business {
    padding: 40px 5%;
  }
  .business-image {
    width: 1050px;
  }
  .business-grid {
    gap: 20px;
  }
  .business-en {
    font-size: 20px;
  }
  .business-ja {
    font-size: 21px;
  }
  .business-detail {
    font-size: 21px;
  }

  /* 4つのこだわり */
  .commitment {
    padding: 100px 5%;
  }
  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .commitment-item {
    padding: 40px 25px;
  }
  .commitment-item h3 {
    font-size: 27px;
  }
  .commitment-item p {
    font-size: 17px;
  }

  /* プロフィール */
  .profile {
    padding: 100px 5%;
  }
  .profile-row {
    grid-template-columns: 180px 1fr;
  }
  .profile-label,
  .profile-value {
    font-size: 17px;
  }

  /* トップへ戻る */
  .scroll-top-btn {
    right: 40px;
    bottom: 30px;
  }

  /* 造作大工募集 */
 .recruit-box {
    margin-top: 80px;
    padding: 17px 40px;
  }

  .recruit-title {
    font-size: 24px;
  }

  .recruit-detail {
    font-size: 16px;
  }

}


/* ----------------------------------
   スマートフォン767px
-----------------------------*/
@media screen and (max-width: 767px) {

  /* ヘッダー */
  .header-inner {
    min-height: 65px;
    padding: 0 5%;
  }
  .company-logo img {
    max-height: 32px;
  }
  .header-nav {
    gap: 12px;
  }
  .header-nav a:not(.header-button) {
    display: none;
  }
  .header-button {
    display: inline-block;
    padding: 7px 12px;
    font-size: 13px !important;
    letter-spacing: 0.05em;
  }
  .header-button {
    padding: 7px 12px;
    font-size: 13px !important;
    letter-spacing: 0.05em;
  }

  /* メインビジュアル */
  .main-visual {
    height: 60vw;
    min-height: 400px;
    margin-top: 65px;
  }
  .visual-slide img {
    object-position: center center;
  }

  /* メインコピー */
  .main-copy {
    top: 50%;
    left: 50%;
    padding: 20px 12px;
    max-width: 90%;
  }
  .copy-line {
    padding: 0 7px;
    font-size: 26px;
    line-height: 1.6;
    letter-spacing: 0.08em;
  }

  /* スライドドット */
  .visual-dots {
    gap: 8px;
    padding: 12px 0;
  }
  .visual-dot {
    width: 8px;
    height: 8px;
  }

  /* コンセプト */
  .concept {
    padding: 70px 5% 30px;
  }
  .concept-inner {
    gap: 30px;
  }
  .concept-text p {
    font-size: 16px;
    line-height: 2;
  }

  /* 事業内容 */
  .business {
    padding: 30px 5%;
  }
  .business-image {
    width: 900px;
    margin-bottom: 15px;
    max-width: none;
  }
  .business-title {
    margin-bottom: 30px;
    font-size: 26px;
  }
  .business-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .business-item {
    aspect-ratio: 4 / 3;
  }
  .business-en {
    margin-bottom: 10px;
    font-size: 21px;
  }
  .business-ja {
    font-size: 22px;
  }
  .business-detail {
    margin-top: 7px;
    font-size: 21px;
  }

  /* 4つのこだわり */
  .commitment {
    padding: 70px 5%;
  }
  .commitment-title {
    margin-bottom: 35px;
    font-size: 26px;
  }
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .commitment-item {
    padding: 30px 25px;
    border-radius: 14px;
  }
  .commitment-number {
    margin-bottom: 10px;
    font-size: 16px;
  }
  .commitment-item h3 {
    margin-bottom: 18px;
    font-size: 30px;
  }
  .commitment-item p {
    font-size: 18px;
    line-height: 2;
  }
  .commitment-item h3 img {
    width: 45px;
    height: 45px;
  }

  /* プロフィール */
  .profile {
    padding: 70px 5%;
  }
  .profile-title {
    margin-bottom: 15px;
  }
  .profile-title img {
    width: 160px;
  }
  .profile-row {
    display: grid;
    grid-template-columns: 100px 1fr;
  }
  .profile-label {
    padding: 15px 10px;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.04em;
  }
  .profile-value {
    padding: 15px 12px;
    font-size: 14px;
    line-height: 1.9;
    word-break: break-word;
  }
  .map-button {
    margin-left: 0;
    margin-top: 8px;
    padding: 6px 12px;
    font-size: 12px;
  }

  /* フッター */

  .site-footer{
    font-size: 12px;
  }

  .site-footer {
    padding: 8px 15px;
  }
  .copyright {
    font-size: 10px;
  }

  /* トップへ戻る */
  .scroll-top-btn {
    right: 15px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

 /* 造作大工募集 */
    .recruit-box {
    margin-top: 60px;
    padding: 15px 32px;
  }

  .recruit-title {
    font-size: 22px;
    letter-spacing: 0.1em;
  }

  .recruit-detail {
    font-size: 14px;
    letter-spacing: 0.06em;
  }

}

/* =====================================================
   小型スマートフォン
===================================================== */
@media screen and (max-width: 480px) {

  /* ヘッダー */
.header-inner {
    min-height: auto;
    padding: 12px 5% 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  /* ロゴ */
  .company-logo {
    display: block;
    text-align: center;
  }

  .company-logo img {
    max-height: 32px;
    width: auto;
  }

  /* ボタン部分 */
  .header-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .header-button {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px !important;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }


  /* メインビジュアル */
  .main-visual {
    height: 90vw;
    min-height: 350px;
  }

  /* メインコピー */
  .main-copy {
    padding: 15px 8px;
    max-width: 92%;
  }
  .copy-line {
    padding: 0 5px;
    font-size: 22px;
    line-height: 1.5;
  }

  /* コンセプト */
  .concept-text p {
    font-size: 15px;
  }

  /* 事業内容 */
  .business-title {
    font-size: 24px;
  }
  .business-image {
    width: 800px;
    max-width: none;
  }
  .business-en {
    font-size: 18px;
  }
  .business-ja {
    font-size: 20px;
  }
  .business-detail {
    font-size: 19px;
  }

  /* こだわり */
  .commitment-title {
    font-size: 24px;
  }
  .commitment-item {
    padding: 25px 20px;
  }
  .commitment-item h3 {
    font-size: 23px;
  }
  .commitment-item p {
    font-size: 16px;
  }
  .commitment-item h3 img {
    width: 45px;
    height: 45px;
  }

  /* プロフィール */
  .profile-row {
    grid-template-columns: 85px 1fr;
  }
  .profile-label {
    font-size: 13px;
  }
  .profile-value {
    font-size: 13px;
    padding: 14px 10px;
  }

  /* 造作大工募集 */
   .recruit-box {
    margin-top: 50px;
    padding: 13px 22px;
  }

  .recruit-title {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .recruit-detail {
    font-size: 12px;
  }

}

/* =====================================================
   Works レスポンシブ
===================================================== */

@media screen and (max-width: 767px) {

  /* -------------------------
     Works全体
  ------------------------- */

  .works {
    width: 90%;
    padding: 90px 0 50px;
  }


  /* -------------------------
     Worksタイトル
  ------------------------- */

  .works-title {
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
  }

  .works-title img {
    position: relative;
    z-index: 2;
    width: auto;
    height: 80px;
    max-width: 90%;
    object-fit: contain;
    margin-bottom: 0;
  }

  .works-title p {
    margin-top: -20px;
    font-size: 15px;
    letter-spacing: 0.06em;
  }


  /* -------------------------
     実績カテゴリー
  ------------------------- */

  .works-category {
    margin-bottom: 50px;
  }

  .works-category h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }


  /* -------------------------
     実績表
  ------------------------- */

 .works-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.works-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 14px;
}
  .works-table th,
  .works-table td {
    padding: 8px 8px;
  }

  .works-table th {
    white-space: nowrap;
  }


  /* -------------------------
     戸建住宅 写真
  ------------------------- */

  .house-gallery-row-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .house-gallery-row-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
  }


  /* -------------------------
     戸建住宅 説明コピー
  ------------------------- */

  .house-intro {
    margin-top: 40px;
    padding: 0 3%;
  }

  .house-intro p {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.05em;
  }


  /* -------------------------
     戸建住宅 4つのポイント
  ------------------------- */

  .house-points {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 45px;
    padding: 0 5%;
  }

  .house-point h3 {
    font-size: 18px;
  }

  .house-point p {
    font-size: 14px;
    line-height: 1.9;
  }


  /* -------------------------
     リフォーム・リノベーション
  ------------------------- */

  .works-renovation {
    margin-top: 70px;
  }

  .works-coming {
    min-height: 130px;
    font-size: 16px;
  }

}

