/*
Theme Name: SASUKE Theme
Description: SASUKEブランディング用のテーマ
Author: Gou
Version: 1.0
*/


:root {
    --main: #E06B6B;
    --accent: #E5533D;
    --bg-cream: #F6F2E4;
    --text-black: #3A2F2F;
}



#landscape-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    text-align: center;
    padding-top: 40vh;
    font-size: 1.2rem;
}

@media screen and (orientation: landscape) and (max-height: 500px) {
    .fv {
        height: 180vh !important;
    }

}


@media screen and (max-width: 767px) and (orientation: landscape) {
    .fv {
        height: 100vh;
        position: relative;
        overflow: hidden;
        display: none;
    }

    .fv .video-strip video {
        width: 200vw;
        /* 無理やり横長 */
        height: 100vh;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .fv .fv-text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        text-align: center;
        padding: 0 20px;
        width: 100%;
    }

    .fv .animated-title span,
    .fv .animate-fv,
    .fv .sub {
        font-size: 3vw;
        /* 文字サイズ調整（必要に応じて調整） */
    }
}

.section {
    scroll-margin-top: 100px;
}

@media screen and (max-width:767px) {
    .section {
        scroll-margin-top: 70px;
    }
}

html {
    scroll-behavior: smooth;
}

.errorMes {
    text-align: center;
}




/* Base */
body {
    margin: 0;
    color: var(--text-black);
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    padding-top: 100px !important;
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

@media screen and (max-width: 767px) {
    body {
        padding-top: 80px !important;
    }
}


html {
    overflow-x: hidden;
}

h1,
h2,
h3,
.fv-text-overlay,
.section-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}



img {
    max-width: 100%;
    height: auto;
    display: block;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1130px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
/* ヘッダー全体 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--main);
    color: white;
    padding: 10px 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
}

.header .logo {
    height: 80px;
    z-index: 10005;
}

.logo {
    cursor: pointer;
}


@media screen and (max-width: 767px) {
    .header .logo {
        height: 60px;
    }
}

/* ナビ（PC用） */
.nav-pc {
    display: block;
}

.nav {
    display: flex;
    gap: 32px;
    font-size: 14px;
    font-weight: bold;
    list-style: none;
    padding-top: 5px;
    margin: 0;
}

.nav a {
    color: white;
    text-decoration: none;
}

/* Instagramアイコン */
.nav-instagram a {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/themes/sasuke-theme/assets/img/icon-instagram.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ハンバーガー（スマホ用） */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: absolute;
    right: 40px;
    z-index: 10001;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #fff;
    display: block;
}

/* バツ印アニメーション */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6.5px, 6px);
    transform-origin: center;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6.5px, -6px);
    transform-origin: center;
}



@media screen and (max-width: 767px) {
    .hamburger {
        display: flex;
    }
}

/* モバイルメニュー（クリックで展開） */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--main);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav li {
    margin: 20px 0;
}

