@media screen and (max-width: 768px){

	#levelcheck {
	    margin: 0 auto;
	}

	#part1 {
	    transform: translateX(-100%);
	    float: none;
	    position: fixed;
	    top: 0;
	    left: 0;
	    width: 100%;
	    overflow: auto;
	    height: 100%;
	    background: #e4e5e5;
	    z-index: 10;
	    transition: transform .3s;
	}
	#part1.is-open{
	    transform: translateX(0);
	}

	#part4 {
	    float: none;
	    max-width: 100%;
	}

	.tbarea {
	    max-width: 100%;
	    margin-right: auto;
	    margin-left: auto;
	}

	.tb520 {
	    max-width: 100%;
	    float: none;
	}

	.tb195 {
	    width: 100%;
	    float: none;
	    display: flex;
	    flex-wrap: wrap;
	    margin-bottom: 10px;
	}

	.longarea {
	    max-width: 100%;
	}

	#updateleft {
	    max-width: 100%;
	    float: none;
	    margin-right: auto;
	    margin-left: auto;
	    background-size: 100%;
	}

	#updateright {
	    max-width: 100%;
	    float: none;
	    margin-top: 10px;
	    margin-right: auto;
	    margin-left: auto;
	    background-size: 100%;
	}

	#botarealeft {
	    max-width: 100%;
	    float: none;
	    margin-right: auto;
	    margin-left: auto;
	}

	#botarearight {
	    max-width: 100%;
	    float: none;
	    width: 100%;
	}

	#contents {
	    max-width: calc(100% - 20px);
	    /* width: 10%; */
	    margin: 2px 10px 0 15px;
	}

	#outer {
	    max-width: 100%;
	    overflow: hidden;
	}

	img {
	    max-width: 100%;
	    height: auto;
	}

	#headpos2 {
	    display: none;
	}

	#headpos3 {max-width: 100%;position: static;margin-top: 15px;}

	#aboutta3 {
	    max-width: 100%;
	    box-sizing: border-box;
	    background-size: 100%;
	}

	#abouttxt3 {
	    max-width: 100%;
	}

	#searchexp {
	    max-width: 100%;
	    background-size: 100%;
	}

	.tb520area257 {
	    /* float: none; */
	    width: 50%;
	}

	.tb520area258 {
	    /* float: none; */
	    width: 50%;
	}

	#footer {
	    max-width: 100%;
	    background-size: 100% 100%;
	}

	.tb520area {
	    max-width: 100%;
	}

	#footer #foottxt {
	    float: none;
	}




	#header {
	    max-width: 100%;
	    padding: 10px;
	    box-sizing: border-box;
	    height: auto;
	    background-size: cover;
	    padding-bottom: 20px;
	}

	#breadcrumb {
	    max-width: 100%;
	}

	#ehontitle2 {
	    max-width: 100%;
	    width: 100%;
	    padding-bottom: 26.5vw;
	    height: 21.8vw;
	    background-size: contain;
	}

	#ehontitlebut {
	    transform: translatex(-50%);
	    top: 21.8vw;
	    left: 50%;
	    right: auto;
	}

	#ehontitlebut2 {
	    top: 32vw;
	    left: 50%;
	    transform: translateX(-50%);
	}

	.ehonarea {
	    max-width: 100%;
	}

	#inframe {
	    max-width: 100%;
	    /* padding: 0 10px; */
	    box-sizing: border-box;
	    background-size: 100%;
	}

	.ehonbook {}

	.ehonbook {
	    max-width: 100%;
	    float: none;
	}

	.ehonbookcat {
	    max-width: 100%;
	    background: none;
	}

	.ehonblockl {
	    float: none;
	    width: 100%;
	}

	.ehonblockr {
	    float: none;
	    width: 100%;
	}

	.ehonblock {
	    width: 100%;
	}

	.greybox535 {max-width: 100%;}

	.ehonsearch {
	    margin: auto;
	    float: none;
	    width: 250px;
	    max-width: 100%;
	}




	#ingraphsubti {
	    max-width: 100%;
	}

	.listresep {
	    max-width: 100%;
	}

	.listrebox {
	    max-width: 100%;
	}

	.listreimg {float: none;}

	.listreright {
	    max-width: 100%;
	    float: none;
	}

	.listregreybox.clearfix {
	    max-width: 100%;
	}

	.listrelevel {
	    float: none;
	}

	.listrecata {
	    float: none;
	}

	.listreexpbox.clearfix {
	    max-width: 100%;
	}

	.listrecopy {
	    float: none;
	}

	.listretxt {
	    max-width: 100%;
	    float: none;
	}

	#inylsubtin {
	    max-width: 100%;
	    height: auto;
	    /* background-color: #a59790; */
	    background: none;
	}

	#inylsubtipad {
	    float: none;
	    background-color: #a59790;
	    position: relative;
	}

	#inllsubtiswitch {
		float: none;
		margin: 1em 0;
	}

	.yllllevel {
	    float: none;
	}

	.llnewbook {
	    max-width: 100%;
	    float: none;
	    position: relative;
	    padding-left: 25px;
	    overflow: hidden;
	    /* height: 100%; */
	    margin-top: 15px;
	}

	img.yllimgtn {float: none;display: inline-block;}

	#yllllist {
	    max-width: 100%;
	}

	#yllllist .yllist {
	    max-width: 100%;
	    height: auto;
	    background-position: bottom center;
	    padding-bottom: 20px;
	    min-height: 156px;
	}

	.llnewbook > img.yllimgtn:first-child {
	    position: absolute;
	    top: 0px;
	    left: 0;
	}

	#yllllist .lllist {
	    max-width: 100%;
	    height: auto;
	    background-position: bottom center;
	    padding-bottom: 20px;
	    min-height: 156px;
	}

	.ylgraph table {
		width:100%;
	}
	.ylgraph {
		overflow: auto;
		white-space: nowrap;
	}
	.ylgraph::-webkit-scrollbar {
		height: 15px;
	}
	.ylgraph::-webkit-scrollbar-track {
		background: #f1f1f1;
	}
	.ylgraph::-webkit-scrollbar-thumb {
		background: #bcbcbc;
	}


	#cataarea2 div {
		width:100%;
	}
	#cataarea2 {
		overflow: auto;
		white-space: nowrap;
		width: auto;
	}
	#cataarea2::-webkit-scrollbar {
		height: 15px;
	}
	#cataarea2::-webkit-scrollbar-track {
		background: #f1f1f1;
	}
	#cataarea2::-webkit-scrollbar-thumb {
		background: #bcbcbc;
	}
	#incatasubti {
		height: 50px;
		line-height: 24px;
		width: 98%;
	}

	#inbookpadi2 {
	    max-width: 100%;
	}


	#searcharea table {
		width:100%;
	}
	#searcharea {
		overflow: auto;
		white-space: nowrap;
	}
	#searcharea::-webkit-scrollbar {
		height: 15px;
	}
	#searcharea::-webkit-scrollbar-track {
		background: #f1f1f1;
	}
	#searcharea::-webkit-scrollbar-thumb {
		background: #bcbcbc;
	}

	.bmsono1 {
	    width: auto;
	}    
	.bmarea {
	    width: auto;
	}
	#bmreadtopbox {
	    width: auto;
	    text-align: center;
	}

	#bmlevlist {
	    display: block;
	    width: auto;
	}
	#bmlevlist a {
	    float: left;
	}
	#bmreadarea {
		width: auto;
		float: none;
	}
	#bmreadst {
		width: 100%;
		margin-left: 5px;
	}
	#bmsono2 {
		width: auto;
		margin-left: 20px; 
	}
	#bmsono2 .padside10 {
		width: 80%;
		padding: 10px 0;
	}
	#bmsono2 .padside10 img {
		width: 100%;
	}
	#bmkaisetu {
		width: auto;
	}
	#bmkaisetu img {
		margin: 0 10px;
		max-width: 450px;
	}
	
	#inframe2 {
		width: 460px;
		max-width: 460px;
		margin: 0;
		padding: 0;
	}
	#bookp2head {
		width: auto;
		height: 18px;
	}
	#bookp2head img {
		margin: 3px 0 0 6px;
		max-width: 450px;
	}
	.bookp2title {
		width: 100%;
		max-width: 450px;
		margin: 3px 0 0 6px;
	}
	.bookp2title_left {
		padding: 5px 0;
		height: 30px;
		float:left;
	}
	.bookp2_title_right {
		height: 30px;
	}
	.bookp2_title_right::after {
		clear:both;
	}
	
	#bookp2ti {
		width: 100%;
		max-width: 450px;
	}
	.mihiraki {
		width: auto;
		max-width: 440px;
	}
	.mihiraki .mihimg {
		width: auto;
		padding: 0px 1px;
		max-width: 440px;
	}
	.mihiraki .mihimg img {
		width: auto;
		max-width: 440px;
	}

	#bookexp {
	    max-width: 100%;
	    display: flex;
	    flex-direction: column-reverse;
	    padding: 10px 15px;
	    box-sizing: border-box;
	}

	#booktxt {
	    max-width: 100%;
	    float: none !important;
	    margin-top: 15px;
	}

	#bookimg {
	    float: none;
	}

	#booktxt table {
	    width: 100%;
	    table-layout: fixed;
	}

	#booktxttop {
	    max-width: 100%;
	    box-sizing: border-box;
	}


	img.imgtag {
	    max-width: 100%;
	}

	#headpos1 {
	    position: static;
	    width: calc(100% - 42px);
	}

	#inylsubtipad::before {content: "YL検索";display: flex;align-items: center;position: absolute;top: 0;left: 0;width: 105px;z-index: 1;font-size: 1.5em;padding: 10px;height: 100%;background: #3393e5;box-sizing: border-box;}

	li.menupos {}

	ul#menu {
	    margin-right: auto;
	    margin-left: auto;
	}

	ul#newcont {margin-right: auto;margin-left: auto;}


	.tb195ban {
	    max-width: 50%;
	    display: inline-block;
	}

	#abouttaarea2 {
	    box-sizing: border-box;
	}

	.spadtxt {
	    margin-bottom: 10px;
	}

	#newsarea {
	    margin-top: 20px;
	    margin: 20px auto;
	}

	#ban3 {
	    margin: 20px auto;
	}

	.bookshowarea > .bookshowtxt {
	    max-width: calc(100% - 60px);
	}

	.bookshowarea {
	    max-width: 100%;
	    box-sizing: border-box;
	}

	.udatescroll {
	    max-width: 100%;
	}

	.bookshowtxt {
	    max-width: 100%;
	}

	div#bookbuy {max-width: 100%;}
	.ehontxtlarge {
	    width: calc(100% - 130px);
	}

	.ehontxtsmall {
	    width: calc(100% - 130px);
	}

	.ehonimagesmall {
	    width: 122px;
	}

	.ehonimagesmall img {
	    width: 100%;
	}

	.ehonblockr > img {display: none;}

	.ehonsearcharea {
	    margin: 0 auto;
	}

	.orangebox160 {
	    width: 80%;
	    max-width: 250px;
	}

	.orangebox160 > img {
	    width: 100%;
	}

	.ehonban {
	    max-width: 200px;
	    margin: 10px auto;
	}

	.ehonban img {
	    width: 100%;
	}

	.ehonban + div {
	    text-align: center;
	}
