/* =================================================
   1. 基本設定 ＆ フォント
   ================================================= */
body {
  font-family: "Zen Maru Gothic", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.03em;
  background: #fff;
  color: #333;
}

/* リンク色 */
a:link    { color: #339900; }
a:visited { color: #cc0000; }
a:hover   { color: #ffcc00; }

/* すべての画像設定 */
img {
  border: none;
  max-width: 100%;
  height: auto;
}

/* =================================================
   2. レイアウト（PC環境）
   ================================================= */
#container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

#container > * {
  min-width: 0;
}

#header   { grid-column: 1 / 3; grid-row: 1; background-color: transparent; }
#navi     { grid-column: 1;       grid-row: 2; background-color: transparent; width: auto; float: none; box-sizing: border-box; }
#contents { grid-column: 2;       grid-row: 2; background-color: transparent; width: auto; float: none; box-sizing: border-box; }
#footer   { grid-column: 1 / 3; grid-row: 3; background-color: transparent; width: 100%; clear: both; }

/* =================================================
   3. 特殊見出し（【SEO改善】新・h1設定）
   ================================================= */
.site-title {
  font-size: 1.6rem;
  color: #00A866;
  font-weight: bold;
  line-height: 1.5;
  margin: 20px 0;
  text-align: center;
}
.site-title span {
  font-size: 2.2rem;
  color: #ff8040;
}

/* =================================================
   4. 各種テキスト・装飾カラー
   ================================================= */
.color-main {
  color: #ff8040;
  font-weight: bolder;
}

p.catch,
p.titlecolor,
p.contentscolor,
p.telcolor,
p.telcolorwide,
p.changemenu {
  color: #ff8040;
  font-weight: bolder;
}

p.copyright { text-align: center; }
p.history   { text-align: left; }
p.blog      { text-align: right; }

p.img,
p.caption,
p.bold {
  text-align: center;
}

p.caption,
p.bold {
  font-weight: bolder;
}

.benefit {
  background: white;
  border-radius: 14px;
  padding: 22px;
  margin: 22px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* 通常の見出しカラーバリエーション */
h1.pagetitle,
h1.normalcolor,
h2.normalcolor,
h2.discount,
h2.faq,
h2.menu {
  color: #ff8040;
  font-weight: bolder;
}

h1.pagetitle {
  text-align: center;
}

h1.green,
h2.green,
h2.interior,
h2.voice,
h2.column,
h2.constitution {
  color: #00A866;
  font-weight: bolder;
}

/* 区切り線・アクセント */
.discount,
.eyecatch {
  color: red;
}

hr.delimiter {
  color: #008a8a;
}

hr.sdelimiter {
  width: 60%;
  color: #008a8a;
  text-align: center;
}

/* =================================================
   5. 画像ブロック・配置
   ================================================= */
#headerimg   { width: 60%; }
#headerimg2  { width: 40%; }
#footerimg   { width: 40%; }

#img20 { width: 20%; }
#img30 { width: 30%; }
#img50 { width: 50%; }
#img70 { width: 70%; }

#naviimg { width: 100%; }

#headerimg img,
#headerimg2 img,
#footerimg img,
#img20 img,
#img30 img,
#img50 img,
#img70 img,
#naviimg img {
  width: 100%;
}

#header img {
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
}

.menu-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.menu-images img {
  width: 50%;
  max-width: 250px;
  height: auto;
  display: block;
}

/* =================================================
   6. サイドメニューナビ（PC環境用）
   ================================================= */
.navbox {
  max-width: 260px;
  margin: auto;
}

.reserve {
  display: block;
  background: linear-gradient(45deg, #ff7a00, #ffb347);
  color: white;
  text-align: center;
  padding: 16px;
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(255,120,0,.4);
}

.reserve:hover {
  background: #ff5400;
}

.reserve-sub {
  display: block;
  font-size: 12px;
  font-weight: normal;
  margin-top: 3px;
  opacity: .8;
  letter-spacing: 0.02em;
}

.navlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navlist li {
  margin-bottom: 8px;
}

.navlist a {
  display: block;
  padding: 12px;
  background: #f4f4f4;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: .2s;
}

.navlist a:hover {
  background: #dff2e1;
  transform: translateX(4px);
}

/* =================================================
   7. 各種コンポーネント（料金・FAQ・コンバージョン）
   ================================================= */
/* メニュー料金カード */
.menu-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px;
  margin: 16px 0;
  background: #fff;
}

.menu-title {
  color: #ff8040;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.menu-price {
  font-size: 1.15rem;
  font-weight: bold;
  color: #c00;
  margin-bottom: 6px;
  background: #fff5f5;
  padding: 6px 10px;
  display: inline-block;
  border-radius: 6px;
}

.menu-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Googleクチコミ誘導ボタン */
.reviewbtn {
  display: inline-block;
  background: #3a7f3a;   
  color: white;
  padding: 16px 22px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

.reviewbtn:hover {
  background: #3a7f3a;
  transform: translateY(-2px);
}

/* 初めての方へボタン */
.firstbtn {
  display: block;
  max-width: 250px;
  margin: 20px auto;
  padding: 16px;
  background: linear-gradient(45deg, #ff7a00, #ffb347);
  color: white;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(255,120,0,.4);
  text-decoration: none;
}

.firstbtn:hover {
  background: #ff5400;
}

/* Google Map */
.map-wrap {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  margin: 20px auto;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 目次・下層ページ用 */
#faq-toc {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
}
#faq-toc ul {
  list-style-type: decimal;
  padding-left: 20px;
}
#faq-toc a {
  text-decoration: none;
  color: #0077cc;
}
#faq-toc a:hover {
  text-decoration: underline;
}

