/* =======================================

	 CommonElements

======================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500&display=swap');
body {
	color: #000000;
	font-size: 13px;
	font-size: 1.3rem;
	text-align: center;
	line-height: 1;
	letter-spacing: 0.07em;
	font-family: "Noto Sans JP", sans-serif;
	font-feature-settings: "palt";
	-webkit-text-size-adjust: none;
	background: #FFFFFF;
}

@media all and (-ms-high-contrast: none) {
	body {
		letter-spacing: 0.05em;
		font-feature-settings: normal;
	}
}

body.fadeout::after {
	opacity: 1;
}

body::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:#ffffff;
	z-index: 9999;
	pointer-events: none;
	opacity: 0;
	-webkit-transition: opacity .8s ease;
	transition: opacity .8s ease;
}

/* FONTS */
.alphabet,
#global_header > nav > ul a,
#sub > nav > ul a {
	font-weight: 300;
	font-family: "bio-sans", serif !important;
}

/* =======================================
	HEADER
======================================= */
#global_header {
	width: 100%;
	height: 210px;
	padding: 0 4vw;
	position: relative;
	background: #FFFFFF;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	top: 0;
	z-index: 100;
}
#global_header .header_logo {
	width: 130px;
	height: auto;
}
#global_header .header_logo a {
	display: block;
}
#global_header .header_logo img {
	width: 100%;
	height: auto;
}
#global_header > nav {
	margin-left: auto;
	font-size: 1.6rem;
}
#global_header > nav > ul {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}
#global_header > nav li {
	margin-left: 3.8vw;
}
#global_header > nav li a {
	color: rgba(0,0,0,0.5);
}
#global_header > nav .current a {
	color: rgba(0,0,0,1);
}
#global_header > nav li.nav_home {display: none}

.h_smaller #global_header {
	height: auto;
	padding-top: 30px;
	padding-bottom: 30px;
	position: fixed;
	background: rgba(255,255,255,0.9);
}
.h_smaller #global_header .header_logo {
	padding: 0;
	width: 100px;
}
#container {
	padding: 0;
}
.h_smaller #container {
	padding: 210px 0 0;
}

/* #page_index */
#page_index header {
	height: 80vh;
}
#page_index header h1 {
	width: 242px;
	height: auto;
	padding: 30px 0 0;
	margin: 0 auto;
}
#page_index header h1 a {
	display: block;
}
#page_index header h1 img {
	width: 100%;
	height: auto;
}
#page_index.h_smaller header {
	display: flex;
	align-items: center;
	padding: 30px 4vw;
	position: fixed;
	background: rgba(255,255,255,0.9);
}
#page_index header nav {
	display: none;
}
#page_index.h_smaller header nav {
	display: block;
}
#page_index.h_smaller header h1 {
	margin: 0;
	padding: 0;
	width: 100px;
}
#page_index.h_smaller header h1.index-visible {
	display: none;
}
#page_index header h1.index-hidden {
	display: none;
}
#page_index.h_smaller header h1.index-hidden {
	display: block;
}
#page_index #container {
	padding: 0;
}
#page_index.h_smaller #container {
	padding: 814px 0 0;
}

/* :hover */
.pc_view #global_header > nav a:hover {
	color: rgba(0,0,0,1);
}

@media (max-width: 768px){
	#page_index header {
		padding: 200px 0;
	}
	#page_index header h1 {
		padding: 0;
		width: 40vw;
	}
	#page_index #container {
		padding: 0;
	}
	#page_index.h_smaller #container {
		padding: 500px 0 0;
	}
	#page_index.h_smaller header {
		padding-left: 6vw;
		padding-right: 6vw;
		padding-top: 30px;
		padding-bottom: 30px;
	}
}

