@charset "UTF-8";

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-size: 1.6rem;
	background-color: #eee;
	color: #222;
	font-family: 'Noto Serif JP', serif;
	font-weight: 300;
	font-size: 16px;
}
#wrap{
	padding: 0;
	margin: 0 auto;
	max-width: 900px;
}
a{
	color: #333;
	text-decoration: underline;
}
a:hover{
	text-decoration: none;
}
.sitetitle{
	font-size: 1.8rem;
	font-weight: 500;
	margin: 20px auto 0px;
}
.sitetitle span{
	font-size: 0.8em;
}
.sitetitle a{
	text-decoration: none;
	color: #222;
}
.description{
	font-size: 1rem;
	margin: 0px auto 30px;
}
@media (max-width: 900px){
	#wrap{
		padding: 0 1em;
	}
}

/* ツールエリア */
#wrap_tool{
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap:2em;
	max-width: 900px;
	margin: 0 auto 2em;
}
#area_tool{
	width: 40%;
	display: flex;
	flex-wrap: wrap;
	gap:1em;
}
#wrap_tool h2{
	font-size: 1.1em;
}
#wrap_tool h2,
#area_tool select{
	width: 100%;
	margin: 0;
}
#area_tool label span,
#area_tool label strong,
#area_tool .col span,
#area_tool .col strong{
	font-size: 0.9em;
}
#tool_color{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap:1em;
}
#area_tool input.asColorPicker-input{
	width: 80px;
}

#area_tool_img{
	display: flex;
	flex-wrap: wrap;
	gap:1em;
}
#area_tool_img .col{
	display: flex;
	flex-direction: column;
	gap: 5px;
}
#area_tool_img .col:first-child{
	width: calc(100% - 1em - 95px);
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}
#area_tool_img .col:first-child label:last-child{
	margin: auto 0;
}
#area_tool_img .col:first-child label .attention{
	display: block;
	font-size: 10px;
}
#area_tool_img .col:last-child{
	align-items: center;
}
#area_tool_img .col:last-child span{
	font-size: 0.8em;
}

#tool_img_position{
	display: flex;
	flex-wrap: wrap;
	width: 4.5em;
	background-image: url(../images/bg_imgpos.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
#tool_img_position label{
	width: 1.5em;
	height: 1.5em;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	text-align: center;
}
#tool_img_position label:nth-child(2) input{
	margin-bottom: auto;
}
#tool_img_position label:nth-child(4) input{
	margin-right: auto;
}
#tool_img_position label:nth-child(6) input{
	margin-left: auto;
}
#tool_img_position label:nth-child(8) input{
	margin-top: auto;
}

.asColorPicker-dropdown,
.asColorPicker-dropdown *{
	box-sizing: content-box;
}

/* アコーディオン */
.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}
.accordion-header {
	cursor: pointer;
	margin-bottom: 0;
}
.accordion-header::after {
	content: '\25BC';
	float: right;
	opacity: 0.8;
	font-size: 0.8em;
	margin-top: 2px;
}
.accordion-header.active::after {
	content: '\25B2';
}

#tool_grad_head{
	width: 100%;
	position: relative;
	margin-bottom: 5px;
}
#tool_grad_head::before{
	content: '';
	width: calc(100% - 1.5em);
	height: 1px;
	display: block;
	background-color: #333;
	position: absolute;
	top: 0.8em;
	left: 0;
	opacity: 0.5;
	z-index: 1;
}
#tool_grad_head span{
	position: relative;
	z-index: 2;
	display: inline-block;
	padding-right: 0.5em;
	background-color: #eee;
}
#tool_grad{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap:0.5em 1em;
}
#tool_grad .col{
	width: calc(50% - 0.5em);
}


/* 入力エリア */
#area_txt{
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap:1em;
	width: calc(60% - 2em);
	margin: 0 auto;
}
#area_txt textarea{
	width: 100%;
}
#area_txt textarea#set_txt_title,
#area_txt textarea#set_long_title{
	width: 50%;

}
#area_txt .area_check{
	margin-right: auto;
}
#area_txt .area_check label{
	font-size: 0.9em;
}
#area_txt .area_check label input{
	display: inline-block;
	margin-right: 3px;
}
.area_btn{
	width: 100%;
	text-align: center;
}
.area_check button,
.area_btn button{
	font-size: 0.9em;
	padding: 0.2em 1em;
	background-color: #222;
	color: #fff;
	background-image: none;
	border: #222 1px solid;
	border-radius: 30px;
	margin: 0 5px;
}
.area_btn button{
	font-size: 1.2em;
}

/* 出力エリア */
#area_canvas{
	width: 100%;
	margin: 20px auto 30px;
	background-size: cover;
	background-position: center;
	position: relative;
}
#area_draw{
	position: relative;
}
#loadingmask{
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	display: none;
	z-index: 10;
}
#loadingmask .loading{
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0,0,0,0.8);
}
#download_img{
	position: absolute;
	z-index: 2;
	background-image: url(../images/bg_clear.png);
}
.image__svg{
	position: relative;
	z-index: 1;
	background-image: url(../images/bg_clear.png);
}
#download_img img{
	width: 100% !important;
	height: auto !important;
}
.image__svg svg{
	width: 100%;
	height: auto;
}

@media (max-width: 599px){
	#area_tool,
	#area_txt{
		width: 100%;
	}
}

/* 注意エリア */
.area_attention{
	margin-top: 3em;
	padding-bottom: 1em;
}
.area_attention h2{
	font-size: 1em;
}
.area_attention p{
	font-size: 0.8em;
}
.area_attention p:last-child{
	text-align: right;
}

/* 写真 */

#area_list h2{
	font-size: 1.1em;
	margin-bottom: 0.2em;
}
#area_list h3{
	font-size: 1em;
	margin-top: 1em;
}
.list_photo{
	list-style: none;
	padding: 0;
	margin: 0.5em 0 2em;
	display: flex;
	flex-wrap: wrap;
}
.list_photo li{
	list-style: none;
	width: 20%;
	padding: 0.5em 0.5em 1.5em;
	margin: 0;
	font-size: 0.8em;
}
.list_photo li img{
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
	background-color: #fff;
	display: block;
	margin: 0 0 5px;
}
#area_list p:last-child{
	text-align: center;
}

@media (max-width: 599px){
	.list_photo li{
		width: calc(100% / 3);
	}
}
@media (max-width: 425px){
	.list_photo li{
		width: 50%;
	}
}