@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 {
	--main-blue: #4EA1F6;
	--deep-blue: #0D64D1;
	--border-color: #b5b5b5;
	--font-color: #707070;
	--list-style-color: #2571CE;
	--link-color: #707070;
	--link-hover-color: #2296d2;
	--accemt-red: #F44336;
}

/* 全体 */
body {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--font-color);
}
a, a.a-wrap {
	text-decoration: none !important;
	outline: none;
	color: var(--link-color);
}
a:hover, a.a-wrap:hover {
	text-decoration: none !important;
	outline: none;
	color: var(--link-hover-color);
}

/* header */
.header-in {
	position: relative;
}
.header-in .tagline {
	text-align: left;
	margin: 0.6em 0;
}
.header-in .logo {
	text-align: left;
}
.header-in .logo a {
	padding: 0;
}
.header-in .search-box {
	width: 370px;
	position: absolute;
	top: calc(50% + 20px);
	right: 0;
	margin: 0;
	transform: translateY(-50%);
}
.header-in .search-box input[type=text] {
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.0;
	border: 2px solid #F4F4F4;
	border-radius: 100px;
}
.header-in .search-box .search-submit {
	color: #F49100;
	padding: 0 15px;
}
.navi-in > ul li {
	flex: 1 1 auto;
	min-width: none;
}
.navi-in > ul li:nth-child(2n) {
	border-bottom: 8px solid #DCDCDC;
}
.navi-in > ul li:nth-child(2n+1) {
	border-bottom: 8px solid #EFEFEF;
}
.navi-in > ul li:hover {
	border-bottom: 8px solid #F49100;
}
.navi-in a:hover {
	background-color: transparent;
}
#header-container-in.wrap .search-box {
	display: none;
}
@media screen and (max-width: 767px){
	#header-container-in {
		border-bottom: 5px solid var(--border-color);
		padding-bottom: 15px;
	}
	#header-container-in nav {
		display: none;
	}
	.header-in .tagline {
		padding: 0 15px;
	}
	.header-in .logo-header {
		text-align: center;
	}
	.header-in .logo-header img {
		width: 250px;
	}
	.header-in .search-box {
		display: none;
	}
}

