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

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

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

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

.theme-femtech .main-content {
  background: #fff;
  border-radius: 0;
  padding: 0 0 80px;
  width: 100%;
}
@media (min-width: 768px) {
  .theme-femtech .main-content {
    margin: 0 auto;
  }
}
/* ============================
   メインビジュアル
   ============================ */

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

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

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

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

.theme-femtech .theme-section#mirai {
  margin: 0 !important;
}

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

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

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

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

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

@media (max-width: 767px) {
  .theme-femtech .theme-section {
    padding: 0 0.5em;
  }
}

@media (min-width: 768px) {
  .theme-femtech .theme-section {
    margin-bottom: 8rem;
    padding: 0 2em;
  }
}

/* ============================
   Indexナビゲーション（ボタン形式）
   ============================ */

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

.theme-femtech .theme-index-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 580px;
  margin: 0 auto;
}

.theme-femtech .theme-index-nav-button {
  display: block;
  transition: filter 0.2s ease;
}

.theme-femtech .theme-index-nav-button:hover {
  filter: brightness(1.05);
}

.theme-femtech .theme-index-nav-button img {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .theme-femtech .theme-index-nav {
    margin-bottom: 6rem;
  }
}

/* ============================
   セクション画像（共通）
   ============================ */

.theme-femtech .theme-section-image-wrap {
  margin: 0 auto 2em;
  text-align: center;
}

.theme-femtech .theme-section-image-wrap img {
  width: 80%;
  margin: 0 auto;
  height: auto;
}

@media (min-width: 768px) {
  .theme-femtech .theme-section-image-wrap img {
    width: 70%;
  }
}

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

.theme-femtech .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);
}

@media (min-width: 768px) {
  .theme-femtech .theme-femtech-desc {
    font-size: 1.8rem;
  }
}

/* ============================
   明るいミライ大賞セクション
   ============================ */

.theme-femtech .theme-mirai-section {
  text-align: center;
}

.theme-femtech .theme-mirai-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.theme-femtech .theme-mirai-text p {
  margin-bottom: 1.5em;
  font-size: 1.4rem;
  line-height: var(--line-height-base);
}

.theme-femtech .theme-mirai-search {
  font-weight: var(--font-bold-weight);
  font-size: 1.6rem;
}

@media (min-width: 768px) {
  .theme-femtech .theme-mirai-text p {
    font-size: 1.8rem;
  }

  .theme-femtech .theme-mirai-search {
    font-size: 2.2rem;
  }
}