@charset "UTF-8";

/* ==================================================================================
    　　　　　　　    　　　　　　　共通
=====================================================================================*/

html,
body {
  margin: 0;
  padding: 0;
  border: 0;
}

.wrap {
    font-weight: normal;
    font-feature-settings: "palt" 1;
    font-family: 'Noto Sans CJK JP', 'Noto Sans JP ea', sans-serif;
    letter-spacing: .02em;
    overflow: hidden;
    text-align: center;
}

.wrap * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wrap a {
    text-decoration: none;
    color: #000;
}

.wrap ul,
.wrap ol {
    list-style: none;
}

.wrap img {
    max-width: 100%;
}

.wrap picture {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrap h3 {
    font-size: clamp(18px, 4vw, 26px);
    font-weight: 900;
    letter-spacing: .1em;
    position: relative;
    margin-bottom: 8%;
}

.wrap h3:before {
    position: absolute;
    bottom: -7px;
    left: calc(50% - 15px);
    width: 30px;
    height: 4px;
    content: '';
    border-radius: 3px;
    background: #d1251a;
}

.sp {
    display: block;
}

.pc {
    display: none;
}

.ib {
    display: inline-block;
}

@media screen and (min-width: 768px) {
    .wrap {
        max-width: 1920px;
        margin: 0 auto;
    }

    .wrap h3 {
        font-size: clamp(28px, 3vw, 34px);
        margin-bottom: clamp(30px, 3vw, 40px);
    }

    .wrap h3:before {
        bottom: -11px;
        left: calc(50% - 20px);
        width: 40px;
        height: 6px;
    }

    .sp {
        display: none;
    }

    .pc {
        display: block;
    }

}


/* ==================================================================================
    　　　　　　　    　　　　　　　ヘッダー（g_navi.html）
=====================================================================================*/

.header {
    max-width: 1300px;
    margin: 0 auto;
}

.header ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.header_main ul {
    width: 100% !important;
    margin-bottom: 8%;
}

.header ul li {
    border-radius: 5px;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.header ul li a {
    color: #fff;
    text-decoration: none;
    padding: .8em .5em;
    display: block;
    text-align: center;
    font-size: clamp(14px, 4vw, 26px);
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.header ul li:first-of-type {
    background-color: #e60012;
    width: 24%;
    margin-bottom: 4%;
}

.header ul li:nth-of-type(2) {
    background-color: #389c38;
    width: 34%;
    margin-bottom: 4%;
}

.header ul li:nth-of-type(3) {
    background-color: #0068b7;
    width: 34%;
    margin-bottom: 4%;
}

.header ul li:nth-of-type(4) {
    background-color: #ed7200;
    width: 44%;
}

.header ul li:nth-of-type(5) {
    background-color: #a416be;
    width: 24%;
}

.header ul li:last-of-type {
    background-color: #e95189;
    width: 24%;
}

/* -----下層ページ----- */
.header_wrap {
    width: 100vw;
    margin: 0 calc(50% - 50vw) 15% calc(50% - 50vw);
    padding: 5% 5%;
    margin-bottom: 15%;
    position: relative;
    filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.25));
}

.header_wrap h1 {
    color: #fff;
    font-size: clamp(22px, 6vw, 38px);
    font-weight: bold;
    text-align: center;
    letter-spacing: .2em;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    margin-top: 5%;
}

@media screen and (min-width: 768px) {

    .header_main ul {
        margin-bottom: clamp(60px, 7vw, 100px);
    }

    .header ul li {
        border-radius: 10px;
        text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
        transition: transform .5s;
    }

    .header ul li:hover {
        transform: translateY(-15px);
        transition: transform .5s;
    }

    .header ul li a {
        font-size: clamp(16px, 2vw, 26px);
    }

    .header ul li:first-of-type {
        width: 13%;
        margin-bottom: 0;
    }

    .header ul li:nth-of-type(2) {
        width: 17%;
        margin-bottom: 0;
    }

    .header ul li:nth-of-type(3) {
        width: 17%;
        margin-bottom: 0;
    }

    .header ul li:nth-of-type(4) {
        width: 17%;
    }

    .header ul li:nth-of-type(5) {
        width: 13%;
    }

    .header ul li:last-of-type {
        width: 13%;
    }

    /* -----下層ページ----- */
    .header_wrap {
        margin: 0 calc(50% - 50vw) clamp(70px, 10vw, 130px) calc(50% - 50vw);
        padding: clamp(40px, 4vw, 60px) 5%;
    }

    .header_wrap::before {
        border-width: 35px 45px 0 45px;
    }

    .header_wrap h1 {
        font-size: clamp(26px, 5vw, 42px);
        margin-top: clamp(30px, 3vw, 50px);
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    }


}


/* ==================================================================================
    　　　　　　　    　　　　　　　トップページ(index.html)
=====================================================================================*/

.index_wrap section:not(:last-of-type) {
    padding: 8% 5%;
}

.index_wrap section:last-of-type {
    padding: 12% 5% 0 5%;
}

@media screen and (min-width: 768px) {
    .index_wrap section:not(:last-of-type) {
        padding: clamp(60px, 7vw, 100px) 5%;
    }

    .index_wrap section:last-of-type {
        padding: clamp(70px, 10vw, 130px) 5% 0 5%;
    }
}

/* =========================================
　　　　　　　メインビジュアル（mainimg）
============================================*/

.mainimg {
    position: relative;
    filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.25));
    z-index: 3;
}

