@charset "utf-8";

/*
  File Name: service.css
  Desctiption: サービス資料一覧ページ
*/

/* common
*********************************************************/
.com-box {
  padding: 16px;
}

.com-box::before {
  content: none;
}

.com-main-title {
  font-size: 24px;
  font-weight: bold;
  border-left: 12px solid #9b4633;
  padding-left: 18px;
  /* line-height: 1; */
}

.com-tag-item label,
button {
  cursor: pointer;
}

/* sp
--------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .com-box {
    border-radius: 6px 6px 0 0;
  }

  .com-main-title {
    font-size: 14px;
  }
}

/* section-overview
*********************************************************/
.section-overview .com-box {
  margin-top: 20px;
}

.section-overview .overview-body {
  display: flex;
  justify-content: space-between;
}

.section-overview .overview-body .image {
  width: 266px;
  height: 200px;
}

.section-overview .overview-body .image img {
  width: 266px;
  height: 200px;
  object-fit: contain;
}

.section-overview .overview-body .text-area {
  width: 586px;
}

.section-overview .overview-body .text-area .title {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 8px;
  border-bottom: 1px solid #d8d8d8;
}

.section-overview .overview-body .text-area .text {
  font-size: 16px;
  margin-top: 20px;
}

.section-overview .overview-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  background-color: #f6f5f0;
  padding: 14px 0;
}

.section-overview .overview-footer .text {
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  margin-right: 22px;
}

.section-overview .overview-footer .fa-download {
  margin-right: 4px;
}

.section-overview .overview-footer .com-download-button {
  height: 60px;
  width: 321px;
  justify-content: center;
}

/* sp
--------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .section-overview .overview-body {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .section-overview .overview-body .image {
    width: 100%;
    height: 140px;
  }

  .section-overview .overview-body .image img {
    width: 100%;
    height: 140px;
  }

  .section-overview .overview-body .text-area {
    width: 100%;
    margin-top: 20px;
  }

  .section-overview .overview-body .text-area .title {
    font-size: 14px;
  }

  .section-overview .overview-body .text-area .text {
    font-size: 11px;
  }

  .section-overview .overview-footer {
    flex-direction: column;
    align-items: center;
  }

  .section-overview .overview-footer .text {
    font-size: 14px;
  }

  .section-overview .overview-footer .com-download-button {
    margin-top: 12px;
    width: calc(100% - 24px);
  }
}

/* section-index
*********************************************************/
.section-index {
  margin: 40px 0;
}

.section-index .search-box {
  margin-top: 40px;
  display: flex;
  align-items: center;
}

.section-index .search-box .title {
  font-size: 16px;
  font-weight: bold;
  width: 160px;
  height: 37px;
  border-right: 1px solid #d8d8d8;
  display: flex;
  align-items: center;
}

.section-index .search-box .title .fa-filter {
  font-size: 20px;
  padding-right: 12px;
}

.section-index .search-box .search-filter {
  width: 700px;
  display: flex;
  justify-content: center;
}

.section-index .search-box .filter-button {
  height: 37px;
  width: 240px;
  background-color: #9b4633;
  border-radius: 4px;
  font-size: 14px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  transition: color 0.2s ease;
}

.section-index .search-box .filter-button::before {
  content: url(/_img/service/filter-icon.svg);
  position: relative;
  top: 1px;
  left: -5px;
}

.section-index .search-box .filter-button+.filter-button {
  margin-left: 16px;
}

.section-index .search-box .filter-button:hover {
  border: 2px solid #9b4633;
  background-color: #fff;
  color: #9b4633;
  opacity: 1;
}

.section-index .search-box .filter-button:hover::before {
  content: "\f0b0";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  top: -1px;
}

.section-index .search-box .filter-button img {
  display: block;
  margin-right: 4px;
}

