@charset "UTF-8";
/* ==========================================================================
   SOURCE POD コラム（一覧・詳細 共通）
   ========================================================================== */

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  /* ---- Color ---- */
  --color-main:        #3f5ed8;  /* ブランドブルー */
  --color-base:        #ffffff;
  --color-text:        #000000;
  --color-gray:        #888888;  /* タグ グレー */
  --color-accent:      #ff6700;  /* タグ オレンジ */

  --color-bg-light:    #e8f7ff;  /* コンテンツ背景のブルー */
  --color-card-bg-hover: rgba(255, 255, 255, 0.5); /* カード hover 時の白 */
  --color-panel-line:  rgba(5, 93, 255, 0.4);    /* 白パネルの枠線 */

  --color-line:        #cccccc;  /* 区切り線 hr / セレクト枠 */
  --color-line-list:   #e7e7e7;  /* 記事リストの行間 */
  --color-line-table:  #e6e6e6;  /* 比較表の罫線・見出しセル */
  --color-bg-table:    #f4f4f4;  /* 表の灰色セル */

  /* ---- Radius ---- */
  --radius-sm: 4px;

  /* ---- Font Family ---- */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Poppins", sans-serif; /* ページタイトル英字 */

  /* ---- Layout ---- */
  --content-w:  1080px;
  --hero-h:     100px;  /* ページタイトル帯 */

  /* ---- Typography ---- */
  /* ページタイトル帯 */
  --pagetitle-en-size: 48px;  --pagetitle-en-ls: -0.72px;
  --pagetitle-ja-size: 18px;

  /* 記事まわり */
  --article-title-size: 32px; --article-title-lh: 44.8px; --article-title-ls: 0.64px;
  --article-date-size:  15px; --article-date-lh:  27px;   --article-date-ls:  0.3px;
  --h2-size:            18px; --h2-lh: 25.2px; --h2-ls: 1.08px;
  --body-size:          14px; --body-lh: 22.4px; --body-ls: 0.7px;

  /* 一覧 */
  --list-date-size:  14px; --list-date-lh: 25.2px; --list-date-ls: 0.7px;
  --list-title-size: 15px; --list-title-lh: 22.4px;
  --card-title-size: 18px;
  --tag-size:        11px; --tag-lh: 19.8px;
  --chip-size:       12px; --chip-lh: 21.6px; --chip-ls: 0.7px;
  --select-size:     14px; --select-lh: 25.2px;

  /* 表 */
  --table-head-size: 18px;
  --table-cell-size: 15px;
  --table-price-size: 21px;
  --table-lh: 22.4px;
  --table-ls: 0.7px;

  /* ---- Spacing ---- */
  --sp-hero-body: 70px;
  --sp-block:     40px;  /* 記事本文のブロック間 */

}

/* ==========================================================================
   共通
   ========================================================================== */
/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-base);
  line-height: 1.6;
}

.l-main {
  /* 本番の固定ヘッダー（67px）分の逃げ */
  padding-top: 67px;
  /* 本番の style.css が body に letter-spacing: 0.05em を当てているため打ち消す
     （ヘッダー・フッターは本番のデザインなので対象外） */
  letter-spacing: 0;
}

/* 本番のヘッダーは 1080px 以下で 50px になる */
@media (max-width: 1080px) {
  .l-main { padding-top: 50px; }
}

h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

/* ---- レイアウト ---- */
.l-inner {
  width: min(100% - 40px, var(--content-w));
  margin-inline: auto;
}

/* ---- ページタイトル帯 ---- */
.pagehead {
  position: relative;
  height: var(--hero-h);
  background: var(--color-main);
  overflow: hidden;
}

/* 右側の斜めストライプ */
.pagehead__deco {
  position: absolute;
  inset: 0 0 0 auto;
  width: 493.33px;
  background: url("../assets/hero-stripe.png") left top / 725px 100px no-repeat;
  pointer-events: none;
}