/* main */
.content {
	margin-top: 75px;
}
.main {
	padding: 0;
}
.main .entry-content {
	margin-top: 0;
}
body.home .main h2 {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.0;
	border-left: 10px solid var(--deep-blue);
	background-color: transparent; 
	padding: 5px 0 5px 17px;
	margin-bottom: 20px;
}
body.home .main h2:after {
	content: "";
	font-style: italic;
	font-size: 21px;
	font-weight: 400;
	line-height: 28px;
	color: var(--main-blue);
	padding: 5px 0 5px 10px;
	margin-bottom: 20px;
}
body.home .main #newPosts .new-list-box {
	margin-bottom: 0;
}
body.home .main #newPosts h2:after {
	content: "New articles";
}
body.home .main #newPosts .new-entry-card-title {
	font-size: 23px;
	font-weight: 600;
	line-height: 1.4;
}
body.home .main #newPosts .new-entry-card-snippet {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
}
body.home .main #newPosts .new-entry-card-wrapper {
	margin-top: 12px;
}
body.home .main #popularPosts h2:after {
	content: "Popular articles";
}
body.home .main #categoryPosts .new-list-box {
	margin-bottom: 0;
}
body.home .main #categoryPosts h2:after {
	content: "Articles by category";
}
body.home .main #categoryPosts .tab-label-group .tab-label.is-active {
	background-color: var(--main-blue);
}
body.home .main #categoryPosts .tab-content-group {
	border: none;
	border-top: 1px solid var(--main-blue);
	padding: 0;
}
body.home .main #categoryPosts .widget-entry-card-content {
	margin-left: 340px;
}
.more-posts a {
	display: inline-block;
	position: relative;
	background-color: var(--list-style-color);
	border-radius: 10px;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.0;
	color: #fff;
	padding: 15px 15px 15px 50px;
	margin-top: 20px;
}
.more-posts a:before {
	content: "";
	display: block;
	width: 28px;
	height: 28px;
	position: absolute;
	top: 12px;
	left: 16px;
	background: url(https://nyusatsu-guide.jp/system/wp-content/uploads/2025/03/icon-link.png) center center no-repeat;
	background-size: contain;
}
.a-wrap:hover {
	background-color: transparent;
	color: var(--link-hover-color);
}
body.home .widget-entry-cards .a-wrap {
	padding: 0;
}
body.home .main #categoryPosts .widget-entry-cards .a-wrap {
	padding: 15px 0;
}
body.home .main #categoryPosts .widget-entry-cards .a-wrap figure {
	width: 310px;
	margin-right: 30px;
}
body.home .main #categoryPosts .widget-entry-cards .a-wrap .new-entry-card-title {
	font-size: 23px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 5px;
}
body.home .main #categoryPosts .widget-entry-cards .a-wrap .new-entry-card-snippet {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
	opacity: 1;
	margin-top: 0;
	margin-bottom: 5px;
}
.new-entry-card-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.new-entry-card-wrapper .entry-category {
	display: inline-block;
	background-color: #6CA9FF;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.0;
	font-style: italic;
	color: #fff;
	border-radius: 50px;
	padding: 4px 10px;
	margin: 4px 4px 4px 0;
}
body.home #newPosts .new-entry-cards {
	display: flex;
	flex-direction: row;
	gap: 0;
}
body.home #newPosts .new-entry-cards .new-entry-card-link {
	flex: 0 0 33.33333%;
	min-width: 33.33333%;
	border: 1px solid var(--border-color);
	padding: 18px;
	margin-right: 0 !important;
	margin-bottom: 0;
}
.is-list-horizontal.large-thumb .widget-entry-card-link, .is-list-horizontal.large-thumb-on .widget-entry-card-link {
	max-width: 33.33333%;
}
body.home .main .popular-entry-cards {
	display: flex;
	flex-wrap: wrap;
}
body.home .main .popular-entry-cards .widget-entry-card-link {
	max-width: 50%;
	min-width: 50%;
}
@media screen and (max-width: 767px){
	.content {
		margin-top: 30px;
	}
	main.main {
		padding-top: 0;
		margin-top: 0;
	}
	body.home #newPosts .new-entry-cards {
		flex-direction: column;
	}
	body.home #newPosts .new-entry-cards .new-entry-card-link {
		flex: 0 0 100%;
		min-width: 100%;
	}
	body.home .main #categoryPosts .widget-entry-cards .a-wrap figure {
		width: 120px;
		margin-right: 1.6%;
	}
	body.home .main #categoryPosts .widget-entry-cards .a-wrap .new-entry-card-title {
		font-size: 16px;
	}
	body.home .main #categoryPosts .widget-entry-cards .a-wrap .new-entry-card-snippet {
		font-size: 14px;
	}
	body.home .main .popular-entry-cards .widget-entry-card-link {
		max-width: 100%;
		min-width: 100%;
	}
}