.mobile-nav a {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

/* レスポンシブ切り替え */
@media screen and (max-width: 767px) {
    .nav-pc {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}



/* Section Base */
.section {
    padding: 100px 0;
}

.section-title {
    color: var(--text-black);
    text-align: center;
    font-size: 60px;
    margin-bottom: 25px !important;
    letter-spacing: 5.8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    margin-top: 0;
    margin-bottom: 50px;
}


.section-title span {
    font-size: 16px;
    color: var(--main);
    display: block;
    margin-top: 0;
}

.section-title {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title span {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.section-title.visible span {
    opacity: 1;
    transform: translateY(0);
}



/* First View */
.fv {
    height: calc(100vh - 100px);
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

@media screen and (max-width:767px) {
    .fv {
        padding: 0 20px;
    }
}

.video-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    padding: 60px 0;
    max-width: 1360px;
    margin: 0 auto;
    justify-content: center;

}


.video-strip video {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 16px;
    height: auto;
    width: 100%;
    display: block;
}

video {
    filter: brightness(1.05) contrast(0.85) saturate(1.05) blur(0.2px) sepia(0.05);
    transition: filter 0.3s ease;
}

.video-pc {
    display: contents;
}



.fv-text-overlay p,
.fv-text-overlay h1 {
    color: #FFFFFF;
    font-weight: bold;
    text-shadow:
        0 0 0.25px #000000,
        0.25px 0 #000000,
        0 0.25px #000000,
        -0.25px 0 #000000,
        0 -0.25px #000000,
        2px 2px 4px rgba(0, 0, 0, 0.45);
}


.fv-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    z-index: 2;
    white-space: nowrap;
}

.fv-text-overlay p {
    font-size: 35px;
    font-weight: 500;
}



.color-fx {
    display: inline-block;
    color: white;
    transition: color 0.3s ease;
}

.color-fx.colored {
    color: var(--accent) !important;
}

/* === ローディング画面 === */
#loading-overlay {
    position: fixed;
    inset: 0;
    background: #E06B6B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    z-index: 9999;

    /* 🔥 最初は完全に表示しておく！ */
    opacity: 1;
    pointer-events: auto;

    transition: opacity 1.2s ease;
}





/* === ファーストビュー テキスト === */
.fv-text-overlay h1 {
    font-size: 90px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin: 0;
}

.fv-text-overlay .sub {
    display: inline-block;
    background: rgba(229, 83, 61, 0.7);
    color: #fff;
    padding: 6px 26px;
    border-radius: 6px;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fv-text-overlay .sub.active {
    opacity: 1;
    transform: translateY(0);
}

.animated-title {
    display: flex;
    justify-content: center;
    gap: 0em;
    z-index: 10000;
}

.animated-title span {
    display: inline-block;
    position: relative;
}

.space {
    margin-right: 20px;
}






/* === KOEN ASOBI ふわふわループ === */
.bounce-soft {
    animation: bounceSoft 0.5s ease;
}

@keyframes bounceSoft {
    0% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-6px);
        /* ← 控えめに跳ねる */
    }

    40% {
        transform: translateY(7px);
        /* ← ちょっと落ちる */
    }

    60% {
        transform: translateY(-3px);
        /* ← 軽く跳ね返る */
    }

    100% {
        transform: translateY(0);
    }
}




/* === 上下のテキスト（登場） === */
.animate-fv {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeTextIn 0.6s ease-out forwards;
}

@keyframes fadeTextIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* === 赤文字アニメーション（色・ポップ） === */
.color-fx.colored {
    color: var(--accent, #E5533D);
    position: relative;
}




@keyframes underlineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.color-fx.pop {
    animation: popBounce 0.35s cubic-bezier(0.25, 0.1, 0.25, 1.4);
}

@keyframes popBounce {
    0% {
        transform: scale(1) translateY(0);
    }

    30% {
        transform: scale(1.6) translateY(-0.6em);
        /* ←さらに高く＆大きく */
    }

    60% {
        transform: scale(0.8) translateY(0.3em);
        /* ←落ち幅も強調 */
    }

    80% {
        transform: scale(1.05) translateY(-0.1em);
        /* ←バウンド感追加 */
    }

    100% {
        transform: scale(1) translateY(0);
    }
}



.sub {
    position: relative;
    display: inline-block;
    padding: 0.4em 1.2em;
    color: white;
    font-weight: bold;
    z-index: 1;
    overflow: hidden;
    background-color: transparent !important;
}

.sub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: rgba(229, 83, 61, 0.7);
    z-index: -1;
    transition: width 0.15s ease;
}

.sub.active::before {
    width: 100%;
}



/* レスポンシブ：2列 */
@media (max-width: 992px) {
    .video-strip {
        gap: 40px !important;
    }

    .video-strip video {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .video-strip video:nth-of-type(3) {
        display: none;
    }
}

/* レスポンシブ：1列 */
@media screen and (max-width: 767px) {
    .video-strip {
        padding: 0;
        margin: 0;
        width: 100%;
        height: calc(100svh - 80px);
        aspect-ratio: 9 / 16;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 0;
    }


    .video-strip video {
        display: none;
        max-width: 100%;
    }

    .video-strip video.active {
        display: block;
        width: 100%;
        height: 90%;
        object-fit: cover;
        object-position: center;
    }
}




/* About */
.bg-white {
    background: #fff;
}

.about-icons {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.about-icons .item {
    text-align: center;
    max-width: 240px;
}

.about-icons img {
    width: 175px;
    border-radius: 50%;
}

@media screen and (max-width:767px) {
    .about-icons img {
        width: 135px;
    }
}

.about-text {
    text-align: center;
    margin-bottom: 40px;
}

.about-text strong {
    color: var(--accent);
}

.about-gallery {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.about-gallery img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.circle-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1130px;
    margin: 0 auto;
}

.circle-slider {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-loop 20s linear infinite;
}

.circle-slider img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

@media screen and (max-width:767px) {
    .circle-slider img {
        width: 100px;
        height: 100px;
    }

    .circle-slider-wrapper::before {
        left: -20px;
    }

    .circle-slider-wrapper::after {
        right: -20px !important;
    }
}


@keyframes scroll-loop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-1120px);
        /* 140*7 + 20*7 */
    }
}


