@charset "UTF-8";

/* mv */
.mv {
  padding: 120px 50px 60px;
  position: relative;
  background-image: url(../img/bg-beige.svg);
  background-position: center 280px;
  background-repeat: no-repeat;
  background-size: cover;
}

.mv-image {
  display: block;
  width: 100%;
  aspect-ratio: 67 / 31;
  overflow: hidden;
  border-radius: 20px;
}

.mv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.25);
  transition: transform 1.5s ease;
}

.mv-text .txt {
  background-color: #FFBC83;
  color: #fff;
}

.mv-text.pc .txt {
  height: max-content;
  padding: 16px 0;
  position: absolute;
  border-radius: 10px;
  font-size: clamp(2.4rem, 2.78vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.086em;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
}

.mv-text.pc .txt:nth-child(1) {
  top: 100px;
  right: 9.03%;
}

.mv-text.pc .txt:nth-child(2) {
  border-bottom-left-radius: 0;
  bottom: 190px;
  left: calc(8% + 4.03vw);
}

.mv-text.pc .txt:nth-child(3) {
  border-top-right-radius: 0;
  bottom: 30px;
  left: 8.1%;
}

.mv-text.sp .txt {
  padding: 10px 16px;
  position: absolute;
  border-radius: 5px;
}

.mv .hours {
  padding: 20px 0 0 30px;
  position: absolute;
  bottom: 40px;
  right: 49px;
  border-top-left-radius: 20px;
  background-color: var(--color-bg);
}

.mv .hours::before,
.mv .hours::after {
  content: "";
  display: inline-block;
  width: 20px;
  aspect-ratio: 1 / 1;
  position: absolute;
  background-image: url(../img/deco_radius.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.mv .hours::before {
  bottom: 19.5px;
  left: 0.5px;
  transform: translateX(-100%);
}

.mv .hours::after {
  top: 0.5px;
  right: 0px;
  transform: translateY(-100%);
}

.mv .hours table th,
.mv .hours table td {
  text-align: center;
}

.mv .hours table thead th {
  width: auto;
  padding: 0 11px;
  padding-bottom: 11px;
  font-size: 2rem;
  border-width: 1px;
}

.mv .hours table thead th:first-child {
  text-align: center;
  font-size: 1.7rem;
}

.mv .hours table tbody td {
  font-size: 1.6rem;
}

.mv .hours table tbody tr:first-child th {
  padding: 0 12px;
  border-width: 1px;
  font-size: 1.7rem;
}

.mv .hours table tbody tr:first-child td {
  padding-top: 18px;
  padding-bottom: 28px;
  border-width: 1px;
}

.mv .hours table tbody tr:first-child td span {
  bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.mv .hours table tbody tr:nth-child(2) th,
.mv .hours table tbody tr:nth-child(2) td {
  padding-top: 18px;
  font-size: 1.7rem;
}

@media screen and (min-width: 1440px) {
  .mv-text.pc .txt:nth-child(2) {
    left: calc(8% + 58px);
  }
}

@media screen and (max-width: 1110px) {
  .mv {
    padding: 60px 20px 70px;
    background-position: center 220px;
  }

  .mv-text.pc {
    display: none;
  }

  .mv-text.sp {
    display: block;
    position: absolute;
    top: 115px;
    left: 10px;
  }

  .mv-text.sp .txt {
    width: fit-content;
    margin-bottom: 5px;
    padding: 1px 10px;
    position: relative;
    font-size: 2.4rem;
  }

  .mv .hours {
    padding: 15px 15px 0;
    right: 19px;
  }

  .mv .hours table thead th {
    padding: 0 5px 10px;
    font-size: 1.2rem;
  }

  .mv .hours table thead th:first-child {
    font-size: 1.2rem;
  }

  .mv .hours table tbody tr:first-child th {
    padding-left: 6px;
    font-size: 1.1rem;
  }

  .mv .hours table tbody td {
    font-size: 1rem;
  }

  .mv .hours table tbody tr:first-child td {
    padding: 10px 0.5px 15px;
  }

  .mv .hours table tbody tr:first-child td span {
    bottom: 3px;
    font-size: 0.7rem;
  }

  .mv .hours table tbody tr:nth-child(2) th,
  .mv .hours table tbody tr:nth-child(2) td {
    padding: 10px 6px 0;
  }

  .mv .hours table tbody tr:nth-child(2) th {
    font-size: 1.1rem;
  }

  .mv .hours table tbody tr:nth-child(2) td {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .mv {
    background-image: url(../img/bg-beige_sp.jpg);
    background-position: center 280px;
  }

  .mv-image {
    width: 100%;
    aspect-ratio: auto;
    border-radius: 15px;
    height: calc(100vh - 150px);
    height: calc(100svh - 150px);
  }

  .mv-image {
    height: calc(var(--svh, 1vh) * 100 - 150px);
  }

  .mv .hours {
    width: calc(100vw - 70px);
    right: 50%;
    bottom: 69px;
    transform: translateX(50%);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .mv .hours::before,
  .mv .hours::after {
    display: none;
  }
}

/* news */
.news {
  padding: 70px 0 76px;
  background-color: var(--color-bg);
}

.news_wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 30px 12.1vw;
}

.news_wrapper .section-title {
  margin-bottom: 0;
  text-align: left;
}

.news_list {
  grid-column: 2;
  grid-row: span 2;
}

.news_list li {
  display: grid;
  grid-template-columns: 105px auto 1fr;
  align-items: center;
  gap: 5px 30px;
  min-height: 78px;
  padding: 18px 30px;
  border-radius: 10px;
  background-color: #fff;
}

.news_list li:not(:last-child) {
  margin-bottom: 10px;
}

.news_list li span {
  display: block;
  width: 1.5px;
  height: 100%;
  background-color: var(--color-primary);
}

.news_list li time {
  font-size: 2rem;
}

.news_list li a {
  font-size: 1.6rem;
}

@media screen and (max-width: 1110px) {
  .news_list li time {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  .news {
    padding: 0 0 40px;
  }

  .news_wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 30px 0;
  }

  .news_wrapper .section-title {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
  }

  .news_list {
    grid-column: 1;
    grid-row: 2;
  }

  .news_list li {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: auto;
    padding: 10px 20px;
  }

  .news_list li span {
    display: none;
  }
}

/* feature */
.feature {
  padding: 20.63% 0 140px;
  position: relative;
}

.feature::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 160 / 33;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(../img/bg-white_01.svg);
  background-color: var(--color-bg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100%;
  z-index: -1;
}

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

.feature_list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.feature_list img {
  border-radius: 20px;
}

.feature_list li h3 {
  color: var(--color-primary);
  font-size: 2.4rem;
}

.feature_list li p.font-kaku {
  padding: 0 7.5px;
  letter-spacing: 0em;
}

@media screen and (max-width: 1110px) {
  .feature_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature_list li h3 {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 768px) {
  .feature {
    padding: 29.3333% 0 70px;
  }

  .feature::before {
    aspect-ratio: 75/22;
    background-image: url(../img/bg-white_01-sp.svg);
  }

  .feature_list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature_list img {
    border-radius: 10px;
  }
}

/* facility */
.facility {
  margin-bottom: 140px;
}

.swiper-free-mode > .swiper-wrapper {
  transition-timing-function: linear;
}

.swiper-slide {
  text-align: center;
}

.swiper-slide img {
  border-radius: 20px;
  margin-bottom: 10px;
}


.swiper-slide p {
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.5;
}

.swiper-slide p.small {
  padding-top: 5px;
  font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
  .facility {
    margin-bottom: 70px;
  }
}

/* treatment */
.treatment {
  padding-bottom: 18.54%;
  position: relative;
}

.treatment::after {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 360 / 67;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(../img/bg-white_02.svg);
  background-color: var(--color-bg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100%;
  z-index: -1;
}


.summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-bottom: 10px;
  padding: 14px 20px;
  border-radius: 20px;
  background-color: #FFF0B2;
  transition: background-color 0.5s;
}

.summary:hover {
  background-color: #FFDA52;
}

.summary.open {
  background-color: #FFDA52;
}

.summary img {
  width: 60px;
  aspect-ratio: 1 / 1;
  margin-right: 20px;
}

.summary-ttl {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 44px;
}

.summary h3 {
  font-size: 2.6rem;
}

.summary .summary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  flex-wrap: wrap;
  gap: 2px 30px;
}

.summary .summary-menu li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.summary .summary-menu li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
  vertical-align: middle;
}

.summary .toggle-icon {
  width: 25px;
  aspect-ratio: 1 / 1;
  margin-left: 40px;
  position: relative;
}

.summary .toggle-icon span {
  display: block;
  width: 25px;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #3B3938;
  border-radius: 2px;
  transition: transform 0.5s;
}

.summary .toggle-icon span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg);
}

.summary.open .toggle-icon span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(0);
}

.detail {
  display: block;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.5s, opacity 0.5s;
  border-radius: 20px;
  background-color: var(--color-bg);
}

.detail.open {
  margin-top: -5px;
  margin-bottom: 10px;
}

.detail-cont {
  padding: 40px 60px;

}

.detail-cont > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
}