/* sidebar */
.sidebar {
	padding: 0;
}
.body .widget-sidebar {
	border: 1px solid var(--border-color);
	padding: 0 18px 18px;
	margin-bottom: 30px;
}
.body .widget-sidebar-title {
	position: relative;
	text-align: center;
	width: calc(100% + 36px);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.0;
	color: var(--font-color);
	background-color: transparent;
	border-bottom: 3px solid var(--main-blue);
	padding: 12px 0;
	margin: 0 0 20px -19px;
}
.body .widget-sidebar-title:before {
	position: relative;
	content: "";
	display: inline-block;
	margin-right: 5px;
}
#sidebar .widget_media_image {
	padding: 18px;
}
#slide-in-sidebar .widget_media_image {
	padding: 18px;
}
.body .widget_categories .widget-sidebar-title:before {
	top: 5px;
	width: 26px;
	height: 26px;
	background: url(https://nyusatsu-guide.jp/system/wp-content/uploads/2025/03/icon-category.png) center center no-repeat;
	background-size: contain;
}
.widget_categories ul li:before {
	position: relative;
	top: -1px;
	content: "●";
	display: inline-block;
	font-size: 0.8em;
	line-height: 30px;
	color: var(--list-style-color);
	margin-right: 5px;
}
.widget_categories ul li a {
	display: inline-block;
}
.widget_categories ul li a:hover {
	color: var(--main-blue);
	background-color: transparent;
}
.body #new_entries-2 .widget-sidebar-title {
	padding: 0 0 12px;
}
.body #new_entries-2 .widget-sidebar-title:before {
	top: 13px;
	width: 30px;
	height: 40px;
	background: url(https://nyusatsu-guide.jp/system/wp-content/uploads/2025/03/icon-favorite.png) center center no-repeat;
	background-size: contain;
}
.body #new_entries-2 .new-entry-cards .a-wrap {
	border-bottom: 1px solid var(--border-color);
	padding: 0 0 30px 0;
	margin-bottom: 30px;
}
.body #new_entries-2 .new-entry-cards .a-wrap:last-child {
	border-bottom: none;
}
.body #new_entries-2 .new-entry-cards .a-wrap:hover {
	background-color: transparent;
	color: var(--main-blue);
}
.body #new_entries-2 .new-entry-cards .new-entry-card-wrapper {
	display: none;
}
.body .widget_popular_entries .widget-sidebar-title {
	padding-top: 8px;
}
.body .widget_popular_entries .widget-sidebar-title:before {
	top: 6px;
	width: 28px;
	height: 27px;
	background: url(https://nyusatsu-guide.jp/system/wp-content/uploads/2025/03/icon-popular.png) center center no-repeat;
	background-size: contain;
}
.body #new_entries-3 .widget-sidebar-title {
	padding-top: 6px;
}
.body #new_entries-3 .widget-sidebar-title:before {
	top: 7px;
	width: 22px;
	height: 32px;
	background: url(https://nyusatsu-guide.jp/system/wp-content/uploads/2025/03/icon-new.png) center center no-repeat;
	background-size: contain;
}
.body #new_entries-3 .new-entry-cards .new-entry-card-wrapper {
	display: none;
}
.body #tag_cloud-2 .widget-sidebar-title:before {
	top: 9px;
	width: 28px;
	height: 30px;
	background: url(https://nyusatsu-guide.jp/system/wp-content/uploads/2025/03/icon-tag.png) center center no-repeat;
	background-size: contain;
}
.body #tag_cloud-2 .tagcloud .tag-cloud-link {
	flex: 0;
	min-width: fit-content;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.0;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	padding: 9px 13px;
	margin: 4px;
}
.body #tag_cloud-2 .tagcloud .tag-cloud-link .fa-tag {
	color: var(--list-style-color);
}
.body #tag_cloud-2 .tagcloud .tag-cloud-link:hover {
	border: 1px solid var(--list-style-color);
	background-color: var(--list-style-color);
	color: #fff;
}
.body #tag_cloud-2 .tagcloud .tag-cloud-link:hover .fa-tag {
	color: #fff;
}
#sidebar .widget-sidebar.widget_author_box {
	padding: 18px 22px;
}
#sidebar .widget-sidebar.widget_author_box .author-box {
	border: none;
	padding: 0;
	margin: 0;
}
#sidebar .widget-sidebar.widget_author_box .author-box .author-widget-header .author-thumb {
	width: 150px;
}
#sidebar .widget-sidebar.widget_author_box .author-box .author-widget-header .author-name {
	margin-top: 5px;
}
#sidebar .widget-sidebar.widget_author_box .author-box .author-widget-header .author-posts-link {
	display: none;
}
#sidebar .widget-sidebar.widget_author_box .author-box .author-content {
	padding: 10px 0 0; 
}
#sidebar .widget-sidebar.widget_author_box .author-box .author-content p {
	text-align: justify;
}

