/* ============================================================
   おとなり屋 LP スタイルシート
   配色:チラシに合わせたクリーム背景+朱色〜レンガ色のアクセント
   方針:高齢者向けに大きな文字・ゆったり行間・高コントラスト
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #FBF5E8;  /* クリーム系の背景 */
  --bg-deep:       #F6ECD8;
  --accent:        #C0512B;  /* 朱色〜レンガ色 */
  --accent-dark:   #9E3F20;
  --accent-light:  #FAE3D6;
  --text:          #3B2C22;  /* 温かみのある濃い茶色 */
  --text-sub:      #6E5A4C;
  --white:         #FFFFFF;
  --border:        #E8D9BF;
  --radius:        16px;
  --shadow:        0 4px 20px rgba(120, 72, 40, 0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;            /* 本文18px以上 */
  line-height: 2;
  -webkit-text-size-adjust: 100%;
  /* スマホの固定電話ボタンに隠れないよう余白を確保 */
  padding-bottom: 84px;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent-dark); }

.container {
  max-width: 720px;           /* 1カラムのシンプル構成 */
  margin: 0 auto;
  padding: 0 20px;
}

.sp-only { display: none; }

/* ── (1) ファーストビュー ── */
.hero {
  background: var(--bg);
  text-align: center;
  padding: 40px 0 48px;
  border-bottom: 4px solid var(--accent);
}

.hero-area-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  padding: 6px 22px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-service-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.15em;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-mascot {
  margin: 0 auto 20px;
  width: 180px;
  height: auto;
}

.hero-catch {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 19px;
  line-height: 2.1;
  margin-bottom: 32px;
}

/* 電話ボックス(ファーストビュー・締めCTA共通) */
.hero-tel-box, .section-cta .container {
  text-align: center;
}

.hero-tel-box {
  background: var(--white);
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 16px 20px;
}

.tel-caption {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.tel-big {
  display: inline-block;
  font-size: 44px;
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.tel-hours {
  font-size: 18px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ── セクション共通 ── */
.section { padding: 56px 0; }
.section-white { background: var(--white); }

.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-dark);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 36px;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  background: var(--accent);
  border-radius: 3px;
  margin: 14px auto 0;
}

/* ── (2) 料金 ── */
.price-hero-box {
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  padding: 28px 16px;
  margin-bottom: 28px;
}

.price-copy {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}

.price-main { line-height: 1.2; }
.price-unit   { font-size: 30px; font-weight: 700; margin-right: 8px; }
.price-number { font-size: 64px; font-weight: 900; }
.price-yen    { font-size: 30px; font-weight: 700; }

.price-lead {
  text-align: center;
  font-size: 19px;
  margin-bottom: 32px;
}

/* 白抜きの料金ボックス(目安表) */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 19px;
}

.price-table-caption {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.price-table th,
.price-table td {
  padding: 18px 16px;
  border-bottom: 2px solid var(--border);
  text-align: left;
  font-weight: 700;
  line-height: 1.7;
}

.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: none; }

.price-table td {
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
  text-align: right;
  width: 6em;
}

.price-example {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-sub);
}

.price-note {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-sub);
}

.price-mitsumori {
  margin-top: 16px;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: 10px;
  padding: 14px 16px;
  line-height: 1.8;
}

/* ── (3) サービス一覧 ── */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

/* 2カラムだと見出しが折り返す中間幅では1カラムにする */
@media (max-width: 719px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.service-card-title {
  font-size: 20px;           /* 全角13文字の見出しが2カラムでも1行に収まるサイズ */
  font-weight: 900;
  color: var(--accent);
  border-bottom: 3px solid var(--accent-light);
  padding-bottom: 8px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.service-list { list-style: none; }

.service-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 6px;
  line-height: 1.8;
}

.service-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.service-extra {
  font-size: 16px;
  color: var(--text-sub);
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.service-closing {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
}

/* ── (4) ご利用の流れ ── */
.flow-list { list-style: none; }

.flow-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 16px;
}

.flow-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  font-size: 26px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-title {
  font-size: 21px;
  font-weight: 900;
  color: var(--accent-dark);
  line-height: 1.6;
  margin-bottom: 4px;
}

.flow-body p { font-size: 18px; }

.flow-tel {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
}

.flow-note {
  margin-top: 8px;
  font-size: 17px;
  color: var(--text-sub);
}

/* ── (5) 安心してご利用いただくために ── */
.anshin-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.anshin-photo {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-light);
}

