/* 共通 */

#blockMain {
    margin: 0 15px;
    padding-top: 13px;
}

#blockMain p {
    font-size: 1.4rem;
}

#carenet a:hover {
    opacity: 0.5
}

/* html入力可能項目のpタグ配下のクラス反映 */
.opinion-main,
.op-answer-main,
.op-backnumber {
    word-wrap: break-word;
}

/* 画像のクリック・タッチの無効化 */
.opinion-main img,
.op-answer-main img,
.op-backnumber img
 {
    pointer-events: none;
}

[class*="btn-"] a {
    display: block;
}

[class*="btn-"] a:hover {
    opacity: 1 !important;
}


/* 2分割レイアウト */

.layout-2-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.layout-2-div>div {
    width: 49%;
    margin: 11px 2% 0 0;
}

.layout-2-div>div:nth-child(2n) {
    margin-right: 0;
}


/* コンテナレイアウト */

[class*="container-"] {
    width: auto;
    margin: 0px 15px;
}

[class*="container-"] h2 {
    width: 70%;
    font-size: 1.3em;
    font-weight: bold;
}


/* バナー */
#sp .banner {
    width: 93.75%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom:10px;
    text-align: center;
    background-color: transparent;
}
.banAd img{
    margin-top: 10px;
    width: 300px;
    height: auto !important;
}

.banner-contents {
    margin: 40px auto;
    text-align: center;
}

.banner-contents a {
    display: inline-block;
    width: 100%;
    height: 100%
}

.banner-contents a:hover {
    opacity: 0.75 !important;
    cursor: pointer;
}

.banner-contents img {
    vertical-align: middle;
    width: 345px;
}

.banner-publisher {
    margin: 40px 0;
}


/* 中身 */

.ttl-opinion-corner {
    background: url(/common/images/sp_bg_stripe_01.png);
    text-align: center;
}

.ttl-opinion-corner>img {
    height: 100%;
    max-height: 125px;
}

.opinion-head .right,
.op-answer-head .right {
    text-align: right;
    font-size: 1.2rem;
    margin: 7.5px 0;
    color: rgb(157, 156, 157);
}

.opinion-main {
    width: 100%;
    object-fit: cover;
}

[class*="-main"] [class*="diag-header-"] {
    position: relative;
    height: 14vw;
}

[class*="-main"] [class*="diag-header-"]>img:nth-child(1) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 18%;
}

[class*="-main"] [class*="diag-header-"] h2 {
    position: relative;
    height: 100%;
    margin: 0 0 0 18%;
}

[class*="-main"] [class*="diag-header-"] h2 img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

[class="main"] [class*="-body"] {
    background-color: white;
    border-radius: 6px;
}

[class*="area-img-"] {
    padding: 20px 20px 0px;
}


/* [class*="area-img-"] [class*="img-"] {
    text-align: center;
    margin: 0 auto;
    max-width: 570px;
    max-height: 400px;
    height: 100%;
} */

[class*="area-img-"] [class*="img-"] img {
    margin: 0 auto !important;
    max-width: 285px;
    max-height: 200px;
}

.img-scaleup {
    text-align: center;
}

.img-scaleup a {
    position: relative;
    display: inline-block;
    margin-left: 13px;
}

.img-scaleup a:hover {
    cursor: pointer;
    opacity: 0.75 !important;
}

[class*="btn-"] {
    text-align: center;
}

[class*="btn-"] button {
    position: relative;
    width: 263px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

[class*="btn-"] button:hover {
    opacity: 0.75;
    cursor: pointer;
}

[class*="area-sentence-"]>* {
    line-height: 2.8rem;
}

[class*="area-sentence-"] .img-op,
[class*="area-img-"] .img-op {
    display: block;
    width: 100%;
    max-width: 285px;
    max-height: 200px;
    text-align: center;
}

[class*="area-img-"] .img-op {
    margin: 0 auto;
}

[class*="area-sentence-"] .img-op {
    margin: 30px auto;
}

[class*="area-sentence-"] .img-op>img,
[class*="area-img-"] .img-op>img {
    max-width: 100%;
    max-height: 200px;
}

#blockMain [class*="-main"] [class*="footer-"] {
    min-height: 15px;
}

#blockMain [class*="-main"] [class*="footer-"] ul {
    padding: 10px 0 0;
}

#blockMain [class*="-main"] [class*="footer-"] ul li {
    padding: 0 0 8px;
}


/* 所見出題ページ */

.opinion-main {
    background: url(/common/images/sp_bg_stripe_02.png);
    border-radius: 6px;
}


/* .header-opinion {} */

.diag-header-opinion>.bluetag {
    position: absolute;
    width: 5%;
    /* height: ; */
    right: 7%;
    bottom: -16%;
}

.diag-header-opinion>.pinktag {
    position: absolute;
    width: 5%;
    /* height: 24px; */
    right: 1%;
    bottom: 0;
}

.area-sentence-opinion {
    margin: 30px 15px 0px;
    padding-bottom: 30px;
}

.btn-op-answer {
    margin: 5px 0 20px;
}

.btn-op-answer button {
    background-color: rgb(216, 98, 44);
    color: white;
    box-shadow: 0 2px rgb(192, 93, 34);
    font-weight: bold;
    height: 46px;
}

.btn-op-answer button::after {
    content: '';
    display: inline-block;
    background-image: url(/common/images/arrow.png);
    background-size: contain;
    position: absolute;
    width: 10px;
    height: 16px;
    right: 10px;
    top: 15px;
}

.btn-register {
    padding: 0 0 10px;
}

.btn-register button {
    background-color: rgb(207, 59, 59);
    color: white;
    box-shadow: 0 2px rgb(174, 49, 49);
    line-height: 1.1;
    height: 55px;
}

