@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){
  /*必要ならばここにコードを書く*/
}
/* global */
body {
  background-color: #f8f7f5;
}

#container {
  max-width: 1120px;
  margin: 0 auto;      /* 中央寄せ */
  padding: 0 16px;     /* 左右に均等な余白を追加 */
  box-sizing: border-box;
}


/* hero wrapper */
.top-hero-simple {
  margin: 24px 0 16px;
  padding: 0;
  background: #f4f2ee;
  border-radius: 22px;
  overflow: hidden;
}

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

/* hero text box */
.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: #777;
  margin-bottom: 6px;
}

.top-hero-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

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

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

/* category label */
.cat-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  font-size: 0.65rem;
  padding: 3px 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.entry-card-title {
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 6px;
  margin-bottom: 2px;
}

.entry-snippet {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 4px;
}

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

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

/* PC hover */
@media (hover: hover) and (pointer: fine) {
  .entry-card {
    position: relative;
    top: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: top 0.22s cubic-bezier(0.25,0.75,0.30,1),
                box-shadow 0.22s cubic-bezier(0.25,0.75,0.30,1),
                filter 0.22s ease;
  }
  .entry-card:hover {
    top: -6px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
    filter: brightness(1.05);
  }
}

/* mobile (max 768px) */
@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; line-height: 1.65; }

  body.home .entry-card-wrap {
    width: 49.7% !important;
    float: left;
    box-sizing: border-box;
    padding: 0 4px 16px;
    margin: 0;
    display: block !important;
  }

  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.9rem; 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;
  }
}

/* PC hero floating card */
@media (min-width: 960px) {
  .top-hero-simple {
    position: relative;
    padding-bottom: 40px;
  }

  .top-hero-img {
    height: 260px;
    object-fit: cover;
    object-position: center 40%;
  }

  .top-hero-inner {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    background: rgba(244,242,238,0.93);
    padding: 18px 28px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    max-width: 640px;
    text-align: center;
  }
}
.carousel {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/*========================================
  SNSリンクゾーン / CAFICT風ミニマル
=========================================*/

.sns-section {
  padding: 40px 0 10px;
}

.sns-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.sns-section-title {
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sns-section-lead {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 26px;
}

/* カードのグリッドレイアウト */
.sns-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* PCで3カラムに */
@media (min-width: 900px) {
  .sns-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* カード共通デザイン */
.sns-card {
  text-decoration: none;
  color: inherit;
}

.sns-card-inner {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eee;
  padding: 18px 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

/* ホバー時：ふわっと浮かせる */
.sns-card:hover .sns-card-inner {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: #e2e2e2;
}

/* ラベル（サービス名） */
.sns-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: #f6f6f6;
  color: #666;
}

/* タイトル・テキスト */
.sns-card-title {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.sns-card-text {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
}

/*----------------------------------------
  サービス別の軽いアクセントカラー
  （あくまで「淡色」寄り）
-----------------------------------------*/

/* YouTube */
.sns-card-youtube .sns-label {
  background: rgba(230, 80, 80, 0.09);
  color: #d94a4a;
}

/* Instagram（少しピンク寄り） */
.sns-card-instagram .sns-label {
  background: rgba(210, 120, 160, 0.09);
  color: #c36694;
}

/* X（モノトーン寄り） */
.sns-card-x .sns-label {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}
/*========================================
  Modern SNS Section (幅ズレ修正版)
=========================================*/

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

/* ここを調整：幅を狭めて中央にフィットさせる */
.sns-modern-inner {
  max-width: 900px;               /* ← 1100px から少し細めに */
  margin: 0 auto;                 /* 中央寄せ */
  padding: 0 16px;                /* 左右に同じ余白 */
  box-sizing: border-box;         /* padding 分ではみ出さないように */
}

.sns-modern-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  text-align: center;
}

/* グリッド */
.sns-modern-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

/* SNSアイテム */
.sns-modern-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 18px 4px;
  border-bottom: 1px solid #e5e5e5;
  transition: opacity .25s ease, transform .25s ease;
}

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

/* アイコン（マークだけ表示する用） */
.sns-modern-icon img {
  width: 36px;
  height: 36px;
  display: block;   /* 余計な隙間防止 */
  opacity: 0.9;
}

/* テキスト部分 */
.sns-modern-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.sns-platform {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
}

.sns-desc {
  font-size: 0.85rem;
  color: #777;
}

/* 全体の余白感をアップ */
@media (min-width: 1100px) {
  .sns-modern {
    padding: 80px 0 60px;
  }
}
/*========================================
  トップのヒーロースライダー（MetaSlider #91）
  SNSゾーンと同じ幅に揃える
=========================================*/

#metaslider-id-91 {
  max-width: 900px;          /* ← SNSと同じ幅 */
  margin: 0 auto 48px auto;  /* 中央寄せ＋下だけ余白 */
  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;        /* 好みで 360〜480px くらいに調整OK */
  object-fit: cover;
  display: block;
}

/* ドット位置 */
#metaslider-id-91 .flex-control-nav {
  bottom: 14px;
}

/* ドットのデザイン（CAFICTっぽく） */
#metaslider-id-91 .flex-control-nav li a {
  background: rgba(255, 255, 255, 0.6);
  width: 9px !important;
  height: 9px !important;
  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;
  text-shadow: none;
  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);
}
/*========================================
  トップページのタイトル＆日付を
  スライダーと同じ幅（900px）にそろえる
=========================================*/

/* トップページ（固定フロント）のヘッダー */
.home .entry-header {
  max-width: 900px;        /* ← スライダーと同じ数値に */
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;         /* ほんの少し左右余白 */
  box-sizing: border-box;
}

/* ページ全体で横スクロールを封じる */
html,
body {
  overflow-x: hidden;
}
/*========================================
  CAFICT風 シンプル上部ナビゲーション
=========================================*/

.cafict-nav {
  width: 100%;
  border-bottom: 1px solid #ececec;
  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-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;
  transition: opacity .2s ease;
}

.cafict-menu li a:hover {
  opacity: 0.6;
}

/* モバイル */
@media (max-width: 768px) {
  .cafict-nav-inner {
    flex-direction: column;
    gap: 12px;
  }

  .cafict-menu {
    gap: 18px;
  }
}
/* メニューリンク */
.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 .25s ease, border-color .25s ease;
}

/* ホバーで下線が見える */
.cafict-menu li a:hover {
  opacity: 0.7;
  border-color: #333;   /* ← ここで下線が出現 */
}
.post-78 .date-tags {
display: none;
}