/*
Theme Name: Usagi Specialty Shop
Theme URI: https://example.com/
Author: You
Description: うさぎ専門店のためのオリジナルWordPressテーマ
Version: 1.0
*/

/* ========================================
   基本設定・リセット
======================================== */

:root {
  --color-bg: #fdf7f0;
  --color-main: #f7b8b8;   /* 淡いピンク */
  --color-accent: #f3a36a; /* やさしいオレンジ */
  --color-dark: #6a4b3b;   /* ブラウン */
  --color-text: #4a3b32;
  --color-white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   共通レイアウト・ボタン
======================================== */

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.section-lead {
  font-size: 1rem;
  color: #7a6b60;
  margin-bottom: 32px;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  background: var(--color-accent);
  color: var(--color-white);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}

.btn--sub {
  background: var(--color-main);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ========================================
   ヘッダー・ロゴ
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.site-header--scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 6px;
  padding: 8px 0;
  height: auto;
  column-gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* うさぎロゴ（しっぽ小＋耳も小さめ） */

.site-logo__mark {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  display: inline-block;
}

/* しっぽ */
.site-logo__mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: -4px;
  bottom: 2px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  border-radius: 50%;
}

/* 左耳 */
.site-logo__mark::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 18px;
  left: 4px;
  top: -14px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  border-radius: 50% 50% 40% 40%;
}

/* 右耳 */
.site-logo__mark .ear-right {
  content: "";
  position: absolute;
  width: 10px;
  height: 18px;
  right: 4px;
  top: -14px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  border-radius: 50% 50% 40% 40%;
}

.site-logo__text-main {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--color-dark);
}

.site-logo__text-sub {
  font-size: 0.75rem;
  color: #8c7a6e;
}

/* ========================================
   グローバルナビ（共通ベース）
======================================== */

.gnav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav a {
  text-decoration: none;
}

/* ハンバーガーボタン（共通） */
.nav-toggle {
  display: none; /* PCでは非表示 */
  border: 1px solid #f28c3a;
  background: #ffffff;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  cursor: pointer;
  outline: none;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #f28c3a;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

/* 開いたときに「×」になる状態（JSの .is-open と連動） */
.nav-toggle.is-open span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ========================================
   PCナビ（841px以上）
======================================== */

@media (min-width: 841px) {

  .site-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    height: auto;
    row-gap: 4px;
  }

  .site-logo {
    flex: 0 0 auto;
  }

  /* メインメニュー：2段グリッド */
  .gnav {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-flow: row;
    column-gap: 16px;
    row-gap: 4px;
    justify-content: end;
    align-items: center;
  }

  .gnav > li {
    position: relative;
    white-space: nowrap;
    text-align: center;
  }

  .gnav > li > a {
    display: inline-block;
    padding: 6px 4px;
  }

  /* 下線アニメーション（親メニュー） */
  .gnav > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: #f39c6b;
    transition: width 0.25s ease;
  }

  .gnav > li:hover > a {
    color: #f39c6b;
  }

  .gnav > li:hover > a::after {
    width: 100%;
  }

  /* サブメニュー（ホバー時表示） */
  .gnav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9999;
  }

  .gnav > li:hover > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .gnav .sub-menu li a {
    display: block;
    padding: 8px 16px;
    color: #333;
    white-space: nowrap;
  }

  .gnav .sub-menu li a:hover {
    background: #f3a36a;
    color: #fff;
  }

  /* PCではハンバーガー非表示 */
  .nav-toggle {
    display: none;
  }
}

/* ========================================
   スマホ〜タブレットナビ（840px以下）
======================================== */

@media (max-width: 840px) {

  /* ヘッダー内は1行 */
  .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }

  /* ハンバーガー表示 */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
  }

  /* 右からスライドするメニュー */
  .gnav {
    background: #ffffff !important;
    box-shadow: -6px 0 20px rgba(0,0,0,0.12);
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    padding: 70px 20px 24px;
    overflow-y: auto;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: block;
  }

  /* 開いたとき（JSで .gnav--open を付与） */
  .gnav.gnav--open {
    transform: translateX(0);
  }

  .gnav li {
    margin: 0;
  }

  .gnav a {
    color: #333;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f0e2d7;
    display: block;
  }

  /* サブメニューはスマホでは非表示 */
  .gnav .sub-menu {
    display: none !important;
  }
}

/* スマホ時はヘッダー背景色をメニューと合わせる */
@media (max-width: 840px) {
  .site-header {
    background: #fce7d2 !important;
    backdrop-filter: none;
  }
}

/* スクロールで隠れるヘッダー（共通クラス） */
.hide-scroll-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  transition: transform 0.35s ease;
}

.hide-scroll-header.hide {
  transform: translateY(-100%);
}

.hide-scroll-header.show {
  transform: translateY(0);
}

/* ========================================
   ヒーローエリア
======================================== */

.hero {
  padding-top: 130px; /* ヘッダー分 */
  min-height: 80vh;
  background: radial-gradient(circle at top left, #fffaf5 0, #fce6da 50%, #fdf7f0 100%);
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ホテルセクションだけ左右比率を逆に */
#hotel .hero-inner {
  grid-template-columns: 1fr 1.2fr;
}

@media (max-width: 840px) {
  #hotel .hero-inner {
    grid-template-columns: 1fr;
  }
  #hotel .hero-inner > :first-child { /* 画像 */
    order: 2;
  }
  #hotel .hero-inner > :last-child {  /* テキスト */
    order: 1;
  }
}

