/* ==========================================================================
   整骨院元 くまなん院／酸素ルーム(O2ROOM)ページ専用CSS
   ラッパー：.km-page--o2room　プレフィックス：.o2-
   ========================================================================== */

.km-page--o2room {
  --o2-navy: #0d3b66;
  --o2-blue: #1E88C7;
  --o2-blue-light: #eaf4fb;
  --o2-skyblue: #4fc3e8;
  --o2-red: #E5393A;
  --o2-red-light: #fdeceb;
  --o2-text: #333333;
  --o2-text-sub: #555555;
  --o2-border: #e0e0e0;
  --o2-beige: #fdf8f2;
  font-size: 16px;
  line-height: 1.8;
  color: var(--o2-text);
}

.km-page--o2room * {
  box-sizing: border-box;
}

/* ---------- 共通セクション ---------- */
.km-page--o2room .o2-section {
  padding: 48px 16px;
  max-width: 700px;
  margin: 0 auto;
}

.km-page--o2room .o2-section--nopad {
  padding: 0;
  max-width: 100%;
}

.km-page--o2room .o2-section--beige {
  background: var(--o2-beige);
  max-width: 100%;
  padding: 48px 16px;
}

.km-page--o2room .o2-section--blue-bg {
  background: var(--o2-blue-light);
  max-width: 100%;
  padding: 48px 16px;
}

.km-page--o2room .o2-section-inner {
  max-width: 700px;
  margin: 0 auto;
}

.km-page--o2room .o2-full-img {
  display: block;
  width: 100%;
  height: auto;
}

.km-page--o2room .o2-section-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center !important;
  color: var(--o2-text) !important;
  margin: 0 0 24px;
  line-height: 1.5;
  border: none !important;
}

.km-page--o2room .o2-section-title::before,
.km-page--o2room .o2-section-title::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.km-page--o2room .o2-section-lead {
  text-align: center !important;
  color: var(--o2-text-sub);
  margin: 0 0 32px;
  font-size: 15px;
}

.km-page--o2room p {
  text-align: left;
}

/* ---------- セクション2：酸素ルームの効果 ---------- */
.km-page--o2room .o2-effect-item {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--o2-border);
}

.km-page--o2room .o2-effect-item:last-child {
  margin-bottom: 0;
}

.km-page--o2room .o2-effect-label {
  background: var(--o2-blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 16px;
  text-align: left !important;
}

.km-page--o2room .o2-effect-photo {
  width: 100%;
  height: auto;
  display: block;
}

.km-page--o2room .o2-effect-body {
  padding: 16px;
  background: #ffffff;
}

.km-page--o2room .o2-effect-title {
  font-size: 17px;
  font-weight: bold;
  color: var(--o2-blue) !important;
  text-align: center !important;
  margin: 0 0 10px;
  border: none !important;
}

.km-page--o2room .o2-effect-title::before,
.km-page--o2room .o2-effect-title::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.km-page--o2room .o2-effect-body p {
  font-size: 14px;
  color: var(--o2-text);
  margin: 0;
  text-align: left !important;
}

/* ---------- セクション3：こんな悩みありませんか？ ---------- */
.km-page--o2room .o2-nayami-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  margin-top: 24px;
}

.km-page--o2room .o2-nayami-item {
  text-align: center;
}

.km-page--o2room .o2-nayami-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
}

.km-page--o2room .o2-nayami-item p {
  font-size: 14px;
  font-weight: bold;
  color: var(--o2-text);
  margin: 0;
  text-align: center !important;
}

/* ---------- セクション4：感謝の声 ---------- */
.km-page--o2room .o2-voice-photo {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 24px auto;
}

.km-page--o2room .o2-voice-name {
  text-align: center !important;
  font-size: 16px;
  font-weight: bold;
  color: var(--o2-blue) !important;
  margin: 0 0 16px;
}

.km-page--o2room .o2-voice-text {
  text-align: center !important;
  font-size: 15px;
  color: var(--o2-text);
}

/* ---------- セクション5：注意点（耳抜き） ---------- */
.km-page--o2room .o2-step-banner {
  background: var(--o2-blue);
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  padding: 12px;
  border-radius: 6px;
  margin: 24px 0 16px;
}

.km-page--o2room .o2-step-lead {
  text-align: center !important;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 20px;
}

.km-page--o2room .o2-step-box {
  background: var(--o2-blue-light);
  border-radius: 8px;
  padding: 8px 20px;
}