@media screen and (min-width: 768px) {

    .mainimg {
        filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.25));
    }

}

/* =========================================
　　　　　　　開催概要（outline）
============================================*/

.outline {
    background-color: #fdd000;
    background-image: radial-gradient(circle, rgba(255,255,255,.4) 4px, transparent 4px), radial-gradient(circle, rgba(255,255,255,.4) 4px, transparent 4px);
    background-position: 0 0, 24px 23px;
    background-size: 48px 46px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.25));
}

.outline::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 20px 0 20px;
    border-color: #fdd000 transparent transparent transparent;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
}

.outline_wrap {
    background-color: #ffffff;
    border: 5px solid #d1251a;
    border-radius: 10px;
    padding: 10% 5%;
}

.outline h4 {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: bold;
    margin-bottom: 2%;
    line-height: 1.3em;
}

.outline p {
    font-size: clamp(12px, 3vw, 18px);
    letter-spacing: .05em;
    margin: 0 auto 30px auto;
}

.outline table {
    width: 100%;
    font-size: clamp(14px, 3vw, 18px);
}

.outline table th,
.outline table td {
    display: block;
    width: 100%;
}

.outline table th {
    border-top: 2px solid #000;
    border-bottom: 1px dotted #000;
    padding: 10px 0;
    font-weight: bold;
}

.outline table td {
    padding-top: 5%;
}

.outline table tr:not(:last-of-type) td {
    padding-bottom: 8%;
}

.outline table td a {
    text-decoration: underline;
}

.outline table small {
    font-size: clamp(10px, 1vw, 14px);
}

@media screen and (min-width: 768px) {
    .outline {
        background-image: radial-gradient(circle, rgba(255,255,255,.4) 6px, transparent 6px), radial-gradient(circle, rgba(255,255,255,.4) 6px, transparent 6px);
        background-position: 0 0, 46px 42px;
        background-size: 92px 84px;
        filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.25));
    }

    .outline::before {
        border-width: 35px 45px 0 45px;
    }

    .outline_wrap {
        max-width: 1300px;
        margin: 0 auto;
        border: 10px solid #d1251a;
        padding: clamp(62px, 9vw, 90px) 5%;
    }

    .outline h4 {
        font-size: clamp(34px, 4vw, 48px);
        margin-bottom: clamp(15px, 2vw, 20px);
    }

    .outline p {
        margin-bottom: clamp(40px, 4vw, 50px);
        font-size: clamp(14px, 2vw, 22px);
    }

    .outline table {
        font-size: clamp(16px, 2vw, 22px);
    }

    .outline table tbody {
        border: 2px solid #000;
    }

    .outline table th,
    .outline table td {
        display: table-cell;
    }

    .outline table th {
        width: 30%;
        border: none;
        border-right: 1px dotted #000;
        padding: 3%;
    }

    .outline table td {
        width: 70%;
        border: none;
        text-align: left;
        padding: 3% 3% 3% 6%;
    }

    .outline table tr:not(:last-of-type) td {
        padding-bottom: 3%;
    }

    .outline table tr {
        border-bottom: 1px solid #000;
    }

    .outline table td a {
        pointer-events: none;
        text-decoration: none;
    }

    .outline table small {
        font-size: clamp(14px, 1vw, 16px);
    }
}


