:root {
  --color-text: #333333;
  --color-purple: #864192;
  --color-purple-light: #d8c3dc;
  --color-purple-pale: #f3eaf5;
  --color-gold: #8d610e;
  --color-gold-soft: #a28040;
  --color-gold-pale: #eadfc5;
  --color-red: #c60000;
  --color-bg-gray: #f1f1f1;
  --font-mincho: "Zen Old Mincho", serif;
  --font-gothic: "Zen Kaku Gothic New", sans-serif;
  --font-number: "Jost", sans-serif;
  --inner: 1030px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  background: #fff;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-main {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding-left: 40px;
  background: #fff;
  font-family: var(--font-mincho);
  box-shadow: 0 6px 10px -6px rgba(0, 0, 0, 0.15);
}

.site-header__brand {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header__nav {
  display: flex;
  align-items: stretch;
  height: 96px;
  margin-left: 32px;
  color: #333333;
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
}

.site-header__nav > a {
  display: grid;
  place-items: center;
  padding: 0 23px;
  color: #333333;
}

.site-header__contact {
  min-width: 242px;
  color: #fff;
  background: var(--color-purple);
}

.site-header__nav .site-header__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.site-header__nav-info {
  display: none;
}

.site-header__contact::before {
  content: "";
  width: 31px;
  height: 23px;
  margin-right: 15px;
  background: url("../img/header_mailicon.svg") center / contain no-repeat;
  flex: 0 0 auto;
}

.site-header__toggle {
  display: none;
}

.section {
  padding: 96px 0;
}

.section__inner {
  width: min(calc(100% - 80px), var(--inner));
  margin: 0 auto;
}

.section-title {
  margin: 0 0 55px;
  font-family: var(--font-mincho);
  font-size: 41px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0;
}

.section-title--left {
  text-align: left;
}

.mv {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  width: 100%;
  height: 603px;
  background-color: #fbf7fe;
  background-image: url("../img/pc_mv_bg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.mv__img {
  width: 976px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.mv-tel {
  display: grid;
  grid-template-columns: 470px 553px;
  align-items: center;
  justify-content: center;
  gap: 46px;
  width: 100%;
  height: 200px;
  padding: 0 136px 0 235px;
  color: #fff;
  background: var(--color-purple);
}

.mv-tel__plan {
  display: none;
}

.mv-tel__message {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 27px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
}

.mv-tel__link {
  display: block;
  width: 553px;
}

.mv-tel__link img {
  width: 100%;
  height: auto;
}

.problems {
  padding-top: 112px;
  padding-bottom: 120px;
}

.problems .section-title {
  margin-bottom: 34px;
}

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

.problems__grid article {
  margin: 0;
  text-align: center;
}

.problems__grid img {
  width: 310px;
  height: 336px;
  border-radius: 8px;
  object-fit: cover;
}

.problems__grid p,
.about__text p,
.feature-item p {
  color: var(--color-text);
  font-family: var(--font-gothic);
  font-size: 20px;
  line-height: 32px;
}

.problems__grid p {
  margin: 22px 0 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 28px;
}

.message {
  position: relative;
  margin: 70px auto 0;
  color: var(--color-gold);
  font-family: var(--font-mincho);
  font-size: 27px;
  font-weight: 900;
  line-height: 48px;
  text-align: center;
}

.message::before,
.message::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 112px;
  height: 139px;
  background: url("../img/nayami_msg_left.png") center / contain no-repeat;
}

.message::before {
  left: 58px;
}

.message::after {
  right: 58px;
  background-image: url("../img/nayami_msg_right.png");
}

.br-sp {
  display: none;
}

.about {
  padding-top: 72px;
}

.about__inner {
  display: grid;
  grid-template-columns: 486px 515px;
  align-items: center;
  gap: 29px;
}

.about__text .section-title {
  margin-bottom: 20px;
}

.about__text p {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0px;
}

.about__text p + p {
  margin-top: 30px;
}

.about__image {
  width: 515px;
  border-radius: 8px;
}

.points {
  margin-top: 60px;
}

.points__lead {
  display: none;
  width: 706px;
  margin: 0 auto 48px;
  padding: 13px 20px 16px;
  color: #fff;
  background: var(--color-purple);
  font-family: var(--font-mincho);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.points__lead-image {
  display: block;
  width: 721px;
  margin: 0 auto;
}

.points__cards {
  display: grid;
  grid-template-columns: repeat(2, 484px);
  gap: 60px;
  justify-content: center;
  margin-top: 0;
}

.point-card {
  position: relative;
  width: 484px;
  height: 263px;
  padding: 37px 42px 28px;
  border: 2px solid var(--color-purple);
}

.point-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--color-purple);
  pointer-events: none;
}

.point-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 135px;
  height: 34px;
  background: #fff url("../img/about_point_deco.svg") center / contain no-repeat;
  transform: translateX(-50%);
  pointer-events: none;
}

.point-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: #864192;
  font-family: var(--font-mincho);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.point-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.point-card:first-child ul {
  gap: 18px;
}

.point-card:nth-child(2) ul {
  gap: 12px;
}

.point-card li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 18px;
  color: #333333;
  font-family: var(--font-gothic);
  font-weight: 700;
  line-height: normal;
}

.point-card:first-child li {
  font-size: 21px;
}

.point-card:nth-child(2) li {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  font-size: 16px;
}

.point-card img {
  width: 42px;
  max-height: 44px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .points {
    margin-top: 39px;
  }

  .points__lead-image {
    margin-bottom: 30px;
  }

  .points__cards {
    padding-top: 18px;
  }

  .point-card:nth-child(2) {
    padding-left: 35px;
    padding-right: 35px;
  }

  .point-card:nth-child(2) li {
    gap: 10px;
  }

  .point-card:nth-child(2) li:last-child {
    letter-spacing: -0.06em;
    white-space: nowrap;
  }

  .about.section {
    padding-bottom: 60px;
  }

  .cta + .feature.section {
    padding-top: 120px;
  }

  .feature.section {
    padding-bottom: 160px;
  }

  .plan__deco-left {
    display: block;
    position: absolute;
    left: 0;
    top: -83px;
    width: 443px;
    max-width: none;
    height: auto;
    pointer-events: none;
  }

  .plan.section {
    padding-top: 60px;
    background: #f0f0f0;
    z-index: 1;
  }

  .plan .section__inner {
    width: min(calc(100% - 80px), 1168px);
  }

  .plan .section-title {
    margin: 0 0 55px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 41px;
    font-weight: 900;
    line-height: normal;
  }

  .plan-card--purple .plan-card__summary {
    grid-template-columns: 484px 474px;
    align-items: start;
    gap: 65px;
  }

  .plan-card--purple .plan-card__summary > img {
    width: 484px;
  }

  .plan-card--purple .plan-card__head {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    width: 474px;
    height: 93px;
    margin: 0 0 7px;
    padding: 0;
    overflow: visible;
    background: none;
  }

  .plan-card--purple .plan-card__head-deco {
    position: absolute;
    left: 0;
    top: 0;
    width: 474px;
    height: 93px;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
  }

  .plan-card--purple .plan-card__head p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-family: var(--font-gothic);
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
  }

  .plan-card--purple .plan-card__head span {
    position: relative;
    z-index: 1;
    margin-top: 2px;
    color: #fff;
    font-family: var(--font-gothic);
    font-size: 17px;
    font-weight: 400;
    line-height: normal;
  }

  .plan-card--purple .plan-card__price > h3 {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 33px;
    font-weight: 700;
    line-height: normal;
  }

  .plan-card--purple .plan-card__price > p {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 33px;
    font-weight: 700;
    line-height: normal;
  }

  .plan-card--purple .plan-card__price > p span {
    color: #c60000;
    font-family: var(--font-number);
    font-size: 73px;
    font-weight: 500;
  }

  .plan-card--purple .plan-card__price > b {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 23px;
    font-weight: 700;
    line-height: normal;
  }

  .plan-card--purple .plan-card__price > b span {
    font-family: var(--font-number);
    font-weight: 500;
  }

  .plan-card--purple .plan-card__price > small {
    color: #9a0000;
    font-family: var(--font-gothic);
    font-size: 17px;
    font-weight: 500;
  }
}

