@charset "UTF-8";

/* 特集・記事ページ共通UI。IE11でも使用できる標準のブロック配置。 */
header,
nav,
main,
article,
section,
figure,
footer {
  display: block;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #263238;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #00457c;
}

a:hover {
  text-decoration: none;
}

a:focus {
  outline: 3px solid #00457c;
  outline-offset: 5px;
}

.page-container {
  width: calc(100% - 48px);
  max-width: 1000px;
  margin: 0 auto;
}

.site-header {
  padding: 24px 0;
  border-bottom: 1px solid #dce1d7;
}

.site-logo {
  display: block;
  width: 200px;
  max-width: 100%;
}

.breadcrumb {
  max-width: 760px;
  margin: 20px auto 32px;
  font-size: 0.8125rem;
  line-height: 1.8;
}

.breadcrumb ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 8px;
  color: #5b603b;
}

.article-intro {
  border-top: 3px solid #5b603b;
  padding-top: 24px;
}

h1,
h2 {
  font-weight: 700;
  line-height: 1.65;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  margin: 0 0 24px;
  color: #5b603b;
  font-size: 1.75rem;
  letter-spacing: 0.015em;
}

.heading-phrase {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

h2 {
  margin: 0 0 18px;
  padding: 2px 0 2px 16px;
  border-left: 3px solid #5b603b;
  font-size: 1.375rem;
}

.feature-article p {
  margin: 0;
}

/* 画像とは幅を分け、文章を読む範囲を中央の760pxに収める。 */
.feature-article .article-text {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.article-section {
  margin-top: 48px;
}

/* 複数段落・既存の詳細な使い方にも共通の読みやすい間隔を設定。 */
.feature-article p + p {
  margin-top: 16px;
}

.article-subsection {
  margin-top: 32px;
}

.article-subsection h3 {
  margin: 0 0 20px;
  color: #5b603b;
  font-size: 1.25rem;
  line-height: 1.6;
}

.comparison-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border: 1px solid #dce1d7;
  vertical-align: top;
}

.comparison-table th {
  background: #f5f6f1;
  color: #5b603b;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 18%;
  min-width: 4.5em;
  font-weight: 700;
}

.comparison-table--three-columns th:first-child,
.comparison-table--three-columns td:first-child {
  width: 24%;
}

.comparison-table tbody th {
  color: #263238;
}

.product-link {
  margin-top: 28px;
  text-align: center;
}

.product-link a {
  display: inline-block;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 32px;
  border: 1px solid #00457c;
  border-radius: 4px;
  background: #00457c;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}

.product-link a:hover {
  background: #00355f;
}

.feature-visual {
  max-width: 900px;
  margin: 52px auto 24px;
}

.feature-visual img {
  width: auto;
  margin-right: auto;
  margin-left: auto;
}

/* IE11でも切り替わるようpicture要素に依存しない。 */
.feature-visual .feature-image--mobile {
  display: none;
}

.feature-article .sales-notice {
  padding: 16px 20px;
  background: #f5f6f1;
  text-align: center;
}

.site-footer {
  margin-top: 64px;
  padding: 36px 0 28px;
  border-top: 1px solid #dce1d7;
  text-align: center;
}

.footer-logo {
  margin: 0 0 24px;
}

.footer-logo a {
  display: inline-block;
  width: 200px;
  max-width: 100%;
}

.footer-logo img {
  margin: 0 auto;
}

.copyright,
.slogan {
  margin: 12px 0 0;
  font-size: 0.75rem;
  line-height: 1.9;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  background: #fff;
}

@media (max-width: 767px) {
  .page-container {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 22px 0;
  }

  .breadcrumb {
    margin-top: 16px;
    margin-bottom: 24px;
  }

  .breadcrumb a {
    display: inline-block;
    padding: 4px 0;
  }

  .breadcrumb li + li::before {
    margin: 0 6px;
  }

  .article-section {
    margin-top: 36px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: 1.375rem;
  }

  h2 {
    font-size: 1.1875rem;
  }

  .article-subsection h3 {
    font-size: 1.125rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }

  .product-link a {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .feature-visual {
    margin-top: 36px;
  }

  .site-footer {
    margin-top: 44px;
  }
}

/* スマホではヘッダー・フッターのロゴをPC・タブレットの半分に。 */
@media (max-width: 599px) {
  .site-logo,
  .footer-logo a {
    width: 100px;
  }

  .feature-visual .feature-image--desktop {
    display: none;
  }

  .feature-visual .feature-image--mobile {
    display: block;
  }

  .comparison-table--three-columns th,
  .comparison-table--three-columns td {
    padding: 10px 8px;
    font-size: 0.875rem;
  }

  .comparison-table--three-columns th:first-child,
  .comparison-table--three-columns td:first-child {
    width: 30%;
  }
}

@media print {
  .page-container {
    width: 100%;
  }

  .product-link a {
    background: #fff;
    color: #000;
  }
}
