/*
 * ROKKI PC Styles
 * 六輝カレンダー PC版スタイルシート
 *
 * 目次:
 * 1. CSS変数
 * 2. リセット・ベーススタイル
 * 3. レイアウト
 * 4. パンくず
 * 5. メインビジュアル
 * 6. メニュー・サイドバー
 * 7. カセット
 * 8. カレンダー
 * 9. テーブル（六輝表）
 * 10. 口コミ
 * 11. 記事リスト
 * 12. Q&A
 * 13. カレンダーリンク
 * 14. クレジット
 * 15. 関連記事
 * 16. フッター上リンク
 * 17. 状態クラス
 * 18. ユーティリティ
 */

/* ==========================================================================
   1. CSS変数
   ========================================================================== */

#rokki {
  /* Primary Colors */
  --rokki-pink: #ea6077;
  --rokki-pink-light: #fff3f2;
  --rokki-pink-border: rgba(234, 96, 119, 0.3);
  --rokki-pink-bubble: #fba8ba;
  --rokki-pink-highlight: #ffdee4;
  --rokki-pink-table-bg: #ffd9e0;

  /* Secondary Colors */
  --rokki-gold: #c9a66c;
  --rokki-gold-marker: #ecd0a3;

  /* Weekday Colors */
  --rokki-blue: #30c1ff;
  --rokki-red: #f87b7d;

  /* Neutral Colors */
  --rokki-text: #333;
  --rokki-text-dark: #474747;
  --rokki-text-secondary: #797979;
  --rokki-text-gray: #797979;
  --rokki-text-gray-light: #99a9b0;
  --rokki-border: #ededed;
  --rokki-border-gray: #c0c0c0;
  --rokki-bg-gray: #f7f7f7;
  --rokki-link: #069;
  --rokki-breadcrumb: #a5a5a5;

  /* Typography */
  --rokki-font-family: "Hiragino Kaku Gothic ProN", HiraKakuProN-W3, HelveticaNeue;
  --rokki-font-weight-light: 400;
  --rokki-font-weight-bold: 600;

  /* Layout */
  --rokki-width-full: 940px;
  --rokki-width-content: 684px;
  --rokki-width-sidebar: 226px;
  --rokki-gap-main: 30px;
  --rokki-border-radius-pill: 20px;
}

/* ==========================================================================
   2. リセット・ベーススタイル
   ========================================================================== */

#rokki {
  font-family: var(--rokki-font-family);
  font-size: 14px;
  line-height: 1.4;
  color: var(--rokki-text);
  box-sizing: border-box;
}

#rokki *,
#rokki *::before,
#rokki *::after {
  box-sizing: inherit;
}

#rokki img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#rokki a {
  color: inherit;
  text-decoration: none;
}

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

#rokki p {
  margin: 0;
}

#rokki h1,
#rokki h2,
#rokki h3,
#rokki h4,
#rokki h5,
#rokki h6 {
  margin: 0;
  padding: 0;
  font-weight: var(--rokki-font-weight-bold);
  background: none;
  color: inherit;
  text-align: inherit;
}

/* ============================================================
   3. レイアウト
   ============================================================ */

#rokki .rokki-wrap {
  display: flex;
  gap: var(--rokki-gap-main);
  margin: 0 auto;
  padding-top: 20px;
  position: relative;  /* For pinned sidebar positioning */
}

#rokki .rokki-contents {
  margin-top: 20px;
  flex: 1;
  width: var(--rokki-width-content);
}

/* カレンダーページ用メインエリア */
#rokki .rokki-calendar-main {
  flex: 1;
  width: var(--rokki-width-content);
  min-width: 0;
}

/* ============================================================
   4. パンくず
   ============================================================ */

#rokki .rokki-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 4px 0;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

#rokki .rokki-breadcrumbs a {
  color: #833a19;
  text-decoration: underline;
}

#rokki .rokki-breadcrumbs span {
  color: var(--rokki-text);
}

/* ============================================================
   5. メインビジュアル
   ============================================================ */

#rokki .rokki-mv {
  height: 120px;
  margin: 0 auto;
}

#rokki .rokki-mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   6. メニュー・サイドバー
   ============================================================ */

