html {
  scroll-behavior: smooth;
}

.Header__Right {
  display: flex;
  align-items: center;
  gap: 0.26rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .Header__Right {
    gap: 0.08rem;
  }
}

.Header-Catchcopy-Image {
  width: 2.16rem;
}

@media screen and (max-width: 768px) {
  .Header-Catchcopy-Image {
    width: 0.62rem;
  }
}

.MV-Image {
  position: absolute;
  top: 0.183rem;
  right: 4rem;
  width: 1.78rem;
  height: 1.78rem;
}

@media screen and (max-width: 768px) {
  .MV-Image {
    top: 0.85rem;
    right: 0.03rem;
    width: 0.89rem;
    height: 0.89rem;
  }
}

.Balloon-Image {
  width: 4.32rem;
}

@media screen and (max-width: 768px) {
  .Balloon-Image {
    width: 3.07rem;
  }
}

.DiagnoseHeadline {
  margin: auto;
  width: 9.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.26rem;
}

@media screen and (max-width: 768px) {
  .DiagnoseHeadline {
    width: 100%;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    align-items: flex-start;
    gap: 0.07rem;
  }
}

.DiagnoseHeadline-Lawyer {
  flex: none;
  width: 1.74rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .DiagnoseHeadline-Lawyer {
    width: 1rem;
  }
}

.DiagnoseHeadline-Lawyer-Name {
  font-size: 0.16rem;
  letter-spacing: 0.1em;
  line-height: 0.35rem;
}

@media screen and (max-width: 768px) {
  .DiagnoseHeadline-Lawyer-Name {
    font-size: 0.1rem;
    line-height: 0.175rem;
  }
}

.DiagnoseHeadline-Text {
  flex: auto;
}

.DiagnoseResultContent {
  display: grid;
  grid-template-areas: "a a" "b c";
  grid-template-columns: 1fr 1.74rem;
  border: 1px solid rgba(130, 0, 18, 0.57);
  background-color: rgba(255, 255, 255, 0.57);
  padding-top: 0.46rem;
  padding-bottom: 0.43rem;
  padding-left: 0.56rem;
  padding-right: 0.39rem;
  row-gap: 0.27rem;
  column-gap: 0.16rem;
}

