/*
 * Styles for the "Marcel Landing 5" page template (page-marcel.php).
 * Enqueued from page-marcel.php via wp_enqueue_style().
 */

:root {
    --marcel-section-bg: #f0f0f0;
}

html,
body {
    background: #ffffff !important;
}

/* Hide Lightning's auto-injected page-header (empty title bar). Breadcrumb stays visible. */
.page-header,
.page-header-inner,
.page-header-title {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Remove the divider line at the bottom of #site-header and the top of .site-footer */
#site-header,
.site-header {
    border-bottom: 0 none !important;
    box-shadow: none !important;
}
/* The lines you saw were actually borders on the breadcrumb itself */
#breadcrumb,
.breadcrumb {
    border-top: 0 none !important;
    border-bottom: 0 none !important;
    box-shadow: none !important;
}
#site-header::after,
.site-header::after {
    content: none !important;
    display: none !important;
    border: 0 none !important;
    background: none !important;
    height: 0 !important;
}
.site-footer {
    border-top: 0 none !important;
    box-shadow: none !important;
}
.site-footer::before {
    content: none !important;
    display: none !important;
    border: 0 none !important;
    background: none !important;
    height: 0 !important;
}

/* ===== Marcel landing page styles ===== */
.marcel-page {
    font-family: "SF Pro JP", "SF Pro Display", "SF Pro Icons", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #2b2b2b;
    line-height: 1.8;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Match Lightning's .container responsive breakpoints so .marcel-page
   aligns horizontally with the site header, breadcrumb, and footer.
   Lightning uses Bootstrap 4 defaults — max-width caps at 1140px on xl
   and does NOT grow further at wider viewports. */
@media (min-width: 576px)  { .marcel-page { max-width: 540px; } }
@media (min-width: 768px)  { .marcel-page { max-width: 720px; } }
@media (min-width: 992px)  { .marcel-page { max-width: 960px; } }
@media (min-width: 1200px) { .marcel-page { max-width: 1140px; } }

.marcel-page *,
.marcel-page *::before,
.marcel-page *::after {
    box-sizing: border-box;
}

.marcel-page h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2a3a;
    border-left: 6px solid #1a2a3a;
    padding-left: 14px;
    margin: 60px 0 20px;
    line-height: 1.4;
}

.marcel-page h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 30px 0 14px;
}

.marcel-page p {
    font-size: 18px;
    margin: 0 0 14px;
}

.marcel-page .marcel-lead {
    color: #555;
    font-size: 15px;
    margin: -10px 0 24px;
}

/* ----- Hero ----- */
.marcel-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    padding: 40px 0 20px;
}

.marcel-hero-title {
    flex: 1 1 740px;
}

.marcel-hero-title h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    font-size: 48px;
    letter-spacing: -0.04em;
    line-height: 1.3;
}

.marcel-hero-text {
    flex: 1 1 360px;
}

.marcel-hero-text h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    font-size: 36px;
    letter-spacing: -0.04em;
    line-height: 1.3;
}

.marcel-hero-text p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    font-size: 20px;
    letter-spacing: -0.04em;
    line-height: 1.2;
    /*line-height: 1.5;*/
}

.marcel-hero-text .marcel-link {
    color: #c45a1f;
    text-decoration: underline;
    font-size: 14px;
}

.marcel-hero-image {
    flex: 0 0 360px;
    display: flex;
    justify-content: center;
}

.marcel-hero-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
}

/* ----- Menu cards ----- */
.marcel-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 10px;
    padding: 8px 12px 36px;
}

