.elementor-1676 .elementor-element.elementor-element-d1534c6{--display:flex;--gap:60px 60px;--row-gap:60px;--column-gap:60px;border-style:solid;--border-style:solid;border-width:0px 0px 1px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:1px;--border-left-width:0px;border-color:#E9E9E9;--border-color:#E9E9E9;--margin-top:75px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:100px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}.elementor-widget-breadcrumbs{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-1676 .elementor-element.elementor-element-3d31095{font-family:"Noto Sans JP", Sans-serif;font-weight:400;color:#ACACAC;}.elementor-1676 .elementor-element.elementor-element-3d31095 a{color:#ACACAC;}.elementor-1676 .elementor-element.elementor-element-3a37d9f{--display:flex;--padding-top:100px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for shortcode, class: .elementor-element-e0c659a */.custom-page-header {
    position: relative;
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    padding: 40px 0;
    overflow: hidden;
}

.jp-title {
    position: relative;
    z-index: 10;
    font-size: clamp(1.2rem, 3vw, 1.8rem); /* 長いタイトル時に自動縮小 */
    font-weight: 700;
    display: flex;
    align-items: center;
    margin: 0;
    color: #333;
}

.accent-line {
    width: 6px;
    height: 1.2em;
    background-color: #015EEA;
    transform: skewX(-20deg);
    margin-right: 15px;
    flex-shrink: 0;
}

.header-right {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.en-text {
    font-family: 'Arial Black', sans-serif;
    font-size: clamp(50px, 12vw, 110px);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -2px;
    color: rgba(0, 0, 0, 0.04);
    text-transform: uppercase;
    text-align: right;
}

.en-first-line {
    display: inline-block;
    background: linear-gradient(to right, #015EEA 50%, rgba(0, 0, 0, 0.04) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wipeColorLeftToRight 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes wipeColorLeftToRight {
    0% { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}
.en-first-line {
    display: inline-block;
    background: linear-gradient(to right, #015EEA 50%, rgba(0, 0, 0, 0.04) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* アニメーション：3秒後に開始、1.2秒かけて染まる */
    animation: wipeColorLeftToRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 3s; 
}
/* --- 全体コンテナ --- */
.custom-page-header {
    position: relative;
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    padding: 40px 10px; /* 左右に少し余裕を持たせてキレを防止 */
    overflow: visible; /* 斜め線がはみ出しても表示されるようにする */
}

/* --- 日本語タイトル --- */
.jp-title {
    position: relative;
    z-index: 10;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    margin: 0;
    color: #333;
    letter-spacing: 0.05em;
}

/* ★斜めライン（キレ修正版） */
.accent-line {
    width: 6px;
    height: 1.2em;
    background-color: #015EEA;
    transform: skewX(-20deg);
    margin-right: 15px;
    margin-left: 5px; /* 左側にマージンを持たせてキレを防止 */
    display: inline-block;
    flex-shrink: 0;
}

/* --- 英語背景タイトル（3秒後に染まる） --- */
.header-right {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    line-height: 1;
    pointer-events: none;
}

.en-text {
    font-family: 'Arial Black', sans-serif;
    font-size: clamp(50px, 12vw, 110px);
    font-weight: 900;
    letter-spacing: -2px;
    color: rgba(0, 0, 0, 0.04);
    text-transform: uppercase;
}

.en-first-line {
    display: inline-block;
    background: linear-gradient(to right, #015EEA 50%, rgba(0, 0, 0, 0.04) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wipeColorLeftToRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    /* アニメーション遅延はPHP側で3s指定 */
}

@keyframes wipeColorLeftToRight {
    0% { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

/* スマホ対応 */
@media (max-width: 768px) {
    .custom-page-header { min-height: 120px; padding: 30px 0; }
    .jp-title { font-size: 1.3rem; }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-9e66449 *//* グリッドレイアウト：4カラム */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* カードスタイル */
.card-item {
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* サムネイルを16:9で統一 */
.card-thumbnail {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: #f0f0f0;
}

.card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 2.8em; /* 2行分 */
     color: #333333;
    overflow: hidden;
}

/* ★3行で制限して「...」を出す */
.card-excerpt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    height: 4.8em; /* 1.6 * 3行 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.8rem;
    color: #015EEA;
    font-weight: 700;
}

/* ページネーション */
.custom-pagination ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
}

.custom-pagination a, .custom-pagination span {
    display: block;
    padding: 8px 15px;
    border: 1px solid #eee;
    text-decoration: none;
    color: #333;
}

.custom-pagination .current {
    background: #015EEA;
    color: #fff;
    border-color: #015EEA;
}

/* レスポンシブ：スマホは1カラム、タブレットは2カラム */
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* 日付のスタイル */
.card-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    font-family: sans-serif;
}

/* タイトルとのバランス調整 */
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px; /* 日付を入れたので余白を少し調整 */
    height: 2.8em;
    overflow: hidden;
    color: #333;
}

/* その他、以前お伝えしたカード全体のCSSはそのまま維持してください *//* End custom CSS */