@charset "UTF-8";

/* 各種GUIコントロール */
.control {
    border-style: solid;
    border-width: 0.1rem 0 0 0;
    border-color: #3c6;
    padding: 0.5rem 0.5rem 1rem 0.5rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
    height: auto;
    vertical-align: top;
}

.controlTitle {
    height: 1rem;
}

.controlMessage{
    vertical-align: top;
}

.controlMessage {
    margin: 0.3rem 0.3rem 0.3rem 0.3rem;
}

.controlInput {
    display: inline-block;
    margin: 0.1rem;
    width: auto;
    height: auto;
    max-width: 100%;
}

.controlInput > input,
.controlInput > textarea,
.controlInput > select,
.controlInput > p {
    max-width: 100%;
}

.controlInput > p {
    height: 1.4rem;
    vertical-align: middle;
    margin: 0.8rem 0.3rem 0.3rem 0.3rem;
}

.controlInput input[type="checkbox"] {
    margin: 0 0.3rem 0 0.3rem;
    height: auto;
    line-height: normal;
}
.controlInput > label {
    display: inline-block;
    margin: 0.5rem 0;
}

.controlInput > textarea {
    height: 6rem;
}

.controlAdditionalControl > button {
    margin: 0.3rem;
}


/* 和暦入力フォーム*/
.controlInput .JpDateEraBox,
.controlInput .JpDateYearBox,
.controlInput .JpDateMonthBox,
.controlInput .JpDateDayBox {
    width: 4rem;
}


/* 自治体入力フォーム */
.controlInput .MuniInputPrefBox {
    width: 6rem;
}
.controlInput .MuniInputMuniBox {
    width: 12rem;
}


/* ファイル入力 */
.controlInput input[type="file"] {
    font-size: 75%;
    box-sizing: border-box;
    height: 2rem;
}

.controlInput .fileInputClearButton {
    display: block;
    float: right;
    box-sizing: border-box;
    width: 5rem;
    height: 2rem;
    margin: 0;
}
.controlInput .fileInputClearButton + * {
    clear: right;
}

/* photoSelector */
.photoSelectorImage {
    display: block;
}

.photoSelectorClearButton {
    display: inline-block;
    height: 2rem;
    width: 5rem;

    margin: 0 0.25rem;
}

.photoSelectorFile {
    display: none;
}

.photoSelectorFile + label {
    display: inline-block;

    height: 2rem;
    width: 7rem;

    box-sizing: border-box;
    vertical-align: top;
    text-align: center;
    line-height: 1.4rem;

    padding: 0.3rem 1rem;
    border-radius: 0.7rem;
    border-width: 0;
    text-decoration: none;
    color: #FFF;
    background-image: -webkit-linear-gradient(45deg, #3c6 0%, #3c6 100%);
    background-image: linear-gradient(45deg, #3c6 0%, #3c6 100%);
    transition: .4s;
    cursor: pointer;

    margin: 0 0.25rem;
}

.photoSelectorFile + label:hover {
    background-image: -webkit-linear-gradient(45deg, #2b5 0%, #2b5 100%);
    background-image: linear-gradient(45deg, #2b5 0%, #2b5 100%);
}

.photoSelectorFile + label:disabled {
    color: #999999;
    cursor: not-allowed;
    background-image: -webkit-linear-gradient(45deg, #777777 0%, #777777 100%);
    background-image: linear-gradient(45deg, #777777 0%, #777777 100%);
}

.photoSelectorFile + label:focus {
    outline: none;
}

p.photoSelectorFileInfo {
    display: inline-block;
    width: 7rem;
    height: 2rem;

    margin: 0;
    vertical-align: top;
    line-height: 2rem;

    font-size: 70%;
    font-weight: normal;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}