#box-search {
  margin: 20px 0 50px;
}

#box-search .head {
}

#box-search .head ul {
  margin-left: 0;
}

#box-search .head ul li {
  display: inline-block;
  text-indent: 0 !important;
  padding: 20px;
  font-weight: bold;
  color: #000;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border: 1px solid #CCCCCC;
  border-bottom: none;
  margin-right: 10px;
}

#box-search .head ul li:before {
  content: unset;
}

#box-search .head ul li.active {
  background: #395995;
  border: 1px solid #395995;
}

#box-search .head ul li.active a {
  color: #fff;
}

#box-search .head ul li a {
  color: #000;
}

#box-search .head ul li a:hover {
  text-decoration: none;
}

#box-search .body {
  padding: 20px;
  text-align: center;
  border: 1px solid #CCCCCC;
}

#box-search .body .tag {
  margin-bottom: 20px;
}

#box-search .body .tag img {
  width: auto;
  vertical-align: middle;
  padding-right: 5px;
}

#box-search .body .tag label {
  border: 1px solid #395995;
  padding: 5px 15px;
  color: #395995;
  font-weight: bold;
  border-radius: 20px;
  margin: 5px;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
}

#box-search .body .tag label:before {
  content: url(/common/img/i_tag_3.png);
  vertical-align: sub;
  margin-right: 5px;
}

#box-search .body .tag input:checked + label {
  border: 1px solid #395995;
  background: #395995;
  color: #fff;
}

#box-search .body .tag input:checked + label:before {
  content: url(/common/img/i_tag_2.png);
}

#box-search .body button {
  width: 200px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #BB2E8C;
  border-radius: 20px;
  padding: 10px;
  color: #fff;
  border: 0;
  font-weight: bold;
}

#box-search .body select {
  /* styling */
  background-color: white;
  border-radius: 4px;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0.5em 3.5em 0.5em 1em;
  min-width: 250px;
  display: block;
  margin: 20px auto;
  /* reset */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#box-search .body select.classic {
  background-image: linear-gradient(45deg, transparent 50%, blue 50%), linear-gradient(135deg, blue 50%, transparent 50%), linear-gradient(to right, skyblue, skyblue);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 100% 0;
  background-size: 5px 5px,
 5px 5px,
 2.5em 2.5em;
  background-repeat: no-repeat;
}

#box-search .body select.classic:focus {
  background-image: linear-gradient(45deg, white 50%, transparent 50%), linear-gradient(135deg, transparent 50%, white 50%), linear-gradient(to right, gray, gray);
  background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, 100% 0;
  background-size: 5px 5px,
 5px 5px,
 2.5em 2.5em;
  background-repeat: no-repeat;
  border-color: grey;
  outline: 0;
}

#box-search .body select.round {
  background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), radial-gradient(#ddd 70%, transparent 72%);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - .5em) 0.5em;
  background-size: 5px 5px,
 5px 5px,
 1.5em 1.5em;
  background-repeat: no-repeat;
}

#box-search .body select.round:focus {
  background-image: linear-gradient(45deg, white 50%, transparent 50%), linear-gradient(135deg, transparent 50%, white 50%), radial-gradient(gray 70%, transparent 72%);
  background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - .5em) 0.5em;
  background-size: 5px 5px,
 5px 5px,
 1.5em 1.5em;
  background-repeat: no-repeat;
  border-color: green;
  outline: 0;
}

#box-search .body select.minimal {
  background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px,
 5px 5px,
 1px 1.5em;
  background-repeat: no-repeat;
}

#box-search .body select.minimal:focus {
  background-image: linear-gradient(45deg, green 50%, transparent 50%), linear-gradient(135deg, transparent 50%, green 50%), linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px,
 5px 5px,
 1px 1.5em;
  background-repeat: no-repeat;
  border-color: green;
  outline: 0;
}

#box-search .body select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

#box-search .body p {
  font-weight: bold;
  font-size: 20px;
}

#blog-list a:hover {
  text-decoration: none;
}

#blog-list ul.ul_4 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#blog-list ul.ul_4 li {
  text-indent: 0 !important;
  padding-left: 0 !important;
  width: 23%;
  border: 1px solid #ccc;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-right: 2%;
  margin-bottom: 40px;
}

#blog-list ul.ul_4 li:before {
  content: "" !important;
}

#blog-list ul.ul_4 li img {
  width: 100%;
}

#blog-list ul.ul_4 li .info {
  padding: 10px;
}

#blog-list ul.ul_4 li .info .date {
  text-align: right;
  color: #666;
}

#blog-list ul.ul_4 li .info .title {
  font-weight: bold;
  color: #000;
  font-size: 16px;
  margin-bottom: 0px;
}

#blog-list ul.ul_4 li .info .text {
  font-size: 12px;
  color: #000;
  margin-bottom: 5px;
}

#blog-list ul.ul_4 li .info .tag span {
  display: inline-block;
  margin-right: 10px;
  font-weight: bold;
  font-size: 12px;
}

#blog-list ul.ul_4 li .info .tag span img {
  width: auto;
  vertical-align: middle;
  padding-right: 5px;
}

#blog-list ul.ul_3 {
  margin-left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  justify-content: space-between;
}

#blog-list ul.ul_3 li {
  text-indent: 0 !important;
  padding-left: 0 !important;
  width: 32%;
  border: 1px solid #ccc;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-bottom: 40px;
}