@media (max-width: 768px){
	#global_header {
		height: 100px;
		padding-left: 6vw;
		padding-right: 6vw;
	}
	#global_header > nav li.nav_home {display: block;}
	#global_header #spMenu {
		display: block;
		-webkit-transform: translate(0, -50%);
		transform: translate(0, -50%);
		position: absolute;
		top: 50%;
		right: 6vw;
		z-index: 102;
	}
	#global_header #spMenu #switchBtn {
		width: 40px;
		height: 40px;
		display: block;
	}
	#global_header #spMenu #switchBtn span {
		width: 66%;
		height: 1px;
		background-color: #000000;
		border-radius: 2px;
		position: absolute;
		left: 17%;
		transition: all 0.3s linear;
		-webkit-transition: all 0.3s linear;
		-moz-transition: all 0.3s linear;
	}
	#global_header #spMenu #switchBtn,
	#switchBtn span {
		display: inline-block;
		transition: all 0.3s;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		box-sizing: border-box;
	}
	#global_header #spMenu #switchBtn span:nth-of-type(1) {
		top:12px;
		transform: rotate(0);
		-webkit-transform: rotate(0);
	}
	#global_header #spMenu #switchBtn span:nth-of-type(2) {
		top:21px;
		transform: scale(1);
		-webkit-transform: scale(1);
	}
	#global_header #spMenu #switchBtn span:nth-of-type(3) {
		top:30px;
		transform: rotate(0);
		-webkit-transform: rotate(0);
	}
	#global_header #spMenu #switchBtn.btnClose {
		transform: rotate(90deg);
		-webkit-transform: rotate(90deg);
	}
	#global_header #spMenu #switchBtn.btnClose span:nth-of-type(1) {
		top: 0 !important;
		transform: translateY(20px) rotate(-45deg);
		-webkit-transform: translateY(20px) rotate(-45deg);
	}
	#global_header #spMenu #switchBtn.btnClose span:nth-of-type(2) {
		top:20px;
		transform: translateY(0) rotate(45deg);
		-webkit-transform: translateY(0) rotate(45deg);
	}
	#global_header #spMenu #switchBtn.btnClose span:nth-of-type(3) {
		opacity: 0;
	}
	#global_header nav {
		width: 100%;
		padding: 0;
	}
	#global_header nav ul {
		width: 100vw;
		height: 100vh;
		margin: 0;
		padding: 0;
		text-align: left;
		background: rgba(255,255,255,.9);
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
		flex-direction: column;
		-ms-flex-direction : column;
		-webkit-flex-direction: column;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 101;
	}
	#global_header nav > ul > li {
		width: 100%;
		margin: 0;
		padding: 0;
		display: block;
		position: relative;
		line-height: 1em;
		font-size: 1.1em;
	}
	#global_header nav > ul > li > a,
	.h_smaller #global_header nav > ul > li > a {
		width: 100%;
		height: auto;
		padding: 1em;
		display: block;
		font-size: 2.2rem;
		text-align: center;
	}
	#global_header #mdd_nav .mdd_wrap {
		display: none!important;
	}
	#global_header #mdd_nav > ul > li.mddActive > a {
		border-bottom: none;
	}
	#global_header #mdd_nav .nav_contact,
	#global_header #mdd_nav .nav_lang {
		display: block;
	}
	#global_header div#sub_nav {display: none;}
}


/* =======================================
	CONTAINER
======================================= */
.w_liquid {
	width: 100%;
	padding-left: 4vw;
	padding-right: 4vw;
}
@media (max-width: 1080px) {
	.w_liquid {
		padding-left: 4vw;
		padding-right: 4vw;
	}
}
@media (max-width: 768px) {
	.w_liquid {
		padding-left: 6vw;
		padding-right: 6vw;
	}
}


/* =======================================
	ELEMENTS
======================================= */
a {
	color: #000000;
	text-decoration: none;
	transition: all 0.2s ease-out;
}
a * {
	transition: all 0.2s ease-out;
}
p {
	font-size: 1.3rem;
	line-height: 2.2;
	text-align: justify;
	text-justify: inter-ideograph;
}
p a {
	color: #29abe2;
}

/* :hover */
.pc_view a:hover img {
	opacity: 0.6;
}

/* =======================================
	MAIN
======================================= */
main {
	width: 100%;
	padding-left: 4vw;
	padding-right: 4vw;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-flow: row-reverse;
	flex-flow: row-reverse;
}

#page_index main {
	padding-left: 12vw;
	padding-right: 12vw;
}

@media (max-width: 1080px) {
	main,
	#page_index main {
		padding-left: 8vw;
		padding-right: 8vw;
	}
}
@media (max-width: 768px) {
	main,
	#page_index main {
		padding-left: 6vw;
		padding-right: 6vw;
	}
}


/* =======================================
	LAYOUT
======================================= */
#single_content {
	width: 100%;
}
#page_archive #works_list,
#works_content {
	width: 90%;
}
#sub {
	width: 10%;
}

@media (max-width: 768px) {
	#page_archive main,
	#page_post main {
		display: block;
	}
	#page_archive #works_list,
	#works_content,
	#page_archive #sub {
		width: 100%;
	}
}