/* =========================================
　　　　　　　チケット（ticket）
============================================*/

.ticket {
    background-color: #68b5e2;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.25));
}

.ticket::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 20px 0 20px;
    border-color: #68b5e2 transparent transparent transparent;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
}

.ticket_wrap {
    background-color: #ffffff;
    border: 5px solid #d1251a;
    border-radius: 10px;
    padding: 10% 5%;
}

.ticket_wrap p {
    font-size: clamp(14px, 3vw, 18px);
    letter-spacing: .05em;
    margin-bottom: 3%;
}

.ticket_wrap h5 {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: bold;
    margin-bottom: 2%;
}

.ticket table {
    width: 100%;
}

.ticket table tbody {
    border: 2px solid #000;
}

.ticket table tr {
    height: 50px;
    border: 1px dotted #000;
}

.ticket table th,
.ticket table td {
    border: 1px dotted #000;
    padding: 20px 1%;
    width: 30%;
    font-size: clamp(14px, 3vw, 18px);
}

.ticket table th {
    letter-spacing: .2em;
}

.ticket table td span {
    font-weight: bold;
    font-size: clamp(16px, 3vw, 22px);
}

.ticket ul {
    margin: 2% auto 7% auto;
    font-size: clamp(10px, 2vw, 14px);
    text-align: left;
}

.ticket ul li::before {
    content: "※";
}

.ticket ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px;
}

.ticket ol li:first-of-type {
    width: 85%;
    margin: 0 auto 5% auto;
}

.ticket ol li {
    width: 48%;
}

.ticket ol li:not(:first-of-type) img {
    display: block;
    border: 1px solid #c1c1c1;
}

.ticket ol li a {
    display: inline-block;
}

.ticket ol li span {
    display: block;
    line-height: 1.5em;
    margin-top: 3px;
    font-size: clamp(12px, 2vw, 18px);
}

.ticket ol li:first-of-type span {
    margin-top: 8px;
}

@media screen and (min-width: 768px) {
    .ticket {
        filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.25));
    }

    .ticket::before {
        border-width: 35px 45px 0 45px;
    }

    .ticket_wrap {
        max-width: 1300px;
        margin: 0 auto;
        border: 10px solid #d1251a;
        padding: clamp(62px, 9vw, 90px) 5%;
    }

    .ticket_wrap p {
        font-size: clamp(14px, 2vw, 24px);
    }

    .ticket_wrap h5 {
        font-size: clamp(22px, 3vw, 28px);
    }

    .ticket table th,
    .ticket table td {
        font-size: clamp(14px, 2vw, 26px);
        padding: 3%;
    }

    .ticket table td span {
        font-size: clamp(22px, 3vw, 36px);
    }

    .ticket ul {
        margin: 1% auto 5% auto;
        font-size: clamp(14px, 1.5vw, 16px);
    }

    .ticket ol {
        justify-content: center;
        row-gap: 30px;
        column-gap: 2%;
    }

    .ticket ol li:first-of-type {
        width: 100%;
        margin-bottom: 2%;
    }

    .ticket ol li {
        width: 32%;
    }

    .ticket ol li a:hover {
        opacity: .7;
        transition-duration: .1s;
    }
}

/* =========================================
　　　　　　　出展希望の方は（entry）
============================================*/

.entry {
    background-color: #f39800;
    background-image: radial-gradient(circle, rgba(255,255,255,.3) 4px, transparent 4px), radial-gradient(circle, rgba(255,255,255,.3) 4px, transparent 4px);
    background-position: 0 0, 24px 23px;
    background-size: 48px 46px;
    position: relative;
    filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.25));
}

.entry_wrap {
    background-color: #ffffff;
    border: 5px solid #d1251a;
    border-radius: 10px;
    padding: 10% 5%;
}

.entry ul {
    font-size: clamp(14px, 3vw, 22px);
    font-weight: bold;
}

.entry ul li:not(:last-of-type) {
    margin-bottom: 3%;
}

.entry small {
    display: block;
    line-height: 1.5em;
    font-size: clamp(10px, 2vw, 14px);
    margin: 3% auto 5% auto;
}

