@CHARSET "UTF-8";

/* メールフォーム - スタイルシート */

div#mailform_view {
	display: block
}
dl.mailform {
	width: 100%;
	box-sizing: border-box;
}
div#mailform_view ul {
	padding-left: 25px;
}
div#mailform_view ul strong.notes {
	font-size: 1.2em;
	font-weight: bold;
	color: red;
}
dl.mailform dt,
dl.mailform dd {
	margin: 0px;
	padding: 0px;
	width: 100%;
	box-sizing: border-box;
}
dl.mailform dt {
	margin-bottom: 5px;
}
dl.mailform dd {
	margin-bottom: 10px;
}
dl.mailform dt span.required {
	font-size: 0.8em;
	font-weight: bold;
	line-height:0.8em;
	padding: 3px;
	background: red;
	color: white;
	border-radius: 5px;
	margin-left: 10px;
	display: inline-block;
	vertical-align: bottom;
}
dl.mailform dd input {
	width: 50%;
	padding: 5px;
	box-sizing: border-box;
}
dl.mailform dd select {
	min-width: 50%;
	padding: 5px;
	box-sizing: border-box;
}
dl.mailform dd textarea {
	width: 80%;
	padding: 5px;
	box-sizing: border-box;
}
div.mailform_acceptance {
	font-size: 18px;
	font-weight: bold;
	margin: 20px 0px;
	width: 100%;
	text-align: center;
}
div.mailform_submit {
	position: relative;
	margin: 0px auto 15px;
	width: 320px;
	box-sizing: border-box;
}
div.mailform_submit input[type="submit"] {
	font-size: 24px;
	font-weight: bold;
	width: 100%;
	height: 60px;
	border-radius: 10px;
	background-color: mediumblue;
	color: white;
	border-color: darkblue;
	cursor: pointer;
	box-sizing: border-box;
}
div.mailform_submit input[type="submit"]:disabled {
	background-color: lightgray;
	color: darkgray;
	border-color: darkgray;
	cursor: default;
}
div.mailform_submit .wpcf7-spinner {
	position: absolute;
	top: 50%;
	left: 15px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	margin: 0px;
}
.wpcf7 .wpcf7-not-valid-tip {
	font-weight: bold;
}
.wpcf7 .wpcf7-not-valid {
	background: pink;
}

/** ライセンス発行ページ - ライセンス発行後にメールフォームを表示しない */
div#mailform_view .wpcf7-form.sent {
  display: none;
}
div#mailform_view .wpcf7-form.sent .wpcf7-response-output {
  display: none;
}

/* ライセンス発行ページ - ライセンス表示 */
div#license_key_view {
	display: none;
	height: 350px;
}
div#license_key_view div.view {
	width: 100%
}
div#license_key_view div.view div.items {
	font-size: 18px;
	font-weight: bold;
	margin: 20px 0px;
	width: 100%;
	text-align: center;
}
div#license_key_view div.view div.items span {
	position: relative;
	display: inline-block;
}
div#license_key_view div.view div.items span.reissue_license_key {
	font-size: 24px;
	width: 50%;
}
div#license_key_view div.view div.items span.license_key_with_expire_date {
	font-size: 20px;
	width: 80%;
}
div#license_key_view div.view div.items span input[type="text"] {
	font-size: inherit;
	font-weight: bold;
	padding: 8px;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}
div#license_key_view div.view div.items span #copy {
	position: absolute;
	top: 50%;
	right: .75em;
	display: block;
	padding: 0;
	cursor: pointer;
	transform: translateY(-50%);
	color: #000;
	border: none;
	background: transparent;
}
div#license_key_view div.view div.items span #copy:hover {
	opacity: .6;
}
div#license_key_view div.view div.items span#expire_date {
	background: yellow;
	text-decoration: underline;
}