/* =======================================
	#works_list
======================================= */
#works_list {
	width: 100%;
}
#works_list ul {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
#works_list ul li {
	width: 25%;
	padding: 2.5vw;
}
#works_list li img {
	width: 100%;
}
#works_list p.note {
	padding: 2.5vw;
}

@media (max-width: 1299px){
	#works_list ul li {
		width: 33.3%;
	}
}
@media (max-width: 980px){
	#works_list ul li {
		width: 50%;
	}
}
@media (max-width: 768px){
	#works_list ul li {
		width: 100%;
		padding: 5vw;
	}
	#works_list p.note {
		padding: 5vw;
	}
}


/* =======================================
	#post_field COMMON
======================================= */
#post_field {
	padding: 2.5vw;
	text-align: left;
}
#post_field #post_info {
	padding: 2.5vw 0;
}
#post_field #post_info h1 {
	font-size: 2.3rem;
	margin-bottom: 0.8em;
	font-weight: 500;
	font-family: "bio-sans", serif !important;
}
#post_field .tag_list {
	margin-bottom: 2em;
}
#post_field h1 {
	font-size: 1.6rem;
	margin-bottom: 3.2em;
	line-height: 1.4;
}
#post_field h2,
#post_field h3,
#post_field h4,
#post_field h5,
#post_field h6 {
	margin-bottom: 20px;
	line-height: 1.4;
}
#post_field h1 small,
#post_field h2 small,
#post_field h3 small,
#post_field h4 small,
#post_field h5 small,
#post_field h6 small {
	display: block;
}
#post_field h2 {
	font-size: 3.2rem;
}
#post_field h3 {
	font-size: 2.8rem;
}
#post_field h4 {
	font-size: 2.4rem;
}
#post_field img {
	width: 100%;
	max-width: 100%;
	margin-bottom: 2.5vw;
}
#post_field figure img {
	width: auto;
	margin-bottom: 0;
}
#post_field p {
	margin-bottom: 2em;
}
#post_field small {
	font-size: 11px;
}

/* UL,OL */
#post_field ul,
#post_field ol {
	padding-bottom: 2em;
}
#post_field ul li,
#post_field ol li {
	margin-bottom: 1.2em;
	position: relative;
}
#post_field ul li {
	padding: 0 0 0 15px;
}
#post_field ul li:last-of-type {
	margin: 0;
}
#post_field ul li:before {
	content: "";
	width: 6px;
	height: 6px;
	border: 1px solid #000000;
	border-radius: 50%;
	position: absolute;
	top: 0.4em;
	left: 0;
}
#post_field ol {
	padding-top: 0.5em;
	counter-reset: my-counter;
	list-style: none;
}
#post_field ol li {
	margin-left: 1.6em;
}
#post_field ol li:before {
	height: 20px;
	width: 20px;
	margin: -3px 0 0 -25px;
	display: block;
	float: left;
	color: #fff;
	font-size: 75%;
	line-height: 20px;
	text-align: center;
	border-radius: 50%;
	background: rgba(0,0,0,0.4);
	border: none;
	content: counter(my-counter);
	counter-increment: my-counter;
	transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	-o-transform: rotate(0deg);
}
#main_contents ul ul,
#main_contents ol ol {
	padding: 1.5em 0 0 1em;
	font-size: 0.9em;
}
#post_field ul p,
#post_field ol p {
	margin: 0.5em 0;
}
#post_field ul strong,
#post_field ol strong {
	font-size: 120%;
	font-weight: normal;
}

@media (max-width: 768px){
	#post_field {
		/*padding: 5vw;*/
	}
}

/* =======================================
	#single_content
======================================= */
#single_content #post_field {
	padding-left: 10vw;
	padding-right: 10vw;
}

@media (max-width: 768px){
	#single_content #post_field {
		padding-left: 0;
		padding-right: 0;
	}
}

/* =======================================
	ABOUT
======================================= */
#single_content .about_content {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: flex-end;
	-ms-flex-align: flex-end;
	align-items: flex-end;
}
#single_content .about_content figure {
	width: 240px;
	margin-right: 5vw;
}
#single_content .about_content h2 {
	font-size: 1.8rem;
}
#single_content .about_content p {
	margin-bottom: 3em;
}
#single_content .about_content nav ul {
	padding: 0;
}
#single_content .about_content nav ul li {
	padding: 0;
	margin: 0 10px 0 0;
	display: inline-block;
}
#single_content .about_content nav ul li:before {
	display: none;
}
#single_content .about_content nav ul li a {
	display: block;
}
#single_content .about_content nav ul li img {
	width: 40px;
	height: auto;
	margin: 0;
}