#rokki .rokki-menu {
  width: var(--rokki-width-sidebar);
  flex-shrink: 0;
  padding: 20px 10px;
  background-color: var(--rokki-pink-light);
  align-self: flex-start;
}

/* スティッキーサイドバー状態 */
#rokki .rokki-menu--sticky {
  position: fixed;
  top: 20px;
}

#rokki .rokki-menu--pinned {
  position: absolute;
  bottom: 0;
  top: auto;
}

/* 年選択エリア */
#rokki .rokki-menu-year {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 186px;
}

#rokki .rokki-menu-year-label {
  font-size: 12px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text-gray);
  text-align: center;
}

#rokki .rokki-menu-year-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

/* 年選択ボタン */
#rokki .rokki-menu-year-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 186px;
  height: 36px;
  padding: 0 4px;
  background-color: #ffffff;
  border: 1px solid var(--rokki-pink-border);
  border-radius: 20px;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-pink);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

#rokki .rokki-menu-year-btn:hover {
  background-color: var(--rokki-pink-light);
  border-color: var(--rokki-pink);
  opacity: 1;
}

/* 年選択ボタン - アクティブ状態 */
#rokki .rokki-menu-year-btn--active {
  height: 40px;
  font-size: 16px;
  background-color: var(--rokki-pink);
  border-color: var(--rokki-pink);
  color: #ffffff;
  cursor: default;
  pointer-events: none;
}

#rokki .rokki-menu-year-btn--active:hover {
  background-color: var(--rokki-pink);
  opacity: 1;
}

/* 選択エリア（カレンダーページ） */
#rokki .rokki-choose-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 0;
}

/* 六輝とは？リンク（カレンダーページ用） */
#rokki .rokki-menu-about {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 208px;
  height: 40px;
  padding: 0 10px;
  background-color: #ffffff;
  border: 1px solid rgba(234, 96, 119, 0.3);
  border-radius: 20px;
  font-size: 16px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-pink);
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s;
}

#rokki .rokki-menu-about:hover {
  background-color: var(--rokki-pink-light);
  border-color: var(--rokki-pink);
  opacity: 1;
}

/* 六輝選択 */
#rokki .rokki-rokki-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#rokki .rokki-rokki-select-icon {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  color: var(--rokki-text-gray-light);
  text-align: center;
}

#rokki .rokki-rokki-select-buttons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 10px;
  width: 100%;
  padding: 0 40px 20px;
  box-sizing: border-box;
}
#rokki .rokki-rokki-select-buttons:after {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 14px;
  height: 23px;
  background-image: url('/cate/man/rokki/images/find.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

#rokki .rokki-select-btn {
  height: 23px;
  font-size: 16px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text-gray-light);
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 0;
}

#rokki .rokki-select-btn:hover {
  color: var(--rokki-pink);
  opacity: 0.7;
}

#rokki .rokki-select-btn--active {
  color: var(--rokki-pink);
}

#rokki .rokki-select-btn--active:hover {
  opacity: 0.7;
}

#rokki .rokki-rokki-select-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 178px;
  padding: 3px 7px;
  background-color: #ffffff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text-gray);
  text-align: center;
  line-height: 16px;
}

/* 六輝選択ヒント（カレンダーページ用） */
#rokki .rokki-rokki-select-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 178px;
  padding: 3px 7px;
  background-color: #ffffff;
  border-radius: 8px;
}

#rokki .rokki-rokki-select-hint-text {
  font-size: 11px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text-gray);
  text-align: center;
  line-height: 16px;
}

/* ============================================================
   カレンダーページ専用統一コンポーネント
   ============================================================ */

/* Menu buttons container - PC vertical layout */
#rokki .rokki-menu-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 六輝とは？ button (first child) - larger size */
#rokki .rokki-menu-btns > .rokki-menu-year-btn {
  width: 208px;
  height: 40px;
  font-size: 16px;
}

/* Year wrap - contains label + year buttons */
#rokki .rokki-menu-year-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

/* Label takes full width, forcing buttons to wrap to next row */
#rokki .rokki-menu-year-wrap .rokki-menu-year-label {
  flex-basis: 100%;
  font-size: 12px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text-gray);
  text-align: center;
}

