﻿/*
Theme Name: TPCL Visa
Template: tpcl-base
Description: 子テーマ。マレーシア長期滞在ビザサイト向けのUIとデータモデルを提供します。
Author: TPCL
Version: 2.0.0
Text Domain: tpcl-visa
*/

/* ==========================================================================
   HEADER - Hide sister site button (temporary)
   ========================================================================== */

.tpcl-header__ctas .tpcl-nav__link--ghost {
    display: none !important;
}

/* フロントページでは.tpcl-mainの下部パディングを削除 */
.home .tpcl-main {
    padding-bottom: 0;
}

/* セクション間のパディング調整 */
.tpcl-section {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .tpcl-section {
        padding: 2.5rem 0;
    }
}

@media (min-width: 1024px) {
    .tpcl-section {
        padding: 3rem 0;
    }
}

/* ヒーローセクション直後のセクションは上部パディングを調整 */
.tpcl-visa-hero-split + .tpcl-section {
    padding-top: 2.5rem;
}

@media (min-width: 768px) {
    .tpcl-visa-hero-split + .tpcl-section {
        padding-top: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-hero-split + .tpcl-section {
        padding-top: 4rem;
    }
}

/* ==========================================================================
   VISA THEME COLOR OVERRIDES (Blue theme)
   ========================================================================== */

:root {
    --accent-color: #1E40AF;
    --accent-dark: #1E3A8A;
    --accent-light: #DBEAFE;
    --tpcl-accent-color: #1E40AF;
}

/* Override pink utility classes with blue */
.text-pink-600,
.hover\:text-pink-600:hover,
.group-hover\:text-pink-600:hover,
.group:hover .group-hover\:text-pink-600 {
    color: #1E40AF !important;
}

.bg-pink-600,
.hover\:bg-pink-700:hover {
    background-color: #1E40AF !important;
}

.bg-pink-50,
.hover\:bg-pink-50:hover,
.from-pink-50,
.inline-block.bg-pink-100,
.bg-pink-100,
.group-hover\:bg-pink-100,
.group:hover .group-hover\:bg-pink-100 {
    background-color: #DBEAFE !important;
}

/* Gradient override */
.bg-gradient-to-br.from-pink-50 {
    background: linear-gradient(to bottom right, #DBEAFE, white) !important;
}

.border-pink-600,
.hover\:border-pink-600:hover {
    border-color: #1E40AF !important;
}

.hover\:text-pink-800:hover {
    color: #1E3A8A !important;
}

.focus\:ring-pink-500:focus {
    --tw-ring-color: #1E40AF !important;
}

.focus\:ring-pink-600:focus {
    --tw-ring-color: #1E40AF !important;
}

/* ==========================================================================
   COMMON GRID UTILITIES
   ========================================================================== */

/* 2-3 column responsive grid (2 on tablet, 3 on desktop) */
.tpcl-grid-2-3 {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tpcl-grid-2-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tpcl-grid-2-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 2-5 column responsive grid (2 on tablet, 5 on desktop) - for steps */
.tpcl-grid-2-5 {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tpcl-grid-2-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tpcl-grid-2-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.tpcl-visa-hero {
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(37, 99, 235, 0.75));
    padding: 3rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .tpcl-visa-hero {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-hero {
        padding: 6rem 0;
    }
}

.tpcl-visa-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}

.tpcl-visa-hero__inner {
    position: relative;
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .tpcl-visa-hero__inner {
        max-width: 760px;
        margin: 0 auto;
    }
}

.tpcl-visa-hero__title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.tpcl-visa-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.tpcl-visa-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .tpcl-visa-hero__actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

.tpcl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 0.9rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tpcl-button--primary {
    background: #1E40AF;
    color: #fff;
    box-shadow: 0 20px 35px rgba(30, 64, 175, 0.3);
}

.tpcl-button--primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
}

.tpcl-button--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tpcl-button--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tpcl-visa-programs {
    padding: 2.5rem 0 3rem;
}

@media (min-width: 768px) {
    .tpcl-visa-programs {
        padding: 3.5rem 0 4rem;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-programs {
        padding: 4rem 0 5rem;
    }
}

.tpcl-visa-programs__grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tpcl-visa-programs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-programs__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tpcl-visa-program {
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #EFF6FF 100%);
    border-radius: 1rem;
    padding: 0;
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.08),
                0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tpcl-visa-program > .card-content {
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tpcl-visa-program::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E40AF 0%, #3B82F6 100%);
}

.tpcl-visa-program:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 64, 175, 0.15),
                0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(30, 64, 175, 0.2);
}

.tpcl-visa-program__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 0.75rem;
}

