@charset "UTF-8";
/*
    Template: swell
    Theme Name: Hachikokuyama Theme
    Description: 八国山司法書士事務所のテーマ
    Version: 1.0.0
    Author: TecNect
*/
/* ==========================================================
   0. 変数・ベース
========================================================== */
:root {
  /* 青〜紺系パレット */
  --c-navy: #1e3a5f;        /* メイン紺 */
  --c-navy-dark: #14283f;   /* フッターなど */
  --c-blue: #2e6da4;        /* メイン青 */
  --c-blue-soft: #5b8fc7;   /* 淡い青 */
  --c-sky: #eaf3fb;         /* セクション背景の水色 */
  --c-sky-2: #f6fafd;       /* さらに淡い背景 */
  --c-accent: #f08a3c;      /* CTA用オレンジ */
  --c-accent-dark: #d9742a;
  --c-text: #2b3a4a;
  --c-text-soft: #5a6b7c;
  --c-white: #ffffff;
  --c-line: #d7e4f0;

  /* タイポグラフィ:高齢の方にも読みやすい大きめ設定 */
  --fs-base: 17px;
  --ff-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ff-heading: "Zen Maru Gothic", "Noto Sans JP", sans-serif;

  --radius-l: 24px;
  --radius-m: 16px;
  --radius-s: 10px;
  --shadow-soft: 0 6px 24px rgba(30, 58, 95, 0.10);
  --shadow-card: 0 4px 16px rgba(30, 58, 95, 0.08);
  --container: 1120px;
  --header-h: 84px;
}

@media (min-width: 768px) {
  :root { --fs-base: 18px; }
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body.hk-front {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

.hk-front img { max-width: 100%; height: auto; }
.hk-front a { color: var(--c-blue); }
.hk-front a:focus-visible,
.hk-front button:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.hk-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .hk-container { padding: 0 32px; } }

.hk-section { padding: 64px 0; }
@media (min-width: 768px) { .hk-section { padding: 96px 0; } }
.hk-bg-sky { background: var(--c-sky); }
.hk-bg-sky2 { background: var(--c-sky-2); }

/* セクション見出し */
.hk-heading { text-align: center; margin-bottom: 40px; }
.hk-heading .en {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-blue);
  text-transform: uppercase;
  background: var(--c-white);
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  padding: 4px 18px;
  margin-bottom: 14px;
}
.hk-bg-sky .hk-heading .en { background: var(--c-white); }
.hk-heading h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.5;
  margin: 0;
}
.hk-heading .lead {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--c-text-soft);
  text-align: left;
}
@media (min-width: 768px) { .hk-heading .lead { text-align: center; } }

/* ボタン */
.hk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 34px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  border: none;
  cursor: pointer;
}
.hk-btn:hover { transform: translateY(-2px); }
.hk-btn--accent {
  background: var(--c-accent);
  color: #fff!important;
  box-shadow: 0 6px 18px rgba(240, 138, 60, 0.4);
}
.hk-btn--accent:hover { background: var(--c-accent-dark); }
.hk-btn--ghost {
  background: var(--c-white);
  color: var(--c-navy);
  border: 2px solid var(--c-navy);
}
.hk-btn--ghost:hover { background: var(--c-sky); }
.hk-btn .icon { font-size: 1.2em; }

/* スクロールでふわっと表示 */
.hk-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.hk-fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hk-fade { opacity: 1; transform: none; }
}

/* ==========================================================
   1. ヘッダー
========================================================== */
.hk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s ease;
}
.hk-header.is-scrolled { box-shadow: 0 2px 16px rgba(30, 58, 95, 0.12); }
.hk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 1024px) { .hk-header__inner { min-height: var(--header-h); } }

.hk-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.3;
}
.hk-logo .sub {
  font-size: 0.68rem;
  color: var(--c-text-soft);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.hk-logo .name {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.3rem);
  color: var(--c-navy);
  white-space: nowrap;
}

.hk-gnav { display: none; }
@media (min-width: 1024px) {
  .hk-gnav { display: block; }
  .hk-gnav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .hk-gnav a {
    display: block;
    white-space: nowrap;
    padding: 10px 12px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--c-navy);
    text-decoration: none;
    border-radius: 999px;
    transition: background-color .2s ease;
  }
  .hk-gnav a:hover { background: var(--c-sky); }
}