.km-page--o2room .o2-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--o2-border);
}

.km-page--o2room .o2-step-item:last-child {
  border-bottom: none;
}

.km-page--o2room .o2-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--o2-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.km-page--o2room .o2-step-item p {
  margin: 0;
  font-size: 14px;
  color: var(--o2-text);
  text-align: left !important;
}

.km-page--o2room .o2-note {
  font-size: 13px;
  color: var(--o2-text-sub);
  margin-top: 8px;
}

/* ---------- セクション6：禁忌事項 ---------- */
.km-page--o2room .o2-kinki-title {
  color: var(--o2-red) !important;
}

.km-page--o2room .o2-kinki-box {
  border: 2px solid var(--o2-red);
  border-radius: 8px;
  padding: 24px 20px;
  margin-top: 24px;
  background: var(--o2-red-light);
}

.km-page--o2room .o2-kinki-icon {
  width: 64px;
  height: 64px;
  border: 4px solid var(--o2-red);
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
}

.km-page--o2room .o2-kinki-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 56px;
  background: var(--o2-red);
  transform: translate(-50%, -50%) rotate(45deg);
}

.km-page--o2room .o2-kinki-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.km-page--o2room .o2-kinki-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: bold;
  color: var(--o2-text);
  padding: 10px 0;
  border-bottom: 1px dashed #f0b8b8;
}

.km-page--o2room .o2-kinki-list li:last-child {
  border-bottom: none;
}

.km-page--o2room .o2-kinki-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--o2-red);
  border-radius: 3px;
  color: var(--o2-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
}

/* ---------- セクション7：FAQ ---------- */
.km-page--o2room .o2-faq-title-bar {
  position: relative;
  overflow: hidden;
  display: table;
  background: linear-gradient(135deg, #2E9FE0 0%, var(--o2-blue) 55%, var(--o2-navy) 100%);
  color: #ffffff;
  text-align: center;
  padding: 28px 48px;
  border-radius: 12px;
  margin: 0 auto 32px;
  box-shadow: 0 10px 24px rgba(30, 136, 199, 0.28);
}

.km-page--o2room .o2-faq-title-bar::before {
  content: "";
  position: absolute;
  top: -36px;
  right: -28px;
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 50%;
}

.km-page--o2room .o2-faq-title-bar::after {
  content: "";
  position: absolute;
  bottom: -46px;
  left: -24px;
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.km-page--o2room .o2-faq-title-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #ffffff;
  color: var(--o2-blue);
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.km-page--o2room .o2-faq-title-bar .o2-section-title {
  position: relative;
  z-index: 1;
  color: #ffffff !important;
  font-size: 26px !important;
  margin: 0;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.km-page--o2room .o2-faq-item {
  max-width: 700px;
  margin: 0 auto 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--o2-border);
}

.km-page--o2room .o2-faq-item:last-child {
  border-bottom: none;
}

.km-page--o2room .o2-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: bold;
  font-size: 16px;
  color: var(--o2-text);
  margin-bottom: 10px;
}

.km-page--o2room .o2-faq-q-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--o2-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.km-page--o2room .o2-faq-a {
  font-size: 14px;
  color: var(--o2-text-sub);
  padding-left: 38px;
  text-align: left !important;
}

.km-page--o2room .o2-related {
  margin-top: 32px;
  text-align: center;
}

.km-page--o2room .o2-related-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--o2-text) !important;
  margin: 0 0 16px;
  text-align: center !important;
  border: none !important;
}

.km-page--o2room .o2-related-title::before,
.km-page--o2room .o2-related-title::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.km-page--o2room .o2-related-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 300px;
  text-align: left;
}

.km-page--o2room .o2-related-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--o2-border);
}

.km-page--o2room .o2-related-list li:last-child {
  border-bottom: none;
}

.km-page--o2room .o2-related-list a {
  color: var(--o2-blue);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.km-page--o2room .o2-cta {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: var(--o2-navy);
  border-radius: 8px;
}

.km-page--o2room .o2-cta p {
  text-align: center !important;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

/* ==========================================================================
   レスポンシブ（PC幅）
   ========================================================================== */
@media (min-width: 600px) {
  .km-page--o2room .o2-nayami-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 400px) {
  .km-page--o2room .o2-faq-title-bar {
    padding: 24px 20px;
  }

  .km-page--o2room .o2-faq-title-bar .o2-section-title {
    font-size: 20px !important;
    white-space: normal;
  }
}
