:root {
    --color-bg: #f8f9fb;
    --color-text: #000;
    --color-primary: #1e5aa6;
    --color-primary-dark: #163a69;
    --color-secondary: #a48636;
    --color-secondary-dark: #896e23;
    --color-accent: #f3f6fb;
    --color-border: #d8dde6;
    --container: 1120px;
    --hero-main-position: center;
    --voice-1-position: center top;
    --voice-2-position: center top;
    --voice-3-position: center top;
    --service-1-position: center;
    --service-2-position: center;
    --service-3-position: center;
    --profile-tax-position: center top;
    --profile-labor-position: center top;
    --office-main-position: center;
    --header-overlay-height: 125px;
    --header-overlay-height-sp: 122px;
}

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

html {
    --scroll-behavior: smooth;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Yu Gothic", "MS Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
    color: var(--color-text);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none !important;
}

a:hover {
    text-decoration: underline;
}

p {
  font-weight: 500;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.container--narrow {
    width: min(100% - 32px, 860px);
}

.site-header {
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 14px rgba(15, 41, 72, 0.06);
}

.site-header.is-scrolled {
    position: fixed;
    width: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(15, 41, 72, 0.08);
    backdrop-filter: blur(6px);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 84px;
    padding-top: 10px;
}

.site-header .site-header__inner.container {
    width: 100%;
    margin-inline: 0;
    padding-inline: 16px;
    max-width: none;
}

.site-logo {
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.site-brand__top {
    gap: 10px;
}

.site-logo__mark {
    flex: 0 0 auto;
}

.site-brand__name {
  padding: 10px 0;
}
.site-brand__name p{
    line-height: 1.3;
    margin: 0;
}

.site-brand__nameJp {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.site-brand__nameEn {
    margin: 3px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #b0893b;
    letter-spacing: 0.12em;
}

.site-logo__sub {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: #111827;
    line-height: 1.2;
}

.primary-nav {
    justify-self: end;
    margin-top: 6px;
    text-align: right;
}

.primary-nav ul {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a,
.hero-nav a,
.mobile-nav a {
    color: var(--color-primary-dark) !important;
    transition: all .4s ease-out;
}

.primary-nav a:hover,
.hero-nav a:hover,
.mobile-nav a:hover {
    color: var(--color-secondary) !important;
}

.primary-nav a,
.hero-nav a,
.mobile-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    text-decoration: none;
}

.primary-nav a::after, .hero-nav a::after, .mobile-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,

.hero-nav a:hover::after,
.hero-nav a:focus-visible::after,

.mobile-nav a:hover::after,
.mobile-nav a:focus-visible::after {

    transform: scaleX(1);
    transform-origin: left;
}

.cta-section {
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
  color: #1e293b;
}

.cta-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-top {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 30px 0;
  text-align: center;
}

.cta-title {
  margin: 0 0 20px;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.cta-kicker {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.cta-footer-title {
  font-size: 20px;
  margin: 0;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.cta-book {
  margin-top: 0;
  position: static;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.cta-book img {
  width: 100px;
  height: auto;
  transform: rotate(10deg);
  transform-origin: 70% 30%;
  filter: drop-shadow(0 20px 30px rgba(15, 41, 72, 0.18));
}

.cta-badge {
  position: static;
  width: 120px;
  height: auto;
  display: block;
}

.cta-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-badge__text {
  font-size: 24px;
  font-weight: 900;
  color: #f59e0b;
}

.cta-middle {
  padding: 20px 0;
}

.cta-flex {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.cta-flex > .wp-block-column {
  display: flex;
}

.cta-box {
  flex: 1;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 14px 30px rgba(15, 41, 72, 0.12);
  height: 100%;
}

.cta-inquiry-button {
  margin: 0;
}

.cta-inquiry-button .wp-block-button__link {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.cta-inquiry-button .wp-block-button__link::before {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  transform: rotate(-45deg);
}

.cta-phone {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary) 55%, #1e40af 100%);
  color: #fff;
  position: relative;
}

.cta-box-sub {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.cta-phone-sep {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin: 14px 0 18px;
}

.cta-phone-body {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.cta-phone-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cta-phone-body .wp-block-image {
  margin: 0;
}

.cta-phone-body .cta-person {
  flex: 0 0 auto;
  max-width: none;
}

.cta-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: transparent;
}

.cta-icon {
  margin: 0;
  flex: 0 0 auto;
}

.cta-icon img {
  width: 36px;
  height: 36px;
  display: block;
}

.cta-number {
  font-size: 25px;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.cta-labels {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}

.cta-labels p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
}

.cta-phone .cta-person {
  position: static;
  margin: 0;
}

.cta-phone .cta-person img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.6);
}

.cta-doc {
  background: #eef6ff;
  border: 1px solid #cfe3ff;
}

.cta-doc-title {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-primary);
}

.cta-doc-title__free {
  color: var(--color-primary);
}

.cta-doc-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-doc-body {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.cta-doc-info {
  flex: 1;
  align-items: center;
  text-align: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
}


.contract-flow-sep {
  border: 0;
  border-top: 2px dotted #9cc2ff;
  margin: 6px 0 8px;
  width: 100% !important;
}

.cta-doc-sep {
  border: 0;
  border-top: 2px dotted #9cc2ff;
  margin: 6px 0 8px;
  width: 100%;
}

.cta-doc-sub {
  margin: 5px 0 10px;
}

.cta-doc img {
  width: 140px;
}

.cta-button {
  background: var(--color-secondary);
  color: #fff;
  padding: 8px 30px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
}

.cta-button:hover {
  background: var(--color-secondary-dark);
}


.cta-button .wp-block-button__link {
  background: transparent;
  padding: 0;
}

.cta-button .wp-block-button__link::after {
  content: "›";
  margin-left: 12px;
  font-size: 22px;
  line-height: 1;
}

.cta-bottom {
  padding: 48px 0 56px;
  text-align: center;
}

.cta-bottom-title {
  margin: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.cta-bottom-title::before,
.cta-bottom-title::after {
  content: "";
  flex: 1;
  max-width: 280px;
  height: 0;
  border-top: 3px dotted #9cc2ff;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.feature {
  position: relative;
  padding: 0 18px;
}

.feature + .feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(148, 163, 184, 0.55);
}

.feature .icon {
  width: 92px;
  height: 92px;
  background: #eaf2ff;
  border-radius: 999px;
  margin: 0 auto 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px 44px;
}

.feature p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
}

.feature--home .icon {
  background-image: url("../images/cta/cta-bottom-home.svg");
}

.feature--online .icon {
  background-image: url("../images/cta/cta-bottom-online.svg");
}

.feature--facility .icon {
  background-image: url("../images/cta/cta-bottom-facility.svg");
}

.feature--weekend .icon {
  background-image: url("../images/cta/cta-bottom-weekend.svg");
}

@media (max-width: 768px) {
  .cta-top {
    text-align: center;
  }

  .cta-top__inner {
    flex-direction: column;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-book img {
    width: 150px;
  }

  .cta-badge {
    width: 100px;
    height: auto;
  }

  .cta-badge__text {
    font-size: 20px;
  }

  .cta-flex {
    flex-direction: column;
  }

  .cta-features {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 18px 0;
  }

  .feature + .feature::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}

.header-tel {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-tel__number {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 18px;
    line-height: 1.1;
    color: #111827;
}

.header-tel__number::before {
    content: "";
    width: 18px;
    height: 18px;
    background: url("../images/footer-contact-tel-blue.svg") no-repeat center / contain;
    flex: 0 0 18px;
}

.header-tel__note {
    margin: 2px 0 0;
    font-size: 11px;
    color: #000;
    line-height: 1.2;
}


.header-cta .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    min-width: 104px;
    min-height: 56px;
    border-radius: 6px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.header-cta .wp-block-button__link:hover {
    background: var(--color-primary-dark);
    text-decoration: none;
}

.header-cta--reserve {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #fff;
}

.header-cta--reserve:hover {
    background: #163a69;
    border-color: #163a69;
}

.header-cta--reserve .wp-block-button__link:hover {
    background: var(--color-primary-dark);
}

.header-cta--contact .wp-block-button__link {
    background: var(--color-secondary);
}

.header-cta--contact .wp-block-button__link:hover {
    background: var(--color-secondary-dark);
}

.header-cta--reserve .wp-block-button__link::before,
.header-cta--contact .wp-block-button__link::before {
    content: "";
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex: 0 0 18px;
}

.header-cta--reserve .wp-block-button__link::before {
    background-image: url("../images/hero-btn-chat.svg");
}

.header-cta--contact .wp-block-button__link::before {
    background-image: url("../images/hero-btn-chat.svg");
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.header-right {
    justify-self: end;
    display: grid;
    gap: 8px;
}

.header-right {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    gap: 12px;
}

.header-right .header-actions {
    justify-content: flex-end;
}

.header-right .primary-nav ul {
    justify-content: flex-end;
}

/* Header style similar to top visual overlay (like #head area). */

.site-logo {
    color: var(--color-primary);
}

.site-logo__sub {
    color: #111827;
}

.header-cta--reserve {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.header-cta--reserve:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.header-cta--contact {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #1f2a37;
}

.header-cta--contact:hover {
    background: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
}

.nav-toggle {
    display: none;
}

.hero {
    background: #fff;
    position: relative;
}

/* .hero .container {
    width: min(100% - 40px, 1200px);
} */

.hero .hero-mid .wp-block-cover__background {
    background: url('../images/firstview_logo.png') no-repeat 80% top;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1 !important;
}

/* Home hero should start under transparent overlay header. */
.wp-block-post-content {
    margin-top: 0;
    /* padding-top: var(--header-overlay-height); */
}

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

.wp-block-columns.grid.grid--3 > .wp-block-column {
    min-width: 0;
}

/* HERO (from feedback/hero.css) */
.hero .hero-main {
    display: block;
    position: relative;
}

.hero .hero-lead {
    color: var(--color-primary);
    margin: 0 0 10px;
    font-weight: 600;
}

.hero-title span:not(.hero-title__highlight) {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.5;
    color: black;
}

.hero-title {
  color: black;
  font-size: 1.5rem;
  font-weight: 600;
}

.hero-title .hero-title__highlight {
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--color-primary);
}

@media (max-width: 960px) {
  .hero .hero-left h1 {
      margin: 0;
      font-size: 2rem;
      line-height: 1.5;
      color: #1e293b;
  }
}

.hero .hero-left h1 span {
    color: var(--color-primary);
    font-size: 4rem;
}

.hero .hero-sub {
    margin: 10px 0 20px;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
}

.hero .hero-badges {
    display: flex;
    gap: 15px;
    margin: 0 0 20px;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
}

/* Guard against block support/inlined styles that can center or stack the badges. */

.hero .hero-badges > * {
    margin-block-start: 0;
    margin-left: 0;
    margin-right: 0;
}

.hero .badge {
    border-radius: 50%;
    background: var(--color-primary);
    width: 150px;
    height: 150px;
    text-align: center;
    padding: 10px;
    font-size: 1.2rem;
    line-height: 1.2;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 6px 16px rgba(15, 41, 72, 0.08);
}

.hero .badge p {
    margin: 0;
}

.hero .badge strong {
    font-size: 2rem;
}

.hero .badge__num {
    display: inline;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
}


.hero p.badge-margin {
    margin-top: 10px !important;
}

.hero .badge__unit {
    display: inline;
    font-size: 12px;
    font-weight: 600;
    margin-left: 2px;
}

.hero .hero-buttons {
    display: flex;
    gap: 15px;
    margin: 0 0 10px;
    flex-wrap: nowrap;
}

.hero .hero-buttons .wp-block-button__link {
    padding: 14px 24px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.hero-btn__inner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.hero-btn__icon {
    width: 18px;
    height: 18px;
    display: block;
}

.hero-btn__chevron {
    width: 18px;
    height: 18px;
    display: block;
}

.hero .btn.blue .wp-block-button__link {
    background: var(--color-secondary);
}

.hero .btn.blue .wp-block-button__link:hover {
    background: var(--color-secondary-dark);
}

.hero .btn.orange .wp-block-button__link {
    background: var(--color-secondary);
}

.hero .btn.orange .wp-block-button__link:hover {
    background: var(--color-secondary-dark);
}

.hero .hero-note {
    font-size: 12px;
    color: #1e293b;
    margin: 0;
}

.hero .hero-note__icon {
    width: 16px;
    height: 16px;
    margin: 0;
}

.hero .hero-note__icon img {
    width: 16px;
    height: 16px;
    display: block;
}

.contract-flow__banner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.contract-flow__banner img {
    width: 100%;
    height: auto;
    display: block;
}

.contract-flow.inheritance-flow .flow-header {
    text-align: center;
}

.contract-flow.inheritance-flow .flow-header h2 {
    font-size: 28px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.contract-flow.inheritance-flow .flow-step {
    display: flex;
    gap: 24px;
    padding: 2em;
    margin-bottom: 2em;
    /* border-bottom: 1px solid #a6c0f3db; */
    align-items: flex-start;
    background: white;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
    border-radius: 15px;
}

.contract-flow.inheritance-flow .flow-step.last {
    border-bottom: none;
}

.contract-flow.inheritance-flow .step-number {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    min-width: 50px;
    position: relative;
    padding-right: 24px;
}

.contract-flow.inheritance-flow .step-number::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 12px;
    bottom: 2px;
    width: 1px;
    background: #e5e7eb;
}

.contract-flow.inheritance-flow .step-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.contract-flow.inheritance-flow .step-title {
    flex: 0 0 200px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}


.contract-flow.inheritance-flow .step-desc,
.contract-flow.inheritance-flow .step-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #111827;
    margin: 0;
    flex: 1 1 auto;
}

@media (max-width: 768px) {
    .contract-flow.inheritance-flow .flow-step {
        flex-direction: column;
        gap: 8px;
        padding: 1em;
    }

    .contract-flow.inheritance-flow .step-number {
        padding-right: 0;
    }

    .contract-flow.inheritance-flow .step-number::after {
        display: none;
    }

    .contract-flow.inheritance-flow .step-content {
        flex-direction: column;
        gap: 8px;
    }

    .contract-flow.inheritance-flow .step-title {
        flex-basis: auto;
    }

    .contract-flow.inheritance-flow .step-number {
        font-size: 20px;
    }
}

.hero .hero-note p {
    margin: 0;
}

.hero .hero-right img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.hero-nav {
    margin-top: -30px !important;
    position: relative;
    z-index: 10;
}

.hero-nav .hero-bottom {
    background: #f1f5f9;
    padding: 20px 0;
}

.hero-nav .bottom-title {
    text-align: center;
    color: var(--color-primary);
    margin: 0 0 15px;
    font-weight: 600;
}

.hero-nav .bottom-list {
    margin: 0;
}

.hero-nav .bottom-list .wp-block-column {
    min-width: 0;
}

.hero-nav .bottom-item {
    justify-content: center;
    gap: 10px;
}

.hero-nav .bottom-item__icon {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
}

.hero-nav .bottom-item__icon img {
    width: 18px;
    height: 18px;
    display: block;
}

.hero-nav .bottom-item p {
    margin: 0;
    font-size: 14px;
    color: #1e293b;
}

.inquiry-docs-band {
    padding: 26px 0 36px;
    background: #fff;
}

.inquiry-docs__container {
    position: relative;
}

.inquiry-docs__guideBookWrap {
    display: flex;
    align-items: center;
}

.inquiry-docs__guideBookImage,
.inquiry-docs__balloonImage,
.inquiry-docs__telIcon,
.inquiry-docs__materialIcon {
    margin: 0;
}

.inquiry-docs__guideBookImage {
    flex: 3 1 0;
}

.inquiry-docs__balloonImage {
    flex: 7 1 0;
    margin-left: -20px !important;
}

.inquiry-docs__guideBookImage img {
    width: auto;
    height: 200px;
    display: block;
}

.inquiry-docs__balloonImage img {
    width: 100%;
    height: auto;
    display: block;
}

.inquiry-docs__telIcon img,
.inquiry-docs__materialIcon img {
    width: 42px;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.inquiry-docs__inner {
    margin: 0;
    padding: 24px 18px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #13335d 0%, #204b81 100%);
    color: #fff;
    gap: 14px;
    margin-left: -20px !important;
}

.inquiry-docs__tel,
.inquiry-docs__material {
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 14px 16px;
}

.inquiry-docs__telHeading,
.inquiry-docs__materialHeading {
    margin: 0 0 8px;
    font-size: 0.96rem;
    font-weight: 600;
}

.inquiry-docs__telNumber {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.inquiry-docs__telBoxBlock {
    margin-top: 10px;
    gap: 8px;
}

.inquiry-docs__telBox {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1f2a37;
    background: #fff;
    border-radius: 999px;
    padding: 5px 10px;
}

.inquiry-docs__materialButton {
    margin: 10px 0 0;
}

.inquiry-docs__materialButton a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--color-secondary);
    color: #1f2a37;
    font-weight: 800;
    text-decoration: none;
}

.test-block {
    padding: 60px 30px;
    background: #fff;
}

.test-block__head,
.test-block__hero {
    margin: 0;
}

.test-block__hero {
    margin-top: 40px;
}

.test-block__headLeft,
.test-block__headRight {
    flex-basis: 50%;
}

.test-block__headRight {
    text-align: right;
}

.test-block__officeName {
    margin: 0;
}

.test-block__officeSub,
.test-block__headNote {
    margin: 6px 0 0;
    font-size: 0.84rem;
}

.test-block__headTel {
    margin: 0;
}

.test-block__heroContent {
    flex-basis: 55%;
}

.test-block__heroVisual {
    flex-basis: 45%;
}

.test-block__title {
    margin: 0;
    font-size: clamp(1.9rem, 3.2vw, 2.25rem);
}

.test-block__lead {
    margin: 14px 0 0;
}

.test-block__features {
    margin-top: 16px;
    gap: 10px;
}

.test-block__featureCard {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 15px;
    background: #fff;
}

.test-block__featureCard p {
    margin: 0;
}

.test-block__heroImage {
    margin: 0;
}

.test-block__heroImage img {
    border-radius: 14px;
}

.test-block__cta {
    margin-top: 40px;
    padding: 20px;
    background: #1e8f5a;
    border-radius: 12px;
}

.test-block__ctaTel {
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.test-block__ctaActions {
    text-align: right;
}

.test-block__ctaButtons {
    gap: 10px;
}

.test-block__ctaButton .wp-block-button__link {
    background: #fff;
    color: #1f2a37;
    font-weight: 700;
}

.top-section {
    padding: 64px 0;
}

.top-section--accent {
    background: var(--color-accent);
}

.grid {
    display: grid;
    gap: 16px;
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.post-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(15, 41, 72, 0.05);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 14px;
}

.card-thumb--avatar {
    width: 84px;
    height: 84px;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    object-position: center top;
}

.card-thumb--voice-1 {
    object-position: var(--voice-1-position, center top);
}

.card-thumb--voice-2 {
    object-position: var(--voice-2-position, center top);
}

.card-thumb--voice-3 {
    object-position: var(--voice-3-position, center top);
}

.card-thumb--service-1 {
    object-position: var(--service-1-position, center);
}

.card-thumb--service-2 {
    object-position: var(--service-2-position, center);
}

.card-thumb--service-3 {
    object-position: var(--service-3-position, center);
}

.results-band {
    padding: 36px 0;
    background: #0f2948;
    color: #fff;
}

.results-band h2 {
    margin-top: 0;
}

.card--metric h3 {
    margin-top: 0;
}

.card--metric {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
}

.results-band .metric {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.check-list {
    margin: 24px 0 0;
    padding-left: 18px;
}

.card-meta {
    margin: 12px 0 0;
    color: #000;
    font-size: 0.95rem;
}

.posts-list {
    display: grid;
    gap: 14px;
}

.cta-strip {
    padding: 28px 0;
    background: #0f2948;
    color: #fff;
}

.cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cta-strip__inner h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-list p {
    margin: 10px 0 0;
}

.form-placeholder {
    padding: 20px;
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    background: #fff;
}

.metric {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #0f2948;
}

.flow-steps {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.flow-steps li {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 14px 16px;
    list-style-position: inside;
}

.flow-steps--timeline {
    position: relative;
    padding-left: 0;
    list-style: none;
}

.flow-steps--timeline li {
    list-style: none;
    position: relative;
    margin-left: 24px;
}

.flow-steps--timeline li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -24px;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: var(--color-primary);
}

.flow-phase + .flow-phase {
    margin-top: 24px;
}

.flow-phase__label {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #0f2948;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.flow-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--color-secondary);
    color: #1f2a37;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    vertical-align: middle;
}

/* .profile {
    color: #1e293b;
    background: #f8fafc;
} */

/* .profile .container {
    max-width: 1100px;
    margin: auto;
} */

.profile .profile-hero {
    background: #f8fafc;
    aspect-ratio: 5/2;
}

.profile .profile-hero .wp-block-cover__image-background {
    object-fit: cover;
    object-position: center 36%;
}

.profile .profile-hero .wp-block-cover__inner-container {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: auto;
}

.profile .wp-block-cover {
  padding-left: 0;
}

.profile .profile-hero__inner {
  padding-right: 50px;
  padding-left: 20px;
  background: linear-gradient(45deg, #ffffff, #ffffff59);
}

.profile .profile-hero__inner p {
    color: #0f172a;
}

.profile .profile-hero__inner .intro-name {
    border-bottom-color: var(--color-primary);
}

.profile .intro-name {
    font-size: 1.8rem;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    margin-top: 0;
    margin-bottom: 20px;
}


.profile .role {
    font-size: 14px;
    color: #000;
}

.profile .name {
    font-size: 1.4rem;
    margin: 0;
    font-weight: bold;
}

.profile .name-en {
    color: var(--color-primary);
    margin: 0;
}

.profile .profile-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.profile .profile-image {
    width: 100%;
    min-width: 0;
}

.profile .profile-image .wp-block-image {
    width: 100%;
    margin: 0;
}

.profile .profile-image .wp-block-image img {
    width: 100%;
    max-width: none;
}

.profile .profile-message {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin: 0 0 60px;
}


@media (max-width: 768px ) {
  
  .profile .name {
    font-size: 1rem;
  }

  .profile .intro-name {
    font-size: 1.4rem;
  }
}

.profile .profile-message > .wp-block-group,
.profile .profile-message > .message-text,
.profile .profile-message > .message-image {
    margin: 0;
}

.profile .message-text p {
    line-height: 1.9;
}

.profile .profile-meta {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #cbd5e1;
    font-size: 13px;
}

.profile .message-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.profile .message-image {
    width: 100%;
    min-width: 0;
}

.profile .message-image .wp-block-image {
    width: 100%;
    margin: 0;
}

.history .profile-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0;
}

.history .profile-info > .wp-block-group,
.history .profile-info > .info-block,
.history .profile-info > .history-block {
    margin: 0;
    background: #f7faf6;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #d1d1d1;
}

.history .info-block h4 {
    border-bottom: 2px solid #41783a;
    margin: 0 0 20px;
    padding-bottom: 6px;
    font-size: 1.4rem;
    color: #41783a;
}

.history .history-block h4 {
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-primary);
    margin: 0 0 20px;
    padding-bottom: 6px;
    font-size: 1.4rem;
}

.history .info-block ul,
.history .history-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.history .info-block li,
.history .history-block li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    line-height: 1.5;
    font-size: 14px;
}

.history .history-block .timeline-year {
    flex-shrink: 0;
    width: 100px;
    color: var(--color-primary);
    border-radius: 20px;
    font-weight: bold;
}

.history .history-block .timeline-desc {
    flex: 1;
    color: var(--color-text);
}


.history .check-list {
    padding-left: 0;
    margin: 10px 0 0;
}

.history .check-list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 10px;
}

.history .check-list li::before {
    content: "";
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex: 0 0 16px;
    background: url("../images/check-mark.svg") no-repeat center / contain;
}

@media (max-width: 768px) {
    .history .profile-hero,
    .history .profile-message,
    .history .profile-info {
        grid-template-columns: 1fr;
    }
}

.office-access {
    padding: 100px 20px;
    background: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    color: #1e293b;
}

.location .access-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

.location .office-info__title,
.location .office-map__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 8px;
}

.location .office-info__title::after,
.location .office-map__title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    margin-top: 10px;
}

.location .info-table {
    background: #f8fafc;
}

.location .info-table th,
.location .info-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.location .info-table th {
    width: 35%;
    background: #f1f5f9;
    font-weight: 600;
}

.location .info-table tr:last-child th:not(:last-child),
.location .info-table tr:last-child td:not(:last-child) {
    border-bottom: 1px solid rgb(30, 41, 59);
}

.location .office-map iframe,
.location .office-map .wp-block-embed__wrapper iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 12px;
}

.location .access-note {
    margin-top: 10px;
    font-size: 14px;
    color: #000;
}

.location .access-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.location .access-item {
    gap: 10px;
}

.location .access-item p {
    margin: 0;
    font-size: 14px;
    color: #1e293b;
}

.location .access-icon {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
}

.location .access-icon img {
    width: 18px;
    height: 18px;
    display: block;
}

@media (max-width: 768px) {
    .location .access-wrapper {
        grid-template-columns: 1fr;
    }

    .location .office-map iframe,
    .location .office-map .wp-block-embed__wrapper iframe {
        height: 250px;
    }
}

.profile-card {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 20px;
    background: #fff;
}

.profile-image {
    width: 140px;
    height: 140px;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--color-border);
    margin-bottom: 10px;
}

.profile-image--tax {
    object-position: var(--profile-tax-position, center top);
}

.profile-image--labor {
    object-position: var(--profile-labor-position, center top);
}

.office-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin-bottom: 14px;
}

.office-image--main {
    object-position: var(--office-main-position, center);
}

.profile-card h4 {
    margin-bottom: 8px;
}

.profile-card ul {
    margin: 0 0 16px;
}

.profile-role {
    display: inline-block;
    margin: 0;
    font-weight: 700;
    color: var(--color-primary);
}

.office-info dl {
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px 12px;
}

.office-info dt {
    font-weight: 700;
}

.office-info dd {
    margin: 0;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--color-border);
}

.fee-table th,
.fee-table td {
    border: 1px solid var(--color-border);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.fee-table thead th {
    background: #edf3fb;
}

.note {
    font-size: 0.92rem;
    color: #000;
    margin-top: 10px;
}

.compact-cards {
    margin: 18px 0;
}

.compact-cards .card {
    text-align: center;
}

.compact-cards .metric {
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.achievements-grid .card--metric {
    border-color: #d7dfeb;
    background: #fff;
}

.achievements-grid .card--metric h3 {
    color: #000;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.achievements-grid .metric {
    color: #0f2948;
    font-size: clamp(1.9rem, 3.6vw, 2.4rem);
}

.achievements-performance {
    background: linear-gradient(180deg, #f2f6fb 0%, #e7eff8 100%);
}

.achievements-performance__reference {
    margin: 0;
}

.achievements-performance__reference img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.achievements-performance__title {
    margin-bottom: 10px;
}

.achievements-performance__lead {
    max-width: 66ch;
    margin: 0 0 18px;
    color: var(--color-text);
}

.achievements-performance__hero {
    margin: 0 0 18px;
    align-items: end;
}

.achievements-performance__mainVisual {
    position: relative;
    margin: 0;
    max-width: 760px;
}

.achievements-performance__mainVisual .wp-block-image {
    margin: 0;
}

.achievements-performance__mainBg img,
.achievements-performance__mainHeadline img,
.achievements-performance__mainBadge img {
    display: block;
    width: 100%;
    height: auto;
}

.achievements-performance__mainHeadline,
.achievements-performance__mainBadge {
    position: absolute;
    inset: 0;
}

.achievements-performance__mainHeadline {
    left: 6%;
    top: 18%;
    width: 70%;
    inset: auto;
}

.achievements-performance__mainBadge {
    right: 7%;
    top: 10%;
    width: 24%;
    inset: auto;
}

.achievements-performance__no1,
.achievements-performance__staff {
    margin: 0;
}

.achievements-performance__staff {
    text-align: right;
}

.achievements-performance__staff img {
    width: min(220px, 100%);
    height: auto;
}

.metric-sub {
    font-size: 0.64em;
    margin-left: 4px;
}

.achievements-note {
    margin: 10px 0 0;
    font-size: 0.8rem;
    color: var(--color-text);
}

.achievements-exact {
    background: transparent;
}

.achievements-exact__header {
    text-align: center;
    margin-bottom: 20px;
}

.achievements-exact__mark {
    margin: 0;
    display: block;
}

.achievements-exact__mark img {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.achievements-exact__title {
    margin: 10px 0;
    font-size: 40px;
}

.achievements-exact__subtitle {
    margin: 8px 0 0;
    color: var(--color-text);
}

.achievements-exact__stats {
    margin: 0;
    gap: 14px;
}

.achievements-exact__statCard {
    height: 100%;
    padding: 20px 18px;
    border: 1px solid #dce4ef;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.achievements-exact__statIcon {
    margin: 0;
    display: flex;
    justify-content: center;
}

.achievements-exact__statIcon img {
    width: 42px;
    height: 42px;
    display: block;
}

.achievements-exact__statLabel {
    margin: 8px 0 0;
    font-weight: 700;
    color: var(--color-text);
}

.achievements-exact__statValue {
    margin: 8px 0 0;
    color: #2364a8;
    font-size: clamp(2.15rem, 4.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.05;
}

.achievements-exact__statValue span {
    margin-left: 4px;
    font-size: 0.52em;
    font-weight: 700;
    color: var(--color-text);
}

.achievements-exact__statText {
    margin: 8px 0 0;
    color: var(--color-text);
    font-size: 0.95rem;
}

.achievements-exact__casesTitle {
    margin: 22px 0 12px;
    text-align: center;
    position: relative;
    z-index: 4;
    width: calc(100% + 140px);
    margin-right: -140px;
}

.achievements-exact__casesTitle::before,
.achievements-exact__casesTitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: min(26%, 220px);
    border-top: 1px solid #bccadc;
}

.achievements-exact__casesTitle::before {
    left: 0;
}

.achievements-exact__casesTitle::after {
    right: 0;
}

.achievements-exact__casesWrap {
    margin: 0;
    gap: 16px;
    align-items: stretch;
    overflow: visible;
}

.achievements-exact__casesWrap > .wp-block-column {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.achievements-exact__cases {
    margin: 0;
    gap: 10px;
    position: relative;
    z-index: 3;
}

.achievements-exact__caseCard {
    height: 100%;
    padding: 14px 12px;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    background: #fff;
}

.achievements-exact__caseHead {
    gap: 10px;
    align-items: center;
}

.achievements-exact__caseIcon {
    margin: 0;
}

.achievements-exact__caseIcon img {
    width: 34px;
    height: 34px;
    display: block;
}

.achievements-exact__caseType {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text);
}

.achievements-exact__caseNum {
    margin: 10px 0 0;
    color: var(--color-text);
    line-height: 1.6;
    font-size: 0.92rem;
}

.achievements-exact__caseNum strong {
    color: #2364a8;
    font-size: 1.85em;
    line-height: 1;
}

.achievements-exact__caseText {
    margin: 10px 0 0;
    color: var(--color-text);
    font-size: 0.9rem;
}

.achievements-exact__sideImage {
    margin: 0;
    height: 100%;
    position: relative;
    z-index: 1;
    margin-left: -64px;
    width: calc(100% + 64px);
    flex: 1;
    display: flex;
}

.achievements-exact__sideImage img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #dce4ef;
    flex: 1;
}

.achievements-exact__sideImage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 48%;
    border-radius: 12px 0 0 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
}

.achievements-exact__note {
    margin: 14px 0 0;
    text-align: center;
    color: var(--color-text);
    font-size: 0.84rem;
}

.achievements-exact__note--left {
    text-align: center;
    margin-top: 10px;
}

.reasons-exact {
    background: transparent;
}

.reasons-exact__mark {
    margin: 0;
    text-align: center;
    color: #2364a8;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.section-title {
    margin: 10px 0;
    font-family: 'Yu Gothic', 'MS Gothic', "Hiragino Sans", 'Hiragino Gothic ProN', 'Hiragino Gothic Pro', sans-serif;
    font-size: 40px;
    text-align: center;
    font-weight: 800;
}

@media (max-width: 768px) {
  .section-title {
      font-size: 28px;
      font-weight: 800;
  }
}

.section-lead {
    margin: 10px 0 15px;
    text-align: center;
    color: #000;
    font-weight: 500;
}

.reasons-exact__cards {
    margin: 22px 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.reasons-exact__cards > .wp-block-column {
    min-width: 0;
}

.reasons-exact__card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid #d9e4f2;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 6px 20px rgba(15, 41, 72, 0.06);
}

.reasons-exact__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #1f63ab;
    color: #fff;
    font-weight: 800;
    display: grid;
    place-items: center;
    z-index: 10;
}

.reasons-exact__thumb {
    margin: 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.reasons-exact__thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.reasons-exact__icon {
    margin: -24px auto 0;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: #eef3fb;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    position: relative;
    z-index: 2;
}

.reasons-exact__cardTitle {
    margin: 10px 14px 0;
    color: var(--color-primary);
    text-align: center;
    font-size: 1.3rem;
}

.reasons-exact__cardText {
    margin: 10px 14px 16px;
    color: #000;
    font-size: 0.95rem;
    line-height: 1.7;
}

.reasons-exact__footer {
    margin: 20px auto;
    width: min(100%, 920px);
    max-width: 920px;
    border-radius: 10px;
    background: #edf3fb;
    padding: 18px 22px;
    text-align: left;
}

.reasons-exact__footerInner {
    gap: 14px;
    align-items: center;
}

.reasons-exact__footerIcon {
    margin: 0;
    flex: 0 0 auto;
}

.reasons-exact__footerIcon img {
    width: 62px;
    height: 62px;
    display: block;
}

.reasons-exact__footerContent {
    min-width: 0;
}

.reasons-exact__footerTitle {
    margin: 0;
    color: #1f63ab;
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
}

.reasons-exact__footerText {
    margin: 10px 0 0;
    color: #000;
}

.reasons.wp-block-buttons {
    margin-top: 15px;
}

.reasons.wp-block-buttons .wp-block-button{
    padding: 0;
}

@media (max-width: 960px) {
    .achievements-performance__mainVisual {
        max-width: 100%;
    }

    .achievements-performance__mainHeadline {
        left: 5%;
        top: 18%;
        width: 74%;
    }

    .achievements-performance__mainBadge {
        right: 4%;
        top: 10%;
        width: 26%;
    }

    .achievements-exact__casesTitle::before,
    .achievements-exact__casesTitle::after {
        width: 18%;
    }

    .achievements-exact__casesTitle {
        width: 100%;
        margin-right: 0;
    }

    .achievements-exact__casesWrap {
        display: block;
    }

    .achievements-exact__sideImage {
        margin-top: 12px;
        margin-left: 0;
        width: 100%;
    }

    .achievements-exact__sideImage img {
        min-height: 220px;
    }

    .reasons-exact__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reasons-exact__footerInner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .reasons-exact__footerContent {
        width: 100%;
    }

    .reasons-exact__footerTitle,
    .reasons-exact__footerText {
        text-align: center;
    }
}

.cta-band {
    padding: 56px 0;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
}

.cta-band .btn--primary {
    background: #fff;
    color: var(--color-primary);
}

.page-content {
    padding: 56px 0 72px;
}

.page-lead {
    margin: 0 0 24px;
    padding: 18px 20px;
    border-left: 4px solid var(--color-primary);
    background: #f7faff;
    border-radius: 8px;
}

.page-lead p {
    margin: 0;
}

.section-panel {
    border-radius: 14px;
    padding: 28px;
}

.section-panel h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.blog-section {
    position: relative;
    padding: 20px;
    overflow: visible;
}

.blog-container {
    max-width: 1320px;
    margin: 0 auto;
}

.blog-section.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.blog-slider.alignfull {
    width: 100%;
    /* margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw); */
    margin-left: auto;
    margin-right: auto;
}

.blog-heading {
    text-align: center;
    margin-bottom: 70px;
}

.blog-heading-icon {
    margin: 0 auto 24px;
}

.blog-heading-icon img {
    width: 176px;
    height: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
}

.blog-grid.blog-grid--slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.wp-block-post-template.blog-grid.blog-grid--slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.blog-grid.blog-grid--slider::-webkit-scrollbar {
    height: 10px;
}

.wp-block-post-template.blog-grid.blog-grid--slider::-webkit-scrollbar {
    height: 10px;
}

.blog-grid.blog-grid--slider::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.25);
    border-radius: 999px;
}

.wp-block-post-template.blog-grid.blog-grid--slider::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.25);
    border-radius: 999px;
}

