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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Mincho&display=swap');

body {
    font-family: "Zen Myocho", serif !important;
	letter-spacing: 0.03em;
	font-size: 15px !important;
}

a {
	text-decoration: none;
}

/* アイキャッチのカテゴリ除去設定 */
.cat-label {
	display:none
}

/* SNSシェアボタンのカスタマイズ */
.sns-share-buttons a {
    background-color: transparent !important; /* 背景色を透明に */
    color: #7096BB !important;              /* 先ほど提案したブルー（またはグレー）に */
    border: 1px solid #7096BB !important;   /* 細い枠線をつける */
    border-radius: 4px;                      /* 角を少し丸める */
    box-shadow: none !important;             /* 影を消す */
    transition: all 0.3s;
}

/* ホバーした時（マウスを乗せた時）の動き */
.sns-share-buttons a:hover {
    background-color: #f0f4f8 !important;    /* ほんのり色付く */
    opacity: 0.8;
}

/* ボタン内のブランドロゴ（XやFacebook）の色も統一 */
.sns-share-buttons a .button-caption,
.sns-share-buttons a [class^="icon-"] {
    color: #7096BB !important;
}

/* 通常メニュー（SNS以外）の文字の下に薄い線を引く */
.menu-drawer li:not(.menu-item-type-custom) a {
    border-bottom: 1px solid #e0e0e0; 
    display: block;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

/* SNSアイコン全体の配置調整 */
.custom-sns-links {
    display: flex;
    justify-content: center; 
    gap: 20px;
    padding: 0;
}

/* アイコン単体のデザイン */
.custom-sns-links a {
    color: #5c7b93;
    font-size: 26px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

/* マウスを乗せたとき（ホバー時）の動き */
.custom-sns-links a:hover {
    color: #385166;
    transform: translateY(-2px);
}

/* モバイルメニューのSNS部分 */
.menu-drawer .menu-item-type-custom a {
    font-size: 13px;
}

/* 一番最初のカスタムメニューの上に余白を作る */
.menu-drawer li:not(.menu-item-type-custom) + .menu-item-type-custom {
    margin-top: 50px;
}

/* ブログカードの日付を左上に */
.entry-card-content {
  display: flex;
  flex-direction: column;
}

.entry-card-meta {
  order: -1;
  margin-bottom: 8px;
}

.entry-card-content .e-card-info {
  display: flex;
  justify-content: flex-start;
}

.entry-card-content {
  padding-bottom: 0;
}

/* カテゴリを非表示に */
.entry-card-categorys {
  display: none !important;
}

/* ブログカードの枠線設定 */
.entry-card-wrap {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  padding: 16px;
}

/* Info情報をカード化 */
.info-card {
  max-width: 600px;
  margin: 0 auto 24px;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: left;
}

.info-card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.info-card-date {
  color: #888;
  font-size: 0.9em;
  white-space: nowrap;
  flex-shrink: 0;
}

.info-card-text {
  margin: 0 !important;
}

.info-card img {
  max-width: 160px;
  height: auto;
  border-radius: 6px;
  margin-top: 12px;
  display: block;
}

/* MetaSlider余白設定 */
.alignnormal {
	margin-bottom: 0px;
}

.ms-theme-architekt.metaslider-flex {
	padding-bottom: 0px !important;
}

.ms-theme-architekt {
	padding-bottom: 0px;
}

/* 固定ページの投稿日などを削除 */
.page .date-tags,
.page .author-info {
    display: none;
}

/* 固定ページのタイトルは中央寄せ */
.page .entry-title,
.archive-title {
	text-align: center;
}

main:has(#post-2190) {
	background-image: url('https://nami-to-hibi.com/wordpress/wp-content/uploads/2026/05/nami_to_hibi_icon_0002.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

.insert-page-title {
	margin: 16px 0px;
	text-align: center;
}

h1.entry-title:empty {
  margin: 0;
  padding: 0;
  display: none;
}

/* トップページフェード */
.entry-content .insert-page {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}

.entry-content .insert-page::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}

/* ボタンホバー押下時のアクション */
.wp-block-button__link {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

h2.entry-card-title {
	font-size: 13px;
	font-weight: 100;
}

/* カテゴリのフォルダオープンアイコン除去 */
.archive-title span {
	display: none;
}

/* ページコンテンツの謎余白除去 */
.content {
	margin-top: 0px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
    /*必要ならばここにコードを書く*/  
    ul.mobile-header-menu-buttons {
	    background-color: #f8f9fa;
	    color: #7096bb;
		box-shadow: none;
    }
	
	.mobile-menu-buttons {
		padding: 5px;
	}
	
	.menu-item {
		font-size: 18px;
	}
	
	.mobile-menu-buttons .menu-button > a {
		color: #7096bb !important;
		font-size: 20px;
	}
	
	.menu-drawer a {
		color: #7096bb !important;
		padding: 10px;
		font-size: 20px;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
}

/*480px以下*/
@media screen and (max-width: 480px) {
	/* ヘッダの謎余白除去 */
  	.header-container {
		display: none;
  	}
}
