@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=EB+Garamond:wght@500&family=Bellefair&display=swap");

/* ---------- Reset ---------- */
html {
  font-size: 62.5%;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
}

/* 1rem = 10px */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, ul, ol, dl, dd, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

p {
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

/* ---------- Tokens ---------- */
:root {
  --main-color: #dd7093;
  --main-color-dark: #cf4773;
  --text: #4a2c2a;
  --text-light: #917f7e;
  --bg-soft: #fbf5f5;
  --bg-pink-pale: #fff5f5;
  --border-soft: #ece1e1;
  --max-width: 128rem;
  --transition: 0.2s ease;
  --text-muted: #6b5353;
  --border-blue: #e1dfec;
  --bg-code: #fff0f7;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  /* 62.5%指定時の既定16px相当。ここが未指定要素の基準値になる */
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  min-width: var(--max-width);
}

.en {
  font-family: "Bellefair", serif;
}

.num {
  font-family: "EB Garamond", serif;
}

@media (max-width: 64em) {
  body {
    min-width: initial;
  }
}

/* ---------- Container ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  max-width: 144rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
}

.site-header__logo {
  font-size: 2rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-header__nav {
  display: flex;
  gap: 2.4rem;
  font-size: 1.4rem;
  margin-left: 4.9rem;
}

.site-header__nav-actions {
  display: none;
}

.site-header__nav ul {
  display: flex;
  gap: 2.4rem;
}

.site-header__nav ul li a:hover {
  color: var(--main-color);
}

.site-header__nav-arrow {
  display: none;
}

.site-header__group {
  display: flex;
  align-items: center;
  flex: 1;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.icon-search-btn {
  display: inline-flex;
  align-items: center;
}

.icon-search {
  width: 2.4rem;
  height: 2.4rem;
  margin: auto;
}

.site-header__search {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-soft);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  padding: 2rem;
  align-items: center;
  gap: 1.6rem;
}
.site-header__searchInner{
  max-width: var(--max-width);
  margin-inline: auto;
}

.site-header__search.is-open {
  display: flex;
  justify-content: center;
}

.site-header__search-form {
  flex: 1;
  max-width: var(--max-width);
  margin: 0;
}

.site-header__search-field {
  position: relative;
}

.site-header__search-input {
  width: 100%;
  border: none;
  border-radius: 10rem;
  padding: 1.6rem 5.6rem 1.6rem 2.4rem;
  font-size: 1.6rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}

.site-header__search-input:focus {
  outline: none;
}

.site-header__search-submit {
  position: absolute;
  top: 50%;
  right: 1.6rem;
  transform: translateY(-50%);
  display: flex;
}

.site-header__search-submit img {
  width: 2rem;
  height: 2rem;
}

.site-header__search-close {
  position: relative;
  flex-shrink: 0;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  border: 0.1rem solid var(--border-soft);
}

.site-header__search-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.6rem;
  height: 0.1rem;
  background: var(--text);
}

.site-header__search-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header__search-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--main-color);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 1rem 1.3rem 1rem 2rem;
  padding: 1rem 1.8rem;
  border-radius: 10rem;
  white-space: nowrap;
}

.btn-subscribe:hover {
  filter: saturate(1.2);
}

.btn-subscribe img {
  width: 1.8rem;
  height: 1.8rem;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #06c755;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 1rem 1.8rem;
  border-radius: 10rem;
  white-space: nowrap;
}

.btn-line__icon {
  width: 1.8rem;
  height: 1.8rem;
}

.btn-line:hover {
  filter: saturate(1.2);
}

.header-hamburger {
  display: none;
  position: relative;
  z-index: 210;
  width: 2.8rem;
  height: 1.4rem;
  flex-direction: column;
  justify-content: space-between;
  margin: auto;
}

.header-hamburger span {
  display: block;
  height: 0.1rem;
  background: var(--text);
  transition: var(--transition);
}

.header-hamburger.is-active span:nth-child(1) {
  transform: translateY(0.55rem) rotate(45deg);
}

.header-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header-hamburger.is-active span:nth-child(3) {
  transform: translateY(-0.55rem) rotate(-45deg);
}

@media (max-width: 64em) {
  .site-header__inner {
    padding: 0rem 1.6rem;
    height: 5.2rem;
  }

  .site-header__actions {
    align-self: stretch;
  }

  .site-header__nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 200;
    width: 32rem;
    max-width: 80%;
    height: 100vh;
    height: 100dvh;
    margin-left: 0;
    background: #fff;
    padding: 6.4rem 0 2.4rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .site-header__nav.is-open {
    transform: translateX(0);
    box-shadow: -0.5rem 0 1rem rgba(0, 0, 0, 0.1);
  }

  .site-header__nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-header__nav ul li {
    border-bottom: 0.1rem solid var(--border-soft);
  }

  .site-header__nav ul li a {
    font-size: 1.6rem;
    padding: 1.6rem 1.6rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header__nav-arrow {
    display: block;
    width: 2.0rem;
    flex-shrink: 0;
  }

  .site-header__nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.4rem 1.6rem 0;
  }

  .site-header__nav-actions .btn-subscribe,
  .site-header__nav-actions .btn-line {
    font-size: 1.4rem;
    justify-content: center;
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 0.8rem;
  }

  .header-hamburger {
    display: flex;
  }
}

@media (max-width: 48em) {
  .site-header__inner {
    padding: 0 1.0rem;
  }

  .site-header__actions {
    gap: 0rem;
    align-items: stretch;
  }

  .site-header__logo {
    font-size: 1.2rem;
  }

  .icon-search {
    width: 2.0rem;
    height: 2.0rem;
    margin-right: 0.8rem;
  }

  .btn-subscribe {
    padding: 0.8rem 0.8rem 0.8rem 1.7rem;
    font-size: 1.2rem;
  }

  .site-header__actions .btn-line,
  .site-header__actions .btn-subscribe {
    flex-direction: column;
    border-radius: 0;
    height: 100%;
    padding: 0.8rem;
    gap: 0.2rem;
    justify-content: center;
    font-size: 1.0rem;
  }

  .header-hamburger {
    margin-left: 0.8rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #3a2630;
  color: #fff;
  text-align: center;
  padding: 4.8rem 0rem 0;
}

.site-footer__inner {
  padding-inline: 2rem;
}

.site-footer__logo {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2.4rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  font-size: 1.2rem;
  margin-bottom: 2.4rem;
}

.site-footer__nav li+li {
  border-left: 0.1rem solid rgba(255, 255, 255, 0.4);
  padding-left: 1.6rem;
}

.site-footer__sns {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.site-footer__sns img {
  width: 2.5rem;
  height: 2.6rem;
}

.site-footer__copyright {
  font-size: 1.2rem;
  background: #2a1820;
  padding: 1.6rem;
  margin-top: 2.4rem;
}

/* ---------- btn ---------- */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  border: 0.1rem solid var(--main-color);
  color: #fff;
  border-radius: 10rem;
  padding: 1.0rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  position: relative;
  min-width: 28rem;
}