.entry_wrap a {
    text-decoration: none;
    background-color: #f39800;
    color: #ffffff;
    width: 100%;
    display: block;
    padding: 5% 2%;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: bold;
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.16);
}

@media screen and (min-width: 768px) {
    .entry {
        background-image: radial-gradient(circle, rgba(255,255,255,.3) 6px, transparent 6px), radial-gradient(circle, rgba(255,255,255,.3) 6px, transparent 6px);
        background-position: 0 0, 46px 42px;
        background-size: 92px 84px;
    }

    .entry_wrap {
        max-width: 1300px;
        margin: 0 auto;
        border: 10px solid #d1251a;
        padding: clamp(62px, 9vw, 90px) 5%;
    }

    .entry ul {
        font-size: clamp(20px, 2vw, 26px);
    }

    .entry ul li:not(:last-of-type) {
        margin-bottom: 1%;
    }

    .entry small {
        line-height: 1.8em;
        font-size: clamp(12px, 1.5vw, 16px);
        margin: 3% auto;
    }

    .entry_wrap a {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 25px 2%;
        border-radius: 15px;
        font-size: clamp(22px, 4vw, 38px);
        transition-duration: .1s;
    }

    .entry a:hover {
        opacity: .7;
        transition-duration: .1s;
    }
}


/* =========================================
    　　　　　　番宣動画
============================================*/

.contents_wrap {
    max-width: 600px;
    margin: 0 auto;
}

.movie_wrap:not(:last-of-type) {
    margin-bottom: 8%;
}

#movie {
    position: relative;
    width: 100%;
    padding-top: calc(9 / 16 * 100%);
    margin: 0 auto;
    overflow: hidden;
}

.tvo-video {
    position: absolute;
    width: 100%; 
    height: 100%;
    top: 0;
    right: 0;
}

@media screen and (min-width: 768px) {

    .contents_wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        max-width: 1300px;
    }

    .movie_wrap {
        width: 49%;
    }

    .movie_wrap:not(:last-of-type) {
        margin-bottom: 0;
    }




}



/* =========================================
    　　　　　　SNS（sns）
============================================*/

.sns_wrap {
    display: flex;
    justify-content: center;
    column-gap: 3%;
    width: 90%;
    margin: 12% auto 10% auto;
}

.sns_wrap a {
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

@media screen and (min-width: 768px) {
    .sns_wrap {
        column-gap: 8%;
        max-width: 1300px;
        margin: clamp(60px, 9vw, 90px) auto clamp(50px, 9vw, 80px) auto;
    }

    .sns a {
        transition-duration: .1s;
    }

    .sns a:hover {
        opacity: .7;
        transition-duration: .1s;
    }
}

/* =========================================
　　　　　　ページ下部鉄道（bg_train）
============================================*/

.bg_train {
    margin: 0 calc(50% - 50vw);
	padding: 4px calc(50vw - 50% + 8px);
	width: 100vw;
    animation-name: scroll-footer-bg;
    animation-duration: 120s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    aspect-ratio: 1920 / 114;
    background: url(/tetsudou2026/images/train.png) center bottom / 200% repeat-x;
}

@keyframes scroll-footer-bg {

    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -5884px 0;
    }
}

@media screen and (min-width: 768px) {

    .bg_train {
        background: url(../images/train.png) repeat-x bottom center / 100%;
        aspect-ratio: 1920 / 57;
    }

}


/* =========================================
    　　　　　　トップボタン（page-top）
============================================*/

#page-top {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 9%;
    max-width: 50px;
    aspect-ratio: 67 / 80;
    background: url(/tetsudou2026/images/pagetop_sp.png) no-repeat center / 100%;
    z-index: 100;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.25));
}

@media screen and (min-width: 768px) {
    #page-top {
        bottom: 2%;
        aspect-ratio: 86 / 221;
        background: url(/tetsudou2026/images/pagetop.png) no-repeat center / 100%;
        width: 7%;
        max-width: 70px;
        transition-duration: .1s;
    }

    #page-top:hover {
        opacity: .7;
    }
}

/* =========================================
    　　　　　　　アニメーション
============================================*/

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

.slidein {
	opacity: 0;
	transform: translateY(100px);
	transition: 0.6s;
}

@media screen and (min-width: 768px) {
    .slideIn {
        opacity: 0;
        transform: translateY(100px);
        transition: .6s;
    }
}










