@charset "EUC-JP";

/*=========カテゴリーのためのCSS===============*/

.l-content{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  text-align: center;
  white-space: nowrap;
}

#category_box{
  background-color: #f5fffa;
  width: 100%;
  display: block;
  padding: 20px 0;
}

.catego-sub{
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#category_box .menu-category-title{
    border-bottom: 3px solid #cccccc;
    margin: 0 0 20px;
    position: relative;
    clear: both;
    justify-content: center;
}

#category_box .section-category-box {
    display: flex;
    justify-content: start;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 3em;
    padding-bottom: 1em;
    width: 100%;
}


.msr-box05 {
  border: 1px solid #dadfe2;
  background-color: #ffffff;
  width: calc(25% - 20px);
  margin: 0 10px 0;
}

li.msr-box05:hover {
  background-color: yellow;
}

.msr_box05 a img{
  width: 25px;
   height: 25px;
}

.msr_box05 a *{
  transition: 0.2s opacity ease-in-out;
  -o-transition: 0.2s opacity ease-in-out;
  -moz-transition: 0.2s opacity ease-in-out;
  -webkit-transition: 0.2s opacity ease-in-out;
}
.msr_box05 p {
  font-size: 10px;
  padding: 10px;
  text-align: left;
  color: #000000;
}
.msr_box05 .ttl {
  font-size: 16px;
  margin-top: 16px;
  padding: 6px 0;
  background-color: #eeeeee;
  color: #1d4bad;
  border-top: solid;
  border-bottom: solid;
}
.msr_box05 a:hover *{
  opacity: 0.8;
}

.msr_box05 .cate-img{
  width: 196px;
  height: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.box-top{
  display: flex;
  background-color: #ff881e;
  color: #000000;
  padding: 10px;
  pointer-events: none;
  font-size: 16px;
  justify-content: center;
  border-bottom: 2px solid #e9efee;
}

.box-bottom{
  padding: 15px 20px;
}

.bottom-cate a{
  color: #000000;
  line-height: 2.0;
  font-size: 15px;
  text-decoration: underline 1px;
  text-decoration-style: dotted;
  text-decoration-color: #686868;
}

.bottom-cate a:hover{
  color: #9e9e9e;
}

.bottom-cate a::before{
  background-color: #b53200;
  border-radius: 2px;
  content: "";
  display: inline-block;
  height: 15px;
  margin-right: 8px;
  vertical-align: middle;
  width: 4px;
}

@media screen and (max-width:768px){
.catego-sub{
  display: block;
}

.msr-box05 {
  width: 95%;
  margin: auto;
  background-color: #f8f8f8;
}

.box-top{
  display: flex;
  font-size: 20px;
  padding: 20px;
  pointer-events: all;
  position: relative;
}

.box-top::after{ /*閉じている時*/
  content: " ";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 10px;
  height: 10px;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
  transform: translateY(-50%) rotate(45deg);
}

.box-top.active::after{ /*開いている時*/
  transform: translateY(-50%) rotate(-135deg);
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
}

.box-bottom{
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
}


.box-top.active+.box-bottom{
  max-height: 9999px;
  padding: 15px 20px;
}

.bottom-cate{
  padding-bottom: 10px;
  font-size: 18px; 
  color: #661818bf;
}
}