.circle-slider-wrapper::before,
.circle-slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.circle-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

@media screen and (max-width:767px) {
    .circle-slider-wrapper::before {
        left: -25px;
    }
}


.circle-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}



.intro-message {
    text-align: center;
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-black);
    margin-bottom: 40px;
    max-width: 1130px;
    padding: 0 40px;
}

@media screen and (max-width:767px) {
    .intro-message {
        padding: 10px !important;
    }
}

.intro-message .highlight {
    color: var(--main);
    font-weight: bold;
}

.intro-message .large {
    font-size: 25px;
}


/* News */
.bg-cream {
    background: var(--bg-cream);
}

/* タグ一覧 */
.tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}


.tags button {
    padding: 6px 20px 6px 32px;
    border: 1px solid var(--text-black);
    border-radius: 999px;
    font-size: 14px;
    background: white url("/wp-content/themes/sasuke-theme/assets/img/icon-shuriken.webp") no-repeat 10px center / 14px;



    color: var(--text-black);
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 押されてる状態 */
.tags button.active {
    background-color: var(--text-black);
    color: white;
    box-shadow: none;
    background: var(--text-black) url("/wp-content/themes/sasuke-theme/assets/img/icon-shuriken-w.webp") no-repeat 10px center / 14px;
}


@media screen and (max-width:767px) {
    .tags {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, auto));
        gap: 12px;
    }
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}




.news-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.news-thumb {
    width: 200px;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news-title {
    font-size: 16px;
    line-height: 1.6;
    max-height: calc(1.6em * 3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-weight: bold;
}


.news-body {
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
    color: #999;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 4px 12px 4px 30px;
    background: white url("/wp-content/themes/sasuke-theme/assets/img/icon-shuriken.webp") no-repeat 10px center / 14px;
    border: 1px solid var(--text-black);
    border-radius: 999px;
    font-weight: bold;
    white-space: nowrap;
    color: var(--text-black);
}

@media (max-width: 600px) {
    .fv {
        height: auto;
        position: relative;
    }


    .news-item {
        flex-direction: column;
        padding: 16px;
    }

    .news-thumb {
        width: 100%;
    }

    .news-title {
        font-size: 15px;
        line-height: 1.6;
        -webkit-line-clamp: 4;
        max-height: calc(1.6em * 4);
    }

    .news-meta {
        flex-wrap: wrap;
        font-size: 12px;
        gap: 8px;
    }

    .news-tag {
        font-size: 11px;
        padding: 4px 10px 4px 26px;
        background-size: 12px;
        background-position: 8px center;
    }

    .tags button {
        font-size: 13px;
        padding: 6px 16px 6px 28px;
        background-size: 12px;
        background-position: 8px center;
    }
}

.news-modal {
    display: none;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.news-modal.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    width: calc(100% - 80px);
    /* 左右40pxの余白を確保 */
    box-sizing: border-box;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
    animation: modalIn 0.4s ease;
}

.news-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}


.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination button {
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: 100px;
    color: var(--accent);
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.pagination button.active {
    background: var(--accent);
    color: #fff;
}



/* Blog */


.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /* グリッド内で高さ揃える場合に */
}

.card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* カード1列表示（スマホ用） */
@media screen and (max-width: 767px) {
    .blog-grid {
        flex-direction: column;
    }

    .blog-grid .card {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}



.card-text {
    padding: 16px;
}

.card-text .date {
    font-size: 14px;
    color: #999;
}

.card-text h3 {
    margin: 8px 0;
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 3em;
}

.card-text .tags {
    font-size: 12px;
    color: var(--accent);
}


.card-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

body.single-post {
    background-color: #fff !important;
}

body.page-id-54 {
    background-color: #fff !important;
}





.single-post-narrow {
    max-width: 720px;
    margin: 0 auto;
}


.single-thumb img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 24px;
}

.single-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.single-title {
    margin-top: 0px !important;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1px;
}

.single-tags {
    margin-bottom: 15px;
}

.single-tag {
    display: inline-block;
    margin-right: 10px;
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
}

.single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #3A2F2F;
}