@media screen and (max-width: 768px) {
  .DiagnoseResultContent {
    display: grid;
    grid-template-areas: "a c" "b b";
    grid-template-columns: 1fr 0.87rem;
    row-gap: 0.135rem;
    column-gap: 0;
    padding-top: 0.175rem;
    padding-bottom: 0.24rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

.DiagnoseResultContent-Catch {
  grid-area: a;
  font-size: 0.35rem;
  letter-spacing: 0.15em;
  color: #820012;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .DiagnoseResultContent-Catch {
    padding-top: 0.2rem;
    font-size: 0.2rem;
    line-height: 0.32rem;
    text-align: left;
  }
}

.DiagnoseResultContent-Layer {
  grid-area: c;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.DiagnoseResultContent-Layer-Name {
  font-size: 0.17rem;
  line-height: 0.35rem;
}

@media screen and (max-width: 768px) {
  .DiagnoseResultContent-Layer-Name {
    font-size: 0.1rem;
    line-height: 0.24rem;
  }
}

.DiagnoseResultContent-Text {
  grid-area: b;
  font-size: 0.23rem;
  letter-spacing: 0.03em;
  line-height: 1.73;
}

@media screen and (max-width: 768px) {
  .DiagnoseResultContent-Text {
    font-size: 0.14rem;
    line-height: 1.71;
  }
}

.DiagnoseResult-Tel {
  margin-top: 0.56rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 6.3rem;
}

@media screen and (max-width: 768px) {
  .DiagnoseResult-Tel {
    margin-top: 0.3rem;
    max-width: 3.2rem;
  }
}

.DiagnoseResult-Tel-Button {
  display: block;
  box-shadow: 0 0.09rem 0.15rem #b1a49099;
}

.DiagnoseResult-Tel-Time {
  margin-top: 0.2rem;
  font-weight: bold;
  font-size: 0.28rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .DiagnoseResult-Tel-Time {
    margin-top: 0.1rem;
    font-size: 0.14rem;
  }
}

.Contact-Headline {
  width: 100%;
  text-align: center;
  font-size: 0.48rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .Contact-Headline {
    font-size: 0.26rem;
  }
}

.Contact-Lead {
  margin-top: 0.36rem;
  margin-bottom: 0.8rem;
  width: 100%;
  text-align: center;
  font-size: 0.28rem;
  line-height: 0.34rem;
}

@media screen and (max-width: 768px) {
  .Contact-Lead {
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.14rem;
    line-height: 0.2rem;
  }
}

.Appeal {
  width: 100%;
  display: flex;
  justify-content: center;
  background-image: url(./../images/appeal/bg.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100%;
}

@media screen and (max-width: 768px) {
  .Appeal {
    background-image: url(./../images/appeal/bg_sp.webp);
  }
}

.Appeal__Inner {
  width: 11.8rem;
  padding-top: 0.85rem;
  padding-bottom: 0.52rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .Appeal__Inner {
    width: calc(100% - 0.4rem);
  }
}

.Appeal-Headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
}

.Appeal-Headline-Main {
  width: 6.11rem;
}

@media screen and (max-width: 768px) {
  .Appeal-Headline-Main {
    width: 3.08rem;
  }
}

.Appeal-Headline-Sub {
  font-size: 0.27rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 0.39rem;
  color: #265771;
}

@media screen and (max-width: 768px) {
  .Appeal-Headline-Sub {
    font-size: 0.115rem;
    line-height: 0.175rem;
  }
}

.Appeal-Image {
  margin-top: 0.5rem;
  width: 7.76rem;
}

@media screen and (max-width: 768px) {
  .Appeal-Image {
    margin-top: 0.16rem;
    width: 100vw;
    max-width: none;
  }
}

.Appeal-List {
  margin-top: 0.5rem;
  width: 100%;
  display: flex;
  gap: 0.233rem;
}

@media screen and (max-width: 768px) {
  .Appeal-List {
    flex-direction: column;
    gap: 0.188rem;
  }
}

.Appeal-List-Item {
  flex: 1;
}

.AppealPointCard {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.11rem;
}

@media screen and (max-width: 768px) {
  .AppealPointCard {
    gap: 0.07rem;
  }
}

.AppealPointCard-Headline {
  color: #265771;
  font-size: 0.32rem;
  line-height: 0.37rem;
  letter-spacing: 0.042em;
}

@media screen and (max-width: 768px) {
  .AppealPointCard-Headline {
    font-size: 0.18rem;
    line-height: 0.21rem;
  }
}

.AppealPointCard-Text {
  width: 100%;
  height: 2.1rem;
  padding-top: 0.064rem;
  padding-bottom: 0.064rem;
  background-color: #265771;
}

@media screen and (max-width: 768px) {
  .AppealPointCard-Text {
    height: auto;
    padding-top: 0.036rem;
    padding-bottom: 0.036rem;
  }
}

.AppealPointCard-Text__Inner {
  border-top: 1px solid #f7d8a8;
  border-bottom: 1px solid #f7d8a8;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.22rem;
  line-height: 0.37rem;
  letter-spacing: 0.15em;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .AppealPointCard-Text__Inner {
    padding-top: 0.1165rem;
    padding-bottom: 0.1165rem;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
    font-size: 0.135rem;
    line-height: 0.2rem;
  }
}

.Appeal-Table {
  margin-top: 0.85rem;
  width: 9.8rem;
}

@media screen and (max-width: 768px) {
  .Appeal-Table {
    margin-top: 0.45rem;
    width: 100%;
  }
}

.Note {
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  width: calc(817 / 918 * 100%);
  padding-left: 1em;
  font-family: Noto Serif JP, serif;
  font-size: 16px;
  color: #fff;
  text-align: left;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .Note {
    font-size: 10px;
  }
}

.Note-Item {
  list-style-type: "*";
  padding-left: 0.3em;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 769px) {
  .SP {
    display: none;
  }
}

.CtaBeforeHeadline {
  position: absolute;
  top: -0.36rem;
  left: 0;
  right: 0;
  z-index: 1;
  margin: auto;
  width: 10.8rem;
}

@media screen and (max-width: 768px) {
  .CtaBeforeHeadline {
    top: -0.179rem;
    width: 3.45rem;
  }
}

.CtaBeforeHeadline-Image {
  width: 100%;
}

.Henkinritsu1 {
  display: none;
  position: absolute;
  top: 1.2rem;
  right: 5.15rem;
  width: 1.7rem;
}

@media screen and (max-width: 768px) {
  .Henkinritsu1 {
    top: 0.2rem;
    right: 0.12rem;
    width: 0.8rem;
  }
}

.Henkinritsu2 {
  display: none;
  position: absolute;
  top: 0.8rem;
  right: 4.9rem;
  width: 1.7rem;
}

@media screen and (max-width: 768px) {
  .Henkinritsu2 {
    top: 0.2rem;
    right: 0.7rem;
    width: 0.7rem;
  }
}