.btn-primary:hover {
  filter: saturate(1.2);
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 0.1rem solid var(--main-color);
  color: var(--main-color);
  border-radius: 10rem;
  padding: 1.0rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  position: relative;
  min-width: 28rem;
}

.btn-outline__black {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 0.1rem solid var(--main-color);
  color: var(--main-color);
  border-radius: 10rem;
  padding: 1.0rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  position: relative;
  border: 0.1rem solid var(--text);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--main-color);
  color: #fff;
  opacity: 1;
}

.btn-outline__black:hover {
  background: var(--text);
  color: #fff;
  opacity: 1;
}

.btn-outline:hover img,
.btn-outline__black:hover img {
  filter: brightness(0) invert(1);
}

.btn-primary img,
.btn-outline img,
.btn-outline__black img {
  width: 2.4rem;
  height: 2.4rem;
  position: absolute;
  right: 1.0rem;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 0.1rem solid var(--text);
  border-radius: 10rem;
  padding: 0.6rem 0.8rem 0.6rem 1.6rem;
  font-size: 1.3rem;
  color: var(--text);
}

.btn-sm:hover {
  opacity: 0.8;
}

.btn-sm--white {
  border: 0.1rem solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-sm--pink {
  border: 0.1rem solid var(--main-color);
  color: var(--main-color);
  background: #fff;
}

.btn-sm img {
  width: 1.8rem;
  height: 1.8rem;
}

/* ---------- Tag ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.4rem 0.8rem 0.5rem;
  border-radius: 0.2rem;
  white-space: nowrap;
  transition: var(--transition);
  z-index: 1;
  position: relative;
}

.tag:hover {
  filter: saturate(1.2);
}

.tag--outline {
  display: inline-flex;
  align-items: center;
  font-size: 1.3rem;
  color: var(--main-color-dark);
  padding: 0.6rem 1.6rem 0.6rem 1.4rem;
  border-radius: 0.2rem;
  background: #fff;
  border: 0.1rem solid var(--main-color-dark);
}

.tag--outline img {
  width: 1.8rem;
  height: 1.8rem;
}

.tag--outline:hover {
  background: var(--main-color);
  color: #fff;
}

/* ---------- Section heading ---------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.4rem;
  font-weight: 500;
}

.section-title::before {
  content: "";
  display: block;
  width: 0.4rem;
  height: 2.8rem;
  background: var(--main-color);
}

.en-title {
  font-family: "Bellefair", serif;
  color: var(--main-color);
  font-size: 4rem;
  letter-spacing: 0.1rem;
  line-height: 1;
}

.news-block {
  min-width: 0;
}

.news-block__header {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  margin-bottom: 1.0rem;
}

.news-block__header .en-title {
  font-size: 2.6rem;
}

.keyword-section__header .en-title {
  font-size: 4.8rem;
}

.keyword-section__header h2 {
  font-size: 1.8rem;
}

.ranking-block__header .en-title {
  font-size: 6.4rem;
}

.news-block__header h2,
.ranking-block__header h2 {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0;
}

@media (max-width: 48em) {
  .section-title {
    font-size: 1.8rem;
  }

  .section-title::before {
    height: 2.3rem;
    width: 0.3rem;
  }

  .en-title {
    font-size: 3rem;
  }

  .news-block__header {
    display: block;
  }

  .news-block__header .en-title {
    font-size: 3.5rem;
  }

  .ranking-block__header .en-title {
    font-size: 3.5rem;
  }

  .news-block {
    padding-inline: 2.0rem;
  }

  .news-block__header h2, .ranking-block__header h2 {
    display: block;
    font-size: 1.8rem;
  }
}

/* ---------- Article card (grid, top page category sections) ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.article-card {
  position: relative;
  transition: var(--transition);
}

@media (hover: hover) {
  .article-card:hover {
    cursor: pointer;
    opacity: 0.8;
  }
}

.article-card>a:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.article-card__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.article-card:hover .article-card__thumb img {
  transform: scale(1.03);
}

.article-card__date {
  font-family: "EB Garamond", serif;
  color: var(--text-light);
  font-size: 1.6rem;
}

.article-card__title {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0.4rem 0 1.4rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.article-card .tag {
  min-width: 14rem;
  height: 2.6rem;
}

.category-section {
  padding: 4rem 0;
}

.category-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.btn-all {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.btn-all img {
  width: 2.0rem;
  height: 2.0rem;
}

.btn-all:hover {
  opacity: 0.8;
}

@media (max-width: 64em) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem 2.4rem;
  }
}

@media (max-width: 48em) {
  .category-section>.container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.2rem;
  }

  .article-card__title {
    font-size: 1.4rem;
    margin: 0.6rem 0 1rem;
  }

  .article-card__date {
    font-size: 1.3rem;
  }

  .article-card .tag {
    height: auto;
    min-width: auto;
  }

  .category-section {
    padding: 3rem 0;
  }

  .category-section__head {
    display: contents;
  }

  .btn-all {
    width: 100%;
    justify-content: center;
    border: 0.1rem solid var(--text);
    border-radius: 10rem;
    padding: 1.0rem 2rem;
    order: 2;
    margin-top: 2.0rem;
    position: relative;
  }

  .btn-all img {
    position: absolute;
    right: 1.2rem;
    width: 2.4rem;
    height: 2.4rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  /* background: var(--bg-soft); */
  padding: 0 0 6rem;
}

