@charset "UTF-8";

/* CSS Document */

.section .inner {
  position: relative;
}

.emphasis-mark {
  /* 黄色い丸マーク */
  position: absolute;
  right: 0;
  top: -1rem;
}

/* TABLE */

td {
  text-align: center;
}

th.domain, th.type {
  text-align: left;
}

th.domain {
  font-size: 1.1rem;
}

th.type {
  background-color: #f7f7f7;
  font-weight: normal;
}

.table-scroll {
  margin: 1rem 0 0.5rem;
}

.section .formality-wrap {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  text-align: center;
  padding: 0;
}

/* スマホ 幅が 0px - 599px */
@media screen and (max-width: 599px) {
  th.domain, th.type {
    width: 5rem;
  }

  .formality-cell:not(:last-child) {
    margin: 0 0 2rem;
  }
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  th.type {
    width: 7rem;
  }

  th.domain {
    width: 32rem;
  }

  .section .formality-wrap {
    justify-content: space-around;
    flex-direction: row;
    padding: 2rem 10rem;
  }

  .formality-cell {
    flex-basis: 18rem;
  }
}

/* 種類のアンカーリンク設置 */

.type-select_area ul {
  margin-top: 3rem;
}

.type-select_area h2.section-title::before {
  /* >マーク付き */
  content: "\f06a";
  font-family: FontAwesome;
  margin-right: 0.5rem;
  font-size: 2.3rem;
  color: #f45151;
}

.type-select_area ul.type-select {
  display: flex;
  justify-content: space-between;
}

.type-select_area ul.type-select li {
  width: 270px;
  background-color: #f2f2f2;
  padding: 15px;
}

.type-select_area ul.type-select li h3 {
  color: #535356;
  font-weight: normal;
  font-size: 1rem;
  height: 2.5rem;
  margin: 0.3rem 0 1.4rem;
}

.type-select_area ul.type-select li .type-select_bg-white {
  background: #fff;
  padding: 15px;
  height: 5rem;
  width: 240px;
  color: #00a1c9;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

.type-select_area ul.type-select li .formality_detail-link {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1.5rem 0 0.5rem;
}

.type-select_area ul.type-select li .formality_detail-link a {
  display: block;
}

/* スマホ 幅が 0px - 599px */
@media screen and (max-width: 599px) {
  .type-select_area ul.type-select {
    display: block;
  }

  .type-select_area ul.type-select li {
    width: auto;
    margin: 1rem auto;
    padding: 1rem 1.5rem;
  }

  .type-select_area ul.type-select li .type-select_bg-white {
    padding: 2rem 0;
    display: block;
    height: auto;
    width: 100%;
    margin: 0 auto;
  }

  .type-select_area ul.type-select li h3 {
    height: auto;
    margin: 0.3rem 0 1.4rem;
  }

  .section .formality-wrap {
    margin-top: 3rem;
  }

  .button-formality {
    width: 70%;
  }
}