/* --------------------
  ボタン
---------------------- */
.btn {
  display: inline-block;
  text-decoration: none;
  background: #f1f1f1;
  border-radius: 3px;
  font-size: 1.4rem;
  padding: 2px 10px;
  /* color: #fff; */
}
.primary-btn {
  color: white;
}
input[type=submit].primary-btn {
  appearance: none;
  display: block;
  border: 0;
  font-size: 2.4rem;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  padding: 3px 0;
  border-radius: 5px;
}
.primary-btn:hover {
  color: #fff;
  opacity: .8;
}
.favorite-box {
  text-align: right;
  padding: 0 0 20px 0;
}
.favorite-btn,
.favorite-btn.primary-btn {
  border: solid 1px #F45B96;
  color: #F45B96;
  background: #fff;
}
.favorite-btn:hover {
  opacity: 0.5;
}
.favorite-btn::before {
  content: "";
  display: inline-block;
  background: url(../img/star-icon2.svg) no-repeat;
  background-size: contain;
  background-position: center;
  width: 20px;
  height: 20px;
  vertical-align: text-bottom;
  margin-right: 5px;
}
.favorite-btn.primary-btn::before {
  content: "";
  display: inline-block;
  background: url(../img/star-icon.svg) no-repeat;
  background-size: contain;
  background-position: center;
  width: 20px;
  height: 20px;
  vertical-align: text-bottom;
  margin-right: 5px;
}
@media(max-width: 480px) {
  .favorite-box {
    padding: 0 0 10px 0;
  }
  .favorite-box button {
    display: block;
    width: 100%;
  }
}