.cta {
  position: relative;
  background-color: #fff;
  background-image: url("../img/cta_pc_bg.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% calc(445 / 615 * 100%);
}

.cta__inner {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
}

.cta__image {
  display: block;
  width: 100%;
  height: auto;
}

.cta__tel {
  position: absolute;
  left: 49%;
  top: 19%;
  width: 36%;
  height: 43%;
}

.feature {
  padding-top: 110px;
}

.feature .section-title {
  color: #333333;
}

.feature-item {
  display: grid;
  grid-template-columns: 514px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.feature-item + .feature-item {
  margin-top: 56px;
}

.feature-item--reverse {
  grid-template-columns: minmax(0, 1fr) 514px;
}

.feature-item--reverse img {
  grid-column: 2;
  grid-row: 1;
}

.feature-item--reverse div {
  grid-column: 1;
  grid-row: 1;
}

.feature-item img {
  width: 514px;
  height: auto;
  border-radius: 8px;
}

.feature-item h3 {
  margin: 0 0 20px;
  color: #864192;
  font-family: var(--font-gothic);
  font-size: 33px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
}

.feature-item p {
  margin: 0;
  color: #333333;
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
}

.plan.section {
  position: relative;
  padding: 60px 0 74px;
  background: var(--color-bg-gray);
}

.plan__deco-right,
.flow__title-deco {
  display: none;
}

.plan-card {
  position: relative;
  padding: 60px 72px 55px;
  background: #fff;
}

.plan-card + .plan-card {
  margin-top: 75px;
}

.plan-card__head {
  width: 475px;
  margin: 0 auto 30px;
  padding: 12px 18px 14px;
  color: #fff;
  background: var(--color-purple);
  text-align: center;
}

.plan-card--purple .plan-card__head {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  width: 474px;
  height: 93px;
  margin: 0 0 7px;
  padding: 0;
  overflow: visible;
  background: none;
}

.plan-card--purple .plan-card__head-deco {
  position: absolute;
  left: 0;
  top: 0;
  width: 474px;
  height: 93px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.plan-card--purple .plan-card__head p,
.plan-card--purple .plan-card__head span {
  position: relative;
  z-index: 1;
}

.plan-card--gold .plan-card__head {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  width: 474px;
  height: 93px;
  margin: 0 0 7px;
  padding: 0;
  overflow: visible;
  background: none;
}

.plan-card--gold .plan-card__head-deco {
  position: absolute;
  left: 0;
  top: 0;
  width: 474px;
  height: 93px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.plan-card--gold .plan-card__head p,
.plan-card--gold .plan-card__head span {
  position: relative;
  z-index: 1;
}

.plan-card__head p {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.plan-card__head span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.3;
}

.plan-card__summary {
  display: grid;
  grid-template-columns: 484px 1fr;
  align-items: center;
  gap: 55px;
}

.plan-card--purple .plan-card__summary {
  grid-template-columns: 484px 474px;
  align-items: start;
  gap: 65px;
}

.plan-card--gold .plan-card__summary {
  grid-template-columns: 474px 484px;
  align-items: start;
  gap: 65px;
}

.plan-card__summary > img {
  width: 484px;
  border-radius: 8px;
}

.plan-card__price {
  text-align: center;
}

.plan-card__price h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

.plan-card__price > p {
  margin: 16px 0 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.plan-card__price > p span {
  color: var(--color-red);
  font-family: var(--font-number);
  font-size: 74px;
  font-weight: 700;
}

.plan-card__price b {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
}

.plan-card__price small {
  display: block;
  margin-top: 16px;
  color: #a00;
  font-size: 15px;
  font-weight: 700;
}

.plan-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  margin-top: 32px;
}

.plan-detail h4 {
  width: fit-content;
  min-width: 164px;
  margin: 0 auto 20px;
  padding: 7px 20px 8px;
  border-radius: 999px;
  background: var(--color-purple-light);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.plan-card--gold .plan-detail h4 {
  background: var(--color-gold-pale);
}

.plan-detail__flow-img {
  display: block;
  width: 100%;
  height: auto;
}

.plan-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding-left: 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .plan-card--purple .plan-card__price > h3 {
    margin: 0;
    line-height: 1.2;
  }

  .plan-card--purple .plan-card__price > p {
    margin: 16px 0 0;
    line-height: 1;
  }

  .plan-card--purple .plan-card__price > p span {
    line-height: 1;
  }

  .plan-card--purple .plan-card__price > b {
    margin-top: 8px;
    line-height: 1.2;
  }

  .plan-card--purple .plan-card__price > small {
    margin-top: 10px;
    line-height: 1.2;
  }

  .plan-card--purple .plan-detail {
    align-items: start;
    grid-template-columns: 484px 474px;
    gap: 65px;
    margin-top: 25px;
  }

  .plan-card--purple .plan-detail h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 177px;
    min-width: 177px;
    height: 42px;
    margin: 0 auto 17px;
    padding: 0;
    border-radius: 999px;
    background: #d8c3dc;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
  }

  .plan-card--purple .plan-detail__flow-img {
    width: 484px;
    max-width: 100%;
    height: auto;
  }

  .plan-card--purple .plan-detail ul {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    justify-content: center;
    column-gap: 28px;
    row-gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
  }

  .plan-card--purple .plan-detail li {
    padding-left: 1em;
    text-indent: -1em;
  }

  .plan-card--purple .plan-detail li::before {
    content: "・";
  }

  .plan-card--purple {
    padding-bottom: 60px;
  }

  .plan-card--purple .plan-card__support {
    box-sizing: border-box;
    width: 1028px;
    height: 280px;
    margin-top: 64px;
    margin-left: calc(50% - 514px);
    padding: 30px 106px;
    border-radius: 25px;
    background: #ded0e5;
  }

  .plan-card--purple .plan-card__support h4 {
    margin: 0 0 16px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
  }

  .plan-card--purple .plan-card__support p {
    margin: 0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
  }

  .plan-card + .plan-card {
    margin-top: 80px;
  }

  .plan-card--gold .plan-card__head {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    width: 474px;
    height: 93px;
    margin: 0 0 7px;
    padding: 0;
    overflow: visible;
    background: none;
  }

  .plan-card--gold .plan-card__head-deco {
    position: absolute;
    left: 0;
    top: 0;
    width: 474px;
    height: 93px;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
  }

  .plan-card--gold .plan-card__head p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-family: var(--font-gothic);
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
  }

  .plan-card--gold .plan-card__head span {
    position: relative;
    z-index: 1;
    margin-top: 2px;
    color: #fff;
    font-family: var(--font-gothic);
    font-size: 17px;
    font-weight: 400;
    line-height: normal;
  }

  .plan-card--gold .plan-card__summary {
    grid-template-columns: 474px 484px;
    align-items: start;
    gap: 65px;
  }

  .plan-card--gold .plan-card__summary > img {
    width: 484px;
  }

  .plan-card--gold .plan-card__price > h3 {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 33px;
    font-weight: 700;
    line-height: 1.2;
  }

  .plan-card--gold .plan-card__price > p {
    margin: 16px 0 0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 33px;
    font-weight: 700;
    line-height: 1;
  }

  .plan-card--gold .plan-card__price > p span {
    color: #c60000;
    font-family: var(--font-number);
    font-size: 73px;
    font-weight: 500;
    line-height: 1;
  }

  .plan-card--gold .plan-card__price > b {
    margin-top: 16px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
  }

  .plan-card--gold .plan-detail {
    align-items: start;
    grid-template-columns: 484px 474px;
    gap: 65px;
    margin-top: 25px;
  }

  .plan-card--gold .plan-detail h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 177px;
    min-width: 177px;
    height: 42px;
    margin: 0 auto 17px;
    padding: 0;
    border-radius: 999px;
    background: var(--color-gold-pale);
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
  }

  .plan-card--gold .plan-detail__flow-img {
    width: 484px;
    max-width: 100%;
    height: auto;
  }

  .plan-card--gold .plan-detail ul {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    justify-content: center;
    column-gap: 28px;
    row-gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
  }

  .plan-card--gold .plan-detail li {
    padding-left: 1em;
    text-indent: -1em;
  }

  .plan-card--gold .plan-detail li::before {
    content: "・";
  }

  .plan-card--gold {
    padding-bottom: 60px;
  }

  .plan-card--gold .plan-card__support {
    box-sizing: border-box;
    width: 1028px;
    height: 280px;
    margin-top: 64px;
    margin-left: calc(50% - 514px);
    padding: 30px 106px;
    border-radius: 25px;
    background: var(--color-gold-pale);
  }

  .plan-card--gold .plan-card__support h4 {
    margin: 0 0 16px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
  }

  .plan-card--gold .plan-card__support p {
    margin: 0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
  }

  .plan-card--gold .plan-card__support-em {
    text-decoration: underline;
  }
}

.plan-card__support {
  margin-top: 45px;
  padding: 33px 90px 38px;
  border-radius: 18px;
  background: var(--color-purple-light);
  text-align: center;
}

.plan-card--gold .plan-card__support {
  background: var(--color-gold-pale);
}

.plan-card__support h4 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.plan-card__support p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  text-align: left;
}

