
/* =========================================
   WYSIWYG (WordPress エディタ出力用)
   ========================================= */
.wysiwyg h2 {
    font-size: 1.5rem;
    margin: 2em 0 0.8em;
    padding-bottom: 0.4em;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}
.wysiwyg h3 {
    font-size: 1.25rem;
    margin: 1.8em 0 0.6em;
    color: var(--text-color);
}
.wysiwyg h4 {
    font-size: 1.1rem;
    margin: 1.5em 0 0.5em;
}
.wysiwyg p {
    margin: 0 0 1.2em;
    line-height: 1.9;
}
.wysiwyg p:empty,
.entry-content p:empty,
.practice-single__body p:empty {
    min-height: 1.6em;
    margin-bottom: 1.2em;
}
.wysiwyg ul {
    list-style: disc;
    padding-left: 1.5em;
    margin: 0 0 1.2em;
}
.wysiwyg ol {
    list-style: decimal;
    padding-left: 1.5em;
    margin: 0 0 1.2em;
}
.wysiwyg li {
    margin-bottom: 0.4em;
    line-height: 1.8;
}
.wysiwyg blockquote {
    border-left: 4px solid var(--primary);
    margin: 1.5em 0;
    padding: 0.8em 1.2em;
    background: rgba(63, 142, 237, 0.06);
    color: var(--text-muted);
}
.wysiwyg img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1em 0;
}
.wysiwyg table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
}
.wysiwyg th,
.wysiwyg td {
    border: 1px solid #ddd;
    padding: 0.6em 0.8em;
    text-align: left;
}
.wysiwyg th {
    background: var(--bg);
    font-weight: 600;
}
.wysiwyg a {
    color: var(--primary);
    text-decoration: underline;
}
.wysiwyg a:hover {
    opacity: 0.7;
}
.wysiwyg .wp-block-image {
    margin: 1.5em 0;
}
.wysiwyg .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.wysiwyg .alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}
.wysiwyg .alignright {
    float: right;
    margin: 0 0 1em 1.5em;
}

.arrow-down {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.4rem;
    color: var(--primary);
}

.wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.wpcf7-acceptance{
    display: block;
    margin-bottom: 10px;
}

/* チェックボックス（プライバシーポリシー同意）の横並びレイアウト */
.contact-form-container .wpcf7-acceptance input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .contact-form-container .wpcf7-acceptance label {
    display: flex;
    align-items: center;
    font-weight: normal;
  }
  .contact-form-container .wpcf7-acceptance .wpcf7-list-item-label {
    vertical-align: middle;
  }

/* =========================================
   Common Utilities
   ========================================= */

/* .page-hero は .page-header-block に統合済み（クラス名統一） */

/* Section Header (タイトル + もっと見るリンク行) */
.section-header {
    max-width: 1000px;
    margin: 0 auto 20px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header--hero {
    justify-content: flex-end;
}

.link-more--white {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: color 0.25s, letter-spacing 0.25s, opacity 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.link-more--white:hover {
    color: #fff;
    letter-spacing: 0.12em;
    opacity: 1;
}

.section-header .sec-title {
    margin-bottom: 0;
}

/* More Link */
.link-more {
    color: var(--primary);
    font-weight: bold;
    color:#fff;
}

/* More Link Wrapper */
.section-more {
    text-align: center;
    margin-top: 20px;
}

/* Pagination Wrapper */
.pagination-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 40px;
}

.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #4b6270;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.pagination-wrap a.page-numbers:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(63, 142, 237, 0.25);
}

.pagination-wrap .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(63, 142, 237, 0.3);
    cursor: default;
}

.pagination-wrap .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #94a3b8;
}

.pagination-wrap .page-numbers i {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .pagination-wrap {
        gap: 4px;
        margin-top: 28px;
    }
    .pagination-wrap .page-numbers {
        width: 36px;
        height: 36px;
        padding: 0;
        font-size: 0.9rem;
    }
}


/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.85;
    color: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    color: #fff;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-ghost:hover {
    color: #fff;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 20px;
}

.btn-lg {
    padding: 15px 50px;
    font-size: 1.2rem;
}

.btn-cta-pill {
    padding: 14px 40px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(135, 206, 235, 0.4);
}

.btn-cta-pill i {
    margin-right: 8px;
}

/* Header Contact Button */
.btn-contact {
    background: var(--accent);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(50, 128, 221, 0.4);
    font-size: 0.9rem;
}

.btn-contact:hover {
    opacity: 0.85;
}

/* CTA Buttons (primary/purple variants used in manual pages, admission etc.) */
.btn-cta {
    background: var(--primary);
    color: #fff;
    padding: 16px 48px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.4);
    font-size: 1.05rem;
    transition: opacity 0.2s;
}

.btn-cta:hover {
    opacity: 0.85;
    color: #fff;
}

.btn-cta--sm {
    padding: 10px 30px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(135, 206, 235, 0.3);
}

.btn-purple {
    background: #ba68c8;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: opacity 0.2s;
}

.btn-purple:hover {
    opacity: 0.85;
    color: #fff;
}

.btn-purple--sm {
    padding: 10px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* =========================================
   Article / Post
   ========================================= */
.article-body {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.article-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.article-meta .news-tag {
    margin-left: 15px;
}

.article-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
}

.article-thumb {
    margin-bottom: 30px;
}

.article-thumb img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.article-pdf-section {
    margin-top: 40px;
    padding: 25px 30px;
    background: #f9f9f9;
    border-radius: 12px;
}

.article-pdf-heading {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.article-pdf-heading i {
    color: #e65c00;
    margin-right: 8px;
}

.article-pdf-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2;
}

.article-pdf-list a {
    color: #e65c00;
    text-decoration: none;
}

.article-pdf-list a:hover {
    text-decoration: underline;
}

.article-pdf-list a i {
    margin-right: 6px;
}

.article-pdf-list .pdf-list-disabled {
    color: #333;
}

.article-pdf-list .pdf-list-disabled i {
    color: #e65c00;
    margin-right: 6px;
}

.article-back {
    margin-top: 50px;
    text-align: center;
}


/* =========================================
   Card body text helpers
   ========================================= */
.text-body-lead {
    font-size: 1rem;
    line-height: 2;
    color: #444;
}

.text-body-lead--mb {
    margin-bottom: 20px;
}

.text-body-lead--mb-sm {
    margin-bottom: 15px;
}

.text-body-note {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.empty-state-note {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.note-list {
    font-size: 0.95rem;
    color: #555;
    padding-left: 20px;
    margin-bottom: 20px;
}

.cta-center-wrap {
    text-align: center;
    margin-top: 20px;
}

.cta-wrap-mt {
    margin-top: 15px;
}

.cta-wrap-mt--lg {
    margin-top: 20px;
}


/* =========================================
   Utility
   ========================================= */
.btn i {
    margin-right: 10px;
}

.col-w-20 { width: 20%; }
.col-w-30 { width: 30%; }


/* =========================================
   Scroll Rise Effect — Responsive
   ========================================= */
@media (max-width: 768px) {
    .search-hero {
        min-height: 100svh; /* モバイルではsvh使用（ブラウザUI除く） */
        height: auto;
    }

    /* .front-page-main の clip-path/transform は JS が制御 */

    .section-header {
        margin: 30px auto 0;
    }

    .page-main-rise {
        border-radius: 20px 20px 0 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

}
