/*
Theme Name: 長尾会計事務所
Theme URI: https://nagao-kaikei.jp
Author: NEXT-FIRE
Author URI: https://next-fire.com
Description: 長尾会計事務所 公式サイト専用テーマ
Version: 1.0.0
License: Private
Text Domain: nagao
*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #2c3e50;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --primary:    #5b8fa8;
  --primary-lt: #ddeaf2;
  --primary-md: #3d6e84;
  --accent:     #7fb3c8;
  --green:      #5a9e8a;
  --green-lt:   #d8efe9;
  --text:       #2c3e50;
  --sub:        #6b7a8d;
  --light:      #9aacba;
  --border:     #dde6ed;
  --bg:         #f7fafc;
  --white:      #ffffff;
  --r:          10px;
  --rlg:        16px;
  --shadow:     0 2px 12px rgba(91,143,168,0.10);
  --shadow-md:  0 4px 24px rgba(91,143,168,0.14);
  --inner:      1100px;
}

/* ============================================
   LAYOUT
   ============================================ */
.nc-inner {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 0 24px;
}

.nc-sec {
  padding: 80px 0;
}

.nc-sec-head {
  text-align: center;
  margin-bottom: 56px;
}

.nc-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}

.nc-sec-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.nc-sec-title em {
  color: var(--primary-md);
  font-style: normal;
}

.nc-rule {
  width: 36px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ============================================
   HEADER
   ============================================ */
#nc-site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nc-header-topbar {
  background: var(--primary-lt);
  color: var(--primary-md);
  font-size: 11.5px;
  text-align: right;
  padding: 5px 24px;
  border-bottom: 1px solid var(--border);
}

.nc-header-inner {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ロゴ */
.nc-logo { display: flex; flex-direction: column; }
.nc-logo-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-md);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.nc-logo-sub {
  font-size: 11px;
  color: var(--sub);
  margin-top: 2px;
  font-weight: 400;
}

/* グローバルナビ */
.nc-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nc-nav-item { position: relative; }

.nc-nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sub);
  border-radius: var(--r);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nc-nav-link:hover {
  background: var(--primary-lt);
  color: var(--primary-md);
  opacity: 1;
}

/* ドロップダウン */
.nc-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  padding: 6px 0;
  z-index: 200;
}
.nc-dropdown.open { display: block; }
.nc-dropdown a {
  display: block;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--text);
  transition: background 0.12s, color 0.12s;
}
.nc-dropdown a:hover {
  background: var(--primary-lt);
  color: var(--primary-md);
  opacity: 1;
}

/* ヘッダーCTA */
.nc-header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}
.nc-header-tel { text-align: right; line-height: 1.2; }
.nc-header-tel-label { font-size: 10px; color: var(--light); display: block; }
.nc-header-tel-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-md);
  letter-spacing: 0.05em;
}

/* ハンバーガー */
.nc-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--sub);
  flex-direction: column;
  gap: 5px;
}
.nc-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: 0.2s;
}

/* モバイルメニュー */
.nc-mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 8px 0 16px;
}
.nc-mobile-menu.open { display: block; }
.nc-mobile-menu a {
  display: block;
  padding: 11px 24px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--bg);
}
.nc-mobile-menu a:hover {
  background: var(--primary-lt);
  color: var(--primary-md);
  opacity: 1;
}
.nc-mobile-cta {
  display: flex;
  gap: 10px;
  padding: 14px 24px 4px;
}
.nc-mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 11px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 600;
  border: none;
}
.nc-mobile-cta .btn-tel {
  border: 1.5px solid var(--primary) !important;
  color: var(--primary-md) !important;
}
.nc-mobile-cta .btn-mail {
  background: var(--primary);
  color: var(--white) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.nc-btn-primary {
  background: var(--primary);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 12px rgba(91,143,168,0.25);
  border: none;
}
.nc-btn-primary:hover {
  background: var(--primary-md);
  opacity: 1;
}

.nc-btn-outline {
  background: var(--white);
  color: var(--primary-md);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--r);
  border: 1.5px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.nc-btn-outline:hover {
  background: var(--primary-lt);
  opacity: 1;
}

/* ============================================
   HERO
   ============================================ */
.nc-hero {
  position: relative;
  padding: 88px 24px 108px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: #ddeaf2;
}
.nc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://nagao-kaikei.jp/wp-content/uploads/2026/06/17834759a21c1335e8eeb0b73a31ba4f.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.18;
  z-index: 0;
}

.nc-hero-inner {
  max-width: var(--inner);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
}

.nc-hero-body { flex: 1; }

.nc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary-md);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.nc-hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
  flex-shrink: 0;
}

.nc-hero-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.nc-hero-title span { color: var(--primary-md); }

.nc-hero-lead {
  font-size: 15px;
  color: var(--sub);
  line-height: 1.9;
  margin-bottom: 34px;
  max-width: 460px;
}

.nc-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nc-hero-card {
  flex: 0 0 288px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.nc-hero-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 16px;
  display: block;
}
.nc-area-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}
.nc-area-item:last-of-type { border-bottom: none; }
.nc-area-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.nc-area-note {
  font-size: 11px;
  color: var(--light);
  margin-top: 12px;
  display: block;
}

/* ============================================
   FEATURES
   ============================================ */
.nc-features-bg { background: var(--bg); }