.hk-header__cta { display: none; }
@media (min-width: 1024px) {
  .hk-header__cta { display: flex; align-items: center; gap: 14px; }
  .hk-header__tel {
    text-align: right;
    line-height: 1.3;
    text-decoration: none;
    color: var(--c-navy);
  }
  .hk-header__tel .num {
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 1.5rem;
    white-space: nowrap;
  }
  .hk-header__tel .time { font-size: 0.72rem; color: var(--c-text-soft); white-space: nowrap; }
  .hk-header__cta .hk-btn { padding: 12px 24px; font-size: 0.95rem; white-space: nowrap; }
}

/* ハンバーガー */
.hk-menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: var(--radius-s);
  background: var(--c-navy);
  cursor: pointer;
}
.hk-menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}
.hk-menu-btn .label {
  font-size: 0.6rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hk-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hk-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hk-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 1024px) { .hk-menu-btn { display: none; } }

/* ドロワー(スマホメニュー) */
.hk-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.hk-drawer.is-open { visibility: visible; pointer-events: auto; }
.hk-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 63, 0.5);
  opacity: 0;
  transition: opacity .3s ease;
  border: none;
  width: 100%;
}
.hk-drawer.is-open .hk-drawer__overlay { opacity: 1; }
.hk-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(84%, 360px);
  height: 100%;
  background: var(--c-white);
  border-radius: var(--radius-l) 0 0 var(--radius-l);
  padding: 24px;
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hk-drawer.is-open .hk-drawer__panel { transform: none; }
.hk-drawer__close {
  align-self: flex-end;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--c-line);
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 1.3rem;
  cursor: pointer;
}
.hk-drawer nav ul { list-style: none; margin: 0; padding: 0; }
.hk-drawer nav a {
  display: block;
  padding: 16px 8px;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-navy);
  text-decoration: none;
  border-bottom: 1px dashed var(--c-line);
}
.hk-drawer__tel {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--c-sky);
  border-radius: var(--radius-m);
  padding: 16px;
  color: var(--c-navy);
}
.hk-drawer__tel .num { font-family: var(--ff-heading); font-weight: 700; font-size: 1.5rem; display: block; }
.hk-drawer__tel .time { font-size: 0.8rem; color: var(--c-text-soft); }

/* ==========================================================
   2. ヒーロー
========================================================== */
.hk-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(91, 143, 199, 0.25), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(46, 109, 164, 0.18), transparent 60%),
    linear-gradient(160deg, var(--c-sky-2) 0%, var(--c-sky) 100%);
  padding: 72px 0 110px;
}
@media (min-width: 768px) { .hk-hero { padding: 110px 0 150px; } }

.hk-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hk-hero__area {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-white);
  color: var(--c-blue);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 8px 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.hk-hero h1 {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.1rem + 3.2vw, 2.5rem);
  line-height: 1.55;
  color: var(--c-navy);
  margin: 0 0 24px;
}
.hk-hero h1 .marker {
  background: linear-gradient(transparent 62%, rgba(240, 138, 60, 0.35) 62%);
  border-radius: 2px;
}
.hk-hero__text {
  max-width: 640px;
  color: var(--c-text-soft);
  margin: 0 0 36px;
}
.hk-hero__btns { display: flex; flex-wrap: wrap; gap: 16px; }
.hk-hero__tel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: var(--c-white);
  border: 2px solid var(--c-line);
  border-radius: var(--radius-m);
  padding: 10px 28px;
  color: var(--c-navy);
  line-height: 1.4;
}
.hk-hero__tel .num { font-family: var(--ff-heading); font-weight: 700; font-size: 1.5rem; }
.hk-hero__tel .time { font-size: 0.75rem; color: var(--c-text-soft); }

/* ヒーロー装飾(やわらかい波) */
.hk-hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 1;
  display: block;
  width: 100%;
  height: 70px;
}
@media (min-width: 768px) { .hk-hero__wave { height: 110px; } }

