@charset "utf-8";
/* last-update 2018/01/12 */

/*------------------------------
	モバイルメニュー
------------------------------*/
/* background */
.drawer--left .drawer-hamburger {
  display: none;
  top: 5px;
  left: auto;
  right: 5px;
  width: 3rem;
  background: #584b2c;
  border-radius: 5px;
  padding: 12px 8px 22px;
}
.drawer--left.drawer-open .drawer-hamburger {
  left: auto;
  right: 5px;
}
/* line */
.drawer-hamburger-icon,
.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
  background-color: #fff;
}
.drawer-open .drawer-hamburger-icon:before {
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
}
.drawer-open .drawer-hamburger-icon:after {
  -webkit-transform: rotate(-225deg);
  transform: rotate(-225deg);
}
.drawer-overlay {
  background-color: rgba(0, 0, 0, 0.3);
}
.drawer-nav {
  display: none;
}
/* menu */
.drawer--left .drawer-nav {
  display: none;
  left: -260px;
  width: 260px;
  background: #fff;
  font-size: 1.2rem;
}
.drawer-menu {
  padding: 20px 10px;
}
.drawer--left .drawer-nav > li {
  margin-bottom: 50px;
}
.drawer--left.drawer-open .drawer-nav {
  left: 0;
}
.sp-nav {
  margin-bottom: 30px;
  text-align: center;
}
.sp-nav .slide ul {
  width: 160px;
  margin: 0 auto;
}
.sp-nav .slide a {
  display: block;
  background: #e1dace;
  border-bottom: 1px dotted #a7a5a1;
  padding: 10px 10px 8px;
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  color: #333;
}
/* .sp-nav>li {
	margin-bottom: 0;
}
.sp-nav a {
	display: block;
	position: relative;
	padding: 16px 40px 14px 20px;
	border-bottom: 2px solid #F00;
	text-decoration: none;
	color: #999;
}
.sp-nav a::after {
	content: '';
	position: absolute;
	z-index: 10;
	top: 20px;
	right: 20px;
	width: 10px;
	height: 10px;
	border-top: 2px solid #F00;
	border-right: 2px solid #F00;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.sp-nav a:hover {
	color: #F00;
} */
.sp-banner {
  margin-bottom: 30px;
}
.sp-banner li {
  margin-bottom: 10px;
}
.drawer-menu .catlist li {
  font-size: 1.2rem;
}
.sp-side {
  width: 230px;
  margin-left: auto;
  margin-right: auto;
}

