.gcd-character-detail,
.gcd-character-grid,
.gcd-character-card {
    box-sizing: border-box;
}

.gcd-character-detail *,
.gcd-character-grid *,
.gcd-character-card * {
    box-sizing: border-box;
}

body.single-gcd_character .eye-catch,
body.single-gcd_character .entry-thumbnail,
body.single-gcd_character .article-header .post-thumbnail,
body.single-gcd_character .article-header .wp-post-image,
body.single-gcd_character .post-thumbnail:not(.gcd-hero__image *) {
    display: none !important;
}

.gcd-hero {
    display: grid;
    grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin: 0 0 28px;
}

.gcd-hero__image img,
.gcd-character-card__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.gcd-title {
    margin: 0 0 10px;
    line-height: 1.25;
}

.gcd-summary {
    margin: 0 0 16px;
    font-size: 1.02em;
    line-height: 1.7;
}

.gcd-section {
    margin: 28px 0;
}

.gcd-section-title {
    margin: 0 0 14px;
    padding-left: 12px;
    border-left: 4px solid currentColor;
    line-height: 1.35;
}

.gcd-table-wrap {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.gcd-info-table,
.gcd-stat-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.gcd-info-table th,
.gcd-info-table td,
.gcd-stat-table th,
.gcd-stat-table td {
    border: 0;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 12px;
    vertical-align: top;
}

.gcd-info-table tr:last-child th,
.gcd-info-table tr:last-child td,
.gcd-stat-table tr:last-child th,
.gcd-stat-table tr:last-child td {
    border-bottom: 0;
}

.gcd-info-table th:last-child,
.gcd-info-table td:last-child,
.gcd-stat-table th:last-child,
.gcd-stat-table td:last-child {
    border-right: 0;
}

.gcd-info-table th,
.gcd-stat-table th {
    width: 32%;
    background: #f8fafc;
    font-weight: 700;
    text-align: left;
}

.gcd-skill-list {
    display: grid;
    gap: 14px;
}

.gcd-skill-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.gcd-skill-card__type {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1.2;
    background: #f9fafb;
}

.gcd-skill-card__name {
    margin: 0 0 8px;
    font-size: 1.1em;
}

.gcd-skill-card__type + .gcd-skill-card__name {
    margin-top: 10px;
}

.gcd-skill-card__desc p {
    margin: 0 0 0.8em;
    line-height: 1.75;
}

.gcd-skill-card__desc p:last-child {
    margin-bottom: 0;
}

.gcd-skill-tabs {
    display: grid;
    gap: 0;
}

.gcd-skill-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 -1px;
    position: relative;
    z-index: 1;
}

.gcd-skill-tabs__button {
    appearance: none;
    border: 1px solid #e5e7eb;
    border-bottom-color: #e5e7eb;
    border-radius: 10px 10px 0 0;
    padding: 9px 14px;
    background: #f8fafc;
    color: inherit;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.gcd-skill-tabs__button:hover,
.gcd-skill-tabs__button:focus {
    background: #fff;
}

.gcd-skill-tabs__button.is-active {
    background: #fff;
    border-bottom-color: #fff;
}

.gcd-skill-tabs__panels {
    border: 1px solid #e5e7eb;
    border-radius: 0 12px 12px 12px;
    background: #fff;
    overflow: hidden;
}

.gcd-skill-tabs__panel {
    padding: 0;
}

.gcd-skill-tabs__panel .gcd-skill-card {
    border: 0;
    border-radius: 0;
}

.gcd-character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.gcd-character-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.gcd-character-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gcd-character-card__body {
    padding: 12px;
}

.gcd-character-card__title {
    margin: 0 0 8px;
    font-size: 1.05em;
    line-height: 1.35;
}

.gcd-character-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
}

.gcd-character-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    font-size: 0.82em;
    line-height: 1.2;
    background: #f9fafb;
}

.gcd-character-card__summary {
    margin: 0;
    font-size: 0.92em;
    line-height: 1.6;
}

.gcd-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
}

.gcd-no-image--small {
    min-height: 160px;
    border-radius: 0;
}

.gcd-empty {
    margin: 1em 0;
}

@media (max-width: 700px) {
    .gcd-hero {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gcd-hero__image {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }

    .gcd-info-table th,
    .gcd-stat-table th {
        width: 38%;
    }

    .gcd-character-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gcd-skill-tabs__nav {
        gap: 4px;
    }

    .gcd-skill-tabs__button {
        flex: 1 1 calc(50% - 4px);
        border-radius: 9px;
        padding: 8px 10px;
    }

    .gcd-skill-tabs__button.is-active {
        border-bottom-color: #e5e7eb;
    }

    .gcd-skill-tabs__panels {
        border-radius: 12px;
    }
}

@media (max-width: 420px) {
    .gcd-character-grid {
        grid-template-columns: 1fr;
    }
}

/* v0.1.2: テーマ側のtable余白・罫線指定で下部に白い隙間が出る問題を抑制 */
.gcd-table-wrap table {
    margin: 0 !important;
    margin-bottom: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #fff;
}

.gcd-table-wrap tbody,
.gcd-table-wrap tr {
    border: 0 !important;
}

.gcd-table-wrap tr:last-child th,
.gcd-table-wrap tr:last-child td {
    border-bottom: 0 !important;
}

.gcd-free-content {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    overflow: hidden;
}

.gcd-free-content > *:first-child {
    margin-top: 0;
}

.gcd-free-content > *:last-child {
    margin-bottom: 0;
}

.gcd-free-content table {
    width: 100%;
    margin-bottom: 0;
}

.gcd-free-tabs {
    display: grid;
    gap: 0;
}

.gcd-free-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 -1px;
    position: relative;
    z-index: 1;
}

