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

.wrap {
    max-width: 100%; /* 親幅に収める */
}

.page-header {
    text-align: left; /* 左寄せ */
    margin-bottom: 30px;
}

.actress-eye {
    display: block;
    margin-bottom: 15px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.works-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3カラム固定 */
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.work-item {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    text-align: left; /* 左寄せ */
    background-color: #fff;
}

@media screen and (max-width: 768px) {
    .works-list {
        grid-template-columns: 1fr; /* スマホ1列表示 */
    }
}

/* Affiliate grid */
.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.affiliate-item {
  text-align: left;
}

.affiliate-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.affiliate-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .28s ease;
}

.affiliate-item a:hover img {
  transform: scale(1.03);
}

.affiliate-title {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}