/*
Theme Name: WONDERFUL TOCHIGI 2025
Author: Market Network
Author URI: http://www.wonderful-tochigi.com/
Description: ワンダフルとちぎ
Version: 1
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, 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 {/* remember to define focus styles! */
	outline: 0;
}
body {
	line-height: 1;
	-webkit-print-color-adjust: exact;
	
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	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;
}


/* =Structure
----------------------------------------------- */

#page {
	margin: 0 auto;
	background:#89C229;
}
#access div {
	margin: 0;
}
#primary {
	float: left;
	margin: 0 -29.5% 0 0;
	width: 100%;
}
#all {
	margin: 0;
	width: auto;
}
#content {
	margin: 0 25% 30px 0;
	width: 66%;
}
#secondary {
	float: right;
	margin-right: 0;
    margin-bottom: 30px;
	width: 29.5%;
}

/* Singular 
.singular #primary {
	margin: 0;
}
.singular #content,
.left-sidebar.singular #content {
	margin: 0 7.6%;
	position: relative;
	width: auto;
}
.singular .entry-header,
.singular .entry-content,
.singular footer.entry-meta,
.singular #comments-title {
	margin: 0 auto;
	width: 68.9%;
}*/

/* Attachments */
.singular .image-attachment .entry-content {
	margin: 0 auto;
	width: auto;
}
.singular .image-attachment .entry-description {
	margin: 0 auto;
	width: 68.9%;
}

/* Showcase */
.page-template-showcase-php #primary,
.left-sidebar.page-template-showcase-php #primary {
	margin: 0;
}
.page-template-showcase-php #content,
.left-sidebar.page-template-showcase-php #content {
	margin: 0 7.6%;
	width: auto;
}
.page-template-showcase-php section.recent-posts {
	float: right;
	margin: 0 0 0 31%;
	width: 69%;
}
.page-template-showcase-php #main .widget-area {
	float: left;
	margin: 0 -22.15% 0 0;
	width: 22.15%;
}

/* error404 */
.error404 #primary {
	float: none;
	margin: 0;
}
.error404 #primary #content {
	margin: 0 7.6%;
	width: auto;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Right Content */
.left-sidebar #primary {
	float: right;
	margin: 0 0 0 -26.4%;
	width: 100%;
}
.left-sidebar #content {
	margin: 0 7.6% 0 34%;
	width: 58.4%;
}
.left-sidebar #secondary {
	float: left;
	margin-left: 7.6%;
	margin-right: 0;
	width: 18.8%;
}



/* =Global
----------------------------------------------- */

body, input, textarea {
	color: #222;
	font: 16px "Zen Maru Gothic", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 400;
	line-height: 1.7;
}
body {
}
#page {
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.625em;
}

/* Text elements */
p {
	margin-bottom: 1.625em;
}
ul, ol {
	margin: 0 0 1.625em 2.5em;
}
ul {
	list-style: square;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}

dt {
	font-weight: bold;
}
dd {
	margin-bottom: .5em;
}
strong {
	font-weight: bold;
}
cite, em, i {
	font-style: italic;
}
blockquote {
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
blockquote cite {
	color: #666;
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
pre {
	background: #f4f4f4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}
code, kbd, samp, var {
	font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 1.625em;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: smaller;
}

/* Forms */
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number],
textarea {
	background: #fafafa;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	border: 1px solid #ddd;
	color: #888;
}
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=number]:focus,
textarea:focus {
	color: #373737;
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number] {
	padding: 3px;
}
input#s {
	background: url(images/search.png) no-repeat 5px 6px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-size: 16px;
	height: 22px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
}
input#searchsubmit {
	display: none;
}

/* Links */
a {
	color: #68B82E;
	text-decoration: none;
}
a:focus,
a:active,
a:hover {
	text-decoration: underline;
}


/* Clearing Floats
--------------------------------------------- */
.clear {
	clear:both;
	display:block;
	overflow:hidden;
	visibility:hidden;
	width:0;
	height:0;
}
.clearfix:after {
	clear:both;
	content:' ';
	display:block;
	font-size:0;
	line-height:0;
	visibility:hidden;
	width:0;
	height:0
}

/* =Header
----------------------------------------------- */