.hero-copy-main {
  font-size: 2.3rem;
  font-weight: bold;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.hero-copy-sub {
  font-size: 1rem;
  color: #7a6b60;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-badge {
  padding: 6px 14px;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed #f0c1a0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  margin-top: 30px;
}

/* 画像の枠（NOTEをかぶせるためにrelative） */
.hero-visual__photo {
  position: relative;
  overflow: visible;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* ヒーロースライダー用 */
.hero-visual__photo.js-hero-slider {
  aspect-ratio: 4 / 3;
}

/* スライダーの各画像 */
.hero-visual__photo.js-hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  backface-visibility: hidden;
  opacity: 0;
  transform: perspective(1200px) rotateY(-6deg);
  transition: opacity 2.4s ease-in-out,
              transform 2.4s ease-in-out;
}

/* アクティブな1枚 */
.hero-visual__photo.js-hero-slider img.is-active {
  opacity: 1;
  transform: perspective(1200px) rotateY(0deg);
}

/* 通常の画像（スライダーでないもの） */
.hero-visual__photo:not(.js-hero-slider) img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.hero-visual__note {
  position: absolute;
  bottom: -10px;
  right: 12px;
  background: var(--color-white);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ドットナビ */
.hero-visual-dots {
  text-align: center;
  margin-top: 14px;
}

.hero-visual-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  margin: 0 4px;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.hero-visual-dot.is-active {
  background: var(--color-accent);
}

/* SPヒーロー */
@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   うさぎ一覧（カード／タブ）
======================================== */

/* カード一覧レイアウト */
.usagi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 840px) {
  .usagi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .usagi-grid {
    grid-template-columns: 1fr;
  }
}

.usagi-card {
  background: var(--color-white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.usagi-card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.usagi-card__body {
  padding: 14px 16px 16px;
}

.usagi-card__name {
  font-weight: bold;
  margin-bottom: 4px;
}

.usagi-card__meta {
  font-size: 0.8rem;
  color: #847569;
  margin-bottom: 6px;
}

.usagi-card__price {
  font-size: 0.9rem;
  font-weight: bold;
  color: #e87c5c;
  margin-bottom: 10px;
}

/* 共通：価格表示 */
.usagi-price {
  font-size: 1.1rem;
  margin: 8px 0 12px;
}

.usagi-price__label {
  color: var(--color-text);
}

/* 販売中の価格（赤強調） */
.usagi-price__value {
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* おうち決まり用（赤強調＋ハート） */
.usagi-price--sold .usagi-price__sold {
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 角リボン */
.usagi-thumb-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  overflow: hidden;
}

.usagi-thumb-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.usagi-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  overflow: visible;
  pointer-events: none;
  z-index: 20;
}

/* 共通（PC・タブレット）のリボン位置 */
.usagi-ribbon span {
  position: absolute;
  top: 20px;
  left: -40px;
  width: 160px;
  padding: 10px 0;
  text-align: center;
  transform: rotate(-45deg);
  transform-origin: center center;
  background: linear-gradient(135deg, #ffc678, #f39a3c);
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 4px;
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.95),
    0 4px 10px rgba(0,0,0,0.25);
}

.usagi-ribbon::before,
.usagi-ribbon::after {
  display: none !important;
}

/* スマホのリボン */
@media (max-width: 599px) {
  .usagi-ribbon {
    width: 85px;
    height: 85px;
  }
  .usagi-ribbon span {
    top: 15px;
    left: -35px;
    width: 130px;
    font-size: 0.8rem;
    padding: 6px 0;
  }
}

/* うさぎ一覧が0件のとき */
.usagi-empty-message {
  margin: 40px 0 80px;
  text-align: center;
  color: #888;
  font-size: 0.95rem;
}

/* 販売中ページ：品種ボタン一覧 */
.usagi-breedbtn-list {
  margin: 18px 0 30px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;  /* 左揃え */
}

.usagi-breedbtn {
  display: inline-block;
  padding: 6px 14px;
  background: #fff5ec;
  border: 1px solid #ffbfa0;
  border-radius: 999px;
  color: #ff7f50;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.usagi-breedbtn:hover {
  background: #ffe7d5;
  border-color: #ffad88;
}

/* うさぎ一覧タブ（販売中／おうち決定） */
.rw-status-tabs {
  display: flex;
  gap: 10px;
}

/* 共通スタイル */
.rw-status-tab {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid #f3a36a;
  transition: 0.2s;
}

/* 選択中（濃いオレンジ） */
.rw-status-tab.is-active {
  background: #f3a36a !important;
  color: #fff !important;
}

/* 未選択（薄いピンク） */
.rw-status-tab.is-inactive {
  background: #ffe6d8 !important;
  color: #444 !important;
}

/* ボタン型ステータス（別用途） */
.rw-status-btn.is-active {
  background-color: #f3a36a !important;
  color: #fff !important;
  border-color: #f3a36a !important;
}

.rw-status-btn.is-inactive {
  background-color: #ffe0d2 !important;
  color: #fff !important;
  border: 2px solid #f3a36a !important;
}

/* ========================================
   2カラム・リスト・お知らせ
======================================== */

.two-column {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

@media (max-width: 840px) {
  .two-column {
    flex-direction: column;
  }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.feature-dot {
  margin-top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* お知らせ一覧 */
.news-list{
  list-style:none;
  padding:0;
  margin:0;
}

.news-item{
  padding:10px 0;
  border-bottom:1px solid #eaded0;
  font-size:0.9rem;
}

/* a（ニュース1行全体）を横並びにする */
.news-link{
  display:flex;
  gap:16px;              /* 日付とタイトルの間隔 */
  align-items:flex-start;
  width:100%;
  color:inherit;
  text-decoration:none;
}

.news-date{
  white-space:nowrap;
  font-weight:700;
  color:#b37b54;         /* 日付の色（ここを変更） */
}

.news-text{
  flex:1;
}

/* hover時にタイトルだけ下線 */
.news-link:hover .news-text{
  text-decoration:underline;
}

/* リンクがある場合のバッジ（出すなら） */
.news-badge{
  margin-left:8px;
  padding:2px 8px;
  font-size:12px;
  line-height:1.4;
  border:1px solid #b37b54;
  color:#b37b54;
  border-radius:999px;
  white-space:nowrap;
}

.cm-news-link.is-no-link{
  cursor: default;
}

.cm-news-link:hover .cm-news-title,
.cm-news-link:hover .cm-news-text{
  text-decoration: underline;
}

/* リンクなし（span.news-link.is-no-link）のときはホバー下線を出さない */
.news-link.is-no-link:hover .news-text{
  text-decoration:none;
}

.cm-news-link.is-no-link:hover .cm-news-title,
.cm-news-link.is-no-link:hover .cm-news-text{
  text-decoration: none;
}

/* リンクありのタイトル文字色 */
.news-item.is-linked .news-text,
.cm-news-item.is-linked .cm-news-text{
  color:#1a73e8; /* 好きな色に変更 */
}


/* ========================================
   フッター
======================================== */

.site-footer {
  background: #f0e1d3;
  padding: 40px 0 20px;
  margin-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 20px;
  margin-bottom: 16px;
}

@media (max-width: 840px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-logo-img {
  width: 200px;
  height: auto;
  display: block;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid #ddc9b7;
  padding-top: 10px;
  font-size: 0.8rem;
  text-align: center;
  color: #8d7a6e;
}

/* フッターメニュー 2段目：きれいに整列させたメニュー */
.footer-menu-row {
  margin-top: 20px;
}

.footer-menu-list {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 20px;
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.footer-menu-list li {
  margin: 0;
  font-size: 0.95rem;
}

/* スマホ時は1列 */
@media (max-width: 840px) {
  .footer-menu-list {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
}

/* フッターでだけ子メニューを非表示 */
.site-footer .sub-menu {
  display: none !important;
}

/* PC幅：フッターメニューを7列固定・折り返さない */
@media (min-width: 841px) {
  .footer-menu-list.footer-nav {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 8px 20px !important;
    white-space: nowrap !important;
    padding-left: 0 !important;
    list-style: none !important;
  }

  .footer-menu-list.footer-nav li {
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* フッターメニューのホバー演出 */
.footer-menu-list.footer-nav li a {
  transition: color 0.2s ease, background-color 0.2s ease;
  padding: 4px 6px;
  border-radius: 4px;
}

.footer-menu-list.footer-nav li a:hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: #6a4b3b;
}

/* ========================================
   フッター：公式LINE登録（アイコン付き）
======================================== */

/* 全体レイアウトは前回のまま */
.footer-line-block {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 左側の案内スペース */
.footer-line-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* タイトル部分（LINE登録はこちらから） */
.footer-line-title {
  font-size: 15px;
  font-weight: 700;
  color: #7b5b5b;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ▼ チップ（メンバーページの縮小版） */
.footer-line-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e1f8e9;     /* LINE用の優しいグリーン */
  border: 1px solid #9be2b6;
}

.footer-line-chip-icon {
  width: 16px;    /* メンバーページより少し小さく */
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-line-chip-icon img {
  width: 100%;
  height: auto;
}

.footer-line-chip-text {
  font-size: 12px;
  font-weight: 600;
  color: #168f3e;   /* 落ち着いたLINEグリーン */
}

/* 説明文 */
.footer-line-note {
  font-size: 13px;
  color: #7b5b5b;
  line-height: 1.6;
}

/* QRコード */
.footer-line-qr img {
  width: 110px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 6px;
  transition: opacity .25s;
}

.footer-line-qr img:hover {
  opacity: 0.8;
}

/* スマホで縦並び */
@media (max-width: 768px) {
  .footer-line-block {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ========================================
   汎用ページ（固定ページ）
======================================== */

.page-header {
  padding-top: 90px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #fce3d8, #fdf7f0);
}

.page-title {
  font-size: 1.7rem;
  color: var(--color-dark);
}

.page-content {
  padding: 40px 0 40px;
}

.page-content h2 {
  font-size: 1.3rem;
  margin: 30px 0 10px;
}

.page-content p {
  margin-bottom: 14px;
}

/* PC幅では固定ページの上部余白をヘッダー分しっかりあける */
@media (min-width: 841px) {
  .page-header {
    padding-top: 140px;
  }
}

/* ========================================
   Safari対策：固定ヘッダーで見出しが隠れるのを防ぐ
======================================== */
:root{
  --rw-fixed-header-h: 90px;   /* ← JSで実測上書き */
  --rw-page-top-extra: 32px;   /* ← OS別にJSで変更 */
}

.page .page-header{
  padding-top: calc(
    var(--rw-fixed-header-h) + var(--rw-page-top-extra)
  ) !important;
}



/* ========================================
   営業カレンダー
======================================== */

.section-calendar {
  padding-top: 40px;
}

/* 今月 + 来月を横並びにする */
.calendar-wrapper-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 840px) {
  .calendar-wrapper-list {
    grid-template-columns: 1fr;
  }
}

.calendar-wrapper {
  background: #fde3c5;
  border-radius: 16px;
  padding: 16px 14px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* 年月部分（タイトル部分） */
.calendar-month-header {
  background: #f4f4f4;
  padding: 12px 15px;
  border-radius: 6px 6px 0 0;
  margin-bottom: 8px;
}

.calendar-month-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #6a4b3b;
  text-align: center;
}

/* カレンダー内で再調整（優先） */
.calendar-wrapper .calendar-month-header {
  background-color: #f4f4f4 !important;
  padding: 12px 16px;
  border-radius: 6px 6px 0 0;
  margin-bottom: 8px;
}

.calendar-wrapper .calendar-month-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

/* テーブル本体 */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 12px;
}

.calendar-table__head {
  padding: 4px 0 6px;
  font-weight: bold;
  color: #7a6b60;
}

.calendar-table__head.is-sun {
  color: #e86a6a;
}

.calendar-table__head.is-sat {
  color: #4a7cd1;
}

.calendar-table__cell {
  width: calc(100% / 7);
  height: 40px;
  padding: 2px 0;
}

.calendar-table__cell.is-empty {
  background: transparent;
}

.calendar-table__day {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}

/* 営業日・休業日・今日の色 */
.calendar-table__cell.is-open .calendar-table__day {
  background: #fff;
  color: #4a3b32;
}

.calendar-table__cell.is-closed .calendar-table__day {
  background: #f7c5c5;
  color: #6a3b3b;
}

.calendar-table__cell.is-today .calendar-table__day {
  border: 2px solid #f3a36a;
  font-weight: bold;
}

/* 日曜・土曜の文字色 */
.calendar-table__cell.is-sun .calendar-table__day {
  color: #e86a6a;
}

.calendar-table__cell.is-sat .calendar-table__day {
  color: #4a7cd1;
}

/* 祝日（is-holiday）：日曜と同じ赤文字、営業日は通常通り */
.calendar-table__cell.is-holiday .calendar-table__day {
  color: #e86a6a;
  font-weight: bold;
}

/* 祝日が営業日の場合、背景は白のまま */
.calendar-table__cell.is-holiday.is-open .calendar-table__day {
  background: #ffffff;
}

/* カレンダー凡例 */
.calendar-legend {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: #7a6b60;
}

.calendar-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.calendar-legend__mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.08);
}

.calendar-legend__mark--open {
  background: #ffffff;
}

.calendar-legend__mark--closed {
  background: #f7c5c5;
}

.calendar-legend__mark--today {
  background: #fff;
  border-color: #f3a36a;
}

/* 備考部分 */
.calendar-note-wrapper {
  background: #fff8e6;
  padding: 12px 15px;
  border-radius: 0 0 6px 6px;
  margin-top: 10px;
}

.calendar-wrapper .calendar-note-wrapper {
  background-color: #fff8e0 !important;
  padding: 10px 14px;
  border-radius: 0 0 6px 6px;
  margin-top: 8px;
}

/* 備考欄を最大限詰める */
.calendar-note {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.95rem;
  line-height: 0.7 !important;
  white-space: pre-line;
}

/* WPが自動でpタグを入れた場合の余白を消す */
.calendar-note p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* 今月・翌月で色を変えたい場合のフック */
.calendar-note-current {
  /* 今月だけ */
}

.calendar-note-next {
  /* 翌月だけ */
}

/* カレンダーの補足テキスト */
.calendar-note-current,
.calendar-note-next {
  /* 必要に応じて追加 */
}

.calendar-note {
  margin-top: 0.75rem;
}

/* ========================================
   履歴など小テキスト
======================================== */

.rw-history {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.6rem;
  line-height: 1.6;
}
.rw-history strong {
  color: #555;
}

/* ========================================
   ピックアップ商品スライダー
======================================== */

.pickup-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 8px;
}

.pickup-slider__track {
  overflow: hidden;
}

.pickup-slider__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.4s ease;
}

.pickup-slider__item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 10px 16px;
  background: #fff7f7;
  border-radius: 8px;
}

.pickup-slider__image {
  width: 100%;
  max-width: 260px;
  max-height: 260px;
  margin: 0 auto 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pickup-slider__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.pickup-slider__title {
  font-weight: 600;
  margin-bottom: 6px;
}

.pickup-slider__desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
}

.pickup-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #ffffff;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  font-size: 1.1rem;
}

.pickup-slider__nav--prev {
  left: 4px;
}

.pickup-slider__nav--next {
  right: 4px;
}

.pickup-slider__nav:hover {
  opacity: 0.85;
}

/* ========================================
   セクション背景・余白調整
======================================== */

/* ホテルセクション */
#hotel {
  background: #fdf1e7;
  padding-top: 80px;
  padding-bottom: 80px;
  border-radius: 12px;
}

/* 営業カレンダーセクション */
#calendar {
  background: #fdf1e7;
  padding-top: 20px !important;
  padding-bottom: 80px;
  border-radius: 12px;
}

/* お知らせ・通信販売 共通の箱デザイン */
.section-box {
  background: #faefe9;
  padding: 60px 0;
  border-radius: 12px;
}

/* お知らせセクションの箱 */
.news-box {
  background: #ffffff;
  padding: 10px 40px 20px;
  border-radius: 12px;
}

/* お知らせセクションの上余白 */
#news {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* お迎えできるうさぎセクションの余白 */
#usagi {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* 通信販売セクションの余白 */
#tsuhan {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* ========================================
   お問い合わせフォーム
======================================== */

.rw-contact-form {
  max-width: 640px;
  margin: 0 auto 40px;
}

.rw-contact-field {
  margin-bottom: 16px;
}

.rw-contact-field label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #444;
}

.rw-contact-field input,
.rw-contact-field textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 8px 10px;
  font-size: 0.95rem;
}

.rw-contact-field textarea {
  resize: vertical;
}

.rw-required {
  color: #ff4b2b;
  font-size: 0.82rem;
  margin-left: 4px;
}

.rw-contact-actions {
  text-align: center;
  margin-top: 20px;
}

.rw-contact-submit {
  background: #ff7f50;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: 0.2s ease;
}

.rw-contact-submit:hover {
  background: #ff905c;
}

/* 成功 / エラー表示 */
.rw-contact-alert {
  max-width: 640px;
  margin: 0 auto 20px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.rw-contact-alert--success {
  background: #e6f7ed;
  border: 1px solid #9cd6b8;
  color: #1f7a46;
}

.rw-contact-alert--error {
  background: #ffecec;
  border: 1px solid #f5a4a4;
  color: #b73030;
}

.rw-contact-confirm-text {
  max-width: 640px;
  margin: 0 auto 12px;
  font-size: 0.9rem;
  color: #555;
}

.rw-contact-confirm {
  max-width: 640px;
  margin: 0 auto 18px;
  background: #fff8f3;
  border-radius: 8px;
  padding: 14px 16px;
  border: 1px solid #ffd3b8;
}

.rw-contact-confirm dl {
  margin: 0;
}

.rw-contact-confirm dt {
  font-size: 0.85rem;
  color: #888;
  margin-top: 6px;
}

.rw-contact-confirm dd {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  color: #444;
}

.rw-contact-actions--confirm {
  max-width: 640px;
  margin: 0 auto 30px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.rw-contact-btn.rw-contact-btn--back {
  background: #fff;
  color: #666;
  border-radius: 999px;
  border: 1px solid #ccc;
  padding: 8px 18px;
  font-size: 0.9rem;
  cursor: pointer;
}

.rw-contact-recaptcha {
  margin: 10px 0 16px;
}

/* お問い合わせフォーム：1カラム表示 */
.my-res-grid.one-column {
  display: block;
}

.my-res-grid.one-column .my-res-field {
  margin-bottom: 20px;
}

.my-res-grid.one-column label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.my-res-grid.one-column input,
.my-res-grid.one-column textarea {
  width: 100%;
}

/* ========================================
   アクセス・メンバーギャラリー
======================================== */

/* アクセスページ：4枚ギャラリー */
.rw-access-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.rw-access-gallery-item {
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.rw-access-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.rw-access-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-dark);
}

@media (max-width: 768px) {
  .rw-access-gallery {
    grid-template-columns: 1fr;
  }
}

/* 爪切りページ：2枚ギャラリー */
.rw-member-photo-gallery {
  display: flex;
  gap: 1.2rem;
  margin: 1.5rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.rw-member-photo-2col {
  width: 48%;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .rw-member-photo-2col {
    width: 100%;
  }
}

/* ========================================
   RabbitWishメンバー：LINE登録
======================================== */

/* LINE登録ブロック（共通） */
.rw-member-line-box {
  margin-top: 8px;
  padding: 16px;
  background: #fff7f8;
  border: 1px solid #ffd5dd;
  border-radius: 12px;
  text-align: center;
}

.rw-member-line-text {
  font-size: 16px;
  color: #7b5b5b;
  margin-bottom: 4px;
}

/* QRコード案内文 */
.rw-member-line-sub {
  font-size: 14px;
  color: #7b5b5b;
  margin-top: -6px;
  margin-bottom: 10px;
}

/* LINE QRコード（中央寄せ） */
.rw-member-line-qr {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0 14px;
}

.rw-member-line-qr img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fff;
  padding: 8px;
}

/* LINE公式画像ボタン用 */
.rw-member-line-button{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  background:none;      /* 緑背景を無効化 */
  padding:0;            /* 余白を消す */
  border-radius:0;      /* 画像そのまま */
  transition:opacity .25s;
}

.rw-member-line-button img{
  height:36px;
  width:auto;
}

.rw-member-line-button:hover {
  opacity: 0.8;
}

/* メンバー登録 / LINE登録 2カラムカード
   → align-items は入れず、デフォルトの stretch で高さを揃える */
.rw-member-register-cards--2col {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}

.rw-member-register-card-main,
.rw-member-register-card-line {
  flex: 1 1 280px;
}

/* カード内のタイトル */
.rw-member-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #7b5b5b;
}

/* メンバー登録カード内の項目 */
.rw-member-register-item + .rw-member-register-item {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #f0d9d9;
}

/* LINEカード側の本文余白調整 */
.rw-member-register-card-line .rw-member-register-text {
  margin-bottom: 10px;
}

/* ▼ 公式LINEカード内のボックスを少し細くして中央に寄せる */
.rw-member-register-card-line .rw-member-line-box {
  max-width: 320px;
  margin: 8px auto 0;  /* カード中央に配置 */
}

/* ▼ LINEボタンの幅を自動にして、中央寄せ＋丸ボタンに */
.rw-member-register-card-line .rw-member-line-button {
  display: inline-flex !important;      /* 他の a スタイルを上書き */
  justify-content: center;
  align-items: center;
  width: auto !important;               /* 100% 指定を打ち消す */
  max-width: 260px;
  padding: 10px 32px;
  margin: 0 auto;
  border-radius: 999px;                 /* ちょっと丸いボタンに */
  font-weight: 600;
}

/* スマホでは縦並びに */
@media (max-width: 768px) {
  .rw-member-register-cards--2col {
    flex-direction: column;
  }
}

/* ========================================
   RabbitWishメンバー：カード見出しチップ
======================================== */


/* 共通チップ */
.rw-member-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

/* チップ内のうさぎアイコン */
.rw-member-card-chip-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rw-member-card-chip-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* チップのテキスト */
.rw-member-card-chip-text {
  font-weight: 600;
}

/* カード全体を基準にする */
.rw-member-register-card {
  position: relative;
}

/* カードタイトル：文字は中央寄せ */
.rw-member-card-title {
  position: relative;
  margin: 0 0 12px;
  padding-top: 18px;            /* アイコンと重ならないよう少し上余白 */
  text-align: center;          /* タイトル文字を中央に */
  font-size: 18px;
  font-weight: 700;
  color: #7b5b5b;
}

/* アイコン（チップ）を左上に固定 */
.rw-member-card-title .rw-member-card-chip {
  position: absolute;
  top: 0;
  left: 0;
}

/* タイトル文字だけ下線＆改行させない（他と同じルールでOKならそのまま） */
.rw-member-card-title .rw-sale-card-title-text {
  display: inline-block;
  padding-bottom: 0;
  border-bottom: 4px solid #f9a36a;  /* オレンジ線（太さ4px） */
  white-space: nowrap;               /* 改行させない */
}

/* =========================================================
   RabbitWish - カード用チップカラー（最終調整版）
   コメントのイメージに完全一致したテーマカラー
   ========================================================= */


/* 店頭メンバー用チップ（オレンジ系：親しみ・案内） */
.rw-member-card-chip--store {
  background: #ffe7d6;
  border: 1px solid #ffc9a1;
  color: #b05b2c;
}

/* LINE登録用チップ（グリーン系：フレンドリー・安心） */
.rw-member-card-chip--line {
  background: #e1f8e9;
  border: 1px solid #9be2b6;
  color: #168f3e;
}


/* うさぎ専門のサポート（店頭メンバーと同系統：やさしいオレンジ） */
.rw-sale-card .rw-member-card-chip--support {
  background: #ffe7d6 !important;
  border: 1px solid #ffc9a1 !important;
  color: #b05b2c !important;
}

/* 健康で人懐っこい子を（健康＝自然＝グリーン系） */
.rw-sale-card .rw-member-card-chip--health {
  background: #e1f8e9 !important;
  border: 1px solid #9be2b6 !important;
  color: #168f3e !important;
}

/* お迎え後のサポート（安心・信頼＝ブルー系） */
.rw-sale-card .rw-member-card-chip--after {
  background: #e4f3ff !important;
  border: 1px solid #b4d8ff !important;
  color: #2b6fae !important;
}


/* 血統書（信頼・正確さ＝控えめなオレンジ系） */
.rw-member-card-chip--pedigree {
  background: #fff1e6;
  border: 1px solid #ffd2b5;
  color: #b46c2f;
}

/* ご予約（注意喚起の必要がある＝柔らかいイエロー系） */
.rw-member-card-chip--reserve {
  background: #fff7df;
  border: 1px solid #ffe1a8;
  color: #c28a21;
}

/* お渡し時期（未来・予定＝ブルー系） */
.rw-member-card-chip--timing {
  background: #e4f3ff;
  border: 1px solid #b4d8ff;
  color: #2b6fae;
}

/* お支払（格式・手続き＝ラベンダーパープル） */
.rw-member-card-chip--payment {
  background: #f4e9ff;
  border: 1px solid #d0b6ff;
  color: #6c3fb3;
}

/* 生命保障（命＝ピンク系だが赤寄りに調整） */
.rw-member-card-chip--life {
  background: #ffe5ec;
  border: 1px solid #ffbfd0;
  color: #b23054;
}

/* 返品について（注意＝オレンジ・ブラウン系） */
.rw-member-card-chip--return {
  background: #fff2e5;
  border: 1px solid #ffcfa1;
  color: #b65a21;
}


/* グルーミング（ケア＝ピンク系） */
.rw-member-card-chip--grooming {
  background: #ffeef2;
  border: 1px solid #ffc7d3;
  color: #c05674;
}

/* 爪切り（清潔・ケア＝ミントグリーン） */
.rw-member-card-chip--cut {
  background: #e9fff2;
  border: 1px solid #a7e7c5;
  color: #1c8a4d;
}

/* ホテル（休息・安心＝淡いパープル） */
.rw-member-card-chip--hotel {
  background: #f7f0ff;
  border: 1px solid #d9c6ff;
  color: #6b4faf;
}

/* タトゥー（識別・処置＝淡オレンジ系） */
.rw-member-card-chip--tattoo {
  background: #fff4e8;
  border: 1px solid #ffd6b3;
  color: #b66a1f;
}

/* 生体販売（生きもの＝温かいイエローベージュ） */
.rw-member-card-chip--seitaiban {
  background: #fff9e5;
  border: 1px solid #ffe6a3;
  color: #b58f1a;
}

/* QA（質問＝ブルー系） */
.rw-member-card-chip--qa {
  background: #eef8ff;
  border: 1px solid #bcdfff;
  color: #2a6fa3;
}

/* うさぎの飼育方法（ケア・生活＝ナチュラルグリーン） */
.rw-member-card-chip--care {
  background: #e9fff7;
  border: 1px solid #a8eed0;
  color: #1c8f6d;
}

/* うさぎの病気（警告・注意＝ソフトオレンジ） */
.rw-member-card-chip--disease {
  background: #fff4eb;
  border: 1px solid #ffd1b2;
  color: #c26a2d;
}


/* ========================================
   枠付きボックス（SP時の装飾OFF）
======================================== */

/* スマホ（599px以下）で 枠付きボックスの装飾をオフにする */
@media (max-width: 599px) {

  /* 枠付きボックス本体：メンバー・About・サービス共通でフラットに */
  .rw-member-box,
  .rw-about-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  /* 左のオレンジの帯（::before）も消す */
  .rw-member-box::before,
  .rw-about-box::before {
    content: none !important;
  }

  /* 外側の余白も少し軽めに */
  .rw-member-wrapper,
  .rw-about-wrapper {
    padding: 0 1rem 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }
}

/* ========================================
   共通：おしゃれページタイトル
======================================== */

.rw-page-header {
  text-align: center;
  margin: 0 0 48px;
}

.rw-page-title {
  font-size: 30px;
  font-weight: 600;
  color: #7b5b5b;
  margin: 0 0 12px;
  letter-spacing: 0.03em;
  position: relative;
  display: inline-block;
  padding: 0 24px;
}

/* 下のふわっとライン */
.rw-page-title-line {
  width: 360px;
  height: 3px;
  background: linear-gradient(
    to right,
    rgba(250, 211, 186, 0),
    rgba(250, 211, 186, 0.9),
    rgba(250, 211, 186, 0)
  );
  margin: 12px auto 0;
  border-radius: 4px;
}

/* サブキャッチ */
.rw-page-title-sub {
  margin: 12px 0 0;
  font-size: 14px;
  color: #9d8b8b;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .rw-page-title {
    font-size: 24px;
    padding: 0 18px;
  }
  .rw-page-title-line {
    width: 160px;
  }
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
   タイトル用：CSSウサギロゴ（ヘッダーと同じ形）
   ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.rw-logo-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-block;
  margin: 0 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
}

/* しっぽ（左側に1つ） */
.rw-logo-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: -4px;
  bottom: 2px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  border-radius: 50%;
}

