.archive.section,
.blog-intro,
.blog.section,
.footer {
    position: relative;
}

/* ================================
▼ ブログ：ファーストビュー統一
（service.css と同じルールに揃える）
================================ */

/* ファーストビュー画像 */
.blog.section .blog__visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* 英語タイトル（section-en） */
.blog-intro .section-en {
    font-size: 128px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    position: relative;
    margin-top: -80px;
    /* service.css と同じ */
}

.blog-intro .section-en .outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(32, 174, 229, 0.25);
}

.blog-intro .section-en .fill {
    position: absolute;
    top: 3px;
    left: 4px;
    color: rgba(32, 174, 229, 0.25);
}

.section-en:first-of-type {
    margin-top: -80px;
}

.intro .title {
    z-index: 10;
}

.intro .title::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background: var(--accent);
    margin: 8px auto 0;
}

/* ====== Floating Color Dots（ブログページ専用） ====== */
.blog .float-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: floatUpDown 8s ease-in-out infinite;
    z-index: -10;
}

.blog .blog-dot-wrapper {
    position: absolute;
    width: 100%;
    top: 25vh;
    height: 120vh;
    pointer-events: none;
    z-index: -20;
    overflow: hidden;
}

/* カラードット（ブログページ専用） */
.blog .pink {
    background: #f6c8d8;
    width: 90px;
    height: 90px;
    top: 60%;
    left: 15%;
    animation-delay: 0s;
}

.blog .yellow {
    background: #fff4a8;
    width: 80px;
    height: 80px;
    top: 45%;
    right: 10%;
    animation-delay: 1s;
}

.blog .blue {
    background: #BEE3F8;
    width: 100px;
    height: 100px;
    top: 30%;
    left: 55%;
    animation-delay: 2s;
}

.blog .green {
    background: #c9f7d3;
    width: 110px;
    height: 110px;
    bottom: 0%;
    left: 8%;
    animation-delay: 3s;
}

.blog .purple {
    background: #d8d0ff;
    width: 110px;
    height: 110px;
    bottom: 5%;
    right: 18%;
    animation-delay: 4s;
}

.blog .orange {
    background: #ffd7a6;
    width: 70px;
    height: 70px;
    top: 35%;
    left: 5%;
    animation-delay: 5s;
}

/* アニメーション（ブログページ専用） */
@keyframes floatUpDown {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(10px, -20px);
    }

    50% {
        transform: translate(0, -40px);
    }

    75% {
        transform: translate(-10px, -20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* ▼ ブログ一覧 全体幅 */
.archive.section .blog_wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

/* ▼ カード外枠（青い枠） */
.post-item {
    display: flex;
    width: 90%;
    border: 1px solid #20AEE5;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 32px;
    align-items: center;
    margin: 0 auto;
}

/* ▼ カード全体をクリックできる a タグ */
.post-item a {
    display: flex;
    width: 100%;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    box-sizing: border-box;
}

/* ▼ 画像ブロック */
.post-item .thumb {
    width: 33%;
    min-width: 33%;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
    padding: 20px;
}

.post-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* ▼ テキストブロック */
.post-item .meta {
    width: 67%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ▼ タイトル */
.post-item .post-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #292929;
}

/* ▼ 日付 + カテゴリ（横並び） */
.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

/* ▼ 日付 */
.date {
    font-size: 14px;
    color: #444;
    font-weight: 600;
    letter-spacing: .1rem;
}

/* ▼ カテゴリ */
.cat {
    background: #20AEE5;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    /* 角丸 */
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    line-height: 1.2;
}

/* ▼ 抜粋 */
.post-item p {
    font-size: 16px;
    color: #444;
    line-height: 1.4;
    padding-right: 20px;
}

/* =====================================================
contact
===================================================== */
.contact.section--alt {
    margin-top: 80px;
}

.contact-inner {
    background: #F1FAFF;
    text-align: center;
    padding: 50px 0;
}

/* カテゴリーボタン */
.blog-category-links {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog-category-links li {
    list-style: none;
}

.blog-category-links li a {
    background: #20AEE5;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.blog-category-links li a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 767px) {
    .section-en {
        font-size: 50px;
    }

    .section-en:first-of-type {
        margin-top: -40px;
    }

    h2.title {
        font-size: 20px;
        margin: 16px 0;
    }

    .blog-category-links {
        margin-top: 20px;
        margin-bottom: 0;
    }

    .blog .blog-dot-wrapper {
        top: 10vh;
    }

    .blog .pink {
        width: 45px;
        height: 45px;
        top: 35%;
        left: 20%;
    }

    .blog .yellow {
        width: 30px;
        height: 30px;
        top: 52%;
        left: 8%;
    }

    .blog .blue {
        width: 40px;
        height: 40px;
        top: 12%;
        left: 70%;
    }

    .blog .green {
        width: 35px;
        height: 35px;
        top: 35%;
        left: 65%;
    }

    .blog .purple {
        width: 40px;
        height: 40px;
        top: 55%;
        right: 15%;
    }

    .blog .orange {
        width: 25px;
        height: 25px;
        top: 18%;
        left: 10%;
    }

    .post-item {
        width: 90%;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .post-item .thumb {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
        padding: 0;
        height: auto;
    }

    .post-item .thumb img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .post-item .content {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
        padding: 16px 0;
    }

    .post-list {
        gap: 20px;
    }

    .post-cat {
        order: 1;
    }

    .post-date {
        order: 2;
    }

    .post-title {
        order: 3;
    }

    .post-item p {
        order: 4;
    }

    .post-meta {
        margin-bottom: 0;
    }

    .post-item .post-title {
        font-size: 20px;
        line-height: 1.4;
    }

    .post-item p {
        font-size: 14px;
        line-height: 1.6;
        padding-right: 0;
    }
}