@charset "UTF-8";
/* CSS Document */

p {
	font-size: var(--bunsyo);
	text-align: justify;
	color: #333;
	margin-bottom: 2em;
}

/*
h2 {
	font-size: var(--bigBunsyo);
	border-left: solid 0.5em var(--left-border);
	margin-bottom: 1em;
}
*/

h3 {
	font-size: var(--bunsyo);
	border-bottom: solid 1px #ccc;
	margin-bottom: 2em;
	padding-bottom: 0.2em;
}

.other_wrap {
	width: 90vw;
	max-width: var(--max-size2);
	margin-bottom: 15em;
}

.other_item {
	display: flex;
	margin-bottom: 5em;
}

.other_p {
	width: 100%;
}

.other_img1 {
	width: 30%;
	min-width: 240px;
	margin-right: 3em;
	ovject-fit: cover;
}

.other_img1 img {
	width: 100%;
	vertical-align: top;
}

.bfimg2 {
	text-align: center;
}

.bf_item2 img{
	width: 45%;
}

.ncal-cat {
	text-align: center;
}

.ncal-cat a {
	display: inline-block;
	width: 80%;
	max-width: 800px;
}

.ncal-cat a:hover {
    opacity: 0.7 ;
    transition: 0.5s ;
}

.ncal-cat a img {
	width: 100%;
	height: auto;
	vertical-align: top;
}

/**********************
レスポンシブ対応
***********************/

@media screen and (max-width:786px)  {
	body {
		font-size: 15px;
	}
	
	/* スマホ用 */
	:root {
		--title-size-1s:1.5rem;
		--title-size-2s: 1.2rem; 
		--title-size-3s: 1rem;

	}
	
	h2{
		font-size: var(--title-size-2s);
	}
	
	h3{
		font-size: var(--title-size-3s);
	}
	
	.other_wrap {
		margin-bottom: 10em;
	}
	
	.other_item {
		display: block;
	}
	
	.other_img1 {
		width: 80%;
		margin: 0 auto;
	}
	
	.bf_item2 img{
		width: 80%;
	}
	
	.other_p {
		width: 100%;
	}
	
	.ncal-cat a {
		width: 80%;
	}

/*
	.ncal-cat a img {
		width: 80%;
	}
*/
}