@charset "UTF-8";

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

:root {
    --color-blu: #003894;
}

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

.page_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;
    padding: 10% 5% 0 5%;
}

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

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

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

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

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

.page_wrap h3 {
    color: var(--color-blu);
    font-size: clamp(22px, 5vw, 34px);
    font-weight: 900;
    letter-spacing: .15em;
    position: relative;
    margin-bottom: 8%;
}

.page_wrap h3:before {
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    content: '';
    border-radius: 3px;
    background: var(--color-blu);
}

.page_wrap section:not(:last-of-type) {
    margin-bottom: clamp(40px, 9vw, 70px);
}

.sp {
    display: block;
}

.pc {
    display: none;
}

.ib {
    display: inline-block;
}

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

    .page_wrap {
        padding: clamp(100px, 7vw, 120px) 5% 0 5%;
    }

    .page_wrap h3 {
        font-size: clamp(22px, 4vw, 46px);
        margin-bottom: clamp(40px, 4vw, 55px);
    }

    .page_wrap h3:before {
        bottom: -20px;
        width: 1.3em;
        height: 6px;
    }

    .page_wrap section:not(:last-of-type) {
        margin-bottom: clamp(80px, 5vw, 100px);
    }

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

    .sp {
        display: none;
    }
    
    .pc {
        display: block;
    }
    
}

/* =========================================
    　　　　　　　　背景
============================================*/

.page_wrap::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url("/tetsudou2027/images/bg_sp.jpg") center / cover no-repeat;
    z-index:-1;
}

@media screen and (min-width: 768px) {
    
    .page_wrap::before {
        background: url("/tetsudou2027/images/bg_pc.jpg") center / cover no-repeat;
    }

}

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

.mv h1 {
    width: 90%;
    margin: 0 auto 10% auto;
}

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

    .mv h1 {
        margin-bottom: clamp(100px, 6vw, 120px);
    }

}

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

.outline div {
    background-color: #ffffff;
    border: 5px solid var(--color-blu);
    border-radius: 10px;
    padding: 10% 5%;
}

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

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

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

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

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

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

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

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

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

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

    .outline div {
        border: 15px solid var(--color-blu);
        padding: clamp(80px, 5vw, 100px) 5%;
    }

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

    .outline p {
        font-size: clamp(14px, 2vw, 24px);
        line-height: 1.7em;
        margin-bottom: clamp(40px, 4vw, 50px);
    }

    .outline table {
        max-width: 1000px;
        font-size: clamp(18px, 2vw, 24px);
        margin: 0 auto;
    }

    .outline table tbody {
        border: 3px 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);
    }

}

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

.entry div {
    background-color: #ffffff;
    border: 5px solid var(--color-blu);
    border-radius: 10px;
    padding: 10% 5%;
}

.entry ul {
    font-size: clamp(16px, 4vw, 24px);
    font-weight: bold;
}

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


.entry ul li i {
    color: #e60012;
    font-style: normal;
}

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

.entry a {
    display: block;
    width: fit-content;
    font-size: clamp(20px, 5vw, 32px);
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    background-color: #e60012;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 0.2);
    padding: 5% 10%;
    margin: 0 auto;
}

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

    .entry div {
        border: 15px solid var(--color-blu);
        padding: clamp(80px, 5vw, 100px) 5%;
    }

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

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

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

    .entry a {
        max-width: 600px;
        font-size: clamp(22px, 4vw, 38px);
        border-radius: 15px;
        padding: 2% 10%;
        transition-duration: .1s;
    }

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

}

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

.sns_wrap {
    display: flex;
    justify-content: center;
    column-gap: 3%;
    width: 90%;
    margin: clamp(40px, 9vw, 70px) auto clamp(40px, 9vw, 70px) auto;
}

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

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

@keyframes scroll-footer-bg {

    0% {
        background-position: 0 0;
    }

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

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

    .sns_wrap {
        column-gap: 8%;
        max-width: 1300px;
        margin: clamp(80px, 5vw, 100px) auto clamp(80px, 5vw, 100px) auto;
    }

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

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

    .bg_train {
        background: url(/tetsudou2027/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(70px);
}

.slidein.is-show {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.6s ease-out,
        transform 0.8s cubic-bezier(0.22, 0.8, 0.2, 1);
}
