/*=========================
  Common
=========================*/
/* color */
:root {
  --pink: #d94464;
}
.pink {
  color: var(--pink);
}

.garadation-pink {
  background: linear-gradient(to top, #d94464 0%, #ff7e9a 100%);
  color: #ffffff;
}
.garadation-blue {
  background: linear-gradient(6deg, rgba(49, 98, 140, 1) 0%, rgba(97, 140, 177, 1) 60%, rgba(49, 98, 140, 1) 100%);
  color: #ffffff;
}
.garadation-gold {
  background: linear-gradient(105deg, rgba(164, 141, 61, 1) 0%, rgba(237, 200, 83, 1) 100%);
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-style: normal;
  color: #323136;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  max-width: 1920px;
  margin-inline: auto;
  position: relative;
}
a {
  text-decoration: none;
  transition: 0.3s;
  color: inherit;
  &:hover {
    @media (any-hover: hover) {
      opacity: 0.5;
    }
  }
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  line-height: 2;
  text-align: justify;
}

.pc-only {
  display: initial;
}
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: initial;
  }
}

.container {
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin-inline: auto;
}

/* button */
.button {
  background-color: var(--bg-color);
  color: var(--color);
  padding: 0.5rem 1rem;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  .icon {
    margin-right: 0.5rem;
  }
  @media (any-hover: hover) {
    &::before {
      content: '';
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      background-color: #fff;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    &:hover {
      opacity: 1;
    }
    &:hover::before {
      opacity: 0.25;
    }
  }
}

.checkmark {
  background-color: var(--pink);
  width: 30px;
  aspect-ratio: 1/1;
  border-radius: 100vmax;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  &::before {
    content: '';
    display: block;
    clip-path: polygon(26% 40%, 41% 61%, 81% 26%, 90% 37%, 40% 78%, 15% 49%);
    background-color: #ffffff;
    width: 90%;
    margin-right: 2px;
    aspect-ratio: 1/1;
  }
}

.section-title {
  background-color: #f65e76;
  color: #ffffff;
  padding: 3rem 0;
  text-align: center;
  position: relative;
  h2 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    line-height: 1;
  }
  &::before,
  &::after {
    content: '';
    background-color: #ff7588;
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    clip-path: polygon(0 0, 0% 100%, 100% 0);
  }
  &::after {
    top: initial;
    left: initial;
    bottom: 0;
    right: 0;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
}
@media (max-width: 960px) {
  .section-title {
    padding: 2rem;
    h2 {
      font-size: 2rem;
    }
  }
}

