/*
Theme Name: DG3.3
Author: WATANABE Takeshi
Version: 3.2

Breakpoint
@media screen and (max-width:959px) {_md 960px未満 tablet}
@media screen and (max-width:559px) {_sm 560px未満 smartphone}
*/

:root {
	--main:		#f2879b; /* 25% */
	--sub:		#ffe8e2; /* 明るめ */
	--blue:   #3375cc;/* テキストリンク */
	--red:    #ff6666;/* バッジ */
	--orange: #ff8a00;/* バッジ・ボタン */
	--base:		#fefefe; /* 70% */
	--gray:		#f7f7f7;
	--text:		#333333;
	--subtext:#666666;/* 補足テキスト・ターシャリボタン */
	--link:		#6699c4;
	--border:	#dcd9d9;
	--radius:	16px;
}
.color_main		{color: var(--main);}
.color_sub		{color: var(--sub);}
.color_gray		{color: var(--gray);}
.color_text		{color: var(--text);}
.color_link		{color: var(--link);}
.bg_main		{background-color: var(--main);}
.bg_sub			{background-color: var(--sub);}
.bg_gray		{background-color: var(--gray);}
.radius			{border-radius: var(--radius);}


/* Class Override
-------------------------------------------------------------- */
a {
	color: var(--link);/* セレクタを .entry-content a などにすると記事内にボタンなどのa要素があったときにコントロールしにくい */
}
table tr{
	font-size: 0.9em;
	border-bottom: solid 1px var(--border);
}
table tr:first-child{
	border-top: solid 1px var(--border);
}
table th{
	background-color: var(--sub); /* must for sticky */
	background-color: var(--gray); /* must for sticky */
}
table tbody th{
	min-width: 100px;
}
blockquote {
	background-color: var(--gray);
}
.btn{
	border-radius: 100px;
}
/* .totop {
    bottom: 50px;
} */
.sns-icons{
	gap: 8px;
	justify-content: flex-start;
}

/* チャットボット
-------------------------------------------------------------- */
#chatplusview img:not([alt]),
#chatplusview img[alt=""] {
    outline: 0px solid gold;
}
.page-id-6538 #chatplusview,
.page-id-6 #chatplusview{
	display: none;
}

/* 日付部分
-------------------------------------------------------------- */
.postdate{
	color:#999;
	font-size: 0.85em;
}
.postdate:before{/* 日付部分 */
	content: "\f017";/* 時計 */
	content: "\f040";/* 鉛筆 背景なし */
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	display: inline-block;
	padding-right: 5px;
}

/* パンくずリスト
-------------------------------------------------------------- */
.breadcrumbs{
	padding: 10px 0;
	font-size: 0.75em;
	background-color: var(--sub);
}
.breadcrumbs span[typeof="ListItem"]{
	margin: 0 8px;
}
.breadcrumbs span[typeof="ListItem"]:first-of-type{
	margin-left: 0;
}
.breadcrumbs a{
	color: var(--text);
	opacity: .5;
}
.breadcrumbs a:hover{
	text-decoration: underline;
}




/* Container
-------------------------------------------------------------- */
html {
	overflow-y: scroll;
	scroll-behavior: smooth;
}
body {
	background-color: var(--base);
	color: var(--text);
	font-size: 17px;
	font-family: Avenir-Light,"メイリオ",Meiryo,Arial,MS UI Gothic,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}
/* body.category {
	background-color: #fdfdfd;
} */
#page{
	width: 100%;
}
#content{
	padding-bottom: 100px;
}
.home #content{
	padding-bottom: 0px;
}
.container{
	width: 940px;
	margin-left: auto;
	margin-right: auto;
}
.container_mid{
	width: 640px;
	margin-left: auto;
	margin-right: auto;
}
.container_full{
	width: calc(100% - 64px);
	margin-left: auto;
	margin-right: auto;
}
#sidebar{
	width: 260px;
	border: solid 1px green;
}
@media screen and (max-width:959px) {
	.container,
	.container_mid{
		width: calc(100% - 64px);
		max-width: 640px;
	}
	main #sidebar{
		max-width: initial;
		padding-left: 0;
	}
	#sidebar{
		width: 100%;
		margin-top: 80px;
	}
}


/* ヘッダ
-------------------------------------------------------------- */
header{
	width: 100%;
	background-color: #fff;
	border-top:solid 6px var(--main);
	z-index: 9;
}
header a{
	color: rgba(0,0,0,.8); /* ヘッダメニューの色 */
}
header #header-wrap{
	display: flex;
	align-items: center;
	justify-content: space-between;
    /* margin: 16px auto; */
	min-height: 100px;
}
header #header-logo{
	flex-basis: 290px;
	flex: 0 1 auto;
}
header #header-logo img{
	display: block;
	max-width: 240px;
	max-height: 60px;
}

/*　ナビゲーション（ハンバーガメニュー）
-------------------------------------------------------------- */
#site-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9rem;
	font-size: 0.85rem;
}
#site-nav .menu-trigger {
	display: none;
	box-shadow: none;
	padding: 0;
	line-height: 1;
}
#site-nav .menu-items{
	display: flex;
	flex-direction: column-reverse;
}
#site-nav .btn{
	padding: 8px 24px;
}
.home #header.unscrolled .menu-items > ul > li > a{ /* トップページの未スクロールの親メニュー */
	/* color: rgba(255,255,255,.8); */
}
#site-nav ul li{
	display: inline-block;
}
#site-nav ul li:not(:first-child)::before{ /*区切り線*/
	display: inline-block;
	content: '｜';
	color: var(--border);
	margin-left: 5px;
	margin-right: 5px;
	margin-left: 1px;
	margin-right: 1px;
}
#site-nav ul li a{
	display: inline-block;
	position: relative;
	font-weight: bold;
}
#site-nav ul li.menu-item a:hover,
#site-nav ul li.cat-item a:hover{
	opacity: .3;
	text-decoration: none;
}
#site-nav ul li.current-menu-item a::after,
#site-nav ul li.current-cat a::after{ /* 表示中のメニュー項目 */
	content: '▲';
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translateX(-50%) scale(0.8,0.5);
	color: var(--main);
}
#site-nav ul li.current-menu-item a:hover,
#site-nav ul li.current-cat a:hover{
	cursor: default;
	opacity: 1;
}