#branding {
	position: relative;
	background:url(images/dogs.jpg) ;
	background-position: center bottom;
	background-repeat:no-repeat;
    background-size: cover;
	height: 100vh;
	min-height: 1050px;
}
.page #branding,
.single #branding {
	background-position: center top;
	height:auto;
	min-height: 0;
}
#branding img {
	width:100%;
	vertical-align: bottom;
}
#branding hgroup {
	position: relative;
	width: 100%;
	margin: 0 auto;
	height:100%;
	background-image:url(images/ground.png) ;
	background-position: center bottom;
	background-repeat:no-repeat;
    background-size: 140% auto;
	min-width:1180px;
}
#branding hgroup .wrapper {
	max-width:1280px;
	min-width:1180px;
	margin:0 auto;
	padding:70px 0 30px;
	position:relative;
}
.page #branding hgroup,
.single #branding hgroup {
	background-image:url(images/ground_page.png) ;
	background-position: center bottom;
	background-repeat:no-repeat;
	overflow:hidden;
	height:auto;
}
.page #branding hgroup .wrapper,
.single #branding hgroup .wrapper {
    height: auto;
	padding:80px 0 65px;
}
#site-title {
	padding:0;
	width:600px;
	text-align:center;
	position:absolute;
	left: 0;
	top: 96px;
	z-index:40;
	animation-duration: .5s;
	animation-delay: .25s;
}

.page #site-title ,
.single #site-title  {
	position: static;
	width:450px;
	margin:20px auto 0;
}
.date {
	width:450px;
    position: absolute;
    right: 0;
	top: 80px;
	z-index:10;
	border-bottom: 1px solid #fff;
	animation-duration: .6s;
	animation-delay: 0.5s;
}
.venue {
	width:450px;
    position: absolute;
    right: 0px;
    top:320px;
	z-index:10;
	animation-duration: .6s;
	animation-delay: 0.5s;
}

.page .date,
.single .date   {
	display: none;
}

.page .venue,
.single .venue {
	display: none;
}

#branding img {
	height: auto;
	width: 100%;
	clear:both;
}
.pagehead {
	height: 240px;
	overflow:hidden;
	clear:both;
	text-align:center;
	background:#68B82E;
}
.pagehead div {
	width:360px !important;
}
.pagehead img {vertical-align:bottom; width:100%;}

.topimageDate img {
	width:100%;
	vertical-align:bottom;
}
#event {
    display: flex;
    justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
#event img {
	width:100%;
}
#ticket1 {
	width:19%;
}
#ticket2 {
	width:50%;
}
#ticket3 {
	width:27%;
}


@media (max-width: 767px) {
	body, input, textarea {
		font-size: 13px;
	}

	/* Simplify the basic layout */
	#main #content {
		margin: 0 0 24px;
		width: auto;
	}
	#nav-below {
		border-bottom: 1px solid #ddd;
		margin-bottom: 1.625em;
	}
	#primary {
		float: none;
		margin: 0;
		padding:20px 0 0;
	}
	#main #secondary {
		clear:both;
		float: none;
		margin: 0px 2% 20px;
		width: auto;
	}
	#branding {
		height:auto;
		position: relative;
		background:url(images/dogs_sp.jpg) ;
		background-position: center bottom;
		background-repeat:no-repeat;
		background-size: 100% auto;
		min-height: 0;
	}
	#branding hgroup {
		width:100%;
		overflow:hidden;
		padding-top: 170%;
		background-image:url(images/ground_sp.png) ;
		background-repeat: no-repeat;
		background-position:center bottom;
		background-size: 100% auto;
		min-width:0;
	}

	.page #branding hgroup,
	.single #branding hgroup {
		background-image:url(images/ground_page.png) ;
		height:auto;
		padding-top:44%;
		background-position:center bottom;
		background-size: 175% auto;
	}
	#branding hgroup .wrapper {	
		min-width:0;
		width:auto;
		height: 100%;
		margin:0 auto;
		padding:0;
		position: absolute;
		left: 0;
		top:0;
	}

	.page #branding hgroup .wrapper,
	.single #branding hgroup .wrapper {
	    height: auto;
		padding:20px 0;
	}
	#site-title {
		padding:0;
		width:70% !important;
		text-align:center;
		margin:30px auto 0;
		top:auto;
		position:relative;
		z-index:40;
	}

	.page #site-title ,
	.single #site-title  {
		width:50% !important;
		margin:1.2vh auto 0;
	}

	.date {
		width:84%;
		position: relative;
		right: 0;
		top: auto;
		margin: 0 auto;
	}
	.venue {
		width:84%;
		position: relative;
		right: 0px;
		top: auto;
		margin: 0 auto;
	}
	.pagehead {
		height: 91px;

	}
	.pagehead div {width:137px !important;}

	#ticket1 {
		width:40%;
		order:2;
	}
	#ticket2 {
		width:100%;
		order:1;
		margin-bottom: 10px;
	}
	#ticket3 {
		width:56%;
		order:3;
	}
}
/* =Menu
-------------------------------------------------------------- */