.detail-cont > li:not(:last-child) {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 3px dotted #F5CE91;
}

.sub-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background-color: #fff;
  text-align: center;
}

.sub-ttl h4 {
  font-size: 2rem;
  color: var(--color-primary);
}

.sub-ttl .img-wrap {
  width: 55px;
  margin-top: 15px;
}

.content {
  font-weight: 500;
  font-size: 1.6rem;
}

.content p {
  font-weight: 500;
}

.content p.font-kaku {
  letter-spacing: 0.06em;
}

.content p:not(:last-child) {
  margin-bottom: 20px;
}

.content p.title {
  margin-bottom: 15px;
  padding-left: 21px;
  position: relative;
  font-size: 1.8rem;
  color: var(--color-primary);
}

.content p.title::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: #FFDA52;
}

.content p span {
  color: var(--color-primary);
  font-weight: 700;
}

.content p.small {
  font-size: 1.2rem;
}

.bg-white {
  margin-top: 40px;
  overflow: hidden;
  border-radius: 10px;
  background-color: #fff;
  font-family: "Zen Kaku Gothic", sans-serif;
}

.content-title {
  width: fit-content;
  margin-bottom: 20px;
  padding: 10px 30px;
  font-size: 1.8rem;
  border-bottom-right-radius: 10px;
  background-color: #FFDA52;
}

