.p-sub-category {
  margin: 30px 10px;
  padding: 0;
  list-style-type: none;
}

.p-sub-category::after {
  display: block;
  clear: both;
  content: '';
}

.p-sub-category__item {
  float: left;
  box-sizing: border-box;
  width: 50%;
  padding: 10px 5px;
}

.p-sub-category__image {
  display: block;
  margin-bottom: 10px;
}

.p-sub-category__link {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-sub-category__link:hover {
  opacity: .66;
}

.p-sub-category__link:active {
  opacity: 1;
}

.p-sub-category__name {
  line-height: 1.3;
  position: relative;
  display: block;
  padding-left: .8em;
}

.p-sub-category__name::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '-';
}

@media screen and (min-width: 600px) {
  .p-sub-category {
    margin-right: 0;
    margin-left: 0;
  }

  .p-sub-category__item {
    width: 25%;
    padding: 15px 10px;
  }

  .p-sub-category__item:nth-child(4n + 1) {
    clear: both;
  }
}

@media screen and (max-width: 599px) {
  .p-sub-category__item:nth-child(2n + 1) {
    clear: both;
  }
}

/* 旧テンプレートから引き継ぎ */
#container {
  padding: 0px;
  margin-top: 20px;
  margin-right: auto;
  margin-bottom: auto;
  margin-left: auto;
}
#container h1 {
  border: thin solid #330000;
  padding: 5px;
  background-color: #330000;
  color: #FFF;
  font-size: 16px;
  margin: 0px;
}
#container #setsumei01 {
margin-left: auto;
  margin-right:auto;
  padding: auto;
  width: auto;
  border-top-style: 1;
  border-right-style: 1;
  border-bottom-style: 1;
  border-left-style: 1;
  height: auto;
}

#setsumei02 {
  
margin-left: auto;
  margin-right:auto;
  padding: auto;
  width: auto;
  border-top-style: 1;
  border-right-style: 1;
  border-bottom-style: 1;
  border-left-style: 1;
}

#shousai01 {
  
  margin-left: auto;
  margin-right:auto;
  padding: auto;
  width: auto;
  border-top-style: 1;
  border-right-style: 1;
  border-bottom-style: 1;
  border-left-style: 1;
}



.subject {
  width: 220px;
      float: left;
  margin-right: 25px;
}
.subject h2+p {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #666;
}
.subject p+p {
  font-size: 14px;
  margin-bottom: 30px;
}

#main {
  overflow: hidden;
  margin-left: 30px;
  margin-right: 5px;
}
.subject h2 {
  margin-top: 20px;
}

#nav ul {
  list-style-type: none;
  margin-left: 0px;
  padding-left: 0px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: none;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #666;
  border-right-color: #666;
  border-bottom-color: #666;
  border-left-color: #666;
  margin-top: 0px;
  overflow: hidden;
}
#nav ul li {
  float: left;
  border-right-width: 0px;
  border-right-style: solid;
  border-right-color: #666;
}
#nav ul li a {
  font-size: 14px;
  color: #000;
  text-decoration: none;
  width: 256px;
  display: block;
  text-align: center;
  line-height: 34px;
}
#nav ul li a:hover {
  background-color: #FDD035;
}
#setsumei {
  padding: 10px;
  border: 1px 1 #990;
}

#container #shousai p {
}

#container #setsumei01 p {
  position: absolute;
  width: 400px;
}

#container #setsumei02 p {
  position: relative;
    margin-top: 10px;
   margin-left: 10px;
  margin-right:10px;
}

/*
*フルーツトップページ
*/

#fnav ul {
  list-style-type: none;
  margin-left: 0px;
  padding-left: 0px;
  margin-top: 0px;
  overflow: hidden;
  border: 0px solid #EEE;
}
#fnav ul li {
  float: left;
  width: 185px;
  margin: 2px;
  padding: 2px;
  border: 1px solid #ccc;
}

#fnav ul li p {
  font-size: 14px;
  text-decoration: none;
  display: block;
  text-align: center;
  line-height: 5px;
  float: right;
  padding-right: 10px;
  position: relative;
  padding-top: 25px;
}


#fnav ul li a {
  font-size: 14px;
  color: #000;
  text-decoration: none;
  width: 185px;
  display: block;
  line-height: 50px;
}
#fnav ul li a:hover {
  background-color: #FFEEFF;
}

#cattopimg {
  margin-left: 2px;
  border: 1px none #EEEEEE;
  margin-bottom: 10px;
}

