@charset "UTF-8"; 

/* CSS Document */
/*
Theme Name: Orignal Theme by Hirotaka Fujioka
Theme URI: https://fujigaoka-d.com/
Description: Original
Version: 1.00
Author: Hirotaka Fujioka
Author URI: https://fujigaoka-d.com/
*/

/*** base, common parts ***/

* {
	padding:0;
	margin:0;
}
html {
	height:100%;
}
h1,h2,h3,h4,h5,h6{
	clear:both;
}
h1,h2,h3,h4,h5,h6,section,div,header,main,aside,footer,article,nav,ul,li,p,input,textarea,a {
	overflow:hidden;
	height:auto;
	box-sizing: border-box; /* padding,borderをwidthに含める */	
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
}
a {
	text-decoration: none;
	color:#444;
}
a.underline {
	color:#044da7;
	text-decoration:underline dotted currentColor;
}
a.no-underline {
	text-decoration: none !important;
	color:#444; !important;
}
img {
	border-style:none;
	vertical-align:bottom;
	max-width:100%;
	height:auto;
}	
.round-1vw {border-radius:1vw;}	
.round-1vw img {border-radius:1vw;}	
.round-2vw {border-radius:2vw;}	
.round-2vw img {border-radius:2vw;}	
.round-3vw {border-radius:3vw;}	
.round-3vw img {border-radius:3vw;}	
.round-1rem {border-radius:1rem;}	
.round-1rem img {border-radius:1rem;}	
.round-2rem {border-radius:2rem;}	
.round-2rem img {border-radius:2rem;}	

p {	margin:0 0 1em 0; }
p.left {margin-left:0;}
p.right {margin-right:0;}

input {
	font-family:inherit; letter-spacing:inherit; /* 親要素を引き継ぐ */
}

/*** font ***/
.text_mincho {
	font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}

/*** adjustment ***/
.left {float:left;}
.right {float:right;}
.center {margin-left:auto !important; margin-right:auto !important;}
.clear {clear:both;}

.text_center {text-align:center;}
.text_right {text-align:right;}
.text_bold {font-weight:bold !important;}
.text_green {color:#2D9331;}

.font-size_50-per {	font-size:50% !important;line-height:1.8em;}
.font-size_60-per {	font-size:60% !important;line-height:1.8em;}
.font-size_70-per {	font-size:70% !important;line-height:1.8em;}
.font-size_80-per {	font-size:80% !important;line-height:1.8em;}
.font-size_90-per {	font-size:90% !important;line-height:1.8em;}

.width_18 {	width:18%;}
.width_28 {	width:28%;}
.width_38 {	width:38%;}
.width_48 {	width:48%;}
.width_58 {	width:58%;}
.width_65 {	width:65%;}
.width_68 {	width:68%;}
.width_78 {	width:78%;}
.width_100 {width:100%;}

.max-width_20em {max-width:20em;width:100%;}
.max-width_30em {max-width:30em;width:100%;}

.mb_0rem { margin-bottom:0 !important;}
.mb_1rem { margin-bottom:1rem !important;}
.mb_2rem { margin-bottom:2rem !important; }
.mb_3rem { margin-bottom:3rem !important; }
.mb_4rem { margin-bottom:4rem !important; }
.mb_5rem { margin-bottom:5rem !important; }

.bg_white { background:white !important;}
.text_white { color:#fff !important; }

.inline {display:inline;}

hr.clear {
	clear:both;
	border:none;
}
/* ruby */
ruby rt {
	font-size:0.35em;
	margin:0 0 0.1em 0;
}
/* list */
ol {
	margin:0 0 1em 0;
}
ol li {
	margin:0 0.5em 0 1.5em;
	line-height:2.0em;
	overflow:visible;
	list-style-type: decimal
}
/* table */
table{
	border-collapse:collapse;
	border-spacing:0;
	empty-cells:show;
	margin:0 0 1em 0;
	width:100%;
	word-break: break-all;
	word-wrap: break-all;
}
table th{
	text-align:left;
	padding:0.4em 1em;
}
table td{
	padding:0.4em 1em;
	margin-bottom:0.1em;
}
/* figure */
figure.left {
	float:left;
}
figure.left img {
	margin-right:1em;
}
figure.rounded img {
	border-radius:5%;
}
figure.wp-block-image,figure.wp-block-image.is-resized {
	margin:0 0 1em 0;
}
figcaption {
	color:#333;
	font-size:0.8em;
	font-weight:normal;
	line-height:1.6em;
	margin:0.2em 0 0 0.2em !important;
}
/* 左右寄せの画像挿入用 */
figure.right {
	margin:0 0 1em 1em;	
}
figure.left {
	margin:0 1em 1em 0;	
}
figure.pic-15em {
	width:15em;
}
figure.pic-20em {
	width:20em;
}

/*** 比率固定画像用ボックス ***/
.aspect-box {
}
.aspect-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* 比率3:2 */
.aspect-box.ratio_3-2 {
	aspect-ratio: 3 / 2;	
}
/* 比率3:4 */
.aspect-box.ratio_3-4 {
	aspect-ratio: 4 / 3;
}
/* 比率1:2 */
.aspect-box.ratio_1-2 {
	aspect-ratio: 2 / 1;
}
/* 比率1:1 */
.aspect-box.ratio_1-1 {
	aspect-ratio: 1 / 1;
}

/*** PC・スマホ表示切り替え ***/
.desktop { 
	display:block;
}
.mobile { 
	display:none;
}
@media screen and (max-width: 640px) {
	.desktop { /* PC・スマホ表示切り替え */
		display:none !important;;
	}
	.mobile { /* PC・スマホ表示切り替え */
		display:block !important;;
	}
	/* adjustment */
	.left,.right {clear:both;}
	.left {clear:left;}
	.width_18,.width_28,.width_38,.width_48,.width_58,.width_65,.width_68,.width_78 {
		width:100%;
	}
	img.right,img.left {
		margin:0 0 1em 0;	
	}
	/* figure */
	figure.wp-block-image,figure.wp-block-image.is-resized {
		margin:0 0 1em 0;
	}
	/* content */
	.the_content iframe {
		margin:0 0 1em 0;
	}
	/* ul.wp-block-list */
	ul.wp-block-list {
		margin-left:0;
	}
}




