/* ------------------------------------------------------------------- HOT新聞 個別（本家構造・新サイト余白準拠） ------------------------------------------------------------------- */

#hot {
  --hot-accent: #0093db;
  --hot-accent: var(--color2, #0093db);
  --hot-text: #333;
  --hot-text: var(--font-color, #333);
  --hot-text-dark: #111;
  --hot-muted: #888;
  --hot-border: #e0e0e0;
  --hot-bg: #f5f5f5;
  --hot-pad: clamp(1.5em, 4vw, 2.5em);
  --hot-pad-wide: clamp(1.25em, 5vw, 3em);
  --hot-gap: 1.5em;
  --hot-gap-md: 2em;
  --hot-gap-lg: clamp(2em, 4vw, 3em);
  --hot-gap-xl: clamp(2.5em, 5vw, 3.5em);
}

#hot:has(.main_title):after {
  display: none;
  content: none;
}

#hot:has(.main_title) .main_title~.inner {
  margin: var(--content-margin) auto 0;
}

#hot .hot_single {
  margin: 0 auto;
  padding: var(--hot-pad-wide);
  padding-bottom: var(--content-margin);
  background: #fff;
}

#hot .hot_single .entry_header {
  margin: 0 auto 1.5em;
  padding: 0 0 1.25em;
  border-bottom: 1px solid var(--hot-border);
  text-align: center;
}

#hot .hot_single .entry_title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--hot-text-dark);
}

#hot .hot-articles {
  background: var(--hot-bg);
  margin: var(--hot-gap-lg) calc(var(--hot-pad-wide) * -1) 0;
  padding: var(--hot-gap-lg) var(--hot-pad-wide) var(--hot-pad-wide);
}

/* ---- 目次ブロック ---- */
#hot .hot_nav.hot-article {
  background: #fff;
  padding: 0;
  margin: 0;
}

#hot .hot_nav .section-heading {
  margin: 0 auto 0.65em;
}

#hot .section-heading {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  margin: 0 auto var(--hot-gap);
  padding: 0;
}

#hot .section-heading p {
  display: inline;
  margin: 0;
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--hot-text-dark);
}

#hot .section-heading div {
  position: relative;
  top: 1px;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: 2px;
  height: 1.05em;
  margin: 0 0.85em;
  background: var(--hot-accent);
  -webkit-transform: skew(-15deg);
  transform: skew(-15deg);
}

#hot .section-heading h2 {
  position: relative;
  top: 1px;
  margin: 0;
  height: auto;
  max-height: none;
  font-family: var(--font-body);
  font-size: var(--font-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--hot-text-dark);
  text-align: left;
}

#hot .hot-desc {
  margin: 0 auto var(--hot-gap-md);
  padding: 0 0 var(--hot-gap-md);
  border-bottom: 1px solid var(--hot-border);
  font-size: var(--font-size);
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--hot-text);
}

#hot .hot-anchors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75em 2.75em;
  margin: 0;
  padding: 0;
  list-style: none;
}

#hot .hot-anchors>li {
  width: auto;
  min-width: 0;
  margin: 0;
}

#hot .hot-anchors a {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  gap: 1.25em;
  height: 100%;
  min-height: 5.5em;
  padding: 0.35em 0;
  color: inherit;
  text-decoration: none;
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#hot .hot-anchors a:hover {
  opacity: 1;
}

#hot .hot-anchors a:hover .article-thumbnail img {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

#hot .hot-anchors a:hover .article-title {
  color: var(--hot-accent);
}

#hot .article-thumbnail {
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: 11.5em;
  max-width: 42%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--hot-bg);
}

#hot .article-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-transition: -webkit-transform 0.25s ease;
  transition: transform 0.25s ease;
}

#hot .article-thumbnail-empty {
  background: transparent;
}

#hot .article-text {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  margin: 0;
  min-width: 0;
}

#hot .article-text-inner {
  position: static;
  top: auto;
  -webkit-transform: none;
  transform: none;
  color: var(--hot-text-dark);
  font-weight: 700;
}

#hot .article-category {
  margin: 0 0 0.5em;
  color: var(--hot-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

#hot .article-title {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: baseline;
  -webkit-align-items: baseline;
  align-items: baseline;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

#hot .article-title span {
  margin-right: 0.2em;
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: var(--hot-accent);
}

#hot .article-title span:after {
  content: ".";
}

/* ---- 記事一覧 ---- */
#hot .hot_article_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#hot .hot_article_list>li:not(:first-child) {
  margin-top: var(--hot-gap-lg);
}

#hot .hot_article_list .hot-article {
  /* インライン background（url / 色）が無いときのフォールバック */
  background-color: #fff;
  background-repeat: no-repeat;
  padding: var(--hot-pad);
}

#hot .hot_article_list .meta {
  margin: 0 0 0.75em;
}

#hot .hot_article_list .category {
  display: inline-block;
  min-width: 7em;
  padding: 0.35em 0.85em;
  background: #6cb31f;
  background: var(--category-color, #6cb31f);
  color: #fff;
  font-weight: 700;
  font-size: 0.85em;
  line-height: 1.4;
  text-align: center;
}

#hot .hot_article_title {
  margin: 0 0 0.75em;
  font-family: var(--font-body);
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--hot-accent);
}

#hot .hot_article_title .num {
  margin-right: 0.35em;
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: clamp(22px, 3vw, 28px);
}

#hot .hot_article_title .num:after {
  content: ".";
}

#hot .hot-content {
  margin: var(--hot-gap) 0 0;
  padding: 0;
}

