@charset "UTF-8";
/* CSS Document */


#side{
  position: absolute;
    top: 40em;
    left: 0;
    z-index: 10;
  transition: opacity 0.3s ease;
}

  #side-placeholder {
    min-width: 43rem;
    width: 26%;
    flex-shrink: 0;
  }
#detailbox{
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 5;
    background-color: #fff;
  overflow: visible; /* ここ重要！ */
  will-change: transform;
}
#detailbox #side_menu{
    order: 2;
width:43rem;
    background-color: #292929;
}

.triangle{
  position: absolute;
  width: 0;
  height: 0;
  z-index: 0;
}
#side .up.left{
  top: -19.93em;
  border-bottom: 20em solid #292929;
}
#side .down.left {
    top: 95.5rem;
  border-top: 20em solid #292929;
}
#side .triangle.left {
  right: 0;
  border-right: 50vw solid transparent;
  border-left: 0 solid transparent;
}
#detailbox .triangle.right {
  top: -19.93em;
  left: 0;
  border-bottom: 20em solid #fff;
  border-left: 100vw solid transparent;
  border-right: 0 solid transparent;
}

#backgray{
    flex: 1;
    background-color: #292929;
    height: 95.6rem;
}
#backgray2{
    flex: 1;
    order: 3;
}



#detail{
    order: 2;
    position: relative;
}
#detailinner{
width:125rem;
    padding: 0 4em 10em 6em;
    text-align: justify;
    margin-top: -3em;
    position: relative;
    z-index: 2;
}

#detail .title{
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.4;
    border-bottom: 1px solid #b6b6b6;
    padding-bottom: 0.5em;
    margin-bottom: 4em;
  margin-right: calc(50% - 50vw);
    text-align: left;
}
#detail h3{
    font-size: 5.2rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1em;
    text-align: left;
}
#detail h4{
    font-size: 2.8rem;
    font-weight: 800;
    margin: 3.5em 0 0 0;
}
#detail h4:after{
    content: "";
    display: inline-block;
    width: 4em;
    border-bottom: 1px solid #b6b6b6;
    margin-left: 1em;
    vertical-align: middle;
}
#detail h5{
    font-weight: 600;
    font-size: 2.2rem;
    line-height: 1.5;
    margin-top: 2.3em;
    margin-bottom: -1em;
    text-align: left;
}
#detail p{
    padding-top: 1.5em;
    font-size: 2rem;
    line-height: 1.9;
}

#detail p.middle{
    font-size: 2.2rem;
      font-weight: 600;
    line-height: 1.8;
}

#detailinner ul{
    padding-top: 1.5em;
}
#detailinner li{
    font-size: 2rem;
    line-height: 1.6;
    text-indent: -1em;
    padding: 0.2em 0 0.2em 1em;
}

#detailinner ul.bold{
    padding: 2em 0 0.5em 0;
    font-weight: 600;
}


#pagenavi{
    display: flex;
    justify-content: space-between;
    padding-top: 6em;
}
#pagenavi .prev,#pagenavi .next{
    width: 47%;
}
#pagenavi img{
    display: inline-block;
}
#pagenavi a{
    display: block;
}
#pagenavi a .pntitle{
    display: block;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 600;
    padding: 1em 0.5em;
    border-radius: 2em;
	-webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all  0.2s ease;
}
#pagenavi a:hover .pntitle{
    background-color: #caac78;
    color: #000;
}
#pagenavi .next .fw_jost{
    text-align: right;
}
#pagenavi .fw_jost{
    font-weight: 600;
    padding: 0.3em 0.5em;
}
#pagenavi a:hover .fw_jost{
    color: #000;
}
#pagenavi .fw_jost img{
    width: 1.2em;
    vertical-align: sub;
}


#outerbox{
    text-align: justify;
    padding: 0 2em 4em 0;
    color: #fff;
}
#outerbox h3{
    font-size: 2.4rem;
    font-weight: 800;
    padding: 3em 0 1em 0;
}
#outerbox dl{
    padding-bottom: 1.5em;
}
#outerbox dt{
    font-size: 1.6rem;
}
#outerbox dd h4{
    line-height: 1.4;
      padding: 0.2em 0;
}
#outerbox dd p{
    font-size: 1.6rem;
}
#outerbox dd a{
    color: #fff;
	-webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all  0.2s ease;
}
#outerbox dd a:hover{
    color: #da515b;
}

