@charset "UTF-8";
/* =========================================================
   クラフト行政書士事務所  共通スタイル
   ========================================================= */

:root {
  --color-primary: #c4c4c4;
  --color-primary-dark: #9d9d9d;
  --color-primary-vivid: #d8d8d8;
  --color-text: #333333;
  --color-text-sub: #666666;
  --color-border: rgba(0, 0, 0, 0.12);
  --color-border-light: rgba(0, 0, 0, 0.06);
  --color-bg-light: #f9f9f9;
  --font-base: "Lato", "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --container: 1140px;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }

a { color: var(--color-text); text-decoration: none; }
a:hover { opacity: .85; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.skip-link:focus {
  clip: auto; width: auto; height: auto;
  top: 8px; left: 8px; z-index: 10000;
  padding: 8px 16px; background: #fff; box-shadow: 0 0 4px rgba(0,0,0,.3);
}

/* ---------- Header ---------- */
.header-top {
  background: var(--color-bg-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--color-text-sub);
  font-size: 12px;
  padding: 6px 0 5px;
}
.header-top-description { text-align: center; }

.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 17px;
  padding-bottom: 16px;
}

.site-header-logo { line-height: 1; }
.site-header-logo img { display: block; height: 60px; width: auto; }

.global-nav-list { display: flex; }
.global-nav-list > li > a {
  position: relative;
  display: block;
  padding: 14px 18px;
  text-align: center;
  line-height: 1.4;
}
.global-nav-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.global-nav-description {
  display: block;
  font-size: 10px;
  color: var(--color-text-sub);
  opacity: .8;
}
.global-nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--color-text);
  opacity: .25;
  transform: scaleX(0);
  transition: transform .3s ease;
}
.global-nav-list > li > a:hover::after,
.global-nav-list > li.current-menu-item > a::after { transform: scaleX(1); }
.global-nav-list > li.current-menu-item .global-nav-description { color: var(--color-text); opacity: 1; }

/* スクロール時の固定ヘッダー */
body.header-scrolled .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  animation: header-down .3s ease;
}
body.header-scrolled .header-top { display: none; }
body.header-scrolled .site-header-container { padding-top: 8px; padding-bottom: 8px; }
body.header-scrolled .site-header-logo img { height: 46px; }
@keyframes header-down {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* ---------- Hero (Top) ---------- */
.hero { line-height: 0; }
.hero img { width: 100%; height: auto; display: block; }

/* ---------- Page header / Breadcrumb ---------- */
.page-header {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 42px 0 41px;
}
.page-header-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.breadcrumb {
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  font-size: 12px;
  padding: 6px 0;
}
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb-list__item + .breadcrumb-list__item::before {
  content: "/";
  margin: 0 6px;
}
.breadcrumb-list__item a { text-decoration: underline; text-decoration-color: rgba(0,0,0,.3); }
.breadcrumb-list__item .fa-house { margin-right: 4px; color: var(--color-text-sub); }

/* ---------- Layout ---------- */
.site-body { padding: 56px 0 80px; }
.site-body--top { padding-top: 56px; }

.main-section--col--two { width: 66.66%; margin: 0 auto; }

/* ---------- PR Blocks (Top) ---------- */
.pr-blocks {
  display: flex;
  margin: 0 -15px 40px;
}
.pr-block {
  flex: 1 1 0;
  padding: 0 15px;
  text-align: center;
}
.pr-block a { display: block; }
.pr-block_icon_outer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  margin: 0 auto;
  border: 1px solid var(--color-primary-vivid);
  border-radius: 50%;
}
.pr-block_icon { font-size: 36px; color: var(--color-primary); }
.pr-block_title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 16px 0 12px;
}



/* ---------- Entry content ---------- */
.entry-body h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  padding: 14px 0;
  margin: 0 0 28px;
  border-top: 2px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border-light);
}
.entry-body h2.align-left { text-align: left; }

.entry-body h3 {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  padding: 0 0 12px;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--color-border);
}
.entry-body h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 30%;
  border-bottom: 1px solid var(--color-primary);
}

.entry-body p { margin-bottom: 1.2em; }

.columns {
  display: flex;
  gap: 2em;
  margin-bottom: 1.75em;
}
.columns--mb-md { margin-bottom: 2em; }
.column { flex: 1 1 0; min-width: 0; }

.spacer { height: 60px; }

/* テーブル（上下罫線スタイル） */
.table-wrap { margin: 0 0 1em; overflow-x: auto; }
.table-border {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table-border td,
.table-border th {
  padding: 7px;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}
.table-border .price { text-align: right; white-space: nowrap; }
.table-border .label { text-align: center; font-weight: 700; white-space: nowrap; width: 25%; }

/* ---------- Contact section ---------- */
.contact-box {
  margin: 32px 0;
  border: 3px solid rgba(0, 0, 0, 0.07);
  border-radius: 4px;
}
.contact-box_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}
.contact_txt { margin: 0 !important; }
.contact_txt > span { display: block; }
.contact_txt_catch { font-size: 14px; }
.contact_txt_tel {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  padding: 5px 0;
  color: var(--color-primary);
}
.contact_txt_tel i { margin-right: 6px; }
.contact_txt_time { font-size: 14px; }

