@charset "UTF-8";

/*
  MAIN VISUAL
 */

/* スマホ 幅が 0px - 599px */
@media screen and (max-width: 599px) {
  .main-visual {
    background: url(../images/market-place-visual_sp.png) center center
      no-repeat;
    background-size: cover;
  }
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .main-visual {
    background: url(../images/market-place-visual_pc.png) center center
      no-repeat;
    background-size: cover;
  }
}

/*
  ABOUT USE
 */

.table_use a {
  color: inherit;
}

.table_use a:hover {
  text-decoration: underline;
}

/*
  SECTION SERVICE LIST
 */

.layout_service-list {
  background-color: #f4f5f6;
  margin: 60px 0;
  padding-bottom: 60px;
  padding-top: 60px;
}

.layout_service-list .section-sub-headline {
  margin: 0;
}

.service-list .service {
  display: flex;
  flex-flow: column;
  margin-top: 3rem;
  position: relative;
}

.service-name {
  font-size: 1.5rem;
  order: 2;
}

.service-logo {
  margin-bottom: 1rem;
  order: 1;
}

.service-logo a {
  align-items: center;
  background-color: #fff;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  min-height: 10rem;
  padding: 1.5rem 2rem;
}

.service-logo a:hover {
  opacity: 0.7;
}

.service-logo img {
  height: auto;
  max-height: calc(10rem - 1.5rem * 2); /* height - padding */
  max-width: 232px;
}

.service-company {
  font-size: 1.142rem;
  line-height: 1;
  order: 3;
}

.service-company a {
  color: #5596c8;
}

.service-company a:hover {
  text-decoration: underline;
}

.service-tag-unit {
  border-top: 1px solid #cfcfcf;
  margin-top: 1rem;
  order: 4;
  padding-top: 0.5rem;
}

.service-tag-unit ul {
  margin-top: 0;
}

.service-tag-unit li {
  border-radius: 5px;
  display: inline-block;
  font-size: 1.142rem;
  line-height: 2;
  margin: 0.5rem 0.5rem 0 0;
  padding: 0 0.5rem;
}

.service-category-tags li {
  background-color: #fff;
}

.service-note-tags li {
  background-color: #34b2e4;
  color: #fff;
}

.service-list .pop-body,
.service-description {
  background-color: #d8ecf3;
  box-sizing: border-box;
  color: #35b2e4;
  line-height: 1.5;
  padding: 1rem 1.5rem;
}

.service-description {
  margin-top: 0.5rem;
  order: 5;
}

.service-list .pop-body {
  display: none;
}

.service-list .pop .fa {
  display: none;
}

.service-new {
  align-items: center;
  background-color: #fc0;
  border-radius: 50%;
  display: flex;
  height: 3.4rem;
  justify-content: center;
  line-height: 0;
  right: 1rem;
  position: absolute;
  top: -1rem;
  width: 3.4rem;
}

@media screen and (max-width: 599px) {
  .service-list .service:first-child {
    margin-top: 1.5rem;
  }
}

@media screen and (min-width: 600px) {
  .layout_service-list {
    padding: 4rem 0 3.5rem;
  }

  .service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: -1.5rem;
  }

  .service-list::after {
    content: '';
    display: block;
    width: 30%;
  }

  .service-list .service {
    width: 286px;
  }

  .service-logo a {
    height: 10rem;
  }

  /*
    POP
   */

  .service-list .pop {
    cursor: default;
  }

  .service-list .pop .fa {
    color: #ffdf5f;
    display: inline;
    font-size: 120%;
    margin-left: 0.2rem;
    position: relative;
  }

  .service-list .pop:hover .fa::after {
    /* pop 上の三角形 */
    border-bottom: 1rem solid #d8ecf3;
    border-left: 1rem solid transparent;
    border-right: 1rem solid transparent;
    content: '';
    display: block;
    right: -0.4rem;
    position: absolute;
    z-index: 1;
  }

  .service-list .pop-body {
    left: 0;
    position: absolute;
    margin-top: 10px;
    width: 286px;
    z-index: 1;
  }

  .service-list .pop:hover .pop-body {
    display: block;
  }

  .service-description {
    display: none;
  }
}

/*
  Loading
 */

.loading {
  line-height: 1;
  text-align: center;
  padding-top: 4rem;

  i,
  span {
    vertical-align: middle;
    display: inline-block;
  }
}

/*
  Not Found
*/

.services-not-found {
  padding: 1.35rem 0;
  text-align: center;
}

/*
  Security Banner
*/

.security-area {
  background: #e5f8f8;
  padding: 60px 0;
  text-align: center;
}

.security-area-label {
  background: #2bcabc;
  border-radius: 16px 0;
  color: #fff;
  font-weight: bold;
  padding: 10px 24px;
}

.security-area-headline {
  color: #0b4e49;
  font-size: 29px;
  font-weight: bold;
  line-height: 1.4;
  margin-top: 32px;
  word-break: keep-all;
}

.security-area-text {
  margin-top: 16px;
  word-break: keep-all;
}

.security-area-button {
  align-items: center;
  background: #fff;
  border-radius: 4px;
  border: 2px solid #0e2c3a;
  box-sizing: border-box;
  color: #0e2c3a;
  display: flex;
  font-size: 18px;
  font-weight: 600;
  height: 50px;
  justify-content: center;
  margin: 32px auto 0;
  max-width: 16rem;
}

.security-area-button:hover {
  color: #496b7b;
  border-color: #496b7b;
}

.main-visual {
  margin-bottom: 0;
}

.main-visual ~ .layout_service-list {
  margin-top: 0;
}

@media screen and (max-width: 399px) {
  .security-area-label {
    font-size: 12px;
  }
}

/* --------------------
  IE11 hack
-------------------- */
@media all and (-ms-high-contrast: none) and (min-width: 600px) {
  .service-new {
    box-sizing: border-box;
    padding-top: 0.4rem;
  }

  .service-tag-unit li {
    line-height: 1.3;
    padding-top: 0.3rem;
    vertical-align: middle;
  }

  .security-area-label {
    line-height: 0.6;
    padding-top: 8px;
    padding-bottom: 2px;
  }
}