/* ドロップダウンメニュー */
#site-nav .menu-items > ul > li.menu-item-has-children {
	position: relative;
}
#site-nav .menu-items > ul > li.menu-item-has-children > a{ /*子メニューがある場合はカーソルを変化させない*/
	cursor: default;
}
#site-nav li .sub-menu{
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 99;
	transition: all .1s ease-in;
	background-color: rgba(255,255,255,.95);
	background-color: #fafafa;
	box-shadow: 0 3px 20px rgba(0,0,0,0.2);
	border-radius: 2px;
	overflow: hidden;
	opacity: 0;
	max-height: 0;
	padding: 0 20px;
}
#site-nav li:hover .sub-menu{
	opacity: 1;
	max-height: 9999px;
	padding: 20px 20px;
}
#site-nav li .sub-menu li{
	display: block;
	margin: 10px 0;
	white-space: nowrap;
	text-align: left;
}
#site-nav li .sub-menu li a{
	padding: 0;
}
/* ヘッダメニューの検索アイコン */
#site-nav .header_searchform_icon{
	color: rgba(0,0,0,.8);
}
.home #header.unscrolled #site-nav .header_searchform_icon{
	/* color: rgba(255,255,255,.8); */
}

@media screen and (max-width:959px) {
	#site-nav {
		/* z-index: 8; */
	}
	/* モバイルではボタンを拡大 */
	#site-nav .btn{
		display: block;
		padding: 16px 24px;
		width: 414px; /* iPhone8Plus */
		max-width: 100%;
		margin-top: 24px;
		text-align: center;
	}
	/* ハンバーガアイコン */
	#site-nav .menu-trigger,
	#site-nav .menu-trigger span {
		transition: .5s;
		box-sizing: border-box;
		z-index: 9;
	}
	#site-nav .menu-trigger {
		display: block;
		background: none;
		border: none;
		position: relative;
		width: 18px;
		height: 16px;
		outline: 0;
	}
	#site-nav .menu-trigger span { /* バー */
		display: inline-block;
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		border-radius: 4px;
		background-color: var(--main);
	}
	.home #header.unscrolled #site-nav .menu-trigger span { /* バー */
		/* background-color: #fff; */
	}
	#site-nav .menu-trigger span:nth-of-type(1) {top: 0;}
	#site-nav .menu-trigger span:nth-of-type(2) {top: calc(16px / 2 - 1px);}
	#site-nav .menu-trigger span:nth-of-type(3) {top: calc(16px - 2px);}
	#site-nav .menu-trigger.active span:nth-of-type(1) {transform: translateY(7px) rotate(-45deg);}
	#site-nav .menu-trigger.active span:nth-of-type(2) {opacity: 0;}
	#site-nav .menu-trigger.active span:nth-of-type(3) {transform: translateY(-7px) rotate(45deg);}

	#site-nav .menu-trigger::after{ /* アイコンテキスト */
		content: 'MENU';
		display: block;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width: auto;
		margin-top: 16px;
		transition: .5s;
		font-size: 11px;
		font-weight: bold;
		color: var(--main);
	}
	#site-nav .menu-trigger.active::after{ /* アイコンテキスト */
		content: 'CLOSE';
		animation: fadeIn 2s ease 0s 1 normal;
		-webkit-animation: fadeIn 2s ease 0s 1 normal;
	}
	#site-nav .menu-items {/* メニュー・クローズ時 */
		position: absolute;
		top: 0;
		left: 0;
		display: block; /* display:flex、flex-direction:column-reverseを解除 */
		width: 100%;
		height: 0;
		overflow: auto;
		transition: .5s;
		opacity: 0;
		box-shadow: 0 12px 10px -6px rgba(0,0,0,.3);/* 浮いた感じの影 */
		background-color: rgba(255,255,255,.95);
	}
	#site-nav .menu-trigger.active + .menu-items	{/* メニュー・アクティブ時 */
		height: 100vh;
		opacity: 1;
		transition: .5s;
	}
	#site-nav .menu-items > div,
	#site-nav .menu-items > ul{
		width: 90%;
		max-width: 640px;
		margin: 0 auto;
		padding-bottom: 20px;
	}
	#site-nav .menu-items > ul a{
		font-size: 1.6rem;
	}
	.home #header.unscrolled .menu-items > ul > li > a{ /* トップページの未スクロールの親メニュー */
		/* color: initial; */
	}
	#site-nav .menu-items > ul::before{
		content: 'MENU';
		display: block;
		margin: 1rem 0;
		color: var(--main);
		font-weight: bold;
	}
	#site-nav .menu-items ul li{
		display: block;
	}
	#site-nav ul li:not(:first-child)::before{ /*区切り線*/
		display: none;
	}
	#site-nav ul li.current-menu-item a::after, /* 表示中のメニュー項目 */
	#site-nav ul li.current-cat a::after{
		top: 0;
		left: 0;
		transform: translateX(-100%) rotate(90deg) scale(0.8,0.5);
	}
	#site-nav li .sub-menu{ /* ドロップダウンメニュー */
		position: relative;
		top: 0;
		left: 0px;
		opacity: 1;
		max-height: initial;
		background: none;
		box-shadow: none;
		padding: 0px;
	}
	#site-nav li .sub-menu li{
		display: inline-block;
		width: auto;
		margin: 0 1rem 0 0;
	}
	#site-nav li .sub-menu a{
		font-size: 1.1rem;
	}
}

