* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #e1e1e2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

header {
    display: flex; width:100vw; background-color: black;
}

#logo {
    height:100px; 
    width:100px; 
    background-size:contain; 
    background-repeat: no-repeat;
    z-index: 1;
    position: relative;
}
#logo > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -999px;
    z-index: 2;
}
.item {
    display: flex; justify-content: center; align-items: center;
    position: relative;
    padding-left: 1em;
    padding-right: 1em;
}
.item > a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    text-indent: -9999px;
    z-index: 2;
}
.first_line {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: smaller;
}
.right_end {
    padding-right: 2em;
}
.left_end {
    padding-left: 2em;
}

#key_visual {
    height: 40vw; 
    max-height: 1000px;
    background-size:cover;
}

#contents_list{
    margin-left: 150px; margin-right: 150px; padding-top: 5em; padding-bottom: 5em;
    display: flex;
    flex-wrap: nowrap;
}
.citem{
    width:100%;
    flex-shrink: 1;
    flex-grow: 1;
    margin: 1em;
}

.citem > .figure {
    margin-bottom: 1em;
}
.citem > .title {
    margin-bottom: 0.5em;
}
.citem > .description {
    margin-bottom: 0.5em;
}
.citem > .actions {
    margin-bottom: 0.5em;
}
.actions > a:link { text-decoration: none; color: blueviolet; }
.actions > a:visited  { text-decoration: none; color: blueviolet; }
.actions > a:hover { text-decoration: none; color: blueviolet; }
.actions > a:active { text-decoration: none; color: blueviolet; }

.citem > .figure {
    background-color: #F2F2F2;
}
.citem > .figure > img {
    max-width: 100%; 
    height: auto;
}

footer {
    margin-top: auto;
    width: 100vw;
    background-color: black;
    color: white;
}

.footer_link {
    padding: 5px;
}
.footer_link > a:link { text-decoration: none; color: #aeaeae; }
.footer_link > a:visited { text-decoration: none; color: #aeaeae; }
.footer_link > a:hover { text-decoration: none; color: #aeaeae; }
.footer_link > a:active { text-decoration: none; color: #aeaeae; }

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.content_block{
    padding-left:30px; margin: 1em;
    margin-bottom: 3em;
}