/* ==========================================
   基本設定
========================================== */

html, body {
  margin: 0;
  padding: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #333;
  background: #fff;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1200px; margin: auto; padding: 0 20px; }

/* ==========================================
   ヘッダー
========================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #275b4d;
}

/* ナビゲーション */
.nav .main-nav {
  display: flex;
  list-style: none;
  gap: 35px;
  font-size: 18px;
  padding-left: 0;
}

.nav a {
  padding: 4px 0;
}

/* ▼ プルダウンメニュー */
.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-toggle {
  cursor: pointer;
  padding-right: 10px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 32px;
  left: 0;
  background: #fff;
  border-radius: 12px;
  min-width: 180px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  padding: 12px 0;
  list-style: none;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 18px;
  color: #333;
}

.dropdown-menu a:hover {
  background: #ecf8f3;
  color: #275b4d;
}

/* ==========================================
   CTAボタン（電話／LINE）
========================================== */
.cta-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 17px;
  text-align: center;
}

.tel-btn {
  background: #0077c2;
  color: #fff;
}

.tel-btn:hover {
  background: #005fa3;
}

.line-btn {
  background: #06c755;
  color: #fff;
}

.line-btn:hover {
  background: #05b94e;
}

.primary-btn {
  background: #62c5a8;
  color: #fff;
}

.primary-btn:hover {
  background: #4ebc99;
}

.big { padding: 15px 26px; font-size: 20px; }

/* ==========================================
   セクション
========================================== */
.section {
  padding: 70px 0;
}

h1 {
  font-size: 40px;
  color: #275b4d;
  margin-bottom: 25px;
}

h2 {
  font-size: 30px;
  margin-top: 50px;
  margin-bottom: 20px;
  color: #275b4d;
}

h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.lead {
  font-size: 22px;
  line-height: 1.8;
}

/* ==========================================
   カードUI（サービスなど）
========================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  border: 1px solid #eef5f2;
}

.gray-bg {
  background: #f7faf9;
  border-radius: 16px;
}

/* ==========================================
   FOOTER
========================================== */
.footer {
  background: #f3f7f5;
  padding: 50px 0 20px;
  margin-top: 50px;
  border-top: 1px solid #e1ece9;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-contact h3 {
  font-size: 28px;
  color: #275b4d;
}

.footer-nav ul {
  list-style: none;
  padding-left: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.copy {
  text-align: center;
  margin-top: 25px;
  color: #666;
}

/* ==========================================
   あたたかいフォーム（最新版）
========================================== */

.warm-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e5f2ec;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.form-label {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
  color: #334;
  font-weight: 600;
}

.required {
  color: #d9534f;
}

.warm-input,
.warm-textarea {
  width: 100%;
  padding: 15px 18px;
  font-size: 19px;
  background: #fcfefc;
  border-radius: 12px;
  border: 2px solid #cfe8e0;
  margin-bottom: 25px;
  transition: all 0.25s ease;
}

.warm-input::placeholder,
.warm-textarea::placeholder {
  color: #99a;
}

.warm-input:focus,
.warm-textarea:focus {
  border-color: #63c5a7;
  box-shadow: 0 0 0 4px rgba(99,197,167,0.25);
  outline: none;
  background: #fff;
}

.warm-textarea {
  min-height: 160px;
  line-height: 1.6;
}

.warm-submit {
  width: 100%;
  padding: 18px 0;
  border-radius: 12px;
  font-size: 22px;
  background: #62c5a8;
  color: #fff;
  border: none;
  transition: 0.3s;
}

.warm-submit:hover {
  background: #4ebc99;
}

/* ==========================================
   スマホ調整
========================================== */
@media (max-width: 768px) {

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }

  .header-inner {
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav .main-nav {
    gap: 20px;
    font-size: 16px;
  }

  .cta-buttons {
    width: 100%;
    justify-content: flex-end;
  }

  .lead {
    font-size: 20px;
  }

  .warm-input,
  .warm-textarea {
    font-size: 18px;
  }
}
/* =============================
   テキストサイズの統一拡大（全ページ）
============================= */

/* 通常テキスト */
body, p, li {
  font-size: 19px;
  line-height: 1.8;
}

/* 説明文（lead） */
.lead {
  font-size: 24px !important;
  line-height: 1.9;
}

/* セクション内の行間改善 */
.section p {
  margin-bottom: 22px;
}

/* スマホ最適化 */
@media (max-width: 768px) {

  body, p, li {
    font-size: 18px;
  }

  .lead {
    font-size: 22px !important;
    line-height: 1.9;
  }
}
/* ▼ サービス画像を揃える（中央3カラム） */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service-card img {
  width: 100%;
  height: 180px;   /* ← 好きな高さに調整OK（例：180〜220） */
  object-fit: cover;   /* 画像を中央基準でトリミングして揃える */
  border-radius: 8px;
  background: #f0f0f0;
}

/* カードの高さ揃え */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin-top: 15px;
  font-size: 1.2em;
}

.service-card p {
  flex-grow: 1;
}

/* ボタン位置を下に揃える */
.service-card p:last-child {
  margin-top: auto;
}