/* 左耳（before） */
.rw-logo-mark::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 18px;
  left: 4px;
  top: -14px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  border-radius: 50% 50% 40% 40%;
}

/* 右耳（HTMLで作った span.ear-right） */
.rw-logo-mark .ear-right {
  content: "";
  position: absolute;
  width: 10px;
  height: 18px;
  right: 4px;
  top: -14px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  border-radius: 50% 50% 40% 40%;
}

/* 左右反転 */
.rw-logo-left {
  transform: scaleX(1); /* そのまま */
}

.rw-logo-right {
  transform: scaleX(-1); /* 反転 */
}

/* キラキラアニメーション（transform使わないバージョン） */
.rw-logo-mark {
  animation: rwSparkle 3s ease-in-out infinite;
}

@keyframes rwSparkle {
  0%   { opacity: 0.7; }
  50%  { opacity: 1; }
  100% { opacity: 0.7; }
}

/* スマホ調整 */
@media (max-width: 768px) {

  /* タイトル文字を少し小さめ */
  .rw-page-title {
    font-size: 22px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* ロゴと文字の間 */
    flex-wrap: nowrap; /* 改行しない */
  }

  /* ロゴを小さくする */
  .rw-logo-mark {
    width: 22px;
    height: 22px;
    margin: 0 4px;
  }

  /* 耳としっぽも縮小版に調整 */
  .rw-logo-mark::before,
  .rw-logo-mark .ear-right {
    width: 7px;
    height: 14px;
    top: -10px;
  }

  .rw-logo-mark::after {
    width: 7px;
    height: 7px;
    left: -3px;
    bottom: 1px;
  }

  /* 下ラインも短く */
  .rw-page-title-line {
    width: 140px;
  }
}

