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

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


:root {
	--key-color-1: #b60033;
}


@media screen and (max-width: 640px){
	.pc {
		display:none !important;
	}
}

@media screen and (min-width: 641px){
	.sp {
		display:none !important;
	}
}


@media screen and (max-width: 1023px){
	.navi-in .menu-pc {
		display: flex !important;
	}
}

@media screen and (max-width: 782px) {
	.navi-in > ul li {
		width: 33.33%;
	}
}

body {
	background-color: transparent;
}
body.page .date-tags {
	display: none;
}
#header-container {
	box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.25);
}
main.main {
	padding-left: 0;
	padding-right: 0;
}
/*.no-sidebar .content-in {
	border-bottom: 1px solid #aeaeae;
}*/


.entry-title, #editor .entry-title, .archive-title {
	background-color: var(--key-color-1);
	font-weight: bold !important;
}

.entry-content {
	
}


@media screen and (max-width: 1023px){
	body:not(.home) .entry-content {
		padding-left: 1%;
		padding-right: 1%;
	}
}
@media screen and (max-width: 480px){
	body:not(.home) .entry-content {
		padding-left: 2%;
		padding-right: 2%;
	}
}


.article p {
	margin-bottom: 0.8em;
}
.entry-title, #editor .entry-title, .archive-title {
	border-left: none;
}
.article h2, .article h3, .article h4, .article h5, .article h6 {
	margin: 0.75rem;
	margin-left: -1rem;
}
.article .entry-content h1:not(.subSection-title) {
	border: none;
	background-color: transparent;
	padding: 0;
	position: relative;
	margin: 0 0 1em 0;
	font-size: 2.3rem;
	font-weight: 500;
}
.article .entry-content h1:not(.subSection-title):before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: var(--key-color-1);
  border-radius: 2px;
}
.article .entry-content .sidebar h1.subSection-title {
	font-size: 20px;
}

.article h2 {
	border: none;
	background-color: transparent;
	padding: 0;
	position: relative;
	margin: 0 0 1em 0;
	font-size: 2.3rem;
	font-weight: 500;
}
h2:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: var(--key-color-1);
  border-radius: 2px;
}



body:not(.home) .article h3 {
	border: none;
	background: #ffbec9;
	font-size: 1.25rem;
	font-weight: 400;
	color: #000;
}


body.home .article h3 {
	border: none;
	background-color: var(--key-color-1);
	color: #fff;
	padding: 0.7em;
	min-width: 25em;
	display: inline-block;
	margin-left: 0;
}


/*body.home .article h3 {
	border: none;
	background: none;
	font-size: 2rem;
	position: relative;
	padding-left: 0;
}
body.home .article h3:before {
	mask-image: url('http://kashimayusuke.jp/wp-content/uploads/2025/06/sakura.svg');
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	background-color: #fce3cd;
	content: '';
	display: inline-block;
	width: 3.5em;
	height: 2em;
	vertical-align: middle;
	margin-right: -2.5em;
	margin-top: -0.3em;
	z-index: -1;
	position: relative;
}
body.home .article h3:after {
	content: '';
	display: inline-block;
	background-color: #8d1f34;
	height: 3px;
	position: absolute;
	left: 0.5em;
	right: 0;
	top: 1.8em;
}
@media screen and (max-width: 480px){
	body.home .article h3 span {
		display: block;
		padding-left: 2em !important;
	}
}
*/

.st0 {
  fill: #ff0000;
}
.article h4 {
	border-left: none;
	padding: 0.3em 0.6em;
	background: #8d1f34;
	color: #fff;
	max-width: 640px;
	font-size: 1.3rem;
	border: none;
}
.article h5 {
	border-bottom: solid 2px #000;
	font-size: 1.2rem;
}
.article h6 {
	border-bottom: dotted 2px #999;
		font-size: 1.2rem;
}

.mincyo {
	font-family: "Noto Serif JP", sans-serif;
}

table:not(.has-border-color) :where(th, td) {
	border: 1px solid #ddd;
}

.white_table {
	width: 100%!important;
	padding: 0;
	margin: 0!important;
}
.white_table tr, .white_table td {
	border: none!important;
	background-color: transparent!important;
	padding: 0;
}

@media screen and (max-width: 834px){
	body.home .article h3 {
		font-size: 3vw;
	}
	body:not(.home) .article h3 {
		margin-right: -1%;
		padding-left: 1em;
	}
}

@media screen and (max-width: 640px){
	body.home .article h3 {
		font-size: 4.5vw;
		min-width: auto;
		width: 100%;
    	max-width: 80%;
	}
}

