button.button_head {
	position: absolute;
	width: 96px;
	height: 28px;
	top: 20px;
	left: auto;
	right: 0px;
	margin: 16px 16px 0 0;
	padding: 2px 4px !important;
	font-size: 1.2em;
	font-weight: bold;
	background-color: #FFF;
	color: #369;
	border-style: solid, 1px, #369;
	border:1px solid rgb(192, 192, 192);
	
	/* 角丸の指定 */
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	z-index: 100;
	text-align:center;
}

.lang_switcher {
	position: absolute;
    top: 32px;
    right: 180px;
    font-size: 14px;
    margin-top: 8px;
    display: flex;
    padding-right: 100px;
}

.lang_switcher_og {
    right: 100px;
}

.lang_switcher select {
	-webkit-appearance: button;
	background-color: transparent;
	color: #808080;
}
@-moz-document url-prefix() {
	.lang_switcher select {
		-webkit-appearance: none;
	}
}

.lang_switcher img {
	margin-right: 4px;
}

.lang_switcher .down_arrow_png{
	padding-top:6px;
}

.lang_switcher select{
	-webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.msg_area {
	position: relative;
	margin: auto;
	width: 50%;
	text-align: center;
}

.msg {
	font-size: 1.2em;
	color: #000;
}

.msg_err , .byte_err  {
	font-size: 1.0em;
	color: #f00;
	margin-left: 9px;
	font-weight: 500;
}

.pass_err {
	font-size: 1.0em;
	margin-left: 9px;
}

.digits_err{
	font-size: 1.0em;
	color: #f00;
	margin-left: 9px;
}

.digits_err_jp{
	font-size: 1.0em;
	color: #f00;
	margin-left: 9px;
}

.applitop {
    position:absolute;
    top:20px;
    right:115px;
    width:96px;
    height:28px;
    font-size:1.0em;
    color:#ffffff;
    line-height:28px;
    text-align:center;
    background-color:#e8383d;
		border-radius:8px;
		margin-top: 10px;
}

.estimate {
    position:absolute;
    top:20px;
    right:214px;
    width:68px;
    height:28px;
    font-size:1.0em;
    color:#ffffff;
    line-height:28px;
    text-align:center;
    background-color:#ffc712;
		border-radius:8px;
		margin-top: 10px;
}

.exam_select_div {
	position: absolute;
    top: 32px;
    right: 135px;
	margin-top: 5px;
    display: flex;
	width: 120px;
}

#exam_name_dropdown {
	background: #fff;
	background-image: url(../img/black_down_arrow.png);
	background-size: 15px;
	display: inline;
	background-position: 270px; 
	background-repeat: no-repeat;
}

/*--------------------------------------------------------
解像度900px以下
--------------------------------------------------------*/
@media only screen and (max-width: 823px) {

	.dropdown{
		display: none;
	}
	
.applitop {
	top: 16px;
    right:122px;
    width:76px;
    font-size:8px;
}

.estimate {
	top: 16px;
    right:200px;
    width:56px;
    font-size:8px;
}

.exam_select_div {
    top: 12px;
    right: 50px;
	width: 80px;
}

button.button_head {
	display: none;
	top: 1px;
	right: 40px;
	width: 45px;
	padding: 2px 0px !important;
	margin-right: 0px;
	font-size: 0.7em;
	height: 24px !important;
}

button.button_head.btn_mypage {
	right: 41px;
}

.logo {
	height: 28px !important;
    width: auto !important;
	margin-right: 25px;
	margin-top: 15px !important;
}
.lang_switcher{
	left: 12px;
	top: 10px;
	width: max-content;
}
.globe {
	height: 15px !important;
}
.lang_switcher select{
	margin-top: 10px;
	background-image:url("../../img/down_arrow.png");
	background-size: 6px 6px;
	background-repeat: no-repeat;
	background-position: right center;
	width:55px;
}
.lang_switcher img{
	margin-right:0px;
}
.lang_switcher img.down_arrow_png{
	display: none;
}
#header .headlogo {
    margin-left: 4px;
    text-align: center;
}

#header .headlogo img {
  width: auto;
  margin-top: 12px;
}

}
/* iphone 5 */
@media only screen and (max-width: 320px) {
	button.button_head {
		width: 35px;
		font-size: 0.6em;
	}
	button.button_head.btn_mypage {
		right: 48px;
	}
}

@media only screen and (min-width:1080px) {
	.dropdown{
		display: none;
	}
}

@media only screen and (max-width: 1080px)  {
	.lang_switcher {
        display: none;
    }	
	/* Styles for the dropdown */
	.dropdown {
		position: absolute;
		top: 30px;
		right: 165px;
		font-size: 14px;
		margin-top: 8px;
		padding-right: 100px;
	}

	.dropbtn {
		background-color: transparent;
		color: black;
		cursor: pointer;
		border: 1px solid rgb(192, 192, 192);
        padding: 5px;
        border-radius: 8px;
	}

	.dropbtn:hover, .dropbtn:focus {
		background-color: transparent;
	}

	.dropdown-content {
		display: none;
		position: absolute;
		z-index: 1;
		right: 110px;
		top:30px;
	}

	.dropdown-content li {
		width: 80%;
		text-align: center;
	}

	.dropdown-content button:hover {
		background-color: #f1f1f1;
	}

	/* Show the dropdown content when the dropdown is hovered */
	.dropdown:hover .dropdown-content {
		display: block;
	}
}