/* Year buttons inside wrap - smaller size, evenly stretched */
#rokki .rokki-menu-year-wrap .rokki-menu-year-btn {
  flex: 1;
  height: 36px;
  font-size: 13px;
}

/* 六輝ヒント（カレンダーページ統一） */
#rokki .rokki-cal-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  margin: 0 0 20px;
  background-color: #ffffff;
  border-radius: 8px;
  height: 54px;
  box-sizing: border-box;
}

#rokki .rokki-cal-hint-text {
  font-size: 11px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text-gray);
  text-align: center;
  line-height: 16px;
}

/* アクションボタンエリア（カレンダーページ） */
#rokki .rokki-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* プライマリボタン（ゴールド） */
#rokki .rokki-cta-btn--primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  background-color: var(--rokki-gold);
  border: 2px solid var(--rokki-gold);
  border-radius: 40px;
  font-size: 12px;
  font-weight: var(--rokki-font-weight-bold);
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

#rokki .rokki-cta-btn--primary:hover {
  opacity: 0.8;
}

/* セカンダリリンク（下線付き） */
#rokki .rokki-cta-btn--secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  line-height: 100%;
  color: var(--rokki-link);
  text-decoration: underline;
  transition: opacity 0.2s;
}

#rokki .rokki-cta-btn--secondary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--rokki-red);
  border-right: 1px solid var(--rokki-red);
  transform: rotate(45deg);
}

/* INDEX（目次） */
#rokki .rokki-menu-index {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 10px 0;
}

#rokki .rokki-menu-index-header {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rokki-border-gray);
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-pink);
  line-height: 1.4;
}

#rokki .rokki-menu-index-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 4px;
}

#rokki .rokki-menu-index-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#rokki .rokki-menu-index-title {
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  line-height: 1.4;
}

#rokki .rokki-menu-index-title::before {
  content: "\30FB";
  color: var(--rokki-pink);
}

/* メイン項目リンク */
#rokki .rokki-menu-index-item {
  font-size: 12px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
  line-height: 1.4;
}
#rokki .rokki-menu-index-item::before {
  content: "・";
  color: var(--rokki-pink);
  font-weight: bold;
}

#rokki .rokki-menu-index-item--main {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  line-height: 1.4;
  transition: opacity 0.2s;
}

#rokki .rokki-menu-index-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background-color: var(--rokki-pink);
  flex-shrink: 0;
}

/* サブ項目 */
#rokki .rokki-menu-index-sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-left: 16px;
}

#rokki .rokki-menu-index-sub li {
  font-size: 12px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
  line-height: 1.4;
  transition: opacity 0.2s;
}
#rokki .rokki-menu-index-sub li a {
  transition: opacity 0.2s;
}



/* ============================================================
   7. カセット
   ============================================================ */

#rokki .rokki-cassette {
  margin-bottom: 60px;
}
#rokki .rokki-cassette--intro {
  margin-bottom: 32px;
}

#rokki .rokki-cassette:last-child {
  margin-bottom: 0;
}

/* カセットヘッダー（カレンダーページ用） */
#rokki .rokki-cassette--header {
  margin-bottom: 0;
}
#rokki .rokki-cassette--header .rokki-cassette-lead {
  margin-bottom: 0 !important;
}

/* カセットタイトル（h2 - ピンクドット付き） */
#rokki .rokki-cassette-title {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 2px solid var(--rokki-pink);
  font-size: 20px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* カセットタイトル（h1 - ドットなし） */
#rokki .rokki-cassette-title--h1 {
  display: block;
}
/* カセットタイトル（アイコン付き - フッター等） */
#rokki .rokki-cassette-title--with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: none;
  padding: 0;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  line-height: 1.4;
  margin-bottom: 0;
}

#rokki .rokki-cassette-title--with-icon::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--rokki-pink);
  flex-shrink: 0;
}


/* カセットサブタイトル（h2相当） */
#rokki .rokki-cassette-subtitle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  line-height: 1.4;
  margin-bottom: 12px;
}