.tpcl-visa-program__lead {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tpcl-visa-program__details {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 0.88rem;
}

.tpcl-visa-program__details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #475569;
    border-bottom: 1px solid rgba(30, 64, 175, 0.08);
}

.tpcl-visa-program__details li:last-child {
    border-bottom: none;
}

.tpcl-visa-program__details li span:first-child {
    font-weight: 600;
    color: #334155;
}

.tpcl-visa-program__details li span:last-child {
    text-align: right;
    color: #64748B;
}

.tpcl-visa-program .tpcl-button {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.9rem;
    padding: 0.65rem 1.4rem;
}

.tpcl-visa-program .tpcl-button--ghost {
    background: rgba(30, 64, 175, 0.08);
    color: #1E40AF;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.tpcl-visa-program .tpcl-button--ghost:hover {
    background: rgba(30, 64, 175, 0.12);
    border-color: rgba(30, 64, 175, 0.3);
    color: #1D4ED8;
}

.tpcl-visa-steps {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(30, 64, 175, 0.18));
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .tpcl-visa-steps {
        padding: 3.5rem 0;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-steps {
        padding: 4rem 0;
    }
}

.tpcl-visa-steps__grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tpcl-visa-steps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-steps__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.tpcl-visa-step {
    background: #FFFFFF;
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.1);
    text-align: center;
}

@media (min-width: 768px) {
    .tpcl-visa-step {
        padding: 1.5rem 1.1rem;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-step {
        padding: 1.75rem 1.2rem;
    }
}

.tpcl-visa-step__index {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #1E40AF;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin: 0 auto 0.85rem;
}

.tpcl-visa-step__icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.12);
    color: #1E40AF;
    display: grid;
    place-items: center;
    margin: 0 auto 0.85rem;
}

.tpcl-visa-step__title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tpcl-visa-step__desc {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.tpcl-visa-support {
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .tpcl-visa-support {
        padding: 3.5rem 0;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-support {
        padding: 4.5rem 0;
    }
}

.tpcl-visa-support__grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tpcl-visa-support__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-support__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* サポートカード */
.tpcl-visa-support-card {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tpcl-visa-support-card .card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
    padding: 1.25rem 1rem;
    flex: 1;
}

.tpcl-visa-support__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.12);
    color: #1E40AF;
    display: grid;
    place-items: center;
}

.tpcl-visa-support__icon i {
    width: 28px;
    height: 28px;
}

