@charset "utf-8";
/*
* CSS for Cell Layout
*
* @version			0.0.1
* @lastmodified 2017/05/18
* @link					https://www.landcomp.co.jp/
* @copyright		Copyright 2018, LAND COMPUTER Co.,Ltd.All rights reserved.
* ------------------------------------------------------------------------
 * layoutCell 	: table - table-cell width 50%
 * layoutImage 	: block - float (right / left) width 50% - last
*------------------------------------------------------------------------- */

/* CELL LAYOUT =========================================================== */
.cellLayout {
  display: block;
}
.cellLayout .cell {
  display: block;
  width: auto;
  padding: 0;
}
.cellLayout .cell:first-child {
  margin-bottom: 15px;
}
.cellLayout .cell.image {
  float: none;
  text-align: center;
}
.cellLayout .cell.image img {
  width: auto;
}
@media all and (min-width: 480px) {
  .cellLayout {
    display: table;
  }
  .cellLayout .cell {
    box-sizing: border-box;
    display: table-cell;
    vertical-align: top;
    width: 50%;
  }
  .cellLayout .cell:first-child {
    padding-right: 0.5rem;
  }
  .cellLayout .cell:last-child {
    padding-left: 0.5rem;
  }
  .cellLayout .cell.image img {
    width: 100%;
  }
  .cellLayout.col2 {
    overflow: hidden;
  }
  .cellLayout.col2 .cell {
    box-sizing: border-box;
    float: left;
    width: 50%;
  }
  .cellLayout.col2 .cell.image {
    padding-left: 0.5rem;
  }
}

/* TABLE CELL LAYOUT ===================================================== */
div.layoutCell {
  display: block;
  overflow: hidden;
}
div.layoutCell div.cell {
  display: block;
  width: auto;
  padding: 0;
}
div.layoutCell .cell {
  margin-bottom: 1rem;
}
div.layoutCell div.cell.image {
  margin-bottom: 10px;
}
div.layoutCell div.cell.left {
  display: block;
}
div.layoutCell div.cell.last {
  display: block;
}
@media all and (min-width: 480px) {
  div.layoutCell {
    display: table;
  }
  div.layoutCell .cell {
    display: table-cell;
    vertical-align: top;
    width: 50%;
  }
  div.layoutCell .cell img {
    width: 100%;
  }
  div.layoutCell div.cell:first-child {
    padding-right: 10px;
  }
  div.layoutCell div.cell:last-child {
    padding-left: 10px;
  }
  div.layoutCell div.cell.left {
    display: none;
  }
}
/* FLOAT IMAGE LAYOUT ==================================================== */
div.layoutImage {
	overflow: hidden;
}
div.layoutImage .cell {
}
	/* float image */
	div.layoutImage .cell.image {
		float: none;
		width: 100%;
		padding-left: 0;
		margin-left: 0;
		padding-right: 0 !important;
		margin-right: 0 !important;
	}
	div.layoutImage .cell.image.top {
		display: none;
	}
	div.layoutImage .cell.last {
		display: block;
	}
div.layoutImage .cell.image {
	box-sizing: border-box;
	float: right;
	width: 50%;
	padding-left: 10px;
	margin-left: 10px;
	margin-bottom: 15px;
}
div.layoutImage .cell.image.left {
	float: left;
	padding-right: 10px;
	margin-right: 10px;
}
div.layoutImage .cell.image img {
	width: 100%;
}
div.layoutImage .cell.last {
	display: none;
}
div.cell.image img {
	width: 100%;
}