#rokki .rokki-cassette-subtitle::before {
  content: "";
  display: block;
  width: 21px;
  height: 29px;
  background-image: url('/cate/man/rokki/images/bullet.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* サブタイトル用ピンクドット - hide since ::before handles icon */
#rokki .rokki-cassette-subtitle-icon {
  display: none;
}

/* カセットリード文 */
#rokki .rokki-cassette-lead {
  font-size: 14px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
  line-height: 1.4;
  margin-top: 12px;
}

/* カセット画像 */
#rokki .rokki-cassette-image {
  margin: 22px 0;
  text-align: center;
}

#rokki .rokki-cassette-image img {
  max-width: 534px;
}

/* カセットテキスト (legacy wrapper) */
#rokki .rokki-cassette-text {
  font-size: 14px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
  line-height: 1.4;
  margin-bottom: 12px;
}

#rokki .rokki-cassette-text p {
  margin-bottom: 12px;
}

/* Direct paragraph styling (unified structure - no wrapper needed) */
#rokki .rokki-cassette > p,
#rokki .rokki-cassette-block > p {
  font-size: 14px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
  line-height: 1.4;
  margin-bottom: 12px;
}

#rokki .rokki-cassette > p:last-of-type {
  margin-bottom: 12px;
}


/* サブヘッダー（h3相当） */
#rokki .rokki-cassette-subheader {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  line-height: 1.4;
}

/* サブ見出し（h3） */
#rokki .rokki-cassette-subheading {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  line-height: 1.4;
}

/* 六輝名付きサブ見出し */
#rokki .rokki-cassette-subheading--rokki {
  padding-left: 0;
  color: var(--rokki-pink);
}

/* テキストブロック */
#rokki .rokki-cassette-block {
  margin-bottom: 12px;
}

#rokki .rokki-cassette-block:last-child {
  margin-bottom: 0;
}


/* フッター用カセット */
#rokki .rokki-cassette--footer {
  margin-top: 30px;
}

#rokki .rokki-cassette--footer .rokki-article-list {
  margin-top: 12px;
}

/* ============================================================
   8. カレンダー
   ============================================================ */

#rokki .rokki-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 10px;
  width: 690px;
  margin-left: -3px;
}

#rokki .rokki-calendar-grid .rokki-calendar-month {
  width: auto; /* Override fixed 223px to allow grid layout */
}

/* カレンダー月
   ------------------------------------------------------------ */

#rokki .rokki-calendar-month {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 223px;
  padding: 20px 1px;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* 月タイトル */
#rokki .rokki-calendar-month-title {
  width: 100%;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  text-align: center;
  line-height: 1.4;
}

/* カレンダーテーブル */
#rokki .rokki-calendar-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

/* カレンダーテーブル thead */
#rokki .rokki-calendar-table thead {
  background-color: var(--rokki-bg-gray);
}

/* 曜日ヘッダー（table版） */
#rokki .rokki-calendar-weekday {
  height: 25px;
  padding: 2px 5px;
  background-color: var(--rokki-bg-gray);
  font-size: 12px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text-gray-light);
  text-align: center;
  vertical-align: middle;
}

/* 土曜日曜日ヘッダー */
#rokki .rokki-calendar-weekday--sat {
  color: var(--rokki-blue);
}

#rokki .rokki-calendar-weekday--sun {
  color: var(--rokki-red);
}

/* カレンダーテーブル tbody */
#rokki .rokki-calendar-table tbody tr {
  border-bottom: 1px solid var(--rokki-border);
}


/* カレンダー日（テーブルセル版） */
#rokki .rokki-calendar-table .rokki-calendar-day {
  height: 32px;
  font-weight: var(--rokki-font-weight-light);
  text-align: center;
  vertical-align: middle;
  margin: 1px 0;
}


/* 日付 */
#rokki .rokki-calendar-day-date {
  display: block;
  font-size: 14px;
  height: 17px;
  line-height: 19px;
  color: var(--rokki-text);
}

/* 六輝名 */
#rokki .rokki-calendar-day-rokki {
  font-size: 8px;
  height: 8px;
  line-height: 8px;
  display: block;
  color: var(--rokki-text);
}