.btn-register button::after {
    content: '';
    display: inline-block;
    background-image: url(/common/images/arrow.png);
    background-size: contain;
    position: absolute;
    width: 10px;
    height: 16px;
    right: 10px;
    top: 20px;
}

.btn-login {
    padding: 10px 0 30px;
}

.btn-login button {
    background-color: rgb(222, 108, 39);
    color: white;
    box-shadow: 0 2px rgb(192, 93, 34);
    line-height: 1.1;
    height: 55px;
}

.btn-login button::after {
    content: '';
    display: inline-block;
    background-image: url(/common/images/arrow.png);
    background-size: contain;
    position: absolute;
    width: 10px;
    height: 16px;
    right: 10px;
    top: 20px;
}

.source {
    font-size: 1.2rem !important;
    text-align: center;
    padding: 0 0 20px;
    margin: 0;
}

.footer-opinion {
    margin-bottom: 42px;
}

.footer-opinion ul li {
    color: rgb(2, 67, 111);
    display: flex;
}

.footer-opinion ul li label {
    flex: 36px 0 0;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.3rem;
}

.footer-opinion ul li p {
    flex: auto;
    font-size: 1.2rem !important;
    line-height: 1.3rem;
}

.op-backnumber>span {
    display: block;
    margin: 10px 0 0;
}

.diag-header-op-backnumber {
    background-color: rgb(242, 242, 242);
    padding: 6.25px 0;
}

.diag-header-op-backnumber h2 {
    font-size: 15px;
    margin: 0 0 0 9px;
    font-weight: bold;
}

.area-op-backnumber {
    margin: 9px 0 20px;
}

.item-op-backnumber {
    position: relative;
    height: 163px;
    border: 1px solid rgb(206, 212, 222);
    box-shadow: 0 2px rgb(206 212 222);
    border-radius: 5px;
    text-align: center;
}

.item-op-backnumber:hover {
    cursor: pointer;
    background-color: rgb(255, 246, 224);
}

.item-op-backnumber .thum-op-backnumber {
    position: relative;
    margin: 10px auto;
    text-align: center;
    /* width: 80%;
    height: 80%; */
    width: 110px;
    height: 110px;
}

.item-op-backnumber::after {
    content: '';
    display: inline-block;
    background-image: url(/common/images/gray_arrow.png);
    background-size: contain;
    position: absolute;
    width: 10px;
    height: 16px;
    right: 1.3vw;
    top: 73px;
}

.item-op-backnumber .thum-op-backnumber>img {
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 100%;
    max-width: 110px;
    max-height: 110px;
}

.item-op-backnumber a:hover {
    opacity: 1.0;
}

.op-publisher {
    width: 130px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    vertical-align: middle;
    overflow: hidden;
    word-break: break-all;
    color: black;
    max-height: 2.2rem;
    font-size: 1.2rem;
}

.op-publisher label {
    width: 52px;
    line-height: 1.1rem;
}

.op-publisher p {
    display: inline;
    line-height: 1.1rem;
}

.intro-op-backnumber {
    font-size: 1.4rem;
    margin: 30px 0;
    line-height: 2.8rem;
}


/* 回答ページ */

.op-answer-main {
    background: url(/common/images/sp_bg_stripe_03.png);
    border-radius: 6px;
}

.diag-header-op-answer>.bluetag {
    position: absolute;
    width: 5%;
    right: 7%;
    bottom: 0;
}

.diag-header-op-answer>.pinktag {
    position: absolute;
    width: 5%;
    right: 1%;
    bottom: -16%;
}

.area-answer-op-answer {
    padding: 20px 15px 0;
    font-weight: bold;
}

.area-answer-op-answer p {
    padding: 5px 15px;
    background-color: rgb(255, 253, 210);
    font-size: 20px !important;
    color: rgb(182, 31, 33);
    word-break: break-all;
    border-radius: 4px;
}

.area-sentence-op-answer {
    margin: 20px 10px 0;
    padding-bottom: 30px;
}

.footer-op-answer ul li {
    color: rgb(182, 31, 33);
}

.footer-op-answer ul li label {
    flex: 36px 0 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.footer-op-answer ul li p {
    font-size: 1.2rem !important;
}

.return-op-top {
    position: relative;
    font-size: 1.4rem;
    display: inline-block;
    color: rgb(0, 86, 203) !important;
    margin: 25px 0 0 15px;
    text-decoration: underline !important;
}

.return-op-top::before {
    content: '';
    display: inline-block;
    background-image: url(/common/images/back_blue_arrow.png);
    background-size: contain;
    position: absolute;
    width: 10px;
    height: 16px;
    left: -15px;
    top: 1.5px;
}

.return-op-top:hover {
    opacity: 0.5 !important;
}


/* エラーページ＆非開催ページ */

.op-err-main {
    margin: 30px 0;
}

.btn-op-top {
    margin: 40px 0;
}

.btn-op-top button {
    background-color: #fff !important;
    border: 1px solid rgb(204, 204, 204);
    box-shadow: 0 1px rgb(204, 204, 204);
    color: black;
    height: 46px;
}

.btn-op-top button::before {
    content: url(/common/images/back_arrow.png);
    position: absolute;
    left: 10px;
    top: 10px;
    color: #DDDDDD;
}

.fancyBox a {
    background: url(/common/images/icon_zoom.png) no-repeat left 0.35em;
    color: black;
}


/* 可変フォントサイズ */

.font80 {
    font-size: 80% !important;
    line-height: 1.4;
}

.font90 {
    font-size: 90% !important;
    line-height: 1.4;
}

/* Youtube用 */
.iframe_video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.iframe_video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