#access {

	display: block;
	position: absolute;
	top: 0;
	margin: 0 auto;
	width: 100%;
	z-index: 1000;
	border-bottom: 1px solid #fff;
}
#access ul {
	width:1024px;
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 0 auto;
	padding-left: 0;
	text-align:center;
}
#access li {
	position: relative;
}
#access a {
	position: relative;
	z-index: 2;
	color: #fff;
	display: block;
	line-height: 4em;
	padding: 0 36px;
	text-decoration: none;
	font-size:16px;
	font-weight:bold;
}

#access a:hover,
#access a:focus {
	background:rgba(255,255,255,0.1);
	color:#FFF;
}
#access ul li:hover > ul {
	display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
	background:rgba(255,255,255,0.1);
	color:#FFF;
}
.dl-trigger {display:none;}
.fixed {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1000 !important;
	background:url(images/dogs.jpg) ;
	background-position: center;
	background-repeat:no-repeat;
    background-size: 140% auto;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* Search Form */
#branding #searchform {
	position: absolute;
	top: 3.8em;
	right: 7.6%;
	text-align: right;
}
#branding #searchform div {
	margin: 0;
}
#branding #s {
	float: right;
	width: 72px;
}
#branding #s:focus {
	background-color: #f9f9f9;
	width: 196px;
}
#branding #searchsubmit {
	display: none;
}
#branding .only-search #searchform {
	top: 5px;
	z-index: 1;
}
#branding .only-search #s {
	background-color: #666;
	border-color: #000;
	color: #222;
}
#branding .only-search #s,
#branding .only-search #s:focus {
	width: 85%;
}
#branding .only-search #s:focus {
	background-color: #bbb;
	}
#branding .with-image #searchform {
	top: auto;
	bottom: -27px;
	max-width: 195px;
}
#branding .only-search + #access div {
	padding-right: 205px;
}
.p-navi__hamburger {display: none;}

