* {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
select:invalid { color: gray; }
select:required:invalid {
	color: gray;
}
option[value=""][disabled] {
	display: none;
}
header div {
	position: relative;
	overflow: hidden;
	height: 213px;
}
.head_img {
	width: 100%;
	position: relative;
	top: -72px;
}
.head_img2 {
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	left: 15%;
}
.form {
	text-align: center;
	margin-top: 68px;
}
.form_text {
	font-size: 36px;
	font-weight: bold;
	color: #323333;
	position: relative;
	margin-bottom: 25px;
	font-family: "游明朝", YuMincho, YuGo-Medium, 'YuGothic', "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.form_text:before {
	content: '';
	display: block;
	position: absolute;
	background-color: #b3b2b3;
	top: 52px;
	left: 50%;
	transform: translate(-50%, 0);
	height: 3px;
	width: 167px;
}
.form_text2 {
	font-size: 16px;
	line-height: 25px;
}
.form_width {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	margin-top: 50px;
}
.question {
	margin: 50px auto;
}
.question_text, .question_text2 {
	position: relative;
	left: 29%;
	margin-bottom: 3px;
}
.question_text p {
	font-size: 22px;
	width: fit-content;
}
.question_text2 p, .haha p {
	font-size: 22px;
	display: inline-block;
}
.question_text2_left, .haha_left {
	margin-left: 105px;
}
.question_box {
	display: flex;
}
.Q_left {
	width: 27%;
	text-align: right;
	margin-right: 20px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	max-height: 43px;
}
.hissu {
	color: #e62019;
	font-size: 15px;
	margin-right: 4px;
}
.Q_text {
	font-size: 22px;
}
.Q_right, .yakusai_right {
	width: 55%;
	position: relative;
}
.right_border {
	height: 43px;
	position: relative;
}
.select_100 {
	width: 100%;
	height: 100%;
	font-size: 21px;
	padding: 0px 10px 0px 10px;
	border: 1px solid;
}
#question10 .select_100 {
    color: gray;
    border: 1px solid #000;
}
.select_100_sankaku, .sankaku {
	width: 43px;
	height: 41px;
	position: absolute;
	top: 1px;
	right: 1px;
	border-left: 1px solid;
	background-color: #e6e5e5;
}
.select_100_sankaku:before, .sankaku:before {
	content: '';
	height: 0px;
	width: 0px;
	display: block;
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(180deg);
	border: transparent solid;
	border-bottom-color: #333;
	border-width: 0px 10px 15px 10px;
	color: #fff;
}
.err_text, .err_text2 {
	position: absolute;
	left: 12px;
	font-size: 20px;
	color: #e62019;
}
.err_text {
	bottom: -30px;
}
.err_text2 {
	bottom: -52px;
}
.kome {
	font-size: 20px;
	color: #666666;
	margin-top: 5px;
	margin-left: 12px;
}
.seinen_flex {
	display: flex;
	align-items: center;
	height: 43px;
	justify-content: space-between;
}
.eto {
	display: flex;
	align-items: center;
	height: 43px;
}
.f_center {
	display: flex;
	align-items: center;
}
.f_center p {
	font-size: 22px;
}
.f_left {
	margin-left: 5px;
}
.nengou_hg, .nen_hg, .tuki_hg, .hi_hg, .eto_hg, .dz_hg, .hatuho_hg, .zoga_hg, .yaku_hg {
	height: 43px;
	position: relative;
}
.nengou_hg select, .nen_hg input, .tuki_hg select, .hi_hg select, .eto_hg select, .dz_hg select, .hatuho_hg select, .zoga_hg input, .yaku_hg input, .question_select{
	width: 100%;
	height: 100%;
	font-size: 21px;
	padding: 0px 10px 0px 10px;
	border: 1px solid;
}
.nengou_hg {
	margin-left: 5px;
	width: 135px;
}
.nen_hg {
	width: 51px;
	margin-left: 10px;
}
.tuki_hg, .hi_hg {
	margin-left: 5px;
	width: 93px;
}
.eto_hg {
	margin-right: 50px;
	width: 86px;
}
.dz_hg {
	margin-left: 5px;
	width: 106px;
}
.hatuho_hg {
	margin-left: 5px;
	width: 138px;
}
.button_flex {
	display: flex;
	justify-content: center;
}
.kakunin, .insatu, .hozon, .sousin {
	width: 165px;
	text-align: center;
	margin: 100px 20px;
	letter-spacing: 20px;
	font-weight: bold;
}
.kakunin p, .insatu p, .hozon p, .sousin p, .modoru p {
	padding-left: 20px;
}
.kakunin p, .kyanseru p, .insatu p, .hozon p, .modoru p, .sousin p {
	font-size: 22px;
	padding-top: 12px;
	padding-bottom: 12px;
	cursor: pointer;
}
.kakunin, .sousin {
	background-color: #ad2528;
	color: #fff;
}
.kyanseru {
	width: 165px;
	text-align: center;
	margin: 100px 20px;
	background-color: #cbcccc;
	color: #323333;
}
.insatu {
	background-color: #16a195;
	color: #fff;
}
.modoru {
	width: 165px;
	text-align: center;
	margin: 100px 20px;
	letter-spacing: 20px;
	background-color: #cbcccc;
	color: #323333;
}
.hozon {
	background-color: #32a1d2;
	color: #fff;
}
.yoteibi {
	font-size: 22px;
	margin-top: 40px;
	margin-bottom: 10px;
}
.zoga_hg {
	width: 150px;
	margin-left: 5px;
}
.yaku_hg {
	width: 65px;
	margin-left: 5px;
}
.flex_top {
	margin-top: 15px;
}
.titi, .haha_input {
	width: 33%;
	height: 100%;
	font-size: 21px;
	padding: 0px 10px 0px 10px;
	border: 1px solid;
}
.haha {
	margin-top: 20px;
	margin-bottom: 3px;
}
.ho_koutuu, .ho_koutuu2, .ho_koutuu3, .ho_koutuu4 {
	height: 100%;
	font-size: 21px;
	padding: 0px 10px 0px 10px;
	border: 1px solid;
}
.ho_koutuu, .ho_koutuu2, .ho_koutuu4 {
	width: 28%;
}
.ho_koutuu3 {
	width: 8%;
}
.unten_left {
	margin-left: 15px;
}
.unten_top {
	margin-top: 45px;
}
.unten_text {
	font-size: 22px;
	margin-bottom: 8px;
}
.eto_sei {
	display: flex;
	margin-top: 30px;
}
.eto_right {
	margin-right: 5px;
}
.seibetu_left {
	margin-left: 25px;
}
#question2, #question4, #question11, #question12, #question13, #question14, #question15, #question10, #question18, #question19, #question20, #question21, #question22, #question23, #question24, #question25, #question26, #question27, #question28, #question29, #question30, #question31{
	display: none;
}
#question, #question3, #question5, #question6, #question7, #question8, #question9, #question16 {
	display: block;
}
.point_not {
	pointer-events: none;
    background-color: #0000000a !important;
	border: none !important;
}
.select_img {
	background-image: url(../img/select.gif);
	background-repeat: no-repeat;
	background-position-x: right;
	background-size: 42px;
}
.Q_text2, .Q_text3, .Q_text4 {
	display: none;
}

