/* ==若杉法律事務所 相続専門サイト 追加スタイル== */

/* ==ヘッダー== */
.global-header.menu-type1 .site-logo {
  max-width: 680px;
}

/* ==PC版ヘッダー：固定を解除し、通常フローへ戻す== */
@media (min-width: 768px) {
  body.menu-type1 .global-header,
  body.menu-type1 .global-header.scrolled {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  body.menu-type1 #menu-spacer,
  body.menu-type1.is-fullscreen-page #menu-spacer {
    height: 0 !important;
  }
}

/* == TOP page == */
.home .fv-block.is-under-header {
  height: clamp(600px, 49.56vw, 951px);
}

.home .is-under-header .fv-inner {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  max-width: none;
  min-height: 100%;
  height: 100%;
  padding: 0 clamp(40px, 6.25vw, 120px) clamp(40px, 4.69vw, 90px);
  text-align: right;
}

.home .is-under-header .fv-copy {
  padding: 0;
}

.home .is-under-header .fv-copy .fv-text.right {
  margin: 0;
  text-align: right;
  text-shadow: 0 1px 5px rgba(10, 24, 54, 0.55);
}

.home .is-under-header .fv-bg {
  background-image: url("/wp-content/themes/lime-tree-theme-wakasugi/assets/img/top/top_mv.jpg") !important;
  background-position: center top;
}

.top-page > .content-section-heading {
  justify-content: center;
  margin: 0;
  padding: 0;
  color: #111;
  text-align: center;
}

.home .content-link-button--navy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 333px;
  min-height: 60px;
  padding: 0 24px;
  border-color: #1d2d5a;
  background: #1d2d5a;
  color: #fff;
}

.home .content-link-button--navy:hover,
.home .content-link-button--navy:focus-visible {
  border-color: #1d2d5a;
  background: #1d2d5a;
  color: #fff;
  opacity: 1;
}

.home .section-free_space:has(.top-page[data-top-layout="message"]) .inner {
  max-width: 1200px;
  padding-top: 96px;
  padding-bottom: 104px;
  padding-right: 0;
  padding-left: 0;
}

.top-page[data-top-layout="message"] {
  display: grid;
  grid-template-columns: 621px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.top-page[data-top-layout="message"] figure {
  margin: 0;
}

.top-page[data-top-layout="message"] figure img {
  display: block;
  width: 621px;
  max-width: 100%;
  height: auto;
}

.top-page[data-top-layout="message"] .content-body {
  margin: 0;
  padding: 0;
}

.top-page[data-top-layout="message"] .content-body > .content-section-heading {
  margin: 0 0 34px;
  padding: 0;
  color: #111;
}

.top-page[data-top-layout="message"] .content-section-heading__title {
  font-weight: 400;
}

.top-page[data-top-layout="message"] .content-body p {
  max-width: 499px;
  margin: 0;
  color: #111;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: justify;
  text-justify: inter-character;
}

.top-page[data-top-layout="message"] .content-link-button {
  margin: 40px auto 0;
}

.home .section-free_space:has(.top-problem-grid) .inner {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.top-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 0 auto;
}

.top-problem-grid__panel {
  position: relative;
  aspect-ratio: 959 / 786;
  overflow: hidden;
}

.top-problem-grid__panel > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-problem-grid__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
  color: #fff;
  text-align: center;
}

.top-problem-grid__eyebrow,
.top-problem-grid__title,
.top-problem-grid__list {
  margin: 0;
}

.top-problem-grid__eyebrow {
  display: grid;
  place-items: center;
  width: min(333px, 100%);
  min-height: 46px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #fff;
  color: #754c24;
  font-size: clamp(16px, 1.1vw, 21px);
  font-weight: 700;
}

.top-problem-grid__title {
  margin-bottom: 32px;
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.45;
}

.top-problem-grid__list {
  width: min(540px, 100%);
  padding: 0;
  list-style: none;
}

.top-problem-grid__list li {
  border-top: 1px solid rgba(255, 255, 255, 0.9);
}

.top-problem-grid__list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.top-problem-grid__list a,
.top-problem-grid__more {
  color: inherit;
  text-decoration: none;
}

.top-problem-grid__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 25px 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

.top-problem-grid__link-arrow {
  display: block;
  flex: 0 0 auto;
  width: 17px;
  height: 23px;
}

.top-problem-grid__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 240px;
  min-height: 56px;
  margin-top: 38px;
  border: 1px solid #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
}

.top-problem-grid__more-arrow {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 9px;
}

@media (min-width: 1200px) and (max-width: 1899px) {
  .top-problem-grid__panel {
    width: 100%;
    /*
     * 03 is compared to the 1920px PDF at 786px high, but 1200–1366px is
     * the principal desktop range.  Keep a 620px floor so the content does
     * not lose the PDF's vertical breathing room merely because the column
     * becomes narrower.  Above that floor the original aspect ratio can grow
     * naturally toward the 1920px reference.
     */
    min-height: 620px;
  }

  .top-problem-grid__list {
    width: min(423px, 100%);
  }
}

@media (min-width: 1900px) {
  .top-problem-grid__panel {
    width: 100%;
    height: 786px;
  }

  .top-problem-grid__content {
    inset: 83px auto auto;
    width: 423px;
    padding: 0;
    justify-content: flex-start;
  }

  .top-problem-grid__panel:first-child .top-problem-grid__content {
    left: calc(50% - 122px);
  }

  .top-problem-grid__panel:last-child .top-problem-grid__content {
    left: calc(50% - 301px);
  }

  .top-problem-grid__eyebrow {
    width: 333px;
    min-height: 52px;
  }

  .top-problem-grid__list {
    width: 423px;
  }

  .top-problem-grid__list a {
    min-height: 118px;
    padding: 0 6px;
  }

  .top-problem-grid__more {
    width: 251px;
    min-height: 59px;
    margin-top: 40px;
  }
}

.home .section-card-box-group {
  margin: 0;
}

.home .section-card-box-group .inner {
  max-width: 1200px;
  padding-right: 0;
  padding-left: 0;
}

.home .section-card-box-group .card-box-group-wrapper {
  gap: 0;
}

.home .section-card-box-group .card-box-group-wrapper.has-3 .card-box {
  width: 33.333%;
  aspect-ratio: 400 / 257;
}

.home .section-card-box-group .card-box {
  position: relative;
  display: block;
  overflow: hidden;
}

.home .section-card-box-group .card-box .card-image {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.home .section-card-box-group .card-box .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .section-card-box-group .card-box .card-content {
  position: absolute;
  inset: 0;
  padding: 0;
}

.home .section-card-box-group .card-box .card-content h3.title-decoration-ribbon {
  bottom: auto;
  top: 55%;
  width: 100%;
  min-height: 77px;
  margin: 0;
  padding: 12px 20px;
  background: rgba(29, 45, 90, 0.9);
  color: #fff !important;
  font-size: 21px;
  line-height: 1.4;
}

.top-page[data-top-section="case-link"] {
  text-align: center;
}

.top-page[data-top-section="case-link"] .content-link-button {
  width: 333px;
  min-height: 60px;
}

.home .section-card-box-single {
  margin: 0;
}

.home .section-card-box-single > .inner {
  max-width: 1200px;
  padding-right: 0;
  padding-left: 0;
}

.home .section-card-box-single .card-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 264px;
  padding: 0 40px;
}

.home .section-card-box-single .card-bg {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  background-position: center;
}

.home .section-card-box-single .card-content {
  width: 100%;
  max-width: 800px;
  margin: 0;
  text-align: center;
}

.home .section-card-box-single .card-title {
  margin: 0 0 18px;
  color: #fff !important;
  font-size: 27px;
  line-height: 1.45;
}

.home .section-card-box-single .card-text {
  margin: 0 0 26px;
  padding: 0;
  color: #fff !important;
  line-height: 1.8;
}

.home .section-card-box-single .card-link {
  text-align: center;
}

.home .section-card-box-single .card-link .fv-btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 333px;
  max-width: 100%;
  min-height: 60px;
  padding: 0 24px;
  border-color: #1d2d5a !important;
  border-radius: 0;
  background: #1d2d5a;
  color: #fff !important;
  font-size: 18px;
}

.home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) .card-title {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 400;
}

.home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) .card-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 23px;
  font-weight: 400;
}

.home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) .card-link .fv-btn2 {
  border-color: #fff !important;
  background: #fff;
  color: #1d2d5a !important;
}

.home .section-card-box-single + .section-card-box-single {
  margin-top: 48px;
}

.home .section-free_space:has(.top-page[data-top-section="cases"]) .inner {
  padding-top: 96px;
  padding-bottom: 56px;
}

.home .section-free_space:has(.top-page[data-top-section="case-link"]) .inner {
  padding-top: 40px;
  padding-bottom: 96px;
}

.home .section-free_space:has(.top-page[data-top-section="basic"]) .inner,
.home .section-free_space:has(.top-flow) .inner,
.home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) > .inner {
  border-top: 1px solid #aaa;
  padding-top: 96px;
}

.home .section-free_space:has(.top-page[data-top-section="basic"]) .inner {
  padding-bottom: 56px;
}

.home .section-free_space:has(.top-flow) .inner,
.home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) > .inner {
  margin-top: 96px;
}

.top-flow > .content-section-heading {
  margin-bottom: 58px;
}

