.sp-only {
    display: none;
}

/* スマホサイズ（例: 767px以下）で表示する */
@media screen and (max-width: 599px) {
    .sp-only {
        display: block;
        /* または inline */
    }
}

/*ヘッダー文字*/
.c-gnav>.menu-item>a .ttl {
    font-weight: 600;
}

/*アーカイブサブタイトル消し*/
.c-pageTitle__subTitle {
    display: none;
}

.section-title {
    font-family: "Calistoga", serif;
    letter-spacing: 0.05em;
}

/*スマホ時の両サイド*/
@media screen and (max-width: 599px) {
.l-container {
    padding-left:1vw!important;
    padding-right:1vw!important;
}

}
/*セクションタイトルのふりがな*/
.section-name {
    margin-bottom: -20px !important;
}

@media screen and (max-width: 960px) {
    .section-name {
        margin-bottom: -15px !important;
    }
}

.section-name-second {
    margin-bottom: -10px !important;
}

/*タブレット調整*/
@media screen and (max-width: 960px) {
    .font42 {
        font-size: 50px !important;
    }

}

/*spフォント調整*/
@media screen and (max-width: 599px) {
    .font42 {
        font-size: 45px !important;
    }

    .font20 {
        font-size: 20px !important;
    }

    .font22 {
        font-size: 22px !important;
    }

    .font18 {
        font-size: 18px !important;
    }

    .font16 {
        font-size: 16px !important;
    }

    .font14 {
        font-size: 14px !important;
    }

    .font13 {
        font-size: 13px !important;
    }

    .font11 {
        font-size: 11px !important;
    }

    .font9 {
        font-size: 9px !important;
    }
}

/*fv*/
.top #content {
    padding-top: 0 !important;
}

/*news*/
#news {
    position: relative;
    background-color: #FFD900;
    overflow: hidden;
}

#news::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    clip-path: polygon(0 85%,
            25% 101%,
            0 101%);
    z-index: 1;
    pointer-events: none;
}

.club-Cooperating-companies {
    border: 1px solid #fff;
    padding: 1rem !important;
    border-radius: 20px;
}

#news .swell-block-button__link {
    border: 3px solid #fff;
    transition: transform 0.3s ease, background-color 0.3s;
}

#news .swell-block-button__link:hover {
    background-color: #535353;
    transform: scale(1.03);
}


/*team*/
.team-player-box .wp-block-image img {
    filter: brightness(0.6);
}

.team-player-box {
    position: relative;
}

.team-player-box p {
    position: absolute;
    top: 50%;
    left: 0;
    padding-inline: 5px;
}

@media screen and (max-width: 599px) {
    .team-player-box p {
        font-size: 10px !important;
    }
}

.team-player-box h3 {
    position: absolute;
    bottom: 10px;
    right: 0;
    padding-inline: 5px;

}

.team-staff-box .wp-block-group {
    margin-bottom: -5px !important;
}

.team-staff-box .swell-block-accordion__title {
    background-color: #000 !important;
}

@media screen and (max-width: 599px) {
    .team-staff-box .swell-block-accordion__title {
        padding: 6px;
    }
}

.team-staff-box .swell-block-accordion.is-style-main .swell-block-accordion__body {
    background-color: #fff !important;
    padding: 5px !important;
}

.google-map-area {
    height: 100%;
    min-height: 450px;
}

@media screen and (max-width: 599px) {
    .google-map-area {
        min-height: 250px;
    }
}

.google-map-area iframe {
    border-radius: 25px;
}

#team .swell-block-columns__inner {
    justify-content: center;
}

.wp-image-1551 {
    transform: rotate(30deg);
    width: 30px;
}

@media screen and (max-width: 599px) {
    #team .swell-block-fullWide__inner {
        padding: 0 5px;
    }
}

@media screen and (max-width: 599px) {
    .wp-image-1551 {
        width: 25px;
    }
}

@media screen and (max-width: 599px) {
    .swell-block-columns {
        --swl-clmn-mrgn--x: 0.5rem !important;
        --swl-clmn-mrgn--y: 1rem !important;
    }
}

/*スポンサー*/
/* sponsor-box = link-card */
.sponsor-box {
    position: relative;
    /* ★必須 */
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: box-shadow .3s ease, transform .3s ease;
    overflow: hidden;
    /* 角丸をリンクにも効かせる */
}