/* 旧ナビゲーション
-------------------------------------------------------------- */
#site-navigation {
	/*background-color: #ffffff;*/
}
#site-navigation ul{
	display: flex; /* IE10以上 */
	flex-wrap: nowrap; /* 子要素を折り返えさない */
	justify-content: flex-end; /* 右揃え */
	justify-content: center; /* 中央揃え */
}
#site-navigation ul li:not(:first-child)::before{ /*区切り線*/
	display: inline-block;
	content: '｜';
	color: var(--border);
	margin-left: 5px;
	margin-right: 5px;
}
#site-navigation ul li{
	flex: 0 1 auto;
	line-height: 1;
}
#site-navigation ul li a{
	display: inline-block;
	font-size: 0.85em;
	font-weight: bold;
	color: #474747;
}
#site-navigation ul li a:hover,
#site-navigation ul li.current-menu-item a{
	background-color:rgba(255,255,255,.3);
}
#site-navigation ul li.current-menu-item a:hover{
	cursor:default;
}
#site-navigation input,
#site-navigation label{
	display: none;
}
@media screen and (max-width:959px) {
	#site-navigation {
		padding: 0;
		border-top: none;
	}
	#site-navigation ul li:not(:first-child)::before{ /*区切り線*/
		display: none;
	}
	/* ハンバーガアイコン */
	#site-navigation .menu-trigger,
	#site-navigation .menu-trigger span {
		transition: .5s;
		box-sizing: border-box;
	}
	#site-navigation .menu-trigger {
		display: block;
		position: relative;
		width: 18px;
		height: 16px;
		margin: 0 auto 0;
		margin: 0 0 0 auto; /* 右寄せ */
	}
	#site-navigation .menu-trigger span { /* バー */
		display: inline-block;
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		background-color: var(--main);
		border-radius: 4px;
	}
	.scrolled #site-navigation .menu-trigger span { /* バー */
		/*background-color: #676767;*/
		/*background-color: #fff;*/
	}
	#site-navigation .menu-trigger span:nth-of-type(1) {top: 0;}
	#site-navigation .menu-trigger span:nth-of-type(2) {top: calc(16px / 2 - 1px);}
	#site-navigation .menu-trigger span:nth-of-type(3) {top: calc(16px - 2px);}
	#site-navigation .menu-trigger.active span:nth-of-type(1) {transform: translateY(7px) rotate(-45deg);}
	#site-navigation .menu-trigger.active span:nth-of-type(2) {opacity: 0;}
	#site-navigation .menu-trigger.active span:nth-of-type(3) {transform: translateY(-7px) rotate(45deg);}

	#site-navigation .menu-items > ul{/* メニュー・クローズ時 */
		position: absolute;
		top: 80px; /* = header height */
		right: 0;
		display: block;
		width: 100%;
	    height: 0px;
		padding: 0;
		border: none;
		overflow: hidden;
	    transition: .5s;
		opacity: 0;
	}
	#site-navigation .menu-trigger.active + .menu-items > ul {/* メニュー・アクティブ時 */
		height: auto;
		height: calc(100vh - 80px - 30px - 40px); /* = header height , padding */
	    padding: 30px 0 0;
		opacity: 1;
	    background-color:rgba(0,0,0,.5);
	    background-color:rgba(255,255,255,.95);
	    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
	    transition: .5s;
	    z-index: 99;
	}
	.scrolled #site-navigation .menu-trigger.active + .menu-items > ul {/* メニュー・アクティブ時・スクロール時 */
	    /*background-color:rgba(255,255,255,.9);*/
	}
	#site-navigation .menu-items > ul li{
		display: block;
		padding: 1em 0;
		text-align: center;
		border: none;
	}
}


/* フッタ
-------------------------------------------------------------- */
footer {
	background-color: var(--gray);
	background-color: var(--sub);
	font-size: 0.80em;
}
footer .container{
	padding: 60px 0;
}
footer h2{
	padding-bottom: 8px;
	font-weight: bold;
	font-size: 1rem;
	border-bottom: solid 1px var(--border);
	border-bottom: solid 1px var(--main);
}
footer h3{
	margin-top: 24px;
	margin-bottom: 8px;
	font-size: .9rem;
	font-weight: bold;
}
footer nav{
	margin: 0;
}
footer nav a{
	margin: 0;
	color: var(--text);
}
footer nav ul li a:hover{
	opacity: 0.5;
}
footer nav ul li a:before{
	display: none;
	content: "\f105";/* angle-right */
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-variant: normal;
	font-weight: bold;
	text-rendering: auto;
	padding-right: 6px;
}
footer #footer-logo{
	margin: 0 0 1em;
}

footer #copyright{
	color: #fff;
	background-color: var(--main);
	padding: 20px;
	margin-top: 1em;
	font-size: 0.8em;
	font-weight: bold;
	text-align: center;
}

@media screen and (max-width:768px) {
	footer {
		font-size: 1em;
	}
	footer #footer-logo{
		margin: 3em 0 0;
	}
	footer #copyright{
		margin-top: 2em;
		padding: 20px 0 80px;
		text-align: center;
	}

}