@media (max-width: 767px) {
	#access {
		width: 100%;
		position: static;
		clear:both;
		background: none;
		margin-bottom: 0px;
		border-bottom: none;
	}
	#access ul {
		width:100%;
		display: block;
		list-style: none;
		margin: 0 auto;
		padding: 0;
		text-align:center;
	}
	#access li {
		position: relative;
		margin-bottom:0;
		float:none;
		text-align:left;
        display: block;
	}
	#access a {
		line-height: 4em;
		padding: 0 10px;
		background-color:#68B82E;
		border-top:1px solid #fff;
		font-size:18px !important;
		color:#fff;
	}
	#access a:after {
		content:url(./images/stamp.svg);
		position: absolute;
		width: 20px;
		height: auto;
		right: 20px;
		top:0;
	}
	#access .current-menu-item > a:after {
		transform: rotate(-30deg);
	}
	#access li:last-child a {
		border-bottom:1px solid #fff;
	}
	#access li:hover > a,
	#access a:focus {
		border-top:1px solid #fff;
		background-color:#68B82E;
		color:#fff;
	}
	#access li:hover > a,
	#access a:focus {
		border-top:1px solid #fff;
		background-color:#68B82E;
		color:#fff;
	}
	#access ul li:hover > ul {
		display: block;
	}
	#access .current-menu-item > a,
	#access .current-menu-ancestor > a,
	#access .current_page_item > a,
	#access .current_page_ancestor > a {
		border-top:1px solid #fff;
	}
	.dl-trigger {display:block}
	.fixed {
		 box-shadow:none;
		 z-index:10000;
	}
	.p-navi {
		color: #68B82E;
		position: relative;
		width: 100%;
		height: auto;
		overflow: hidden;
	  }
	.p-navi__list {
	  display: flex;
	  -moz-column-gap: 24px;
		   column-gap: 24px;
	  padding: 10px 0 0;
	  background: #68B82E;
	  color: #fff;
	  flex-direction: column;
	  position: fixed;
	  overflow: scroll;
	  height: 100%;
	  width: 100%;
	  margin-left: 0;
	  position: fixed;
	  padding: 12vh 0 30vh 0 !important;
	  pointer-events: none;
	  opacity: 0;
	  transition: 0.3s;
	  top: 0;
	  left: 0;
	  z-index: 99;
	  overflow: hidden;
	}
	.p-navi__list.is-open {
	  opacity: 1;
	  pointer-events: all;
	}
	.p-navi__link {
	  font-weight: 700;
	  padding: 8px 0 8px 28px;
	  display: block;
	  position: relative;
	}
	.p-navi__link::before {
	  content: "";
	  position: absolute;
	  width: 18px;
	  height: 1px;
	  border-top: 1px solid #fff;
	  left: 0;
	  top: 50%;
	  transform: translateY(-1px);
	  z-index: 1;
	  opacity: 1;
	}
	.p-navi__link i {
	  padding-left: 5px;
	  font-size: 24px;
	  vertical-align: middle;
	}
	@media screen and (max-width: 767px) {
	  .p-navi__link {
		padding: 2vw 0 2vw 28px;
	  }
	}
	.p-navi__link--none {
	  cursor: pointer;
	}
	.p-navi__hamburger {
	  display: block;
	  position: fixed;
	  right: 10px;
	  top: 10px;
	  width: 54px;
	  height: 54px;
	  background: #68B82E;
	  border: 2px solid #fff;
	  box-sizing: border-box;
	  z-index: 100;
	  cursor: pointer;
	}
	.p-navi__hamburger-span {
	  position: absolute;
	  display: block;
	  width: 25px;
	  height: 2px;
	  background: #fff;
	  left: 0;
	  right: 0;
	  margin: auto;
	  transition: 0.3s;
	}
	.p-navi__hamburger-span:nth-child(1) {
	  top: 15px;
	}
	.p-navi__hamburger-span:nth-child(2) {
	  top: 0;
	  bottom: 0;
	}
	.p-navi__hamburger-span:nth-child(3) {
	  bottom: 15px;
	}
	
	.p-navi__hamburger.is-open .p-navi__hamburger-span:nth-child(1) {
	  top: 24px;
	  transform: rotate(-45deg);
	}
	.p-navi__hamburger.is-open .p-navi__hamburger-span:nth-child(2) {
	  opacity: 0;
	}
	.p-navi__hamburger.is-open .p-navi__hamburger-span:nth-child(3) {
	  bottom: 24px;
	  transform: rotate(45deg);
	}
}
/* =Front
----------------------------------------------- */
#sponsor {
	margin:0 auto 40px;
}
h2.sponsor {
	display:block;
	width:100%;
	font-size:20px;
		font-weight:bold;
	margin-bottom:24px;
	position:relative;
	border-bottom:1px solid #fff;
	text-align:left;
}
h2.sponsor span.underline {
	border-bottom:3px solid #FFF100;
	padding:5px 0;
	display:inline-block;
	margin-bottom:-1px;
}
h2.sponsor a {
	position:absolute;
	text-indent:0;
	top:7px;
	right:0;
	background:#fff;
	font-size:12px;
	color:#fff;
	padding:3px 12px;
	border-radius:12px;
}
h2.sponsor a:hover {
	text-decoration:none !important;
	background:#DCE000;
}
.widget_mylinkorder {
	position:relative;
	margin-right:-4%;
	overflow:hidden;
	background-color:#fff;
	padding:16px 24px;
	border-radius:16px;
}

.widget_mylinkorder h3 {
	display:none;
}
ul.blogroll {
	list-style:none !important;
	margin:0;
	display:flex;
	flex-wrap:wrap;
	align-items: center;
	justify-content:center;
}
ul.blogroll li {
	list-style:none !important;
	font-size:11px;
	text-align: center;
}
#linkcat-3 ul li {
	margin:0 1.5% 10px;
}
ul.blogroll li:last-child {
	margin-right:0 !important;
}
ul.blogroll {zoom:1;}
ul.blogroll:after {
  content: ""; 
  display: block; 
  clear: both;
}
ul.blogroll img {
	max-width:100%;
}
ul.blogroll a {
	color:#000;
}
ul.blogroll a:hover {
	color:#000;
	text-decoration:underline;
}
/* =Content
----------------------------------------------- */