/* タイトルを横並び＆縦中央揃え */
.rw-page-title {
  display: flex;
  align-items: center;      /* ← これでロゴと文字が縦中央に揃う！ */
  justify-content: center;  /* ← 中央寄せ */
  gap: 12px;                /* ロゴと文字の間隔 */
  font-size: 30px;
  font-weight: 600;
  color: #7b5b5b;
  margin: 0 0 12px;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0 24px;
}

@media (max-width: 768px) {

  .rw-page-title {
    font-size: 20px;          /* タイトル字少し縮小 */
    padding: 0 10px;
    gap: 6px;                 /* ロゴと文字の間隔を縮める */
    flex-wrap: nowrap;        /* ← 改行させない */
    white-space: nowrap;      /* ← テキストの改行禁止 */
  }

  /* ロゴを小さめに */
  .rw-logo-mark {
    width: 22px;
    height: 22px;
    margin: 0 4px;
  }

  /* 耳としっぽも小さく調整 */
  .rw-logo-mark::before,
  .rw-logo-mark .ear-right {
    width: 7px;
    height: 14px;
    top: -10px;
  }

  .rw-logo-mark::after {
    width: 7px;
    height: 7px;
    left: -3px;
    bottom: 1px;
  }
}






/* ============================= */
/* うさぎ詳細 */
/* ============================= */

