@charset "UTF-8";
/* ==========================================================================
   お役立ち記事（/column/）専用スタイル
   - 既存の base.css / content.css は変更していません（このファイルだけを追加）
   - 本文は長文（1本あたり約8,000字）のため、読みやすさを優先して
     本文だけ 16px / 行間 1.9 に上げています（サイト全体は 14px のまま）
   ========================================================================== */

/* --- ページ見出し（他ページの .headtitle と同じ見た目） ------------------- */
.headtitle-column {
  background: url("../news/images/bgmain.jpg") no-repeat center center;
}

/* 記事ページはヒーローを <p> にしている（<h1> は記事タイトル）ので、
   content.css の「.headtitle .container h1」と同じ指定を当てる */
.headtitle .container .headtitle-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  line-height: 1.4;
  color: #fff;
  font-size: 27px;
}

.headtitle .container .headtitle-title span {
  font-size: 38px;
  font-weight: bold;
  display: inline-block;
  position: relative;
  background: #fff;
  color: #000;
  line-height: 1;
  padding: 7px 20px 5px;
  text-align: center;
  min-width: 390px;
  margin-bottom: 10px;
}

@media all and (max-width: 639px) {
  .headtitle .container .headtitle-title {
    font-size: 20px;
  }
  .headtitle .container .headtitle-title span {
    min-width: 300px;
    font-size: 26px;
  }
}

/* --- 共通の器 -------------------------------------------------------------- */
.p-column {
  padding-bottom: 80px;
}

.col-wrap {
  max-width: 900px;
}

/* --- カテゴリバッジ -------------------------------------------------------- */
.col-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 2px;
  color: #fff;
  letter-spacing: .04em;
}

.col-cat-sales {
  background: #002896;
}

.col-cat-buying {
  background: #0a7a5c;
}

/* ==========================================================================
   一覧ページ
   ========================================================================== */
.col-index-lead {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 28px;
}

.col-filter {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid #d2d2d2;
  padding-bottom: 20px;
}

.col-fbtn {
  font-family: inherit;
  font-size: 13px;
  font-weight: bold;
  color: #002896;
  background: #fff;
  border: 1px solid #002896;
  border-radius: 30px;
  padding: 9px 20px;
  cursor: pointer;
  line-height: 1;
  -webkit-transition: all .25s;
  transition: all .25s;
}

.col-fbtn:hover {
  background: #e8eaef;
}

.col-fbtn.is-on {
  background: #002896;
  color: #fff;
}

.col-cards {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 28px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.col-card {
  width: calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid #e3e3e3;
}

.col-card > a {
  display: block;
  height: 100%;
  color: #333;
  text-decoration: none;
  -webkit-transition: box-shadow .25s;
  transition: box-shadow .25s;
}

.col-card > a:hover {
  box-shadow: 0 6px 18px rgba(0, 40, 150, .16);
}

.col-card-img {
  display: block;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 16 / 9;
}

.col-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform .4s;
  transition: transform .4s;
}

.col-card > a:hover .col-card-img img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.col-card-body {
  display: block;
  padding: 16px 18px 20px;
}

.col-card-ttl {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  color: #111;
}

.col-card-desc {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.85;
  color: #666;
}

.col-card-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: bold;
  color: #002896;
}

.col-card-more::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #002896;
  border-right: 2px solid #002896;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-left: 8px;
  vertical-align: 2px;
}

/* ==========================================================================
   記事ページ
   ========================================================================== */
.col-article {
  background: #fff;
  padding: 40px 48px 48px;
  border: 1px solid #e3e3e3;
}

.col-title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.55;
  color: #111;
  margin: 14px 0 0;
}

.col-lead-kw {
  font-size: 12px;
  /* #828282 だと 12px でコントラスト 3.5:1（WCAG AA 未満）になるため一段濃くしている */
  color: #666666;
  margin-top: 14px;
}