.marcel-menu-card {
    background: #ffffff;
    border: 1px solid #dde4ec;
    border-radius: 10px;
    padding: 24px 20px 0px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.marcel-menu-card-another {
    background: var(--marcel-section-bg);
}

.marcel-menu-card-another h3 {
    margin-bottom: 0px;
}

.marcel-menu-card-another p {
    line-height: 1.2;
    letter-spacing: -0.04em;
    font-weight: 700;
    color: #1a2a3a;
    font-size: 24px;
}

.marcel-menu-card-primary h3 {
    color: #0066cc;
}

.marcel-menu-card-primary .marcel-button {
    background: #3399ff;
}

.marcel-menu-card-primary .marcel-button:hover {
    background: #1f7fdb;
}

.marcel-menu-card-secondary h3 {
    color: #ff6633;
}

.marcel-menu-card .marcel-card-label {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-align: left;
    flex: 0 0 auto;
}

.marcel-menu-card h3 {
    margin-top: 0;
    margin-bottom: 36px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-align: left;
    min-height: 2.6em;
}

.marcel-menu-card p {
    font-size: 14px;
    color: #444;
    flex: 1;
    text-align: left;
}

.marcel-menu-card .marcel-menu-card-detail {
    text-align: left;
    font-size: 22px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 36px;
}

.marcel-menu-card .marcel-tag {
    display: inline-block;
    font-size: 12px;
    color: #888;
    text-align: center;
    margin: 0 0 6px;
    width: 100%;
}

.marcel-button {
    display: inline-block;
    width: 100%;
    background: #ef7a2d;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.marcel-button:hover {
    background: #d96a23;
}

.marcel-button-orange {
    display: block;
    max-width: 320px;
    margin: 24px auto 8px;
    padding: 16px 24px;
    font-size: 17px;
}

.marcel-button-large {
    background: #3399ff;
    display: block;
    max-width: 320px;
    margin: 24px auto 8px;
    padding: 16px 24px;
    font-size: 17px;
}

.marcel-button-large:hover {
    background: #1f7fdb;
}

/* Tight CTA group (button + secondary links).
   Flexbox gap controls spacing so wpautop / individual margins can't bloat it. */
.marcel-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    margin-bottom: 24px;
}
.marcel-cta-group .marcel-button-large {
    margin: 0 auto !important;
}
.marcel-cta-group .marcel-link-center {
    margin: 0 !important;
}
/* Neutralize any <p> wrapper that wpautop may inject around children */
.marcel-cta-group p {
    margin: 0 !important;
    padding: 0 !important;
}

.marcel-link-center {
    display: block;
    text-align: center;
    color: #555;
    font-size: 14px;
    margin-bottom: 30px;
}

.marcel-link-primary {
    color: #0066cc;
    font-weight: 600;
}

.marcel-menu-card .marcel-link-center {
    text-align: left;
}

/* ----- Sub note ----- */
.marcel-note {
    background: #fafbfc;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    padding: 18px 22px;
    font-size: 14px;
    color: #555;
}

.marcel-note p {
    margin: 0 0 6px;
}

.marcel-note p:last-child {
    margin: 0;
}

/* ----- Features ----- */
.marcel-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0 30px;
}

