/* BonaVida — ロゴのティール／ネイビー／サンドを基にした配色 */
:root {
  --navy: #1e3448;
  --navy-soft: #3d5468;
  --teal: #1f7a80;
  --teal-dark: #17636a;
  --mint: #8cc8be;
  --pale: #eef6f6;
  --pale-blue: #e6f1f5;
  --sand: #dcc39c;
  --line: #d6e3e6;
  --white: #ffffff;
  --todo-bg: #fff4d6;
  --todo-fg: #8a5a00;
  --radius: 10px;
  --max: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.5; margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* 公開前確認バナー（未入力項目がある時のみ表示） */
.draft-banner {
  background: var(--todo-bg);
  color: var(--todo-fg);
  border-bottom: 1px solid #ecd59a;
  padding: 10px 20px;
  font-size: 13px;
  line-height: 1.7;
}
.todo {
  display: inline-block;
  background: var(--todo-bg);
  color: var(--todo-fg);
  padding: 0 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .9em;
}

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  background: url("../images/logo.jpg") no-repeat;
  background-size: 99px 99px;
  background-position: -30px -13px; /* ロゴのマーク部分のみ表示 */
}
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 22px; letter-spacing: .02em; }
.brand-name small { font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 12px; margin-left: 4px; color: var(--navy-soft); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { color: var(--navy); text-decoration: none; }
.nav a:hover { color: var(--teal); }
.nav-cta { background: var(--teal); color: #fff !important; padding: 6px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--teal-dark); }

/* トップ */
.hero { background: linear-gradient(180deg, var(--pale-blue), var(--white)); padding: 64px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; }
.hero h1 { font-size: 40px; font-weight: 700; letter-spacing: .04em; margin-bottom: 20px; }
.hero p { margin: 0 0 32px; color: var(--navy-soft); max-width: 34em; }
.hero-logo img { width: 300px; margin: 0 auto; border-radius: 50%; background: #fff; box-shadow: 0 6px 24px rgba(30,52,72,.08); }

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn:focus-visible, .nav a:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

/* セクション共通 */
.section { padding: 72px 0; }
.section-tint { background: var(--pale); }
.section-label {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--teal);
  font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ""; width: 24px; height: 2px; background: var(--sand); }
.section h2 { font-size: 28px; margin-bottom: 20px; }
.lead { margin: 0 0 28px; max-width: 46em; }
.sub-heading { font-size: 18px; margin: 8px 0 12px; }
.note { font-size: 14px; color: var(--navy-soft); margin: 12px 0 0; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.check-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 16px 44px;
  position: relative;
  background: #fff;
}
.check-list li::before {
  content: "";
  position: absolute; left: 16px; top: 50%;
  width: 14px; height: 8px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal);
  transform: translateY(-70%) rotate(-45deg);
}

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--pale-blue); }
.card p { margin: 0; }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li + li { margin-top: 4px; }
.plain-list.dotted { padding-left: 1.2em; list-style: disc; }
.plain-list.dotted li::marker { color: var(--teal); }
#price-notes { margin-top: 12px; font-size: 14px; }

/* ご依頼の流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--pale); border-radius: var(--radius); padding: 24px 20px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; color: var(--navy-soft); }

/* 会社概要 */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 30%; background: var(--pale-blue); font-weight: 700; white-space: nowrap; }

/* お問い合わせ */
.contact-value { font-size: 20px; font-weight: 700; }
.contact-value .hours { display: block; font-size: 14px; font-weight: 400; color: var(--navy-soft); }
.hint { margin-top: 20px; }

/* 主な清掃内容（間取り） */
#room-list { grid-template-columns: repeat(5, 1fr); }
.room-note { margin: 16px 0 0; font-weight: 700; }
.cta-inline { margin: 28px 0 0; }

/* お問い合わせフォーム */
.container.narrow { max-width: 760px; }
.form { padding: 32px; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.req, .opt { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; line-height: 1.7; }
.req { background: var(--navy); color: #fff; }
.opt { background: var(--pale-blue); color: var(--navy-soft); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* iOSで入力時にズームしない */
  color: var(--navy);
  background: #fff;
  border: 1px solid #b9cdd3;
  border-radius: 8px;
  padding: 10px 12px;
}
.form textarea { resize: vertical; line-height: 1.7; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--mint); outline-offset: 0; border-color: var(--teal); }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { white-space: pre-line; background: #fff0f0; border: 1px solid #f0c2c2; color: #b3261e; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.btn-submit { width: 100%; border: none; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.recaptcha-note { font-size: 12px; margin-top: 16px; }
.grecaptcha-badge { visibility: hidden; } /* 表記をフォーム下に記載しているためバッジは非表示 */

.modal { position: fixed; inset: 0; z-index: 100; background: rgba(30,52,72,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 16px; padding: 32px 28px; max-width: 420px; width: 100%; text-align: center; }
.modal-box h3 { font-size: 20px; margin-bottom: 12px; }
.modal-box p { margin: 0 0 24px; color: var(--navy-soft); font-size: 15px; }
.modal-box .btn { border: none; font: inherit; font-weight: 700; cursor: pointer; width: 100%; }

/* プライバシーポリシー */
.prose { max-width: 800px; }
.prose h1 { font-size: 28px; margin-bottom: 24px; }
.prose h2 { font-size: 19px; margin: 40px 0 12px; padding-left: 12px; border-left: 4px solid var(--teal); }
.prose ul { padding-left: 1.4em; }
.prose .info-table { margin-top: 8px; }
.enacted { margin-top: 40px; text-align: right; color: var(--navy-soft); }

/* フッター */
.site-footer { background: var(--navy); color: #d9e4ea; padding: 32px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer-inner p { margin: 0; }
.footer-name { font-weight: 700; color: #fff; }
.site-footer a { color: #d9e4ea; }
.site-footer a:hover { color: #fff; }

/* タブレット・スマートフォン */
@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 40px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { order: -1; }
  .hero-logo img { width: 160px; }
  .hero h1 { font-size: 30px; }
  .check-list, .cards { grid-template-columns: 1fr; }
  #room-list { grid-template-columns: 1fr 1fr; }
  .form { padding: 24px 18px; }
  .flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section h2 { font-size: 23px; }
  .hero h1 { font-size: 27px; }
  .btn { display: block; text-align: center; }
  .brand-name { font-size: 19px; }
  .nav-cta { padding: 6px 12px; font-size: 13px; }
  .flow { grid-template-columns: 1fr; }
  .info-table th, .info-table td { display: block; width: 100%; padding: 10px 16px; }
  .info-table th { border-bottom: none; padding-bottom: 6px; }
  .info-table td { padding-top: 8px; }
  .contact-value { font-size: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