/* --------------------
  検索フォーム
---------------------- */
.search-form {
   max-width: 880px;
   background: #fff;
   padding: 15px;
   margin: 0 auto;
   border-radius: 10px;
   box-shadow: 0 1px 6px #cccccc;
   overflow: hidden;
}
input[type=text],
input[type=url],
input[type=tel],
input[type=email],
textarea,
select
 {
  border: 0;
  background: #ECF3F5;
  appearance: none;
  padding: 10px;
  border-radius: 4px;
  box-sizing: border-box;
  width: 100%;
}
.tabs-scroll {
  overflow-x: hidden;
  margin-right: -15px;
}
.tabs-list {
  overflow-x: scroll;
  white-space: nowrap;
  padding-bottom: 5px;
  line-height: 1.2;
  animation: anim 1s;
}
@keyframes anim {
  0% {
    transform: translateX(50px);
  }
  100% {
    transform: translateX(0);
  }
}
.tabs-list .tab-panel {
  text-align: center;
  display: inline-block;
  vertical-align: text-top;
  width: 20.6%;
  padding-bottom: 10px;
}
.tab-panel .js-tab-label {
  color: #333;
  text-decoration: none;
  display: block;
  font-size: 1.0rem;
}
.tab-panel a.selected {
  border-bottom: solid 4px #F5A2C2;
  padding-bottom: 5px;
}
.tab-panel .js-tab-label img {
  display: block;
  margin: 0 auto 5px auto;
  width: 65px;
  height: 38px;
  object-fit: contain;
  object-position: center;
}
.tab-name {
  white-space: normal;
}
.panel-inner {
  padding: 5px 0 0 0;
}
.more-select {
  display: -webkit-box;display: -ms-flexbox;display: flex;
  -webkit-box-align: center;-ms-flex-align: center;align-items: center;
  padding: 10px 0;
}
.more-select .calender {
  width: 45%;
}
.input-calender-icon::before {
  content: "";
  display: inline-block;
  background: url(../img/calender02-icon.svg) no-repeat;
  background-size: contain;
  background-position: center;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 1;
}
.search-selectbox {
  -webkit-box-flex: 2;-ms-flex: 2;flex: 2;
  padding: 0 5px;
}
.plus-icon {
  position: relative;
  cursor: pointer;
  text-indent: 1em;
  display: inline-block;
}
.plus-icon:after,
.plus-icon:before {
  display: block;
  content: '';
  background-color: #84929B;
  position: absolute;
  width: 10px;
  height: 2px;
  top: 6px;
  left: 0;
}
.plus-icon:after {
  background-color: #84929B;
}
.plus-icon:before {
  width: 2px;
  height: 10px;
  top: 2px;
  left: 4px;
}
.narrow-down {
  padding-left: 10px;
  border-left: solid 1px #BEBEBE;
  font-size: 1.0rem;
}
.narrow-down__btn {
  position: relative;
  cursor: pointer;
  text-indent: 1em;
  display: inline-block;
}
.narrow-down__btn.active:before {
  display: none;
}
.narrow-down__btn.active:after {
  background-color: #F45B96;
}
.narrow-down__btn:before,
.narrow-down__btn:after {
  display: block;
  content: '';
  background-color: #84929B;
  position: absolute;
  width: 10px;
  height: 2px;
  top: 6px;
  left: 0;
}
.narrow-down__btn:before {
  width: 2px;
  height: 10px;
  top: 2px;
  left: 4px;
}
.search-area__bottom {
  display: -webkit-box;display: -ms-flexbox;display: flex;
  -webkit-box-align: end;-ms-flex-align: end;align-items: flex-end;
  border-top: solid 1px #D0D0D0;
  padding-top: 10px;
}
.total-box {
  font-size: 1.6rem;
  color: #8B8B8B;
  text-align: center;
  flex: 1;
  line-height: 1.2;
}
.total-box__label {
  display: block;
  font-size: 1.2rem;
  align-self: center;
}
.search-of-number {
  font-size: 3.0rem;
}
.search-area__btn {
  position: relative;
  max-width: 160px;
  width: 100%;
  margin-left: auto;
}
.search-form .search-area__btn::before {
  content: "";
  background: url(../img/loupe03.png) no-repeat;
  width: 36px;
  min-width: 36px;
  height: 36px;
  background-size: contain;
  background-position: center;
  display: inline-block;
  position: absolute;
  color: #fff;
  z-index: 1;
  top: 7px;
  right: 15px;
}
.section-search_form_aside .search-area__btn::before {
  width: 26px;
  min-width: 26px;
  height: 26px;
  top: 6px;
  right: 5px;
}
@media (max-width:720px) {
  .search-form .search-area__btn::before {
    top: 4px;
  }
}
@media (max-width:599px) {
  .total-box {
      min-width: 40%;
  }
  .search-form .search-area__btn {
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
  }
  .search-form .search-area__btn::before {
    width: 26px;
    min-width: 26px;
    height: 26px;
    top: 8px;
    right: 5px;
  }
}
/* セレクトボックス */
.select-box {
  overflow: hidden;
  text-align: center;
  position: relative;
  border: 0;
  border-radius: 4px;
  background: #ECF3F5;
}
.select-box select {
  width: 100%;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 10px 38px 10px 10px;
}
.select-box select::-ms-expand {
  display: none;
}
.select-box::before {
  position: absolute;
  top: 14px;
  right: 5px;
  padding: 0;
  content: '';
  width: 12px;
  height: 12px;
  margin: 0 10px;
  border-bottom: 4px solid #84929B;
  border-right: 4px solid #84929B;
  transform: rotate(45deg);
}
/* チェックボックス */
.search-selectbox > li {
  margin: 0;
}
.search-selectbox > li > .checkbox {
  border: 0;
  padding: 0 0 0 26px;
  margin: 0;
}
.search-selectbox > li > input[type=checkbox]:checked + .checkbox {
  border: 0;
}
.datepicker.dropdown-menu {
  width: 300px;
}
.datepicker .table-condensed {
  width: 100%;
}
#tag_search {
  margin: 0 -10px;
}
#tag_search dl {
  margin: 0;
}
#tag_search .accordion-title {
  padding: 10px 15px;
}
#tag_search .search-area__btn {
  margin: 0 auto;
  max-width: 300px;
}
@media(min-width: 600px) {
  .main-search__list {
    -ms-flex-pack: distribute;justify-content: space-around;
  }
  .tabs-scroll {
    margin-right: 0;
  }
  .tabs-list .tab-panel {
    width: 10%;
  }
  .panel-inner {
    display: flex;
    align-items: center;
  }
  .select-box {
    flex: 1;
    margin-right: 10px;
  }
  .more-select {
    width: 60%;
  }
  .more-select .form-control {
    padding: 22px 10px;
  }
  .input-calender-icon::before {
    top: 12px;
    right: 10px;
  }
  .narrow-down__btn:before,
  .narrow-down__btn:after {
    top: 9px;
    left: 0;
  }
  .narrow-down__btn:before {
    top: 5px;
    left: 4px;
  }
  .total-box {
    display: -webkit-box;display: -ms-flexbox;display: flex;
    -webkit-box-align: baseline;-ms-flex-align: baseline;align-items: baseline;
    padding-left: 10px;
  }
  .search-of-number {
    margin: 0 5px;
  }
  .search-area__btn {
    max-width: 260px;
  }
  #tag_search {
    margin: 0;
  }
  .plus-icon:after,
  .plus-icon:before {
    top: 8px;
  }
  .plus-icon:after {
    background-color: #84929B;
  }
  .plus-icon:before {
    top: 4px;
  }
}