.hk-hero__circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  z-index: 1;
}
.hk-hero__circle--1 { width: 220px; height: 220px; top: 8%; right: 6%; }
.hk-hero__circle--2 { width: 120px; height: 120px; top: 45%; right: 22%; background: rgba(91,143,199,.18); }

/* ==========================================================
   3. お悩みチェック
========================================================== */
.hk-worries__grid {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 768px) { .hk-worries__grid { grid-template-columns: 1fr 1fr; gap: 18px; } }

.hk-worry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--c-white);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}
.hk-worry .check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 10px;
  background: var(--c-sky);
  color: var(--c-blue);
  font-weight: 700;
}
.hk-worry p { margin: 0; font-weight: 500; line-height: 1.7; }

.hk-worries__msg {
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
  background: var(--c-white);
  border-radius: var(--radius-l);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
}
.hk-worries__msg .strong {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-navy);
  display: block;
  margin-bottom: 12px;
}
.hk-worries__msg p { margin: 0; color: var(--c-text-soft); }

/* ==========================================================
   4. 私たちについて
========================================================== */
.hk-about__inner {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .hk-about__inner { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}
.hk-about h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  color: var(--c-navy);
  line-height: 1.6;
  margin: 0 0 24px;
}
.hk-about p { color: var(--c-text-soft); margin: 0 0 1.2em; }
.hk-about__figure {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
}
.hk-about__figure .hk-illust { width: 100%; height: 100%; }
.hk-about__figure .hk-illust__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.hk-about__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ==========================================================
   5. できること(サービス)
========================================================== */
.hk-services__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .hk-services__grid { grid-template-columns: 1fr 1fr; } }

.hk-service {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border-top: 6px solid var(--c-blue);
}
.hk-service:nth-child(2) { border-top-color: var(--c-blue-soft); }
.hk-service:nth-child(3) { border-top-color: var(--c-navy); }
.hk-service:nth-child(4) { border-top-color: var(--c-accent); }

.hk-service__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--c-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.hk-service h3 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: var(--c-navy);
  margin: 0 0 6px;
  line-height: 1.5;
}
.hk-service .voice {
  color: var(--c-blue);
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0 0 14px;
}
.hk-service p.desc { color: var(--c-text-soft); margin: 0 0 18px; font-size: 0.97rem; }
.hk-service ul {
  list-style: none;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--c-line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hk-service li {
  background: var(--c-sky);
  color: var(--c-navy);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 6px 14px;
}
.hk-service li.soon { background: #f1f3f5; color: var(--c-text-soft); }

/* ==========================================================
   6. ご相談の流れ
========================================================== */
.hk-flow__grid {
  display: grid;
  gap: 20px;
  counter-reset: flow;
}
@media (min-width: 900px) { .hk-flow__grid { grid-template-columns: repeat(4, 1fr); } }

.hk-flow__step {
  position: relative;
  background: var(--c-white);
  border-radius: var(--radius-m);
  padding: 30px 22px 26px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.hk-flow__step::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-blue);
  color: #fff;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 4px 18px;
}
.hk-flow__step .emoji { font-size: 2rem; display: block; margin-bottom: 10px; }
.hk-flow__step h3 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--c-navy);
  margin: 0 0 10px;
}
.hk-flow__step p { margin: 0; font-size: 0.92rem; color: var(--c-text-soft); text-align: left; }
@media (min-width: 900px) {
  .hk-flow__step:not(:last-child)::after {
    content: "▶";
    position: absolute;
    right: -17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-blue-soft);
    font-size: 0.85rem;
  }
}