.anshin-name {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 12px;
}

.anshin-message {
  font-size: 17px;
  line-height: 2;
  text-align: left;
  margin-bottom: 14px;
}

.anshin-company { font-size: 17px; color: var(--text-sub); }

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── (6) お受けできないこと ── */
.okotowari-lead {
  text-align: center;
  margin-bottom: 24px;
}

.okotowari-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
}

.okotowari-list li {
  background: var(--bg);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  font-size: 19px;
  font-weight: 700;
  padding: 14px 18px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.okotowari-sub {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-sub);
}

/* ── (7) よくあるご質問 ── */
.faq-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 14px;
}

.faq-q {
  position: relative;
  padding-left: 1.8em;
  font-size: 19px;
  font-weight: 900;
  color: var(--accent-dark);
  line-height: 1.8;
  margin-bottom: 8px;
}

.faq-q::before {
  content: "Q";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.faq-a {
  position: relative;
  padding-left: 1.8em;
  font-size: 18px;
  line-height: 1.9;
}

.faq-a::before {
  content: "A";
  position: absolute;
  left: 0;
  color: var(--text-sub);
  font-weight: 900;
}

/* ── (8) 離れて暮らすご家族の方へ ── */
.section-family {
  background: var(--bg-deep);
}

.family-lead {
  font-size: 18px;
  margin-bottom: 28px;
}

.family-moshimoshi {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.family-moshimoshi-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.family-moshimoshi p {
  font-size: 17px;
  text-align: left;
  margin-bottom: 18px;
}

.family-moshimoshi-link {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 32px;
  transition: background 0.2s;
}

.family-moshimoshi-link:hover { background: var(--accent-dark); }

/* ── 電話CTA(締め) ── */
.section-cta {
  background: var(--white);
  border-top: 2px solid var(--border);
  text-align: center;
}

.cta-copy {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

/* ── (8) フッター ── */
.footer {
  background: var(--accent-dark);
  color: var(--white);
  padding: 40px 0 32px;
  font-size: 17px;
}

.footer a { color: var(--white); }

.footer-name {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 20px;
}

.footer-info { margin-bottom: 20px; }

.footer-row {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  line-height: 1.8;
}

.footer-row dt {
  flex-shrink: 0;
  width: 7.5em;
  font-weight: 700;
  opacity: 0.85;
}

.footer-link { margin-bottom: 16px; }
.footer-link a { text-decoration: underline; text-underline-offset: 4px; }

.footer-copy { font-size: 15px; opacity: 0.7; }

/* ── スマホ用固定電話ボタン ── */
.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 245, 232, 0.95);
  border-top: 2px solid var(--border);
}

.sticky-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--accent);
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 16px;
  box-shadow: var(--shadow);
}

.sticky-call-btn:active { background: var(--accent-dark); }

.sticky-call-icon { font-size: 22px; }

/* ── レスポンシブ(スマホ最優先) ── */
@media (max-width: 600px) {
  .sp-only { display: inline; }

  .hero { padding: 32px 0 40px; }
  .hero-title  { font-size: 42px; }
  .hero-mascot { width: 160px; }
  .hero-catch  { font-size: 22px; }
  .hero-lead   { font-size: 18px; }

  .tel-big { font-size: 34px; }

  .section { padding: 44px 0; }
  .section-title { font-size: 27px; }

  .price-copy   { font-size: 24px; }
  .price-number { font-size: 54px; }

  .service-grid { grid-template-columns: 1fr; }

  .anshin-card {
    flex-direction: column;
    text-align: center;
  }
  .anshin-name { text-align: center; }

  .footer-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 12px;
  }
  .footer-row dt { width: auto; font-size: 15px; }
}

/* PCでは固定電話ボタンを非表示(本文中の電話番号で十分なため) */
@media (min-width: 900px) {
  .sticky-call { display: none; }
  body { padding-bottom: 0; }
}
