@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{
	--i_main_color: #ab509f;
	--i_sub2_color: #eeeeee;
}
a{
	transition: .3s ease-in-out;
}

/*----------------header--------------------------*/
#header-container{
	/*-box-shadow: 0 3px 3px rgba(0,0,0,0.08);--*/
}
.fixed-header .site-logo-image{
	max-width: 250px;
}
#header-container-in.wrap{
	width: 100%;
}
#header-container .navi{
	padding-right: 40px;
}

.header-container-in.hlt-top-menu .wrap{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
#header-container .search-box{
	margin: 0;
	width: 250px;
}
#header-container .search-edit{
	padding: 5px 10px;
}
#header-container .navi{
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

@media screen and (max-width: 1023px){
  #header-container{
	display: none;
  }
	.mobile-header-menu-buttons .logo-menu-button img.site-logo-image{
		max-width: 280px;
		width: calc(100% - 40px);
	}
}

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/*---------------sidebar---------------------------*/
#sidebar{
	border: none;
}
#sidebar h3.widget-sidebar-title,
#sidebar-scroll h2.wp-block-heading,
#sidebar-scroll h3.widget-sidebar-scroll-title{
	background: none;
	color: #333;
	padding: 0 0 0 1.5em;
    position: relative;
}
#sidebar #popular_entries-3 h3.widget-sidebar-title::before,
#sidebar-scroll #sidebar_archive h3.widget-sidebar-scroll-title::before,
#sidebar-scroll #new_entries-3 h3.widget-sidebar-scroll-title::before{
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    background: #fbd202;
    mask-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22_%E7%B9%9D%EF%BD%AC%E7%B9%A7%EF%BD%A4%E7%B9%9D%EF%BD%A4%E7%B9%9D%EF%BD%BC_1%22%20data-name%3D%22%E7%B9%9D%EF%BD%AC%E7%B9%A7%EF%BD%A4%E7%B9%9D%EF%BD%A4%E7%B9%9D%EF%BD%BC_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2018%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.cls-1%20%7B%20fill%3A%20%23fff%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cpath%20class%3D%22cls-1%22%20d%3D%22M4%2C18c-.28%2C0-.52-.1-.71-.29s-.29-.43-.29-.71.1-.52.29-.71.43-.29.71-.29h12c.28%2C0%2C.52.1.71.29s.29.43.29.71-.1.52-.29.71-.43.29-.71.29H4ZM4.7%2C14.5c-.48%2C0-.91-.16-1.29-.48s-.6-.72-.69-1.2l-1-6.35s-.07%2C0-.11.01-.08.01-.11.01c-.42%2C0-.77-.15-1.06-.44s-.44-.65-.44-1.06.15-.77.44-1.06.65-.44%2C1.06-.44.77.15%2C1.06.44.44.65.44%2C1.06c0%2C.12-.01.23-.04.33s-.05.19-.09.28l3.13%2C1.4%2C3.13-4.28c-.18-.13-.33-.31-.45-.53s-.18-.45-.18-.7c0-.42.15-.77.44-1.06s.65-.44%2C1.06-.44.77.15%2C1.06.44c.29.29.44.65.44%2C1.06%2C0%2C.25-.06.48-.18.7s-.27.39-.45.53l3.13%2C4.28%2C3.13-1.4c-.03-.08-.06-.18-.09-.28s-.04-.21-.04-.33c0-.42.15-.77.44-1.06s.65-.44%2C1.06-.44.77.15%2C1.06.44.44.65.44%2C1.06-.15.77-.44%2C1.06-.65.44-1.06.44c-.03%2C0-.07%2C0-.11-.01s-.08-.01-.11-.01l-1%2C6.35c-.08.48-.31.88-.69%2C1.2s-.8.48-1.29.48H4.7Z%22%2F%3E%3C%2Fsvg%3E');
    mask-repeat: no-repeat;
    mask-size: contain;
    position: absolute;
    top: calc(1em * 1.8 / 2);
    left: 0;
    transform: translateY(-50%);
    z-index:0;
    pointer-events: none;
}
#sidebar-scroll #sidebar_archive h3.widget-sidebar-scroll-title::before{
    background: #fc466b;
    mask-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22_%E7%B9%9D%EF%BD%AC%E7%B9%A7%EF%BD%A4%E7%B9%9D%EF%BD%A4%E7%B9%9D%EF%BD%BC_1%22%20data-name%3D%22%E7%B9%9D%EF%BD%AC%E7%B9%A7%EF%BD%A4%E7%B9%9D%EF%BD%A4%E7%B9%9D%EF%BD%BC_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2016%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.cls-1%20%7B%20fill%3A%20%23fff%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cpath%20class%3D%22cls-1%22%20d%3D%22M2%2C16c-.55%2C0-1.02-.2-1.41-.59s-.59-.86-.59-1.41V2C0%2C1.45.2.98.59.59s.86-.59%2C1.41-.59h5.18c.27%2C0%2C.52.05.76.15s.45.24.64.43l1.43%2C1.43h8c.55%2C0%2C1.02.2%2C1.41.59s.59.86.59%2C1.41v10c0%2C.55-.2%2C1.02-.59%2C1.41s-.86.59-1.41.59H2Z%22%2F%3E%3C%2Fsvg%3E');
}
#sidebar-scroll #new_entries-3 h3.widget-sidebar-scroll-title::before{
    background: #866bf9;
    mask-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22_%E7%B9%9D%EF%BD%AC%E7%B9%A7%EF%BD%A4%E7%B9%9D%EF%BD%A4%E7%B9%9D%EF%BD%BC_1%22%20data-name%3D%22%E7%B9%9D%EF%BD%AC%E7%B9%A7%EF%BD%A4%E7%B9%9D%EF%BD%A4%E7%B9%9D%EF%BD%BC%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018%2018%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.cls-1%20%7B%20fill%3A%20%23fff%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cpath%20class%3D%22cls-1%22%20d%3D%22M12.28%2C9.48l-3.75-3.78%2C2.78-2.75-.73-.73-4.78%2C4.78c-.2.2-.43.3-.7.3s-.5-.1-.7-.3-.3-.44-.3-.71.1-.51.3-.71L9.15.83c.4-.4.87-.6%2C1.41-.6s1.01.2%2C1.41.6l.73.73%2C1.25-1.25c.2-.2.44-.3.71-.3s.51.1.71.3l2.33%2C2.33c.2.2.3.44.3.71s-.1.51-.3.71l-5.43%2C5.43ZM1%2C18c-.28%2C0-.52-.1-.71-.29-.19-.19-.29-.43-.29-.71v-1.93c0-.27.05-.52.15-.76s.24-.45.43-.64l6.53-6.55%2C3.78%2C3.75-6.55%2C6.55c-.18.18-.4.33-.64.43s-.5.15-.76.15h-1.93Z%22%2F%3E%3C%2Fsvg%3E');
}