/* ==================================================================================
    　　　　　　　    　　　　　　　出展リスト(shuttenlist.html)
=====================================================================================*/

.shuttenlist {
    padding: 0 5%;
}

.shuttenlist .header_wrap {
    background-color: #68b5e2;
}

.shuttenlist .header_wrap::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 20px 0 20px;
    border-color: #68b5e2 transparent transparent transparent;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
}

/* -----出展リスト----- */

.list {
    margin-bottom: 12%;
}

.list h2 {
    font-size: clamp(22px, 5vw, 36px);
    font-weight: bold;
    color: #e60012;
    border-top: 3px solid #e60012;
    border-bottom: 1px solid #e60012;
    padding: .8em 0;
    margin-bottom: 1.5em;
    position: relative;
}

.list h2::before {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) skew(-25deg);
    height: 13px;
    width: 12px;
    border-right: 1px solid #e60012;
    background-color: #fff;
    content: "";
}

.list img {
    border: 1px solid #c0c0c0;
    border-radius: 10px;
}

.list h5 {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: bold;
    padding: 5% 0 3% 0;
}

.list p {
    line-height: 1.8em;
    font-size: clamp(14px, 2vw, 16px);
    text-align: left;
}

.list p .ib {
    display: none !important;
}

.list ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 15px;
    column-gap: 5%;
    margin-top: 6%;
}

.list ol li {
    width: 45%;
}

.list ol li a {
    display: block;
    border: 1px solid #000;
    border-radius: 5px;
    padding: .5em 1em;
}

.list ul {
    margin-top: 6%;
}

.list ul li:not(:last-of-type) {
    margin-bottom: 3%;
}

/* -----ロゴ無し----- */
.list_1 h5 {
    padding: 0 0 3% 0 !important;
}

/* -----オフィシャルサイトボタン名称長いもの----- */
.list_2 ol li {
    width: 90% !important;
    max-width: 400px !important;
}


@media screen and (min-width: 768px) {

    .shuttenlist .header_wrap::before {
        border-width: 35px 45px 0 45px;
    }

    .shuttenlist_wrap {
        max-width: 1350px;
        margin: 0 auto;
    }

    /* -----出展リスト----- */

    .list {
        margin-bottom: clamp(70px, 10vw, 130px);
    }

    .list dl {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 3%;
    }

    .list dl dt {
        width: 32%;
    }

    .list dl dd {
        width: 65%;
    }

    .list h2 {
        font-size: clamp(32px, 4vw, 50px);
        padding: .5em 0;
        margin-bottom: 1em;
    }

    .list h5 {
        text-align: left;
        font-size: clamp(16px, 2.5vw, 32px);
        padding: 0 0 0.5em 0;
    }

    .list p {
        font-size: clamp(10px, 2vw, 22px)
    }

    .list p .ib {
        display: inline-block !important;
    }

    .list ol {
        justify-content: flex-start;
        column-gap: 1.333%;
        margin-top: 2%;
    }

    .list ol li:not(:last-of-type) {
        margin-bottom: 0;
    }

    .list ol li {
        width: 32%;
    }

    .list ol li a {
        width: 100%;
        padding: .5em 1em;
        font-size: clamp(10px, 1.5vw, 18px);
    }

    .list ol li a:hover {
        opacity: .7;
        transition-duration: .1s;
    }

    .list ul {
        display: flex;
        flex-wrap: wrap;
        column-gap: 1.333%;
        margin-top: 3%;
    }

    .list ul li {
        width: 32%;
    }

    .list ul li:not(:last-of-type) {
        margin-bottom: 0;
    }

    /* -----ロゴ無し----- */
    .list_1 h5 {
        padding: 0 0 2% 0 !important;
    }

    .list_1 dl dd {
        width: 100% !important;
    }

    .list_1 dl dd h5,
    .list_1 dl dd p {
        text-align: center !important;
    }

    .list_1 dl dt,
    .list_1 dl dd ol li {
        margin: 0 auto;
    }

    .list_1 dl dd ol {
        justify-content: center;
    }

    .list_1 dl dd ol li {
        max-width: 280px;
        margin: unset !important;
    }

    .list_1 ul {
        justify-content: center !important;
    }

    /* -----画像4枚----- */
    .list_3 ul li {
        width: 24% !important;
    }

}






