@charset "utf-8";

.about-page {
  --about-brown: #42210b;
  --about-blue: #65c5e1;
  --about-green: #eaf3da;
  --about-beige: #f7f5f0;
  --about-line: #ded6c9;

  &,
  & * {
    box-sizing: border-box;
  }
}

.about-inner {
  width: 1000px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.about-intro {
  padding: 55px 0 86px;

  .h_type1 {
    margin-bottom: 65px;
  }
}

.about-message {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 70px;
  align-items: center;
}

.about-portrait {
  position: relative;
  margin: 0;
  padding-bottom: 30px;

  &>.about-flowers {
    position: absolute;
    left: -25px;
    bottom: -2px;
    width: 147px;
    height: auto;
  }
}

.about-portrait-frame {
  position: relative;
  width: 350px;
  height: 420px;

  &::before {
    content: "";
    position: absolute;
    inset: -10px -8px 6px 6px;
    border: 5px solid #f8dc68;
    border-radius: 49% 51% 48% 52%;
    transform: rotate(5deg);
  }

  & img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 49% 51% 48% 52%;
  }
}

.about-message-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 18px;

  &::after {
    content: "";
    display: block;
    width: 38px;
    height: 4px;
    margin-top: 9px;
    background: #f6c745;
    border-radius: 2px;
  }
}

.about-lead {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .025em;
  margin: 0 0 23px;
}

.about-message-body {
  font-size: 16px;
  line-height: 1.95;

  & p+p {
    margin-top: 14px;
  }
}

.about-belief {
  margin-top: 24px;
  padding: 19px 24px;
  background: #f1f6e9;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.9;
}

.about-signature {
  margin-top: 20px;
  text-align: right;
  font-size: 16px;
}

.about-private {
  padding: 83px 0 91px;
  background-color: var(--about-beige);
  background-image: url('/img/common/bg_white2.png'), url('/img/common/bg_white3.png');
  background-position: center top, center bottom;
  background-repeat: no-repeat;

  .h_type1 {
    margin-bottom: 38px;
  }
}

.about-first-fee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px 30px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 30px;
}

.about-first-price {
  display: flex;
  align-items: baseline;
  gap: 25px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;

  & strong {
    font-size: 30px;
    font-variant-numeric: tabular-nums;
  }

  & strong span {
    margin-left: 4px;
    font-size: 17px;
  }
}

.about-fee-condition {
  font-size: 14px;
  line-height: 1.8;
}

.about-treatment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.about-treatment {
  overflow: hidden;
  border: 1px solid #e3ddcf;
  border-radius: 10px;
  background: #fff;
}

.about-treatment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 32px;
  background: #eaf3da;

  & h3 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.5;
  }

  & p {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
  }

}

.about-treatment-body {
  display: grid;
  grid-template-columns: 365px 1fr;
  gap: 0 48px;
  align-items: start;
  padding: 14px 32px 28px;
}

.about-prices {
  grid-column: 1;
  grid-row: 1 / 3;

  &>div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 19px 0;
    border-bottom: 1px dashed #c7b299;
  }

  & dt {
    font-size: 16px;
    font-weight: 500;
  }

  & dd {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
  }

  & dd strong {
    font-size: 29px;
    margin-right: 4px;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
  }
}

.about-treatment-description {
  grid-column: 2;
  margin-top: 17px;
  font-size: 16px;
  line-height: 1.85;
}

.about-recommend {
  grid-column: 2;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid #e6e0d7;

  & h4 {
    color: #678143;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
  }

  & ul {
    padding: 0;
    list-style: none;
  }

  & li {
    position: relative;
    padding-left: 21px;
    line-height: 1.9;
  }

  & li+li {
    margin-top: 5px;
  }

  & li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: .52em;
    width: 12px;
    height: 7px;
    border-left: 2px solid #86a25c;
    border-bottom: 2px solid #86a25c;
    transform: rotate(-45deg);
  }
}

.about-insurance {
  padding: 72px 0 90px;

  .h_type1 {
    margin-bottom: 38px;
  }
}