/*20210310追記*/
.sp{
	display: block;
}
	#qaarea {
		width: 95%;
	}
	.qwlist {
		padding-left: 1em;
	}
	.qabox {
		width: 95%;
	}
	.jybara {
		width: 100%;
	}
	.jybcd {
		margin: 0 auto;
		float: none;
	}
	.jybcdtxt {
		width: 100%;
	}
	.jybara2 {
		width: 100%;
	}
	.sotoyamapic {
		float: none;
		margin: 0 auto;
	}
	.sotoyamatxt {
		width: 100%;
		float: none;
	}
	.pad10 ol{
		padding: 0;
	}
	.jybnotebox {
		width: 100%;
		margin: 0;
	}
	.greypad10 {
		width: 100%;
	}
	#inframeblank {
		width: 100%;
	}
	#cataarea {
		overflow-x: scroll;
		white-space: nowrap;
		width: 90%;
	}


}

/* Button */
.button-hamburger {
  position: fixed;
  top: 15px;
  right: 2.5%;
  z-index: 15;
  width: 40px;
  height: 40px;
  border: 0;
  outline: 0;
  background-color: transparent;
  cursor: pointer;
  -webkit-appearance: none; /* Chrome, Safari, Opera, Android */
  -moz-appearance: none; /* Firefox */
  appearance: none; /* IE非対応 */
  background: #40667e;
}

.hamburger {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  border-radius: 4px;
  background-color: #fff;
}

.hamburger:before,
.hamburger:after {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-color: inherit;
  content: '';
  transition: all .3s;
}

.hamburger:before {
  top: -8px;
}

.hamburger:after {
  top: 8px;
}

.is-open .hamburger{
  background: transparent;
}
.is-open .hamburger::before,
.is-open .hamburger::after{
  background: #ffffff;
  top: 0;
}
.is-open .hamburger::before{
  transform: rotate(45deg);
}
.is-open .hamburger::after{
  transform: rotate(-45deg);
}
#incatasubtipad {
    font-size: 0.5em;
    width: 55%;
    line-height: 1;
}

#inllsubtiswitch img{
	margin-top: 0.8em;
}


@media screen and (min-width: 768px) {
  .button-hamburger {
    display: none;
  }
}

span.screen-reader-text {font-size: 0;}

@media screen and (max-width: 768px) {

}
