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

/* ===== のとせと絆合唱団 送信エリア ===== */

.notoseto-form__submit-area {
  padding: 38px 28px;
  background: #315f70;
  border-radius: 18px;
  text-align: center;
  color: #ffffff;
}

.notoseto-form__submit-note {
  margin-bottom: 22px;
  color: #ffffff;
}

.notoseto-form input[type="submit"] {
  min-width: 280px;
  padding: 16px 34px;
  border: none;
  border-radius: 30px;
  background: #d98258;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.notoseto-form__mail-note {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.8;
  color: #d9e0e2;
}

/* HOME2026 ヒーロー見出し */
.home-hero-title {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #183544;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.4;
  font-weight: 600;
}

/* HOME2026 日付を非表示 */
.page-id-2193 .date-tags,
.page-id-2193 .post-date,
.page-id-2193 .entry-date {
  display: none !important;
}

/* HOME2026 TOPICS タイトルリンク */
.home-topics .wp-block-post-title a {
  color: #183544;
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-topics .wp-block-post-title a:hover {
  color: #d98258;
}

/* HOME2026 TOPICS 見出し */
.home-topics-title {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 70px 0 4px !important;
  color: #183544;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* ===== HOME2026 TOPICS一覧 ===== */

.home-topics-list .wp-block-post {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;

  margin: 0;
  padding: 20px 0;

  border-bottom: 1px solid #d9dedc;
}

/* 投稿日 */
.home-topics-list .wp-block-post-date {
  margin: 0;
  color: #74838a;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* タイトル */
.home-topics-list .wp-block-post-title {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 1.05rem !important;
  line-height: 1.6;
  font-weight: 600;
}

/* タイトルリンク */
.home-topics-list .wp-block-post-title a {
  color: #183544;
  text-decoration: none;
}

.home-topics-list .wp-block-post-title a:hover {
  color: #d98258;
}

/* スマホ */
@media (max-width: 700px) {
  .home-topics-list .wp-block-post {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
}

/* TOPICS タイトル末尾の矢印 */
.home-topics-list .wp-block-post-title a::after {
  content: "→";
  display: inline-block;
  margin-left: 0.7em;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.home-topics-list .wp-block-post-title a:hover::after {
  transform: translateX(4px);
}

/* HOME2026 投稿者・パンくずを非表示 */
.page-id-2193 .author-info,
.page-id-2193 .footer-meta,
.page-id-2193 .breadcrumb,
.page-id-2193 #breadcrumb {
  display: none !important;
}

/* TOPICS 一覧リンク */
.home-topics-more {
  margin-top: 16px;
  text-align: right;
  font-size: 0.9rem;
}

.home-topics-more a {
  color: #183544;
  text-decoration: none;
}

.home-topics-more a::after {
  content: "→";
  display: inline-block;
  margin-left: 0.6em;
  transition: transform 0.2s ease;
}

.home-topics-more a:hover {
  color: #d98258;
}

.home-topics-more a:hover::after {
  transform: translateX(4px);
}

/* ===== HOME2026 3本柱 ===== */

.home-pillar-card {
  background: #fff;
  padding: 30px 26px 28px;
  border: 1px solid #e3e6e5;
  border-radius: 14px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  min-height: 520px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.home-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(24, 53, 68, 0.10);
}

/* ロゴ画像 */
.home-pillar-card img {
  display: block;
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  margin: 0 auto 28px;
  object-fit: contain;
}

/* カード内見出し */
.home-pillar-card h3 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 16px !important;

  color: #183544;
  font-size: 1.35rem;
  line-height: 1.4;
}

/* 説明文 */
.home-pillar-card p {
  line-height: 1.8;
}

/* ボタンを下へ揃える */
.home-pillar-card .wp-block-buttons,
.home-pillar-card .wp-block-button {
  margin-top: auto;
}

/* ボタン */
.home-pillar-card .wp-block-button__link {
  background: #183544;
  color: #fff;
  border-radius: 30px;
  padding: 11px 24px;
  text-decoration: none;
  transition: 0.2s ease;
}

.home-pillar-card .wp-block-button__link:hover {
  background: #d98258;
}

/* 声楽教室：ロゴがない間の文字領域 */
.home-pillar-vocal h3:first-child {
  margin-top: 70px !important;
  margin-bottom: 80px !important;
  text-align: center;
  font-size: 1.65rem;
}

/* スマホ */
@media (max-width: 700px) {
  .home-pillar-card {
    min-height: auto;
    margin-bottom: 20px;
  }

  .home-pillar-vocal h3:first-child {
    margin-top: 20px !important;
    margin-bottom: 35px !important;
  }
}

/* HOME2026 3本柱 見出し */
.home-pillars-title {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 70px 0 8px !important;
  color: #183544;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* 声楽教室：文字をロゴ相当の領域として表示 */
.home-pillar-vocal h3:first-of-type {
  min-height: 220px;
  margin: 0 0 28px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.65rem;
}

/* 3本柱 ボタン位置を下揃え */
.home-pillar-button {
  margin-top: auto !important;
  padding-top: 24px;
}

.home-pillar-button .wp-block-button__link {
  background: #183544;
  border-radius: 999px;
  padding: 11px 24px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-pillar-button .wp-block-button__link:hover {
  background: #d98258;
  transform: translateY(-2px);
}

/* ===== HOME2026 スマホ対応 ===== */

@media (max-width: 700px) {

  /* ヒーロー：スマホでは1列 */
  .home-hero-columns {
    display: block !important;
  }

  .home-hero-columns > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 左側の内容を表示 */
  .home-hero-columns > *:first-child {
    display: block !important;
  }

  /* 右側の空カラムだけ非表示 */
  .home-hero-columns > *:nth-child(2) {
    display: none !important;
  }

  /* 3本柱：3列 → 縦1列 */
  .home-pillars {
    display: block !important;
  }

  .home-pillars > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px !important;
  }

  /* 各カード */
  .home-pillar-card {
    width: 100% !important;
    min-height: auto !important;
    padding: 28px 22px !important;
  }

  /* ロゴをスマホ向けに少し小さく */
  .home-pillar-card img {
    max-height: 180px;
    margin-bottom: 24px;
  }
}