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

/* ========================================
   IF CLASSIC トップページの標準表示を非表示
======================================== */

/* 固定ページタイトル、投稿日、目次など */
.home.page .entry-title,
.home.page .eye-catch,
.home.page .date-tags,
.home.page .post-date,
.home.page .toc,
.home.page .sns-share,
.home.page .sns-follow,
.home.page .author-info,
.home.page .author-box {
  display: none !important;
}

/* 本文上部の余白を縮める */
.home.page .entry-content {
  margin-top: 0 !important;
}

/* Cocoon本文エリア上部の余白 */
.home.page .article {
  padding-top: 0 !important;
}

/* トップページの本文下余白 */
.home.page .entry-content > *:first-child {
  margin-top: 0;
}
/* トップページのCocoon標準情報を非表示 */
.home.page .entry-title,
.home.page .sns-share,
.home.page .sns-follow,
.home.page .date-tags,
.home.page .author-info {
  display: none;
}

/* ========================================
   IF CLASSIC 基本カラー
======================================== */

:root {
  --ifc-navy: #0d2947;
  --ifc-navy-dark: #071b30;
  --ifc-gold: #c8a978;
  --ifc-beige: #f5f0e7;
  --ifc-blue: #eef5fa;
  --ifc-green: #f0f5ef;
  --ifc-text: #222831;
  --ifc-border: #d9d5cd;
}

/* 本文全体 */
body {
  color: var(--ifc-text);
}

.home.page .main {
  background: transparent;
}

.home.page .entry-content {
  margin-top: 0 !important;
}

.home.page .entry-content h2 {
  border: 0;
  background: none;
  padding: 0;
}

/* ========================================
   冒頭ヒーロー
======================================== */

.ifc-hero {
  position: relative;
  margin: 0 0 48px;
  padding: 65px 55px;
  color: #fff;
  background:
    linear-gradient(
      110deg,
      rgba(7, 27, 48, 0.98) 0%,
      rgba(13, 41, 71, 0.94) 58%,
      rgba(13, 41, 71, 0.82) 100%
    );
  border-radius: 4px;
  overflow: hidden;
}

.ifc-hero::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(200, 169, 120, 0.25);
  border-radius: 50%;
}

.ifc-hero > * {
  position: relative;
  z-index: 1;
}

.ifc-hero-label {
  margin: 0 0 18px;
  color: var(--ifc-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.28em;
}

.ifc-hero h1 {
  margin: 0 0 25px;
  color: #fff;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.ifc-hero-text {
  max-width: 720px;
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 2;
}

.ifc-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ifc-hero-links a {
  display: inline-block;
  padding: 12px 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: 0.2s;
}

.ifc-hero-links a:hover {
  color: var(--ifc-navy);
  background: #fff;
}

/* ========================================
   共通セクション
======================================== */

.ifc-section {
  margin: 0 0 42px;
  padding: 36px;
  border: 1px solid var(--ifc-border);
  border-radius: 5px;
  background: #fff;
}

.ifc-section-heading {
  margin-bottom: 24px;
}

.ifc-section-heading h2 {
  margin: 0 0 10px;
  color: var(--ifc-navy);
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.ifc-section-heading > p:last-child {
  margin-bottom: 0;
  line-height: 1.9;
}

.ifc-category-label {
  margin: 0 0 7px;
  color: #816945;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* カテゴリー別背景 */
.ifc-section-amaoke {
  background: var(--ifc-beige);
}

.ifc-section-performer {
  background: var(--ifc-blue);
}

.ifc-section-conductor {
  background: var(--ifc-green);
}

.ifc-section-feature {
  background: #f4ede3;
}

/* ========================================
   新着・記事カード
======================================== */

.home .new-entry-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home .new-entry-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home .new-entry-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.home .new-entry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.09);
}

.home .new-entry-card-thumb {
  width: 100%;
}

.home .new-entry-card-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home .new-entry-card-content {
  padding: 17px 18px 18px;
}

.home .new-entry-card-title {
  color: var(--ifc-text);
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
}

.home .new-entry-card-date {
  margin-top: 12px;
  color: #777;
  font-size: 12px;
}

/* ========================================
   演奏家・指揮者の横並び
======================================== */

.ifc-interview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ifc-interview-grid .ifc-section {
  height: 100%;
}

.ifc-interview-grid .new-entry-cards {
  grid-template-columns: 1fr;
}

/* ========================================
   記事一覧へのリンク
======================================== */

.ifc-more-link {
  margin: 25px 0 0;
  text-align: center;
}

.ifc-more-link a,
.ifc-button a {
  display: inline-block;
  min-width: 230px;
  padding: 12px 24px;
  color: var(--ifc-navy);
  background: #fff;
  border: 1px solid var(--ifc-navy);
  text-align: center;
  text-decoration: none;
  transition: 0.2s;
}

.ifc-more-link a:hover,
.ifc-button a:hover {
  color: #fff;
  background: var(--ifc-navy);
}

/* ========================================
   情報提供
======================================== */

.ifc-information-box {
  margin: 42px 0;
  padding: 40px;
  background: var(--ifc-beige);
  border-left: 5px solid var(--ifc-gold);
}

.ifc-information-box h2 {
  margin-top: 0;
  color: var(--ifc-navy);
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
}

/* ========================================
   IF PRESS
======================================== */

.ifc-sister-site {
  margin: 42px 0 10px;
  padding: 40px;
  color: #fff;
  background:
    linear-gradient(
      110deg,
      var(--ifc-navy-dark),
      var(--ifc-navy)
    );
}

.ifc-sister-site h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  letter-spacing: 0.12em;
}