/* --------------------
  トップページ ループポスト
---------------------- */
.content-loop_post-summary {
  padding: 5px 0;
}
.content-loop_post-summary > a {
  color: #333;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}
.content-loop_post-summary .review,
.content-loop_post-summary .price {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 5px 0 0 0;
  font-weight: 300;
}
.content-loop_post-summary .price {
  text-align: right;
  line-height: 1.6;
}
.content-loop_post-summary .plan-price-label {
  display: block;
}
.content-loop_post-summary .mark-price,
.content-loop_post-summary .standard-price,
.content-loop_post-summary .discountPrice-yen {
  font-size: 1.4rem;
  color: #dc4343;
  font-weight: 600;
}
.review-star::before {
  content: "★★★★★";
  display: inline-block;
  color: #EACD2E;
  font-size: 1.4rem;
}
.content-loop_post-summary .review-star::after {
  font-size: 1.4rem;
}
@media(min-width: 600px) {
  .content-loop_post-summary .review,
  .content-loop_post-summary .price {
    font-size: 1.0rem;
  }
}

/* 条件から探す/チェックボックス */
.search-form input[type=checkbox] {
    display: none;
}
.search-form .checkbox {
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  padding: 4px 8px 4px 32px;
  border-radius: 5px;
  background-color: #fff;
  border: solid 1px #BEBEBE;
  vertical-align: middle;
  cursor: pointer;
}
.search-form .checkbox::after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 56%;
  left: 5px;
  display: block;
  margin-top: -10px;
  width: 16px;
  height: 16px;
  border: 1px solid #BEBEBE;
  border-radius: 0;
  content: '';
}
.search-form .checkbox::before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 56%;
  left: 10px;
  display: block;
  margin-top: -7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  content: '';
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.search-form input[type=checkbox]:checked + .checkbox::before {
  opacity: 1;
}
.search-form input[type=checkbox]:checked + .checkbox,
.search-form input[type=checkbox]:checked + .checkbox::after {
  border: solid 1px;
}
/* コラム　目次 */
#toc_container {
  background: #F9F9F9;
  border: solid 1px #d0d0d0;
  padding: 15px 15px 65px 15px;
  margin: 20px 0;
  width: 100% !important;
  position: relative;
}
#toc_container.contracted {
  padding-bottom: 0;
}
.post-contents .toc_title {
  margin: 0 0 15px 0;
  /* margin-bottom: 20px; */
}
.post-contents .toc_list {
    list-style: none;
    padding-left: 0;
}
.contracted .toc_list {
  height: 140px;
  overflow: hidden;
  display: block !important;
}
.post-contents .toc_list.toc_list li {
  margin-bottom: .5em;
  list-style: none;
}
.toc_list li > ul {
  margin-top: .5em;
  margin-left: 1em;
  padding-left: 0;
}
.toc_list a {
  color: #000;
  text-decoration: none;
  font-size: 1.4rem;
}
.toc_title {
  font-weight: 600;
  font-size: 1.6rem;
  margin-top: 10px;
}
.toc_title::before {
  content: "";
  display: inline-block;
  background: url(../img/three-line.svg) no-repeat;
  background-size: contain;
  background-position: center;
  width: 20px;
  height: 16px;
  vertical-align: text-bottom;
  margin-right: 5px;
}
.toc_toggle {
  display: block;
  border-top: solid 1px #BEBEBE;
  color: #84929B;
  text-align: center;
  position: absolute;
  padding: 15px 0;
  bottom: 0;
  left: 0;
  right: 0;
  cursor: pointer;
}
.contracted .toc_toggle {
  border-top: 0;
  background: linear-gradient(to bottom, rgba(249, 249, 249, 0) 0%, rgb(249 249 249) 50%);
  padding: 45px 0 20px 0;
}
.toc_toggle > a {
  color: #84929B;
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: 600;
}
.toc_toggle > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px;
  border-bottom: 2px solid #84929B;
  border-right: 2px solid #84929B;
  transform: rotate(-135deg);
}
.contracted .toc_toggle > a::after {
  transform: rotate(45deg);
  vertical-align: middle;
  margin-bottom: 6px;
}

