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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

.go-to-top-button {
	border-radius: 20px;
}
.widget_nav_menu ul li a:hover {
	background-color: #ffffff99;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*カスタムHTML用*/
.title-box {
	display: flex;
	flex-wrap: wrap;
	height: 320px;
	background-image: url("http://splans.co.jp/wp-content/uploads/2025/03/sample_top.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	justify-content: center;
	align-content: center;
	margin: 0 calc(50% - 50vw);
}
.title-box h1 {
	display: block;
	width: 100%;
	height: 80px;
	background-color: #00000033;
	color: #ffffff;
	font-size: 60px;
	text-align: center;
	line-height: 80px;
}
.sub-title-box {
	background-color: #ffffff;
	margin: 0 auto 60px;
}
.sub-title-box h2 {
	display: block;
	background-color: #ffffff;
	font-size: 36px;
	text-align: center;
}
.sub-title-box h2 span {
	display: block;
	font-size: 16px;
	margin-top: 24px;
}
@media screen and (max-width: 1023px){
	.title-box {
		height: 280px;
	}
	.title-box h1 {
		height: 70px;
		font-size: 52.5px;
		line-height: 78.75px;
	}
}
@media screen and (max-width: 860px){
	.title-box {
		margin-bottom: 4em;
	}
}
@media screen and (max-width: 834px){
	.title-box {
		height: 240px;
	}
	.title-box h1 {
		height: 60px;
		font-size: 45px;
		line-height: 67.5px;
	}
}
@media screen and (max-width: 480px){
	.title-box {
		height: 200px;
	}
	.title-box h1 {
		height: 50px;
		font-size: 37.5px;
		line-height: 56.25px;
	}
	.sub-title-box h2 {
		font-size: 18px;
	}
	.sub-title-box h2 span {
		font-size: 12px;
	}
}


/*メインの上の空白を削除*/
.content {
	margin-top: 0;
}
main.main {
	padding-top: 0;
}
.entry-content {
	margin-top: 0;
}
/*モバイルメニューの表示を右から*/
.navi-menu-content {
	background-color: #fffffff0;
	left: auto;
	right: 0;
	transform: translateX(105%);
}
/*モバイルメニュー内の閉じるボタンの位置変更*/
.menu-close-button {
	text-align: right;
	padding-right: 10px;
}
/*モバイルメニュー表示時のメインの暗さを変更*/
#navi-menu-input:checked ~ #navi-menu-close,
#sidebar-menu-input:checked ~ #sidebar-menu-close,
#search-menu-input:checked ~ #search-menu-close,
#share-menu-input:checked ~ #share-menu-close,
#follow-menu-input:checked ~ #follow-menu-close {
	opacity: 0.1;
}
/* モバイルスライドインメニューのカスタマイズ */
.menu-drawer {
	padding-top: 36px !important;
}
.menu-drawer li {
	border-top: 1px solid #cccccc;
}
.menu-drawer li:last-child {
	border-bottom: 1px solid #cccccc;
}
.menu-drawer li > ul > li:last-child {
	border-bottom: 0;
}
.menu-drawer a {
	font-size: 16px;
	line-height: 24px;
}
.menu-drawer a:hover {
	background-color: #ccccff;
}
.sub-menu li {
	font-size: 16px;
	color: #eeeeee;
	margin-left: -20px;
}
.sub-menu li a {
	color: #333333;
	padding-left: 22px;
}


/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	/*モバイルメニューの文字非表示*/
	.mobile-menu-buttons{
		align-items: center;
		box-shadow: none;
	}
	.mobile-menu-buttons .menu-caption {
		display: none;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
