/* Migrated lower-page sandbox CSS block 1 */
:root {
  --lc-bg-base: #ffffff;
  --lc-bg-soft: #f7f9fa;
  --lc-bg-muted: #eef1f2;
  --lc-text-main: #090909;
  --lc-text-body: #092f4d;
  --lc-text-sub: rgba(9, 47, 77, 0.64);
  --lc-primary: #003b61;
  --lc-primary-dark: #00304f;
  --lc-action: #005f99;
  --lc-border: rgba(0, 59, 97, 0.22);
  --lc-border-strong: rgba(0, 59, 97, 0.72);
}

body:not(.home) {
  background: var(--lc-bg-base);
  color: var(--lc-text-body);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 59, 97, 0.12);
}

.cta-link-primary,
.cta-link-secondary,
.document-cta,
.page-link-button,
.service-summary-link,
.form-submit,
.wpcf7-submit,
button,
input[type="submit"],
.wp-block-button__link {
  border-radius: 0 !important;
}

.cta-link-primary,
.form-submit,
.wpcf7-submit,
input[type="submit"] {
  background: var(--lc-primary-dark) !important;
  border: 1px solid var(--lc-primary-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.cta-link-secondary,
.document-cta,
.page-link-button,
.service-summary-link {
  background: #fff !important;
  border: 1px solid var(--lc-primary) !important;
  color: var(--lc-primary) !important;
  box-shadow: none !important;
}

.sub-hero,
.single-post-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fff 50%, var(--lc-bg-soft) 50%, var(--lc-bg-soft) 100%);
  border-bottom: 1px solid var(--lc-border);
  padding: 0 !important;
}

.sub-hero-no-image {
  background: #fff;
}

.sub-hero .container,
.single-post-hero .container {
  width: min(calc(100% - 88px), 1120px);
  max-width: 1120px;
  display: block !important;
  grid-template-columns: none !important;
}

.sub-hero .container > .lc-sub-hero-grid,
.single-post-hero .container > .lc-sub-hero-grid {
  max-width: none !important;
  width: 100% !important;
}

.lc-sub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  min-height: 380px;
  padding: clamp(48px, 7vw, 72px) 0;
}

.lc-sub-hero-grid-no-image {
  display: block;
  max-width: 780px;
  min-height: 280px;
}

.lc-sub-hero-grid > :first-child {
  align-self: center;
  max-width: 620px;
}

.lc-sub-hero-figure {
  margin: 0;
  width: 100%;
  height: clamp(340px, 32vw, 440px);
  align-self: center;
  overflow: hidden;
  background: var(--lc-bg-muted);
}

.lc-sub-hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-service-list li + li {
  margin-top: 6px;
}

.page-about .hero-photo {
  justify-self: center;
  max-width: 451px;
  overflow: hidden;
}

.page-about .hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
}

.page-id-12 .lc-sub-hero-figure img {
  object-position: center top;
}

.page-template-template-support-agency .lc-sub-hero-figure {
  aspect-ratio: 659 / 498;
  height: auto;
}

.sub-hero h1,
.single-post-hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--lc-text-main);
  margin: 0;
}

.sub-hero .lead,
.single-post-hero .lead {
  max-width: 620px;
  color: var(--lc-text-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.kicker {
  color: var(--lc-primary) !important;
  letter-spacing: 0 !important;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 8vw, 104px) 0;
  background: #fff;
}

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

.container {
  max-width: 1120px;
}

.section-head {
  display: block !important;
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head h2,
.contact-copy h2,
.sidebar-panel h2,
.sidebar-box h2 {
  color: var(--lc-text-main);
  letter-spacing: 0;
}

.section-head p:not(.kicker),
.contact-copy p,
.post-content p,
.notice-list,
.flow-item p,
.faq-entry p {
  color: var(--lc-text-body);
  line-height: 1.9;
}

.panel,
.service-item,
.service-summary-card,
.summary-item,
.flow-item,
.faq-entry,
.sidebar-panel,
.sidebar-box,
.article-item,
.contact-page-form-panel,
.contact-page-side-card,
.price-table-wrap,
.post-main,
.post-sidebar,
.post-featured,
.related-card,
.office-card,
.profile-panel,
.access-card {
  border-radius: 0 !important;
  box-shadow: none !important;
  border-color: var(--lc-border) !important;
}

.summary-list,
.service-grid,
.article-grid,
.flow-list,
.faq-stack {
  gap: 0;
}

.summary-item,
.service-item,
.flow-item,
.faq-entry {
  background: #fff;
  border: 1px solid var(--lc-border);
  padding: clamp(22px, 3vw, 32px);
}

.page-handling .service-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--lc-border);
  background: #fff;
}

