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

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

@media screen and (max-width: 834px){
	.pc {
		display: none;
	}
}
@media screen and (min-width: 835px){
	.sp {
		display: none;
	}
}

.entry-content > * {
	margin-bottom: 0;
}


@media screen and (max-width: 834px){
	body {
		font-size: 3.6vw;
	}
}


/* タイトル */
body:not(.single) main#main header {
	position: relative;
	background-color: #def3ffa3;
	margin: 0 -16px;
}
body:not(.single) main#main header h1 {
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 32px;
	letter-spacing: 0.1em;
	padding: 1.8em 0 0 1em;
	margin: 0 -2em 0 0;
	background-color: transparent;
	color: #000;
	font-weight: 700;
	display: flex;
	align-items: start;
	width: 100%;
}
body.single main#main header h1 {
	font-size: 27px;
	padding: 0;
}
.eye-catch-wrap {
	/* clip-path: polygon(4.5% 0, 100% 0, 100% 100%, 0 100%);
	margin: 0 0 0 9%; */
	background-color: #fff;
	display: block;
}
.eye-catch-wrap .eye-catch {
	margin-bottom: 0;
}
.eye-catch-wrap .eye-catch img {
	opacity: 0.8;
	width: 100%;
}
body.no-page-title header.article-header {
	display: none;
}

main#main :not(.sidebar) h2 {
	border-bottom: solid 3px #f2f2f2;
	position: relative;
	font-weight: normal;
	font-size: 32px;
	padding: 0 0 0.25em 0.25em;
	margin: 0.5em 0 0.5em 0;
	background-color: transparent;
	color: #000;
}
main#main :not(.sidebar) h2:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #0b4880;
	bottom: -3px;
	left: 0;
	width: 100%;
	max-width: 12em;
}
main#main :not(.sidebar) h2 span {
	font-size: 70%;
}

main#main :not(.sidebar) h3 {
	font-weight: normal;
	font-size: 22px;
	color: #000;
	padding: 0.35em 0.6em;
	margin: 1.5em 0 0.5em 0;
}

main#main :not(.sidebar) h4 {
	border: none;
	border-bottom: 1px solid #0b4880;
	padding: 0.4em 0 0.25em 0.4em;
	margin: 0.75em 0 0.5em 0;
	font-weight: 600;
	font-size: 19.5px;
	max-width: 33em;
}

main#main :not(.sidebar) h5 {
	border: none;
	font-weight: normal;
	font-size: 20px;
	padding: 0.6em 0 0.2em 0;
	margin: 0;
	color: #000;
}
main#main :not(.sidebar) h5:before {
	content: "■";
	color: #0b4880;
	padding: 0 0.25em 0 0;
}



main#main :not(.sidebar) h6 {
	border: none;
	padding: 0.6em 0 0.2em 0.5em;
	margin: 0;
	font-weight: 600;
	font-size: 19px;
}

body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content {
	padding-left: 3rem;
}
body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content  h1 {
	margin-left: -3rem;
}
body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h2 {
	margin-left: -3rem;
}
body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h3 {
	margin-left: -2rem;
}
body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h4 {
	margin-left: -1.5rem;
}
body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h5 {
	margin-left: -1rem;
}
body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h6 {
	margin-left: -0.5rem;
}

main#main {
	padding-top: 1rem;
}

main#main .entry-content p {
	margin-bottom: 0.75em;
}
main#main .article  div > p:last-of-type {
	margin-bottom: 0;
}


main#main .entry-content .contents ul {
	margin-bottom: 0.5em;
	padding-left: 1.75em;
}

@media screen and (max-width: 834px) {
	body:not(.single) main#main header h1 {
		font-size: 5.4vw;
	}
	body.single main#main header h1 {
		font-size: 5.4vw;
		padding: 0;
	}
	main#main :not(.sidebar) h2, #infomation_layout h2 {
		font-size: 6vw!important;
	}
	main#main :not(.sidebar) h3 {
		font-size: 5.0vw!important;
	}
	
	main#main :not(.sidebar) h4 {
		font-size: 4.4vw!important;
	}
	main#main :not(.sidebar) h5 {
		font-size: 4.5vw!important;
	}
	main#main :not(.sidebar) h6 {
		font-size: 4.3vw!important;
	}
	
	main#main .entry-content p {
		margin-bottom: 1.5em;
	}
	
	body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content {
		padding-left: 1.5rem;
	}
	body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content  h1 {
		margin-left: -1.5rem;
	}
	body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h2 {
		margin-left: -1.5rem;
	}
	body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h3 {
		margin-left: -1rem;
	}
	body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h4 {
		margin-left: -0.75rem;
	}
	body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h5 {
		margin-left: -0.5rem;
	}
	body:not(.home,.page-id-150,.page-id-152,.page-id-369) main#main .entry-content h6 {
		margin-left: -0.25rem;
	}
}