#main {
	width:1100px;
	padding:30px 0;
	margin:-1px auto 0;
	clear: both;
}
.pagetitle {
	font-weight: bold;
	margin-bottom:0;
	padding:0;
	color:#111;
	font-size:26px;
	letter-spacing:2px;
	text-align:center;
}
.pageTitleEn {
	color:#FFF100;
	font-weight: bold;
	font-size:15px;
	font-family:Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	text-align:center;
	margin-bottom:32px;
}
.newsTitle {
	font-weight: bold;
	margin-bottom:24px;
	padding:0;
	color:#111;
	font-size:24px;
	letter-spacing:2px;
	border-bottom:1px solid #fff;
}
.newsTitle span {
	border-bottom:3px solid #FFF100;
	padding:5px 0;
	display:inline-block;
	margin-bottom:-1px;
}
.content dl {
	margin: 0 0 2em 0;
}
.entry-content dl dt {
	float:left;
	clear:both;
	padding: 3px 0;
}
.entry-content dl dd {
	padding: 3px 0;
	margin-left:8em;
}
.entry-content ul {
	margin-bottom:1em !important;
}
.entry-content ul li {
	list-style:square;
	list-style-position: outside;
	color:#000;
}
.entry-content p {
	margin-bottom:1em;
}
.wp_social_bookmarking_light {
	padding:12px;
}
a.read {
	display:inline-block;
	background:#68B82E;
	color:#fff;
	padding:3px 16px;
	border-radius:16px;
	text-decoration:none;
}
a.read:hover {
	text-decoration:none !important;
	background:#DCE000;
}
.continue {
	text-align: right;
}
.continue a.read {
	display: inline-block;
}
.page-title {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	margin: 0 0 2.6em;
	text-transform: uppercase;
}
.page-title a {
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0;
	text-transform: none;
}
.hentry,
.no-results {
	margin: 0 auto 1.625em;
	padding: 0 0 1.625em;
	position: relative;
    max-width: 980px;
}
.hentry:last-child,
.no-results {
	border-bottom: none;
}
.blog .sticky .entry-header .entry-meta {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.entry-title,
.entry-meta,
.entry-content {

	padding-right: 0px;
	width:100%;
	float:none;
}
.entry-header .entry-title {
	font-weight:bold;
	margin:0 0 .5em 0;
	padding:0 0 0.5em 0;
	border-bottom:1px solid #FFF;
	font-size:21px;

}
.entry-content h3 {
	font-size:21px;
	font-weight:bold;
	margin:0 0 1em 0;
	padding:1em 0 0 0;
	border-bottom:1px solid #ccc;
}

.entry-content h3 span {
	border-bottom:2px solid #6A3906;
	padding:0 0 0.1em ;
	display:inline-block;
	margin-bottom:0px;
}
.entry-content h4 {
	font-size:18px;
	font-weight:bold;
	margin:0 0 .5em 0;
}
.entry-content h5 {
	font-size:16px;
	font-weight:bold;
	margin:0 0 .5em 0;
	background:#EB6700;
	color:#fff;
	border-radius:20px;
	padding:2px 12px;
	display:inline-block;
}
.entry-content h5.date1 {
	background:#0054A6;
}
.entry-content h5.date2 {
	background:#E50045;
}
.d23 {
	background:#d3edfb;
	padding:15px;
}
.d24 {
	background:#fadce9;
	padding:15px;
}
.entry-home {
	background-color: #fff;
	padding:16px 24px;
	border-radius: 16px;
}

.entry-home .entry-title {
	color:#222;
	font-size:21px;
	font-weight: bold;
	padding: 0;
	width:auto;

}
.entry-home .entry-title {
		clear: none;
}
.entry-title,
.entry-title a {
	text-decoration: none;
}
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
	color: #68B82E;
}
.entry-home .flex {
	display:flex;
	justify-content:space-between;
}
.entry-home .thumbnail {
	width:150px;
}
.entry-home .description {
	width: calc(100% - 170px);
}
.entry-home .thumbnail img {
	width:100%;
	box-shadow: 0 0 5px rgba(0,0,0,0.3)
}
.entry-meta {
	color: #000;
	font-size: 15px;
	line-height: 1.7;
	text-align:right;
	margin-bottom: 10px;
}
.entry-meta a {
	font-weight: bold;
}
.single-author .entry-meta .by-author {
	display: none;
}
.entry-content,
.entry-summary {
	background-color: #fff;
	padding: 24px 32px;
	border-radius: 16px;
	font-size:16px;
	box-sizing: border-box;
}
.entry-home .entry-content {
	padding: .5em 0;
}
.entry-home .entry-meta {
	margin-bottom:0;
}
.entry-content h1,
.entry-content h2,
.comment-content h1,
.comment-content h2 {
	font-weight: normal;
	margin: 0 0 1em;
}




.entry-content #s {
	width: 75%;
}
dl.gallery-item {
	margin: 0;
}
.page-link {
	clear: both;
	display: block;
	margin: 0 0 1.625em;
}
.page-link a {
	background: #eee;
	color: #373737;
	margin: 0;
	padding: 2px 3px;
	text-decoration: none;
}
.page-link a:hover {
	background: #888;
	color: #fff;
	font-weight: bold;
}
.page-link span {
	margin-right: 6px;
}
.entry-meta .edit-link a,
.commentlist .edit-link a {
	background: #eee;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #666;
	float: right;
	font-size: 12px;
	line-height: 1.5em;
	font-weight: 300;
	text-decoration: none;
	padding: 0 8px;
}
.entry-meta .edit-link a:hover,
.commentlist .edit-link a:hover {
	background: #888;
	color: #fff;
}
.entry-content .edit-link {
	clear: both;
	display: block;
}