.marcel-feature {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0px;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.marcel-feature .marcel-text {
    padding: 18px;
}

.marcel-feature .marcel-illust {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.marcel-feature .marcel-illust img {
    width: 100%;
    object-fit: contain;
    display: block;
}

.marcel-feature p {
    text-align: left;
    margin: 0;
    line-height: 1.4;
}

.marcel-feature-list {
    list-style: none;
    letter-spacing: -0.04em;
    padding: 0;
    margin: 0 0 24px;
}

.marcel-feature-list li {
    padding: 10px 16px;
    border-bottom: none;
    position: relative;
    line-height: 1.2;
    font-size: 15px;
}

.marcel-feature-list li::before {
    content: none;
}

.marcel-feature-list li strong {
    display: block;
    color: #1a2a3a;
    margin-bottom: 4px;
}

.marcel-msg-list {
    list-style: none;
    padding: 0;
    margin: 0px;
    text-align: left;
    font-weight: 600;
    color: #ef7a2d;
}

.marcel-msg-list.marcel-msg-list-client {
    list-style: none;
    padding: 0;
    margin: 0 40px;
    text-align: left;
    font-weight: 600;
    color: #ef7a2d;
}
.marcel-menu-card.marcel-section-indent + .marcel-menu-card.marcel-section-indent {
    margin-top: 24px;
}
.marcel-msg-list + .marcel-menu-card.marcel-section-indent {
    margin-top: 32px;
}
h2.marcel-section-indent + .marcel-msg-list {
    margin-top: 20px;
}
.marcel-msg-list li {
    padding: 2px 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}


.marcel-service-text {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 14px;
    color: #444;
    letter-spacing: -0.04em;
    line-height: 1.2;
    /* Reserve space for up to 3 lines so all card descriptions occupy
       the same height — keeps .marcel-service-body aligned at the top
       across all .marcel-service cards in a row. */
    min-height: 4.8em;
    flex: 0 0 auto;
}

.marcel-service-text li {
    margin: 0 0 4px;
    line-height: 1.6;
}

.marcel-service-detail {
    font-size: 13px;
    font-weight: 700;
}

.marcel-service-detail h4 {
    font-size: 13px;
    color: #1a2a3a;
    font-weight: 700;
    margin: 0 0 6px;
}

.marcel-service-detail ul {
    list-style: disc;
    margin: 0;
    padding-left: 20px;
    color: #444;
}

.marcel-service-detail ul li {
    margin-bottom: 2px;
    line-height: 1.5;
}

/* ----- Schedule table ----- */
.marcel-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d8dfe7;
    font-size: 15px;
    margin-bottom: 16px;
}

.marcel-table thead th {
    background: #1a2a3a;
    color: #fff;
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
}

.marcel-table th,
.marcel-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e6ebf2;
    vertical-align: top;
}

.marcel-table th {
    background: #f4f7fa;
    width: 28%;
    font-weight: 600;
    color: #1a2a3a;
}

.marcel-table tr:last-child th,
.marcel-table tr:last-child td {
    border-bottom: none;
}

/* ----- Testimonials ----- */
.marcel-testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.marcel-testimonial {
    background: #f8fafc;
    border-left: 4px solid #ef7a2d;
    border-radius: 4px;
    padding: 18px 22px;
    font-size: 14px;
    color: #333;
    line-height: 1.85;
}

.marcel-testimonial.marcel-wide {
    grid-column: 1 / -1;
}

/* ----- Service cards ----- */
.marcel-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.marcel-menu-card-another + .marcel-services {
    margin-top: 24px;
}

.marcel-menu-card-another.marcel-section-indent,
.marcel-services.marcel-section-indent {
    margin-left: 40px;
    margin-right: 40px;
}

.marcel-service {
    border: 1px solid #d8dfe7;
    border-radius: 10px;
    padding: 22px;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
}

.marcel-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.marcel-service-header h3 {
    margin: 0;
    font-size: 18px;
}

.marcel-badge {
    display: inline-block;
    padding: 4px 24px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #ef7a2d;
    white-space: nowrap;
}

.marcel-badge.marcel-badge-black {
    background: #000000;
}

.marcel-badge.marcel-badge-white {
    border: 1px solid #000000;
    background: #ffffff;
    color: #000000;
}

.marcel-badge.marcel-badge-blue {
    background: #4a78a8;
}

.marcel-service-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    font-size: 14px;
}

.marcel-service-body h4 {
    font-size: 20px;
    color: #1a2a3a;
    margin: 0 0 6px;
    font-weight: 700;
}

.marcel-service-body ul {
    margin: 0;
    padding-left: 18px;
    color: #444;
}

.marcel-service-body ul li {
    margin-bottom: 2px;
}

.marcel-service-price {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.marcel-service-price-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3a;
}

.marcel-service-note {
    font-weight: 600;
    color: #ef7a2d;
    letter-spacing: -0.04em;
    line-height: 1.3;
    font-size: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #dde4ec;
}

.marcel-service-full {
    grid-column: 1 / -1;
}

