@charset "UTF-8";

/* ========================= 
   CSS変数定義
========================= */
:root {
  --color-01: #264d9c;
  --bar-blue: #2f55a4;
  --soft-bg: #f5f7fb;
  --line-blue: #264d9c;
  --border: #d7e2ff;
  --divider: #e9eef7;
  --text: #111;
  --text-sub: #666;
}

/* ========================= 
   共通スタイル
========================= */

/* ECサイト用：空の子要素を持つ親を非表示 */
.ec-parent:has(.ec-child:empty) {
  display: none;
}

/* カラムリスト調整 */
.column-list [class*=col-] {
  width: auto;
  min-height: auto;
  padding-left: inherit;
  padding-right: inherit;
  position: static;
}

/* 著者情報 */
.author-item {
  width: fit-content;
  max-width: 50%;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.author-img {
  width: 60px;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 100%;
  position: relative;
}

.author-img::after {
  content: "";
  display: block;
  padding-top: 100%;
}

.author-img img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 50% 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.author-name {
  flex-grow: 1;
  flex-shrink: 0;
  padding: 1em;
  font-size: 85%;
  color: gray;
}

/* ========================= 
   目次ボックス
========================= */
.index-box {
  max-width: 760px !important;
  margin: 28px auto 40px !important;
  padding: 22px 26px !important;
  background: #fff !important;
  border: 1.5px solid var(--line-blue) !important;
  border-radius: 6px !important;
}

.index-heading {
  width: fit-content !important;
  margin: 0 auto 14px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--line-blue) !important;
  letter-spacing: .06em !important;
  text-align: center !important;
  position: relative !important;
  padding-bottom: 8px !important;
}

/* 見出し下の短い下線 */
.index-heading::after {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 2px !important;
  background: var(--line-blue) !important;
  margin: 10px auto 0 !important;
}

.list-index {
  margin: 0 !important;
  padding: 0 !important;
}

.list-index li {
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--divider) !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

.list-index li:last-child {
  border-bottom: none !important;
}

.list-index li + li {
  margin-top: 0 !important;
}

.list-index li a {
  color: #111 !important;
  text-decoration: none !important;
  font-size: 14px !important;
}

.list-index li a:hover {
  color: #111 !important;
  opacity: 1 !important;
}

/* ========================= 
   トピックスセクション
========================= */
.topics-wrap {
  max-width: 1000px !important;
  margin: 0 auto 60px !important;
}

.topics-content {
  margin-bottom: 24px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid var(--divider) !important;
}

.topics-sub-content {
  padding: 8px 14px 16px !important;
  background: #fff !important;
}

.topics-box {
  padding: 0;
  position: relative;
}

/* タイトル：左に太い青棒・青文字 */
.topics-title {
  margin: 0.9em 0 0.15em !important;
  padding: 0.35em 0 0.35em 0.8em !important;
  background: transparent !important;
  color: #2f55a4 !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  line-height: 1.5 !important;
  text-align: left !important;
  border-left: 6px solid #2f55a4 !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
}

.topics-card {
  margin-top: 6em;
}

.topics-card_title {
  margin: 10px 0;
  font-weight: bold;
  font-size: 16px;
  color: var(--color-01);
  text-align: center;
}

/* ========================= 
   商品リスト
========================= */
.merchant-heading {
  width: fit-content;
  margin: 0 auto 1em auto;
  font-size: 22px;
  color: var(--color-01);
}

.list-merchant-wrap {
  margin-top: 6em;
}

