
@media screen and (max-width: 640px) {
h1, h2, h3, h4, h5, h6, input, button, textarea, select, p, blockquote, th, td, pre, address, li, dt, dd {
	font-size: 14px;
}
.under #content .inner {
	width: 100%;
}
.under .image_l, .under .image_r {
	float: none;
	text-align: center;
	margin: 0 auto 20px;
}
/*top_info*/
.under #top_info .inner {
	height: 120px;
}
.under #top_info {
	background: url(../images/h2_under.jpg) no-repeat center right 30%;
	background-size: cover;
}
/*section*/
.under .section, .under .section_h3 {
	padding: 0 0 30px 0;
}
.under .section_r h5, .under .section_l h5 {
	width: 100%;
	float: none;
	box-sizing: border-box
}
/*<h2> - <h3> - <h4> - <h5> - <h6>*/
.under h2, .under h3, .under h4, .under h5, .under h6 {
	line-height: 1.45em;
}
.under h4, .under h5, .under h6 {
	margin-bottom: 20px;
}
.under .h2_en, .under .h3_en {
	font-size: 18px;
	margin-bottom: 5px;
}
.under .h2_jp {
	font-size: 30px;
	line-height: 1.25em;
}
.under .h3_jp {
	font-size: 26px;
	line-height: 1.25em;
}
.under h4 {
	font-size: 22px;
	background-position: left top 10px;
	background-size: 22px auto;
	padding-left: 30px;
}
.under h5 {
	background-position: left top 6px;
}
/*table*/
.under table.tb_block th, .under table.tb_block td {
	width: 100% !important;
	display: block !important;
	box-sizing: border-box;
	border: none;
	word-break: break-all;
}
.under table.tb_block tr {
	border: 1px solid #c2c2c2
}
.under table.tb_block td + td {
	border-top: 1px solid #c2c2c2
}
/*package_tb01*/
.under table.package_tb01 {
	margin-bottom: 50px;
}
.under table.package_tb01:after {
	background-size: 40px auto;
	width: 40px;
	height: 50px;
	bottom: -40px;
}
.under table.package_tb01 th.w20 {
	width: 40% !important
}
.under .txt_big {
	font-size: 120%
}
.under table.w40 {
	width: 100% !important
}
/*list*/
.under .list_link li, .under .list01 li {
	padding-left: 15px;
}
/*button*/
.under .box_btn {
	flex-flow: column wrap
}
.under .box_btn .under_btn01 {
	margin-bottom: 10px;
}
    .under .under_btn01.fl {
	margin: 0 auto 10px;
    float:none;

}
.under .under_btn01.fr {
	margin: 0 auto 10px;
    float:none;

}
.under .under_btn01 a {
	width: 300px;
	height: auto;
	font-size: 15px;
	padding: 10px 15px;
}
.under .under_btn01.btn_w a{
	padding: 10px 22px 10px 7px;
	margin-top: 1.5em;
}
.under .under_btn01 a:before, .under .under_bnr01 a:before, .under .under_bnr02 a:before {
	right: 10px;
	top: 0;
}
.under .under_btn01.right {
	justify-content: center
}
/*frame*/
.under #content .frame02 dt {
	line-height: 1.35em;
	font-size: 22px;
	padding: 10px 12px;
	flex-direction: column;
}
.under .frame02 dt .title {
	display: block;
	margin: 5px auto 5px;
	width: 100px;
	font-size: 14px;
}
.under .frame02 dt, .under .frame02 dd {
	padding: 12px;
}
.under .frame02 dd p {
	padding: 0 5px;
}
/*banner*/
.under .under_bnr01 {
	flex-flow: column nowrap;
}
.under .under_bnr01 li {
	width: 100%;
	margin-bottom: 10px;
}
.under .under_bnr01 li:last-child {
	margin-bottom: 0
}
.under .under_bnr01 a {
	font-size: 14px;
}
.under .under_bnr01 .bnr01_top {
	font-size: 18px;
}
.under .bnr01_bottom {
	font-size: 32px;
}
.under .bnr01_bottom .txt_yen {
	font-size: 22px;
}
/**/
.under .under_bnr02 li {
	width: 100%;
}
.under .under_bnr02 a {
	font-size: 15px;
	padding: 20px 15px 20px 5px;
}
.under .under_bnr02 .bnr02_txt01.txt_sp {
	font-size: 130%;
	letter-spacing: -0.5px;
	display: block
}
.under #topic_path {
	margin: 10px 0 25px;
}
/*====LAM=====*/
.under .bnr01 {
	width: 100%;
	padding: 20px 10px 10px;
}
.under .under_btn01.under_btn01_r a {
	margin: 0 auto;
}
.under .step01 dl dt .step_icon {
	width: 65px;
	flex-shrink: 0;
}
.under .step01 dl {
	border-width: 1px;
}
.under .step01 dl dt {
	padding: 7px;
}
.under .step01 dl:before {
	bottom: -20px;
}
.under .bnr01_tel_big {
	font-size: 24px;
}
.under .bnr01_hour {
	font-size: 12px;
}
.under .step01 dl dd {
	padding: 10px;
}
.under .step01 dl dt .step_icon {
	margin-right: 10px;
}
.under .step01 dl dt .step_title {
	line-height: 1.4;
}
.under .right_pc {
	text-align: left;
}
.under .list_cate {
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.under .list_cate li {
	margin-bottom: 25px;
}
.under .list_cate li:last-child {
	margin-bottom: 0;
}
.under#member table tr, .under#member_cate table tr {
	border: 0;
}
.under .member_img {
	margin: 0 auto;
}
.under .result_img a {
	width: 100%;
}
.under table.mailform {
	margin: 0;
	padding: 0;
}
.under table.mailform tr th, .under table.mailform tr td {
	width: auto;
}
.under table div.fmail_must {
	margin: 0 5px 0 15px;
}
.under table.mailform tr th {
	padding: 8px 8px 8px 8px;
	display: flex;
	align-items: center;
}
.under table.mailform tr td {
	padding: 8px 8px 8px 8px;
}
.under #fmail li {
	margin-bottom: 8px;
}
.under #fmail input.fmail {
	font-size: 14px;
}
.under .submit_confirm_button, .under .submit_cancel_button, .under .submit_send_button {
	margin: 15px 0 0;
}
.under form.fmail_submit, .under form.fmail_cancel {
	float: none;
	margin: 0 auto 0;
	width: 100% !important;
    text-align: center !important;
}
.under#news .news_list {
	justify-content: center;
}
.under#news .news_list li {
	width: 100%;
	margin-right: 0;
	margin-bottom: 35px;
}
.under#news .news_list li .news_img {
	margin: 0 auto 25px;
}
.under#news_detail .news_img {
	width: 100%;
}
.under .table_info {
	width: 100%;
}
.under .phone_mail {
	font-size: 24px;
}
.under div#fmail_thankspage{
	font-size: 14px;
}
	.under .title04 {
    font-size: 28px;
    font-weight: bold;
    color: #3361a5;
    font-family: 'NotoSerifCJKjp-Medium';
    text-align: center;
    margin-bottom: 0px !important;
		line-height: 1.2em!important;
}
.box_flex_b li a {
    font-size: 15px;
    padding: 20px 15px 20px 5px;
}
	.box_flex_b{
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
}
.box_flex_b li{
	width:100%!important;
	display: flex;
	align-items: center;
	margin: 10px 0;
}
	.box_flex_b li:last-child a{
	display: block;
	}
	.step_b{
	display:flex;
	justify-content: space-between;
	align-items: stretch;
		flex-wrap: wrap;
}

	.step_b li{
	width: 100%;
	background: rgb(164,3,3);
background: linear-gradient(184deg, rgba(164,3,3,1) 0%, rgba(241,96,96,1) 100%);
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 18px!important;
	color: #FFFFFF;
	text-align: center;
	padding: 15px 5px;
border: 2px solid #E7E7E7;
position: relative;
margin-right:0;
		margin-bottom: 40px;
font-size: 16px;
font-weight: bold;
}
.step_b li:last-child{
	margin-right: 0;
}
	.step_b li br{
		display: none;
	}