.marcel-service-full .marcel-service-body {
    grid-template-columns: 1fr 1fr;
}

/* ----- Limit notice ----- */
.marcel-limit-notice {
    background: #fff7ee;
    border: 1px solid #f5d8b6;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 14px;
    color: #8a4a13;
    margin-bottom: 20px;
    text-align: center;
}

/* ----- Section dividers ----- */
.marcel-page section,
.marcel-page .marcel-hero,
.marcel-page .marcel-section {
    border: 0 none !important;
    box-shadow: none !important;
    outline: 0 !important;
    background-image: none;
}

.marcel-page h1,
.marcel-page h2,
.marcel-page h3,
.marcel-page h4,
.marcel-page h5,
.marcel-page h6 {
    border: 0 none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    padding: 0 !important;
}

.marcel-page h1::before,
.marcel-page h1::after,
.marcel-page h2::before,
.marcel-page h2::after,
.marcel-page h3::before,
.marcel-page h3::after,
.marcel-page h4::before,
.marcel-page h4::after,
.marcel-page h5::before,
.marcel-page h5::after,
.marcel-page h6::before,
.marcel-page h6::after {
    content: none !important;
    display: none !important;
    border: 0 none !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    width: 0 !important;
    height: 0 !important;
}

.marcel-page section::before,
.marcel-page section::after,
.marcel-page .marcel-section::before,
.marcel-page .marcel-section::after,
.marcel-page .marcel-hero::before,
.marcel-page .marcel-hero::after {
    content: none !important;
    border: 0 none !important;
    background: none !important;
    display: none !important;
}

.marcel-page hr {
    border: 0 none !important;
    background: none !important;
    height: 0 !important;
    display: none !important;
}

.marcel-section {
    padding-top: 8px;
    padding-bottom: 16px;
    background: var(--marcel-section-bg);
}

.marcel-section h2 {
    border-left: 0 none !important;
    padding-left: 0;
    margin-left: 40px;
    margin-top: 20px;
}

.marcel-section-hero {
    background: #ffffff;
}

.marcel-section-indent {
    margin-left: 40px;
    margin-right: 40px;
    text-align: left;
    padding-left: 0;
}

.marcel-section-indent p {
    font-size: 18px;
}

h2.marcel-section-indent {
    font-size: 20px;
    margin-bottom: 4px;
}

.marcel-section-hero h2 {
    margin-bottom: 0;
}

.marcel-section-hero .marcel-lead {
    margin-left: 40px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 20px;
    color: #999999;
}

.marcel-section-hero + .marcel-section {
    padding-top: 0;
}

.marcel-section.marcel-section-spaced {
    padding-top: 20px;
}

/* ----- Info card (course details) ----- */
.marcel-info-card {
/*             background: #fafbfc; */
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    padding: 28px 36px;
    margin: 30px 40px;
}

/* Neutralize any <p> wpautop wraps around row contents */
.marcel-info-card p {
    margin: 0 !important;
    padding: 0 !important;
}

.marcel-info-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 24px;
    line-height: 1.3;
}

.marcel-info-list {
    display: flex;
    flex-direction: column;
}

.marcel-info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    align-items: center;
    padding: 22px 4px 2px;
    border-bottom: 1px solid #bbbbbb;
    font-size: 14px;
    line-height: 1.4;
    color: #2b2b2b;
}

.marcel-info-row:first-child {
/*             border-bottom: 1px solid #bbbbbb; */
}

.marcel-info-row:last-child {
    border-bottom: none;
}

/* ----- Definition list (privacy policy, etc.) ----- */
.definition-txt {
    margin: 24px 0;
}
.definition-txt dl {
    margin: 0 0 24px;
    padding: 0;            /* clear browser default left padding */
}
.definition-txt dt {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a2a3a;
    line-height: 1.6;
    margin: 24px 0 8px;
    padding: 0;
    position: static;
    top: auto;
    text-align: left;
    letter-spacing: normal;
    white-space: normal;
}
.definition-txt dd {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2b2b2b;
    line-height: 1.8;
    letter-spacing: normal;
    margin: 0 0 16px 0;     /* no left indent — align with sibling <p> */
    padding: 0;
    position: static;
    top: auto;
    text-align: left;
    white-space: normal;
}
.definition-txt p {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    padding-left: 0;
    text-align: left;
}
.definition-txt dd p {
    margin: 0 0 8px;
}

