@charset "UTF-8";
/* =========================================================
   Base
========================================================= */
:root {
  --green: #009b0b;
  --green-dark: #087c10;
  --green-pale: #f3f8f1;
  --orange: #f36b0a;
  --ink: #151515;
  --line: #d7ddd4;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "BIZ UDPMincho", serif;
  --sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: clip;
}

p {
  font-family: "Noto Sans CJK JP", sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.pc_only {
  display: block;
}
@media screen and (max-width: 767px) {
  .pc_only {
    display: none;
  }
}

.sp_only {
  display: none;
}
@media screen and (max-width: 767px) {
  .sp_only {
    display: block;
  }
}

.container {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1000px);
  margin-inline: auto;
}

.container--narrow {
  max-width: 802px;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-title {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(31px, 3.1vw, 43px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
  font-feature-settings: "palt";
}

.section-title span {
  color: var(--orange);
}
.section-title span.subttl {
  font-size: 0.8em;
  color: #151515;
}

.section-lead {
  margin: -8px auto 30px;
  text-align: center;
}

.subheading {
  width: fit-content;
  margin: 48px auto 18px;
  padding: 0 10px 4px;
  border-bottom: 3px solid var(--green);
  font-size: 19px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .subheading {
    padding: 0 0px 4px;
  }
}

.leaf-section {
  overflow: hidden;
  background: radial-gradient(ellipse at 4% 10%, rgba(170, 247, 210, 0.28), transparent 25%), radial-gradient(ellipse at 98% 19%, rgba(140, 225, 91, 0.22), transparent 25%), radial-gradient(ellipse at 5% 95%, rgba(107, 224, 112, 0.16), transparent 24%), #fafffa;
}

/*
.leaf-section::before,
.leaf-section::after {
  position: absolute;
  z-index: 0;
  width: 180px;
  height: 360px;
  content: "";
  opacity: .2;
  background:
    radial-gradient(ellipse 45% 15% at 35% 15%, #37c53f 0 45%, transparent 48%),
    radial-gradient(ellipse 42% 14% at 70% 31%, #5edb53 0 44%, transparent 47%),
    radial-gradient(ellipse 42% 14% at 28% 47%, #5edb53 0 44%, transparent 47%),
    radial-gradient(ellipse 42% 14% at 72% 63%, #37c53f 0 44%, transparent 47%),
    linear-gradient(66deg, transparent 49%, #49c34b 49.5% 50.5%, transparent 51%);
}
.leaf-section::before { left: -35px; bottom: 2%; transform: rotate(-12deg); }
.leaf-section::after { right: -35px; top: 2%; transform: scaleX(-1) rotate(-12deg); }
*/
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Header / navigation
========================================================= */
.site-header {
  position: relative;
  z-index: 100;
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--green);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: min(100% - 40px, 1000px);
  height: 100%;
  margin-inline: auto;
}

.site-logo {
  flex: 0 1 278px;
}

.area-label {
  margin-left: 18px;
  padding: 5px 10px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
  line-height: 1.4;
}

.header-phone {
  display: grid;
  margin-left: auto;
  padding-left: 38px;
  position: relative;
  line-height: 1.25;
}

.header-phone::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  content: "☎";
  font-size: 18px;
}

.header-phone__number {
  color: var(--green);
  font-size: 23px;
  font-weight: 800;
}

.header-phone__hours {
  font-size: 13px;
  text-align: center;
}

.menu-button, .global-nav {
  display: none;
}

/*******
ファーストビュー
*******/
#fv {
  padding-top: 30px;
  background: url(../img/mainbg.png);
  background-size: cover;
}
#fv .inner {
  width: 800px;
  height: 360px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  #fv .inner {
    width: 100%;
    height: fit-content;
  }
}
@media screen and (max-width: 767px) {
  #fv {
    padding-top: 0;
  }
}

