@charset "utf-8";

/* display control 1 */
.only_pc {
	display:block;
}

.only_pc.inline {
	display:inline;
}

.only_mobile {
	display:none;
}

.only_mobile.inline {
	display:none;
}

.only_sp {
	display:none;
}

.only_sp.inline {
	display:none;
}

/* for tablets or smartphones general settings */
@media screen and (max-width : 1200px) {

/* display control 2 */
.only_pc {
	display:none !important;
}

.only_mobile {
	display:block;
}

.only_mobile.inline {
	display:inline;
}

html, body {
	max-width:100%;
	min-width:auto;
}

/* common */

.fs_xxl {
	font-size: 53px; /* 53px */
}

.fs_xl {
	font-size: 41px; /* 41px */
}

.fs_large {
	font-size: 22px; /* 22px */
}

.fs_mid {
	font-size: 18px; /* 20px */
}

.fs_small {
	font-size:18px; /* 18px */
}

.fs_xs {
	font-size: 12px; /* 12px */
}

/* slide */

#slide {
	min-height:auto;
}

#slide #logo {
	left:10px;
	top:60px;
}

#slide #logo img {
	width:60px;
	height:60px;
}

#slide ul#slide_body {
	height:100vh;
	min-height:476px;
}

#slide ul#slide_body li {
	height:100vh;
	min-height:476px;
}

#slide h1 {
	top:-10em;
}

#slide h2 {
	top:-3em;
	font-size:6vw;
}

#pickup {
	font-size:14px;
}

#pickup h3, #pickup h4 {
}

ul#pickup_list {
	min-width:auto;
}

#slide ul#pickup_list {
	min-width:unset;
}

ul#pickup_list li.chip {
	margin-right:2vw;
}

ul#pickup_list li.chip:hover {
	opacity:1;
}

.category ul#pickup_list {
	min-width:auto;
}

.category ul#pickup_list li.chip {
	width: calc((100% - 2vw)/2);
	
}

.category ul#pickup_list li.chip:nth-child(3n) {
	margin-right:20px;
}

.category ul#pickup_list li.chip:nth-child(2n) {
	margin-right:0;
}

.category ul#pickup_list li.chip:nth-child(2n + 1) {
	clear:left;
}

.slick-dots {
	display: none !important;
}

.slick-dots li button:before {
	width:10px;
	height:10px;
}

a#pickup_more.more {
	margin-top: 20px;
}

@media (orientation: landscape){
	/* ipad landscape */
	#slide h1 {
		font-size:3vw;
		top:-10em;
	}

	#slide h2 {
		font-size:2.5vw;
		top:-6em;
	}

	#pickup {
		font-size:14px;
	}
	
	#pickup h3, #pickup h4 {
		font-size:2vw;
	}
}

/* menu */

header nav {
	display:block;
	width:100%;
	height:0;
	background-color:#254a20;
	color:#FFFFFF;
	top:0;
	right:0;
	position:fixed;
	overflow:hidden;
	-webkit-transition: all 1.5s;
	-moz-transition: all 1.5s;
	-ms-transition: all 1.5s;
	-o-transition: all 1.5s;
	transition: all 1.5s;
	opacity: 0;
}

header nav.on {
	height:100vh;
	
	-webkit-transition: all 1.5s;
	-moz-transition: all 1.5s;
	-ms-transition: all 1.5s;
	-o-transition: all 1.5s;
	transition: all 1.5s;
	opacity: 1;
}

header nav a {
	display:block;
	text-align:right;
	width:100%;
	margin-bottom:0.7em;
	box-sizing:border-box;
	padding-right:20px;
}

header nav a {
	color:#FFF;
}

header nav a:first-of-type {
	margin-top:90px;
}

header nav a + a {
	margin-left:0;
}

header a#bt_menu {
	background:url(../images/ic_menu.svg) center right no-repeat;
	background-size: contain;
	height: 19px;
	padding-right:38px;
	display: block;
	position:fixed;
	top:20px;
	right:10px;
	color:#FFFFFF;
}

header a#bt_menu.on {
	background:url(../images/ic_close.svg?v3) center right no-repeat;
	background-size: contain;
	padding-right:28px;
}

#slide #headline_block #ic_cal {
	width:3em;
	height:3em;
	background-size:2em 2em;
	display:none;
}

#slide #headline {
	float:none;
}

#slide #headline li {
	width:calc(100% - 2em);
	float:none;
}