.flow {
  padding-top: 88px;
}

@media (min-width: 768px) {
  .plan__deco-right {
    display: block;
    position: absolute;
    right: 0;
    bottom: calc(-40px - 2rem);
    width: 329px;
    max-width: none;
    height: auto;
    pointer-events: none;
    z-index: 2;
  }

  .flow.section {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .flow__title-deco {
    display: block;
    width: 650px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 36px;
  }

  .flow .section-title {
    margin: 0 0 74px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 41px;
    font-weight: 700;
    line-height: normal;
  }
}

.flow-chart {
  width: 763px;
  max-width: 100%;
  margin: 0 auto 85px;
}

.flow-chart img {
  width: 100%;
  height: auto;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 58px;
}

.flow-steps::before,
.flow-steps::after {
  grid-column: 1 / -1;
  margin: 0;
  padding-bottom: 13px;
  border-bottom: 1px solid #cfcfcf;
  font-size: 30px;
  font-weight: 900;
}

.flow-steps::before {
  content: "ご逝去後";
  color: var(--color-purple);
}

.flow-steps::after {
  content: "ご火葬当日";
  grid-row: 4;
  color: var(--color-gold);
}

.flow-step {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 186px;
  padding: 26px 36px;
  background: var(--color-purple-pale);
}

.flow-step--gold {
  background: #fbf4e8;
}

.flow-step img {
  width: 122px;
  height: 134px;
  border-radius: 8px;
  object-fit: cover;
}

.flow-step h3 {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 15px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.flow-step h3 span:first-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-number);
  font-size: 18px;
  flex: 0 0 auto;
}

.flow-step p {
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .flow-steps {
    gap: 30px 60px;
  }

  .flow-steps::before,
  .flow-steps::after {
    padding: 0 0 10px 65px;
    border-bottom: 1px solid #c6c6c6;
    font-family: var(--font-gothic);
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
  }

  .flow-steps::before {
    color: #864192;
  }

  .flow-steps::after {
    margin-top: 30px;
    color: #a28040;
  }

  .flow-step h3 {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
  }

  .flow-step h3 span:first-child {
    font-family: var(--font-number);
    font-size: 19px;
    font-weight: 500;
    line-height: normal;
    color: #333333;
  }

  .flow-step p {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
  }
}

.faq {
  padding-top: 72px;
  background: var(--color-purple-light);
}

.faq .section-title {
  margin-bottom: 12px;
}

.faq__lead {
  margin: 0 0 58px;
  font-family: var(--font-mincho);
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.faq__box {
  padding: 62px 90px 58px;
  background: #fff;
}

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

.faq-item h3,
.faq-item p {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  margin: 0;
}

.faq-item h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
}

.faq-item p {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.8;
}

.faq-item span {
  font-family: var(--font-number);
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
}

.faq-item h3 span {
  color: var(--color-purple);
}

.faq-item p span {
  color: var(--color-purple-light);
}

@media (min-width: 768px) {
  .faq.section {
    padding: 54px 0 65px;
    background: #d8c3dc;
  }

  .faq .section-title {
    margin: 0 0 20px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 41px;
    font-weight: 700;
    line-height: normal;
  }

  .faq__lead {
    margin: 0 0 60px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 27px;
    font-weight: 700;
    line-height: normal;
  }

  .faq__box {
    padding: 70px 90px 60px;
  }

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

  .faq-item h3 {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
  }

  .faq-item p {
    margin-top: 5px;
    align-items: center;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
  }

  .faq-item span {
    font-family: var(--font-number);
    font-size: 35px;
    font-weight: 700;
    line-height: normal;
  }

  .faq-item h3 span {
    color: #864192;
  }

  .faq-item p span {
    color: #d8c3dc;
  }
}

.contact {
  padding: 100px 0 90px;
}

.contact__inner {
  width: min(calc(100% - 160px), 1000px);
  margin: 0 auto;
}

.contact .section-title {
  margin-bottom: 22px;
}

.contact__lead {
  margin: 0 0 80px;
  font-family: var(--font-gothic);
  font-size: 22px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
}

.form-label,
.cf7-preview legend,
.contact .wpcf7-form fieldset:not(.hidden-fields-container) legend,
.form-block {
  color: #333;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.45;
}

.form-label {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin: 0 28px 0 0;
}

.form-label > span:last-child,
.form-block > span:not(.wpcf7-form-control-wrap) {
  display: inline-grid;
  place-items: center;
  min-width: 55px;
  min-height: 40px;
  padding: 0 10px;
  border: 2px solid #bd1d1d;
  border-radius: 4px;
  color: #bd1d1d;
  font-size: 19px;
  line-height: 1;
}