.hero-top-band {
  background: #F2F2F2;
  padding: 4rem 0 3.2rem;
}

.hero-top-band>.container {
  min-width: var(--max-width);
}

.hero-row {
  display: grid;
  gap: 3.2rem;
  align-items: start;
}

.hero-row--top {
  grid-template-columns: 1.6fr 1fr;
  align-items: stretch;
}

.hero-row--bottom {
  grid-template-columns: 1.2fr 2fr;
  margin-top: 6rem;
  align-items: stretch;
}

/* プレゼント企画が無いとき（.present-banner非表示）、最新号を単独で幅いっぱいに広げる */
.hero-row--bottom.hero-row--bottom-single {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin-inline: auto;
}

.latest-issue {
  background: linear-gradient(180deg, #585b70, #030b33);
  box-shadow: 0.4rem 0.4rem 1rem rgba(0, 0, 0, 0.1);
  padding: 2.4rem;
  display: flex;
  gap: 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.latest-issue__badge {
  font-family: "Bellefair", serif;
  font-size: 6rem;
  opacity: 0.15;
  position: absolute;
  top: 0rem;
  right: 2rem;
}

.latest-issue__cover {
  width: 12.7rem;
  flex-shrink: 0;
}

.latest-issue__tag {
  display: inline-block;
  background: #fff;
  color: #2d0530;
  font-size: 1.8rem;
  padding: 0.4rem 1rem;
  margin-bottom: 0.8rem;
}

.latest-issue__title {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.latest-issue__date {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.news-block__slider {
  position: relative;
  min-width: 0;
}

.news-block__dots {
  display: none;
}

.news-block__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--border-soft);
  padding: 0;
  transition: var(--transition);
}

.news-block__dot.is-active {
  background: var(--main-color);
}

/* PC/タブレット幅（65em超）向け：4件同時表示のティッカー（JSのinitTickerSliderがtransform/opacityを直接制御） */
.news-list {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.news-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  height: 120px;
  background: #fff;
  border: 0.1rem solid rgba(255, 255, 255, 0.6);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.news-card>a:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media (hover: hover) {
  .news-card:hover {
    cursor: pointer;
    opacity: 0.8;
  }
}

.news-card__thumb {
  width: 9.5rem;
  height: 9.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.news-card:hover .news-card__thumb img {
  transform: scale(1.03);
}

.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.news-card__title {
  font-weight: 500;
  font-size: 1.4rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.news-card__date {
  font-size: 1.3rem;
  color: var(--text-light);
  font-family: "EB Garamond", serif;
}

@media (max-width: 64em) {
  .hero-top-band {
    background: #fff;
  }

  .hero-row--top, .hero-row--bottom {
    grid-template-columns: 1fr;
  }

  .hero-top-band>.container {
    min-width: initial;
  }

  /* 64em以下（タブレット・スマホ）は元の仕様（3件・横スクロールページ送り）に戻す */
  .news-list {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(1, auto);
    grid-auto-columns: calc((100% - 3.2rem) / 3);
    column-gap: 2.0rem;
    row-gap: 1.0rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .news-list::-webkit-scrollbar {
    display: none;
  }

  .news-card:nth-child(3n+1) {
    scroll-snap-align: start;
  }

  .news-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    transition: var(--transition);
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    gap: 0.8rem;
  }

  .news-card__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .news-card__body {
    gap: 0.6rem;
  }

  .news-card__date {
    display: block;
  }
}

@media (max-width: 48em) {
  .hero {
    padding: 0 0 2.0rem;
  }

  .hero-top-band {
    padding-top: 0;
  }

  .hero-top-band>.container {
    padding: 0 0 0;
  }

  .news-list {
    column-gap: 1.6rem;
  }

  .news-block__dots {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.6rem;
  }

  .latest-issue__tag {
    font-size: 1.4rem;
    padding: 0.2rem 1.0rem;
  }

  .news-card .icon-arrow-black {
    display: none;
  }

  .hero-row--bottom {
    margin-top: 3.2rem;
  }

  .latest-issue {
    flex-direction: row;
    padding: 1.8rem;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .latest-issue__title {
    margin-bottom: 0.8rem;
  }

  .latest-issue__cover {
    width: 12rem;
  }
}

/* ---------- Ranking ---------- */
.ranking-block {
  padding-top: 6rem;
}

.ranking-block__headerWrap {
  display: flex;
  gap: 6.4rem;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 3.2rem;
}

.ranking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.0rem;
  margin: 1.6rem 0 2.4rem;
}

.ranking-tabs button {
  padding: 1.1rem 1.6rem;
  border-radius: 10rem;
  font-size: 1.4rem;
  line-height: 1;
  background: #ededed;
  color: #696969;
  min-width: 7.0rem;
}

.ranking-tabs button:hover {
  background: var(--main-color);
  color: #fff;
}

.ranking-tabs button.is-active {
  background: var(--main-color);
  color: #fff;
}

.ranking-list {
  display: none;
  flex-direction: column;
  max-width: 78.0rem;
  margin-inline: auto;
}

.ranking-list.is-active {
  display: flex;
}

.ranking-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.4rem 0;
  transition: var(--transition);
}

@media (hover: hover) {
  .ranking-item:hover {
    cursor: pointer;
    opacity: 0.8;
  }
}

.ranking-item+.ranking-item {
  border-top: 0.1rem dashed var(--border-soft);
}

.ranking-item>a:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ranking-item__rank {
  width: 3.4rem;
  height: 3.4rem;
  flex-shrink: 0;
}

.ranking-item__thumb {
  width: 8.5rem;
  height: 8.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.ranking-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.ranking-item:hover .ranking-item__thumb img {
  transform: scale(1.03);
}

.ranking-item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ranking-item__title {
  font-size: 1.6rem;
}

.icon-arrow-black {
  width: 2.4rem;
  flex-shrink: 0;
}

@media (max-width: 48em) {
  .ranking-block {
    background: var(--bg-soft);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4.0rem 2rem;
  }

  .ranking-tabs button {
    font-size: 1.2rem;
    padding: 1.0rem 1.2rem;
    flex: 0 0 auto;
    background: #fff;
  }

  .ranking-item__thumb {
    width: 8rem;
    height: 8rem;
  }

  .ranking-item__title {
    font-size: 1.4rem;
  }

  .ranking-block__headerWrap {
    display: block;
    margin-bottom: 1.0rem;
  }

  .ranking-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
  }

  .ranking-tabs::-webkit-scrollbar {
    display: none;
  }

  .ranking-item__rank {
    position: absolute;
    top: 0.8rem;
    left: -0.8rem;
    width: 2.8rem;
    height: 2.8rem;
  }

  .ranking-item {
    gap: 1.2rem;
  }
}

/* ---------- Present banner ---------- */
.present-banner {
  background: var(--bg-pink-pale) url("../images/banner-present-bg.png") center / cover no-repeat;
  box-shadow: 0.4rem 0.4rem 1rem rgba(167, 44, 44, 0.05);
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 2.4rem;
}

.present-banner__thumb {
  width: 16.5rem;
  flex-shrink: 0;
}

.present-banner__content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.present-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--main-color);
  color: #fff;
  border-radius: 10rem;
  padding: 0rem 1.8rem;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1;
  height: 3.6rem;
  margin: 0 auto 1.2rem 0;
  white-space: nowrap;
}


.present-banner__badge .num {
  font-size: 2.8rem;
}

.present-banner__badge .gou {
  position: relative;
  top: -0.4rem;
}

.present-banner__badge .en {
  font-size: 1.7rem;
}

.present-banner__title {
  font-weight: 700;
  font-size: 1.8rem;
  width: 38rem;
  margin-bottom: 1.2rem;
}

.present-banner .btn-sm {
  margin: 0 0 0 auto;
}

@media (max-width: 48em) {
  .present-banner {
    flex-direction: row;
    padding: 2.0rem 1.8rem;
    gap: 1.6rem;
    align-items: flex-start;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .present-banner__thumb {
    width: 12rem;
  }

  .present-banner__badge {
    font-size: 1.2rem;
    height: 2.6rem;
    margin-bottom: 1.0rem;
    padding: 0 1.2rem;
  }

  .present-banner__badge .en {
    font-size: 1.4rem;
  }

  .present-banner__badge .num {
    font-size: 2.4rem;
  }

  .present-banner__title {
    font-size: 1.5rem;
    width: auto;
  }

  .present-banner .btn-sm {
    margin: 1.2rem auto 0 0;
  }
}

/* ---------- Main visual banner ---------- */
.main-banner {
  position: relative;
  min-width: 0;
  background: #fff;
}

.main-banner__dots {
  display: none;
}

.main-banner__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--border-soft);
  padding: 0;
  transition: var(--transition);
}

.main-banner__dot.is-active {
  background: var(--main-color);
}

.main-banner__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.main-banner__track::-webkit-scrollbar {
  display: none;
}

.main-banner__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  transition: var(--transition);
}

