@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;
  }
}