/* ==========================================================
   7. よくある質問(アコーディオン)
========================================================== */
.hk-faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.hk-faq__item {
  background: var(--c-white);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.hk-faq__item summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-family: var(--ff-heading);
  color: var(--c-navy);
  line-height: 1.6;
}
.hk-faq__item summary::-webkit-details-marker { display: none; }
.hk-faq__item summary .q {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.hk-faq__item summary .toggle {
  margin-left: auto;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-sky);
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.hk-faq__item[open] summary .toggle { transform: rotate(45deg); }
.hk-faq__a {
  display: flex;
  gap: 14px;
  padding: 0 22px 22px;
}
.hk-faq__a .a {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.hk-faq__a p { margin: 0; color: var(--c-text-soft); }
.hk-faq__more { text-align: center; margin-top: 36px; }

/* ==========================================================
   8. 事務所概要
========================================================== */
.hk-office__inner {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) { .hk-office__inner { grid-template-columns: 1fr 1fr; gap: 48px; } }

.hk-office__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-white);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hk-office__table th,
.hk-office__table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
  font-size: 0.97rem;
}
.hk-office__table tr:last-child th,
.hk-office__table tr:last-child td { border-bottom: none; }
.hk-office__table th {
  width: 32%;
  background: var(--c-sky);
  color: var(--c-navy);
  font-family: var(--ff-heading);
  font-weight: 700;
  white-space: nowrap;
}
.hk-office__map {
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 320px;
  background: var(--c-sky);
}
.hk-office__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ==========================================================
   9. お問い合わせ(CTA + Contact Form 7)
========================================================== */
.hk-contact {
  background:
    radial-gradient(700px 400px at 110% 0%, rgba(91,143,199,.35), transparent 60%),
    linear-gradient(150deg, var(--c-navy) 0%, var(--c-blue) 100%);
  color: #fff;
}
.hk-contact .hk-heading .en { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.hk-contact .hk-heading h2 { color: #fff; }
.hk-contact .hk-heading .lead { color: rgba(255,255,255,.85); }

.hk-contact__cards {
  display: grid;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 56px;
}
@media (min-width: 768px) { .hk-contact__cards { grid-template-columns: 1fr 1fr; } }
.hk-contact__card {
  background: var(--c-white);
  color: var(--c-text);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.hk-contact__card .label {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--c-navy);
  display: block;
  margin-bottom: 10px;
}
.hk-contact__card .tel-num {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.2rem);
  color: var(--c-navy);
  text-decoration: none;
  display: inline-block;
  line-height: 1.3;
}
.hk-contact__card .note { font-size: 0.85rem; color: var(--c-text-soft); margin: 8px 0 0; }

/* --- Contact Form 7 用スタイル --- */
.hk-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--c-white);
  color: var(--c-text);
  border-radius: var(--radius-l);
  padding: 36px 24px;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .hk-form { padding: 48px 56px; } }

.hk-form .hk-form__row { margin-bottom: 26px; }
.hk-form label {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 8px;
}
.hk-form .req,
.hk-form .opt {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 10px;
  margin-left: 10px;
  vertical-align: middle;
}
.hk-form .req { background: var(--c-accent); color: #fff; }
.hk-form .opt { background: #e9eef3; color: var(--c-text-soft); }

.hk-form .wpcf7-form-control-wrap { display: block; }
.hk-form input[type="text"],
.hk-form input[type="email"],
.hk-form input[type="tel"],
.hk-form select,
.hk-form textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--ff-base);
  font-size: 1.05rem;
  color: var(--c-text);
  background: var(--c-sky-2);
  border: 2px solid var(--c-line);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  transition: border-color .2s ease, background-color .2s ease;
}
.hk-form input:focus,
.hk-form select:focus,
.hk-form textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  background: var(--c-white);
}
.hk-form textarea { min-height: 180px; resize: vertical; }

/* CF7 チェックボックス・ラジオ */
.hk-form .wpcf7-checkbox,
.hk-form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.hk-form .wpcf7-list-item { margin: 0;width:100%; }
.hk-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-base);
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-sky-2);
  border: 2px solid var(--c-line);
  border-radius: 999px;
  padding: 10px 18px;
  margin: 0;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.hk-form .wpcf7-list-item label:has(input:checked) {
  border-color: var(--c-blue);
  background: var(--c-sky);
}
.hk-form .wpcf7-list-item input { accent-color: var(--c-blue); width: 18px; height: 18px; }

