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

/* 年齢確認ボタンのデザイン */
.age-gate-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px; /* ボタン同士の間隔 */
}

.age-btn {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

/* 「はい」ボタン（目立たせる） */
.age-btn.yes {
    background-color: #ff9800; /* オレンジ */
    color: #fff !important;
}

/* 「いいえ」ボタン（控えめにする） */
.age-btn.no {
    background-color: #666; /* グレー */
    color: #fff !important;
}

.age-btn:hover {
    opacity: 0.8;
}

/* スマホでは縦に並べる */
@media screen and (max-width: 480px) {
    .age-gate-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 動画のレスポンシブ対応 */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* サンプルギャラリーの横並び */
.custom-sample-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.sample-img {
    width: calc(33.333% - 7px);
    height: auto;
    border-radius: 4px;
}