.nc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nc-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  padding: 30px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.nc-feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.nc-feature-icon {
  width: 50px; height: 50px;
  background: var(--primary-lt);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.nc-feature-icon svg {
  width: 24px; height: 24px;
  stroke: var(--primary-md);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nc-feature-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.nc-feature-text {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.8;
}

/* ============================================
   SERVICES
   ============================================ */
.nc-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.nc-service-box {
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  overflow: hidden;
  background: var(--white);
}

.nc-service-head {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nc-service-head.blue {
  background: var(--primary-lt);
  border-bottom: 2px solid var(--primary);
}
.nc-service-head.green {
  background: var(--green-lt);
  border-bottom: 2px solid var(--green);
}

.nc-sh-icon {
  width: 42px; height: 42px;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nc-sh-icon.blue { background: var(--primary); }
.nc-sh-icon.green { background: var(--green); }
.nc-sh-icon svg {
  width: 22px; height: 22px;
  stroke: #fff; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.nc-sh-sub { font-size: 10px; color: var(--light); display: block; }
.nc-sh-title { font-size: 16px; font-weight: 700; color: var(--text); margin-top: 2px; }

.nc-service-body { padding: 26px; }

.nc-service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nc-service-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.nc-si-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.nc-si-icon.blue { background: var(--primary-lt); }
.nc-si-icon.green { background: var(--green-lt); }
.nc-si-icon svg {
  width: 16px; height: 16px;
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.nc-si-icon.blue svg { stroke: var(--primary-md); }
.nc-si-icon.green svg { stroke: var(--green); }
.nc-si-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.nc-si-text { font-size: 13px; color: var(--sub); line-height: 1.75; }

.nc-service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  width: 100%;
  justify-content: flex-end;
}
.nc-service-link.blue { color: var(--primary-md); }
.nc-service-link.green { color: var(--green); }
.nc-service-link:hover { opacity: 0.75; }

/* スケジュール */
.nc-schedule-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  padding: 30px;
}
.nc-schedule-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.nc-schedule-title svg {
  width: 18px; height: 18px;
  stroke: var(--primary-md); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.nc-schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.nc-sc-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 14px;
}
.nc-sc-item.hl {
  background: var(--primary-lt);
  border-color: var(--primary);
}
.nc-sc-period {
  font-size: 10px; font-weight: 700;
  color: var(--light); margin-bottom: 4px; display: block;
}
.nc-sc-item.hl .nc-sc-period { color: var(--primary-md); }
.nc-sc-label { font-size: 13px; font-weight: 600; color: var(--text); }
.nc-schedule-note { font-size: 11px; color: var(--light); margin-top: 14px; display: block; }

/* ============================================
   DIRECTOR
   ============================================ */
.nc-director-bg { background: var(--bg); }

.nc-director-wrap {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.nc-director-photo { flex: 0 0 260px; }

.nc-photo-placeholder {
  background: var(--primary-lt);
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  height: 280px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--light);
  margin-bottom: 16px;
}
.nc-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.nc-director-meta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  padding: 20px;
}
.nc-director-name { font-size: 16px; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.nc-director-role { font-size: 11px; color: var(--sub); margin-bottom: 16px; display: block; }

.nc-meta-list { display: flex; flex-direction: column; gap: 10px; }
.nc-meta-item {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13px; color: var(--sub);
}
.nc-meta-item svg {
  width: 14px; height: 14px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; margin-top: 2px;
}

.nc-director-body { flex: 1; }
.nc-director-sub {
  font-size: 18px; font-weight: 700;
  color: var(--primary-md); margin-bottom: 20px; display: block;
}
.nc-director-text p {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.9;
  margin-bottom: 14px;
}
.nc-director-sign {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.nc-sign-name { font-size: 15px; font-weight: 700; color: var(--text); display: block; }
.nc-sign-role { font-size: 12px; color: var(--sub); margin-top: 3px; display: block; }

/* ============================================
   INFO
   ============================================ */
.nc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.nc-info-title {
  font-size: 14px; font-weight: 700;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 7px;
  color: var(--text);
}
.nc-info-title svg {
  width: 17px; height: 17px; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.nc-info-title.blue svg { stroke: var(--primary-md); }
.nc-info-title.green svg { stroke: var(--green); }
.nc-info-title.gray svg { stroke: var(--sub); }

.nc-news-list {
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  overflow: hidden;
  background: var(--white);
}
.nc-news-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--bg);
  transition: background 0.12s;
}
.nc-news-item:hover { background: var(--primary-lt); opacity: 1; }
.nc-news-item:last-of-type { border-bottom: none; }
.nc-news-date { font-size: 11px; color: var(--light); white-space: nowrap; font-weight: 500; }
.nc-news-text { font-size: 13px; color: var(--text); flex: 1; }
.nc-news-more {
  padding: 10px 18px;
  background: var(--bg);
  text-align: right;
  border-top: 1px solid var(--border);
  font-size: 12px; font-weight: 600;
  color: var(--primary-md);
}

.nc-link-list {
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  padding: 6px;
  margin-bottom: 22px;
  background: var(--white);
}
.nc-link-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r);
  font-size: 13px; color: var(--text);
  transition: background 0.12s, color 0.12s;
}
.nc-link-item:hover { background: var(--primary-lt); color: var(--primary-md); opacity: 1; }
.nc-link-arrow {
  width: 13px; height: 13px;
  stroke: var(--light); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.nc-ext-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nc-ext-link {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 12.5px; color: var(--sub);
  display: flex; align-items: center; gap: 6px;
  transition: border-color 0.12s, color 0.12s;
  background: var(--white);
}
.nc-ext-link:hover { border-color: var(--primary); color: var(--primary-md); opacity: 1; }

/* ============================================
   CTA
   ============================================ */
.nc-cta {
  background: linear-gradient(135deg, #ddeaf2 0%, #c8dfe9 100%);
  border-top: 1px solid var(--border);
  padding: 80px 24px;
  text-align: center;
}
.nc-cta-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary-md); display: block; margin-bottom: 14px;
}
.nc-cta-title {
  font-size: 26px; font-weight: 800;
  color: var(--text); margin-bottom: 12px; line-height: 1.5;
}
.nc-cta-lead {
  font-size: 14px; color: var(--sub);
  line-height: 1.85; margin-bottom: 40px;
}
.nc-cta-btns {
  display: flex;
  justify-content: center; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.nc-cta-tel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  padding: 20px 32px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow);
}
.nc-cta-tel svg { width: 30px; height: 30px; stroke: var(--primary); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nc-cta-tel-label { font-size: 10px; color: var(--light); margin-bottom: 3px; display: block; }
.nc-cta-tel-num { font-size: 24px; font-weight: 800; color: var(--primary-md); letter-spacing: 0.04em; }

.nc-btn-cta-mail {
  background: var(--primary);
  color: var(--white);
  font-size: 15px; font-weight: 700;
  padding: 18px 36px;
  border-radius: var(--r);
  display: inline-flex; align-items: center; gap: 10px;
  border: none;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(91,143,168,0.28);
}
.nc-btn-cta-mail:hover { background: var(--primary-md); opacity: 1; }
.nc-btn-cta-mail svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================
   FOOTER
   ============================================ */
#nc-site-footer {
  background: #2a3c4e;
  color: #8fa8bb;
  padding: 56px 0 28px;
}

.nc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nc-footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; display: block; }
.nc-footer-lead { font-size: 12.5px; line-height: 1.85; margin-bottom: 16px; }
.nc-footer-meta { display: flex; flex-direction: column; gap: 6px; }
.nc-footer-meta span { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.nc-footer-col-title { font-size: 11px; font-weight: 700; color: #fff; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.nc-footer-links { display: flex; flex-direction: column; gap: 8px; }
.nc-footer-links a { font-size: 12.5px; color: #8fa8bb; transition: color 0.12s; }
.nc-footer-links a:hover { color: #fff; opacity: 1; }
.nc-footer-copy { text-align: center; font-size: 11.5px; color: #5a7a8e; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nc-header-topbar { display: none; }
  .nc-nav { display: none; }
  .nc-header-cta { display: none; }
  .nc-hamburger { display: flex; }

  .nc-hero { padding: 56px 20px 72px; }
  .nc-hero-inner { flex-direction: column; gap: 36px; }
  .nc-hero-card { flex: none; width: 100%; }

  .nc-features-grid { grid-template-columns: 1fr; }
  .nc-services-grid { grid-template-columns: 1fr; }
  .nc-schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .nc-director-wrap { flex-direction: column; }
  .nc-director-photo { flex: none; width: 100%; }
  .nc-info-grid { grid-template-columns: 1fr; }
  .nc-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .nc-sec { padding: 56px 0; }
  .nc-inner { padding: 0 16px; }
  .nc-cta { padding: 56px 16px; }
  .nc-cta-btns { flex-direction: column; }
  .nc-hero-title { font-size: 26px; }
  .nc-schedule-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   NEXT-FIRE 速算表・お役立ち情報ページ用
   ============================================ */
.nf-tax-wrap {
  font-family: "Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  line-height: 1.7;
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  color: #2c3e50;
}

.nf-tax-wrap .nf-intro-box {
  background: #f0f4ff;
  border-left: 4px solid #3b82f6;
  padding: 12px 16px;
  margin: 0 0 1.8em;
  font-size: 0.95em;
  border-radius: 0 4px 4px 0;
}

.nf-tax-wrap .nf-section-title {
  border-left: 5px solid #e74c3c !important;
  background: none !important;
  padding: 0 0 0 12px !important;
  margin: 1.8em 0 0.8em !important;
  font-size: 1.2em !important;
  font-weight: bold !important;
  color: #2c3e50 !important;
  line-height: 1.4 !important;
}

.nf-tax-wrap p {
  margin: 0 0 0.8em;
  font-size: 0.95em;
  color: #5a6a7a;
}

.nf-tax-wrap .nf-tax-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.8em;
  font-size: 0.95em;
}

.nf-tax-wrap .nf-tax-table th,
.nf-tax-wrap .nf-tax-table td {
  border: 1px solid #d0dce6 !important;
  padding: 10px 14px !important;
  text-align: center !important;
  vertical-align: middle !important;
  background: none;
}

.nf-tax-wrap .nf-tax-table thead tr {
  background-color: #2c3e50 !important;
  color: #fff !important;
}

.nf-tax-wrap .nf-tax-table thead th {
  color: #fff !important;
  border-color: #3d5166 !important;
}

.nf-tax-wrap .nf-tax-table tbody tr:nth-child(even) td {
  background-color: #f7fafc !important;
}

.nf-tax-wrap .nf-tax-table tbody tr:hover td {
  background-color: #fef3cd !important;
}

.nf-tax-wrap .nf-note-box {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  margin: 1.5em 0 0;
  font-size: 0.9em;
  border-radius: 0 4px 4px 0;
  color: #7a5c00;
}

/* テーブルスクロール（スマホ対応） */
.nf-tax-wrap .nf-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.8em;
}
.nf-tax-wrap .nf-table-scroll .nf-tax-table {
  margin-bottom: 0;
  min-width: 420px;
}

/* ============================================
   固定ページ（page.php）共通スタイル
   ============================================ */
#nc-page-main {
  background: var(--white);
  min-height: 60vh;
}

.nc-page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* パンくず */
.nc-breadcrumb {
  font-size: 12px;
  color: var(--light);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nc-breadcrumb a {
  color: var(--primary-md);
  transition: opacity 0.15s;
}
.nc-breadcrumb a:hover { opacity: 0.7; }
.nc-bc-sep { color: var(--light); }

/* ページタイトル */
.nc-page-header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}
.nc-page-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
}

/* ページコンテンツ（the_content()の出力） */
.nc-page-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-line;
}
/* タグで組まれた構造化HTML（ボックス・カード・表など）は
   インデント改行が余白として表示されないよう、通常表示に戻す */