.list-merchant {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.list-merchant li {
  width: calc((100% - (1em * 1)) / 2);
}

.list-merchant li a {
  display: flex;
  overflow: hidden;
  color: inherit;
  border: 1px solid #ececec;
}

.list-merchant li a:hover {
  color: var(--color-01);
  border-color: var(--color-01);
  opacity: 1;
}

.list-merchant li a .merchant-img {
  width: 35%;
  display: block;
  flex-shrink: 0;
  background-color: #f5f5f5;
  position: relative;
}

.list-merchant li a .merchant-img img {
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  object-position: 50% 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.list-merchant li a .merchant-img::after {
  content: "";
  display: block;
  padding-top: 100%;
}

.list-merchant li a .merchant-contents {
  width: 10%;
  flex-grow: 1;
  padding: 15px;
}

.list-merchant li a .merchant-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: bold;
  font-size: 110%;
  line-height: 1.3;
  text-overflow: ellipsis;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.list-merchant li a .merchant-price {
  width: fit-content;
  margin-top: 10px;
  margin-left: auto;
  font-size: 12px;
}

.list-merchant li a .merchant-price .price-num {
  font-size: 120%;
}

.list-merchant li a .merchant-price .tax {
  font-size: 10px;
}

.list-merchant li a .text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  line-clamp: 3;
  -webkit-line-clamp: 3;
}

/* ========================= 
   ページャー
========================= */
.news-pager {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.news-pager li {
  width: calc(100% / 3);
}

.news-empty {
  color: #dfdfdf;
}

.prev {
  text-align: left;
}

.back {
  text-align: center;
}

.next {
  text-align: right;
}

/* ========================= 
   フローコンテンツ
========================= */
.flow-content {
  margin-bottom: 60px;
}

.flow-content .item {
  padding: 20px;
  border: 1px solid #f2f2f2;
  border-radius: 20px;
}

.flow-content .number {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 24px;
  color: #fff;
  border-radius: 1000px;
  background-color: var(--color-01);
}

.flow-content .title {
  margin-top: 10px;
  font-size: 18px;
  text-align: center;
}

.flow-content .img {
  margin-top: 10px;
}

.flow-content .text {
  margin-top: 10px;
}

/* ========================= 
   ボタン・リンク
========================= */
.btn-wrapper a {
  margin: 0 auto;
}

.btn01 {
  width: 220px;
  display: block;
  padding: 10px 20px;
  font-size: 133%;
  color: #000;
  text-align: center;
  text-decoration: none !important;
  border: none;
  border-radius: 5px;
  background-color: #c6e4fc;
  cursor: pointer;
}

.btn01:hover {
  color: inherit !important;
}

.link01 {
  color: #264d9c !important;
  text-decoration: underline !important;
  transition: 0.4s ease !important;
}

.link01:hover {
  opacity: 0.6 !important;
  cursor: pointer !important;
}

.register-area {
  margin-top: 30px;
  padding: 20px;
  text-align: center;
}

.register-lead {
  margin-bottom: 12px;
  font-size: 95%;
  color: #555;
}

/* ========================= 
   タイトル調整
========================= */

.column-hero {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.column-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.column-hero__title {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: #fff;
  padding: 20px 28px;

  width: 80%;
  max-width: 760px;

  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.column-hero__title h1 {
  margin: 0;
  font-size: 22px;
  line-height: 2.0;
}

/* ========================= 
   レスポンシブ対応
========================= */
@media (max-width: 1024px) {
  .topics-box {
    padding: 0;
  }
  
  .h2A,
  .topics-title {
    font-size: 22px !important;
    padding: 0.4em 0 0.4em 0.8em !important;
    margin: 0.9em 0 0.15em !important;
  }
  
  .index-box {
    margin: 22px 12px 34px !important;
    padding: 18px 16px !important;
  }
}

@media (max-width: 599px) {
  .topics-title {
    font-size: 18px !important;
  }
}

@media (max-width: 767px) {
  .list-merchant li {
    width: 100%;
  }

  .topics-title {
    font-size: 20px !important;
  }

  .column-hero__title {
    width: 90%;
    padding: 10px 12px;
    bottom: 14px;

    background: rgba(255,255,255,.78);
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
    border-radius: 10px;

    text-align: center;
  }
}