/* ----- Default overview (2026kouza page) -----
   Opt-in via <div class="marcel-page default-overview">; scoped so
   other pages using .marcel-hero / .definition-txt are unaffected.
   Hero title and definition list share the same left edge. */
.default-overview .marcel-hero {
    padding: 32px 0 16px;   /* space above the <h1> / below the hero */
}
.default-overview .marcel-hero-title h1 {
    margin: 0 0 24px;
}
.default-overview .marcel-section {
    padding-top: 0;
    background: transparent;   /* override .marcel-section's gray var(--marcel-section-bg) */
}
.default-overview .definition-txt {
    margin-top: 0;
}
.default-overview .definition-txt dt {
    font-size: 22px;
    line-height: 1.5;
    margin: 40px 0 12px;
}
.default-overview .definition-txt dt:first-child {
    margin-top: 0;
}
.default-overview .definition-txt dd {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* ----- List text block (Marcel about page) ----- */
.list-txt {
    margin: 16px 0 24px;
    padding: 0;
}
.list-txt p {
    font-size: 15px;
    font-weight: 400;
    color: #2b2b2b;
    line-height: 1.8;
    letter-spacing: normal;
    margin: 0 0 14px;
    padding: 0;
    position: static;
    top: auto;
    text-align: left;
    white-space: normal;
}
.list-txt ul {
    margin: 0 0 16px 1.5em;
    padding: 0;
    list-style: disc;
}
.list-txt ul li {
    font-size: 15px;
    font-weight: 400;
    color: #2b2b2b;
    line-height: 1.8;
    letter-spacing: normal;
    margin: 0 0 4px;
    padding: 0;
    position: static;
    top: auto;
    text-align: left;
    white-space: normal;
}
.list-txt a {
/*             color: #0066cc; */
/*             text-decoration: underline; */
}

/* ----- CTA text link ----- */
.cta-txtlink {
    margin: 16px 0 24px;
    padding: 0;
}
.cta-txtlink p {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
}
.cta-txtlink a {
/*             color: #0066cc; */
/*             font-weight: 600; */
/*             text-decoration: underline; */
/*             font-size: 16px; */
}

/* ===== 講座運営者 page WP block elements ===== */
/* YouTube embed */
.marcel-page .wp-block-embed {
    margin: 24px 0;
}
.marcel-page .wp-block-embed__wrapper iframe {
    width: 100%;
    max-width: 100%;
}

/* Media + text (profile photo + bio side by side) */
.marcel-page .wp-block-media-text {
    display: grid;
    /* Override inline grid-template-columns: 19% auto.
       320px gives the photo enough width to look prominent;
       1fr lets the text column take the rest.
       align-items: stretch makes both columns equal height,
       so the photo grows to match the bio column. */
    grid-template-columns: 320px 1fr !important;
    gap: 32px;
    margin: 32px 0;
    align-items: stretch;
}
.marcel-page .wp-block-media-text__media {
    margin: 0;
    padding: 0;
    height: 100%;            /* fill the row's full height */
    overflow: hidden;
    border-radius: 8px;
}
.marcel-page .wp-block-media-text__media img {
    width: 100%;
    height: 100%;            /* photo stretches to text column height */
    max-width: none !important; /* override inline style="max-width:250px" */
    object-fit: cover;       /* preserve aspect ratio while filling */
    object-position: center top;
    display: block;
    margin: 0;
}
.marcel-page .wp-block-media-text__content {
    margin: 0;
    padding: 0;              /* text flush to the left of its column */
}
/* Zero the top margin of the first text element so its top edge
   lines up with the top edge of the photo on the left. */
.marcel-page .wp-block-media-text__content > *:first-child,
.marcel-page .wp-block-media-text__content > *:first-child > *:first-child {
    margin-top: 0;
}
/* On narrow screens, stack vertically so both items share the same
   left edge of the page. */
@media (max-width: 760px) {
    .marcel-page .wp-block-media-text {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .marcel-page .wp-block-media-text__media {
        height: auto;
    }
    .marcel-page .wp-block-media-text__media img {
        height: auto;
        max-width: 320px !important;
    }
}
.marcel-page .wp-block-media-text__content {
    font-size: 15px;
    line-height: 1.8;
    color: #2b2b2b;
}
.marcel-page .wp-block-media-text__content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: normal;
    color: #2b2b2b;
    margin: 0 0 14px;
    padding: 0;
    position: static;
    top: auto;
    text-align: left;
    white-space: normal;
}

/* Highlighted name caption (gradient background) */
.marcel-page .hilight-txt {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: normal;
    color: #1a2a3a;
    margin: 0 0 12px;
    padding: 0;
    position: static;
    top: auto;
    text-align: left;
    white-space: normal;
}
.marcel-page .hilight-txt span {
    position: static;
    top: auto;
    white-space: normal;
}

/* VK Blocks border box (with title tab) */
.marcel-page .wp-block-vk-blocks-border-box.vk_borderBox {
    margin: 32px 0;
}
.marcel-page .vk_borderBox .vk_borderBox_body {
    padding: 28px;
    border: 1px solid #d8dfe7;
    border-radius: 8px;
}
.marcel-page .vk_borderBox p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    color: #2b2b2b;
    margin: 0 0 14px;
    padding: 0;
    position: static;
    top: auto;
    text-align: left;
    white-space: normal;
    letter-spacing: normal;
}

