/* =============================================
   PitaGym — Base Styles
   ============================================= */

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Meiryo", sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =============================================
   Layout
   ============================================= */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.site-nav__list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.site-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.footer-links a {
    color: #d1d5db;
    font-size: 0.875rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* =============================================
   Hero
   ============================================= */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    padding: 3rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.hero__title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero__subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.search-box__select {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.search-box__btn {
    padding: 0.75rem 1.5rem;
    background: #f59e0b;
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.search-box__btn:hover {
    background: #d97706;
}

/* =============================================
   Section Titles
   ============================================= */
.section__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2563eb;
}

/* =============================================
   Studio Cards
   ============================================= */
.studio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.studio-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.studio-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.studio-card--premium {
    border: 2px solid #f59e0b;
    position: relative;
}

.studio-card--basic {
    position: relative;
}

.studio-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.studio-card__body {
    padding: 1rem;
}

.studio-card__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.studio-card__title a {
    color: #1f2937;
}

.studio-card__price {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.studio-card__campaign {
    color: #059669;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.studio-card__address {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.studio-card__link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: #fff;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.studio-card__link:hover {
    background: #1d4ed8;
    text-decoration: none;
}

/* =============================================
   Badges
   ============================================= */
.badge-pr {
    display: inline-block;
    background: #6b7280;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-pickup {
    display: inline-block;
    background: #f59e0b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1;
}

/* =============================================
   Studio Detail
   ============================================= */
.studio-detail {
    max-width: 800px;
    margin: 0 auto;
}

.studio-detail__header {
    margin-bottom: 2rem;
}

.studio-detail__title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.studio-detail__catchcopy {
    color: #6b7280;
    font-size: 1.125rem;
}

.studio-detail section {
    margin-bottom: 2rem;
}

.studio-detail section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.info-table th {
    width: 120px;
    color: #6b7280;
    font-weight: 600;
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.pricing-table thead th {
    background: #f9fafb;
    font-weight: 600;
}

/* Tag List */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.tag-item {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
}

/* Map */
.map-embed iframe {
    border-radius: 0.5rem;
}

/* Campaign Box */
.campaign-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1rem;
}

/* Official Link */
.studio-detail__official {
    text-align: center;
}

.official-link {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #2563eb;
    color: #fff;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.official-link:hover {
    background: #1d4ed8;
    text-decoration: none;
}

.click-count {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Upgrade Placeholder */
.upgrade-placeholder {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.upgrade-placeholder__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.upgrade-placeholder__text {
    color: #6b7280;
    margin-bottom: 1rem;
}

.upgrade-placeholder__link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #2563eb;
    color: #fff;
    border-radius: 0.375rem;
}

/* Owner CTA */
.owner-cta {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.owner-cta__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.owner-cta__text {
    color: #6b7280;
    margin-bottom: 1rem;
}

.owner-cta__links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.owner-cta__btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #059669;
    color: #fff;
    border-radius: 0.375rem;
    font-weight: 600;
}

.owner-cta__btn:hover {
    background: #047857;
    text-decoration: none;
}

.owner-cta__btn--secondary {
    background: #fff;
    color: #059669;
    border: 1px solid #059669;
}

.owner-cta__btn--secondary:hover {
    background: #f0fdf4;
}

/* =============================================
   Breadcrumb
   ============================================= */
.breadcrumb {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: #6b7280;
}

/* =============================================
   News
   ============================================= */
.news-list {
    list-style: none;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.news-item__date {
    color: #9ca3af;
    font-size: 0.875rem;
    white-space: nowrap;
}

.news-item__title {
    color: #1f2937;
}

/* =============================================
   Column Cards
   ============================================= */
.column-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.column-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.column-card__image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.column-card__body {
    padding: 1rem;
}

.column-card__title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.column-card__date {
    color: #9ca3af;
    font-size: 0.75rem;
}

/* =============================================
   Link More
   ============================================= */
.link-more {
    display: inline-block;
    margin-top: 1rem;
    color: #2563eb;
    font-weight: 600;
}

/* =============================================
   Search Filter
   ============================================= */
.search-filter {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.search-filter__group {
    margin-bottom: 0.75rem;
}

.search-filter__label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.search-filter__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-filter__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #4b5563;
    cursor: pointer;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.25rem 0.625rem;
    transition: border-color 0.2s, background-color 0.2s;
}

.search-filter__checkbox:hover {
    border-color: #2563eb;
}

.search-filter__checkbox:has(input:checked) {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}

.search-filter__checkbox input {
    margin: 0;
    width: 14px;
    height: 14px;
}

.search-filter__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.search-filter__submit {
    padding: 0.5rem 1.5rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.search-filter__submit:hover {
    background: #1d4ed8;
}

.search-filter__reset {
    font-size: 0.875rem;
    color: #6b7280;
}

/* =============================================
   Page Area List
   ============================================= */
.page-area-list__header h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.page-area-list__header .count {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

/* =============================================
   Recommend Page
   ============================================= */
.page-recommend__header {
    margin-bottom: 2rem;
}

.page-recommend__header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.page-recommend__description {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.page-recommend__pr-notice {
    font-size: 0.75rem;
    color: #9ca3af;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
}

.recommend-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.recommend-card {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.recommend-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.recommend-card--paid {
    border-color: #dbeafe;
    background: #fafbff;
}

.recommend-card__rank {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: #2563eb;
}

.recommend-card:nth-child(1) .recommend-card__rank { background: #f59e0b; }
.recommend-card:nth-child(2) .recommend-card__rank { background: #9ca3af; }
.recommend-card:nth-child(3) .recommend-card__rank { background: #b45309; }

.recommend-card__body {
    flex: 1;
    padding: 1rem;
}

.recommend-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.recommend-card__title {
    font-size: 1.125rem;
    font-weight: 700;
}

.recommend-card__title a {
    color: #1f2937;
}

.recommend-card__catchcopy {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.recommend-card__info {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.recommend-card__tags {
    margin-bottom: 0.5rem;
}

.recommend-card__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.recommend-card__trial {
    font-size: 0.875rem;
    font-weight: 600;
    color: #dc2626;
}

.recommend-card__detail-link {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: #2563eb;
    color: #fff;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
}

.recommend-card__detail-link:hover {
    background: #1d4ed8;
    text-decoration: none;
}

/* =============================================
   Sub-Area Navigation
   ============================================= */
.sub-area-nav {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.sub-area-nav__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-right: 0.5rem;
}

.sub-area-nav__list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    list-style: none;
}

.sub-area-nav__item a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    color: #4b5563;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    transition: all 0.2s;
}

.sub-area-nav__item a:hover {
    border-color: #2563eb;
    color: #2563eb;
    text-decoration: none;
}

.sub-area-nav__item--active a {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.sub-area-nav__item--active a:hover {
    color: #fff;
}

.sub-area-nav__count {
    font-size: 0.75rem;
    color: #9ca3af;
}

.sub-area-nav__item--active .sub-area-nav__count {
    color: rgba(255, 255, 255, 0.8);
}

/* =============================================
   Area Groups (Front Page)
   ============================================= */
.area-group {
    margin-bottom: 1rem;
}

.area-group__pref {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.area-group__pref a {
    color: #1f2937;
}

.area-group__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    list-style: none;
}

.area-group__cities li a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    color: #4b5563;
    background: #f3f4f6;
    border-radius: 999px;
    transition: all 0.2s;
}

.area-group__cities li a:hover {
    background: #eff6ff;
    color: #2563eb;
    text-decoration: none;
}

.area-group__count {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #9ca3af;
}

.area-group__city-count {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* =============================================
   Genre Top Page
   ============================================= */
.page-genre-top__header {
    margin-bottom: 2rem;
}

.page-genre-top__header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.page-genre-top__description {
    color: #6b7280;
}

.section-area-search,
.section-feature-search,
.section-recommend-links {
    margin-bottom: 2rem;
}

.feature-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.feature-link {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 999px;
    transition: all 0.2s;
}

.feature-link:hover {
    background: #dbeafe;
    text-decoration: none;
}

.area-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.area-links a {
    color: #2563eb;
    font-size: 0.9375rem;
}

/* =============================================
   Studio Detail — Additional
   ============================================= */
.studio-detail__area {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.studio-detail__description p {
    color: #374151;
    line-height: 1.8;
}

.studio-detail__training-style {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.studio-detail__facilities-list {
    margin-top: 0.75rem;
}

.info-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    margin-right: 0.25rem;
}

/* Phone Link */
.phone-link {
    color: #2563eb;
    font-weight: 600;
}

/* Trial Info */
.trial-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 0.5rem;
}

.trial-info__label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #92400e;
}

.trial-info__price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #dc2626;
}

/* Plan List (Repeater) */
.plan-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.plan-item__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
}

.plan-item__body {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.8;
}

/* Pricing Note */
.pricing-note {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Campaign End */
.campaign-end {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #92400e;
    font-weight: 600;
}

/* PR Points */
.pr-point {
    margin-bottom: 1rem;
}

.pr-point h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.375rem;
}

.pr-point p {
    color: #4b5563;
    line-height: 1.7;
}

/* Related Genres */
.studio-detail__related-genres ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.studio-detail__related-genres li a {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: #f3f4f6;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #4b5563;
    transition: all 0.2s;
}

.studio-detail__related-genres li a:hover {
    background: #eff6ff;
    color: #2563eb;
    text-decoration: none;
}

/* Updated Date */
.studio-detail__updated {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Access Note */
.studio-detail__access-note {
    color: #4b5563;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Official Link CTA */
.official-link--cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: all 0.2s;
}

.official-link--cta:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    text-decoration: none;
    transform: translateY(-1px);
}

/* =============================================
   Post Single (Column / News)
   ============================================= */
.post-single {
    max-width: 800px;
    margin: 0 auto;
}

.post-single__header {
    margin-bottom: 2rem;
}

.post-single__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.post-single__date {
    font-size: 0.875rem;
    color: #9ca3af;
}

.post-single__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    padding: 0.125rem 0.625rem;
    border-radius: 999px;
}

.post-single__title {
    font-size: 1.75rem;
    line-height: 1.4;
}

/* --- リード（ディスクリプション + アイキャッチ） --- */
.post-single__lead {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.post-single__lead-image {
    flex-shrink: 0;
    width: 280px;
    order: 2;
}

.post-single__lead-image img {
    width: 100%;
    height: auto;
    border-radius: 0.375rem;
    display: block;
}

.post-single__lead-text {
    flex: 1;
    order: 1;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #374151;
}

.post-single__lead--no-thumb {
    display: block;
}

/* --- 目次 --- */
.toc {
    margin-bottom: 2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.toc__details {
    padding: 0;
}

.toc__title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.toc__title::-webkit-details-marker {
    display: none;
}

.toc__title::after {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-left: 0.5rem;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: rotate(45deg);
    transition: transform 0.2s;
    vertical-align: 1px;
}

.toc__details[open] > .toc__title::after {
    transform: rotate(-135deg);
    vertical-align: -2px;
}

.toc__list {
    list-style: none;
    padding: 0 1.25rem 1rem;
    margin: 0;
    border-top: 1px solid #e2e8f0;
}

.toc__item {
    margin-bottom: 0.25rem;
}

.toc__item:first-child {
    margin-top: 0.75rem;
}

.toc__item > a {
    display: block;
    padding: 0.25rem 0;
    color: #374151;
    font-size: 0.875rem;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

.toc__item > a:hover {
    color: #2563eb;
}

.toc__item--sub {
    padding-left: 1.25rem;
}

.toc__item--sub > a {
    font-size: 0.8125rem;
    color: #6b7280;
}

.toc__item--sub > a::before {
    content: "– ";
    color: #94a3b8;
}

.toc__item--sub > a:hover {
    color: #2563eb;
}

/* 本文スタイル */
.post-single__content {
    line-height: 1.9;
    color: #374151;
    font-size: 0.9375rem;
}

/* --- 見出しアンカーオフセット（sticky header対応） --- */
.post-single__content h2[id],
.post-single__content h3[id] {
    scroll-margin-top: 4rem;
}

/* --- 見出し --- */
.post-single__content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding: 0.625rem 0 0.625rem 0.875rem;
    border-left: 4px solid #2563eb;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
    line-height: 1.4;
}

.post-single__content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid #93c5fd;
    line-height: 1.4;
}

.post-single__content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- 段落 --- */
.post-single__content p {
    margin-bottom: 1.5rem;
}

/* --- リスト --- */
.post-single__content ul,
.post-single__content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.post-single__content ul {
    list-style: none;
}

.post-single__content ul > li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.post-single__content ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563eb;
}

.post-single__content ol > li {
    margin-bottom: 0.5rem;
}

.post-single__content li > ul,
.post-single__content li > ol {
    margin-top: 0.375rem;
    margin-bottom: 0;
}

/* --- 強調 --- */
.post-single__content strong {
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(transparent 60%, #fef08a 60%);
}

.post-single__content em {
    font-style: italic;
    color: #4b5563;
}

/* --- テーブル --- */
.post-single__content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.post-single__content table th,
.post-single__content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.post-single__content table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.post-single__content table tr:nth-child(even) td {
    background: #f9fafb;
}

/* --- 引用 --- */
.post-single__content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #93c5fd;
    background: #eff6ff;
    color: #1e40af;
    border-radius: 0 0.375rem 0.375rem 0;
    font-style: italic;
    line-height: 1.8;
}

.post-single__content blockquote p:last-child {
    margin-bottom: 0;
}

.post-single__content blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-style: normal;
    color: #6b7280;
}

/* --- リンク --- */
.post-single__content a {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-color: #93c5fd;
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
}

.post-single__content a:hover {
    text-decoration-color: #2563eb;
}

/* --- 画像 --- */
.post-single__content img {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.post-single__content figure {
    margin: 1.5rem 0;
}

.post-single__content figcaption {
    font-size: 0.8125rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 0.5rem;
}

/* --- 水平線 --- */
.post-single__content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

/* --- コードブロック --- */
.post-single__content code {
    font-family: "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", monospace;
    font-size: 0.85em;
    color: #d946ef;
    background: #fdf4ff;
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
}

.post-single__content pre {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #1e293b;
    border-radius: 0.5rem;
    overflow-x: auto;
}

.post-single__content pre code {
    color: #e2e8f0;
    background: transparent;
    padding: 0;
}

/* 関連記事 */
.post-single__related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.post-single__related h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
    .hero__title {
        font-size: 1.5rem;
    }

    .search-box {
        flex-direction: column;
    }

    .studio-cards {
        grid-template-columns: 1fr;
    }

    .column-cards {
        grid-template-columns: 1fr;
    }

    .post-single__title {
        font-size: 1.375rem;
    }

    .post-single__lead {
        flex-direction: column;
        gap: 1rem;
    }

    .post-single__lead-image {
        width: 100%;
        order: 1;
    }

    .post-single__lead-text {
        order: 2;
    }

    .post-single__content h2 {
        font-size: 1.1875rem;
        padding: 0.5rem 0 0.5rem 0.75rem;
    }

    .post-single__content h3 {
        font-size: 1.0625rem;
    }

    .info-table th {
        width: 100px;
    }

    .sub-area-nav__list {
        display: flex;
    }

    .studio-detail__title {
        font-size: 1.375rem;
    }

    .trial-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .official-link--cta {
        display: block;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .recommend-card {
        flex-direction: column;
    }

    .recommend-card__rank {
        min-width: auto;
        padding: 0.375rem;
    }
}
