@charset "utf-8";

html {
	height: 100%;
	font-size: 62.5%;
}
body {
	font-size: 1.6em;
	word-wrap: break-word;
	width: 96.0rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0.8rem;
	color: #333333;
	background-color: #F9F9F9;
}
a {
	color: #007eb5;
	text-decoration: none;
}
a:hover {
	color: #00c7ea;
}

.ui-datepicker-date-exist .ui-state-default {
	background: #ffc1c1 none 50% 50% repeat-x;
}
.ui-datepicker-date-exist .ui-state-hover {
	background: #f4b5b5 none 50% 50% repeat-x;
}
.ui-datepicker-date-exist .ui-state-active {
	background: #ffdada none 50% 50% repeat-x;
}

form[name="form"] dl {
	width: fit-content;
	padding: 0.8rem;
	border: double;
}
form[name="form"] dd:has(+ dt) {
	margin-bottom: 0.8rem;
}
form[name="form"] dd > input#company {
	width: 18.0rem;
}
form[name="form"] dd > input#zip {
	width: 6.0rem;
}
form[name="form"] dd > input#address {
	width: 24.0rem;
}
form[name="form"] dd > span:last-of-type {
	display: block;
	color: red;
	font-weight: bold;
}
/* 透かし文字 */
form[name="form"] span.watermark_text {
    position: absolute; /* これを入れないと入力欄にかぶりません */
    padding-top: 0.3rem;   /* 透かし文字を自然な位置に置くため適当なpaddingを入れます */
    padding-left: 0.3rem;
    color: #999;        /* 透かし文字なので薄めの文字色がいいかもしれません。お好みで。 */
	white-space: nowrap;
	font-size: 0.8rem;
}
form[name="form"] span.hidden {
    visibility: hidden;	/* 透かし文字を非表示にするため */
}


/* 425px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 425px) {
	body {
		width: calc(100% - 0.8rem * 2);
	}
	select {
		height: 2.4rem;
		width: 100%;
	}
	button {
		min-width: 7.2rem;
		margin-top: 0.4rem;
		padding: 0.4rem 0.6rem;
	}
	input[type="text"], input[type="password"], input[type="number"] {
		height: 3.6rem;
		width: 100%!important;
		box-sizing: border-box;
	}
	input[type="submit"] {
		height: 3.6rem;
		width: 100%!important;
		margin-top: 3.6rem;
	}
	input[type="text"]:nth-child(odd),
	input[type="password"]:nth-child(odd),
	input[type="number"]:nth-child(odd)  {
		margin-top: 0.4rem;
	}
	input[type="checkbox"] {
		margin-top: 1.6rem;
	}
}
