@media screen and (max-width: 768px) {


 /* ----------------------------------------

◆body,h1などサイトに合わせて変更

◆置換しましょう
#2C3F51 → ヘッダー上部の紺色
#ECEFF2 → h1背景色

---------------------------------------- */

 html,
 body,
 div,
 span,
 iframe,
 h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 p,
 a,
 strong,
 b,
 dl,
 dt,
 dd,
 ol,
 ul,
 li,
 form,
 label,
 table,
 tbody,
 tfoot,
 thead,
 tr,
 th,
 td {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
 }

 html {
  height: 100%;
 }

 body {
  font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
  line-height: 1.5rem;
  font-weight: 500;
  width: 100%;
  height: 100%;
  position: relative;
  background: #fff;
  overflow: auto;
  color: #333;
 }

 div:after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0.1px;
  font-size: 0.1em;
  line-height: 0;
  clear: both;
 }

 table {
  border-collapse: collapse;
  border-spacing: 0;
 }

 img {
  vertical-align: bottom;
  max-width: 100%;
  max-height: 100%;
 }

 a {
  text-decoration: none;
 }

 h1 {
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  background: #ECEFF2;
  font-size: 9px;
  line-height: 15px;
  padding: 53px 2px 2px 2px;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  -webkit-line-clamp: 1;
  overflow: hidden;
 }

 .wrap {
  overflow: hidden;
  padding-top: 51px;
 }

 /* ----------------------------------------
	common
---------------------------------------- */
 .smart_off {
  display: none;
 }


 /* ----------------------------------------
	header
---------------------------------------- */
 header {
  display: none;
 }

 .h_spnav {
  width: 100%;
  border-top: 5px solid #2C3F51;
  border-image: linear-gradient(to right, #33b2e1 0%, #33ad75 100%) 1;
  border-top: 3px solid;
  margin: 0 auto;
  background: #fff;
  top: 0;
  left: 0;
  overflow: hidden;
  height: 45px;
  position: fixed;
  z-index: 4;
 }

 .kaitori_sp_header {
  border-top: 5px solid #00974a;
  border-bottom: none;
  height: 70px;
  position: absolute;
  top: -50px;
 }

 .h_spnav:after {
  content: "";
  clear: both;
  display: block;
 }

 .kaitori_sp_logo {
  width: 47% !important;
  padding-left: 12px;
 }

 .kaitori_sp_h1 {
  text-align: left;
  background: #fff;
  padding: 0px 2px 2px 20px;
 }

 .h_splogo {
  float: left;
  width: 240px;
  height: 100%;
  background: #fff;
  z-index: 100;
 }

 .h_splogo a {
  height: 100%;
  box-sizing: border-box;
  padding: 9px 5px 3px 5px;
  display: block;
 }

 .h_menu {
  float: right;
  width: 15%;
  height: 50px;
  border-left: 1px solid #999;
 }

 .h_menu a {
  display: block;
  box-sizing: border-box;
  height: 46px;
  text-align: center;
 }

 nav .mm-listview p {
  margin: 0;
 }

 nav .mm-listview a {
  font-weight: bold;
  font-size: 14px;
 }



 /* ----------------------------------------
	footer
---------------------------------------- */
/* ----------------------------------------
	footer
---------------------------------------- */
footer{
	background:none !important;
	padding:20px 0px 0px 0px !important;
}
.f_link{
	border-bottom:solid 1px #595757;
	padding-bottom:20px;
}
.f_link ul{
        display: flex;
        justify-content: center;
        gap: 18px 0px;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 15px;
        width: fit-content;
        margin: 0px auto 0px auto;
}
.f_link ul li{
	
}
.f_link ul li a{
	display: block;
	font-size: 15px;
	font-weight: normal;
	color: #595757;
	padding: 0px 20px;
	line-height: 26px;
	position: relative;
	border-right:solid 1px #595757;
}
.f_link ul li:nth-child(4) a{
	border-left:solid 1px #595757;
}
.f_link ul li:first-child a{
	border-left:solid 1px #595757;
}
.f_logo{
        display: block;
        width: 50%;
        margin: 20px auto 0px auto;
}
.f_logo img{
	width:100%;
}
footer p{
        font-size: 12px;
        text-align: center;
        margin-top: 20px;
        padding-bottom: 5px;
        color: #595757;
}


 /*--/footer--*/


 .result_syubetsu_jamp {
  width: 100%;
  margin: 0px auto 20px auto;
 }

 .result_syubetsu_jamp ul {}

 .result_syubetsu_jamp ul li {
  margin-bottom: 10px;
 }

 .result_syubetsu_jamp ul li a {
  display: block;
  text-align: center;
  border: solid 1px #333;
  line-height: 39px;
  text-decoration: none;
  font-size: 17px;
 }

 .result_syubetsu_jamp ul li a:hover {
  background: #333;
  color: #fff;
 }

 /*熊本 買取LP*/
 .kaitori_footer_wrap {
  margin-top: 40px;
  padding-top: 40px;
  border-top: solid 1px #cccccc;
 }

 .kaitori_footer_wrap img {
  display: block;
  margin: auto;
 }

 .kaitori_footer_wrap p {
  text-align: center;
  font-size: 13px;
  width: 92%;
  margin: 10px auto;
 }

 .kaitori_footer {
  margin-bottom: 80px;
  padding-bottom: 95px;
 }

 .kaitori_f_copy {
  width: 100%;
  margin: 30px 0px 0px 0px;
  background-color: #00974a;
  font-size: 13px;
  line-height: 35px;
  text-align: center;
  color: #fff;
 }

 .form_h2 {
  margin-top: 20px;
  line-height: 1.4;
 }

 .pan_wrap {
  width: 100%;
  color: #666;
  position: relative;
  padding: 0 2%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  box-sizing: border-box;
  font-size: 10px;
 }

 .pan_wrap div {
  padding-right: 0px !important;
 }

 .pan_wrap div,
 .pan_wrap a {
  padding-right: 5px;
  display: inline-block;
  font-size: 10px;
  line-height: 17px;
  margin: 2px 0px;
 }

 .pan_wrap a {
  border: 1px solid #006DD9;
  border-radius: 3px;
  background: #F0F8FF;
  display: inline-block;
  padding: 1px 5px;
 }

 .pan_wrap h2 {
  font-size: 10px;
  line-height: 17px;
  font-weight: normal;
  margin: 0;
  width: 100%;
 }

 .pan_wrap::-webkit-scrollbar {
  height: 2px;
 }

 .pan_wrap::-webkit-scrollbar-track {
  margin: 0 2px;
  background: #ccc;
  border-radius: 5px;
 }

 .pan_wrap::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 5px;
 }

 
 .t_bn_wrap {
        margin: 60px 0px;
       }
      
       .t_bn_wrap h2 {
        font-size: 24px;
        font-weight: normal;
        padding-bottom: 6px;
        border-bottom: solid 2px #00A0DF;
        width: fit-content;
        margin: 0px auto 30px auto;
       }
      
       .t_bn_wrap ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: self-start;
        gap: 20px 4.6%;
       }
      
       .t_bn_wrap ul li {
        width: 43%;
       }
      
       .t_bn_wrap ul li a {
        display: block;
       }
      
       .t_bn_wrap ul li a img {
        width: 100%;
        border: solid 1px #595757;
       }
      
       .t_bn_wrap ul li p {
        font-size: 13px;
        font-weight: normal;
        margin: 12px 0px 0px 0px;
        color: #595757;
        line-height: 18px;
        text-align: center;
       }
      
       .t_bn_wrap ul li p span {
        font-size: 15px;
        font-weight: bold;
        display: block;
        position: relative;
        width: fit-content;
        margin: 5px auto 0px auto;
        padding-right: 10px;
       }
      
       .t_bn_wrap ul li p span:before {
        content: "";
        position: absolute;
        bottom: 0px;
        top: 10px;
        margin: auto;
        right: -8px;
        width: 13px;
        height: 28px;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url(/img/top/blank_icon.webp);
       }
      
}

/* media screen fin */
