@charset "utf-8";
.train-board {
    max-width: 50vw;
    margin: 0 auto;
    padding-bottom: 10px;
}

.future {
    background-color: #5457f0;
}

.over {
    background-color: #e3292e;
}

.kind {
    color: #fff;
    letter-spacing: -0.1em;
    padding: 0 0.2em;
    width: 30%;
    display: inline-block;
    text-align: center;
}

.destination {
    width: 30%;
    text-align: center;
    display: inline-block;
    letter-spacing: -0.1em;
}

.off-inform-date {
    width: 25%;
    text-align: center;
    display: inline-block;
    letter-spacing: -0.1em;
}

.off-number-of{
    text-align: center;
    display: inline-block;
    letter-spacing: -0.1em
}

@media screen and (max-width: 960px) {
    .train-board {
    max-width: inherit;
    }
    .kind {
        width: 25%;
        letter-spacing: 0em;
        padding: 0;
    }
    .destination {
        width: 30%;
        letter-spacing: -0.1em;
    }
    .off-inform-date {
        width: 25%;
        letter-spacing: 0em;
    }
    .off-number-of{
        width: auto;
        letter-spacing: 0em;
    }
}

@media screen and (max-width: 559.98px) {
    .kind {
        width: 30vw;
        letter-spacing: -0.1em;
    }
    .destination {
        width: 30vw;
        letter-spacing: -0.1em;
    }
    .off-inform-date {
        width: 20vw;
        letter-spacing: -0.1em;
    }
    .off-number-of{
        width: 10vw;
        letter-spacing: -0.1em;
    }
}

.ledText {
    overflow: hidden;
    position: relative;
    padding: 5px 0;
    color: #FFB400;
    font-size: 32px;
    font-weight: bold;
    background: #333333;
    z-index: 1;
}

.ledText a{
display: inline-block; position: relative; cursor:pointer; z-index: 1; width: 100%;
    }

@media screen and (max-width: 559.98px) {
    .ledText {
        padding: 5px 0;
        font-size: 5vw;
    }
    .ledText a{
        z-index: 0; 
    }
}


/* CSS3グラデーションでドット感を出す */

.ledText:after, .ledText a:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(#0a0600 1px, transparent 0px), linear-gradient(0, #0a0600 1px, transparent 1px);
    background-image: -webkit-linear-gradient(#0a0600 1px, transparent 0px), -webkit-linear-gradient(0, #0a0600 1px, transparent 1px);
    background-size: 2px 2px;
    z-index: 0;
}

@media screen and (max-width: 559.98px) {
    .ledText:after, .ledText a:after {
        background-image: linear-gradient(#0a0600 1px, transparent 0px), linear-gradient(0, #0a0600 0.1px, transparent 0.1px);
        background-image: -webkit-linear-gradient(#0a0600 1px, transparent 0px), -webkit-linear-gradient(0, #0a0600 0.1px, transparent 0.1px);
    }
}


/* CSS3アニメーションでスクロール */

.ledText span.scroll {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    -webkit-animation-name: marquee;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 10s;
    -moz-animation-name: marquee;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    -moz-animation-duration: 10s;
    animation-name: marquee;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 10s;
}

@-webkit-keyframes marquee {
    from {
        -webkit-transform: translate(0%);
    }
    99%,
    to {
        -webkit-transform: translate(-100%);
    }
}

@-moz-keyframes marquee {
    from {
        -moz-transform: translate(0%);
    }
    99%,
    to {
        -moz-transform: translate(-100%);
    }
}

@keyframes marquee {
    from {
        transform: translate(0%);
    }
    99%,
    to {
        transform: translate(-100%);
    }
}

.blinking {
    -webkit-animation: blink 1.0s ease-out infinite alternate;
    -moz-animation: blink 1.0s ease-out infinite alternate;
    animation: blink 1.0s ease-out infinite alternate;
}

@-webkit-keyframes blink {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* サイト内検索 */

.search-area {
    display: block;
    position: relative;
    margin: 0.5em 1em 0.5em auto;
    height: 50px;
}

.search-form {
    display: flex;
    width: 100%;
}

.search-form-top {
    display: flex;
    position: absolute;
    right: 0;
}

form#searchform {
    display: block;
    width: -webkit-fill-available;
}

@media screen and (max-width: 1079.98px) {}

@media screen and (max-width: 559.98px) {
    .search-form-top {
        position: inherit;
        margin-left: 1em;
    }
}

input#s {
    border-radius: 10px;
    padding: 10px;
    border: 0.1px solid #333;
    width: 230px;
    height: 42px;
    font-size: 24px;
}

@media screen and (max-width: 559.98px) {
    input#s {
}
}


.search-form button,
.search-form-top button {
    padding: 10px;
    border-radius: 10px;
    color: #333;
    cursor: pointer;
}

#searchform button {
    background: #333;
}