.gcd-free-tabs__button {
    appearance: none;
    border: 1px solid #e5e7eb;
    border-bottom-color: #e5e7eb;
    border-radius: 10px 10px 0 0;
    padding: 9px 14px;
    background: #f8fafc;
    color: inherit;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.gcd-free-tabs__button:hover,
.gcd-free-tabs__button:focus {
    background: #fff;
}

.gcd-free-tabs__button.is-active {
    background: #fff;
    border-bottom-color: #fff;
}

.gcd-free-tabs__panels {
    border: 1px solid #e5e7eb;
    border-radius: 0 12px 12px 12px;
    background: #fff;
    overflow: hidden;
}

.gcd-free-tabs__panel {
    padding: 0;
}

.gcd-free-tabs__panel .gcd-free-content {
    border: 0;
    border-radius: 0;
}

@media (max-width: 700px) {
    .gcd-free-tabs__nav {
        gap: 4px;
    }

    .gcd-free-tabs__button {
        flex: 1 1 calc(50% - 4px);
        border-radius: 9px;
        padding: 8px 10px;
    }

    .gcd-free-tabs__button.is-active {
        border-bottom-color: #e5e7eb;
    }

    .gcd-free-tabs__panels {
        border-radius: 12px;
    }
}

/* v0.1.3: フリースペースのテーブル入力・分割入力・スマホタブ折返し抑制 */
.gcd-free-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.gcd-free-table th,
.gcd-free-table td {
    border: 0;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 12px;
    vertical-align: top;
}

.gcd-free-table tr:last-child th,
.gcd-free-table tr:last-child td {
    border-bottom: 0;
}

.gcd-free-table th:last-child,
.gcd-free-table td:last-child {
    border-right: 0;
}

.gcd-free-table th {
    width: 32%;
    background: #f8fafc;
    font-weight: 700;
    text-align: left;
}

.gcd-free-table td > *:first-child {
    margin-top: 0;
}

.gcd-free-table td > *:last-child {
    margin-bottom: 0;
}

.gcd-free-split {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    align-items: stretch;
}

.gcd-free-split__item {
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 360px;
    display: flex;
}

.gcd-free-content--split {
    width: 100%;
    text-align: center;
}

@media (max-width: 700px) {
    .gcd-skill-tabs__nav,
    .gcd-free-tabs__nav {
        flex-wrap: nowrap;
        gap: 2px;
        width: 100%;
    }

    .gcd-skill-tabs__button,
    .gcd-free-tabs__button {
        flex: 1 1 0;
        min-width: 0;
        padding: 7px 4px;
        font-size: 0.78em;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }

    .gcd-free-table th {
        width: 38%;
    }

    .gcd-free-split {
        gap: 10px;
    }

    .gcd-free-split__item {
        flex-basis: 46%;
        min-width: 140px;
    }
}

@media (max-width: 420px) {
    .gcd-free-split__item {
        flex-basis: 100%;
        min-width: 0;
        max-width: none;
    }
}

/* v0.1.4: スキル画像・スキル情報行・分割ブロック枠線ON/OFF */
.gcd-skill-card__main {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.gcd-skill-card__image {
    flex: 0 0 96px;
    width: 96px;
}

.gcd-skill-card__image img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.gcd-skill-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.gcd-skill-info-list {
    margin-top: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.gcd-skill-info-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 36px;
    padding: 7px 10px;
    border-bottom: 1px solid #e5e7eb;
}

.gcd-skill-info-row:last-child {
    border-bottom: 0;
}

.gcd-skill-info-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: #4b5563;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.gcd-skill-info-row__label {
    font-weight: 700;
    min-width: 0;
}

.gcd-skill-info-row__value {
    color: #00a0e9;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.gcd-free-split--no-border .gcd-free-content--split {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 8px;
}

@media (max-width: 700px) {
    .gcd-skill-tabs__nav,
    .gcd-free-tabs__nav {
        flex-wrap: nowrap !important;
        gap: 1px;
        overflow: hidden;
    }

    .gcd-skill-tabs__button,
    .gcd-free-tabs__button {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: none;
        padding-left: 3px;
        padding-right: 3px;
        font-size: 0.72em;
    }

    .gcd-skill-card__main {
        gap: 10px;
    }

    .gcd-skill-card__image {
        flex-basis: 72px;
        width: 72px;
    }

    .gcd-skill-card__image img {
        width: 72px;
        height: 72px;
        border-radius: 10px;
    }

    .gcd-skill-info-row {
        grid-template-columns: 26px minmax(0, 1fr) auto;
        gap: 6px;
        padding: 7px 8px;
        font-size: 0.92em;
    }
}

@media (max-width: 420px) {
    .gcd-skill-card__main {
        display: block;
    }

    .gcd-skill-card__image {
        width: 64px;
        margin: 0 0 10px;
    }

    .gcd-skill-card__image img {
        width: 64px;
        height: 64px;
    }
}

/* v0.1.5: スキル画像を見出し横へ移動、情報行を説明の上へ */
.gcd-skill-card__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0 0 7px;
    border-bottom: 3px solid #2f4ca3;
}

.gcd-skill-card__heading .gcd-skill-card__image {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85em;
    height: 1.85em;
    margin: 0;
}

.gcd-skill-card__heading .gcd-skill-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
    border-radius: 6px;
    background: transparent;
}

.gcd-skill-card__heading .gcd-skill-card__name {
    margin: 0;
    font-size: 1.15em;
    line-height: 1.35;
    font-weight: 700;
}

.gcd-skill-card__type + .gcd-skill-card__heading {
    margin-top: 10px;
}

.gcd-skill-card__body > .gcd-skill-info-list {
    margin: 0 0 14px;
}

.gcd-skill-card__heading + .gcd-skill-info-list {
    margin-top: 0;
}

.gcd-skill-card__desc {
    margin-top: 0;
}

@media (max-width: 700px) {
    .gcd-skill-card__heading {
        gap: 7px;
        padding-bottom: 6px;
        margin-bottom: 10px;
        border-bottom-width: 2px;
    }

    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 1.75em;
        height: 1.75em;
    }

    .gcd-skill-card__heading .gcd-skill-card__name {
        font-size: 1.08em;
    }
}

@media (max-width: 420px) {
    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 1.65em;
        height: 1.65em;
        margin: 0;
    }
}