#sidebar{
	position: relative;
	font-size: 0.9em;
	font-size: 0.85em;
	/*background-color:#f1f1f1;*/
}
#sidebar .sidenav{
	margin: 0 0 20px;
	/*box-shadow: 0 3px 10px rgba(0,0,0,.05);*/
	/*border: solid 1px #e3e3e3;*/
}
#sidebar h2{
	margin-bottom: 10px;
	padding: 8px 8px;
	background-color: #f1f1f1;
	color: #333;
	font-size: 0.9em;
	/*text-align: center;*/
	/*border-top: solid 1px #333;*/
	/*border-bottom: solid 1px #333;*/
}
#sidebar h2:not(:first-child) {
	margin-top: 4em;
}
#sidebar h2:before {
	content: "\f0d7";
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-variant: normal;
	font-weight: bold;
	text-rendering: auto;
	padding-right: 8px;
}
#sidebar ul.tn-list{
	font-weight: bold;
	font-size: 0.95rem;
	border-top: solid 1px #e3e3e3;
}
#sidebar ul.tn-list li{
	border-bottom: solid 1px #e3e3e3;
}
#sidebar ul.tn-list li{
	/* padding-top: 0px; */
}
#sidebar ul.tn-list li a{
	display: block;
	line-height: 1.4;
	padding: 4px 0;
}
#sidebar ul.tn-list li a{
	display: flex;
	flex-wrap: nowrap; /* 子要素を折り返えさない（デフォルト） */
	align-items: center; /* 「中央揃え」です */
}
#sidebar ul.tn-list li a:hover{
	opacity: 0.5;
}
#sidebar ul.tn-list li .img{
	flex-basis: 40px;
	flex-shrink: 0;
	margin-right: 12px;
}
#sidebar ul.tn-list li .img img{
	display: block;
	width: 40px;
	border-radius: 4px;
}

dl.side_list{
	padding: 20px;
	background-color: var(--sub);
	font-size: 0.9em;
	border-radius: 10px;
	margin-top: 0;
	/* border: solid 2px var(--main); */
}
dl.side_list dt{
	font-size: 0.9em;
}
dl.side_list dd{
	font-weight: bold;
}
dl.side_list dt:not(:first-child){
	margin-top: 1em;
}
dl.side_list dd .toc_widget_list{
 	/* overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; */
			/* border: solid 1px green; */

}

#footer-contact{
	text-align:center;
	background:url("images/footer-contact.jpg") no-repeat center bottom;
	background-size:cover;
}
#footer-contact .blackscreen{
	padding: 6em 0;
	background-color:rgba(0,0,0,0.2);
	background-color:#ebe9d6;/*Accent*/
}
#footer-contact h2.heading-center{
	color: #474747;/*Text*/
}
#footer-contact .number{
	font-size: 1.2em;
	margin-bottom: 1.2em;
}
#footer-contact .number div{
	display: inline-block;
	padding: 0 0.4em;
}

#footer-contact .number .tel:after{
/*	content: "｜";
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	display: inline-block;
	padding: 0 6px;*/
}


/* main（メインコンテンツ）
-------------------------------------------------------------- */
/* Google Jump Rate = 20,16,14,12,11,10 */
.h1,main h1 {font-size: 2.0rem;line-height: 1.6;}
.h2,main h2 {font-size: 1.6rem;line-height: 1.6;}
.h3,main h3 {font-size: 1.4rem;line-height: 1.6;}
.h4,main h4 {font-size: 1.2rem;line-height: 1.6;}
.h5,main h5 {font-size: 1.1rem;line-height: 1.6;}