.tpcl-visa-support__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.tpcl-visa-support__desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 詳細リンクボタン */
.tpcl-visa-support__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.65rem 1.25rem;
    padding-top: 1rem;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tpcl-visa-support__link:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.tpcl-visa-support__link i {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.tpcl-visa-news {
    padding: 2.5rem 0;
    background: #F8FAFC;
}

@media (min-width: 768px) {
    .tpcl-visa-news {
        padding: 3.5rem 0;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-news {
        padding: 4.5rem 0;
    }
}

.tpcl-visa-news__list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.tpcl-visa-news__item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #FFFFFF;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    align-items: center;
}

@media (min-width: 768px) {
    .tpcl-visa-news__item {
        gap: 1.25rem;
        padding: 1.25rem;
    }
}

.tpcl-visa-news__thumb {
    flex: 0 0 96px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.tpcl-visa-news__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpcl-visa-news__meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.tpcl-visa-news__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    color: #fff;
    background: #2563EB;
}

.tpcl-visa-news__badge--event {
    background: #7C3AED;
}

.tpcl-visa-news__badge-new {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: #fff;
    background: #DC2626;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.tpcl-visa-news__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

.tpcl-visa-news__title:hover {
    color: #2563EB;
}

.tpcl-visa-video-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tpcl-visa-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tpcl-video__media {
    position: relative;
    padding-bottom: 56.25%;
    background: #111827;
}

.tpcl-video__media iframe,
.tpcl-video__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.75rem 0.75rem 0 0;
}

.tpcl-video__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 600;
}

.tpcl-video__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

.tpcl-video__excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.tpcl-section__actions {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tpcl-section__actions .tpcl-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: normal;
    text-align: center;
    line-height: 1.5;
    min-width: 250px;
    max-width: 100%;
}

.tpcl-section__actions .tpcl-nav__link--cta {
    background-color: var(--accent-color);
    color: #ffffff;
}

.tpcl-section__actions .tpcl-nav__link--cta:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tpcl-section__actions .tpcl-nav__link i {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .tpcl-section__actions .tpcl-nav__link {
        white-space: nowrap;
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

.tpcl-visa-contact {
    padding: 2.5rem 0 3rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(30, 64, 175, 0.18));
}

@media (min-width: 768px) {
    .tpcl-visa-contact {
        padding: 3.5rem 0 4rem;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-contact {
        padding: 4rem 0 5rem;
    }
}

.tpcl-visa-contact__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: #FFFFFF;
    border-radius: 1.5rem;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 30px 60px rgba(30, 64, 175, 0.15);
}

@media (min-width: 768px) {
    .tpcl-visa-contact__inner {
        padding: 2.5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-contact__inner {
        padding: 3rem 2.5rem;
    }
}

.tpcl-visa-contact__title {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    white-space: nowrap;
}

.tpcl-visa-contact__desc {
    color: var(--text-gray);
    margin-bottom: 1.75rem;
}

.tpcl-visa-contact__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .tpcl-visa-contact__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

.tpcl-visa-contact .tpcl-button--ghost {
    background: rgba(30, 64, 175, 0.08);
    color: #1E40AF;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.tpcl-visa-contact .tpcl-button--ghost:hover {
    background: rgba(30, 64, 175, 0.12);
    border-color: rgba(30, 64, 175, 0.3);
    color: #1D4ED8;
}

/* Mobile styles moved to responsive-mobile.css */

/* ========================================
   Floating Action Button (FAB) - Mobile
   ======================================== */

/* Use parent theme's FAB styles - no custom overrides needed */

/* ============================================================================
   ARTICLE CONTENT STYLES (.tpcl-page__content)
   ============================================================================ */

.tpcl-page__content {
    color: #1F2937;
    line-height: 1.8;
}

/* Paragraphs */
.tpcl-page__content p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}

.tpcl-page__content p:last-child {
    margin-bottom: 0;
}

/* Lists */
.tpcl-page__content ul,
.tpcl-page__content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.tpcl-page__content ul {
    list-style-type: disc;
}

.tpcl-page__content ol {
    list-style-type: decimal;
}

.tpcl-page__content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.tpcl-page__content li:last-child {
    margin-bottom: 0;
}

.tpcl-page__content ul ul,
.tpcl-page__content ol ol,
.tpcl-page__content ul ol,
.tpcl-page__content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Links */
.tpcl-page__content a {
    color: #2563EB;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.3);
    text-underline-offset: 0.2em;
    transition: all 0.2s ease;
}

.tpcl-page__content a:hover {
    color: #1E40AF;
    text-decoration-color: rgba(30, 64, 175, 0.6);
}

/* Strong and Emphasis */
.tpcl-page__content strong,
.tpcl-page__content b {
    font-weight: 700;
    color: #111827;
}

.tpcl-page__content em,
.tpcl-page__content i {
    font-style: italic;
}

/* Blockquotes */
.tpcl-page__content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #3B82F6;
    background: #EFF6FF;
    color: #1E40AF;
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
}

