@charset "utf-8";
/*
Theme Name: 株式会社東京科学
Theme URI: https://tokyo-kagaku.co.jp/
Description: 株式会社東京科学
Version: 1.0
Author: TDB-NETCOM
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, figure, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}
ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body {
	font: 100%/1.7 "Lucida Sans Unicode", "Lucida Grande", Arial, "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
	color: #252525;
	background: #fff;
}

/* class
------------------------------------------------------------*/
.has-text-align-right,
.text-right {
	text-align: right;
}

.has-text-align-center,
.text-center {
	text-align: center;
}

.text-red {
	color: #c00;
}

.hissu {
	font-size: 80%;
	color: #c00;
}

.img-left {
	float: left;
}

.img-left img {
	margin-right: 20px;
	padding-right: 20px;
}

.wide640,
.max-wide640 table {
	max-width: 640px;
}

@media screen and (max-width: 700px) {
	img.max-wide640,
	table.max-wide640,
	.max-wide640 img,
	.max-wide640 table {
		width: 100%;
		height: auto;
	}
}

/* リンク設定 */
a {
	margin: 0;
	padding: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
	font-size: 100%;
	color: #33c;
}

a:hover,
a:active {
	transition: all 0.2s;
	outline: none;
	color: #222;
}

/* Clearfix */
#panel:after,
#mainNav:after,
.post:after {
	content: "";
	display: table;
	clear: both;
}

#panel,
#mainNav,
.post {
	zoom: 1;
}

/* フォーム */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
	vertical-align: middle;
	max-width: 90%;
	line-height: 30px;
	height: 30px;
	padding: 1px 5px;
	border: 1px solid #d4d4d7;
	border-radius: 3px;
	font-size: 100%;
	color: #555;
	background: #fcfcfc;
}

textarea {
	height: auto;
	line-height: 1.5;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
	padding: 3px 10px;
	background: #000;
	border: 0;
	border-radius: 3px;
	line-height: 1.5;
	font-size: 120%;
	color: #fff;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	background: #333;
	cursor: pointer;
}

*:first-child+html input[type="submit"] {padding:3px;}

label {margin-right: 10px;}
label:hover {cursor: pointer;}

/* レイアウト */
#wrapper,
.inner {
	margin: 0 auto;
	width: 960px;
}

#header {
	overflow: hidden;
}

main {
	width: 100%;
	padding: 30px 0;
}

#edit {
	float: left;
	width: 680px;
	margin-bottom: 60px;
}

#sidebar {
	float: right;
	width: 250px;
	padding: 10px 0;
}

/* ヘッダー */
#header {
	border-top: solid 7px #203050;
}

/* ロゴ (サイトタイトル) */
#logo {
	clear: both;
	float: left;
	padding: 20px 0;
	color: #515151;
	font-size: 160%;
	font-weight: bold;
}

/* サブナビゲーション */
#header ul {
	padding-top: 40px;
	float: right;
}

#header ul li {
	display: inline;
	margin-left: 10px;
}

#header ul li a {
	padding-left: 15px;
	background: url('/wp-content/themes/tokyo-kagaku/images/arrowSub.png') no-repeat 0 50%;
	color: #000;
}

#header ul li a:hover {
	background-position: 3px 50%;
}

/* トップページ　メイン画像 */
#mainImg {
	clear: both;
	margin-top: 20px;
	line-height: 0;
	text-align: center;
	z-index: 0;
	background: url('/wp-content/themes/tokyo-kagaku/images/shadow.png') no-repeat 50% 0;
}

#mainImg a:hover img {
	opacity: .9;
}

.postWrap {
	margin: 0 0 20px 0;
	padding: 3px;
	border: 1px solid #e2e2e2;
	background: url('/wp-content/themes/tokyo-kagaku/images/tp.png');
}

.post {
	padding: 10px;
	border: 1px solid #f1f1f1;
	background: #fff;
}

.post section {
	margin: 40px 0;
}

article.archive span {
	padding-left: 10px;
}

/* パン屑 */
#pankuzu {
	margin: 10px 0 10px 5px;
}

#pankuzu a {
	color: #666;
}