.nc-page-content div,
.nc-page-content table,
.nc-page-content ul,
.nc-page-content ol,
.nc-page-content blockquote {
  white-space: normal;
}

/* ページ下部ナビ */
.nc-page-nav {
  display: flex;
  gap: 14px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.nc-page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--r);
  transition: background 0.15s, color 0.15s;
}
.nc-page-nav a svg {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.nc-page-nav-home {
  border: 1px solid var(--border);
  color: var(--sub);
  background: var(--bg);
}
.nc-page-nav-home:hover {
  background: var(--primary-lt);
  color: var(--primary-md);
  opacity: 1;
}
.nc-page-nav-contact {
  background: var(--primary);
  color: var(--white);
}
.nc-page-nav-contact:hover {
  background: var(--primary-md);
  opacity: 1;
}

/* ============================================
   登録免許税テーブル（nf-tbl-wrap）
   ============================================ */
.nf-tbl-wrap {
  font-family: "Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  line-height: 1.7;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  color: #2c3e50;
}

.nf-tbl-wrap .nf-intro-box {
  background: #f0f4ff;
  border-left: 4px solid #3b82f6;
  padding: 12px 16px;
  margin: 0 0 1.8em;
  font-size: 0.95em;
  border-radius: 0 4px 4px 0;
}

.nf-tbl-wrap .nf-section-title {
  border-left: 5px solid #e74c3c !important;
  background: none !important;
  padding: 0 0 0 12px !important;
  margin: 2em 0 0.8em !important;
  font-size: 1.2em !important;
  font-weight: bold !important;
  color: #2c3e50 !important;
  line-height: 1.4 !important;
}

.nf-tbl-wrap .nf-sub-title {
  border-left: 4px solid #94a3b8 !important;
  background: none !important;
  padding: 0 0 0 10px !important;
  margin: 1.5em 0 0.6em !important;
  font-size: 1.05em !important;
  font-weight: bold !important;
  color: #334155 !important;
  line-height: 1.4 !important;
}

.nf-tbl-wrap p {
  margin: 0 0 0.8em;
  font-size: 0.95em;
  color: #5a6a7a;
}

/* テーブルスクロール（スマホ対応） */
.nf-tbl-wrap .nf-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5em;
}
.nf-tbl-wrap .nf-table-scroll .nf-tax-table {
  margin-bottom: 0;
}