.tpcl-page__content blockquote p {
    margin-bottom: 0.75rem;
}

.tpcl-page__content blockquote p:last-child {
    margin-bottom: 0;
}

/* Code */
.tpcl-page__content code {
    background: #F3F4F6;
    color: #DC2626;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875em;
}

.tpcl-page__content pre {
    background: #1F2937;
    color: #F9FAFB;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.tpcl-page__content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: 0.875rem;
}

/* Images */
.tpcl-page__content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

.tpcl-page__content figure {
    margin: 1.5rem 0;
}

.tpcl-page__content figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6B7280;
    text-align: center;
    font-style: italic;
}

/* Tables */
.tpcl-page__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.tpcl-page__content thead {
    background: #EFF6FF;
}

.tpcl-page__content th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #1E40AF;
    border-bottom: 2px solid #DBEAFE;
}

.tpcl-page__content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.tpcl-page__content tbody tr:hover {
    background: #F9FAFB;
}

.tpcl-page__content tbody tr:last-child td {
    border-bottom: none;
}

/* Horizontal Rule */
.tpcl-page__content hr {
    margin: 2rem 0;
    border: none;
    border-top: 2px solid #E5E7EB;
}

/* Definition Lists */
.tpcl-page__content dl {
    margin-bottom: 1.25rem;
}

.tpcl-page__content dt {
    font-weight: 600;
    color: #111827;
    margin-top: 1rem;
}

.tpcl-page__content dd {
    margin-left: 2rem;
    margin-bottom: 0.5rem;
    color: #4B5563;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tpcl-page__content h1 {
        font-size: 1.75rem;
    }

    .tpcl-page__content h2 {
        font-size: 1.5rem;
    }

    .tpcl-page__content h3 {
        font-size: 1.25rem;
    }

    .tpcl-page__content h4 {
        font-size: 1.125rem;
    }

    .tpcl-page__content table {
        font-size: 0.875rem;
    }

    .tpcl-page__content th,
    .tpcl-page__content td {
        padding: 0.5rem 0.75rem;
    }
}

/* ==========================================================================
   SUCCESS STORIES SECTION (.tpcl-section--cases)
   Same structure as EDU theme for consistency
   ========================================================================== */

/* Section background */
.tpcl-section--cases {
    background: #F8FAFC;
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .tpcl-section--cases {
        padding: 3.5rem 0;
    }
}

@media (min-width: 1024px) {
    .tpcl-section--cases {
        padding: 4.5rem 0;
    }
}

/* Grid - simple, same as EDU */
.tpcl-case-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tpcl-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tpcl-case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Icon - VISA blue theme */
.tpcl-case__icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.12);
    color: #1E40AF;
    display: grid;
    place-items: center;
    margin: 0 auto;
}