.pagehead__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.pagetitle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-base);
  letter-spacing: var(--pagetitle-en-ls);
}

.pagetitle__en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: var(--pagetitle-en-size);
  line-height: 1;
}

.pagetitle__ja {
  font-weight: 700;
  font-size: var(--pagetitle-ja-size);
  line-height: 1.4;
}

/* ---- コンテンツ背景 ---- */
.pagebody {
  position: relative;
  padding-top: var(--sp-hero-body);
  padding-bottom: 70px;
  background: var(--color-base);
  isolation: isolate;
}

.pagebody::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--color-bg-light);
}

/* ---- 白パネル ---- */

.panel {
  border: 1px solid var(--color-panel-line);
  border-radius: var(--radius-sm);
}

/* ---- カテゴリタグ ---- */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tag-lh);
  padding-inline: 20px;
  background: var(--color-main);
  color: var(--color-base);
  font-weight: 700;
  font-size: var(--tag-size);
  line-height: var(--tag-lh);
  text-align: center;
  white-space: nowrap;
}

.tag--gray   { background: var(--color-gray); }
.tag--orange { background: var(--color-accent); }
.tag--black  { background: var(--color-text); }

.taglist {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- 矢印 ---- */
.chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.chevron--down { transform: rotate(135deg); }


/* ---- 一覧へ戻るボタン ---- */
.backbtn {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-block);
}

.backbtn__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 360px;
  max-width: 100%;
  min-height: 39px;
  padding: 3px 20px;
  background: var(--color-line);
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
  line-height: 32.4px;
  letter-spacing: -0.27px;
  transition: opacity 0.2s;
}

.backbtn__link:hover { opacity: 0.85; }

/* 左向きの山形矢印 */
.backbtn__link .chevron { transform: rotate(-135deg); }

/* ---- レスポンシブ ---- */
@media (max-width: 767px) {

  :root {
    --hero-h: 72px;
    --pagetitle-en-size: 32px;
    --pagetitle-ja-size: 15px;
    --sp-hero-body: 32px;
    --article-title-size: 22px;
    --article-title-lh: 32px;
  }

  .l-inner { width: min(100% - 32px, var(--content-w)); }

  .pagehead__deco { width: 40%; }

  .pagebody { padding-bottom: 40px; }

  /* カテゴリタグはSPで一段小さく */
  .tag {
    min-height: 16px;
    padding-inline: 8px;
    font-size: 9px;
    line-height: 16px;
  }
}

/* ==========================================================================
   一覧ページ
   ========================================================================== */
/* ---- 絞り込み ---- */
.filterbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 72px;
}

/* ---- 年セレクト ---- */
.yearselect {
  position: relative;
  width: 187px;
  flex-shrink: 0;
}

.yearselect__field {
  width: 100%;
  height: 27.19px;
  padding: 0 72px 0 36px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-base);
  color: var(--color-text);
  font-family: var(--font-jp);
  font-size: var(--select-size);
  line-height: var(--select-lh);
  appearance: none;
  cursor: pointer;
}

/* 右端の青いボタン部 */
.yearselect::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 62.33px;
  border-left: 1px solid var(--color-line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-main);
  pointer-events: none;
}

.yearselect__icon {
  position: absolute;
  top: 50%;
  right: 23px;
  margin-top: -5px;
  color: var(--color-base);
  pointer-events: none;
  z-index: 1;
}