.col-lead-kw span {
  color: #002896;
  font-weight: bold;
}

.col-hero {
  margin: 22px 0 0;
}

.col-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.col-desc {
  font-size: 15px;
  line-height: 2;
  color: #444;
  background: #f4f7fc;
  border-left: 4px solid #002896;
  padding: 18px 22px;
  margin: 24px 0 0;
}

/* --- 目次 ------------------------------------------------------------------ */
.col-toc {
  margin: 32px 0 8px;
  border: 1px solid #d7dce8;
  background: #fafbfe;
  padding: 22px 26px 24px;
}

.col-toc-t {
  font-size: 16px;
  font-weight: bold;
  color: #002896;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d7dce8;
}

.col-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: coltoc;
}

.col-toc li {
  counter-increment: coltoc;
  font-size: 14px;
  line-height: 1.7;
  padding: 6px 0 6px 30px;
  position: relative;
}

.col-toc li::before {
  content: counter(coltoc);
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #002896;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
}

.col-toc a {
  color: #333;
  text-decoration: none;
}

.col-toc a:hover {
  color: #002896;
  text-decoration: underline;
}

/* --- 本文 ------------------------------------------------------------------ */
.col-h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.55;
  color: #fff;
  background: #002896;
  padding: 14px 20px;
  margin: 52px 0 24px;
  scroll-margin-top: 20px;
}

.col-h3 {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
  color: #111;
  border-left: 5px solid #002896;
  border-bottom: 1px solid #d2d2d2;
  padding: 2px 0 10px 14px;
  margin: 36px 0 18px;
}

/* 本文の段落だけを対象にする。
   :not([class]) を付けないと .col-cat / .col-lead-kw / .col-desc など
   クラス付きの <p> まで巻き込んでしまう（詳細度は .col-article p の方が高いため）。 */
.col-article p:not([class]) {
  font-size: 16px;
  line-height: 1.95;
  color: #333;
  margin: 0 0 18px;
}

.col-list {
  margin: 0 0 22px;
  padding: 20px 24px 20px 44px;
  background: #f7f8fa;
  border: 1px solid #e6e8ec;
}

.col-list li {
  font-size: 15.5px;
  line-height: 1.9;
  margin-bottom: 8px;
}

.col-list li:last-child {
  margin-bottom: 0;
}

ul.col-list {
  list-style: disc;
}

ol.col-list {
  list-style: decimal;
}

.col-list li::marker {
  color: #002896;
}

.col-figure {
  margin: 26px 0;
}

.col-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 表（スマホでは横スクロール） ------------------------------------------ */
.col-tablewrap {
  margin: 26px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.col-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 520px;
  background: #fff;
}

.col-table th,
.col-table td {
  border: 1px solid #d8dde6;
  padding: 12px 14px;
  line-height: 1.75;
  text-align: left;
  vertical-align: top;
}

.col-table th {
  background: #002896;
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
}

.col-table tbody tr:nth-child(even) td {
  background: #f7f8fa;
}

/* --- CTA -------------------------------------------------------------------- */
.col-cta {
  margin: 40px 0 0;
  background: #002896;
  color: #fff;
  padding: 34px 40px 32px;
  text-align: center;
}

.col-cta-t {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
  /* base.css の「body p { color:#333 }」に負けるので、白を明示する */
  color: #fff;
  margin-bottom: 14px;
}

.col-cta-b {
  font-size: 15px;
  line-height: 1.95;
  color: #dfe4f4;
  margin-bottom: 24px;
  text-align: left;
}

.col-cta-btns {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 14px;
  -webkit-justify-content: center;
  justify-content: center;
  margin-bottom: 18px;
}

.col-btn {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  min-width: 300px;
  min-height: 58px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 3px;
  -webkit-transition: opacity .25s;
  transition: opacity .25s;
}

.col-btn:hover {
  opacity: .85;
}

.col-btn-main {
  background: #ffc107;
  color: #111;
}

