﻿body.portal-top {
    text-align: center;

}

body.portal-top header,
body.portal-top .body-content,
body.portal-top .sub-content {
    max-width: 990px;
    min-width: 500px;
    margin: auto;
}
body.portal-top header,
body.portal-top .body-content,
body.portal-top .sub-content .title{
    background-color: #f4d3c7;

}
body.portal-top .sub-content{
    margin-top:2.5em;
}
body.portal-top .sub-content .title{
    border-radius:0px 50px 50px 0px;
    width:34%;
    min-width:200px;
}
body.portal-top .sub-content .title .sub-title{
    color:white;
    margin-bottom:1em;
    font-size:1em;
}
body.portal-top .sub-content .title span{
    font-size:1.3em;
    font-weight:bold;
}
body.portal-top .sub-content .title hr{
    border-color: white;
    border-width: 7px 0px 0px 0px;
    border-style: dotted;
    opacity: unset;
}
body.portal-top .sub-content div{
    display:table-cell;
    padding:2.5em 2.5em 0em 2.5em;
}
body.portal-top .sub-content div span {
    display:block;
}
body.portal-top .sub-content a{
    display:inline-block;
    float:right;
    background-color:#E95B8D;
    border-radius:10px;
    color:white;
    text-decoration:unset;
    padding:1em;
    font-weight:bold;
    margin-top:2em;
}
body.portal-top .sub-content .button-comment{
    display:inline-block;
    float:right;
    font-size:0.6em;
    font-weight:bold;
}
body.portal-top .navbar {
    background-color: unset !important;
}

body.portal-top footer {
    max-width: 990px;
    min-width: 500px;
    border: unset;
    margin: auto;
}
.body-content{
    border-radius:0px 0px 50px 50px;
}
body.portal-top .body-content .main {
    background-image: url("../img/top-back.png");
    text-align: center;
    background-size: 760px 380px;
    background-repeat: no-repeat;
    background-position: center;
}

body.portal-top .body-content .logo {
    display: inline-block;
    background-image: url("../img/top-main.png");
    padding: 130px 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
body.portal-top .body-content .main a.login-link {
    display: inline-block;
    vertical-align: top;
    float: right;
}
body.portal-top .body-content .logo img {
    width: 200px;
    display: block;
    margin: 10px auto;
}

body.portal-top .body-content .info .subtitle {
    margin-top: 0.5em;
    font-weight: bold;
    font-size: 2.3em;
    color:white;
    padding:0em;
}

body.portal-top .body-content .info div {
    padding: 0.5em;
    text-align: center !important;
}

body.portal-top .body-content .info div span {
    display: block;
    margin-bottom:0.5em;
}

body.portal-top header .navbar,
body.portal-top .body-content .info,
body.portal-top .yakult-logo {
    margin: auto;
    max-width: 860px;
}
body.portal-top .notice {
    margin: auto;
    max-width: 980px;
    min-width: 500px;
}

body.portal-top .notice {
    margin-top: 2.5em;
}

body.portal-top .notice .area {
    display: table;
    width: 100%;
}

body.portal-top .notice .area > div {
    display: table-cell;
}

body.portal-top .notice .area .area-title {
    background-color: lightpink;
    background-image: url("../img/notice-back.png");
    color: white;
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
    border-radius: 10px 0px 0px 10px;
    width:200px;
}

body.portal-top .notice .area .n-block {
    background-color: white;
    color: unset;
    vertical-align: middle;
    padding: 10px;
    border-radius: 0px 10px 10px 0px;
    font-size: 0.9em;
    border:1px solid #CC5470;
}

body.portal-top .notice .area .n-block .n-title {
    display: none;
}

body.portal-top .notice .area .n-block .n-row {
}

body.portal-top .notice .area .n-block .n-row .n-date {
    font-weight: bold;
}

body.portal-top .notice .area .n-block .n-row .n-info {
    margin-left: 1em;
}

body.portal-top .yakult-logo {
    text-align: center;
    margin: auto;
    padding: 1.3em;
    scale: 0.6;
}

body.portal-top div.login {
    color:white;
    border: unset;
    background-color: #E95B8D;
    font-weight: bold;
    text-align: center;
    /*height: 14em;*/
    border-radius: 20px 0px 0px 20px;
    position: absolute;
    margin-left: -38px;
    padding:24px 6px;
}
body.portal-top div.login:hover{
    background-color: lightpink;

}
.portal-top div.login:hover {
    box-shadow: unset;
}

@@media (max-width: 600px) {
    body.portal-top .notice .area {
        display: block;
    }

    body.portal-top .notice .area > div {
        display: block;
    }

    body.portal-top .notice .area .area-title {
        border-radius: 10px 10px 0px 0px;
        line-height: 3.5em;
    }

    body.portal-top .notice .area .n-block {
        border-radius: 0px 0px 10px 10px;
    }
}