/* ============================================================
   gikkuri.css - ぎっくり腰ページ専用スタイル
   プレフィックス: gikkuri- （他ページへの干渉なし）
   カラー: メイン #2e8b57（緑）
   ============================================================ */

/* ---- 基本リセット（スコープ内のみ） ---- */
.gikkuri-section *,
.gikkuri-section *::before,
.gikkuri-section *::after {
  box-sizing: border-box;
}

/* ---- セクション共通 ---- */
.gikkuri-section {
  width: 100%;
  padding: 32px 16px;
}

.gikkuri-section--nopad {
  padding: 0;
}

.gikkuri-section--gray {
  background-color: #f5f5f5;
}

.gikkuri-section--dark {
  background-color: #1a3a2a;
  color: #fff;
}

.gikkuri-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ---- 全幅画像 ---- */
.gikkuri-full-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- 画像ブロック ---- */
.gikkuri-img-block {
  margin: 20px 0;
}

.gikkuri-block-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- セクションタイトル ---- */
.gikkuri-section-title {
  font-size: 20px;
  font-weight: bold;
  color: #2e8b57;
  text-align: center;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2e8b57;
}

.gikkuri-section--dark .gikkuri-section-title {
  color: #fff;
  border-bottom-color: #4caf50;
}

.gikkuri-sub-title {
  font-size: 17px;
  font-weight: bold;
  color: #2e8b57;
  margin: 24px 0 8px;
}

.gikkuri-section-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 16px;
}

/* ============================================================
   SECTION 3: 悩み訴求
   ============================================================ */
.gikkuri-nayami-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.gikkuri-nayami-header {
  font-size: 18px;
  font-weight: bold;
  color: #2e8b57;
  text-align: center;
  padding: 12px 16px;
  border: 2px solid #2e8b57;
  border-radius: 6px;
  margin-bottom: 20px;
  background-color: #fff;
}

.gikkuri-nayami-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.gikkuri-nayami-card {
  background: #fff;
  border: 1px solid #cce5d6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.gikkuri-nayami-card-photo {
  width: 100%;
  height: 110px;
  overflow: hidden;
  background-color: #e0f0e8;
}

.gikkuri-nayami-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gikkuri-nayami-card-title {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #2e8b57;
  padding: 6px 10px;
  text-align: center;
}

.gikkuri-nayami-card-list {
  list-style: none;
  margin: 0;
  padding: 8px 10px 10px;
}

.gikkuri-nayami-card-list li {
  font-size: 12px;
  color: #444;
  padding: 3px 0 3px 14px;
  position: relative;
  line-height: 1.5;
}

.gikkuri-nayami-card-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #2e8b57;
}

.gikkuri-nayami-cta {
  background-color: #2e8b57;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  padding: 14px 16px;
  border-radius: 6px;
}

/* ============================================================
   SECTION 5: 経過時期による改善
   ============================================================ */
.gikkuri-kaizen-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.gikkuri-kaizen-card {
  background: #fff;
  border: 1px solid #cce5d6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.gikkuri-kaizen-card-header {
  display: flex;
  align-items: center;
  background-color: #2e8b57;
  padding: 10px 14px;
  gap: 12px;
}

.gikkuri-kaizen-num {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  min-width: 36px;
}

.gikkuri-kaizen-card-title-wrap {
  flex: 1;
}

.gikkuri-kaizen-period {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  line-height: 1.3;
}

.gikkuri-kaizen-days {
  font-size: 12px;
  color: #c8e6c9;
  margin-top: 2px;
}

.gikkuri-kaizen-card-body {
  display: flex;
  gap: 12px;
  padding: 14px;
}

.gikkuri-kaizen-photo {
  width: 120px;
  min-width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #e0f0e8;
}

.gikkuri-kaizen-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gikkuri-kaizen-text {
  flex: 1;
}

.gikkuri-kaizen-text p {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 8px;
}

.gikkuri-kaizen-tips {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gikkuri-kaizen-tips li {
  font-size: 12px;
  color: #2e8b57;
  font-weight: bold;
  padding: 2px 0 2px 16px;
  position: relative;
}

.gikkuri-kaizen-tips li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e8b57;
}

/* ============================================================
   SECTION 6: 3つのメリット
   ============================================================ */
.gikkuri-merit-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* メリットヘッダー */
.gikkuri-merit-header {
  position: relative;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 0;
}

.gikkuri-merit-header-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gikkuri-merit-header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gikkuri-merit-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 40, 20, 0.55);
}

.gikkuri-merit-header-text {
  position: relative;
  z-index: 2;
  padding: 24px 20px;
  color: #fff;
}

.gikkuri-merit-header-sub {
  font-size: 12px;
  color: #c8e6c9;
  margin-bottom: 4px;
}

.gikkuri-merit-header-title {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 4px;
}

