/* TOCの数字を非表示 */
#toc_container .toc_number {
    display: none;
}

/* TOCリストの余白をリセット */
#toc_container ul,
#toc_container li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 各行 */
#toc_container li {
    position: relative;
    padding-left: 2rem;
}

/* 丸ポチ */
#toc_container li::before {
    content: "";
    position: absolute;
    top: 1.05em;
    left: 0;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--deco-pink);
    transform: translateY(-50%);
}

/* リンク */
#toc_container li a {
    display: block;
    color: var(--text-black);
    line-height: 1.9;
}

/* 目次全体の横幅を固定 */
#toc_container {
    box-sizing: border-box;
    margin: 4rem auto 6rem;
    padding: 3.2rem 4rem;
}

/* 閉じた時も横幅を変えない */
#toc_container.contracted {
    width: 66% !important;
}

/* 閉じた時は中身だけ非表示 */
#toc_container.contracted .toc_list {
    display: none;
}

@media (max-width: 767px) {

    #toc_container {
        width: 100% !important;
        padding: 2.4rem 2rem;
    }

    #toc_container.contracted {
        width: 100% !important;
    }
}

.news-page {
    color: var(--text-black, #4f4a46);
    background: var(--base-white, #fff);
}

.news-page img {
    max-width: 100%;
    height: auto;
}

.news-single__inner {
    width: min(82rem, calc(100% - 8rem));
    margin: 0 auto;
}

.news-archive__inner {
    width: min(74rem, 100%);
    margin: 0 auto;
}

.news-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin: 0;
    color: var(--text-gray, #9b9690);
    font-family: var(--font-en, inherit);
    font-size: var(--fz-12, 1.2rem);
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.news-breadcrumb a {
    color: inherit;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    align-items: center;
    color: var(--text-gray, #9b9690);
    font-size: var(--fz-12, 1.2rem);
    line-height: 1.6;
}

.news-meta time {
    font-family: var(--font-serif);
    letter-spacing: 0.04em;
}

.news-meta__terms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.news-meta__term {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.2rem 0.9rem;
    background: rgba(191, 156, 149, 0.22);
    color: var(--heading-brown, #75624d);
    font-size: var(--fz-11, 1.1rem);
    line-height: 1.4;
}

.news-archive__body {
    padding: 8.8rem 4rem 12rem;
    background: var(--base-gray, #f3eeee);
}

.news-list {
    display: grid;
}

.news-card {
    margin: 0;
    border-bottom: 1px solid rgba(92, 78, 60, 0.12);
}

.news-card__link {
    display: grid;
    grid-template-columns: 6.4rem 8.8rem minmax(0, 1fr);
    gap: 1.8rem;
    align-items: center;
    min-height: 6.4rem;
    padding: 1.4rem 0;
    color: inherit;
}

.news-card__term {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.2rem 0.7rem;
    background: var(--deco-pink);
    color: var(--heading-brown);
    font-size: var(--fz-10, 1rem);
    white-space: nowrap;
}

.news-card__date {
    color: var(--text-gray);
    font-family: var(--font-serif);
    font-size: var(--fz-13);
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.news-card__title {
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
    color: var(--text-black);
    font-family: var(--font-sans, inherit);
    font-size: var(--fz-16);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.news-card__title::after {
    display: none;
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
    align-items: center;
    margin-top: 6.8rem;
}

.news-pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 3.2rem;
    height: 3.2rem;
    padding: 0 0.8rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--gold, #d6ad6d);
    font-size: var(--fz-13, 1.3rem);
}

.news-pagination .prev,
.news-pagination .next {
    border-color: rgba(218, 177, 106, 0.75);
    font-size: var(--fz-18, 1.8rem);
}

.news-pagination .page-numbers.current {
    background: var(--gold, #d6ad6d);
    border-color: var(--gold, #d6ad6d);
    color: var(--base-white, #fff);
}

.news-empty {
    padding: 3.2rem;
    background: var(--base-gray, #f3eeee);
    text-align: center;
}

.news-empty p {
    margin: 0;
    font-size: var(--fz-14, 1.4rem);
    line-height: 1.8;
}

.news-single__body {
    padding: 10rem 0 12rem;
}

.news-single__meta {
    margin-top: 7.2rem;
}

.news-single__title {
    margin: 1.8rem 0 0;
    padding: 0;
    color: var(--text-black);
    font-family: var(--font-serif, serif);
    font-size: clamp(2.6rem, 3vw, 3.4rem);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.08em;
}

.news-single__title::after {
    display: none;
}

.news-single__thumb {
    overflow: hidden;
    margin: 3.2rem 0 0;
    background: var(--base-gray, #f3eeee);
}

.news-single__thumb-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10.25;
    object-fit: cover;
}

.news-single__content {
    margin-top: 4rem;
    color: var(--text-black);
    font-size: var(--fz-16);
    line-height: 2.1;
}

.news-single__content > :first-child {
    margin-top: 0;
}

.news-single__content > :last-child {
    margin-bottom: 0;
}

.news-single__content p {
    margin: 0 0 1.8em;
}

.news-single__content ul,
.news-single__content ol {
    display: grid;
    gap: 0.6rem;
    margin: 2rem 0;
    padding-left: 1.4em;
}

.news-single__content li {
    padding-left: 0.2em;
}

.news-single__content li::marker {
    color: rgba(191, 156, 149, 0.65);
}

.news-single__content mark {
    background: linear-gradient(transparent 58%, rgba(235, 219, 105, 0.72) 58%);
    color: inherit;
}

.news-single__content strong {
    font-weight: 700;
}

.news-single__footer {
    margin-top: 8rem;
    text-align: center;
}

.news-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18rem;
    min-height: 4.4rem;
    padding: 0.8rem 2.8rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold);
    font-size: var(--fz-13);
    line-height: 1.5;
    transition: background 0.25s ease, color 0.25s ease;
}

.news-back-button:hover {
    background: var(--gold);
    color: var(--base-white);
}

@media (max-width: 767px) {
    .news-single__inner {
        width: min(100% - 4rem, 60rem);
    }

    .news-archive__inner {
        width: 100%;
    }

    .news-archive__body,
    .news-single__body {
        padding-bottom: 8rem;
    }

    .news-archive__body {
        padding: 6.4rem 2rem 8rem;
    }

    .news-card__link {
        grid-template-columns: 5.8rem 7.6rem minmax(0, 1fr);
        gap: 1rem;
        min-height: 5.8rem;
        padding: 1.2rem 0;
    }

    .news-card__term {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        font-size: 1rem;
    }

    .news-card__date {
        font-size: 1.1rem;
    }

    .news-card__title {
        font-size: var(--fz-13, 1.3rem);
        line-height: 1.7;
    }

    .news-pagination {
        gap: 0.8rem;
        margin-top: 4.8rem;
    }

    .news-single__body {
        padding-top: 6.4rem;
    }

    .news-single__meta {
        margin-top: 5.6rem;
    }

    .news-single__title {
        font-size: 2.4rem;
    }

    .news-single__thumb {
        margin-top: 2.4rem;
    }

    .news-single__content {
        margin-top: 3.2rem;
    }

    .news-single__footer {
        margin-top: 6.4rem;
    }
}

/*------------------------
blog single
-------------------------*/

.blog-single {
    padding: 6rem 0 0;
    background: var(--base-gray);
}

.blog-single__inner {
    width: min(100rem, calc(100% - 8rem));
    margin: 0 auto;
}

.blog-single__breadcrumb {
    margin: 0 0 6.4rem;
    color: var(--text-gray);
    font-family: var(--font-en);
    font-size: var(--fz-12);
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.blog-single__breadcrumb a {
    color: inherit;
}

.blog-single__breadcrumb span {
    margin-left: 0.6rem;
}

.blog-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.6rem;
}

.blog-single__meta time {
    color: var(--text-gray);
    font-family: var(--font-serif);
    font-size: var(--fz-13);
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.blog-single__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.2rem 0.9rem;
    background: var(--deco-pink);
    color: var(--heading-brown);
    font-size: var(--fz-10);
    line-height: 1;
}

.blog-single__title {
    margin: 0;
    padding: 0;
    color: var(--text-black);
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 3vw, 3.6rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.06em;
    text-align: left;
}

.blog-single__title::after {
    display: none;
}

.blog-single__thumb {
    margin-top: 4rem;
    background: var(--base-white);
}

.blog-single__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-single__content {
    margin-top: 4rem;
    padding-bottom: 7.2rem;
    font-size: var(--fz-15);
    line-height: 2.1;
}

.blog-single__content > *:first-child {
    margin-top: 0;
}

.blog-single__content > *:last-child {
    margin-bottom: 0;
}

.blog-single__content p {
    margin: 0 0 2.4rem;
}

.blog-single__content p + p {
    margin-top: 1.2rem;
}

.blog-single__content ul,
.blog-single__content ol {
    margin: 3.2rem 0;
    padding-left: 2.4rem;
}

.blog-single__content li {
    margin-top: 0.8rem;
    line-height: 2;
}

.blog-single__content .marker,
.blog-single__content mark {
    padding: 0 0.2rem;
}

.blog-single__content .c-table {
    margin: 5.6rem 0;
}

.blog-single__content figure,
.blog-single__content .wp-block-image {
    margin: 5.6rem 0;
}

.blog-single__content figure img,
.blog-single__content .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
}

.blog-single__content figcaption {
    margin-top: 1.2rem;
    color: var(--text-gray);
    font-size: var(--fz-12);
    line-height: 1.8;
    text-align: center;
}

.blog-single__content blockquote {
    margin: 5.6rem 0;
    padding: 3.2rem 4rem;
    border-left: 0.4rem solid var(--pink);
    background: var(--base-white);
    color: var(--text-gray);
    line-height: 2;
}

.blog-single__content .wp-block-group,
.blog-single__content .wp-block-columns {
    margin: 6.4rem 0;
}

.blog-single__content .treatment-free-content__item {
    margin: 6.4rem 0;
}

.blog-single__content .treatment-callout {
    background: var(--base-white);
}

.blog-single__content .treatment-free-image-layout {
    margin: 6.4rem 0;
}

.blog-single__back {
    display: flex;
    justify-content: center;
    padding: 2rem 0 8rem;
    background: var(--base-gray);
}

.blog-single-related.treatment-related-blog {
    padding-top: 4rem;
}

@media (max-width: 767px) {
    .blog-single {
        padding-top: 4rem;
    }

    .blog-single__inner {
        width: min(100% - 4rem, 60rem);
    }

    .blog-single__breadcrumb {
        margin-bottom: 4.8rem;
        font-size: var(--fz-11);
    }

    .blog-single__title {
        font-size: var(--fz-18);
    }

    .blog-single__thumb,
    .blog-single__content {
        margin-top: 3.2rem;
    }

    .blog-single__content {
        padding-bottom: 5.6rem;
        font-size: var(--fz-14);
        line-height: 2;
    }

    .blog-single__content p {
        margin-bottom: 2rem;
    }

    .blog-single__content ul,
    .blog-single__content ol {
        margin: 2.4rem 0;
        padding-left: 2rem;
    }

    .blog-single__content .c-table,
    .blog-single__content figure,
    .blog-single__content .wp-block-image,
    .blog-single__content blockquote,
    .blog-single__content .wp-block-group,
    .blog-single__content .wp-block-columns {
        margin: 4rem 0;
    }

    .blog-single__content blockquote {
        padding: 2.4rem 2rem;
    }

    .blog-single__content .treatment-free-content__item,
    .blog-single__content .treatment-free-image-layout {
        margin: 4rem 0;
    }

    .blog-single__back {
        padding-bottom: 6.4rem;
    }

    .blog-single-related.treatment-related-blog {
        padding-top: 3.2rem;
    }

    .blog-single-related .treatment-related-blog__list {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }
}