i.fa.fa-search {
    font-size: 38px;
    padding: 0;
}

i.fa.fa-search:before {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(210deg, rgba(243, 170, 196, 1), rgba(239, 210, 236, 1) 18%, rgba(248, 230, 200, 1) 33%, rgba(255, 247, 216, 1) 50%, rgba(185, 238, 197, 1) 66%, rgba(174, 212, 241, 1) 85%, rgba(183, 187, 255, 1));
    filter: contrast(.48) brightness(2.0);
}

/* 横スクロール */

.horizontal_scroll {
    width: 100%;
    margin-bottom: 1em;
    display: inherit;
}

.contents li {
    width: 300px;
    margin: 0.2em;
    background-color: #fff;
    z-index: 0;
    border-radius: 10px;
}
.news .contents li,
.works .contents li,
.off .contents li,
.map .contents li,
.quiz .contents li,
.link .contents li
.database .contents li{
    display: table;
}
.news .contents li{
    width: 200px;
    height: 120px;
}

.works .contents li{
    width: 200px;
    height: 140px;
}

.off .contents li{
    width: 220px;
    height: 160px;
}
.quiz .contents li{
    width: 200px;
    height: 130px;
}
.map .contents li{
    width: 300px;
    height: 182.4px;
}
.link .contents li{
    width: 200px;
    height: 200px;
}
.database .contents li{
    width: 240px;
    height:120px;
}

@media screen and (max-width: 559.98px) {
.news .contents li,
.works .contents li,
.off .contents li,
.map .contents li,
.link .contents li,
.database .contents li{
    width: 100%;
}
.toppage .news .contents li{
    width: 200px;
}

.toppage .works .contents li{
    width: 200px;
}
    
.toppage .quiz .contents li{
    width: 192px;
}

.toppage .off .contents li{
    width: 220px;
}
.toppage .map .contents li{
    width: 300px;
}
.toppage .link .contents li{
    width: 200px;
}
.toppage .database .contents li{
    width: 240px;
}
}

.news a.link-block,
.works a.link-block,
.off a.link-block,
.quiz a.link-block,
.link a.link-block,
.database a.link-block{
    display: inline-block;
}

.news a.link-block{
    width: 200px;
}

.works a.link-block{
    width: 200px;
}

.off a.link-block{
    width: 200px;
}
.map a.link-block{
    width: 200px;
}
.quiz a.link-block{
    width: 200pxt;
}
.link a.link-block{
    width: 300px;
}
.database a.link-block{
    width: 240px;
}

@media screen and (max-width: 559.98px) {
.news a.link-block,
.works a.link-block,
.off a.link-block,
.map a.link-block,
.link a.link-block,
.database a.link-block,
.quiz a.link-block{
    width: 100%;
}
}

.contents2 li {
    width: calc(33.3% - 2em);
    margin: 0.5em;
    padding: 0.5em;
    z-index: 0;
    border-radius: 10px;
}

@media screen and (max-width: 1079.98px) {
    .contents li,
    .contents2 li {
        width: calc(50% - 1em);
    }
}
@media screen and (max-width: 559.98px) {
    .contents li,
    .contents2 li {
        width: calc(100vw);
        max-width: calc(100vw);
        margin: 0.1em 0;
        align-content: space-between;
        border: 0.1px solid #eee;
    }
    a.link-block {
        width: calc(100%);
    }
}
@media screen and (max-width: 374.98px) {
    .horizontal_scroll {
        overflow-x: scroll;
        clear: both;
        -webkit-overflow-scrolling: touch;
        padding: 0 0 12px 8px;
        display: -ms-flexbox;
        display: flex;
        width: calc(100% - 2em);
    }
    .contents li,
    .contents2 li {
        width: 100vw;
    }
}
.horizontal_scroll>li {
    width: 100%;
    min-width: 375px;
}
@media screen and (min-width: 768px) {
    .horizontal_scroll>li {
        min-width: inherit;
    }
}
.horizontal_scroll>li:not(:last-child) {
    margin-right: 5px;
}
.horizontal_scroll>li:last-child {
    padding-right: 5px;
}
@media screen and (min-width: 768px) {
    .horizontal_scroll>li:last-child {
        padding-right: 0;
    }
}
.horizontal_scroll img {
    vertical-align: bottom;
    background: #fff;
    display: block;
    width: 100%;
    position: relative;
}