.nf-tbl-wrap .nf-tax-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5em;
  font-size: 0.9em;
  min-width: 480px;
}

.nf-tbl-wrap .nf-tax-table th,
.nf-tbl-wrap .nf-tax-table td {
  border: 1px solid #d0dce6 !important;
  padding: 9px 11px !important;
  vertical-align: middle !important;
  background: none;
  line-height: 1.6;
}

.nf-tbl-wrap .nf-tax-table thead tr {
  background-color: #2c3e50 !important;
}

.nf-tbl-wrap .nf-tax-table thead th {
  color: #fff !important;
  text-align: center !important;
  border-color: #3d5166 !important;
  font-weight: 600 !important;
}

.nf-tbl-wrap .nf-tax-table tbody tr:nth-child(even) td {
  background-color: #f7fafc !important;
}

.nf-tbl-wrap .nf-tax-table tbody tr:hover td {
  background-color: #fef3cd !important;
}

.nf-tbl-wrap .nf-tax-table td.center {
  text-align: center !important;
}

.nf-tbl-wrap .nf-note-box {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  margin: 1em 0 1.5em;
  font-size: 0.88em;
  border-radius: 0 4px 4px 0;
  color: #7a5c00;
}

.nf-tbl-wrap .nf-info-box {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
  padding: 12px 16px;
  margin: 1em 0 1.5em;
  font-size: 0.88em;
  border-radius: 0 4px 4px 0;
  color: #065f46;
}

/* スマホ：テーブルを自動スクロール */
@media (max-width: 640px) {
  .nf-tbl-wrap {
    padding: 32px 12px 60px;
  }
  .nf-tbl-wrap .nf-tax-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .nf-tbl-wrap .nf-tax-table th,
  .nf-tbl-wrap .nf-tax-table td {
    white-space: normal;
    min-width: 120px;
  }
}

/* ============================================
   税務カレンダー（nf-cal-wrap）
   ============================================ */
.nf-cal-wrap {
  font-family: "Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  color: #2c3e50;
}

.nf-cal-wrap .nf-cal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #dde6ed;
}

.nf-cal-wrap .nf-cal-month {
  font-size: 28px;
  font-weight: 800;
  color: #3d6e84;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nf-cal-wrap .nf-cal-month span {
  font-size: 15px;
  font-weight: 600;
  color: #9aacba;
  margin-left: 4px;
  letter-spacing: 0;
}

.nf-cal-wrap .nf-cal-badge {
  display: inline-flex;
  align-items: center;
  background: #ddeaf2;
  color: #3d6e84;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.nf-cal-wrap .nf-intro-box {
  background: #f0f4ff;
  border-left: 4px solid #3b82f6;
  padding: 11px 15px;
  margin: 0 0 1.6em;
  font-size: 0.9em;
  border-radius: 0 4px 4px 0;
  color: #334155;
}

/* カレンダーテーブル */
.nf-cal-wrap .nf-cal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nf-cal-wrap .nf-cal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  min-width: 560px;
}