.obi {
  width: 100%;
  padding: 10px 0;
  background: #ff6f00;
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
}
.obi__inner {
  width: 900px;
  margin: 0 auto;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  background: #efffea;
}

.hero-art {
  display: block;
  width: min(100%, 1200px);
  margin-inline: auto;
}

.hero-art img {
  width: 100%;
}

/* =========================================================
   Worries / CTA
========================================================= */
.worries {
  padding-top: 54px;
}

.worries .section-title {
  position: relative;
  width: 87%;
  margin: 0 auto 30px;
}
@media screen and (max-width: 767px) {
  .worries .section-title {
    width: 100%;
  }
}
.worries .section-title::before, .worries .section-title::after {
  content: "";
  position: absolute;
  top: 42%;
  width: 4.8rem;
  height: 2.4rem;
  background: url("../img/deco.svg") no-repeat center;
  background-size: contain;
  transform: translateY(-50%);
}
.worries .section-title::before {
  left: 0;
}
@media screen and (max-width: 767px) {
  .worries .section-title::before {
    left: -15px;
  }
}
.worries .section-title::after {
  right: 0;
  transform: translateY(-50%) scaleX(-1);
}
@media screen and (max-width: 767px) {
  .worries .section-title::after {
    right: -15px;
  }
}

.section-title--question {
  color: #111;
  font-family: var(--sans);
  font-size: 31px;
}

.section-title--question span {
  color: var(--green);
}

.worries__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}

.worries__grid p {
  position: relative;
  display: grid;
  min-height: 94px;
  margin: 0;
  padding: 14px 34px;
  place-items: center;
  background: #fafafa;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  background: url("../img/problem_bgdeco.svg") no-repeat center;
  background-size: contain;
}

/*.worries__grid p::before,
.worries__grid p::after {
  position: absolute;
  top: 50%;
  width: 47px;
  height: 112px;
  content: "";
  background: url("../img/worry-brace.png") center / contain no-repeat;
}*/
.worries__grid p::before {
  left: 0;
  transform: translateY(-50%);
}

.worries__grid p::after {
  right: 0;
  transform: translateY(-50%) scaleX(-1);
}

.worries__grid p > span {
  display: block;
  width: 100%;
}

.worries__grid em {
  color: var(--green);
  font-style: normal;
}

.consult-cta {
  width: min(100%, 601px);
  margin: 46px auto 0;
}
.consult-cta.v2 {
  padding: 40px 0;
}
@media screen and (max-width: 767px) {
  .consult-cta.v2 {
    padding: 0px 0;
    margin-top: 20px;
  }
}

.consult-cta picture, .consult-cta img {
  display: block;
  width: 100%;
}

.consult-cta:focus-visible {
  outline: 4px solid rgba(243, 107, 10, 0.45);
  outline-offset: 4px;
}

/* =========================================================
   Rights / comparison
========================================================= */
.residence {
  background: url(../img/residence_bg.png) no-repeat center;
  background-size: cover;
}
@media screen and (max-width: 767px) {
  .residence {
    background: url(../img/residence_bg_sp.png) no-repeat top;
    background-size: cover;
  }
}

.definition-card {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: #fff;
}

.definition-card h3 {
  margin: 0;
  padding: 13px 20px;
  color: #fff;
  background: var(--green);
  font-size: 18px;
  text-align: center;
}

.definition-card p {
  margin: 0;
  padding: 30px 50px;
}

.definition-card p + p {
  padding-top: 0;
}

.rights__note {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: end;
  margin-top: 24px;
}