/* 回数 */
.number_of_times li {
    position: relative;
}
.number_of_times li::before {
    content: "第"counter(number) "回";
    counter-increment: number -1;
    position: absolute;
    bottom: 0px;
    right:0;
    padding: 3px 14px;
    font-size: 0.8em;
    color: #fff;
    /* 文字色 */
    background: rgba(63, 99, 123, 0.8);
    /* 背景色 */
    font-weight: 700;
    line-height: initial;
    z-index: 100;
    border-radius:10px;
}

/* ボックス */
.date {
    display: block;
    font-size: 100%;
    position:absolute;
    width: 100%;
    z-index:1;
    top:2px;
    left:0;
    color:#333;
    padding: 0.2em;
    border-radius: 10px 0 0 0;
    line-height: 1.7;
    /* transform: skewY(-0.5deg); */
    font-weight: 700;
    border-bottom: 1px solid;
    height: 37.2px;
}

.news .date {
    height: 24px;
    display: flex;}

.date-sub {
    font-size: 90%;
    color: #fc6d81;
    padding-left: 0.2em;
}
.fa,
.far,
.fas {
    vertical-align: baseline;
    padding-bottom: 0.2em;
}
.index {
    position: relative;
}
.box {
    position: relative;
    width: 100%;
    height: 240px;
}
.box:hover {
    transform: translate(0px, -5px);
    transition: 0.5s;
}
.news .box{
    width: 200px;
    height: 120px;
}
.works .box{
    height: 140px;
    width: 192px;
}
.off .box{
    width: 220px;
    height: 160px;
}
.map .box{
    width: 300px;
    height: 164px;
}
.link .box{
    width: 200px;
    height: 200px;
}
.database .box{
    height: 120px;
    width: 240px;
}
.quiz .box{
    height: 130px;
    width: 192px;
}

@media screen and (max-width: 559.98px) {
.news .box,
.works .box,
.off .box,
.map .box,
.link .bo,
.database .box{
    width: 100%;
}
.toppage .news .box{
    width: 200px;
}
}


.database i.fab.fa-twitter,
.database i.fab.fa-instagram{
    height: 18px;
    font-size: 16px;
}

.box.works,
.box.work {
    min-height:120px;
}
.box.box-tweet {
    min-height:100px;
}
.box a{
    position: relative;
    display: grid;
}
.box a.link-block {
    display: block;
    height:auto;
    position:absolute;
    width:100%;
}
.map .box a.link-block{
    position:relative;
}
@media screen and (max-width: 559.98px) {
    .box,
    .box a.link-block {
        max-width: calc(100vw);
    }
}
@media screen and (max-width: 374.98px) {
    .box {
        width: 100vw;
    }
}
.box img {
    display:inline-block;
    opacity: 1;
    width:40px;
    height:auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    background-color: transparent;
    z-index:1;
    position:absolute;
    left: 5%;
    top:80px;
    border-radius: 4px;
}
.news .box img {
    top: 30px;
    left: 3px;
}
.works .box img {
        top: 96px;
    left: 4px;
    width: 90px;
    height: 40px;
}
.off .box img {
    top: 44px;
    left: 3px;
    width: 214px;
    height: 42px;
}
.map .box img {
    top:42px;
    width: 120px;
    left: 3px;
}
.link .box img {
        top:50px;
}
.database .box img {
        top: 42px;
        left: 3px;
}

@media screen and (max-width: 559.98px) {
    .works .box img {
        top: 46px;
        height: 90px;
    }
}

.place-image-iframe iframe {
    left: 3px;
    bottom: 10px;
    top: 42px;
    width: 120px;
    height: 120px;
    position: absolute;
    border-radius: 4px;
}