.btn {
  display: inline-block;
  text-align: center;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary-dark);
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--color-primary-dark); opacity: 1; color: #fff; }
.btn-lg { font-size: 20px; line-height: 24px; padding: 14px 30px; }
.contact_bt { min-width: 256px; }
.contact_bt i { margin: 0 4px; }

/* ---------- Sitemap ---------- */
.sitemap { display: flex; margin: 0 -15px; }
.sitemap-col { flex: 1 1 50%; padding: 0 15px; }
.link-list li { border-bottom: 1px solid var(--color-border-light); }
.link-list li a {
  position: relative;
  display: block;
  padding: 10px 0 10px 20px;
}
.link-list li a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 4px;
  color: var(--color-primary-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-primary);
  font-size: 12px;
}
.footer-nav {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
  line-height: 1;
}
.footer-nav-list { display: flex; flex-wrap: wrap; }
.footer-nav-list li { border-left: 1px solid #ddd; }
.footer-nav-list li:last-child { border-right: 1px solid #ddd; }
.footer-nav-list li a { display: block; padding: 0 18px; }

.site-footer-content { padding-top: 48px; padding-bottom: 60px; }
.site-footer-title {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  padding: 0 0 8px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--color-border);
}
.site-footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 30%;
  border-bottom: 1px solid var(--color-primary);
}
.profile_widget_text { text-align: center; font-size: 14px; line-height: 1.5; }

.site-footer-copyright {
  padding: 16px;
  text-align: center;
  line-height: 1.5;
}
.site-footer-credit { display: block; font-size: 10px; }
.site-footer-credit a { color: var(--color-text-sub); }

/* ---------- Page top button ---------- */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 40px;
  height: 38px;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0 1px rgba(255,255,255,.8), 0 0 0 2px rgba(0,0,0,.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.page-top.is-show { opacity: 1; visibility: visible; }
.page-top::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}
.page-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Mobile nav ---------- */
.mobile-nav-btn {
  display: none;
  position: fixed;
  top: 5px;
  right: 5px;
  z-index: 2000;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--color-text);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.mobile-nav-btn span,
.mobile-nav-btn span::before,
.mobile-nav-btn span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1px;
  background: var(--color-text);
  transition: transform .3s, background .3s;
}
.mobile-nav-btn span { top: 50%; transform: translate(-50%, -50%); }
.mobile-nav-btn span::before,
.mobile-nav-btn span::after { content: ""; transform: translateX(-50%); }
.mobile-nav-btn span::before { top: -6px; }
.mobile-nav-btn span::after { top: 6px; }
.mobile-nav-btn.is-open span { background: transparent; }
.mobile-nav-btn.is-open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.mobile-nav-btn.is-open span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1900;
  max-height: 100vh;
  overflow-y: auto;
  padding: 50px 15px 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transform: translateY(-110%);
  transition: transform .4s ease;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav li { border-bottom: 1px solid var(--color-border-light); }
.mobile-nav li:first-child { border-top: 1px solid var(--color-border-light); }
.mobile-nav li a { display: block; padding: 12px 8px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .header-top { display: none; }
  .global-nav { display: none; }
  .mobile-nav-btn { display: block; }
  .site-header-container { justify-content: center; padding-top: 6px; padding-bottom: 6px; }
  .site-header-logo img { height: 52px; }
  body.header-scrolled .site-header { position: relative; animation: none; }
  body.header-scrolled .site-header-container { padding-top: 6px; padding-bottom: 6px; }
  body.header-scrolled .site-header-logo img { height: 52px; }

  .main-section--col--two { width: 100%; }
  .site-body { padding: 28px 0 56px; }
}

@media (max-width: 767.98px) {
  .pr-blocks { flex-direction: column; gap: 16px; }
  .columns { flex-direction: column; gap: 0; }
  .column:empty,
  .column > p:only-child:empty { display: none; }

  .page-header { padding: 24px 0; }
  .page-header-title { font-size: 24px; }

  .entry-body h2 { font-size: 22px; }
  .entry-body h3 { font-size: 20px; }

  .contact-box_inner { flex-direction: column; align-items: stretch; text-align: center; }
  .contact_bt { min-width: 0; width: 100%; }


  .sitemap { flex-direction: column; }

  .footer-nav-list li,
  .footer-nav-list li:last-child { border: none; }
  .footer-nav-list li a { padding: 0; }
  .footer-nav { padding: 12px 15px; }
  .footer-nav .container { padding: 0 0 12px; border-bottom: 1px solid var(--color-border-light); }
}


/* PC表示ではモバイルメニューを完全に非表示 */
@media (min-width: 992px) {
  .mobile-nav { display: none; }
}