.ifc-sister-site .ifc-category-label {
  color: var(--ifc-gold);
}

.ifc-sister-site .ifc-button a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.ifc-sister-site .ifc-button a:hover {
  color: var(--ifc-navy);
  background: #fff;
}

/* ========================================
   スマートフォン・タブレット
======================================== */

@media screen and (max-width: 834px) {
  .ifc-hero {
    padding: 45px 30px;
  }

  .home .new-entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ifc-interview-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .ifc-hero {
    margin-left: -10px;
    margin-right: -10px;
    padding: 38px 23px;
    border-radius: 0;
  }

  .ifc-hero h1 {
    font-size: 28px;
  }

  .ifc-hero-text {
    font-size: 14px;
    line-height: 1.9;
  }

  .ifc-pc-only {
    display: none;
  }

  .ifc-hero-links {
    display: block;
  }

  .ifc-hero-links a {
    display: block;
    margin-top: 10px;
    text-align: center;
  }

  .ifc-section {
    padding: 25px 18px;
  }

  .ifc-section-heading h2 {
    font-size: 24px;
  }

  .home .new-entry-cards {
    grid-template-columns: 1fr;
  }

  .ifc-information-box,
  .ifc-sister-site {
    padding: 28px 22px;
  }

  .ifc-more-link a,
  .ifc-button a {
    width: 100%;
    min-width: auto;
  }
}

/* ========================================
   IF CLASSIC フォント設定
======================================== */