.pdf:after {
	content: url('');
	background-image: url('http://narashinorikkyo.jp/wp7649/wp-content/uploads/2025/07/pdf_icon.png');
	display: inline-block;
	height: 1.25em;
	width: 1.25em;
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: text-bottom;
	margin: 0 0 0 0.25em;
}

.excel:after {
	content: url('');
	background-image: url('http://narashinorikkyo.jp/wp7649/wp-content/uploads/2025/07/excel_icon.png');
	display: inline-block;
	height: 1.25em;
	width: 1.25em;
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: text-bottom;
	margin: 0 0 0 0.25em;
}

.word:after {
	content: url('');
	background-image: url('http://narashinorikkyo.jp/wp7649/wp-content/uploads/2025/07/word_icon.png');
	display: inline-block;
	height: 1.25em;
	width: 1.25em;
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: text-bottom;
	margin: 0 0 0 0.25em;
}


.fade:hover {
	opacity: 0.7;
}



#header_border #header_border_in {
	display: flex;
	height: 100%;
}
#header_border #header_border_in form {
	display: inline-flex !important;
	margin: 0 0 0 auto;
	font-size: 15px;
}
#header_border #header_border_in form input {
	padding: 0.2em;
	border: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: #fff;
	width: 15em;
	height: 80%;
	margin: 1.5% 0;
	box-sizing: border-box;
}
#header_border #header_border_in form input:hover {
	border: 1px solid #fff;
}

#header-container {
	min-height: 90px;
	height: 100%;
	display: flex;
}
.header-container-in {
	margin: auto;
}

header .date-tags {
	margin-top: 0.5em;
}
body.page header .date-tags {
	display: none;
}


/* メインメニュー */
.navi-in > ul > li:nth-last-of-type(1) .item-label {
	padding-right: 1.25em;
}
.navi-in > ul > li:nth-last-of-type(1) .item-label #lock_menu_icon {
	position: absolute;
	display: inline-block;
	padding: 0 0 0 0.35em;
	margin: -0.15em 0 0 0;
}
.navi-in > ul > li:nth-last-of-type(1) .item-label #lock_menu_icon img {
	display: inline-block;
	height: 1em;
	width: auto;
}
.navi-in > ul > li a:hover .item-label {
	opacity: 0.7;
}
.navi-in > ul li {
	display: flex;
}
.navi-in a {
	height: auto;
	margin: auto;
}
.navi-in > ul .caption-wrap {
	padding: 0.4em 0;
	box-sizing: border-box;
}
.navi-in > ul > li.current_page_item a {
	display: inline-block;
}
.navi-in > ul > li.current_page_item a:after {
	content: '';
	display: block!important;
	margin: 0 auto;
	width: 4em;
	border-bottom: 2px solid #0b4880;
}
.navi-in > ul > li.current_page_item .item-label {
	color: #0b4880;
}

@media screen and (min-width: 835px) and (max-width: 1023px){
	#navi {
		margin: 0.75em 0;
	}
	#navi .navi-in > .menu-mobile li {
		height: auto;
	}
	 #navi .navi-in > .menu-mobile {
		flex-wrap: nowrap;
	}
	#navi .navi-in > .menu-mobile li a {
		font-size: 18px;
	}
	.navi-in > ul .caption-wrap {
		padding: 0 !important;
	}
}
@media screen and (max-width: 834px){
	#navi {
		margin: 0.75em 0 1.15em 0;
	}
	#navi .navi-in > .menu-mobile li {
		height: auto;
	}
	#navi .navi-in > .menu-mobile li a {
		font-size: 4.4vw;
	}
	.navi-in > ul .caption-wrap {
		padding: 0.2em 0 !important;
	}
}

/* サイドメニュー */
.mainpage .sidebar nav h1 {
	border: none;
	text-align: left;
	padding: 0 0.5em;
}
.mainpage .sidebar nav ul li a {
	background-color: #0b4880;
	color: #fff;
	padding: 0.2em 1.2em;
	margin: 0.6em 0;
	border: none;
}

@media screen and (min-width: 835px) and (max-width: 1023px){
	main#main .entry-content .mainpage .sidebar nav ul {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	main#main .entry-content .mainpage .sidebar nav ul li {
		width: 50%;
    	padding: 0 1.5% !important;
    	box-sizing: border-box;
	}
}