/* 土曜日 */
#rokki .rokki-calendar-day--sat .rokki-calendar-day-date,
#rokki .rokki-calendar-day--sat .rokki-calendar-day-rokki {
  color: var(--rokki-blue);
}

/* 日曜日・祝日 */
#rokki .rokki-calendar-day--sun .rokki-calendar-day-date,
#rokki .rokki-calendar-day--sun .rokki-calendar-day-rokki,
#rokki .rokki-calendar-day--holiday .rokki-calendar-day-date,
#rokki .rokki-calendar-day--holiday .rokki-calendar-day-rokki {
  color: var(--rokki-red);
}

/* 空セル（前月・翌月の日付） */
#rokki .rokki-calendar-day--empty {
  visibility: hidden;
}

#rokki .rokki-calendar-day--empty .rokki-calendar-day-date,
#rokki .rokki-calendar-day--empty .rokki-calendar-day-rokki {
  font-size: 12px;
  font-weight: var(--rokki-font-weight-bold);
  color: transparent;
}

/* ============================================================
   9. テーブル（六輝表）
   ============================================================ */

#rokki .rokki-table {
  width: 484px;
  margin: 0 auto 12px;
  border: 1px solid var(--rokki-pink);
  border-collapse: separate;
  border-spacing: 1px;
  background-color: var(--rokki-pink-table-bg);
}

#rokki .rokki-table th,
#rokki .rokki-table td {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: top;
  overflow: hidden;
}

#rokki .rokki-table th {
  background-color: var(--rokki-pink-light);
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  text-align: left;
}

#rokki .rokki-table td {
  background-color: #ffffff;
}

/* 吉 */
#rokki .rokki-table-kichi {
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-pink);
}

/* 凶 */
#rokki .rokki-table-kyo {
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
}

/* 注釈 */
#rokki .rokki-table-note {
  display: block;
  font-size: 10px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
}

/* ============================================================
   10. 口コミ
   ============================================================ */

#rokki .rokki-kuchikomi-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#rokki .rokki-kuchikomi-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 口コミ見出し */
#rokki p.rokki-kuchikomi-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-pink);
  line-height: 1.4;
  position: relative;
  padding-left: 20px;
}

#rokki p.rokki-kuchikomi-heading:after {
  position: absolute;
  content: "";
  top: 2px;
  left: 0;
  width: 14px;
  height: 14px;
  background-image: url('/cate/man/rokki/images/check.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 口コミコンテンツ */
#rokki .rokki-kuchikomi-content {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

/* ユーザーアイコン */
#rokki .rokki-kuchikomi-icon-wrap {
  flex-shrink: 0;
  position: relative;
  width: 50px;
  height: 50px;
}

#rokki .rokki-kuchikomi-user-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* 吹き出し矢印 */
#rokki .rokki-kuchikomi-icon-wrap::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -12px;
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--rokki-pink-bubble);
  border-left: 1px solid var(--rokki-pink-bubble);
  transform: rotate(45deg);
}

/* 吹き出しバブル */
#rokki .rokki-kuchikomi-bubble {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px;
  background-color: #ffffff;
  border: 1px solid var(--rokki-pink-bubble);
  border-radius: 8px;
  line-height: 1.4;
}

#rokki .rokki-kuchikomi-title {
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-pink-bubble);
}

#rokki .rokki-kuchikomi-text {
  font-size: 12px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
}

/* ============================================================
   11. 記事リスト
   ============================================================ */

/* 基本: 縦並びリスト */
#rokki .rokki-article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 12px 0;
}

/* 基本: 記事アイテム */
#rokki .rokki-article-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rokki-border);
  transition: opacity 0.2s;
}

#rokki .rokki-article-item:first-child {
  padding-top: 0;
}

#rokki .rokki-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#rokki .rokki-article-item:hover {
  opacity: 0.7;
}

/* サムネイル（統一クラス） */
#rokki .rokki-article-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 1px solid var(--rokki-border);
  overflow: hidden;
}

#rokki .rokki-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* タイトル（統一クラス） */
#rokki .rokki-article-title {
  flex: 1;
  font-size: 12px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
  line-height: 1.4;
}

/* 矢印 */
#rokki .rokki-article-item-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

