/* ==========================================================================
   Blog Page Styles
   ========================================================================== */

/* --------------------------------
   Blog Page Container
   -------------------------------- */
.blog-page {
    background: linear-gradient(to bottom, #ffffff, #efefef);
    min-height: 100vh;
}

/* --------------------------------
   Hero Section
   -------------------------------- */
.blog-hero {
    padding-top: 120px;
    width: 100%;
}

.blog-hero__title {
    font-family: 'Futura', 'Century Gothic', sans-serif;
    font-weight: 500;
    font-size: 50px;
    background: linear-gradient(93deg, #452b92 0.24%, #f00466 14.28%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    margin-left: 80px;
    line-height: 1;
}

.blog-hero__visual {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.blog-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.5;
}

.blog-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3), transparent);
}

.blog-hero__text {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
}

.blog-hero__text-main {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Hiragino Kaku Gothic Pro', sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: #2e2e97;
    letter-spacing: 3.84px;
    line-height: 1.4;
}

/* --------------------------------
   Blog List Section
   -------------------------------- */
.blog-list-section {
    padding: 60px 80px 80px;
    max-width: 1280px;
    margin: 0 auto;
}

.blog-list-container {
    width: 100%;
}

/* --------------------------------
   PC Grid Layout
   -------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.blog-grid:last-of-type {
    margin-bottom: 0;
}

.blog-grid__left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-grid__right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --------------------------------
   Featured Card (Left Column)
   -------------------------------- */
.blog-card--featured {
    display: block;
}

.blog-card--featured .blog-card__link {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.blog-card--featured .blog-card__link:hover {
    opacity: 0.8;
}

.blog-card--featured .blog-card__image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin-bottom: 16px;
}

.blog-card--featured .blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card--featured .blog-card__content {
    padding: 0;
}

.blog-card--featured .blog-card__date {
    display: block;
    font-family: 'Futura', 'Century Gothic', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #767676;
    margin-bottom: 8px;
}

.blog-card--featured .blog-card__title {
    font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #061840;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.blog-card--featured .blog-card__excerpt {
    font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #767676;
    line-height: 1.8;
    margin: 0;
}

/* --------------------------------
   Small Card (Right Column)
   -------------------------------- */
.blog-card--small {
    display: block;
    padding-bottom: 20px;
    border-bottom: 0.4px solid #8b8b8b;
}

.blog-card--small .blog-card__link {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.blog-card--small .blog-card__link:hover {
    opacity: 0.8;
}

.blog-card--small .blog-card__content {
    flex: 1;
    min-width: 0;
}

.blog-card--small .blog-card__date {
    display: block;
    font-family: 'Futura', 'Century Gothic', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #767676;
    margin-bottom: 4px;
}

.blog-card--small .blog-card__title {
    font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #061840;
    line-height: 1.5;
    margin: 0 0 4px 0;
}

.blog-card--small .blog-card__excerpt {
    font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #767676;
    line-height: 1.6;
    margin: 0;
}

.blog-card--small .blog-card__image--small {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-card--small .blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-grid__right .blog-card--small:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* --------------------------------
   SP Layout (Hidden on PC)
   -------------------------------- */
.blog-list-sp {
    display: none;
}

/* --------------------------------
   Hidden States (Load More)
   -------------------------------- */
.blog-grid--hidden {
    display: none !important;
}

.blog-card-sp--hidden {
    display: none !important;
}

/* --------------------------------
   More Button
   -------------------------------- */
.blog-more-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.blog-more-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 160px;
    height: 40px;
    border-radius: 6px;
    text-decoration: none;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(264deg, #ff0061 44%, #452b92 114%) border-box;
    border: 1px solid transparent;
    transition: background 0.3s ease, color 0.3s ease;
}

.blog-more-btn span {
    font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #231E1F;
}

.blog-more-btn:hover {
    background: linear-gradient(90deg, #312d96 0%, #fd0162 100%);
}

.blog-more-btn:hover span {
    color: #fff;
}

.blog-more-btn:hover .blog-more-arrow path {
    fill: #fff;
}

.blog-more-arrow {
    width: 33px;
    height: 24px;
}

/* --------------------------------
   Contact Section
   -------------------------------- */
.blog-contact {
    background: linear-gradient(90deg, #312d96 0%, #fd0162 100%);
    padding: 60px 0;
}

.blog-contact__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.blog-contact__title {
    font-family: 'Futura', 'Century Gothic', sans-serif;
    font-weight: 500;
    font-size: 48px;
    color: #fff;
    letter-spacing: 2px;
    margin: 0;
}

.blog-contact__text {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Hiragino Kaku Gothic Pro', sans-serif;
    font-weight: bold;
    font-size: 21px;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

.blog-contact__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-top: 16px;
    transition: transform 0.2s ease;
}

.blog-contact__btn:hover {
    transform: scale(1.1);
}

.blog-contact__arrow {
    width: 54px;
    height: 54px;
}

/* ==========================================================================
   Mobile Responsive Styles (SP)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* Hero Section - Mobile */
    .blog-hero {
        padding-top: 80px;
    }

    .blog-hero__title {
        font-size: 35px;
        margin-bottom: 40px;
        margin-left: 15px;
    }

    .blog-hero__visual {
        height: 264px;
    }

    .blog-hero__text {
        left: 29px;
    }

    .blog-hero__text-main {
        font-size: 24px;
        letter-spacing: 2.88px;
        line-height: 44px;
    }

    /* Blog List Section - Mobile */
    .blog-list-section {
        padding: 40px 15px 60px;
    }

    /* Hide PC Grid on Mobile */
    .blog-grid {
        display: none;
    }

    /* Show SP List on Mobile */
    .blog-list-sp {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* SP Card Styles */
    .blog-card-sp {
        display: block;
    }

    .blog-card-sp__link {
        display: block;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

    .blog-card-sp__link:hover {
        opacity: 0.8;
    }

    .blog-card-sp__image {
        width: 100%;
        height: 180px;
        overflow: hidden;
        margin-bottom: 12px;
    }

    .blog-card-sp__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .blog-card-sp__content {
        padding: 0;
    }

    .blog-card-sp__title {
        font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
        font-weight: 600;
        font-size: 14px;
        color: #061840;
        line-height: 1.6;
        margin: 0 0 8px 0;
    }

    .blog-card-sp__excerpt {
        font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
        font-weight: 400;
        font-size: 12px;
        color: #767676;
        line-height: 1.8;
        margin: 0 0 8px 0;
    }

    .blog-card-sp__date {
        display: block;
        font-family: 'Futura', 'Century Gothic', sans-serif;
        font-weight: 500;
        font-size: 12px;
        color: #767676;
    }

    /* More Button - Mobile */
    .blog-more-wrapper {
        justify-content: flex-end;
        margin-top: 30px;
    }

    .blog-more-btn {
        width: 160px;
        height: 40px;
        border-radius: 6px;
    }

    .blog-more-btn span {
        font-size: 16px;
    }

    .blog-more-arrow {
        width: 33px;
        height: 24px;
    }

    /* Contact Section - Mobile */
    .blog-contact {
        padding: 34px 0;
    }

    .blog-contact__title {
        font-size: 32px;
    }

    .blog-contact__text {
        font-size: 18px;
        line-height: 54px;
    }

    .blog-contact__btn {
        margin-top: 8px;
    }
}