@media screen and (max-width:559px) {
	.h1,main h1 {font-size: 1.6rem;}
	.h2,main h2 {font-size: 1.4rem;}
	.h3,main h3 {font-size: 1.2rem;}
	.h4,main h4 {font-size: 1.1rem;}
	.h5,main h5 {font-size: 1.0rem;}
}
main h1,
main h2,
main h3,
main h4,
main h5 {
	margin-top: 3em;
	margin-bottom: 1em;
}
/* main h1 {
	font-size: 2.0rem;
}
main .entry-content h2 {
	font-size: 1.6rem;
	margin: 3.2em 0 .4em;
}
main .entry-content h3 {
	font-size: 1.4rem;
	margin: 2.8em 0 .4em;
}
main .entry-content h4 {
	font-size: 1.2rem;
	margin: 2.4em 0 .4em;
}
main .entry-content h5 {
	font-size: 1.1rem;
	margin: 2.2em 0 .4em;
} */
main p,
main ul,
main ol,
main dl,
main table,
main pre,
main blockquote,
main blockquote footer,
main figure,
/* main .btn,
表や段組みの中で使いにくいケースがあるが、メールフォームのボタンなどでその都度余白を設定するのが面倒なのでデフォルトで余白付きにした
→ と思ったが、やはり表やflexレイアウトの中で使いにくいのでやめた。classにマージン付けるべきではないことを再認識 */
main .youtube,
main .wp-video, /* 埋め込み動画 */
main .wpulike,
main #toc_container{
	margin-top: 2.0rem;
}
main .entry-content h2:first-child, /* 記事内の最初のh2 */
main .entry-content > p:first-child, /* 記事内の最初のp */
main h2 + *:not(:first-child),/* h直後の要素 */
main h3 + *:not(:first-child),
main h4 + *:not(:first-child),
main h5 + *:not(:first-child),
main p.toc_title,
main ul ul,
main ul ol,
main ul dl,
main dl ul,
main dl ol,
main dl dl,
main table *:first-child,
main blockquote *:first-child,
main details summary + *{
	margin-top: 0;
}
main .flex figure{
	margin-top: 0;
}
main p:empty{ /* 空のタグ */
	display: none;
}
main strong {
	background: linear-gradient(transparent 50%, #ffffb4 50%);
}
main ul li{
	list-style-type: disc;
}
main li{ /* ul&ol共通 main ul li で指定すると .archive_line li などのクラスに影響があるためこうしてる */
	margin-left: 1.4rem;
}
main dt{
	margin-top: 1.0rem;
	font-weight: bold;
}
main dl dt:first-child{
	margin-top: 0;
}
main table img,
main table p{
	margin: 0;
	box-shadow: none;
}
main details[open] {
	margin-bottom: 2rem;
}
main blockquote p:last-child{
	margin-bottom: 0;
}
main figure{
	display: inline-block;
}
main figure figcaption{
	margin-top: 16px;
	font-size: 0.9rem;
	text-align: center;
}
main small {
	font-size: 0.9rem;
}
main iframe{
	display: block;
	width: 100%;
}
main img{
	display: inline-block;/* blockにすると、改行時に自動挿入される<br>で余計な余白ができる */
	/* box-shadow: 0 15px 10px -10px rgba(0,0,0,0.3); */ /* 拡散量が10px以上だと低解像度モニタでぼかしが綺麗に表示されない */
}
main p img + br{ /* 画像の直後の改行 */
    content: "";
    display: block;
    height: 16px;
}
main p br + img{ /* 改行直後の画像 */
    margin-top: 16px;
}
main .twitter-tweet,
main .instagram-media{ /* SNS 埋め込みコード */
	margin-top: 2.0rem!important;
	margin-bottom: 0!important;
	min-width: initial;
}
main .instagram-media{ /* SNS 埋め込みコード */
	margin-top: 2.0rem!important;
	margin-bottom: 0!important;
	min-width: initial!important;
}


/* = アーカイブページ（カテゴリアーカイブ、日付アーカイブ、タグアーカイブ、シングルページの関連記事）
-------------------------------------------------------------- */
.cat-children-nav{
	margin-bottom: 40px;
}

.archive_grid{
	font-size: 0.9em;
}
.archive_grid article{
	/* padding: 20px; */
	position: relative;
	transition: .2s;
	/* overflow: hidden; リボンが途切れるため削除 */
	/* border: solid 1px #e3e3e3; */
	/* border-radius: var(--radius); */

	/* background: #ffffff; */
	/* box-shadow: 0 3px 5px rgba(0,0,0,.05); */
}

.archives-item{ /*商品カテゴリ*/
	border-bottom:solid 1px #e3e3e3;
	padding: 2em 0;
}



/* = シングルページ・固定ページ
-------------------------------------------------------------- */
.box_wrap{
	display: flex;
	justify-content: space-between;
	/* margin-bottom: 4em; */
}
.left_box,
.right_box{
	/* margin-bottom: 2em; */
	/* border: solid 1px blue; */
}
.left_box{
	width: 640px;
	/* border: solid 1px red; */
}
.left_box p:last-child{
	margin-bottom: 0; /* left_box内の最後のpは下余白なし */
}
.right_box{
	width: auto;
	width: 260px;
}
.right_box .sticky{
	top: 20px;
	/* padding: 20px; */
	/* text-align: right; */
	/* fix bottom */
	/* display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	top: 0px;
	height: calc(100vh - 20px);
	border: solid 1px blue; */
}
@media screen and (max-width:959px) {
	.box_wrap{
		display: block;
	}
	.left_box,
	.right_box{
		width: 100%;
	}
	.right_box{
		margin-top: 100px;
	}
	.right_box .sticky{
		padding: 1em 0;
		text-align: left;
	}
}

/* 見出し
-------------------------------------------------------------- */
 /* トップページのタイトル*/
.heading-center{ /* 日本語 */
	text-align: center;
	font-size: 1.8em;
	font-weight: bold;
	font-feature-settings : "palt";/*自動カーニング*/
	color: var(--main);
	/*color: #474747;*/
	/*border:solid 1px blue;*/
}
.heading-center:before{ /* 英字 */
	content: attr(title);
	display: block;
	display: none;
	margin-bottom: 5px;
	line-height: 1;
    font-feature-settings : "palt";/*自動カーニング*/
	font-size: 18px;
	font-family: "游明朝","Yu Mincho","游明朝体","YuMincho","ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","HiraMinProN-W3","HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
}

/* アーカイブページのタイトル */
.heading-archive{
	/* padding: 0 0 0.8em; */
	/* margin: 4em 0 1em; */
    /*border-bottom: solid 1px var(--main);*/
}
.heading-archive h1{
	text-align: center;
    font-feature-settings : "palt";/*自動カーニング*/
	font-size: 1.6em;
	font-weight: bold;
	margin-top: 0;
}
.archive-meta{ /*カテゴリの説明文*/
	padding: 10px 0;
	font-size: 0.9em;
	text-align: center;
}

/* タイトル下のアンダーライン */
.heading-center:after,
.heading-archive:after,
.heading-page:after{
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    margin: 1em auto 2em;
    background-color: var(--main);
    border-radius: 10px;
    opacity: 0.8;
}
.heading-center:after{
    margin: 0.5em auto 1em;
}

.heading1{
	position: relative;
	margin: 1.6em 0;
	padding-bottom: .4em;
	border-bottom: solid 3px var(--sub);
	line-height:1.4;
	font-weight: bold;
}
.heading1:before{
	position: absolute;
	bottom: -3px;
	width: 22%;
	content: " ";
	display: block;
	border-bottom: solid 3px var(--main);
}
.entry-content h2,
.heading2{
	margin: 4em 0 0.8em;
	padding: 0 0 0.4em;
	border-bottom: solid 3px var(--main);
	font-weight: bold;
	/* font-size: 1.4em; */
}
.entry-content h3,
.heading3{
	margin: 2em 0 0.4em;
	padding: 0 0 0 10px;
	border-left: solid 4px var(--main);
	font-weight: bold;
	/* font-size: 1.1em; */
}

.entry-content h4,
.heading4{
	font-size: 1.2em;
}
.entry-content .flex > div > h2,
.entry-content .flex > div > h3,
.entry-content h2:first-child /* 記事がh2で始まる場合 */
/* .entry-content h2 + h3 */{ /* h2直後のh3 */
	margin-top: 0;
}
.entry-content img {
    display: inline-block;
    box-shadow: none;
	border: solid 1px var(--border);
}


.post-footer{
	margin: 2em 0 0;
	padding: 1em 0;
	border-top: solid 1px #e3e3e3;
	border-bottom: solid 1px #e3e3e3;
	font-size: 0.9em;
	text-align: right;
	opacity: 0.7;
}
.post-date {
	/*position: absolute;*/
	/*right: 0;*/
	/*bottom: 0px;*/
	/*text-align: right;*/
	/*text-align: center;*/
	/*font-size: 0.8em;*/
	/*font-weight: bold;*/
	/*margin-top: 1em;*/
	margin-left: 2px;
	/*margin-bottom: 1em;*/
	/*border:solid 1px blue;*/
}


.single	.navigation{/* ナビゲーション 前の記事／次の記事 */
	margin: 10px 0;
}
.single	.navigation .previous,
.single	.navigation .next{
	display:block;
	width:50%;
}
.single	.navigation .previous a,
.single	.navigation .next a{
	display: block;
	padding: 10px;
	text-align: center;
	font-size: 0.9em;
	background-color: #fff;
	background-color:rgba(255,255,255,0.9);/* 白透過 */
}
.single	.navigation .previous a{
	margin-right:5px;
}
.single	.navigation .next a{
	margin-left:5px;
}
.single	.navigation .previous a:hover,
.single	.navigation .next a:hover{
	background-color: #222;
}

/* 関連記事 */
.similar{
	margin-top: 8em;
	padding: 8%;
	background-color:#f1f1f1;
	/*font-size: 0.9em;*/
	/*border:solid 10px #eeeeee;*/
}
.similar h2{
	font-size: 1.2em;
	/*text-align:center;*/
	font-weight: bold;
	margin-bottom: 1em;
	padding-bottom: 10px;
    border-bottom:solid 1px #474747;
}
/*.similar a{
	display: block;
}
.similar a:hover{
	text-decoration: underline;
}
.similar a img{
	display: block;
	box-sizing: border-box;
	border:solid 1px #474747;
}*/
@media screen and (max-width:768px) {
	.similar{
		/*padding: 2em 1em;*/
	}
}







.caution{
	margin: 4em 0 0;
	padding: 2em;
	border:solid 4px #f09999;
	background-color: #fffcfc;
	border-radius: 10px;
}
.caution h2{
	margin: 0 0 0.5em;
	padding: 0;
	font-size: 1.4em;
	font-weight: bold;
	color: #f09999;
	border: none;
	background:none;
}
.caution h2:before{
	content: "\f06a";
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	font-size: 1.2em;
	display: inline-block;
	padding-right: 5px;
}
.caution p:last-of-type,
.caution ul:last-of-type{
	margin-bottom: 0;
}



/* = トップページ
-------------------------------------------------------------- */
.home #aboutsite h1{
	text-align: center;
	margin-bottom: 0.5em;
	font-size: 1.6em;
}
.home #aboutsite h1 span{
	display: block;
}
.home #aboutsite p{
	/* font-weight: bold; */
}
@media screen and (max-width:768px) {
	.home #aboutsite h1{
		font-size: 1.2em;
	}
	.home #aboutsite p{
		font-weight: normal;
	}
}