/*ウィンドウ終了ボタン*/
.window_close {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	margin-top: 10px;
	margin-bottom: 30px;
}
.window_close_btn{
	max-width: 342px;
	width: 100%;
	background: #890101;
	color: #fff;
	padding: 10px;
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	letter-spacing: 3px;
}



@media screen and (max-width:1024px) {
header div {
	height: 150px;
}
.head_img {
	top: 0px;
}
.head_img2 {
	left: 10%;
}
.question_text, .question_text2 {
	width: fit-content;
}


}

@media screen and (max-width:810px) {
header div {
	height: 120px;
}
.head_img2 {
	width: 275px;
}
.question_box {
	width: 97%;
	margin: 0 auto;
}
.Q_right, .yakusai_right {
	width: 70%;
}
.question_text, .question_text2 {
	left: 30%;
}
.f_center p {
	font-size: 21px;
}
.mail_hurigana{
	display:none;
}
.Q_text4 {
    display: block;
    font-size: 22px;
    text-align: right;
}
.Q_text4 span{
    font-size: 18px;
}
#question29 .hissu {
    position: relative;
    top: -10px;
}
}

@media screen and (max-width:620px) {
.head_img {
	width: 130%;
}
header div {
	height: auto;
}
.head_img2 {
	width: 155px;
	left: 4%;
}
.form {
	margin-top: 15px;
	margin-bottom: 15px;
}
.form_text {
	font-size: 19px;
	margin-bottom: 16px;
}
.form_text:before {
	top: 27px;
	width: 124px;
}
.question {
	margin: 8px auto;
	position: relative;
}
.form_width {
	margin-top: 0px;
}
.form_text2 {
	font-size: 11px;
	line-height: 15px;
}
.Q_text {
	font-size: 14px;
}
.hissu {
	font-size: 10px;
	margin-right: 0px;
}
.question_box {
	width: 90%;
}
.Q_left {
	width: 32%;
	margin-right: 10px;
	max-height: 30px
}
.Q_right {
	width: 100%;
}
.yakusai_right {
	width: 85%;
	margin-top: 27px;
}
.right_border {
	height: auto;
}
.select_100 {
	height: 30px;
	font-size: 14px;
	padding: 0px 5px 0px 5px;
}
.seinen_flex {
	display: flex;
	align-items: center;
	height: 68px;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-content: space-between;
}
.select_100_sankaku, .sankaku {
	width: 30px;
	height: 28px;
}
.select_100_sankaku:before, .sankaku:before {
	top: 50%;
	border-width: 0px 5px 10px 5px;
}
.err_text {
	position: relative;
	bottom: -2px;
	font-size: 12px;
	left: 0px;
}
.kome {
	font-size: 12px;
	margin-left: 0px;
	margin-top: 2px;
}
.nengou_hg {
	height: auto;
	width: 126px;
}
.tuki_hg, .hi_hg, .zoga_hg, .yaku_hg {
	height: auto;
	width: 95px;
}
.eto_hg {
	height: auto;
	margin-right: 15px;
	width: 70px;
}
.dz_hg {
	height: auto;
	width: 95px;
}
.nengou_hg select, .nen_hg input, .tuki_hg select, .hi_hg select, .eto_hg select, .dz_hg select, .hatuho_hg select, .zoga_hg input, .yaku_hg input, .question_select {
	height: 30px;
	font-size: 14px;
	padding: 0px 5px 0px 5px;
}
.hatuho_hg {
	height: auto;
	width: 94px;
	margin-left: 0px;
}
.f_center p {
	font-size: 14px;
}
.seibetu_left {
	margin-left: 0px;
}
.unten_left {
	margin-left: 7px;
}
.nen_hg {
	margin-left: 5px;
	width: 50px;
	height: auto;
}
.hi_hg {
	margin-left: 5px;
}
.kakunin p, .kyanseru p, .insatu p, .hozon p, .modoru p, .sousin p {
	font-size: 14px;
	padding: 10px 0;
}
.kakunin, .insatu, .hozon, .modoru, .sousin {
	letter-spacing: 15px;
	padding-left: 15px;
}
.kakunin, .insatu, .hozon, .kyanseru, .modoru, .sousin {
	width: 31%;
	margin: 6px;
}
.question_text2 p, .haha p {
	font-size: 14px;
}
.question_text2 {
	position: absolute;
	left: 28%;
	top: 2px;
}
.question_text{
	position: absolute;
    left: 31.2%;
	top: 2px;
}
.titi {
	margin-top: 21px;
}
.haha_input, .titi {
	width: 47%;
	height: 30px;
	font-size: 14px;
}
.haha {
	margin-top: 5px;
}
.yoteibi {
font-size: 12px;
    margin-top: 15px;
    margin-bottom: 5px;
}
.question_text p {
	font-size: 14px;
	margin-top: 5px;
}
.ho_koutuu, .ho_koutuu2, .ho_koutuu4 {
	width: 26%;
}
.ho_koutuu, .ho_koutuu2, .ho_koutuu3, .ho_koutuu4 {
	font-size: 14px;
	height: 30px;
	padding: 0px 3px 0px 3px;
}
.unten_text {
	font-size: 13px;
	margin-bottom: 5px;
}
.zoga_hg {
	width: 29%;
}
.eto_sei {
	margin-top: 5px;
}
.eto {
	height: auto;
}
.err_text2 {
    position: relative;
    bottom: -2px;
    font-size: 12px;
    left: 0px;
}
.unten_top {
	margin-top: 18px;
}
.ho_koutuu3 {
	width: 12%;
}
.button_flex {
	width: 92%;
	margin: 0 auto;
}
.select_img {
	background-size: 30px;
}
.mail {
	display: none;
}
.Q_text2 {
	display: block;
	font-size: 14px;
	text-align: left;
}
.Q_text3 {
	display: block;
	font-size: 14px;
	text-align: right;
}
#question .hissu, #question6 .hissu, #question18 .hissu, #question9 .hissu, #question12 .hissu, #question13 .hissu, #question14 .hissu {
	position: relative;
	top: -8px;
}
.tuki_hg {
	margin-left: 0px;
}
.hatuho_hg {
	width: 128px;
}
.flex_top {
	margin-top: 9px;
}
.question_text2_left, .haha_left {
	margin-left: 72px;
}
.zyuusyo {
	width: 20%;
}
.button2 {
	margin: 20px 6px;
}
.top_text {
	margin-top: 25px;
	margin-bottom: 30px;
}
.Q_text4 {
    font-size: 14px;
}
.Q_text4 span {
    font-size: 10px;
}
#question29 .hissu{
    position: relative;
    top: -8px;
}
.window_close_btn{
	max-width: 60%;
	font-size: 14px;
}
}