.main-banner__slide>a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media (hover: hover) {
  .main-banner__slide:hover {
    cursor: pointer;
    opacity: 0.8;
  }
}

.main-banner__prev,
.main-banner__next {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  /* width: 4.2rem;
  height: 4.2rem; */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.main-banner__prev {
  left: 1.2rem;
}

.main-banner__next {
  right: 1.2rem;
}

.main-banner__prev img,
.main-banner__next img {
  width: 2.8rem;
}

.main-banner__prev img {
  transform: scaleX(-1);
}

.main-banner__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0.1rem 0.1rem 0 rgba(0, 0, 0, 0.07);
}

.main-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.main-banner__slide:hover .main-banner__image img {
  transform: scale(1.03);
}

.main-banner__caption {
  background: #fff;
  padding: 1.4rem 2.4rem 2.0rem;
}

.main-banner__title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.main-banner__desc {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

@media (max-width: 48em) {
  .main-banner {
    padding-bottom: 1.5rem;
  }

  .main-banner__caption {
    padding: 1.6rem;
  }

  .main-banner__title {
    font-size: 1.8rem;
  }

  .main-banner__desc {
    font-size: 1.2rem;
  }

  .main-banner__prev,
  .main-banner__next {
    display: none;
  }

  .main-banner__dots {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: absolute;
    bottom: 1.2rem;
    left: 0;
    width: 100%;
    z-index: 5;
  }
}

/* ---------- Keyword tag cloud ---------- */
.keyword-section {
  padding: 6rem 0;
  text-align: center;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.4rem;
}

/* ---------- Archive page ---------- */
.archive-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 31rem;
  overflow: hidden;
  background: var(--bg-soft) url("../images/archive-hero-bg.png") left center / cover no-repeat;
}

