.p-fees-page {
  --fees-green: #4a9b7f;
  --fees-pale: #f1f7f5;
  --fees-gold: #a97723;
  --fees-text: #262626;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 190px;
  overflow: hidden;
  color: var(--fees-text);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.p-fees-page *,
.p-fees-page *::before,
.p-fees-page *::after {
  box-sizing: border-box;
}

.p-fees-page h1,
.p-fees-page h2,
.p-fees-page h3,
.p-fees-page p,
.p-fees-page figure {
  margin-top: 0;
}

.p-fees-breadcrumb {
  height: 155px;
}

.p-fees-page .c-breadcrumb {
  width: min(calc(100% - 160px), 1280px);
  padding-top: 42px;
  color: var(--fees-gold);
  font-size: 20px;
}

.p-fees-page .p-fees-anchor {
  width: 960px;
  min-height: 251px;
  padding-bottom: 82px;
  grid-template-columns: repeat(2, 410px);
}

.p-fees-page .p-fees-anchor a {
  font-size: 17px;
}

.p-fees-content {
  padding: 77px 0 91px;
  background: var(--fees-pale);
}

.p-fees-section {
  width: 720px;
  margin: 0 auto;
}

.p-fees-heading {
  position: relative;
  display: grid;
  height: 151px;
  place-items: start center;
}

.p-fees-heading p {
  margin: 0;
  color: rgba(186, 162, 103, .2);
  font-family: "Zen Old Mincho", serif;
  font-size: 71px;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: .1em;
}

.p-fees-heading h2 {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 85.2px;
  margin: 0;
  color: #000;
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
  font-weight: normal;
  line-height: 1.45;
  letter-spacing: .1em;
}

.p-fees-table-wrap.p-fees-table-wrap--dry-eye {
  margin: 22px 0 10px;
}

.p-fees-section h3 {
  margin: 0 0 16px;
  color: var(--fees-gold);
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
  font-weight: normal;
  line-height: 1.45;
}

.p-fees-section > p {
  margin-bottom: 22px;
  font-size: 20px;
  line-height: 32px;
  text-align: justify;
}

.p-fees-table-wrap {
  width: 100%;
  margin: 0 0 20px;
  overflow-x: auto;
}

.p-fees-table-wrap--flush-note {
  margin-bottom: 0;
}

.p-fees-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 18px;
  line-height: 1.3;
}

.p-fees-table th,
.p-fees-table td {
  height: 43px;
  padding: 7px 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
}

.p-fees-table thead th {
  height: 55px;
  color: #fff;
  background: var(--fees-green);
  font-weight: normal;
}

.p-fees-table--two th:first-child {
  width: 52%;
}

.p-fees-table--lens th:first-child {
  width: 44%;
}

.p-fees-table--photo-facial th:first-child {
  width: 44%;
}

.p-fees-table--lens tbody th {
  font-size: 16px;
}

.p-fees-section .p-fees-note {
  margin-bottom: 52px;
}

.p-fees-selected-note {
  margin: 53px 0 60px;
  background: #faf8f6;
}

.p-fees-selected-note h3 {
  display: grid;
  height: 55px;
  margin: 0;
  color: #fff;
  background: var(--fees-green);
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
  place-items: center;
}

.p-fees-selected-note p {
  margin: 0;
  padding: 31px 40px 0;
  font-size: 20px;
  line-height: 32px;
  text-align: justify;
}

.p-fees-selected-note p:last-child {
  padding-bottom: 34px;
}

.p-fees-section--icl {
  margin-top: 72px;
}

.p-fees-section--icl .p-fees-heading {
  height: 105px;
}

.p-fees-table.p-fees-table--three {
  margin-bottom: 5px;
}

.p-fees-section--icl h3 {
  margin-top: 32px;
}

.p-fees-section--icl .p-fees-h3--deduction {
  margin-top: 84px;
}

.p-fees-section--icl .p-fees-note {
  margin-bottom: 20px;
}

.p-fees-deduction {
  width: 100%;
  margin: 33px 0 14px !important;
}

.p-fees-deduction img {
  display: block;
  width: 100%;
  height: auto;
}

.p-fees-more {
  display: grid;
  width: 220px;
  height: 55px;
  margin: 50px auto 26px;
  border: 1px solid #baa267;
  color: #baa267;
  background: #fff;
  font-family: "Zen Old Mincho", serif;
  font-size: 20px;
  text-decoration: none;
  place-items: center;
  transition: background-color .2s ease, color .2s ease;
}

.p-fees-more:hover,
.p-fees-more:focus-visible {
  color: #fff;
  background: #baa267;
}

.p-fees-section--treatment .p-fees-heading {
  height: 132px;
}

.p-fees-section--treatment .p-fees-note--small {
  margin-bottom: 84px;
  font-size: 14px;
  line-height: 24px;
}

.p-fees-section--photo .p-fees-heading {
  height: 135px;
}

.p-fees-section--photo .p-fees-note--small {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .p-fees-content {
    padding-bottom: 96px;
  }

}