/* ==================================================================================
    　　　　　　　    　　　　　　　イベント内容(event.html)
=====================================================================================*/


.event .header_wrap {
    background-color: #fdd000;
}

.event .header_wrap::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 20px 0 20px;
    border-color: #fdd000 transparent transparent transparent;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
}

.event_list {
    padding-bottom: 15%;
}

.event_box {
    width: 90%;
    margin: 0 auto 8% auto;
}

.event_box h2 {
    font-size: clamp(22px, 5vw, 36px);
    font-weight: bold;
    line-height: 1.2em;
    margin: 0 auto 8% auto;
    padding: .5em 5%;
    color: #e60012;
    border-top: 3px solid #e60012;
    border-bottom: 1px solid #e60012;
    position: relative;
}

.event_box h2::before {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) skew(-25deg);
    height: 13px;
    width: 12px;
    border-right: 1px solid #e60012;
    background-color: #fff;
    content: "";
}

.event_box h2 span {
    font-size: clamp(14px, 3vw, 22px);
    font-weight: bold;
}

.event_box h2 img {
    width: 55%;
    margin: 0 auto;
}

.event_box p {
    text-align: left;
    line-height: 1.8em;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: normal;
}

.event_box p .ib {
    display: none !important;
}

.event_box h4 {
    font-size: clamp(14px, 3vw, 18px);
    font-weight: normal;
    line-height: 1.6em;
    margin: 5% auto 3% auto;
}

.event_box h4 span {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: bold;
}

.event_box ul {
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.8em;
}
.event_box ul span {
    color: red;
}


/* --------------------------------
    　　　イベント画像共通
-------------------------------- */