.form-block:not(.form-block--small) > .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  color: inherit;
}

.form-block--small > .wpcf7-form-control-wrap {
  display: inline-block;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  color: inherit;
}

.contact-kind-sp {
  display: none;
}

.contact-switch {
  margin-bottom: 34px;
  font-size: 27px;
}

.contact-switch label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 40px;
}

input[type="radio"],
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #333;
}

.contact-pane {
  display: none;
}

.contact-pane.is-active {
  display: block;
}

.estimate-note {
  width: 760px;
  margin: 20px auto 60px;
  padding: 11px 24px 13px;
  border-radius: 999px;
  background: var(--color-gold-pale);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.cf7-preview h3 {
  margin: 0 0 38px;
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.cf7-preview fieldset,
.contact .wpcf7-form fieldset:not(.hidden-fields-container) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  margin: 0 0 42px;
  padding: 0;
  border: 0;
}

.cf7-preview legend,
.contact .wpcf7-form fieldset:not(.hidden-fields-container) legend {
  flex: 0 0 100%;
  margin-bottom: 8px;
}

.cf7-preview fieldset label,
.contact .wpcf7-form fieldset:not(.hidden-fields-container) label,
.privacy-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 27px;
  line-height: 1.45;
}

.contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-form-control-wrap {
  flex: 1 1 280px;
}

.contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-radio,
.contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
}

.contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-list-item {
  margin: 0;
}

@media (min-width: 768px) {
  .contact.section {
    padding-top: 120px;
  }

  .contact .section-title {
    margin: 0 0 25px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 41px;
    font-weight: 700;
    line-height: normal;
  }

  .contact__lead {
    margin: 0 0 146px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 22px;
    font-weight: 600;
    line-height: 36px;
  }

  .form-label,
  .cf7-preview legend,
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) legend,
  .form-block {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 29px;
    font-weight: 700;
    line-height: normal;
  }

  .form-label {
    display: flex;
    margin: 0 0 28px;
  }

  .form-label > span:last-child,
  .form-block > span:not(.wpcf7-form-control-wrap) {
    border-color: #c70f0f;
    color: #c70f0f;
    font-family: var(--font-gothic);
    font-size: 22px;
    font-weight: 500;
    line-height: normal;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) legend {
    margin-bottom: 8px;
  }

  .contact-switch {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    margin-bottom: 60px;
    font-family: var(--font-gothic);
    font-size: 27px;
    font-weight: 400;
  }

  .contact-switch .form-label {
    flex: 1 0 100%;
  }

  .contact-switch label,
  .cf7-preview fieldset label,
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) label,
  .privacy-check {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 27px;
    font-weight: 400;
    line-height: normal;
  }

  .contact-switch label {
    margin-right: 0;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) {
    column-gap: 40px;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-radio,
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-checkbox {
    column-gap: 40px;
  }

  .estimate-note {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 862px;
    height: 58px;
    margin: 0 auto 60px;
    padding: 0 24px;
    border-radius: 999px;
    background: #e5d8c0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 26px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
  }

  .cf7-preview h3,
  .contact .wpcf7-form h3 {
    margin: 60px 0;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 27px;
    font-weight: 900;
    line-height: normal;
    text-align: center;
  }

  .estimate-note + h3 {
    margin-top: 0;
  }

  .contact .wpcf7-form .form-block:has(textarea) {
    margin-bottom: 0;
  }
}

.cf7-preview input[type="text"],
.cf7-preview input[type="tel"],
.cf7-preview input[type="email"],
.cf7-preview input[type="date"],
.cf7-preview input[type="number"],
.cf7-preview textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  min-height: 66px;
  border: 0;
  border-radius: 8px;
  padding: 16px 28px;
  color: #333;
  background: var(--color-purple-pale);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.4;
}

.cf7-preview input::placeholder,
.cf7-preview textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #b0b0b0;
  -webkit-text-fill-color: #b0b0b0;
  font-weight: 400;
  opacity: 1;
}

.cf7-preview fieldset input[type="text"],
.contact .wpcf7-form fieldset:not(.hidden-fields-container) input[type="text"] {
  flex: 1 1 280px;
  max-width: 360px;
}

@media (min-width: 768px) {
  .contact .wpcf7-form fieldset p:has([data-name$="-other"]),
  .contact .wpcf7-form fieldset p:has([data-name="priest-name"]) {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    margin: 0;
    column-gap: 12px;
  }

  .contact .wpcf7-form fieldset p:has([data-name$="-other"]) br,
  .contact .wpcf7-form fieldset p:has([data-name="priest-name"]) br {
    display: none;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) p:has([data-name$="-other"]) > .wpcf7-form-control-wrap,
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) p:has([data-name="priest-name"]) > .wpcf7-form-control-wrap {
    flex: 0 0 auto;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name$="-other"]:not([data-name="wish-list-other"]):not([data-name="estimate-items-other"]),
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name$="-other"]:not([data-name="wish-list-other"]):not([data-name="estimate-items-other"]) input[type="text"],
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name="priest-name"],
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name="priest-name"] input[type="text"] {
    width: 309px;
    max-width: 309px;
    height: 51px;
    min-height: 51px;
    flex: 0 0 309px;
    padding: 0 16px;
    line-height: 51px;
  }

  .contact .wpcf7-form fieldset p:has([data-name="wish-list-other"]) {
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 40px;
    row-gap: 20px;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) p:has([data-name="wish-list-other"]) > span[data-name="wish-list"],
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) p:has([data-name="wish-list-other"]) > span[data-name="wish-list"] .wpcf7-form-control,
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) p:has([data-name="wish-list-other"]) > span[data-name="wish-list"] .wpcf7-checkbox {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    grid-row: 1 / 3;
    gap: inherit;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-list-item {
    white-space: nowrap;
  }

  .contact .wpcf7-form [data-name="wish-list"] .wpcf7-list-item {
    min-width: max-content;
  }

  .contact .wpcf7-form [data-name="wish-list"] .wpcf7-list-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .contact .wpcf7-form [data-name="wish-list"] .wpcf7-list-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .contact .wpcf7-form [data-name="wish-list"] .wpcf7-list-item.last {
    grid-column: 1;
    grid-row: 2;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name="wish-list-other"],
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name="wish-list-other"] input[type="text"] {
    grid-column: 2 / -1;
    grid-row: 2;
    width: 554px;
    max-width: 554px;
    height: 51px;
    min-height: 51px;
    flex: none;
    padding: 0 16px;
    line-height: 51px;
  }

  .contact .wpcf7-form fieldset p:has([data-name="estimate-items-other"]) {
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    width: 100%;
    column-gap: 40px;
    row-gap: 20px;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) p:has([data-name="estimate-items-other"]) > span[data-name="estimate-items"],
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) p:has([data-name="estimate-items-other"]) > span[data-name="estimate-items"] .wpcf7-form-control,
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) p:has([data-name="estimate-items-other"]) > span[data-name="estimate-items"] .wpcf7-checkbox {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    grid-row: 1 / 4;
    gap: inherit;
  }

  .contact .wpcf7-form [data-name="estimate-items"] .wpcf7-list-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .contact .wpcf7-form [data-name="estimate-items"] .wpcf7-list-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .contact .wpcf7-form [data-name="estimate-items"] .wpcf7-list-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .contact .wpcf7-form [data-name="estimate-items"] .wpcf7-list-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }

  .contact .wpcf7-form [data-name="estimate-items"] .wpcf7-list-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }

  .contact .wpcf7-form [data-name="estimate-items"] .wpcf7-list-item.last {
    grid-column: 1;
    grid-row: 3;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name="estimate-items-other"],
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name="estimate-items-other"] input[type="text"] {
    grid-column: 2 / -1;
    grid-row: 3;
    width: 100%;
    max-width: none;
    height: 51px;
    min-height: 51px;
    flex: none;
    padding: 0 16px;
    line-height: 51px;
    font-weight: 400;
  }
}