.archive-hero__text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 4rem 6rem;
  padding: 4rem 2rem;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.archive-hero__title {
  font-size: 4.2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  margin-bottom: 1.2rem;
}

.archive-hero__en {
  font-family: "Bellefair", serif;
  font-size: 2.6rem;
  letter-spacing: 0.1rem;
  color: var(--text-light);
}

.archive-hero__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%);
  mask-image: linear-gradient(to right, transparent, #000 10%);
}

.archive-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 32rem;
  gap: 6rem;
  max-width: var(--max-width);
  margin: 4.0rem auto 0;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  align-items: start;
}

.archive-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 2.4rem 0;
  border-bottom: 0.1rem solid var(--border-soft);
  transition: var(--transition);
}

.archive-item>a:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.archive-item .tag {
  min-width: 14rem;
  height: 2.6rem;
}

@media (hover: hover) {
  .archive-item:hover {
    cursor: pointer;
    opacity: 0.8;
  }
}

.archive-item__thumb {
  width: 15.8rem;
  height: 15.8rem;
  flex-shrink: 0;
  overflow: hidden;
}

.archive-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.2rem;
  transition: transform var(--transition);
}

.archive-item:hover .archive-item__thumb img {
  transform: scale(1.03);
}

.archive-item__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.archive-item__title {
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.archive-item__date {
  font-family: "EB Garamond", serif;
  color: var(--text-light);
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.archive-item__arrow {
  width: 2.4rem;
  flex-shrink: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: 4rem;
}

.pagination button, .pagination a, .pagination .page-numbers {
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 0.2rem;
}

.pagination .is-active, .pagination .current {
  background: var(--text);
  color: #fff;
}

.pagination img {
  width: 2.4rem;
}

.pagination__prev img, .pagination .prev img {
  transform: scaleX(-1);
}

.sidebar-block {
  margin-bottom: 4rem;
}

.sidebar-block__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 0.1rem solid var(--border-soft);
  padding-bottom: 1.0rem;
  margin-bottom: 2rem;
}

.sidebar-block__head::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 2.2rem;
  background: var(--main-color);
}

