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

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


/* 親コンテナを縦方向に */
.entry-card-wrap {
}
.entry-card-thumb {
	float:none;
	width:100%;
}
.entry-card-thumb img {
    width: 100%;
    height: auto;
}
.entry-card-content {
	float:none;
	margin:0 0 0 0;
	width:100%;
}

/* ボタン化 */
.fanza-data .link a {
    display: inline-block;          /* インラインブロックでボタン化 */
    padding: 14px 28px;             /* 縦横の余白 */
    background-color: #ff6f61;      /* 目立つ色 */
    color: #fff;                     /* 文字色 */
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;           /* 下線なし */
    border-radius: 8px;              /* 角丸 */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* 軽い影 */
    transition: all 0.3s ease;       /* ホバーアニメーション */
}

/* ホバー時 */
.fanza-data .link a:hover {
    background-color: #ff3b2f;       /* 濃い色に */
    transform: translateY(-3px);      /* 少し浮かせる */
    box-shadow: 0 6px 8px rgba(0,0,0,0.25);
}

/* 中央配置 */
.fanza-data .link {
    text-align: center;
    margin: 20px 0;
}

/* スマホ対応（画面幅480px以下） */
@media screen and (max-width: 480px) {
    .fanza-data .link a {
        display: block;    /* 幅いっぱいに */
        width: 90%;        /* 画面の90％幅 */
        padding: 12px 0;   /* パディング縦のみ */
        font-size: 18px;   /* 少し大きくして押しやすく */
        margin: 0 auto;    /* 中央配置 */
    }
}

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

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

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


/* 記事の表示順入れ替え */
.entry-content {
  display: grid;
  grid-template-columns: 1fr;
}
.fanza-data {
  display: contents;
}
.entry-content iframe {
  order: 1;
}
.entry-content img {
  order: 2;
}
.entry-content .link {
  order: 3;
}
.entry-content h2,
.entry-content .actress,
.entry-content .genre {
  order: 4;
}