.step_b li::after{
	content: '';
top: inherit;
bottom: -45px;
right: calc(50% - 15px);
position: absolute;
width: 0;
height: 0;
border-top: 20px solid transparent;
border-left: 15px solid #AFAFAF;
border-bottom: 20px solid transparent;
transform: rotate(90deg);
}

.step_b li:last-child::after{
	border: none;
}
.box_flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
	flex-wrap: wrap;
}
	.box_flex > div {
    width: 100%;
		margin-bottom: 20px;
}
	.heightLine{
		height:auto!important;
	}
    .btn_01 a {
  width: 100%;
        max-width: 400px;
  height: auto;
        font-size: 18px;

}
    .under .under_bnr02_02 li {
    width: 100%;
}
    .under .under_bnr02_02 .btn_03 a::before {
    right: 10px;
    top: 0;
}

.under#member .under_bnr02_login {
	flex-wrap: wrap;
}

.under#member .under_bnr02_login li {
  width: 100%;
  max-width: 450px;
}
	
}

@media screen and (max-width: 425px) {
	.under#profile .dflex_table_td {
		flex-wrap: wrap;
		gap: 20px;
	}
	  
	.under#profile .dflex_table_td p {
		width: 100%;
	}
}

@media screen and (max-width: 412px) {
.under .under_bnr01 a {
	font-size: 3.6vw;
}
.under .under_bnr01 .bnr01_top {
	font-size: 4.2vw;
}
        .under .under_btn01.fl {
	margin: 0 auto 10px;
    float:none;

}
.under .under_btn01.fr {
	margin: 0 auto 10px;
    float:none;

}
}
@media screen and (max-width: 320px) {
	
	.box_flex_b span{
		display:block;
	}
	.box_flex_b br{
		display:none;
	}
	.under .title04 {
    font-size: 24px;
    font-weight: bold;
    color: #3361a5;
    font-family: 'NotoSerifCJKjp-Medium';
    text-align: center;
    margin-bottom: 0px !important;
    line-height: 1.2em !important;
}
	.under .title05 {
    font-size: 18px;
    line-height: 1.35em;
		color: #d02934;
	font-family: 'NotoSerifCJKjp-Medium';
	text-align: center;
	font-weight: bold;
}
}