.contact .wpcf7-form fieldset.hidden-fields-container {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-block {
  display: block;
  margin-bottom: 42px;
}

.form-block input,
.form-block textarea {
  margin-top: 17px;
}

.form-block textarea,
.wpcf7-form textarea {
  min-height: 205px;
  resize: vertical;
}

@media (min-width: 768px) {
  .contact .wpcf7-form [data-name="request-detail"] textarea {
    height: 214px;
    min-height: 214px;
  }

  .contact .wpcf7-form .form-block input,
  .contact .wpcf7-form .form-block textarea {
    border: 0;
    outline: 0;
    box-shadow: none;
  }

  .contact .wpcf7-form .form-block input:invalid,
  .contact .wpcf7-form .form-block input:required,
  .contact .wpcf7-form .form-block input:user-invalid,
  .contact .wpcf7-form .form-block textarea:invalid,
  .contact .wpcf7-form .form-block textarea:user-invalid {
    border: 0;
    outline: 0;
    box-shadow: none;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: end;
  gap: 30px;
}

.form-block--small input {
  width: 100px;
  margin-right: 16px;
}

@media (min-width: 768px) {
  .contact .wpcf7-form .form-row {
    width: 100%;
  }

  .contact .wpcf7-form p:has([data-name="consult-date"]):has([data-name="family-count"]) {
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: end;
    gap: 30px;
  }

  .contact .wpcf7-form .form-row > p:has([data-name="consult-date"]):has([data-name="family-count"]) {
    display: contents;
  }

  .contact .wpcf7-form .form-row br,
  .contact .wpcf7-form p:has([data-name="consult-date"]):has([data-name="family-count"]) br {
    display: none;
  }

  .contact .wpcf7-form .form-block--small {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 16px;
    margin-bottom: 42px;
    white-space: nowrap;
  }

  .contact .wpcf7-form .form-block--small input[type="number"] {
    width: 100px;
    max-width: 100px;
    min-width: 100px;
    margin-top: 0;
    margin-right: 0;
    appearance: textfield;
    font-weight: 400;
  }

  .contact .wpcf7-form .form-block--small input[type="number"]::-webkit-outer-spin-button,
  .contact .wpcf7-form .form-block--small input[type="number"]::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
  }

  .contact .wpcf7-form [data-name="consult-date"] {
    position: relative;
  }

  .contact .wpcf7-form [data-name="consult-date"] input[type="date"] {
    position: relative;
    font-weight: 400;
    cursor: pointer;
  }

  .contact .wpcf7-form [data-name="consult-date"]:not(.is-filled)::after {
    content: "日付を選択してください";
    position: absolute;
    top: 50%;
    left: 28px;
    color: #b0b0b0;
    font-family: var(--font-gothic);
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .contact .wpcf7-form [data-name="consult-date"]:not(.is-filled) input[type="date"] {
    color: transparent;
  }

  .contact .wpcf7-form [data-name="consult-date"]:not(.is-filled) input[type="date"]::-webkit-datetime-edit {
    color: transparent;
  }

  .contact .wpcf7-form [data-name="consult-date"] input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0;
  }
}

.privacy-box {
  margin: 50px auto 60px;
  max-height: 265px;
  overflow-y: auto;
  padding: 20px 28px;
  background: #f5f5f5;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  -webkit-overflow-scrolling: touch;
}

.privacy-box h3,
.privacy-box h4,
.contact .wpcf7-form .privacy-box h3,
.contact .wpcf7-form .privacy-box h4 {
  margin: 0 0 10px;
  color: inherit;
  font-family: var(--font-gothic);
  font-size: inherit;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}

.privacy-box h3,
.contact .wpcf7-form .privacy-box h3 {
  font-size: 16px;
}

.privacy-box p,
.privacy-box ul {
  margin: 0 0 12px;
}

.privacy-box ul {
  padding-left: 1.4em;
}

.privacy-box li + li {
  margin-top: 4px;
}

.privacy-box > :last-child {
  margin-bottom: 0;
}

.privacy-check {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}

.submit-button,
.wpcf7-submit {
  display: grid;
  place-items: center;
  width: 310px;
  min-height: 72px;
  margin: 0 auto;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--color-purple);
  font-size: 27px;
  font-weight: 700;
  cursor: pointer;
}

.thanks {
  padding: 140px 0 120px;
}

.thanks__inner {
  width: min(calc(100% - 80px), var(--inner));
  margin: 0 auto;
  text-align: center;
}

.thanks .section-title {
  margin: 0 0 28px;
  color: #333333;
  font-family: var(--font-mincho);
  font-size: 41px;
  font-weight: 700;
  line-height: 1.4;
}

.thanks__lead {
  margin: 0 0 48px;
  color: #333333;
  font-family: var(--font-gothic);
  font-size: 22px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
}

.thanks__button {
  display: grid;
  place-items: center;
  width: 400px;
  max-width: 100%;
  min-height: 72px;
  margin: 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--color-purple);
  font-family: var(--font-gothic);
  font-size: 22px;
  font-weight: 700;
}

.lp-footer {
  min-height: 309px;
  padding: 78px 0;
  background: url("../img/footer_bg.jpg") center / cover no-repeat;
}

.lp-footer__inner {
  width: min(calc(100% - 80px), var(--inner));
  margin: 0 auto;
}

.lp-footer h2 {
  margin: 0 0 28px;
  font-family: var(--font-mincho);
  font-size: 31px;
  font-weight: 900;
  line-height: 1.35;
}

.lp-footer p {
  margin: 0;
  font-size: 20px;
  line-height: 1.9;
}

.sp-fixed-cta {
  display: none;
}