.top-flow__list {
  display: grid;
  grid-template-columns: repeat(4, 229px);
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-flow__item {
  position: relative;
  color: #1d2d5a;
  text-align: center;
}

.top-flow__arrow {
  position: absolute;
  top: 102px;
  right: -27px;
  width: 18px;
  height: 27px;
}

.top-flow__item figure,
.top-flow__item figcaption {
  margin: 0;
}

.top-flow__item figure > img {
  display: block;
  width: 229px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 22px;
  border-radius: 50%;
}

.top-flow__item figcaption {
  color: #1d2d5a;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}

.top-flow .content-link-button {
  width: 333px;
  min-height: 60px;
  margin: 64px auto 0;
}

.home .contact-cta {
  min-height: 425px;
  margin-top: 80px;
}

.home .contact-cta__content {
  min-height: 425px;
  padding: 56px 0;
}

@media (max-width: 1199px) {
  .home .fv-block.is-under-header {
    height: clamp(420px, 56vw, 600px);
  }

  .home .is-under-header .fv-bg-wrap {
    position: absolute;
    inset: 0;
    height: 100%;
    background: url("/wp-content/themes/lime-tree-theme-wakasugi/assets/img/top/top_mv.jpg") center top / cover no-repeat;
  }

  .home .is-under-header .fv-bg-sp {
    display: none;
  }

  .top-page[data-top-layout="message"] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .top-page[data-top-layout="message"] .content-body p {
    font-size: clamp(17px, 1.75vw, 21px);
  }

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

  .top-problem-grid__content {
    padding: 36px 40px;
  }

  .top-problem-grid__list a {
    font-size: clamp(20px, 2.35vw, 28px);
  }

  .top-flow__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
  }

}

@media (max-width: 767px) {
  .home .fv-block.is-under-header {
    height: clamp(300px, 70vw, 440px);
  }

  .home .is-under-header .fv-inner {
    padding: 0 24px 32px;
  }

  .home .section-free_space:has(.top-page[data-top-layout="message"]) .inner {
    padding-top: 45px;
    padding-bottom: 64px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .top-page[data-top-layout="message"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .top-page[data-top-layout="message"] .content-body > .content-section-heading {
    margin-bottom: 24px;
  }

  .top-page[data-top-layout="message"] .content-body p {
    max-width: none;
    font-size: 16px;
    line-height: 1.9;
  }

  .top-page[data-top-layout="message"] .content-link-button,
  .home .content-link-button--navy,
  .top-page[data-top-section="case-link"] .content-link-button,
  .top-flow .content-link-button {
    width: 100%;
    max-width: 333px;
  }

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

  .top-problem-grid__panel {
    aspect-ratio: auto;
    min-height: 620px;
  }

  .top-problem-grid__content {
    padding: 42px 24px;
  }

  .top-problem-grid__eyebrow {
    min-height: 38px;
    margin-bottom: 12px;
    font-size: 16px;
  }

  .top-problem-grid__title {
    margin-bottom: 24px;
    font-size: 26px;
  }

  .top-problem-grid__list a {
    padding: 12px 0;
    font-size: 17px;
  }

  .top-problem-grid__more {
    min-height: 48px;
    margin-top: 28px;
  }

  .home .section-card-box-group .inner,
  .home .section-card-box-single > .inner {
    padding-right: 24px;
    padding-left: 24px;
  }

  .home .section-card-box-group .card-box-group-wrapper {
    gap: 20px;
  }

  .home .section-card-box-group .card-box-group-wrapper.has-3 .card-box {
    width: 100%;
  }

  .home .section-card-box-single .card-inner {
    min-height: 220px;
    padding: 32px 24px;
  }

  .home .section-card-box-single .card-title {
    margin-bottom: 14px;
    font-size: 21px;
  }

  .home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) .card-title {
    font-size: 24px;
  }

  .home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) .card-text {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .home .section-card-box-single + .section-card-box-single {
    margin-top: 24px;
  }

  .home .section-free_space:has(.top-page[data-top-section="cases"]) .inner,
  .home .section-free_space:has(.top-page[data-top-section="basic"]) .inner {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  .home .section-free_space:has(.top-page[data-top-section="case-link"]) .inner {
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .home .section-free_space:has(.top-flow) .inner,
  .home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) > .inner {
    margin-top: 56px;
    padding-top: 56px;
  }

  .top-flow > .content-section-heading {
    margin-bottom: 36px;
  }

  .top-flow__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    justify-content: center;
  }

  .top-flow__arrow {
    display: block;
    top: auto;
    right: 50%;
    bottom: -34px;
    width: 14px;
    height: 21px;
    transform: translateX(50%) rotate(90deg);
  }

  .top-flow__item figure > img {
    width: min(200px, 100%);
    margin-bottom: 14px;
  }

  .top-flow__item figcaption {
    font-size: 18px;
  }

  .home .contact-cta,
  .home .contact-cta__content {
    min-height: 0;
  }

  .home .contact-cta__content {
    padding: 56px 24px;
  }
}

@media (min-width: 768px) {
  .global-nav .menu-list .menu-item {
    padding-bottom: 0;
    margin-bottom: 25px;
  }

  .global-header .global-nav .menu-list li a {
    padding: 15px 0;
    font-weight: bold !important;
  }

  .global-header .global-nav .menu-list li a:hover {
    opacity: 0.6;
  }

  .global-header .global-nav .menu-list > .menu-item.menu-has-slider {
    border-right: 1px solid #999999;
  }

  .global-header .global-nav .menu-list > .menu-item:first-child {
    border-left: 1px solid #999999;
  }
}

/* ==フッター== */
.site-footer {
  margin-top: 0;
}
.site-footer .footer-logo {
  max-width: 710px;
}

.footer-menu-list a {
  font-weight: bold !important;
  color: var(--link-color);
}

.site-footer .footer-copy {
  border-color: var(--main-color);
  color: var(--footer-a-color);
}

.site-footer .footer-button .fv-btn2 {
  color: var(--main-color) !important;
  font-weight: normal !important;
}

.site-footer .footer-button .fv-btn2:hover {
  color: #fff !important;
  background-color: var(--main-color);
}

@media (min-width: 768px) {
  .footer-menu-list li:not(:last-child)::after {
    background-color: var(--main-color);
  }
}

/* ==ページ下部お問い合わせCTA== */
.contact-cta {
  position: relative;
  isolation: isolate;
  background: #1d2d5a;
  color: #fff;
  overflow: hidden;
  margin-top: 80px;
}

.contact-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-cta__background,
.contact-cta__background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-cta__background {
  z-index: 0;
}

.contact-cta__background-image {
  display: block;
  object-fit: cover;
}

.contact-cta__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 64px;
  align-items: center;
  min-height: 320px;
  padding: 64px 0;
}

.contact-cta__title {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.45;
}

.contact-cta__description {
  margin: 0;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 2;
}

.contact-cta__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 72px;
  margin: 0;
  padding: 16px 32px;
  border: 1px solid #fff;
  background-color: #fff;
  color: #1d2d5a;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-cta__button-content {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.contact-cta__button-mail-icon {
  width: 32px;
  height: auto;
  transition: filter 0.3s ease;
}

.contact-cta__button-arrow-icon {
  position: absolute;
  right: 32px;
  width: 12px;
  height: auto;
  transition: filter 0.3s ease;
}

.contact-cta__button:hover {
  background-color: transparent;
  color: #fff;
  opacity: 1;
}

.contact-cta__button:hover img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.contact-cta--center .contact-cta__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  text-align: center;
}

.contact-cta--center .contact-cta__button {
  width: 500px;
  max-width: 100%;
  min-height: 100px;
  margin-top: 50px;
  border-radius: 13px;
}

.contact-cta--center .contact-cta__button-mail-icon {
  width: 36px;
}

.contact-cta--center .contact-cta__button-arrow-icon {
  right: 48px;
  width: 14px;
}

@media (min-width: 768px) {
  .contact-cta--standard .contact-cta__content {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
    column-gap: 80px;
    min-height: 400px;
    padding: 72px 64px;
  }

  .contact-cta--standard .contact-cta__title {
    margin-bottom: 40px;
    text-align: center;
  }

  .contact-cta--standard .contact-cta__description {
    font-size: 20px;
    line-height: 1.9;
  }

  .contact-cta--standard .contact-cta__button {
    width: 470px;
    max-width: 100%;
    min-width: 0;
    min-height: 205px;
    border-radius: 13px;
  }

  .contact-cta--standard .contact-cta__button-content {
    flex-direction: column;
    gap: 16px;
  }

  .contact-cta--standard .contact-cta__button-mail-icon {
    width: 52px;
  }

  .contact-cta--standard .contact-cta__button-arrow-icon {
    right: 36px;
    width: 16px;
  }
}

/* ==共通見出し== */
.section-heading {
  margin: 0 0 60px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1d2d5a;
  text-align: center;
}

.section-heading__title {
  margin: 0;
  color: var(--main-color);
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ==代表メッセージ== */
.representative-message__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: 72px;
  align-items: start;
}

.representative-message p:empty {
  display: none;
}

.representative-message__office {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.representative-message__name {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 8px 0 32px;
  color: #111;
  font-family: "Noto Serif JP", serif;
}

.representative-message__name span {
  font-size: 20px;
  font-weight: 700;
}

.representative-message__name strong {
  font-size: 39px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.representative-message__text p {
  margin: 0;
  line-height: 2;
}

.representative-message__text p:last-child {
  margin-bottom: 0;
}

.representative-message__side {
  display: grid;
  gap: 24px;
}

.representative-message__photo {
  aspect-ratio: 1 / 1.05;
  margin: 0;
  overflow: hidden;
}

.representative-message__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.representative-message__career {
  padding: 28px 30px 30px;
  background: #f2eedd;
}

.representative-message__career-title {
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--text-color);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: center;
}

.representative-message__career-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.representative-message__career-list li {
  position: relative;
  padding-left: 0.75em;
  font-size: 16px;
  line-height: 1.8;
}

.representative-message__career-list .career-item--two-lines {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.representative-message__career-list .career-year {
  flex: 0 0 auto;
}

.representative-message__career-list .career-detail {
  display: block;
  min-width: 0;
}

.representative-message__career-list li::before {
  position: absolute;
  left: 0;
  content: "・";
}

/* ==事務所情報・アクセス== */
.office-information {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 100px 0 100px;
  background: #f1f5f8;
}

.office-information::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: #f1f5f8;
  content: "";
  transform: translateX(-50%);
}

.office-information__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.office-information .section-heading {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom:50px;
}

.office-information__table-wrap {
  overflow-x: auto;
}

.office-information__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-color-except-top);
  margin-bottom: 70px;
}