/* 左サムネ＋右メインの2カラム */
.rabbit-media{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

/* 左：縦サムネ */
.rabbit-thumbs{
  width:86px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.rabbit-thumb{
  width:86px;
  height:86px;
  padding:0;
  border:1px solid #e5e5e5;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
  cursor:pointer;
}
.rabbit-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.rabbit-thumb.is-active{
  outline:2px solid #ff7f50;
  outline-offset:2px;
}

/* 右：メイン */
.rabbit-main{
  flex:1;
  min-width:0;
}
.rabbit-main-image{
  width:100%;
  height:auto;
  display:block;
}

/* バッジ用 */
.usagi-thumb-wrap{
  position:relative;
}

/* ★矢印の基準：画像の箱（single-rabbit.php に .rabbit-main-view が必要） */
.rabbit-main-view{
  position: relative;
}

/* メイン画像：クリックできる感 */
.rabbit-main-link{
  display:block;
  cursor: zoom-in;
}

/* ============================= */
/* ドット（PC/スマホ共通で表示） */
/* ============================= */
.rabbit-dots{
  margin-top:10px;
  display:flex;
  justify-content:center;
  gap:10px;
}
.rabbit-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  border:0;
  background:#cfcfcf;
  padding:0;
}
.rabbit-dot.is-active{
  background:#333;
}

/* ============================= */
/* モーダル */
/* ============================= */
.rabbit-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 24px;
}
.rabbit-lightbox.is-open{ display:flex; }