/* Title */
.tpcl-case__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Excerpt */
.tpcl-case__excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Link */
.tpcl-case__link {
    margin-top: auto;
    padding-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* ==========================================================================
   FOOTER BACKGROUND OVERRIDE
   ========================================================================== */

.tpcl-footer {
    background: transparent;
    border-top: none;
    padding: 0;
    margin-top: 0;
}

/* 会社名セクション（白背景） */
.tpcl-footer__companies-wrapper {
    background: var(--surface);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 0;
}

/* 事務所情報セクション（黒背景） */
.tpcl-footer__offices-wrapper {
    background: #000000;
    padding: 4rem 0 3rem;
}

/* ==========================================================================
   FOOTER OFFICES SECTION
   ========================================================================== */

.tpcl-footer__offices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .tpcl-footer__offices {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .tpcl-footer__offices {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.tpcl-footer__office {
    color: rgba(255, 255, 255, 0.9);
}

.tpcl-footer__office-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.tpcl-footer__office-address,
.tpcl-footer__office-phone,
.tpcl-footer__office-email {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.tpcl-footer__office-address i,
.tpcl-footer__office-phone i,
.tpcl-footer__office-email i {
    flex-shrink: 0;
    margin-top: 0.125rem;
    opacity: 0.6;
}

.tpcl-footer__office-phone a,
.tpcl-footer__office-email a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.tpcl-footer__office-phone a:hover,
.tpcl-footer__office-email a:hover {
    color: var(--accent-light);
}

/* ==========================================================================
   MODERN TABLE STYLES (for page content only)
   ========================================================================== */

/* Table styles - simple and clean */
.tpcl-page__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
    border: 1px solid #E5E7EB;
}

/* All th and td base styling */
.tpcl-page__content table th,
.tpcl-page__content table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border: 1px solid #E5E7EB;
    vertical-align: middle;
}

/* Header cells in thead */
.tpcl-page__content table thead th {
    background: #F3F4F6;
    color: #374151;
    font-weight: 600;
}

/* Header cells in tbody (label column) */
.tpcl-page__content table tbody th {
    background: #F9FAFB;
    color: #374151;
    font-weight: 600;
    min-width: 120px;
}

/* Data cells */
.tpcl-page__content table tbody td {
    background: #FFFFFF;
    color: #374151;
}

/* Strong text inside cells */
.tpcl-page__content table tbody td strong {
    color: #111827;
}

/* Override inline background styles */
.tpcl-page__content td[style*="background"],
.tpcl-page__content th[style*="background"] {
    background: transparent !important;
}

/* Responsive table */
@media (max-width: 768px) {
    .tpcl-page__content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tpcl-page__content table th,
    .tpcl-page__content table td {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   PAGE CONTENT IMAGES
   ========================================================================== */

/* Hero/Lead image - full width at top of content */
.tpcl-page__content > p:first-of-type img,
.tpcl-page__content > .wp-block-image:first-of-type img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Images after su-note (flow diagrams, charts) - show full image */
.tpcl-page__content .su-note + p img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 0.75rem;
    margin: 1rem auto 1.5rem;
    display: block;
}

/* Table images - unified size */
.tpcl-page__content table img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto;
}

/* Larger table images on desktop */
@media (min-width: 768px) {
    .tpcl-page__content table img {
        width: 280px;
        height: 180px;
    }
}

/* Schedule table column widths (hotel_table) - 3 column layout */
.tpcl-page__content table.hotel_table td:first-child {
    width: 120px;
    min-width: 100px;
}

.tpcl-page__content table.hotel_table td:nth-child(2) {
    width: auto;
}

.tpcl-page__content table.hotel_table td:last-child:not([colspan]) {
    width: 300px;
    min-width: 280px;
}

/* ==========================================================================
   AREA SELECTION TABLE (5 columns)
   ========================================================================== */

/* Target 5-column tables (area selection) */
.tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) td {
    width: 20%;
    padding: 1rem 0.75rem;
    text-align: center;
    vertical-align: top;
    border: 1px solid #E5E7EB;
}

/* Number row */
.tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:first-child td {
    background: #374151;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.75rem;
}

.tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:first-child td * {
    color: #FFFFFF !important;
}

/* Area name row */
.tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:nth-child(2) td {
    background: #F8FAFC;
    font-weight: 700;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:nth-child(2) td * {
    color: #374151 !important;
}

/* Description row */
.tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:nth-child(3) td {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.5;
}

/* Image row */
.tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:nth-child(4) td {
    padding: 0.5rem;
}

.tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:nth-child(4) td img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Mobile: 2x3 grid or stack */
@media (max-width: 768px) {
    .tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) {
        display: block;
    }

    .tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tbody {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr {
        display: contents;
    }

    .tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) td {
        display: block;
        width: 100%;
        border: none;
        padding: 0.5rem;
    }

    /* Hide number row on mobile */
    .tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:first-child {
        display: none;
    }

    /* Stack each area as a card */
    .tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:nth-child(2) td,
    .tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:nth-child(3) td,
    .tpcl-page__content table:not(.hotel_table):has(td:nth-child(5)) tr:nth-child(4) td {
        background: #FFFFFF;
        border-radius: 0.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        margin-bottom: 0.5rem;
    }
}


/* ==========================================================================
   STEP/PROCESS STYLES
   ========================================================================== */

.tpcl-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.tpcl-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 0;
}

