.p-wrapper {
  --section-gap-xl: 180px;
  --section-gap-lg: 120px;
  --section-gap-md: 90px;
  --section-gap: var(--section-gap-lg);
  padding-bottom: 180px;
}
@media (max-width: 525px) {
  .p-wrapper {
    --section-gap: var(--section-gap-md);
  }
}

.p-intro {
  padding-bottom: var(--section-gap);
  background-image: var(--bg-primary);
  background-size: cover;
}

.p-pattern01 {
  margin-top: var(--section-gap);
}
.p-pattern01__list {
  --column-count: 4;
  --column-gap: 1.25em;
  --row-gap: 1.25em;
}
@media (max-width: 1024px) {
  .p-pattern01__list {
    --column-count: 3;
  }
}
@media (max-width: 768px) {
  .p-pattern01__list {
    --column-count: 2;
  }
}
.p-pattern01__list a {
  min-width: unset;
}

.p-pattern02 {
  margin-top: var(--section-gap-md);
}
.p-pattern02__header {
  margin-bottom: 5em;
}
@media (max-width: 525px) {
  .p-pattern02__header {
    margin-bottom: 3.5em;
  }
}
.p-pattern02__column {
  padding: 3em var(--container-padding);
  margin-top: 3em;
  background-image: var(--bg-primary);
  background-size: cover;
}
@media (max-width: 525px) {
  .p-pattern02__column {
    padding: 2em var(--container-padding);
    margin-top: 2em;
  }
}

.p-pattern03 {
  margin-top: var(--section-gap);
}
.p-pattern03__header {
  margin-bottom: 5em;
}
@media (max-width: 525px) {
  .p-pattern03__header {
    margin-bottom: 3.5em;
  }
}

.p-pattern04 {
  margin-top: var(--section-gap);
}
.p-pattern04__header {
  margin-bottom: 5em;
}
@media (max-width: 525px) {
  .p-pattern04__header {
    margin-bottom: 3.5em;
  }
}

.p-pattern05 {
  margin-top: var(--section-gap);
}
.p-pattern05__header {
  margin-bottom: 4em;
}
@media (max-width: 525px) {
  .p-pattern05__header {
    margin-bottom: 2.5em;
  }
}
.p-pattern05__list {
  display: grid;
  gap: 2.5em;
}

.p-pattern06 {
  margin-top: var(--section-gap);
}
.p-pattern06__header {
  margin-bottom: 5em;
}
@media (max-width: 525px) {
  .p-pattern06__header {
    margin-bottom: 3.5em;
  }
}
.p-pattern06__table {
  padding-bottom: 1em;
}

.p-pattern07 {
  margin-top: var(--section-gap);
}
.p-pattern07__header {
  margin-bottom: 5em;
}
@media (max-width: 525px) {
  .p-pattern07__header {
    margin-bottom: 3.5em;
  }
}
.p-pattern07__list {
  display: grid;
  gap: 5em;
}

.p-pattern08 {
  margin-top: var(--section-gap);
}
.p-pattern08__header {
  margin-bottom: 5em;
}
@media (max-width: 525px) {
  .p-pattern08__header {
    margin-bottom: 3.5em;
  }
}
.p-pattern08__body {
  container-type: inline-size;
}
.p-pattern08__list {
  --column-count: 3;
  --column-gap: min(2.5em, calc(4 * var(--vw)));
  --row-gap: 3em;
}
@container (width <= 850px) {
  .p-pattern08__list {
    --column-count: 2;
  }
}
@container (width <= 550px) {
  .p-pattern08__list {
    --column-count: 1;
  }
}

.p-bg-part {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  margin-top: var(--section-gap);
  background-image: var(--bg-primary);
  background-size: cover;
}

.p-pattern09__header {
  margin-bottom: 5em;
}
@media (max-width: 525px) {
  .p-pattern09__header {
    margin-bottom: 3.5em;
  }
}

.p-pattern10 {
  margin-top: var(--section-gap-md);
}

.p-pattern11 {
  margin-top: var(--section-gap);
}
.p-pattern11__header {
  margin-bottom: 5em;
}
@media (max-width: 525px) {
  .p-pattern11__header {
    margin-bottom: 3.5em;
  }
}
.p-pattern11__intro {
  max-width: 880px;
  margin-inline: auto;
  margin-bottom: 3em;
}
.p-pattern11__list {
  --row-gap: 1em;
  max-width: 440px;
  margin-inline: auto;
  font-size: var(--font-size-xl);
  font-weight: bold;
}

.p-pattern12 {
  margin-top: var(--section-gap);
}

.p-pattern13 {
  margin-top: var(--section-gap);
}

/* top. css header */
.p-greeting {
    --column-gap: 4cqw;
    position: relative;
    z-index: 0;
    padding-top: 120px;
    overflow: hidden;
}

/* margin-bottom */
.add_margin_bottom {
  margin-bottom: 2rem;
}

.add_padding_top {
  margin-top: 6rem;
}

.align_center {
  text-align: center;
}

.tb_img img {
  max-width: 300px;
  width: 100%;
}

.add_bottom {
  margin-bottom: 5rem;
}

.p-main {
    padding: 120px 0px;
}
.p-main__inner {
    display: grid;
    row-gap: 120px;
}

.p-subject__header {
    margin-bottom: 1.75em;
}

.p-subject__header__inner {
    display: flex;
    gap: 0.25em 2em;
    align-items: center;
}

.p-subject__heading {
    display: flex;
    column-gap: 0.5em;
    align-items: center;
}

.p-subject__heading__icon {
    display: block;
    font-size: 1.2em;
}

.p-subject__heading__text {
    line-height: 1.35;
    word-break: keep-all;
}

.p-subject__overview {
    display: grid;
    gap: 0.2em;
    padding: 0.75em 1em;
    margin-bottom: 1em;
    font-size: var(--font-size-xl);
    color: var(--color-text-contrast);
    background-color: rgba(var(--color-primary-rgb), 60%);
}

.p-subject__overview__item {
    display: flex;
    column-gap: 0.8em;
    align-items: baseline;
}

.p-subject__overview__icon {
    flex-shrink: 0;
}

.price_table,
.price_table td,
.price_table th {  
  border: 1px solid #a58858;
  text-align: left;
}

.price_table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: 15px;
}

.price_table th {
  font-size: 20px;
  font-weight: 600;
  background-color: rgba(var(--color-bg-secondary-rgb), 67%);
}

.price_table td {
  font-size: 16px;
}

.add_ser_sub img {
  max-width: 800px;
  width: 100%;
}

.shisyu_htxt {
  font-weight: 700;
}

.price_table th:last-child{
    width:30%;
}


@media screen and (max-width:768px) {
    .price_table td {
    font-size: 13px;
}
.price_table th{
    font-size: 18px;
}
}