/* ===============================
   Variables & Reset
================================ */
:root {
  --main-color: #313f4f; /* ヘッダーや見出しのネイビー/グレー */
  --accent-color: #1c90a3; /* アクセントの緑 */
  --bg-light: #f4f6f8; /* 薄いグレー背景 */
  --bg-gray: #e9ecef; /* ラインナップ等の背景 */
  --text-color: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  /* ページ内リンクをクリックした際、フワッとスクロールさせます */
  scroll-behavior: smooth; 
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

ul {
  list-style: none;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 共通タイトルスタイル */
.sec-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}
.sec-title span {
  display: block;
  font-size: 14px;
  color: var(--accent-color);
  letter-spacing: 2px;
  margin-top: 5px;
}

/* ===============================
   Header & Navigation
================================ */
.global-header {
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 100;
  background: #fff;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.site-catch {
  font-size: 10px;
  color: #666;
padding-bottom: 3px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sub-nav {
  display: flex;
  gap: 15px;
  font-size: 12px;
}
.contact-info .tel {
  font-size: 24px;
  font-weight: bold;
  color: var(--main-color);
  line-height: 1.2;
}
.contact-info .time {
  font-size: 10px;
}
.contact-btns {
  display: flex;
  gap: 10px;
}
.contact-btns a {
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 12px;
  color: #fff;
}
.btn-mail { background-color: #666; }
.btn-line { background-color: #06c755; }

.global-nav {
  background-color: var(--bg-light);
  border-top: 1px solid #eee;
}
.global-nav ul {
  display: flex;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto;
}
.global-nav a {
  display: block;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  border-right: 1px solid #ddd;
}
.global-nav li:first-child a { border-left: 1px solid #ddd; }

/* ハンバーガーメニュー (スマホ用CSSハック) */
.nav-toggle { display: none; }
.burger-menu { display: none; }

/* ===============================
   FV Section
================================ */
.fv-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to bottom, #fff, #f0f4f8);
}
.fv-catch {
  display: inline-block;
  background: var(--main-color);
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 16px;
  margin-bottom: 20px;
}
.fv-title {
  font-size: 42px;
  letter-spacing: 5px;
  margin-bottom: 15px;
}
.fv-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.icon-item {
  text-align: center;
  width: 130px;
}
.icon-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.icon-item p { font-size: 14px; font-weight: bold; }

/* ===============================
   YAA Section
================================ */
.yaa-section {
  padding: 60px 0;
}
.yaa-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.yaa-text {
  max-width: 500px;
  font-size: 16px;
}
/* ===============================
   選ばれる理由 (Why Choose Us)
================================ */
.reason-section {
  padding: 80px 0;
  /* 前後のセクションに合わせて背景色を調整（白背景想定） */
  background-color: #fff; 
}

.reason-lead {
  text-align: center;
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #555;
}

/* PCでは4列グリッド */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* カードのデザイン */
.reason-card {
  background: #fff;
  border: 1px solid #eee;
  border-top: 4px solid var(--accent-color); /* 上部にアクセントカラー（赤系）のライン */
  border-radius: 4px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時に少し浮き上がるエフェクト */
.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* アイコンを丸い枠で囲む */
.reason-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #f9f9f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.reason-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 15px;
  line-height: 1.5;
}

.reason-title span {
  display: block;
  font-size: 16px;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.reason-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 15px;
  flex-grow: 1; /* 高さを揃えるため、説明文エリアを伸ばす */
}

/* 証明書や商標登録のリスト部分 */
.reason-list {
  text-align: left;
  border-top: 1px dashed #ddd;
  padding-top: 15px;
  list-style: none;
}

.reason-list li {
  font-size: 14px;
  color: #555;
  position: relative;
  padding-left: 15px;
  margin-bottom: 6px;
}

.reason-list li:last-child {
  margin-bottom: 0;
}

/* リストの先頭に小さな丸をつける */
.reason-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

/* ===============================
   レスポンシブ対応
================================ */
/* タブレット・小さめのPC（2列） */
@media (max-width: 992px) {
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ（1列・テキスト左寄せ） */
@media (max-width: 576px) {
  .reason-grid {
    grid-template-columns: 1fr;
  }
  .reason-lead {
    font-size: 13px;
    text-align: left; /* スマホではリード文を左寄せに */
  }
}
/* ===============================
   Lineup Section (Z型レイアウト)
================================ */
.lineup-section {
  background-color: var(--bg-gray);
  padding: 80px 0;
}
.lineup-card {
  display: flex;
  background: #fff;
  margin-bottom: 40px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
/* 偶数番目は左右反転 */
.lineup-card:nth-child(even) {
  flex-direction: row-reverse;
}
.lineup-text {
  flex: 1;
  padding: 40px;
}
.lineup-text h3 {
  font-size: 22px;
  border-bottom: 2px solid #1c90a3;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.lineup-text .catch {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 18px;
}
.lineup-text .desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}
.lineup-img {
  width: 400px;
  flex-shrink: 0;
}
.lineup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lineup-btns {
  display: flex;
  gap: 15px;
}
.btn-detail {
  background: var(--main-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
}
.btn-category-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  min-width: 180px;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-category-anchor:hover {
  background-color: #f9f9f9;
  border-color: #999;
}

/* 右側に下向きの矢印（▼）をCSSで作って配置 */
.btn-category-anchor::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-2px) rotate(45deg);
}

/* ===============================
   アンカーで飛んできた時のハイライト（任意）
================================ */
/* リンクで飛んできた該当のアコーディオンの背景色を、一瞬だけ変えて目立たせる工夫です */
.cat-details:target > .cat-summary {
  background-color: #fff9e6; /* 薄い黄色などでハイライト */
  transition: background-color 1.5s ease;
}

/* ===============================
   Price Section (追加枠)
================================ */
.price-section {
  padding: 60px 0;
  background-color: #fff;
}
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}
.price-table a{
color: var(--accent-color);
}
.price-table a:hover{
color: var(--accent-color);
text-decoration: underline;
}
.price-table th, .price-table td {
  padding: 20px;
  border: 1px solid #eee;
}
.price-table thead th {
  background-color: var(--main-color);
  color: #fff;
}
.price-table tbody th {
  background-color: var(--bg-light);
  width: 25%;
}
.price-cell {
  color: #c31536;
  font-weight: bold;
  text-align: right;
}
.price-cell span { font-size: 24px; }
.price-note {
  font-size: 12px;
  text-align: right;
  margin-top: 10px;
  color: #666;
}

/* ===============================
   Category Section (Accordion)
================================ */
.category-section {
  padding: 80px 0;
  background-color: var(--bg-gray);
}

.category-accordion {
  max-width: 1160px; /* PC表示時の最大幅 */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cat-details {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* アコーディオンのクリック部分 */
.cat-summary {
  position: relative;
  padding: 20px 25px;
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
  cursor: pointer;
  list-style: none; /* デフォルトの黒い三角形を消去 */
  background-color: #fff;
  transition: background-color 0.2s ease;
}

/* Safari用 デフォルトの三角形消去 */
.cat-summary::-webkit-details-marker {
  display: none;
}

.cat-summary:hover {
  background-color: #fafafa;
}

/* ＋・－アイコンの共通設定（横線） */
.cat-summary::before,
.cat-summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 14px;
  height: 2px;
  background-color: var(--accent-color); /* 赤色でアクセント */
  transform: translateY(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ＋アイコンの縦線 */
.cat-summary::after {
  transform: translateY(-50%) rotate(90deg);
}

/* detailsが開いた状態（－アイコンへのアニメーション） */
details[open] > .cat-summary::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

details[open] > .cat-summary {
  background-color: var(--bg-light);
  border-bottom: 1px solid #eee;
}

/* アコーディオンの中身（開いた時に表示されるエリア） */
.cat-content {
  padding: 25px;
  background-color: #fff;
}

/* ===============================
   アコーディオン内のグリッド（ピラーページ誘導ボタン）
================================ */

.cat-links-grid {
  display: grid;
  /* 上限を4列に固定（5個目からは自動で下の段へ） */
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

/* 画面幅が768px以下の時（タブレット・大きめのスマホ）は2列に */
@media (max-width: 768px) {
  .cat-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 画面幅が480px以下の時（一般的なスマホ）は1列に */
@media (max-width: 480px) {
  .cat-links-grid {
    grid-template-columns: 1fr;
  }
}

/* --- ピラーページへのリンク（liタグ風の白背景デザイン） --- */
.pillar-link {
  display: block;
  background-color: #fff;
  color: #333;
  padding: 15px 30px 15px 15px; /* 右側に矢印用の余白を少し多めに確保 */
  font-size: 14px;
  border: 1px solid #eee; /* 薄い枠線でリスト感を出す */
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02); /* ほんの少しだけ影を入れて立体感を */
}

/* 右端にグレーの小さな矢印を追加 */
.pillar-link::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #aaa;
  border-right: 2px solid #aaa;
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.2s ease;
}

/* ホバー時のリアクション（うっすら背景色を変え、文字をアクセントカラーに） */
.pillar-link:hover {
  background-color: #f9f9f9;
  color: var(--accent-color);
  border-color: #ddd; /* 枠線も少し濃くして「押してる感」を出す */
}

.pillar-link:hover::after {
  border-color: var(--accent-color); /* 矢印の色も合わせる */
}
/* バナーエリア全体のレイアウト */
.category-banners {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px; /* カテゴリのアコーディオンとの間隔 */
}

/* 各バナーのスタイル */
.banner-item {
  flex: 1;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー時に軽く浮き出る演出 */
.banner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 画像のレスポンシブ対応 */
.banner-item img {
  width: 100%;
  height: auto;
  display: block;
}
.futomi{
font-size: 0;
}
.futomi img{
width: 0;
height: 0;
}
.fixed-bottom-cta {
  display: none;
}
/* スマホ表示（768px以下）のとき：縦並びにする */
@media (max-width: 768px) {
  .category-banners {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }
}
/* ===============================
   Column Section (Grid)
================================ */
.column-section {
  padding: 80px 0;
}
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.column-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #eee;
  padding: 10px;
  background: #fff;
  transition: box-shadow 0.3s;
}
.column-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.col-thumb {
  width: 80px;
  flex-shrink: 0;
}
.col-title {
  font-size: 13px;
  font-weight: bold;
  color: var(--main-color);
}

/* ===============================
   FAQ Section (Accordion with +- Icon)
================================ */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-gray);
}

.faq-list {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* アコーディオンのクリック部分 */
.faq-item summary {
  display: flex; /* Q、テキスト、アイコンを横並びに */
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  list-style: none; /* デフォルトの黒い三角形を消去 */
  background-color: #fff;
  transition: background-color 0.2s ease;
}

/* Safari用 デフォルトの三角形消去 */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background-color: #fafafa;
}

/* 「Q」の文字を描画 */
.faq-item summary::before {
  content: "Q";
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 20px;
  flex-shrink: 0; /* 文字が潰れないように */
}

/* ＋－アイコン用のコンテナ */
.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  margin-left: auto; /* 右端に寄せる */
  flex-shrink: 0; /* アイコンが潰れないように */
}

/* ＋・－アイコンの共通設定（横線） */
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color); /* 赤色でアクセント */
  transform: translateY(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ＋アイコンの縦線 */
.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

/* detailsが開いた状態（－アイコンへのアニメーション） */
details[open] > summary .faq-icon::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

/* 開いた状態のsummaryのスタイル */
details[open] > summary {
  background-color: var(--bg-light);
  border-bottom: 1px dashed #eee; /* 下線を破線に */
}

/* アコーディオンの中身（開いた時に表示されるエリア） */
.faq-answer {
  padding: 25px;
  font-size: 16px;
  color: #555;
  /* summaryのpadding+Qのサイズ+Qのmarginに合わせて左余白を調整 */
  padding-left: calc(25px + 20px + 15px);
}

/* ===============================
   Footer
================================ */
.global-footer {
  background-color: var(--main-color);
  color: #fff;
}
.footer-top {
  background-color: #fff;
  color: var(--text-color);
  padding: 40px 0;
  text-align: left;
}
.company-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
.company-address {
  font-size: 14px;
  margin-bottom: 10px;
}
.company-desc {
  font-size: 16px;
  color: var(--accent-color);
}
.footer-bottom {
  padding: 20px 0;
}
.footer-links-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.copyright {
  font-size: 11px;
}
/* PC表示時：フッター上部を左右にレイアウト */
@media (min-width: 768px) {
  .footer-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }
  .company-info {
    flex: 1;
  }
  .footer-map-area {
    width: 320px; /* 右側の幅を固定 */
    text-align: left;
  }
}

/* マップボタンの簡易スタイル */
.btn-footer-map {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f3f3f3;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid #ddd;
  transition: background-color 0.2s;
}
.btn-footer-map:hover {
  background-color: #e9e9e9;
}
.map-note {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
  line-height: 1.4;
}
/* ページトップボタンの基本スタイル（初期状態：非表示） */
.page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 99;
  width: 50px;
  height: 50px;
  background-color: rgba(51, 51, 51, 0.85); /* 落ち着いたダークグレー */
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  
  /* ふわっと消える・現れるためのアニメーション設定 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s;
}

/* ホバー時の色変化 */
.page-top-btn:hover {
  background-color: #333;
}

/* 矢印のデザイン（CSS） */
.page-top-btn .arrow {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-bottom: 2px;
}

/* 「TOP」の文字デザイン */
.page-top-btn .text {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* ★スクロールして出現した時にJSで付与するクラス */
.page-top-btn.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* スマホ表示時の微調整（必要に応じて） */
@media (max-width: 768px) {
  .page-top-btn {
    bottom: 20px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
}
/* ===============================
   Media Queries (SP - スマホ対応)
================================ */
@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .sp-only { display: block !important; }

  /* ハンバーガーメニュー実装 */
  .burger-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
  }
  .burger-menu span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--main-color);
    transition: 0.3s;
  }
  .burger-menu span:nth-child(1) { top: 0; }
  .burger-menu span:nth-child(2) { top: 10px; }
  .burger-menu span:nth-child(3) { top: 20px; }
  
  .global-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    border-top: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .global-nav ul {
    flex-direction: column;
  }
  .global-nav a {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  
  /* チェックボックスONでメニュー開閉 */
  #nav-toggle:checked ~ .global-nav { display: block; }
  #nav-toggle:checked ~ .burger-menu span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }
  #nav-toggle:checked ~ .burger-menu span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .burger-menu span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }

  /* セクションのスマホ調整 */
  .fv-title { font-size: 28px; }
  .yaa-content { flex-direction: column; text-align: center; gap: 20px; }
  
/* ラインナップを縦積みに（写真→文章の順番にひっくり返す） */
  .lineup-card, .lineup-card:nth-child(even) {
    flex-direction: column-reverse;
  }
  .lineup-img { width: 100%; }
  .lineup-btns { flex-direction: column; }
  
  /* コラムグリッドを2列・1列に */
  .column-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-links-wrap { flex-direction: column; gap: 15px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
/* フッターリンクのスマホ最適化（タップ領域の確保） */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px; /* リンク同士の上下・左右の隙間をしっかり空ける */
  padding: 0;
  list-style: none;
}

.footer-links li a {
  display: inline-block;
  padding: 8px 12px; /* 指で押しやすいように上下左右に余白（ヒットエリア）を持たせる */
  font-size: 13px;
  color: #fff; /* フッターの背景色に合わせて調整してください */
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}

/* タップした時に「押せた感」がわかるようにする */
.footer-links li a:active {
  background-color: rgba(255, 255, 255, 0.1);
}
.fixed-bottom-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 10px;
    box-sizing: border-box;
  }

  .fixed-cta-inner {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  /* 各ボタンのデザイン */
  .cta-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    color: #333333;
    background-color: #f5f5f5;
    box-sizing: border-box;
  }

  .cta-icon {
    font-size: 16px;
    margin-bottom: 2px;
  }

  /* ボタンごとの色分け */
  .cta-line {
    background-color: #06c755;
    color: #ffffff;
  }
  .cta-mail {
    background-color: #2b6cb0;
    color: #ffffff;
  }
  .cta-tel {
    background-color: #e53e3e;
    color: #ffffff;
  }
  
  /* スマホで最下部が隠れないようにするための余白調整 */
  body {
    padding-bottom: 80px;
  }
a.page-top-btn{
bottom: 80px;
right: 15px;
z-index: 998;
	}
}

@media (max-width: 480px) {
  .column-grid { grid-template-columns: 1fr; }

}