.sidebar-block__head-jp {
  font-weight: 700;
  font-size: 1.4rem;
}

.sidebar-block__head-en {
  font-family: "Bellefair", serif;
  font-size: 2.8rem;
  line-height: 1;
}

.side-ranking-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2rem;
  position: relative;
  transition: var(--transition);
}

.side-ranking-item>a:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media (hover: hover) {
  .side-ranking-item:hover {
    cursor: pointer;
    opacity: 0.8;
  }
}

.side-ranking-item__rank {
  width: 2.7rem;
  height: 2.7rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.side-ranking-item:nth-of-type(1) .side-ranking-item__rank {
  background: #dfac2a;
}

.side-ranking-item:nth-of-type(2) .side-ranking-item__rank {
  background: #a5a5a5;
}

.side-ranking-item:nth-of-type(3) .side-ranking-item__rank {
  background: #7f6929;
}

.side-ranking-item:nth-of-type(4) .side-ranking-item__rank,
.side-ranking-item:nth-of-type(5) .side-ranking-item__rank {
  background: var(--main-color);
}

.side-ranking-item__thumb {
  width: 9.6rem;
  height: 9.6rem;
  flex-shrink: 0;
  overflow: hidden;
}

.side-ranking-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.2rem;
  transition: transform var(--transition);
}

.side-ranking-item:hover .side-ranking-item__thumb img {
  transform: scale(1.03);
}

.side-ranking-item__title {
  font-size: 1.4rem;
  /* margin-bottom: 0.8rem; */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.side-ranking-item__date {
  font-family: "EB Garamond", serif;
  font-size: 1.2rem;
  color: var(--text-light);
}

.magazine-box {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.magazine-box__card {
  background: var(--bg-pink-pale);
  border-radius: 0.4rem;
  padding: 2.4rem;
}

.magazine-box__label {
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 400;
  padding: 0.8rem 0;
  letter-spacing: 0.10em;
  margin-bottom: 1.6rem;
}

.magazine-box__label::before,
.magazine-box__label::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.1rem;
  background: var(--text);
}

.magazine-box__label::before {
  top: 0;
}

.magazine-box__label::after {
  bottom: 0;
}

.magazine-box__main {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}

.magazine-box__vertical {
  writing-mode: vertical-rl;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0.4rem;
  flex-shrink: 0;
  margin-left: 0.4rem;
}

.magazine-box__cover {
  flex: 1;
}

.magazine-box__cover img {
  width: 100%;
  border-radius: 0.2rem;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.1);
}

