@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
main .article h2 {
	font-size: 53px;
	font-family: 'Zen Kaku Gothic Antique', sans-serif;
	font-weight: 500;
	letter-spacing: 10px;
	line-height: 1.0;
	color: #42210b;
	border: none;
	margin: 0 0 40px 0;
	padding: 0 0 40px 0;
}

main .article h2 span {
	font-size: 48px;
}

main .article h2:after {
	content: "";
	display: block;
	width: 70px;
	height: 15px;
	background-image: url(assets/img/threemaru.png);
	background-repeat: no-repeat;
	background-size: contain;
	position: relative;
	top: 35px;
	left: 50%;
	transform: translateX(-50%);
}

main .article h3 {
	font-size: 38px;
	font-family: 'Zen Kaku Gothic Antique', sans-serif;
	font-weight: 500;
	line-height: 1.0;
	color: #42210b;
	border: none;
}

a {
	text-decoration: none;
}

html .body .wp-block-group {
	margin-bottom: 0;
}

div.entry-content {
	max-width: 1028px;
	margin: 0 auto;
}

a.site-name-text-link {
	padding: 0;
}

@media screen and (max-width: 767px) {
	main .article h2 {
		font-size: clamp(32px, calc(53 / 767 * 100vw), 53px);
		margin: 0 0 40px 0;
		padding: 0 0 40px 0;
	}

	main .article h2 span {
		font-size: clamp(27px, calc(48 / 767 * 100vw), 48px);
	}

	main .article h2:after {
		content: "";
		display: block;
		width: 70px;
		height: 15px;
		background-image: url(assets/img/threemaru.png);
		background-repeat: no-repeat;
		background-size: contain;
		position: relative;
		top: 35px;
		left: 50%;
		transform: translateX(-50%);
	}

	main .article h3 {
		font-size: clamp(22px, calc(38 / 767 * 100vw), 38px);
	}
}

/* リンクボタン */
button {
	border: none;
	border-radius: 40px;
}

button a {
	display: block;
	font-size: 21px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	line-height: 1.0;
	color: #ffffff;
	border: 2px solid #67529e;
	background-color: #67529e;
	border-radius: 40px;
	padding: 12.5px 25px;
}

button a:focus,
button a:hover {
	color: #67529e;
	background-color: #ffffff;
}

button a:before {
	content: "\f101";
	font-size: 21px;
	font-family: "FontAwesome";
	padding-right: 5px;
}

button a:after {
	content: "\f08e";
	font-size: 21px;
	font-family: "FontAwesome";
	padding-left: 15px;
}

@media screen and (max-width: 767px) {
button a {
	font-size: clamp(16px, calc(21 / 767 * 100vw), 21px);
	padding: 12.5px 0;
}

button a:before {
	font-size: clamp(16px, calc(21 / 767 * 100vw), 21px);
	padding-right: 5px;
}

button a:after {
	font-size: clamp(16px, calc(21 / 767 * 100vw), 21px);
	padding-left: 10px;
}
}

/* コンテンツ */
.content {
	margin-top: 0;
}

.date-tags {
	margin-bottom: 0;
}

/* ヘッダー */
.header-container {
	position: sticky;
	top: 0;
	z-index: 999;
}

.header-container-in {
	position: relative;
}

.header-container::before {
	content: "";
	display: block;
	height: 10px;
	background-image: linear-gradient(-45deg, #af9ce4, #af9ce4 25%, #9b83dd 25%, #9b83dd 50%, #af9ce4 50%, #af9ce4 75%, #9b83dd 75%, #9b83dd);
	background-repeat: repeat;
	background-size: 20px 20px;
}

#header-in {
	position: relative;
	max-width: 1028px;
}

@media screen and (max-width: 1199px) {
	.header-container {
		border-bottom: 1px solid #cbcbcb;
	}

	#header-in {
		padding-left: clamp(34px, calc(125 / 1199 * 100vw), 80px);
		padding-right: 20px;
	}
}

/* ロゴ */
.logo-header {
	text-align: left;
}

.logo-image {
	padding: 24px 0 1px 0;
}

.logo-header img {
	margin-bottom: 13px;
}

@media screen and (max-width: 768px) {
	.logo-image {
		padding-top: 16px;
	}
}

@media screen and (max-width: 480px) {
	.logo-header img {
		width: clamp(200px, calc(302 / 480 * 100vw), 302px);
	}
}