.da-reactions-outer{
    margin-top: 9em;
    padding: 3em 0 2.5em 0;
    border: 5px solid #d9d9d9;
    border-radius: 2em;
}
.post-reactions-list{
    justify-content: center;
    font-size: 1.8rem;
    height: 3em;
}
/*.post-reactions-list li:nth-child(-n+4){
    display: none;
}*/
div.da-reactions-container div.reactions div.reaction {
  margin: 0 0.5em;
}
div.da-reactions-container div.reactions div.reaction .count {  
  font-size: 1.4rem;
  position: relative;
  background: transparent;
  left: 0;
  right: 0;
  width: auto;
}
div.da-reactions-container div.reactions img{
    width: 4.5em!important;
}

#detailinner h3.ind, #outerbox dd h4.ind {
  text-indent: -0.5em;
}


@media screen and (min-width: 769px) and (max-width: 1886px) {
    #detailinner {
  width: 114rem;
}
}

@media screen and (min-width: 769px) and (max-width: 1500px) {

#detail .title{
    font-size: 26px;
}
#detail h3{
    font-size: 45px;
}
#detail h4{
    font-size: 28px;
}
#detail h5{
    font-size: 20px;
}
#detail p{
    font-size: 18px;
}

#detail p.middle{
    font-size: 20px;
}
#detailinner li{
    font-size: 18px;
}
#pagenavi a .pntitle {
  font-size: 16px;
}
}

@media only screen and (max-width: 768px) {
    #side-placeholder{
        display: none;
    }
    #side {
  position: relative;
  display: block;
  min-width: inherit;
  width: 100%;
  top: inherit;
}
    
#detailbox{
    display: block;
}

.triangle{
}
#side .up.left{
  top: -3.95em;
  border-bottom: 4em solid #292929;
}
#side .down.left {
    top: auto;
    bottom: -3.95em;
  border-top: 4em solid #292929;
}
#side .triangle.left {
  border-right: 100vw solid transparent;
}
    #detailbox .triangle.right{
     display: none;
    }

#backgray,#backgray2{
    display: none;
}

#detail{
}
    #detailinner {
width:100%;
    padding: 3em 1.5em 8em 1.5em;
    margin-top: 0;
}

#detail .title{
    font-size: 2.2rem;
    margin-right: -1em;
    padding-right: 1em;
}
#detail h3{
    font-size: 3.2rem;
    margin-bottom: 1em;
    line-height: 1.4;
}
#detail h4{
    font-size: 2.8rem;
    margin: 3.5em 0 0 0;
}
#detail h4:after{
    width: 3em;
}
#detail h5{
    font-size: 2rem;
    font-weight: 600;
    margin-top: 2em;
}
#detail p{
    padding-top: 1.5em;
    font-size: 1.8rem;
}

#detail p.middle{
    font-size: 2rem;
}
#detailinner li{
    font-size: 1.8rem;
}

#pagenavi {
  padding-top: 4em;
}
#pagenavi .next{
    text-align: right;
}
    #pagenavi a{
        display: inline-block;
    }
#pagenavi a .pntitle{
    display: none;
}
    #detailbox #side_menu{
        width: 100%;
    }
    #detailbox #side_menu ul{
        padding: 3em 2em 0 2em;
    }
    

#outerbox{
    padding: 0 1em 4em 0;
    color: #fff;
}
#outerbox h3{
    font-size: 2rem;
    line-height: 1.4;
    padding: 5em 0 1em 0;
}
#outerbox dl{
    padding-bottom: 1em;
}
#outerbox dt{
}
#outerbox dd h4{
    font-size: 1.6rem;
}
#outerbox dd p{
    padding-top: 0.5em;
    font-size: 1.4rem;
    line-height: 1.4;
}
    
.da-reactions-outer{
    margin-top: 6em;
    padding: 2.5em 0 1em 0;
}

div.da-reactions-container div.reactions div.reaction {
  margin: 0 0.5em 1em 0.5em;
}

    
    
}