@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* アフィリエイトボタンのCSS */
/* ボタンのコンテナ */
.download-button-container {
  width: 100%;
  text-align: center;   /* ボタンを中央に配置 */
  margin-top: 20px;
}

/* ボタンデザイン */
.download-btn {
  display: inline-block;   /* インラインブロックにして中央寄せを有効に */
  padding: 14px 30px;      /* ボタンの大きさ */
  font-size: 18px;         /* フォントサイズ */
  background-color: #f90;  /* FANZAっぽいオレンジ色 */
  color: #fff;             /* 文字色を白に */
  text-decoration: none;   /* 下線なし */
  border-radius: 5px;      /* 角丸 */
  transition: background-color 0.3s ease;  /* ホバーアニメーション */
  cursor: pointer;         /* マウスカーソルをポインターに */
}

.download-btn:hover {
  background-color: #e68a00;  /* ホバー時の色 */
}

/* スマホなど小さい画面用 */
@media (max-width: 768px) {
  .download-btn {
    font-size: 16px;
    padding: 12px 25px;
  }
}


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

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

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




.tag-sort-buttons a {
  margin-right: 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.tag-sort-buttons .current {
  color: #fff;
  background: #0073aa;
  padding: 4px 8px;
  border-radius: 4px;
}


/************************************
** 新着、人気切り替えボタン用
************************************/

/* ソート切り替えボタンのコンテナ */
.c-list-control__options {
  display: flex; /* 横並びにする */
  list-style: none; /* リストの点（・）を消す */
  margin: 0;
  padding: 0;
  border: 1px solid #ccc; /* 枠線 */
  border-radius: 5px; /* 角を丸くする */
  overflow: hidden; /* 子要素が枠線からはみ出ないように */
  max-width: 250px; /* 必要に応じて幅を調整 */
  margin-bottom: 20px; /* 下にスペースを空ける */
}

/* 個々のボタン（li要素） */
.c-list-control__options li {
  flex: 1; /* 横幅を均等にする */
  text-align: center;
}

/* ボタンの中のリンク（a要素） */
.c-list-control__options a {
  display: block; /* liいっぱいに広げる */
  padding: 10px 15px; /* ボタンのサイズ調整 */
  text-decoration: none; /* 下線を消す */
  color: #555;
  background-color: #f7f7f7;
  transition: background-color 0.2s ease; /* ホバー時のアニメーション */
}

/* ホバー時のスタイル */
.c-list-control__options a:hover {
  background-color: #eee;
}

/* 選択中のボタン（li要素に付く.is-select） */
.c-list-control__options li.is-select a {
  background-color: #fff; /* 背景色を白に */
  color: #000;
  font-weight: bold; /* フォントを太字に */
  position: relative;
}

/* 選択中のボタンに下線風のデザインを追加 */
.c-list-control__options li.is-select a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #4285F4; /* 強調する色 */
}