iframe {
  width: 100%;
}

/* --------------------
  左サイド 検索フォーム
---------------------- */
@media(min-width: 600px) {
  .left-contents .search-form {
    margin-bottom: 20px;
  }
  #side-tabs .more-select {
    width: 100%;
  }
  #side-tabs .select-box {
    margin: 10px 0;
  }
  #side-tabs .search-selectbox {
    padding: 0;
  }
  #side-tabs .search-area__bottom {
    flex-direction: column;
    text-align: center;
  }
  #side-tabs .total-box {
    width: 100%;
    display: block;
    padding: 0 0 10px 0;
  }
  #side-tabs input[type=submit].primary-btn {
    font-size: 1.8rem;
  }
  #side-tabs .tabs-list {
    display: block;
  }
  #side-tabs .tabs-scroll {
    margin-right: -15px;
  }
  #side-tabs .tabs-list .tab-panel {
    width: 80px;
  }
  #side-tabs .tab-name {
    font-size: .8rem;
  }
  #side-tabs .input-calender-icon::before {
    top: 8px;
  }
  #side-tabs .checkbox {
    font-size: 1.0rem;
  }
  #side-tabs .accordion-title {
    font-size: 1.2rem;
  }
  #side-tabs .accordion-content {
    padding: 10px 5px;
  }
}

/* --------------------
  ウィジェット調整
---------------------- */
.widget {
  margin-bottom: 1em;
  font-size: 1.2rem;
}
.widget-title {
  font-weight: 600;
  color: #666;
  margin-bottom: 5px;
  padding-bottom: 5px;
  display: block;
  border-bottom: 3px solid #eee;
}

.widget .menu li a::before {
  content: '-';
  display: inline-block;
  margin-left: 1.5em;
  color: #555;
}

.widget .menu li a {
  display: inline-block;
  margin-bottom: 0.15em;
  padding-bottom: 0.15em;
  text-indent: -1em;
  margin-left: 1em;
}
.panel-layout .widget {
  font-size: 1.4rem;
}

/* --------------------
  投稿ページ
---------------------- */
.column-meta {
  text-align: right;
font-size: 1rem;
}

/* --------------------
  Grep プラグインの調整
---------------------- */
@media screen and (max-width: 767px){
  .pgs-post-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .pgs-post-tags {
    display: none;
  }
  .pgs-post-date {
    display: none;
  }
  .pgs-post-excerpt + .pgs-post-excerpt {
    display: none;
  }
  .pgs-thumbnail img {
    height: 85px;
    object-fit: cover;
  }
}