.home #content section:not(:first-child){
	/* padding: 6em 0 0; */
	/*background-color: #f1f1f1;*/
}

.spec{
	text-align: center;
	margin-top: 10px;
}
.spec li{
	display: inline-block;
	background-color:var(--sub);
	padding: 4px 10px;
	margin: 10px 4px 0;
	font-size: 0.75em;
	font-weight: bold;
	border-radius: var(--radius);
}
.home #support h2{
	margin-bottom: 1.2em;
	/*color: #fff;*/
}
.home #support p{
	/*font-weight: bold;*/
	/*color: #fff;*/
}


/* = よくある質問
-------------------------------------------------------------- */
h2.answer{
	font-size: 1.4em;
	font-weight: bold;
	margin-bottom: 1em;
    background:none;
}

h2.answer:before{
	content: "A.";
	display: inline-block;
	font-family: "游明朝","Yu Mincho","游明朝体","YuMincho","ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","HiraMinProN-W3","HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
    font-size: 2em;
    line-height: 1;
    font-weight: bold;
    color: var(--main);
    padding-right: 0.4em;
}



/* = 印刷方法
-------------------------------------------------------------- */
.print-step h3{
	font-size: 1.4em;
	font-weight: bold;
}
.print-step > div h3:before{
	font-size: 2.0em;
	color: var(--main);
	padding-right: 10px;
}

.print-step > div:nth-child(1) h3:before{content: "01.";}
.print-step > div:nth-child(2) h3:before{content: "02.";}
.print-step > div:nth-child(3) h3:before{content: "03.";}
.print-step > div:nth-child(4) h3:before{content: "04.";}
.print-step > div:nth-child(5) h3:before{content: "05.";}
.print-step > div:nth-child(6) h3:before{content: "06.";}
.print-step > div:nth-child(7) h3:before{content: "07.";}
.print-step > div:nth-child(8) h3:before{content: "08.";}
.print-step > div:nth-child(9) h3:before{content: "09.";}


/* = 商品ページ（商品スペック）
-------------------------------------------------------------- */
.item-spec dl{
	display: flex; /* IE10以上 */
	flex-wrap: wrap; /* 子要素を折り返す */
	border-bottom:solid 1px #e3e3e3;
	/*font-size: 0.9em;*/
}
.item-spec dl dt,
.item-spec dl dd{
	margin: 0;
	padding: 0.8em 0;
	border-top:solid 1px #e3e3e3;
}
.item-spec dl dt{
	font-weight: bold;
	flex-basis: 20%;
}
.item-spec dl dd{
	flex-basis: 80%;
}
.item-spec dl dd div{
	display: inline-block;
}
.item-spec dl dd div:before{
	content: "、";
}
.item-spec dl dd div:first-child:before{
	display: none;
}
@media screen and (max-width:480px) {
	.item-spec dl{
		display: block;
	}
	.item-spec dl dt{
		padding: 0.8em 0 0;
	}
	.item-spec dl dd{
		border: none;
		padding: 0 0 0.8em;
	}
}

