/* ベースリセットと基本設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #4a3e3d; /* 木を思わせる温かみのあるこげ茶 */
  line-height: 1.6;
  background-color: #fdfaf6; /* ほんのり木肌のような背景色 */
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   グローバルヘッダー
========================================= */
.global-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-logo {
  height: 40px;
  width: auto;
}

.header-title {
  font-size: 1.2rem;
  color: #5d4037;
  margin: 0;
}

.global-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.global-nav a {
  font-size: 0.9rem;
  font-weight: bold;
  color: #5d4037;
  transition: color 0.3s;
}

.global-nav a:hover, .global-nav a.current {
  color: #2e7d32; /* ホバー時は緑色に */
}

.btn-contact {
  background-color: #2e7d32;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 20px;
  transition: background-color 0.3s;
}

.btn-contact:hover {
  background-color: #1b5e20;
}

/* =========================================
   ヒーローセクション（画面いっぱいのビジュアル）
========================================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* 画面の高さの70%を占有 */
  
  /* ★いただいた山林の写真を背景に設定します */
  background-image: url('b_moku_top.jpg'); 
  
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ★文字を読みやすくするための黒いベール（透明度30%で自然さをキープ） */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-content h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  /* ★背景の写真に負けないように、文字の周りに強めの影をつけます */
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

.hero-content .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  /* ★サブタイトルにも影をつけます */
  text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* =========================================
   コンセプト（想い）セクション
========================================= */
.concept-section {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
}

.concept-inner {
  max-width: 800px;
  margin: 0 auto;
}

.concept-inner h3 {
  font-size: 1.8rem;
  color: #2e7d32;
  margin-bottom: 30px;
}

.concept-inner p {
  font-size: 1.05rem;
  line-height: 2;
  text-align: left;
}

/* =========================================
   取扱品目セクション
========================================= */
.wholesale-section {
  padding: 60px 20px;
  background-color: #f3efe8;
  text-align: center;
}

.wholesale-inner h3 {
  font-size: 1.5rem;
  color: #5d4037;
  margin-bottom: 25px;
}

.wholesale-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.wholesale-list li {
  background-color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  border: 1px solid #d7ccc8;
  font-weight: bold;
  color: #5d4037;
}

/* =========================================
   木材紹介（レスポンシブ・グリッド）
========================================= */
.products-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  /* 画面幅に合わせて自動で列数を調整（最低260px幅） */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px); /* ホバーで少し浮き上がる */
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0; /* 画像がない場合の仮の色 */
}

.card-text {
  padding: 20px;
}

.card-text h4 {
  font-size: 1.1rem;
  color: #5d4037;
  margin-bottom: 10px;
  border-bottom: 2px solid #aed581;
  padding-bottom: 5px;
  display: inline-block;
}

.card-text p {
  font-size: 0.9rem;
  color: #666;
}

/* =========================================
   フッター
========================================= */
.site-footer {
  background-color: #3e2723; /* 重厚感のある焦げ茶 */
  color: #d7ccc8;
  padding: 40px 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 30px;
}

.footer-info h3 {
  color: #fff;
  margin-bottom: 15px;
}

.copyright {
  text-align: center;
  border-top: 1px solid #5d4037;
  padding-top: 20px;
}

/* =========================================
   スマートフォン向けの微調整
========================================= */
@media screen and (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 15px;
  }
  .global-nav ul {
    justify-content: center;
  }
  .hero-section {
    height: 50vh;
  }
}