@media screen and (max-width:375px) {
.Q_text {
	font-size: 12px;
}
.form {
	margin-top: 15px;
	margin-bottom: 15px;
}
.kome {
	margin-top: 3px;
	font-size: 11px;
}
.question {
	margin: 7px auto;
}
.head_img2 {
	width: 145px;
}
.hissu {
	transform: scale(0.9);
}
.form_text2 {
	line-height: 14px;
}
.select_100 {
	font-size: 12px;
	height: 25px;
}
.select_img {
	background-size: 25px;
}
.err_text {
	font-size: 10px;
}
.yoteibi {
    font-size: 11px;
    margin-top: 10px;
}
.kakunin p, .kyanseru p, .insatu p, .hozon p, .modoru p, .sousin p {
	padding: 8px 0;
}
.f_center p {
	font-size: 12px;
}
.question_text p {
	font-size: 12px;
	margin-top: 3px;
}
.question_text2 p, .haha p {
	font-size: 12px;
}
.question_text2_left, .haha_left {
	margin-left: 97px;
}
.haha_input, .titi {
	height: 25px;
	font-size: 12px;
}
.titi {
}
.haha {
	margin-top: 1px;
}
.question_text{
	top: 1px;
}
.question_text2 {
    top: 1px;
}
.seinen_flex {
	height: 58px;
}
.Q_left {
	max-height: 25px;
}
.nengou_hg select, .nen_hg input, .tuki_hg select, .hi_hg select, .eto_hg select, .dz_hg select, .hatuho_hg select, .zoga_hg input, .yaku_hg input, .question_select{
	height: 25px;
	font-size: 12px;
}
.ho_koutuu, .ho_koutuu2, .ho_koutuu3, .ho_koutuu4 {
	font-size: 12px;
	height: 25px;
}
.unten_text {
	font-size: 12px;
	margin-bottom: 5px;
}
.err_text2 {
	bottom: -33px;
	font-size: 10px;
}
.Q_text2, .Q_text3 {
	font-size: 12px;
}
.Q_right {
	width: 104%;
}
#question .hissu, #question6 .hissu, #question18 .hissu {
	position: relative;
	top: -7px;
}
.nen_hg {
}
.tuki_hg, .hi_hg {
	width: 95px;
}
.eto_hg, .zoga_hg, .yaku_hg {
	width: 69px;
}
.hatuho_hg {
	width: 98px;
}
#question9 .eto_hg, #question9 .dz_hg {
	width: 95px;
}
.eto_hg {
	margin-right: 8px;
}
.yakusai_right {
	margin-top: 20px;
}
.kakunin, .insatu, .hozon, .kyanseru, .modoru, .sousin {
	width: 30%;
}
.question_text2_left, .haha_left {
	margin-left: 68px;
}
.zyuusyo {
	width: 21%;
}
.nengou_hg {
	width: 100px;
}
.top_text {
    margin-top: 25px;
    margin-bottom: 30px;
}
.Q_text4 {
    font-size: 12px;
}
.window_close_btn{
	max-width: 59%;
}
}

@media screen and (max-width:360px) {
.Q_left {
	width: 35%;
}
.question_text2 {
    left: 29.5%;
}
.question_text {
    left: 33%;
}
.question_text2_left, .haha_left {
	margin-left: 60px;
}
.ho_koutuu, .ho_koutuu2, .ho_koutuu3, .ho_koutuu4 {
	padding: 0px 2px 0px 2px;
}
.form_text2 {
	font-size: 10px;
}
.nen_hg {
}
.tuki_hg, .hi_hg {
	width: 88px;
}
.eto_hg, .zoga_hg, .yaku_hg {
	width: 63px;
}
#question9 .eto_hg, #question9 .dz_hg {
	width: 89px;
}
.form {
	margin-top: 10px;
	margin-bottom: 10px;
}
.head_img {
	width: 110%;
}
.head_img2 {
	width: 110px;
}
.kakunin p, .kyanseru p, .insatu p, .hozon p, .modoru p, .sousin p {
	padding: 8px 0;
}
.dz_hg {
	width: 87px;
}
.zyuusyo {
	width: 23.5%;
}
.unten_text {
	font-size: 11px;
}
.top_text {
    margin-top: 20px;
    margin-bottom: 25px;
}
}
