/* ================================
   全体レイアウト（中央 900px）
================================ */
.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ================================
   Body
================================ */
body {
  margin: 0;
  padding: 0;
  background: #fafafa;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================
   ▼▼ 共通ヘッダー ▼▼
================================ */
.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title a {
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  color: #005a8d;
}

/* PCナビ */
.site-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  color: #005a8d;
  font-weight: 600;
  font-size: 15px;
}

.site-nav a:hover,
.site-nav .active {
  color: #0088cc;
}

/* 電話ボタン */
.tel-btn {
  background: #ff7b00;
  color: #fff !important;
  padding: 7px 14px;
  border-radius: 6px;
  font-weight: 700;
}

/* ================================
   HERO セクション
================================ */
.hero {
  width: 100%;
  background: #e9f5ff;
  text-align: center;
  padding: 80px 20px;
}

.hero-inner,
.container {
  max-width: 900px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 32px;
  color: #003d66;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
}

/* ================================
   セクション（中央寄せ統一）
================================ */
.section {
  max-width: 900px;
  margin: 30px auto;
  padding: 40px 20px;
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
}

.section h2 {
  font-size: 24px;
  margin-bottom: 15px;
  border-left: 5px solid #ff7b00;
  padding-left: 10px;
  font-weight: 700;
}

/* ================================
   特徴ボックス（グリッド）
================================ */
.features {
  display: grid;
  gap: 20px;
}

.feature-box {
  padding: 20px;
  background: #f7f7f7;
  border-radius: 10px;
  border: 1px solid #eee;
}

.feature-box h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

/* ================================
   ボタン
================================ */
.contact-btn,
.cta-btn {
  display: block;
  background: #00aaff;
  color: #fff;
  padding: 15px;
  text-align: center;
  margin: 20px 0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

/* ================================
   全幅 Footer
================================ */
footer,
.site-footer {
  width: 100%;
  background: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

footer a,
.site-footer a {
  color: #fff;
  text-decoration: none;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-links {
  margin: 10px 0;
}

.footer-links a {
  margin: 0 5px;
}

/* ================================
   スマホ（〜767px）
================================ */
@media (max-width: 767px) {

  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .site-title a {
    font-size: 18px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 60px 15px;
  }

  .hero h2 {
    font-size: 26px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 30px 15px;
  }

  .section h2 {
    font-size: 22px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

/* ================================
   PC（768px〜）
================================ */
@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}

.comparison-table th {
  background: #f0f8ff;
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
  font-weight: 700;
}

.comparison-table td {
  background: #fff;
  padding: 12px;
  border: 1px solid #ddd;
}

.comparison-table tr:nth-child(odd) td {
  background: #fafafa;
}
/* ===========================
   🔍 検索アイコン付き入力
=========================== */
.site-search {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #777;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 14px 14px 45px; /* ← 左に余白を追加 */
  font-size: 17px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
/* ===========================
   🔍 FontAwesome 検索アイコン
=========================== */
.search-fa-icon {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #777;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 14px 14px 50px; /* 左余白を大きめに設定 */
  font-size: 17px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.site-logo-icon {
  font-size: 26px;
  color: #0066cc;
  margin-right: 8px;
  vertical-align: -3px;
}

.site-title a {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .site-title a {
    font-size: 18px;
  }
  .site-logo-icon {
    font-size: 22px;
  }
}
/* ▼ スマホ専用：ヘッダーの高さ調整 */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 0;
  }
  .site-title a {
    font-size: 17px;
  }
}

/* ▼ スマホ時：ナビゲーションを縦に広げてタップしやすく */
@media (max-width: 768px) {
  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .site-nav li {
    margin-left: 0 !important;
  }
  .site-nav a {
    padding: 12px 10px;
    font-size: 19px;
  }
}
.search-input {
  border-radius: 30px !important;
  padding-left: 50px !important;
}
.search-fa-icon {
  left: 28px !important;
  font-size: 18px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(4px);
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* =============================== */
/* フッター（共通デザイン） */
/* =============================== */
.site-footer {
  width: 100%;
  background: #333;
  color: #fff;
  padding: 30px 0;
  margin-top: 40px;
}

.site-footer .footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 6px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copy {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.8;
}

/* ▼ お問い合わせフォーム */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 16px;
  box-sizing: border-box;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #00aaff;
  color: #fff;
  font-size: 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.contact-form button:hover {
  background: #0088cc;
}
/* ▼ 共通ヘッダー */
.site-header {
  background:#fff;
  border-bottom:1px solid #eee;
  position:sticky;
  top:0;
  z-index:999;
}
.header-inner {
  max-width:1000px;
  margin:0 auto;
  padding:12px 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.site-title a {
  color:#333;
  font-size:22px;
  text-decoration:none;
  font-weight:700;
}
.pc-nav ul {
  list-style:none; padding:0; margin:0;
  display:flex; gap:20px;
}
.pc-nav a {
  text-decoration:none; color:#333;
  font-size:16px; font-weight:600;
}
.pc-nav a:hover { color:#0d7be0; }

/* ▼ ハンバーガー */
.hamburger { display:none; width:28px; cursor:pointer; }
.hamburger span {
  display:block; height:3px; margin:5px 0;
  background:#333; border-radius:3px;
}
.sp-nav { display:none; background:#fff; border-bottom:1px solid #eee; }
.sp-nav.open { display:block; }
.sp-nav ul { list-style:none; margin:0; padding:10px; }
.sp-nav a {
  display:block; padding:12px 8px;
  text-decoration:none; color:#333;
  border-bottom:1px solid #eee;
}
.tel-sp { background:#ff7b00; color:#fff !important; border-radius:4px; }

/* ▼ レスポンシブ */
@media(max-width:768px){
  .pc-nav { display:none; }
  .hamburger { display:block; }
}