/* CF7 同意チェック */
.hk-form .wpcf7-acceptance .wpcf7-list-item label {
  border-radius: var(--radius-s);
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

/* CF7 送信ボタン */
.hk-form .hk-form__submit { text-align: center; margin-top: 8px; position: relative; }
.hk-form input[type="submit"],
.hk-form .wpcf7-submit {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: var(--c-accent);
  border: none;
  border-radius: 999px;
  padding: 18px 64px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(240, 138, 60, 0.4);
  transition: transform .2s ease, background-color .2s ease;
}
.hk-form .wpcf7-submit:hover { background: var(--c-accent-dark); transform: translateY(-2px); }
.hk-form .wpcf7-spinner { display: block; margin: 12px auto 0; }

/* CF7 バリデーション・メッセージ */
.hk-form .wpcf7-not-valid { border-color: #d9534f !important; background: #fdf3f3 !important; }
.hk-form .wpcf7-not-valid-tip {
  display: block;
  color: #c9302c;
  font-size: 0.85rem;
  margin-top: 6px;
}
.hk-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-radius: var(--radius-s);
  border: 2px solid var(--c-line);
  font-weight: 500;
}
.hk-form .wpcf7 form.sent .wpcf7-response-output {
  border-color: #5cb85c;
  background: #f1f9f1;
  color: #2e6b2e;
}
.hk-form .wpcf7 form.invalid .wpcf7-response-output,
.hk-form .wpcf7 form.failed .wpcf7-response-output {
  border-color: #d9534f;
  background: #fdf3f3;
  color: #a94442;
}

/* ==========================================================
   10. フッター
========================================================== */
.hk-footer {
  background: var(--c-navy-dark);
  color: rgba(255,255,255,.85);
  padding: 56px 0 110px;
}
@media (min-width: 1024px) { .hk-footer { padding-bottom: 56px; } }
.hk-footer__inner {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .hk-footer__inner { grid-template-columns: 1.2fr 1fr; align-items: start; }
}
.hk-footer__name {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 12px;
}
.hk-footer address { font-style: normal; font-size: 0.95rem; line-height: 2; }
.hk-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}
.hk-footer nav a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  padding: 6px 0;
}
.hk-footer nav a:hover { color: #fff; text-decoration: underline; }
.hk-footer__copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,.6);
}

/* スマホ用 追従CTA */
.hk-fixed-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(20,40,63,.2);
  box-shadow: 0 -4px 16px rgba(30,58,95,.18);
}
.hk-fixed-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px calc(16px + env(safe-area-inset-bottom));
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
}
.hk-fixed-cta .tel { background: var(--c-blue); }
.hk-fixed-cta .mail { background: var(--c-accent); }
@media (min-width: 1024px) { .hk-fixed-cta { display: none; } }

/* ページトップへ */
.hk-totop {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 80;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--c-navy);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.hk-totop.is-visible { opacity: 1; pointer-events: auto; }
@media (min-width: 1024px) { .hk-totop { bottom: 24px; } }

/* ==========================================================
   11. 手書き風イラスト プレースホルダー
   assets/img/ に指定ファイル名の画像を置くと自動で差し替わります
========================================================== */
.hk-illust {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 180px;
  box-sizing: border-box;
  padding: 16px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(91,143,199,.08), transparent 50%),
    var(--c-sky-2);
  border: 2px dashed var(--c-blue-soft);
  border-radius: var(--radius-m);
  color: var(--c-blue);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.hk-illust small {
  font-family: var(--ff-base);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--c-text-soft);
}
.hk-illust__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-m);
}

/* ヒーロー:2カラム(文章+メインイラスト) */
.hk-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .hk-hero__grid { grid-template-columns: 1.1fr 0.6fr;}
}
.hk-hero__illust .hk-illust { min-height: 0; background-color: rgba(255,255,255,.7); }
.hk-hero__illust .hk-illust__img { object-fit: contain; }

/* サービスカード内イラスト */
.hk-service .hk-illust,
.hk-service .hk-illust__img {
  min-height: 0;
  margin-bottom: 18px;
  object-fit: contain;
  height:180px;
}