/* v0.1.6: スキル見出しの下線・枠線効果をOFFにできるように調整 */
.gcd-skills-section--no-heading-line .gcd-skill-card__heading {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.gcd-skills-section--no-heading-line .gcd-skill-card__heading::after {
    display: none !important;
}


/* v0.1.7: フリースペースのテーブル入力を参考画像寄りのデザインに調整 */
.gcd-free-section--table {
    padding: 26px 24px 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, #f2f2f2 0%, #ececec 100%);
    border: 1px solid #dddddd;
    overflow: hidden;
}

.gcd-free-section--table .gcd-section-title {
    margin: 0 0 16px;
    padding-left: 0;
    border-left: 0;
    font-size: 1.55em;
    font-weight: 800;
    line-height: 1.2;
}

.gcd-free-section--table .gcd-free-tabs {
    gap: 14px;
}

.gcd-free-section--table .gcd-free-tabs__nav {
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0 auto 4px;
    padding: 5px;
    width: fit-content;
    max-width: 100%;
    background: #292929;
    border: 1px solid #707070;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 2px 7px rgba(0,0,0,0.12);
}

.gcd-free-section--table .gcd-free-tabs__button {
    flex: 0 1 auto;
    min-width: 92px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
}

.gcd-free-section--table .gcd-free-tabs__button:hover,
.gcd-free-section--table .gcd-free-tabs__button:focus {
    background: rgba(255,255,255,0.08);
}

.gcd-free-section--table .gcd-free-tabs__button.is-active {
    background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
    color: #2f3f86;
    box-shadow: inset 0 0 0 1px #b7b7b7, 0 1px 2px rgba(0,0,0,0.12);
}

.gcd-free-section--table .gcd-free-tabs__panels {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.gcd-free-section--table .gcd-free-tabs__panel {
    padding: 0;
}

.gcd-free-section--table .gcd-free-table-wrap {
    border: 1px solid #cfcfcf;
    border-radius: 0;
    background: #f7f7f7;
}

.gcd-free-section--table .gcd-free-table th,
.gcd-free-section--table .gcd-free-table td {
    border-right: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    padding: 8px 10px;
    line-height: 1.6;
}

.gcd-free-section--table .gcd-free-table th {
    width: 96px;
    min-width: 96px;
    background: #666666;
    color: #ffffff;
    font-weight: 800;
    text-align: center;
    vertical-align: middle;
    letter-spacing: 0.01em;
    word-break: break-word;
}

.gcd-free-section--table .gcd-free-table td {
    background: rgba(255,255,255,0.65);
    color: #444444;
}

.gcd-free-section--table .gcd-free-table td p,
.gcd-free-section--table .gcd-free-table td li {
    line-height: 1.75;
}

.gcd-free-section--table .gcd-free-content--tab,
.gcd-free-section--table .gcd-free-content {
    border: 0;
    background: transparent;
    padding: 0;
}

@media (max-width: 700px) {
    .gcd-free-section--table {
        padding: 18px 12px 14px;
        border-radius: 20px;
    }

    .gcd-free-section--table .gcd-section-title {
        margin-bottom: 12px;
        font-size: 1.3em;
    }

    .gcd-free-section--table .gcd-free-tabs {
        gap: 10px;
    }

    .gcd-free-section--table .gcd-free-tabs__nav {
        gap: 4px;
        padding: 4px;
        width: 100%;
    }

    .gcd-free-section--table .gcd-free-tabs__button {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 8px 8px;
        font-size: 0.78em;
    }

    .gcd-free-section--table .gcd-free-table th,
    .gcd-free-section--table .gcd-free-table td {
        padding: 7px 8px;
    }

    .gcd-free-section--table .gcd-free-table th {
        width: 84px;
        min-width: 84px;
        font-size: 0.95em;
    }

    .gcd-free-section--table .gcd-free-table td {
        font-size: 0.95em;
    }
}


/* v0.1.8: フリースペースのテーブル入力デザインを白基調・崩れにくい表示へ調整 */
.gcd-free-section--table {
    background: #ffffff;
    border: 1px solid #d8d8d8;
}

.gcd-free-section--table .gcd-section-title {
    position: relative;
    display: block;
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 3px solid #ff5ea8;
    font-size: 1.8em;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #1f2937;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.gcd-free-section--table .gcd-free-tabs__nav {
    margin: 0 auto 18px;
}

.gcd-free-section--table .gcd-free-tabs__button {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.2;
}

.gcd-free-section--table .gcd-free-table th,
.gcd-free-section--table .gcd-free-table td {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.gcd-free-section--table .gcd-free-table th {
    line-height: 1.35;
}

.gcd-free-section--table .gcd-free-table td {
    line-height: 1.75;
}

.gcd-free-section--table .gcd-free-table td > * {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 700px) {
    .gcd-free-section--table {
        padding: 16px 10px 12px;
        border-radius: 18px;
        background: #ffffff;
    }

    .gcd-free-section--table .gcd-section-title {
        margin-bottom: 14px;
        padding-bottom: 10px;
        font-size: 1.45em;
        line-height: 1.4;
    }

    .gcd-free-section--table .gcd-free-tabs__nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap !important;
        gap: 6px;
        margin-bottom: 14px;
        border-radius: 20px;
    }

    .gcd-free-section--table .gcd-free-tabs__button {
        flex: 1 1 calc(33.333% - 6px) !important;
        min-width: 88px !important;
        max-width: none;
        padding: 8px 10px;
        font-size: 0.82em;
        line-height: 1.25;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: break-word;
        text-align: center;
    }

    .gcd-free-section--table .gcd-free-table th {
        width: 78px;
        min-width: 78px;
        font-size: 0.95em;
        line-height: 1.3;
    }

    .gcd-free-section--table .gcd-free-table td {
        font-size: 0.95em;
        line-height: 1.7;
    }
}

@media (max-width: 420px) {
    .gcd-free-section--table .gcd-free-tabs__button {
        flex-basis: calc(50% - 6px) !important;
        min-width: 0 !important;
        font-size: 0.8em;
    }

    .gcd-free-section--table .gcd-section-title {
        font-size: 1.32em;
    }
}


/* v0.1.9: テーブル入力のタイトルを枠外化・下罫線補正・スマホタブ6個改行 */
.gcd-free-section--table {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

.gcd-free-section--table .gcd-section-title {
    margin: 0 0 12px !important;
    padding: 0 0 10px !important;
    border-left: 0 !important;
    border-bottom: 3px solid #ff5ea8 !important;
    background: transparent !important;
}

.gcd-free-section--table .gcd-free-table-box {
    padding: 22px 24px 24px;
    border: 1px solid #d8d8d8;
    border-radius: 28px;
    background: #ffffff;
    overflow: visible;
}

.gcd-free-section--table .gcd-free-table-wrap {
    overflow: visible !important;
    border-bottom: 1px solid #cfcfcf !important;
    box-shadow: inset 0 -1px 0 #cfcfcf;
}

.gcd-free-section--table .gcd-free-table {
    border-bottom: 1px solid #cfcfcf !important;
}

.gcd-free-section--table .gcd-free-table tr:last-child th,
.gcd-free-section--table .gcd-free-table tr:last-child td {
    border-bottom: 1px solid #cfcfcf !important;
}

.gcd-free-section--table .gcd-free-table tr:last-child th {
    box-shadow: inset 0 -1px 0 #cfcfcf;
}

.gcd-free-section--table .gcd-free-table tr:last-child td {
    box-shadow: inset 0 -1px 0 #cfcfcf;
}

@media (max-width: 700px) {
    .gcd-free-section--table .gcd-free-table-box {
        padding: 16px 10px 12px;
        border-radius: 18px;
    }

    .gcd-free-section--table .gcd-free-tabs__nav {
        flex-wrap: wrap !important;
        overflow: visible !important;
        justify-content: center;
        gap: 5px;
        width: 100%;
        border-radius: 18px;
    }

    .gcd-free-section--table .gcd-free-tabs__button {
        flex: 0 0 calc(16.666% - 5px) !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 7px 3px !important;
        font-size: 0.72em !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .gcd-free-section--table .gcd-free-tabs__button {
        flex: 0 0 calc(16.666% - 5px) !important;
        min-width: 0 !important;
        font-size: 0.68em !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .gcd-free-section--table .gcd-section-title {
        font-size: 1.3em !important;
    }
}


/* v0.2.0: テーブル入力タイトルの装飾被り防止・スキル名見出し装飾リセット */
.gcd-free-section--table > .gcd-section-title,
.gcd-character-detail .gcd-free-section--table > .gcd-section-title {
    display: block !important;
    width: auto !important;
    margin: 0 0 12px !important;
    padding: 0 0 8px !important;
    border: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 3px solid #ff5ea8 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    line-height: 1.35 !important;
}

.gcd-free-section--table > .gcd-section-title::before,
.gcd-free-section--table > .gcd-section-title::after,
.gcd-character-detail .gcd-free-section--table > .gcd-section-title::before,
.gcd-character-detail .gcd-free-section--table > .gcd-section-title::after {
    content: none !important;
    display: none !important;
}

.gcd-free-section--table .gcd-free-table-box {
    margin-top: 0 !important;
}

.gcd-free-section--table .gcd-free-tabs__nav {
    margin-top: 0 !important;
}

/* テーマ側のh3見出し装飾がスキル名に乗るのを防ぐ */
.gcd-skill-card__heading,
.gcd-character-detail .gcd-skill-card__heading {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
}

.gcd-skill-card__heading::before,
.gcd-skill-card__heading::after,
.gcd-character-detail .gcd-skill-card__heading::before,
.gcd-character-detail .gcd-skill-card__heading::after {
    content: none !important;
    display: none !important;
}

.gcd-skill-card__heading .gcd-skill-card__name,
.gcd-character-detail .gcd-skill-card__heading .gcd-skill-card__name {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: inherit !important;
    line-height: 1.35 !important;
}

.gcd-skill-card__heading .gcd-skill-card__name::before,
.gcd-skill-card__heading .gcd-skill-card__name::after,
.gcd-character-detail .gcd-skill-card__heading .gcd-skill-card__name::before,
.gcd-character-detail .gcd-skill-card__heading .gcd-skill-card__name::after {
    content: none !important;
    display: none !important;
}


/* v0.2.1: テーブル入力見出しを通常セクション見出しに統一、最下部罫線を単線化、スキル見出し下線追加 */
.gcd-free-section--table > .gcd-section-title,
.gcd-character-detail .gcd-free-section--table > .gcd-section-title {
    display: block !important;
    width: auto !important;
    margin: 0 0 14px !important;
    padding: 0 0 0 12px !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 4px solid currentColor !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    font-size: inherit;
    line-height: 1.35 !important;
}

.gcd-free-section--table > .gcd-section-title::before,
.gcd-free-section--table > .gcd-section-title::after,
.gcd-character-detail .gcd-free-section--table > .gcd-section-title::before,
.gcd-character-detail .gcd-free-section--table > .gcd-section-title::after {
    content: none !important;
    display: none !important;
}

/* テーブル下部は外枠1本だけにして、太線・二重線を防止 */
.gcd-free-section--table .gcd-free-table-wrap {
    border: 1px solid #cfcfcf !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.gcd-free-section--table .gcd-free-table {
    border: 0 !important;
    border-bottom: 0 !important;
}

.gcd-free-section--table .gcd-free-table tr:last-child th,
.gcd-free-section--table .gcd-free-table tr:last-child td {
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* スキル名＋タブ内画像の下に、囲みなしの下線だけを表示 */
.gcd-skill-card__heading,
.gcd-character-detail .gcd-skill-card__heading {
    margin: 0 0 12px !important;
    padding: 0 0 7px !important;
    border: 0 !important;
    border-bottom: 2px solid #2f4ca3 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.gcd-skill-card__heading::before,
.gcd-skill-card__heading::after,
.gcd-character-detail .gcd-skill-card__heading::before,
.gcd-character-detail .gcd-skill-card__heading::after {
    content: none !important;
    display: none !important;
}

.gcd-skill-card__heading .gcd-skill-card__name,
.gcd-character-detail .gcd-skill-card__heading .gcd-skill-card__name {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gcd-skill-card__heading .gcd-skill-card__name::before,
.gcd-skill-card__heading .gcd-skill-card__name::after,
.gcd-character-detail .gcd-skill-card__heading .gcd-skill-card__name::before,
.gcd-character-detail .gcd-skill-card__heading .gcd-skill-card__name::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 700px) {
    .gcd-free-section--table > .gcd-section-title,
    .gcd-character-detail .gcd-free-section--table > .gcd-section-title {
        margin-bottom: 12px !important;
        padding-left: 10px !important;
    }

    .gcd-skill-card__heading,
    .gcd-character-detail .gcd-skill-card__heading {
        padding-bottom: 6px !important;
        border-bottom-width: 2px !important;
    }
}


/* v0.2.2: テーブル入力見出しを通常セクション見出しへ再統一、タブ内画像を少し拡大 */
.gcd-character-detail .gcd-free-section--table > h2.gcd-section-title,
.gcd-free-section--table > h2.gcd-section-title {
    display: block !important;
    width: auto !important;
    margin: 0 0 14px !important;
    padding: 0 0 0 12px !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 4px solid currentColor !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: inherit !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
}

.gcd-character-detail .gcd-free-section--table > h2.gcd-section-title::before,
.gcd-character-detail .gcd-free-section--table > h2.gcd-section-title::after,
.gcd-free-section--table > h2.gcd-section-title::before,
.gcd-free-section--table > h2.gcd-section-title::after {
    content: none !important;
    display: none !important;
}

/* スキル名横のタブ内画像を少し大きく */
.gcd-skill-card__heading .gcd-skill-card__image {
    width: 2.25em !important;
    height: 2.25em !important;
}

.gcd-skill-card__heading .gcd-skill-card__image img {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 700px) {
    .gcd-character-detail .gcd-free-section--table > h2.gcd-section-title,
    .gcd-free-section--table > h2.gcd-section-title {
        margin-bottom: 12px !important;
        padding-left: 10px !important;
        font-size: 1.35em !important;
    }

    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 2.05em !important;
        height: 2.05em !important;
    }
}

@media (max-width: 420px) {
    .gcd-character-detail .gcd-free-section--table > h2.gcd-section-title,
    .gcd-free-section--table > h2.gcd-section-title {
        font-size: 1.25em !important;
    }

    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 1.95em !important;
        height: 1.95em !important;
    }
}


/* v0.2.3: フリースペース見出しを通常セクション見出しへ完全統一 */
.gcd-character-detail .gcd-free-section > .gcd-section-title,
.gcd-free-section > .gcd-section-title {
    display: block !important;
    width: auto !important;
    margin: 0 0 14px !important;
    padding: 0 0 0 12px !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 4px solid currentColor !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: inherit !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
}

.gcd-character-detail .gcd-free-section > .gcd-section-title::before,
.gcd-character-detail .gcd-free-section > .gcd-section-title::after,
.gcd-free-section > .gcd-section-title::before,
.gcd-free-section > .gcd-section-title::after {
    content: none !important;
    display: none !important;
}

/* タブ内画像をもう少し大きく */
.gcd-skill-card__heading .gcd-skill-card__image {
    width: 2.5em !important;
    height: 2.5em !important;
}

.gcd-skill-card__heading .gcd-skill-card__image img {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 700px) {
    .gcd-character-detail .gcd-free-section > .gcd-section-title,
    .gcd-free-section > .gcd-section-title {
        margin-bottom: 12px !important;
        padding-left: 10px !important;
        font-size: 1.35em !important;
    }

    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 2.25em !important;
        height: 2.25em !important;
    }
}

@media (max-width: 420px) {
    .gcd-character-detail .gcd-free-section > .gcd-section-title,
    .gcd-free-section > .gcd-section-title {
        font-size: 1.25em !important;
    }

    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 2.1em !important;
        height: 2.1em !important;
    }
}


/* v0.2.4: セクション見出しを参考画像のピンクデザインへ統一 */
.gcd-character-detail .gcd-section-title {
    position: relative !important;
    display: block !important;
    width: auto !important;
    margin: 0 0 18px !important;
    padding: 0 0 14px 42px !important;
    border: 0 !important;
    border-left: 4px solid #2d2d2d !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: #1f2937 !important;
    font-size: 1.8em !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
}

.gcd-character-detail .gcd-section-title::before {
    content: '' !important;
    position: absolute !important;
    left: 11px !important;
    top: 7px !important;
    width: 11px !important;
    height: 11px !important;
    background: #ff4fa2 !important;
    transform: rotate(45deg) !important;
    box-shadow: -6px 12px 0 -2px #ff80bd !important;
    display: block !important;
}

.gcd-character-detail .gcd-section-title::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 3px !important;
    background: #ff4fa2 !important;
    display: block !important;
}

/* 既存のフリースペース個別指定より強く統一 */
.gcd-character-detail .gcd-free-section > .gcd-section-title,
.gcd-character-detail .gcd-free-section--table > .gcd-section-title,
.gcd-character-detail .gcd-basic-section > .gcd-section-title,
.gcd-character-detail .gcd-stats-section > .gcd-section-title,
.gcd-character-detail .gcd-skills-section > .gcd-section-title {
    padding: 0 0 14px 42px !important;
    border-left: 4px solid #2d2d2d !important;
    border-bottom: 0 !important;
}

/* スキルタブ内画像をさらに少し大きく */
.gcd-skill-card__heading .gcd-skill-card__image {
    width: 2.8em !important;
    height: 2.8em !important;
}

.gcd-skill-card__heading .gcd-skill-card__image img {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 700px) {
    .gcd-character-detail .gcd-section-title {
        margin-bottom: 14px !important;
        padding: 0 0 12px 34px !important;
        font-size: 1.45em !important;
    }

    .gcd-character-detail .gcd-section-title::before {
        left: 9px !important;
        top: 6px !important;
        width: 9px !important;
        height: 9px !important;
        box-shadow: -5px 10px 0 -2px #ff80bd !important;
    }

    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 2.5em !important;
        height: 2.5em !important;
    }
}

@media (max-width: 420px) {
    .gcd-character-detail .gcd-section-title {
        font-size: 1.3em !important;
        padding-left: 30px !important;
    }

    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 2.3em !important;
        height: 2.3em !important;
    }
}