.gikkuri-merit-header-count {
  font-size: 22px;
  font-weight: bold;
  color: #4caf50;
  margin-bottom: 8px;
}

.gikkuri-merit-header-count span {
  font-size: 40px;
  line-height: 1;
}

.gikkuri-merit-header-desc {
  font-size: 13px;
  color: #e8f5e9;
  line-height: 1.6;
}

/* アイコン帯 */
.gikkuri-merit-icons {
  display: flex;
  justify-content: space-around;
  background-color: #1b5e20;
  padding: 16px 8px;
  gap: 8px;
}

.gikkuri-merit-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.gikkuri-merit-icon-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.gikkuri-merit-icon-label {
  font-size: 11px;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

/* メリットカード */
.gikkuri-merit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
}

.gikkuri-merit-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gikkuri-merit-card-header {
  display: flex;
  align-items: center;
  background-color: #2e8b57;
  padding: 10px 14px;
  gap: 10px;
}

.gikkuri-merit-card-num {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  min-width: 32px;
}

.gikkuri-merit-card-title {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
}

.gikkuri-merit-card-body {
  display: flex;
  gap: 12px;
  padding: 14px;
}

.gikkuri-merit-card-photo {
  width: 120px;
  min-width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #e0f0e8;
}

.gikkuri-merit-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gikkuri-merit-card-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

/* ============================================================
   SECTION 9: FAQ
   ============================================================ */
.gikkuri-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.gikkuri-faq-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.gikkuri-faq-q,
.gikkuri-faq-a {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  align-items: flex-start;
}

.gikkuri-faq-q {
  background-color: #e8f5e9;
  border-left: 4px solid #2e8b57;
}

.gikkuri-faq-a {
  background-color: #fff;
  border-left: 4px solid #81c784;
}

.gikkuri-faq-icon {
  font-size: 18px;
  font-weight: bold;
  color: #2e8b57;
  min-width: 24px;
  line-height: 1.5;
}

.gikkuri-faq-icon--a {
  color: #388e3c;
}

.gikkuri-faq-text {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}

.gikkuri-faq-q .gikkuri-faq-text {
  font-weight: bold;
  color: #222;
}

/* ============================================================
   レスポンシブ対応
   ============================================================ */

/* タブレット（768px以上） */
@media (min-width: 768px) {
  .gikkuri-section {
    padding: 40px 24px;
  }

  .gikkuri-section-title {
    font-size: 24px;
  }

  .gikkuri-nayami-header {
    font-size: 20px;
  }

  .gikkuri-nayami-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .gikkuri-nayami-card-photo {
    height: 140px;
  }

  .gikkuri-nayami-card-title {
    font-size: 15px;
  }

  .gikkuri-nayami-card-list li {
    font-size: 13px;
  }

  .gikkuri-kaizen-photo {
    width: 160px;
    min-width: 160px;
    height: 160px;
  }

  .gikkuri-kaizen-text p {
    font-size: 14px;
  }

  .gikkuri-merit-header {
    min-height: 260px;
  }

  .gikkuri-merit-header-title {
    font-size: 20px;
  }

  .gikkuri-merit-header-count {
    font-size: 26px;
  }

  .gikkuri-merit-header-count span {
    font-size: 48px;
  }

  .gikkuri-merit-icon-img {
    width: 72px;
    height: 72px;
  }

  .gikkuri-merit-icon-label {
    font-size: 12px;
  }

  .gikkuri-merit-card-photo {
    width: 160px;
    min-width: 160px;
    height: 160px;
  }

  .gikkuri-merit-card-text {
    font-size: 14px;
  }

  .gikkuri-faq-text {
    font-size: 14px;
  }
}

/* スマホ（480px以下） */
@media (max-width: 480px) {
  .gikkuri-nayami-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gikkuri-nayami-card-photo {
    height: 90px;
  }

  .gikkuri-nayami-card-title {
    font-size: 12px;
    padding: 5px 8px;
  }

  .gikkuri-nayami-card-list li {
    font-size: 11px;
  }

  .gikkuri-kaizen-card-body {
    flex-direction: column;
  }

  .gikkuri-kaizen-photo {
    width: 100%;
    height: 160px;
    min-width: unset;
  }

  .gikkuri-merit-card-body {
    flex-direction: column;
  }

  .gikkuri-merit-card-photo {
    width: 100%;
    height: 160px;
    min-width: unset;
  }

  .gikkuri-merit-header {
    min-height: 240px;
  }

  .gikkuri-merit-header-text {
    padding: 20px 16px;
  }

  .gikkuri-merit-header-count span {
    font-size: 36px;
  }

  .gikkuri-merit-icon-img {
    width: 50px;
    height: 50px;
  }

  .gikkuri-merit-icon-label {
    font-size: 10px;
  }
}