.rabbit-lightbox__image{
  max-width: min(1100px, 92vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.rabbit-lightbox__close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 26px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
}
body.rabbit-no-scroll{ overflow:hidden; }

/* ============================= */
/* おしゃれ矢印（SVG版） */
/* ============================= */

/* ::before 矢印は使わない（念のため無効化） */
.rabbit-nav::before{ content:none; }

.rabbit-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;

  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);

  cursor:pointer;
  z-index:50;
  padding:0;

  display:flex;
  align-items:center;
  justify-content:center;

  line-height:0;
  font-size:0;

  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.rabbit-nav--prev{ left:14px; }
.rabbit-nav--next{ right:14px; }

.rabbit-nav:hover{
  background: rgba(255,255,255,0.50);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.rabbit-nav:active{
  transform: translateY(-50%) scale(0.96);
}

.rabbit-nav:focus-visible{
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 3px;
}

/* SVGアイコン */
.rabbit-nav__icon{
  width:18px;
  height:18px;
  display:block;
  color: rgba(0,0,0,0.55); /* currentColor */
}
.rabbit-nav:hover .rabbit-nav__icon{
  color: rgba(0,0,0,0.70);
}

/* ============================= */
/* スマホ時 */
/* ============================= */
@media (max-width: 768px){
  .rabbit-thumbs{ display:none !important; }
  .rabbit-media{ display:block; }
  .rabbit-main{ width:100%; }
  .rabbit-nav{
    width:38px;
    height:38px;
  }
}


/* ============================= */
/* うさぎ詳細 */
/* ============================= */
/* ：の前（最大3文字想定） */
.rabbit-info .label {
  display: inline-block;
  width: 3em;                 /* ← 3文字分に固定 */
  text-align: justify;        /* 均等割り付け */
  text-align-last: justify;   /* 最終行も均等に */
}

/* ：は固定 */
.rabbit-info .colon {
  display: inline-block;
  width: 1em;
  text-align: center;
}

}