#rokki .rokki-article-item-arrow::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--rokki-red);
  border-right: 1px solid var(--rokki-red);
  transform: rotate(45deg);
}

/* ----------------------------------------
   Context: 花嫁実例セクション (kuchikomi)
   PC: 横並び flex-wrap 小カード
   ---------------------------------------- */
#rokki .rokki-cassette--kuchikomi .rokki-article-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

#rokki .rokki-cassette--kuchikomi .rokki-article-item {
  flex-direction: column;
  width: 90px;
  gap: 10px;
  padding: 0;
  border-bottom: none;
}

#rokki .rokki-cassette--kuchikomi .rokki-article-item:first-child {
  padding-top: 0;
}

#rokki .rokki-cassette--kuchikomi .rokki-article-thumb {
  width: 90px;
  height: 90px;
}

#rokki .rokki-cassette--kuchikomi .rokki-article-title {
  font-size: 10px;
}

/* ----------------------------------------
   Context: 関連記事セクション (related)
   PC: 横並び 2カラム
   ---------------------------------------- */
#rokki .rokki-cassette--related .rokki-article-list {
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 0;
}

#rokki .rokki-cassette--related .rokki-article-item {
  flex-direction: row;
  align-items: center;
  width: 331px;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rokki-border);
  border-bottom: 1px solid var(--rokki-border);
}

#rokki .rokki-cassette--related .rokki-article-item:first-child {
  padding-top: 12px;
}

#rokki .rokki-cassette--related .rokki-article-item:last-child {
  border-bottom: 1px solid var(--rokki-border);
  padding-bottom: 12px;
}

/* ----------------------------------------
   Context: フッター記事 (footer)
   PC: 2カラム横並び
   ---------------------------------------- */
#rokki .rokki-cassette--footer {
  width: var(--rokki-width-content);
  float: right;
}
#rokki .rokki-cassette--footer .rokki-article-list {
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 23px;
  row-gap: 0;
  justify-content: space-between;
}

#rokki .rokki-cassette--footer .rokki-article-item {
  width: 328px;
  padding: 12px 2px 12px 0;
  border-top: 1px solid var(--rokki-border);
  border-bottom: 1px solid var(--rokki-border);
}

#rokki .rokki-cassette--footer .rokki-article-item:first-child {
  padding-top: 12px;
}


/* ============================================================
   12. Q&A
   ============================================================ */

#rokki .rokki-qa-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#rokki .rokki-qa-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 質問 */
#rokki .rokki-qa-question {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: var(--rokki-font-weight-bold);
  margin: 0;
}

/* Q/Aラベル */
#rokki .rokki-qa-label {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: var(--rokki-font-weight-bold);
  line-height: 1;
}

#rokki .rokki-qa-label--q {
  color: var(--rokki-gold);
}

#rokki .rokki-qa-label--a {
  color: var(--rokki-pink);
}

#rokki .rokki-qa-text,
#rokki .rokki-qa-question-text {
  flex: 1;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  line-height: 1.4;
}

/* 回答 */
#rokki .rokki-qa-answer {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
}

#rokki .rokki-qa-answer .rokki-qa-text,
#rokki .rokki-qa-answer-text {
  font-weight: var(--rokki-font-weight-light);
}

#rokki .rokki-qa-answer .rokki-qa-text p {
  margin-bottom: 8px;
}

#rokki .rokki-qa-answer .rokki-qa-text p:last-child {
  margin-bottom: 0;
}

/* 下線強調 */
#rokki .rokki-qa-answer-text u,
#rokki .rokki-qa-answer-text .rokki-highlight {
  text-decoration: underline;
  text-decoration-color: var(--rokki-gold-marker);
  text-decoration-thickness: 20%;
}

/* ============================================================
   13. カレンダーリンク
   ============================================================ */

/* カレンダーリンクエリア（カレンダーページ） */
#rokki .rokki-calendar-link-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 12px;
}

#rokki .rokki-calendar-link-label {
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  line-height: 1.4;
}

/* カレンダーリンクラップ（TOPページ用） */
#rokki .rokki-calendar-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#rokki .rokki-calendar-link-text {
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-text);
  line-height: 1.4;
}