.rights__note p {
  margin: 0 0 20px;
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.comparison th, .comparison td {
  padding: 14px 25px;
  border-right: 1px solid #dbe7d8;
  text-align: left;
  vertical-align: middle;
}

.comparison thead th {
  color: #fff;
  background: var(--green);
  font-weight: 700;
}

.comparison thead th:first-child, .comparison tbody th {
  width: 25%;
}

.comparison tbody th {
  font-weight: 700;
}

.comparison tbody tr:nth-child(even) {
  background: var(--green-pale);
}

.comparison__copy {
  margin-top: 30px;
}

.comparison__copy p {
  margin: 0 0 22px;
}

.check-list {
  margin: 0;
}

.check-list > div {
  display: grid;
  grid-template-columns: 225px 1fr;
  border-bottom: 1px solid var(--line);
}

.check-list dt {
  position: relative;
  padding: 25px 20px 25px 0px;
  font-weight: 700;
  display: flex;
  align-items: center; /*縦方向*/
}

.check-list dt::before {
  position: relative;
  top: 0;
  left: 0;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  content: "✓";
  font-weight: 800;
  line-height: 1;
  margin-right: 20px;
}

.check-list dd {
  margin: 0;
  padding: 25px 0;
}

/* =========================================================
   Flow / services
========================================================= */
.flow {
  background: url(../img/flow_bg.png) no-repeat center;
  background-size: cover;
}
@media screen and (max-width: 767px) {
  .flow {
    background: url(../img/flow_bg_sp.png) no-repeat top;
    background-size: cover;
  }
}

.flow-list {
  max-width: 650px;
  margin: 28px auto;
  padding: 0;
  counter-reset: flow;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-height: 60px;
  margin-bottom: 30px;
  padding: 13px 85px 13px 78px;
  border-radius: 5px;
  color: #fff;
  background: var(--green);
  font-size: 19px;
  font-weight: 700;
  counter-increment: flow;
}

.flow-list li::before {
  position: absolute;
  left: 28px;
  content: counter(flow) ".";
  font-size: 27px;
  line-height: 1.4;
}

.flow-list li::after {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -29px;
  width: 36px;
  height: 30px;
  content: "";
  background: url("../img/flow-arrow.png") center/contain no-repeat;
  transform: translateX(-50%);
}

.flow-list li:last-child::after {
  content: none;
}

.flow-list li img {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 18px;
  width: 86px;
  transform: translateY(-50%);
}

.services-box {
  margin-top: 35px;
  padding: 25px 30px 30px;
  border-radius: 6px;
  background: var(--green-pale);
}

.services-box h3 {
  margin: 0 0 16px;
  color: var(--green);
  text-align: center;
}

.services-box ul {
  display: grid;
  grid-template-columns: minmax(0, 303px) minmax(0, 1fr);
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .services-box ul {
    display: block;
  }
}

.services-box li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid #bcc7b8;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 2;
}
@media screen and (max-width: 767px) {
  .services-box li {
    font-size: 17px;
  }
}

.services-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("../img/checkbox.svg") no-repeat center;
  background-size: contain;
}

.services {
  background: url(../img/feature_bg.png) no-repeat 72% 0%;
  background-size: auto;
}

/*
.services-box li::before {
  position: absolute; top: 50%; left: 0;
  width: 18px; height: 16px; border: 2px solid #111; content: "";
  background: #fff;
  transform: translateY(-50%);
}
.services-box li::after {
  position: absolute; top: 50%; left: 4px;
  width: 14px; height: 7px;
  border-bottom: 2px solid var(--orange); border-left: 2px solid var(--orange);
  content: "";
  transform: translateY(-72%) rotate(-45deg);
  transform-origin: center;
}
  */
/* =========================================================
   Strengths / cases
========================================================= */
.strengths {
  background: url("../img/feature_bg.png") no-repeat 72% 0%;
  background-size: auto;
}

.strengths__illustration {
  width: min(100%, 600px);
  margin: 35px auto 25px;
}

.strengths__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.strengths__grid article {
  position: relative;
  min-height: 210px;
  padding: 25px 25px 22px 128px;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: #f4f9f1;
}

.strengths__grid article > span {
  position: absolute;
  top: 25px;
  left: 30px;
  color: var(--green);
  font-size: 38px;
  font-weight: 800;
}

