/**
 * Theme Watalab - Custom Styles
 * Watalab固有のスタイル（カラー、背景、見出しスタイル）
 */

/* ============================
   Watalab カラー設定
   ============================ */

.theme-watalab {
  --theme-main-color: #ef7e95;  /* ピンク系 */
  --theme-section-title-font-mobile: 1.8rem;  /* 18px */
  --theme-section-title-font-pc: 2.6rem;      /* 28px */
}

/* ページ全体の背景パターン */
.theme-watalab {
  background: url(../images/body_bg.png) repeat;
}

.theme-watalab .main-content {
  background: #fff;
  border-radius: 0;
  padding: 0 0 80px;
  margin: 20px auto 20px;
}
@media (min-width: 768px) {
  .theme-watalab .main-content {
    margin: 0 auto;
  }
}
/* ============================
   メインビジュアル・リードテキスト
   ============================ */

.theme-watalab .theme-main-visual {
  margin-bottom: 0;
}

.theme-watalab .theme-lead {
  padding: 0 2em 2em;
  margin-bottom: 3rem;
}

.theme-watalab .theme-lead p {
  text-align: center;
  line-height: 1.8;
  font-size: 1.4rem;
  letter-spacing: var(--letter-space-normal);
}

@media (max-width: 767px) {

  .theme-watalab .theme-lead {
    padding: 0 1.5em 1.5em;
    margin-bottom: 2rem;
  }

  .theme-watalab .theme-lead p {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* ページネーションの色をWatalabカラーに */
.theme-watalab .theme-pagination-prev,
.theme-watalab .theme-pagination-next {
  background: var(--theme-main-color);
  border-color: var(--theme-main-color);
}

.theme-watalab .theme-pagination-number:hover {
  border-color: var(--theme-main-color);
}

.theme-watalab .theme-pagination-number.is-active {
  background: color-mix(in srgb, var(--theme-main-color) 10%, transparent);
  border-color: var(--theme-main-color);
}

/* ============================
   セクション見出し（テキスト形式）
   ============================ */

.theme-watalab .theme-section-title {
  margin-bottom: 6%;
  text-align: center;
}

.theme-watalab .theme-section-title span {
  padding: 0 0.5em 0.2em 2em;
  border-bottom: 2px solid var(--color-text);
  display: inline-block;
  position: relative;
  font-weight: var(--font-bold-weight);
  line-height: 1.4;
  font-size: 2.2rem;
}

.theme-watalab .theme-section-title span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 45%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* オススメ記事セクション */
.theme-watalab .theme-type-recommend .theme-section-title span {
  font-size: 2.4rem;
}

.theme-watalab .theme-type-recommend .theme-section-title span::before {
  background-image: url(../images/pickup_head_icon.png);
  width: 2.2rem;
  height: 2.2rem;
}

/* フェムテックセクション */
.theme-watalab .theme-type-femtech .theme-section-title span::before {
  background-image: url(../images/femtech_title_icon.png);
}

/* メイクセクション */
.theme-watalab .theme-type-make .theme-section-title span::before {
  background-image: url(../images/miss-make_icon.png);
}

/* ニュースセクション */
.theme-watalab .theme-type-news .theme-section-title span::before {
  background-image: url(../images/news_icon.png);
}

/* キーワードセクション */
.theme-watalab .theme-keywords .theme-section-title span::before {
  width: 2.4rem;
  height: 2.4rem;
  background-image: url(../images/keywords_icon.png);
}

/* ============================
   記事一覧の追加スタイル
   ============================ */

/* 記事リンクのホバーエフェクト */
.theme-watalab .theme-article-link:hover .theme-article-title {
  color: var(--theme-main-color);
  transition: color 0.3s ease;
}

/* 記事カードの背景と余白 */
.theme-watalab .theme-article-card {
  transition: transform 0.2s ease;
}

/* サムネイルコンテナのボーダー（hover時の画像拡大でも表示維持） */
.theme-watalab .theme-article-thumb {
  border: solid 1px var(--color-light);
}

/* セクション間隔の調整 */
.theme-watalab .theme-section {
  margin-bottom: 6rem;
  padding: 0 1em;
}
.theme-watalab #keywords.theme-section  {
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .theme-watalab .theme-section-title span {
    font-size: var(--theme-section-title-font-mobile);
  }

  .theme-watalab .theme-section {
    padding: 0 0.5em;
  }
}

@media (min-width: 768px) {
  .theme-watalab .theme-section-title span {
    font-size: var(--theme-section-title-font-pc);
  }

  .theme-watalab .theme-section {
    margin-bottom: 6.5rem;
    padding: 0 2em;
  }
}

/* ============================
   Indexナビゲーション
   ============================ */

.theme-watalab .theme-index-nav {
  margin-bottom: 3rem;
  padding: 8% 6%;
  background-color: #ffe6eb;
}

.theme-watalab .theme-index-nav-title {
  margin: 0 auto 8%;
  max-width: 20%;
}

.theme-watalab .theme-index-nav-title img {
  width: 100%;
  height: auto;
}

.theme-watalab .theme-index-nav-list {
  display: flex;
  flex-flow: column;
  gap: 1.2rem;
  margin: 0 auto;
  width: fit-content;
}
@media (min-width: 768px) {
  .theme-watalab .theme-index-nav-list {
    gap: 2rem;
  }
}
.theme-watalab .theme-index-nav-list li {
  padding-left: 5%;
  background: url(../images/index_icon.png) left center no-repeat;
  background-size: auto 6px;
  width: fit-content;
}

.theme-watalab .theme-index-nav-list li a {
  color: var(--color-text);
  font-weight: var(--font-sub-weight);
  text-decoration: none;
  font-size: 1.4rem;
  transition: text-decoration 0.2s ease;
  white-space: nowrap;
}

.theme-watalab .theme-index-nav-list li a:hover {
  text-decoration: underline !important;
  text-underline-offset: 0.3em;
  transition: text-decoration 0.2s ease;
}

@media (min-width: 768px) {
  .theme-watalab .theme-index-nav {
    margin-bottom: 6rem;
  }
  .theme-watalab .theme-index-nav-list li a {
    font-size: 1.8rem;
  }
}

/* ============================
   Pickupセクション追加要素
   ============================ */

/* フェムテックバナー */
.theme-watalab .theme-pickup-banner {
  margin: 0 auto 4%;
  max-width: 86%;
  text-align: center;
}

.theme-watalab .theme-pickup-banner img {
  width: 100%;
  height: auto;
}

/* Pickupセクション内のキーワードリンク */
.theme-watalab .theme-type-recommend .theme-keyword-links {
  margin-bottom: 6%;
}

/* ============================
   共通: キーワードリンク集
   ============================ */
.theme-watalab .theme-keyword-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.theme-watalab .theme-keyword-tag {
  border-radius: var(--radius-100);
  padding: 0.5em 1em;
  color: #fff;
  background-color: var(--theme-main-color);
  font-weight: var(--font-bold-weight);
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 1.5;
  white-space: nowrap;
  transition: filter 0.2s ease;
}

.theme-watalab .theme-keyword-tag:hover {
  filter: brightness(1.2);
}

@media (min-width: 768px) {
  .theme-watalab .theme-keyword-links {
    gap: 1.5rem;
  }

  .theme-watalab .theme-keyword-tag {
    font-size: 1.8rem;
  }
}


/* オススメ記事サブタイトル */
.theme-watalab .theme-recommend-subtitle {
  margin: 0 auto 5%;
  max-width: 59%;
  position: relative;
  line-height: 1;
  text-align: center;
}

.theme-watalab .theme-recommend-subtitle span {
  padding: 0 0.5em 0 1.5em;
  display: inline-block;
  position: relative;
  background-color: #fff;
  font-weight: var(--font-bold-weight);
  font-size: 1.4rem;
  z-index: 2;
}

@media (min-width: 768px) {
  .theme-watalab .theme-recommend-subtitle span {
    font-size: 2.8rem;
  }
}

.theme-watalab .theme-recommend-subtitle span::before {
  border: 14px solid transparent;
  border-top: 18px solid var(--color-text);
  position: absolute;
  top: 10%;
  left: 0;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  content: "";
}

@media (max-width: 767px) {
  .theme-watalab .theme-recommend-subtitle span::before {
    border: 8px solid transparent;
    border-top: 12px solid var(--color-text);
  }
}

/* ============================
   フェムテックセクション追加要素
   ============================ */

.theme-watalab .theme-femtech-title {
  margin: 0 auto 3%;
  text-align: center;
}

.theme-watalab .theme-femtech-collaboration {
  font-weight: var(--font-bold-weight);
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0.5em;
}
@media (min-width: 768px) {
  .theme-watalab .theme-femtech-collaboration {
    font-size: 1.8rem;
  }
}

.theme-watalab .theme-femtech-desc {
  margin-bottom: 2em;
  font-weight: var(--font-bold-weight);
  text-align: center;
  font-size: 1.4rem;
  line-height: var(--line-height-base);
}

/* ============================
   メイクセクション監修情報
   ============================ */

.theme-watalab .theme-make-supervision {
  margin: 0 auto 5%;
  padding-top: 8%;
}

.theme-watalab .theme-make-supervision-inner {
  position: relative;
  background-color: #fcf1f1;
}

.theme-watalab .theme-make-supervision-pic {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
}

.theme-watalab .theme-make-supervision-pic img {
  width: 100%;
  height: auto;
}

.theme-watalab .theme-make-supervision-text p {
  padding: 0.5em 0 0.2em 1em;
  font-weight: var(--font-bold-weight);
  font-size: 1rem;
}

.theme-watalab .theme-make-supervision-text em {
  padding: 0 0 0.2em 0.2em;
  display: block;
  font-weight: var(--font-bold-weight);
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .theme-watalab .theme-make-supervision-text p {
    font-size: 1.6rem;
    padding: 1.5em 0 0.2em 1em;
  }

  .theme-watalab .theme-make-supervision-text em {
    font-size: 2.2rem;
    padding: 0 0 1.2em 0.2em;
  }
}

/* ============================
   ニュースセクションサマリー
   ============================ */

.theme-watalab .theme-news-summary {
  margin: 0 auto 7%;
  max-width: 89%;
  line-height: 1.5;
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .theme-watalab .theme-news-summary {
    font-size: 2.4rem;
  }
}