@media screen and (max-width: 834px){
	main#main .entry-content .mainpage .sidebar nav {
		font-size: 4.6vw;
	}
	main#main .entry-content .mainpage .sidebar nav h1 {
		font-size: 4.6vw;
		max-width: 18em;
		margin: 0 auto;
	}
	main#main .entry-content .mainpage .sidebar nav ul {
		padding-left: 0;
		max-width: 18em;
		margin: 0 auto;
	}
	main#main .entry-content .mainpage .sidebar nav ul li a {
		padding: 0.5em 1.0em;
	}
}


/* 本文 */
@media screen and (max-width: 834px){
	main#main .entry-content {
		font-size: 3.6vw;
	}
	main#main .entry-content #requirements_list > div, main#main .entry-content #application_list > div, main#main .entry-content #result_list_border > div {
		font-size: 5.4vw;
	}
	main#main .entry-content #contents_text {
		font-size: 3.6vw;
	}
}



/* 投稿記事ページ */
.date-tags .post-date {
	font-size: 18px;
}
.date-tags .post-update {
	display: none;
}
@media screen and (max-width: 834px){
	.date-tags .post-date {
		font-size: 3.6vw;
	}
}

/* フッター */
footer .site-name-text-link {
	display: none;
}



/* トップページ */
.top_h2_title {
	display: flex;
	align-items: end;
	margin: 0;
}
.top_h2_title .title_allshow_link {
	margin: 0 1.5em 0.4em auto;
}
.title_allshow_link a {
	text-decoration: none;
	font-size: 90%;
}
.top_h2_title:not(#infomation_layout) {
	margin: 1.75rem 0 0 0;
}
@media screen and (max-width: 834px){
	.top_h2_title .title_allshow_link {
		display: none;
	}
	:not(.top_h2_title) .title_allshow_link {
		text-align: right;
		padding: 0 0.5em 0;
	}
	:not(.top_h2_title) .title_allshow_link a {
		font-size: 4vw;
	}
}


#infomation_layout h2 {
	display: inline-block !important;
	border-bottom: none !important;
	background-color: #0b4880 !important;
	color: #fff !important;
	font-size: 1.6rem !important;
	padding: 0.35em 0.7em !important;
}
#infomation_layout h2:after {
	content: none !important;
}


.infomation_list {
	border: 1px solid #f2f2f2;
	box-sizing: border-box;
}
.infomation_list > div {
	padding: 0.75em 1em;
	line-height: 1;
}
.infomation_list > div:nth-of-type(odd) {
	background-color: #f2f2f2;
}
.infomation_list > div:nth-of-type(even) {

}

.infomation_list .item_layout {
	font-size: 100%;
}
.infomation_list .item_layout .item_layout_top {
	display: flex;
	padding: 0 0 0.5em 0;
	align-items: center;
}
.infomation_list .item_layout .item_layout_title {
	padding: 0.5em 0 0.35em 0;
	font-size: 105%;
	line-height: 1.3;
}

.infomation_list .item_layout .item_layout_top .item_layout_date {
	padding: 0 0.5em 0 0;
}
.infomation_list .item_layout .item_layout_top .item_layout_category {
	display: inline-block;
	font-size: 90%;
	padding: 0.4em 0.8em;
	text-decoration: none;
}
.infomation_list .item_layout .item_layout_top .item_layout_category:hover {
	opacity: 0.7;
}

@media screen and (max-width: 834px){
	.infomation_list .item_layout .item_layout_top {
		font-size: 4.6vw;
	}
}




.info_content_layout {
	background-color: #f2f2f2;
	padding: 0.5em 0.8em 0.5em 0.8em;
}

#tournament_info .one_item > #one_item_end {
	border-bottom: 1px solid #cecece;
	width: 99%;
	margin: 1.4em auto 0.8em auto;
}
#tournament_info > .one_item:last-of-type > #one_item_end {
	border-bottom: 1px solid transparent;
}

#tournament_info #requirements_title:first-of-type {
	padding-top: 0;
}

#tournament_info #requirements_title {
	display: inline-block;
}
#tournament_info #requirements_status {
	display: inline-block;
	font-size: 0.9rem;
	line-height: 1;
	padding: 0.3em 0.5em 0.3em 0.5em;
	margin: 0 0 0 0.8em;
	border: 2px solid #ff0000;
	color: #ff0000;
	vertical-align: text-top;
}
#tournament_info #requirements_status.tournament_end {
	border: 2px solid #0011ff;
	color: #0011ff;
}
#tournament_info #requirements_status.reception_end {
	border: 2px solid #c200ff;
	color: #c200ff;
}
#tournament_info.junior_lesson_info #requirements_status {
	margin-left: 0;
}