/* ==========================================================
   12. 下層ページ共通
========================================================== */
.hk-page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 0 64px;
  background:
    radial-gradient(700px 350px at 90% -20%, rgba(91,143,199,.22), transparent 60%),
    linear-gradient(160deg, var(--c-sky-2) 0%, var(--c-sky) 100%);
}
@media (min-width: 768px) { .hk-page-hero { padding: 72px 0 84px; } }
.hk-page-hero .en {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-blue);
  text-transform: uppercase;
  background: var(--c-white);
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  padding: 4px 18px;
  margin-bottom: 14px;
}
.hk-page-hero h1 {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  color: var(--c-navy);
  margin: 0;
  line-height: 1.5;
}
.hk-page-hero .desc {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--c-text-soft);
}
.hk-breadcrumb {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--c-text-soft);
}
.hk-breadcrumb a { color: var(--c-blue); text-decoration: none; }
.hk-breadcrumb a:hover { text-decoration: underline; }

/* 料金表 */
.hk-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hk-price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--c-white);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hk-price-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-navy);
  padding: 0 4px 14px;
}
.hk-price-table th,
.hk-price-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  font-size: 0.97rem;
  vertical-align: top;
}
.hk-price-table thead th {
  background: var(--c-navy);
  color: #fff;
  font-family: var(--ff-heading);
  font-weight: 700;
  white-space: nowrap;
}
.hk-price-table tbody tr:nth-child(even) { background: var(--c-sky-2); }
.hk-price-table tbody tr:last-child td { border-bottom: none; }
.hk-price-table .price {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--c-blue);
  white-space: nowrap;
}
.hk-price-note {
  max-width: 860px;
  margin: 28px auto 0;
  background: var(--c-sky);
  border-radius: var(--radius-m);
  padding: 22px 26px;
  font-size: 0.92rem;
  color: var(--c-text-soft);
}
.hk-price-note ul { margin: 0; padding-left: 1.4em; }
.hk-price-note li { margin: 4px 0; }

/* プロフィール(司法書士について) */
.hk-profile {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) { .hk-profile { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }
.hk-profile__photo .hk-illust { aspect-ratio: 3 / 4; min-height: 0; }
.hk-profile__photo .hk-illust__img { aspect-ratio: 3 / 4; object-fit: cover; }
.hk-profile h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  color: var(--c-navy);
  margin: 0 0 6px;
}
.hk-profile .role { color: var(--c-blue); font-weight: 700; margin: 0 0 20px; }
.hk-message p { color: var(--c-text-soft); margin: 0 0 1.3em; }
.hk-message .sign {
  text-align: right;
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--c-navy);
}

/* 下層ページ下部の共通CTA帯 */
.hk-cta-band {
  background:
    radial-gradient(600px 320px at 110% 0%, rgba(91,143,199,.35), transparent 60%),
    linear-gradient(150deg, var(--c-navy) 0%, var(--c-blue) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.hk-cta-band h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.3rem, 1.1rem + 1.2vw, 1.8rem);
  margin: 0 0 12px;
}
.hk-cta-band p { color: rgba(255,255,255,.85); margin: 0 0 28px; }
.hk-cta-band__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.hk-cta-band .hk-hero__tel { border-color: transparent; }

/* ==========================================================
   13. 個人情報保護方針などの文章ページ
========================================================== */
.hk-policy {
  max-width: 820px;
  margin: 0 auto;
}
.hk-policy__intro { color: var(--c-text-soft); margin: 0 0 40px; }
.hk-policy section { margin-bottom: 40px; }
.hk-policy h2 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: var(--c-navy);
  margin: 0 0 14px;
  padding: 10px 16px;
  background: var(--c-sky);
  border-left: 6px solid var(--c-blue);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  line-height: 1.5;
}
.hk-policy p { color: var(--c-text-soft); margin: 0 0 1em; }
.hk-policy ul, .hk-policy ol { color: var(--c-text-soft); margin: 0 0 1em; padding-left: 1.6em; }
.hk-policy li { margin: 6px 0; }
.hk-policy .hk-policy__date {
  text-align: right;
  color: var(--c-text-soft);
  font-size: 0.9rem;
  margin-top: 48px;
}
.hk-policy .hk-policy__office {
  background: var(--c-sky-2);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-m);
  padding: 22px 26px;
  font-style: normal;
  line-height: 2;
  color: var(--c-text);
}