@charset "utf-8";

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

/*--------------------------------
* common
 --------------------------------*/

#contents {
	font-size: 1.4rem;
	font-weight: 500;
}

.pc-visible {display: none;}
.sp-visible {display: block;}

.container {
	padding: 0 4%;
}

.cap {
	font-size: 1.0rem;
}

.cap-cover-w {
	font-size: 1.0rem;
}

.cap-cover-b {
	font-size: 1.0rem;
}

h3 .en {
	font-size: 1.3rem;
}

h3 .ja {
	font-size: 2.0rem;
}

.h3-lead {
	line-height: 1.8;
	text-align: justify;
	margin-top: 20px;
}

.h3-lead br {
	display: none;
}
	
	
	
	
/*--------------------------------
* supply common
 --------------------------------*/

.about-nav ul {
	margin-top: 30px;
}

.about-nav.second ul {
	margin-top: 40px;
	margin-bottom: 0;
}

.about-nav li {
	width: 50%;
}

.about-nav li a {
	font-size: 1.5rem;
	padding: 15px 0;
}

.txt-set .txt-head {
	font-size: 2.0rem;
}

.txt-set .txt-lead {
	margin-top: 20px;
}

.txt-s-set .txt-head {
	font-size: 1.6rem;
}

.txt-s-set .txt-lead {
	font-size: 1.3rem;
	margin-top: 10px;
}


	
	
/*--------------------------------
* supply
 --------------------------------*/

h3 {
	margin-top: 50px;
}

.line-area1 {
	padding-bottom: 50px;
}
	
.line-area1 .line {
	display: none;
}

.txt_01-wrap {
	margin-left: 0;
	margin-top: 40px;
}
	
.supply_01-wrap {
	margin-top: 40px;
}

.supply_01-wrap li:nth-child(1) {
	width: 100%;
}

.supply_01-wrap li:nth-child(2) {
	width: 100%;
	margin-top: 2px;
}

.supply_01-wrap .txt-head {
	margin-top: 20px;
}

.supply_03-wrap {
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: auto auto;
	justify-content: space-between;
}

.supply_03-wrap li:nth-child(1) {
	grid-column: 1 / 2;
	grid-row: 2 / 3;
	margin-top: 2px;
}

.supply_03-wrap li:nth-child(2) {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	width: 100%;
}

.supply_03-wrap .txt-head {
	margin-top: 20px;
}

.list-wrap {
	margin-top: 10px;
}

.list-wrap li {
	width: 100%;
	margin-top: 30px;
}

.cap.end {
	margin-top: 40px;
}


	
	
	
/*--------------------------------
* myGallery
 --------------------------------*/
.container-myGallery {
	margin-top: 60px;
	padding: 0 4%;
}

.container-myGallery .ttl {
	font-size: 1.8rem;
}

	

.myGallery{
	min-height: 0;
	height: auto;
	margin-bottom: 80px;
	margin-top: 20px;
}
#loading{
	width: auto;
	height: auto;
}
#loading:before{
	content: "";
	padding-bottom: 82%;
	display: block;
}


.gallerySwitchBlock {
	width: 100%;
	height: 45px;
}
.gallerySwitchBlock .switchList li {
	position: absolute;
	cursor: pointer;
	width: 150px;
	height: 35px;
}
.gallerySwitchBlock .switchList li:hover {
	opacity: 0.7;
	-ms-filter: "alpha(opacity=70)";
}
.gallerySwitchBlock .switchList li.switchOuter {
	top: 0;
	left: 10px;
}
.gallerySwitchBlock .switchList li.switchInner {
	top: 0;
	right: 10px;
	background-image: url("/content/dam/31sumai/finecourt/supply/img/gallery_btn_inner.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 100%;
}

.galleryPhotoBlock{
	width: auto;
	height: auto;
}
.galleryPhotoBlock:before{
	content: "";
	display: block;
	padding-bottom: 53.125%;
}
.galleryPhotoBlock .galleryItemList{
	padding: 0 5px;
}
.galleryControlBlock{
	width: auto;
	height: auto;
	font-size: 1.0rem;
	line-height: 1.4;
	padding-bottom: 10px;
}
.galleryControlBlock .caption{
	margin-top: 0;
}
.galleryControlBlock .prevBtn,
.galleryControlBlock .nextBtn{
	display: none;
}
.galleryControlBlock .pageNum{
	position: relative;
	top: auto;
	left: auto;
	text-align: center;
	font-size: 1.0rem;
	line-height:1.2;
	padding-top:0;
}
.galleryControlBlock .thumbsList{
	position: relative;
	top: auto;
	left: auto;
	margin-top: 10px;
}
.galleryControlBlock .thumbsList li,
.galleryControlBlock .thumbsList li.active .activeBorder{
	width: 75px;
	height: 40px;
}
.galleryControlBlock .thumbsBase{
	position: relative;
	top: auto;
	left: auto;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
	padding: 5px;
	height: auto!important;

	/* js over write */
	width: auto !important;
}
	
	
	
	
	

}