#guide p,
#guide table,
#guide dl,
#entry p,
#entry table,
#entry .webentry {
	margin-left:2em !important;
}
#entry ol {
	margin-left:4.5em !important;
}
#entry ol li {
	margin-bottom:.5em;
}
#guide p img,
#guide table img,
#guide dl img {
	vertical-align:bottom;
}

ul.tab {
	margin:0 !important;
	padding:0 !important;
}
ul.tab li {
	margin-right:1px;
	list-style-type:none !important;
	float: left;
}
ul.tab li a {
	display:block;
	color:#FFF;
	padding:6px 12px !important;
}
ul.tab li a:hover {
	color:#FFF !important;
	text-decoration:none;
}
ul.tab li.active a {
	font-weight:bold;
}
ul.tab li#tabmenu1 a {
	background:#333;
}
ul.tab li#tabmenu2 a {
	background:#E60012;
}

ul.tab li#tabmenu3 a {
	background:#004EA2;
}

ul.tab li#tabmenu4 a {
	background:#00A73C;
}
ul.tab li#tabmenu5 a {
	background:#FABE00;
}

ul.tab li#tabmenu1.active a {
	background:#000;
}
ul.tab li#tabmenu2.active a {
	background:#97000C;
}

ul.tab li#tabmenu3.active a {
	background:#002855;
}

ul.tab li#tabmenu4.active a {
	background:#006C26;
}
ul.tab li#tabmenu5.active a {
	background:#BF8F00;
}

#course {
	clear: both;
	overflow: hidden;
	width: auto;
	height:auto;
}
#course p {
	margin-left:0 !important;
}
.area {
	display: none;
}
.latlonglab {
	margin:0 auto;
}
p.pdf a {
	display:block;
	background:url(images/doc_pdf.png) no-repeat 12px center;
	border:1px solid #68B82E;
	padding:5px 0 5px 36px;
	border-radius:6px;
	font-size:1.2em;
	width:auto;
	box-shadow: 2px 2px 6px #eee;
}
p.pdf a:hover {background-color:#f6f6f6;}


/* Images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large {
	height: auto;
	max-width: 100%;
}
.entry-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 1.625em;
}
.wp-caption {
	background: #eee;
	margin-bottom: 1.625em;
	max-width: 96%;
	padding: 9px;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	color: #666;
	font-family: Georgia, serif;
	font-size: 12px;
}
.wp-caption .wp-caption-text {
	margin-bottom: 0.6em;
	padding: 10px 0 5px 40px;
	position: relative;
}
.wp-caption .wp-caption-text:before {
	color: #666;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}
#content .gallery {
	margin: 0 auto 1.625em;
}
#content .gallery a img {
	border: none;
}
img#wpstats {
	display: block;
	margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
	width: 23%;
	padding-right: 2%;
}
#content .gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */

}
.wp-caption img {
	border-color: #eee;
}
a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
	border-color: #bbb;
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {/* ... including captioned images! */
	background: #fff;
	border-color: #ddd;
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Password Protected Posts */
.post-password-required .entry-header .comments-link {
	margin: 1.625em 0 0;
}
.post-password-required input[type=password] {
	margin: 0.8125em 0;
}
.post-password-required input[type=password]:focus {
	background: #f7f7f7;
}


/* --- Post Columns Shortcodes --- */
.two-columns-one{
	width:45%;
}
.three-columns-one{
	width:30.66%;
}
.three-columns-two{
	width:65.33%;
}
.four-columns-one {
	width: 22%;
}
.four-columns-two {
	width:48%;
}
.four-columns-three {
	width:74%;
}
.two-columns-one,.three-columns-one,.three-columns-two, .four-columns-one, .four-columns-two, .four-columns-three {
	float:left;
	margin-right:4%;
	position:relative;
}
.last{
	clear:right;
	margin-right:0 !important;
}
.divider { 
	clear:both; 
	display:block; 
	margin-bottom:20px;
	width:100%; 
}
#content span.highlight {
	padding: 2px;
	background-color: #FFFBCC;
}
.yellow-box {
	margin: 10px 0;
	background: #FFFBCC;
	border: 1px solid #E6DB55;
	padding: 20px;
	overflow:hidden;
}
.red-box {
	margin: 10px 0;
	background: #FFD9C8;
	border: 1px solid #F37C72;
	padding: 20px;
	overflow:hidden;
}
.green-box {
	margin: 10px 0;
	background: #D5FFCA;
	border: 1px solid #BDDC7F;
	padding: 20px;
	overflow:hidden;
}

