@charset "UTF-8";
/* ===== スライダー（#feat / #feat-swiper） ===== */
#feat {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 2rem;
  overflow: hidden;
  background-color: #EEE;
  padding: 28px 0 24px;
}
#feat #feat-swiper {
  width: 100vw;
  max-width: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
  overflow: visible;
  background-color: #EEE;
}
#feat #feat-swiper .swiper-slide {
  width: 730px;
  height: auto;
  -webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transition: transform 0.4s ease, opacity 0.4s ease, -webkit-transform 0.4s ease;
  opacity: 0.75;
}
#feat #feat-swiper .swiper-slide-active {
  -webkit-transform: none;
          transform: none;
  opacity: 1;
  z-index: 2;
}
#feat #feat-swiper .swiper-slide-prev, #feat #feat-swiper .swiper-slide-next {
  -webkit-transform: scale(0.92);
          transform: scale(0.92);
  opacity: 0.9;
}
#feat #feat-swiper .media {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}
#feat #feat-swiper .media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
}
#feat #feat-swiper .swiper-pagination {
  position: relative;
  margin-top: 3rem;
  text-align: center;
}
#feat #feat-swiper .slide-card,
#feat #feat-swiper .slide-card:link, #feat #feat-swiper .slide-card:visited, #feat #feat-swiper .slide-card:hover, #feat #feat-swiper .slide-card:active {
  color: inherit !important;
  text-decoration: none !important;
}
#feat #feat-swiper .slide-card .caption {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #fff;
  padding: 1.1rem 1.4rem 1.25rem;
  border-top: 1px solid #e5e5e5;
  text-align: left;
}
#feat #feat-swiper .slide-card .caption .ttl {
  position: relative;
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  line-height: 1.5;
  color: #222;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 0.8rem;
}
#feat #feat-swiper .slide-card .caption .ttl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 3px;
  border-radius: 2px;
  background: -webkit-gradient(linear, left top, left bottom, from(#d9c68a), to(#b79338));
  background: linear-gradient(#d9c68a, #b79338);
}
#feat #feat-swiper .slide-card .caption .txt {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  #feat #feat-swiper {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 767px) {
  #feat #feat-swiper .swiper-slide {
    width: 82vw;
  }
  #feat #feat-swiper .media {
    height: auto;
    aspect-ratio: 16/9;
  }
  #feat #feat-swiper .slide-card .caption {
    padding: 0.9rem 1rem;
  }
  #feat #feat-swiper .slide-card .caption .ttl {
    font-size: 1rem;
  }
  #feat #feat-swiper .slide-card .caption .ttl::before {
    width: 2px;
  }
  #feat #feat-swiper .slide-card .caption .txt {
    font-size: 0.92rem;
  }
}
@media (hover: hover) and (pointer: fine) {
  #feat #feat-swiper .swiper-slide-active .slide-card:hover {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  }
  #feat #feat-swiper .swiper-slide-active .slide-card:hover .media img {
    -webkit-transform: scale(1.03);
            transform: scale(1.03);
  }
}

/* 1) 角丸をやめて四角に */
#feat #feat-swiper .media,
#feat #feat-swiper .slide-card .caption {
  border-radius: 0 !important;
}

/* 2) 画像は常に同じ比率で一定高さ（文字数の影響を受けない） */
#feat #feat-swiper .media {
  width: 100%;
  aspect-ratio: 16/9; /* これで高さ固定 */
  overflow: hidden;
}

#feat #feat-swiper .media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* 3) カードを縦フレックスにして「画像＋キャプション」の総高さを固定化 */
#feat #feat-swiper .slide-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: auto; /* Swiperの幅計算だけに専念させる */
}