.nf-cal-wrap .nf-cal-table thead tr {
  background-color: #2c3e50 !important;
}

.nf-cal-wrap .nf-cal-table thead th {
  color: #fff !important;
  font-weight: 600 !important;
  padding: 11px 14px !important;
  border: 1px solid #3d5166 !important;
  text-align: center !important;
  white-space: nowrap;
}

.nf-cal-wrap .nf-cal-table thead th:last-child {
  text-align: left !important;
}

.nf-cal-wrap .nf-cal-table tbody tr {
  border-bottom: 1px solid #e8eef3;
}

.nf-cal-wrap .nf-cal-table tbody tr:last-child {
  border-bottom: none;
}

/* 期限セル */
.nf-cal-wrap .nf-cal-table td.nf-date {
  white-space: nowrap;
  font-weight: 700 !important;
  font-size: 1em;
  color: #3d6e84;
  vertical-align: top !important;
  padding: 14px 16px 14px 0 !important;
  border: none !important;
  text-align: right;
  width: 90px;
  padding-right: 20px !important;
}

/* 日付ラベル */
.nf-cal-wrap .nf-date-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ddeaf2;
  color: #3d6e84;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.9em;
  font-weight: 700;
  white-space: nowrap;
}

/* 項目セル */
.nf-cal-wrap .nf-cal-table td.nf-items {
  padding: 10px 8px 10px 16px !important;
  border: none !important;
  border-left: 2px solid #dde6ed !important;
  vertical-align: top !important;
}

/* 複数項目のリスト */
.nf-cal-wrap .nf-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nf-cal-wrap .nf-item-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.88em;
  line-height: 1.65;
  background: #f7fafc;
  color: #2c3e50;
  transition: background 0.12s;
}

.nf-cal-wrap .nf-item-list li:hover {
  background: #ddeaf2;
}

.nf-cal-wrap .nf-item-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5b8fa8;
  flex-shrink: 0;
  margin-top: 7px;
}

/* 1件だけのシンプル表示 */
.nf-cal-wrap .nf-item-single {
  font-size: 0.9em;
  line-height: 1.65;
  color: #2c3e50;
  padding: 4px 0;
}

/* 区切り線 */
.nf-cal-wrap .nf-cal-divider {
  height: 1px;
  background: #e8eef3;
  border: none;
  margin: 4px 0;
}

/* 注意書き */
.nf-cal-wrap .nf-note-box {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  padding: 11px 15px;
  margin: 1.4em 0 0;
  font-size: 0.88em;
  border-radius: 0 4px 4px 0;
  color: #7a5c00;
}

/* スマホ */
@media (max-width: 600px) {
  .nf-cal-wrap {
    padding: 32px 12px 60px;
  }
  .nf-cal-wrap .nf-cal-month {
    font-size: 22px;
  }
  .nf-cal-wrap .nf-cal-table td.nf-date {
    padding: 12px 10px 12px 0 !important;
    width: 72px;
  }
  .nf-cal-wrap .nf-item-list li {
    font-size: 0.85em;
  }
}

/* ── 投稿メタ（日付・カテゴリー） ───────────────────────────── */
.nc-post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.nc-post-date {
  font-size: 12px;
  color: var(--light);
}
.nc-post-cat a {
  font-size: 12px;
  color: var(--white);
  background: var(--primary);
  padding: 2px 10px;
  border-radius: 999px;
  transition: background .15s;
}
.nc-post-cat a:hover {
  background: var(--primary-md);
  opacity: 1;
}

/* ── 投稿本文 ────────────────────────────────────────────────── */
.nc-post-content {
  line-height: 1.9;
}
.nc-post-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 2em 0 0.8em;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  color: var(--text);
}
.nc-post-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 1.6em 0 0.6em;
  color: var(--text);
}
.nc-post-content p {
  margin-bottom: 1.2em;
  font-size: 15px;
  color: var(--sub);
}
.nc-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 14px;
}
.nc-post-content table th,
.nc-post-content table td {
  border: 1px solid var(--border) !important;
  padding: 9px 12px !important;
  text-align: left;
}
.nc-post-content table thead tr {
  background: #2c3e50 !important;
}
.nc-post-content table thead th {
  color: #fff !important;
  text-align: center !important;
}
.nc-post-content table tbody tr:nth-child(even) td {
  background: var(--bg) !important;
}

/* ── LATEST POSTS ────────────────────────────────────────────── */
.nc-latest-bg { background: var(--white); }

.nc-latest-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  overflow: hidden;
  background: var(--white);
}

.nc-latest-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bg);
  transition: background .12s;
  text-decoration: none;
}
.nc-latest-item:last-child { border-bottom: none; }
.nc-latest-item:hover {
  background: var(--primary-lt);
  opacity: 1;
}

.nc-latest-date {
  font-size: 12px;
  color: var(--light);
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
  min-width: 80px;
}

.nc-latest-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nc-latest-title {
  font-size: 14px;
  color: var(--text);
  flex: 1;
  line-height: 1.5;
}
.nc-latest-item:hover .nc-latest-title {
  color: var(--primary-md);
}

.nc-latest-arrow {
  width: 14px;
  height: 14px;
  stroke: var(--light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: stroke .12s;
}
.nc-latest-item:hover .nc-latest-arrow {
  stroke: var(--primary-md);
}

@media (max-width: 560px) {
  .nc-latest-item { gap: 10px; padding: 14px 16px; }
  .nc-latest-date { min-width: 70px; font-size: 11px; }
  .nc-latest-cat { display: none; }
  .nc-latest-title { font-size: 13px; }
}

/* ============================================
   SINGLE記事ページ
   ============================================ */

/* ── 記事ヘッダー ── */
.nc-single-article {
  max-width: 800px;
  margin: 0 auto;
}

.nc-single-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--border);
}

