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

/* =============================================
   からすの音楽スタジオ — CAFICT風カスタマイズ
   作成日: 2025-05
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&display=swap');


/* =============================================
   1. リセット・基本設定
   ============================================= */

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #faf9f7;
  color: #5f5e5a;
  font-size: 15px;
  line-height: 1.9;
}

#container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}


/* =============================================
   2. ヘッダー
   ============================================= */

#header {
  background: #ffffff;
  border-bottom: 1px solid #e8e4df;
  box-shadow: none;
}

.site-name-text {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #2c2c2a;
}


/* =============================================
   3. ナビゲーション
   ============================================= */

.cafict-nav {
  width: 100%;
  border-bottom: 1px solid #e8e4df;
  background: #ffffff;
  padding: 14px 0;
}

.cafict-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.cafict-logo a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.cafict-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.cafict-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.cafict-menu li a {
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.05em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.cafict-menu li a:hover {
  opacity: 0.7;
  border-color: #333;
}

@media (max-width: 768px) {
  .cafict-nav-inner {
    flex-direction: column;
    gap: 12px;
  }
  .cafict-menu {
    gap: 18px;
  }
}


/* =============================================
   4. ヒーローセクション
   ============================================= */

.top-hero-simple {
  margin: 24px 0 16px;
  background: #f5f2ee;
  border-radius: 18px;
  overflow: hidden;
}

.top-hero-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.top-hero-inner {
  padding: 24px 24px 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.top-hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888780;
  margin-bottom: 6px;
}

.top-hero-title {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #2c2c2a;
  margin-bottom: 8px;
}

.top-hero-text {
  font-size: 0.9rem;
  color: #888780;
  line-height: 1.8;
}

/* PC: テキストをフローティングカードに */
@media (min-width: 960px) {
  .top-hero-simple {
    position: relative;
    padding-bottom: 40px;
  }
  .top-hero-img {
    height: 280px;
  }
  .top-hero-inner {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    background: rgba(245, 242, 238, 0.93);
    padding: 18px 28px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .top-hero-img {
    height: 180px;
    object-position: center 45%;
  }
  .top-hero-inner {
    padding: 20px 16px 24px;
  }
  .top-hero-title {
    font-size: 1.3rem;
  }
  .top-hero-text {
    font-size: 0.85rem;
  }
}


/* =============================================
   5. MetaSlider
   ============================================= */

#metaslider-id-91 {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

#metaslider-id-91 .flexslider,
#metaslider-id-91 .flexslider .slides {
  border-radius: 18px;
  overflow: hidden;
}

#metaslider-id-91 .flexslider .slides img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

#metaslider-id-91 .flex-control-nav {
  bottom: 14px;
}

#metaslider-id-91 .flex-control-nav li a {
  background: rgba(255, 255, 255, 0.6);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

#metaslider-id-91 .flex-control-nav li a.flex-active {
  background: #ffffff;
  transform: scale(1.25);
}

#metaslider-id-91 .flex-direction-nav a {
  opacity: 0.55;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  transition: 0.2s ease;
}

#metaslider-id-91 .flex-direction-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.95);
}


/* =============================================
   6. 記事カード
   ============================================= */

.entry-card .post-thumbnail img,
.entry-card-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.entry-card .post-thumbnail,
.entry-card-thumb {
  position: relative;
}

/* カテゴリバッジ */
.cat-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  font-size: 0.65rem;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #555;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entry-card-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: #2c2c2a;
  margin-top: 8px;
  margin-bottom: 4px;
  line-height: 1.6;
}

.entry-snippet {
  font-size: 0.78rem;
  color: #888780;
  line-height: 1.7;
  margin-bottom: 4px;
}

.entry-meta {
  font-size: 0.68rem;
  color: #b4b2a9;
}

.entry-card-wrap {
  margin-bottom: 32px;
}

/* PCホバー */
@media (hover: hover) and (pointer: fine) {
  .entry-card {
    position: relative;
    top: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: top 0.22s ease, box-shadow 0.22s ease;
  }
  .entry-card:hover {
    top: -5px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }
}

/* モバイル: 2カラム */
@media (max-width: 768px) {
  body.home .entry-card-wrap {
    width: 49.7%;
    float: left;
    box-sizing: border-box;
    padding: 0 4px 16px;
    margin: 0;
    display: block;
  }
  body.home .entry-card-wrap:nth-child(2n+1) {
    clear: left;
  }
  body.home .entry-snippet {
    display: none;
  }
  body.home .entry-card .post-thumbnail img,
  body.home .entry-card-thumb img {
    border-radius: 10px;
  }
  body.home .entry-card-title {
    font-size: 0.85rem;
    margin: 4px 0 2px;
  }
  body.home .entry-meta {
    font-size: 0.65rem;
  }
  body.home .cat-label {
    top: 6px;
    left: 6px;
    font-size: 0.6rem;
    padding: 2px 8px;
  }
}


/* =============================================
   7. ウィジェット・セクション見出し
   ============================================= */

.widget-title,
.widgettitle {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #2c2c2a;
  border: none;
  border-bottom: 0.5px solid #e8e4df;
  padding: 8px 0;
  background: none;
}


/* =============================================
   8. SNSセクション
   ============================================= */

.sns-modern {
  padding: 60px 0 40px;
}

.sns-modern-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.sns-modern-title {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  text-align: center;
  color: #2c2c2a;
}

.sns-modern-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 900px) {
  .sns-modern-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

.sns-modern-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 18px 4px;
  border-bottom: 1px solid #e8e4df;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sns-modern-item:hover {
  opacity: 0.65;
  transform: translateY(-2px);
}

.sns-modern-icon img {
  width: 36px;
  height: 36px;
  display: block;
  opacity: 0.85;
}

.sns-modern-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.sns-platform {
  font-size: 1rem;
  font-weight: 500;
  color: #2c2c2a;
}

.sns-desc {
  font-size: 0.82rem;
  color: #888780;
}

@media (min-width: 1100px) {
  .sns-modern {
    padding: 80px 0 60px;
  }
}


/* =============================================
   9. 記事ページ
   ============================================= */

.entry-title {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #2c2c2a;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.entry-content {
  font-size: 15px;
  line-height: 2;
  color: #5f5e5a;
}

.entry-content h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #2c2c2a;
  border: none;
  border-bottom: 0.5px solid #e8e4df;
  padding: 8px 0 10px;
  background: none;
  margin-top: 40px;
}

.entry-content h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #2c2c2a;
  border-left: 2px solid #d3d1c7;
  border-bottom: none;
  padding: 0 0 0 10px;
  background: none;
}

/* トップページヘッダー幅 */
.home .entry-header {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  box-sizing: border-box;
}


/* =============================================
   10. フッター
   ============================================= */

#footer {
  background: #f5f2ee;
  border-top: 1px solid #e8e4df;
  color: #888780;
  font-size: 12px;
}


/* =============================================
   11. ページ個別設定
   ============================================= */

/* トップページ: 日付タグ非表示 */
.post-78 .date-tags {
  display: none;
}

/* BLOGページヘッダー */
.page-id-136 .entry-title {
  text-align: center;
  font-size: 1.6rem;
  margin-top: 20px;
}

.page-id-136 .entry-content {
  text-align: center;
  color: #888780;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* カテゴリナビ: 選択中 */
.category-nav a.current {
  background: #2c2c2a;
  color: #fff;
  border-color: #2c2c2a;
}