@charset "utf-8";

.pc-none{
display: none;
}

#mf1 div.mf-inner{
display: flex;
justify-content: space-between;
width: 100%;
}

div.mainbox{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
width: 67%;
}

div.mainbox div.ebox{
width: 42%;
padding: 3%;
box-shadow: 0 0 20px #dedede;
display: flex;
flex-flow: column;
margin-bottom: 4%;
}

div.mainbox div.ebox a{
display: contents;
cursor: pointer;
text-decoration: none;
transition: 0.4s;
}

div.mainbox div.ebox a :hover{
transition: 0.4s;
}

div.mainbox div.ebox div.ibox{
position: relative;
}

div.mainbox div.ebox div.ibox img{
object-fit: cover;
width: 100%;
height: 100%;
position: relative;
z-index: 0;
}

div.mainbox div.ebox div.ibox span{
position: absolute;
z-index: 1;
left: 15px;
top: 15px;
display: inline-block;
padding: 5px 10px;
color: #fff;
background-color: #00A3CE;
}

div.mainbox div.ebox div.tbox{
padding: 4%;
background: #FFF3DE;
}

div.mainbox div.ebox div.tbox h2{
font-size: 1.2em;
font-weight: bold;
}

div.sidebox{
width: 25%;
}

div.sidebox div.side-inner{
padding: 20px 15px;
background: #fff;
box-shadow: 0 0 20px #dedede;
}

div.sidebox div.side-inner a{
position: relative;
display: block;
margin-bottom: 15px;
padding: 17px 0 17px 50px;
background-color: #FBF7EF;
color: #000;
font-size: 1.2em;
font-weight: bold;
text-decoration: none;
transition: 0.4s;
}

div.sidebox div.side-inner a::before{
content: "";
position: absolute;
background: url("../img/nikki/arrow-b.svg") no-repeat;
background-size: contain;
width: 30px;
height: 20px;
top: 50%;
left: 20px;
transform: translateY(-50%);
}

div.sidebox div.side-inner a:hover{
background-color: #0AADD6;
color: #fff;
}

div.sidebox div.side-inner a:hover::before{
background: url("../img/nikki/arrow-w.svg") no-repeat;
background-size: contain;
width: 30px;
height: 20px;
}

#pager{
width: 100%;
}

.nav-links{
display: flex;
width: 100%;
max-width: 700px;
margin: 60px auto;
justify-content: center;
}

.nav-links a,.nav-links span{
display: flex;
align-items: center;
justify-content: space-around;
color: #fff;
padding: 8px 18px;
margin-right: 30px;
background: #F0961C;
text-decoration: none;
border: solid 1px transparent;
border-radius: 30px;
}

.nav-links a.prev,.nav-links a.next{
border: solid 1px transparent;
border-radius: 0;
}

.nav-links span.current{
background: #74470A;
color: #fff;
}

.clist .alist{
display: flex;
justify-content: space-between;
width: 50%;
}

.clist .alist a,.clist .alist span{
padding: 10px 14px;
color: #fff;
border: solid 1px #E23637;
}

.nav-links a img{
height: 15px;
}

.nav-links a.prev img{
padding-right: 20px;
}

.nav-links a.next img{
padding-right: 20px;
transform: rotate(180deg);
}

/*--- more詳細 ---*/

div.mainbox .cbox img{
width: 100%;
object-fit: cover;
}

h2.ttl{
position: relative;
padding: 15px 0 15px 50px;
margin: 20px auto;
font-size: 1.4em;
font-weight: bold;
}

h2.ttl::before,h2.ttl::after{
content: "";
position: absolute;
}

h2.ttl::before{
width: 40px;
height: 40px;
background: url("../img/nikki/penki-greeb.svg") no-repeat;
background-size: contain;
top: 50%;
left: 0;
transform: translateY(-50%);
}

h2.ttl::after{
width: 100%;
height: 5px;
background: url("../img/nikki/border-green.png") repeat-x;
left: 0;
bottom: 0;
}

div.info p{
font-size: 1.2em;
margin-bottom: 20px;
}

div.info p a{
text-decoration: none;
color: #7CBF3A;
font-weight: bold;
}

div.mainbox .cbox .tbox{
margin: 30px auto;
}

.cbox .tbox h2,.cbox .tbox h3,.cbox .tbox h4,.cbox .tbox p{
margin-bottom: 20px;
}

.cbox .tbox h2{
position: relative;
font-size: 1.4em;
font-weight: bold;
color: #0AADD6;
background: #EAF9FC;
padding: 10px 0 10px 20px;
}

.cbox .tbox h2::before{
position: absolute;
content: "";
width: 7px;
height: 100%;
background: #0AADD6;
top: 50%;
left: 0;
transform: translateY(-50%);
}

.cbox .tbox h3{
position: relative;
font-size: 1.3em;
font-weight: bold;
color: #7CBF3A;
padding: 0 0 15px 0;
}

.cbox .tbox h3::before{
position: absolute;
content: "";
width: 100%;
height: 5px;
background: url("../img/nikki/border-green.png") repeat-x;
left: 0;
bottom: 0;
}

.cbox .tbox h4{
font-size: 1.2em;
font-weight: bold;
color: #F0961C;
}

a.bac{
text-align: center;
display: block;
margin: auto;
padding: 15px 30px;
background-color: #F0961C;
color: #fff;
width: 200px;
font-size: 1.3em;
text-decoration: none;
border: solid transparent;
border-radius: 5px;
background-image: url("../img/nikki/arrow-w.svg");
background-repeat: no-repeat;
background-position: center right 20px;
background-size: 10px;
transition: 0.4s;
}

a.bac:hover{
color: #F0961C;
background-color: #fff;
border: solid #F0961C;
background-image: url("../img/nikki/arrow-o.svg");
background-size: 10px;
}

@media screen and (max-width: 800px) {
.pc-none{
display: block;
}

div.info p{
line-height: 2em;
}

#mf1 div.mf-inner{
flex-wrap: wrap;
}

div.mainbox{
width: 100%;
}

div.sidebox{
width: 90%;
margin: 30px auto;
}

div.mainbox div.ebox{
width: 86%;
margin: auto;
}

.nav-links{
flex-wrap: wrap;
margin: 30px auto;
}

.nav-links a, .nav-links span{
margin-right: 15px;
margin-bottom: 15px;
}

div.cbox{
width: 90%;
margin: auto;
}
}