#sidebar .widget-entry-card,
#sidebar .card-title-bold .card-title {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}
#sidebar_archive .sidebar_archive_list{
	padding-left: 0;
}
#sidebar_archive .sidebar_archive_list li{
	list-style: none;	
}
#sidebar_archive .sidebar_archive_list li a{
	text-decoration: none;
	display: block;
	padding: 5px 10px 5px 20px;
	position: relative;
}
#sidebar_archive .sidebar_archive_list li a::before{
	display: block;
	content: "";
	width: 5px;
	height: 5px;
	border-top: 1px solid var(--i_main_color);
	border-right: 1px solid var(--i_main_color);
	transform: rotate(45deg) translateY(-50%);
	position:absolute;
	top: 50%;
	left: 0px;
	z-index:0;
	pointer-events: none;
}

/*--------------footer----------------------------*/
footer .site-name-text img.site-logo-image{
	max-width: 270px;
	height: auto;
}
.navi-footer-in > .menu-footer li {
	border-left: 1px solid rgba(255,255,255,0.1);
}
.navi-footer-in > .menu-footer li:last-child {
	border-right: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom{
	margin-top: 50px;
	margin-bottom: 50px;
}
#navi .navi-in a:hover,
#footer a:not(.sns-button):hover {
	background-color: transparent;
	color: var(--i_main_color);
}
.copyright {
	margin-top: 30px;
}
@media screen and (max-width: 1023px){
	.footer-bottom-logo{
		margin-bottom: 30px;
	}
}
@media screen and (max-width: 834px) {
	.navi-footer-in > .menu-footer li:last-child{
		border: 0;
	}
	.navi-footer-in > .menu-footer li.menu-item a{
		padding: 10px 0;
	}
}