#tournament_info #tournament_contents {
	margin: 0 0 0 2em;
}
#tournament_info #tournament_contents #tournament_content {
	line-height: 1.4;
	margin: 0.25em 0 0.4em 0;
}
#tournament_info.news_flash #tournament_contents #tournament_content {
	margin: 0.4em 0 1em 0;
}


#tournament_info #tournament_contents #requirements_list > div:before {
	content: "・";
}

#tournament_info #tournament_contents hr {
	margin: 0.5em 0 0.2em 0;
	max-width: 28em;
}

#tournament_info #tournament_contents #requirements_list > div #contents_text {
	background-color: #00000014;
	margin: 0.4em 0 0.7em 0.5em;
	padding: 0.3em 0.6em;
	max-width: 700px;
}

#tournament_info #tournament_contents #application_list {
	line-height: 1;
}
#tournament_info #tournament_contents #application_list > div {
	margin: 0.4em 0;
}
#tournament_info.news_flash #tournament_contents #application_list > div {
	display: flex;
	align-items: center;
}
#tournament_info #tournament_contents #application_list > div:before {
	content: "・";
}
#tournament_info #tournament_contents #application_list > div #contents_text {
	background-color: #00000014;
	margin: 0.4em 0 0.7em 0.5em;
	padding: 0.3em 0.6em;
	max-width: 700px;
}
#tournament_info.news_flash #tournament_contents #application_list > div #contents_text {
	margin: 0 0 0 1em;
	padding: 0.2em 0.4em;
}

#tournament_info #tournament_contents #result_list_border {
	border: 2px solid #d0d0d0;
	max-width: 28em;
	padding: 0.6em 0.4em 0.6em 0.8em;
	margin: 0.6em 0 0 0;
}
#tournament_info #tournament_contents #result_list_border > div {
	line-height: 1;
	margin: 0.4em 0;
}
#tournament_info #tournament_contents #result_list_border > div:before {
	content: "・";
}

#tournament_info.junior_lesson_info #tournament_contents {
	margin: 0 0 0 0.75em;
}

@media screen and (max-width: 834px){
	#tournament_info #tournament_contents {
		margin: 0 0 0 0.5em;
	}
	#tournament_info #tournament_contents #application_list > div {
		margin: 0.8em 0;
	}
	#tournament_info #tournament_contents #result_list_border > div {
		margin: 0.8em 0;
	}
	#tournament_info.junior_lesson_info #tournament_contents {
		margin-left: 0;
	}
}



/* 大会情報 */
main#main .record_list h2 {
	margin-bottom: 1.3rem;
}
main#main .record_list #tournament_info {
	margin: 0 0 1.7em 0;
}



/* 掲示板 */
.comment-form-url {
  display: none;
}
#email-notes {
  display: none;
}


.comment-area {
  display: flex;
  flex-direction: column;
}
.comment-area > .comment-form {
  order: -1;
}
.comment-area > .comment-list {
	
}
.comment-area > .comment-form-wrap {
	order: -1;
	margin: 0 0 1em 0;
}

h2.comment-title {
	display: none;
}


ol.commets-list > li.comment {
  border-top: 1px solid #a0a0a0;
  padding: 0.6em 0 0.6em 0;
}


form.comment-form {
  display: flex;
  flex-direction: column;
  border: 1px solid #a0a0a0;
  padding: 0.6em;
}
.comment-form > * {
  order: 5;
}
.comment-form-author {
  order: 1;
}
.comment-form-email {
  order: 2;
}
.comment-form-comment {
  order: 3;
}
#comment-image-reloaded-wrapper {
  order: 4;
  display: flex;
  flex-direction: column;
  padding: 0.2em 0 0.5em 0;
}

.comment-image-reloaded {
  order: -1;
}
#comment-image-reloaded-wrapper > label {
  font-size: 85%;
}



/* 大会結果速報 プレビュー */
body.news_flash-template-default .entry-content {
	display: none;
}
body.news_flash-template-default h1.entry-title {
	display: none;
}
body.news_flash-template-default .date-tags {
	display: none;
}
body.news_flash-template-default .entry-categories-tags {
	display: none;
}

/* 大会情報 プレビュー */
body.competition-template-default .entry-content {
	display: none;
}
body.competition-template-default h1.entry-title {
	display: none;
}
body.competition-template-default .date-tags {
	display: none;
}
body.competition-template-default .entry-categories-tags {
	display: none;
}

/* 習志野市ジュニア陸上教室 プレビュー */
body.page-id-325 .entry-content {
	display: none;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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