/* = 商品ページ（制作実績）
-------------------------------------------------------------- */


#fixedbtn{
	position: fixed;
	top: 120px;
	right: 0px;
	ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	z-index: 10;
}
#fixedbtn a{
	display: block;
	padding: 16px 10px;
	font-weight: bold;
	font-size: 0.85em;
	transition:0.2s ease;
	-webkit-appearance:none;
	text-decoration:none!important;
	border-top-left-radius : 8px;
	border-bottom-left-radius : 8px;
	/*background:#ffffff;*/
	background-color:rgba(255,255,255,.95);
	color: #ff8a00!important;
	border: solid 2px #ff8a00;
	border-right: none;
}
#fixedbtn a:hover{
	opacity: 0.5;
}
@media screen and (max-width:959px) {
	#fixedbtn{
		width: 300px;
		width: calc(100% - 160px);
		margin-left: auto;
		margin-right: auto;
		top: auto;
		bottom: 0px;
		/*right: 0px;*/
		left: 0px;
		ms-writing-mode: lr-tb;
		writing-mode: lr-tb;
		text-align: center;
	}
	#fixedbtn a{
		width: auto;
		padding: 12px 10px;
		border-radius: 0;
		border-top-left-radius : 8px;
		border-top-right-radius : 8px;
		border: solid 2px #ff8a00;
		border-bottom: none;
	}
	#fixedbtn a:hover{
		opacity: 1;
	}
}


.swiper-wrap {
	padding: 16px 0;
	background-color: var(--sub);
}
@media screen and (max-width:959px) {
	.swiper-wrap {
		padding: 0;
		background: none;
	}
}


.swiper-container {
	width: 100%;
	max-width: 960px;
	height: 300px;
	margin-left: auto;
	margin-right: auto;
	/* margin-bottom: 10px!important; */
}
.swiper-container img{
	display: block;
	width: 100%;
	margin-top: 0;
	margin-bottom: 0!important;
}
.swiper-container-thumbs{
	margin-top: 10px!important;
}
.swiper-slide {
	background-size: cover;
	background-position: center;
	box-sizing: border-box;
}
.home .swiper-slide {
	border: none;
}
.swiper-button-white{
  background-color:rgba(0,0,0,.3);
  background-size: 20px 20px!important;
  border-radius: 50px;
  width: 40px!important;
  height: 40px!important;
}
.gallery-top {
	height: 80%;
	width: 100%;
}
.gallery-thumbs {
	height: 20%;
	box-sizing: border-box;
	padding: 10px 0;
}
.gallery-thumbs .swiper-slide {
	width: calc(100% / 6); /* サムネイルの表示数（slidesPerViewの値と合わせる） */
	height: 100%;
	box-sizing: border-box;
	background-color: #ffffff;
}
.home .gallery-thumbs .swiper-slide {
	width: calc(100% / 4); /* サムネイルの表示数（slidesPerViewの値と合わせる） */
}
.gallery-thumbs .swiper-slide img{
	opacity: 0.4;
}
.gallery-thumbs .swiper-slide-thumb-active img{
	opacity: 1;
	border:solid 2px var(--main);
}



.item-spec-wrap{
	margin-top: 2em;
}
.item-spec-wrap h3{
	margin: 0!important;
	padding: 0!important;
	background: none!important;
	border:none!important;
	border-radius: 2px;
	font-size: 1.2em;
	font-weight: normal;
}
.item-spec-wrap .step1{
	flex: 0 1 auto;
	padding: 16px;
	background-color:rgba(81,155,229,.2);
}
.item-spec-wrap .step2{
	flex: 0 1 auto;
	padding: 16px;
	background-color:rgba(81,155,229,.3);
}
.item-spec-wrap .step3{
	flex: 1 0 auto;
	padding: 16px;
	background-color:rgba(81,155,229,.4);
}
.item-spec-wrap .step4{
	flex: 0 1 auto;
	padding: 16px;
	background-color:rgba(81,155,229,.6);
}

.schedule-table{
	table-layout: fixed;
}
.schedule-table td:before {
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-variant: normal;
	font-weight: bold;
	text-rendering: auto;
	display: block;
	font-size: 20px;
}
.schedule-table td.draft:before {
	content: "\f005";
	color: #f1c40f;
}
.schedule-table td.ship:before {
	content: "\f0d1";
	color: #3498db;
}
.schedule-table td.deliver:before {
	content: "\f015";
	color: #e74c3c;
}
.schedule-table td.progress:before {
	content: "\f141";
	content: "\f0da";
	content: "\f105";
	color: #e3e3e3;
	color: #cccccc;
}
.schedule-table td {
	font-weight: bold;
	font-size: 12px;
	text-align: center;
	padding: 5px 0;
}
.schedule-table td.draft,
.schedule-table td.ship,
.schedule-table td.deliver,
.schedule-table td.progress{
	background-color: #fcfbef;
}
.schedule-table td:nth-child(6),
.schedule-table td:nth-child(7),
.schedule-table td:nth-child(13){
	background-color: #ffeff5;
}
.schedule-table td span {
	display: block;
}
@media screen and (max-width:768px) {
	.schedule-table{
		table-layout: auto;
	}
	.schedule-table th,
	.schedule-table td {
		font-size: 10px;
	}
	.schedule-table td span {
		font-size: 10px;
	}
	.schedule-table td:before {
		font-size: 15px;
	}
}
@media screen and (max-width:480px) {
	.schedule-table{
		table-layout: auto;
	}
}


