/*全体*/

html,
body {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background-image: url("../img/back.png");
    background-size: 200px auto;
    background-repeat: repeat;
}

.fadein {
    opacity: 0;
    transform: translate(0, 50px);
    transition: all 1500ms;
}

.fadein.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

/*トップバー*/

.logo_bar {
    width: 100%;
    height: 10px;
    margin: 0px auto;
    background-color: #fe2221;
}

/*ページトップ*/

.page_top {
    width: 100%;
    height: auto;
    background-image: url(../img/topbg01.png);
    background-size: 100.1%;
    background-position: top center;
    aspect-ratio: 12 / 8;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.page_top2 {
    width: 100%;
    height: auto;
    background-image: url(../img/topbg02.png);
    background-size: 100.1%;
    background-position: bottom center;
    aspect-ratio: 12 / 4;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page_top_in {
    max-width: 300px;
}

.page_top_in img {
    width: 100%;
}

/*共通　文字の種類・太さ*/

body h1 {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body h2 {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
}

body h3 {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body h4 {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body h5 {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body h6 {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body p {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.8;
}

body table {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body a {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
}

/*---ページ内コンテンツ
/*-------------------------------------*/
/*フォント色*/

.t_red {
    color: #fe2221;
}

.t_black {
    color: #000;
}

.t_white {
    color: #fff;
}

/*---イベント
/*-------------------------------------*/

.event {
    width: 100%;
    padding: 70px 0 40px;
    background-color: ;
}

.event_in {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
}

.event_in h2 {
    text-align: center;
    font-size: 24px;
}

/*---スライド
/*-------------------------------------*/

.swiper_con {
    width: 100%;
    max-width: 1200px;
    height: auto;
    position: relative;
    margin: 0 auto;
}

.swiper0 .swiper-slide {
    width: 33.3%;
    height: auto;
}

.swiper0 .swiper-slide_in {
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 5px 5px 15px -10px rgb(0 0 0 /60%);
}

.swiper0 .swiper-slide img {
    width: 100%;
    height: auto;
}

.swiper1 .swiper-slide {
    width: 100%;
    height: auto;
}

.swiper1 .swiper-slide_in {
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 5px 5px 15px -10px rgb(0 0 0 /60%);
}

.swiper1 .swiper-slide img {
    width: 100%;
    height: auto;
}

.sst {
    padding: 30px 30px 40px;
    background-color: #fff;
}

.sst h2 {
    width: 100%;
    font-size: 20px;
    padding: 0 0 10px;
}

.sst p {
    width: 100%;
    font-size: 14px;
    text-align: left;
}

.swiper-pagination {
    bottom: -20px !important;
}

.swiper2 .swiper-slide {
    margin-top: 80px;
}

.swiper2 .swiper-slide img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

/* スライドの動き等速 */
.swiper2 .swiper-wrapper {
    transition-timing-function: linear;
}

/* Swiper内のリンクの装飾をリセット */
.swiper-slide a {
    text-decoration: none; /* 下線を消す */
    color: inherit; /* 親要素（元の文字色）を引き継ぐ */
    display: block; /* カード全体をクリック可能にするためにブロック化 */
}

/* もしホバーした時に色が変わるのを防ぎたい場合 */
.swiper-slide a:hover {
    text-decoration: none;
    color: inherit;
}

/*---動画
/*-------------------------------------*/

.movie {
    width: 100%;
    padding: 140px 0;
    background-color: #faf5f5;
}

.movie_in {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: start;
    gap: 0 40px;
    background-image: url(../img/logobg.png);
    background-size: 32%;
    background-position: bottom right;
    background-repeat: no-repeat;
}

iframe.youtube-16-9 {
    width: 60%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.movie_in_t {
    width: 40%;
}

.movie_in_t h2 {
    text-align: left;
    font-size: 24px;
    margin-bottom: 30px;
}

.movie_in_t p {
    text-align: left;
    font-size: 14px;
}

/*---ストーリー
/*-------------------------------------*/

.story {
    width: 100%;
    padding: 140px 0;
    background-image: url(../img/storybg.png);
    background-size: cover;
    background-position: bottom center;
}

.story_in {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}

.story_in h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    position: relative;
}

.story_in h2::after {
    position: absolute;
    content: "";
    background-color: #fff;
    width: 120px;
    height: 2px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.story_in p {
    text-align: left;
    font-size: 14px;
}

/*---強み
/*-------------------------------------*/

.strengths {
    width: 100%;
    padding: 140px 0;
}

.strengths h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 80px;
    position: relative;
}

.strengths h2::after {
    position: absolute;
    content: "";
    background-color: #fe2221;
    width: 160px;
    height: 2px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.strengths_in {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: start;
    gap: 40px 30px;
    flex-wrap: wrap;
}

.strengths_con {
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
}

.strengths_con img {
    width: 100%;
    margin-bottom: 10px;
}

.strengths_con p {
    font-size: 13px;
}

/*---VISON
/*-------------------------------------*/

.vison {
    width: 100%;
    background-color: #faf5f5;
}

.vison_in {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.vison_in2 {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
}

.vison_con {
    width: 50%;
}

.vison_con img {
    width: 100%;
}

.vison_in_t {
    width: calc(50% - 120px);
    padding: 0 60px;
}

.vison_in_t h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.vison_in_t p {
    text-align: left;
    font-size: 14px;
}

/*---関連事業
/*-------------------------------------*/

.works {
    width: 100%;
    padding: 140px 0 70px;
    background-color: #faf5f5;
}

.works h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 80px;
    position: relative;
}

.works h2::after {
    position: absolute;
    content: "";
    background-color: #fe2221;
    width: 160px;
    height: 2px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.works_in {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 30px;
    flex-wrap: wrap;
}

.works_con {
    max-width: 480px;
    width: 40%;
}

.works_con img {
    width: 100%;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.works_con img:hover {
    transform: scale(1.05);
    transition: 1s all;
}

.works_con p {
    font-size: 13px;
}

/*共通　フッター*/

.page_bottom {
    width: 100%;
    height: auto;
    background-image: url(../img/redbg.png);
    background-size: cover;
    background-position: top center;
    background-color: #faf5f5;
}

.page_bottom_info {
    width: 100%;
    height: auto;
    background-image: url(../img/redbg.png);
    background-size: cover;
    background-position: top center;
}

.footer {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 180px 0 70px;
    text-align: center;
}

.footer_logo {
    width: 240px;
    margin: 0 auto;
}

.footer_logo img {
    width: 100%;
}

.footer h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer p {
    font-size: 14px;
}

/*SNS*/

.sns {
    width: 100%;
    margin: 40px 0;
}

.sns img {
    width: 60px;
    margin: 0 8px;
    transition: transform 0.5s ease;
}

.sns img:hover {
    transform: scale(1.1);
    transition: 1s all;
}

/*共通　ボタン*/

.btn1 {
    width: 240px;
    text-align: center;
    margin: 0px auto;
    display: inline-block;
    padding: 16px 0;
    text-decoration: none;
    color: #fe2221;
    border: solid 1px #fff;
    background: #fff;
    border-radius: 50px;
    transition: 0.4s;
}

.btn1 span {
    width: 100%;
    position: relative;
}

.btn1 span::after {
    width: 100%;
    content: "";
    position: absolute;
    top: 35%;
    right: -20%;
    width: 5px;
    height: 5px;
    border-top: 1px solid;
    border-right: 1px solid;
    transform: rotate(45deg);
}

.btn1:hover {
    background: #fe2221;
    color: #fff;
    border: solid 1px #fff;
}

p.mb20 {
    margin-bottom: 20px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer01 {
    padding: 0px;
    position: relative;
}

.nav a {
    font-size: 14px;
    display: block;
    padding: 0px 20px;
    color: #fff;
}

@media only screen and (min-width: 768px) {
    #footer01 .nav {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-top: 60px;
        padding: 0px;
    }

    #footer01 .nav li a {
        margin: 0;
        padding: 0 10px;
        color: #fff;
        line-height: 1.8;
        font-weight: 600;
        position: relative;
    }

    #footer01 .nav li a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        -webkit-transform: scaleX(0);
        -ms-transform: scaleX(0);
        transform: scaleX(0);
        background-color: #fff;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    #footer01 .nav li a:hover::after {
        -webkit-transform: scaleX(1);
        -ms-transform: scaleX(1);
        transform: scaleX(1);
    }
}

@media only screen and (max-width: 768px) {
    #footer01 {
        text-align: center;
        margin-top: 60px;
    }

    #footer01 .nav li {
        border-top: 1px solid #fff;
    }

    #footer01 .nav li:last-child {
        border-bottom: 1px solid #fff;
    }

    #footer01 .nav li a {
        padding: 12px 10px;
        text-align: left;
        font-weight: 600;
    }
}

.end {
    width: 100%;
    margin: 0 auto;
    background: #000;
    text-align: center;
}

.end p {
    padding: 10px 0px;
    font-size: 12px;
    color: #fff;
    line-height: 1.8;
}

/*-------------------------------------*/
/*foot button*/

.bottom-fixed-button2 {
    position: fixed;
    bottom: 30px;
    right: 2%;
    width: 80px;
    text-align: center;
    z-index: 1000;
}

.bottom-fixed-button2 img {
    width: 100%;
}

.bottom-fixed-button2 img:hover {
    transform: scale(1.1);
    transition: 1s all;
}

/*-------------インフォ--------------*/

.info {
    width: 100%;
}

.info_in {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 70px 0 0;
    text-align: center;
}

.info_in h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.info_in p {
    font-size: 14px;
}

/*-------------/*-------------/*-------------/*-------------/*-------------/*-------------

/*-------------ここからスマホ--------------*/

@media screen and (max-width: 768px) {
    /*ページトップSP*/

    .page_top {
        width: 100%;
        margin-top: 40px;
    }

    .page_top2 {
        margin-top: 40px;
    }

    .page_top_in {
        width: 36%;
    }

    /*ボタン*/
    .btn1 span::after {
        width: 100%;
        content: "";
        position: absolute;
        top: 30%;
        right: -20%;
        width: 5px;
        height: 5px;
        border-top: 1px solid;
        border-right: 1px solid;
        transform: rotate(45deg);
    }

    /*---イベント
/*-------------------------------------*/

    .event {
        width: 100%;
        padding: 60px 0 40px;
        background-color: ;
    }

    .event_in h2 {
        text-align: center;
        font-size: 20px;
    }

    /*---スライダーSP
/*-------------------------------------*/

    .swiper0 .swiper-slide {
        width: 66.6% !important;
        height: auto;
    }

    .sst {
        padding: 30px 20px 40px;
    }

    .sst h2 {
        width: 100%;
        font-size: 18px;
        padding: 0 0 10px;
    }

    .sst p {
        width: 100%;
        font-size: 14px;
        text-align: left;
    }

    .swiper-pagination {
        bottom: -20px !important;
    }

    .swiper2 .swiper-slide {
        margin-top: 60px;
    }

    .swiper2 .swiper-slide img {
        height: 160px;
        width: 100%;
        object-fit: cover;
    }

    /*---動画SP
/*-------------------------------------*/

    .movie {
        padding: 80px 0;
        background-image: url(../img/logobg.png);
        background-size: 40%;
        background-position: bottom 20px right 20px;
        background-repeat: no-repeat;
    }

    .movie_in {
        flex-wrap: wrap;
        gap: 40px 0;
        background-image: none;
    }

    iframe.youtube-16-9 {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .movie_in_t {
        width: 100%;
    }

    .movie_in_t h2 {
        text-align: left;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .movie_in_t p {
        text-align: left;
        font-size: 13px;
    }

    /*---ストーリーSP
/*-------------------------------------*/

    .story {
        padding: 80px 0;
    }

    .story_in h2 {
        font-size: 20px;
    }

    /*---強みSP
/*-------------------------------------*/

    .strengths {
        padding: 80px 0;
    }

    .strengths h2 {
        font-size: 20px;
        margin-bottom: 60px;
    }

    .strengths_in {
        gap: 30px 10px;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .strengths_con {
        width: 45%;
        margin: 0 auto;
    }

    .strengths_con p {
        font-size: 12px;
    }

    /*---VISON SP
/*-------------------------------------*/

    .vison_in {
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }

    .vison_in2 {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }

    .vison_con {
        width: 100%;
    }

    .vison_in_t {
        width: 90%;
        margin: 0 auto;
        padding: 30px 0px 60px;
    }

    .vison_in_t h2 {
        text-align: center;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .vison_in_t p {
        text-align: left;
        font-size: 14px;
    }

    /*---強みSP
/*-------------------------------------*/

    .works {
        padding: 80px 0 40px;
    }

    .sworks h2 {
        font-size: 20px;
        margin-bottom: 60px;
    }

    .works_in {
        gap: 0px 10px;
        flex-wrap: wrap;
    }

    .works_con {
        width: 45%;
    }

    .works_con p {
        font-size: 12px;
    }

    /*---フッター
/*-------------------------------------*/

    .page_bottom {
        width: 100%;
        height: auto;
        background-image: url(../img/redbg_sp.png);
        background-size: cover;
        background-position: top center;
    }

    .page_bottom_info {
        width: 100%;
        height: auto;
        background-image: url(../img/redbg_sp.png);
        background-size: cover;
        background-position: top center;
    }

    .footer {
        padding: 140px 0 80px;
    }

    .footer_logo {
        width: 200px;
        margin: 0 auto;
    }

    .footer_logo img {
        width: 100%;
    }

    .footer h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .footer p {
        font-size: 14px;
    }

    /*-------------トップボタンSP--------------*/

    .bottom-fixed-button2 {
        position: fixed;
        bottom: 30px;
        right: 2%;
        width: 50px;
    }

    /*-------------インフォSP--------------*/

    .info {
        width: 100%;
    }

    .info_in {
        max-width: 1000px;
        width: 90%;
        margin: 0 auto;
        padding: 70px 0 0px;
        text-align: center;
    }

    .info_in h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .info_in p {
        font-size: 14px;
    }
}

@media screen and (min-width: 768px) {
    .br-sp {
        display: none;
    }
}

/* タグの共通スタイル */
.status_tag {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-bottom: 5px; /* h2との間隔 */
    color: #ffffff; /* 白文字 */
    font-family: "fot-tsukuardgothic-std", sans-serif;
}

/* 開催中（赤バック） */
.badge_ongoing {
    background-color: #e60012;
}

/* イベント終了（青バック） */
.badge_ended {
    background-color: #004ea2;
}

/* 調整：h2の上の余白を詰める（必要であれば） */
.sst h2 {
    margin-top: 5px;
}

/* 過去の実績ボタン用スタイル */
.btn_past_works {
    text-align: center;
    margin: 80px auto 0; /* 上下の余白調整 */
}

.btn_red {
    display: inline-block;
    width: 280px; /* PCサイズ */
    max-width: 90%; /* 画面からはみ出さないよう調整 */
    padding: 16px 0;
    background-color: #fe2221; /* 赤背景 */
    color: #fff; /* 白文字 */
    border-radius: 50px;
    font-weight: 700;
    transition: 0.4s;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn_red span {
    position: relative;
    padding-right: 20px;
}

/* 矢印アイコン（右向き） */
.btn_red span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.btn_red:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* スマホ用設定 */
@media screen and (max-width: 768px) {
    .btn_past_works {
        margin: 60px auto 0; /* 上下の余白調整 */
    }

    .btn_red {
        width: 240px; /* スマホサイズ */
        font-size: 14px;
        padding: 12px 0;
    }
}

/*--- 開催実績一覧 ---*/
.past_works {
    width: 100%;
    padding: 140px 0 0;
}

.past_works_in {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
}

.past_works h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 80px;
    position: relative;
}

.past_works h2::after {
    position: absolute;
    content: "";
    background-color: #fe2221;
    width: 160px;
    height: 2px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.table_wrapper {
    width: 100%;
}

.past_works table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px; /* PC版 15px */
    border-top: 2px solid #fe2221; /* PC版の赤い上線 */
    background-color: #fff; /* 背景は白で統一 */
}

.past_works th,
.past_works td {
    padding: 18px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    background-color: #fff; /* 背景は白で統一 */
}

.past_works th {
    background-color: #faf5f5;
    color: #fe2221;
    font-weight: bold;
    white-space: nowrap;
}

.past_works td a {
    color: #004ea2;
    text-decoration: underline;
}

/*--- スマホ時の表示 ---*/
@media screen and (max-width: 768px) {
    .past_works {
        padding: 80px 0 0;
    }

    /* テーブル全体の赤い上線を消す */
    .past_works table {
        border-top: none;
    }

    /* テーブルを解除してブロック要素にする */
    .past_works table,
    .past_works thead,
    .past_works tbody,
    .past_works th,
    .past_works td,
    .past_works tr {
        display: block;
    }

    /* ヘッダー（項目名）を非表示 */
    .past_works thead tr {
        display: none;
    }

    .past_works tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        overflow: hidden;
    }

    .past_works td {
        border: none;
        border-bottom: 1px inset #eee;
        position: relative;
        padding-left: 40% !important;
        text-align: left;
        font-size: 13px;
    }

    .past_works td:last-child {
        border-bottom: none;
    }

    /* 項目名のラベル表示 */
    .past_works td::before {
        position: absolute;
        left: 10px;
        width: 30%;
        white-space: nowrap;
        font-weight: bold;
        color: #fe2221;
    }

    .past_works td:nth-of-type(1)::before {
        content: "イベント";
    }
    .past_works td:nth-of-type(2)::before {
        content: "開催日程";
    }
    .past_works td:nth-of-type(3)::before {
        content: "開催場所";
    }
}

/* swiper0：PC3枚以下時のFlexbox中央配置 */
.swiper0.no-swiper .swiper-wrapper {
    transform: none !important;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}
.swiper0.no-swiper .swiper-slide {
    flex-shrink: 0;
}

/* カードの高さ揃え：swiper0・swiper1共通 */
.swiper0 .swiper-slide,
.swiper1 .swiper-slide {
    display: flex;
    flex-direction: column;
}

.swiper0 .swiper-slide > a,
.swiper1 .swiper-slide > a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.swiper0 .swiper-slide_in,
.swiper1 .swiper-slide_in {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.swiper0 .sst,
.swiper1 .sst {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