/* ---- CMS 本文 ---- */
#hot .cms-content {
  width: 100%;
  margin: 0;
  color: var(--hot-text);
  font-size: var(--font-size);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

#hot .cms-content>*:first-child {
  margin-top: 0;
}

#hot .cms-content h1 {
  margin: var(--hot-gap-lg) 0 var(--hot-gap);
  padding: 0.85em 1em;
  background: var(--hot-bg);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--hot-text-dark);
}

#hot .cms-content h2 {
  margin: var(--hot-gap-md) 0 var(--hot-gap);
  padding: 0 0 0.5em;
  border-bottom: 1px solid var(--hot-border);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--hot-accent);
}

#hot .cms-content h3 {
  margin: var(--hot-gap-md) 0 0.65em;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--hot-accent);
}

#hot .cms-content p {
  margin: 0 0 var(--text-margin);
}

#hot .cms-content p:last-child {
  margin-bottom: 0;
}

#hot .cms-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: var(--hot-gap) auto;
}

#hot .cms-content iframe.yab_google_maps_embed,
#hot .cms-content iframe[src*="google.com/maps/embed"],
#hot .cms-content iframe[src*="google.co.jp/maps/embed"],
#hot .hot_youtube_lead iframe.yab_google_maps_embed,
#hot .hot_youtube_lead iframe[src*="google.com/maps/embed"],
#hot .hot_youtube_lead iframe[src*="google.co.jp/maps/embed"] {
  max-width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
}

#hot .cms-content iframe.yab_youtube_embed,
#hot .cms-content iframe[src*="youtube.com"],
#hot .cms-content iframe[src*="youtube-nocookie.com"],
#hot .hot_youtube_lead iframe.yab_youtube_embed,
#hot .hot_youtube_lead iframe[src*="youtube.com"],
#hot .hot_youtube_lead iframe[src*="youtube-nocookie.com"] {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: var(--hot-gap) auto 0;
  border: 0;
  aspect-ratio: 16 / 9;
}

#hot .cms-content iframe {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: var(--hot-gap) auto 0;
  border: 0;
  aspect-ratio: 16 / 9;
}

#hot .cms-content blockquote {
  margin: var(--hot-gap) 0;
  color: var(--hot-muted);
}

#hot .cms-content strong {
  color: var(--hot-accent);
  font-weight: 700;
}

#hot .cms-content a {
  color: var(--hot-accent);
  text-decoration: underline;
}

#hot .cms-content a:hover {
  opacity: 0.85;
}

#hot .cms-content ul {
  margin: 0 0 var(--text-margin) 1.5em;
  list-style: disc;
}

#hot .cms-content ol {
  margin: 0 0 var(--text-margin) 1.5em;
}

#hot .cms-content em {
  display: block;
  margin-top: -0.5em;
  color: var(--hot-muted);
  font-size: 0.9em;
  text-align: center;
}

/* ---- YouTube ---- */
#hot .hot_youtube_block {
  margin-top: var(--hot-gap-lg);
  padding: var(--hot-pad);
  background: #fff;
}

#hot .hot_youtube_block .section-heading {
  margin-bottom: var(--hot-gap);
}

#hot .hot_youtube_lead {
  margin: 0 auto var(--hot-gap);
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--hot-text);
  font-size: var(--font-size);
}

#hot .hot_youtube_lead p {
  margin: 0 0 var(--hot-gap);
}

#hot .hot_youtube_lead p:last-child {
  margin-bottom: 0;
}

#hot .hot_youtube_lead h1 {
  margin: var(--hot-gap-lg) 0 var(--hot-gap);
}

#hot .hot_youtube_lead h1:first-child {
  margin-top: 0;
}

#hot .movie_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#hot .movie_list .movie_item {
  margin: 0;
  border-bottom: 1px solid var(--hot-border);
}

#hot .movie_list .movie_item:last-child {
  border-bottom: none;
}

#hot .movie_list .movie_link {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 1em;
  padding: 0.85em 0;
  color: var(--hot-text-dark);
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

#hot .movie_list .movie_link:hover {
  color: var(--hot-accent);
}

#hot .movie_list .movie_link time {
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  min-width: 6.5em;
  font-weight: 700;
  font-size: 0.9em;
  white-space: nowrap;
}

#hot .movie_list .movie_title {
  -webkit-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
  line-height: 1.55;
  font-weight: 700;
}

/* ---- 過去号リンク（view_link 共通） ---- */
#hot .hot_archive_link {
  margin: var(--hot-gap-lg) 0 0;
}

@media screen and (max-width: 1024px) {
  #hot .hot-articles {
    margin-left: calc(var(--hot-pad-wide) * -1);
    margin-right: calc(var(--hot-pad-wide) * -1);
  }

  #hot .hot-anchors {
    gap: 1.5em 2em;
  }

  #hot .article-thumbnail {
    width: 10em;
    max-width: 40%;
  }
}

@media screen and (max-width: 768px) {
  #hot .hot_single {
    padding: var(--hot-pad);
    padding-bottom: calc(var(--content-margin) * 0.75);
  }

  #hot .section-heading div {
    margin: 0 0.65em;
  }

  #hot .hot-anchors {
    grid-template-columns: 1fr;
    gap: 1.35em;
  }

  #hot .hot-anchors a {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    min-height: 0;
    padding: 0;
  }

  #hot .article-thumbnail {
    width: 9.5em;
    max-width: 38%;
  }

  #hot .hot_article_list .category {
    display: block;
    width: 10em;
    max-width: 100%;
  }

  #hot .movie_list .movie_link {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 0.35em 1em;
  }
}
