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

/************************************
** 映画旅 カスタムスタイル
** コンセプト: シネマ感のある紺×ゴールドのアクセント
************************************/
:root {
  --eigatabi-navy: #1a2744;
  --eigatabi-gold: #b8902f;
  --eigatabi-gold-light: #d9b65c;
}

/* サイトタイトル(テキストロゴ)に映画らしいセリフ体の雰囲気を */
#site-title, .site-name, .site-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  letter-spacing: 0.05em;
}

#site-title a, .site-name a {
  color: var(--eigatabi-navy) !important;
}

/* ヘッダーの下に細いゴールドのライン */
#header-container {
  border-bottom: 2px solid var(--eigatabi-gold);
}

/* リンクのアクセントカラー */
a {
  color: var(--eigatabi-navy);
}
a:hover {
  color: var(--eigatabi-gold);
}

/* 記事タイトル(一覧・個別ページ共通) */
.article-title, .entry-card-title {
  font-weight: 700;
}

/* カテゴリラベル */
.cat-label, .article-category a {
  background-color: var(--eigatabi-navy) !important;
  border-color: var(--eigatabi-navy) !important;
}

/* 引用ブロックをシネマチケット風の左ボーダーに */
blockquote {
  border-left: 4px solid var(--eigatabi-gold);
  background: #faf7f0;
  padding: 0.8em 1.2em;
}

/* 投稿一覧のカードにわずかな浮き上がり感 */
.entry-card-wrap {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.entry-card-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26, 39, 68, 0.15);
}

/* フッターのアクセント */
#footer {
  border-top: 2px solid var(--eigatabi-gold);
}

/* ページ全体の地色をロゴのクリーム色に統一し、本文・カードは白背景で可読性を確保 */
body {
  background-color: #f7f1e3;
}
.main, .content, .entry-card-wrap, #header-container, #footer {
  background-color: #ffffff;
}

/* セクション区切りにチケットの切れ目を意識したゴールドの点線 */
.article hr, .entry-content hr {
  border: none;
  border-top: 1px dashed var(--eigatabi-gold);
  margin: 2em 0;
}

/* YouTube/Instagram/Facebook埋め込みの中央寄せ(Cocoon本体は margin: 30px 0 で左寄りになるため上書き) */
.video-container,
.instagram-container,
.facebook-container {
  margin: 30px auto !important;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /* ヘッダーを含むコンテンツ全体の固定幅(1256px)を解除し、画面幅いっぱいに使う(余白なし) */
  .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
  #header-in, #navi-in {
    padding: 0 !important;
    margin: 0 auto !important;
  }
  .header-site-logo-image {
    max-width: 100%;
    height: auto;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
  #header-in, #navi-in {
    padding: 0 !important;
    margin: 0 auto !important;
  }
  .header-site-logo-image {
    max-width: 100%;
    height: auto;
  }
}

/* 読了時間バッジ */
.eigatabi-reading-time {
  display: inline-block;
  font-size: 0.85em;
  color: #555;
  background: #f3f0e8;
  border-radius: 4px;
  padding: 0.3em 0.8em;
  margin-bottom: 1em;
}

/* フッターロゴ非表示 */
.footer-bottom-logo {
  display: none !important;
}

/* ============================================================
   ショッピングカード (Amazon / メルカリ)
   ============================================================ */
.eigatabi-amz {
  border: 1px solid #c9b96e;
  border-radius: 8px;
  overflow: hidden;
  margin: 28px 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(26,39,68,.09);
  font-size: 0.95em;
  line-height: 1.5;
}
.eigatabi-amz__header {
  background: #1a2744;
  color: #d9b65c;
  padding: 10px 18px;
  font-size: 0.84em;
  font-weight: 700;
  letter-spacing: .04em;
}
.eigatabi-amz__body {
  padding: 16px 20px 18px;
}
.eigatabi-amz__title {
  font-size: 1.02em;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1a2744;
  line-height: 1.45;
}
.eigatabi-amz__author {
  font-size: 0.82em;
  color: #777;
  margin: 0 0 6px;
}
.eigatabi-amz__desc {
  font-size: 0.87em;
  color: #555;
  margin: 0 0 14px;
  line-height: 1.6;
}
.eigatabi-amz__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.eigatabi-amz__btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 0.88em;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
}
.eigatabi-amz__btn:hover {
  opacity: .82;
  transform: translateY(-1px);
  text-decoration: none !important;
}
.eigatabi-amz__btn--amazon {
  background: #ff9900 !important;
  color: #fff !important;
}
.eigatabi-amz__btn--mercari {
  background: #e02020 !important;
  color: #fff !important;
}
@media (max-width: 480px) {
  .eigatabi-amz__btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
