@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){
  /*必要ならばここにコードを書く*/
}
/* 映画ページ基本スタイル */
.movie-info-table,
.score-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.movie-info-table th,
.movie-info-table td,
.score-table th,
.score-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.movie-info-table th,
.score-table th {
  background-color: #333;
  color: #fff;
  width: 40%;
}

.movie-info-table td,
.score-table td {
  background-color: #f9f9f9;
}

/* WORLD SCORE INDEX */
.world-score-index {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: white;
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
}

.world-score-index h2 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: white;
}

.score-number {
  font-size: 5em;
  font-weight: bold;
  color: #ffd700;
  line-height: 1;
}

.score-label {
  font-size: 1.5em;
  color: #ccc;
  margin-top: 5px;
}

/* 配信ボタン */
.streaming-info {
  margin-top: 30px;
}

.streaming-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  margin: 5px;
  font-weight: bold;
}

.netflix-btn {
  background-color: #e50914;
}

.prime-btn {
  background-color: #00a8e0;
}

.disney-btn {
  background-color: #113ccf;
}

.streaming-btn:hover {
  opacity: 0.85;
  color: white;
}

/* 映画ポスター */
.movie-poster {
  margin-bottom: 20px;
}

.movie-poster img {
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
/* 映画一覧ページ */
.archive-title {
  font-size: 2em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #333;
}

.movie-filter {
  margin-bottom: 30px;
}

.movie-filter input {
  width: 100%;
  padding: 12px 20px;
  font-size: 1em;
  border: 2px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

.movie-filter input:focus {
  outline: none;
  border-color: #333;
}

/* カードグリッド */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.movie-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.movie-card-poster img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.movie-card-no-poster {
  width: 100%;
  height: 200px;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

.movie-card-info {
  padding: 15px;
}

.movie-card-title {
  font-size: 1.1em;
  margin: 0 0 5px 0;
}

.movie-card-title a {
  color: #333;
  text-decoration: none;
}

.movie-card-title a:hover {
  color: #e50914;
}

.movie-card-original {
  color: #888;
  font-size: 0.85em;
  margin: 0 0 5px 0;
}

.movie-card-meta {
  color: #666;
  font-size: 0.85em;
  margin: 0 0 5px 0;
}

.movie-card-genre {
  color: #666;
  font-size: 0.85em;
  margin: 0 0 10px 0;
}

.streaming-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8em;
  margin-bottom: 10px;
}

/* カードのスコア表示 */
.movie-card-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a2e;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  margin-top: 10px;
}

.score-label-small {
  font-size: 0.75em;
  color: #aaa;
}

.score-value {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffd700;
}