@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================================
   オトナ韓ドラ  Phase 1 : ブランド基盤 / レイアウト微調整
   - SWELL標準設定（配色・幅・ヘッダー）で対応済みの分は重複指定しない
   - otona- prefix / !important 乱用禁止 / SWELL内部classへの過剰依存回避
   ========================================================================== */

/* --- ブランドトークン（仕様書 §19） --- */
:root {
  --otona-burgundy: #7A263A;
  --otona-ivory:    #FAF7F2;
  --otona-pink:     #D9B7B9;
  --otona-gold:     #B99762;
  --otona-gold-dark:#8A6A2E; /* 明るい背景上のテキスト用（WCAG AA対応） */
  --otona-brown:    #332B2B;
  --otona-white:    #FFFFFF;
}

/* --- 本文コンテンツ面は白（ページ背景Ivoryとのコントラスト） --- */
.l-mainWrap,
.p-postList,
.c-postList {
  background-color: var(--otona-white);
}

/* --- グローバルナビ：文字色とhover（§3） --- */
.l-header .c-gnav__item > a {
  color: var(--otona-brown);
  transition: color .2s ease;
}
.l-header .c-gnav__item > a:hover,
.l-header .c-gnav__item.current-menu-item > a {
  color: var(--otona-burgundy);
}

/* --- 2カラムの余白感（§2）：メインとサイドバーの間隔を広めに --- */
@media (min-width: 1024px) {
  .l-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .l-sidebar {
    padding-left: 8px;
  }
}

/* --- リンク等のアクセントをBurgundyへ寄せる（SWELLキーカラー補完） --- */
.l-header .c-gnav__item > a::after {
  background-color: var(--otona-burgundy);
}

/* ==========================================================================
   オトナ韓ドラ  Phase 2 : PICK UP 記事スライダー
   - SWELL標準「記事スライダー」の見た目をブランドに寄せる微調整のみ
   ========================================================================== */

/* --- セクションタイトル：小英字 PICK UP のeyebrow + 日本語見出し --- */
.p-postSlider__title {
  position: relative;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--otona-brown);
  letter-spacing: .08em;
  padding-top: 2.4em;
  margin-bottom: 1.4em;
}
.p-postSlider__title::before {
  content: "PICK UP";
  position: absolute;
  top: .4em;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--otona-gold-dark);
}
.p-postSlider__title::after {
  content: "";
  position: absolute;
  bottom: -.7em;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--otona-gold);
}

/* --- ページネーションのドット色（§5） --- */
#post_slider .swiper-pagination-bullet {
  background-color: var(--otona-pink);
  opacity: 1;
}
#post_slider .swiper-pagination-bullet-active {
  background-color: var(--otona-burgundy);
}

/* --- カード：角を控えめに・ごく薄い影（過剰な角丸/影はNG §20） --- */
#post_slider .p-postList__link,
#post_slider .c-postThumb {
  border-radius: 3px;
}

/* ==========================================================================
   オトナ韓ドラ  Phase 3 : カテゴリータブ + 記事一覧(list型)
   ========================================================================== */

/* --- カテゴリー切替タブ（§7）：ボックス型・アクティブはBurgundy --- */
.c-tabList {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  border: none;
  margin-bottom: 28px;
}
.c-tabList__item { margin: 0; }
.c-tabList__button {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  background: var(--otona-white);
  color: var(--otona-brown);
  border: 1px solid #EFE7E3;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.c-tabList__button::after { display: none; } /* SWELL既定の下線インジケーターを無効化 */
.c-tabList__button:hover { color: var(--otona-burgundy); }
.c-tabList__button[aria-selected="true"] {
  background: var(--otona-burgundy);
  color: var(--otona-white);
  border-color: var(--otona-burgundy);
}
.c-tabList__button[aria-selected="true"]:hover { color: var(--otona-white); }

/* Mobileは横スクロール（§7） */
@media (max-width: 767px) {
  .c-tabList {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .c-tabList::-webkit-scrollbar { display: none; }
  .c-tabList__item { flex: 0 0 auto; }
}

/* --- 記事一覧(list型) の仕上げ（§8） --- */
.c-tabBody .p-postList.-type-list .p-postList__title { color: var(--otona-brown); }
.c-tabBody .p-postList.-type-list .p-postList__link:hover .p-postList__title { color: var(--otona-burgundy); }
.c-tabBody .p-postList.-type-list .p-postList__excerpt { line-height: 1.8; }

/* 「続きを読む →」ボタン（行全体がリンクなので装飾として付与） */
.c-tabBody .p-postList.-type-list .p-postList__body::after {
  content: "続きを読む →";
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  border: 1px solid var(--otona-gold);
  border-radius: 3px;
  color: var(--otona-burgundy);
  font-size: 13px;
  line-height: 1.6;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.c-tabBody .p-postList.-type-list .p-postList__link:hover .p-postList__body::after {
  background: var(--otona-burgundy);
  border-color: var(--otona-burgundy);
  color: var(--otona-white);
}

/* Mobileは縦カード（§15）：画像を上・本文を下に積む */
@media (max-width: 767px) {
  .c-tabBody .p-postList.-type-list .p-postList__link { flex-direction: column; }
  .c-tabBody .p-postList.-type-list .p-postList__thumb { width: 100%; }
  .c-tabBody .p-postList.-type-list .p-postList__body {
    width: 100%;
    padding-left: 0;
    margin-top: 12px;
  }
}