/* v0.2.5: セクション見出し装飾を完全OFF、見出し横画像に対応 */
.gcd-character-detail .gcd-section-title,
.gcd-character-detail .gcd-section > .gcd-section-title,
.gcd-character-detail h2.gcd-section-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: inherit !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
}

.gcd-character-detail .gcd-section-title::before,
.gcd-character-detail .gcd-section-title::after,
.gcd-character-detail .gcd-section > .gcd-section-title::before,
.gcd-character-detail .gcd-section > .gcd-section-title::after,
.gcd-character-detail h2.gcd-section-title::before,
.gcd-character-detail h2.gcd-section-title::after {
    content: none !important;
    display: none !important;
}

.gcd-section-title__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65em;
    height: 1.65em;
}

.gcd-section-title__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    background: transparent !important;
}

.gcd-section-title__text {
    min-width: 0;
}

/* タブ内画像をさらに大きく */
.gcd-skill-card__heading .gcd-skill-card__image {
    width: 3.15em !important;
    height: 3.15em !important;
}

.gcd-skill-card__heading .gcd-skill-card__image img {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 700px) {
    .gcd-character-detail .gcd-section-title,
    .gcd-character-detail .gcd-section > .gcd-section-title,
    .gcd-character-detail h2.gcd-section-title {
        gap: 7px !important;
        font-size: 1.35em !important;
    }

    .gcd-section-title__icon {
        width: 1.55em;
        height: 1.55em;
    }

    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 2.85em !important;
        height: 2.85em !important;
    }
}