.strength-icon {
  position: absolute;
  top: 77px;
  left: 8px;
  width: 88px;
  max-height: 120px;
  object-fit: contain;
}

.strengths__grid h3 {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 18px;
  line-height: 1.4;
}

.strengths__grid p {
  margin: 0;
  line-height: 1.75;
}

.cases {
  background: url("../img/case_bg.png") no-repeat center;
  background-size: cover;
}
@media screen and (max-width: 767px) {
  .cases {
    background: url(../img/case_bg_sp.png) no-repeat top;
  }
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 50px;
}

.cases__grid article {
  position: relative;
  min-height: 390px;
  padding: 22px 20px;
  background: #fff;
  box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.22);
}

.cases__grid article > span {
  position: absolute;
  top: -30px;
  left: 0;
  padding: 3px 14px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 700;
  border-radius: 7px 7px 0 0;
}

.cases__grid h3 {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 18px;
  line-height: 1.5;
}

.cases__grid p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.cases__photo {
  width: min(100%, 480px);
  margin: 40px auto 0;
}

/* =========================================================
   FAQ / message
========================================================= */
.faq-list {
  margin: 0;
}

.faq-list > div {
  padding: 25px 0 26px 50px;
  border-bottom: 1px solid var(--line);
}

.faq-list dt, .faq-list dd {
  position: relative;
}

.faq-list dt {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
}

.faq-list dd {
  margin: 0;
}

.faq-list dt::before, .faq-list dd::before {
  position: absolute;
  left: -44px;
  top: 0;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.faq-list dt::before {
  background: var(--orange);
  content: "Q";
}

.faq-list dd::before {
  background: var(--green);
  content: "A";
}

.message__body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 42px;
  align-items: center;
  margin-top: 34px;
}

.message__body p {
  margin: 0 0 20px;
}

.message__body figure {
  margin: 0;
}
@media screen and (max-width: 767px) {
  .message__body figure {
    order: -1;
  }
}

.message__body figcaption {
  margin-top: 8px;
  font-weight: 700;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .message__body figcaption {
    font-size: 18px;
  }
}

@media screen and (max-width: 767px) {
  .message__text {
    order: 1;
  }
}

/* =========================================================
   Contact form / footer
========================================================= */
.contact {
  background: url(../img/contact_bg.png) no-repeat 72% 0%;
  background-size: auto;
}

.contact-form {
  width: min(100%, 704px);
  margin: 60px auto 0;
}

.form-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 18px;
}

.form-row label {
  font-weight: bold;
}

.mw_wp_form_preview .form-row {
  display: flex;
  gap: 20px;
}

.mw_wp_form_preview .form-row b {
  display: inline-block;
}

.form-row--name {
  grid-template-columns: 150px 1fr 1fr;
  gap: 18px;
}

.form-row--name label {
  grid-row: 1;
  grid-column: 1;
}

.form-row input, .form-row textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  outline-color: var(--green);
  background: #f5f5f5;
}

.form-row input {
  height: 63px;
  padding: 10px 15px;
}

.form-row textarea {
  padding: 15px;
  resize: vertical;
}

.form-row--unit {
  grid-template-columns: 150px 264px 1fr;
}

.form-row--unit span {
  padding-left: 12px;
}

.form-divider {
  margin: 40px 0 38px 150px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  text-align: center;
}

.form-row--date {
  grid-template-columns: 150px repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  border: 0;
}

.form-row--date legend {
  float: left;
  width: 150px;
}

.form-row--date label {
  position: relative;
}

.form-row--date b {
  position: absolute;
  right: 12px;
  top: 17px;
  color: #999;
  font-weight: 400;
}

.mw_wp_form_preview .form-row--date b {
  position: unset;
  right: 12px;
  top: 17px;
  color: unset;
  font-weight: 400;
}

