@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
@media screen and (max-width: 480px){

  /*必要ならばここにコードを書く*/

}
/* 吉原攻略｜スマホ下部メニュー */

@media screen and (max-width: 1023px) {

  .mobile-footer-menu-buttons {
    background: #080808 !important;
    border-top: 1px solid #D4AF37 !important;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.25) !important;
  }

  .mobile-footer-menu-buttons .menu-button {
    background: #080808 !important;
    border-left: 1px solid rgba(255,255,255,0.08) !important;
  }

  .mobile-footer-menu-buttons .menu-button:first-child {
    border-left: none !important;
  }

  .mobile-footer-menu-buttons .menu-button > a {
    background: #080808 !important;
  }

  .mobile-footer-menu-buttons .menu-icon {
    color: #F5F5F5 !important;
    font-size: 21px !important;
  }

  .mobile-footer-menu-buttons .menu-caption {
    color: #E6E6E6 !important;
    font-size: 9px !important;
    letter-spacing: 0.8px !important;
  }

  .mobile-footer-menu-buttons .home-menu-button .menu-icon,
  .mobile-footer-menu-buttons .top-menu-button .menu-icon {
    color: #D4AF37 !important;
  }

  .mobile-footer-menu-buttons .menu-button:hover,
  .mobile-footer-menu-buttons .menu-button:active {
    background: #141414 !important;
  }

}
@media screen and (max-width: 1023px){

  .mobile-footer-menu-buttons.mobile-menu-buttons,
  .mobile-footer-menu-buttons.mobile-menu-buttons .menu-button > a {
    background-color: #080808 !important;
  }

  .mobile-footer-menu-buttons.mobile-menu-buttons .menu-icon,
  .mobile-footer-menu-buttons.mobile-menu-buttons .menu-caption {
    color: #E6E6E6 !important;
  }

  .mobile-footer-menu-buttons.mobile-menu-buttons .home-menu-icon,
  .mobile-footer-menu-buttons.mobile-menu-buttons .top-menu-icon {
    color: #D4AF37 !important;
  }

}
/* ========================================
   吉原攻略｜サイドバー画像
   サイドバー幅いっぱいに表示
   ======================================== */

.sidebar .widget_media_image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}
.sidebar .widget_media_image {
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.sidebar .widget_media_image .widget-content {
  padding: 0 !important;
}
/* ========================================
   吉原攻略｜4コマ漫画 サイドバースライダー
   ======================================== */

.yg-manga-slider {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 25px;
  background: #080808;
  border: 1px solid #D4AF37;
  box-sizing: border-box;
  overflow: hidden;
}

/* タイトル */

.yg-manga-title {
  text-align: center;
  padding: 14px 10px 12px;
  background: #080808;
  border-bottom: 1px solid rgba(212,175,55,0.45);
}

.yg-manga-title span {
  display: block;
  color: #D4AF37;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 3px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.yg-manga-title strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.5;
}

/* スライダー */

.yg-manga-slider-window {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000000;
}

/* スライド本体 */

.yg-manga-track {
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.55s ease;
  will-change: transform;
}

/* 各スライド */

.yg-manga-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

/* 画像 */

.yg-manga-slide img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  object-fit: cover;
}

/* リンク */

.yg-manga-link {
  display: block;
  line-height: 0;
  text-decoration: none !important;
}

/* 左右ボタン */

.yg-manga-prev,
.yg-manga-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 34px;
  height: 34px;

  padding: 0;
  margin: 0;

  border: 1px solid #D4AF37;
  border-radius: 50%;

  background: rgba(0,0,0,0.72);
  color: #D4AF37;

  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 300;
  line-height: 29px;

  cursor: pointer;

  opacity: 0;
  transition:
    opacity 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

/* PCではマウスを乗せたら表示 */

.yg-manga-slider:hover .yg-manga-prev,
.yg-manga-slider:hover .yg-manga-next {
  opacity: 1;
}

.yg-manga-prev {
  left: 8px;
}

.yg-manga-next {
  right: 8px;
}

.yg-manga-prev:hover,
.yg-manga-next:hover {
  background: #D4AF37;
  color: #080808;
}

/* ドット */

.yg-manga-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;

  min-height: 25px;
  padding: 7px 5px 5px;

  background: #080808;
}

.yg-manga-dot {
  display: block;

  width: 6px;
  height: 6px;

  padding: 0;
  margin: 0;

  border: 1px solid #777;
  border-radius: 50%;

  background: transparent;

  cursor: pointer;

  transition:
    width 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.yg-manga-dot.active {
  width: 18px;
  border-radius: 10px;
  background: #D4AF37;
  border-color: #D4AF37;
}

/* 下部VOL表記 */

.yg-manga-caption {
  display: flex;
  justify-content: center;
  gap: 10px;

  padding: 2px 8px 13px;

  background: #080808;
  color: #888;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 1px;
}

.yg-manga-caption span {
  opacity: 0.55;
}

.yg-manga-caption span.active {
  color: #D4AF37;
  opacity: 1;
}

/* ========================================
   スマホ
   ======================================== */

@media screen and (max-width: 834px) {

  .yg-manga-slider {
    margin-bottom: 20px;
  }

  .yg-manga-title {
    padding: 12px 8px 10px;
  }

  .yg-manga-title strong {
    font-size: 14px;
  }

  .yg-manga-prev,
  .yg-manga-next {
    width: 31px;
    height: 31px;
    font-size: 24px;
    line-height: 26px;
    opacity: 0.8;
  }

  .yg-manga-prev {
    left: 6px;
  }

  .yg-manga-next {
    right: 6px;
  }

}

/* ========================================
   アニメーションを減らす設定
   ======================================== */

@media (prefers-reduced-motion: reduce) {

  .yg-manga-track {
    transition: none;
  }

}