.tpcl-step:last-child {
    padding-bottom: 0;
}

/* Vertical line connecting steps */
.tpcl-step::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.75rem;
    bottom: 0;
    width: 2px;
    background: #E5E7EB;
}

.tpcl-step:last-child::before {
    display: none;
}

/* Step number circle */
.tpcl-step__number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    position: relative;
    z-index: 1;
}

/* Step content */
.tpcl-step__content {
    flex: 1;
    padding: 0;
}

/* Step title - override base theme h4 styles with higher specificity */
.tpcl-step .tpcl-step__content .tpcl-step__title,
.tpcl-step .tpcl-step__content h4.tpcl-step__title,
.tpcl-page__content .tpcl-step__title,
.tpcl-page__content h4.tpcl-step__title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--text-dark, #111827) !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    line-height: 2.5rem !important;
    min-height: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    position: static !important;
}

/* Remove bullet from step titles */
.tpcl-step .tpcl-step__content .tpcl-step__title::before,
.tpcl-step .tpcl-step__content h4.tpcl-step__title::before,
.tpcl-page__content .tpcl-step__title::before,
.tpcl-page__content h4.tpcl-step__title::before {
    content: none !important;
    display: none !important;
}

.tpcl-step__desc {
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
    font-size: 0.9375rem;
}

.tpcl-step__desc ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
}

.tpcl-step__desc li {
    margin-bottom: 0.25rem;
}

.tpcl-step__highlight {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 640px) {
    .tpcl-step {
        gap: 0.75rem;
    }

    .tpcl-step__number {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }

    .tpcl-step::before {
        left: 1rem;
        top: 2.25rem;
    }

    .tpcl-step .tpcl-step__content .tpcl-step__title,
    .tpcl-step .tpcl-step__content h4.tpcl-step__title,
    .tpcl-page__content .tpcl-step__title,
    .tpcl-page__content h4.tpcl-step__title {
        font-size: 0.9375rem !important;
        line-height: 2rem !important;
        min-height: 2rem !important;
    }
}

/* ==========================================================================
   SU-NOTE BOXES (from imported content)
   ========================================================================== */

.tpcl-page__content .su-note {
    margin: 1.5rem 0;
    padding: 0;
    background: transparent;
    border-left: none;
    border-radius: 0;
}