.sponsor-box>.link-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sponsor-box:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    cursor: pointer;
}

.sponsor-box>.link-card__link:focus-visible {
    outline: 2px solid #000;
    outline-offset: -2px;
}

.sponsor-box h4 {
    margin: 0 0 1rem !important;
}

#sponsor .swell-block-columns__inner {
    justify-content: center !important;
}

#sponsor .swell-block-button__link {
    border: 3px solid #fff;
    transition: transform 0.3s ease, background-color 0.3s;
}

#sponsor .swell-block-button__link:hover {
    background-color: #ffff00;
    transform: scale(1.03);
}

@media screen and (max-width: 599px) {
    #sponsor .swell-block-columns {
        --swl-clmn-mrgn--x: 0.5rem !important;
        --swl-clmn-mrgn--y: 0.5rem !important;
    }
}

@media screen and (max-width: 599px) {
    #sponsor .swell-block-fullWide__inner {
        padding: 0 5px;
    }
}

/*メンバーシップ*/
.member-label {
    display: inline-block;
    padding: 5px 30px;
    font-weight: bold;
    color: #fff;
    background-color: #000;
    border: solid 3px #fff;
    border-radius: 25px;

}

.membership-button a {
    border: 3px solid #fff;
    transition: transform 0.3s ease, background-color 0.3s;

}

.membership-button a:hover {
    background-color: #4169e1;
    transform: scale(1.03);
}

#membership {
    position: relative;
    background-color: #FFD900;
    overflow: hidden;
}

#membership::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    clip-path: polygon(100% 75%, 75% 101%, 100% 101%);
    z-index: 1;
    pointer-events: none;
}

@media screen and (max-width: 960px) {
    #membership::after {
        clip-path: polygon(100% 90%, 75% 101%, 100% 101%);
    }
}

/*固定ページサポータークラブ・スポンサー*/
@media screen and (max-width: 960px) {
    .supporter-table {
        font-size: 11px !important;
    }

    .supporter-table table {
        --swl-cell1-width: 160px !important;
    }
}

.c-scrollHint span {
    color: #fff;
}

#supporter-sponsor .swell-block-fullWide__inner {
    padding: 0 0 0 5px !important;
}

/*フッター*/
/* SNSリンク */
.sns-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    /* 必要なければ削除 */
    align-items: center;
}

.sns-links a {
    display: inline-block;
}

.sns-links img {
    width: 48px;
    /* 基本サイズ */
    height: auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* hover演出 */
.sns-links a:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

/* SP調整 */
@media screen and (max-width: 768px) {
    .sns-links img {
        width: 40px;
    }
}

.w-footer .w-footer__box:nth-child(1) {
    text-align: left;
}

.w-footer .w-footer__box:nth-child(2) {
    text-align: center;
}

.w-footer .w-footer__box:nth-child(3) {
    display: flex;
    align-items: center;
    justify-content: end;
}

@media screen and (max-width: 960px) {
    .w-footer .w-footer__box:nth-child(3) {
        justify-content: center;

    }
}

/*サイドバー*/
.wp-block-heading {
    font-size: 20px;
}

@media screen and (max-width: 960px) {
    .wp-block-heading {
        font-size: 18px;
    }
}

@media screen and (max-width: 960px) {
    .wp-block-group__inner-container ul {
        display: flex;
        flex-wrap: wrap;
    }
}

#content {
    min-height: calc(100vh - 452px);
}

.single-post .l-mainContent__inner {
    background-color: #fffff4;
    padding: 20px;
    border-radius: 20px;
}

@media screen and (max-width: 960px) {
    .single-post .l-mainContent__inner {
        padding: 20px 5px;
        border-radius: 20px;
    }
}


/*ヘッダー*/
/* グロナビ最後の「問い合わせ」だけ装飾 */
.c-gnav>li:last-child>a {
    background: #ffd800;
    /* 黄色 */
    color: #000;
    height: 40px;
    padding: 0 28px;
    border-radius: 999px;
    /* 丸み */
    font-weight: 700;
    margin-inline-start: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 3px solid #fff;
    /* 白フチ */
    transition: all .3s ease;
}

