
html {
  scroll-behavior: smooth;
}

h1 {
  font-size: 2.2rem;
  color: #333;
  font-weight: bold;
  text-align: center;
  padding: 1.5rem 1rem;
  border-bottom: 2px solid #f5b841; /* やまぶき色 */
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
 }

h1::before {
  content: "📣 ";
}


/* ヘッダー */
.top-header {
  background-color: #f7e3d0; /* くすみ橙 */
  border-bottom: 2px solid #333;
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
}

.catchphrase {
  background-color: #f49820;
  color: #fff;
  padding: 6px 20px;
  font-size: 14px;
  text-align: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
}

.header-logo {
    border-radius: 50%;
    padding-right: 10px;
}

.site-name {
  font-size: 26px;
  font-weight: bold;
  color: #333;
  padding-bottom: 15px;
}

.menu-icon {
  font-size: 26px;
  cursor: pointer;
  display: none;
  color: #333;
}

#menu-toggle {
  display: none;
}

.hamburger {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000; /* 黒 or テーマカラー */
  display: none; /* ここがスマホ時に display:block になる必要あり */
}


/* ナビバー */
.main-nav {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-list li a:hover {
  color: #e86b00; /* アクセント橙 */
}


.logo-area {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 10px;
  }

.site-name {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.hamburger-nav {
  position: relative;
}

.menu-icon {
  font-size: 26px;
  cursor: pointer;
  display: none;
}

.menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #e86b00; /* アクセント橙 */
}

.main-nav {
  position: sticky;
  top: 0;
  background-color: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* ハンバーガーメニュー（モバイル用） */
#menu-toggle {
  display: none;
}

.main-visu img {
  display: block; /* ← 画像の整列には flex より block が合う！ */
  margin: 0 auto;  /* ← 中央寄せ */
  padding: 10px;   /* ← 正しい単位付きのパディング */
  max-width: 100%;
  height: auto;
}


.update-section {
  max-width: 600px;
  margin: 3em auto;
  padding: 1em;
  border-left: 4px solid #d97d36; /* くすみ橙アクセント */
  background-color: #fdf8f4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.update-section .section-title {
  font-size: 1.4em;
  margin-bottom: 0.5em;
  color: #333;
  border-bottom: 2px solid #d97d36;
  padding-bottom: 0.3em;
}

.news-scroll-box {
  max-height: 150px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.8em 1em;
  font-size: 0.95em;
  line-height: 1.6;
  color: #222;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  border-bottom: 1px dashed #ddd;
  padding: 0.4em 0;
}

.section {
    padding: 45px 0;
}

.paper-reason h2 {
  font-size: 1.8em;
  color: #222;
  margin-bottom: 0.2em;
}

.paper-reason .subtitle {
  font-size: 1em;
  color: #888;
  margin-bottom: 1em;
}

.reason-block h4 {
  margin-top: 1.5em;
  color: #DFA86B;
  font-weight: bold;
}

.conclusion {
  margin-top: 2em;
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
  border-top: 1px solid #ccc;
  padding-top: 1em;
}

.infographic {
  text-align: center;
  margin: 60px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: inline-block;
  max-width: 90%;
  background: rgba(248, 225, 200, 0.4);
}

.infografhic-title {
    font-size: 30px;
}

.infographic img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.features-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.feature-box {
  background-color: #fff8f2;
  border: 1px solid #f1e0d1;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 30%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box h3 {
  color: #c85a0a; /* くすみ橙 */
  margin-bottom: 10px;
}

.feature-box p {
  color: #333;
  line-height: 1.6;
}

.feature-img {
  display: block;
  margin: 15px auto 0;
  max-width: 200px;
  height: auto;
  opacity: 0.85;
}

.section-flow {
  background-color: #fdf8f3; /* くすみ橙ベース */
  padding: 80px 20px;
}

.flow-container {
  max-width: 900px;
  margin: 0 auto;
}

.flow-step {
  margin-bottom: 60px;
  border-left: 4px solid #f28c28; /* 橙色のアクセント */
  padding-left: 20px;
}

.flow-step h3 {
  font-size: 1.4rem;
  color: #333;
}

.flow-visual img {
  display: block;
  max-width: 70%;
  margin: 40px auto 0;
}

.tel-link {
  color: #f28c28;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px dashed #f28c28;
  transition: all 0.2s ease;
}

.tel-link:hover {
  color: #000;
  background-color: #f28c28;
  border-bottom: none;
  padding: 2px 6px;
  border-radius: 6px;
}

/* === 共通セクションスタイル === */
.section {
  padding: 30px 30px;
  background-color: #fdf9f5; /* ごく薄いくすみ橙背景 */
  color: #1a1a1a;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.section-title {
  font-size: 32px;
  margin-bottom: 10px;
  border-bottom: 6px solid #d9a66c; /* くすみ橙のアクセントライン */
  padding-left: 12px;
  color: #1a1a1a;
}

.section-lead {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

/* === テーブルスタイル === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #ddd;
}

.price-table th,
.price-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
}

.price-table thead th {
  background-color: #d9a66c;
  color: #fff;
  font-weight: bold;
  font-size: 17px;
  border-right: 1px solid #e6c69a;
}

.price-table tbody tr:nth-child(even) {
  background-color: #faf7f2;
}

.price-table td:last-child {
  color: #555;
  font-style: italic;
}

.area-image {
  max-width: 100%;
  margin: 30px auto;
  text-align: center;
}

.area-image img {
  width: 100%;
  max-width: 750px; /* 最大サイズを制限 */
  height: auto;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#service-plans {
  background-color: #fffaf5;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 2em;
  color: #333;
  margin-bottom: 10px;
}

.section-lead {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.plan-card {
  background-color: #fff;
  border: 2px solid #e8c8a1;
  border-left: 6px solid #e8a25c;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 30px 20px;
  width: 100%;
  max-width: 460px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
}

.plan-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #222;
}

.plan-card ul {
  list-style: disc inside;
  padding-left: 0;
  color: #444;
  line-height: 1.6;
}

.price-section {
  background-color: #fff9f5;
  padding: 60px 20px;
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.section-title {
  font-size: 30px;
  color: #cc6600;
  border-left: 6px solid #cc6600;
  padding-left: 14px;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}


.section-lead {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

.price-block {
  margin-bottom: 50px;
}

.price-subtitle {
  font-size: 20px;
  margin-bottom: 12px;
  color: #000;
  border-bottom: 2px solid #cc6600;
  display: inline-block;
  padding-bottom: 4px;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.styled-table thead {
  background-color: #cc6600;
  color: #fff;
}

.styled-table th,
.styled-table td {
  padding: 12px 16px;
  text-align: center;
  border: 1px solid #ddd;
}

.styled-table tbody tr:nth-child(even) {
  background-color: #fdf4ec;
}

.styled-table tbody tr:hover {
  background-color: #fbe7d4;
}

.price-visual {
  margin-top: 100px;
  text-align: center;
}

.price-visual img {
  max-width: 500px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.price-visual .caption {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
  font-style: italic;
}

.section-faq {
  background-color: #fdf8f3;
  padding: 80px 20px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 24px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}

.faq-question {
  cursor: pointer;
  font-weight: bold;
  position: relative;
  padding: 12px 36px 12px 8px;
  color: #1a1a1a;
  background: #fff;
  border-left: 4px solid #f28c28;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #fdf2e7;
}

.faq-question::after {
  content: "＋";
  position: absolute;
  right: 10px;
  font-size: 20px;
  top: 12px;
  color: #f28c28;
}

.faq-question.active::after {
  content: "－";
}

.faq-answer {
  display: none;
  padding: 10px 10px 10px 16px;
  color: #555;
  background-color: #fff7f1;
}

.section-company {
  background-color: #fdf8f3;
  padding: 80px 20px;
}

.company-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 16px;
  color: #1a1a1a;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.company-table th,
.company-table td {
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
}

.company-table th {
  background-color: #fceede;
  color: #333;
  width: 30%;
  text-align: left;
  font-weight: bold;
  border-left: 4px solid #f28c28;
}

.company-table td {
  background-color: #fffdfb;
}

.tel-link {
  color: #f28c28;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px dashed #f28c28;
  transition: all 0.2s ease;
}

.tel-link:hover {
  color: #000;
  background-color: #f28c28;
  border-bottom: none;
  padding: 2px 6px;
  border-radius: 6px;
}


/* 見積もりフォームセクション */
.estimate-banner {
  display: inline-block;
  background-color: #d9921f;
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 20px 0;
}
.estimate-banner:hover {
  background-color: #b6791a;
  transform: scale(1.05);
}.estimate-banner {
  display: inline-block;
  background-color: #d9921f;
  color: #fff;
  padding: 20px 42px; /* ← 1.5倍くらいに拡大 */
  border-radius: 14px;
  font-size: 24px; /* ← 文字サイズアップ */
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 40px auto;
  text-align: center;
}

/* 中央寄せラッパー（必要な場合） */
.estimate-banner-wrapper {
  text-align: center;
}



.section-estimate {
    padding: 60px 30px; /* 上下のパディングを少し増やしてゆとりを */
    background-color: #fdf9f5;
    color: #1a1a1a;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.section-estimate .section-subtitle { /* section-leadと名称を統一しても良いでしょう */
    font-size: 16px;
    color: #555;
    margin-bottom: 40px; /* タイトルとの間隔を広めに */
    text-align: center; /* 中央寄せ */
}

.estimate-form-wrapper {
    max-width: 700px; /* フォームの最大幅を制限して見やすく */
    margin: 0 auto;
    padding: 30px;
    background-color: #fff; /* フォーム背景を白に */
    border-radius: 8px; /* 角を丸く */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 軽く影をつけて立体感を */
}

.form-group {
    margin-bottom: 25px; /* 各入力グループ間の間隔 */
}

.form-group label {
    display: block; /* ラベルをブロック要素にして改行 */
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333; /* ラベルの色 */
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box; /* パディングとボーダーを幅に含める */
    appearance: none; /* デフォルトの矢印などを消す */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    /* select要素のカスタム矢印 */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.form-control:focus {
    border-color: #d97d36; /* フォーカス時にアクセントカラー */
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 125, 54, 0.2); /* ソフトな影 */
}

/* 計算ボタン */
.calculate-button {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background-color: #d97d36; /* アクセントカラー */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 30px; /* 入力部からのスペース */
}

.calculate-button:hover {
    background-color: #c06a2e; /* ホバーで少し濃く */
    transform: translateY(-2px); /* 軽く浮き上がるアニメーション */
}

.calculate-button:active {
    transform: translateY(0);
}

/* 結果表示エリア */
.estimate-result {
    margin-top: 40px;
    padding: 25px;
    background-color: #e6e6e6; /* 薄いグレーの背景 */
    border-radius: 8px;
    text-align: center;
}

.estimate-result h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.estimate-result #estimatedPrice {
    font-size: 36px;
    font-weight: bold;
    color: #d97d36; /* 結果をアクセントカラーで強調 */
    margin-bottom: 10px;
}

.estimate-result .note {
    font-size: 13px;
    color: #777;
    margin-top: 15px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #333;
  font-size: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.form-button {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background-color: #d96c00;
  color: #fff;
  font-weight: bold;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #b25900;
}

.site-footer {
  background-color: #f5f1ed;
  color: #333;
  text-align: center;
  padding: 30px 20px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  border-top: 4px solid #d9a66c;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 20px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.footer-info {
  font-size: 14px;
  margin: 4px 0;
  color: #555;
}

.footer-copy {
  font-size: 12px;
  color: #999;
  margin-top: 20px;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background-color: #d9a66c;
  color: white;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: none;
  transition: opacity 0.4s ease;
  z-index: 999;
}

.back-to-top:hover {
  background-color: #b9843f;
}


/* レスポンシブ対応（必要なら） */
@media (max-width: 768px) {
  
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 50px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  #menu-toggle:checked + .menu-icon + .menu {
    display: flex;
  }

  .price-table th,
  .price-table td {
    font-size: 14px;
    padding: 10px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-lead {
    font-size: 14px;
  }

  
  .hamburger {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .section-estimate {
        padding: 40px 15px;
    }

    .section-estimate .section-title {
        font-size: 28px;
        text-align: center;
        border-bottom: none; /* モバイルでは下線をなくすか調整 */
        padding-left: 0;
    }

    .estimate-form-wrapper {
        padding: 20px;
    }

    .form-group label,
    .form-control {
        font-size: 15px;
    }

    .calculate-button {
        font-size: 16px;
        padding: 12px 20px;
    }

    .estimate-result #estimatedPrice {
        font-size: 30px;
    }

     .estimate-banner {
    display: block;
    font-size: 18px;
    padding: 16px 24px;
    width: 90%;
    margin: 30px auto;
  }
}