/* ---- カテゴリチップ ---- */
.catnav {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.catnav__link {
  display: inline-flex;
  align-items: center;
  height: 25.19px;
  padding-inline: 10px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-base);
  font-size: var(--chip-size);
  line-height: var(--chip-lh);
  letter-spacing: var(--chip-ls);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.catnav__link:hover { opacity: 0.75; }

/* 選択中 */
.catnav__item.is-current .catnav__link {
  height: 27.19px;
  border: 1px solid var(--color-main);
  background: var(--color-base);
  color: var(--color-main);
  font-weight: 700;
}

/* ---- 注目記事 ---- */
.pickup {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.pickup__card {
  display: flex;
  flex-direction: column;
  padding: 15px 15px 32px;
  background: var(--color-base);
  transition: box-shadow 0.2s, background-color 0.2s;
}

.pickup__card:hover {
  background: var(--color-card-bg-hover);
  box-shadow: 0 2px 12px rgba(5, 93, 255, 0.15);
}

/* 画像エリア */
.pickup__thumb {
  aspect-ratio: 500 / 280;
  overflow: hidden;
  background: #d9d9d9;
}

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

.pickup__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.pickup__date {
  font-size: var(--list-date-size);
  line-height: var(--list-date-lh);
  letter-spacing: var(--list-date-ls);
}

.pickup__title {
  margin-top: 10px;
  font-weight: 700;
  font-size: var(--card-title-size);
  line-height: 1.4;
}

.pickup__card:hover .pickup__title { color: var(--color-main); }

/* ---- 記事リスト ---- */
.arclist { margin-bottom: 45px; }

.arclist__item {
  background: var(--color-base);
  transition: background-color 0.2s;
}

.arclist__item:hover { background: var(--color-card-bg-hover); }

.arclist__item + .arclist__item { border-top: 1px solid var(--color-line-list); }

.arclist__link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
}

/* サムネイル */
.arclist__thumb {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  background: #d9d9d9;
}

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

.arclist__body {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.arclist__text {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.arclist__date {
  flex-shrink: 0;
  font-size: var(--list-date-size);
  line-height: var(--list-date-lh);
  letter-spacing: var(--list-date-ls);
}

.arclist__title {
  font-weight: 700;
  font-size: var(--list-title-size);
  line-height: var(--list-title-lh);
}

.arclist__link:hover .arclist__title { color: var(--color-main); }

/* ---- ページャ ---- */
.pager {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pager__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: var(--color-main);
  color: var(--color-base);
  transition: opacity 0.2s;
}

.pager__link:hover { opacity: 0.8; }

.pager__link .chevron { width: 7px; height: 7px; }

/* ---- レスポンシブ ---- */
@media (max-width: 900px) {

  .filterbar {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 32px;
  }

  .catnav { flex-wrap: wrap; }

  .pickup {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 767px) {

  .filterbar {
    gap: 16px;
    margin-bottom: 16px;
  }

  .catnav { gap: 8px; }

  .arclist__link {
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .arclist__thumb { width: 72px; height: 48px; }

  .arclist__body {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 8px;
  }

  .arclist__text { display: contents; }

  .arclist__date {
    grid-area: 1 / 1;
    font-size: 12px;
    line-height: 1.7;
  }

  .arclist .taglist {
    grid-area: 1 / 2;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
  }

  .arclist__title { grid-area: 2 / 1 / 3 / -1; }
}

/* ==========================================================================
   詳細ページ
   ========================================================================== */
/* ---- 記事パネル ---- */
.article {
  padding: 70px 90px;
  background: var(--color-base);
}

/* ---- 日付＋タイトル＋カテゴリタグ ---- */
.article__head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.article__date {
  flex-shrink: 0;
  font-size: var(--article-date-size);
  line-height: var(--article-date-lh);
  letter-spacing: var(--article-date-ls);
}

.article__title {
  flex: 1 0 0;
  min-width: 0;
  font-weight: 700;
  font-size: var(--article-title-size);
  line-height: var(--article-title-lh);
  letter-spacing: var(--article-title-ls);
}

.article__head .tag { font-weight: 400; }

/* ---- メイン画像 ---- */
.article__visual {
  width: 710px;
  max-width: 100%;
  margin: 30px auto 0;
  aspect-ratio: 710 / 398;
  overflow: hidden;
  background: #d9d9d9;
}

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

/* ---- 本文エリア ---- */
.article__body {
  margin-top: 30px;
}

/* 見出し */
.article__body h2,
.article__body .h2 {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-main);
  font-weight: 700;
  font-size: var(--h2-size);
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
}

.article__body h2::before,
.article__body .h2::before {
  content: "";
  width: 11px;
  height: 11px;
  margin-inline: 2px;
  background: var(--color-main);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* 本文 */
.article__body p {
  font-size: var(--body-size);
  line-height: var(--body-lh);
  letter-spacing: var(--body-ls);
}

.article__body h2 + p,
.article__body .h2 + p,

.article__body p + p { margin-top: 24px; }

/* ブロック間の区切り線 */
.article__body hr {
  height: 1px;
  margin: var(--sp-block) 0;
  border: none;
  background: var(--color-line);
}

/* 表のラッパー */
.tbl {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article__body > .tbl { margin-block: var(--sp-block); }
.article__body > hr + .tbl { margin-top: 0; }
.article__body > .tbl + hr { margin-top: 0; }

/* ==========================================================================
   表1〜3
   ========================================================================== */

.tbl-plan,
.tbl-list,
.tbl-compare {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.tbl-plan th, .tbl-plan td,
.tbl-list th, .tbl-list td,
.tbl-compare th, .tbl-compare td {
  border: 0;
  vertical-align: middle;
  letter-spacing: var(--table-ls);
  line-height: var(--table-lh);
}

/* ---- 表1：プラン表 ---- */
.tbl-plan th,
.tbl-plan td {
  height: 68px;
  padding: 12px 30px;
  background: var(--color-bg-table);
  border-bottom: 2px solid var(--color-base);
  font-weight: 500;
  font-size: var(--table-cell-size);
  line-height: 1.4;
  text-align: left;
}

/* 1列目：プラン名 */
.tbl-plan tr > :first-child {
  background: var(--color-main);
  color: var(--color-base);
  font-weight: 700;
  font-size: var(--table-head-size);
  line-height: var(--table-lh);
  text-align: center;
}

/* 3列目：価格 */
.tbl-plan tr > :nth-child(3) {
  border-left: 2px solid var(--color-base);
  color: var(--color-main);
  font-weight: 700;
  font-size: var(--table-price-size);
  line-height: var(--table-lh);
  text-align: center;
}

/* 見出し行 */
.tbl-plan tr:first-child:not(thead ~ tbody tr) > * {
  height: auto;
  padding: 0 0 10px;
  background: transparent;
  border: 0;
  color: var(--color-text);
  font-weight: 700;
  font-size: var(--table-head-size);
  line-height: var(--table-lh);
  text-align: center;
}

/* ---- 表2：リスト表 ---- */
.tbl-list th,
.tbl-list td {
  padding: 12px 30px;
  font-weight: 500;
  font-size: var(--table-cell-size);
  line-height: 1.4;
  text-align: left;
}

/* 1列目：プラン名 */
.tbl-list tr > :first-child {
  width: 200px;
  padding-inline: 15px;
  font-weight: 700;
  line-height: var(--table-lh);
  white-space: nowrap;
}

/* 3列目：価格 */
.tbl-list tr > :nth-child(3) {
  width: 150px;
  padding-inline: 15px;
  color: var(--color-main);
  font-weight: 700;
  font-size: var(--table-price-size);
  line-height: var(--table-lh);
  text-align: right;
  white-space: nowrap;
}

/* 交互の灰色 */
.tbl-list tbody:not(thead ~ tbody) tr:nth-child(odd):not(:first-child) > *,
.tbl-list thead ~ tbody tr:nth-child(even) > * {
  background: var(--color-bg-table);
}

/* 見出し行 */
.tbl-list tr:first-child:not(thead ~ tbody tr) > * {
  height: 30px;
  padding: 0;
  background: var(--color-main);
  color: var(--color-base);
  font-weight: 700;
  font-size: var(--table-cell-size);
  line-height: 2;
  text-align: center;
  white-space: nowrap;
}

/* ---- 表3：比較表＋申し込みボタン ---- */
.tbl-compare th,
.tbl-compare td {
  height: 72px;
  padding: 12px 10px;
  background: var(--color-base);
  border: 2px solid var(--color-line-table);
  font-weight: 400;
  font-size: var(--table-cell-size);
  text-align: center;
  white-space: nowrap;
}

/* 1列目：項目名 */
.tbl-compare tr > :first-child { font-weight: 700; }

/* セル内の強調 */
.tbl-compare td strong { font-size: var(--table-head-size); }
.tbl-compare td:has(strong) { font-weight: 700; }

.tbl-compare tr:first-child:not(thead ~ tbody tr) > * {
  height: 48px;
  padding-block: 8px;
  background: var(--color-line-table);
  border-color: var(--color-base);
  border-top: 0;
  border-bottom: 0;
  font-weight: 700;
  font-size: var(--table-head-size);
}

/* 強調する列 */
.tbl-compare tr:first-child:not(thead ~ tbody tr) > [style*="background"],
.tbl-compare tr:first-child:not(thead ~ tbody tr) > .is-primary {
  background: var(--color-main) !important;
  color: var(--color-base);
}

/* 申し込みボタン行 */
.tbl-compare__actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  margin-top: 20px;
}

.tbl-compare__actions p { display: contents; }

.tbl-compare__actions a:first-child { grid-column-start: 2; }

.tbl-compare__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 36px;
  padding-inline: 30px;
  border-radius: 18px;
  background: var(--color-main);
  color: var(--color-base);
  font-weight: 700;
  font-size: var(--table-cell-size);
  line-height: var(--table-lh);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.tbl-compare__actions a:hover { opacity: 0.85; }

/* ---- レスポンシブ ---- */
@media (max-width: 1023px) {

  .article { padding: 40px; }
}

@media (max-width: 767px) {

  .article { padding: 24px 16px; }

  .article__head {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .article__title {
    flex: 1 0 100%;
    order: 3;
  }

  .article__visual { margin-top: 20px; }

  .article__body { margin-top: 24px; }

  .article__body hr { margin: 28px 0; }

  .article__body > .tbl { margin-block: 28px; }

  :root {
    --table-head-size: 14px;
    --table-cell-size: 12px;
    --table-price-size: 17px;
    --table-lh: 18px;
  }

  /* 表1 */
  .tbl-plan { min-width: 560px; }
  .tbl-plan th,
  .tbl-plan td { height: 54px; padding: 10px 8px; }
  .tbl-plan tr:first-child:not(thead ~ tbody tr) > * { padding-bottom: 8px; }

  /* 表2 */
  .tbl-list { min-width: 560px; }
  .tbl-list th,
  .tbl-list td { padding: 10px 8px; }
  .tbl-list tr > :first-child  { width: 160px; padding-inline: 12px; }
  .tbl-list tr > :nth-child(3) { width: 120px; padding-inline: 12px; }
  .tbl-list tr:first-child:not(thead ~ tbody tr) > * { height: 24px; padding: 0; }

  /* 表3 */
  .tbl-compare,
  .tbl-compare__actions { min-width: 620px; }
  .tbl-compare th,
  .tbl-compare td { height: 48px; padding: 10px 8px; }
  .tbl-compare tr:first-child:not(thead ~ tbody tr) > * { height: 38px; }

  .tbl-compare__actions { margin-top: 16px; }
  .tbl-compare__actions a {
    width: 112px;
    height: 29px;
    padding-inline: 24px;
    border-radius: 15px;
  }

  .backbtn { margin-top: 28px; }

  .backbtn__link {
    width: 100%;
    padding: 8px 24px;
    font-size: 16px;
  }
}