.office-information__table th,
.office-information__table td {
  border-bottom: 1px solid #b8c0cf;
}

.office-information__table tr:last-child th,
.office-information__table tr:last-child td {
  border-bottom: 0;
}

.office-information__table th {
  width: 190px;
  padding: 18px 24px;
  background: var(--main-color);
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}

.office-information__table td {
  padding: 18px 32px;
  color: #222;
  font-size: 19px;
  line-height: 1.7;
  vertical-align: middle;
}

.office-information__table a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.office-access {
  margin-top: 100px;
}

.office-access__map {
  aspect-ratio: 5 / 2;
  overflow: hidden;
  margin-bottom: 30px;
}

.office-access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==下層ページ本文== */
.lower-content,
.content-body {
  color: var(--text-color);
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--base-font-size);
  font-weight: 400;
  line-height: 37px;
}

.lower-content p,
.lower-content ul,
.lower-content ol {
  margin: 0;
}

.lower-content .has-border-bottom {
  border-bottom: 1px solid var(--main-color);
  padding-bottom: 50px;
}

.content-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0 0 24px;
  color: var(--main-color);
}

.content-section-heading--separated {
  margin-top: 80px;
}

.page-id-17 .content-section-heading--separated,
.page-id-19 .content-section-heading--separated,
.page-id-25 .content-section-heading--separated {
  margin-top: 0;
}

@media (min-width: 769px) {
  .content-section-heading--separated:has(+ .content-body + .inheritance-share-grid) {
    position: relative;
  }

  .content-section-heading--separated:has(+ .content-body + .inheritance-share-grid)::before {
    position: absolute;
    top: -57px;
    left: 0;
    width: 100%;
    height: 0;
    border-top: 1px solid var(--main-color);
    content: "";
  }
}

.content-section-heading__mark {
  width: 13px;
  height: 37px;
  flex: 0 0 auto;
  background: currentColor;
}

.content-section-heading__title {
  margin: 0;
  color: inherit;
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

/* ==相続手続きの流れ== */
.inheritance-flow__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.inheritance-flow__table th,
.inheritance-flow__table td {
  border: 1px solid var(--main-color);
}

.inheritance-flow__table thead th {
  padding: 10px 20px;
  border-color: #fff;
  background: var(--main-color);
  color: #fff;
  height: 58px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.inheritance-flow__table thead th:first-child {
  width: 33.62%;
}

.inheritance-flow__table tbody th {
  padding: 24px 20px;
  width: 33.62%;
  background: #f7f4df;
  color: var(--text-color);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}

.inheritance-flow__table td {
  padding: 24px 40px;
  color: var(--text-color);
  font-size: 19px;
  font-weight: 700;
  vertical-align: middle;
}

.inheritance-flow__table ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inheritance-flow__table li {
  position: relative;
  padding-left: 1em;
  color: var(--text-color);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.8;
}

.inheritance-flow__table li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "・";
}

.inheritance-flow__table a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  border-bottom: 1px solid currentColor;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  vertical-align: baseline;
  white-space: nowrap;
}

.inheritance-flow__table a::before {
  content: "→";
}

.content-band-heading {
  display: flex;
  align-items: center;
  min-height: 64px;
  margin: 80px 0 20px;
  padding: 12px 20px;
  background: var(--main-color);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

.content-band-heading--step {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  align-items: stretch;
  min-height: 66px;
  padding: 0;
  background: #dcdee6;
  color: var(--text-color);
  margin-top: 80px;
}

.content-band-heading__step-label,
.content-band-heading--step .content-band-heading__title {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 20px;
}

.content-band-heading__step-label {
  align-self: stretch;
  justify-content: center;
  background: var(--main-color);
  color: #fff;
}

.content-band-heading--step .content-band-heading__title {
  color: var(--text-color);
}

/* ==本文小見出し== */
.content-subsection-heading {
  display: flex;
  align-items: baseline;
  gap: 0.25em;
  margin: 20px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--main-color);
  color: var(--main-color);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.content-subsection-heading::before {
  flex: 0 0 auto;
  content: "・";
}

.content-section-heading--separated ~ .content-band-heading--step {
  margin-top: 134px;
}

.content-section-heading + .content-band-heading--step {
  margin-top: 6px;
}

.content-band-heading--step + .content-subsection-heading {
  margin-top: 64px;
}

.content-body--emphasis + .content-subsection-heading {
  margin-top: 48px;
}

.content-body--emphasis + .content-subsection-heading + .content-body + .content-subsection-heading {
  margin-top: 88px;
}

.content-band-heading--step + .content-subsection-heading + .content-body + .content-subsection-heading {
  margin-top: 65px;
}

.content-band-heading--step + .content-subsection-heading + .content-body + .content-subsection-heading + .content-body + .content-link-buttons + .content-subsection-heading {
  margin-top: 110px;
}

.content-band-heading--step + .content-subsection-heading + .content-body + .content-link-buttons + .content-subsection-heading {
  margin-top: 86px;
}

.content-category-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 72px 0 20px;
  color: var(--main-color);
}

.content-category-heading::before {
  width: 8px;
  height: 30px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.content-category-heading__title {
  margin: 0;
  color: inherit;
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.content-category-heading--blue {
  color: var(--main-color);
}

.content-category-heading--gold {
  color: #603813;
}

.content-category-heading--gray {
  color: #4d4d4d;
}

.lower-content .content-category-band {
  margin: 72px 0 20px;
  padding: 7px 20px;
  background: var(--main-color);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.content-category-band--blue {
  background: var(--main-color);
}

.content-category-band--gold {
  background: #84501b;
}

.content-body > * + * {
  margin-top: 24px;
}

.content-body--emphasis {
  line-height: 1.5;
}

.content-body strong {
  font-weight: 700;
}

.content-list {
  padding: 0;
  list-style: none;
}

.content-list li {
  position: relative;
  padding-left: 1em;
  color: var(--text-color);
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--base-font-size);
  font-weight: 700;
}

.content-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "・";
}

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

/* ==下層ページ共通ボックス== */
.content-callout {
  padding: 30px 40px;
  border-radius: 10px;
}

.content-callout--recommend {
  background: #f1f6f9;
}

.content-callout--support {
  background: #f7f4df;
}

.content-callout--support .content-list {
  padding-left: 1em;
}

.content-callout__heading {
  margin: 0;
  color: var(--main-color);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.content-callout .content-list li,
.content-callout p {
  line-height: 32px;
}

.content-callout .content-list li {
  font-weight: 400;
}

.content-link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 263px;
  max-width: 100%;
  min-height: 46px;
  margin: 32px auto 0;
  padding: 5px 24px;
  border: 5px solid var(--sub-color);
  border-radius: 999px;
  background: var(--sub-color);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.content-link-button--wide {
  width: 460px;
}

.content-link-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 48px;
  margin-top: 32px;
}

.content-link-buttons .content-link-button {
  margin: 0;
}

/* ==相続人の範囲と法定相続分== */
.heirs-figure {
  margin: 32px auto 0;
  text-align: center;
}

.heirs-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.heirs-figure--overview {
  max-width: 640px;
}

.content-band-heading--rank {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: stretch;
  min-height: 58px;
  padding: 0;
  border-bottom: 1px solid var(--main-color);
  background: var(--bg-color-except-top);
  color: var(--main-color);
}

.content-band-heading__rank-label,
.content-band-heading--rank .content-band-heading__title {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 8px 20px;
}

.content-band-heading__rank-label {
  justify-content: center;
  background: var(--main-color);
  color: #fff;
  text-align: center;
}

.content-band-heading--rank .content-band-heading__title {
  color: var(--main-color);
}

.heir-rank__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: center;
  gap: 48px;
}

.heir-rank__figure {
  margin: 0;
}

.heir-rank__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.heir-rank__body .content-body > * + * {
  margin-top: 24px;
}

.heir-rank__body .content-body strong {
  color: var(--main-color);
}

.inheritance-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 82px;
  margin-top: 40px;
  
}

.inheritance-share-card {
  padding: 43px 39px 43px 55px;
  border-radius: 10px;
  background: #f7f4df;
}

.inheritance-share-card__heading {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  align-items: center;
  gap: 19px;
  margin: 0;
  color: var(--main-color);
}

.inheritance-share-card__pattern {
  display: grid;
  justify-items: center;
  min-height: 71px;
  padding: 8px 11px;
  border-radius: 10px;
  background: var(--main-color);
  color: #fff;
  line-height: 1.15;
}

.inheritance-share-card__pattern-label {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.inheritance-share-card__pattern-number {
  font-size: 25px;
  font-weight: 700;
}

.inheritance-share-card__title {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.5;
}

.inheritance-share-card__figure {
  margin: 28px 0 0;
}

.inheritance-share-card__figure img {
  width: 100%;
}

.inheritance-share-card .inheritance-share-card__text {
  margin-top: 20px;
}

.content-numbered-heading {
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--main-color);
  color: var(--main-color);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.content-link-button:hover {
  background: var(--bg-color-except-top);
  color: var(--sub-color);
  opacity: 1;
}

.content-link-button--outline {
  background: var(--bg-color-except-top);
  color: var(--sub-color);
}

.content-link-button--outline:hover {
  background: var(--sub-color);
  color: #fff;
}

/* ==料金・報酬== */
.price-page--last {
  padding-bottom: 120px;
}

.price-page .price-page__lead {
  margin: 0 0 80px;
  padding-bottom: 20px;
  border-bottom: 1px solid #b8c0cf;
  text-align: center;
}

.price-page__lead strong {
  font-size: 24px;
  font-weight: 700;
}

.price-page__lead span {
  font-size: 18px;
}

.price-section--flow {
  position: relative;
  z-index: 0;
  padding: 80px 0;
}

.price-section--flow::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background: #f1f5f8;
  content: "";
  transform: translateX(-50%);
}