/*-----------------メディア（top、アーカイブページ共通）-------------------------*/
body.home:not(.paged) .ect-vertical-card .entry-card-wrap:first-of-type{
	width: 100%;
}
body.home:not(.paged) .ect-vertical-card .entry-card-wrap:first-of-type .entry-card{
	flex-direction: row;
	gap: 0 2%;
}
body.home:not(.paged) .ect-vertical-card .entry-card-wrap:first-of-type .entry-card-thumb{
	width: 60%;
}
body.home:not(.paged) .ect-vertical-card .entry-card-wrap:first-of-type .entry-card-title{
	font-size: 22px;
}
body.home:not(.paged) .ect-vertical-card .entry-card-wrap:first-of-type .entry-card-snippet{
	font-size: 16px;
	line-height: 1.8;
}
@media screen and (max-width: 834px){
	body.home:not(.paged) .ect-vertical-card .entry-card-wrap:first-of-type .entry-card-title{
		font-size: 16px;
	}
}
@media screen and (max-width: 356px) {
	body.home:not(.paged) .ect-vertical-card .entry-card-wrap:first-of-type .entry-card{
		flex-direction: column;
	}
	body.home:not(.paged) .ect-vertical-card .entry-card-wrap:first-of-type .entry-card-thumb{
		width: 100%;
	}
}
/*-------------pager-----------------------------*/
.pagination-next-link{
	background: var(--i_main_color);
    color: #fff;
	max-width: 300px;
	border-radius: var(--cocoon-basic-border-radius);
	margin: 0 auto;
    border-color: transparent;
}
.pager-links .current span,
.pagination-next-link:hover,
.pagination a:hover,
.pagination .current,
.pager-links a:hover span{
	border-color: var(--i_main_color);
	background: var(--i_main_color);
	color: #fff;
    opacity: 0.7;
}
.pager-post-navi figure{
	display: none;
}
/*-----------------etc-------------------------*/
.cat-label{
	background: var(--i_main_color);
}

main h1{
	background: none;
	color: var(--cocoon-text-color);
	padding: 0 0 15px;
	position: relative;
	border-bottom: 2px solid #ddd;
}
main h1::before{
	display: block;
	content: "";
	width: 80px;
	height: 2px;
	background: var(--i_main_color);
	position:absolute;
	bottom: -2px;
	left: 0px;
	z-index:1;
	pointer-events: none;
}
main h1,
.article h1,
h1.wp-block-heading,
h1.entry-title,
.article h2,
h2.wp-block-heading,
.article h3,
h3.wp-block-heading,
.article h4,
h4.wp-block-heading
.article h5,
h5.wp-block-heading
.article h6,
h6.wp-block-heading {
	margin-bottom: 30px;
}
.article h2,
h2.wp-block-heading{
	background: none;
	padding: 0 0 0 15px;
	border-left: 4px solid var(--i_main_color);
	color: var(--cocoon-text-color);
}
.article h3,
h3.wp-block-heading{
	border: 0;
	background: var(--i_sub2_color);
	padding: 12px 20px;
	font-size: 22px;
}
.article h4,
h4.wp-block-heading{
	border-top: 0;
	padding: 0 10px 10px;
	border-bottom: 2px solid var(--cocoon-text-color);
}
.article h5,
h5.wp-block-heading{
	border: 0;
	color: var(--i_main_color);
}
.article h6,
h6.wp-block-heading{
	display: inline-block;
	border: 1px solid var(--cocoon-text-color);
}
.article .toc{
	margin-bottom: 30px;
}
@media screen and (max-width: 480px) {
	main h1,
	h1.entry-title{
		padding-left: 0;
		font-size: 20px;
	}
}
.about_table table td:first-child{
	width: 30%;
}
@media screen and (max-width: 450px){
	.about_table table td:first-child{
		width: 40%;
	}
}
/*----------------TOP--------------------------*/
body.home #company{
	margin-top: 60px;
	padding-top: 60px;
	border-top: 1px solid #bcbcbc;
}

#company .pagination-next{
	width: 100%;
}
@media screen and (max-width: 480px) {
	body.home #company{
		margin-top: 40px;
		padding-top: 40px;
	}
}
article.page .date-tags{
	display: none;
}
/*----------------企業--------------------------*/
#entry_company .company_item{
	background: var(--i_sub2_color);
	padding: 30px;
	margin-bottom: 30px;
}
.archive-title{
	margin-bottom: 40px;
}

#entry_company.company_archive{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 30px 15px;
}
#entry_company.company_archive > a{
	width: calc((100% - 30px) / 3);
	text-decoration: none;
    background: var(--i_sub2_color);
}
#entry_company.company_archive > a:nth-of-type(3n - 1){
	/* border-right: 1px solid #ddd;
	border-left: 1px solid #ddd; */
}
#entry_company.company_archive .company_item{
	padding: 15px;
	background: none;

}
#entry_company.company_archive .company_item figure{
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	margin-bottom: 10px;
}
#entry_company.company_archive .company_item figure img{
	object-fit: cover;
	width: 100%;
	height: 100%;
	transition: .3s ease-in-out;
}
#entry_company.company_archive a:hover .company_item figure img{
	transform: scale(1.05);
}
#entry_company.company_archive .company_item h2{
	font-size: 18px;
	margin-bottom: 10px;
	padding-left: 20px;
	position: relative;
}
#entry_company.company_archive .company_item h2::before{
	display: block;
	content: "";
	width: 6px;
	height: 6px;
	border-top: 2px solid var(--i_main_color);
	border-right: 2px solid var(--i_main_color);
	position:absolute;
	top: calc(1em * 1.8 / 2);
	transform: rotate(45deg) translateY(-50%);
	left: 0px;
	z-index:0;
	pointer-events: none;
}
#entry_company.company_archive .company_item .company_detail{
	font-size: 14px;
}