.page-handling .service-menu .service-item {
  min-height: 128px;
  border: 0 !important;
  border-right: 1px solid var(--lc-border) !important;
  border-bottom: 1px solid var(--lc-border) !important;
}

.page-handling .service-menu .service-item:nth-child(2n) {
  border-right: 0 !important;
}

.page-handling .service-menu .service-item:nth-last-child(-n+2) {
  border-bottom: 0 !important;
}

.page-handling .service-detail-grid {
  gap: 0;
  border: 1px solid var(--lc-border);
  background: #fff;
}

.page-handling .service-detail-grid .panel {
  border: 0 !important;
  border-right: 1px solid var(--lc-border) !important;
}

.page-handling .service-detail-grid .panel:last-child {
  border-right: 0 !important;
}

.page-handling .service-fee-row {
  border: 1px solid var(--lc-border) !important;
  border-left: 1px solid var(--lc-border) !important;
  background: var(--lc-bg-soft);
  box-shadow: none !important;
}

.summary-item + .summary-item,
.flow-item + .flow-item,
.faq-entry + .faq-entry {
  margin-top: -1px;
}

.summary-item span,
.flow-item span,
.price-table th {
  color: var(--lc-primary);
}

.price-table-wrap {
  overflow: auto;
  border: 1px solid var(--lc-border);
  background: #fff;
}

.price-table {
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  border: 1px solid var(--lc-border);
  padding: 18px 20px;
}

.price-table thead th {
  background: var(--lc-bg-soft);
  color: var(--lc-primary-dark);
}

.price-table .price {
  color: var(--lc-primary-dark);
  font-weight: 800;
  white-space: nowrap;
}

.notice-list {
  border: 1px solid var(--lc-border);
  background: var(--lc-bg-soft);
  padding: 24px 28px 24px 46px;
}

.page-contact-main .contact-page-action-layout,
.page-contact .two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-page-form-panel,
.contact-page-side-card,
.contact-form-area form,
.wpcf7 form {
  background: #fff;
}

.contact-page-form-panel {
  border: 1px solid var(--lc-border);
  padding: clamp(28px, 4vw, 40px);
}

.contact-page-side-card {
  border: 1px solid var(--lc-border);
  padding: 24px;
}

.contact-page-side-card + .contact-page-side-card {
  margin-top: -1px;
}