.nc-single-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  transition: background .15s;
}
.nc-single-cat:hover { background: var(--primary-md); opacity: 1; }

.nc-single-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 14px;
}

/* ── 本文スタイル ── */
.nc-post-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--sub);
  white-space: pre-line;
}
/* タグで組まれた構造化HTML（ボックス・カード・表など）は通常表示に戻す */
.nc-post-body div,
.nc-post-body table,
.nc-post-body ul,
.nc-post-body ol,
.nc-post-body blockquote {
  white-space: normal;
}

.nc-post-body > * + * { margin-top: 1.2em; }

.nc-post-body p {
  margin: 0 0 1.2em;
  line-height: 1.9;
}

/* h2 */
.nc-post-body h2 {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  border-left: 4px solid var(--primary) !important;
  padding: 4px 0 4px 14px !important;
  margin: 2.2em 0 0.9em !important;
  background: none !important;
  line-height: 1.45 !important;
}

/* h3 */
.nc-post-body h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  border-left: 3px solid var(--accent) !important;
  padding: 3px 0 3px 12px !important;
  margin: 1.8em 0 0.7em !important;
  background: none !important;
  line-height: 1.45 !important;
}

/* ul / ol */
.nc-post-body ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.2em !important;
}
.nc-post-body ul li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 14.5px;
  color: var(--sub);
  line-height: 1.75;
}
.nc-post-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.nc-post-body ol {
  padding-left: 1.5em !important;
  margin: 0 0 1.2em !important;
}
.nc-post-body ol li {
  font-size: 14.5px;
  color: var(--sub);
  line-height: 1.75;
  padding: 4px 0;
}

/* 強調テキスト */
.nc-post-body strong {
  font-weight: 700;
  color: var(--text);
}

/* リンク */
.nc-post-body a {
  color: var(--primary-md);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nc-post-body a:hover { opacity: 0.75; }

/* 引用・メモボックス */
.nc-post-body blockquote {
  background: var(--primary-lt);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 1.5em 0;
  font-size: 14px;
  color: var(--sub);
  line-height: 1.8;
}
.nc-post-body blockquote p { margin: 0; }

/* テーブル */
.nc-post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 13.5px;
  overflow-x: auto;
  display: block;
}
.nc-post-body table th,
.nc-post-body table td {
  border: 1px solid var(--border) !important;
  padding: 10px 14px !important;
  vertical-align: middle !important;
  text-align: center !important;
  line-height: 1.6;
}
.nc-post-body table thead tr {
  background: #2c3e50 !important;
}
.nc-post-body table thead th {
  color: #fff !important;
  border-color: #3d5166 !important;
  font-weight: 600 !important;
}
.nc-post-body table tbody tr:nth-child(even) td {
  background: var(--bg) !important;
}
.nc-post-body table tbody tr:hover td {
  background: var(--primary-lt) !important;
}

/* 業務エリアなど特殊ブロック */
.nc-post-body .nf-tax-wrap,
.nc-post-body .nf-tbl-wrap {
  margin: 0;
  padding: 0;
}

/* ── 前後記事ナビ ── */
.nc-post-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.nc-adj-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nc-adj-item.nc-adj-next { text-align: right; }
.nc-adj-label {
  font-size: 11px;
  color: var(--light);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.nc-adj-link {
  font-size: 13px;
  color: var(--primary-md);
  line-height: 1.5;
  transition: opacity .15s;
}
.nc-adj-link:hover { opacity: 0.7; }

/* エリア紹介ボックス */
.nc-area-box {
  background: var(--primary-lt);
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  padding: 24px 28px;
  margin: 1.8em 0;
}
.nc-area-box-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-md);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.nc-area-box p {
  font-size: 13.5px;
  color: var(--sub);
  line-height: 1.85;
  margin: 0;
}
.nc-area-box .nc-area-pref {
  font-weight: 700;
  color: var(--primary-md);
}
.nc-area-note {
  font-size: 12px;
  color: var(--light);
  margin-top: 10px !important;
}

@media (max-width: 640px) {
  .nc-post-adjacent { grid-template-columns: 1fr; }
  .nc-adj-item.nc-adj-next { text-align: left; }
  .nc-post-body table { font-size: 12px; }
  .nc-post-body table th,
  .nc-post-body table td { padding: 7px 8px !important; }
}

/* スケジュールカード サブテキスト・警告色 */
.nc-sc-sub {
  font-size: 10px;
  color: var(--light);
  margin-top: 3px;
  line-height: 1.4;
}
.nc-sc-item.nc-sc-warn {
  background: #fff8e1;
  border-color: #f0d070;
}
.nc-sc-item.nc-sc-warn .nc-sc-period {
  color: #b45309;
}
.nc-sc-item.nc-sc-warn .nc-sc-label {
  color: var(--text);
}
.nc-sc-item.hl .nc-sc-sub {
  color: var(--primary-md);
  font-weight: 600;
}

/* ── ヒーローカード 地図付きレイアウト ──────────────────────── */
.nc-hero-card-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.nc-hero-card-list {
  flex: 1;
  min-width: 0;
}
.nc-hero-card-map {
  flex: 0 0 110px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.nc-hero-card-map img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 560px) {
  .nc-hero-card-map { flex: 0 0 90px; }
}

/* ── ヒーロー右カラム（カード＋地図縦並び） ─────────────────── */
.nc-hero-right {
  flex: 0 0 288px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nc-hero-map {
  border-radius: var(--rlg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow);
  background: var(--white);
}
.nc-hero-map img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .nc-hero-right { flex: none; width: 100%; }
  .nc-hero-map { max-width: 400px; margin: 0 auto; }
}