.about-insurance-content {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.about-insurance-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #a2d6e4;
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;

  & th,
  & td {
    vertical-align: middle;
  }

  & thead th {
    padding: 15px 30px;
    background: #65c5e1;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
  }

  & tbody th {
    width: 50%;
    padding: 19px 30px;
    background: #eef8fb;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    border-top: 1px solid #c4e1e9;
  }

  & tbody td {
    padding: 19px 30px;
    text-align: center;
    font-size: 17px;
    border-top: 1px solid #c4e1e9;
  }

  & td strong {
    margin-right: 6px;
    font-size: 27px;
    line-height: 1.35;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
}

.about-insurance-note {
  font-size: 14px;
  margin-top: 17px;
}

@media screen and (min-width:641px) and (max-width:1099px) {
  .about-message {
    grid-template-columns: minmax(240px, 34%) 1fr;
    gap: 40px;
  }

  .about-portrait-frame {
    width: 100%;
    height: 390px;
  }

  .about-lead {
    font-size: 27px;
  }

  .desktop-break {
    display: none;
  }

  .about-treatment-body {
    grid-template-columns: minmax(250px, 40%) 1fr;
    gap: 0 30px;
    padding-right: 22px;
    padding-left: 22px;
  }
}

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

  /* 静止画の書き出し時のみ固定ヘッダーを通常の文書フローに戻す。 */
  .about-design-export {
    & body {
      padding-top: 0;
    }

    #g_header>.inr {
      position: relative;
      top: auto;
      left: auto;
    }
  }

  #sp_menu_btn {
    box-sizing: content-box;
  }

  #about-nav.is-open {
    display: block;
  }

  .about-inner {
    width: auto;
    max-width: none;
    margin: 0 20px;
  }

  .about-intro {
    padding: 45px 0 55px;

    .h_type1 {
      margin-bottom: 35px;
    }
  }

  .about-message {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .about-portrait {
    width: 255px;
    max-width: 86%;
    padding-bottom: 12px;

    &>.about-flowers {
      width: 100px;
      left: -20px;
      bottom: -1px;
    }
  }

  .about-portrait-frame {
    width: 100%;
    height: 290px;

    &::before {
      inset: -5px -5px 3px 3px;
      border-width: 4px;
    }
  }

  .about-message-text {
    width: 100%;
  }

  .about-message-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .about-lead {
    font-size: 23px;
    letter-spacing: 0;
    line-height: 1.7;
    margin-bottom: 19px;
  }

  .about-message-body {
    font-size: 14px;
    line-height: 1.95;
  }

  .desktop-break {
    display: none;
  }

  .about-belief {
    padding: 18px;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.95;
  }

  .about-signature {
    font-size: 14px;
    margin-top: 17px;
  }

  .about-private {
    padding: 55px 0 60px;
    background-image: url('/img/common/sp/bg_white2.png'), url('/img/common/sp/bg_white3.png');
    background-size: 100% auto;
  }

  .about-private,
  .about-insurance {
    .h_type1 {
      margin-bottom: 28px;
    }
  }

  .about-first-fee {
    display: block;
    padding: 20px;
    margin-bottom: 23px;
    text-align: center;
  }

  .about-first-price {
    justify-content: center;
    gap: 24px;
    font-size: 17px;

    & strong {
      font-size: 28px;
    }
  }

  .about-fee-condition {
    font-size: 12px;
    margin-top: 9px;
  }

  .about-treatment-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-treatment-header {
    display: block;
    padding: 20px 15px 18px;
    text-align: center;

    & h3 {
      font-size: 21px;
      margin-bottom: 7px;
    }

    & p {
      font-size: 14px;
    }

  }

  .about-treatment-body {
    display: block;
    padding: 8px 20px 24px;
  }

  .about-prices {
    &>div {
      gap: 8px;
      padding: 18px 0;
    }

    & dt {
      font-size: 14px;
    }

    & dd {
      font-size: 14px;
    }

    & dd strong {
      font-size: 25px;
    }
  }

  .about-treatment-description {
    font-size: 14px;
    margin-top: 20px;
  }

  .about-recommend {
    margin-top: 20px;
    padding-top: 18px;

    & h4 {
      font-size: 14px;
    }

    & li {
      font-size: 13px;
    }
  }

  .about-insurance {
    padding: 48px 0 60px;
  }

  .about-insurance-table {
    & thead th {
      padding: 13px;
      font-size: 15px;
    }

    & tbody th {
      padding: 17px 12px;
      font-size: 15px;
    }

    & tbody td {
      padding: 17px 12px;
      font-size: 14px;
    }

    & td strong {
      font-size: 23px;
      margin-right: 4px;
    }
  }

  .about-insurance-note {
    font-size: 12px;
    margin-top: 15px;
  }
}