/* ロゴ横メニュー */
.header-side-menu {
	width: 400px;
	position: absolute;
	right: calc((50vw - 514px) + 25px);
	top: 15px;
	padding: 1rem 1rem 1rem 0;
}

.header-side-menu ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 16px;
	padding-left:  0;
}

.header-side-menu ul li {
	list-style-type: none;
	position: relative;
/*	line-height: 1.6;*/
}

.header-side-menu ul li:before {
	content: "\f111";
	font-size: 10px;
	font-family: "fontawesome";
	color: #d6ed21;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.header-side-menu ul li a {
	color: #1a1a1a;
	padding-left: 15px;
}

@media screen and (max-width: 1199px) {
	.header-side-menu {
/*		display: none;*/
		width: 100%;
		height: auto;
		text-align: left;
		padding-left: 20px;
		position: relative;
		top: 0;
		right: 0;
/*		left: 50%;
		transform: translateX(-50%);*/
		order: 2;
	}

	.header-side-menu > ul li {
		width: 100%;
		height: 32px;
		line-height: 1.8;
	}

	.header-side-menu > ul li a {
		font-size: 16px;
		padding-bottom: 0;
	}

	.header-side-menu > ul li a,
	.navi-in > ul li a {
		color: inherit;
	}

	.header-side-menu ul li:before {
    	color: #ffffff;
	}

	.header-side-menu > ul li a:hover {
    	opacity: initial;
	}
}

/* パンくずリスト */
.fa-folder,
.fa-file-o {
	display: none;
}

#breadcrumb {
	width: 100vw;
	background-color: #fcfaf0;
	margin: 0;
	padding-left: calc(100px + 350 * (100vw - 1200px) / 720);
	padding-top: 2px;
	padding-bottom: 3px;
}

.breadcrumb-home,
.breadcrumb-item {
	font-size: 14px;
	font-family: "メイリオ", sans-serif;
	font-weight: 400;
	color: #534741;
}

.breadcrumb .sp {
	margin: 0 3px;
}

.fa-home {
	font-size: 14px;
}

@media screen and (max-width: 1199px) {
	#breadcrumb {
		padding-left: calc(20px + 80 * (100vw - 320px) / 879);
	}
}

/* タブレットサイズ以下のメニュー表示ボタン */
#menu_btn {
	display: none;
}

.btn-trigger {
	width: 50px;
	height: 62px;
	cursor: pointer;
	position: absolute;
	top: 25px;
	right: 78px;
}

.btn-trigger span {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 7px;
}

.btn-trigger p {
	font-size: 17px;
	font-weight: bold;
	color: #333333;
	line-height: 1.4;
	position: absolute;
	top: 38px;
	left: 0;
}

.btn-trigger, .btn-trigger span {
	display: inline-block;
	transition: all .5s;
	box-sizing: border-box;
}

.btn-trigger span:nth-of-type(1) {
	top: 0;
	background-color: #9b83dd;
}

.btn-trigger span:nth-of-type(2) {
	top: 15px;
	background-color: #86b6e0;
}

.btn-trigger span:nth-of-type(3) {
	top: 30px;
	background-color: #9b83dd;
}

#menu_btn.active span:nth-of-type(1) {
	-webkit-transform: translateX(-26px) translateY(19px) rotate(-45deg);
	transform: translateX(-26px) translateY(19px) rotate(-45deg);
}

#menu_btn.active span:nth-of-type(2) {
	opacity: 0;
}

#menu_btn.active span:nth-of-type(3) {
	-webkit-transform: translateX(-26px) translateY(-10px) rotate(45deg);
	transform: translateX(-26px) translateY(-10px) rotate(45deg);
}

@media screen and (max-width: 1199px) {
	#menu_btn {
		display: block;
	}

	.btn-trigger {
		top: clamp(17px, calc(25 / 1199 * 100vw), 25px);
	}
}

@media screen and (max-width: 480px) {
	.btn-trigger {
		top: clamp(7px, calc(25 / 1240 * 100vw), 25px);
		right: clamp(20px, calc(78 / 960 * 100vw), 78px);
	}
}

/* メニュー */
#navi {
/*    scrollbar-width: none; /*Firefox対応のスクロールバー非表示コード*/  
/*    -ms-overflow-style: none;/*Internet Explore対応のスクロールバー非表示コード*/   
}

#navi::-webkit-scrollbar {  
/*  display: none; /*Google Chrome、Safari、Microsoft Edge対応のスクロールバー非表示コード*/
}