#rokki .rokki-calendar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* カレンダーリンクボタン（統一スタイル） */
#rokki .rokki-calendar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  padding: 7px 12px;
  background-color: #ffffff;
  border: 1px solid var(--rokki-pink);
  border-radius: 20px;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-pink);
  text-align: center;
  transition: background-color 0.2s;
}

#rokki .rokki-calendar-link:hover {
  background-color: var(--rokki-pink-light);
  opacity: 1;
}

/* 目次に戻るリンク */
#rokki .rokki-back-to-index {
  margin-top: 12px;
  text-align: right;
}

#rokki .rokki-back-to-index a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text);
}

#rokki .rokki-back-to-index a:hover {
  text-decoration: underline;
}

#rokki .rokki-back-to-index-arrow {
  font-size: 10px;
  color: var(--rokki-pink);
}

/* ============================================================
   14. クレジット
   ============================================================ */

#rokki .rokki-credit {
  padding: 10px;
  background-color: var(--rokki-bg-gray);
  border-radius: 3px;
}

#rokki .rokki-credit p {
  font-size: 10px;
  font-weight: var(--rokki-font-weight-light);
  color: var(--rokki-text-gray);
  line-height: 1.4;
}

#rokki .rokki-credit p + p {
  margin-top: 1em;
}

/* ============================================================
   15. 関連記事
   ============================================================ */

#rokki .rokki-related-article {
  margin-top: 60px;
}

#rokki .rokki-related-article-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-pink);
  line-height: 1.4;
}


#rokki .rokki-related-article .rokki-article-list {
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 0;
}

#rokki .rokki-related-article .rokki-article-item {
  flex-direction: row;
  align-items: center;
  width: 331px;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rokki-border);
  border-bottom: 1px solid var(--rokki-border);
}

/* Remove top border from second row in 2-column wrapped layouts */
#rokki .rokki-cassette--related .rokki-article-item:nth-child(n+3),
#rokki .rokki-cassette--footer .rokki-article-item:nth-child(n+3),
#rokki .rokki-related-article .rokki-article-item:nth-child(n+3) {
  border-top: none;
}

/* ============================================================
   17. 状態クラス
   ============================================================ */

/* カレンダー日付 選択状態（平日） */
#rokki .rokki-calendar-day-wrap {
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  padding: 2px 0 6px;
}
#rokki .rokki-calendar-day--selected .rokki-calendar-day-wrap {
  background-color: var(--rokki-pink-highlight);
}

/* 六輝選択ボタン アクティブ状態 */
#rokki .rokki-select-btn--active {
  color: var(--rokki-pink);
}

/* リンクホバー */
#rokki a:hover {
  opacity: 0.7;
}

/* ボタンホバー - opacity維持 */
#rokki .rokki-menu-year-btn:hover,
#rokki .rokki-calendar-link:hover {
  opacity: 1;
}

/* ============================================================
   18. ユーティリティ
   ============================================================ */

/* テキストハイライト（マーカー） */
#rokki .rokki-marker {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none; /* iOS Safari: autoだと（）等で下線が途切れる */
  text-decoration-color: var(--rokki-gold-marker);
  text-decoration-thickness: 2.8px;
  text-underline-offset: 2px; /* iOS Safari: autoだと位置がずれる場合がある */
}

/* 六輝テキスト */
#rokki .rokki-name {
  font-weight: var(--rokki-font-weight-bold);
  color: var(--rokki-pink);
}


/* ============================================================
   16. フッター上リンク
   ============================================================ */

#rokki .manual_links_wrap {
  width: 700px;
  float: right;
}
/* 結婚準備完ぺきマニュアルリンク */
#rokki .manual_links_manualtop {
  margin: 30px 40px;
}
#rokki .manual_links_manualtop img {
  width: 620px;
  height: auto;
  margin: 0 auto;
}

#rokki .manual_links_manualtop h5 {
  text-align: center;
  font-size: 16px;
  font-weight: normal;
  margin: 0 0 12px;
}

#rokki .manual_links_manualtop a {
  text-align: right;
  overflow: hidden;
  display: block;
}

#rokki .manual_links_manualtop span {
  float: right;
  position: relative;
  margin-top: 5px;
  padding-right: 20px;
  color: var(--rokki-link);
}