@media (max-width: 1190px) {
  .site-header {
    min-height: 78px;
    padding-left: 24px;
  }

  .site-header__brand {
    font-size: 22px;
  }

  .site-header__nav {
    height: 78px;
    font-size: 16px;
  }

  .site-header__nav > a {
    padding: 0 14px;
  }

  .site-header__contact {
    min-width: 190px;
  }

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

  .about__inner,
  .feature-item,
  .feature-item--reverse,
  .plan-card__summary,
  .plan-card--gold .plan-card__summary {
    grid-template-columns: 1fr;
  }

  .feature-item--reverse img,
  .feature-item--reverse div {
    grid-column: auto;
    grid-row: auto;
  }

  .about__image,
  .plan-card__summary > img {
    width: min(100%, 515px);
    margin: 0 auto;
  }

  .feature-item img {
    width: min(100%, 514px);
    margin: 0 auto;
  }

  .plan-card {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 13px;
    line-height: 25px;
  }

  .site-header {
    min-height: 51px;
    padding: 0 13px 0 61px;
    position: sticky;
  }

  .site-header__brand {
    font-size: 17px;
  }

  .site-header__toggle {
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 34px;
    padding: 0;
    border: 0;
    color: var(--color-purple);
    background: transparent;
    z-index: 21;
  }

  .site-header__toggle span {
    width: 27px;
    height: 2px;
    background: var(--color-purple);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-header__toggle b {
    font-family: var(--font-number);
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    transition: opacity 0.3s ease;
  }

  .site-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .site-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-header__toggle[aria-expanded="true"] b {
    opacity: 0;
  }

  .site-header__nav {
    position: fixed;
    inset: 51px 0 0;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    pointer-events: none;
    height: auto;
    margin: 0;
    padding: 18px 24px 32px;
    overflow-y: auto;
    background: #ded0e5;
    font-size: 16px;
    transform: translateY(-100%);
    transition: transform 0.4s ease, visibility 0s linear 0.4s;
  }

  .site-header__nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: transform 0.4s ease, visibility 0s linear 0s;
  }

  .site-header__nav > a {
    justify-content: start;
    min-height: 42px;
    padding: 0;
  }

  .site-header__contact {
    min-width: 0;
    margin-top: 10px;
    padding: 10px 16px;
  }

  .site-header__nav-info {
    display: block;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgb(0 0 0 / 20%);
    text-align: center;
  }

  .site-header__nav-info .site-header__nav-tel {
    display: block;
    min-height: 0;
    margin: 0 0 16px;
    padding: 0;
  }

  .site-header__nav-info .site-header__nav-tel img {
    width: 100%;
    height: auto;
  }

  .site-header__nav-info .site-header__nav-info-name {
    margin: 0 0 12px;
    font-family: var(--font-mincho);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
  }

  .site-header__nav-info p {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
  }

  .site-header__nav-info-phone {
    display: inline;
    min-height: 0;
    padding: 0;
    color: inherit;
  }

  .section {
    padding: 60px 0;
  }

  .section__inner,
  .contact__inner,
  .lp-footer__inner {
    width: calc(100% - 30px);
  }

  .section-title {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.55;
  }

  .section-title--left {
    text-align: center;
  }

  .problems__grid p,
  .about__text p,
  .feature-item p {
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: 13px;
    line-height: 25px;
  }

  .mv {
    position: relative;
    height: calc(100vw * 556 / 750);
    background-color: #fbf7fe;
    background-image: url("../img/sp_mv_bg.jpg");
    background-position: center bottom;
    background-size: cover;
  }

  .mv picture {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: block;
    width: 100%;
    transform: translateX(-50%);
  }

  .mv__img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .mv-tel {
    display: block;
    height: auto;
    min-height: 464px;
    padding: 30px 15px 25px;
    background: linear-gradient(#d8c3dc, var(--color-purple));
  }

  .mv-tel__plan {
    display: block;
    width: 345px;
    max-width: 100%;
    margin: 0 auto 32px;
  }

  .mv-tel__message {
    font-size: 18px;
    line-height: 1.65;
  }

  .mv-tel__link {
    width: 345px;
    max-width: 100%;
    margin: 22px auto 0;
  }

  .problems {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .problems .section-title {
    margin: 0 0 20px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
  }

  .problems__grid {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 325px;
    max-width: 100%;
    margin: 0 auto;
  }

  .problems__grid article {
    display: grid;
    grid-template-columns: 146px 162px;
    align-items: start;
    gap: 17px;
    text-align: left;
  }

  .problems__grid img {
    width: 146px;
    height: auto;
    border-radius: 8px;
    object-fit: fill;
  }

  .problems__grid p {
    margin: 0;
    width: 162px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 14px;
    font-weight: 500;
    line-height: 25px;
  }

  .problems__grid p br {
    display: none;
  }

  .br-sp {
    display: revert;
  }

  .message {
    min-height: 87px;
    margin-top: 40px;
    padding: 0 62px;
    color: #8d610e;
    font-family: var(--font-mincho);
    font-size: 14px;
    font-weight: 900;
    line-height: 23px;
    text-box-trim: trim-start;
    text-box-edge: cap alphabetic;
  }

  .message::before,
  .message::after {
    top: 0;
    width: 70px;
    height: 87px;
    background-position: top center;
  }

  .message::before {
    left: 0;
  }

  .message::after {
    right: 0;
  }

  .about {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .about__inner {
    gap: 20px;
  }

  .about__text {
    display: contents;
  }

  .about__text .section-title {
    order: 1;
    margin: 0;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
  }

  .about .about__image {
    order: 2;
    width: 325px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .about__text p {
    order: 3;
    width: 325px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 13px;
    font-weight: 400;
    line-height: 25px;
  }

  .about__text p + p {
    margin-top: 0;
  }

  .points {
    margin-top: 60px;
  }

  .points__lead-image {
    display: none;
  }

  .points__lead {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 63px;
    margin: 0 0 20px;
    padding: 0 16px;
    box-sizing: border-box;
    color: #fff;
    font-family: var(--font-mincho);
    font-size: 15px;
    font-weight: 900;
    line-height: 21px;
    text-align: center;
  }

  .points__cards {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 14px;
  }

  .point-card {
    width: auto;
    height: auto;
    padding: 26px 24px 20px;
  }

  .point-card::before {
    inset: 2px;
  }

  .point-card::after {
    top: -14px;
    width: 111px;
    height: 27px;
    background-size: 105px 27px;
  }

  .point-card h3 {
    margin-bottom: 12px;
    font-size: 19px;
    font-weight: 900;
    line-height: normal;
  }

  .point-card ul {
    gap: 10px;
  }

  .point-card:first-child ul,
  .point-card:nth-child(2) ul {
    gap: 10px;
  }

  .point-card li,
  .point-card:first-child li {
    grid-template-columns: 32px 1fr;
    align-items: start;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    white-space: normal;
    letter-spacing: 0;
  }

  .point-card:nth-child(2) {
    padding-left: 10px;
    padding-right: 10px;
  }

  .point-card:nth-child(2) li {
    grid-template-columns: 28px max-content;
    align-items: center;
    gap: 8px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 12px;
    font-weight: 700;
    line-height: normal;
    white-space: nowrap;
    letter-spacing: 0;
  }

  .point-card:nth-child(2) img {
    width: 28px;
  }

  .point-card img {
    width: 32px;
  }

  .cta {
    display: none;
  }

  .feature {
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .feature-item {
    gap: 22px;
  }

  .feature-item + .feature-item {
    margin-top: 46px;
  }

  .feature-item img {
    width: 325px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-item h3 {
    margin: 0 auto 13px;
    width: 325px;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
  }

  .feature-item p {
    width: 325px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-item:last-child p {
    width: 97%;
  }

  .plan.section {
    padding: 60px 0 35px;
  }

  .plan .section-title {
    margin: 0 0 30px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
  }

  .plan__deco-left {
    display: block;
    position: absolute;
    left: 0;
    top: -40px;
    width: 200px;
    max-width: none;
    height: auto;
    pointer-events: none;
    z-index: 0;
  }

  .plan__deco-right {
    display: block;
    position: absolute;
    right: 0;
    bottom: -26px;
    width: 165px;
    max-width: none;
    height: auto;
    pointer-events: none;
    z-index: 2;
  }

  .plan-card {
    padding: 36px 10px 35px;
  }

  .plan-card + .plan-card {
    margin-top: 40px;
  }

  .plan-card__head {
    width: 100%;
    max-width: 100%;
    margin-bottom: 25px;
    padding: 8px 14px 10px;
  }

  .plan-card--purple .plan-card__head {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 474 / 93;
    padding: 0;
    background: none;
  }

  .plan-card__head p {
    font-size: 16px;
    font-weight: 700;
  }

  .plan-card__head span {
    font-size: 11px;
    font-weight: 400;
  }

  .plan-card__summary,
  .plan-card--purple .plan-card__summary,
  .plan-card--gold .plan-card__summary {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .plan-card__summary > img,
  .plan-card--purple .plan-card__summary > img,
  .plan-card--gold .plan-card__summary > img {
    width: 100%;
    max-width: 100%;
  }

  .plan-card--purple .plan-card__head-deco {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .plan-card--gold .plan-card__head {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 474 / 93;
    padding: 0;
    background: none;
  }

  .plan-card--gold .plan-card__head-deco {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .plan-card--purple .plan-card__summary > img {
    order: 2;
  }

  .plan-card--purple .plan-card__price {
    order: 1;
  }

  .plan-card__price h3 {
    font-size: 23px;
    font-weight: 700;
  }

  .plan-card__price > p {
    font-size: 20px;
    font-weight: 700;
  }

  .plan-card__price > p span {
    font-size: 55px;
    font-weight: 500;
  }

  .plan-card__price b {
    font-size: 13px;
    line-height: 25px;
    font-weight: 700;
  }

  .plan-card__price > b span {
    font-weight: 500;
  }

  .plan-card--gold .plan-card__price > b {
    width: 301px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 13px;
    font-weight: 400;
    line-height: 25px;
    text-align: left;
  }

  .plan-card__price small {
    font-size: 11px;
    font-weight: 500;
  }

  .plan-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 25px;
  }

  .plan-detail h4 {
    min-width: 120px;
    font-size: 16px;
    font-weight: 700;
  }

  .plan-detail ul {
    grid-template-columns: 151px 151px;
    column-gap: 0;
    row-gap: 8px;
    width: 302px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    font-size: 13px;
    font-weight: 500;
  }

  .plan-card__support {
    margin-top: 35px;
    padding: 25px 20px 22px;
    border-radius: 10px;
  }

  .plan-card__support h4 {
    font-size: 16px;
    font-weight: 700;
  }

  .plan-card__support p {
    font-size: 13px;
    line-height: 25px;
    font-weight: 400;
  }

  .plan-card--purple {
    padding: 35px 10px 35px;
  }

  .plan-card--purple .plan-card__head {
    margin-bottom: 10px;
  }

  .plan-card--purple .plan-card__summary {
    gap: 30px;
  }

  .plan-card--purple .plan-card__summary > img {
    width: 325px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .plan-card--purple .plan-card__price > h3 {
    margin: 0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 22px;
    font-weight: 700;
    line-height: normal;
  }

  .plan-card--purple .plan-card__price > p {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 8px 0 0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
  }

  .plan-card--purple .plan-card__price > p span {
    color: #c60000;
    font-family: var(--font-number);
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
  }

  .plan-card--purple .plan-card__price > b {
    margin-top: 8px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
  }

  .plan-card--purple .plan-card__price > b span {
    font-family: var(--font-number);
    font-size: 15px;
    font-weight: 500;
  }

  .plan-card--purple .plan-card__price > small {
    margin-top: 8px;
    color: #9a0000;
    font-family: var(--font-gothic);
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
  }

  .plan-card--purple .plan-detail {
    margin-top: 20px;
    gap: 30px;
  }

  .plan-card--purple .plan-detail h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    min-width: 118px;
    height: 28px;
    margin: 0 auto 10px;
    padding: 0;
    border-radius: 999px;
    background: #d8c3dc;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
  }

  .plan-card--purple .plan-detail__flow-img {
    width: 325px;
    max-width: 100%;
    margin: 0 auto;
  }

  .plan-card--purple .plan-detail ul,
  .plan-card--gold .plan-detail ul {
    grid-template-columns: 151px 151px;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    justify-content: center;
    column-gap: 0;
    row-gap: 0;
    width: 302px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 13px;
    font-weight: 500;
    line-height: 25px;
  }

  .plan-card--purple .plan-detail li,
  .plan-card--gold .plan-detail li {
    padding-left: 1em;
    text-indent: -1em;
  }

  .plan-card--purple .plan-detail li::before,
  .plan-card--gold .plan-detail li::before {
    content: "・";
  }

  .plan-card--purple .plan-card__support {
    margin-top: 35px;
    padding: 25px 16px 22px;
    border-radius: 10px;
    background: #ded0e5;
  }

  .plan-card--purple .plan-card__support h4 {
    margin: 0 0 25px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
  }

  .plan-card--purple .plan-card__support p {
    margin: 0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 13px;
    font-weight: 400;
    line-height: 25px;
  }

  .plan-card--gold .plan-card__support {
    margin-top: 35px;
    padding: 25px 16px 22px;
  }

  .plan-card--gold .plan-card__support h4 {
    margin: 0 0 25px;
  }

  .plan-card--gold .plan-card__support-em {
    text-decoration: underline;
  }

  .flow {
    padding-top: 86px;
    padding-bottom: 60px;
  }

  .flow__title-deco {
    display: block;
    width: 325px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
  }

  .flow .section-title {
    margin: 0 0 20px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
  }

  .flow-chart {
    width: 301px;
    max-width: 100%;
    margin: 0 auto 40px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  .flow-steps::before,
  .flow-steps::after {
    width: min(345px, 100%);
    max-width: 100%;
    margin: 0 0 4px;
    padding: 0 0 6px 10px;
    border-bottom: 1px solid #c6c6c6;
    font-family: var(--font-gothic);
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
  }

  .flow-steps::before {
    color: #864192;
  }

  .flow-steps::after {
    grid-row: 6;
    margin-top: 30px;
    color: #8d610e;
  }

  .flow-step {
    width: 100%;
    max-width: 345px;
    margin-inline: auto;
    grid-template-columns: 146px 162px;
    gap: 17px;
    align-items: start;
    min-height: 176px;
    padding: 13px 10px;
    border-radius: 8px;
    background: #f2e9f7;
  }

  .flow-step--gold {
    background: #fcf5e8;
  }

  .flow-step img {
    width: 146px;
    height: 150px;
    object-fit: cover;
  }

  .flow-step > div {
    min-width: 0;
    width: 162px;
  }

  .flow-step h3 {
    align-items: start;
    margin: 0 0 8px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
  }

  .flow-step h3 span:first-child {
    width: 22px;
    height: 22px;
    border-width: 1px;
    background: #fff;
    font-family: var(--font-number);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #333333;
  }

  .flow-step p {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
  }

  .flow-step__pc-only {
    display: none;
  }

  .faq {
    padding-top: 45px;
    padding-bottom: 40px;
  }

  .faq .section-title {
    margin: 0 0 10px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
  }

  .faq__lead {
    margin: 0 0 30px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
  }

  .faq__box {
    padding: 35px 21px;
  }

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

  .faq-item h3,
  .faq-item p {
    grid-template-columns: 14px 1fr;
    gap: 10px;
    align-items: start;
  }

  .faq-item h3 {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
  }

  .faq-item p {
    margin-top: 13px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 13px;
    font-weight: 400;
    line-height: 25px;
  }

  .faq-item span {
    font-family: var(--font-number);
    font-size: 19px;
    font-weight: 700;
    line-height: normal;
  }

  .faq-item h3 span {
    color: #864192;
  }

  .faq-item p span {
    color: #d8c3dc;
  }

  .contact {
    padding: 60px 0 62px;
  }

  .contact .section-title {
    margin: 0 0 20px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
  }

  .contact__lead {
    margin: 0 0 63px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
  }

  .form-label,
  .cf7-preview legend,
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) legend,
  .form-block {
    font-size: 16px;
  }

  .form-label {
    margin: 0 0 12px;
    gap: 0;
  }

  .contact-switch .form-label {
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
  }

  .contact-kind-pc {
    display: none;
  }

  .contact-kind-sp {
    display: inline;
  }

  .form-label > span:last-child,
  .form-block > span:not(.wpcf7-form-control-wrap) {
    min-width: 43px;
    min-height: 24px;
    border-width: 1px;
    border-color: #c70f0f;
    color: #c70f0f;
    font-family: var(--font-gothic);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
  }

  .form-label > span:last-child {
    margin-left: 12px;
  }

  .contact-switch,
  .contact-pane {
    width: 301px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-switch {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .contact-switch label {
    display: flex;
    margin: 12px 0 0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
  }

  input[type="radio"],
  input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }

  .estimate-note {
    display: block;
    width: 289px;
    height: 46px;
    margin: 0 auto 20px;
    padding: 4px 8px 0;
    background: #e5d8c0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 12px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
  }

  .cf7-preview h3,
  .contact .wpcf7-form h3 {
    width: 100%;
    margin-bottom: 28px;
    font-family: var(--font-mincho);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
  }

  .cf7-preview .estimate-note + h3,
  .contact .wpcf7-form .estimate-note + h3 {
    margin: 0 0 20px;
    color: #333333;
    font-family: var(--font-mincho);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
  }

  .cf7-preview fieldset {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0 0 20px;
    padding: 0;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0 0 20px;
    padding: 0;
  }

  .cf7-preview legend {
    float: none;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) legend {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .cf7-preview fieldset label,
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) label,
  .privacy-check {
    font-size: 14px;
  }

  .cf7-preview fieldset > label + label {
    margin-top: 8px;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) > p {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 20px 0 0;
    padding: 0;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) > p br {
    display: none;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-form-control-wrap {
    display: block;
    flex: none;
    width: 100%;
    min-height: 0;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-radio,
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 8px;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) .wpcf7-list-item {
    display: flex;
    margin: 0;
    text-align: left;
  }

  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name$="-other"],
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) [data-name="priest-name"] {
    margin-top: 5px;
  }

  .cf7-preview input[type="text"],
  .cf7-preview input[type="tel"],
  .cf7-preview input[type="email"],
  .cf7-preview input[type="date"],
  .cf7-preview input[type="number"],
  .cf7-preview textarea,
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="date"],
  .wpcf7-form input[type="number"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .cf7-preview fieldset input[type="text"],
  .contact .wpcf7-form fieldset:not(.hidden-fields-container) input[type="text"] {
    width: 100%;
    max-width: 301px;
    height: 44px;
    min-height: 44px;
  }

  .cf7-preview fieldset > input[type="text"] {
    margin-top: 5px;
  }

  .form-block {
    margin-bottom: 28px;
  }

  .contact .wpcf7-form p:has(.form-block) > br {
    display: none;
  }

  .form-block input,
  .form-block textarea {
    margin-top: 10px;
  }

  .form-block textarea,
  .wpcf7-form textarea {
    min-height: 162px;
  }

  .contact .wpcf7-form p:has([data-name="request-detail"]),
  .cf7-preview:not(.cf7-preview--other) > .form-block:has(textarea) {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 30px;
  }

  .contact .wpcf7-form p:has([data-name="request-detail"]) .form-block,
  .cf7-preview:not(.cf7-preview--other) > .form-block:has(textarea) {
    margin-bottom: 0;
  }

  .contact .wpcf7-form p:has([data-name="request-detail"]) + h3,
  .cf7-preview:not(.cf7-preview--other) > .form-block:has(textarea) + h3 {
    margin-top: 0;
  }

  .contact .wpcf7-form [data-name="request-detail"] textarea,
  .cf7-preview:not(.cf7-preview--other) .form-block textarea {
    width: 301px;
    max-width: 100%;
    height: 162px;
    min-height: 162px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact .wpcf7-form .form-block--small,
  .cf7-preview .form-block--small {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 8px;
  }

  .contact .wpcf7-form .form-block--small > .wpcf7-form-control-wrap,
  .cf7-preview .form-block--small > .wpcf7-form-control-wrap {
    flex: 0 0 60px;
    width: 60px;
  }

  .contact .wpcf7-form .form-block--small input[type="number"],
  .cf7-preview .form-block--small input[type="number"],
  .form-block--small input {
    width: 60px;
    max-width: 60px;
    min-width: 60px;
    margin-top: 0;
    margin-right: 0;
    padding: 12px 8px;
    appearance: textfield;
  }

  .contact .wpcf7-form .form-block--small input[type="number"]::-webkit-outer-spin-button,
  .contact .wpcf7-form .form-block--small input[type="number"]::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
  }

  .privacy-box {
    margin: 36px auto 48px;
    max-height: 200px;
    padding: 16px 18px;
    font-size: 11px;
    line-height: 1.9;
  }

  .privacy-box h3,
  .contact .wpcf7-form .privacy-box h3 {
    font-size: 12px;
  }

  .privacy-check {
    margin-bottom: 34px;
  }

  .submit-button,
  .wpcf7-submit {
    width: 166px;
    min-height: 50px;
    font-size: 16px;
  }

  .thanks {
    padding: 60px 0 50px;
  }

  .thanks__inner {
    width: 325px;
    max-width: calc(100% - 50px);
  }

  .thanks .section-title {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.55;
  }

  .thanks__lead {
    margin: 0 0 28px;
    font-size: 13px;
    font-weight: 500;
    line-height: 25px;
  }

  .thanks__button {
    width: 280px;
    min-height: 50px;
    font-size: 16px;
  }

  .lp-footer {
    min-height: 278px;
    padding: 56px 0;
  }

  .lp-footer h2 {
    font-size: 18px;
  }

  .lp-footer p {
    font-size: 13px;
  }

  .sp-fixed-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--safari-bottom, 0px);
    z-index: 30;
    display: block;
    transition: opacity 0.2s ease, visibility 0.2s ease, bottom 0.2s ease;
  }

  .sp-fixed-cta img {
    width: 100%;
    height: auto;
  }

  .sp-fixed-cta.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 350px) {
  .site-header {
    padding-left: 13px;
  }

  .site-header__brand {
    font-size: 15px;
  }
}

@media (max-width: 350px) {
  .problems__grid article,
  .flow-step {
    grid-template-columns: 1fr;
  }

  .problems__grid img,
  .flow-step img {
    width: 100%;
    height: auto;
  }
}