@media (max-width: 420px) {
    .gcd-character-detail .gcd-section-title,
    .gcd-character-detail .gcd-section > .gcd-section-title,
    .gcd-character-detail h2.gcd-section-title {
        font-size: 1.25em !important;
    }

    .gcd-section-title__icon {
        width: 1.45em;
        height: 1.45em;
    }

    .gcd-skill-card__heading .gcd-skill-card__image {
        width: 2.6em !important;
        height: 2.6em !important;
    }
}


/* v0.2.6: 見出し画像の表示を強制し、テーマ側装飾の干渉を防止 */
.gcd-character-detail .gcd-section-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: visible !important;
}

.gcd-character-detail .gcd-section-title__icon {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.8em !important;
    height: 1.8em !important;
    line-height: 1 !important;
    overflow: visible !important;
}

.gcd-character-detail .gcd-section-title__icon img,
.gcd-character-detail .gcd-section-title__icon-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.gcd-character-detail .gcd-section-title__text {
    display: inline-block !important;
    min-width: 0 !important;
}

@media (max-width: 700px) {
    .gcd-character-detail .gcd-section-title__icon {
        width: 1.65em !important;
        height: 1.65em !important;
    }
}

@media (max-width: 420px) {
    .gcd-character-detail .gcd-section-title__icon {
        width: 1.55em !important;
        height: 1.55em !important;
    }
}


/* v0.2.7: 見出し画像をテーマ側CSSに消されにくくする */
.gcd-character-detail .gcd-section-title--with-icon-support {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: visible !important;
}

.gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 1.8em !important;
    height: 1.8em !important;
    line-height: 1 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon-img,
.gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__text {
    display: inline-block !important;
    min-width: 0 !important;
}

@media (max-width: 700px) {
    .gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon {
        width: 1.65em !important;
        height: 1.65em !important;
    }
}

@media (max-width: 420px) {
    .gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon {
        width: 1.55em !important;
        height: 1.55em !important;
    }
}


/* v0.2.8: 見出し画像をさらに強制表示 */
.gcd-character-detail .gcd-section-title--with-icon-support {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 1.9em !important;
    height: 1.9em !important;
    min-width: 1.9em !important;
    max-width: 1.9em !important;
}
.gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
}


/* v0.2.9: 見出し画像の直接表示を最優先 */
.gcd-character-detail .gcd-section-title--with-icon-support {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: visible !important;
    text-indent: 0 !important;
}
.gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 2em !important;
    height: 2em !important;
    min-width: 2em !important;
    max-width: 2em !important;
    min-height: 2em !important;
    max-height: 2em !important;
    overflow: visible !important;
}
.gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon-img,
.gcd-character-detail .gcd-section-title--with-icon-support .gcd-section-title__icon img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    position: static !important;
    transform: none !important;
}


/* v0.3.0: セクション見出し装飾なし＋画像を確実に表示 */
.gcd-character-detail h2.gcd-section-title--plain,
.gcd-character-detail .gcd-section-title--plain {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-indent: 0 !important;
    color: inherit !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.gcd-character-detail h2.gcd-section-title--plain::before,
.gcd-character-detail h2.gcd-section-title--plain::after,
.gcd-character-detail .gcd-section-title--plain::before,
.gcd-character-detail .gcd-section-title--plain::after {
    content: none !important;
    display: none !important;
}

.gcd-character-detail .gcd-section-title--plain .gcd-section-title__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 2em !important;
    height: 2em !important;
    min-width: 2em !important;
    max-width: 2em !important;
    min-height: 2em !important;
    max-height: 2em !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

.gcd-character-detail .gcd-section-title--plain .gcd-section-title__icon-img,
.gcd-character-detail .gcd-section-title--plain .gcd-section-title__icon img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}


/* v0.3.1: 見出し画像専用出力を最優先で表示 */
.gcd-character-detail h2.gcd-section-title--plain {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-indent: 0 !important;
    overflow: visible !important;
}
.gcd-character-detail .gcd-heading-icon,
.gcd-character-detail .gcd-section-title__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 2em !important;
    width: 2em !important;
    height: 2em !important;
    min-width: 2em !important;
    max-width: 2em !important;
    min-height: 2em !important;
    max-height: 2em !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}
.gcd-character-detail .gcd-heading-icon-img,
.gcd-character-detail .gcd-section-title__icon-img,
.gcd-character-detail .gcd-heading-icon img,
.gcd-character-detail .gcd-section-title__icon img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}


/* v0.3.2: Cocoon子テーマの .article h2 装飾を避けるdiv見出し用 */
.gcd-character-detail .gcd-section-title--div,
.article .gcd-character-detail .gcd-section-title--div {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-indent: 0 !important;
    color: inherit !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    overflow: visible !important;
}

.gcd-character-detail .gcd-section-title--div::before,
.gcd-character-detail .gcd-section-title--div::after,
.article .gcd-character-detail .gcd-section-title--div::before,
.article .gcd-character-detail .gcd-section-title--div::after {
    content: none !important;
    display: none !important;
}

.gcd-character-detail .gcd-section-title--div .gcd-heading-icon,
.gcd-character-detail .gcd-section-title--div .gcd-section-title__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 2em !important;
    width: 2em !important;
    height: 2em !important;
    min-width: 2em !important;
    max-width: 2em !important;
    min-height: 2em !important;
    max-height: 2em !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

.gcd-character-detail .gcd-section-title--div .gcd-heading-icon-img,
.gcd-character-detail .gcd-section-title--div .gcd-section-title__icon-img,
.gcd-character-detail .gcd-section-title--div .gcd-heading-icon img,
.gcd-character-detail .gcd-section-title--div .gcd-section-title__icon img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    position: static !important;
    transform: none !important;
}

.gcd-character-detail .gcd-section-title--div .gcd-section-title__text {
    display: inline-block !important;
    min-width: 0 !important;
}

@media (max-width: 700px) {
    .gcd-character-detail .gcd-section-title--div {
        gap: 8px !important;
        font-size: 1.35em !important;
    }

    .gcd-character-detail .gcd-section-title--div .gcd-heading-icon,
    .gcd-character-detail .gcd-section-title--div .gcd-section-title__icon {
        flex-basis: 1.8em !important;
        width: 1.8em !important;
        height: 1.8em !important;
        min-width: 1.8em !important;
        max-width: 1.8em !important;
    }
}


/* v0.3.3: タブデザインを通常/オリジナルから選択可能にする */

/* オリジナルタブ共通 */
.gcd-skill-tabs--style-original,
.gcd-free-tabs--style-original {
    gap: 14px !important;
}

.gcd-skill-tabs--style-original .gcd-skill-tabs__nav,
.gcd-free-tabs--style-original .gcd-free-tabs__nav,
.gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__nav {
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 auto 14px !important;
    padding: 5px !important;
    width: fit-content !important;
    max-width: 100% !important;
    background: #292929 !important;
    border: 1px solid #707070 !important;
    border-radius: 999px !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 2px 7px rgba(0,0,0,0.12) !important;
}