/* ===== 注目の記事（#top_hot_wrap）・最小限の上書き ===== */
#top_hot_wrap .conbox {
  background: #F5F5F5;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#top_hot_wrap .conbox > img {
  display: block;
  margin: 0 auto 1em auto !important;
}
#top_hot_wrap .conbox .cate {
  position: static !important; /* ← absolute を無効化 */
  top: auto !important;
  left: auto !important;
  margin-top: 0 !important; /* 以前の margin-top:100% を打消し */
  display: inline-block; /* 下線はテキスト幅のまま */
  margin-bottom: 1em; /* ← ここが .cate と .ttl の間隔 */
  padding-bottom: 0.2em; /* 下線と文字に少し余白（任意） */
  /* border-bottom はそのままでOK */
}
#top_hot_wrap .conbox .ttl {
  display: block; /* 行を分ける */
  /* 見やすさ調整（任意） */
}
@media (min-width: 1024px) {
  #top_hot_wrap .conbox {
    background: #F5F5F5;
    padding-top: 1.3em !important;
    padding-bottom: 1em !important;
  }
  #top_hot_wrap .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 16px;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch; /* 同じ高さに伸ばす */
  }
  #top_hot_wrap .row a {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-width: 0; /* タイトル折返し用 */
    border: solid 1px #DDD;
    max-width: 55em;
  }
  #top_hot_wrap .conbox--ad {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  #top_hot_wrap .conbox--ad img.ad-rect {
    width: 298px;
    height: 250px;
    max-width: none;
    -o-object-fit: contain;
       object-fit: contain; /* 念のための歪み防止 */
  }
  #top_hot_wrap .conbox--ad .cate {
    border: none;
    color: #222;
  }
}

/* === スマホだけ：スライドの高さを統一（PCは無変更） === */
@media (max-width: 767px) {
  /* 画像は常に同じ比率 ⇒ 画像の高さは固定化 */
  #feat #feat-swiper .media {
    aspect-ratio: 16/9; /* 既に指定があればそれでOK */
    height: auto;
  }
  /* 「画像＋キャプション」を縦並びにして、キャプションの最小高さで揃える */
  #feat #feat-swiper .slide-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  /* タイトル2行＋本文2行ぶんを常に確保（数字は好みで調整） */
  :root {
    --cap-pad-v: .9rem;
    --ttl-fs: 1rem;
    --ttl-lh: 1.5;
    --ttl-lines: 2;
    --txt-fs: .92rem;
    --txt-lh: 1.6;
    --txt-lines: 2;
  }
  #feat #feat-swiper .slide-card .caption {
    padding: var(--cap-pad-v) 1rem;
    min-block-size: calc(var(--cap-pad-v) * 2 + var(--ttl-fs) * var(--ttl-lh) * var(--ttl-lines) + var(--txt-fs) * var(--txt-lh) * var(--txt-lines));
  }
  #feat #feat-swiper .slide-card .caption .ttl {
    font-size: var(--ttl-fs);
    line-height: var(--ttl-lh);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 2行で固定 */
    overflow: hidden;
  }
  #feat #feat-swiper .slide-card .caption .txt {
    font-size: var(--txt-fs);
    line-height: var(--txt-lh);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 2行で固定 */
    overflow: hidden;
  }
  /* 見出しの縦線が高さを押し広げないよう微調整（任意） */
  #feat #feat-swiper .slide-card .caption .ttl::before {
    top: 0.3em;
    bottom: 0.3em;
  }
  /* 1) 覗かせ量を指定（左右それぞれのpx） */
  #feat #feat-swiper {
    --gutter: 16px; /* 画面端の内側余白 */
    --peek: 40px; /* ← ここを 32/40/48px などにアップすると“もっと見える” */
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  /* 2) スライド幅＝画面幅 − 2*(余白 + 覗かせ量) */
  #feat #feat-swiper .swiper-slide {
    width: calc(100vw - 2 * (var(--gutter) + var(--peek)));
  }
}
/* ===== 記事一覧（.hot-系：新規UI） ===== */
.hot-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .hot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
}