.magazine-box__title {
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.magazine-box__date {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.magazine-box__actions {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  justify-content: center;
  align-items: center;
}

.sidebar-block .btn-primary,
.sidebar-block .btn-outline__black {
  width: 26rem;
  margin-inline: auto;
}

@media (max-width: 64em) {
  .archive-hero {
    height: 28rem;
  }

  .archive-layout {
    grid-template-columns: 1fr;
  }

  .archive-hero__text {
    padding: 3rem;
  }
}

@media (max-width: 48em) {
  .archive-hero {
    height: 12.4rem;
  }

  .archive-hero__text {
    padding: 0 2.4rem;
  }

  .archive-hero__title {
    font-size: 2rem;
    margin-bottom: 0rem;
  }

  .archive-hero__en {
    font-size: 1.4rem;
  }

  .archive-item {
    gap: 1.6rem;
    align-items: flex-start;
    padding: 1.6rem 0;
  }

  .archive-item__thumb {
    width: 8.7rem;
    height: 8.7rem;
  }

  .archive-item__title {
    font-size: 1.4rem;
  }

  .archive-item__date {
    font-size: 1.2rem;
  }

  .archive-item .tag {
    min-width: 9.8rem;
    height: 2.4rem;
  }
}

/* ---------- Tag ---------- */
.breadcrumb {
  font-size: 1.2rem;
  padding: 3.2rem 0;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text);
}

.single .breadcrumb {
  background: #F9F9F9;
  padding: 2.0rem 0;
  margin-bottom: 4.0rem;
}

@media (max-width: 48em) {
  .breadcrumb {
    padding: 2.0rem 0;
  }

}

/* ---------- Article page (single) ---------- */
#c-wysiwyg {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  min-width: 0;
}

#c-wysiwyg .article-header {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

#c-wysiwyg .article-header__meta {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

#c-wysiwyg .article-header__date {
  font-size: 1.6rem;
  color: var(--text-light);
}

#c-wysiwyg .article-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
}

#c-wysiwyg .article-divider {
  border: none;
  border-top: 0.1rem solid var(--border-soft);
  margin: 0;
}

#c-wysiwyg .article-eyecatch {
  /* aspect-ratio: 16 / 9; */
  /* overflow: hidden; */
}

#c-wysiwyg .article-eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#c-wysiwyg .article-content>* {
  margin-top: 4.0rem;
}

#c-wysiwyg .article-content>.wp-block-paragraph,
#c-wysiwyg .wp-block-column p {
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text);
  margin-top: 2rem;
}

#c-wysiwyg .article-content>*:first-child {
  margin-top: 0;
}

#c-wysiwyg .article-content>h2.wp-block-heading {
  border-left: 0.4rem solid var(--main-color);
  padding-left: 2rem;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 4.0rem;
}

#c-wysiwyg .article-content>h3 {
  position: relative;
  padding: 1.56rem 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 4.0rem;
}

#c-wysiwyg .article-content>h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.8rem;
  height: 0.2rem;
  background: var(--main-color);
}

#c-wysiwyg .article-content>h4,
#c-wysiwyg .article-content>h5 {
  margin-bottom: 0;
  padding-top: 0.96rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
}

#c-wysiwyg .article-content>h6 {
  margin-bottom: 0;
  padding: 0.56rem 0 0.08rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.112rem;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--text-muted);
}

#c-wysiwyg .table-scroll {
  border: 0.1rem solid var(--border-blue);
  overflow-x: auto;
}

#c-wysiwyg .has-fixed-layout {
  width: 100%;
  min-width: 48rem;
  border-collapse: collapse;
}

#c-wysiwyg .has-fixed-layout th {
  background: #fff;
  border-bottom: 0.1rem solid var(--border-blue);
  padding: 1.3rem 1.6rem 1.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.069rem;
  text-transform: uppercase;
  text-align: left;
  color: var(--text);
}

#c-wysiwyg .has-fixed-layout td {
  border-bottom: 0.1rem solid var(--border-blue);
  padding: 1.35rem 1.6rem 1.55rem;
  font-size: 1.44rem;
  color: var(--text);
}

#c-wysiwyg .has-fixed-layout tr:last-child td {
  border-bottom: none;
}

#c-wysiwyg .has-fixed-layout code {
  display: inline-block;
  background: var(--bg-code);
  border-radius: 0.5rem;
  padding: 0.2rem 0.7rem;
  font-family: "Cascadia Code", monospace;
  font-size: 1.31rem;
  color: var(--main-color);
}

#c-wysiwyg .wp-block-quote {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  border-left: 0.2rem solid #ddd;
  padding: 0.4rem 0 0.48rem 2.54rem;
  margin-bottom: 0;
}

#c-wysiwyg .wp-block-quote p {
  font-size: 2.16rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

#c-wysiwyg .wp-block-quote cite {
  font-size: 1.36rem;
  font-style: normal;
  letter-spacing: 0.0136rem;
  color: #8b899e;
}