/*===============================================
  画面の横幅が680px以下に適用
===============================================*/
@media screen and (max-width: 680px) {
  /*--------------------------------------
		common
	--------------------------------------*/
  html {
    font-size: 62.5%;
  }
  /* box-sizing（padding、borderを含んだ幅、高さにする） */
  *,
  *:before,
  *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
  }
  /* border-boxでfancyboxがズレるのでその対策 */
  #overlaybox,
  #fancybox-tmp,
  #fancybox-loading,
  #fancybox-overlay,
  #fancybox-wrap,
  #fancybox-outer,
  #overlaybox *,
  #fancybox-tmp *,
  #fancybox-loading *,
  #fancybox-overlay *,
  #fancybox-wrap *,
  #fancybox-outer * {
    -o-box-sizing: content-box;
    -ms-box-sizing: content-box;
    box-sizing: content-box;
  }
  img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  body,
  #wrap {
    width: auto;
    min-width: 375px;
  }
  div.sbox-cen h1.stext {
    font-weight: normal;
  }
  div.sbox-cen p.summary {
    display: none;
  }
  body h1.seotext {
    padding-bottom: 0;
    font-size: 1rem;
  }
  body h1.seotext span {
    display: none;
  }
  /* drawer */
  .drawer--left .drawer-hamburger,
  .drawer--left .drawer-nav {
    display: block;
  }
  /*--------------------------------------
		#header
	--------------------------------------*/
  #header {
    width: 100%;
    padding: 0;
  }
  #header .header {
    width: auto;
    padding: 10px 20px;
  }
  #header .header .logo {
    float: none;
    width: 120px;
    padding: 0;
    margin: 0 auto 0 0;
    text-align: left;
  }
  #header .header .info {
    display: none;
  }
  #nav {
    display: none;
  }
  #mainimg {
    overflow: hidden;
  }
  #mainimg img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 120%;
  }
  /*--------------------------------------
		#content
	--------------------------------------*/
  #main {
    width: 100%;
    padding: 30px 0 0;
    margin: 0;
  }
  #content {
    float: none;
    width: 92.6%;
    padding: 0 0 30px;
    margin: 0 auto;
    font-size: 1.4rem;
  }
  #content .panz {
    font-size: 1.2rem;
    line-height: 1.6;
  }
  #content h3 {
    padding: 0 0 10px;
    line-height: 1.6;
  }
  #content h4 {
    padding: 6px 10px 5px;
    line-height: 1.4;
  }
  /* table */
  #content table th {
    width: 30%;
  }
  #content table th,
  #content table td {
    padding: 11px 10px 8px;
  }
  #content .scroll {
    overflow: auto;
    white-space: nowrap;
  }
  #content .scroll::-webkit-scrollbar {
    height: 5px;
  }
  #content .scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  #content .scroll::-webkit-scrollbar-thumb {
    background: #bcbcbc;
  }
  .responsive-table {
    margin-bottom: 25px;
  }
  .responsive-table table.tab {
    min-width: 660px;
    margin-bottom: 0;
  }
  #content p.contact {
    margin-bottom: 0;
  }
  /* #pagetop,
	#main #pagetop {
		display: none;
		position: fixed;
		z-index: 100;
		right: 5px;
		bottom: 5px;
	} */
  /*--------------------------------------
		#side
	--------------------------------------*/
  #side {
    display: none;
    float: none;
    margin: 0 auto;
    font-size: 1rem;
  }
  #side p.top,
  #side .nav,
  #side .infobar,
  #side .info {
    display: none;
  }
  #side .banner,
  #side .catbar,
  #side .catlist {
    text-align: center;
  }
  /*--------------------------------------
		#footer
	--------------------------------------*/
  #fnav {
    display: none;
  }
  #fnav ul {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  #fnav ul li {
    display: block;
    position: relative;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #f00;
  }
  #fnav ul li:first-child {
    border-top: 1px solid #f00;
  }
  #fnav ul li + li {
    border-left: none;
  }
  #fnav ul li a {
    position: relative;
    display: block;
    padding: 11px 10px 9px;
    font-size: 1.4rem;
    font-weight: normal;
    text-align: left;
    text-decoration: none;
    display: block;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  #fnav ul li a::after {
    content: '';
    position: absolute;
    z-index: 10;
    top: 17px;
    right: 20px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #f00;
    border-right: 2px solid #f00;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  #fnav ul li a:hover {
    text-decoration: none;
  }
  #fnav ul li a:hover::after {
    -webkit-transform: translateX(3px) rotate(45deg);
    transform: translateX(3px) rotate(45deg);
  }
  #footer .footer {
    width: auto;
    padding: 15px 20px;
  }
  #footer .footer p {
    line-height: 1.6;
    text-align: center;
  }
  #footer .footer address {
    text-align: center;
  }
  /*--------------------------------------
		contents
	--------------------------------------*/
  /* .imgleft, .imgright */
  #content .imgleft .image,
  #content .imgright .image {
    width: 30%;
  }
  #content .imgleft .image {
    margin-right: 20px;
  }
  #content .imgright .image {
    margin-left: 20px;
  }
  #content .imgleft .image li,
  #content .imgright .image li {
    margin-bottom: 10px;
  }
  #content .imgleft .image li a,
  #content .imgright .image li a,
  #content #news.imgright .image li.fancybox a,
  #content .imgleft .image li span,
  #content .imgright .image li span {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    padding: 0 0 99%;
  }
  #content #news.imgright .image li a {
    padding: 0;
  }
  #content .imgleft .image li a img,
  #content .imgright .image li a img,
  #content #news.imgright .image li.fancybox a img,
  #content .imgleft .image li span img,
  #content .imgright .image li span img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 4px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  #content #news.imgright .image li a img {
    position: relative;
    top: auto;
    left: auto;
    padding: 0;
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  #content .imgleft > p,
  #content .imgleft .text {
    overflow: hidden;
    margin-left: auto;
  }
  #content .imgright > p,
  #content .imgright .text {
    overflow: hidden;
    margin-right: auto;
  }
  /* aside */
  #content .aside dl,
  #content .aside li {
    width: 48%;
    margin: 0 4% 20px 0;
  }
  #content .aside dl:nth-child(2n),
  #content .aside li:nth-child(2n) {
    margin-right: 0;
  }
  /* pagebute */
  #content ul.page {
    vertical-align: middle;
  }
  #content ul.page li a.link_page,
  #content ul.page li span.current_page {
    width: 25px;
    height: 25px;
    padding: 6px 0;
    font-size: 1.2rem;
  }
  /* iframe */
  #content #map {
    position: relative;
    width: 100%;
    height: 300px;
    margin-right: 0;
    margin-left: 0;
  }
  #content .movie {
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
  }
  #content #map iframe,
  #content .movie iframe {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  /*--------------------------------------
		index
	--------------------------------------*/
  #info #map {
    float: none;
    margin-bottom: 15px;
  }
  #info .text {
    float: none;
    margin: 0;
  }
  /*--------------------------------------
		gallery,product
	#gallery,
	#product {
		margin-bottom: 20px;
	}
	#gallery dl,
	#product dl {
		width: 32%;
		margin: 0 2% 15px 0;
	}
	#gallery dl dd.image a,
	#product dl dd.image a {
		display: block;
		position: relative;
		width: 100%;
		height: auto;
		padding: 0 0 calc(100% - 2px);
	}
	#gallery dl dd.image a img,
	#product dl dd.image a img {
		position: absolute;
		top: 50%;
		left: 50%;
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
		padding: 4px;
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}
	--------------------------------------*/
  /*--------------------------------------
		.imgbox
	--------------------------------------*/
  #content .imgbox {
    margin: 0 0 15px;
  }
  #content .imgbox ul.imgbig {
    float: none;
    width: 100%;
    margin: 0 0 10px;
    text-align: center;
  }
  #content .imgbox ul.imgbig li {
    width: 300px;
    height: 300px;
    padding: 0;
    margin: 0 auto 10px;
  }
  #content .imgbox ul.imgbig li a,
  #content .imgbox ul.imgbig li span {
    width: 300px;
    height: 300px;
    padding: 0;
  }
  #content .imgbox ul.imgbig li a img,
  #content .imgbox ul.imgbig li span img {
    max-width: 290px;
    max-height: 290px;
  }
  #content .imgbox ul.imglist {
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 0;
  }
  #content .imgbox ul.imglist li {
    display: inline-block;
    float: none;
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0 5px 10px;
    text-align: center;
    letter-spacing: normal;
  }
  #content .imgbox ul.imglist li a,
  #content .imgbox ul.imglist li span {
    width: 60px;
    height: 60px;
  }
  #content .imgbox ul.imglist li a img,
  #content .imgbox ul.imglist li span img {
    max-width: 50px;
    max-height: 50px;
  }
  /*--------------------------------------
		contact
	--------------------------------------*/
  #content #mailform table th,
  #content #mailform table td {
    display: block;
    width: 100%;
    padding: 9px 20px 7px;
  }
  #content #mailform table td input[type='text'] {
    width: 100%;
    height: 2em;
  }
  #content #mailform table td input.postage {
    width: 150px;
  }
  #content #mailform table textarea {
    width: 100%;
    height: 120px;
    margin: 2px 0;
    padding: 5px;
  }
  /* datepicker */
  /* カレンダー自体を大きく */
  div.ui-datepicker {
    font-size: 1.4em;
  }
}

