/*
Theme Name: Life Support MK Universe
Theme URI: https://9684.work/
Author: OpenAI
Author URI: https://openai.com/
Description: ライフサポートエムケーユニバース専用のオリジナル親テーマ。エアコン・ドラム式洗濯機の分解クリーニング向けに最適化。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: life-support-mk-universe
*/

:root {
  --navy: #16324f;
  --blue: #1f6fb2;
  --light-blue: #eaf4fb;
  --accent: #ff8a00;
  --text: #222;
  --subtext: #5f6b76;
  --border: #d9e3ec;
  --bg: #f7fafc;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(22, 50, 79, 0.08);
  --radius: 18px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-main * { box-sizing: border-box; }
.lsmu-container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.lsmu-section { padding: 72px 0; }
.lsmu-section.alt { background: var(--bg); }
.lsmu-section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.3; margin: 0 0 16px; color: var(--navy); }
.lsmu-section-lead { color: var(--subtext); max-width: 760px; margin: 0 0 36px; }
.lsmu-eyebrow { display: inline-block; color: var(--blue); font-weight: 700; letter-spacing: .08em; margin-bottom: 12px; font-size: .9rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.lsmu-header-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-branding a { font-weight: 800; color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.site-branding small { display: block; color: var(--subtext); font-weight: 500; font-size: .75rem; }

.primary-menu { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.primary-menu ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.primary-menu li { margin: 0; }

.lsmu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.lsmu-btn:hover { transform: translateY(-1px); }
.lsmu-btn-primary { background: var(--accent); color: var(--white); }
.lsmu-btn-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.lsmu-btn-dark { background: var(--navy); color: var(--white); }
.lsmu-btn-block { width: 100%; }

.lsmu-hero { background: linear-gradient(135deg, #eef7ff 0%, #ffffff 55%, #f8fbfd 100%); padding: 72px 0 56px; }
.lsmu-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.lsmu-hero h1 { font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.2; margin: 0 0 18px; color: var(--navy); }
.lsmu-hero p { font-size: 1.08rem; color: var(--subtext); margin: 0 0 24px; }
.lsmu-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.lsmu-badge { background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: .92rem; color: var(--navy); box-shadow: var(--shadow); }
.lsmu-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lsmu-hero-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.lsmu-hero-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.2rem; }
.lsmu-hero-card ul { margin: 0; padding-left: 20px; color: var(--subtext); }

.lsmu-grid-2, .lsmu-services-grid, .lsmu-reason-grid, .lsmu-case-grid, .lsmu-faq-grid, .lsmu-blog-grid, .lsmu-price-grid, .lsmu-info-grid, .lsmu-company-grid {
  display: grid; gap: 22px;
}
.lsmu-grid-2, .lsmu-services-grid, .lsmu-info-grid { grid-template-columns: repeat(2, 1fr); }
.lsmu-reason-grid { grid-template-columns: repeat(5, 1fr); }
.lsmu-case-grid, .lsmu-blog-grid { grid-template-columns: repeat(3, 1fr); }
.lsmu-faq-grid { grid-template-columns: repeat(2, 1fr); }
.lsmu-price-grid { grid-template-columns: repeat(3, 1fr); }
.lsmu-company-grid { grid-template-columns: 1.1fr .9fr; }

.lsmu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.lsmu-card h3, .lsmu-card h4 { margin: 0 0 12px; color: var(--navy); line-height: 1.4; }
.lsmu-card p { margin: 0; color: var(--subtext); }

.lsmu-check-list { list-style: none; padding: 0; margin: 0; }
.lsmu-check-list li { padding-left: 1.5em; position: relative; margin: 10px 0; color: var(--subtext); }
.lsmu-check-list li::before { content: "✔"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.lsmu-service-card { padding: 28px; position: relative; overflow: hidden; }
.lsmu-service-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 120px;
  height: 120px;
  background: var(--light-blue);
  border-radius: 50%;
}
.lsmu-service-points { margin: 16px 0 24px; padding-left: 20px; color: var(--subtext); }

.lsmu-case-image { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin-bottom: 10px; background: #f1f5f8; }
.lsmu-case-image img { width: 100%; height: 100%; object-fit: cover; }
.lsmu-label {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,.65);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.lsmu-reason-number {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy); color: var(--white);
  font-weight: 800; margin-bottom: 14px;
}
.lsmu-price { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.2; margin: 14px 0 10px; }
.lsmu-price-card ul { margin: 0; padding-left: 20px; color: var(--subtext); }

.lsmu-cta-band {
  background: linear-gradient(135deg, var(--navy), #245b88);
  color: var(--white);
  border-radius: 28px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}
.lsmu-cta-band h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.3; }
.lsmu-cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.lsmu-cta-actions { display: grid; gap: 12px; }

.entry-content { color: var(--text); }
.entry-content p { margin: 0 0 1.2em; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { color: var(--navy); }
.entry-content a { color: var(--blue); }

.lsmu-map iframe { width: 100%; height: 320px; border: 0; border-radius: 14px; box-shadow: var(--shadow); }

.site-footer {
  background: #0f2337;
  color: rgba(255,255,255,.9);
  padding: 32px 0 100px;
  margin-top: 72px;
}
.site-footer h3 { color: #fff; margin: 0 0 8px; }

.lsmu-floating-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.96); border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: none;
}
.lsmu-floating-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  width: min(calc(100% - 16px), 680px); margin: 0 auto;
}
.lsmu-floating-grid .lsmu-btn { min-height: 46px; padding: 0 10px; font-size: .95rem; }

@media (max-width: 1040px) {
  .lsmu-reason-grid { grid-template-columns: repeat(3, 1fr); }
  .lsmu-price-grid { grid-template-columns: 1fr; }
  .lsmu-hero-grid, .lsmu-cta-band, .lsmu-company-grid, .lsmu-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .lsmu-section { padding: 56px 0; }
  .lsmu-header-wrap { padding: 10px 0; align-items: flex-start; }
  .primary-menu { display: none; }
  .lsmu-hero { padding: 52px 0 40px; }
  .lsmu-grid-2, .lsmu-services-grid, .lsmu-faq-grid, .lsmu-case-grid, .lsmu-blog-grid, .lsmu-reason-grid, .lsmu-company-grid { grid-template-columns: 1fr; }
  .lsmu-floating-cta { display: block; }
  .site-footer { padding-bottom: 120px; }
}
/* Contact Form 7 */
.wpcf7 {
  width: 100%;
}

.wpcf7 form {
  margin: 0;
}

.wpcf7 p {
  margin: 0 0 18px;
}

.wpcf7 label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.95rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.12);
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  margin-right: 8px;
  transform: translateY(1px);
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0 16px 10px 0;
}

.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.wpcf7 .wpcf7-submit:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.wpcf7 .wpcf7-spinner {
  margin: 12px 0 0;
}

.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.85rem;
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
}

@media (max-width: 780px) {
  .wpcf7-list-item {
    display: block;
    margin: 0 0 10px;
  }
}

/* 2カラムフォーム */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-col {
  width: 100%;
}

.form-col.full {
  grid-column: 1 / -1;
}

/* 必須表示 */
.req {
  color: #e53935;
  font-size: 0.8em;
  margin-left: 6px;
}

/* 入力UI強化 */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.wpcf7 textarea {
  min-height: 140px;
}

/* ボタン */
.wpcf7-submit {
  width: 100%;
  background: #ff7a00;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}