#navi .navi-in {
	width: auto;
	border-top: 1px solid #cbcbcb;
	border-bottom: 1px solid #cbcbcb;
	margin-left: calc(100% - 100vw);
	margin-right: calc(100% - 100vw);
	padding-left: calc(100vw - 100%);
	padding-right: calc(100vw - 100%);
}

#navi .navi-in > ul > li > a {
	height: 100%;
	line-height: 16px;
	padding: 0;
}

#navi .navi-in > ul > li.menu-item-has-children > a {
	padding-right: 10px;
}

#navi .navi-in > ul > li > a > .caption-wrap {
	height: 100%;
}

#navi .navi-in > ul > li > a > .caption-wrap > .item-label {
	font-size: 21px;
	font-weight: 500;
	border-left: 1px solid #cbcbcb;
	padding: 4px 23px;
	position: relative;
/*	top: 50%;
	transform: translateY(-50%);*/
}

#navi .navi-in > ul > li:last-child > a > .caption-wrap > .item-label {
	border-right: 1px solid #cbcbcb;
}

#navi .navi-in .has-icon {
	color: #808080;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

#menu-main-menu > .menu-item:hover:after {
	padding-top: 7px;
}

@media (min-width: 1200px) {
	#menu-main-menu > .menu-item:after {
		content: '';
		width: 50px;
		background-color: #9b83dd;
		padding-top: 0;
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		transition: padding-top 0.5s;
	}
}

@media screen and (max-width: 1199px) {
	/* #menu_btn 押下時、bodyに追加 */
	.MenuOpen {
	    overflow: hidden;
	}

	.MenuOpen .menuWrap-bg {
		position:fixed;
		top:0;
		left:0;
		width:100%;
		height:100%;/*for old Safari*/
		height:100vh;
		background: rgba(64, 44, 22, 0.9);
		z-index: 990;
	}

	/*-- #navi --*/
	#navi {
		color: #ffffff;
		display: none;
		flex-direction: column;
		padding: 48px min(100px, calc(100 / 768 * 100vw)) 80px;
		width: fit-content;
		height: auto;
		max-height: calc(var(--windowHeight) - var(--headerHeight));/*「画面の高さ」から「headerの高さ」を差引いている */
		overflow: auto;
		position: absolute;
		left: 50%;
		top: var(--headerHeight);/*「--headerHeight」の値はjsにて取得（headerの高さ取得）*/
		transform: translateX(-50%);
		animation: showMenu 1s ease;
		background-color: transparent;
	}

	@keyframes showMenu {
		0% {opacity:0;}
		100% {opacity:1;}
	}

	#navi .navi-in {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		margin-bottom: 15px;
	}

	#navi .navi-in a:hover {
		background-color: transparent;
		color: #ffffff;
	}

	.header-side-menu,
	#navi .navi-in {
		width: 280px;
		padding-right: 0;
	}

	.header-side-menu > ul,
	#navi .navi-in > ul {
		flex-direction: column;
		justify-content: inherit;
		padding-right: 0;
	}

	#navi .navi-in {
		order: 1;
		border: none;
	}

	#navi .navi-in ul {
		overflow: auto;
		text-align: left;
	}

	#navi .navi-in > ul > li {
		width: 100%;
		align-self: center;
		height: auto;
		border-bottom: 1px solid #ffffff;
		padding: 0;
	}

	#navi .navi-in > ul {
		height: auto;
		align-items: inherit;
		padding-left: 0;
	}

	#navi .navi-in > ul > li > a {
		height: 60px;
		justify-content: inherit;
		align-items: center;
		padding-left: 20px;
		padding-bottom: 0;
		position: relative;
	}

	#navi .navi-in > ul > li > a::before {
		content: "";
		display: block;
		width: 5px;
		padding-top: 15px;
		background-color: #8570ed;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	.fa-angle-down {
		visibility: hidden;
	}

	#navi .navi-in > ul > li > a > .caption-wrap > .item-label {
		font-size: 20px;
		border-left: none;
		padding: 2px 0 2px 20px;
		line-height: 20px;
	}

	#navi .navi-in > ul > li:last-child > a > .caption-wrap > .item-label {
		border-right: none;
	}
}

@media screen and (max-width: 1023px) {
	#navi .navi-in > .menu-header {
		display: block;
	}
}

@media screen and (max-width: 834px) {
	#navi .navi-in > .menu-header {
		display: block;
	}
}

/* サブメニュー有りマーカー強制変更 */
.fa-angle-down:before {
	content: "\f103";
	font-size: 16px;
}