/* タイポグラフィ */
main h1 {
	clear: both;
	margin: 30px 0 15px;
	padding: 5px 0;
	font-size: 200%;
	font-weight: bold;
	text-align: center;
}

h2 {
	clear: both;
	margin: 30px 0 15px;
	padding: 5px 0;
	font-size: 200%;
	font-weight: bold;
	text-align: center;
}

.dateLabel {
	margin: 0 0 10px;
	text-align: right;
	font: italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.time {
	margin: 10px 0 20px;
	padding: 5px 7px;
	background: #eee;
}

.post p {
	padding-bottom: 15px;
}

.post ul {
	margin: 0 0 10px 10px;
}

.post ul li {
	margin: 5px 0 0 15px;
	list-style: disc;
}

.post ol {
	margin: 0 0 10px 30px;
}

.post ol li {
	list-style: decimal;
}

.post h1,
.post h2,
.post h3,
.post h4 {
	clear: both;
}

.post h1 {
	margin: 20px 0;
	padding: 5px 10px;
	font-size: 150%;
	color: #fff;
	border-radius: 4px;
	background: #000;
	box-shadow: 0 0 3px rgba(0,0,0,0.2); 
}

.post h2 {
	margin: 10px 0;
	padding: 3px 5px;
	font-size: 130%;
	font-weight: bold;
	color: #000;
	border-bottom: 3px solid #3f0000;
}

.post h3 {
	margin: 10px 0;
	font-size: 120%;
	font-weight: normal;
	color: #000;
	border-bottom: 1px solid #000;
}

.post blockquote {
	clear: both;
	padding: 10px 0 10px 15px;
	margin: 10px 0 25px 30px;
	border-left: 5px solid #ccc;
}
 
.post blockquote p {
	padding: 5px 0;
}

.post table {
	margin: 10px auto 20px;
	border: 1px #000 solid;
	border-collapse: collapse;
	border-spacing: 0;
}

.post th {
	padding: 10px;
	border: #000 solid;
	border-width: 0 0 1px 1px;
	text-align: center;
	font-weight: bold;
	background: #f5f5f0;
}

.post td {
	padding: 10px 15px;
	border: 1px #000 solid;
	border-width: 0 0 1px 1px;
	background: #fff;
}

.post dt {
	font-weight: bold;
}

.post dd {
	padding-bottom: 10px;
}

.post img {
	max-width: 100%;
	height: auto;
}

img.aligncenter {
	display: block;
	margin: 5px auto;
}

img.alignright,
img.alignleft {
	padding: 4px;
}

img.alignright,
figure.alignright {
	margin: 0 0 2px 7px;
}

img.alignleft,
figure.alignleft {
	margin: 0 7px 2px 0;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

@media screen and (max-width: 700px) {
	.alignright,
	.alignleft {
		float: none;
		text-align: center;
	}
}

/* フッター　ウィジェット */
#banners img {
	max-width: 300px;
	height: auto;
	margin-bottom: 10px;
}
#banners a:hover img {
	opacity: .9;
}

#searchform input[type="text"] {
	line-height: 1.7;
	height: 24px;
	width: 100px;
	vertical-align: bottom;
}

/* トップページ 3カラム */
.thumbWrap {
	width: 990px;
	margin: 20px -35px 20px 0;
}

.thumbWrap li {
	float: left;
	width: 300px;
	margin: 0 30px 0 0;
	padding: 2px 0 40px;
	background: none;
}

/* 会社案内 */
.company th {
	min-width: 90px;
}

/* お知らせ一覧 */
.edit-list section {
	margin: 20px 0;
}

.edit-list .time {
	margin-bottom: 10px;
	padding: 5px 7px;
}

/* 投稿 */
.side-title {
	margin-bottom: 5px;
	padding: 5px;
	color: #fff;
	text-align: center;
	background: #252525;
}

#media li {
	display: inline;
}