.section-index .index-info {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.section-index .index-info .number {
  background-color: #f6f5f0;
  font-size: 16px;
  font-weight: bold;
  width: 657px;
  height: 69px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  border-radius: 4px;
}

.section-index .index-info .number .large {
  font-size: 32px;
  padding: 12px;
}

.section-index .index-info .check {
  background-color: #f6f5f0;
  width: 227px;
  font-size: 13px;
  font-weight: bold;
  height: 69px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-index .index-info .check label,
.section-index .index-info .check input {
  cursor: pointer;
}

/* sp
--------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .section-index {
    margin: 24px 0 0;
  }

  .section-index .search-box {
    margin-top: 20px;
  }

  .section-index .search-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-index .search-box .title {
    border-right: none;
  }

  .section-index .search-box .search-filter {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .section-index .search-box .filter-button {
    width: 100%;
    margin-top: 4px;
  }

  .section-index .search-box .filter-button+.filter-button {
    margin-left: 0;
    margin-top: 12px;
  }

  .section-index .index-info .number {
    width: calc(100% - 101px);
  }

  .section-index .index-info .check {
    width: 93px;
    justify-content: flex-start;
    margin-left: 8px;
    font-size: 11px;
  }

  .section-index .index-info .check .checkbox-parts {
    margin: 0 0 0 6px;
  }

  .section-index .index-info .check .checkbox-parts::before {
    top: 12px;
    right: -6px;
  }

  .section-index .index-info .check .checkbox-parts::after {
    top: 16px;
    right: 3px;
  }
}

/* checkbox
*********************************************************/
.checkbox-input {
  display: none;
}

.checkbox-parts {
  position: relative;
  padding-right: 30px;
}

.checkbox-parts::before {
  content: "";
  display: block;
  position: absolute;
  top: -8px;
  right: -7px;
  width: 29px;
  height: 29px;
  border: 1px solid #cbcbcb;
  border-radius: 4px;
  background: #fff;
}

.checkbox-input:checked+.checkbox-parts {}

.checkbox-input:checked+.checkbox-parts::after {
  content: "";
  display: block;
  position: absolute;
  top: -4px;
  right: 2px;
  width: 10px;
  height: 17px;
  transform: rotate(40deg);
  border-bottom: 5px solid #1b8264;
  border-right: 5px solid #1b8264;
}

.checkbox-parts .sp {
  display: none;
}

.sp-check {
  display: none;
}

/* sp
--------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .checkbox-parts {
    position: relative;
    margin: 0 0 0 -12px;
    display: block;
  }

  .checkbox-parts::before {
    top: 14px;
    right: -35px;
  }

  .checkbox-input:checked+.checkbox-parts::after {
    top: 18px;
    right: -25px;
  }

  .checkbox-parts .sp {
    display: block;
  }

  .service-index .company-head .check {
    display: none;
  }

  .sp-check {
    display: block;
  }

  .sp-check label {
    margin-top: 12px;
    display: flex;
    background-color: #f6f5f0;
    height: 54px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    left: -14px;
    width: calc(100% + 28px);
  }

  .sp-check .checkbox-parts::before {
    top: -5px;
    right: -13px;
  }

  .sp-check .checkbox-input:checked+.checkbox-parts::after {
    top: 0;
    right: -4px;
  }

  .sp-check .checked {
    color: #fff;
    background: #1b8264;
  }
}

/* service-index
*********************************************************/
.service-index {}

.service-index .service-load {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  height: 100%;
}

.service-index .service-load img {
  margin-top: 20px;
  width: 40px;
  height: 40px;
}

.service-index .company-inner {
  opacity: 0;
}

.service-index .com-box {
  margin-top: 40px;
  box-shadow: none;
  border: 1px solid #d8d8d8;
  overflow: visible;
}

.service-index .com-box.recommend {
  border: 2px solid #9b4633;
  position: relative;
  padding: 46px 16px 16px;
}

.service-index .com-box.recommend::before {
  content: url(/_img/service/recommend_icon.svg);
  position: absolute;
  left: -10px;
  top: 8px;
  background: none;
}

.service-index .company-head .body {
  width: 500px;
}

.service-index .company-head .body .title a {
  text-decoration: none;
  color: #000;
}

.service-index .company-head .body .title a .title-company,
.service-index .company-head .body .title a .title-service {
  text-decoration: underline;
}

/* .checkbox */
.service-index .company-head .check label {
  width: 167px;
  height: 130px;
  background: #f6f5f0;
  border-radius: 4px;
  color: #1b8264;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  display: block;
  cursor: pointer;
}

.service-index .company-head .check .checkbox-parts {
  padding: 16px 0 0;
  display: block;
}

.service-index .company-head .check .checkbox-parts::before {
  width: 46px;
  height: 46px;
  top: 70px;
  right: 60px;
  border: 2px solid #1b8264;
}

.service-index .company-head .check .checkbox-parts::after {
  top: 78px;
  right: 75px;
  width: 15px;
  height: 25px;
  border-bottom: 7px solid #1b8264;
  border-right: 7px solid #1b8264;
}

.service-index .company-head .check .checked {
  background: #1b8264;
  color: #fff;
}

/* sp
--------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .service-index .company-head .body {
    width: calc(100% - 94px);
  }
}

/* .ly-aside
*********************************************************/
.side-download {
  border-bottom: none;
}

/* .modal-filter
*********************************************************/
.modal-filter .modal__container {
  max-height: 60vh;
  max-width: 800px;
  width: 100%;
}

.modal__button_wrap {
  max-width: 750px;
  width: 100%;
  position: fixed;
  animation: mmslideIn 0.2s cubic-bezier(0, 0, 0.2, 1);
  z-index: 999999999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.micromodal-slide.is-open {
  position: relative;
}

.modal-filter.micromodal-slide[aria-hidden="false"] .modal__container {
  border-top: none;
  overflow-x: hidden;
}

.micromodal-slide[aria-hidden="false"] .modal__container {}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: none;
}

.micromodal-slide[aria-hidden="true"] .modal__button_wrap {
  animation: none;
}

@keyframes mmslideIn {
  from {
    transform: translateY(15%);
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }

  to {
    transform: translateY(0);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }
}

.micromodal-slide[aria-hidden="false"] .modal__button_wrap {
  animation: mmslideIn 0.2s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__button_wrap {
  animation: mmslideOut 0.2s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container {
  will-change: transform;
}

.modal-genre.micromodal-slide[aria-hidden="false"] .modal__container {
  overflow-y: scroll;
  overflow-x: hidden;
}

.modal_button.disable {
  color: #666;
  background: #dddddd;
  border-color: #666;
  pointer-events: none;
}

.modal-filter .modal__title {
  text-align: left;
  border-left: 12px solid #9b4633;
  padding-left: 18px;
}

.modal__close {
  top: -40px;
  right: 0;
  z-index: 9;
}

.modal__close::before {
  content: "\2715";
  color: #fff;
  font-size: 20px;
  left: 1px;
  position: relative;
  top: 1px;
}

.modal-genre .modal__close,
.modal-issue .modal__close,
.modal-country .modal__close {
  top: -40px;
  right: -40px;
}

.modal-genre .modal__container {
  overflow-x: hidden;
  overflow-y: scroll;
}

.modal-filter .com-tag-list {
  width: auto;
}

.modal-filter .com-tag-list input[type="checkbox"] {
  display: none;
}

.modal-filter .country-list input[type="checkbox"] {
  display: none;
}

.modal-filter .country-list .country-item {
  padding: 0 3px;
}

.modal-filter .country-list .country-item img {
  padding-top: 3px;
}

.modal_reload_wrap {
  width: 750px;
  background-color: #fff;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  margin-top: 20px;
}

.modal_reload_wrap .com-download-button {
  height: 40px;
  width: 256px;
}

/* sp
--------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .modal-filter .modal__container {
    width: calc(100% - 40px);
  }

  .modal__close,
  .modal-genre .modal__close,
  .modal-issue .modal__close,
  .modal-country .modal__close {
    top: -40px;
    right: 22px;
  }

  .modal-country.micromodal-slide[aria-hidden="false"] .modal__container,
  .modal-issue.micromodal-slide[aria-hidden="false"] .modal__container {
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .modal_reload_wrap {
    width: calc(100% - 40px);
    margin: 20px auto 0;
  }
}

/* section-follow
*********************************************************/
.section-follow {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  height: 86px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
}

.section-follow .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.section-follow .inner .text {
  font-size: 16px;
  font-weight: bold;
  margin-right: 38px;
}

.section-follow .inner .text .large {
  font-size: 38px;
  color: #f2534f;
}

.section-follow .com-download-button {
  width: 321px;
  height: 53px;
  color: #666;
  background: #dddddd;
  border-color: #666;
  pointer-events: none;
}

.section-follow .com-download-button:hover {
  color: #666;
  background: #dddddd;
  border-color: #666;
}

.section-follow .com-download-button.active {
  border-color: #f2534f;
  background: #f2534f;
  color: #fff;
  pointer-events: all;
}

.section-follow .com-download-button.active:hover {
  background: #fff;
  color: #f2534f;
}

/* sp
--------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .section-follow {
    padding: 5px 10px 10px;
  }

  .section-follow .inner {
    flex-direction: column;
  }

  .section-follow .inner .text {
    font-size: 12px;
    margin-right: 0;
    display: flex;
    align-items: center;
  }

  .section-follow .inner .text .large {
    font-size: 24px;
    color: #f2534f;
  }

  .section-follow .com-download-button {
    width: 100%;
    height: 46px;
    margin-top: 2px;
  }
}

/* .grad-trigger
*********************************************************/
.grad-trigger.is-show {
  /* height: 30px; */
}

.grad-item.is-hide {
  height: 30px;
}

.grad-item {
  margin: 20px 0 20px;
}

.grad-item::before {
  content: none;
}

.trigger-wrap {
  display: none;
}

.trigger-wrap:before,
.trigger-wrap:after {
  width: calc(50vw - 78px);
  padding: 2px solid #000;
}

/* sp
--------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .trigger-wrap {
    display: block;
  }
}

/* .wp-pagenavi
*********************************************************/
.wp-pagenavi {
  margin: 60px 0 110px;
}

/* sp
--------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .wp-pagenavi {
    margin: 60px 0;
  }
}

/* none-data
*********************************************************/
.none-data {
  margin-top: 20px;
  color: #f2534f;
}

/* aside-box
*********************************************************/
.aside-box {
  background: #f7f5f1;
  padding: 23px 14px 8px;
}

.aside-box .aside-box-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 16px;
}

.aside-box .aside-box-title .fas {
  margin-right: 4px;
}

.aside-box+.aside-box,
.side-question+.aside-box {
  margin-top: 20px;
}

/* recommend-list
*********************************************************/
.recommend-list .recommend-item {
  margin-bottom: 12px;
}

.recommend-list .recommend-item figure {
  margin-right: 8px;
  width: 80px;
  height: 60px;
}

.recommend-list .recommend-item img {
  width: 80px;
  height: 60px;
  object-fit: contain;
  background: #000;
}

.recommend-list .recommend-item a {
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
}

.recommend-list .recommend-item a:hover {
  opacity: 0.7;
}

.recommend-list .recommend-item p {
  width: calc(100% - 80px - 8px);
}

/* ly-aside
*********************************************************/
.ly-aside {
  margin-top: 54px;
}

/* rank-box recommend-list
*********************************************************/
.rank-box .recommend-list {
  counter-reset: count 0;
}

.rank-box .recommend-item {
  display: flex;
}

.rank-box .recommend-item a::before {
  content: counter(count) "位 ";
  counter-increment: count 1;
  width: 40px;
  height: 60px;
  color: #fff;
  font-size: 14px;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rank-box .recommend-item p {
  width: calc(100% - 80px - 40px - 8px);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.rank-box .recommend-item:nth-child(4) a::before,
.rank-box .recommend-item:nth-child(5) a::before {
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
}