/* --- Post Tables --- */
.entry-content table {
	margin:0.5em 0px 2em 0;
	font-size:1em;
	border-collapse:collapse;
	width:100%;
}


.entry-content table tr th {
	padding: 7px 10px;
	border:1px solid #eee;
	background:#f3f3f3;
	font-weight:bold;
	vertical-align:middle;
}
.entry-content table tr td {
	padding: 7px 10px;
	border:1px solid #eee;
	background:#fff;
}



/*
Post Formats Headings
To hide the headings, display: none the ".entry-header .entry-format" selector,
and remove the padding rules below.
*/
.entry-header .entry-format {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	position: absolute;
	text-transform: uppercase;
	top: -5px;
}
.entry-header hgroup .entry-title {

}
article.format-aside .entry-content,
article.format-link .entry-content,
article.format-status .entry-content {
	padding: 20px 0 0;
}
article.format-status .entry-content {
	min-height: 65px;
}
.recent-posts .entry-header .entry-format {
	display: none;
}
.recent-posts .entry-header hgroup .entry-title {
	padding-top: 0;
}






/* =error404
----------------------------------------------- */

.error404 #main #searchform {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-width: 1px 0;
	margin: 0 -8.9% 1.625em;
	overflow: hidden;
	padding: 1.625em 8.9%;
}
.error404 #main #s {
	width: 95%;
}
.error404 #main .widget {
	clear: none;
	float: left;
	margin-right: 3.7%;
	width: 30.85%;
}
.error404 #main .widget_archive {
	margin-right: 0;
}
.error404 #main .widget_tag_cloud {
	float: none;
	margin-right: 0;
	width: 100%;
}
.error404 .widgettitle {
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}




/* =Attachments
----------------------------------------------- */

.image-attachment div.attachment {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-width: 1px 0;
	margin: 0 -8.9% 1.625em;
	overflow: hidden;
	padding: 1.625em 1.625em 0;
	text-align: center;
}
.image-attachment div.attachment img {
	display: block;
	height: auto;
	margin: 0 auto 1.625em;
	max-width: 100%;
}
.image-attachment div.attachment a img {
	border-color: #f9f9f9;
}
.image-attachment div.attachment a:focus img,
.image-attachment div.attachment a:hover img,
.image-attachment div.attachment a:active img {
	border-color: #ddd;
	background: #fff;
}
.image-attachment .entry-caption p {
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	margin: 0 0 2.6em;
	text-transform: uppercase;
}


/* =Navigation
-------------------------------------------------------------- */

#content nav {
	clear: both;
	overflow: hidden;
	padding: 0 0 1.625em;
}
#content nav a {
	font-size: 12px;
	font-weight: bold;
	line-height: 2.2em;
}
#nav-above {
	padding: 0 0 1.625em;
}
#nav-above {
	display: none;
}
.paged #nav-above {
	display: block;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content nav .meta-nav {
	font-weight: normal;
}

/* Singular navigation */
#nav-single {
	float: right;
	position: relative;
	top: -0.3em;
	text-align: right;
	z-index: 1;
}
#nav-single .nav-previous,
#nav-single .nav-next {
	width: auto;
}
#nav-single .nav-next {
	padding-left: .5em;
}
#nav-single .nav-previous {
	padding-right: .5em;
}


/* =Widgets
----------------------------------------------- */

.widget-area {
	font-size: 12px;
}
.widget {
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	clear: both;
	margin: 0 0 12px;
}
.widget-title {
	display:none;
}

#secondary .widget a.banner {
	text-decoration: none;
	background-color: #fff;
	padding: 12px;
	border-radius: 12px;
	display: block;
}
#secondary .widget a.banner:hover {
	opacity:0.8;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
	text-decoration: underline;
}
/* Twitter */
.widget_twitter li {
	list-style-type: none;
	margin-bottom: 14px;
}
.widget_twitter .timesince {
	display: block;
	font-size: 11px;
	margin-right: -10px;
	text-align: right;
}

/* Widget Image */
.widget_image img {
	border: 0;
	padding: 0;
	height: auto;
	max-width: 100%;
}



/* =Footer
----------------------------------------------- */
#pagetop {
	clear: both;
	text-align:right;
}
#footer {
	clear: both;
	background:#FFF;
}
#footer .wrapper {
	width:980px;
	margin:0 auto;
	display: flex;
	justify-content: space-between;
}
#copyright {
	order: 1;
	font-size:14px;
	color:#222;
	padding:24px 0;
}
#tochitele {
	order: 2;
	padding:12px 0;
}
#supplementary {
	border-top: 1px solid #ddd;
	padding: 1.625em 7.6%;
	overflow: hidden;
}

