@charset "utf-8";

html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-size: 1.6rem;
}

div + ul,
ul + ul,
ul + p,
p + figure,
p + p,
p + table,
p + ul {
  margin-top: 1.6rem;
}

/* スマホ 幅が 0px - 599px */
@media screen and (max-width: 599px) {
  html,
  body {
    width: 100%;
  }

  .hidden-if-pc {
    display: block;
  }

  .hidden-if-sph {
    display: none;
  }
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  html,
  body {
    min-width: 960px;
  }

  .hidden-if-pc {
    display: none;
  }

  .hidden-if-sph {
    display: block;
  }

  .inner {
    width: 960px;
    margin: 0 auto;
  }
}

/*
  HEADLINE
 */

.section-head-wrap {
  margin-top: 7.2rem;
  text-align: center;
}

.section-headline {
  border-left: 1px solid #9e9e9e;
  border-right: 1px solid #9e9e9e;
  display: inline-block;
  font-size: 2.8rem;
  padding: 0 2.8rem;
}

.section-headline-slug {
  color: #fb5e4a;
  font-size: 1.2rem;
  margin-top: 1.4rem;
  line-height: 2;
}

.section-lead {
  line-height: 2;
  margin-top: 3.2rem;
  text-align: center;
}

.section-sub-headline {
  color: #0e2c3a;
  font-size: 2.4rem;
  margin-bottom: 2.8rem;
}

.section-sub-headline::after {
  background-color: #d23d2a;
  content: '';
  display: block;
  height: 4px;
  margin-top: 0.8rem;
  width: 5.6rem;
}

@media screen and (min-width: 600px) {
  .section:target .section-head-wrap {
    /* アンカーリンク時の位置調整 */
    margin-top: calc(8rem - 55px);
    padding-top: 55px; /* headerの高さ */
  }

  .section-headline {
    box-sizing: border-box;
    min-width: 47.2rem;
    padding: 0 6.4rem;
  }
}

/*
  TABLE
 */

.table {
  margin: 1.6rem 0;
  width: 100%;
}

.table th,
.table td {
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
  padding: 1.6rem;
}

.table th {
  background-color: #f4f5f6;
  font-weight: normal;
  min-width: 5.6rem;
  text-align: left;
  vertical-align: top;
}

@media screen and (min-width: 960px) {
  .table th {
    min-width: 14.4rem;
  }
}

/* --------------------
  IE11 hack
-------------------- */
@media all and (-ms-high-contrast: none) and (min-width: 600px) {
  /*
    TABLE
   */
  .table th,
  .table td {
    padding: 1.8rem 1.4rem 1rem;
  }
}