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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.notice-area {
font-size: 1.0em;
}

.article h2 {
    font-size: 16px;
}

.article h3 {
    font-size: 16px;	
}

.article h4 {
    font-size: 16px;	
}

/*DUGA AD*/
/* iframeの横幅（420px）と高さ（180px）をそれぞれ1.5倍した値を.rapperに指定 */
.rapper { overflow: hidden; width: calc(420px * 1.6); height: calc(180px * 1.6); }

/* iframeのスケールを1.5倍に拡大し、起点を左上に固定 */
.rapper iframe { transform: scale(1.6); transform-origin: left top; }

/* 画面サイズが685px以下の場合に適用 */
@media screen and (max-width: 685px) {
    .rapper { width: calc(420px * 1.4); height: calc(180px * 1.4); }
    .rapper iframe { transform: scale(1.4); }
}

/* 画面サイズが639px以下の場合に適用 */
@media screen and (max-width: 639px) {
    .rapper { width: calc(420px * 1.3); height: calc(180px * 1.3); }
    .rapper iframe { transform: scale(1.3); }
}

/* 画面サイズが594px以下の場合に適用 */
@media screen and (max-width: 594px) {
    .rapper { width: calc(420px * 1.2); height: calc(180px * 1.2); }
    .rapper iframe { transform: scale(1.2); }
}

/* 画面サイズが548px以下の場合に適用 */
@media screen and (max-width: 548px) {
    .rapper { width: calc(420px * 1.1); height: calc(180px * 1.1); }
    .rapper iframe { transform: scale(1.1); }
}

/* 画面サイズが502px以下の場合に適用 */
@media screen and (max-width: 502px) {
    .rapper { width: calc(420px * 1); height: calc(180px * 1); }
    .rapper iframe { transform: scale(1); }
}

/* 画面サイズが456px以下の場合に適用 これ以下は「プレイリストなし」 */
@media screen and (max-width: 456px) {
    .rapper { width: calc(240px * 1.6); height: calc(180px * 1.6); }
    .rapper iframe { transform: scale(1.6); }
}

/* 画面サイズが417px以下の場合に適用 */
@media screen and (max-width: 417px) {
    .rapper { width: calc(240px * 1.5); height: calc(180px * 1.5); }
    .rapper iframe { transform: scale(1.5); }
}

/* 画面サイズが392px以下の場合に適用 */
@media screen and (max-width: 392px) {
    .rapper { width: calc(240px * 1.4); height: calc(180px * 1.4); }
    .rapper iframe { transform: scale(1.4); }
}

/* 画面サイズが366px以下の場合に適用 */
@media screen and (max-width: 366px) {
    .rapper { width: calc(240px * 1.3); height: calc(180px * 1.3); }
    .rapper iframe { transform: scale(1.3); }
}

/* 画面サイズが340px以下の場合に適用 */
@media screen and (max-width: 340px) {
    .rapper { width: calc(240px * 1.2); height: calc(180px * 1.2); }
    .rapper iframe { transform: scale(1.2); }
}


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

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

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