/* footer */
#footer {
	border-top: 5px solid var(--border-color);
}
.footer-widgets .footer-logo,
.footer-widgets .footer-left,
.footer-widgets .footer-center,
.footer-widgets .footer-right {
	width: 25%;
}
.footer-widgets .footer-title {
	font-size: 18px;
}
.footer-widgets .logo-footer {
	text-align: left;
}
.footer-widgets .footer-site-logo-image {
	max-width: 250px;
}
.footer-widgets .footer-left .menu li:before {
	position: relative;
    top: -1px;
    content: "●";
    display: inline-block;
    font-size: 14px;
    line-height: 30px;
    color: var(--list-style-color);
    margin-right: 3px;
}
.footer-widgets .widget_nav_menu ul li a {
	display: inline-block;
	font-size: 14px;
	color: var(--link-color);
	padding-top: 5px;
	padding-bottom: 5px;
}
.footer-widgets .widget_nav_menu ul li a:hover {
	background-color: transparent;
	color: var(--link-hover-color);
}
.footer-widgets .widget_categories ul li a {
	font-size: 14px;
	color: var(--link-color);
	padding-top: 5px;
	padding-bottom: 5px;
}
.footer-widgets .widget_categories ul li a:hover {
	color: var(--link-hover-color);
}
@media screen and (max-width: 767px){
	.footer-widgets-mobile img {
		max-width: 180px;
	}
	.footer-widgets-mobile .menu li:before {
		position: relative;
		top: -1px;
		content: "●";
		display: inline-block;
		font-size: 0.8em;
		line-height: 30px;
		color: var(--list-style-color);
		margin-right: 5px;
	}
	.footer-widgets-mobile .widget_nav_menu ul li a {
		display: inline-block;
		color: var(--link-color);
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.footer-widgets-mobile .widget_nav_menu ul li a:hover {
		background-color: transparent;
		color: var(--link-hover-color);
	}
	.footer-widgets-mobile .widget_categories ul li a {
		color: var(--link-color);
	}
	.footer-widgets-mobile .widget_categories ul li a:hover {
		color: var(--link-hover-color);
	}
}

/* 一覧ページ */
#list .entry_card_categories .entry-category {
	display: inline-block;
	background-color: #6CA9FF;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.0;
	font-style: italic;
	color: #fff;
	border-radius: 50px;
	padding: 4px 10px;
	margin: 4px 4px 4px 0;
}
#list .a-wrap {
	padding: 1.5% 0;
}
#archive-title {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.0;
	border-left: 10px solid var(--deep-blue);
	background-color: transparent; 
	padding: 5px 0 5px 17px;
	margin-bottom: 20px;
}
#breadcrumb {
	margin: 1em auto;
    padding: 0.6em 0;
}
#breadcrumb .fa-angle-right:before {
	content: "/";
}
#archive-title span {
	display: none;
}
@media screen and (max-width: 767px){
	#archive-title {
		font-size: 18px;
		padding-left: 13px;
		border-left: 7px solid var(--deep-blue);
	}
	#breadcrumb {
		padding: 0.6em 1em;
	}
}

/* 記事・固定ページ */
body.single .date-tags {
	display: none;
}
body.single .eye-catch-wrap {
	margin-bottom: 30px;
}
body.single .entry-author-data {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-items: flex-start;
	align-items: center;
	gap: 0 10px;
}
body.single .entry-author-data img {
	width: 30px;
	border-radius: 100px;
}
body.single .entry-author-data .author-name {
	font-size: 14px;
}
body.single .entry-author-data .post-date {
	margin-right: 0;
}
body.single .entry-categories {
	margin-bottom: 30px;
}
body.single .entry-category {
	display: inline-block;
	background-color: #6CA9FF;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.0;
	font-style: italic;
	color: #fff;
	border-radius: 50px;
	padding: 4px 10px;
	margin: 4px 4px 4px 0;
}
body:not(.home) .entry-content h2 {
	position: relative;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--font-color);
	background-color: transparent;
	border-bottom: 3px solid #2296d2;
	padding: 0 0 5px;
	margin: 60px 0 30px;
}
body:not(.home) .entry-content h2:before {
	position: absolute;
	bottom: -3px;
	display: block;
	width: 100px;
	height: 3px;
	content: "";
	background-color: #096ee2;
}
body:not(.home) .entry-content h3 {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--font-color);
	background-color: #eff4ff;
	border: none;
	border-top: 3px solid #2296d2;
	padding: 5px 8px;
	margin: 0 0 30px;
}
body:not(.home) .entry-content h4 {
	position: relative;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--font-color);
	background-color: transparent;
	border-top: none;
	border-bottom: 3px dashed #2296d2;
	padding: 0 0 5px;
	margin: 0 0 30px;
}
body:not(.home) .entry-content h4:before {
	position: absolute;
	bottom: -3px;
	display: block;
	width: 100px;
	height: 3px;
	content: "";
	background-color: #096ee2;
}
body:not(.home) .entry-content a[target="_blank"]:after {
	display: inline-block;
	content: "";
	width: 15px;
	height: 15px;
	background: url(https://nyusatsu-guide.jp/system/wp-content/uploads/2025/03/icon-outerlink.png) center center no-repeat;
	background-size: contain;
	margin-left: 8px;
}
body:not(.home) .entry-content blockquote {
	background-color: transparent;
	border: none;
	border-left: 5px solid #096ee2;
	padding: 0 0 0 2.4em;
}
body:not(.home) .entry-content blockquote:before,
body:not(.home) .entry-content blockquote:after {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 400%;
	color: #096ee2;
}
body:not(.home) .entry-content blockquote:before {
	line-height: 0.8;
}
body:not(.home) .entry-content blockquote:after {
	bottom: -5px;
}
body:not(.home) .entry-content ul {
	list-style-type: none;
	padding: 0;
	margin: 0 0 30px 0;
}
body:not(.home) .entry-content ul li::before {
	display: inline-block;
	content: "●";
	font-size: 14px;
	line-height: 1.0;
	font-weight: 400;
	color: #096ee2;
	margin-right: 5px;
}
.mb-05 {
	margin-bottom: 0.5em !important;
}
table:not(.has-border-color) :where(th, td) {
	border-color: #707070;
}
body:not(.home) .entry-content .wp-block-table:not(.basic-table) table tr td:first-child {
	width: 35%;
	background-color: #eff4ff;
	font-weight: 600;
}
body:not(.home) .entry-content .wp-block-table:not(.basic-table) table tr td:last-child {
	width: 65%;
	background-color: #fff;
}
body:not(.home) .entry-content .toc-list {
	list-style-type: none;
	padding-left: 0;
}
body:not(.home) .entry-content strong {
	color: var(--accemt-red);
	background: linear-gradient(transparent 60%, #ffff00 60%);
	padding-bottom: 3px;
}
body:not(.home) .entry-content a:not([target="_blank"]) {
	text-decoration: underline !important;
}
body:not(.home) .entry-content .nyusatsu_guide_article_cta {
	border: 2px solid var(--border-color);
	border-radius: 10px;
	padding: 15px;
}
body:not(.home) .entry-content .nyusatsu_guide_article_cta a:before {
	display: inline-block;
	content: ">";
	font-weight: 600;
	color: var(--main-blue);
	margin-right: 10px;
}

/* 目次 */
body:not(.home) .entry-content #toc a {
	text-decoration: none !important;
}
body:not(.home) .entry-content #toc ol ol {
	padding-left: 2em;
}
body:not(.home) .entry-content #toc ol ol ol {
	padding-left: 3em;
}

