.ol-supervisor {
    --ol-blue: #0b67c9;
    --ol-blue-deep: #064d9d;
    --ol-blue-soft: #eef6ff;
    --ol-orange: #ff7b3d;
    --ol-ink: #1f2d3d;
    --ol-muted: #5e6b78;
    --ol-line: #d9e6f3;
    margin: 24px 0 28px;
    border: 1px solid var(--ol-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 65, 110, 0.08);
    overflow: hidden;
}

.ol-supervisor__brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    min-height: 92px;
    background: linear-gradient(135deg, var(--ol-blue-deep), var(--ol-blue));
    color: #fff;
}

.ol-supervisor__brand-copy {
    padding: 10px 16px;
    align-self: center;
}

.ol-supervisor__brand-kicker,
.ol-supervisor__brand-name,
.ol-supervisor__brand-text,
.ol-supervisor__eyebrow,
.ol-supervisor__name,
.ol-supervisor__meta,
.ol-supervisor__comment-label,
.ol-supervisor__social-label {
    margin: 0;
}

.ol-supervisor__brand-kicker {
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    opacity: .88;
}

.ol-supervisor__brand-name {
    display: inline-block;
    position: relative;
    margin-bottom: 5px;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .03em;
}

.ol-supervisor__brand-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: var(--ol-orange);
}

.ol-supervisor__brand-text {
    max-width: 560px;
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.65;
    opacity: .96;
}

.ol-supervisor__brand-media {
    position: relative;
    min-height: 92px;
    overflow: hidden;
}

.ol-supervisor__brand-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--ol-blue) 0%, rgba(11, 103, 201, .12) 45%, rgba(11, 103, 201, 0) 100%);
    pointer-events: none;
}

.ol-supervisor__brand-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 92px;
    object-fit: cover;
    object-position: center 42%;
    border-radius: unset !important;
    filter: none !important;
    margin: 0 !important;
}

.ol-supervisor__body {
    padding: 10px 16px 0;
}

.ol-supervisor__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--ol-blue-deep);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
}

.ol-supervisor__eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ol-orange);
    box-shadow: 0 0 0 4px rgba(255, 123, 61, .13);
}

.ol-supervisor__profile {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding-bottom: 10px;
}

.ol-supervisor__avatar {
    width: 72px;
    height: 72px;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #d7e8f8;
    overflow: hidden;
    background: #f4f8fc;
}

.ol-supervisor__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
}

.ol-supervisor__name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 10px;
}

.ol-supervisor__name {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ol-ink);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.ol-supervisor__badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--ol-blue);
    color: #fff;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}

.ol-supervisor__meta {
    margin-top: 2px;
    color: var(--ol-muted);
    font-size: 13px;
    line-height: 1.55;
}

/*
 * 折りたたみ領域
 * details/summary を使うのでJS不要。初期状態は閉じたまま。
 */
.ol-supervisor__details {
    margin: 0 -24px;
    border-top: 1px solid #e8eef5;
}

.ol-supervisor__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 24px;
    cursor: pointer;
    list-style: none;
    background: #f8fbff;
    color: var(--ol-blue-deep);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    transition: background-color .15s ease, color .15s ease;
}

.ol-supervisor__toggle::-webkit-details-marker {
    display: none;
}

.ol-supervisor__toggle:hover,
.ol-supervisor__toggle:focus-visible {
    background: var(--ol-blue-soft);
}

.ol-supervisor__toggle:focus-visible {
    outline: 2px solid rgba(11, 103, 201, .35);
    outline-offset: -2px;
}

.ol-supervisor__toggle-label--close {
    display: none;
}

.ol-supervisor__details[open] .ol-supervisor__toggle-label--open {
    display: none;
}

.ol-supervisor__details[open] .ol-supervisor__toggle-label--close {
    display: inline;
}

.ol-supervisor__toggle-icon {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
}

.ol-supervisor__details[open] .ol-supervisor__toggle-icon {
    transform: translateY(2px) rotate(225deg);
}

.ol-supervisor__details-content {
    padding: 18px 24px 20px;
}

.ol-supervisor__about {
    color: #364656;
    font-size: 14px;
    line-height: 1.8;
}

.ol-supervisor__about,
.ol-supervisor__about p {
    margin: 0;
}