.box span {
    font-size: 1.2rem;
    line-height: initial;
    z-index: 1;
}
.box .date span {
    color: #333;
    background:inherit;
    font-size:80%;
    font-weight: normal;
}
.box p {
    display:inline-block;
    position:absolute;
    background-color: rgba(255,255,255,0.8);
    top:140px;
    left: 5%;
    font-weight: 700;
    font-size:16px;
    z-index:10;
    white-space: initial;
}
.news .box p {
    top: 72px;
    left: 3px;
    overflow-y: auto;
    height: 50px;
    font-size: 14px;
}
.quiz .box p {
    overflow-y: auto;
    top:46px;
    height: 80px !important;
    font-size: 12px;
}
.works .box p {
    top:46px;
    overflow-y: auto;
    font-size: 14px;
}
.off .box p {
        top:90px;
}
.map .box p {
    top: 70px;
    left: 130px;
    width: 164px;
    overflow-y: auto;
    font-size: 12px;
    height: 88px;
    display: inline;
}
@media screen and (max-width: 559.98px) {
    .works .box p {
        left: 100px;
}
    .map .box p {
        width: calc(100% - 136px);
    }
    .toppage .map .box p {
        width: 164px;
    }
}
.link .box p {
    top:130px;
}
.database .box p {
    top:92px;
}
@media screen and (max-width: 959.98px) {
    .box p {
    }
}
.box.box-tweet p {
    margin-left:0;
    word-wrap: break-word;
    margin-left: 15px;
    margin-bottom: 15px;
}
@media screen and (max-width: 559.98px) {
    .box.box-tweet,
    .box.box-tweet a.link-block {
        min-height: inherit;
    }
    .contents li,
    .contents2 li {
        display: block;
    }
    .box p {
    }
}
.box_category1,
.box_category2,
.box_category3,
.box_category4 {
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    margin:0.5em;
    display:inline-block;
    position: absolute;
    padding: 0.1em 0.5em;
    border-radius:5px;
}
@media screen and (max-width: 768px) {
    .box_category1,
    .box_category2,
    .box_category3,
    .box_category4 {
        margin: 0.5em 0.3em;
    }
}
.box_category1 {
    top: 0;
    bottom: inherit;
    right: 4px;
}
.off .box_category1 {
    top: 38px;
}
.map .box_category1 {
    top: 36px;
    right: inherit;
    left: 120px;
    width: max-content;
}
.link .box_category1 {
    top: 40px;
}
.box_category2 {
    top: 2.2rem;
    bottom: inherit;
    right: 4px;
}
.off .box_category2 {
    top: 60px;
}
.database .box_category2{
    top: 35px;
}
.box_category3 {
    top: 0;
    bottom: inherit;
    right: 4px;
}
.box_category4 {
    top: 0;
    bottom: inherit;
    left: 40%;
}
.box small {
    position: absolute;
    bottom: 120px;
    right: 5%;
    padding: 4px 7px;
    color: #555;
    font-size: 70%;
    font-weight: 200;
    line-height: initial;
    z-index: 1;
}
.news .box small {
    left: 44px;
    bottom: inherit;
    top: 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    padding: 0 3px;
    word-break: break-all;
}
.works .box small{
    bottom: 3px;
    right: 0;
}
.off .box small{
    bottom: 80px;
}
.link .box small{
    bottom: 80px;
}
.database .box small{
    bottom: 40px;
}
.small_copyright {
    font-size: 80%;
    margin-left: 5px;
    color: #333;
    display: inline-block;
    width: 300px;
    overflow-x: auto;
}
.works .small_copyright,
.link .small_copyright{
    display:none;
}
.toppage .off .small_copyright{
    width: 220px;
    overflow-x: auto;
    display: inline-block;
}
horizontal_scroll li a img {
    background: #ccecff;
    display: block;
    width: 140px;
    height: 140px;
    position: relative;
}
i.fas {
    vertical-align: -2px;
}
.content_box3.cat-item li {
    display:inline-block;
}
.content_box3.cat-item li a {
    text-decoration: none;
}
.date span.date_year {
    /* background: #333; */
    color: #333;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
    border-radius: 5px;
    vertical-align: baseline;
    font-weight: 700;
    font-size: 120%;
}

.works .date span.date_year,
.off .date span.date_year{
    font-size: 100%;
    color: #fff;
    background: #333;
    padding: 2px 5px;
    font-size: 120%;
}
.news .date span.date_year,
.map .date span.date_year{
    white-space: normal;
}
.news .date span.date_year{
    font-size: 14px;
}
.map .date span.date_year{
    height: 30px;
    overflow-x: auto;
    }
.date span.date_sub {
    color: #333;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
    border-radius: 5px;
    vertical-align: baseline;
    font-size: 14px;
}