#slide #headline li a {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	width:100%;
	display:block;
	font-size:14px;
}

/* contents */
section {
	padding:100px 0;
}

div.line {
    margin: 20px auto 40px auto;
}

section > h1 {
	font-size:4.8vw;
}

section > div.text {
    width: 94vw;
    font-size:16px;
}

#headline_block {
	width: 94vw;
}

section#mission ul {
	width:94vw;
	text-align:center;
}

section#mission ul li {
    display: block;
    float: none;
    width: 100%;
    vertical-align:top;
    margin-bottom: 20px;
}

section#mission ul li:nth-child(3n + 1) {
	clear:left;
}

section#mission ul li div.image {
	width: 24vw;
	height: 24vw;
	float:left;
	clear:left;
}

section#mission ul li div.title {
	float:left;
	margin-left:20px;
	text-align:left;
}

section#ceovoice div.text figure {
	float:none;
	margin:0 auto;
}

section#ceovoice div.text figure figcaption {
	margin-top:0;
}

section#company dl {
	width:94vw;
}

div.text.w50 {
	width:94vw;
}

ul#service_list {
    width:94vw;
    margin: 35px auto 0 auto;
}

ul#service_list li div a.link_lab {
	width:100%;
}

section#tips ul#tips_list {
	width:94vw;
}

section#tips ul#tips_list {
	margin-bottom:20px;
}

section#tips ul#tips_list li > div.chip {
	width:100%;
	float:none;
	margin-right:0;
}

section#tips ul#tips_list li .chip div.image {
	height:calc(94vw * 0.66);
}

section#contents_labsreports div,
section#contents_usefulcontents div,
section#contents_probonoreports div {
	width:96vw;
}

section#contents_labsreports,
section#contents_usefulcontents,
section#contents_probonoreports {
	padding:60px 0;
}

section#contents_labsreports .more,
section#contents_usefulcontents .more,
section#contents_probonoreports .more {
	max-width:100%;
	padding: 20px 0;
	width:100%;
}

ul#usefulcontents_list {
	display:none;
}

ul#service_list li div a.link_lab + a.link_lab {
	margin-left:0;
}

/* プロフェッショナルズ */
section#professionals ul {
	width: 94vw;
}

section#professionals ul li {
	width:100%;
	float:none;
	margin-bottom:80px;
}

section#professionals ul li:nth-last-child(-n + 2) {
	margin-bottom:80px;
}

section#professionals ul li:nth-child(2n + 1) {
	margin-right:0px;
}

section#professionals ul li figure {
	width:50vw;
	float:none;
	margin:0 auto 20px auto
}

section#professionals ul li figure img {
	width:100%;
}

section#professionals ul li div.text {
	float: none;
	width: 100%;
	font-size:16px;
}

section#professionals ul li div.profile h2 {
	margin-bottom:10px;
}

section.parallax>div {
	height:180px;
}


footer {
	padding-top:30px;
	padding-bottom:60px;
}

footer ul {
	width:94vw;
	margin-bottom:20px;
}

footer div.copyright {
	width:94vw;
}

footer a#linkto_fb {
	right:10px;
	bottom:10px;
}

footer a#linkto_ig {
	right:56px;
	bottom:10px;
}

section.contents {
	width:94vw;;
}

/* archives */

section.archive .contents_list li {
	width:calc((94vw - 40px)/3);
	margin-right:20px;
	margin-bottom:30px;
}

section.archive div.image {
	width:100%;
	height:calc((94vw - 40px)/3 * 0.66);
}

section.archive .contents_list.qanda li a h3 span.btn {
	margin-left: 0;
	width:calc(100% - 2em);
	margin-top: 0.5em;
	text-align: center;
	display: block;
}

section.archive .qa_a_body {
	margin-left: 0;
}

section.archive .qa_a_image {
	width:100%;
	height:auto;
	display:block;
	float:left;
	margin:0 0 30px 0;
}

#uc_list_archives li, #lab_list_archives li {
	margin-bottom:20px;
}

#uc_list_archives li > a,
#lab_list_archives li > a {
	width: 100%;
    height: 30vw;
}

#uc_list_archives li > a div.image,
#lab_list_archives li > a div.image {
	width:20vw;
	height:30vw;
}