/*===============================================
  画面の横幅が480px以下に適用
===============================================*/
@media screen and (max-width: 480px) {
  /*--------------------------------------
		#content
	--------------------------------------*/
  /* table */
  #content #company table,
  #content #mailform table {
    border-bottom: 1px solid #d5d5d5;
  }
  #content #company table th,
  #content #company table td,
  #content #mailform table th,
  #content #mailform table td {
    border-bottom: none;
    width: 100%;
    display: block;
  }
  #content table:not(.tab) th {
    width: 50%;
  }
  /* #content table:not(.tab) {
		border-bottom: 1px solid #d5d5d5;
	}
	#content table:not(.tab) th,
	#content table:not(.tab) td {
		border-bottom: none;
		width: 100%;
		display: block;
	} */
  #content .imgleft .image,
  #content .imgright .image {
    float: none;
    width: 80%;
    text-align: center;
    margin: 0 auto 20px;
  }
  #content .imgleft .image.w100,
  #content .imgright .image.w100 {
    width: 100%;
  }
  #content #news.imgright .image,
  #content #news.imgright .image li a {
    width: 200px;
  }
  #content .imgleft .image li a,
  #content .imgright .image li a,
  #content .imgleft .image li span,
  #content .imgright .image li span {
    width: 50%;
    padding-bottom: 49%;
    margin: 0 auto;
  }
  /* aside */
  #content .aside dl {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }
  /*--------------------------------------
		index
	--------------------------------------*/
  #topics dt {
    float: none;
    font-size: 0.85em;
  }
  #topics dd {
    padding: 0;
  }
  /*--------------------------------------
  gallery,product

	#gallery dl,
	#product dl {
		overflow: hidden;
		width: 100%;
		margin: 0 0 15px;
	}
	#gallery dl dd.image,
	#product dl dd.image {
		float: left;
		width: 35%;
		margin-right: 20px;
	}
	#gallery dl dt,
	#product dl dt {
		overflow: hidden;
		margin: 0 0 10px;
		font-size: 1.14em;
	}
	#gallery dl dd.comment,
	#product dl dd.comment {
		overflow: hidden;
		padding: 0;
	}
	--------------------------------------*/
}