/* ── ヒーロー エリア横型レイアウト ──────────────────────────── */
.nc-hero-right {
  flex: 0 0 360px;
}
.nc-hero-area-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nc-hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rlg);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.nc-area-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 8px;
}
.nc-area-city {
  background: var(--primary-lt);
  color: var(--primary-md);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.nc-hero-map {
  border-radius: var(--rlg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}
.nc-hero-map img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .nc-hero-right { flex: none; width: 100%; }
}

/* ── ヒーローカード・地図 調整 ───────────────────────────────── */
.nc-hero-card {
  padding: 12px 14px !important;
}
.nc-hero-card-label {
  font-size: 10px !important;
  margin-bottom: 6px !important;
}
.nc-area-cities {
  gap: 4px !important;
  margin: 6px 0 5px !important;
}
.nc-area-city {
  font-size: 11px !important;
  padding: 2px 8px !important;
}
.nc-area-note {
  font-size: 10px !important;
  margin-top: 4px !important;
  display: block;
  line-height: 1.4 !important;
}
.nc-hero-area-wrap {
  gap: 8px !important;
}
.nc-hero-map {
  flex: 1;
}
.nc-hero-map img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── ヒーローカード 透明化・背景馴染み ──────────────────────── */
.nc-hero-card {
  background: rgba(255,255,255,0.75) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  box-shadow: 0 2px 16px rgba(61,110,132,0.12) !important;
}
.nc-hero-map {
  border: 1px solid rgba(255,255,255,0.5) !important;
  box-shadow: 0 2px 16px rgba(61,110,132,0.12) !important;
}

/* ── ヒーロー右カラム 囲み最小・地図メイン ──────────────────── */
.nc-hero-right {
  flex: 0 0 320px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.nc-hero-card {
  padding: 8px 12px !important;
  flex-shrink: 0;
}
.nc-hero-card-label {
  font-size: 9px !important;
  margin-bottom: 4px !important;
}
.nc-area-cities {
  gap: 3px !important;
  margin: 4px 0 3px !important;
}
.nc-area-city {
  font-size: 10px !important;
  padding: 1px 7px !important;
}
.nc-area-note {
  font-size: 9px !important;
  margin-top: 2px !important;
}
.nc-hero-map {
  flex: 1 1 auto !important;
  min-height: 200px !important;
}
.nc-hero-map img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* ── ヒーロー右カラム 横長レイアウト ────────────────────────── */
.nc-hero-right {
  flex: 0 0 400px !important;
}
.nc-hero-area-wrap {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  align-items: stretch !important;
  height: 100% !important;
}
.nc-hero-card {
  flex: 0 0 auto !important;
  width: 150px !important;
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin: 0 !important;
}
.nc-hero-map {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  border-radius: var(--rlg) !important;
}
.nc-hero-map img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* ── ヒーロー右カラム 上横長囲み＋下地図 ───────────────────── */
.nc-hero-right {
  flex: 0 0 340px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.nc-hero-area-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  height: 100% !important;
}
.nc-hero-card {
  width: 100% !important;
  padding: 8px 14px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}
.nc-hero-card-label {
  width: 100% !important;
  font-size: 9px !important;
  margin-bottom: 0 !important;
}
.nc-area-cities {
  margin: 0 !important;
  gap: 3px !important;
  flex: 1 !important;
}
.nc-area-note {
  width: 100% !important;
  font-size: 9px !important;
  margin-top: 2px !important;
}
.nc-hero-map {
  flex: 1 1 auto !important;
  min-height: 180px !important;
}
.nc-hero-map img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ── 市名を1行横並び ─────────────────────────────────────────── */
.nc-area-cities {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 3px !important;
  overflow: hidden !important;
}
.nc-area-city {
  font-size: 10px !important;
  padding: 2px 6px !important;
  white-space: nowrap !important;
  flex-shrink: 1 !important;
}
.nc-hero-card {
  flex-wrap: nowrap !important;
}

/* ============================================
   ヒーローカード・地図 最終定義（全上書き）
   ============================================ */
.nc-hero-right {
  flex: 0 0 360px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.nc-hero-area-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  height: 100% !important;
}

/* 囲み枠 */
.nc-hero-card {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 18px !important;
  background: rgba(255,255,255,0.82) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  border-radius: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}
.nc-hero-card-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--light) !important;
  letter-spacing: .08em !important;
  margin-bottom: 10px !important;
  display: block !important;
}

/* 市名バッジ 1行 */
.nc-area-cities {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  margin: 0 0 8px !important;
  overflow: visible !important;
}
.nc-area-city {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--primary-md) !important;
  background: var(--primary-lt) !important;
  border: 1px solid var(--border) !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  flex-shrink: 1 !important;
}
.nc-area-note {
  font-size: 11px !important;
  color: var(--sub) !important;
  margin: 0 !important;
  display: block !important;
  line-height: 1.4 !important;
}

/* 地図 */
.nc-hero-map {
  flex: 1 1 auto !important;
  min-height: 200px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  box-shadow: 0 2px 16px rgba(61,110,132,0.12) !important;
  background: var(--white) !important;
}
.nc-hero-map img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

@media (max-width: 900px) {
  .nc-hero-right { flex: none !important; width: 100% !important; }
  .nc-hero-map { min-height: 180px !important; }
}

/* ── スマホ：市名バッジ折り返し ─────────────────────────────── */
@media (max-width: 900px) {
  .nc-area-cities {
    flex-wrap: wrap !important;
    gap: 5px !important;
  }
  .nc-area-city {
    font-size: 13px !important;
    padding: 4px 10px !important;
  }
  .nc-hero-card {
    padding: 12px 16px !important;
  }
}