.pc {
	display:block;
}
.sp {
	display:none;
}
#social {
	margin:0 auto 20px;
	padding:0;
	clear:both;
}
#social ul {
	list-style:none;
	margin:0;
}
#social ul li {
	display:inline-block;
	margin-right:5px;
	margin-bottom:5px;
	vertical-align:bottom;
	overflow:hidden;
	line-height:1;
}
#social ul li:last-child {
	margin-right:0;
}
.fb_iframe_widget > span {
  vertical-align: baseline !important;
}
/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 767px) {
	#main {
		width:auto;
		padding:15px 12px;
	}

	#all {
		margin: 0px;
	}
	#sponsor {
		margin: 0 2%;
	}

	#linkcat-3 li {
		width:100%;
		margin: 0 2%;
		margin: 0 !important;
	}

	article.intro .entry-content {
		font-size: 12px;
	}

	.pageTitleEn {
		margin-bottom:16px;
	}
	.entry-header .entry-title {
		font-size:18px !important;
		line-height:1.3;

	}
	.entry-home {
		background-color: #fff;
		padding:12px 16px;
		border-radius: 16px;
	}
	.entry-home .entry-title {
		color:#222;
		font-size:18px !important;
		line-height:1.3;

	}
	.entry-home .thumbnail {
		width:75px;
	}
	.entry-home .description {
		width: calc(100% - 90px);
	}
	#content .entry-content table {
		margin:0.5em 0px 2em 0;
	}

	.entry-content,
	.entry-summary {
		background-color: #fff;
		padding: 12px 16px;
		border-radius: 12px;
		font-size:16px;
		box-sizing: border-box;
	}
	.entry-home .description p {
		font-size:14px;
		line-height:1.6;
	}
	.entry-content h3 {
		margin:0 0 0.5em 0;
	}
	.entry-content dl {
		margin: 0 0 2em 0;
	}
	.entry-content dl dt {
		width:auto;
		float:none;
		clear:both;
		padding: 2px 0;
	}
	.entry-content dl dd {
		margin-left:1em;
		padding: 2px 0;
	}
	#guide p,
	#guide table,
	#guide dl,
	#entry p,
	#entry table,
	#entry .webentry {
		margin-left:0 !important;
	}
	.flick {
		width:90%;
		overflow:hidden;
		margin:0 auto;
		border:1px solid #ddd;
	}
	.featured-post .entry-title {
		font-size: 14px;
	}
	.singular .entry-title {
		font-size: 28px;
	}
	.entry-meta {
		font-size: 12px;
	}
	blockquote {
		margin: 0;
	}
	blockquote.pull {
		font-size: 17px;
	}
	.latlonglab {
		width:100%;
	}
	/* Floated content doesn't work well at this size */
	.alignleft,
	.alignright {
		display: block;
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	/* Make sure the post-post navigation doesn't collide with anything */
	#nav-single {
		display: block;
		position: static;
	}
	.singular .hentry {
		padding: 1.625em 0 0;
	}
	.singular.page .hentry {
		padding: 1.625em 0 0;
	}
	#secondary .widget {
		float:none;
		width:auto;
		clear: none;
		text-align:center;
	}
	#secondary .widget div {text-align:center;}
	#secondary .widget img {width:100%;max-width:100%;}

	#secondary .widget {
		margin:0 auto;
		display: block;
	}
	#copyright {
		font-size:11px;
	}
	#copyright {
		float:none;
		text-align:center;
		padding:12px 0 24px;
	}
	#tochitele {
		float:none;
		text-align:center;
		padding: 12px 0 0;
	}
	.webentry {
		text-align:center;
	}
	.webentry .logo {
		float:none;
		margin:0 0 20px 0;
	}
	.webentry a.button {
		font-size:1em;
		text-align:center;
		width:250px;
		margin:0 auto 1em auto;
	}
	.webentry p {
		margin:0 !important;
		text-align:left;
	}
	#footer .wrapper {
		width: auto;
		display: block;
	}
	.wp_social_bookmarking_light {
		padding:0 10px !important;
	}

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

	#social {
	width:auto;
		margin:0 10px 40px
	}
}
@media (max-width: 450px) {


	#content .gallery-columns-2 .gallery-item {
		width: 45%;
		padding-right: 4%;
	}
	#content .gallery-columns-2 .gallery-item img {
		width: 100%;
		height: auto;
	}

}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	body {
		padding: 0;
	}
	#page {
		margin-top: 0;
	}
	#branding {
		border-top: none;
	}

}
