@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){
  /*必要ならばここにコードを書く*/
}

.fanza-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 720 / 480;
  margin: 0 auto 20px;
  cursor: pointer;
  overflow: hidden;
  background: #000;
}
.fanza-video-wrapper iframe,
.fanza-video-wrapper .fanza-video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.fanza-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  pointer-events: none;
}
.fanza-play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}

#main.main {
  width: auto;
  max-width: 100%;
  flex: 1 1 0;
  min-width: 0;
}

.fanza-affiliate-link {
  width: 100%;
  margin: 20px 0;
}
.fanza-affiliate-link a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 20px;
  background-color: #ff6600;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.fanza-affiliate-link a:hover {
  background-color: #e55a00;
  color: #fff;
}