/* =========================
    レイアウト（全体）
========================= */
.column-section {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 0 100px;
}

/* 左カラム */
.column-left {
    flex-shrink: 0;
    max-width: 200px;
    margin-right: 70px;
}

.column-left-inner {
    position: relative;
}

.column-left h2 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 40px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #000;
}

.column-left h2 span {
    display: inline-block;
    background-color: #dc000c;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    margin-right: 10px;
    vertical-align: middle;
}

.column-left p {
    margin-bottom: 80px;
    text-align: left;
    font: normal normal medium 16px/32px "Zen Kaku Gothic New" !important;
    letter-spacing: 0.64px;
    line-height: 2em;
}

/* 右カラム（スクロール用ラップに変更） */
.column-right {
    flex: 1;
    overflow-x: hidden;
    padding-right: 10px;
}
/* カード全体リンク */
.column-right-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.column-right-link .arrow-btn:hover {
    background: #333;
}

/* =========================
    スクロール領域
========================= */
.column-scroll-wrap {
    max-height: 456px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    flex: 1;
}

.column-scroll-inner {
    display: flex;
    flex-direction: column;
}

/* =========================
    カード
========================= */
.column-card {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.column-card:first-child {
    border-top: 1px solid #ccc;
}

/* 画像 */
.column-card-img {
    width: 217.81px;
    height: 145.21px;
    background: #ccc;
    flex-shrink: 0;
}

.column-card-img img {
    width: 100%;
    height: auto;
}

/* カード本文 */
.column-card-content {
    flex: 1;
}

.column-card-content .date {
    text-align: left;
    font: normal normal medium 14px/25px "Zen Kaku Gothic New";
    letter-spacing: 0.56px;
    color: #000000;
    opacity: 1;
}

.column-card-content h3 {
    margin-top: 24px;
    text-align: left;
    font: normal normal medium 18px/31px "Zen Kaku Gothic New";
    letter-spacing: 0.72px;
    color: #000000;
    opacity: 1;
    width: 80%;
}

.column-card-content p {
    margin-top: 35px;
    line-height: 2;
    max-width: 400px;
}

/* =========================
    そのほか
========================= */
.column-list {
    display: flex;
    gap: 40px;
}

.column-item {
    width: 250px;
    text-align: left;
}

/* =========================
    SP
========================= */
@media screen and (max-width: 519px) {
    .column-section {
        display: block;
    }

    .column-card {
        display: block;
    }

    .column-right {
        min-width: 0;
    }

    .more-linkbox {
        display: none !important;
    }

    .column-left {
        margin-right: 0;
        max-width: 500px;
        width: 100%;
    }
    .column-card-img {
        width: 100%;
        height: auto;
    }

    .column-card-content {
        margin-top: 24px;
    }
    .column-scroll-wrap {
        max-height: 490px;
    }
    .column-left h2 {
        font-size: 28px;
    }
}

/* ▼ hover 対象 */
.hover-wrapper {
    position: relative;
    overflow: hidden;
}

/* ▼ 下線（右下 → 左下） */
.hover-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.45s ease;
}

/* ▼ 右線（右下 → 右上） */
.hover-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 0;
    background-color: #000;
    transition: height 0.45s ease;
}

/* 上線・左線 */
.line-top,
.line-left {
    position: absolute;
    background: #000;
}

/* 上線（右→左） */
.line-top {
    top: 0;
    right: 0;
    width: 0;
    height: 2px;
    transition: width 0.45s ease 0.45s;
}

/* 左線（下→上） */
.line-left {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 0;
    transition: height 0.45s ease 0.45s;
}

/* ▼ hoverで四辺線アニメ */
.column-right-link:hover .hover-wrapper::before {
    width: 100%;
}
.column-right-link:hover .hover-wrapper::after {
    height: 100%;
}
.column-right-link:hover .line-top {
    width: 100%;
}
.column-right-link:hover .line-left {
    height: 100%;
}

/* ▼ 矢印ボタン */
.arrow-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48px;
    height: 48px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 中の矢印 */
.arrow-box {
    position: relative;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.arrow-box::before,
.arrow-box::after {
    content: "→";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff; /* ←矢印は白 */
    font-size: 20px;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
}

/* 1本目：右へ */
.arrow-box::before {
    right: 10px;
}

/* 2本目：左外から入ってくる */
.arrow-box::after {
    right: 10px;
    transform: translate(calc(-100% - 10px), -50%);
}

/* ▼ hoverで矢印スライド */
.column-right-link:hover .arrow-box::before {
    animation-name: arrowRightLeft;
}

.column-right-link:hover .arrow-box::after {
    animation-name: arrowLeftRight;
    animation-delay: 0.18s;
}

/* ▼ 動き */
@keyframes arrowRightLeft {
    0% {
        transform: translate(0, -50%);
    }
    100% {
        transform: translate(100%, -50%);
    }
}

@keyframes arrowLeftRight {
    0% {
        transform: translate(calc(-100% - 10px), -50%);
    }
    100% {
        transform: translate(0, -50%);
    }
}
