/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20210719
*/

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}


/**************************************************************
【fontの設定】
**************************************************************/
.text70{font-size:70%}			/* フォントサイズ70% */
.text80{font-size:80%}
.text90{font-size:90%}
.text100{font-size:100%}
.text110{font-size:110%}
.text120{font-size:120%}
.text130{font-size:130%}
.text140{font-size:140%}
.text150{font-size:150%}
.text160{font-size:160%}
.text170{font-size:170%}
.text180{font-size:180%}
.text190{font-size:190%}
.text200{font-size:200%}
.text210{font-size:210%}
.text220{font-size:220%}
.b{font-weight:700}				/* 太字 */
.bold{font-weight:700}				/* 太字 */
.u{text-decoration:underline}	/* 下線 */

.align1{text-align:center !important} /* 中央寄せ */
.align2{text-align:right !important}  /* 右寄せ */
.align3{text-align:left !important} /* 左寄せ */

/**************************************************************
【colorの設定】
**************************************************************/
.red{color:red}				/* 赤色 */
.blue{color:#2ca9e1}		/* 青色 */
.green{color:#82ae46}		/* 緑色 */
.orange{color:#ff7d00}		/* 橙色 */
.yellow{color:#fff000}		/* 黄色 */
.pink{color:#ff0084}		/* ピンク */
.gray{color:#999}

/**************************************************************
【background-colorの設定】
**************************************************************/
.bg-yellow{background:#ff0}		/* 黄色の文字背景 */
.bg-blue{background:#4ab0f5}	/* 青色の文字背景 */
.bg-red{background:red}			/* 赤色の文字背景 */

/*******************************
追加ＣＳＳ
*******************************/

.entry-content table { width: 98%;}
.entry-content td, .entry-content th { vertical-align:top; border:1px solid #bbb; padding:10px 15px 7px; line-height:2.2; background:#fff; }
.entry-content th { background:#E8E8E8; font-weight:bold; color:#333; }

.w10 {
  width: 10%;
}

.w15 {
  width: 15%;
}

.w20 {
  width: 20%;
}

.w30 {
  width: 30%;
}

.w35 {
  width: 35%;
}

.w40 {
  width: 40%;
}

.ad-space {
	margin:0;
	font-size:10px;
	color:#999999;
}

#pc_double_ads-2 .ad-label {
	margin:0 0 5px 5px;
	font-size:10px;
	color:#999999;
	text-align:left;
}

.box_img_border{
   margin: 0 5px 2px 0;
   padding:4px;
   border: 1px solid #cccccc;
}

.b{
	font-weight:bold;
}


hr {
   border:dotted #999999;
   border-width:1px 0 0 0;
	margin:5px 0 15px;
}


/* =========================================================
   墓じまい.net｜画像Lightbox
   ========================================================= */

/* Lightbox対象画像 */
.hjm-lightbox {
	display: block;
	cursor: zoom-in;
}

.hjm-lightbox img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Lightbox背景 */
.hjm-lightbox-overlay {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: rgba(0, 0, 0, 0.88);
	box-sizing: border-box;
}

/* 表示中 */
.hjm-lightbox-overlay.is-open {
	display: flex;
}

/* 拡大画像 */
.hjm-lightbox-overlay img {
	display: block;
	max-width: 95vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* 閉じるボタン */
.hjm-lightbox-close {
	position: fixed;
	top: 15px;
	right: 20px;
	z-index: 1000000;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 40px;
	line-height: 44px;
	text-align: center;
	cursor: pointer;
}

/* Lightbox表示中は背面スクロールを止める */
body.hjm-lightbox-open {
	overflow: hidden;
}

/* スマートフォン */
@media screen and (max-width: 599px) {
	.hjm-lightbox-overlay {
		padding: 15px;
	}

	.hjm-lightbox-overlay img {
		max-width: 96vw;
		max-height: 85vh;
	}

	.hjm-lightbox-close {
		top: 8px;
		right: 8px;
	}
}

/* Lightbox画像操作領域 */
.hjm-lightbox-image-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	touch-action: none;
}

/* ピンチズーム対象画像 */
.hjm-lightbox-image-wrap img {
	transform-origin: center center;
	transition: transform 0.05s linear;
	user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
}