.tpcl-page__content .su-note h4 {
    margin: 0 !important;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.tpcl-page__content .su-note-inner {
    padding: 0;
}

/* SU-BOX styling */
.tpcl-page__content .su-box {
    margin: 1.5rem 0;
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
}

.tpcl-page__content .su-box-title {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: #FFFFFF;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.tpcl-page__content .su-box-title *,
.tpcl-page__content .su-box-title strong,
.tpcl-page__content .su-box-title b,
.tpcl-page__content .su-box-title span {
    color: #FFFFFF !important;
}

.tpcl-page__content .su-box-content {
    background: #FFFFFF;
    padding: 1rem;
    border-top: none;
}

/* SU-HIGHLIGHT */
.tpcl-page__content .su-highlight {
    background: #F3F4F6;
    padding: 0.125rem 0.375rem;
    color: #374151;
    font-weight: 600;
}

/* SU-LABEL */
.tpcl-page__content .su-label {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}

.tpcl-page__content .su-label-type-important {
    background: #374151;
    color: #FFFFFF;
}

/* SU-SERVICE */
.tpcl-page__content .su-service {
    margin: 1.5rem 0;
}

.tpcl-page__content .su-service-title {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.tpcl-page__content .su-service-title i {
    color: #6B7280;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* SU-DROPCAP */
.tpcl-page__content .su-dropcap {
    float: left;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
}

/* SU-ROW and SU-COLUMN */
.tpcl-page__content .su-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tpcl-page__content .su-column {
    flex: 1;
    min-width: 250px;
}

@media (max-width: 768px) {
    .tpcl-page__content .su-column {
        flex: 100%;
    }
}

/* ==========================================================================
   CANCELLATION POLICY PAGE - Numbered Sections
   ========================================================================== */

/* Numbered section with dropcap - consistent layout */
.tpcl-page__content p:has(.su-dropcap) {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0 0.75rem 0;
}

.tpcl-page__content p:has(.su-dropcap) .su-dropcap {
    float: none;
    flex-shrink: 0;
}

.tpcl-page__content p:has(.su-dropcap) strong {
    font-size: 1.125rem;
    color: #1F2937;
}

/* Fix dropcap outside of p tag (items 6, 7) */
.tpcl-page__content > span.su-dropcap {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    margin-right: 0.75rem;
    vertical-align: middle;
}

/* Section content - left aligned */
.tpcl-page__content p:has(.su-dropcap) + p,
.tpcl-page__content > span.su-dropcap + span + p {
    text-align: left;
    padding-left: 3.5rem;
    margin-top: 0.5rem;
}

/* Sub-headings (責任範囲 etc) */
.tpcl-page__content h4:has(span span span) {
    margin: 1rem 0 0.5rem 3.5rem;
    font-size: 1rem;
    color: #1E40AF;
}

/* Lists inside policy content */
.tpcl-page__content .su-list {
    padding-left: 3.5rem;
    margin: 1rem 0;
}

.tpcl-page__content .su-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* su-list inside cancellation policy pages (not inside su-service) */
.tpcl-page__content > .su-list li,
.tpcl-page__content p + .su-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

/* su-list inside su-service - normal list layout */
.tpcl-page__content .su-service .su-list li {
    display: block;
    margin-bottom: 0.75rem;
    text-align: left;
}

.tpcl-page__content .su-list li i {
    color: #1E40AF;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .tpcl-page__content .su-dropcap {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .tpcl-page__content p:has(.su-dropcap) + p,
    .tpcl-page__content > span.su-dropcap + span + p,
    .tpcl-page__content h4:has(span span span),
    .tpcl-page__content .su-list {
        padding-left: 0;
        margin-left: 0;
    }
}

/* ==========================================================================
   HERO SPLIT SECTION (左3/4 + 右1/4)
   ========================================================================== */

.tpcl-visa-hero-split {
    padding: 0;
    margin-bottom: 0;
}

.tpcl-visa-hero-split__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 340px;
}

@media (min-width: 768px) {
    .tpcl-visa-hero-split__grid {
        grid-template-columns: 3fr 1fr;
        min-height: 320px;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-hero-split__grid {
        min-height: 360px;
    }
}

/* 左側: メイン写真+テキスト */
.tpcl-visa-hero-split__main {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    min-height: 340px;
}

@media (min-width: 768px) {
    .tpcl-visa-hero-split__main {
        min-height: 100%;
    }
}

.tpcl-visa-hero-split__main:hover .tpcl-visa-hero-split__image {
    transform: scale(1.03);
}

.tpcl-visa-hero-split__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.tpcl-visa-hero-split__image--placeholder {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #60A5FA 100%);
}

.tpcl-visa-hero-split__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

.tpcl-visa-hero-split__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    color: #FFFFFF;
    z-index: 1;
    text-align: center;
    width: 90%;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .tpcl-visa-hero-split__content {
        max-width: 800px;
    }
}

@media (min-width: 768px) {
    .tpcl-visa-hero-split__content {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-hero-split__content {
        padding: 2.5rem;
    }
}

.tpcl-visa-hero-split__title {
    font-size: clamp(1.1rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.tpcl-visa-hero-split__subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.7;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    text-align: left;
}

/* 右側: 最新情報 */
.tpcl-visa-hero-split__news {
    background: #F8FAFC;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .tpcl-visa-hero-split__news {
        padding: 1rem 1.25rem;
        border-left: 1px solid #E2E8F0;
    }
}

.tpcl-visa-hero-split__news-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1E40AF;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.375rem;
    border-bottom: 2px solid #3B82F6;
}

.tpcl-visa-hero-split__news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tpcl-visa-hero-split__news-item {
    border-bottom: 1px solid #E2E8F0;
}

.tpcl-visa-hero-split__news-item:last-child {
    border-bottom: none;
}

.tpcl-visa-hero-split__news-item a {
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: background 0.2s ease;
}

.tpcl-visa-hero-split__news-item a:hover {
    background: rgba(30, 64, 175, 0.05);
    margin: 0 -0.5rem;
    padding: 0.5rem 0.5rem;
    border-radius: 0.25rem;
}

.tpcl-visa-hero-split__news-date {
    display: block;
    font-size: 0.75rem;
    color: #64748B;
    margin-bottom: 0.25rem;
}

.tpcl-visa-hero-split__news-title-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1F2937;
    line-height: 1.5;
}

.tpcl-visa-hero-split__news-item a:hover .tpcl-visa-hero-split__news-title-text {
    color: #1E40AF;
}

.tpcl-visa-hero-split__news-empty {
    color: #64748B;
    font-size: 0.875rem;
    text-align: center;
    padding: 2rem 0;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */

.tpcl-visa-reasons {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .tpcl-visa-reasons {
        padding: 3.5rem 0;
    }
}

@media (min-width: 1024px) {
    .tpcl-visa-reasons {
        padding: 4.5rem 0;
    }
}

.tpcl-visa-reasons .tpcl-section__header .section-title-jp {
    color: #FFFFFF;
}

.tpcl-visa-reasons .tpcl-section__header .section-title-en {
    color: rgba(255, 255, 255, 0.6);
}

.tpcl-visa-reasons__grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tpcl-visa-reasons__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tpcl-visa-reason {
    text-align: center;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.tpcl-visa-reason:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.tpcl-visa-reason .card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 1.25rem;
}

.tpcl-visa-reason__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
}

.tpcl-visa-reason__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #60A5FA;
    display: grid;
    place-items: center;
    margin: 0 auto;
}

.tpcl-visa-reason__icon i {
    width: 28px;
    height: 28px;
}

.tpcl-visa-reason__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.tpcl-visa-reason__desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: left;
}

/* ==========================================================================
   TABLE OF CONTENTS (VISA Theme Override)
   ========================================================================== */

.tpcl-toc {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
}

.tpcl-toc__toggle .lucide-list,
.tpcl-toc i[data-lucide="list"] {
    color: var(--accent-color) !important;
}

.tpcl-toc__link:hover {
    color: var(--accent-color) !important;
}

.tpcl-toc__link.font-medium {
    color: #1F2937;
}

.tpcl-toc__link.pl-4 {
    color: #64748B;
}

/* ==========================================================================
   TABLE FIRST COLUMN - Narrow for numbered tables only
   ========================================================================== */

table.tpcl-table--numbered td:first-child {
    width: 5rem;
    text-align: center;
}

/* ==========================================================================
   PAGE NAVIGATION - Compact size
   ========================================================================== */

nav[aria-label*="ページナビゲーション"] > a {
    padding: 0.75rem 1rem;
}