/* サブメニュー */
#navi .navi-in > ul li .sub-menu {
	display: none;
	flex-wrap: wrap;
	justify-content: flex-start;
	flex-direction: row;
	width: 100vw;
	background-color: #fcfaf0;
	padding: 0 calc((100vw - 1028px) / 2);
	position: fixed;
	left: 0;
	top: 173px;
}

#navi .navi-in > ul li .sub-menu li {
	height: 47px;
	line-height: 1.0;
	padding: 20px 0 10px 0;
}

#navi .navi-in > ul li .sub-menu li:nth-of-type(n+7) {
	padding: 10px 0 20px 0;
}

#navi .navi-in > ul li .sub-menu .item-label:before {
	content: "\f105";
	font-family: "FontAwesome";
	font-weight: 700;
	color: #8570ed;
	padding-right: 5px;
}

@media screen and (max-width: 1199px) {
	#navi .navi-in > ul li .sub-menu {
		display: block;
		position: relative;
		left: 0;
		top: 0;
	}

	.MenuOpen .sub-menu {
		display: block;
/*		width: 100%;*/
		height: auto;
		position: static;
		transform: inherit;
	}

	#navi .navi-in > ul li .sub-menu {
		width: 280px;
		height: auto;
		flex-direction: column;
		align-items: inherit;
		gap: 0;
		padding: 12.5px 0;
		border-top: 1px dotted;
		background-color: transparent;
		overflow: hidden;
	}

	#navi .navi-in > ul li .sub-menu li:nth-of-type(n+7),
	#navi .navi-in > ul li .sub-menu li {
		padding-left: 2.83333em;
		padding-top: 12.5px;
		padding-bottom: 12.5px;
	}

	#navi .navi-in > ul li .sub-menu li a {
		height: 43px;
		font-size: 18px;
		padding-left: 2px;
	}

	#navi .navi-in > ul li .sub-menu li a:hover {
		text-decoration: none;
	}
}

/* トップへ戻るボタン */
.go-to-top {
	right: 25px;
	bottom: 48px;
	z-index: 10;
}

.go-to-top .go-to-top-button {
	font-size: 34px;
	color: #ffffff;
	background-color: #ac9eef;
	border-radius: 100%;
	padding-bottom: 5px;
}

@media screen and (max-width: 768px) {
	.go-to-top {
		display: none !important;
	}
}

/* フッター */
#footer {
	background-color: #ffffff;
	border-top: 1px solid #cbcbcb;
	padding: 0;
}

.footer-bottom {
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.navi-footer {
	padding: 16.5px 0;
}

.navi-footer-in > .menu-footer li {
	line-height: 1.5;
	border: none;
}

.navi-footer-in > .menu-footer li:last-child {
	border-right: none;
	position: relative;
}

.navi-footer-in > .menu-footer li:last-child:before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 20px;
	background-color: #1a1a1a;
	position: absolute;
	top: 5px;
	left: 0;
}

.navi-footer-in a {
	font-size: 18px;
}

.footer-bottom.fnm-text-width .menu-footer li a {
	padding: 0 18px;
}

.copyright {
	font-size: 12px;
	font-family: 'メイリオ', sans-serif;
	line-height: 1.3;
	background-color: #f7f8f9;
	margin-top: 0;
	padding: 22px 0 20px 0;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

@media screen and (max-width: 768px) {
	.navi-footer {
		padding: 13px 0 15px 0;
	}

	.navi-footer-in > .menu-footer {
		max-width: 480px;
		margin: 0 auto;
	}
}

@media screen and (max-width: 491px) {
	.navi-footer-in > .menu-footer li:last-child:before {
		height: 45px;
	}
}

/* 印刷設定 */
@media print {
	body {
		width: 100% !important;
	}

	body #container #navi {
		display: block !important;
	}

	body #container #menu_btn {
		display: none !important;
	}

	body #container .header-container {
		position: relative;
	}

	body #container .header-container,
	body #container .footer {
		display: block !important;
	}

	body #container main .article h2 {
		font-size: 53px;
		color: #42210b;
		margin: 0 0 40px 0;
		padding: 0 0 40px 0;
	}

	body #container main .article h2 span {
		font-size: 48px;
	}

	body #container main .article h3 {
		font-size: 38px;
		color: #42210b;
	}

	body #container .header-side-menu {
		right: 30px;
	}

	body #container .copyright {
		width: 1500px;
		margin-left: calc(50% - 750px);
	}
}