/* = メールフォーム（問い合わせ＆見積もりフォーム）
-------------------------------------------------------------- */
#mailform{
	position: relative;
}
#mailform table th{
	white-space: nowrap;
	width: 200px;
}
#mailform .must	{
	color:#ff6666;
	padding-left: 5px;
	font-size:0.8em;
	font-weight:normal;
}
#mailform .flex{ /* テキストのみの選択項目 */
	margin: 0 0 0 -32px!important;
	flex-basis:100%!important;
}
#mailform .flex	div.option-text{ /* テキストのみの選択項目 */
	margin: 0 0 0 32px!important;
	flex-basis:100%!important;
}
#mailform .flex	div.option-img{ /* 画像を含む選択項目 */
	margin: 0 0 32px 32px!important;
	flex-basis:calc(33.33% - 32px)!important;
}
#mailform .flex	div.option-img img{
	margin:0 0 5px!important;
	display: block;
	width: 100%;
}
@media screen and (max-width:480px) {
	#mailform table,
	#mailform table caption,
	#mailform table thead,
	#mailform table tbody,
	#mailform table tr,
	#mailform table th,
	#mailform table td{
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
		border: none;
		background: none;
	}
	#mailform table th{
		padding-top: 30px;
		margin-bottom: 10px;
		font-weight: bold;
	}
	#mailform table td{
		padding-bottom: 30px;
		border-bottom: solid 1px #ddd;

	}
}

/* 商品ページの見積もりボタン固定表示 */
@media screen and (max-width:959px) {
	#btn_mtmr{
		/* position: fixed;
    	bottom: 0px;
		left: 0;
		width: 100%;
		padding: 20px; */
		margin-top: 1rem;
	}
	#btn_mtmr button.btn{
		box-shadow: 0 0px 10px rgba(0,0,0,.2);
		padding: 0.5em 2em;
	}
}


/*　WP Table of Contents Plus（目次プラグイン）　※パソコンでは記事内の目次を非表示
-------------------------------------------------------------- */
#toc_container {
	display: none;
}
.toc_widget_list a{
	color: var(--text);
	font-weight: normal;
}

@media screen and (max-width:959px) {
	#toc_container {
		display: block;
	}
}


/*　CTAボタン - モバイル固定
-------------------------------------------------------------- */
.btn-design-editor{
	margin: 20px 0 0;
	z-index: 99;
}
.btn-mtmr-form{
	margin: 20px 0 0;
}
@media screen and (max-width:959px) {
	.btn-design-editor,
	.btn-mtmr-form{
		position: fixed;
		margin: 0;
		width: 50%;
		padding: 2px;
	}
	.btn-design-editor{
		left: 0;
		bottom: 0;
		padding-right: 1px;
	}
	.btn-mtmr-form{
		right: 0;
		bottom: 0;
		padding-left: 1px;
	}
	.btn-design-editor .btn,
	.btn-mtmr-form .btn{
		height: 70px;
		padding: 8px 8px;
		border-radius: 4px;
		border: solid 1px white;
	}
	.btn-design-editor .btn:hover,
	.btn-mtmr-form .btn:hover{
		background-color: white;
	}
	.side_list{
		display: none;
	}
}
@media screen and (max-width:480px) {
	.btn-design-editor .btn,
	.btn-mtmr-form .btn{
		height: 50px;
		font-size: 11px;
		padding: 0;
	}
	.btn-design-editor .btn i,
	.btn-mtmr-form .btn i{
		font-size: 12px;
	}
	.btn-design-editor .btn span.font80,
	.btn-mtmr-form .btn span.font80{
		font-size: 10px!important;
	}
}



details {
	padding: 0px 32px 0px;
	vertical-align: middle;
	border-top: solid 1px var(--border);
	border-bottom: solid 1px var(--border);
	transition: 0.2s;
}
details + details {
	margin-top: 0;
	border-top: none;
}
details[open] {
	padding-bottom: 32px;/* 後続のdatailタグとの区別を明確にするため長めに確保 */
}
details summary {
	position: relative;
	display: block; /* デフォルトアイコンを非表示（Safari以外） */
	padding: 16px 48px 16px 8px;
	margin: 0px -32px 0 -32px;
	padding: 16px 48px 16px 32px;
	transition: 0.1s;
}
details summary::-webkit-details-marker {
	display: none; /* Safariのデフォルトアイコン▶を非表示 */
}
details summary:hover {
	cursor: pointer;
	background-color: var(--gray);
}
details[open] summary {
	margin-bottom: 16px;
	background-color: var(--gray);
}
details summary::after {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translate(0%, -50%) rotate(0deg);
	display: block;
	content: "";
	width: 24px;
	height: 24px;
	background-color: transparent;
	background-image: url(images/icon/angle-down-solid.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-size: 50%;
	border-radius: 100%;
	opacity: 0.5;
	transition: transform 0.2s;
}
details[open] summary::after {
	transform: translate(0%, -50%) rotate(180deg); /* 回転させるとSafari14でフォーカスした際に不自然なアウトラインができる */
}


/* ラジオボタン用の注釈テキスト（チェックが入ったときに表示・2023/8現在、FFはhasに未対応） */
label + .checked-text{
	margin-left: 1.8em;
	/* font-size: .8rem; */
	margin-bottom: 16px;
}
label:has(input) + .checked-text{
	transition: .2s;
	height: 0;
	overflow: hidden;
	margin-bottom: 0px;
}
label:has(input:checked) + .checked-text{
	height: auto;
	margin-top: 4px;
	margin-bottom: 16px;
	border: solid 1px var(--border);
	padding: 8px;
	border-radius: 4px;
}

.archives_cols a{
	color: var(--text);
}
