@import url(https://fonts.googleapis.com/css?family=Oswald:400,700);

/* reset-css */
form {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
input, select {
    vertical-align:middle;
}
select,input,button,textarea {font:99% arial,helvetica,clean,sans-serif;}


body {
	background-color: #FFF;
	position: relative;
	font-size: 14px;
}
/* common */
.sp {
	display: none;
}
* img {
	max-width: 100%;
	height: auto;
}


/* top pc */
#top .logo_sp {
	display: none;
}
#top .mainMenu .spmenu {
	display: none;
}
#top table.linkList tr {
	width: 100%;
	display: -webkit-inline-box; 
	display: -ms-inline-flexbox; 
	display: inline-flex; 
	-webkit-box-orient: horizontal; 
	-webkit-box-direction: normal; 
	-ms-flex-direction: row; 
	flex-direction: row; 
	-ms-flex-wrap: wrap; 
	flex-wrap: wrap;
	
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	
	-webkit-box-align: stretch;
	-ms-flex-align: stretch; 
	align-items: stretch; 
	-ms-flex-line-pack: stretch; 
	align-content: stretch;
}
#top table.linkList td {
	width: calc(32.32% - 1.5em);
	padding: .25em 0 .25em 1.5em;
	background-color: #ffc;
	text-indent: -1.5em;
}
#top table.linkList td:nth-child(6n),
#top table.linkList td:nth-child(6n-1),
#top table.linkList td:nth-child(6n-2) {
	background-color: #fff;
}
#top table.linkList td::before {
	content: url(../img/blok.gif);
	position: relative;
	margin: 0 .25em;
	top: 5px;
}
#top table.linkList.kouen td {
	width: 30%;
	padding: .25em 0 .25em 0;
}
#top table.linkList.kouen td:first-child {
	width: calc(70% - 1.5em);
	padding: .25em 0 .25em 1.5em;
}
#top table.linkList.kouen td::before {
	content: url(../img/blok_b.gif);
}
#top table.linkList.kouen td:nth-child(2n)::before {
	content:none;
}
#top table.linkList.kouen tr:nth-child(2n) td {
	background-color: #fff;
}
#top ul.linkList {
	width: 100%;
	max-width: 580px;
	display: -webkit-inline-box; 
	display: -ms-inline-flexbox; 
	display: inline-flex; 
	-webkit-box-orient: horizontal; 
	-webkit-box-direction: normal; 
	-ms-flex-direction: row; 
	flex-direction: row; 
	-ms-flex-wrap: wrap; 
	flex-wrap: wrap;
	
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch; 
	align-items: stretch; 
	-ms-flex-line-pack: stretch; 
	align-content: stretch;
	list-style: none;
	margin:0;
	padding:0;
}
#top ul.linkList li {
	width: calc(32.32% - 1.5em);
	padding: .25em 0 .25em 1.5em;
	background-color: #ffc;
	text-indent: -1.5em;
}
#top ul.linkList li:nth-child(6n),
#top ul.linkList li:nth-child(6n-1),
#top ul.linkList li:nth-child(6n-2) {
	background-color: #fff;
}
#top ul.linkList li::before {
	content: url(../img/blok.gif);
	position: relative;
	margin: 0 .25em;
	top: 5px;
}

/* top table content */
#top .content td:nth-child(2) {
    min-width: 18px;
}