/* ============================================
   お問い合わせフォーム（page-contact.php）
   ============================================ */

/* このセクションは構造化されたレイアウト（フォーム・グリッド）のため、
   .nc-page-content の white-space:pre-line を打ち消して詰まった表示に戻す */
.nc-contact-lead-text,
.nc-contact-layout,
.nc-contact-layout *:not(textarea) {
  white-space: normal;
}
.nc-contact-layout textarea {
  white-space: pre-wrap;
}

/* アイコン共通サイズ（指定なしだとSVGが巨大表示されるため必須） */
.nc-ic-18 { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nc-ic-20 { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nc-ic-24 { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.nc-contact-lead-text {
  font-size: 15px;
  color: var(--sub);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* 2カラムレイアウト：フォーム＋連絡先インフォ */
.nc-contact-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

/* フォームカード */
.nc-contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 36px 40px;
}

.nc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.nc-form-row {
  margin-bottom: 22px;
}
.nc-form-row label {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.nc-form-row .nc-req {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 7px;
}
.nc-form-row input[type="text"],
.nc-form-row input[type="email"],
.nc-form-row input[type="tel"],
.nc-form-row select,
.nc-form-row textarea {
  display: block;
  width: 100%;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 13px 15px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.nc-form-row input::placeholder,
.nc-form-row textarea::placeholder {
  color: var(--light);
}
.nc-form-row input:focus,
.nc-form-row select:focus,
.nc-form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-lt);
}
.nc-form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}
.nc-form-row textarea {
  resize: vertical;
  line-height: 1.7;
  min-height: 140px;
}

.nc-form-check label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  cursor: pointer;
}
.nc-form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.nc-form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 30px;
  border: none;
  border-radius: var(--r);
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, opacity 0.15s;
  box-shadow: 0 4px 16px rgba(91,143,168,0.28);
}
.nc-form-submit:hover {
  background: var(--primary-md);
  opacity: 1;
}

/* ハニーポット（ボット対策・人間には非表示） */
.nc-hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 送信完了メッセージ */
.nc-form-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #eefaf3;
  border-left: 4px solid #10b981;
  border-radius: var(--r);
  padding: 22px 24px;
}
.nc-form-success .nc-ic-24 {
  stroke: #10b981;
  margin-top: 2px;
}
.nc-form-success strong {
  display: block;
  font-size: 15px;
  color: #0e7a54;
  margin-bottom: 6px;
}
.nc-form-success p {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.7;
}

/* エラーメッセージ */
.nc-form-errors {
  background: #fdf2f2;
  border-left: 4px solid #e74c3c;
  border-radius: var(--r);
  padding: 18px 22px;
  margin-bottom: 24px;
  font-size: 13px;
}
.nc-form-errors strong {
  display: block;
  color: #c0392b;
  margin-bottom: 8px;
}
.nc-form-errors ul {
  list-style: disc;
  padding-left: 20px;
}
.nc-form-errors li {
  color: #a83a3a;
  margin-bottom: 4px;
  line-height: 1.6;
}

/* 連絡先インフォカード（サイドバー） */
.nc-contact-info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
}
.nc-cinfo-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.nc-cinfo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-lt);
  color: var(--primary-md);
  border-radius: 50%;
}
.nc-cinfo-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--sub);
  margin-bottom: 4px;
}
.nc-cinfo-tel {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.nc-cinfo-sub {
  display: block;
  font-size: 12px;
  color: var(--light);
  margin-top: 2px;
}
.nc-cinfo-mail {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-md);
  word-break: break-all;
  line-height: 1.6;
}
.nc-cinfo-address {
  display: block;
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}
.nc-cinfo-note {
  font-size: 11px;
  color: var(--light);
  line-height: 1.7;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 860px) {
  .nc-contact-layout { grid-template-columns: 1fr; }
  .nc-contact-info-card { position: static; order: -1; }
  .nc-contact-form-card { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .nc-form-grid { grid-template-columns: 1fr; }
  .nc-form-submit { font-size: 15px; padding: 14px 24px; }
}

/* ============================================
   関連リンクバナー（フロントページ・最新情報の上）
   ============================================ */
.nc-banner-strip {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.nc-banner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}
.nc-banner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  opacity: 0.85;
  transition: opacity 0.15s, transform 0.15s;
}
.nc-banner-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.nc-banner-item img {
  max-height: 42px;
  width: auto;
  display: block;
}

@media (max-width: 700px) {
  .nc-banner-row { gap: 18px; }
  .nc-banner-item img { max-height: 32px; }
}

/* ============================================
   事務所概要（トップページ About セクション）
   ============================================ */
.nc-office-info-wrap {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.nc-office-info-hdg {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
}
.nc-office-info-data {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.nc-office-info-data dl {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.nc-office-info-data dl:last-child {
  border-bottom: none;
}
.nc-office-info-data dt {
  width: 140px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--sub);
}
.nc-office-info-data dd {
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  color: var(--text);
  margin: 0;
}
.nc-office-info-data dd + dd {
  margin-top: 12px;
  width: 100%;
}
.nc-office-info-data dd a {
  color: var(--primary-md);
  font-weight: 700;
}
.nc-office-info-data iframe {
  max-width: 100%;
  width: 100%;
  height: 300px;
  border-radius: 8px;
  display: block;
}

@media (max-width: 600px) {
  .nc-office-info-data dl {
    flex-direction: column;
    gap: 4px;
  }
  .nc-office-info-data dt { width: auto; }
  .nc-office-info-data iframe { height: 220px; }
}
