@charset "UTF-8";


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

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: "";
}

abbr,
acronym {
    border: 0;
    font-variant: normal;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    *font-size: 100%;
}

legend {
    color: #C50909;
}

*::before,
*::after {
    box-sizing: border-box;
}

/* base */
/* ---------------- */



form, .form_dl {
    line-height: 1.8;
    line-height: 2;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: inherit;
}


.container {
    width: 90%;
    margin: 50px auto;
    max-width: 960px;
}
.title {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
}

.form {
    margin-top: 30px;
}

.form-item {
    border-bottom: 1px solid #eee;
    padding: 40px 0;
}

.form-t {
	border-top: 1px solid #eee;
}

.form-item-name {
    display: block;
    font-weight: bold;
	color: #c30d23;
}

.form_dl dt{
	color: #c30d23;
}

.form-item-body {
    margin-top: 4px;
}

.error-text,form_dl dt {
    margin-top: 4px;
    color: #f33f3f;
	font-weight: bold;
}

.error-text--center{
    text-align: center;
}

/* input text */
/* ---------------- */

.form-item-text{
    max-width: 400px;
}

.c-form-text {
    height: 2.4em;
    width: 100%;
    padding: 0 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.c-form-text:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}



/* textarea */
/* ---------------- */

.form-item-textarea{
    height: 300px;
}

.c-form-textarea {
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    resize: vertical;
}

.c-form-textarea:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

/* input submit */
/* button */
/* ---------------- */

.form-submit {
    margin: 40px auto 0;
    width: 300px;
}

.c-form-submit-button {
    display: inline-block;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.c-form-submit-button:hover {
    background-color: #000;
}

.c-form-submit-button:focus {
    outline: 0;
    background-color: #000;
    border: 2px solid rgb(33, 150, 243);
}


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

.c-form-radio{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.c-form-radio input {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

.c-form-radio-name {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: #666;
}

.c-form-radio-name:before {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
}

.c-form-radio input:checked + .c-form-radio-name {
    color: rgb(33, 150, 243);
}

.c-form-radio input:checked + .c-form-radio-name:before {
    border: 0.35em solid rgb(33, 150, 243);
}

.c-form-radio input:focus-visible + .c-form-radio-name .c-form-radio-text {
    background: linear-gradient(transparent 90%, rgba(33, 150, 243, 0.3) 90%);
}

/* checkbox */
/* ---------------- */

.c-form-checkbox{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.c-form-checkbox input {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

.c-form-checkbox-name {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: #666;
    position: relative;
}

.c-form-checkbox-name:before {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 6px;
    flex-shrink: 0;
}

.c-form-checkbox input:checked + .c-form-checkbox-name {
    color: rgb(33, 150, 243);
}

.c-form-checkbox input:checked + .c-form-checkbox-name:before {
    border: 1px solid rgb(33, 150, 243);
    background-color: rgb(33, 150, 243);
}

.c-form-checkbox input:checked + .c-form-checkbox-name:after {
    content: "";
    position: absolute;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    left: 0.4em;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0.4em;
    height: 0.65em;
    transform: translateY(-1px) rotate(45deg);
}

.c-form-checkbox input:focus-visible + .c-form-checkbox-name .c-form-checkbox-text {
    background: linear-gradient(transparent 90%, rgba(33, 150, 243, 0.3) 90%);
}

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

.form-item-select{
    max-width: 250px;
}

.c-form-select {
    position: relative;
}

.c-form-select:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 12px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(135deg);
    pointer-events: none;
}

.c-form-select select {
    height: 2.4em;
    width: 100%;
    padding: 0 8px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.c-form-select select::-ms-expand {
    display: none;
}

.c-form-select select:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}


/* テスト */
/* ---------------- */
span.birthday {
width: 90px;
padding:0;
font-size:0px;
}
span.birthday select {
width:110px;
height: 50px;
margin:10px;
border:1px solid black;
display: inline-block;
text-align: center;
font-size:16px;
background-color:#fff;
}