/* =========================
   Base
========================= */
body{
  margin:0;
  font-family:"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  background:#f8f8f8;
  color:#333;
}

/* =========================
   Header / Global Nav
========================= */
.site-header{
  display:flex;justify-content:space-between;align-items:center;
  background:#fff;padding:10px 5%;
  box-shadow:0 2px 4px rgba(0,0,0,.05);
}
.logo{height:100px;}
.nav ul{list-style:none;display:flex;gap:20px;margin:0;padding:0;}
.nav a{text-decoration:none;color:#006644;font-weight:bold;}
.nav li{list-style:none;}
.nav a{display:block;padding:8px 10px;}

/* ハンバーガー（PCは非表示） */
.nav-toggle{display:none;background:none;border:0;font-size:28px;line-height:1;padding:8px 10px;cursor:pointer;}
.nav-toggle .nav-label{font-size:12px;line-height:1;font-weight:normal;}

/* 768px以下でハンバーガー化 */
@media (max-width:768px){
  .nav-toggle{display:flex;align-items:center;gap:8px;margin-left:auto;}
  .nav{position:relative;}
  .nav ul{
    display:none;flex-direction:column;gap:0;text-align:left;background:#fff;
    border:1px solid #eee;border-radius:8px;padding:6px 0;margin-top:8px;
  }
  .nav.is-open ul{display:flex;}
  .nav li a{padding:12px 16px;}
  .site-header{display:flex;align-items:center;gap:10px;}
  .site-header .logo{max-height:74px;height:auto;width:auto;}
}
@media (min-width:769px){
  .logo{height:130px !important;width:auto !important;}
  .nav-toggle{display:none;}
}

/* =========================
   Hero
========================= */
.hero{
  background:linear-gradient(to bottom,#e8f5e9,#ffffff);
  padding:60px 5%;
  text-align:center;
}
.hero h1{font-size:2em;color:#2e7d32;}
.hero p{font-size:1.2em;color:#4caf50;}

/* ヒーロー画像（共通） */
.hero-image img{
  width:100%;height:auto;display:block;margin-bottom:40px;max-height:400px;object-fit:cover;
}
/* モバイルは縦を狭く固定 */
@media (max-width:768px){
  .hero{padding-top:25px;padding-bottom:25px;}
  .hero h1{margin-top:10px;}
  .hero-image{height:140px !important;overflow:hidden !important;}
  .hero-image img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;}
}

/* =========================
   Common Blocks
========================= */
.site-footer{text-align:center;padding:20px;font-size:.9em;color:#999;}

.about-home,.points,.call{
  padding:40px 5%;background:#fff;max-width:800px;margin:0 auto;text-align:center;
}
.about-home h2,.points h2,.call h2{font-size:1.5em;color:#2e7d32;margin-bottom:.5em;}
.about-home p,.call p{font-size:1.1em;color:#444;line-height:1.8;}
.points ul{list-style:disc;text-align:left;margin:0 auto;padding:0 1.2em;max-width:600px;color:#333;}
.points li{margin:.5em 0;}

/* =========================
   Company / History
========================= */
.company-table{
  width:100%;max-width:700px;margin:0 auto;border-collapse:collapse;background:#fff;box-shadow:0 0 5px rgba(0,0,0,.05);
}
.company-table th,.company-table td{border:1px solid #ddd;padding:12px;text-align:left;}
.company-table th{background:#e0f2f1;width:30%;}

.history-list{max-width:700px;margin:30px auto;padding-left:20px;list-style:disc;color:#333;}
.history-list li{margin-bottom:8px;}

/* テーブル/本文のモバイルゆとり */
@media (max-width:600px){
  .about-home{padding:18px 16px !important;}
  .about-home h2,.about-home h3{margin:10px 0 14px;line-height:1.25;}
  .about-home ul li{line-height:1.9;margin:6px 0;}
  .company-table th,.company-table td{padding:10px 8px;line-height:1.7;}
}

/* =========================
   Timeline
========================= */
.timeline{max-width:700px;margin:2em auto;padding-left:0;border-left:3px solid #81c784;}
.timeline .event{position:relative;margin:1em 0;padding-left:1em;}
.timeline .event::before{
  content:'';position:absolute;top:.4em;left:-8px;width:12px;height:12px;background:#4caf50;border-radius:50%;border:2px solid #fff;
}
.timeline .year{font-weight:bold;color:#2e7d32;display:inline-block;width:6em;}
.timeline .desc{color:#444;}

/* =========================
   Works / Features / Area
========================= */
.works{padding:60px 5%;max-width:1000px;margin:0 auto;text-align:center;}
.works h1{font-size:1.6em;margin-bottom:1em;color:#2e7d32;}
.works p{margin-bottom:2em;}
.works-img{width:100%;max-width:900px;height:auto;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.1);}

.features{background:#f5f5f5;padding:60px 5%;text-align:center;}
.features h2{font-size:1.6em;margin-bottom:1em;color:#2e7d32;}
.features ul{list-style:none;padding:0;}
.features li{margin:10px 0;}

.area{padding:40px 5%;background:#f0f8f5;max-width:800px;margin:0 auto;text-align:center;}
.area h2{font-size:1.4em;color:#2e7d32;}
.area p{font-size:1.1em;color:#444;line-height:1.8;}

.gallery-single img{max-width:100%;height:auto;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.1);margin-top:20px;}

/* =========================
   News（中央寄せ）
========================= */
.news{
  text-align:center;margin:40px auto;max-width:800px;padding:20px;background:#f9f9f9;border-radius:8px;
}
.news h2{color:#006400;font-size:1.8em;margin-bottom:15px;}
.news ul{list-style:none;padding:0;margin:0;}
.news li{font-size:1.1em;margin-bottom:10px;}
.news .date{display:block;color:#666;font-size:.9em;margin-bottom:5px;}
@media (min-width:769px){
  .news{max-width:800px;}
}

/* =========================
   Contact / Form
========================= */
form{max-width:600px;margin:20px auto;}
form label{display:block;margin-bottom:15px;}
form input,form textarea{width:100%;padding:8px;box-sizing:border-box;}
form button{background:#1a7f37;color:#fff;border:none;padding:10px 20px;cursor:pointer;}
form button:hover{background:#145d28;}

.estimate-example{
  background:#f4faff;border:1px solid #cce4f7;padding:15px;margin:20px 0;border-radius:8px;
}
.estimate-example h3{margin-top:0;font-size:1.2rem;color:#005a9c;}
.estimate-example p{margin:0;line-height:1.6;}
.estimate-example ul{margin:0;padding-left:20px;list-style-type:disc;}
.estimate-example li{margin-bottom:6px;line-height:1.6;}

.hp-wrap{display:none !important;} /* ハニーポット非表示 */

/* =========================
   Smartphone overall font
========================= */
@media (max-width:768px){
  html,body{font-size:14px;line-height:1.6;}
  h1{font-size:22px;} h2{font-size:18px;} h3{font-size:16px;}
  p,li{font-size:14px;}
  .nav li a{font-size:14px;}
  .hero-text h1{font-size:20px;}
  .hero-text p{font-size:14px;}
  .btn-contact{font-size:14px;padding:8px 14px;}
}

/* =========================
   「タナカが選ばれる理由」
   ─ 最終確定スタイル（重複なし）
========================= */
.reason-section{
  text-align:center;      /* セクション全体は中央 */
  margin:40px 0;
  padding:40px 0;
}
.reason-section .container{
  max-width:960px;
  margin:0 auto;
}
.reason-section h2{
  color:#2e7d32;          /* 見出しは緑 */
  font-size:clamp(22px,2.2vw,32px);
  font-weight:700;
  margin:0 0 18px;
  text-align:center;
}
/* 箇条書き“全体の箱”は中央に、文字は左揃え（本文は黒） */
.reason-section ul{
  display:inline-block;           /* 箱ごと中央に配置 */
  width:min(760px,94%);
  margin:0 auto;
  padding:0;
  list-style:disc inside;         /* ・と文字を近づける */
  text-align:left;                /* 文字は左揃え */
  color:#000;
}
.reason-section li{margin:.45em 0;line-height:1.8;}

/* スマホは余白とサイズを少し詰める */
@media (max-width:768px){
  .reason-section{margin:20px 0;padding:20px 0;}
  .reason-section h2{font-size:clamp(18px,5vw,24px);}
  .reason-section ul{width:92%;font-size:.95rem;}
}

/* =========================
   小パーツ
========================= */
.no-sales{display:inline-block;margin-top:4px;font-size:.9rem;color:#6b7280}
.no-sales a{color:#2563eb;text-decoration:underline}
.no-sales a:hover{text-decoration:none}
/* === 選ばれる理由：箇条書きの点を消して本文も中央に === */
section.reason-section .container > ul{
  list-style: none !important;    /* ・を消す */
  padding-left: 0 !important;     /* 左余白もゼロ */
  margin: 0 auto !important;      /* ブロック自体を中央 */
  display: inline-block !important;
  text-align: center !important;  /* 文字も中央寄せに */
  max-width: 40rem;               /* 行幅を適度に制限（任意） */
}
section.reason-section .container > ul > li{
  margin: .45em 0 !important;
  text-align: center !important;  /* 各行も中央 */
}
/* 念のためマーカー完全無効化 */
section.reason-section .container > ul > li::marker{ content: ""; }
section.reason-section .container > ul > li::before{ content: none !important; }
/* 共通ボタンスタイル */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2e7d32; /* 緑 */
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}
.btn:hover {
  background-color: #1b5e20; /* 濃い緑に */
}
/* ====== Company table を Builders のカード風に合わせる（上書き） ====== */
.company-table{
  width:100%;
  max-width:1080px;              /* 中央に大きめカード */
  margin:24px auto;
  border-collapse:separate;      /* 角丸が効くように */
  border-spacing:0;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  font-size:16px;
  line-height:1.8;
}
.company-table th,
.company-table td{
  border:0;
  vertical-align:top;
  border-bottom:1px solid #e8f0ea;
  padding:16px 18px;
}
.company-table th{
  width:26%;
  background:#f1f8f4;            /* ビルダー表の淡いグリーン */
  color:#1b5e20;
  font-weight:700;
  text-align:left;
}
.company-table tr:last-child th,
.company-table tr:last-child td{
  border-bottom:none;            /* 最下段の罫線を消す */
}

/* セクション見出し（会社概要の h2 等）がビルダーに近い雰囲気になるよう軽く合わせる */
.company-section h2,
.company h2{
  color:#2e7d32;
  font-weight:700;
  font-size:clamp(20px,2.4vw,28px);
  margin:0 0 .8em;
  text-align:left;
}

/* スマホ最適化：行間・字間を少し詰め、タップしやすいサイズに */
@media (max-width:768px){
  .company-table{ margin:16px auto; font-size:15px; }
  .company-table th,
  .company-table td{ padding:14px 14px; }
  .company-table th{ width:34%; }
}