.ol-supervisor__about p + p {
    margin-top: 8px;
}

.ol-supervisor__profile-link {
    margin: 8px 0 0;
    font-size: 13px;
}

.ol-supervisor__profile-link a {
    color: var(--ol-blue-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ol-supervisor__comment {
    position: relative;
    margin-top: 16px;
    padding: 14px 16px 14px 18px;
    border-left: 4px solid var(--ol-orange);
    border-radius: 10px;
    background: #fff8f3;
}

.ol-supervisor__comment-label {
    margin-bottom: 6px;
    color: #8a451e;
    font-size: 12px;
    font-weight: 800;
}

.ol-supervisor__comment-text,
.ol-supervisor__comment-text p {
    margin: 0;
    color: #3f4b55;
    font-size: 14px;
    line-height: 1.85;
}

.ol-supervisor__comment-text p + p {
    margin-top: 8px;
}

.ol-supervisor__social {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 16px;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #edf1f5;
}

.ol-supervisor__social-label {
    color: #4d5c69;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ol-supervisor__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ol-supervisor__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #d3e0ec;
    border-radius: 999px;
    background: #fff;
    color: #314355;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}

.ol-supervisor__social-link:hover,
.ol-supervisor__social-link:focus-visible {
    transform: translateY(-1px);
    border-color: #9cbfe0;
    background: var(--ol-blue-soft);
    color: var(--ol-blue-deep);
}

.ol-supervisor__social-link--youtube,
.ol-supervisor__social-link--tiktok {
    border-color: rgba(255, 123, 61, .42);
}

@media (max-width: 767px) {
    .ol-supervisor {
        margin: 20px 0 24px;
        border-radius: 14px;
    }

    .ol-supervisor__brand {
        grid-template-columns: minmax(0, 1fr) 112px;
        min-height: 96px;
    }

    .ol-supervisor__brand-copy {
        padding: 13px 12px 13px 15px;
    }

    .ol-supervisor__brand-kicker {
        font-size: 9px;
    }

    .ol-supervisor__brand-name {
        margin-bottom: 3px;
        font-size: 19px;
    }

    .ol-supervisor__brand-name::after {
        width: 44px;
        height: 3px;
    }

    .ol-supervisor__brand-text {
        margin-top: 7px;
        font-size: 10px;
        line-height: 1.45;
    }

    .ol-supervisor__brand-media,
    .ol-supervisor__brand-media img {
        min-height: 96px;
    }

    .ol-supervisor__brand-media img {
        object-position: 48% center;
    }

    .ol-supervisor__body {
        padding: 14px 15px 0;
    }

    .ol-supervisor__eyebrow {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .ol-supervisor__profile {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 11px;
        padding-bottom: 13px;
    }

    .ol-supervisor__avatar {
        width: 58px;
        height: 58px;
    }

    .ol-supervisor__name {
        font-size: 16px;
    }

    .ol-supervisor__badge {
        min-height: 22px;
        padding: 2px 7px;
        font-size: 9px;
    }

    .ol-supervisor__meta {
        font-size: 11px;
        line-height: 1.5;
    }

    .ol-supervisor__details {
        margin: 0 -15px;
    }

    .ol-supervisor__toggle {
        min-height: 44px;
        padding: 9px 15px;
        font-size: 12px;
    }

    .ol-supervisor__details-content {
        padding: 15px 15px 17px;
    }

    .ol-supervisor__about,
    .ol-supervisor__about p,
    .ol-supervisor__comment-text,
    .ol-supervisor__comment-text p {
        font-size: 13px;
        line-height: 1.72;
    }

    .ol-supervisor__comment {
        margin-top: 14px;
        padding: 11px 12px;
    }

    .ol-supervisor__social {
        display: block;
        margin-top: 14px;
        padding-top: 13px;
    }

    .ol-supervisor__social-label {
        margin-bottom: 8px;
        white-space: normal;
    }

    .ol-supervisor__social-links {
        flex-wrap: nowrap;
        gap: 6px;
        margin: 0 -15px;
        padding: 0 15px 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ol-supervisor__social-links::-webkit-scrollbar {
        display: none;
    }

    .ol-supervisor__social-link {
        flex: 0 0 auto;
    }
}
