/*--------------------------------------------------------------
 Theme Name: Rakuraku Manual - Simple Mode Override
 Description: simple-mode（スマホ版）専用の追加CSS。style.css より後で読み込む前提。
 Author: Yumephoto
 Version: 1.0
--------------------------------------------------------------*/

/* ▼ WordPress のブロックCSSや style.min.css に上書きされないように初期化 */
:root { --simple-mode-loaded: 1; }

/*--------------------------------------------------------------
21.0 Simple Mode switch
--------------------------------------------------------------*/

.title-guide {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.mode-switch-box {
  width: 100%;
  text-align: center;
  margin: 0 auto 40px;
  padding: 20px 0;
}

.mode-switch-box .btn-simple-mode,
.mode-switch-box .btn-pc-mode {
  display: inline-block;
  background: #6CBEAD;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: .08em !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all .25s ease;
  outline: none;
}

/* PC・SP両方でクリック時の赤系ハイライトを無効化 */
.mode-switch-box .btn-simple-mode:active,
.mode-switch-box .btn-pc-mode:active {
  background-color: inherit !important;
  color: inherit !important;
  box-shadow: none !important;
  outline: none !important;
}

.mode-switch-box .btn-simple-mode {
  background: #F7A97A;
}

.mode-switch-box .btn-simple-mode:hover,
.mode-switch-box .btn-pc-mode:hover {
  background: #FDBB8D;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}
.mode-switch-box .btn-pc-mode:hover {
  background: #88D0C0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 768px) {
  .mode-switch-box .btn-simple-mode,
  .mode-switch-box .btn-pc-mode {
    font-size: 4.2vw;
  }
}

/*--------------------------------------------------------------
パンくずリスト
--------------------------------------------------------------*/
.breadcrumb {
  max-width: 1100px;
  margin: 16px auto 32px;
  padding: 0 16px;
  font-size: 13px;
  color: #666;
}

/* PCモード（共通） */
.breadcrumb .bc-root a {
  color: #db3d37;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb .bc-root a:hover {
  text-decoration: underline;
}

/* シンプルモード（共通） */
.breadcrumb .bc-simple span[itemprop="name"] {
  color: #555;
  font-weight: 700;
}

/* 現在地（記事タイトルなど） */
.breadcrumb .bc-current span[itemprop="name"] {
  color: #111;
  font-weight: normal;
}

/* 共通 */
.breadcrumb span[itemprop="name"] {
  white-space: nowrap;
  padding: 0 4px;
}