/* ホバー */
.c-gnav>li:last-child>a:hover {
    background: #ffea4d;
    transform: translateY(-2px);
}

.c-gnav>li:last-child {
    display: flex;
    align-items: center;
}

/* 「問い合わせ」だけ SWELLの下線ホバーを殺す */
.c-gnav>li:last-child>a::after {
    content: none;
}

/*下線ホバーの調整*/
.c-gnav>.menu-item>a::after {
    bottom: 14px;
    /* ← ここが調整ポイント */
}

/*SPメニュータイトルの文字色*/
.c-widget__title.-spmenu {
    color: #000;
}

/*topアニメーション*/
/* ===== アニメ前の初期状態 ===== */
.hidden-anime {
    opacity: 0;
    pointer-events: none;
    /* 触れないようにするなら */
}

/* ===== アニメ完了後 ===== */
.animated {
    opacity: 1;
    pointer-events: auto;
}

.flipLeftTop {
    animation-name: flipLeftTopAnime;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes flipLeftTopAnime {
    from {
        transform: translate(-20px, 80px) rotate(-15deg);
        opacity: 0;
    }

    to {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
}

.fadeLeft {
    animation: fadeLeft 0.7s ease-out forwards;
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.blur {
    animation: blurIn 0.8s ease-out forwards;
}

@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(8px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}

.rotateY {
    animation-name: rotateYAnime;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;

}

@keyframes rotateYAnime {
    from {
        opacity: 0;
        transform: rotateY(-180deg) translateX(-800px);
    }

    to {
        opacity: 1;
        transform: rotateY(0) translateX(0);
    }
}

.faderotate {
    animation: fadeRotate 0.8s ease-out forwards;
}

@keyframes fadeRotate {
    from {
        opacity: 0;
        transform: rotate(-8deg) scale(0.95);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .flipLeftTop,
    .fadeLeft,
    .blur,
    .rotateY,
    .faderotate {
        animation: none !important;
    }

    .hidden-anime {
        opacity: 1;
        visibility: visible;
    }
}

/*ディレイ*/
.delay-time01 {
    animation-delay: 0.3s;
}

.delay-time02 {
    animation-delay: 0.8s;
}

.delay-time03 {
    animation-delay: 1.3s;
}

.delay-time04s2 {
    animation-delay: 1.8s;
}

.delay-time04 {
    animation-delay: 3.8s;
}

.delay-time05 {
    animation-delay: 5s;
}

.delay-time06 {
    animation-delay: 6.5s;
}

/* ===== Swiper core (minimum required) ===== */
.swiper {
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    /* ← これが無いと縦になる */
    width: 100%;
    height: 100%;
}

.swiper-slide {
    flex-shrink: 0;
    /* ← 横並び維持に必須 */
    width: auto;
    height: auto;
}


/* ===== Marquee Swiper (Sponsor) ===== */
.js-marquee-swiper {
    width: 100%;
    overflow: hidden;
    /* はみ出し防止 */
}

/* 画像が縦にガタつかないように */
.js-marquee-swiper .swiper-wrapper {
    align-items: center;
}

/* スライドは中身に合わせて */
.js-marquee-swiper .swiper-slide {
    height: auto;
}

/* 画像の基本：余白ゼロ＆崩れ防止 */
.js-marquee-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 12px;
    /* 角丸が不要なら消してOK */
}

/* マルキーっぽく軽く浮くホバー（不要なら削除OK） */
@media (hover: hover) and (pointer: fine) {
    .js-marquee-swiper .swiper-slide img {
        transition: transform 0.25s ease;
    }

    .js-marquee-swiper .swiper-slide:hover img {
        transform: scale(1.03);
    }
}

/* iOSでの微妙なチラつき対策（効くこと多い） */
.js-marquee-swiper .swiper-slide,
.js-marquee-swiper .swiper-slide img {
    backface-visibility: hidden;
    transform: translateZ(0);
}

@media (min-width: 960px) {
    .-sidebar-on #sidebar {
        width: 200px !important;
    }
}

@media (min-width: 960px) {
    .-sidebar-on .l-mainContent {
        width: calc(95% - 200px) !important;
    }
}

/*投稿ページのタイトル下空白うめ*/
.single-post .post_content {
        margin: 1em 0!important;
}