.first-section {
  background: #fff8f0;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 12px;
}

.first-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #ff7a00;
}

.recommend-list {
  list-style: "🌱 " inside;
  margin-left: 0;
  padding-left: 0;
}

.flow-step {
  margin-bottom: 20px;
}

.flow-step h3 {
  font-size: 18px;
  color: #ff7a00;
  margin-bottom: 6px;
}

.flow-img {
  text-align: center;
  margin: 10px 0;
}

.faq-list dt {
  font-weight: bold;
  margin-top: 12px;
}

.faq-list dd {
  margin-left: 20px;
  margin-bottom: 10px;
}

.note {
  font-size: 14px;
  color: #555;
}

/* =================================================
   8. スマホ固定メニュー ＆ ハンバーガー（初期非表示）
   ================================================= */
.sp-menu {
  display: none;
}

.sp-reserve-bottom {
  display: none;
}

.hamburger {
  display: none; 
  position: fixed;
  top: 16px;
  left: 16px;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger .bar {
  height: 4px;
  background: #3a7f3a;
  border-radius: 2px;
}

/* =================================================
   9. スマホ対応（レスポンシブ：768px以下）
   ================================================= */
@media screen and (max-width: 768px) {
  body {
    font-size: 16.5px;
    line-height: 1.75;
    padding-bottom: 90px; /* 下部固定ナビ用の余白 */
  }

  #container {
    width: 100%;
    padding-top: 8px;
    display: block;  
  }

  #header,
  #contents,
  #footer {
    width: 100%;
    float: none;
  }

  /* 【SEO改善】スマホに最適化したh1の見栄え */
  .site-title {
    font-size: 1.3rem;
  }
  .site-title span {
    font-size: 1.8rem;
  }

  h1, h2 {
    margin: 1.8em 0 0.8em;
  }

  p {
    margin: 0.6em 0;
  }

  hr {
    margin: 2em auto;
  }

  /* 画像ブロックを横並びから全幅に強制変更 */
  #headerimg,
  #headerimg2,
  #footerimg,
  #img20,
  #img30,
  #img50,
  #img70 {
    width: 100% !important;
  }

  img {
    margin: 14px 0;
  }

  /* テーブルのレスポンシブ縦並び */
  table {
    width: 100%;
    border-collapse: collapse;
  }

  td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* メニューカードの影・余白強化 */
  .menu-item {
    padding: 18px;
    margin: 22px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .menu-title { font-size: 1.25rem; }
  .menu-price { font-size: 1.2rem; margin-top: 6px; }

  .menu-desc,
  .caption {
    max-width: 42em;
    margin: 0.6em auto;
  }

  /* スマホのリンク領域をタップしやすく */
  a {
    display: inline-block;
    padding: 6px 2px;
  }

  .eyecatch,
  .discount {
    color: #c00;
    line-height: 1.6;
  }

  h1 { font-size: 1.4em; }
  h2 { font-size: 1.1em; }

  /* サイドナビをスライド式メニューへ強制変換 */
  #navi {
    position: fixed;
    top: 0;
    left: -260px; /* 左側に隠す */
    width: 260px;
    height: 100%;
    background: #f4f4f4;
    box-shadow: 4px 0 12px rgba(0,0,0,.1);
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 60px;
    overflow-y: auto;
  }

  /* ナビ開閉用 */
  #navi.open {
    left: 0;
  }

  /* ハンバーガーの表示 */
  .hamburger {
    display: flex;
  }

  #contents {
    width: 100%;
  }

  /* サイドメニュー内の予約ボタンを隠す（下部固定と重複するため） */
  .navbox .reserve {
    display: none;
  }

  /* 下部予約・電話固定バーの有効化 */
  .sp-reserve-bottom {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  .sp-reserve-bottom a {
    flex: 1;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 16px 8px;
    text-align: center;
  }

  .sp-reserve-bottom .telbtn     { background: #e60023; }
  .sp-reserve-bottom .reservebtn { background: #ff7a00; }

  /* 競合バグを避けるため旧sp-menuを無効化 */
  .sp-menu {
    display: none !important;
  }
}

/* =================================================
   10. 極小画面対応（スマホ縦持ち）
   ================================================= */
@media screen and (max-width: 480px) {
  .firstbtn {
    font-size: 18px;
    padding: 14px 20px; 
  }
}