#c-wysiwyg .wp-block-columns {
  display: flex;
  gap: 2.8rem;
}

#c-wysiwyg .wp-block-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #fff;
  border: 0.1rem solid var(--border-blue);
  padding: 2rem 2.3rem 2.1rem;
}

#c-wysiwyg .wp-block-column h3 {
  font-size: 1.63rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

#c-wysiwyg .wp-block-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  list-style: none;
  font-size: 1.57rem;
  color: var(--text);
}

#c-wysiwyg .wp-block-list li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.7;
}

#c-wysiwyg .wp-block-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  font-weight: 700;
}

#c-wysiwyg .wp-block-button {
  display: flex;
  justify-content: center;
  padding-top: 1.76rem;
}

#c-wysiwyg .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  color: #fff;
  font-weight: 700;
  font-size: 1.52rem;
  padding: 1.3rem 2.6rem;
  border-radius: 0.4rem;
  box-shadow: 0 0.1rem 0.1rem rgba(0, 0, 0, 0.06);
}

@media (hover: hover) {
  #c-wysiwyg .wp-block-button__link:hover {
    cursor: pointer;
    opacity: 0.8;
  }
}

.related-articles {
  margin-top: 6rem;
  padding: 6rem 0;
  background: var(--bg-pink-pale);
}

.related-articles__title {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 3.2rem;
  text-align: center;
}

.back-to-list {
  display: flex;
  justify-content: center;
  margin-top: 6rem;
}

.related-articles .article-card {
  background: #fff;
  padding: 1.6rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.6);
}

@media (max-width: 48em) {

  #c-wysiwyg {
    gap: 2.4rem;
  }

  #c-wysiwyg .article-header {
    gap: 1.6rem;
  }

  #c-wysiwyg .article-title {
    font-size: 2.2rem;
    line-height: 1.4;
  }

  #c-wysiwyg .article-content>.wp-block-paragraph {
    font-size: 1.4rem;
  }

  #c-wysiwyg .article-content>h2.wp-block-heading {
    font-size: 2.2rem;
    padding-left: 1.72rem;
    margin-bottom: 3.2rem;
  }

  #c-wysiwyg .article-content>h3 {
    font-size: 1.8rem;
    padding: 1.53rem 0 0.9rem;
    margin-bottom: 3.2rem;
  }

  #c-wysiwyg .wp-block-quote p {
    font-size: 1.6rem;
    line-height: 1.8;
  }

  #c-wysiwyg .wp-block-quote {
    padding-left: 2.26rem;
  }

  #c-wysiwyg .wp-block-columns {
    flex-direction: column;
  }

  #c-wysiwyg .wp-block-column h3 {
    font-size: 1.34rem;
  }

  #c-wysiwyg .wp-block-button__link {
    width: 100%;
    padding-top: 1.63rem;
  }

  .related-articles .article-card {
    background: #fff;
    padding: 1.2rem 1.2rem 1.6rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.6);
  }
}

/* ---------- Fixed page (no sidebar) ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26rem;
  overflow: hidden;
  background: var(--bg-soft);
}

.page-hero__text {
  position: relative;
  z-index: 1;
  padding: 4rem 6rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.page-hero__title {
  font-size: 4.2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  margin-bottom: 1.2rem;
}

@media (max-width: 64em) {
  .page-hero__text {
    padding: 3rem;
  }
}

@media (max-width: 48em) {
  .page-hero {
    height: 12.4rem;
  }

  .page-hero__text {
    padding: 0 2rem;
  }

  .page-hero__title {
    font-size: 2rem;
    margin-bottom: 0rem;
  }
}

.page-layout {
  max-width: 104rem;
  margin: 0 auto;
  padding: 4rem 2rem 8rem;
}

@media (max-width: 48em) {
  .page-layout {
    padding: 2.4rem 2rem 6rem;
  }
}

/* ---------- Sitemap (page-sitemap.php) ---------- */
#c-wysiwyg .rank-math-html-sitemap__title {
  border-left: 0.4rem solid var(--main-color);
  padding-left: 2rem;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 4.0rem;
}

#c-wysiwyg .rank-math-html-sitemap__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  list-style: none;
  font-size: 1.57rem;
  color: var(--text);
  margin-bottom: 4.0rem;
}

#c-wysiwyg .rank-math-html-sitemap__list li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.7;
}

#c-wysiwyg .rank-math-html-sitemap__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  font-weight: 700;
}

#c-wysiwyg .rank-math-html-sitemap__list a {
  color: inherit;
}

@media (hover: hover) {
  #c-wysiwyg .rank-math-html-sitemap__list a:hover {
    color: var(--main-color);
  }
}