.rootcanal {
  position: relative;
  overflow-x: hidden;

  .serif {
    font-family: Shippori Mincho, "游明朝", YuMincho, "Hiragino Mincho ProN", "MS P明朝", serif;
  }

  h3 {
    font-family: Shippori Mincho, "游明朝", YuMincho, "Hiragino Mincho ProN", "MS P明朝", serif;
    font-weight: 400;
    color: #333c77;
    margin-bottom: 16px;
    letter-spacing: 0.02rem;
    font-size: clamp(1.8rem, 1.95rem + 0.5vw, 2.2rem);
    line-height: clamp(2.1rem, 2.1rem + 0.5vw, 2.6rem);
    text-align: left;
    padding: 0 0 0.9rem 0;
  }

  h4 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: clamp(1.1rem, 0.96rem + 1.29vw, 2.25rem);
    color: #d7b87c;
    line-height: 1.36;
    letter-spacing: 0.08;
    margin-bottom: 1.6em;
  }

  @media screen and (max-width: 960px) {
    h4 {
      font-size: clamp(1.25rem, 0.96rem + 1.29vw, 2.25rem);
      margin-bottom: 20px;
    }
  }

  /* 下層MV */
  .mv_sub {
    display: flex;
    position: relative;
  }

  .mv_sub .box_img {
    width: 57.4%;
    padding-bottom: 56px;
    clip-path: polygon(0 0, 100% 0, 91.77% 100%, 0% 100%);
  }

  @media screen and (max-width: 960px) {
    .mv_sub .box_img {
      width: 95%;
      padding-bottom: 39.2vw;
    }
  }

  .mv_sub .mv_ttl {
    width: 54.9%;
    height: 24.8vw;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(78, 139, 173, 0.68);
    clip-path: polygon(8.33% 0, 100% 0, 100% 100%, 0% 100%);
    display: flex;
    align-items: center;
  }

  .mv_sub .mv_ttl::after {
    content: "";
    display: block;
    position: absolute;
    background-image: url("../img/mv_ttl_dec.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 30%;
  }

  @media screen and (max-width: 960px) {
    .mv_sub .mv_ttl {
      width: 77%;
      /* height: calc(100% - 39.2vw); */
      height: 51.29vw;
    }

    .mv_sub .mv_ttl::after {
      background-image: url("../img/mv_ttl_dec_sp.svg");
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center right;
      height: 31.8%;
    }
  }

  .mv_sub .mv_ttl h2 {
    font-family: 游明朝, YuMincho, "Hiragino Mincho ProN", "MS P明朝", serif;
    font-weight: 300;
    font-size: 40px;
    color: #fff;
    width: fit-content;
    margin: 0 13% 0 auto;
  }

  @media screen and (max-width: 960px) {
    .mv_sub .mv_ttl h2 {
      margin: 0 6% 0 auto;
      font-size: calc(24 / 390 * 100vw);
    }
  }

  .block {
    margin: 64px 0;
    /* overflow: hidden; */
  }

  @media screen and (max-width: 960px) {
    .block {
      margin: 0 0 64px;
    }
  }

  .block .inner {
    width: 90%;
    margin: 0 auto;
  }

  .block .flex_box {
    display: flex;
    align-items: center;
  }

  @media screen and (max-width: 960px) {
    .block .flex_box {
      flex-flow: column;
    }
  }

  .block .flex_box .box_text {
    width: 40%;
    margin-right: 5%;
    margin-left: 5%;
  }

  @media screen and (max-width: 960px) {
    .block .flex_box .box_text {
      width: 100%;
      margin: 0;
    }
  }

  .block .flex_box .box_img {
    width: 60%;
  }

  @media screen and (max-width: 960px) {
    .block .flex_box .box_img {
      width: calc(100% + 6vw);
      margin-bottom: 54px;
      margin-right: calc(50% - 50vw);
    }

    .dentifrice .flex_box .box_img {
      width: 100%;
      margin-right: 0;
    }
  }

  @media screen and (max-width: 960px) {
    .block .flex_box .box_img {
      width: 100%;
    }
  }
  .sec_title {
    margin-bottom: 16px;
    width: fit-content;
    margin: auto;
    padding: 16px 36px;
  }

  .sec_title.beige {
    border-bottom: 1px solid #d7b87c;
  }
  .sec_title.paleblue {
    border-bottom: 1px solid #87b0c8;
  }
  .sec_title.blue {
    border-bottom: 1px solid #333c77;
  }
  .sec_title.white {
    border-bottom: 1px solid white;
  }
  .sec_caption {
    font-family: "Corinthia", cursive;
    font-size: 32px;
    display: block;
    padding: 16px 0;
  }
  .sec_caption.beige {
    color: #d7b87c;
  }
  .sec_caption.paleblue {
    color: #87b0c8;
  }
  .sec_caption.blue {
    color: #333c77;
  }
  .adjust_size01 {
    font-size: clamp(0.9rem, 1.1rem + 0.5vw, 1.6rem);
    line-height: clamp(1.1rem, 1.2rem + 0.5vw, 1.8rem);
  }
  .left {
    text-align: left;
  }
  .right {
    text-align: right;
  }
  .center {
    text-align: center;
  }
  @media (min-width: 769px) {
    .sp {
      display: none;
    }
  }
  @media (max-width: 960px) {
    .pc {
      display: none;
    }
  }
  .lifespan {
    margin-top: 60px;
  }

  .lifespan_bg {
    background-image: url("../img/rootcanal_lifespan.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    width: 100%;
    height: 590px;
    display: flex;
  }
  @media only screen and (max-width: 640px) {
    .lifespan_bg {
      background-image: url("../img/rootcanal_lifespan_sp.webp");
      background-size: cover;
      background-repeat: no-repeat;
      background-position: top center;
      width: 100%;
      display: flex;
    }
  }
  .lifespan_panel {
    width: 100%;
    margin: 40px auto;
    padding: 24px;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .lifespan_panel h3 {
    margin: auto;
    font-size: clamp(1.125rem, 0.929rem + 0.87vw, 1.625rem);
    line-height: clamp(1.5rem, 1.304rem + 0.87vw, 2rem);
    color: white;
    padding: 28px 56px;
    display: block;
    position: absolute;
    width: 60%;
    max-width: 600px;
    height: fit-content;
    top: 40px;
    left: 35vw;
    z-index: 1;
  }

  @media only screen and (max-width: 640px) {
    .lifespan_panel h3 {
      color: white;
      padding: 20px 28px;
      top: 260px;
      left: 5vw;
      width: 90%;
      min-width: 260px;
    }
  }

  .lifespan_panel h3::after {
    content: "";
    display: block;
    top: 0;
    left: 30px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(20, 51, 97, 0.6);
    transform: skew(13deg);
    z-index: -1;
  }
  .lifespan_panel h3 span {
    padding-left: 100px;
    display: inline-block;
  }
  @media only screen and (max-width: 640px) {
    .lifespan_panel h3 span {
      padding-left: 40px;
    }
  }
  .lifespan_panel img.no1 {
    display: block;
    width: 60px;
    left: 20px;
    top: -30px;

    position: absolute;
  }
  .lifespan_panel h3 img.no2 {
    display: block;
    width: 60px;
    position: absolute;
    right: 40px;
    top: -30px;
    transform: rotate(180deg);
  }
  @media only screen and (max-width: 640px) {
    .lifespan_panel img.no1 {
      width: 40px;
      top: -20px;
    }
    .lifespan_panel h3 img.no2 {
      width: 40px;
      top: -20px;
    }
  }
  .lifespan_panel p {
    text-align: left;
    font-size: clamp(0.75rem, 0.701rem + 0.22vw, 0.875rem);
    line-height: clamp(1.125rem, 0.929rem + 0.87vw, 1.625rem);
    color: white;
    padding: 28px 68px;
    position: relative;
    top: 160px;
    left: 45vw;
    width: 50%;
    max-width: 700px;
    max-height: 400px;
    height: fit-content;
    z-index: 1;
    display: block;
  }
  @media only screen and (max-width: 640px) {
    .lifespan_panel p {
      padding: 24px;
      top: 340px;
      left: 0;
      right: 0;
      margin: auto;
      width: 96%;
      min-width: 260px;
    }
  }
  .lifespan_panel p::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(20, 51, 97, 0.6);
    transform: skew(13deg);
    z-index: -1;
  }
  @media only screen and (max-width: 640px) {
    .lifespan_panel p::after {
      transform: skew(0deg);
    }
  }

  .longlife {
    margin: 48px 0;
  }

  .longlife .sec_title {
    display: block;
    position: relative;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 16px 0;
  }
  .longlife .flex_box {
    gap: 36px;
    max-width: 1280px;
  }
  @media only screen and (max-width: 960px) {
    .longlife .flex_box {
      gap: 0;
    }
  }
  .longlife .flex_box .box_text {
    width: 50%;
  }
  .longlife .flex_box .box_img {
    width: 50%;
  }

  @media only screen and (max-width: 960px) {
    .longlife p {
      padding: 16px 0 32px 0;
    }
    .longlife .flex_box .box_text {
      width: 90%;
      margin: auto;
    }
    .longlife .flex_box .box_img {
      width: 100%;
      margin-bottom: 0;
    }
  }

  .cases {
    margin: 60px auto 0 auto;
    padding: 60px 0;
    width: 100%;

    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(241, 241, 241, 1) 0%, rgba(254, 254, 254, 1) 20%, rgba(254, 254, 254, 1) 80%, rgba(241, 241, 241, 1) 100%);
  }
  @media only screen and (max-width: 960px) {
    .cases {
      background-size: 90%;
      padding: 0;
      padding-bottom: 48px;
    }
  }
  .cases .inner {
    max-width: 1280px;
  }
  .cases h3 {
    text-align: center;
  }

  .cases p {
    text-align: center;
  }
  @media only screen and (max-width: 960px) {
    .cases p {
      text-align: left;
    }
  }
  .cases ul {
    list-style: none;
    max-width: 960px;
    margin: 36px auto;
    display: flex;
    flex-flow: column;
    gap: 24px;
  }
  .cases li {
    display: flex;
    gap: 32px;
    flex-flow: row;
  }
  @media only screen and (max-width: 640px) {
    .cases li {
      display: flex;
      gap:16px;
      flex-flow: column;
      justify-content: center;
      align-items: center;
    }
  }
  .cases_img {
    height: auto;
    width: 180px;
    object-fit: contain;
    background-color: white;
    padding: 16px;
    border: 1px solid #4e8bad;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .cases_img img {
    height: auto;
    object-fit: contain;
  }

  @media only screen and (max-width: 960px) {
    .cases_img {
      max-width: 100%;
      margin-top: 48px;
    }
  }
  .cases_item {
    width: 100%;
  }

  .cases_item h4 {
    width: fit-content;
    background-color: #d0e0e4;
    padding: 16px 24px;
    color: #333c77;
    font-size: clamp(1.125rem, 0.978rem + 0.65vw, 1.5rem);
    line-height: clamp(1.75rem, 1.554rem + 0.87vw, 2.25rem);
    position: relative;
    margin-left: -46px;
    margin-top: 36px;
    width: 100%;
  }
  @media only screen and (max-width: 640px) {
    .cases_item h4 {
      margin-left: 0;
      margin-top: 0;
      padding: 8px 16px;
      width: 90%;
    }
  }
  .cases_item h4::after {
    width: 40px;
    height: 100%;
    background-color: #d0e0e4;
    transform: skew(-15deg);
    position: absolute;
    right: -20px;
    top: 0;
    content: "";
  }
  .cases_item p {
    font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
    line-height: clamp(1rem, 1.1rem + 0.33vw, 1.3rem);
  }

  .ourtreatment {
    padding: 60px 0;
    margin: auto;
    position: relative;
  }
  .ourtreatment::before {
    clip-path: polygon(0% 0%, 85% 0%, 100% 100%, 0% 100%);
    background-color: #87b0c8;
    opacity: 0.8;
    content: "";
    width: 200px;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
  }
  .ourtreatment::after {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 15% 100%);
    background-color: #87b0c8;
    opacity: 0.8;
    content: "";
    width: 200px;
    height: 100%;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
  }

  @media only screen and (max-width: 960px) {
    .ourtreatment::before {
      background-color: rgba(135, 176, 200, 0.64);
      content: "";
      width: 100px;
      height: 40%;
      display: block;
      position: absolute;
      left: 0;
      top: 30%;
      z-index: -1;
    }
    .ourtreatment::after {
      background-color: rgba(135, 176, 200, 0.64);
      content: "";
      width: 100px;
      height: 40%;
      display: block;
      position: absolute;
      right: 0;
      bottom: 0;
      top: auto;
      z-index: -1;
    }
  }
  .ourtreatment h3 {
    color: #333c77;
    padding-bottom: 24px;
    text-align: center;
    width: fit-content;
    border-bottom: 1px soiid #87b0c8;
    margin: auto;
  }
  .ourtreatment .inner > p {
    max-width: 960px;
    margin: auto;
    text-align: center;
  }
  @media only screen and (max-width: 960px) {
    .ourtreatment .inner > p {
      text-align: left;
    }
  }
  .ourtreatment ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 860px;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
  }
  @media only screen and (max-width: 640px) {
    .ourtreatment ul {
      flex-flow: column;
    }
  }

  .ourtreatment li {
    border-radius: 200px;
    width: 220px;
    height: fit-content;
    text-align: center;
    color: #333c77;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
  }
  .ourtreatment li p {
    text-align: center;
    font-size: clamp(0.875rem, 0.826rem + 0.22vw, 1rem);
    line-height: clamp(1.375rem, 1.179rem + 0.87vw, 1.875rem);
  }

  .ourtreatment ul li > img {
    height: 180px;
    width: 180px;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
  }

  .steps {
    width: 100%;
  }
  .steps .inner {
    padding: 0 48px;
  }
  @media only screen and (max-width: 960px) {
    .steps .inner {
      padding: 0 32px;
    }
  }
  .steps_title_layout {
    width: 100%;
    background-image: url("../img/rootcanal_step_title_bg.webp");
    background-position: top center;
    background-repeat: no-repeat;
    padding: 36px 0;
  }
  .steps h3 {
    text-align: center;
  }

  .steps .sec_caption {
    text-align: center;
  }
  .steps ul {
    counter-reset: listnum;
    list-style: none;
    margin: 48px auto;
    gap: 36px;
    display: flex;
    flex-flow: column;
    max-width: 900px;
  }
  .steps li {
    position: relative;
    counter-increment: listnum;
    display: flex;
    text-align: center;
    justify-content: space-between;
    flex-flow: row;
    background-color: #e2eef6;
    transform: skew(-15deg);
  }
  @media only screen and (max-width: 640px) {
    .steps li {
      flex-flow: column;
      justify-content: center;
      transform: skew(0deg);
    }
  }

  .steps_img {
    width: 30%;
    min-width: 200px;
    position: relative;
  }
  @media only screen and (max-width: 640px) {
    .steps_img {
      width: 100%;
    }
  }
  .steps_img img {
    width: 160px;
    height: auto;
    margin-left: 48px;
    transform: skew(15deg);
  }
  @media only screen and (max-width: 640px) {
    .steps_img {
      transform: skew(-15deg);
    }
  }
  .steps_img::before {
    background-color: #333c77;
    color: white;
    content: counter(listnum);
    width: 80px;
    height: 60px;
    position: absolute;
    left: -20px;
    top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Corinthia", cursive;
    font-size: 64px;
    margin-right: 16px;
  }

  .steps_item {
    width: 70%;
    flex-flow: column;
    align-items: flex-start;
    justify-content: center;
    display: flex;
  }
  @media only screen and (max-width: 640px) {
    .steps_item {
      width: 100%;
      flex-flow: column;
      align-items: center;
      justify-content: center;
      display: flex;
    }
  }

  .steps_item h4 {
    color: #333c77;
    transform: skew(15deg);
    text-align: left;
    font-size: clamp(1rem, 0.853rem + 0.65vw, 1.375rem);
    line-height: clamp(1.125rem, 0.929rem + 0.87vw, 1.625rem);
    margin: 0;
    padding: 16px 0 0 0;
  }
  @media only screen and (max-width: 640px) {
    .steps_item h4 {
      transform: skew(0deg);
    }
  }
  .steps_item p {
    font-size: clamp(0.875rem, 0.826rem + 0.22vw, 1rem);
    line-height: clamp(1rem, 0.853rem + 0.65vw, 1.375rem);
    transform: skew(15deg);
    text-align: left;
    padding: 16px 0 0 0;
    margin-left: 16px;
  }
  @media only screen and (max-width: 640px) {
    .steps_item p {
      position: static;
      padding: 16px 24px;
      transform: skew(0deg);
    }
  }
  .notice .flex_box {
    gap: 48px;
    margin: auto;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
  }
  @media only screen and (max-width: 640px) {
    .notice .flex_box {
      gap: 48px;
      margin: auto;
      justify-content: flex-start;
      align-items: flex-start;
      width: 100%;
    }
  }
  .notice_title {
    background-color: #f6f2ec;
    width: 40%;
    flex-grow: 2;
    padding: 24px 48px;
    position: relative;
    left: 60px;
  }
  @media only screen and (max-width: 960px) {
    .notice_title {
      background-color: #f6f2ec;
      width: calc(100% - 64px);
      flex-grow: 2;
      padding: 24px 48px;
      position: relative;
      left: 60px;
    }
  }
  .notice_title::before {
    content: "";
    position: absolute;
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    top: -30px;
    left: 0;
    height: 30px;
    width: 60px;
    z-index: 1;
    background-color: #c29a6d;
  }
  .notice_title::after {
    content: "";
    position: absolute;
    background-color: #ddbf9e;
    height: 100%;
    width: 120px;
    top: -30px;
    left: -60px;
    z-index: -1;
  }
  .notice_title img {
    margin: 8px auto;
    width: 42px;
    height: 42px;
    display: block;
  }
  .notice_title h3 {
    font-size: clamp(1rem, 0.853rem + 0.65vw, 1.375rem);
    line-height: clamp(1.125rem, 0.929rem + 0.87vw, 1.625rem);
    text-align: center;
    color: #524731;
  }
  @media only screen and (max-width: 640px) {
    .notice_title h3 {
      font-size: clamp(1rem, 0.853rem + 0.65vw, 1.375rem);
      line-height: clamp(1.125rem, 0.929rem + 0.87vw, 1.625rem);
      text-align: center;
      color: #524731;
    }
  }
  .notice_text {
    flex-basis: auto;
    flex-grow: 3;
    padding: 0 24px;
  }
  .notice_text p {
    padding-right: 5%;
    padding-left: 5%;
    line-height: 2.4em;
    background-image: linear-gradient(transparent 0, transparent 97%, #e0ceba 100%);
    background-size: 100% 2.4em;
    text-align: left;
    display: block;
    width: 100%;
  }
  .pain .flex_box {
    gap: 48px;
    margin: auto;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
  }
  @media only screen and (max-width: 960px) {
    .pain .flex_box {
      gap: 48px;
      margin: auto;
      justify-content: flex-start;
      align-items: flex-start;
      width: 100%;
    }
  }
  .pain_title {
    background-color: #dde9eb;
    width: 40%;
    flex-grow: 2;
    padding: 24px 48px;
    position: relative;
    left: 60px;
  }
  @media only screen and (max-width: 960px) {
    .pain_title {
      background-color: #dde9eb;
      width: calc(100% - 64px);
      flex-grow: 2;
      padding: 24px 48px;
      position: relative;
      left: 60px;
    }
  }
  .pain_title::before {
    content: "";
    position: absolute;
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    top: -30px;
    left: 0;
    height: 30px;
    width: 60px;
    z-index: 1;
    background-color: #4e8bad;
  }
  .pain_title::after {
    content: "";
    position: absolute;
    background-color: #87b0c8;
    height: 100%;
    width: 120px;
    top: -30px;
    left: -60px;
    z-index: -1;
  }

  .pain_title img {
    margin: 8px auto;
    width: 42px;
    height: 42px;
    display: block;
  }

  .pain_title h3 {
    font-size: clamp(1rem, 0.853rem + 0.65vw, 1.375rem);
    line-height: clamp(1.125rem, 0.929rem + 0.87vw, 1.625rem);
    text-align: center;
    color: #333c77;
  }
  .pain_text {
    flex-basis: auto;
    flex-grow: 3;
    padding: 0 24px;
  }
  .pain_text p {
    padding-right: 5%;
    padding-left: 5%;
    line-height: 2.4em;
    background-image: linear-gradient(transparent 0, transparent 97%, #87b0c8 100%);
    background-size: 100% 2.4em;
    text-align: left;
    display: block;
    width: 100%;
  }
  .preventive_box {
    border: 1px solid #333c77;
    width: 80vw;
    height: 500px;
    padding: 16px;
    max-width: 720px;
    margin: 48px auto 0 auto;
    position: relative;
    text-align: center;
  }
  @media only screen and (max-width: 640px) {
    .preventive_box {
      position: static;
      height: auto;
      display: block;
    }
  }
  .preventive_box p {
    font-size: clamp(0.875rem, 0.777rem + 0.43vw, 1.125rem);
    line-height: clamp(1.375rem, 1.179rem + 0.87vw, 1.875rem);
    position: static;
    display: block;
  }

  .preventive_box_inner {
    background-color: #dde9eb;
    width: 100%;
    height: 100%;
    padding: 32px;
  }
  @media only screen and (max-width: 640px) {
    .preventive_box_inner {
      padding: 16px;
      position: static;
    }
  }
  .preventive_box_photos {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 240px;
    margin: auto;
    z-index: 1;
    top: 180px;
    left: -30%;
    right: -30%;
  }
  @media only screen and (max-width: 960px) {
    .preventive_box_photos {
      top: 200px;
    }
  }
  @media only screen and (max-width: 820px) {
    .preventive_box_photos {
      top: 240px;
    }
  }
  @media only screen and (max-width: 640px) {
    .preventive_box_photos {
      position: static;
      width: 100%;
      max-width: 400px;
      height: auto;
    }
  }
  .preventive_box_photos ul {
    width: 100vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }
  @media only screen and (max-width: 640px) {
    .preventive_box_photos ul {
      width: 70vw;
      flex-flow: column;
      position: static;
    }
  }
  .consultation {
    background-color: #fafafa;
    z-index: -1;
    position: relative;
    padding-bottom: 40px;
  }
  @media only screen and (max-width: 960px) {
    .consultation {
      padding-bottom: 170px;
    }
  }
  .consultation .sec_title {
    width: 100%;
    height: 150px;
    font-size: clamp(1.125rem, 0.929rem + 0.87vw, 1.625rem);
    line-height: clamp(1.75rem, 1.554rem + 0.87vw, 2.25rem);
    margin-top: 30px;
  }
  .consultation .beige_ribbon {
    position: absolute;
    left: 0;
    right: 55%;
    top: 30px;
    text-align: right;
    background-color: #ecdab7;
    padding: 12px 0 12px 0;
    z-index: 3;
  }
  .consultation .blue_ribbon {
    position: absolute;
    left: 40%;
    right: 0;
    top: 80px;
    text-align: left;
    background-color: #dde9eb;
    padding: 12px 0 12px 0;
    z-index: 1;
  }
  @media only screen and (max-width: 960px) {
    .consultation .blue_ribbon {
      left: 20%;
    }
  }
  .consultation .blue_ribbon::before {
    background-color: #dde9eb;
    content: "";
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    position: absolute;
    left: -40px;
    top: 0px;
    width: 40px;
    height: 100%;
    z-index: 1;
  }

  .consultation .beige_ribbon::before {
    background-color: #ecdab7;
    content: "";
    clip-path: polygon(0% 0%, 100% 0%, 70% 100%, 0% 100%);
    position: absolute;
    right: -40px;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 3;
  }
  .consultation p {
    text-align: center;
  }
  .consultation ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 80%;
    flex-wrap: wrap;
  }
  @media only screen and (max-width: 960px) {
    .consultation ul {
      width: 100%;
      flex-flow: column;
      flex-wrap: nowrap;
    }
  }
  .consultation ul li {
    background-color: #e0cda8;
    color: #524731;
    padding: 12px 26px;
    border-radius: 150px;
    font-size: clamp(0.875rem, 0.826rem + 0.22vw, 1rem);
    line-height: clamp(1rem, 0.875rem + 0.63vw, 1.375rem);
    text-align: center;
    flex-basis: 30%;
    min-width: 220px;
    max-width: 300px;
  }
  @media only screen and (max-width: 960px) {
    .consultation ul li {
      width: 100%;
      max-width: 400px;
    }
  }
  .consultation_layout {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
  }

  .consultation strong {
    font-weight: 600;
  }
  .consultation_man {
    position: absolute;
    bottom: 0;
    right: 32px;
    height: 240px;
    z-index: -1;
    width: auto;
  }
  .consultation_woman {
    position: absolute;
    bottom: 0;
    left: 32px;
    height: 240px;
    z-index: -1;
    width: auto;
  }
  @media only screen and (max-width: 960px) {
    .consultation_man {
      right: 16px;
      height: 160px;
    }

    .consultation_woman {
      left: 16px;
      height: 160px;
    }
  }
}