.contact-page-form-head .kicker {
  display: none;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
.contact-form-area input,
.contact-form-area textarea,
.contact-form-area select {
  border-radius: 0 !important;
  border-color: rgba(0, 59, 97, 0.22) !important;
  box-shadow: none !important;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder,
.contact-form-area input::placeholder,
.contact-form-area textarea::placeholder {
  color: #c8d0d7 !important;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-item {
  overflow: hidden;
  background: #fff;
  color: var(--lc-text-body);
  border: 1px solid var(--lc-border);
}

.article-item .post-thumb,
.post-featured img {
  border-radius: 0 !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-body {
  padding: 20px;
}

.post-category-badge,
.post-meta span,
.post-taxonomy a {
  border-radius: 0 !important;
  background: var(--lc-bg-soft) !important;
  border: 1px solid var(--lc-border) !important;
  color: var(--lc-primary-dark) !important;
}

.content-sidebar,
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.post-main,
.post-sidebar,
.sidebar-panel,
.sidebar-box {
  background: #fff;
}

.post-content {
  max-width: 760px;
}

.single-post-template .post-featured {
  display: none;
}

.footer-contact {
  display: none !important;
}

.site-footer {
  background: var(--lc-primary-dark) !important;
  color: #fff !important;
  border: 0 !important;
}

.site-footer *,
.site-footer a {
  color: inherit;
}

.site-footer .brand-mark {
  background: #fff;
  border-color: rgba(255,255,255,.45);
}

.site-footer .footer-main,
.site-footer .footer-bottom,
.site-footer .footer-brand,
.site-footer .footer-links,
.site-footer .footer-nav {
  border: 0 !important;
}

.site-footer .footer-nav a::before,
.site-footer .footer-links a::before,
.site-footer .footer-main::before,
.site-footer .footer-main::after,
.site-footer .footer-bottom::before,
.site-footer .footer-bottom::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 980px) {
  .sub-hero .container,
  .single-post-hero .container {
    width: min(calc(100% - 40px), 720px);
  }
  .lc-sub-hero-grid,
  .page-contact-main .contact-page-action-layout,
  .page-contact .two-column,
  .content-sidebar,
  .post-layout {
    grid-template-columns: 1fr;
  }
  .lc-sub-hero-grid {
    gap: 28px;
    min-height: 0;
    padding: 42px 0 56px;
  }
  .lc-sub-hero-figure img {
    min-height: 260px;
  }
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-handling .service-menu,
  .page-handling .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .page-handling .service-menu .service-item,
  .page-handling .service-menu .service-item:nth-child(2n),
  .page-handling .service-detail-grid .panel {
    border-right: 0 !important;
    border-bottom: 1px solid var(--lc-border) !important;
  }
  .page-handling .service-menu .service-item:last-child,
  .page-handling .service-detail-grid .panel:last-child {
    border-bottom: 0 !important;
  }
}

@media (max-width: 640px) {
  .sub-hero h1,
  .single-post-hero h1 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.5;
  }
  .sub-hero .lead,
  .single-post-hero .lead {
    font-size: 15px;
    line-height: 1.85;
  }
  .lc-sub-hero-figure {
    height: 260px;
  }
  .section {
    padding: 60px 0;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .price-table th,
  .price-table td {
    padding: 14px 12px;
    font-size: 13px;
  }
}

/* Lower pages aligned to the refreshed top-page design - 2026-06-25 */
.site-header {
  border-bottom: 0 !important;
  background: rgba(255, 255, 255, 0.985) !important;
  box-shadow: 0 1px 0 rgba(0, 59, 97, 0.08);
}

.site-header .container {
  width: min(calc(100% - 76px), 1780px);
  max-width: none;
}

.header-inner {
  min-height: 96px;
  gap: 28px;
}

.brand {
  min-width: 320px;
  gap: 14px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.brand-mark img {
  border-radius: 0 !important;
  object-fit: contain;
}

.brand-text strong,
.footer-brand strong {
  color: #141414;
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.22;
}

.brand-text small {
  color: var(--lc-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.nav {
  gap: clamp(13px, 1.15vw, 24px);
  color: var(--lc-primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav a {
  border-bottom: 0 !important;
  padding-bottom: 0;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"],
.nav a.is-current {
  color: var(--lc-primary-dark);
}

.header-actions .document-cta {
  display: none;
}

.header-actions .cta-link-primary {
  min-width: 260px;
  min-height: 68px;
  padding: 11px 28px;
  border: 0 !important;
  background: var(--lc-action) !important;
  color: #fff !important;
  flex-direction: column;
  gap: 2px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.header-actions .cta-link-primary small,
.header-consult-cta small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.sub-hero,
.single-post-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(247, 249, 250, 0.92) 50%, rgba(247, 249, 250, 0.92) 100%);
}

.sub-hero-no-image {
  background: #fff;
}

.section > .container,
.site-footer .container {
  width: min(calc(100% - 88px), 1120px);
}

.section-head {
  display: block !important;
  max-width: 780px;
  margin-right: auto;
  margin-bottom: clamp(34px, 4vw, 56px);
}

.section-head .kicker,
.contact-copy .kicker {
  position: relative;
  margin: 0 0 12px;
  color: var(--lc-primary-dark) !important;
  font-family: Arial, Helvetica, var(--font-sans);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0 !important;
  text-transform: none;
}

.section-head .kicker::after,
.contact-copy .kicker::after {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  margin-top: 20px;
  background: #d8dee5;
}

.section-head h2,
.contact-copy h2,
.sidebar-panel h2,
.sidebar-box h2 {
  max-width: 760px;
  margin-top: 0;
  color: var(--lc-primary-dark);
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 700;
  line-height: 1.72;
}

.section-head > p:not(.kicker),
.contact-copy p {
  max-width: 760px;
  margin-top: 14px;
  color: var(--lc-text-body);
  font-size: 14px;
  line-height: 1.9;
}

.panel,
.service-item,
.service-summary-card,
.summary-item,
.flow-item,
.faq-entry,
.sidebar-panel,
.sidebar-box,
.article-item,
.contact-page-form-panel,
.contact-page-side-card,
.office-card,
.profile-panel,
.access-card {
  border-color: var(--lc-border) !important;
  background: #fff;
}

.summary-list,
.flow-list,
.faq-stack,
.front-column-list {
  border-top: 1px solid var(--lc-border);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
}

.summary-item,
.flow-item,
.faq-entry {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--lc-border) !important;
  border-left: 0 !important;
  background: transparent;
}

.price-table-wrap {
  border-color: var(--lc-border);
  background: #fff;
}

.price-table,
.data-table {
  border: 0;
  border-collapse: collapse;
}

.price-table th,
.price-table td,
.data-table th,
.data-table td {
  border: 0;
  border-bottom: 1px solid var(--lc-border);
  padding: 18px 20px;
}

.price-table th,
.data-table th {
  background: var(--lc-bg-soft);
  color: var(--lc-primary-dark);
  font-weight: 800;
}

.price-table .price {
  color: var(--lc-primary-dark);
}

.site-footer {
  padding: 76px 0 44px !important;
  background: var(--lc-primary-dark) !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.site-footer .brand-text strong,
.site-footer .footer-brand strong {
  color: #fff;
}

.site-footer .brand-text small,
.site-footer a,
.site-footer p,
.site-footer .footer-subnav a {
  color: rgba(255, 255, 255, 0.82) !important;
}

.site-footer .brand-mark {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  padding: 3px;
  border-radius: 50% !important;
  background: #fff !important;
  filter: none;
}

.site-footer .brand-mark img {
  border-radius: 0 !important;
  filter: none;
}

.site-footer .footer-main,
.site-footer .footer-bottom,
.site-footer .footer-brand {
  border: 0 !important;
  padding-left: 0 !important;
}

.footer-main {
  padding-top: 0;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 0;
}

.site-footer .cta-link-secondary,
.site-footer .document-cta {
  border-color: rgba(255, 255, 255, 0.42) !important;
  background: transparent !important;
  color: #fff !important;
}

.site-footer .cta-link-primary {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--lc-primary-dark) !important;
}

.site-footer .footer-nav a:not(:first-child)::before,
.site-footer .footer-subnav a:not(:first-child)::before {
  content: "" !important;
  display: inline-block !important;
  width: 1px;
  height: 1em;
  margin: 0 14px;
  background: var(--color-border);
  vertical-align: -0.12em;
}

@media (max-width: 1280px) {
  .site-header .container {
    width: min(calc(100% - 48px), 1180px);
  }

  .brand {
    min-width: 250px;
  }

  .nav {
    gap: 13px;
    font-size: 13px;
  }

  .header-actions .cta-link-primary {
    min-width: 210px;
    min-height: 62px;
    font-size: 16px;
  }
}

@media (max-width: 980px) {
  .site-header .container,
  .section > .container,
  .site-footer .container {
    width: min(calc(100% - 32px), 720px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .header-actions {
    display: none;
  }

  .section-head .kicker,
  .contact-copy .kicker {
    font-size: clamp(34px, 11vw, 44px);
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section > .container,
  .site-footer .container {
    width: min(calc(100% - 32px), 720px);
  }

  .section-head h2,
  .contact-copy h2 {
    font-size: 17px;
  }

  .summary-item,
  .flow-item,
  .faq-entry {
    padding-right: 0;
    padding-left: 0;
  }
}