.price-consultation {
  display: grid;
  grid-template-columns: 181px minmax(0, 1fr);
  margin-top: 32px;
}

.price-consultation__label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 19px 20px;
  background: var(--main-color);
  font-size: 27px;
  color: #fff;
  font-weight: 700;
}

.price-consultation__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
}

.price-consultation__amount {
  font-size: 27px;
  font-weight: 700;
}

.price-consultation__amount strong {
  margin-left: 8px;
  font-size: 27px;
}

.price-page .price-consultation__note {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.5;
}

.price-flow {
  padding-left: 0;
  display: grid;
  gap: 24px;
}

.price-flow__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.price-flow__body {
  padding: 20px 50px;
}

.price-flow__title {
  margin: 0 0 15px;
  color: var(--main-color);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

.price-flow__text {
  line-height: 32px;
}

.price-flow__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-fee-group + .price-fee-group {
  margin-top: 48px;
}

.price-fee-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--main-color);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}

.price-fee-heading::before {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid var(--main-color);
  content: "";
}

.price-fee-table {
  width: 100%;
  table-layout: fixed;
}

.price-fee-table th,
.price-fee-table td {
  border: 1px solid #b8c0cf;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}

.price-fee-table thead th {
  padding: 15px 18px;
  border-color: #fff;
  background: var(--main-color);
  color: #fff;
}

.price-fee-table tbody th,
.price-fee-table tbody td {
  padding: 26px 18px;
}

.price-fee-table tbody th {
  width: 40%;
  background: #f4f6f8;
  color: var(--text-color);
  font-weight: 700;
  text-align: left;
}

.price-fee-table td {
  font-weight: 700;
}

.price-fee-box {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border: 1px solid #b8c0cf;
}

.price-fee-box dt,
.price-fee-box dd {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}

.price-fee-box dt {
  background: var(--main-color);
  color: #fff;
  font-weight: 700;
}

.price-fee-box dd {
  font-weight: 700;
}

.price-page .price-fee-note {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.5;
}

/* ==ご相談事例== */
.case-page {
  padding-bottom: 0;
}

.case-page--last {
  padding-bottom: 120px;
}

.case-page .content-category-band {
  margin: 0 0 28px;
  padding: 6px 20px;
  font-size: 23px;
}

.case-page__category-title {
  margin: 0 0 32px;
  color: var(--main-color);
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.case-page--before .case-page__category-title {
  color: #603813;
}

.case-page--before .content-category-band {
  background: #603813;
}

.case-list {
  display: grid;
  gap: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-card {
  padding: 51px 52px 44px;
  border-radius: 8px;
  background: #f3f6f9;
}

.case-page--before .case-card {
  background: #f7f4df;
}

.case-card__heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 34px;
}

.case-card__number {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--main-color);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.case-page--before .case-card__number {
  background: #603813;
}

.case-card__title {
  margin: 0;
  color: var(--main-color);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
}

.case-page--before .case-card__title {
  color: #603813;
}

.case-card__detail {
  min-height: 154px;
  padding: 18px 32px;
  border-radius: 4px;
  background: #fff;
}

.case-card__detail + .case-card__detail {
  margin-top: 40px;
}

.case-card__detail-title {
  margin: 0;
  color: var(--main-color);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.case-page--before .case-card__detail-title {
  color: #603813;
}

.case-card .content-list,
.case-card .case-card__text {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 32px;
}

.case-card .content-list li {
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
}

.case-card .content-link-button--case {
  margin-top: 32px;
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}

.case-card .content-link-button--case:hover {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
  opacity: .8;
}

.case-page--before .case-card .content-link-button--case {
  background: #603813;
  border-color: #603813;
}

.case-page--before .case-card .content-link-button--case:hover {
  background: #603813;
  border-color: #603813;
}

/* ==Q&A== */
.faq-page {
  padding-bottom: 0;
}

.faq-page--last {
  padding-bottom: 120px;
}

.faq-page .faq-list {
  margin: 0;
  padding: 0;
}

.faq-page .faq-item + .faq-item {
  margin-top: 96px;
}

.faq-page .faq-item__heading {
  margin: 0;
}

.faq-page .faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  width: 100%;
  margin: 0;
  padding: 16px 27px;
  border: 0;
  background: var(--main-color);
  color: #fff;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 39px;
  text-align: left;
}

.faq-page .faq-item__question::after {
  flex: 0 0 auto;
  margin-left: 24px;
  color: #fff;
  content: "−";
  font-size: 27px;
  line-height: 1;
}

.faq-page .faq-item__question[aria-expanded="false"]::after {
  content: "＋";
}

.faq-page .faq-item__question:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.faq-page .content-category-heading--gold + .faq-list .faq-item__question {
  background: #603813;
}

.faq-page .content-category-heading--gray + .faq-list .faq-item__question {
  background: #4d4d4d;
}

.faq-page .faq-item__answer {
  padding-top: 24px;
  font-size: 18px;
  line-height: 36px;
  overflow: hidden;
  transition: height .3s ease;
}

.faq-page .faq-item__answer p {
  margin: 0;
}

.faq-page .faq-item .content-link-button {
  width: 430px;
  margin-top: 20px;
}

.faq-page__divider {
  margin: 136px 0 0;
  border-top: 1px solid var(--main-color);
}

/* ==お問い合わせ== */
.contact-page .wpcf7-form
  a[href="https://www.wakasugi-law.jp/privacypolicy/"] {
  display: inline;
}

.contact-page {
  padding-bottom: 120px;
}

.contact-page .content-body {
  text-align: center;
}

.contact-page__phone {
  display: grid;
  place-content: center;
  width: 515px;
  min-height: 150px;
  margin: 44px auto 60px;
  background: url("../img/contact/tel.jpg") center / cover no-repeat;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  text-decoration: none;
}

.contact-page__phone span {
  display: block;
}

.contact-page__phone span:first-child {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-page__phone span:nth-child(2) {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
}

.contact-page__phone span:last-child {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.3;
}

.contact-page .wpcf7,
.contact-page [data-contact-check],
.contact-page [data-contact-confirm] {
  width: min(100%, 960px);
  margin-right: auto;
  margin-left: auto;
}

.contact-page .wpcf7-form > p {
  margin: 0;
}

.contact-page .wpcf7-form > p + p {
  margin-top: 28px;
}

.contact-page .wpcf7-form label,
.contact-page .wpcf7-form > p > strong {
  display: block;
  color: var(--text-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-page .wpcf7-form label > em {
  color: #e60012;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.contact-page .wpcf7-form label > small {
  display: inline;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-page .wpcf7-form > p > small {
  display: block;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-page .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

.contact-page .wpcf7-form-control:not(.wpcf7-radio) {
  box-sizing: border-box;
  width: 100%;
  min-height: 36px;
  padding: 4px 10px;
  border: 1px solid #4d4d4d;
  border-radius: 0;
  background: #fff;
  color: var(--text-color);
  font: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-page textarea.wpcf7-form-control {
  min-height: 371px;
  resize: vertical;
}

.contact-page .wpcf7-form-control::placeholder {
  color: #b3b3b3;
  font-weight: 400;
}

.contact-page .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.contact-page .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.contact-page .wpcf7-radio label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
}

.contact-page .wpcf7-radio input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--main-color);
}

.contact-page .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #e60012;
  font-size: 16px;
  line-height: 1.5;
}

.contact-page .wpcf7-not-valid {
  border-color: #e60012;
}

.contact-page .wpcf7 input[type="submit"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-page [data-contact-check],
.contact-page [data-contact-send] {
  display: block;
  box-sizing: border-box;
  width: 318px;
  min-height: 56px;
  margin-top: 56px;
  margin-right: auto;
  margin-left: auto;
  padding: 12px 24px;
  border: 1px solid var(--main-color);
  border-radius: 0;
  background: var(--main-color);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-page [data-contact-check]:hover,
.contact-page [data-contact-send]:hover {
  opacity: .8;
}

.contact-page [data-contact-confirm] {
  margin-top: 48px;
}

.contact-page [data-contact-confirm] > p {
  margin: 0;
  text-align: center;
}

.contact-page [data-contact-confirm] dl {
  margin: 32px 0 0;
  border-top: 1px solid #b8c0cf;
}

.contact-page [data-contact-confirm] dl > div {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  border-bottom: 1px solid #b8c0cf;
}

.contact-page [data-contact-confirm] dt,
.contact-page [data-contact-confirm] dd {
  margin: 0;
  padding: 16px 20px;
  font-size: 18px;
  line-height: 1.7;
}

.contact-page [data-contact-confirm] dt {
  background: #f4f6f8;
  font-weight: 700;
}

.contact-page [data-contact-confirm] dd {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.contact-page [data-contact-confirm] [data-contact-edit] {
  display: block;
  box-sizing: border-box;
  width: 318px;
  min-height: 56px;
  margin: 24px auto 0;
  padding: 12px 24px;
  border: 1px solid var(--main-color);
  border-radius: 0;
  background: #fff;
  color: var(--main-color);
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-page[data-contact-step="confirm"] .wpcf7-form > p,
.contact-page[data-contact-step="complete"] .wpcf7-form > p,
.contact-page[data-contact-step="complete"] [data-contact-check] {
  display: none;
}

.contact-page[data-contact-step="complete"] .wpcf7-response-output {
  display: block;
  margin: 48px 0 0;
}

/* ==下層ページ スタイル見本== */
.style-guide-page {
  padding-top: 281px;
}

.style-guide-page__title {
  margin: 0;
  color: var(--main-color);
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  line-height: 1.4;
  text-align: center;
}

.style-guide-page__lead {
  margin: 24px 0 72px;
  text-align: center;
}

.style-guide-sample {
  padding: 48px 0;
  border-top: 1px solid #d9dfe8;
}

.style-guide-sample__label {
  margin: 0 0 24px;
  color: var(--main-color);
  font-size: 14px;
  font-weight: 700;
}

.style-guide-sample .content-category-heading + .content-category-heading {
  margin-top: 32px;
}

.style-guide-sample .content-category-band + .content-category-band {
  margin-top: 20px;
}

.style-guide-sample .content-link-button + .content-link-button {
  margin-top: 16px;
}

/* ==タブレット== */
@media (max-width: 1199px) {
  .js-toggle-menu {
    right: 0;
  }

  .fv-bg-wrap {
    height: 100%;
  }

  .representative-message__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .representative-message__side {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .office-information__table th {
    width: 160px;
  }
}

/* ==スマートフォン== */
@media (max-width: 767px) {
  .contact-cta__background-image {
    object-position: right center;
  }

  .global-header.menu-type1 .site-logo {
    max-width: 250px;
    margin: 20px 0;
  }

  .is-under-header .fv-slide,
  .is-under-header .fv-slide-inner,
  .is-under-header .fv-inner {
    min-height: 150px;
  }

  .fv-block.is-under-header {
    height: 150px;
  }

  .site-footer .footer-logo {
    width: 250px;
  }

  .footer-menu-list li:not(:last-child)::after {
    content: none;
  }

  .footer-menu-list li:nth-child(odd):not(:last-child)::after {
    content: "";
  }

  .footer-menu-list li:nth-child(odd)::after {
    background-color: var(--main-color);
  }

  .contact-cta__content {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
    min-height: 0;
    padding: 56px 24px;
  }

  .contact-cta__title {
    margin-bottom: 0;
    font-size: 24px;
  }

  .contact-cta--center .contact-cta__description {
    font-size: 18px;
  }

  .contact-cta--standard .contact-cta__description {
    font-size: 16px;
  }

  .contact-cta__button {
    width: 100%;
    min-width: 0;
    border-radius: 13px;
    min-height: 88px;
    font-size: 22px;
  }

  .contact-cta--center .contact-cta__button {
    width: 100%;
    max-width: 550px;
    min-height: 88px;
  }

  .contact-cta--standard .contact-cta__button {
    width: 100%;
    max-width: 470px;
  }

  .contact-cta--center .contact-cta__button-arrow-icon {
    right: 24px;
  }

  .contact-cta--center .contact-cta__content {
    min-height: 0;
  }

  .section-heading {
    margin-bottom: 32px;
    padding-bottom: 12px;
  }

  .section-heading__title {
    font-size: 24px;
  }

  .representative-message__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .representative-message__office {
    font-size: 18px;
  }

  .representative-message__name {
    gap: 16px;
    margin-bottom: 24px;
  }

  .representative-message__name span {
    font-size: 16px;
  }

  .representative-message__name strong {
    font-size: 26px;
  }

  .representative-message__text p {
    font-size: 14px;
  }

  .representative-message__side {
    gap: 20px;
  }

  .representative-message__career {
    padding: 24px 20px;
  }

  .representative-message__career-list li {
    font-size: 13px;
  }

  .office-information {
    padding: 72px 0 88px;
  }

  .office-information__inner {
    padding: 0;
  }

  .office-information__table th {
    width: 34%;
    padding: 14px 12px;
    font-size: 14px;
  }

  .office-information__table td {
    padding: 14px 16px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .office-information__table,
  .office-information__table tbody,
  .office-information__table tr,
  .office-information__table th,
  .office-information__table td {
    display: block;
    width: 100%;
  }

  .office-access {
    margin-top: 72px;
  }

  .office-access__map {
      height: 300px;
      width: 100%;
  }

  /* ==下層ページ本文== */
  .lower-content,
  .content-body {
    font-size: 16px;
    line-height: 1.9;
  }

  .inheritance-flow__table thead th {
    padding: 8px;
    font-size: 15px;
  }

  .inheritance-flow__table thead th:first-child {
    width: 36%;
  }

  .inheritance-flow__table tbody th {
    padding: 16px 8px;
    font-size: 15px;
  }

  .inheritance-flow__table td {
    padding: 16px 12px;
    font-size: 15px;
  }

  .inheritance-flow__table li {
    font-size: 15px;
  }

  .content-section-heading {
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .content-section-heading--separated {
    margin-top: 56px;
  }

  .content-section-heading__mark {
    width: 9px;
    height: auto;
    align-self: stretch;
  }

  .content-section-heading__title {
    font-size: 24px;
  }

  .content-band-heading {
    margin-top: 80px;
    padding: 11px 14px;
    min-height: 52px;
    font-size: 20px;
  }

  .content-band-heading--step {
    grid-template-columns: 84px minmax(0, 1fr);
    padding: 0;
    font-size: 18px;
  }

  .content-band-heading__step-label,
  .content-band-heading--step .content-band-heading__title {
    min-height: 42px;
    padding: 8px 12px;
  }

  .content-subsection-heading {
    margin: 32px 0 14px;
    padding-bottom: 6px;
    font-size: 20px;
  }

  .content-section-heading--separated ~ .content-band-heading--step {
    margin-top: 80px;
  }

  .content-band-heading--step + .content-subsection-heading {
    margin-top: 32px;
  }

  .content-body--emphasis + .content-subsection-heading,
  .content-body--emphasis + .content-subsection-heading + .content-body + .content-subsection-heading,
  .content-band-heading--step + .content-subsection-heading + .content-body + .content-subsection-heading,
  .content-band-heading--step + .content-subsection-heading + .content-body + .content-subsection-heading + .content-body + .content-link-buttons + .content-subsection-heading,
  .content-band-heading--step + .content-subsection-heading + .content-body + .content-link-buttons + .content-subsection-heading {
    margin-top: 32px;
  }

  .content-body--emphasis {
    font-size: 16px;
    line-height: 1.9;
  }

  .content-category-heading {
    gap: 10px;
    margin: 56px 0 16px;
  }

  .content-category-heading::before {
    width: 6px;
    height: 24px;
  }

  .content-category-heading__title {
    font-size: 21px;
  }

  .lower-content .content-category-band {
    margin: 56px 0 16px;
    padding: 7px 12px;
    font-size: 14px;
  }

  .content-body > * + * {
    margin-top: 20px;
  }

  .content-note {
    font-size: 13px;
  }

  .content-callout {
    padding: 24px 20px;
    border-radius: 8px;
  }

  .content-callout__heading {
    font-size: 20px;
  }

  .content-callout .content-list li,
  .content-callout p {
    font-size: 16px;
    line-height: 1.9;
  }

  .content-link-button {
    width: 100%;
    max-width: 280px;
    min-height: 44px;
    margin-top: 24px;
    font-size: 16px;
  }

  .content-link-button--wide {
    max-width: 100%;
  }

  .content-link-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
  }

  .heirs-figure {
    margin-top: 24px;
  }

  .content-band-heading--rank {
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 52px;
    padding: 0;
  }

  .content-band-heading__rank-label,
  .content-band-heading--rank .content-band-heading__title {
    min-height: 52px;
    padding: 8px 12px;
  }

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

  .heir-rank__figure {
    width: 180px;
    max-width: 55%;
    margin: 0 auto;
  }

  .lower-content .inheritance-share-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
    padding-bottom: 80px;
  }

  .inheritance-share-card {
    padding: 24px 20px;
    border-radius: 8px;
  }

  .inheritance-share-card__heading {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .inheritance-share-card__pattern {
    min-height: 0;
    padding: 7px 8px;
    border-radius: 8px;
  }

  .inheritance-share-card__pattern-label {
    font-size: 11px;
  }

  .inheritance-share-card__pattern-number {
    font-size: 20px;
  }

  .inheritance-share-card__title {
    font-size: 18px;
  }

  .inheritance-share-card__figure {
    margin-top: 24px;
  }

  .inheritance-share-card .inheritance-share-card__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
  }

  .content-numbered-heading {
    margin-top: 40px;
    padding-bottom: 8px;
    font-size: 20px;
  }

  /* ==料金・報酬SP== */
  .price-page--last {
    padding-bottom: 80px;
  }

  .price-page .price-page__lead {
    margin-bottom: 48px;
    padding-bottom: 16px;
    text-align: left;
  }

  .price-page__lead strong {
    font-size: 16px;
  }

  .price-page__lead span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
  }

  .price-section--flow {
    padding: 56px 0;
  }

  .price-consultation {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .price-consultation__label {
    padding: 12px;
  }

  .price-consultation__body {
    padding: 16px;
  }

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

  .price-consultation__amount strong {
    font-size: 22px;
  }

  .price-page .price-consultation__note {
    font-size: 13px;
    line-height: 1.6;
  }

  .price-flow {
    gap: 16px;
  }

  .price-flow__item {
    grid-template-columns: 1fr;
  }

  .price-flow__body {
    padding: 20px;
  }

  .price-flow__title {
    font-size: 18px;
  }

  .price-flow__text {
    font-size: 14px;
    line-height: 1.8;
  }

  .price-flow__media {
    aspect-ratio: 16 / 9;
  }

  .price-fee-group + .price-fee-group {
    margin-top: 40px;
  }

  .price-fee-heading {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .price-fee-table th,
  .price-fee-table td {
    padding: 10px 6px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .price-fee-box {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .price-fee-box dt,
  .price-fee-box dd {
    padding: 12px 8px;
  }

  .price-fee-box dt {
    font-size: 13px;
  }

  .price-fee-box dd {
    font-size: 16px;
  }

  .price-page .price-fee-note,
  .price-page .price-expense__text {
    font-size: 13px;
    line-height: 1.8;
  }

  /* ==ご相談事例SP== */
  .case-page--last {
    padding-bottom: 80px;
  }

  .case-page .content-category-band {
    margin: 56px 0 24px;
  }

  .case-page--before .content-category-band {
    background: #603813;
  }

  .case-page__category-title {
    margin-bottom: 24px;
    font-size: 21px;
  }

  .case-list {
    gap: 20px;
  }

  .case-card {
    padding: 24px 20px 20px;
    border-radius: 6px;
  }

  .case-card__heading {
    gap: 12px;
    margin-bottom: 16px;
  }

  .case-card__number {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  .case-card__title {
    font-size: 18px;
  }

  .case-card__detail {
    min-height: 0;
    padding: 16px;
  }

  .case-card__detail + .case-card__detail {
    margin-top: 12px;
  }

  .case-card__detail-title {
    font-size: 14px;
  }

  .case-card .content-list,
  .case-card .case-card__text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
  }

  .case-card .content-list li {
    font-size: 14px;
    line-height: 1.8;
  }

  /* ==Q&A SP== */
  .faq-page--last {
    padding-bottom: 80px;
  }

  .faq-page .faq-item + .faq-item {
    margin-top: 40px;
  }

  .faq-page .faq-item__question {
    min-height: 0;
    padding: 12px 16px;
    font-size: 18px;
    line-height: 1.5;
  }

  .faq-page .faq-item__question::after {
    margin-left: 12px;
    font-size: 18px;
  }

  .faq-page .faq-item__answer {
    padding-top: 16px;
    font-size: 16px;
    line-height: 1.9;
  }

  .faq-page .faq-item .content-link-button {
    width: 100%;
    max-width: 430px;
    margin-top: 16px;
  }

  .faq-page__divider {
    margin-top: 64px;
  }

  /* ==お問い合わせSP== */
  .contact-page {
    padding-bottom: 80px;
  }

  .contact-page .content-body {
    text-align: left;
  }

  .contact-page__phone {
    width: 100%;
    min-height: 0;
    aspect-ratio: 515 / 150;
    margin: 28px auto 40px;
  }

  .contact-page__phone span:first-child {
    font-size: 15px;
  }

  .contact-page__phone span:nth-child(2) {
    margin-top: 2px;
    font-size: 23px;
  }

  .contact-page__phone span:last-child {
    margin-top: 3px;
    font-size: 10px;
  }

  .contact-page .wpcf7-form > p + p {
    margin-top: 24px;
  }

  .contact-page .wpcf7-form label,
  .contact-page .wpcf7-form > p > strong {
    font-size: 16px;
  }

  .contact-page .wpcf7-form label > em,
  .contact-page .wpcf7-form label > small,
  .contact-page .wpcf7-form > p > small,
  .contact-page .wpcf7-not-valid-tip {
    font-size: 13px;
  }

  .contact-page .wpcf7-form label > small {
    display: inline;
    margin: 0;
  }

  .contact-page .wpcf7-form > p > small {
    display: block;
    margin: 2px 0 0;
  }

  .contact-page .wpcf7-form-control:not(.wpcf7-radio) {
    min-height: 42px;
    font-size: 16px;
  }

  .contact-page textarea.wpcf7-form-control {
    min-height: 280px;
  }

  .contact-page .wpcf7-radio {
    gap: 10px 16px;
  }

  .contact-page .wpcf7-radio label {
    font-size: 15px;
  }

  .contact-page .wpcf7-radio input {
    width: 16px;
    height: 16px;
  }

  .contact-page [data-contact-check],
  .contact-page [data-contact-send],
  .contact-page [data-contact-confirm] [data-contact-edit] {
    width: 100%;
    max-width: 318px;
    min-height: 52px;
    margin-top: 40px;
    font-size: 16px;
  }

  .contact-page [data-contact-confirm] {
    margin-top: 40px;
  }

  .contact-page [data-contact-confirm] dl {
    margin-top: 24px;
  }

  .contact-page [data-contact-confirm] dl > div {
    grid-template-columns: 1fr;
  }

  .contact-page [data-contact-confirm] dt,
  .contact-page [data-contact-confirm] dd {
    padding: 12px 14px;
    font-size: 16px;
  }

  .contact-page [data-contact-confirm] [data-contact-edit] {
    margin-top: 20px;
  }

  .style-guide-page {
    padding-top: 120px;
  }

  .style-guide-page__title {
    font-size: 26px;
  }

  .style-guide-page__lead {
    margin: 16px 0 48px;
  }

  .style-guide-sample {
    padding: 36px 0;
  }

  .top-page[data-top-layout="message"] .content-section-heading__title {
    font-size: 5.5vw;
  }
}

/* ==========以下ライムツリー追記============== */
/* ========================================
   若杉相続サイト｜フォント統一
   Zen Kaku Gothic New
======================================== */

/* 基本 */
body,
button,
input,
textarea,
select,

/* ヘッダー・メニュー */
.global-header .global-nav .menu-list li a,
.global-nav .menu-list .menu-item .sub-menu li a,
.sp-menu .global-nav .menu-item > a,
.sp-menu .global-nav .menu-item .sub-menu li a,

/* フッターメニュー */
.footer-menu-list a,

/* 下層ページ・共通コンテンツ */
.lower-content,
.content-body,
.content-section-heading__title,
.content-band-heading,
.content-subsection-heading,
.content-category-heading__title,
.content-list li,
.content-callout__heading,
.case-page__category-title,
.section-heading__title,

/* TOPページ */
.top-problem-grid__title,

/* カード */
.card-title,
.card-text,
.card-content,
.card-link,
.card-link a,

/* CTA */
.contact-cta__title,
.contact-cta__description,
.contact-cta__button,

/* 代表メッセージ */
.representative-message__office,
.representative-message__name,

/* リンクボタン */
.content-link-button,
.content-link-button--wide,
.content-link-buttons .content-link-button,

/* Q&A */
.faq-page .faq-item__question {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
}


/* ========================================
   親テーマのフォント指定を上書き
======================================== */

.font-gothic h2,
.font-gothic h3,
.font-gothic p,
.font-gothic .fv-btn,
.font-gothic .section-text,
.font-gothic .mini-image-text,
.font-gothic .title-decoration-banner,

.font-mincho h2,
.font-mincho h3,
.font-mincho p,
.font-mincho .fv-btn,
.font-mincho .section-text,
.font-mincho .mini-image-text,
.font-mincho .title-decoration-banner,
.font-mincho .news-list {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
}

/* ========================================
   若杉相続サイト｜文字サイズ 全体調整 完全版
   実テーマ（親 main.css + 子 wakasugi.css）確認済み

   方針
   ・PC：16px→15px、17px→16px、18px→17px
         19px以上→約90%（整数px）
   ・SP：16pxは維持、17px→16px、18px→17px
         19px以上→約90%（整数px）
   ・15px以下は原則維持
   ・現在のサイト基本本文 18px は PC 17px / SP 16px
   ・既存の !important やテーマ個別指定に負けないよう
     この調整ブロックも !important で統一
   ※ assets/css/wakasugi.css の一番最後に追記
======================================== */

/* テーマ設定から head に出力される変数より優先 */
:root {
  --base-font-size: 17px !important;
  --font-post-title-size: 18px !important;
  --font-menu-title-size: 15px !important;
  --font-menu-title-size2: 15px !important;
  --font-menu-subtitle-size: 15px !important;
  --font-card-text-size: 14px !important;
}

/* var(--base-font-size) を使わず継承している本文も17pxへ */
body {
  font-size: 17px !important;
}

@media screen and (max-width: 767px) {
  :root {
    --base-font-size: 16px !important;
    --font-post-title-size: 18px !important;
    --font-menu-title-size: 16px !important;
    --font-menu-title-size2: 16px !important;
    --font-menu-subtitle-size: 16px !important;
    --font-card-text-size: 14px !important;
  }

  body {
    font-size: 16px !important;
  }
}


/* ===== 親テーマ main.css：既存 font-size を調整 ===== */

h2 { font-size: 25px !important; }

h3 { font-size: 20px !important; }

.global-header .site-lead { font-size: 17px !important; }

.global-header .global-nav .menu-list li a { font-size: 17px !important; }

.menu-item-card .menu-item-body .menu-item-date { font-size: 14px !important; }

.menu-item-card .menu-item-body .menu-item-title { font-size: 22px !important; }

.menu-item-card .menu-item-body .menu-item-excerpt { font-size: 14px !important; }

.global-nav .menu-list .menu-item .sub-menu li a { font-size: 14px !important; }

.slider-title-group a { font-size: 22px !important; }

.slider-prev,
.slider-next { font-size: 17px !important; }

.menu-card-row .menu-card-item .menu-card-title { font-size: 22px !important; }

header .sns-links li a i { font-size: 18px !important; }

@media (min-width: 768px) {
  .global-header.menu-type2 .site-lead { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .global-header.menu-type2 .site-lead { font-size: 16px !important; }
}

.global-header.menu-type2 .logo-item .site-logo { font-size: 29px !important; }

.global-header.menu-type2 .global-nav .menu-list li a { font-size: 14px !important; }

.global-header.menu-type3 .global-nav .sub-menu a { font-size: 14px !important; }

.global-header.menu-type4 .global-nav .sub-menu a { font-size: 14px !important; }

@media (min-width: 768px) {
  .global-header.menu-type3 li a,
.global-header.menu-type4 li a,
.global-header.menu-type5 li a { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .global-header.menu-type3 li a,
.global-header.menu-type4 li a,
.global-header.menu-type5 li a { font-size: 16px !important; }
}

.fv-copy h2 { font-size: 35px !important; }

.fv-copy p { font-size: 26px !important; }

.fv-btn, .card-box-single .card-link.fv-btn { font-size: 14px !important; }

.fv-btn2 { font-size: 14px !important; }

.card-box .card-content h3 { font-size: 20px !important; }

.card-box .card-content h3.title-decoration-banner { font-size: 17px !important; }

.card-box .card-content h3.title-decoration-ribbon { font-size: 17px !important; }

@media (min-width: 768px) {
  .card-mini-image .mini-image-text { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .card-mini-image .mini-image-text { font-size: 16px !important; }
}

.section-card-box-pair .image-background h3 { font-size: 35px !important; }

.section-card-box-single .section-inner .section-banner .title-decoration-banner { font-size: 17px !important; }

.section-card-box-single .section-inner .section-banner .title-decoration-banner { font-size: 17px !important; }

.section-campaign_slider .section-title { font-size: 29px !important; }

@media (min-width: 768px) {
  .section-campaign_slider .section-text { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .section-campaign_slider .section-text { font-size: 16px !important; }
}

.section-campaign_slider .campaign-slider-wrapper .campaign-slider .slider-prev,
.section-campaign_slider .campaign-slider-wrapper .campaign-slider .slider-next { font-size: 22px !important; }

.section-campaign_slider .campaign-card .card-content h3 { font-size: 18px !important; }

.section-campaign_slider .campaign-card .card-content p { font-size: 14px !important; }

.section-news_list .section-title { font-size: 29px !important; }

@media (min-width: 768px) {
  .section-news_list .news-list .news-item { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .section-news_list .news-list .news-item { font-size: 16px !important; }
}

.section-news_list .news-list .news-item a.news-title span.news-date { font-size: 14px !important; }

@media (min-width: 768px) {
  #staff_single #staff_single_header .title_area .position { font-size: 15px !important; }
}

@media (max-width: 767px) {
  #staff_single #staff_single_header .title_area .position { font-size: 16px !important; }
}

#staff_single #staff_single_header .title_area .title { font-size: 29px !important; }

#staff_single #staff_single_header .title_area .sub_title { font-size: 14px !important; }

#staff_single #staff_single_header #staff_social_link li a i { font-size: 18px !important; }

#staff_single #staff_single_desc .catch_area .catch_area_inner .catch { font-size: 18px !important; }

@media (min-width: 768px) {
  #staff_single #staff_single_desc .catch_area .catch_area_inner .desc { font-size: 15px !important; }
}

@media (max-width: 767px) {
  #staff_single #staff_single_desc .catch_area .catch_area_inner .desc { font-size: 16px !important; }
}

#product_image_area .headline { font-size: 22px !important; }

#product_title_area .title { font-size: 29px !important; }

@media (min-width: 768px) {
  #product_title_area .desc { font-size: 15px !important; }
}

@media (max-width: 767px) {
  #product_title_area .desc { font-size: 16px !important; }
}

.card-box1-wrapper .card-title { font-size: 18px !important; }

.card-box1-wrapper .card-content { font-size: 14px !important; }

.card-box1-wrapper .card-content .schedule-row { font-size: 13px !important; }

.l-sidebar .widget-title { font-size: 20px !important; }

.l-sidebar .latest-list .latest-item a.latest-link { font-size: 14px !important; }

.l-sidebar .widget-search .search-form .search-field { font-size: 14px !important; }

@media (min-width: 768px) {
  .l-sidebar .widget-search .search-form .search-submit i { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .l-sidebar .widget-search .search-form .search-submit i { font-size: 16px !important; }
}

.sidebar-nav .sidebar-menu li a { font-size: 14px !important; }

.related-product-section .section-title,
.staff-list-section .section-title { font-size: 23px !important; }

.related-product-list .related-item .related-title { font-size: 17px !important; }

.product-content .product-title { font-size: 22px !important; }

.product-content .product-mini { font-size: 14px !important; }

@media (min-width: 768px) {
  .product-nav-list li a { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .product-nav-list li a { font-size: 16px !important; }
}

.site-footer { font-size: 14px !important; }

.site-footer .footer-button .fv-btn2 { font-size: 14px !important; }

.site-footer .footer-sns li a { font-size: 18px !important; }

.site-footer .footer-copy { font-size: 12px !important; }

.single-article .single-title { font-size: 22px !important; }

.single-article .post-meta { font-size: 12px !important; }

.post-pager .pager-title { font-size: 14px !important; }

.section-label { font-size: 17px !important; }

@media (min-width: 768px) {
  .news-title { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .news-title { font-size: 16px !important; }
}

.news-date { font-size: 13px !important; }

.archive-cat { font-size: 12px !important; }

.archive-date { font-size: 13px !important; }

.section-404 .page-title { font-size: 29px !important; }

.archive-item-title,
.product-title { font-size: 18px !important; }

@media (min-width: 768px) {
  .global-nav .menu-list li a { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .global-nav .menu-list li a { font-size: 16px !important; }
}

@media (min-width: 768px) {
  .menu-item-title,
.slider-title-group a,
.menu-card-title { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .menu-item-title,
.slider-title-group a,
.menu-card-title { font-size: 16px !important; }
}

.section-card-box-pair .image-background h3 { font-size: 14px !important; }

@media screen and (max-width: 1199px) {
  h2 { font-size: 22px !important; }
}

@media screen and (max-width: 1199px) {
  h3 { font-size: 20px !important; }
}

@media screen and (max-width: 1199px) {
  .js-toggle-menu { font-size: 20px !important; }
}

@media screen and (max-width: 1199px) {
  .sp-menu .sns-links li a i { font-size: 22px !important; }
}

@media screen and (max-width: 1199px) {
  .sp-menu .sp-menu-close { font-size: 26px !important; }
}

@media screen and (max-width: 1199px) {
  .sp-menu .global-nav .menu-item > a { font-size: 17px !important; }
}

@media screen and (max-width: 1199px) {
  .sp-menu .global-nav .menu-item > a i { font-size: 14px !important; }
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  .sp-menu .global-nav .menu-item .sub-menu li a { font-size: 15px !important; }
}

@media screen and (max-width: 1199px) and (max-width: 767px) {
  .sp-menu .global-nav .menu-item .sub-menu li a { font-size: 16px !important; }
}

@media screen and (max-width: 767px) {
  h2 { font-size: 22px !important; }
}

@media screen and (max-width: 767px) {
  h3 { font-size: 20px !important; }
}

@media screen and (max-width: 767px) {
  .section-campaign_slider .section-title { font-size: 17px !important; }
}

@media screen and (max-width: 767px) {
  .footer-menu-list li a { font-size: 13px !important; }
}

@media screen and (max-width: 767px) {
  .single-article .single-title { font-size: 17px !important; }
}

@media screen and (max-width: 767px) {
  #product_title_area .title { font-size: 22px !important; }
}

@media screen and (max-width: 767px) {
  .fv-copy h2 { font-size: 35px !important; }
}

@media screen and (max-width: 767px) {
  .fv-copy p { font-size: 26px !important; }
}

/* ===== 子テーマ wakasugi.css：既存 font-size を調整 ===== */

@media (min-width: 768px) {
  .top-problem-grid__eyebrow { font-size: clamp(15px, 0.99vw, 19px) !important; }
}

@media (max-width: 767px) {
  .top-problem-grid__eyebrow { font-size: clamp(16px, 0.99vw, 19px) !important; }
}

.top-problem-grid__title { font-size: 29px !important; }

.top-problem-grid__list a { font-size: 18px !important; }

@media (min-width: 768px) {
  .top-problem-grid__more { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .top-problem-grid__more { font-size: 16px !important; }
}

.home .section-card-box-group .card-box .card-content h3.title-decoration-ribbon { font-size: 19px !important; }

.home .section-card-box-single .card-title { font-size: 24px !important; }

.home .section-card-box-single .card-link .fv-btn2 { font-size: 17px !important; }

.home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) .card-title { font-size: 29px !important; }

.home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) .card-text { font-size: 21px !important; }

.top-flow__item figcaption { font-size: 23px !important; }

@media (max-width: 1199px) {
  .top-page[data-top-layout="message"] .content-body p { font-size: clamp(16px, 1.575vw, 19px) !important; }
}

@media (max-width: 1199px) {
  .top-problem-grid__list a { font-size: clamp(18px, 2.115vw, 25px) !important; }
}

@media (max-width: 767px) {
  .top-page[data-top-layout="message"] .content-body p { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .top-problem-grid__eyebrow { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .top-problem-grid__title { font-size: 23px !important; }
}

@media (max-width: 767px) {
  .top-problem-grid__list a { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .home .section-card-box-single .card-title { font-size: 19px !important; }
}

@media (max-width: 767px) {
  .home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) .card-title { font-size: 22px !important; }
}

@media (max-width: 767px) {
  .home .section-card-box-single:has(.card-bg[style*="qa_bg.jpg"]) .card-text { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .top-flow__item figcaption { font-size: 17px !important; }
}

.contact-cta__title { font-size: 32px !important; }

.contact-cta__description { font-size: 21px !important; }

.contact-cta__button { font-size: 23px !important; }

@media (min-width: 768px) {
  .contact-cta--standard .contact-cta__description { font-size: 18px !important; }
}

.section-heading__title { font-size: 29px !important; }

.representative-message__office { font-size: 18px !important; }

.representative-message__name span { font-size: 18px !important; }

.representative-message__name strong { font-size: 35px !important; }

.representative-message__career-title { font-size: 18px !important; }

@media (min-width: 768px) {
  .representative-message__career-list li { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .representative-message__career-list li { font-size: 16px !important; }
}

.office-information__table th { font-size: 17px !important; }

.office-information__table td { font-size: 17px !important; }

.content-section-heading__title { font-size: 27px !important; }

.inheritance-flow__table thead th { font-size: 17px !important; }

.inheritance-flow__table tbody th { font-size: 17px !important; }

.inheritance-flow__table td { font-size: 17px !important; }

.inheritance-flow__table li { font-size: 17px !important; }

.content-band-heading { font-size: 21px !important; }

.content-subsection-heading { font-size: 22px !important; }

.content-category-heading__title { font-size: 25px !important; }

@media (min-width: 768px) {
  .lower-content .content-category-band { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .lower-content .content-category-band { font-size: 16px !important; }
}

.content-note { font-size: 14px !important; }

.content-callout__heading { font-size: 20px !important; }

.content-link-button { font-size: 17px !important; }

.inheritance-share-card__pattern-label { font-size: 18px !important; }

.inheritance-share-card__pattern-number { font-size: 23px !important; }

.inheritance-share-card__title { font-size: 24px !important; }

.content-numbered-heading { font-size: 22px !important; }

.price-page__lead strong { font-size: 22px !important; }

.price-page__lead span { font-size: 17px !important; }

.price-consultation__label { font-size: 24px !important; }

.price-consultation__amount { font-size: 24px !important; }

.price-consultation__amount strong { font-size: 24px !important; }

.price-page .price-consultation__note { font-size: 17px !important; }

.price-flow__title { font-size: 21px !important; }

.price-fee-heading { font-size: 23px !important; }

.price-fee-table th,
.price-fee-table td { font-size: 18px !important; }

.price-fee-box dt,
.price-fee-box dd { font-size: 18px !important; }

.price-page .price-fee-note { font-size: 17px !important; }

.case-page .content-category-band { font-size: 21px !important; }

.case-page__category-title { font-size: 29px !important; }

.case-card__number { font-size: 22px !important; }

.case-card__title { font-size: 23px !important; }

.case-card__detail-title { font-size: 20px !important; }

.case-card .content-list,
.case-card .case-card__text { font-size: 17px !important; }

.case-card .content-list li { font-size: 17px !important; }

.faq-page .faq-item__question { font-size: 20px !important; }

.faq-page .faq-item__question::after { font-size: 24px !important; }

.faq-page .faq-item__answer { font-size: 17px !important; }

.contact-page__phone span:first-child { font-size: 19px !important; }

.contact-page__phone span:nth-child(2) { font-size: 27px !important; }

.contact-page__phone span:last-child { font-size: 14px !important; }

.contact-page .wpcf7-form label,
.contact-page .wpcf7-form > p > strong { font-size: 18px !important; }

@media (min-width: 768px) {
  .contact-page .wpcf7-form label > em { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .contact-page .wpcf7-form label > em { font-size: 16px !important; }
}

@media (min-width: 768px) {
  .contact-page .wpcf7-form label > small { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .contact-page .wpcf7-form label > small { font-size: 16px !important; }
}

@media (min-width: 768px) {
  .contact-page .wpcf7-form > p > small { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .contact-page .wpcf7-form > p > small { font-size: 16px !important; }
}

.contact-page .wpcf7-form-control:not(.wpcf7-radio) { font-size: 17px !important; }

.contact-page .wpcf7-radio label { font-size: 17px !important; }

@media (min-width: 768px) {
  .contact-page .wpcf7-not-valid-tip { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .contact-page .wpcf7-not-valid-tip { font-size: 16px !important; }
}

.contact-page [data-contact-check],
.contact-page [data-contact-send] { font-size: 17px !important; }

.contact-page [data-contact-confirm] dt,
.contact-page [data-contact-confirm] dd { font-size: 17px !important; }

.contact-page [data-contact-confirm] [data-contact-edit] { font-size: 17px !important; }

.style-guide-page__title { font-size: 36px !important; }

.style-guide-sample__label { font-size: 14px !important; }

@media (max-width: 767px) {
  .contact-cta__title { font-size: 22px !important; }
}

@media (max-width: 767px) {
  .contact-cta--center .contact-cta__description { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .contact-cta--standard .contact-cta__description { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .contact-cta__button { font-size: 20px !important; }
}

@media (max-width: 767px) {
  .section-heading__title { font-size: 22px !important; }
}

@media (max-width: 767px) {
  .representative-message__office { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .representative-message__name span { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .representative-message__name strong { font-size: 23px !important; }
}

@media (max-width: 767px) {
  .representative-message__text p { font-size: 14px !important; }
}

@media (max-width: 767px) {
  .representative-message__career-list li { font-size: 13px !important; }
}

@media (max-width: 767px) {
  .office-information__table th { font-size: 14px !important; }
}

@media (max-width: 767px) {
  .office-information__table td { font-size: 14px !important; }
}

@media (max-width: 767px) {
  .lower-content,
  .content-body { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .inheritance-flow__table thead th { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .inheritance-flow__table tbody th { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .inheritance-flow__table td { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .inheritance-flow__table li { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .content-section-heading__title { font-size: 22px !important; }
}

@media (max-width: 767px) {
  .content-band-heading { font-size: 18px !important; }
}

@media (max-width: 767px) {
  .content-band-heading--step { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .content-subsection-heading { font-size: 18px !important; }
}

@media (max-width: 767px) {
  .content-body--emphasis { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .content-category-heading__title { font-size: 19px !important; }
}

@media (max-width: 767px) {
  .lower-content .content-category-band { font-size: 14px !important; }
}

@media (max-width: 767px) {
  .content-note { font-size: 13px !important; }
}

@media (max-width: 767px) {
  .content-callout__heading { font-size: 18px !important; }
}

@media (max-width: 767px) {
  .content-callout .content-list li,
  .content-callout p { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .content-link-button { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .inheritance-share-card__pattern-label { font-size: 11px !important; }
}

@media (max-width: 767px) {
  .inheritance-share-card__pattern-number { font-size: 18px !important; }
}

@media (max-width: 767px) {
  .inheritance-share-card__title { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .inheritance-share-card .inheritance-share-card__text { font-size: 14px !important; }
}

@media (max-width: 767px) {
  .content-numbered-heading { font-size: 18px !important; }
}

@media (max-width: 767px) {
  .price-page__lead strong { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .price-page__lead span { font-size: 12px !important; }
}

@media (max-width: 767px) {
  .price-consultation__amount { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .price-consultation__amount strong { font-size: 20px !important; }
}

@media (max-width: 767px) {
  .price-page .price-consultation__note { font-size: 13px !important; }
}

@media (max-width: 767px) {
  .price-flow__title { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .price-flow__text { font-size: 14px !important; }
}

@media (max-width: 767px) {
  .price-fee-heading { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .price-fee-table th,
  .price-fee-table td { font-size: 12px !important; }
}

@media (max-width: 767px) {
  .price-fee-box dt { font-size: 13px !important; }
}

@media (max-width: 767px) {
  .price-fee-box dd { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .price-page .price-fee-note,
  .price-page .price-expense__text { font-size: 13px !important; }
}

@media (max-width: 767px) {
  .case-page__category-title { font-size: 19px !important; }
}

@media (max-width: 767px) {
  .case-card__number { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .case-card__title { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .case-card__detail-title { font-size: 14px !important; }
}

@media (max-width: 767px) {
  .case-card .content-list,
  .case-card .case-card__text { font-size: 14px !important; }
}

@media (max-width: 767px) {
  .case-card .content-list li { font-size: 14px !important; }
}

@media (max-width: 767px) {
  .faq-page .faq-item__question { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .faq-page .faq-item__question::after { font-size: 17px !important; }
}

@media (max-width: 767px) {
  .faq-page .faq-item__answer { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .contact-page__phone span:first-child { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .contact-page__phone span:nth-child(2) { font-size: 21px !important; }
}

@media (max-width: 767px) {
  .contact-page__phone span:last-child { font-size: 10px !important; }
}

@media (max-width: 767px) {
  .contact-page .wpcf7-form label,
  .contact-page .wpcf7-form > p > strong { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .contact-page .wpcf7-form label > em,
  .contact-page .wpcf7-form label > small,
  .contact-page .wpcf7-form > p > small,
  .contact-page .wpcf7-not-valid-tip { font-size: 13px !important; }
}

@media (max-width: 767px) {
  .contact-page .wpcf7-form-control:not(.wpcf7-radio) { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .contact-page .wpcf7-radio label { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .contact-page [data-contact-check],
  .contact-page [data-contact-send],
  .contact-page [data-contact-confirm] [data-contact-edit] { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .contact-page [data-contact-confirm] dt,
  .contact-page [data-contact-confirm] dd { font-size: 16px !important; }
}

@media (max-width: 767px) {
  .style-guide-page__title { font-size: 23px !important; }
}

@media (max-width: 767px) {
  .top-page[data-top-layout="message"] .content-section-heading__title { font-size: 4.95vw !important; }
}

/* ========================================
   FV｜文字サイズ 最終上書き
======================================== */

/* TOP PC */
@media screen and (min-width: 768px) {
  .home .is-under-header .fv-copy .fv-text.right {
    font-size: 33px !important;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {

  /* TOP */
  .home .is-under-header .fv-copy .fv-text.right {
    font-size: 20px !important;
  }

  /* 下層ページ */
  .fv-copy .fv-text.center {
    font-size: 18px !important;
    line-height: 1.6;
  }
}
