/* 下層ページ（記事）用スタイル。共通部分は style.css を使用 */

.p-page {
  padding-bottom: 80px;
}

.p-breadcrumb {
  padding-top: 20px;
  padding-bottom: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}
.p-breadcrumb a {
  text-decoration: underline;
}
.p-breadcrumb span[aria-hidden] {
  margin: 0 0.6em;
}

.p-article {
  max-width: calc(920px + 40px);
  line-height: 1.9;
}
.p-article h1 {
  font-family: "GenJyuuGothic", "Noto Sans JP", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  margin: 24px 0 28px;
  padding-bottom: 18px;
  border-bottom: 4px solid #f79904;
}
.p-article h2 {
  font-family: "GenJyuuGothic", "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin: 56px 0 20px;
  padding: 10px 16px;
  background: #fffceb;
  border-left: 6px solid #f79904;
}
.p-article h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  margin: 36px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #ebebeb;
}
.p-article p {
  margin: 0 0 1.2em;
}
.p-article strong {
  font-weight: 700;
}
.p-article a {
  text-decoration: underline;
}
.p-article ul {
  margin: 0 0 1.4em;
  padding-left: 1.4em;
  list-style: disc;
}
.p-article ol {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
  list-style: decimal;
}
.p-article li {
  margin-bottom: 0.5em;
}

/* 表：スマホでは横スクロール */
.p-table {
  margin: 0 0 1.2em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.p-table table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}
.p-table th,
.p-table td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}
.p-table thead th {
  background: #f79904;
  color: #111;
  font-weight: 700;
  min-width: 5.5em;
}
.p-table tbody tr:nth-child(even) {
  background: #fffceb;
}
.p-table tbody td:first-child {
  font-weight: 700;
}
.p-table--wide table {
  min-width: 760px;
}
.p-table--wide tbody td:first-child {
  white-space: nowrap;
}
.p-table--mid table {
  min-width: 560px;
}

/* 見積もり導線 */
.p-cta {
  margin: 64px 0 0;
  padding: 32px 24px 28px;
  background: #fffceb;
  border: 2px solid #111;
  border-radius: 12px;
  text-align: center;
}
.p-article .p-cta h2 {
  margin: 0 0 20px;
  padding: 0;
  background: none;
  border: 0;
  font-size: 24px;
}
.p-article .p-cta__btn {
  width: 100%;
  max-width: 420px;
  height: 68px;
  margin: 0 auto 20px;
  font-size: 20px;
  text-decoration: none;
}
.p-cta p {
  margin: 0 0 0.8em;
  font-size: 15px;
  line-height: 1.8;
}
.p-cta .p-cta__company {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid #ccc;
  font-size: 13px;
}

/* 関連ページ */
.p-related {
  margin-top: 56px;
}
.p-article .p-related h2 {
  margin-top: 0;
}
.p-article .p-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-related li {
  margin: 0;
  border-bottom: 1px solid #ddd;
}
.p-article .p-related a {
  display: block;
  padding: 14px 8px;
  font-weight: 700;
  text-decoration: none;
}
.p-related a::after {
  content: "›";
  float: right;
  color: #f79904;
  font-size: 20px;
  line-height: 1.4;
}
.p-related a:hover {
  background: #fffceb;
}

@media screen and (max-width: 750px) {
  .p-page {
    padding-bottom: 56px;
  }
  .p-article h1 {
    font-size: 24px;
    margin: 16px 0 20px;
    padding-bottom: 12px;
  }
  .p-article h2 {
    font-size: 19px;
    margin: 40px 0 16px;
    padding: 8px 12px;
  }
  .p-article h3 {
    font-size: 17px;
    margin: 28px 0 8px;
  }
  .p-table table {
    font-size: 13px;
  }
  .p-table th,
  .p-table td {
    padding: 8px 10px;
  }
  .p-cta {
    margin-top: 48px;
    padding: 24px 16px 20px;
  }
  .p-article .p-cta h2 {
    font-size: 20px;
  }
  .p-article .p-cta__btn {
    height: 60px;
    font-size: 17px;
  }
}