/* -----右上・右下角丸----- */
.event_hardlock p:first-of-type img,
.event_hardlock p:nth-of-type(3) img,
.event_elmer-train p:first-of-type img,
.event_img_2 p:first-of-type img,
.event_jarichan p:first-of-type img,
.event_oosaka-kousen p:first-of-type img,
.event_oosaka-kousen p:nth-of-type(3) img,
.event_brio p:first-of-type img {
    border-top: 1px solid #c0c0c0;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* -----左上・左下角丸----- */
.event_hardlock p:nth-of-type(2) img,
.event_hardlock p:last-of-type img,
.event_elmer-train p:nth-of-type(2) img,
.event_img_2 p:last-of-type img,
.event_jarichan p:nth-of-type(2) img,
.event_oosaka-kousen p:nth-of-type(2) img,
.event_oosaka-kousen p:last-of-type img,
.event_brio p:last-of-type img {
    border-top: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* -----全角丸----- */
.event_elmer-train p:last-of-type img,
.event_jarichan p:last-of-type img {
    border: 1px solid #c0c0c0;
    border-radius: 10px;

}

/* -----キャプション----- */
.event_hardlock p span,
.event_jarichan p span {
    display: block;
    margin-top: 2%;
    font-size: clamp(12px, 2vw, 16px);
}


/* -----画像間----- */
.event_hardlock,
.event_elmer-train,
.event_jarichan,
.event_oosaka-kousen {
    row-gap: 5vw;
}

/* --------------------------------
    　　　ハードロック工業
-------------------------------- */

.event_hardlock {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.event_hardlock p {
    width: 48%;
}

/* --------------------------------
    　　　エルマートレイン
-------------------------------- */

.event_elmer-train {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 5%;
}

.event_elmer-train p:first-of-type {
    width: 55%;
}

.event_elmer-train p:nth-of-type(2) {
    width: 40%;
}

.event_elmer-train p:last-of-type {
    width: 90%;
}


/* --------------------------------
    　　　じゃりちゃん鉄道
-------------------------------- */

.event_jarichan {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 5%;
}

.event_jarichan p:first-of-type {
    width: 47.5%;
}

.event_jarichan p:nth-of-type(2) {
    width: 47.5%;
}

.event_jarichan p:last-of-type {
    width: 90%;
}

/* --------------------------------
    　　　大阪公立大学高専
-------------------------------- */

.event_oosaka-kousen {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.event_oosaka-kousen p:first-of-type,
.event_oosaka-kousen p:last-of-type  {
    width: 55%;
}

.event_oosaka-kousen p:nth-of-type(2),
.event_oosaka-kousen p:nth-of-type(3) {
    width: 40%;
}

/* --------------------------------
　              神港学園
-------------------------------- */

.event_intro {
    width: 90%;
    margin: 0 auto;
    text-align: left;
    font-size: clamp(14px, 2vw, 16px);
    background-color: #f7f7f7;
    border-radius: 5px;
    padding: 3%;
    margin-top: 7%;
}

/* --------------------------------
    　　　BRIO
-------------------------------- */

.event_brio p {
    width: 90%;
    margin: 0 auto;
}

/* --------------------------------
    　　　写真2枚
-------------------------------- */

.event_img_2 p span {
    display: block;
    margin-top: 10px;
    font-size: clamp(14px, 3vw, 18px);
}

.event_img_2 p:first-of-type {
    width: 90%;
}

.event_img_2 p:last-of-type {
    width: 90%;
    margin: 5vw 0 0 auto;
}

/* --------------------------------
　　　　　駅弁・グッズ
-------------------------------- */

.ekiben p {
    text-align: center;
} 

.ekiben_box {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 3vw;
}

.ekiben_box dl {
    width: 48%;
}

.ekiben_box dl dt img {
    border-radius: 10px;
    border: 1px solid #c0c0c0;
}

.ekiben_box dl dd {
    font-size: clamp(14px, 2vw, 16px);
    margin-top: 3%;
}

.ekiben_box dl dd span {
    font-weight: 600;
}

.ekiben_box dl dd i {
    font-style: normal;
}

/* --------------------------------
    　ステージスケジュール
-------------------------------- */

.event_stage {
    margin: 40px auto;
}

.event_stage h2 {
    font-size: clamp(24px, 6vw, 32px);
    font-weight: bold;
    color: #fff;
    border-top: 1px dotted #fff;
    padding: 40px 0 30px 0;
}

.event_stage h2 span {
    font-size: clamp(14px, 3vw, 18px);
    font-weight: bold;
}

.event_stage table {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
}

.event_stage table th,
.event_stage table td {
    border: 1px solid #000;
    padding: 10px 5px;
    font-size: clamp(10px, 2vw, 16px);
}

.stage_1 {
    background-color: #d1251a;
    color: #fff;
}

.stage_2 {
    width: 16%;
}

.event_stage td {
    width: 28%;
}

.event_stage td span {
    font-size: clamp(12px, 2vw, 16px);
}

.event_stage td em {
    font-size: clamp(8px, 1vw, 12px);
    letter-spacing: -.01em;
}

.event_stage td i {
    font-style: normal;
}

.event_stage td p {
    margin-top: 10px;
}

.event_stage td p img {
    border: 1px solid #e9e9e9;
    box-sizing: border-box;
}

.stage_3 {
    background-color: #e9e9e9;
}

.event_stage ul {
    margin-top: 10px;
    color: #fff;
    text-align: left;
    font-size: clamp(8px, 1vw, 12px);
}

.event_stage ul li::before {
    content: "※";
}


/* --------------------------------
    　左右からのフェードイン
-------------------------------- */

.fadeIn_left {
    opacity: 0;
    transform: translate(-50%, 0);
    transition: .8s;
    visibility: hidden;
}

.fadeIn_right {
    opacity: 0;
    transform: translate(50%, 0);
    transition: .8s;
}

.fadeIn_left.is-show,
.fadeIn_right.is-show {
    transform: translate(0, 0);
    opacity: 1;
    visibility: visible;
}


@media screen and (min-width: 768px) {

    .event {
        padding: 0 5%;
    }

    .event .header_wrap::before {
        border-width: 35px 45px 0 45px;
    }

    .event_wrap {
        max-width: 1300px;
        margin: 0 auto;
    }

    .event_list {
        padding-bottom: clamp(70px, 10vw, 130px);
    }

    .event_box {
        width: 100%;
        margin: 0 auto clamp(50px, 5vw, 60px) auto;
    }

    .event_box h2 {
        font-size: clamp(32px, 4vw, 50px);
        margin-bottom: clamp(50px, 5vw, 60px);
    }

    .event_box h2 span {
        font-size: clamp(26px, 3vw, 36px);
    }

    .event_box h2 img {
        max-width: 350px;
        border: none;
    }

    .event_box p {
        text-align: center;
        font-size: clamp(16px, 2vw, 22px);
    }

    .event_box p .ib {
        display: inline-block !important;
    }

    .event_box h4 {
        font-size: clamp(16px, 2vw, 22px);
        margin: 3% auto 3% auto;
    }

    .event_box h4 span {
        font-size: clamp(24px, 3vw, 38px);
    }

    .event_box ul {
        font-size: clamp(14px, 2vw, 18px);
    }


    /* --------------------------------
        　　　イベント画像共通
    -------------------------------- */

    /* -----角丸----- */
    .event_list img {
        border: 1px solid #c0c0c0;
        border-radius: 10px;
    }

    /* -----キャプション----- */
    .event_hardlock p span,
    .event_jarichan p span {
        font-size: clamp(14px, 2vw, 18px);
    }

    /* -----画像間----- */
    .event_hardlock,
    .event_elmer-train,
    .event_jarichan,
    .event_oosaka-kousen {
        row-gap: 2vw;
    }

    /* -----画像幅----- */
    .event_hardlock,
    .event_elmer-train,
    .event_img_2,
    .event_jarichan,
    .event_brio {
        width: 90%;
        margin: 0 auto;
    }

    /* --------------------------------
        　　　ハードロック工業
    -------------------------------- */

    /* --------------------------------
    　　　エルマートレイン
    -------------------------------- */

    .event_elmer-train {
        justify-content: space-between;
        column-gap: 0;
    }

    .event_elmer-train p:first-of-type {
        width: 56%;
    }
    
    .event_elmer-train p:nth-of-type(2) {
        width: 41%;
    }

    .event_elmer-train p:last-of-type {
        width: 100%;
    }

    /* --------------------------------
        　　　じゃりちゃん鉄道
    -------------------------------- */

    .event_jarichan {
        justify-content: space-between;
        column-gap: 0;
    }

    .event_jarichan p:first-of-type,
    .event_jarichan p:nth-of-type(2),
    .event_jarichan p:last-of-type {
        width: 31%;
    }

    /* --------------------------------
    　　　大阪公立大学高専
    -------------------------------- */

    .event_oosaka-kousen {
        width: 90%;
        margin: 0 auto;
    }

    .event_oosaka-kousen p:first-of-type,
    .event_oosaka-kousen p:last-of-type  {
        width: 56%;
    }

    .event_oosaka-kousen p:nth-of-type(2),
    .event_oosaka-kousen p:nth-of-type(3) {
        width: 41%;
    }

    /* --------------------------------
　              神港学園
    -------------------------------- */

    .event_intro {
        width: 90%;
        font-size: clamp(16px, 2vw, 20px);
        line-height: 1.8em;
        margin-top: 5%;
    }

    /* --------------------------------
    　　　写真2枚
    -------------------------------- */

    .event_img_2 {
        display: flex;
        justify-content: space-between;
    }

    .event_img_2 p:first-of-type {
        width: 48%;
    }
    
    .event_img_2 p:last-of-type {
        width: 48%;
        margin: 0;
    }

    /* --------------------------------
　　　              BRIO
    -------------------------------- */

    .event_brio p {
        width: 100%;
    }

    /* --------------------------------
        　　　　　駅弁
    -------------------------------- */

    .ekiben_box {
        width: 100%;
    }

    .ekiben_box dl {
        width: 32%;
    }

    .ekiben_box dl dd {
        font-size: clamp(16px, 2vw, 20px);
    }

    /* --------------------------------
        　ステージスケジュール
    -------------------------------- */

    .event_stage {
        margin: 80px auto;
    }

    .event .event_stage h2 {
        font-size: clamp(38px, 5vw, 60px);
        padding: 70px 0 50px 0;
    }

    .event_stage h2 span {
        font-size: clamp(26px, 3vw, 36px);
    }

    .event_stage table {
        width: 90%;
    }

    .event_stage td span,
    .event_stage td i {
        font-size: clamp(18px, 2vw, 24px);
    }

    .event_stage table th,
    .event_stage table td {
        padding: 20px 5px;
    }

    .event_stage table th,
    .event_stage table td,
    .event_stage td em {
        font-size: clamp(16px, 1vw, 22px);
    }

    .event_stage td p {
        width: 80%;
        margin: 15px auto 0 auto;
    }

    .event_stage ul {
        width: 90%;
        margin: 20px auto 0 auto;
        font-size: clamp(12px, 1vw, 14px);
    }



}