.gcd-skill-tabs--style-original .gcd-skill-tabs__button,
.gcd-free-tabs--style-original .gcd-free-tabs__button,
.gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__button {
    flex: 0 1 auto !important;
    min-width: 92px !important;
    padding: 10px 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.gcd-skill-tabs--style-original .gcd-skill-tabs__button:hover,
.gcd-skill-tabs--style-original .gcd-skill-tabs__button:focus,
.gcd-free-tabs--style-original .gcd-free-tabs__button:hover,
.gcd-free-tabs--style-original .gcd-free-tabs__button:focus {
    background: rgba(255,255,255,0.08) !important;
}

.gcd-skill-tabs--style-original .gcd-skill-tabs__button.is-active,
.gcd-free-tabs--style-original .gcd-free-tabs__button.is-active,
.gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__button.is-active {
    background: linear-gradient(180deg, #ffffff 0%, #ececec 100%) !important;
    color: #2f3f86 !important;
    box-shadow: inset 0 0 0 1px #b7b7b7, 0 1px 2px rgba(0,0,0,0.12) !important;
}

.gcd-skill-tabs--style-original .gcd-skill-tabs__panels,
.gcd-free-tabs--style-original .gcd-free-tabs__panels,
.gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__panels {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

/* 通常タブを明示的に選んだ場合。テーブル入力フリースペースでも通常デザインに戻す */
.gcd-free-section--table .gcd-free-tabs--style-normal {
    gap: 0 !important;
}

.gcd-skill-tabs--style-normal .gcd-skill-tabs__nav,
.gcd-free-tabs--style-normal .gcd-free-tabs__nav,
.gcd-free-section--table .gcd-free-tabs--style-normal .gcd-free-tabs__nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin: 0 0 -1px !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.gcd-skill-tabs--style-normal .gcd-skill-tabs__button,
.gcd-free-tabs--style-normal .gcd-free-tabs__button,
.gcd-free-section--table .gcd-free-tabs--style-normal .gcd-free-tabs__button {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    padding: 9px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-bottom-color: #e5e7eb !important;
    border-radius: 10px 10px 0 0 !important;
    background: #f8fafc !important;
    color: inherit !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}

.gcd-skill-tabs--style-normal .gcd-skill-tabs__button.is-active,
.gcd-free-tabs--style-normal .gcd-free-tabs__button.is-active,
.gcd-free-section--table .gcd-free-tabs--style-normal .gcd-free-tabs__button.is-active {
    background: #fff !important;
    color: inherit !important;
    border-bottom-color: #fff !important;
}

.gcd-skill-tabs--style-normal .gcd-skill-tabs__panels,
.gcd-free-tabs--style-normal .gcd-free-tabs__panels,
.gcd-free-section--table .gcd-free-tabs--style-normal .gcd-free-tabs__panels {
    border: 1px solid #e5e7eb !important;
    border-radius: 0 12px 12px 12px !important;
    background: #fff !important;
    overflow: hidden !important;
}

@media (max-width: 700px) {
    .gcd-skill-tabs--style-original .gcd-skill-tabs__nav,
    .gcd-free-tabs--style-original .gcd-free-tabs__nav,
    .gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__nav {
        flex-wrap: wrap !important;
        gap: 5px !important;
        width: 100% !important;
        border-radius: 18px !important;
        overflow: visible !important;
    }

    .gcd-skill-tabs--style-original .gcd-skill-tabs__button,
    .gcd-free-tabs--style-original .gcd-free-tabs__button,
    .gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__button {
        flex: 0 0 calc(16.666% - 5px) !important;
        min-width: 0 !important;
        padding: 7px 3px !important;
        font-size: 0.72em !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        overflow-wrap: anywhere !important;
    }

    .gcd-skill-tabs--style-normal .gcd-skill-tabs__nav,
    .gcd-free-tabs--style-normal .gcd-free-tabs__nav,
    .gcd-free-section--table .gcd-free-tabs--style-normal .gcd-free-tabs__nav {
        flex-wrap: nowrap !important;
        gap: 2px !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .gcd-skill-tabs--style-normal .gcd-skill-tabs__button,
    .gcd-free-tabs--style-normal .gcd-free-tabs__button,
    .gcd-free-section--table .gcd-free-tabs--style-normal .gcd-free-tabs__button {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 7px 4px !important;
        font-size: 0.72em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
    }
}


/* v0.3.4: スキル欄のオリジナルタブを角丸外枠ボックス化 */
.gcd-skills-section--tab-style-original .gcd-skill-tabs {
    padding: 22px 24px 24px;
    border: 1px solid #d8d8d8;
    border-radius: 28px;
    background: #ffffff;
    overflow: visible;
}

.gcd-skills-section--tab-style-original .gcd-skill-tabs__nav {
    margin: 0 auto 18px !important;
}

.gcd-skills-section--tab-style-original .gcd-skill-tabs__panels {
    margin: 0;
}

.gcd-skills-section--tab-style-original .gcd-skill-tabs__panel {
    padding: 0;
}

.gcd-skills-section--tab-style-original .gcd-skill-tabs__panel .gcd-skill-card {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .gcd-skills-section--tab-style-original .gcd-skill-tabs {
        padding: 16px 10px 12px;
        border-radius: 18px;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-tabs__nav {
        margin-bottom: 14px !important;
    }
}


/* v0.3.5: スマホ版のスキル欄オリジナルデザインをPC版寄りに調整 */
@media (max-width: 700px) {
    .gcd-skills-section--tab-style-original .gcd-skill-tabs {
        padding: 22px 16px 20px !important;
        border-radius: 26px !important;
        background: #ffffff !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-tabs__nav {
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 28px !important;
        padding: 6px !important;
        border-radius: 999px !important;
        overflow: hidden !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-tabs__button {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 8px 6px !important;
        font-size: clamp(0.68rem, 3.1vw, 0.95rem) !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        text-align: center !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-tabs__button.is-active {
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-card {
        padding: 16px 10px 12px !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-card__heading {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        margin-bottom: 14px !important;
        padding-bottom: 10px !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-card__heading .gcd-skill-card__image {
        flex: 0 0 3.2em !important;
        width: 3.2em !important;
        height: 3.2em !important;
        min-width: 3.2em !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-card__heading .gcd-skill-card__name {
        min-width: 0 !important;
        font-size: clamp(1.05rem, 4.2vw, 1.45rem) !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
    }
}

@media (max-width: 420px) {
    .gcd-skills-section--tab-style-original .gcd-skill-tabs {
        padding: 20px 12px 18px !important;
        border-radius: 24px !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-tabs__nav {
        gap: 3px !important;
        padding: 5px !important;
        margin-bottom: 24px !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-tabs__button {
        padding: 7px 4px !important;
        font-size: clamp(0.62rem, 3.3vw, 0.86rem) !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-card__heading {
        gap: 8px !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-card__heading .gcd-skill-card__image {
        flex-basis: 2.9em !important;
        width: 2.9em !important;
        height: 2.9em !important;
        min-width: 2.9em !important;
    }

    .gcd-skills-section--tab-style-original .gcd-skill-card__heading .gcd-skill-card__name {
        font-size: clamp(0.95rem, 4vw, 1.25rem) !important;
    }
}


/* v0.3.6: フリースペースのタブ表示もテーブル以外で角丸外枠ボックス化 */
.gcd-free-section:not(.gcd-free-section--table) .gcd-free-tabs {
    padding: 22px 24px 24px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 28px !important;
    background: #ffffff !important;
    overflow: visible !important;
}

.gcd-free-section:not(.gcd-free-section--table) .gcd-free-tabs__nav {
    margin-bottom: 18px !important;
}

.gcd-free-section:not(.gcd-free-section--table) .gcd-free-tabs__panels {
    margin: 0 !important;
}

.gcd-free-section:not(.gcd-free-section--table) .gcd-free-tabs__panel {
    padding: 0 !important;
}

/* 通常本文タブ内で二重の余白感が強くなりすぎないよう調整 */
.gcd-free-section:not(.gcd-free-section--table) .gcd-free-tabs .gcd-free-content--tab {
    margin: 0 !important;
}

/* 分割タブでも枠内に収まりやすくする */
.gcd-free-section:not(.gcd-free-section--table) .gcd-free-tabs .gcd-free-split.gcd-free-content--tab {
    margin: 0 !important;
}

@media (max-width: 700px) {
    .gcd-free-section:not(.gcd-free-section--table) .gcd-free-tabs {
        padding: 16px 10px 12px !important;
        border-radius: 18px !important;
    }

    .gcd-free-section:not(.gcd-free-section--table) .gcd-free-tabs__nav {
        margin-bottom: 14px !important;
    }
}


/* v0.3.7: 本文・説明欄用の簡単装飾 */
.gcd-character-detail .gcd-text-red { color: #e53935; }
.gcd-character-detail .gcd-text-blue { color: #1e63d6; }
.gcd-character-detail .gcd-text-green { color: #0a8f45; }
.gcd-character-detail .gcd-text-purple { color: #7b3fd6; }
.gcd-character-detail .gcd-text-pink { color: #e83e8c; }
.gcd-character-detail .gcd-text-orange { color: #f57c00; }
.gcd-character-detail .gcd-bold { font-weight: 700; }
.gcd-character-detail .gcd-small { font-size: 0.88em; }
.gcd-character-detail .gcd-large { font-size: 1.16em; }
.gcd-character-detail .gcd-marker {
    background: linear-gradient(transparent 58%, #fff59d 58%);
    font-weight: 700;
}
.gcd-character-detail .gcd-box-note {
    display: block;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}


/* v0.3.8: キャラ画像・テーブル左列・タブ文字調整 */
.gcd-hero {
    grid-template-columns: minmax(240px, 420px) minmax(0, 1fr) !important;
}
.gcd-hero__image {
    width: 100%;
    max-width: 420px;
}
.gcd-hero__image img {
    width: 100% !important;
    height: auto !important;
}

.gcd-free-section--table .gcd-free-table th {
    width: 128px !important;
    min-width: 128px !important;
}

.gcd-skill-tabs__button,
.gcd-free-tabs__button,
.gcd-skill-tabs--style-original .gcd-skill-tabs__button,
.gcd-free-tabs--style-original .gcd-free-tabs__button,
.gcd-skill-tabs--style-normal .gcd-skill-tabs__button,
.gcd-free-tabs--style-normal .gcd-free-tabs__button {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

@media (max-width: 700px) {
    .gcd-hero {
        grid-template-columns: 1fr !important;
    }
    .gcd-hero__image {
        max-width: 400px !important;
        margin: 0 auto;
    }
    .gcd-free-section--table .gcd-free-table th {
        width: 110px !important;
        min-width: 110px !important;
    }
    .gcd-skill-tabs__button,
    .gcd-free-tabs__button,
    .gcd-skill-tabs--style-original .gcd-skill-tabs__button,
    .gcd-free-tabs--style-original .gcd-free-tabs__button,
    .gcd-skill-tabs--style-normal .gcd-skill-tabs__button,
    .gcd-free-tabs--style-normal .gcd-free-tabs__button {
        font-size: clamp(0.58rem, 2.65vw, 0.86rem) !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
        letter-spacing: -0.04em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: clip !important;
    }
}

@media (max-width: 420px) {
    .gcd-hero__image {
        max-width: 360px !important;
    }
    .gcd-free-section--table .gcd-free-table th {
        width: 96px !important;
        min-width: 96px !important;
    }
    .gcd-skill-tabs__button,
    .gcd-free-tabs__button,
    .gcd-skill-tabs--style-original .gcd-skill-tabs__button,
    .gcd-free-tabs--style-original .gcd-free-tabs__button,
    .gcd-skill-tabs--style-normal .gcd-skill-tabs__button,
    .gcd-free-tabs--style-normal .gcd-free-tabs__button {
        font-size: clamp(0.52rem, 2.45vw, 0.78rem) !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
}


/* v0.3.9: オリジナルデザインタブの横はみ出し防止、テーブル左列幅調整 */
.gcd-character-detail .gcd-skill-tabs--style-original .gcd-skill-tabs__nav,
.gcd-character-detail .gcd-free-tabs--style-original .gcd-free-tabs__nav,
.gcd-character-detail .gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__nav {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    justify-content: center !important;
}

.gcd-character-detail .gcd-skill-tabs--style-original .gcd-skill-tabs__button,
.gcd-character-detail .gcd-free-tabs--style-original .gcd-free-tabs__button,
.gcd-character-detail .gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding-left: clamp(4px, 1vw, 18px) !important;
    padding-right: clamp(4px, 1vw, 18px) !important;
    font-size: clamp(10px, 1.25vw, 16px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    overflow: hidden !important;
    text-overflow: clip !important;
}

/* スキル欄の外枠内でタブが絶対に膨らまないようにする */
.gcd-character-detail .gcd-skills-section--tab-style-original .gcd-skill-tabs {
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* フリースペース欄のテーブル左列を広げる */
.gcd-character-detail .gcd-free-table th,
.gcd-character-detail .gcd-free-section--table .gcd-free-table th {
    width: 132px !important;
    min-width: 132px !important;
}

@media (max-width: 700px) {
    .gcd-character-detail .gcd-skill-tabs--style-original .gcd-skill-tabs__button,
    .gcd-character-detail .gcd-free-tabs--style-original .gcd-free-tabs__button,
    .gcd-character-detail .gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__button {
        padding-left: 3px !important;
        padding-right: 3px !important;
        font-size: clamp(9px, 2.7vw, 13px) !important;
    }

    .gcd-character-detail .gcd-free-table th,
    .gcd-character-detail .gcd-free-section--table .gcd-free-table th {
        width: 112px !important;
        min-width: 112px !important;
    }
}

@media (max-width: 420px) {
    .gcd-character-detail .gcd-skill-tabs--style-original .gcd-skill-tabs__button,
    .gcd-character-detail .gcd-free-tabs--style-original .gcd-free-tabs__button,
    .gcd-character-detail .gcd-free-section--table .gcd-free-tabs--style-original .gcd-free-tabs__button {
        padding-left: 2px !important;
        padding-right: 2px !important;
        font-size: clamp(8px, 2.55vw, 12px) !important;
    }

    .gcd-character-detail .gcd-free-table th,
    .gcd-character-detail .gcd-free-section--table .gcd-free-table th {
        width: 104px !important;
        min-width: 104px !important;
    }
}