.form-row--date div {
  display: flex;
  justify-content: space-between;
}

.mw_wp_form_preview .form-row--date div {
  justify-content: flex-start;
}

.form-row--textarea {
  align-items: start;
}

.contact-form input[type=submit] {
  display: block;
  width: 302px;
  margin: 52px auto 0;
  padding: 17px 24px;
  border: 0;
  color: #fff;
  background: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.contact-form input[type=submit]:hover {
  background: var(--green-dark);
}

.form-note {
  min-height: 1.8em;
  margin: 10px 0 0;
  color: var(--green-dark);
  text-align: center;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 30px 20px 55px;
  border-top: 1px solid var(--green);
}

.site-footer small {
  font-family: var(--serif);
  font-size: 11px;
}

.fixed-cta {
  display: none;
}

.form-row--date {
  display: flex;
}
.form-row--date label {
  position: relative;
  width: 148px;
}
.form-row--date div {
  width: 89%;
}
.form-row--date input {
  width: 33%;
}

/* =========================================================
   Tablet
========================================================= */
@media (max-width: 960px) {
  .site-header__inner, .hero__inner {
    width: min(100% - 30px, 880px);
  }
  .site-logo {
    flex-basis: 230px;
  }
  .site-logo img {
    width: 230px;
  }
  .area-label {
    margin-left: 12px;
    font-size: 14px;
  }
  .header-phone__number {
    font-size: 20px;
  }
  .hero__copy {
    left: 2%;
  }
  .hero__copy h1 {
    font-size: 41px;
  }
  .hero__copy p {
    font-size: 21px;
  }
  .hero__questions {
    left: 3%;
    grid-template-columns: repeat(3, 126px);
    gap: 12px;
  }
  .hero__expert {
    right: 3%;
  }
}
/* =========================================================
   Smartphone
========================================================= */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 63px;
  }
  body {
    padding-bottom: 68px;
    font-size: 14px;
    line-height: 1.7;
  }
  .container {
    width: min(100% - 40px, 600px);
  }
  .section {
    padding: 46px 0;
  }
  .section-title {
    margin-bottom: 20px;
    font-size: clamp(22px, 5.8vw, 28px);
    line-height: 1.45;
  }
  .section-lead {
    text-align: left;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
  .site-header {
    position: sticky;
    top: 0;
    height: 61px;
  }
  .site-header__inner {
    width: 100%;
    padding-left: 15px;
  }
  .site-logo {
    flex-basis: auto;
    width: min(53vw, 245px);
  }
  .site-logo img {
    width: 100%;
  }
  .area-label {
    margin-left: 10px;
    padding: 4px 7px;
    font-size: clamp(11px, 3.2vw, 16px);
    white-space: nowrap;
  }
  .header-phone {
    margin-left: 0;
    padding-left: 0;
    position: unset;
    line-height: 1.25;
    width: 16%;
    justify-content: end;
  }
  .header-phone::before {
    position: unset;
    width: 40px;
    height: 40px;
    font-size: 25px;
  }
  .header-phone__number {
    display: none;
  }
  .header-phone__hours {
    display: none;
  }
  .menu-button {
    display: grid;
    width: 61px;
    height: 61px;
    margin-left: auto;
    padding: 15px;
    place-items: center;
    border: 0;
    background: var(--green);
  }
  .menu-button {
    display: none;
  }
  .menu-button span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    transition: transform 0.25s, opacity 0.25s;
  }
  .menu-button[aria-expanded=true] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .menu-button[aria-expanded=true] span:nth-child(2) {
    opacity: 0;
  }
  .menu-button[aria-expanded=true] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  .global-nav {
    position: fixed;
    top: 61px;
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    transform: translateY(-12px);
    opacity: 0;
    background: rgba(0, 132, 12, 0.98);
    transition: 0.25s;
    pointer-events: none;
  }
  .global-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .global-nav a {
    padding: 13px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 700;
    text-align: center;
  }
  .hero-art {
    width: 100%;
  }
  .obi {
    display: none;
  }
  .worries {
    padding-top: 38px;
  }
  .section-title--question {
    font-size: clamp(22px, 6.4vw, 28px);
  }
  .worries__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .worries__grid p {
    min-height: 88px;
    padding-inline: 28px;
    font-size: 17px;
  }
  .worries__grid p::before, .worries__grid p::after {
    width: 36px;
    height: 92px;
  }
  .consult-cta {
    width: min(100%, 301px);
    margin-top: 35px;
  }
  .definition-card h3 {
    padding: 9px;
    font-size: 17px;
  }
  .definition-card p {
    padding: 20px 16px;
  }
  .definition-card p + p {
    padding-top: 0;
  }
  .rights__note {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .rights__note img {
    width: min(78%, 390px);
    margin-inline: auto;
  }
  .table-scroll {
    width: 100%;
    margin-left: 0;
    overflow: visible;
  }
  .comparison {
    background: url(../img/comparison_bg.png) no-repeat 72% 0%;
    background-size: auto;
  }
  .comparison table {
    min-width: 0;
    font-size: 12px;
    table-layout: fixed;
    margin-top: 0px;
  }
  .comparison thead th:first-child, .comparison tbody th {
    width: 28%;
  }
  .comparison th, .comparison td {
    padding: 10px 7px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .comparison__copy {
    margin-top: 26px;
  }
  .check-list > div {
    grid-template-columns: 1fr;
    padding: 13px 0;
  }
  .check-list dt {
    padding: 0 0 5px 36px;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .check-list dt {
    padding: 0 0 5px 0px;
  }
}
@media (max-width: 767px) {
  .check-list dt::before {
    top: 2px;
  }
  .check-list dd {
    padding: 0 0 0 36px;
  }
  .subheading {
    font-size: 17px;
  }
  .flow-list li {
    min-height: 42px;
    margin-bottom: 22px;
    padding: 9px 42px 9px 52px;
    font-size: 14px;
    display: flex;
    align-content: center;
    align-items: center;
  }
  .flow-list li::before {
    left: 18px;
    font-size: 21px;
  }
  .flow-list li::after {
    bottom: -27px;
    width: 28px;
    height: 24px;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .flow-list li::after {
    bottom: -23px;
  }
}
@media (max-width: 767px) {
  .flow-list li img {
    right: 7px;
    width: 48px;
  }
  .services-box {
    padding: 18px 12px;
  }
  .services-box ul {
    grid-template-columns: 1fr 1fr;
    gap: 0 10px;
  }
  .services-box li {
    padding: 11px 2px 11px 24px;
    font-size: 11px;
    line-height: 1.45;
    white-space: normal;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .services-box li {
    font-size: 1rem;
  }
}
@media (max-width: 767px) {
  .services-box li::before {
    width: 14px;
    height: 13px;
    border-width: 1.5px;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .services-box li::before {
    width: 18px;
    height: 21px;
  }
}
@media (max-width: 767px) {
  .services-box li::after {
    left: 3px;
    width: 11px;
    height: 6px;
    border-width: 0 0 1.5px 1.5px;
  }
  .strengths__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .strengths__grid {
    display: block;
  }
}
@media (max-width: 767px) {
  .strengths__grid article {
    min-height: 205px;
    padding: 15px 8px 15px 85px;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .strengths__grid article {
    min-height: 150px;
    margin-bottom: 15px;
  }
}
@media (max-width: 767px) {
  .strengths__grid article > span {
    top: 13px;
    left: 28px;
    font-size: 28px;
  }
  .strength-icon {
    top: 62px;
    left: 13px;
    width: 69px;
  }
  .strengths__grid h3 {
    min-height: 62px;
    margin-left: 0;
    font-size: 12px;
    line-height: 1.45;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .strengths__grid h3 {
    min-height: auto;
    font-size: 21px;
  }
}
@media (max-width: 767px) {
  .strengths__grid p {
    font-size: 11px;
    line-height: 1.65;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .strengths__grid p {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .cases__grid {
    grid-template-columns: 1fr;
    gap: 55px;
    margin-top: 50px;
  }
  .cases__grid article {
    min-height: 0;
  }
  .cases__grid p {
    font-size: 13px;
    line-height: 1.8;
  }
  .faq-list > div {
    padding: 21px 0 22px 42px;
  }
  .faq-list dt {
    font-size: 16px;
  }
  .faq-list dt::before, .faq-list dd::before {
    left: -40px;
    width: 28px;
    height: 28px;
    font-size: 17px;
  }
  .message__body {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .message__body figure {
    width: min(85%, 400px);
    margin-inline: auto;
  }
  .contact-form {
    margin-top: 42px;
  }
  .form-row, .form-row--name, .form-row--unit {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .form-row--name label {
    grid-row: auto;
    grid-column: auto;
  }
  .form-row input {
    height: 54px;
  }
  .form-row--unit span {
    margin-top: -49px;
    padding: 0 14px 22px 0;
    pointer-events: none;
    margin-left: 191px;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .mw_wp_form_preview .form-row--unit span {
    margin-top: 0;
    padding: 0 14px 0 0;
    pointer-events: none;
    margin-left: 0;
  }
}
@media (max-width: 767px) {
  .form-row--unit input {
    padding-right: 50px;
    width: 50%;
  }
  .form-divider {
    margin: 32px 0 30px;
  }
  .form-row--date {
    display: block;
    grid-template-columns: unset;
    gap: unset;
  }
  .form-row--date input {
    width: 30%;
  }
  .form-row--date legend {
    float: none;
    width: 100%;
    grid-column: 1/-1;
  }
  .form-row--date b {
    top: 13px;
    right: 8px;
  }
  .form-row--textarea {
    align-items: stretch;
  }
  .contact-form input[type=submit] {
    width: 50%;
  }
  .contact-form input[name=submitBack] {
    background: #b7b7b7;
    margin-top: 20px;
  }
  .site-footer {
    padding-bottom: 32px;
    text-align: center;
  }
  .fixed-cta {
    position: fixed;
    z-index: 200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    min-height: 68px;
    color: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.18);
  }
  .fixed-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5px 8px;
    line-height: 1.15;
    text-align: center;
  }
  .fixed-cta__phone {
    background: var(--green);
  }
  .fixed-cta__phone span {
    font-size: 12px;
  }
  .fixed-cta__phone strong {
    font-size: 19px;
  }
  .fixed-cta__form {
    background: var(--orange);
    font-weight: 700;
  }
}
@media (max-width: 390px) {
  .area-label {
    margin-left: 6px;
    font-size: 11px;
  }
  .menu-button {
    width: 56px;
    padding-inline: 13px;
    display: none;
  }
  .fixed-cta__phone strong {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.form-row--name__fields {
  display: flex;
  gap: 16px;
  flex-wrap: wrap; /* スマホなど狭い画面では縦積みに */
}

.field-group {
  flex: 1 1 200px; /* 最小幅200px、余りは伸縮 */
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.field-group input {
  width: 100%;
  box-sizing: border-box;
}

.field-group .error {
  color: #d32f2f; /* 赤字。既存のエラー色に合わせて調整してください */
  font-size: 0.85em;
  margin-top: 4px;
  /* 重要: エラーが無い時も高さを確保しておくと、
     出現/非表示で他の要素がガクッと動かなくなる */
  min-height: 1.2em;
}

p:empty {
  display: none;
}

#contact .mw_wp_form {
  margin-top: 40px;
}

section#wi_thx {
  padding: 100px 0;
}

a.telnum {
  display: none;
}/*# sourceMappingURL=wife_inheritance.css.map */