	body {
		margin: 0;
		background: #FFF8ED;
		color: #333;
	}
	* {
		box-sizing: border-box;
	}
	ol, ul {
		list-style: none;
		padding: 0;
	}
	
	table {
		border-collapse: collapse;
		border-spacing: 0;
	}
	
	p {
		margin: 0;
	}


	/*PClayout*/
	@media only screen and (min-width: 768px), print {
		
		.spOnly{
			display:none;
		}
		
		.contents {
			width: 1000px;
			margin: 50px auto;
		}
		
		.mainImage {
			margin-bottom: 50px;
		}
		
		.heading02 {
			background: #FFE0B2;
			font-size: 24px;
			padding: 10px;
			text-align: center;
			color: #333;
			font-weight: bold;
			margin-bottom: 30px;
		}
		
		.heading03 {
			border-bottom: 3px solid #FFE0B2;
			font-size: 20px;
			padding: 10px 0;
			margin-bottom: 30px;
		}
		
		p {
			margin-bottom:30px;
		}
		
		.btnArea {
			width: 650px;
			margin: 0 auto;
		}
		
		.btnArea > div {
			float: left;
			margin-bottom: 50px;
			font-weight: bold;
		}
		
		.login {
			margin-left: 50px;
		}
		
		.btnArea::after {
			content: "";
			display: block;
			clear: both;
		}
		
		.btnArea .btn a {
			width: 300px;
		}

		.btn a {
			display: inline-block;
			text-align: center;
			padding: 14px 20px;
			background: #f9a31c;
			color: #fff;
			text-decoration: none;
			border-radius: 10px;
			transition: .2s;
		}
		.btn a:hover {
			opacity: 0.5;
			transition: .2s;
		}
		.box {
			background: #fff;
			padding: 20px;
		}
		
		.small {
			font-size: 13px;
		}
		
		.ulListArea.type1 ul {
			margin-bottom: 40px;
		}

		.ulListArea.type1 ul li {
			padding-left: 25px;
			position: relative;
			margin-bottom: 10px;
		}

		.ulListArea.type1 ul li::before {
			content: "";
			display: block;
			background: #f9a31c;
			width: 7px;
			height: 7px;
			position: absolute;
			left: 7px;
			top: 8px;
		}
		
		.olListArea {
			margin-bottom: 30px;
		}

		.olListArea li {
			position: relative;
			margin-bottom: 10px;
		}
		
		.olListArea.type1 li {
			padding-left: 25px;
		}
		
		.olListArea.type2 li {
			padding-left: 30px;
		}

		.olListArea li span.num {
			position: absolute;
			left: 0;
			top: 0;
		}
		
		.tablelayout {
			margin-bottom: 30px;
		}
		
		.tablelayout table {
			width: 100%;
			
		}

		.tablelayout{
			border: 2px #767676 solid;
		}

		.tablelayout th,
		.tablelayout td{
			padding: 20px 30px;
			
		}
		.tablelayout th {
			border-right: 2px #767676 solid;
			width: 20%;
		}
		.tablelayout td p{
			margin-bottom: 0;
		}

		.tablelayout tr{
			border-bottom: 2px #767676 solid;
		}
		
		.tablelayout td{
			border: 2px #767676 solid;
		}
		
		.tablelayout tr:last-child,
		.tablelayout tr th:last-child,
		.tablelayout tr td:last-child {
			border: none;
		}

		.tablelayout th.tableHead01 {
			text-align: left;
			vertical-align: middle;
		}

		
	}
	
	/*SPlayout*/
	
	@media only screen and (max-width: 767px) {
		
		.pcOnly{
			display:none;
		}
		.contents {
			margin: 20px 20px 40px;
		}
		
		.mainImage {
			margin-bottom: 40px;
		}
		
		.mainImage img {
			width: 100%;
			height: auto;
		}
		
		.heading02 {
			background: #FFE0B2;
			font-size: 24px;
			padding: 10px;
			text-align: center;
			color: #333;
			font-weight: bold;
			margin-bottom: 30px;
		}
		
		.heading03 {
			border-bottom: 3px solid #FFE0B2;
			font-size: 20px;
			padding: 10px 0;
			margin-bottom: 30px;
		}
		
		p {
			margin-bottom:30px;
		}
		
		
		.btn{
			text-align: center;
			margin-bottom: 20px;
		}
		.btn a {
			display: block;
			padding: 14px;
			background: #f9a31c;
			color: #fff;
			text-decoration: none;
			border-radius: 10px;
			font-weight: bold;
		}
		
		.box {
			background: #fff;
			padding: 20px;
		}
		.small {
			font-size: 12px;
		}
		
		.ulListArea.type1 ul {
			margin-bottom: 40px;
		}

		.ulListArea.type1 ul li {
			padding-left: 25px;
			position: relative;
			margin-bottom: 10px;
		}

		.ulListArea.type1 ul li::before {
			content: "";
			display: block;
			background: #f9a31c;
			width: 7px;
			height: 7px;
			position: absolute;
			left: 7px;
			top: 8px;
		}
		
		.olListArea {
			margin-bottom: 30px;
		}

		.olListArea li {
			position: relative;
			margin-bottom: 10px;
		}
		
		.olListArea.type1 li {
			padding-left: 25px;
		}
		
		.olListArea.type2 li {
			padding-left: 30px;
		}

		.olListArea li span.num {
			position: absolute;
			left: 0;
			top: 0;
		}
		
		.tablelayout {
			margin-bottom: 30px;
			white-space: nowrap;
			overflow: auto;
		}
		
		.tablelayout table {
			width: 1000px;
			height: auto;
			
		}

		.tablelayout{
			border: 2px #767676 solid;
		}

		.tablelayout th,
		.tablelayout td{
			padding: 20px 30px;
			
		}
		.tablelayout th {
			border-right: 2px #767676 solid;
			width: 20%;
		}
		.tablelayout td p{
			margin-bottom: 0;
		}

		.tablelayout tr{
			border-bottom: 2px #767676 solid;
		}
		
		.tablelayout td{
			border: 2px #767676 solid;
		}
		
		.tablelayout tr:last-child,
		.tablelayout tr th:last-child,
		.tablelayout tr td:last-child {
			border: none;
		}

		.tablelayout th.tableHead01 {
			text-align: left;
			vertical-align: middle;
		}
	}
	
	.m0 {
			margin: 0;
		}
	.mb10{
			margin-bottom:10px;
		}
	.mb20{
			margin-bottom:20px;
		}
	.mb30{
			margin-bottom:30px;
		}
	.mr30{
			margin-right:30px;
		}
	.bold {
			font-weight: bold;
		}
	.alC {
		text-align: center;
	}
	.red {
		color: red;
	}
	

	/* Compensation for the li-nesting fix (see tools/entrance/terms.php):
	   the sub-clause <div class="olListArea type2"> and the bare clause-5
	   <p> are now children of their numbered <li> instead of invalid
	   siblings of <li> directly under <ol> (which is what index_d.html and
	   index_ring.html had before this refactor). Browsers used to render
	   that invalid markup by treating the div/p as siblings of <li>, so it
	   never inherited the <li>'s own padding-left (25px); nesting it
	   properly now makes it inherit that padding, shifting the sub-item
	   numbering further right than it rendered before. This rule cancels
	   the inherited shift so the on-screen position is unchanged. Also
	   restore the ~10px gap that used to sit between the clause heading
	   line and the div/p that followed it as a sibling (that gap came
	   from the <li>'s own margin-bottom applying to the sibling
	   transition; now that the div/p is the <li>'s in-flow child instead,
	   nothing produced that gap on its own). */
	.olListArea.type1 > ol > li > .olListArea.type2,
	.olListArea.type1 > ol > li > p {
		margin-left: -25px;
		margin-top: 10px;
	}

	/* index_e.html does not have the 1000px-wide agency banner the
	   .mainImage rules were written for: its hero is the English edition's
	   own title graphic (image/tit_e.jpg, 540x145) and its Travel English
	   banner is img/t_e_banner.png (994x80). The SP rule sets
	   .mainImage img { width: 100% }, which would stretch both past their
	   intrinsic size and blur them -- the legacy index_e.html did exactly
	   that by declaring the 540px graphic as 714px wide. These are centred
	   and allowed to shrink only. */
	.mainImage.titleImage {
		text-align: center;
	}
	.mainImage.titleImage img {
		width: auto;
		max-width: 100%;
		height: auto;
	}