@media screen and (max-width: 767px) {
  body.osawa-fees-page {
    padding-bottom: 0;
  }

  .osawa-fees-page .sp-fixed-actions {
    display: none;
  }

  .p-fees-page {
    padding-top: 56px;
  }

  .p-fees-breadcrumb {
    height: 82px;
  }

  .p-fees-page .c-breadcrumb {
    width: 335px;
    padding-top: 28px;
    font-size: 12px;
  }

  .p-fees-page .p-fees-anchor {
    width: 335px;
    min-height: 295px;
    padding-bottom: 43px;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .p-fees-page .p-fees-anchor a {
    min-height: 40px;
    padding: 0 16px;
    font-size: 15px;
    line-height: 18px;
  }

  .p-fees-content {
    padding: 35px 0 10px;
  }

  .p-fees-table-wrap.p-fees-table-wrap--cataract-monofocal {
    margin-bottom: 0px;
  }

  .p-fees-table.p-fees-table--two.p-fees-table--cataract-monofocal {
    margin-bottom: 15px;
  }

  .p-fees-h3.p-fees-h3--selected {
    margin-top: 50px;
  }

  .p-fees-table-wrap.p-fees-table-wrap--cataract-selected-base {
    margin-bottom: 0;
  }

  .p-fees-table.p-fees-table--two.p-fees-table--cataract-selected-base {
    margin-bottom: 10px;
  }

  .p-fees-section {
    width: 335px;
  }

  .p-fees-heading {
    height: auto;
  }

  .p-fees-heading p {
    font-size: 71px;
    line-height: 1;
  }

  .p-fees-heading h2 {
    width: 100%;
    font-size: 24px;
    text-align: center;
  }

  .p-fees-section h3 {
    margin-bottom: 18px;
    margin-top: 50px;
    font-size: 20px;
  }

  .p-fees-table--cataract-selected-lens.p-fees-table thead th,
  .p-fees-table--cataract-private-lens.p-fees-table thead th {
    font-size: 18px;
  }

  .p-fees-table--cataract-selected-lens.p-fees-table thead th {
    height: 96px;
  }

  .p-fees-table--cataract-private-lens.p-fees-table thead th {
    height: 77px;
  }

  .p-fees-section > p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 26px;
  }

  .p-fees-table-wrap {
    margin-bottom: 0px;
  }

  .p-fees-table {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .p-fees-table th,
  .p-fees-table td {
    height: 41px;
    padding: 7px 5px;
    font-size: 16px;
  }

  .p-fees-table thead th {
    height: 52px;
  }

  .p-fees-table--lens th:first-child {
    width: 43%;
  }

  .p-fees-table--lens tbody th {
    height: 92px;
    font-size: 16px;
    line-height: 19px;
  }

  .p-fees-section .p-fees-note {
    margin-bottom: 14px;
  }

  .p-fees-selected-note {
    margin: 58px 0 62px;
  }

  .p-fees-selected-note h3 {
    height: 55px;
    font-size: 24px;
  }

  .p-fees-selected-note p {
    padding: 5px 24px 18px;
    font-size: 16px;
    line-height: 28px;
  }

  .p-fees-selected-note p:last-child {
    padding-bottom: 25px;
  }

  .p-fees-h3.p-fees-h3--private-lens {
    margin-top: 68px;
  }

  .p-fees-section--icl {
    margin-top: 62px;
  }

  .p-fees-section--icl .p-fees-heading {
    height: auto;
  }

  .p-fees-section--icl h3 {
    margin-top: 38px;
  }

  .p-fees-section--icl .p-fees-h3--deduction {
    margin-top: 66px;
  }

  .p-fees-table.p-fees-table--three.p-fees-table--icl-examination {
    margin-bottom: 15px;
  }

  .p-fees-section--icl .p-fees-note {
    margin-bottom: 14px;
  }

  .p-fees-deduction {
    margin: 26px 0 14px !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .p-fees-deduction img {
    width: 250%;
    max-width: none;
  }

  .p-fees-deduction.is-horizontally-scrollable {
    overflow-x: scroll;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
  }

  .p-fees-deduction.is-horizontally-scrollable::-webkit-scrollbar {
    height: 8px;
  }

  .p-fees-deduction.is-horizontally-scrollable::-webkit-scrollbar-thumb {
    border-radius: 999px;
  }

  .p-fees-more {
    margin: 46px auto 70px;
  }

  .p-fees-section--treatment .p-fees-heading {
    height: auto;
  }

  .p-fees-section--treatment .p-fees-note--small {
    margin-bottom: 0;
    font-size: 14px;
  }

  #dry-eye-fees .p-fees-note--small {
    font-size: 16px;
  }

  .p-fees-section--photo .p-fees-heading {
    height: 82px;
    margin-bottom: 60px;
  }

  .p-fees-section--photo {
    padding-top: 70px;
  }

  .p-fees-section--photo .p-fees-note--small {
    margin-bottom: 45px;
    font-size: 14px;
  }

}