/* 本文・説明・メニュー：読みやすいゴシック */
body,
button,
input,
textarea,
select {
  font-family:
    "Yu Gothic Medium",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

/* サイト名：欧文セリフ体 */
.site-name-text,
.site-name-text a,
.logo-text,
.logo-text a {
  font-family:
    Georgia,
    "Times New Roman",
    serif !important;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* グローバルメニュー */
#navi .navi-in a {
  font-family:
    "Yu Gothic Medium",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* トップページの大見出し・記事タイトル */
.ifc-hero h1,
.ifc-section-heading h2,
.ifc-information-box h2,
.home .new-entry-card-title {
  font-family:
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    serif !important;
}

/* 投稿ページの記事タイトル */
.single-post .entry-title {
  font-family:
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    serif;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.035em;
}

/* 記事本文の見出し */
.article h2,
.article h3,
.article h4 {
  font-family:
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* 記事本文 */
.article p {
  line-height: 2;
  letter-spacing: 0.015em;
}

/* ========================================
   IF CLASSIC 新着記事・編集型レイアウト
======================================== */

.home .ifc-latest-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: start;
}

/* 以前の3列指定を、この欄では解除 */
.home .ifc-lead-list,
.home .ifc-sub-list {
  display: block !important;
  grid-template-columns: none !important;
}

/* リンク全体 */
.home .ifc-lead-list .new-entry-card-link,
.home .ifc-sub-list .new-entry-card-link {
  display: block;
  width: 100% !important;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

/* カードの共通設定 */
.home .ifc-lead-list .new-entry-card,
.home .ifc-sub-list .new-entry-card {
  overflow: visible;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* サムネイルの回り込みを解除 */
.home .ifc-lead-list .new-entry-card-thumb,
.home .ifc-sub-list .new-entry-card-thumb {
  float: none;
  margin: 0;
}

/* 画像 */
.home .ifc-lead-list .new-entry-card-thumb img,
.home .ifc-sub-list .new-entry-card-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 文字部分を必ず表示 */
.home .ifc-lead-list .new-entry-card-content,
.home .ifc-sub-list .new-entry-card-content {
  display: block !important;
  margin: 0;
  color: #222831;
}

/* メイン記事 */
.home .ifc-lead-list .new-entry-card-thumb {
  width: 100%;
  margin-bottom: 18px;
}

.home .ifc-lead-list .new-entry-card-content {
  padding: 0 4px;
}

.home .ifc-lead-list .new-entry-card-title {
  display: block !important;
  color: #17283b !important;
  font-family:
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.025em;
}

/* メイン記事の紹介文 */
.home .ifc-lead-list .new-entry-card-snippet {
  display: block !important;
  margin-top: 12px;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}

/* 日付 */
.home .ifc-lead-list .new-entry-card-date,
.home .ifc-sub-list .new-entry-card-date {
  display: block !important;
  margin-top: 10px;
  color: #8a8a8a;
  font-size: 12px;
}

/* 右側の小記事 */
.home .ifc-sub-list .new-entry-card-link {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ddd8cf;
}

.home .ifc-sub-list .new-entry-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.home .ifc-sub-list .new-entry-card-thumb {
  width: 145px;
}

.home .ifc-sub-list .new-entry-card-content {
  padding: 0;
}

.home .ifc-sub-list .new-entry-card-title {
  display: block !important;
  color: #17283b !important;
  font-family:
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

/* ホバー */
.home .ifc-lead-list .new-entry-card-link:hover img,
.home .ifc-sub-list .new-entry-card-link:hover img {
  opacity: 0.88;
}

.home .ifc-lead-list .new-entry-card-link:hover
.new-entry-card-title,
.home .ifc-sub-list .new-entry-card-link:hover
.new-entry-card-title {
  color: #8a6b3d !important;
}

/* タブレット */
@media screen and (max-width: 834px) {
  .home .ifc-latest-editorial {
    grid-template-columns: 1fr;
  }

  .home .ifc-sub-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .home .ifc-sub-list .new-entry-card-link {
    margin-bottom: 0;
    border-bottom: 0;
  }

  .home .ifc-sub-list .new-entry-card {
    display: block;
  }

  .home .ifc-sub-list .new-entry-card-thumb {
    width: 100%;
    margin-bottom: 12px;
  }
}

/* スマートフォン */
@media screen and (max-width: 480px) {
  .home .ifc-lead-list .new-entry-card-title {
    font-size: 23px;
  }

  .home .ifc-sub-list {
    display: block !important;
  }

  .home .ifc-sub-list .new-entry-card-link {
    margin-bottom: 17px;
    padding-bottom: 17px;
    border-bottom: 1px solid #ddd8cf;
  }

  .home .ifc-sub-list .new-entry-card {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 13px;
  }

  .home .ifc-sub-list .new-entry-card-thumb {
    width: 115px;
    margin-bottom: 0;
  }

  .home .ifc-sub-list .new-entry-card-title {
    font-size: 15px;
  }
}

/* ========================================
   IF CLASSIC カテゴリー別・編集型レイアウト
======================================== */

/* セクション内の最大幅 */
.home .ifc-editorial-category {
  padding: 42px;
}

/* Cocoon共通の3列表示を、この欄では解除 */
.home .ifc-category-lead,
.home .ifc-category-related {
  display: block !important;
  grid-template-columns: none !important;
}

/* ----------------------------------------
   メイン記事
---------------------------------------- */

.home .ifc-category-lead-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.home .ifc-category-lead .new-entry-card-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.home .ifc-category-lead .new-entry-card {
  display: block;
  height: auto;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* アイキャッチ画像 */
.home .ifc-category-lead .new-entry-card-thumb {
  float: none;
  width: 100%;
  margin: 0 0 22px;
}

.home .ifc-category-lead .new-entry-card-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* タイトル・紹介文の領域 */
.home .ifc-category-lead .new-entry-card-content {
  display: block !important;
  padding: 0;
}

/* メイン記事タイトル */
.home .ifc-category-lead .new-entry-card-title {
  display: block !important;
  margin: 0;
  color: #17283b !important;
  font-family:
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.025em;
}

/* 2～3行の紹介文 */
.home .ifc-category-lead .new-entry-card-snippet {
  display: -webkit-box !important;
  margin-top: 14px;
  overflow: hidden;
  color: #565656;
  font-size: 15px;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* メイン記事のホバー */
.home .ifc-category-lead .new-entry-card-link:hover img {
  opacity: 0.9;
}

.home .ifc-category-lead .new-entry-card-link:hover
.new-entry-card-title {
  color: #85683f !important;
}

/* ----------------------------------------
   関連記事
---------------------------------------- */

.home .ifc-related-articles {
  max-width: 760px;
  margin: 30px auto 0;
  padding-top: 22px;
  border-top: 1px solid #d6cfc3;
}

.home .ifc-related-articles h3 {
  margin: 0 0 8px;
  padding: 0;
  color: #776343;
  background: none;
  border: 0;
  font-family:
    "Yu Gothic Medium",
    "Yu Gothic",
    sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* 関連記事では画像・説明・日付を非表示 */
.home .ifc-category-related .new-entry-card-thumb,
.home .ifc-category-related .new-entry-card-snippet,
.home .ifc-category-related .new-entry-card-date {
  display: none !important;
}

/* 関連記事リンク */
.home .ifc-category-related .new-entry-card-link {
  display: block;
  width: 100%;
  padding: 14px 4px;
  color: inherit;
  border-bottom: 1px solid #ddd7cd;
  text-decoration: none;
}

/* Cocoon標準カード装飾を解除 */
.home .ifc-category-related .new-entry-card {
  display: block;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home .ifc-category-related .new-entry-card-content {
  display: block !important;
  padding: 0;
}

/* 関連記事タイトル */
.home .ifc-category-related .new-entry-card-title {
  display: block !important;
  position: relative;
  padding-left: 20px;
  color: #253548 !important;
  font-family:
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
}

/* 行頭記号 */
.home .ifc-category-related .new-entry-card-title::before {
  content: "›";
  position: absolute;
  top: 0;
  left: 2px;
  color: #9a794b;
  font-family: serif;
  font-size: 21px;
}

.home .ifc-category-related .new-entry-card-link:hover
.new-entry-card-title {
  color: #85683f !important;
}

/* ----------------------------------------
   スマートフォン
---------------------------------------- */

@media screen and (max-width: 480px) {

  .home .ifc-editorial-category {
    padding: 27px 18px;
  }

  .home .ifc-category-lead .new-entry-card-thumb {
    margin-bottom: 16px;
  }

  .home .ifc-category-lead .new-entry-card-title {
    font-size: 22px;
    line-height: 1.55;
  }

  .home .ifc-category-lead .new-entry-card-snippet {
    font-size: 14px;
    line-height: 1.85;
  }

  .home .ifc-category-related .new-entry-card-title {
    font-size: 15px;
  }
}