#uc_list_archives li > a > div:last-child,
#lab_list_archives li > a > div:last-child {
	left: 20vw;
	top: 0;
	height: calc(30vw - 20px);
	padding: 10px;
}
#uc_list_archives li > a > div:last-child > h2,
#lab_list_archives li > a > div:last-child > h2 {
	font-size:20px;
	margin-bottom:5px;
}

#uc_list_archives li > a > div:last-child > h2 + div,
#lab_list_archives li > a > div:last-child > h2 + div {
	font-size:12px;
}

section.contents.archive h2 + .desc {
	width:80vw;
	margin: 0 auto;
}

.archive .more {
	width:100%;
	padding: 20px 0px;
	background-color:rgb(207,85,133);
	color:#FFF;
}

.searchbox input[type=text] {
	margin-bottom:10px;
}

#recipe_cats_box {
	display:block;
}

#recipe_cats_box a {
	display:block;
	margin:0 0 10px 0;
	height: 3em;
}

.archives_message_box {
	display:block;
	width:90%;
}

.archives_message_box > div {
	width:100%;
}

.archives_message_box picture {
	display:none;
}

#subcat_btns {
	justify-content: left;
	gap:10px;
}

#subcat_btns a {
	width: calc(( 100% - 10px ) / 2 );
}

#subcat_list li {
	width:100%;
}

/* single */

section.page_body.single figure.wp-block-image img {
	max-width: calc(94vw - 40px);
}

section.page_body.single h2 {
	font-size:22px;
}

section.page_body.single #back_to_archive {
	margin:2em 0;
}

section.page_body.single figure.wp-block-table,
section.archive figure.wp-block-table {
	padding:3em 0em;
	position: relative;
}

section.contents.archive h2 + .desc {
	font-size:16px;
}


/* contact */
.form_box input[type="submit"] {
	font-size: 18px;
}

.form_box .pp_box {
	width:100%;
	padding-left:0;
}


} /* wrapping arc for tablets or smartphones ends */



/* wrapping arc for smartphones starts */
@media screen and
(max-device-width : 428px) {

.only_sp {
	display:block;
}

.only_sp.inline {
	display:inline;
}

.fs_xxl {
	font-size: 28px; /* 53px */
}

.fs_xl {
	font-size: 25px; /* 41px */
}

header a#bt_menu {
	text-indent:-10000px;
}

header a#bt_menu.on {
	text-indent:0;
}

section > h1 {
	font-size:6.8vw;
}

ul#service_list {
    width:94vw;
    margin: 35px auto 0 auto;
}

ul#service_list li figure {
	width:100%;
	height:70vw;
	position:relative;
}

ul#service_list li figure img {
	width:100%;
	height:70vw;
}

ul#service_list li > div {
	width:94vw;
	margin-left:0;
	margin-top:20px;
}

ul#service_list li div h2, ul#service_list li div h3 {
	padding-left:0;
}

section#company dl dt {
	float:none;
	width:100%;
	font-size:16px;
}

section#company dl dd {
	float:none;
	width:100%;
	font-size:16px;
}

ul#service_list li div div.data {
	padding-left:50px;
	font-size:5vw;
}

ul#service_list li div div.description {
	font-size:16px;
}

ul#service_list li div a.link_lab {
	font-size:5vw;
	width:70%;
}

/* archives */

section.archive .contents_list li {
	width:100%;
	margin-right:0px;
	margin-bottom:30px;
	float:none;
}

section.archive div.image {
	width:100%;
	height:calc(94vw * 0.66);
}

.category ul#pickup_list li.chip {
	width: 100%;
	margin-right:0;
	margin-left:0;
	float:none;
}

.category ul#pickup_list li.chip:nth-child(3n) {
	margin-right:0px;
	clear:left;
}

.category ul#pickup_list li.chip:nth-child(2n) {
	margin-right:0;
	clear:left;
}

section.archive .subcat_block:last-child {
	margin-bottom:0;
}

/* single */

section.page_body.single figure.wp-block-image img {
	max-width: 100%;
}

.pu_contents_paragraph .p_image_box {
	width:100%;
}

.pu_contents_paragraph .p_image {
	float:none;
	width:100%;
	height:70vw;
	margin-bottom:20px;
}

.pu_contents_paragraph p {
	float:none;
	width:100%;
}

section.single.pickup > h1 {
	text-align:left;
}

/* contact form */
section.contents .form_box {
	width:80%;
}

section.contents .form_box dl dt,
section.contents .form_box dl dd {
	float:none;
	width:100%;
}



} /* wrapping arc for smartphones ends */