.price-page {
  padding-bottom: 160px;
}

.price-hero {
  position: relative;
  width: min(calc(100% - 80px), 1060px);
  height: 320px;
  padding-top: 30px;
  margin: 0 auto;
}

.price-hero h1 {
  left: 0;
  margin: 0;
  color: var(--green);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .1em;
}

.price-hero h3 {
  margin: 20px 0 16px;
  color: var(--green);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.price-hero img {
  position: absolute;
  top: 0;
  right: 20px;
  display: block;
  width: 305px;
  height: 305px;
  object-fit: contain;
}

.price-divider {
  width: 100%;
  height: 297px;
  margin-top: -48px;
  margin-bottom: -49px;
  background: url('../images/line_lg_pc.svg') center / 100% 100% no-repeat;
}

.price-content {
  width: min(calc(100% - 80px), 1080px);
  margin: 0 auto;
}

.price-section {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  margin-top: 96px;
}

.price-section:first-child {
  margin-top: 0;
}

.price-section > h2 {
  margin: 25px 0 0;
  color: var(--green);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .1em;
}

.price-section__groups {
  border-top: 1px solid var(--line);
}

.price-accordion {
  border-bottom: 1px solid var(--line);
}

.price-accordion summary {
  display: flex;
  min-height: 100px;
  padding: 24px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--green);
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: .05em;
  cursor: pointer;
  list-style: none;
}

.price-accordion summary::-webkit-details-marker {
  display: none;
}

.price-accordion summary i {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.price-accordion summary i::before, .price-accordion summary i::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  border-top: 1px solid var(--green);
  content: '';
  transition: transform .2s ease;
}

.price-accordion summary i::after {
  transform: rotate(90deg);
}

.price-accordion[open] summary i::after {
  transform: rotate(0);
}

.price-accordion__body {
  padding: 0 40px 40px;
  background: #fff;
}

.price-accordion__body dl {
  margin: 0;
}

.price-accordion__body dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid #eeeae3;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .05em;
}

.price-accordion__body dt {
  font-weight: 400;
}

.price-accordion__body dd {
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.price-accordion__body .price-row--average {
  align-items: end;
  color: var(--green);
}

.price-row--average dt {
  text-align: right;
  font-size: 12px;
}

.price-row--average dd {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.price-notes {
  margin-top: 112px;
  text-align: center;
}

.price-notes > h2 {
  margin: 0;
  color: var(--green);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .1em;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.price-notes__lead {
  margin-top: 28px !important;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .05em;
}

.price-notes__box {
  margin-top: 64px;
  padding: 40px;
  border: 1px dashed var(--green);
  text-align: left;
}

.price-notes__box h3 {
  margin: 0 0 28px;
  color: var(--green);
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  letter-spacing: .1em;
}

.price-notes__box ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: price-note;
}

.price-notes__box li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  counter-increment: price-note;
}

.price-notes__box li::before {
  color: var(--green);
  content: counter(price-note) '.';
}

.price-contact {
  display: flex;
  width: min(100%, 792px);
  min-height: 72px;
  margin: 80px auto 0;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  letter-spacing: .1em;
  text-decoration: none;
}

@media (hover: hover) {
  .price-contact:hover {
    opacity: .72;
  }

}

@media (max-width: 767px) {
  .price-page {
    padding-bottom: 64px;
  }

  /* 見出し・英字見出し・画像を通常のフローで中央に配置 */
  .price-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 40px auto 0;
    padding: 96px 25px 24px;
    padding-top: 30px !important;
    box-sizing: border-box;
    text-align: center;
  }

  .price-hero h1 {
    position: static;
    inset: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px;
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-align: center;
    transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .price-hero h3 {
    position: static;
    inset: auto;
    width: 100%;
    max-width: 100%;
    margin: -10px 0 24px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-align: center;
    transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .price-hero img {
    position: static;
    inset: auto;
    display: block;
    width: min(100%, 255px);
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
    object-fit: contain;
    transform: none;
  }

  .price-divider {
    height: 80px;
    margin-top: 0;
    margin-bottom: 0;
    background-image: url('../images/line_lg_sp.svg');
  }

  .price-content {
    width: calc(100% - 40px);
  }

  .price-section {
    display: block;
    margin-top: 96px;
  }

  .price-section:first-child {
    margin-top: 20px;
  }

  .price-section > h2 {
    margin: 0 0 32px;
    font-size: 20px;
    text-align: center;
  }

  .price-accordion summary {
    min-height: 59px;
    padding: 16px 8px;
    font-size: 16px;
    line-height: 1.5;
  }

  .price-accordion summary i {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .price-accordion summary i::before, .price-accordion summary i::after {
    width: 16px;
  }

  .price-accordion__body {
    padding: 0 12px 20px;
  }

  .price-accordion__body dl > div {
    gap: 16px;
    padding: 15px 0;
    font-size: 12px;
    line-height: 1.6;
  }

  .price-row--average dt, .price-row--average dd {
    font-size: 10px;
  }

  .price-notes {
    margin-top: 96px;
  }

  .price-notes > h2 {
    font-size: 20px;
  }

  .price-notes__lead {
    margin-top: 24px !important;
    font-size: 14px;
    text-align: left;
  }

  .price-notes__box {
    margin-top: 48px;
    padding: 28px 16px 16px;
  }

  .price-notes__box h3 {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .price-notes__box li {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    padding: 14px 0;
    font-size: 12px;
  }

  .price-contact {
    min-height: 64px;
    margin-top: 64px;
    font-size: 14px;
  }

}