@media (max-width: 768px){
	#single_content .about_content {
		display: block;
	}
	#single_content .about_content figure {
		width: 40%;
		margin: 0 auto 15vw;
	}
}


/* =======================================
	CONTACT
======================================= */
.contact-form {
	padding: 2.5vw 0;
}
.contact-form .label {
	font-size: 1.6rem;
}
.contact-form .label .required {
	margin-left: 0.4em;
	display: inline-block;
	color: #d7004c;
	font-size: 1.2rem;
}
.contact-form .box-form {
	margin-bottom: 3em;
}
.contact-form .box-form .wpcf7-response-output {
	margin: 2em 0 !important;
	padding: 1.75em !important;
}
.contact-form .box-form .wpcf7-response-output.wpcf7-mail-sent-ok {
  border: 0px;
	background: #A7E293;
}
.contact-form .box-form .wpcf7-response-output.wpcf7-validation-errors,
.contact-form .box-form .wpcf7-response-output.wpcf7-mail-sent-ng,
.contact-form .box-form .wpcf7-response-output.wpcf7-spam-blocked {
  border: 0px;
	background: #FFB0B2;
}
span.wpcf7-not-valid-tip {
	color: #d7004c !important;
}
input,
textarea {
	max-width: 100%;
	margin: 1em 0/* 0 3em*/;
	display: inline-block;
	padding: 0.8em 1em;
	font-size: 16px;
	border: 1px solid #dbdbdb;
}
input {
	width: 100%;
	vertical-align: 0.15em;
}
textarea {
	width: 100%;
	min-height: 250px;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
	display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
	outline-offset: -2px;
}

input[type="submit"],
button {
	width: auto;
	margin: 0 auto;
	padding: 0.8em 4em;
	display: inline-block;
	overflow: hidden;
	color: #ffffff;
	text-align: center;
	background: rgba(0,0,0,0.4);
	vertical-align: bottom;
	letter-spacing: 0.1em;
	font-size: 16px;
	border: 1px solid transparent;
	border-radius: 0;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	cursor: pointer;
	transition: all 0.2s ease;
}

/* :focus */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
	outline: 0;
	border: 1px solid #29abe2;
}

/* :hover */
.pc_view input[type="submit"]:hover,
.pc_view button:hover {
	background: rgba(0,0,0,1);
}

@media (max-width: 768px){
	.contact-form p.control {
		text-align: center;
	}
	input[type="submit"] {
		margin: 0 auto;
	}
}


/* =======================================
	#sub
======================================= */
#sub {
	padding-top: 2.5vw;
}
#sub > nav > ul {
	text-align: left;
	font-size: 1.6rem;
}
#sub > nav > ul li {
	margin-bottom: 1.5em;
}
#sub > nav > ul a {
	display: block;
	padding: 0.25em 0;
	color: rgba(0,0,0,0.5);
}
#sub > nav > ul .current-cat a {
	color: rgba(0,0,0,1);
}

/* :hover */
#sub > nav > ul a:hover {
	color: rgba(0,0,0,1);
}

@media (max-width: 768px){
	#sub {
		padding: 5vw;
	}
}


/* PAGER
--------------------*/
.pager {
	margin: 4.5rem 0;
	display: flex;
	justify-content: space-between;
}
.pager > * {
	flex-basis: calc(100% / 2);
}
.pager .back {
	text-align: left;
}
.pager .next {
	text-align: right;
}
.pager .back a,
.pager .next a {
  display: inline-block;
  position: relative;
}
/*.pager .back a {
  padding-left: 26px;
}
.pager .next a {
  padding-right: 26px;
}*/
.pager .back > a,
.pager .next > a {
	display: inline-block;
	transition: all 250ms cubic-bezier(0.000, 0.000, 0.580, 1.000);
}
.pager .back:hover > a {
/*	transform: translateX(-5px);
  transform: rotate(90deg);
	transition: all 250ms cubic-bezier(0.000, 0.000, 0.580, 1.000);*/
}
.pager .next:hover > a {
/*	transform: translateX(5px);
  transform: rotate(90deg);
	transition: all 250ms cubic-bezier(0.000, 0.000, 0.580, 1.000);*/
}


/* =======================================
	FOOTER
======================================= */
#global_footer {
	padding: 100px 4vw;
	font-size: 16px;
	font-size: 1.6rem;
	text-align: right;
	color: rgba(0,0,0,0.5);
}

@media (max-width: 768px){
	#global_footer {
		text-align: center;
	}
}