/* go-to-top */
.go-to-top-button {
	border: 1px solid var(--border-color);
	padding: 10px;
}
.go-to-top-button img {
	width: 58px;
}

/* この記事を書いた人 */
footer .author-box {
	width: 70%;
	background-color: #EDEDED;
	border: 1px solid #EDEDED;
	border-radius: 20px;
	padding: 28px 48px;
	margin: 0 auto;
}
footer .author-box .author-widget-header {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	gap: 20px;
}
footer .author-box figure {
	width: 100px;
	margin: 0;
}
footer .author-box .author-name {
	margin: 0;
}
footer .author-box .author-name a {
	font-size: 18px;
	line-height: 1.0;
	font-weight: 600;
}
footer .author-box .author-posts-link {
	flex: 1 1 auto;
	min-width: auto;
	margin-left: 30px;
}
footer .author-box .author-posts-link a {
	display: block;
	width: 100%;
	text-align: center;
	border: 1px solid #000;
	border-radius: 10px;
	background-color: transparent;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.0;
	color: #000;
	padding: 15px 0;
	transition: all 0.5s ease;
}
footer .author-box .author-posts-link a:hover {
	background-color: #000;
	color: #fff;
}
footer .author-box .author-content {
	margin-left: 0;
	margin-top: 5px;
	margin-bottom: 0;
}
footer .author-box .author-description {
	margin-bottom: 0;
}
footer .author-box .author-description p {
	text-align: justify;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 400;
	margin-top: 0;
	margin-bottom: 10px;
}
body.home .widget_author_box {
	display: none;
}
@media screen and (max-width: 767px){
	footer .author-box {
		width: 100%;
	}
	footer .author-box .author-widget-header {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		gap: 10px;
		margin-bottom: 10px;
	}
	footer .author-box .author-thumb {
		width: 100px;
	}
	footer .author-box .author-posts-link {
		flex: 0 0 100%;
		min-width: 100%;
		margin-left: 0;
	}
	footer .author-box .author-posts-link a {
		font-size: 14px;
	}
	footer .author-box .sns-follow-buttons {
		justify-content: center;
	}
}

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

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

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