td.contentTd {
	box-sizing: border-box;
	padding:0 0 30px 30px;
}
td.contentTd > img,
td.contentTd > font > img {
	float: left;
	margin:0 15px 15px 0;
}

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

}/* END max-width: 768px */

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


	body::after {
		content:'';
		display:none;
		width:100vw;
		height:100vh;
		background:rgba(255,255,255,.66);
		position:fixed;
		top:0;
		left:0;
		opacity:0;
		transition:.5s;
	}
	body.on::after {
		display:block;
		opacity:1;
	}
	body.on {
		overflow:hidden;
	}

	/* common */
	.pc {
		display: none !important;
	}
	.sp {
		display: inline-block;
	}
	.tac {
		text-align: center;
	}

	frameset frame[name="2"] {
		transform: translateY(-25px);
	}
	/* TOP */
	#top .logo_sp {
		display: block;
		width: 100%;
		padding: 0 15px 15px;
		margin-top:-15px;
		box-sizing:border-box;;
	}
	#top .btnMenu {
		padding: 0;
		position: fixed;
		top: 0;
		right: 10px;
		z-index: 999;
		border-radius: 3px 0 0 3px;
	}

	#top .btnMenu #toggle {
	  width: 30px;
	  height: 30px;
	  margin: 0 auto;
	}

	#top .btnMenu #toggle div {
	  width: 100%;
	  height: 2px;
	  background: #000000;
	  margin: 8px auto;
	  transition: all 0.3s;
	  backface-visibility: hidden;
	}

	#top .btnMenu #toggle.on .one {
	  transform: rotate(45deg) translate(7px, 7px);
	}
	#top .btnMenu #toggle.on .two {
	  opacity: 0;
	}
	#top .btnMenu #toggle.on .three {
	  transform: rotate(-45deg) translate(7px, -7px);
	}


	#top .mainMenu {
		height: 100vh;
		background-color: #fff;
		overflow-y: scroll;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 99;
		font-size: 14px;
		transform:translateX(100%);
		transition-duration: .5s;
		transition-property: all;
	}
	#top .mainMenu.on {
		transform:translateX(0%);
	}
	
	#top .mainMenu .hidesp {
		display: none;
	}
	#top .mainMenu .spmenu {
		display: block;
		list-style:none;
		margin:0;
		padding:0;
		width: 80vw;
	}
	#top .mainMenu .spmenu li {
		font-size:15px;
		border-bottom:1px solid #cccccc;
		line-height:1;
		padding:0.5em 1em;

	}
	#top .mainMenu .spmenu li.mb {
		margin-bottom:.8em;
	}
	#top .mainMenu .spmenu li.mb2 {
		margin-bottom:1.5em;
	}
	#top .mainMenu .spmenu li a {
		color:#000066;
	}
	#top .mainMenu .spmenu li.tit {
		font-size:21px;
		font-weight:600;
		color:#ff9900;
		padding-left:.7em;
	}
	#top .mainMenu .spmenu li.other a {
	    color:#009933;
	}
	#top .mainMenu .spmenu li.mb2 + li.other {
		border-top:1px solid #cccccc;
	}


	/* content */
	#top .content td,
	#top .content font {
		font-size: 14px;
	}
	#top td.ttl img,
	#top img.ttl {
		width: auto;
		height: 26px;
	}

	#top table.linkList td {
		width: calc(50% - 1.5em);
	}
	#top table.linkList td:nth-child(6n),
	#top table.linkList td:nth-child(6n-1),
	#top table.linkList td:nth-child(6n-2) {
		background-color: #ffc;
	}
	#top table.linkList td:nth-child(4n),
	#top table.linkList td:nth-child(4n-1){
		background-color: #fff;
	}
	#top .content {
		padding-top: 15px;
	}

	#top ul.linkList li {
		width: calc(50% - 1.5em);
	}
	#top ul.linkList li:nth-child(6n),
	#top ul.linkList li:nth-child(6n-1),
	#top ul.linkList li:nth-child(6n-2) {
		background-color: #ffc;
	}
	#top ul.linkList li:nth-child(4n),
	#top ul.linkList li:nth-child(4n-1){
		background-color: #fff;
	}
	
	/*header */
	#hed {
		display: block;
		background-image: none;
	}
	#hed table {
		margin-bottom: 0;
	}
	#hed table tr {
		background-image: url(../img/had_back.gif);
		background-size: auto 50px;
	}
	#hed table td img {
		width: auto;
		height: 50px;
	}


	table.ttl {
		padding: 45px 0 0;
	}
	table.ttl tr {
		position: relative;
	}
	table.ttl > tbody > tr > td:last-child > div {
		position: absolute;
		top: 0;
		right: 10px;
		z-index: 5;
	}
	table.ttl > tbody > tr > td:first-child img {
        display: block;
		width: auto;
		height: 24px;
	}
	table.ttl td div td {
		width: auto;
	}
	table.ttl td div table {
		height: 20px;
		vertical-align: top;
	}
	table.ttl td div table td img {
		width: auto;
		height: 30px;
		display:block;
		margin:0 3px;
	}
	table.ttl td div table td:last-child img,
	table.ttl td div a:last-child img {
		margin-left:5px;
	}
	

	/* .content */
	table.content {
		width: 95%;
		max-width: 700px;
		margin: 0 auto;
	}
	table.content td,
	table.content td font{
		font-size: 14px;
	}
	table.content tr td {
		width: auto;
	}
	table.content tr td:first-child {
		width: auto;
		padding: 0;
		vertical-align: top;
	}
	table.content tr td:first-child img {
		display: inline-block;
        max-width: inherit;
		width: 80px;
		height: auto;
		margin-right: 10px;
	}
	

	/* profile */
    #prof .tblBook {
        width: 95%;
        margin: 0 auto;
    }
	#prof .tblBook td:first-child {
        width: calc(40% - 10px);
        padding-right: 10px;
	}
    #prof .tblBook td,
	#prof .tblBook td p {
        font-size:14px;
    }
    #prof .tblBook td font b,
    #prof .tblBook td p font b {
        font-size: 16px;
    }
    #prof .tblBook td a {
        display: block;
    }
	#prof .tblBook td:last-child {
		padding-bottom:.5em;
	}
	#prof .tblBook tr:last-child td:last-child {
		padding-bottom:1.5em;
	}

	/* profile underlayer */
	.tblImage td {
		display: block;
		margin-bottom: 15px;
		text-align: center;
	}
	.tblImage td img {
		width: 75%;
		height: auto;
	}

	/* taiken */
	#taiken input,
	#taiken textarea {
		width: calc(100% - .75em);
		padding: .25em;
		font-size: 14px;
	}

	#taiken .tblInput td {
		display: block;
	}
	#taiken .tblInput td input[name="koumoku_6"] {
		width: 8em;
	}

	#taiken .tblBirth {
		width: 100%;
	}
	#taiken .tblBirth tr {
		width: 100%;
		display: -webkit-inline-box;
		display: -ms-inline-flexbox;
		display: inline-flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-direction: row;
		flex-direction: row;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-box-align: stretch;
		-ms-flex-align: stretch;
		align-items: stretch;
		-ms-flex-line-pack: stretch;
		align-content: stretch;
	}
	#taiken .tblBirth td {
/*		display: inline-block;*/
		width: calc(25% - 2px);
		text-align: center;
	}
	#taiken .tblBirth td.inputTxt {
		width: 100%;
/*		display: block;*/
		padding: .25em 0;
	}
	#taiken .tblBirth input[name="b_year"] {
		width: 2em;
	}
	#taiken .tblBirth input[name="b_month"],
	#taiken .tblBirth input[name="b_day"] {
		width: 2em;
	}
	
	#taiken .tblInput td table.tblChk td {
		padding: .25em;
	}
	#taiken .tblInput td table.tblChk td input[type="checkbox"] {
		width: auto;
	}
	#taiken input.submit4,
	#taiken input.submit5 {
		padding: .5em 0;
		margin-bottom: 10px;
		border-style:none;
		font-size: 16px;
	}
    .copyright {
    	font-size:12px;
    }

	
}/* END max-width: 640px */

@media only screen and (max-width: 480px) {
}/* END max-width: 480px */