/* メインメニュー　PC用 */
@media only screen and (min-width: 1025px) {
	#panel {
		display: block !important;
		float: left;
	}

	#menu {
		display: none;
	}		

	#mainNav {
		background: #f2f2f2;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}

	#mainNav ul {
		width: 100%;
	}

	#mainNav li {
		display: inline-block;
		width: calc(960px / 5 - 2px);
		background: #fcfcfc;
		border-right: 1px solid #f2f2f2;
	}

	#mainNav li:first-child {
		border-left: 1px solid #f2f2f2;
	}

	#mainNav li a {
		display: block;
		height: 40px;
		line-height: 40px;
		padding: 15px 40px 5px;
		font-size: 90%;
		text-align: center;
		text-decoration: none;
		line-height: 1.4;
		color: #000;
	}

	#mainNav li a span {
		display: block;
		font-size: 70%;
	}

	#mainNav li.current-menu,
	#mainNav li:hover {
		background: #f0f0f0 url('/wp-content/themes/tokyo-kagaku/images/navi-back.webp') no-repeat 13px 50%;
		transition: all 0.3s;
	}
}

/* メインメニュー iPadサイズ以下から */
@media only screen and (max-width:1024px) {
	#mainNav .inner {
		width: 100%;
	}
		
	#mainNav {
		width: 100%;
		margin: 0 auto;
		padding: 0;
		background: #fff;
	}

	#mainNav a.menu {
		width: 100%;
		display: block;
		height: 35px;
		line-height: 35px;
		text-align: left;
		background: url('/wp-content/themes/tokyo-kagaku/images/menuOpen.png') no-repeat 5px 7px;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}

	#menu span {
		padding-left: 35px;
	}

	#mainNav a.menuOpen {
		background: url('/wp-content/themes/tokyo-kagaku/images/menuOpen.png') no-repeat 5px -35px;
	}

	#menu:hover {
		cursor: pointer;
	}

	#panel {
		display: none;
		width: 100%;
		position: relative;
		right: 0;
		top: 0;
		z-index: 1;
	}

	#mainNav ul {
		margin: 0 0 20px;
		padding: 0;
	}

	#mainNav ul li {
		float: none;
		clear: both;
		width: 100%;
		height: auto;
		line-height: 1.2;
		border-bottom: 1px solid #ccc;
	}

	#mainNav ul li a {
		display: block;
		padding: 15px;
		text-align: left;
		color: #333;
	}

	#mainNav ul li a span {
		display: none;
	}

	#mainNav ul li a:hover,
	#mainNav ul li.current-menu-item > a,
	#mainNav ul li a:active {
		background: #e9ebee;
	}

	#panel {
		float: none;
	}

	#mainImg {
		background: none;
	}

	#header ul li a,
	#header ul li a:hover {
		background-position: 0 50%;
	}

	#wrapper,
	#header,
	.inner {
		width: 100%;
	}

	#logo {
		padding: 20px 10px 0;
	}

	#header ul {
		padding: 20px 10px 10px;
	}

	#mainNav ul,
	.thumbWrap {
		margin: 0 auto;
	}

	#mainImg img {
		width: 94%;
		height: auto;}

	main,
	#edit,
	#sidebar {
		clear: both;
		width: calc(100% - 10px);
		float: none;
		margin: 0 auto;
		padding: 20px 0 10px;
	}

	#banners {
		width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	#banners p {
		display: inline;
		margin: 0 1% 0 0;
	}

	#banners p img {
		width: 31%;
		height: auto;
	}

	.thumbWrap {
		width: 100%;
		margin: 10px auto 0;
		text-align: center;
	}

	.thumbWrap ul.thumb li {
		width: 30%;
		float: left;
		margin: 0 1% 0 2%;
	}

	.thumbWrap img {
		width: 100%;
		height: auto;
	}

	#calendar_wrap table {
		margin: 0 auto;
		width: 300px;
	}
}

/* 幅644px以下から ヘッダー等微調節 */
@media only screen and (max-width: 644px) {
	#header {
		text-align: center;
	}

	#logo {
		float: none;
	}

	#header ul {
		display: none;
	}

	#headerInfo {
		width: 250px;
		margin: 0 auto;
	}
}

/* 幅330px以下から ヘッダー等微調節 */
@media only screen and (max-width: 330px) {
	#calendar_wrap table {
		width: 100%;
	}

	#banners p img {
		width: 31%;
		height: auto;
	}
}