/* Home page styles */
@font-face {
    font-family: 'cakefont';
    src: url('../font/cakedingbats-webfont.eot');
    src: url('../font/cakedingbats-webfont.eot?#iefix') format('embedded-opentype'),
    url('../font/cakedingbats-webfont.woff2') format('woff2'),
    url('../font/cakedingbats-webfont.woff') format('woff'),
    url('../font/cakedingbats-webfont.ttf') format('truetype'),
    url('../font/cakedingbats-webfont.svg#cake_dingbatsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
    /*padding: 60px 0;*/
}

header {
    /*margin-bottom: 60px;*/
}
h1 {
    font-weight: bold;
}
ul {
    list-style-type: none;
}
hr {
    border-bottom: 1px solid #e7e7e7;
    border-top: 0;
    margin-bottom: 35px;
}

.links a {
    margin-right: 10px;
}
.release-name {
    color: #D33C43;
    font-weight: 400;
    font-style: italic;
}
.bullet:before {
    font-family: 'cakefont', sans-serif;
    font-size: 18px;
    display: inline-block;
    margin-left: -1.3em;
    width: 1.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: -1px;
}

.cake-error {
    padding: 10px;
    margin: 10px 0;
}
#url-rewriting-warning {
    display: none;
}

.footer_menu ul li a{
    font-weight: 300;
}


.top_image_wrapper{
    position: relative;
}
.top_image img{
    object-fit: cover;
    width:100%;
    height:750px;
}
.top_message{
    position: absolute;
    display: table;
    width:100%;
    height:750px;
    bottom:0;
    left:0;
    right:0;
    top:0;
}
.top_message_inner{
    display: table-cell;
    width:100%;
    text-align: center;
    vertical-align: top;
    font-size:2.5em;
    color:#fff;
    padding-top: 80px;
}
.top_message_inner .top_message_img img{
    width:490px;
 }
.top_message_inner .top_message_img2{
    margin-top: 60px;
}
.top_message_inner .top_message_img2 img{
    width:120px;
}

.top_message_inner .top_message_title_block{
    font-family: Serif;
    max-width: 600px;
    margin: 0 auto;
}

.top_message_title_block .line1{
    font-size: 1.6rem;
    border-bottom: 1px solid white;
}

.top_message_title_block .line2{
    padding-top: 0.5em;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.2em;
}
.top_message_title_block{
    font-family: Serif;
    max-width: 600px;
    margin: 0 auto;
}
.top_message_message_block{
    margin: 120px auto 0 auto;
    font-family: Serif;
    max-width: 800px;
    font-size: 1.8rem;
}
.top_message_balloon{
    margin: 0 auto;
    background: url('/img/top_message_balloon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 300px;
    height: 120px;
    color: var(--text-color);
    font-family: sans-serif;
    font-size: 1.4rem;
    line-height: 1.4em;
    font-weight: bold;
    text-align: center;
    padding: 40px 0 0 0;
}

@media screen and (max-width: 640px){
    .top_message_inner .top_message_title_block{
        width: 100%;
        padding: 0 1em;
    }
    .top_message_inner .top_message_title_block .line1{
        font-size: 1.2rem;
    }
    .top_message_inner .top_message_title_block .line2{
        font-size: 1.6rem;
    }
    .top_message_message_block{
        font-size: 1.3rem;
        padding: 0 0.5em;
    }
}

.merit_block {
    display: block;
    justify-content: center;
    text-align: center;
}

.merit_block .merit{
    display: inline-block;
    vertical-align: middle;
    margin: 15px 10px;
    width: 320px;
    height: 380px;
    text-align: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    font-weight: bold;
    color: var(--text-color);
}

.merit_block .merit .merit_image{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 230px;
}
.merit_block .merit .merit_text{
    width: 100%;
    height: 150px;
    vertical-align: middle;
    font-size: 1.3rem;
    line-height: 1.4em;
    padding: 1em;
}

.soudan2pro{
    background-image: url('/img/title_soudan.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 800px;
    height: 300px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-color);
}
.soudan2pro .s2p_balloon{
    padding: 20px;
    font-size: 1.6rem;
    font-weight: bold;
    height: 70px;
}
.soudan2pro .s2p_text{
    padding-top: 60px;
    font-size: 1.8rem;
    font-weight: bold;
    height: 230px;
}

@media screen and (max-width: 640px){
    .soudan2pro{
        width: 100%;
        height: 180px;
    }
    .soudan2pro .s2p_balloon{
        height: 50px;
        padding-top: 21px;
        font-size: 1rem;
    }
    .soudan2pro .s2p_text{
        height: 130px;
        padding-top: 20px;
        font-size: 1.2rem;
    }
}

.present_block{
    text-align: center;
}
.present_block .pb_main{
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3em;
}
.present_block .pb_sub{
    margin-top: 1em;
    font-size: 1.2rem;
}

@media screen and (max-width: 640px){
    .present_block{
    }
    .present_block .pb_main{
        font-size: 1.2rem;
    }
    .present_block .pb_sub{
        font-size: 1rem;
    }
}

.soudan_block{
    display: block;
    text-align: center;
}
.soudan_block .soudan{
    width: 320px;
    height: 380px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    margin: 15px 10px;
    color: var(--text-color);
    font-weight: bold;
}
.soudan_block .soudan .soudan_text{
    font-size: 1.4rem;
    margin-bottom: 1em;
}
.soudan_block .soudan img{
    height: 140px;
}
.soudan_block .soudan .soudan_button{
    margin-top: 1em;
    background-color: #e0b9b8;
    border-radius: 10px;
    height: 80px;
    font-size: 1.4rem;
    line-height: 1.2em;
    padding: 0.5em;
}
.soudan_block .soudan:first-child .soudan_button{
    line-height: 2.4em;
}

.top_image_link{
    text-align: center;
    position: absolute;
    width:100%;
    bottom:0;
    left:0;
    right:0;
}
.top_image_link .content{
    width:1140px;
}

@media screen and (max-width:1000px) {
    .top_image_link .content{
        width:95%;
    }
}
@media screen and (max-width:640px) {
    .top_image img{
        height:600px;
    }
    .top_message{
    height:600px;
}
    .top_message_inner .top_message_img img{
        width:90%;
    }
    .top_message_inner .top_message_img2{
        margin-top: 40px;
    }
    .top_message_inner .top_message_img2 img{
        width:100px;
    }
}

.topics_list ul{
    display: flex;
    justify-content: center;
}
.topics_list ul li{
    width:calc(100%/3);
    padding: 10px;
}
.topics_list_title{
}

.topics_list_date{
    font-size: 0.8rem;
    color:var(--brand-color);
    margin-top: 10px;
}

@media screen and (max-width:640px) {
    .topics_list ul li{
        width:100%;
        padding: 10px;
    }
    .topics_list ul li:first-child{
        padding-top: 0;
    }
}
