@charset "utf-8";

/* ===================================================================
CSS information
 file name  :  style.css
=================================================================== */

/*********************************************************************
 Reset
*********************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font-family: inherit;
	background: transparent;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

body * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="tel"], 
input[type="date"], 
button, 
textarea, 
select {
	-webkit-appearance: none;
	-moz-appearance: none; 
	appearance: none; 
	text-overflow: '';
	border-radius: 0;
	border: none; 
	outline: none;
	resize: none;
}

input[type="submit"],
input[type="button"] {
	-webkit-appearance: none;
	border-radius: 0;
	outline: none;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}

select::-ms-expand {
	display: none;
  }

* a {
	text-decoration: none;
	color: inherit;
	font-size: inherit; 
	font-weight: inherit;
	font-family: inherit;
	text-align: inherit;
	line-height: inherit;
	cursor: pointer;
	outline: none;
}

* a img {
	border-style: none;
	outline: none;
	cursor: pointer;
}

img {
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.cf:after {
	content: "";
	display: block;
	clear: both;
}

/*********************************************************************
 Setting
*********************************************************************/

html {
	min-height: 100%;
}

body {
	height: 100%;
	font-size: 14px;
	font-family: sans-serif;
	line-height: 1.4;
	background-repeat: repeat;
	position: relative;
}

.wrapper {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

/*********************************************************************
 style
*********************************************************************/

/* common
--------------------*/

main {
}

.inner {
	width: 100%;
	margin: 0 auto;
}

.btn-style {
	display: block;
    color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	width: 100%;
	padding: 15px;
	background: #f29600;
}

/* header
--------------------*/

header {
	position: relative;
	width: 100%;
}

#header-title {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    border-bottom: 1px solid #e5e5e5;
}

/* description
--------------------*/

.description {
	margin: 25px 0;
}

.description span,
sup {
	color: #f00;
}

/* form layout
--------------------*/

.form-content {
	margin: 0 0 20px;
}

.form-content label {
	display: block;
}

.form-content-layout {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.form-content-layout--name {
	width: 47.5%;
}

.form-content--btn-area {
	display: flex;
	justify-content: space-between;
}

.form-content--btn-area > .form-content {
	width: 47.5%;
}

/* about form
--------------------*/

.form-content input,
.form-content select {
	display: block;
	background: #FFFFFF;
    color: #000;
    font-size: 14px;
    width: 100%;
    height: 40px;
    padding: 8px 0;
    margin: 0 auto;
    border: 1px solid #000;
    font-family: sans-serif;
    font-weight: normal;
    text-indent: .5em;
}

.form-content input[type=date] {
    text-indent: .25em;
}

.annotation {
	font-size: 12px;
	margin: 0 0 0 5px;
}

/* placeholder
--------------------*/

:placeholder-shown {
	color: #ccc;
}

::-webkit-input-placeholder {
	color: #ccc;
}

:-moz-placeholder {
	color: #ccc;
	opacity: 1;
}

::-moz-placeholder {
	color: #ccc;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #ccc;
}

/* radio
--------------------*/

.form-content-radio {
	display: flex;
	justify-content: center;
	align-items: center;
}

.form-content-radio label {
	position: relative;
    display: flex;
    justify-content: center;
	align-items: center;
    margin: 0;
    height: 40px;
    width: 50%;
	color: #000000;
}

.form-content-radio label:last-child {
	margin: 0;
}

.form-content-radio label::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    border: 1px solid #000;
    background: #FFFFFF;
    z-index: -1;
}

.form-content-radio label:nth-child(2)::before{
	border-radius: 8px 0 0 8px;
}

.form-content-radio label:last-child::before{
	border-radius: 0 8px 8px 0;
}

input[type="radio"]:checked + label {
	color: #000000;
}

input[type="radio"]:checked + label::before {
	background: #ffd5aa;
}

input[type="radio"] {
    display: none;
}

/* select box
--------------------*/

.form-content--selectbox {
	position: relative;
}

.form-content--selectbox:after {
	content: '';
	position: absolute;
	top: 15px;
	right: 15px;
	width: 8px;
	height: 8px;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	transform: rotate(45deg);
	pointer-events: none;
}

/* check box
--------------------*/

.form-content-checkbox input + label {
	white-space: nowrap;
	margin-top: 5px;
}
.form-content-checkbox input + label:before {
	background-color: #fff;
	border:1px solid #999;
	border-radius: 5px;
	box-shadow: 0px 0px 0px #999;
	content: "";
	display: inline-block;
	height: 20px;
	margin-right: 5px;
	transition: all 500ms;
	-webkit-transition: all 500ms;
	vertical-align: middle;
	width: 20px;
}
.form-content-checkbox input:checked + label:before {
	border: 1px solid #f29600;
	background-color: #ffd5aa;
	transition: all 500ms;
	-webkit-transition: all 500ms;
}

/* select
--------------------*/

.form-content-select {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.form-content-select .select-content {
	width: 30%;
}

/* confirm
--------------------*/

.confirm-string {
	display: inline-block;
	color: #000;
}

/* send, done
--------------------*/

.done-area {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.done-area > .btn-style {
	position: absolute;
	bottom: 20px;
	width: calc(100% - 40px);
    margin: 0 20px;
}

/* file
--------------------*/

.form-content-file input {
	border: none;
	padding: 0;
}

/* log
--------------------*/

.log {
	border-bottom: 1px solid #aaa;
	padding: 5px 0;
	position: relative;
}
.log-comment {
	word-break: break-all;
}
.log-datetime {
	position: absolute;
	right: 0;
	top: 5px;
	font-size: 0.9em;
	color: #999;
}
.log-icon {
	text-align: right;
}

/* curtain
--------------------*/

#curtain {
    width: 100%;
    height: 100%;
    text-align: center;
    position: absolute;
    margin-top: 25%;
}
