@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;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-list section {
  display: flex;
  position: relative; /* NEWの表示のために親ボックスに指定 */
  flex-direction: column;
  width: 100%; /* IE11 */
}

.service-list a {
  margin-top: 4rem;
  border-radius: 4px;
  background: #fff;
  color: #444;
  transition: box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  overflow: visible;
  width: 100%; /* 横幅を揃えるための指定 */
}

.service-list a:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
  transform: translate(0, -3px);
}

.service-link-text {
  padding: 3.2rem 1.6rem;
  color: #5596c8;
  margin-top: auto;
}

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

.service-list .service-name {
  font-size: 1.8rem;
  padding: 0.8rem 1.6rem 0;
}

.service-list .service-logo {
  margin-bottom: 1.6rem;
  align-items: center;
  background-color: #fff;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  min-height: 16rem;
  order: -2;
}

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

.service-tag-unit {
  font-size: 1.4rem;
  order: -1;
}

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

.service-tag-unit li {
  display: inline-block;
  margin: 0 0.8rem 0 0;
}

.service-description {
  line-height: 1.75;
  padding: 0.8rem 1.6rem 0;
}

.service-price {
  font-weight: bold;
  padding: 0.8rem 1.6rem 0;
  margin-top: 0;
}

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

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

  .service-new {
    top: -1.8rem;
  }
}

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

  .service-list {
    margin-top: -2.4rem;
  }

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

  .service-list a {
    width: 296px;
    display: flex;
  }

  .service-logo {
    height: 16rem;
  }
}

/*
  Loading
 */

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

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

/*
  Not Found
*/

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

/*
  注釈
*/

.note {
  margin-top: 2.4rem;
}

/*
  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;
  font-size: 1.4rem;
}

.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: 25.6rem;
}

.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.6rem;
  }

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

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