#entry_company.company_single .company_item{
	margin-top: 30px;
}
#entry_company.company_single h1{
	margin-bottom: 30px;
}

#entry_company .company_item .inner{
	display: flex;
	gap: 30px;
	align-items: flex-start;
	justify-content: space-between;
}
#entry_company .company_item a{
	text-decoration: none;
}
#entry_company .company_item .inner .company_info{
	width: 100%;
}
#entry_company.company_single .company_item .inner .company_info:has(+figure),
#entry_company.company_single .company_item .inner figure{
	width: calc(50% - 15px);
}

#entry_company .company_item .company_info dl,
#entry_company.company_archive .company_item .company_detail dl{
	display: flex;
	margin-bottom: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #d2d2d2;
}
#entry_company.company_archive .company_item .company_detail dl{
	padding-bottom: 0px;
	border-bottom: 0;
}
#entry_company .company_item .company_info dl+dl{
	margin-top: 10px;
}
#entry_company .company_item .company_info dl dt,
#entry_company.company_archive .company_item .company_detail dl dt{
	width: 25%;
	padding-right: 20px;
	box-sizing: border-box;
}
#entry_company .company_item .company_info dl dd,
#entry_company.company_archive .company_item .company_detail dl dd{
	width: 75%;
}
#entry_company .company_item .company_info dl{
	flex-wrap: wrap;
	padding: 0;
}
#entry_company .company_item .company_info dl:first-child{
	border-top: 1px solid #d2d2d2;
}
#entry_company .company_item .company_info dl+dl{
	margin-top: 0;
}
#entry_company .company_item .company_info dl dt,
#entry_company .company_item .company_info dl dd{
	padding: 10px 5px;
}
#entry_company .company_item .company_info dl dt{
	width: 120px;
	padding-right: 0;
}
#entry_company .company_item .company_info dl dd{
	width: calc(100% - 120px);
	margin: 0;
}
#entry_company .google-map{
	margin-top: 30px;
}
#entry_company .company_item .inner .google-map iframe{
	height: 100%;
}

#entry_company .google-map iframe{
    width: 100%;
}
#entry_company p.keywords{
    text-align: right;
}
#entry_company .company_item figure{
	text-align: center;
}
.under-entry-content{
	border-top: 1px solid #ddd;
}
@media screen and (max-width: 834px){
	#entry_company.company_archive > a{
		width: 50%;
	}
	#entry_company.company_archive > a:nth-of-type(3n - 1){
		border: 0;
	}
	#entry_company.company_archive > a:nth-of-type(2n){
		border-left: 1px solid #ddd;
	}
	#entry_company .company_item .inner .company_info:has(+figure),
	#entry_company .company_item .inner figure{
		width: 100%;
	}
	#entry_company .company_item .inner{
		flex-direction: column;
	}
	#entry_company.company_single .company_item .inner .company_info:has(+ figure),
	#entry_company.company_single .company_item .inner figure {
		width: 100%;
	}

	#entry_company .company_item .inner .google-map iframe{
		height: 300px;
	}
	#entry_company.company_archive .company_item h2{
		font-size: 15px;
	}
	#entry_company .company_item{
		padding: 15px;
		font-size: 14px;
	}
}
@media screen and (max-width: 480px) {
	#entry_company.company_archive > a{
		width: 100%;
	}
	#entry_company.company_archive > a:nth-of-type(2n){
		border: 0;
	}
	#entry_company.company_archive{
		gap: 15px 0;
	}
}
@media screen and (max-width: 400px) {
	#entry_company .company_item .company_info dl dt,
	#entry_company .company_item .company_info dl dd{
		width: 100%;
		padding: 7px 3px;
	}
	#entry_company .company_item .company_info dl dt{
		border-bottom: 1px dotted #d2d2d2;
		font-weight: bold;
	}
}

/*---------------ボタン---------------------------*/
a.wp-block-button__link{
    background: var(--i_main_color);
    border-radius: var(--cocoon-basic-border-radius);
}
a.wp-block-button__link:hover{
    background: var(--i_main_color);
    opacity: 0.7;
    color: #fff;
}

/*---------------フォーム----------------------*/
textarea{
	font-family: var(--cocoon-default-font);
}
form.wpcf7-form>p{
	margin-bottom: 15px;
}
form.wpcf7-form label>br+span{
	display: inline-block;
	margin-top: 5px;
	width: 100%;
}
form.wpcf7-form input.wpcf7-submit{
	display: block;
	margin: 0 auto;
	width: 200px;
	background-color: var(--i_main_color);
	color: var(--i_sub2_color);
	border: none;
	border-radius: 5px;
	font-size: 15px;
	font-weight: 400;
}
form.wpcf7-form input.wpcf7-submit:hover{
	filter: brightness(90%);
}