#rokki .manual_links_manualtop a:hover {
  opacity: 1.0
}
#rokki .manual_links_manualtop a:hover span {
  text-decoration: underline;
  color: #E75991;
}

#rokki .manual_links_manualtop span:after {
  content: '▶';
  position: absolute;
  top: 0;
  right: 0;
}

/* ゼクシィで探す */
#rokki .manual_links_products {
  width: 100%;
  background: #ffffff;
  padding-bottom: 40px;
}

#rokki .manual_links_products .find-block {
  width: 700px;
  margin: 0 auto;
  background-color: #f6f6f6;
  padding: 15px;
}

#rokki .manual_links_products .find-block ul {
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

#rokki .manual_links_products .find-block strong {
  font-size: 16px !important;
  font-weight: normal !important;
  margin-left: 5px !important;
  display: block;
  margin-bottom: 10px;
}

#rokki .manual_links_products .find-block li {
  list-style: none;
  float: left;
  margin: 6px !important;
}

#rokki .manual_links_products .find-block-link01,
#rokki .manual_links_products .find-block-link02,
#rokki .manual_links_products .find-block-link03,
#rokki .manual_links_products .find-block-link04,
#rokki .manual_links_products .find-block-link05,
#rokki .manual_links_products .find-block-link06,
#rokki .manual_links_products .find-block-link07 {
  display: block;
  width: 210px;
  height: 56px;
  line-height: 56px !important;
}

#rokki .manual_links_products .find-block-link01 { background: url(/contents/wedding/wonderful/images/btn_index01.gif) no-repeat bottom center; }
#rokki .manual_links_products .find-block-link02 { background: url(/contents/wedding/wonderful/images/btn_index02.gif) no-repeat bottom center; }
#rokki .manual_links_products .find-block-link03 { background: url(/contents/wedding/wonderful/images/btn_index03.gif) no-repeat bottom center; }
#rokki .manual_links_products .find-block-link04 { background: url(/contents/wedding/wonderful/images/btn_index04.gif) no-repeat bottom center; }
#rokki .manual_links_products .find-block-link05 { background: url(/contents/wedding/wonderful/images/btn_index05.gif) no-repeat bottom center; }
#rokki .manual_links_products .find-block-link06 { background: url(/contents/wedding/wonderful/images/btn_index06.gif) no-repeat bottom center; }
#rokki .manual_links_products .find-block-link07 { background: url(/contents/wedding/wonderful/images/btn_index07.gif) no-repeat bottom center; }

#rokki .manual_links_products .find-block-link01:hover { background: url(/contents/wedding/wonderful/images/btn_index01_on.gif) no-repeat bottom center; color: #ffffff !important; }
#rokki .manual_links_products .find-block-link02:hover { background: url(/contents/wedding/wonderful/images/btn_index02_on.gif) no-repeat bottom center; color: #ffffff !important; }
#rokki .manual_links_products .find-block-link03:hover { background: url(/contents/wedding/wonderful/images/btn_index03_on.gif) no-repeat bottom center; color: #ffffff !important; }
#rokki .manual_links_products .find-block-link04:hover { background: url(/contents/wedding/wonderful/images/btn_index04_on.gif) no-repeat bottom center; color: #ffffff !important; }
#rokki .manual_links_products .find-block-link05:hover { background: url(/contents/wedding/wonderful/images/btn_index05_on.gif) no-repeat bottom center; color: #ffffff !important; }
#rokki .manual_links_products .find-block-link06:hover { background: url(/contents/wedding/wonderful/images/btn_index06_on.gif) no-repeat bottom center; color: #ffffff !important; }
#rokki .manual_links_products .find-block-link07:hover { background: url(/contents/wedding/wonderful/images/btn_index07_on.gif) no-repeat bottom center; color: #ffffff !important; }

#rokki .manual_links_products .find-block a {
  text-decoration: none !important;
  color: var(--rokki-text) !important;
}

#rokki .manual_links_products .find-block-btn-span {
  display: block;
  width: 220px;
  height: 36px;
  padding-left: 50px;
  font-size: 14px;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