#blog-list ul.ul_3 li:before {
  content: "" !important;
}

#blog-list ul.ul_3 li img {
  width: 100%;
}

#blog-list ul.ul_3 li .info {
  padding: 10px;
}

#blog-list ul.ul_3 li .info .date {
  text-align: right;
  color: #666;
}

#blog-list ul.ul_3 li .info .title {
  font-weight: bold;
  color: #000;
  font-size: 16px;
  margin-bottom: 0px;
}

#blog-list ul.ul_3 li .info .text {
  font-size: 12px;
  color: #000;
  margin-bottom: 5px;
}

#blog-list ul.ul_3 li .info .tag span {
  display: inline-block;
  margin-right: 10px;
  font-weight: bold;
  font-size: 12px;
}

#blog-list ul.ul_3 li .info .tag span img {
  width: auto;
  vertical-align: middle;
  padding-right: 5px;
}

.banner-area {
  margin: 50px auto;
  background: #395995;
  padding: 50px 0;
}

.banner-area ul.list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: left;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.banner-area ul.list li {
  text-align: left;
  text-indent: 0 !important;
  padding-left: 0 !important;
  width: 48%;
  margin: 1%;
  display: inline-block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 0;
  font-size: 18px;
}

#blog-detail p.title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

#blog-detail p.date {
  color: #666;
  margin-bottom: 20px;
}

#blog-detail p.midashi {
  background: #D1DDEF;
  color: #395995;
  font-size: 20px;
  padding: 10px 10px;
  font-weight: bold;
  margin-top: 50px;
}

#blog-detail .tag span {
  margin-right: 10px;
}

.sns {
  text-align: center;
}

.sns a {
  display: inline-block;
  width: 100px;
  text-align: center;
  margin: 20px 5px;
}

.sns a.fb {
  background: #385EA2;
}

.sns a.line {
  background: #27AC38;
}

.sns a.tw {
  background: #2C94D2;
}

.sns a.insta {
  background: #999998;
}

#blog-contact p.title {
  margin-top: 50px;
  font-size: 24px;
}

#blog-contact p.mail {
  font-weight: bold;
  font-size: 18px;
  margin: 0;
}

#blog-contact p.mail a {
  color: #1796f1;
}

/* pagenation */
.pagenation ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.pagenation ul li {
  background: #fff;
  border-radius: 3px;
  color: #4D4F5C;
  font-size: 14px;
  padding: 0px !important;
  margin-right: 10px;
  -webkit-filter: drop-shadow(0px 1px 4px #ccc);
  filter: drop-shadow(0px 1px 4px #ccc);
  text-indent: initial !important;
  font-weight: bold;
}

.pagenation ul li:before {
  content: "" !important;
}

.pagenation ul li a {
  padding: 10px 13px !important;
  display: block;
}

.pagenation ul li.active {
  background: #395995;
  color: #fff;
}


@media only screen and (max-width: 768px) {
  #blog-list a:hover {
    text-decoration: none;
  }
  #blog-list ul.ul_4 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  #blog-list ul.ul_4 li {
    text-indent: 0 !important;
    padding-left: 0 !important;
    width: 48%;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 40px;
  }
  #blog-list ul.ul_4 li:before {
    content: "" !important;
  }
  #blog-list ul.ul_4 li img {
    width: 100%;
  }
  #blog-list ul.ul_4 li .info {
    padding: 10px;
  }
  #blog-list ul.ul_4 li .info .date {
    text-align: right;
    color: #666;
  }
  #blog-list ul.ul_4 li .info .title {
    font-weight: bold;
    color: #000;
    font-size: 16px;
    margin-bottom: 0px;
  }
  #blog-list ul.ul_4 li .info .text {
    font-size: 12px;
    color: #000;
    margin-bottom: 5px;
  }
  #blog-list ul.ul_4 li .info .tag span {
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
    font-size: 12px;
  }


  #blog-list ul.ul_3 li {
    text-indent: 0 !important;
    padding-left: 0 !important;
    width: 100%;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin-bottom: 40px;
  }
  #blog-list ul.ul_3 li:before {
    content: "" !important;
  }
  #blog-list ul.ul_3 li img {
    width: 100%;
  }
  #blog-list ul.ul_3 li .info {
    padding: 10px;
  }
  #blog-list ul.ul_3 li .info .date {
    text-align: right;
    color: #666;
  }
  #blog-list ul.ul_3 li .info .title {
    font-weight: bold;
    color: #000;
    font-size: 16px;
    margin-bottom: 0px;
  }
  #blog-list ul.ul_3 li .info .text {
    font-size: 12px;
    color: #000;
    margin-bottom: 5px;
  }
  #blog-list ul.ul_3 li .info .tag span {
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
    font-size: 12px;
  }

  .banner-area {
    padding: 1%;
  }
    
  .banner-area ul.list li {
    text-align: left;
    text-indent: 0 !important;
    padding-left: 0 !important;
    width: 100%;
    margin: 0%;
  }

  #box-search .head ul {
    display: flex;
    justify-content: space-between;
  }

  #box-search .head ul li {
    margin-right: 0;
    width: 48%;
    box-sizing: border-box;
    text-align: center;
    padding: 20px 10px;
  }

  .sns a {
    width: 50px;
  }
}