.bg-white p.title {
  margin-bottom: 0;
}

.bg-white ul {
  padding: 0 40px 10px;
}

.bg-white ul li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px 30px;
  margin-bottom: 20px;
}

.bg-white ul li img {
  width: 180px;
  margin: 0 auto;
  grid-row: span 3;
  border-radius: 10px;
}

.detail-01 .content.flex {
  display: grid;
  grid-template-columns: 1fr min(46%, 370px);
  gap: 20px;
}

.detail-01 .content picture img {
  width: 100%;
  border-radius: 20px;
}

.detail-01 .content .problem {
  margin: 30px 0;
}

.detail-01 .content .problem p:first-child {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.detail-01 .content .problem ul li {
  padding-left: 21px;
  margin-bottom: 5px;
  position: relative;
}

.detail-01 .content .problem ul li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-image: url(../img/icon_circle-check.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.detail-02 .detail-cont > li {
  align-items: center;
}

.detail-04 .content.flex {
  display: grid;
  grid-template-columns: 1fr min(45%, 370px);
  gap: 40px;
}

.detail-04 .content p.border {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 3px dotted #F5CE91;
}

.detail-04 .content picture img {
  width: 100%;
  border-radius: 20px;
}

.detail-05 .sub-ttl h4 {
  font-size: 1.8rem;
}

.detail-05 .content.flex {
  display: grid;
  grid-template-columns: 1fr min(45%, 370px);
  gap: 25px;
}

.detail-05 .content picture img {
  width: 100%;
  border-radius: 20px;
}

.detail-06 .summary {
  background-color: #FFBC83;
}

.detail-06 .summary:hover,
.detail-06 .summary.open {
  background-color: #FF953E;
  color: #fff;
}

.detail-06 .summary.open .toggle-icon span {
  background-color: #fff;
}

.detail-06 .content.flex {
  display: grid;
  grid-template-columns: 1fr min(45%, 370px);
  gap: 40px;
}

.detail-06 .content picture img {
  width: 100%;
  border-radius: 20px;
}

.detail-06 .content p.border {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 3px dotted #F5CE91;
}

.detail-06 .content ul {
  margin-bottom: 20px;
}

.detail-06 .content ul li {
  padding-left: 21px;
  margin-bottom: 5px;
  position: relative;
}

.detail-06 .content.flex ul li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-image: url(../img/icon_circle-check.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.detail-06 .bg-white .content-title {
  background-color: #FF8A36;
  color: #fff;
  margin-bottom: 47px;
}

.detail-06 .bg-white ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.detail-06 .bg-white ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-left: 0;
  margin-bottom: 0;
}

.detail-06 .bg-white ul li img {
  width: 60%;
  margin-bottom: 15px;
}


.detail-06 .bg-white ul li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 27px;
  height: 17px;
  position: absolute;
  top: 3.5vw;
  right: 0;
  transform: translate(100%, -50%);
  background-image: url(../img/icon_arrow_fill.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.detail-06 .bg-white ul li h4 {
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

.detail-06 .bg-white ul li p {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.detail-06 .bg-white ul li p span {
  font-size: 1.2rem;
  font-weight: 400;
  color: #3B3938;
}

@media screen and (max-width: 1110px) {
  .treatment_details {
    padding: 0;
  }

  .summary {
    padding: 10px;
    padding-right: 20px;
    border-radius: 0;
  }

  .summary .toggle-icon {
    margin-left: 10px;
  }

  .summary .toggle-icon span {
    width: 20px;
  }

  .summary img {
    width: 50px;
    margin-right: 15px;
  }

  .summary h3 {
    font-size: 1.8rem;
  }

  .summary .summary-menu li {
    gap: 3px;
    font-size: 1.3rem;
  }

  .summary .summary-menu li::before {
    width: 7px;
    height: 7px;
  }

  .summary .toggle-icon {
    width: 20px;
  }

  .sub-ttl {
    width: 110px;
  }

  .sub-ttl h4 {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .sub-ttl .img-wrap {
    width: 42px;
    margin-top: 10px;
  }

  .detail-cont > li {
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 20px;
  }

  .detail-cont {
    padding: 30px 20px 40px;

  }

  .detail-01 .content {
    grid-template-columns: 1fr;
  }


  .detail-01 .content picture {
    width: 100%;
  }

  .detail-01 .content picture img {
    border-radius: 10px;
  }

}

@media screen and (max-width: 768px) {

  .treatment {
    padding-bottom: 29.3333%;
  }

  .treatment::after {
    background-image: url(../img/bg-white_02-sp.svg);
    aspect-ratio: 75 / 22;
  }

  .summary-ttl {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .summary .summary-menu {
    justify-content: flex-start;
    gap: 2px 5px;
  }

  .detail {
    border-radius: 0;
  }

  .bg-white ul {
    padding: 0 20px 10px;
  }

  .bg-white ul li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .detail-01 .content.flex,
  .detail-04 .content.flex,
  .detail-05 .content.flex,
  .detail-06 .content.flex {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-title {
    font-size: 1.6rem;
    padding: 5px 20px;
  }

  .content p.title::before {
    top: 14px;
    transform: translateY(-50%);
  }

  .content.bg-white p.title span {
    font-size: 1.2rem;
    font-weight: 400;
  }

  .detail-06 .bg-white ul {
    grid-template-columns: 1fr;
  }

  .detail-06 .content ul {
    gap: 47px;
    padding-bottom: 30px;
  }

  .detail-06 .bg-white ul li {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0 20px;
  }

  .detail-06 .bg-white ul li:not(:last-child)::after {
    width: 17px;
    height: 27px;
    top: auto;
    left: 50%;
    bottom: -10px;
    right: auto;
    transform: translate(-50%, 100%) rotate(90deg);
  }

  .detail-06 .bg-white ul li img {
    width: 80px;
    margin-bottom: 0;
  }
}

/* policy */
.policy {
  position: relative;
  background-color: var(--color-bg);
}

.policy-img {
  overflow: hidden;
}

.policy-img img {
  transform: scale(1.25);
  transition: transform 1s ease;
}

.policy-img img.act {
  transform: scale(1);
}

.policy .policy-img.img01 {
  width: 24%;
  max-width: 355px;
  position: absolute;
  top: 0;
  right: 0;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.policy .policy-img.img02 {
  width: 27%;
  max-width: 390px;
  position: absolute;
  bottom: 105px;
  left: 0;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.policy-wrapper {
  width: 36%;
  margin: 0 auto;
  padding: 123px 0 205px;
}


.policy .section-title {
  text-align: left;
  margin-bottom: 23px;
}

.policy h3 {
  margin-bottom: 20px;
  font-size: 2.8rem;
  line-height: 1.78;
}

.policy p {
  margin-bottom: 20px;
}

.policy p.sub {
  margin-bottom: 24px;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.8;
}

.policy .text-deco {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  width: 100%;
  position: absolute;
  bottom: 0;
  overflow: hidden;
}

.policy .text-deco p {
  margin-bottom: 0;
  font-size: 12.7rem;
  font-weight: 500;
  white-space: nowrap;
  -webkit-text-stroke: 1px var(--color-primary);
  paint-order: stroke;
  color: transparent;
  animation: loop 25s linear infinite;
}

@keyframes loop {
  0% {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media screen and (min-width: 1920px) {
  .policy .policy-img.img01 {
    right: 50%;
    transform: translateX(calc((100% + 1440px) / 2));
    border-radius: 20px;
  }

  .policy .policy-img.img02 {
    left: 50%;
    transform: translateX(calc((-100% - 1440px) / 2));
    border-radius: 20px;
  }
}


@media screen and (max-width: 1110px) {
  .policy {
    padding: 50px 0 60px;
  }

  .policy-wrapper {
    width: 100%;
    padding: 40px;
    padding: 40px 30px 30px;
  }

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

  .policy h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.4rem;
    line-height: 1.5;
  }

  .policy p.font-kaku {
    letter-spacing: 0.03em;
  }

  .policy p.sub {
    text-align: center;
    margin-bottom: 30px;
  }

  .policy .policy-img.img01 {
    position: relative;
    width: 50%;
    margin: 0 0 0 auto;
    max-width: none;
  }

  .policy .policy-img.img02 {
    position: relative;
    bottom: 0;
    width: 50%;
    margin: 0 auto 0 0;
    max-width: none;
  }

  .policy .text-deco p {
    font-size: 8rem;
  }
}

@media screen and (max-width: 768px) {

  .policy .policy-img.img01,
  .policy .policy-img.img02 {
    width: calc(100% - 20px);
  }

  .policy .text-deco p {
    font-size: 8rem;
  }
}


/* message */
.message {
  padding: 140px 0;
  background-color: var(--color-bg);
}

.message-wrapper {
  display: grid;
  grid-template-columns: 36% 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 70px;
}

.message .section-title {
  margin-top: 26px;
  margin-bottom: 52px;
  text-align: left;
}

.message .message-text {
  grid-row: span 2;
  grid-column: 2;
}

.message .message-text h3 {
  margin-bottom: 30px;
  font-size: 2.8rem;
  line-height: 1.78;
}

.message .message-text p {
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.message .message-text p.sign {
  margin-top: 40px;
  margin-bottom: 0;
  text-align: right;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.message .message-text p.sign span {
  font-size: 1.6rem;
}

.message picture {
  grid-row: 2;
  grid-column: 1;
}

.message picture img {
  border-radius: 20px;
}

@media screen and (max-width: 1110px) {
  .message-wrapper {
    gap: 0 30px;
  }

  .message .section-title {
    margin-top: 0;
  }

  .message .message-text h3 {
    font-size: 2.07rem;
    line-height: 2;
    letter-spacing: normal;
  }

  .message .message-text p.sign {
    font-size: 2rem;
  }

  .message .message-text p.sign span {
    font-size: 1.4rem;
    line-height: 2;
  }

}

@media screen and (max-width: 768px) {
  .message {
    padding: 70px 0;
  }

  .message-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .message .section-title {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
  }

  .message .message-text {
    grid-row: 2;
    grid-column: 1;
  }

  .message .message-text {
    grid-row: 3;
  }

  .message .message-text p.sign span {
    margin-top: 30px;
    display: block;
  }
}