/* 共通ベース */
.single-post h1,
.single-post h2,
.single-post h3 {
    line-height: 1.5;
    color: var(--text-black);
}

.single-post p {
    line-height: 1.8;
    color: var(--text-black);
    font-size: 16px;
}

/* タブレット（768px〜1199px） */
@media screen and (max-width: 1199px) {
    .single-post h1 {
        font-size: 28px;
    }

    .single-post h2 {
        font-size: 24px;
    }

    .single-post h3 {
        font-size: 20px;
    }

    .single-post p {
        font-size: 15px;
    }
}

/* スマホ（〜767px） */
@media screen and (max-width: 767px) {
    .single-post h1 {
        font-size: 24px;
    }

    .single-post h2 {
        font-size: 20px;
    }

    .single-post h3 {
        font-size: 18px;
    }

    .single-post p {
        font-size: 14px;
    }
}



.card-text .blogTags {
    margin-top: auto;
    min-height: 1.5em;
    /* タグがなくても空白確保 */
}



/* 共通ボタン */
.btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: 2px solid var(--accent);
    background: white;
    border-radius: 999px;
    font-size: 18px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-shadow:
        1px 1px 0 #fff,
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1.5px 1.5px 0 var(--accent);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent);
    color: white;
    text-shadow: none;
    transform: translateY(-2px);
}

.btn::after {
    content: "▶";
    font-size: 1em;
    transition: transform 0.2s ease;
}

.btn:hover::after {
    transform: translateX(4px);
}

.blogTags {
    display: flex;
    gap: 12px;
    justify-content: left;
    flex-wrap: wrap;
}

.card-text .blogTags {
    font-size: 12px;
    color: var(--accent);
}

.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px;
    justify-content: flex-start;
    /* ← 左寄せ */
}

.blog-grid .card {
    flex: 0 0 calc((100% - 60px) / 3);
    /* ← 3列用幅 */
    max-width: calc((100% - 60px) / 3);
    box-sizing: border-box;
}



/* Footer */
.footer {
    background: var(--main);
    color: white;
    text-align: center;
    padding: 15px 20px;
    font-size: 14px;
    width: 100%;
}

@media (max-width: 767px) {
    .footer {
        background: var(--main);
        padding: 15px 0px;
    }
}

/* 文字サイズレスポンシブ */
/* --- タブレット以下（〜1024px） --- */
@media (max-width: 1024px) {
    body {
        font-size: 15px;
    }

    .section-title {
        font-size: 48px;
    }

    .section-title span {
        font-size: 14px;
    }

    .intro-message {
        font-size: 16px;
    }

    .intro-message .large {
        font-size: 22px;
    }

    .fv-text-overlay p {
        font-size: 28px;
    }

    .fv-text-overlay h1 {
        font-size: 70px;
    }

    .fv-text-overlay .sub {
        font-size: 20px;
    }

    .news-title,
    .card-text h3 {
        font-size: 15px;
    }

    .btn {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }
}


/* --- スマホ以下（〜767px） --- */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-title span {
        font-size: 13px;
    }

    .intro-message {
        font-size: 18px;
    }

    .intro-message .large {
        font-size: 18px;
    }

    .fv-text-overlay p {
        font-size: 18px;
    }

    .fv-text-overlay h1 {
        font-size: 40px;
    }

    .fv-text-overlay .sub {
        font-size: 18px;
    }

    .news-title,
    .card-text h3 {
        font-size: 14px;
    }

    .btn {
        font-size: 15px;
    }

    .card-text .date,
    .tags button,
    .news-tag,
    .blogTags {
        font-size: 11px;
    }
}