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

/* ファイルタイトルの余白調整 */
h1.entry-title {
	margin-bottom: 60px;
	padding: 0px;
}

.post > header > .entry-title {
	margin-bottom: 1em;
}

/* アイキャッチのカテゴリ除去設定 */
.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;
}

/* 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 {
	text-align: center;
	padding-bottom: 60px;
}

.insert-page-2066 {
	position: relative;
    box-sizing: border-box;
    padding-bottom: 100px; /* 下部にボタンを置くための余白 */
	max-height: 450px; /* ←ここで隠したい高さを調整してください */
    overflow: hidden;
}

.insert-page-2066::after {
    content: '';
    position: absolute;
    bottom: -100px; /* ボタンエリアの上の位置に合わせる */
    left: 0;
    width: 100%;
    height: 200px; /* フェードさせる高さ */
    /* 上が透明、下が背景色（白）になるグラデーション */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none; /* 下のテキストを選択可能にする */
}

.insert-page-85 {
	position: relative;
    box-sizing: border-box;
    padding-bottom: 100px; /* 下部にボタンを置くための余白 */
	max-height: 450px; /* ←ここで隠したい高さを調整してください */
    overflow: hidden;
}

.insert-page-85::after {
    content: '';
    position: absolute;
    bottom: -100px; /* ボタンエリアの上の位置に合わせる */
    left: 0;
    width: 100%;
    height: 200px; /* フェードさせる高さ */
    /* 上が透明、下が背景色（白）になるグラデーション */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none; /* 下のテキストを選択可能にする */
}

/* Music */
.insert-page-2072 {	
	position: relative;
    box-sizing: border-box;
    padding-bottom: 100px; /* 下部にボタンを置くための余白 */
	max-height: 600px; /* ←ここで隠したい高さを調整してください */
    overflow: hidden;
}

.insert-page-2072::after {
    content: '';
    position: absolute;
    bottom: -100px; /* ボタンエリアの上の位置に合わせる */
    left: 0;
    width: 100%;
    height: 200px; /* フェードさせる高さ */
    /* 上が透明、下が背景色（白）になるグラデーション */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none; /* 下のテキストを選択可能にする */
}

.new-entry-cards {	
	position: relative;
    box-sizing: border-box;
    padding-bottom: 100px; /* 下部にボタンを置くための余白 */
	max-height: 350px; /* ←ここで隠したい高さを調整してください */
    overflow: hidden;
}

.new-entry-cards::after {
    content: '';
    position: absolute;
    bottom: -100px; /* ボタンエリアの上の位置に合わせる */
    left: 0;
    width: 100%;
    height: 300px; /* フェードさせる高さ */
    /* 上が透明、下が背景色（白）になるグラデーション */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none; /* 下のテキストを選択可能にする */
}

h2.entry-card-title {
	font-size: 15px;
	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;
  }
}