.col-btn-sub {
  background: #fff;
  color: #002896;
}

.col-cta-tel {
  font-size: 14px;
  color: #dfe4f4;
}

.col-cta-tel a {
  color: #fff;
  font-weight: bold;
  font-size: 19px;
  text-decoration: none;
  margin-left: 4px;
}

.col-cta-tel span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: #b9c2de;
}

/* --- 関連記事 --------------------------------------------------------------- */
.col-rel {
  margin-top: 56px;
}

.col-rel-h {
  font-size: 20px;
  font-weight: bold;
  color: #111;
  border-bottom: 2px solid #002896;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.col-rel-list {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.col-rel-item {
  width: calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid #e3e3e3;
}

.col-rel-item a {
  display: block;
  color: #333;
  text-decoration: none;
  height: 100%;
}

.col-rel-item a:hover {
  box-shadow: 0 6px 18px rgba(0, 40, 150, .16);
}

.col-rel-img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

.col-rel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.col-rel-ttl {
  display: block;
  padding: 14px 16px 18px;
  font-size: 14.5px;
  font-weight: bold;
  line-height: 1.65;
}

/* --- 一覧へ戻る ------------------------------------------------------------- */
.col-back {
  margin-top: 44px;
  text-align: center;
}

.col-back a {
  display: inline-block;
  border: 1px solid #002896;
  color: #002896;
  font-size: 14px;
  font-weight: bold;
  padding: 15px 44px;
  text-decoration: none;
  -webkit-transition: all .25s;
  transition: all .25s;
}

.col-back a:hover {
  background: #002896;
  color: #fff;
}

/* ==========================================================================
   タブレット
   ========================================================================== */
@media all and (max-width: 1024px) {
  .col-card,
  .col-rel-item {
    width: calc((100% - 24px) / 2);
  }

  .col-article {
    padding: 32px 32px 40px;
  }
}

/* ==========================================================================
   スマートフォン
   ========================================================================== */
@media all and (max-width: 639px) {
  .p-column {
    padding-bottom: 50px;
  }

  .col-cards {
    gap: 20px;
  }

  .col-card,
  .col-rel-item {
    width: 100%;
  }

  .col-index-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .col-filter {
    gap: 8px;
    margin-bottom: 22px;
    padding-bottom: 16px;
  }

  .col-fbtn {
    font-size: 12px;
    padding: 8px 14px;
  }

  .col-article {
    padding: 24px 18px 30px;
    border-left: none;
    border-right: none;
    margin: 0 -3%;
  }

  .col-title {
    font-size: 21px;
  }

  .col-desc {
    font-size: 14px;
    line-height: 1.9;
    padding: 14px 16px;
  }

  .col-toc {
    padding: 18px 16px 20px;
  }

  .col-h2 {
    font-size: 18px;
    padding: 12px 14px;
    margin: 38px 0 20px;
  }

  .col-h3 {
    font-size: 16px;
    margin: 28px 0 14px;
  }

  .col-article p:not([class]) {
    font-size: 15px;
    line-height: 1.9;
  }

  .col-list {
    padding: 16px 16px 16px 34px;
  }

  .col-list li {
    font-size: 14.5px;
  }

  .col-table {
    font-size: 13.5px;
    min-width: 460px;
  }

  .col-table th,
  .col-table td {
    padding: 9px 10px;
  }

  .col-tablewrap {
    margin: 20px -18px;
    padding: 0 18px;
  }

  .col-cta {
    padding: 26px 18px 24px;
    margin-left: -3%;
    margin-right: -3%;
  }

  .col-cta-t {
    font-size: 18px;
  }

  .col-cta-b {
    font-size: 14px;
  }

  .col-btn {
    min-width: 0;
    width: 100%;
  }

  .col-rel-h {
    font-size: 17px;
  }

  .col-back a {
    display: block;
    padding: 15px 10px;
  }
}