/* VK Blocks button */
.marcel-page .wp-block-vk-blocks-button {
    margin: 32px 0;
}
.marcel-page .wp-block-vk-blocks-button.vk_button-align-center {
    text-align: center;
}
.marcel-page .vk_button_link {
    display: inline-block;
    padding: 14px 36px;
    background: #3399ff;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s;
}
.marcel-page .vk_button_link:hover {
    background: #1f7fdb;
}
.marcel-page .vk_button_link_txt {
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    letter-spacing: normal;
}

/* Heading top/bottom rhythm for WP block heading */
.marcel-page h2.wp-block-heading {
    margin: 48px 0 20px;
}

.marcel-info-label {
    color: #555;
}

.marcel-info-value {
    color: #1a2a3a;
}

.marcel-info-value strong {
    font-weight: 700;
    font-size: 16px;
}

/* ----- Responsive ----- */
@media (max-width: 760px) {
    .marcel-page {
        font-size: 15px;
    }

    .marcel-page h2 {
        font-size: 22px;
    }

    .marcel-hero {
        padding: 24px 0 10px;
    }

    .marcel-hero-text h1 {
        font-size: 22px;
    }

    .marcel-hero-image {
        flex: 1 1 100%;
    }

    .marcel-menu-grid,
    .marcel-features,
    .marcel-services,
    .marcel-testimonials {
        grid-template-columns: 1fr;
    }

    .marcel-service-body {
        grid-template-columns: 1fr;
    }

    .marcel-table th {
        width: 36%;
    }

    .marcel-table th,
    .marcel-table td {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* 開催概要: PCは2カラム（項目｜内容）／スマホは1カラムに切り替え */
    .marcel-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
        align-items: start;
    }
    .marcel-info-label {
        font-weight: 700;
    }

    /* Default overview: smaller <dt>/<dd> on phones (dt:first-child keeps margin-top: 0) */
    .default-overview .definition-txt dt {
        font-size: 19px;
        margin: 32px 0 8px;
    }
    .default-overview .definition-txt dd {
        font-size: 15px;
    }
}