/* 右へのスクロールを促す矢印 */
.blocks {
    position: relative;
    padding: 1em 0;
    /* background-image: linear-gradient(210deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.6) 18%, rgba(255, 255, 255, 0.8) 33%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.8) 66%, rgba(255, 255, 255, 0.6) 85%, rgba(255, 255, 255, 0.4));*/
}

@media screen and (max-width: 559.98px) {
    .blocks {
        margin: 0;
        padding: 0;
    }
}

.blocks.news{
    margin-top:2em;
}

span.recommend_scroll {
    position: absolute;b
    top: 200px;
    width: 8px;
    height: 8px;
    margin-left: -12px;
    border-left: 2px solid #fc6d81;
    border-bottom: 2px solid #fc6d81;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    opacity: 0;
    box-sizing: border-box;
    z-index: -1;
}
span.recommend_scroll:nth-of-type(1) {
    right: 40px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
span.recommend_scroll:nth-of-type(2) {
    right: 30px;
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}
span.recommend_scroll:nth-of-type(3) {
    right: 20px;
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
}
@-webkit-keyframes sdb {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes sdb {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* 左へのスクロールを促す矢印 */
span.recommend_scroll_left {
    position: absolute;
    top: 200px;
    width: 8px;
    height: 8px;
    margin-right: -12px;
    border-right: 2px solid #fc6d81;
    border-bottom: 2px solid #fc6d81;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}
span.recommend_scroll_left:nth-of-type(1) {
    left: 40px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
span.recommend_scroll_left:nth-of-type(2) {
    left: 30px;
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}
span.recommend_scroll_left:nth-of-type(3) {
    left: 20px;
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
}

/* その他 */
h1.title {
    position: relative;
    padding-bottom:10px;
    text-align: center;
    border-bottom: 2px solid #222;
    font-weight: lighter;
    margin: 0 auto 1em auto;
    width: 90%;
    display: block;
    line-height: 1.4;
    font-size: 32px;
    font-weight: 700;
}
@media screen and (min-width: 767.98px) {
    h1.title {
        width: 90%;
    }
}

@media screen and (max-width: 559.98px) {
    h1.title {
        font-size: 20px;
    }
}

/* h1.title:first-letter {
    background-color: #fc6d81;
    color: #fff;
    margin-right: 0.1em;
    font-size: 120%;
}
h1.title:before,
h1.title:after {
    content: "";
    display: block;
    position: absolute;
}
h1.title:before {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fc6d81;
    top: -10px;
    left: 5px;
}
h1.title:after {
    height: 32px;
    border-left: 2px solid #eab6c4;
    top: -16px;
    left: 12px;
} */

a.link_arrow {
    text-decoration: none;
    font-size: 100%;
    display: inline-block;
    position: relative;
    padding: 5px 10px;
    border-radius: 1.0em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(210deg, rgba(243, 170, 196, 1), rgba(239, 210, 236, 1) 18%, rgba(248, 230, 200, 1) 33%, rgba(255, 247, 216, 1) 50%, rgba(185, 238, 197, 1) 66%, rgba(174, 212, 241, 1) 85%, rgba(183, 187, 255, 1));
    filter: contrast(.48) brightness(1.4);
}
a.link_arrow p {
    color: #333;
    line-height: 1.8;
}

/*a.link_arrow:after {
    content: "";
    display: block;
    -webkit-transform: skewX(45deg);
    transform: skewX(45deg);
    position: absolute;
    right: 132px;
    bottom: 12px;
    width: 20px;
    height: 20px;
    border: 5px solid;
    border-color: transparent transparent #fc6d81 #fc6d81;
    transform: rotate(-45deg);
}*/
.seeall {
    position: absolute;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    border-radius:10px;
    top: 30px;
    right: calc(25% - 146px - 40px);
    padding-left: 10px;
}
@media screen and (max-width: 767.98px) {
    .seeall {
    position: relative;
    width: 50%;
    top: inherit;
    right: inherit;
    margin: 1em auto;
}
}
    
.contents_box {
    display: block;
    position: relative;
}
.each_contents_box {
    display: block;
    position: relative;
    width: calc( 100% - 2em);
    margin: 0 auto 1em auto;
}
@media screen and (max-width: 767.98px) {
    .each_contents_box {
        width: 100%;
    }
    .contents_box {
        width: 100%;
        margin-bottom: 0;
    }
}
.recommend_arrow {
    position: absolute;
    top: -210px;
    right: 10px;
}
.recommend_arrow_left {
    position: absolute;
    top: -210px;
    left: 10px;
}