/*=========================
  mv
=========================*/
section.mv {
  background: url(../img/mv-bg.avif) no-repeat;
  background-size: cover;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920/860;
  position: relative;
  overflow-x: hidden;
  .copy {
    position: absolute;
    z-index: 2;
    top: 15%;
    left: 20%;
    width: fit-content;
    line-height: 1;
    margin-bottom: 2rem;
    .row {
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
      .text-img {
        flex-shrink: 0;
        height: clamp(2.25rem, -0.5rem + 4.5833vw, 5rem);
        margin-right: 0.25em;
      }
      .text {
        flex-shrink: 0;
        margin-top: 0.2em;
        font-size: clamp(1.5rem, 0rem + 2.5vw, 3rem);
      }
    }
    .row:nth-of-type(2) {
      margin-left: 15%;
    }
  }
  .label {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 41%;
    translate: -50% -50%;
    width: max-content;
    padding: 0.5em 5%;
    font-size: clamp(1.75rem, 1.25rem + 0.8333vw, 2.25rem);
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #b98e00 15%, #b98e00 45%, #eec12d 60%, #b98e00 90%, rgba(255, 255, 255, 0) 100%);
  }
  .flex {
    position: absolute;
    z-index: 2;
    bottom: 10%;
    left: 45%;
    translate: -50% 0%;
    width: fit-content;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .flex-item {
    img {
      width: calc(254 / 1920 * 100vw);
      max-width: 254px;
    }
  }
  .img-1 {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
  }
  .img-2 {
    position: absolute;
    right: 10%;
    bottom: 10%;
    width: calc(242 / 1920 * 100vw);
    max-width: 242px;
  }
  .copy-sp {
    display: none;
  }
}
@media (max-width: 960px) {
  section.mv {
    overflow: hidden;
    aspect-ratio: 430/930;
    .copy {
      display: none;
    }
    .copy-sp {
      position: absolute;
      top: 5%;
      left: 5%;
      display: initial;
      -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
      line-height: 1;
      font-weight: 600;
      .row {
        display: flex;
        align-items: center;
        .blue {
          font-size: clamp(2.25rem, 1.033rem + 4.5283vw, 3.75rem);
          color: #254988;
        }
        .text-img {
          flex-shrink: 0;
          margin-bottom: 0.25rem;
          width: 9vw;
          height: auto;
        }
        .text {
          flex-shrink: 0;
          font-size: clamp(1.5rem, 0.8915rem + 2.2642vw, 2.25rem);
        }
      }
      .row:first-of-type {
        margin-top: 2em;
        margin-left: 1rem;
      }
    }
    .label {
      top: 60%;
      left: 0;
      translate: 0% -50%;
      width: 100%;
      padding: 0.5em 0;
      font-size: clamp(1.25rem, 0.2358rem + 3.7736vw, 2.5rem);
      text-align: center;
      background: linear-gradient(to right, rgba(255, 255, 255, 0) -20%, #b98e00 15%, #b98e00 45%, #eec12d 60%, #b98e00 90%, rgba(255, 255, 255, 0) 120%);
      background-color: #ffffff;
    }
    .flex {
      bottom: 18%;
      left: 50%;
      translate: -50% 50%;
      flex-wrap: wrap;
      width: 90%;
      justify-content: flex-start;
    }
    .flex-item {
      img {
        width: calc(162 / 430 * 100vw);
        max-width: 254px;
      }
      &:nth-of-type(2) {
        margin-right: 12%;
      }
      &:nth-of-type(3) {
        margin-left: auto;
      }
    }
    .img-1 {
      width: 95%;
      height: auto;
      top: 0;
      right: -25%;
    }
    .img-2 {
      bottom: 44%;
      right: 5%;
      width: calc(177 / 430 * 100vw);
    }
  }
}

/*=========================
  お問い合わせはこちら
=========================*/
section.to-contact {
  padding: 4rem 0;
  text-align: center;
  .text {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
  }
  .button {
    width: min(700px, 90%);
    padding: 1rem 2rem;
    border-radius: 100px;
    background: linear-gradient(to bottom, #fcf6e4 0%, #f6e1b1 55%, #f8df98 70%, #f8e9be 100%);
    font-size: 2rem;
    font-weight: 800;
    color: var(--pink);
    margin-inline: auto;
    position: relative;
    box-shadow: 0px 2px 6px rgba(130, 33, 52, 1);
    &::before {
      border-radius: 100px;
      z-index: 2;
    }
    &:hover {
      box-shadow: 0px 0px 0px rgba(130, 33, 52, 1);
    }
    .icon {
      position: absolute;
      z-index: 1;
      top: 50%;
      right: 5%;
      translate: 0% -50%;
      margin: 0;
      width: 2rem;
      aspect-ratio: 1/1;
      background-color: var(--pink);
      border-radius: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .triangle {
      clip-path: polygon(15% 0%, 15% 100%, 100% 50%);
      background-color: #f6e1b1;
      width: 50%;
      aspect-ratio: 1/1;
    }
  }
}
@media (max-width: 960px) {
  section.to-contact {
    padding: 3rem 0;
    .text {
      font-size: 2rem;
      text-align: center;
      text-wrap: balance;
    }
    .button {
      font-size: 1.2rem;
      text-align: left;
      .icon {
        width: 1.15rem;
        right: 3%;
      }
    }
  }
}

/*=========================
  幹細胞培養上清液（エクソソーム療法）について
=========================*/
section.about {
  background: url(../img/about-bg.jpg) no-repeat;
  background-size: cover;
  background-position: 50% 100%;
  padding: 5rem 0;
  .container {
    width: calc(100% - 2rem);
    max-width: 1200px;
    margin-inline: auto;
  }
  .title {
    text-align: center;
    color: #002f4a;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
  }
  .textbox {
    width: 90%;
    margin: auto;
    margin-bottom: 2.5rem;
    padding: 1rem 2.5%;
    position: relative;
    font-size: 1.5rem;
    /* word-break: keep-all; */
    p {
      /* text-align: initial; */
    }
    .strong {
      color: #ffffff;
      background: linear-gradient(6deg, rgba(49, 98, 140, 1) 0%, rgba(97, 140, 177, 1) 60%, rgba(49, 98, 140, 1) 100%);
      font-size: 1.25em;
      margin-inline: 0.2rem;
    }
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 4px;
      bottom: 4px;
      right: 0;
      border: 1px solid #31628c;
    }
    &::after {
      content: '';
      position: absolute;
      top: 4px;
      left: 0;
      bottom: 0;
      right: 4px;
      border: 1px solid #31628c;
    }
  }
}
@media (max-width: 960px) {
  section.about {
    padding: 3rem 0;
    .title {
      font-size: 1.5rem;
    }
    .textbox {
      p {
        font-size: 1rem;
      }
      .strong {
        font-size: 1.25em;
      }
    }
  }
}

/*=========================
  こんな方におすすめ
=========================*/
section.recommend {
  position: relative;
  background: url(../img/recommend-bg.jpg) no-repeat;
  background-size: cover;
  .container {
    padding: 5rem 0;
  }
  .title {
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 6rem;
    position: relative;
    &::after {
      position: absolute;
      bottom: -2rem;
      left: 0;
      right: 0;
      content: '';
      background: url(../img/recommend-border.png) no-repeat;
      background-size: cover;
      display: inline-block;
      width: 100%;
      height: 25px;
    }
  }
  .checklist {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 5rem;
    .checklist__item {
      display: flex;
      align-items: center;
      font-size: 1.5rem;
      font-weight: 600;
      border-bottom: 1px dotted #323136;
      padding-bottom: 0.5rem;
      margin-bottom: 0.5rem;
      .checkmark {
        margin-right: 0.5rem;
      }
    }
  }
  .list1 {
  }
  .list2 {
  }
  .text-wrapper {
    text-align: center;
    text-wrap: balance;
  }
  .text {
    display: inline;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2;
    padding-inline: 0.5rem;
    background: linear-gradient(transparent 70%, #fcd0d9 70%);
  }
}
@media (max-width: 960px) {
  section.recommend {
    padding: 3rem 0;
    background: url(../img/recommend-bg-sp.jpg) no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    .container {
      padding: 0rem 0 5rem;
    }
    .title {
      font-size: 2rem;
      margin-bottom: 10rem;
    }
    .checklist {
      margin-bottom: 5rem;
      .checklist__item {
        font-size: 1.1rem;
      }
    }
    .list1 {
      margin-bottom: 15rem;
    }
    .list2 {
      /* margin-bottom: 10rem; */
    }
    .text-wrapper {
      text-align: center;
      text-wrap: balance;
    }
    .text {
      font-size: 1.25rem;
    }
  }
}

/*=========================
  効果が期待できる疾患
=========================*/
section.effects {
  .section-title {
    .sub {
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }
  }
  .section-body {
    position: relative;
  }
  .inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1rem;
  }
  .checklist {
    width: fit-content;
    .checklist__item {
      display: flex;
      align-items: center;
      font-size: 2.25rem;
      margin-bottom: 1rem;
    }
    .checkmark {
      margin-right: 1rem;
    }
  }
}
@media (max-width: 960px) {
  section.effects {
    .section-body {
      .background-img {
        height: 520px;
        width: 100%;
        object-fit: cover;
        object-position: 50% 50%;
      }
    }
    .inner {
      width: 80%;
      justify-content: flex-start;
      align-items: flex-end;
      padding-left: 10%;
      padding-bottom: 10%;
    }
    .checklist {
      .checklist__item {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
      }
      .checkmark {
        width: 1.25rem;
        margin-right: 1rem;
      }
    }
  }
}

/*=========================
  世界最高峰の「再生医療」技術をご活用いただけます
=========================*/
section.factors {
  background: linear-gradient(90deg, #f6f8fc 0%, #f3f5f8 100%);
  padding: 5rem 0;
  .container {
    width: calc(100% - 2rem);
    max-width: 1200px;
    margin-inline: auto;
  }
  .images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5%;
    margin-bottom: 4rem;
    img {
      width: 40%;
    }
    .img1 {
      max-width: 500px;
    }
    .img2 {
      max-width: 500px;
    }
  }
  .label {
    width: fit-content;
    margin-inline: auto;
    font-size: 2.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
  }
}
@media (max-width: 960px) {
  section.factors {
    .images {
      flex-direction: column;
      gap: 3rem;
      img {
        width: 90%;
      }
    }
    .label {
      font-size: 1.5rem;
      text-align: center;
      text-wrap: balance;
    }
  }
}

/*=========================
  幹細胞培養上清液(エクソソーム療法)の種類
=========================*/
section.type {
  .section-body {
    padding: 5rem 0;
    background: url(../img/type-bg.avif) no-repeat;
    background-size: cover;
  }
  .description {
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 2;
    text-wrap: balance;
    margin-bottom: 4rem;
  }
  .paragraph {
    margin-bottom: 3rem;
    .title {
      color: #b98e00;
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    .border {
      width: 100%;
      height: 2px;
      background: linear-gradient(to right, #b98e00 10%, #ecdfb5 10%);
      margin-bottom: 0.5rem;
    }
    .text {
      font-size: 1.25rem;
    }
  }
}
@media (max-width: 960px) {
  section.type {
    .section-title {
      h2 {
        font-size: 1.75rem;
        line-height: 2;
      }
    }
    .section-body {
      padding: 3rem 0;
    }
    .description {
      font-size: 1.25rem;
    }
    .paragraph {
      margin-bottom: 3rem;
      &:last-of-type {
        margin-bottom: 2rem;
      }
      .title {
        font-size: 1.75rem;
      }
      .text {
        font-size: 1rem;
      }
    }
  }
}

/*=========================
  施術の流れ
=========================*/
section.flow {
  .section-body {
    padding: 5rem 0;
    background: url(../img/flow-bg.avif) no-repeat;
    background-size: cover;
    background-position: 50% 100%;
  }
  .step {
    max-width: 800px;
    margin-inline: auto;
    padding-left: 120px;
    position: relative;
    margin-bottom: 4rem;
    --margin-left: 5%;
    .number {
      position: absolute;
      z-index: 2;
      top: 0;
      left: 0;
      background-color: var(--pink);
      color: #ffffff;
      width: 120px;
      aspect-ratio: 1/1;
      border-radius: 100vmax;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      font-size: 2rem;
      line-height: 1.2;
      font-weight: 600;
    }
    .vertical-line {
      position: absolute;
      z-index: 1;
      top: 60px;
      left: 60px;
      background-color: var(--pink);
      width: 3px;
      height: 120%;
    }
    .title {
      margin-left: var(--margin-left);
      font-size: 2rem;
      font-weight: 800;
      padding-top: 1.5rem;
      margin-bottom: 1rem;
    }
    .text {
      margin-left: var(--margin-left);
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }
    .img {
      margin-left: var(--margin-left);
      margin-bottom: 1rem;
    }
  }
}
@media (max-width: 960px) {
  section.flow {
    .section-body {
      padding: 3rem 0;
    }
    .step {
      padding-left: 90px;
      .number {
        width: 90px;
        font-size: 1.5rem;
      }
      .vertical-line {
        left: 45px;
      }
      .title {
        font-size: 1.25rem;
      }
      .text {
        font-size: 1rem;
      }
    }
  }
}

/*=========================
  よくある質問
=========================*/
section.faq {
  .section-body {
    padding: 5rem 0;
  }
  .faq-items {
    .item {
      margin-bottom: 2rem;
      .question {
        font-size: 1.5rem;
        font-weight: 600;
        display: grid;
        align-items: center;
        grid-template-columns: auto 1fr;
        margin-bottom: 1rem;
        .icon {
          width: 50px;
          aspect-ratio: 1/1;
          margin-right: 1rem;
        }
        .text {
          padding-bottom: 0.5rem;
          border-bottom: 1px solid #d4d2dc;
        }
      }
      .answer {
        font-size: 1.25rem;
        font-weight: 600;
        display: grid;
        align-items: flex-start;
        grid-template-columns: auto 1fr;
        .icon {
          width: 50px;
          aspect-ratio: 1/1;
          margin-right: 1rem;
        }
      }
    }
  }
}
@media (max-width: 960px) {
  section.faq {
    .section-body {
      padding: 3rem 0;
    }
    .faq-items {
      .item {
        &:last-of-type {
          margin-bottom: 0;
        }
        .question {
          font-size: 1.2rem;
          .icon {
            width: 36px;
          }
        }
        .answer {
          font-size: 1rem;
          .icon {
            width: 36px;
          }
        }
      }
    }
  }
}

/*=========================
  施術料金
=========================*/
section.price {
  .section-body {
    padding: 5rem 0;
    background: url(../img/price-bg.avif) no-repeat;
    background-size: cover;
    background-position: 50% 50%;
  }
  .price-group {
    display: flex;
    justify-content: center;
    border: 1px solid var(--pink);
    &:not(:last-of-type) {
      margin-bottom: 4rem;
    }
    .title {
      width: 50%;
      background-color: var(--pink);
      color: #ffffff;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.5rem;
      font-weight: 500;
      line-height: 1.8;
      text-align: center;
      text-wrap: balance;
      padding: 1.5rem;
    }
    .body {
      width: 50%;
      padding: 1.5rem 5%;
      background-color: rgba(255, 255, 255, 0.8);
      .row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        gap: 1rem;
        &:not(:last-of-type) {
          margin-bottom: 1rem;
        }
      }
      .label {
        font-size: 1.5rem;
        font-weight: 700;
        text-align: center;
      }
      .bar {
        width: 100%;
        height: 1px;
        background-color: var(--pink);
      }
      .price {
        color: var(--pink);
        font-size: 1.75rem;
        font-weight: 700;
        text-align: right;
      }
    }
  }
}
@media (max-width: 960px) {
  section.price {
    .section-body {
      padding: 3rem 0;
      background: url(../img/price-bg-sp.avif) no-repeat;
      background-size: cover;
      background-position: 50% 50%;
    }
    .price-group {
      flex-direction: column;
      .title {
        width: 100%;
        font-size: 1.2rem;
        padding: 0.5rem;
      }
      .body {
        width: 100%;
        .row {
          gap: 0.5rem;
        }
        .label {
          font-size: 1.2rem;
        }
        .price {
          font-size: 1.25rem;
        }
      }
    }
  }
}

/*=========================
  留意点
=========================*/
section.attention {
  padding: 5rem 0;
  background: url(../img/attention-bg.png) no-repeat;
  background-size: cover;
  .title {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 4rem;
    h2 {
      font-size: 3rem;
      line-height: 1;
      margin-bottom: 1rem;
    }
    .underline {
      background: linear-gradient(to right, #e26e87 50%, #c9af57 50%);
      width: 100%;
      height: 4px;
    }
  }
  .table {
    background-color: rgba(255, 255, 255, 0.91);
    border: 1px solid #323136;
    padding: 2rem 2rem;
    font-weight: 500;
    font-size: 1.2rem;
    .row {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      column-gap: 1rem;
      border-bottom: 1px dotted #c4c4c4;
      padding-bottom: 1rem;
      margin-bottom: 1rem;
      .row-head {
        width: 30%;
      }
      .row-body {
        width: 70%;
      }
    }
  }
}
@media (max-width: 960px) {
  section.attention {
    padding: 3rem 0;
    .title {
      margin-bottom: 2rem;
      h2 {
        font-size: 2rem;
      }
    }
    .table {
      padding: 2rem 1rem;
      .row {
        flex-direction: column;
        border-bottom: none;
        .row-head {
          width: 100%;
          border-bottom: 1px dotted #c4c4c4;
        }
        .row-body {
          width: 100%;
          font-size: 1rem;
        }
      }
    }
  }
}

/*=========================
  footer
=========================*/
footer {
  padding: 5rem 0;
  background: url(../img/footer-bg.jpg) no-repeat;
  background-size: cover;
  .logo img {
    margin: 0 auto;
    width: 80%;
    max-width: 380px;
    margin-bottom: 2rem;
  }
  .flex {
    display: flex;
    align-items: center;
    gap: 5%;
    width: calc(100% - 2rem);
    max-width: 1200px;
    margin-inline: auto;
  }
  .table {
    width: 30%;
    min-width: 350px;
    color: #012438;
    display: grid;
    grid-template-columns: auto repeat(6, 1fr) auto;
    font-size: 0.9rem;
    font-weight: 600;
    .row {
      display: grid;
      grid-template-columns: subgrid;
      grid-column: 1/-1;
    }
    .row:not(:last-child) {
      border-bottom: 1px solid rgba(1, 36, 56, 0.5);
    }
    .cell {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0.5rem 0.5rem;
    }
    .th {
    }
    .row:not(:first-child) .cell:not(.th) {
      color: #149ac4;
    }
  }
  .buttons {
    width: 30%;
    .button {
      width: 100%;
      height: 3rem;
      color: #ffffff;
      padding: 2.5rem 1rem;
      font-weight: 600;
    }
    .tel {
      margin-bottom: 1rem;
      font-size: 1.5rem;
      .icon {
        width: 1.25rem;
        margin-right: 0.75rem;
        margin-top: 2px;
      }
    }
    .contact {
      font-size: 1.25rem;
    }
  }
  .map {
    width: 30%;
    .wrapper {
      width: 100%;
      height: 100%;
    }
    iframe {
      width: 100%;
      height: 100%;
    }
  }
}
@media (max-width: 960px) {
  footer {
    .flex {
      flex-direction: column;
      row-gap: 3rem;
    }
    .table {
      width: 100%;
      max-width: 500px;
      min-width: initial;
    }
    .buttons {
      width: 100%;
      max-width: 500px;
      .button {
        padding: 2.5rem 1rem;
      }
    }
    .map {
      width: 100vw;
      max-width: 500px;
      height: 280px;
      margin-inline: calc(50% - 50vi);
    }
  }
}

.sp-fixed-buttons {
  display: none;
  background: var(--pink);
  color: #fff;
  position: fixed;
  z-index: 995;
  bottom: 0;
  width: 100%;
  border-top: #bfdbe1 1px solid;
  .button {
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    border-right: #bfdbe1 1px solid;
    font-size: 0.9rem;
    padding: 0.75rem;
    &:last-of-type {
      border-right: none;
    }
    .icon {
      width: 16px;
      margin: 0;
      margin-bottom: 0.5rem;
    }
  }
  @media (max-width: 960px) {
    display: flex;
  }
}

.copyright {
  background-color: var(--pink);
  color: #ffffff;
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  .policy {
    margin-bottom: 1rem;
  }
}
@media (max-width: 960px) {
  .copyright {
    margin-bottom: 70px;
  }
}

/* scroll top button */
.scroll-top {
  position: fixed;
  bottom: 5%;
  right: 5%;
  z-index: 99;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 100vmax;
    overflow: hidden;
    .block {
      width: 50px;
      height: 50px;
      background: #fea0b4;
      display: flex;
      justify-content: center;
      align-items: center;
      .triangle {
        display: block;
        width: 50%;
        height: 50%;
        clip-path: polygon(100% 60%, 100% 75%, 50% 45%, 0 75%, 0 60%, 50% 25%);
        background: #fff;
      }
    }
  }
  a::before {
    border-radius: 100vmax;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  @media (any-hover: hover) {
    a:hover {
      opacity: 1;
    }
    a:hover::before {
      opacity: 0.25;
    }
  }
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
@media screen and (max-width: 960px) {
  .scroll-top {
    bottom: 12%;
    right: 5%;
    a::before {
      display: none;
    }
  }
}