.hot-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
}
.hot-card:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hot-thumb {
  aspect-ratio: 16/9;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  background: #f4f4f4;
}

.hot-meta {
  padding: 10px 12px 14px;
}

.hot-cate {
  display: inline-block;
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.hot-ttl {
  line-height: 1.6;
  font-size: 1.5rem;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-txt {
  margin-top: 0.4rem;
  color: #555;
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 微調整（既存の小さい表記を併存運用するなら） */
span.hot-cate {
  font-size: 10px;
}

.hot-txt {
  font-size: 12px;
  color: #999;
}

/* スケルトン */
.skel {
  position: relative;
  background: -webkit-gradient(linear, left top, right top, color-stop(25%, #f0f0f0), color-stop(37%, #eaeaea), color-stop(63%, #f0f0f0));
  background: linear-gradient(90deg, #f0f0f0 25%, #eaeaea 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  -webkit-animation: shimmer 1.2s infinite;
          animation: shimmer 1.2s infinite;
}

@-webkit-keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.skel.thumb {
  aspect-ratio: 16/9;
}

/* ===== 読み込みインジケーター（#hot-progress） ===== */
[hidden] {
  display: none !important;
}

#hot-progress {
  position: sticky;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  font-size: 14px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.5rem;
  margin: 12px auto 0;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  z-index: 10;
  color: #333;
}
#hot-progress.is-fixed {
  position: fixed;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 16px;
  margin: 0;
}
#hot-progress .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  -webkit-animation: hotspin 0.8s linear infinite;
          animation: hotspin 0.8s linear infinite;
}

@-webkit-keyframes hotspin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes hotspin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
/* ===== レイアウト補助（PCで記事カラムを全幅に） ===== */
@media (min-width: 1024px) {
  #contents_wrap .colmun_wrap {
    overflow: hidden;
    padding: 0 0 4em 2em;
  }
  #contents_wrap .colmun_wrap #colmun_article {
    float: left;
    width: 100%;
  }
}
/* もっと見るボタン */
.hot-actions {
  text-align: center;
  margin: 16px 0 32px;
}

#hot-more {
  padding: 0.8em 2em;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
}

#hot-more:hover {
  background: #f9f9f9;
}

#hot-more[disabled] {
  opacity: 0.5;
  cursor: default;
}

#hot-empty {
  text-align: center;
  color: #666;
  margin: 20px 0 40px;
}

/* Instagram */
.sns-ig > a {
  background: #E4405F;
  border: solid 1px #E4405F;
}

.sns-ig > a::before {
  content: "\e901";
  font-family: "icomoon";
  font-weight: normal;
  font-style: normal;
  font-size: 95%;
}

/* LINE */
.sns-line > a {
  background: #00c300;
  border: solid 1px #00c300;
}

.sns-line > a::before {
  content: "\e902";
  font-family: "icomoon";
  font-weight: normal;
  font-style: normal;
  font-size: 95%;
}

/* Pinterest */
.sns-pinterest > a {
  background: #BD081C;
  border: solid 1px #BD081C;
}

.sns-pinterest > a::before {
  content: "\e903";
  font-family: "icomoon";
  font-weight: normal;
  font-style: normal;
  font-size: 95%;
}

/* TikTok */
.sns-tiktok > a {
  background: #000000;
  border: solid 1px #000000;
}

.sns-tiktok > a::before {
  content: "\e904";
  font-family: "icomoon";
  font-weight: normal;
  font-style: normal;
  font-size: 95%;
}

/* X (旧Twitter) */
.sns-x > a {
  background: #000000;
  border: solid 1px #000000;
}

.sns-x > a::before {
  content: "\e90d";
  font-family: "icomoon";
  font-weight: normal;
  font-style: normal;
  font-size: 95%;
}

/* スマホ：総数が奇数のとき、最後の1枚を消す */
@media (max-width: 767px) {
  #hot-list > .hot-item:last-child:nth-child(odd) {
    display: none;
  }
}