@media screen and (max-width: 480px){
	.white_table tr td {
		font-size: 4vw;  
	}
}


/* アニメーション */
.image-animation {
    animation-name: fadein;
    animation-duration: 2s;
}
@keyframes fadein{
    from{
    opacity: 0;
    transform: translatey(20px);
    }
    to{
    opacity: 1;
    transform: translatey(0);
    }
}



body.home .wrap {
	/*width: 964px;*/
	width: 1140px;
}
@media screen and (max-width: 1140px){
	body.home .wrap {
		width: 100%;
		padding-left: 1%;
		padding-right: 1%;
	}
}
@media screen and (max-width: 480px){
	body.home .wrap {
		padding-left: 2%;
		padding-right: 2%;
	}
}




body.home .content-in {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}




#content a > img {
	transition: 0.4s;
}
#content-bottom a > img {
	transition: 0.4s;
}
#content a > img:hover {
	opacity: 0.5;
}
#content-bottom a > img:hover {
	opacity: 0.5;
}


/* ヘッダー */
.description_layout {
	position: relative;
	background-color: #fff;
	color: #000;
	padding-bottom: 6px;
	font-size: 14px;
	font-weight: 350;
	display: none;
}
.header-container:not(.fixed-header) {
	position: relative!important;
	z-index: 1;
}
.header-container-in.hlt-top-menu {
	padding-top: 0px;
	width: 100%!important;
}
.header-container-in.hlt-top-menu .logo-header {
	max-height: 60px;
}
.header-container-in.hlt-top-menu .logo-header img {
	max-height: 60px;
	padding: 6px 0 5px 0;
	box-sizing: border-box;
}
#header-container, #header-container .navi, #navi .navi-in > .menu-header .sub-menu {
	background-color: #fff;
}
body:not(.single) header.article-header {
	display: none;
}
.page_title_layout {
	position: relative;
}
body:not(.single) .page_title_layout img {
	object-fit: cover;
	width: 100%;
	height: 250px;
}
body.single .page_title_layout {
	height: 150px!important;
}
body.single .page_title_layout img {
	object-fit: cover;
	width: 100%;
	height: 150px;
}
.page_title_layout .page_title {
	width: 100%;
	position: absolute;
	top: calc(50% - 2rem);
	left: 0;
}
.page_title_layout h1 {
	background-color: var(--key-color-1);
	display: inline-block;
	padding: 0.2em 1.2em;
	font-size: 1.7rem;
	font-weight: 600;
	color: #fff;
	min-width: 9em;
}
body.single .page_title {
	display: none;
}

main#main {
	padding-top: 0;
}
@media screen and (max-width: 834px){


}
@media screen and (max-width: 640px){
	.sns_layout.header_sns {
		display: none;
	}
	.navi-in ul > li:last-of-type {
		display: none;
	}
	.header-container-in.hlt-top-menu .logo-header img {
		max-height: 9vw;
	}
	.header-container-in.hlt-top-menu .logo-header {
		max-height: none;
		display: none;
	}
	.description_layout {
		padding-bottom: 0;
	}
	.description_layout .wrap {
		padding-bottom: 0!important;
	}
}



/* フッター */
.footer {
	border-bottom: none;
}
.navi-footer-in > .menu-footer li {
	border-left: 1px solid #fff!important;
}
.navi-footer-in > .menu-footer li:last-child {
	border-right: 1px solid #fff!important;
}
.navi-footer-in a:hover {
  background-color:rgba(255,255,255,.2);
  color: #fff;
}
@media screen and (max-width: 834px){
	.footer-bottom.fdt-up-and-down .footer-bottom-content .navi-footer-in > ul {
		max-width: 300px;
		margin: 0 auto;
	}
	.navi-footer-in > .menu-footer li.menu-item {
		width: auto!important;
	}
}