.blog-grid.blog-grid--slider > .wp-block-column {
    flex: 0 0 calc((100% - 28px * 3) / 4);
    min-width: 280px;
    scroll-snap-align: start;
}

.wp-block-post-template.blog-grid.blog-grid--slider > li {
    flex: 0 0 calc((100% - 28px * 3) / 4);
    min-width: 280px;
    scroll-snap-align: start;
}

.blog-slider {
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}

.blog-slider__navWrap {
    margin: 0;
}

.blog-slider__navWrap .blog-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.blog-slider__navWrap--prev .blog-slider__nav {
    left: 20px;
}

.blog-slider__navWrap--next .blog-slider__nav {
    right: 20px;
}

.blog-slider__navWrap .blog-slider__nav .wp-block-button__link {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.blog-slider__navWrap .blog-slider__nav .wp-block-button__link::before {
    content: "";
    width: 14px;
    height: 14px;
    border-right: 3px solid var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
    transform: rotate(135deg);
}

.blog-slider__navWrap--next .blog-slider__nav .wp-block-button__link::before {
    transform: rotate(-45deg);
}

.blog-slider__nav.is-disabled .wp-block-button__link,
.blog-slider__nav .wp-block-button__link[aria-disabled="true"] {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.blog-grid > .wp-block-column {
    min-width: 0;
}

.blog-card {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid #e5edf8;
}

.blog-image {
    margin: 0;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.blog-category {
    position: absolute;
    left: 20px;
    bottom: 20px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 42px;
    padding: 0 18px;
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
}

.blog-card h4 {
    margin: 10px 10px 5px;
    font-weight: 700;
}

.blog-card .wp-block-post-excerpt {
    margin: 0 10px 5px;
    font-size: 14px;
}

.blog-date {
    margin: 0 10px 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.blog-date::before {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2016%2016'%3E%3Cpath%20d%3D'M5%200.75a0.75%200.75%200%200%201%200.75%200.75V3h4.5V1.5a0.75%200.75%200%200%201%201.5%200V3h0.75A2.25%202.25%200%200%201%2015%205.25v7.5A2.25%202.25%200%200%201%2012.75%2015H3.25A2.25%202.25%200%200%201%201%2012.75v-7.5A2.25%202.25%200%200%201%203.25%203H4.5V1.5A0.75%200.75%200%200%201%205%200.75ZM2.5%206v6.75c0%200.414%200.336%200.75%200.75%200.75h9.5c0.414%200%200.75-0.336%200.75-0.75V6h-11Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2016%2016'%3E%3Cpath%20d%3D'M5%200.75a0.75%200.75%200%200%201%200.75%200.75V3h4.5V1.5a0.75%200.75%200%200%201%201.5%200V3h0.75A2.25%202.25%200%200%201%2015%205.25v7.5A2.25%202.25%200%200%201%2012.75%2015H3.25A2.25%202.25%200%200%201%201%2012.75v-7.5A2.25%202.25%200%200%201%203.25%203H4.5V1.5A0.75%200.75%200%200%201%205%200.75ZM2.5%206v6.75c0%200.414%200.336%200.75%200.75%200.75h9.5c0.414%200%200.75-0.336%200.75-0.75V6h-11Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.blog-button-wrap {
    text-align: center;
    margin-top: 70px;
}

.blog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 420px;
    height: 82px;
    padding: 0 48px;
    border: 2px solid var(--color-primary);
    border-radius: 18px;
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
    background: #fff;
    position: relative;
    gap: 18px;
}

.blog-button::after {
    content: "";
    width: 18px;
    height: 18px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(-45deg);
    display: inline-block;
    margin-top: 2px;
}

.blog-button:hover {
    background: var(--color-primary);
    color: #fff;
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-grid.blog-grid--slider > .wp-block-column {
        flex-basis: 360px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 80px 20px;
    }

    .blog-heading {
        margin-bottom: 50px;
    }

    .blog-heading p {
        font-size: 15px;
        line-height: 1.8;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-grid.blog-grid--slider {
        display: flex;
        gap: 18px;
        padding-inline: 6px;
    }

    .blog-grid.blog-grid--slider > .wp-block-column {
        flex-basis: 86vw;
        min-width: 280px;
    }

    .blog-slider__nav {
        display: none;
    }

    .blog-image img {
        height: 220px;
    }

    .blog-card h3 {
        font-size: 22px;
        margin: 24px 24px 16px;
    }

    .blog-card > p {
        font-size: 14px;
        margin: 0 24px 24px;
    }

    .blog-date {
        margin: 0 24px 24px;
    }

    .blog-button {
        width: 100%;
        min-width: 0;
        height: 68px;
        font-size: 18px;
    }
}

.entry-title {
    margin: 0 0 20px;
    line-height: 1.4;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > * + * {
    margin-top: 0;
}

.site-footer {
    background: linear-gradient(180deg, #0f2a44, #0a1f33);
    color: #fff;
    padding-top: 40px;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer .footer-cta {
    background: #f1f5f9;
    color: #1e293b;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.site-footer .footer-cta__inner {
    margin: 0;
}

.site-footer .cta-text {
    gap: 16px;
}

.site-footer .footer-cta__icon {
    width: 44px;
    height: 44px;
    margin: 0;
    flex: 0 0 44px;
}

.site-footer .footer-cta__icon img {
    width: 44px;
    height: 44px;
    display: block;
}

.site-footer .cta-title {
    font-weight: 700;
    margin: 0;
}

.site-footer .cta-sub {
    font-size: 14px;
    color: #000;
    margin: 6px 0 0;
}

.site-footer .cta-actions {
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
}

.site-footer .cta-tel {
    gap: 10px;
    flex: 0 0 auto;
}

.site-footer .cta-btns {
    flex: 0 0 auto;
}

.site-footer .cta-tel__icon {
    width: 22px;
    height: 22px;
    margin: 0;
    flex: 0 0 22px;
}

.site-footer .cta-tel__icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.site-footer .cta-tel__number {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: 0.02em;
}

.site-footer .cta-btns {
    margin: 0;
}

.site-footer .cta-btn .wp-element-button {
    background: var(--color-primary);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.site-footer .cta-btn__inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-footer .cta-btn__icon,
.site-footer .cta-btn__chevron {
    width: 18px;
    height: 18px;
    display: block;
}

.site-footer .footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.site-footer .company__head .wp-block-heading {
    margin: 5px 0;
}

.site-footer .company__mark {
    width: 44px;
    height: 44px;
    margin: 0;
    flex: 0 0 44px;
}

.site-footer .company__mark img {
    width: 44px;
    height: 44px;
    display: block;
}

.site-footer .company .sub {
    font-size: 14px;
    color: #cbd5f5;
    margin: 4px 0 0;
}

.site-footer .company .desc {
    font-size: 14px;
    margin: 14px 0;
    line-height: 1.8;
}

.site-footer .company .wp-block-image {
    margin: 5px 0;
}

.site-footer .company .wp-block-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.site-footer .contact {
    font-size: 13px;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 4px;
    --wp--style--block-gap: 0px;
}

.site-footer .contact-item {
    gap: 10px;
    margin: 0;
}

.site-footer .contact > * {
    margin: 0;
}

.site-footer .contact > * + * {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.site-footer .contact-icon {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
}

.site-footer .contact-icon img {
    width: 16px;
    height: 16px;
    display: block;
}

.site-footer .contact-item a {
    text-decoration: none;
    color: #e2e8f0;
}

.site-footer .contact-item p {
    margin: 0;
    color: #e2e8f0;
}

.site-footer .footer-col h4 {
    margin: 0 0 10px;
    font-size: 16px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer .footer-col h4::after {
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    margin-top: 10px;
}

.site-footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 14px;
}

.site-footer .footer-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(203, 213, 245, 0.95);
}

.site-footer .footer-list a {
    color: #cbd5f5;
    text-decoration: none;
    font-size: 14px;
}

.site-footer .footer-list a:hover {
    color: #fff;
}

.site-footer .footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 18px;
    margin: 30px 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    align-items: stretch;
}

.site-footer .footer-links > * {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.site-footer .footer-link {
    border: 1px solid rgba(203, 213, 245, 0.65);
    padding: 18px 18px;
    border-radius: 8px;
    height: 100%;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 !important;
}

.site-footer .footer-link__left {
    gap: 12px;
    display: flex;
    align-items: center;
}

.site-footer .footer-link__icon {
    width: 22px;
    height: 22px;
    margin: 0;
    flex: 0 0 22px;
}

.site-footer .footer-link__icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.site-footer .footer-link p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.site-footer .footer-link__chevron {
    width: 14px;
    height: 14px;
    margin: 0;
    flex: 0 0 14px;
}

.site-footer .footer-link__chevron img {
    width: 14px;
    height: 14px;
    display: block;
}

.site-footer .footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #000;
    padding: 20px 0 46px;
}

.site-footer .footer-bottom p {
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.site-footer .footer-contact-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    justify-items: center;
    background: rgba(10, 31, 51, 0.55);
    margin: 0;
    z-index: 50;
    padding: 5px 0;
    display: none;
}

.site-footer .footer-contact-banner .footer-banner-block {
  background: white;
  border-radius: 15px;
  padding: 5px 15px;
  line-height: 1;
}

@media (max-width: 768px) {
  .site-footer .footer-contact-banner {
    display: flex;
    justify-content: center;
  }
}

.site-footer .footer-contact-banner figure img {
    height: 50px;
    width: auto;
}

.site-footer .footer-contact-banner p {
  color: var(--color-primary);
  font-weight: 800;
}

.site-footer .footer-scrolltop {
    position: fixed;
    right: 24px;
    bottom: 75px;
    margin: 0;
    z-index: 50;
}

.site-footer .footer-scrolltop__btn .wp-element-button {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(10, 31, 51, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-footer .footer-scrolltop__btn img {
    width: 22px;
    height: 22px;
    display: block;
}

@media (max-width: 768px) {
    .site-footer .footer-cta {
        padding: 18px 18px;
    }

    .site-footer .footer-cta__inner {
        flex-wrap: wrap;
    }

    .site-footer .cta-text {
        justify-content: center;
    }

    .site-footer .cta-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

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

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

/* Mobile hamburger and popup menu */
.nav-toggle {
  display:none;
  background:transparent;
  border:0;
  cursor:pointer
}
.nav-toggle__bar {
  display:block;
  width:24px;
  height:2px;
  background:#1f2937;
  margin:4px 0;
  transition:transform .25s ease,opacity .25s ease;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform:translateY(6px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity:0;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform:translateY(-6px) rotate(-45deg);
}

.hero-mid img {
  object-position: 100% top;
}

@media (min-width: 769px) {
  .hero.sp-logo {
    display: none;
  }
}

@media (max-width: 768px) {
	.nav-toggle {
    display:inline-block;
    align-items:center;
  }
  .hero-title span {
    display: block;
  }

  .hero-nav {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  .hero-nav .bottom-list {
    gap: 0;
  }

  #section_reason>.wp-block-media-text {
    margin-top: 2em;
  }

  .hero-title span:last-child::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background: var(--color-primary);
    margin-top: 8px;
  }

    .section-detail {
    padding: 40px 0 20px;
  }

  .hero-sub span {
    display: block;
    font-size: 1.2rem;
  }
  .hero-badges img {
    width: 100%;
    height: auto;
    max-width: 150px;
  }

	.site-header .primary-nav {
    position:fixed;
    top:0;
    right:0;
    height:100%;
    width:80%;
    max-width:360px;
    background:#fff;
    transform:translateX(100%);
    transition:transform .28s ease;
    z-index:9999;
    padding:2rem 1.5rem;
    overflow:auto;box-shadow:-6px 0 18px rgba(0,0,0,0.12)
  }
	.site-header .primary-nav.is-open {
    transform:translateX(0);
    transition:transform .25s ease,opacity .25s ease;
  }
	/* hide desktop inline nav if present */
	.site-header .header-right { display: none; }

  .site-brand__nameJp {
    font-size: 1.3rem;
  }

  .site-brand__nameEn {
    font-size: 0.7rem;
  }

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

  .hero-nav .bottom-list {
      flex-wrap: wrap;
  }

  .hero-nav .bottom-list > .wp-block-column {
      flex-basis: 50% !important;
  }

  .hero-nav .bottom-item {
    justify-content: start;
    margin-left: 30px;
  }
  
  .primary-nav {
      display: block;
      width: 100%;
      margin: 0;
      justify-self: stretch;
  }

  .primary-nav ul {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
  }
  
  .hero .hero-mid .wp-block-cover__background {
    background: url('../images/firstview_logo_sp.png') no-repeat 100% top;
  }

  .hero.pc-logo {
    display: none;
  }

  .hero-mid {
    height: 100%;
    aspect-ratio: 3/4;
  }
  .wp-block-post-content {
      margin-top: 0;
      /* padding-top: var(--header-overlay-height-sp); */
  }

  .hero__title {
      font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .wp-block-columns.grid.grid--3 {
      grid-template-columns: 1fr;
  }

  .grid--3 {
      grid-template-columns: 1fr;
  }

  .site-header__inner {
      grid-template-columns: auto 30px;
      gap: 12px 14px;
      min-height: auto;
      padding: 8px 0;
  }

  .header-actions {
      width: 100%;
      display: grid;
      gap: 8px;
  }

  .header-cta {
      width: 100%;
  }

  .header-right {
      grid-column: 1 / -1;
      width: 100%;
      gap: 10px;
  }

  /* Mobile menu popup styles */
  .mobile-nav-wrapper {
      position: fixed;
      top: 0;
      right: 0;
      height: 100%;
      width: 80%;
      max-width: 360px;
      background: #fff;
      transform: translateX(100%);
      transition: transform 0.28s ease;
      z-index: 9999;
      padding: 2rem 1.5rem;
      overflow: auto;
      box-shadow: -6px 0 18px rgba(0, 0, 0, 0.12);
      display: flex;
      flex-direction: column;
  }

  .mobile-nav-wrapper.is-open {
      transform: translateX(0);
  }

  .mobile-nav__menu {
      display: flex !important;
      flex-direction: column !important;
      gap: 20px !important;
      margin: 0 !important;
      padding: 0 !important;
      align-items: flex-start;
  }

  .mobile-nav__footer {
      padding-top: 1rem;
      border-top: 1px solid #e5e7eb;
      margin-top: auto;
  }

  .mobile-cta--contact {
      width: 100%;
      display: block;
  }

  .mobile-cta--contact .wp-block-button__link {
      background: var(--color-secondary) !important;
      border-color: var(--color-secondary) !important;
      color: white;
      width: 100%;

  }

  .mobile-cta--contact .wp-block-button__link:hover {
      background: var(--color-secondary-dark) !important;
      border-color: var(--color-secondary-dark) !important;
  }

  .mobile-cta--contact .wp-block-button__link::before {
      content: "";
      width: 18px;
      height: 18px;
      background-image: url("../images/hero-btn-chat.svg");
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      flex: 0 0 18px;
  }

    .header-actions {
        width: 100%;
        display: grid;
        gap: 8px;
    }

    .header-cta {
        width: 100%;
    }

    .cta-strip__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .inquiry-docs-band {
        padding: 20px 0 26px;
    }

    .inquiry-docs__guideBookWrap {
        position: static;
        margin: 0 0 10px;
    }

    .inquiry-docs__inner {
        padding: 16px 12px 12px;
    }

    .inquiry-docs__telNumber {
        font-size: clamp(1.45rem, 7vw, 1.85rem);
    }

    .fee-table {
        font-size: 0.9rem;
    }

    .hero-badge {
        position: static;
        margin-top: 10px;
    }

    .card-thumb {
        aspect-ratio: 4 / 3;
    }

    .office-image {
        aspect-ratio: 16 / 9;
    }

    .section-panel {
        padding: 20px;
    }

    .office-info dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Hide mobile menu on desktop */
@media (min-width: 783px) {
    .mobile-nav-wrapper {
        display: none !important;
    }
    .nav-toggle {
        display: none !important;
    }
}

/* Service section styles from feedback */
.services {
  padding: 80px 20px;
  background: #f8fafc;
  font-family: "Noto Sans JP", sans-serif;
}

/* .container {
  max-width: 1100px;
  margin: 0 auto;
} */

/* Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* Card */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 18px 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  transition: 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e0ecff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -44px auto 12px;
}

.service-card__icon img {
  width: 36px;
  height: 36px;
  display: block;
}

.service-card .wp-block-image {
  margin: 0 0 12px;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .service-card__icon {
  margin: 0 auto 0 auto;
}

.service-card .size-full img {
  width: 60%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.service-card .size-large img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 800;
  text-align: center;
}

.service-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e7eff8;
}

.service-card__more {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
}

.service-card__link {
  color: inherit;
  text-decoration: none;
}

.service-card__link:hover {
  text-decoration: underline;
}

.service-card__arrow {
  margin: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #cfe0fb;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card__arrow img {
  width: 16px;
  height: 16px;
  display: block;
}

/* CTA */
.service-cta {
  margin-top: 60px;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  text-align: center;
}

.service-cta__row {
  margin: 0;
  padding: 18px 18px;
  background: linear-gradient(90deg, #eef6ff 0%, #eaf2ff 100%);
  border-radius: 18px;
  align-items: stretch;
  gap: 14px;
}

.service-cta__row > .wp-block-column {
  margin: 0;
}

.service-cta__left {
  height: 100%;
  padding: 6px 8px;
  gap: 14px;
  align-items: center;
}

.service-cta__headset {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ddebff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-cta__headset img {
  width: 30px;
  height: 30px;
  display: block;
}

.service-cta__leftText {
  text-align: left;
}

.service-cta__lead {
  margin: 0;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.service-cta__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: #000;
}

.service-cta__phone {
  height: 100%;
  border-radius: 12px;
  padding: 14px 14px;
  background: #1e3a8a;
  color: #fff;
  text-align: left;
}

.service-cta__phoneKicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.95;
}

.service-cta__phoneRow {
  margin-top: 6px;
  gap: 14px;
  align-items: center;
}

.service-cta__phoneMain {
  gap: 10px;
  align-items: center;
}

.service-cta__phoneIcon {
  margin: 0;
  width: 22px;
  height: 22px;
}

.service-cta__phoneIcon img {
  width: 22px;
  height: 22px;
  display: block;
}

.service-cta__phoneNum {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.service-cta__phoneTime {
  margin: 6px 0 0;
  font-size: 11px;
  opacity: 0.95;
}

.service-cta__mail {
  height: 100%;
  border-radius: 12px;
  padding: 14px 14px;
  background: #f59e0b;
  color: #fff;
  text-align: left;
}

.service-cta__mailKicker {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
}

.service-cta__mailSub {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.95;
}

.service-cta__mailIcon {
  margin: 0;
  width: 22px;
  height: 22px;
  opacity: 0.98;
}

.service-cta__mailIcon img {
  width: 22px;
  height: 22px;
  display: block;
}

.service-section {
  padding: 10px 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
}

.service-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.service-section .service-header {
  text-align: center;
  margin-bottom: 20px;
}

.service-section .service-subtitle {
  font-size: 14px;
  letter-spacing: 4px;
  color: #2d63d3;
  margin-bottom: 10px;
}

.service-section .service-line {
  width: 70px;
  height: 4px;
  background: #2d63d3;
  margin: 0 auto 35px;
  border-radius: 10px;
  border: 0;
}

.service-section .service-description {
  font-size: 18px;
  line-height: 2;
  color: #333;
}

.service-section .service-category {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  gap: 25px;
}

.service-section .service-category__line {
  width: 300px;
  height: 1px;
  background: #234eaf;
  border: 0;
}

.service-section .service-category h3 {
  font-size: 54px;
  color: #0b2154;
  font-weight: 700;
  white-space: nowrap;
  margin: 0;
}

.service-section .service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-section .service-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  transition: all .3s ease;
  height: auto;
  display: block;
  text-align: left;
}

.service-section .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.service-section .service-card h4 {
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-primary);
  margin: 0 0 20px;
  font-weight: 500;
  text-align: center;
}

.service-section .service-card h4 small {
  display: block;
  font-size: 14px;
  margin-top: 5px;
  font-weight: 700;
}

.service-section .service-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-section .service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-section .service-card p {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

.service-section .service-bottom-box {
  margin-top: 50px;
  background: #fff;
  border-radius: 14px;
  padding: 35px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.service-section .check-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2d63d3;
  color: #fff;
  font-size: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-section .bottom-text p {
  font-size: 20px;
  margin: 0 0 8px;
  line-height: 1.8;
}

.service-section .bottom-text strong {
  color: #2d63d3;
  font-size: 22px;
}

.service-section .bottom-text__strong {
  color: #2d63d3;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 1024px) {
  .service-section .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-section .service-title {
    font-size: 52px;
  }

  .service-section .service-category h3 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .service-section {
    padding: 70px 20px;
  }

  .service-section .service-title {
    font-size: 40px;
  }

  .service-section .service-description {
    font-size: 15px;
    line-height: 1.8;
  }

  .service-section .service-category {
    gap: 12px;
  }

  .service-section .service-category__line {
    width: 80px;
  }

  .service-section .service-category h3 {
    font-size: 32px;
  }

  .service-section .service-grid {
    grid-template-columns: 1fr;
  }

  .service-section .service-card {
    padding: 24px;
  }

  .service-section .service-thumb {
    height: 200px;
  }

  .service-section .service-card h4 {
    font-size: 24px;
  }

  .service-section .service-card p {
    font-size: 1rem;
  }

  .service-section .service-bottom-box {
    flex-direction: column;
    text-align: center;
  }

  .service-section .bottom-text p {
    font-size: 16px;
  }

  .service-section .bottom-text strong {
    font-size: 18px;
  }
}

.service-cta__chevron {
  margin: 0;
  width: 18px;
  height: 18px;
  opacity: 0.95;
}

.service-cta__chevron img {
  width: 18px;
  height: 18px;
  display: block;
}

.cta-buttons {
  margin-top: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 5px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.btn.tel {
  background: #1e3a8a;
  color: #fff;
}

.btn.contact {
  background: #f59e0b;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card__icon {
    margin-top: 0;
  }
}

.faq {
  padding: 20px 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header .sub {
  color: var(--color-primary);
  letter-spacing: 2px;
  font-weight: bold;
}

.faq-header p {
  color: #000;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.faq-item > summary {
  list-style: none;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary {
  width: 100%;
  padding: 18px 56px 18px 20px;
  font-size: 16px;
  text-align: left;
  border: none;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  color: #0f172a;
  font-weight: 600;
}

.faq-item > summary::before {
  content: "Q";
  background: var(--color-primary);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border: 1px solid var(--color-primary);
  border-radius: 999px;
}

.faq-item > summary span.toggle {
  display: none;
}

.faq-item > summary::marker {
  content: "";
}

.faq-item > summary + .faq-answer {
  display: flex;
  padding: 0 20px;
  border-top: 1px solid #e2e8f0;
  gap: 10px;
  overflow: hidden;
  height: 0;
  transition: height 0.28s ease, padding 0.28s ease;
}



.faq .a-icon {
  background: #93c5fd;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex: 0 0 auto;
}

.faq .faq-answer p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.faq-item > summary::before {
  margin-right: 10px;
}

.faq-item > summary .q-icon {
  display: none;
}

.faq-item > summary::before,
.faq-item > summary::after {
  box-sizing: border-box;
}

.faq-item > summary::after {
  background:
    linear-gradient(var(--color-primary), var(--color-primary)) center / 14px 2px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) center / 2px 14px no-repeat;
}

.faq-item[open] > summary::after {
  background:
    linear-gradient(var(--color-primary), var(--color-primary)) center / 14px 2px no-repeat;
}

.faq-cta {
  margin-top: 50px;
  background: #e0ecff;
  padding: 25px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq .cta-text h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.faq .cta-text p {
  color: #475569;
  margin: 0;
}

.faq .cta-btn {
  background: transparent;
  padding: 0;
}

.faq .cta-btn .wp-block-button__link {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 768px) {
  .faq-cta {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.voices {
  padding: 20px 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.voices .container {
  max-width: 1100px;
  margin: 0 auto;
}

.voices-header {
  text-align: center;
  margin-bottom: 50px;
}

.voices-header .sub {
  color: var(--color-primary);
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 14px;
}

.voices-header p {
  color: var(--color-text);
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.voices-grid.wp-block-columns {
  display: grid;
  margin-bottom: 0;
}

.voices-grid.wp-block-columns > .wp-block-column {
  width: auto;
  flex-basis: auto;
  padding: 20px;
}

.voices-grid .wp-block-column {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.voices-grid .wp-block-column:hover {
  transform: translateY(-6px);
}

.voice-image img {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
}

.voice-content {
  margin-top: 20px;
}

.voices .tags {
  margin-bottom: 10px;
}

.voice-card>figure {
  flex: 0 0 140px;
}

.voices .tags span {
  display: inline-block;
  background: #e0ecff;
  color: var(--color-primary);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  margin-right: 5px;
}

.voice-content h3 {
  font-size: 18px;
  margin: 10px 0;
  line-height: 1.6;
  color: #1e3a8a;
}

.voice-content p {
  font-size: 14px;
  line-height: 1.8;
}

.voices .rating {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.voices .stars {
  color: #f59e0b;
  font-size: 16px;
}

.voices .rating strong {
  font-size: 18px;
  color: #f59e0b;
}

.voices-cta {
  margin-top: 60px;
  background: #e0ecff;
  padding: 30px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.voices .cta-text h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.voices .cta-text p {
  color: #475569;
}

.voices .cta-btn {
  background: transparent;
  padding: 0;
}

.voices .cta-btn .wp-block-button__link {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
}

.voices-note {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #000;
}

@media (max-width: 768px) {
  .voices-grid {
    grid-template-columns: 1fr;
  }

  .voices-cta {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Pricing Section */

.pricing .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.pricing-header {
  text-align: center;
  margin-bottom: 50px;
}

.pricing-header h2 {
  font-size: 40px;
  margin: 10px 0;
}

.pricing-header .desc {
  color: #666;
}





.pricing-remarks {
  margin-bottom: 30px;
}

.pricing-remarks__note {
  margin: 10px 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
}

.pricing-more .btn {
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 14px 28px;
  border-radius: 999px;
}

.pricing-more .btn::after {
  content: "›";
  display: inline-block;
  margin-left: 12px;
  font-size: 18px;
  line-height: 1;
}

.pricing-more .btn:hover {
  background: var(--color-primary-dark);
}

/* Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-grid.pricing-grid--new {
  gap: 26px;
}

.pricing-grid.pricing-grid--new > .wp-block-column {
  display: flex;
}

.pricing-grid.pricing-grid--new > .wp-block-column > .pricing-plan {
  flex: 1;
}

.pricing-plan {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 26px 26px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  padding: 6px 22px;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}

.pricing-plan__title {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: bold;
  margin: 8px 0 6px;
  line-height: 1.35;
  min-height: 2.8em;
}

.pricing-plan__lead {
  margin: 0;
  font-size: 13px;
  color: #334155;
  min-height: 3.4em;
}

.pricing-plan__price {
  margin: 18px 0 12px;
  font-size: 36px;
  font-weight: bold;
  color: #0f172a;
  line-height: 1;
  min-height: 1.2em;
}

.pricing-plan__price--highlight {
  color: var(--color-primary);
}

.pricing-plan__price--highlight {
  position: relative;
  display: inline-block;
  padding: 0 10px;
}

.pricing-plan__price--highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(253, 224, 71, 0.55);
  z-index: -1;
}

.pricing-plan__yen {
  font-size: 16px;
  font-weight: 800;
  margin-left: 6px;
}

.pricing-plan__list {
  text-align: left;
  margin: 14px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid #e2e8f0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.pricing-plan__list li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #0f172a;
}

.pricing-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--color-primary);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2020%2020'%3E%3Cpath%20fill%3D'black'%20d%3D'M7.629%2013.314%203.98%209.665l-1.414%201.414%205.063%205.063%2010-10-1.414-1.414z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2020%2020'%3E%3Cpath%20fill%3D'black'%20d%3D'M7.629%2013.314%203.98%209.665l-1.414%201.414%205.063%205.063%2010-10-1.414-1.414z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 12px 12px;
  mask-size: 12px 12px;
  -webkit-mask-position: center;
  mask-position: center;
}

.pricing-plan__note,
.pricing-plan__quote {
  margin: 14px 0 0;
  font-size: 13px;
  color: #334155;
  text-align: left;
  line-height: 1.8;
  min-height: 3.6em;
}

.pricing-plan__features {
  margin-top: 18px;
  margin-bottom: 0 !important;
  gap: 12px;
}

.pricing-plan__features.pricing-plan__features--stack {
  flex-direction: column;
}

.pricing-plan__features.pricing-plan__features--stack > .wp-block-column {
  flex-basis: auto !important;
  width: 100%;
}

.pricing-plan__features > .wp-block-column {
  padding: 0;
}

.pricing-plan__feature {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
}

.pricing-plan__featureIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #dbeafe;
  font-weight: 900;
}

.pricing-plan--recommended {
  border: 2px solid var(--color-primary);
}

.pricing-grid > .wp-block-column {
  display: flex;
}

.pricing-grid > .wp-block-column > .card {
  flex: 1;
}

/* Card */
.pricing .card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.pricing .card.featured {
  border: 2px solid var(--color-primary);
}

/* Badge */
.pricing .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-primary);
  color: #fff;
  padding: 7px 22px;
  border-radius: 7px;
  font-size: 12px;
  z-index: 2;
}

.pricing .card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #dbeafe;
  display: grid;
  place-items: center;
}

.pricing .card .icon::before {
  content: "";
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.pricing .card .icon--light::before {
  background-image: url("../images/pricing-icon-light.svg");
}

.pricing .card .icon--standard::before {
  background-image: url("../images/pricing-icon-standard.svg");
}

.pricing .card .icon--premium::before {
  background-image: url("../images/pricing-icon-premium.svg");
}

/* Text */
.pricing .card h3 {
  font-size: 20px;
  margin: 15px 0 5px;
  color: var(--color-primary);
}

.small {
  color: var(--color-text);
  font-size: 14px;
}

/* Price */
.price {
  font-size: 36px;
  font-weight: bold;
  margin: 20px 0 5px;
}

.price span {
  font-size: 16px;
}

.price.main {
  color: var(--color-primary);
}

.tax {
  font-size: 12px;
  color: var(--color-text);
}

/* List */
.pricing .card ul {
  margin: 18px 0 20px;
  padding: 18px 0 0;
  list-style: none;
  text-align: left;
  border-top: 1px solid #e5e7eb;
}

.pricing .card .wp-block-buttons {
  margin-top: auto;
}

.pricing .card ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.pricing .card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.detail-btn .wp-block-button.btn {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: center;
}

.detail-btn .wp-block-button.btn.outline,
.detail-btn .wp-block-button.btn.primary {
  border: 0;
  background: transparent;
}

.detail-btn .wp-block-button.btn .wp-block-button__link {
  width: auto;
  display: inline-block;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  background: var(--color-primary);
}

.detail-btn .wp-block-button.btn .wp-block-button__link:hover {
  background: var(--color-primary-dark);
}

.detail-btn .wp-block-button.btn .wp-block-button__link::after {
  content: "›";
  background: #0d6ed6;
  border-radius: 50%;
  font-size: 18px;
  padding: 8px 17px;
  margin-left: 10px;
  margin-right: -16px;
}

.detail-btn .wp-block-button.btn.outline .wp-block-button__link {
  background: #fff;
  border: 1px solid #bfdbfe;
  color: var(--color-primary);
}

.wp-block-button.btn.primary .wp-block-button__link {
  background: var(--color-primary);
  color: #fff;
}

.wp-block-button.btn.primary .wp-block-button__link:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* Buttons */
.btn {
  display: block;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
  font-weight: bold;
}

.btn.outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}


.pricing-note.pricing-note--new .pricing-note__icon {
  background: var(--color-primary);
  color: #fff;
}

/* Note */
.pricing-note {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 25px;
  line-height: 1.7;
  justify-content: center;
  gap: 14px;
  max-width: 980px;
}

.pricing-note__icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.pricing-note__text {
  margin: 0;
  max-width: 820px;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing .card.featured {
    transform: none;
  }
}

.pricing-detail {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #334155;
  background: #fff;
}

.pricing-detail__hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
}

.pricing-detail__hero img {
  width: 100%;
  height: auto;
  display: block;
}

.pricing-detail__inner {
  padding-left: 20px;
  padding-right: 20px;
}

.pricing-detail__header {
  padding-top: 56px;
}

.pricing-detail__title {
  font-size: 32px;
  margin: 0 0 16px;
  position: relative;
}

.pricing-detail__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  margin-top: 10px;
}

.pricing-detail__lead {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #c7d2fe;
}

.pricing-detail__blocks {
  margin-top: 16px;
}

.pricing-detail__block {
  padding: 28px 0;
  border-bottom: 1px solid #c7d2fe;
}

.pricing-detail__blockHeader {
  gap: 16px;
  margin-bottom: 12px;
}

.pricing-detail__no {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 22px;
  margin: 0;
  position: relative;
  padding-right: 18px;
  line-height: 1;
}

.pricing-detail__no::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: #cbd5e1;
}

.pricing-detail__blockTitle {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.pricing-detail__twoCol {
  margin: 0;
  gap: 28px;
}

.pricing-detail__twoCol > .wp-block-column {
  padding: 0;
}

.pricing-detail__twoCol p,
.pricing-detail__twoCol ul {
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}

.pricing-detail__note {
  margin-top: 10px;
  font-size: 12px;
  color: #000;
}

.pricing-detail__priceBox {
  text-align: left;
}

.pricing-detail__price {
  font-size: 22px;
  color: var(--color-primary);
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.pricing-detail__subnote {
  margin: 6px 0 0;
  font-size: 12px;
  color: #334155;
}

.pricing-detail__list {
  margin: 0;
  padding-left: 18px;
}

.pricing-detail__list li {
  margin: 0;
}

.pricing-detail__etc {
  margin-top: 10px;
  font-size: 13px;
  text-align: right;
}

.pricing-detail__table {
  margin: 0;
}

.pricing-detail__table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.pricing-detail__table th,
.pricing-detail__table td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: center;
}

.pricing-detail__table th {
  background: #f8fafc;
  font-weight: 700;
}

.pricing-detail__notes {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 3px;
  font-size: 12px;
  color: #000;
  line-height: 1.7;
}

.pricing-detail__notes p {
  margin: 6px 0 0;
}

.pricing-detail__notes p:first-child {
  margin-top: 0;
}

.pricing-detail__cta {
  margin-top: 22px;
  padding: 22px 18px;
  border-radius: 3px;
  background: #f1f5f9;
  text-align: center;
}

.pricing-detail__ctaText {
  margin: 0;
  margin-bottom: 12px;
  font-size: 12px;
  color: #1e3a8a;
  font-weight: 700;
}

.pricing-detail__ctaBtn .wp-block-button__link {
  min-width: 320px;
  padding: 14px 28px;
  background: var(--color-primary);
  border: 0;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
}

.pricing-detail__ctaBtn .wp-block-button__link::after {
  content: "›";
  margin-left: 14px;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 768px) {
  .pricing-detail__twoCol {
    flex-direction: column;
  }

  .pricing-detail__ctaBtn .wp-block-button__link {
    min-width: 0;
    width: 100%;
  }

  .pricing-detail__etc {
    text-align: left;
  }
}

/* Flow Section */
.flow-section {
  font-family: "Noto Sans JP", sans-serif;
  color: #1e293b;
}

.flow-section-hint {
  padding-top: 40px;
}

.flow-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.flow-section .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.flow-section .section-label {
  display: inline-block;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.flow-section .section-heading h2 {
  font-size: 40px;
  margin: 10px 0;
}

.flow-section .section-heading .desc {
  color: #000;
  font-size: 16px;
}

.flow-section .deadline-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fffbea;
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 60px;
}

.flow-section .deadline-icon {
  font-size: 32px;
  margin: 0;
}

.flow-section .deadline-box p {
  margin: 0;
}

.flow-section .deadline-box strong {
  color: #d97706;
  font-size: 24px;
}

.flow-section .flow-timeline {
  position: relative;
}

.flow-section .flow-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #cbd5e1;
}

.flow-section .flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 320px;
  gap: 30px;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.flow-section .flow-item > * {
  min-width: 0;
}

.flow-section .flow-number {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-section .flow-content h3 {
  font-size: 28px;
  margin: 0 0 16px;
  color: var(--color-primary);
  line-height: 1.4;
}

.flow-section .flow-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #475569;
}

.flow-section .flow-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.flow-section .flow-support {
  display: block;
  margin-top: 70px;
}

.flow-section .flow-support__columns.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.flow-section .flow-support__columns.wp-block-columns > .wp-block-column {
  width: auto;
  flex-basis: auto;
}

.flow-section .support-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
  height: 100%;
}

.flow-section .support-icon {
  font-size: 42px;
  margin-bottom: 20px;
}

.flow-section .support-card h4 {
  font-size: 19px;
  margin: 0 0 14px;
  color: var(--color-primary);
}

.flow-section .support-card p {
  margin: 0;
  color: #000;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .flow-section .flow-item {
    grid-template-columns: 1fr;
    padding: 1em;
  }

  .flow-section .flow-timeline::before {
    display: none;
  }

  .flow-section .flow-number {
    margin-bottom: 10px;
  }

  .flow-section .flow-image img {
    height: 240px;
  }

  .flow-section .flow-support__columns.wp-block-columns {
    grid-template-columns: 1fr;
  }

  .flow-section .section-heading h2 {
    font-size: 32px;
  }
}




:root {
  --site-blue: #7ba8d6;
  --site-blue-dark: #ff7474;
  --site-blue-light: #f4f8fc;
  --site-border: #d9e4ef;
  --site-text: #1e293b;
  --site-subtext: #64748b;
  --site-radius: 18px;
}



.contact-form {
  width: 100%;
  background: #f5f5f5;
  border: 1px solid var(--site-border);
  padding: 10px 20px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
  max-width: 900px;
  margin: 0 auto;
}


.form-row p {
  margin: 0;
}

.form-row{
    display:flex;
    align-items: center;
    gap:24px;
    padding:10px 0;
    border-bottom:1px solid #E8EDF5;
}

.form-label {
  width: 240px;
  flex-shrink: 0;
}

.form-label p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
}
/* 
.required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f65e5e;
} */

.form-input {
  flex: 1;
}

/* All input types, select, and textarea */
.form-input input,
.form-input select,
.form-input textarea {
  width: 100%;
  border: 1px solid #dbe3ee;
  background: #fff;
  padding: 0 20px;
  font-size: 16px;
  color: #0f172a;
  transition: 0.3s ease;
}

.form-input input,
.form-input select {
  height: 35px;
}

.form-input textarea {
  height: 220px;
  padding-top: 18px;
  resize: vertical;
}

/* Date picker (same as text input) */
.form-input input[type="date"] {
  font-family: inherit;
}

/* Checkbox and radio groups */
.form-input .wpcf7-checkbox,
.form-input .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.form-input .wpcf7-checkbox span,
.form-input .wpcf7-radio span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  white-space: nowrap;
}

.form-input .wpcf7-checkbox input,
.form-input .wpcf7-radio input {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

/* Small helper text */
.form-input small {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

/* Inline group for year/month/day */
.inheritance-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.inheritance-group input {
  width: 100px;
  text-align: center;
  flex-shrink: 0;
}

.inheritance-group span {
  white-space: nowrap;
}

/* Responsive adjustments for inline fields */
@media (max-width: 768px) {
  .inheritance-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .inheritance-group input {
    width: 80px;
  }
}

/* Focus state for all interactive elements */
.form-input input:focus,
.form-input select:focus,
.form-input textarea:focus {
  border-color: #93c5fd;
  outline: none;
}

/* Submit button */
.form-submit {
  margin-top: 50px;
  text-align: center;
}

.form-submit .wpcf7-submit {
  width: 200px;
  max-width: 100%;
  height: 50px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.form-submit .wpcf7-submit:hover {
  background: #163a69;
}

.wpcf7 {
  padding-top: 80px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 6px 0;
  }

  .form-label {
    width: 100%;
    padding-top: 0;
  }

  .form-label label {
    font-size: 16px;
  }

  .form-input input,
  .form-input select {
    height: 54px;
  }

  .form-input textarea {
    height: 180px;
  }

  .form-input .wpcf7-checkbox,
  .form-input .wpcf7-radio {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .form-input .wpcf7-checkbox span,
  .form-input .wpcf7-radio span {
    white-space: normal;
  }

  .form-submit .wpcf7-submit {
    width: 100%;
    height: 62px;
    font-size: 16px;
  }

  .inheritance-group input {
    width: 70px;
  }
}

/******************************* Inquiry Form Style **********************************/
.contact-form-header{
    text-align:center;
}

.contact-form-subtitle{
    color:var(--color-primary);
    margin-bottom:16px;
    font-weight: bold;
}

.contact-form-desc{
    line-height:1.8;
    max-width:700px;
    margin:0 auto;
    margin-bottom: 10px;
}


.contact-form-card{
    background:#fff;
    border-radius:24px;
    padding:40px;
    box-shadow:0 10px 30px #1e5aa63a;
    margin-bottom: 15px;
}

.form-label{
    display:flex;
    align-items:flex-start;
    gap:12px;
    font-size:30px;
    font-weight:700;
    color:#172554;
}

.form-label span:first-child{
    font-size:18px;
}

.badge{
    font-size:10px;
    font-weight:400;
    padding:4px 8px;
    border-radius:5px;
    line-height:1;
}

.badge.required{
    background:#d04526;
    color:#fff;
}

.badge.optional{
    background:#F3F6FB;
    border:1px solid #D9E2EF;
}

.contact-form-card input[type=text],
.contact-form-card input[type=email],
.contact-form-card input[type=tel],
.contact-form-card input[type=date],
.contact-form-card textarea,
.contact-form-card select{
    width:100%;
    border:1px solid #d8e1ec;
    border-radius:8px;
    background:#fff;
    font-size:16px;
    color:#0f172a;
}

.contact-form-card input[type=text],
.contact-form-card input[type=email],
.contact-form-card input[type=tel],
.contact-form-card input[type=date],
.contact-form-card select{
    height:40px;
    padding:0 18px;
}

.contact-form-card textarea{
    min-height:120px;
    padding:18px;
    resize:vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus{
    outline:none;
    border-color:#165DFF;
    box-shadow:0 0 0 4px rgba(22,93,255,.08);
}

/* Checkbox cards */

.card-checks .wpcf7-list-item,
.consult-grid .wpcf7-list-item,
.radio-cards .wpcf7-list-item{
    margin:0;
}

.card-checks,
.radio-cards{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
}

.consult-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(260px,1fr));
    gap:14px;
}

.sub-title{
    display:block;
    margin:15px 0 5px;
    font-weight:700;
}

.date-field{
    margin-bottom:18px;
}

.date-field label{
    display:block;
    font-weight:700;
    margin-bottom:10px;
    font-size:14px;
}

.inheritance-date{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.inheritance-date input{
    width:90px !important;
}

.privacy-box{
    background:#F7FAFF;
    border-radius:14px;
    padding:15px;
}

.privacy-box h4{
    color: var(--color-primary);
    margin:10px 0;
    font-size:18px;
}

.submit-area{
    text-align:center;
}

.submit-area input[type=submit]{
    padding: 15px 50px;
    border:none;
    border-radius:999px;
    background:var(--color-secondary);
    color:#fff;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.submit-area input[type=submit]:hover{
    background:var(--color-secondary-dark);
}

@media (max-width:768px){

    .contact-form-card{
        padding:24px;
    }

    .form-row{
        grid-template-columns:1fr;
        gap:16px;
        padding:24px 0;
    }

    .consult-grid{
        grid-template-columns:1fr;
    }

    .submit-area input[type=submit]{
        width:100%;
    }
}

.card-checks input[type=checkbox], .consult-grid input[type=checkbox], .privacy-checks input[type=checkbox] {
    position:absolute;
    opacity:0;
}

.card-checks label, .consult-grid label, .privacy-checks label {
    position:relative;
    display:flex;
    align-items:center;
    gap:12px;
    min-height:40px;
    padding:0 20px;
    border:1px solid #D7DFEA;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
    transition:.25s;
}
.card-checks label span, .consult-grid label span, .privacy-checks label span {
    display:flex;
    align-items:center;
}
.card-checks label::before, .consult-grid label::before, .privacy-checks label::before {
    content:"";
    width:18px;
    height:18px;
    border:2px solid #C8D2E0;
    border-radius:4px;
    margin-right:8px;
    flex-shrink:0;
}
.card-checks input:checked + span, .consult-grid input:checked + span, .privacy-checks input:checked + span {
    color:var(--color-primary);
    font-weight:700;
}
.card-checks label:has(input:checked), .consult-grid label:has(input:checked), .privacy-checks label:has(input:checked) {
    border-color:var(--color-primary);
    background:#F8FBFF;
}
.card-checks label:has(input:checked)::before, 
.consult-grid label:has(input:checked)::before, 
.privacy-checks label:has(input:checked)::before{
    background:var(--color-primary);
    border-color:var(--color-primary);
    box-shadow:inset 0 0 0 3px #fff;
}
.radio-cards input[type=radio]{
    position:absolute;
    opacity:0;
}
.radio-cards label{
    min-width:170px;
    height:56px;
    border:1px solid #D7DFEA;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    cursor:pointer;
    transition:.25s;
}
.radio-cards label::before{
    content:"";
    width:18px;
    height:18px;
    border-radius:50%;
    border:2px solid #C8D2E0;
}
.radio-cards label:has(input:checked){
    border-color:var(--color-primary);
    background:#F8FBFF;
    color:var(--color-primary);
    font-weight:700;
}
.radio-cards label:has(input:checked)::before{
    background:var(--color-primary);
    border-color:var(--color-primary);
    box-shadow:inset 0 0 0 4px #fff;
}





/* Section Style */

.section-detail {
  padding: 60px 0 100px;
  position: relative;
}

/* Header */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-mark {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 10px;
}

.section-mark::before,
.section-mark::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background: #f6c21f;
}

.section-mark::before {
  margin-right: 16px;
}

.section-mark::after {
  margin-left: 16px;
}

.section-mark p {
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 2px;
}

/* .section-header h2 {
  font-size: 2rem;
  margin: 10px 0;
} */

.section-header .desc {
  color: #000;
  font-size: 1rem;
}

.section-border {
  border: 1px solid var(--color-primary-dark);
  padding: 5px 20px;
}

.section-sub-tag {
    /* display: inline-block;
    padding: 3px 20px;
    margin: 0;
    border-radius: 999px;
    background: var(--color-primary);
    color: white; */
    color: var(--color-primary);
}

.section-sub-tag::before, .section-sub-tag::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    vertical-align: middle;
}

.section-sub-title::after {
  content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #f6c21f;
}

.section-remarks {
  font-size: 0.8rem;
  margin-bottom: 20px;
  padding: 20px;
}

.pricing-addition .section-remarks {
  margin-bottom: 0;
  padding: 10px;
}

.section-remarks p {
  margin: 0;
  line-height: 2;
}

.section-remarks .remarks-title {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.pricing-table {
  width: 100%;
  margin: 0 auto 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.pricing-table table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
}

.pricing-table th,
.pricing-table td {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid var(--color-primary-dark);
}

.pricing-table thead th {
  color: #fff;
  font-weight: 700;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* left header (darker) and right header (primary) */
.pricing-table thead th:first-child {
  background: var(--color-primary-dark);
  width: 50%;
  border-right: 1px solid white;
}
.pricing-table thead th:last-child {
  background: var(--color-primary);
  border-left: 1px solid white;
}

.pricing-table tbody tr:nth-child(even) {
  background: #f8f9fb;
}

.pricing-table td {
  border-top: 0;
}

.pricing-table td:first-child {
  color: #0f172a;
  font-weight: 700;
  background: #fff;
  border-right: 0;
}

.pricing-table tbody tr {
  border-top: 0;
}

/* right column has a subtle warm/beige background like the mock */
.pricing-table td:last-child {
  color: var(--color-secondary);
  background: #f4f3ee;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.primary-color {
  color: var(--color-primary);
}

.hero-nav .bottom-item a {
  color: black;
  font-weight: bold;
}

.future-table table {
  width: 80%;
  margin: 0 auto;
  font-weight: 700;
}

@media (max-width: 768px) {
  .future-table table {
    width: 100%;
  }
}


.future-table table th:first-child {
  width: 20%;
}

.future-table table th:nth-child(2) {
  width: 40%;
}

.future-table th, .future-table td {
  border-collapse: collapse;
  border: 0;
  text-align: center;
}

.future-table th:nth-child(2), .future-table tbody td:first-child {
  background: linear-gradient(90deg, #21579e, #3869a6);
  color: #fff;
  font-weight: 700;
}

.future-table tbody tr:first-child td:first-child, .future-table th:nth-child(2) {
  border-top-left-radius: 15px;
}

.future-table th:nth-child(3) {
  border-top-right-radius: 15px;;
}

.future-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 15px;
}

.future-table th:nth-child(3) {
  background: var(--color-primary-dark);
  color: #fff;
  font-weight: 700;
}

.future-table tbody tr:not(:first-child) td:nth-child(2) {
  background: rgb(248, 247, 245);
  color: rgb(176, 116, 42);
}

/* .future-table tbody tr:first-child td:nth-child(2) {
  background: rgb(248, 247, 245);
} */

.future-table tfoot td:nth-child(2) {
  background: rgb(234, 231, 227);
  color: rgb(176, 116, 42);
}

.future-table__highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20%;
}

.future-table__highlight::before,
.future-table__highlight::after {
  content: "";
  height: 18px;
  background: var(--color-primary-dark);
  flex: 1;
}

.future-table__highlight::before {
  clip-path: polygon(0% 50%, 15% 10%, 15% 48%, 100% 48%, 100% 52%, 15% 52%, 15% 90%);
  margin-right: 20px;
}

.future-table__highlight::after {
  margin-left: 20px;
  clip-path: polygon(0% 48%, 85% 48%, 85% 10%, 100% 50%, 85% 90%, 85% 52%, 0% 52%);
}

.future-table tbody tr {
  border: 1px solid #c8c8c878;
}

.wp-block-table tfoot, .wp-block-table thead {
  border: 0;
}

.support .wp-block-columns {
  border: 8px solid rgb(242, 242, 242);
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

@media (max-width: 768px) {
  .support>.container>.wp-block-columns {
    border-radius: 30px 30px 0 0;
    gap: 0.5em;
  }
  .support>.container>.wp-block-columns .case-detail-wrap {
    margin: 0 0.7em;
  }
  .case-card>.wp-block-column:first-child {
    flex-basis: 30% !important;
  }
  .case-card>.wp-block-column:last-child {
    flex-basis: 60% !important;
  }
  .case-card>.wp-block-column {
    flex-basis: 65% !important;
  }
}

.support>.container>.wp-block-columns>.wp-block-column:first-child {
  background: rgb(242, 242, 242);
  padding: 0 10px;
}

.support .wp-block-columns .wp-block-column h3 {
  color: var(--color-secondary);
}

.support .wp-block-columns .case-amount {
  color: var(--color-primary);
  font-size: 1rem;;
  font-weight: 700;
  margin: 3px 0;
}

.support .wp-block-columns .case-amount strong {
  font-size: 1.7rem;
}

.support .wp-block-columns .case-desc {
  color: var(--color-primary-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 3px 0;
}

.case-card {
  gap: 0.5rem;
  border: 0 !important;
  margin: 0 0 10px 0
}

.case-card figure {
  margin: 0;
}

.case-card figure img {
  border-radius: 50%;
  width: 100px;
}

.case-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary-dark);
  color: white;
  border-radius: 5px;
}

.case-meta {
  margin-top: 10px !important;
}

.case-badge-wrap {
  padding-top: 10px;
  align-content: center;
  display: block !important;
}

.privacy-box .form-label {
  width: 100%;
}

.privacy-box .form-label p {
  margin: 0;
}

.privacy-checks label {
  padding: 0;
  border: 0;
  background: inherit;
}

.privacy-checks .wpcf7-list-item {
  margin-left: 0;
}

.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
  padding: 0 20px 0 0;
}

.wp-block-media-text:not(.has-media-on-the-right)>.wp-block-media-text__content {
  padding: 0 0 0 20px;
}

@media (max-width: 768px) {
  .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content,
  .wp-block-media-text:not(.has-media-on-the-right)>.wp-block-media-text__content {
    padding: 0;
  }
}

#section_intro>.wp-block-media-text {
  margin-bottom: 20px;
}

#our_history .sliderberg-slides-container {
  padding: 0 calc(var(--sliderberg-slide-spacing, 20px) / 2);
}

.sliderberg-slide-overlay {
  background: inherit;
}

.flow-section>figure>img {
  aspect-ratio: 5/2;
  object-fit: cover;
}

/* Breadcrumbs Styling */
.site-breadcrumbs {
  padding: 8px 16px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

body.home .site-breadcrumbs {
  display: none;
}

.breadcrumbs {
  font-weight: 700;
}

.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
}

.breadcrumbs__item:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  margin-right: 8px;
  color: var(--color-text);
}

.breadcrumbs__link {
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
  color: var(--color-primary-dark);
}

.breadcrumbs__current {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .site-breadcrumbs {
    font-size: 0.75rem;
  }
  .breadcrumbs__item:not(:last-child)::after {
    margin-left: 4px;
    margin-right: 4px;
  }
}


@media (max-width: 480px) {
    .cta-flex, 
    .cta-phone-body.is-nowrap,
    .header-actions.is-layout-flex {
        /* flex-direction: column !important; */
        flex-wrap: wrap !important;
    }

    .cta-phone-body {
      gap: 5px;
    }
    
    .cta-phone .cta-person img {
      width: 70px;
      height: 70px;
    }

    .cta-number {
      font-size: 1.2rem;
    }
    
    /* 2. Reset fixed-width columns to occupy full viewport width */
    .wp-block-column, 
    .cta-box,
    .cta-phone-info {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .cta-box.cta-phone {
      padding: 30px 15px;
    }

    /* 3. Prevent text overflow from long strings */
    .cta-number {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}

#section_reason img {
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(15, 41, 72, 0.2);
}

.section-bkg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: -1;
  max-width: none;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* background: url('../images/bkg_reason.png');
  background-size: cover;
  background-position: center; */

.future-section>.section-bkg-layer {
  background: linear-gradient(90deg, #eef3fa 0%, #edf3fb 100%);
}

.future-section>.container>p.lead {
    padding: 15px;
    background: white;
    border-radius: 15px;
    border: 1px solid #af924661;
}

.service-section>.section-bkg-layer {
  background: linear-gradient(90deg, #faf2e1 0%, #fbf3e3 50%, #faf2e1 100%);
}
.pricing>.section-bkg-layer,
.profile-body>.section-bkg-layer {
  background: linear-gradient(90deg, #e2eede 0%, #f0f6ef 50%, #f0f4ef 100%);
}

.pricing table tbody td strong {
  color: black;
  font-size: 0.8rem;
}

.flow-section>.section-bkg-layer {
  background: linear-gradient(90deg, #f8efdb 0%, #fdf8eb 30%, #fdf8eb 60%, #f9f0dd 100%);
}

.faq>.section-bkg-layer {
  background: linear-gradient(90deg, #efeefa 0%, #efeef9 100%);
}

.voices>.section-bkg-layer,
.pricing-addition>.section-bkg-layer,
#contract-flow>.section-bkg-layer {
  background: linear-gradient(90deg, #fceff1 0%, #fcf2f3 100%);
}

.wp-block-table {
  box-shadow: 0 10px 20px rgb(15 23 42 / 15%); 
}

.profile-body>p {
  background-color: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgb(15 23 42 / 15%); 
}

.future-section .wp-block-table {
  box-shadow: none;
}

.wp-block-table td {
  border-color: #c5c5c594;
}

#process-flow>figure {
  margin-bottom: 0;
}

#process-flow {
  padding-bottom: 0;
}

.history-block li {
  height: 50px;
}
.hero .hero-mid
.history-block  {
  background: #f4f7fc;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid #bdbec2;
}

.info-block li {
  height: 25px;
}



.contact-tel-box{
    max-width: 1100px;
    margin:20px;
    display:flex;
    align-items:center;
    background:#fff;
    border:2px solid #CFE0F8;
    border-radius:18px;
    padding:20px;
    box-shadow: 0 12px 40px rgba(30,64,175,.08);
    gap:30px;
}

.contact-tel-icon{
    width:86px;
    height:86px;
    border-radius:50%;
    background: var(--color-primary);
    display:flex;
    justify-content:center;
    align-items:center;
    flex:none;
}

.contact-tel-icon p {
  display: flex;
}

.contact-tel-icon svg{
    width:42px;
    color:#fff;
}

.contact-tel-text{
    flex:1;
}

.contact-tel-text h3{
    font-size:1.5rem;
    /* color: var(--color-primary); */
    margin:0 0 15px;
    font-weight:700;
}

.contact-tel-text p{
    margin:0;
    font-size:1rem;
    line-height:1.8;
}

.contact-tel-number{
    width:360px;
    padding-left:35px;
    border-left:1px solid #D5E3F8;
}

.contact-tel-number p {
  margin: 0;
}

.contact-tel-number .number{
    display:flex;
    align-items:center;
    gap:14px;
}

.contact-tel-number .number svg{
    width: 1.5rem;
    margin-right: 10px;
    color: var(--color-primary);
}

.contact-tel-number a{
    font-size:1.5rem;
    font-weight:800;
    letter-spacing:.02em;
    color: var(--color-primary);
    text-decoration: underline !important;
    display: flex;
}

.contact-tel-number a:hover {
  color: var(--color-primary-dark);
}

.tel-info{
    margin-top:18px;
    display:flex;
    align-items:center;
    gap:15px;
}

.tel-info .badge{
    background: var(--color-primary);
    color:#fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    margin-right: 10px;
}

.tel-info span:last-child{
    font-size:1rem;
    font-weight:700;
}

.contact-tel-number small{
    display:block;
    margin-top:8px;
    font-size:1rem;
    text-align:right;
}

/* Tablet */
@media (max-width:991px){
  .contact-tel-box{
      flex-direction:column;
      text-align:center;
  }

  .contact-tel-number{
      border-left:none;
      border-top:1px solid #DDE6F5;
      width:100%;
      padding-top:24px;
      padding-left:0;
  }

  .contact-tel-number .number{
      justify-content:center;
  }

  .tel-info{
      justify-content:center;
  }

  .contact-tel-number small{
      text-align:center;
  }
}

/* Mobile */
@media (max-width:768px){
  /* .contact-tel-box{
      padding:25px;
  } */

  .contact-tel-icon{
      width:72px;
      height:72px;
  }

  .contact-tel-text h3{
      font-size:1.2rem;
  }


  .contact-tel-number a, .contact-tel-number .number svg{
      font-size:1.2rem;
  }
}

/* ===== claude-mobile-fixes: スマホ表示の修正 ここから ===== */
@media (max-width: 768px) {

  /* --- ハンバーガーメニュー --- */
  /* メニュー本体(.primary-nav)がドロワーと連動して開いていなかったため連動させる */
  body:has(.mobile-nav-wrapper.is-open) .primary-nav {
    transform: translateX(0);
  }
  /* ドロワー枠は白背景をやめ、下にあるメニュー本体が見えるようにする */
  .mobile-nav-wrapper {
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }
  /* 枠自体はクリックを通す（下のメニューを押せるようにする） */
  .mobile-nav-wrapper .mobile-nav__footer {
    pointer-events: auto;
    background: #fff;
  }
  /* スクロール時の backdrop-filter は、固定要素の位置基準を
     画面全体からヘッダー内に変えてしまう。
     そのためドロワーがヘッダーの高さに縮んで崩れるので無効化する */
  .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }
  /* リンクは上詰めで並べる */
  .site-header .primary-nav ul {
    align-content: start;
    gap: 20px;
  }

  /* --- 固定表示はヘッダーのみにする --- */
  /* パンくずはヘッダーの外に出したため、通常スクロールする */
  .site-breadcrumbs {
    position: static;
    z-index: auto;
  }

  /* --- 本文の左右余白 --- */
  /* 文章ページで文字が画面端に貼り付いて読みづらいのを防ぐ */
  body.privacy-policy .entry-content,
  body.page-id-3 .entry-content {
    padding-inline: 20px;
  }
}

/* PCでも文章ページの左右に余白を確保する */
@media (min-width: 769px) {
  body.privacy-policy .entry-content,
  body.page-id-3 .entry-content {
    padding-inline: 24px;
  }
}
/* ===== claude-mobile-fixes: ここまで ===== */
