body {
    font-family: "Noto Sans JP";
    color: #363636;
    -webkit-user-select:none;
}
section {
    /* display: none; */
}
.logo {
    width: 100%;
}
.container {
    min-height: 100vh;
    text-align: center;
    max-width: 480px;
    background-color: #EBF1FD;
}
.content {
    margin-left : 10px;
    margin-right : 10px;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 100vh;
    background-color: rgba( 255, 255, 255, 1.0 );
}
.row {
    padding-top: 10px;
    padding-bottom: 10px;
}
.row-nopadding {
    padding-top: 0px;
    padding-bottom: 0px;
}
label {
    font-weight: bold;
    font-size: 16px;
    color: #6E6E6E;
    margin-top: 8px;
    margin-bottom: 6px;
}
input {
    width: 100%;
}
input.sex {
    width: auto;
    margin-right: 5px;
}
.card-body-sex {
    padding: 4px;
}
select {
    width: 100%;
}
.required::after {
    content: "必須";
    background-color: #EF5C00;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 6px;
    padding-right: 6px;
    margin-left: 5px;
}
.alert {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 0px;
    color: #ff0000;
}
@media (max-height: 649px) {
    h1 {
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: bold;
	height: 52px;
	display: flex;
	justify-content: center;
	align-items: center;
    }
    h1.assessment {
	margin-top: 15px;
	margin-bottom: 10px;
    }
}
@media (min-height: 650px) {
    h1 {
	margin-top: 30px;
	margin-bottom: 30px;
	font-size: 24px;
	font-weight: bold;
	height: 52px;
	display: flex;
	justify-content: center;
	align-items: center;
    }
    h1.assessment {
	margin-top: 30px;
	margin-bottom: 10px;
    }
}
h2 {
    margin-top: 30px;
    font-size: 22px;
    font-weight: bold;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.variable-content-panel {
    text-align: left;
}
.image-panel {
    height: 160px;
}
.image-panel > img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
@media (max-height: 649px) {
    .image-caption {
	text-align: left;
	height: 103px;
    }
    .content-panel {
	text-align: left;
	height: 280px;
    }
    .assessment-panel {
	text-align: left;
	height: 63px;
	margin-top: 20px;
	margin-bottom: 18px;
    }
}
@media (min-height: 650px) {
    .image-caption {
	text-align: left;
	height: 180px;
    }
    .content-panel {
	text-align: left;
	height: 370px;
    }
    .assessment-panel {
	text-align: left;
	height: 143px;
	margin-top: 30px;
	margin-bottom: 18px;
    }
}
p {
    margin-bottom: 0;
}
.button {
    background-color: #5E72E2;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0px 3px 2px #A1ABE8;
    width: 204px;
    height: 45px;
    border: none;
    padding: 0.375rem 0.75rem;
}
.button-disabled {
    background-color: #D5D5D5;
}
.button-light {
    background-color: #D0DFFF;
    color: #363636;
    transition: none !important;
}
.button-light-disabled {
    background-color: #D2D4E0;
    color: #ADADAD;
}
.button:hover {
    color: #ffffff;
}
.button:active {
    background-color: #8C97AF;
    box-shadow: 0px 0px 2px #A1ABE8;
    transform: translateY( 3px );
}
.button-variable {
    width: 100%;
    height: 45px;
}
#btn-play-test {
    background-color: transparent;
    border: 2px solid #5E72E2;
    color: #5E72E2;
}
#btn-play-test:hover {
    background-color: rgba(94, 114, 226, 0.1);
    color: #5E72E2;
}
#btn-play-test:active {
    background-color: rgba(94, 114, 226, 0.2);
    color: #5E72E2;
    transform: translateY( 3px );
}
.button-number {
    font-size: 24px;
}
.heard {
    font-size: 30px;
    width: 280px;
    height: 140px;
}
.progress-bar {
    background-color: #5E72E2;
}
.annotation {
    font-size: 13px;
    margin-bottom: 10px;
}
.copyright {
    margin-top: 30px;
    font-size: 10px;
}
.input {
    height: 44px;
    font-size: 32px;
    font-weight: bold;
    padding-bottom: 4px;
}
/* result */
.card-header {
    background-color: #EBEBEB;
    font-size: 18px;
    font-weight: 600;
}
.card-body img {
    height: 160px;
}
.result-hearing {
    font-size: 20px;
}
.result-hearingloss {
    font-size: 40px;
    font-weight: 600;
}
.result-hearingloss img {
    height: 40px;
}
.badge {
    font-size: 12px;
}
.bg-annotation {
    background-color: #FFFCD8;
}
.bg-normal {
    background-color: #EBFDF9;
    color: #363636;
    font-weight: normal;
}
.bg-hearingloss {
    background-color: #FFE2E2;
    color: #363636;
    font-weight: normal;
}
.legend {
    font-size: 12px;
}
span.legend {
    color: #5EC2E2;
}
.balloon {
    position: relative;
    display: inline-block;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: #D6F5FF;
    border-radius: 4px;
}
.balloon:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -16px;
    border: 16px solid transparent;
    border-top: 16px solid #D6F5FF;
}
.balloon p {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
hr {
    background-color: white;
    border-top: 3px dotted #EBEBEB;
}
h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 18px;
}
.print-only {
    display: none;
}
.col-sm-6 {
    width: 100%;
    margin-bottom: 10px;
}
.version {
    font-size: 13px;
    text-align: right;
}
.enhance {
    color: #FF0202;
    font-weight: bold;
}
@media print {
    @page {
	size: A4;
	margin: 0;
    }
    body {
	margin: 0.0cm;
	padding: 0.0cm;
    }
    .logo {
	width: 50%;
    }
    .container {
	max-width: 100%;
    }
    .col-sm-6 {
	width: 50%;
    }
    .new-page {
	page-break-before: always;
    }
    .print-only {
	display: inline-block;
    }
    .row {
	padding-top: 0px;
	padding-bottom: 0px;
    }
}

/* モバイルデバイスでの入力グループの表示改善 */
.input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.input-group .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.input-group .input-group-text {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* モバイルデバイスでの入力フィールドの幅調整 */
@media (max-width: 768px) {
    .input-group .form-control[style*="width: 60px"] {
        width: 50px !important;
        min-width: 50px;
    }
    
    .input-group .input-group-text {
        font-size: 12px;
        padding: 0.375rem 0.5rem;
    }
}
