/* ==========================================================
   ちょっとたのむわ - 共通スタイル
   優先順位：分かりやすい > 読みやすい > 押しやすい > おしゃれ
   ========================================================== */

:root {
  --navy: #0b3562;
  --navy-dark: #082747;
  --navy-light: #e4ecf4;
  --tel: #e0563f;
  --tel-dark: #c1432b;
  --line: #06c755;
  --line-dark: #05a648;
  --bg: #fbf5e9;
  --bg-alt: #f3ead5;
  --panel: #ffffff;
  --ink: #24262b;
  --ink-soft: #52565e;
  --border: #ddd0b4;
  --focus: #ffb300;

  --font-heading: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --max-width: 1080px;
  --radius: 16px;
  --header-h: 76px;
  --mobile-cta-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.5;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-navy {
  background: var(--navy);
  color: #fff;
}
.section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .05em;
  margin-bottom: .5em;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- ボタン / CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 56px;
  line-height: 1.3;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-tel {
  background: var(--tel);
  color: #fff;
  box-shadow: 0 4px 0 var(--tel-dark);
}
.btn-tel:hover { background: var(--tel-dark); }

.btn-line {
  background: var(--line);
  color: #fff;
  box-shadow: 0 4px 0 var(--line-dark);
}
.btn-line:hover { background: var(--line-dark); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 0 var(--navy-dark);
}
.btn-navy:hover { background: var(--navy-dark); }

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy-light); }

.btn-block { width: 100%; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { height: 44px; width: auto; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}

.gnav {
  display: none;
}
.gnav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: .98rem;
}
.gnav a {
  text-decoration: none;
  color: var(--ink);
}
.gnav a:hover { color: var(--navy); }

.header-cta {
  display: none;
  gap: 10px;
}
.header-cta .btn { padding: 12px 18px; min-height: 48px; font-size: .95rem; }

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}

@media (min-width: 960px) {
  .gnav { display: block; }
  .header-cta { display: flex; }
  .hamburger { display: none; }
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  display: none;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-top {
  background: var(--navy);
  color: #fff;
  padding: 20px;
}
.mobile-menu-top .tel-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-heading);
}
.mobile-menu-top .tel-line a {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}
.mobile-menu-top .hours {
  margin-top: 6px;
  font-size: .95rem;
  opacity: .9;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.mobile-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu nav a {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
}

/* モバイル固定CTA */
.mobile-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  height: var(--mobile-cta-h);
}
.mobile-fixed-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: #fff;
}
.mobile-fixed-cta .fc-tel { background: var(--tel); }
.mobile-fixed-cta .fc-line { background: var(--line); }

@media (min-width: 960px) {
  .mobile-fixed-cta { display: none; }
}
@media (max-width: 959px) {
  body { padding-bottom: var(--mobile-cta-h); }
}

/* ---------- ヒーロー ---------- */
.hero {
  background: var(--navy-light);
  padding: 48px 0 56px;
}
.hero .container {
  display: grid;
  gap: 32px;
  align-items: center;
}
.hero-copy .sub {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3em;
}
.hero-copy .assist {
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}
.hero-photo img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 840px) {
  .hero .container { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- ヒーロー（フルブリード写真） ---------- */
.hero-full {
  position: relative;
  width: 100%;
  padding: 0;
  line-height: 0;
}
.hero-full-img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-full-cta {
  position: absolute;
  top: 53%;
  left: 4%;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.8vw, 18px);
  line-height: normal;
}
.hero-full-cta .btn {
  font-size: clamp(0.72rem, 2.6vw, 1.05rem);
  padding: clamp(6px, 1.8vw, 16px) clamp(14px, 3.6vw, 28px);
  min-height: clamp(30px, 8vw, 56px);
  box-shadow: 0 2px 0 rgba(0,0,0,.25), 0 2px 10px rgba(0,0,0,.18);
}

@media (min-width: 840px) {
  .hero-full-cta { gap: 18px; }
  .hero-full-cta .btn {
    font-size: 1.2rem;
    padding: 18px 38px;
    min-height: 64px;
  }
}

@media (min-width: 1280px) {
  .hero-full-cta .btn {
    font-size: 1.35rem;
    padding: 20px 44px;
    min-height: 72px;
  }
}

/* ---------- カード ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.card-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: var(--bg-alt);
}
.card-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: .9rem;
  text-align: center;
  padding: 12px;
}
.card-body { padding: 20px; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { margin-bottom: 0; color: var(--ink-soft); font-size: .98rem; }

.nav-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: box-shadow .15s ease, transform .15s ease;
}
.nav-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.nav-card h3 { color: var(--navy); margin-bottom: .3em; }
.nav-card p { color: var(--ink-soft); margin-bottom: .6em; }
.nav-card .arrow { color: var(--navy); font-weight: 700; }

/* ---------- パンくず ---------- */
.breadcrumb {
  font-size: .9rem;
  color: var(--ink-soft);
  padding: 16px 0;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 6px;
  color: var(--border);
}

/* ---------- 料金テーブル ---------- */
.price-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.price-card .label {
  font-weight: 700;
  color: var(--navy);
}
.price-card .amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin: .2em 0;
}
.price-card .amount small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ---------- アコーディオン(FAQ) ---------- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item summary {
  cursor: pointer;
  padding: 18px 4px;
  font-weight: 700;
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::before {
  content: "Q";
  color: var(--navy);
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.accordion-item .a {
  padding: 0 4px 18px 26px;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
}
.accordion-item .a::before {
  content: "A";
  color: var(--tel);
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.faq-category-title {
  margin-top: 40px;
}

/* ---------- フォーム ---------- */
.form-row {
  margin-bottom: 22px;
}
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-row .required {
  color: var(--tel);
  font-size: .85rem;
  margin-left: 6px;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
}
.form-row textarea { min-height: 140px; resize: vertical; }
fieldset {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
}
fieldset legend { font-weight: 700; padding: 0 8px; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 32px;
}
.site-footer a { color: #fff; text-decoration: none; }
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-closing {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .6em;
}
.footer-legal ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .85rem;
  opacity: .85;
}
.footer-meta {
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 20px;
  font-size: .85rem;
  opacity: .85;
}

/* ---------- 表（会社概要・特定商取引法） ---------- */
.info-table { width:100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow:hidden; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table th, .info-table td { text-align: left; padding: 18px 20px; vertical-align: top; }
.info-table th { width: 34%; color: var(--navy); font-weight: 700; background: var(--navy-light); }
@media (max-width: 640px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: none; padding-bottom: 4px; }
  .info-table td { padding-top: 4px; }
}
.todo-flag { display:inline-block; font-size:.8rem; color:var(--tel); font-weight:700; margin-left:6px; }

/* ---------- ユーティリティ ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