/* メニュー */
.navi-in a {
	font-size: 18px;
	font-weight: 350;
}
.navi, .navi-in > ul .sub-menu {

}
.navi-in ul > li:last-of-type {
	width: 5em;
	background-color: #b60033;
	color: #fff;
}
.navi-in ul > li:last-of-type .item-label {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.navi-in ul > li:last-of-type .item-label > div:nth-of-type(1) {
	height: 65%;
	padding: 5% 0 2% 0;
}
.navi-in ul > li:last-of-type .item-label > div:nth-of-type(2) {
	height: 35%;
	font-size: 0.8em;
	color: #fff;
}
.navi-in ul > li:last-of-type .item-label img {
	height: 100%;
	width: auto;
}
.navi-in > ul li .item-label::after {
	content: "";
	display: block;
	background-color: #8e0027;
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	width: 0;
	margin: 0.1em auto 0 auto;
	border-radius: 2px;
	transition: all .3s;
}
.navi-in > ul li a:hover .item-label::after {
	width: 3em;
}
.navi-in > ul li:last-of-type .item-label:hover::after {
	width: 0;
}
#navi .navi-in > ul > li:last-of-type > a {
	transition-duration: 0s;
}
.navi-in > ul .caption-wrap {
	font-size: 16px !important;
}


/* お問い合わせ・連絡先 */
.contact_layout {
	border: 1px solid #aeaeae;
	max-width: 32em;
	margin: 0 auto 1.5em auto !important;
}
.contact_layout > tbody > tr > td {
	padding: 0.5em 0.8em;
	font-size: 110%;
}
.contact_layout > tbody > tr > td h6 {
	border-bottom: none;
	margin: 0 0 0.25em 0;
	padding: 0;
	font-size: 120%;
}
.contact_layout > tbody > tr > td p {
	margin-bottom: 0;
}


/* SNS */
.sns_layout img {
	width: 50px;
	height: auto;
}
.sns_layout ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sns_layout ul li {
	margin: 0.2em 0.5em;
}
.sns_layout2 a {
	display: inline-block;
	margin: 0.2em 0.3em 0.5em 0.3em;
}
.sns_layout2 {
	padding: 0 0 0 0;
}
.sns_layout.sns_layout2 ul {
	list-style: none;
	justify-content: left;
	align-items: center;
	padding: 0;
	margin: 0;
}
.sns_layout.sns_layout2 ul li {
	padding: 0;
	margin: 0;
}
.together_layout > tbody > tr > td > p:nth-of-type(1) {
	margin-bottom: 0;
}

.description_layout .wrap {
	display: flex;
}
.sns_layout.header_sns {
	margin: 0 0 0 auto;
}
.sns_layout.header_sns ul {
	list-style: none;
	justify-content: right;
	align-items: center;
	padding: 0;
	margin: 0;
}
.sns_layout.header_sns ul li {
	margin: 0.2em 0.25em 0 0.25em;
}
.sns_layout.header_sns img {
  width: 30px;
  height: auto;
}

.jimin_link_layout {
	text-align: center;
	padding: 2em 0 1em 0;
}
.jimin_link {
	display: inline-block;
}
.jimin_link img {
	width: 100px;
	height: auto;
	border: 1px solid #000;
 	padding: 6px 12px;
}

#side_sns_layout {
	text-align: center;
}
#side_sns_layout > div {
	margin: 0 0 2em 0;
	border: 1px solid #c6c6c6;
	border-radius: 6px;
	display: inline-block;
	padding: 0.5em 0.8em;
}
#side_sns_text {
	font-size: 85%;
	text-align: center;
}
.sns_layout.side_sns {
	margin: 0 0 0 auto;
}
.sns_layout.side_sns ul {
	list-style: none;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 0;
}
.sns_layout.side_sns ul li {
	margin: 0.2em 0.25em 0 0.25em!important;
}
.sns_layout.side_sns ul li a {
	border: none;
	padding: 0;
}
.sns_layout.side_sns img {
  width: 35px;
  height: auto;
}


@media screen and (max-width: 680px){
	.description_layout .wrap {
		display: block;
		padding-bottom: 0.5em;
	}
}
@media screen and (max-width: 640px){
	#side_sns_layout {
		display: none;
	}
}



body.home header.article-header {
	display: none;
}


.copyright {
	color: #ffffff;
}


/* 投稿 */
body.single header.article-header {
	display: flex;
	flex-direction: column;
}
body.single header.article-header h1.entry-title {
	color: #fff;
	font-size: 1.6rem;
	padding: 0.2em 0.5em;
}
body.single header.article-header .eye-catch-wrap {
	order: 1;
	width: 100%;
}
body.single header.article-header .eye-catch-wrap figure {
	width: 100%;
}
body.single header.article-header .eye-catch-wrap figure img {
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: contain;
	object-position: left top;
}
body.single header.article-header .date-tags {
	text-align: left;
}
body.single header.article-header .date-tags .post-date {
	font-size: 1.2em;
}
body.single header.article-header .date-tags .post-update {
	font-size: 1.2em;
}
body.single header.article-header .date-tags .post-date .fa {
	display: none;
}


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

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

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