@charset "UTF-8";

/*
Theme Name: 
Theme URI: 
Author: 
Author URI: 
Description: WP custom theme for MTI
Version: 1.0
License: GNU General Public License
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Clearings
4.0 - Page Frame
5.0 - Header
6.0 - Breadcrumb
7.0 - Footer
8.0 - Smooth Scroll
8.0 - Tooltip
10.0 - Print
--------------------------------------------------------------*/

/*==============================================================
1.0 - Reset
==============================================================*/
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;
	-webkit-text-size-adjust: 100%;
	font-style: inherit;
	word-break:normal;
	word-wrap:normal;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%;
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
/*body {
	background: #f3f3f3;
}*/
footer {
	background: #f3f3f3;
	overflow: hidden;
}
div,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: collapse;
	border-spacing: 0;
}
	caption, th, td {
		font-weight: normal;
	text-align: left;
}
img {
	display: block;
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}
a:link, a:visited {
	color: #174ce4; text-decoration: none; 
}
a:hover {
	text-decoration: none;
}
a {
	transition: all .15s ease-in-out;
}

/* TABLET */
@media screen and (max-width:1024px) {
	main {
		width: 90% !important;
		margin: 0 auto;
	}
	.wp-caption {
		max-width:100% !important;
	}
	a:link{
		word-break: break-word;
	}

}
/* SMART PHONE */
@media screen and (max-width:767px) { 
	
	main {
		width:100% !important;		
	}
	
	
	
}






/*==============================================================
2.0 Typography
==============================================================*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Open Sans', "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
	font-size: 15px; font-size: 1.5rem;
	line-height: 1.8;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
.bold {
	font-weight: bold;
}
.indent-1em {
	padding-left: 1em;
}
.red {
	color: #da2128;
}
.bigger {
	font-size: 1.25em !important;
}
.smaller {
	font-size: 0.75em !important;
}

/*==============================================================
3.0 Clearings
==============================================================*/
.clearfix:before, .clearfix:after,
.main-content:before, .main-content:after,
.col-wrap:before, .col-wrap:after { 
	content: ""; 
	display: table; 
}
.clearfix:after,
.main-content:after,
.col-wrap:after { 
	clear: both; 
}
.clearfix,
.main-content,
.col-wrap { 
	zoom: 1; 
}
.clearfloat {
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

/*==============================================================
4.0 Page Frame
==============================================================*/

header {
	width: 100%;
	position: fixed;
	right: 0;
	left: 0;
	top: 0;
	margin-right: auto;
	margin-left: auto;
	background: #fff url(images/border_grey.png) repeat-x bottom;
	z-index: 2;
}
.header-inner {
	width:100%;
	max-width: 1260px;
	min-width:1025px;
	height: 80px;
	margin: 0 auto;
	padding: 0 50px;
	position: relative;
}
main {
	width: 100%;
	background-color: #fff;
}
body#top .content-wrap {	
	margin: 50px auto 0;	
}
.content-wrap {
	max-width: 1260px;
	min-height: 450px;
	margin: 40px auto 0;
	padding: 0 50px 50px;
	position: relative;
	z-index: 1;
}
.main-content {
	padding: 95px 24px 0;
}
footer {
	width: 100%;
	border-top: #eee 1px solid;
}
.footer-inner {
	display: flex;
	max-width: 1260px;
	min--width:1025px;
	height: 59px;
	margin: 0 auto;
	padding: 10px 50px 0;
}
.journal-mv {
	margin-left: -24px;
	margin-right: 24px;
}

/* TABLET */
@media screen and (max-width:1024px) {
	.journal-mv {
		margin-left: 0;
		margin-right:0;
	}
}
/*==============================================================
5.0 Header
==============================================================*/
.logo-mti {
	width: 182px;
	position: absolute;
	/*left: 50px;*/
	left: 0px;
	bottom: 15px;
	z-index: 100;  /* 1 more than megamenu */
	margin-top:11px;
}
.logo-nyk-group {
	width: 82px;
	position: absolute;
	right: 40px;
	bottom: 18px;
}
.logo-mti img,
.logo-nyk-group img {
	width: 100%;
	height: auto;
}

/*==============================================================
6.0 Breadcrumb
==============================================================*/
.breadcrumb {
	width:calc(100% - 90px)!important;
	height: 70px;
	overflow: hidden;
	position: absolute;
	left: 50px;
	top: 80px;
	background: url(images/bg_breadcrumb.png) no-repeat 0 bottom;
	line-height: 60px;
	z-index: 97; /* 2 less than megamenu */
}
.breadcrumb li {
	display: inline;
	font-size: 14px; font-size: 1.4rem;
}
.breadcrumb a {
	margin-right: 3px;
	padding-right: 16px;
	background: url(images/arrow_grey.png) no-repeat right 50%;
}
.breadcrumb a:hover {
	text-decoration: underline;
}
.breadcrumb br {
	display: none;
}
.grad-opaque {
	width: 150px;
	height: 45px;
	position: absolute;
	right: 40px;
	top: 80px;
	background: url(images/grad_opaque.png) no-repeat right 50%;
	z-index: 98; /* 1 less than megamenu */
}

/*==============================================================
7.0 Footer
==============================================================*/
.footer-inner {
	font-size: 13px; font-size: 1.3rem;
	color: #777;
	position: relative;
	display: flex;
}
.copyright,
.footer-nav {
	margin: 10px 0;
}
.copyright {
	margin-right: 30px;
	float: left;
	font-family: Arial, Helvetica, sans-serif;
}
.footer-nav{
	float: left;
	clear: both;
}
.footer-nav li {
	float: left;
	padding: 0 10px;
}
.footer-nav li+li { 
	border-left: #ccc 1px dotted;
}
.footer-nav li a {
	color: #777;
}
.footer-nav li a:hover {
	text-decoration: underline;
}
.logo-nyk-ja {
	position: absolute;
	right: 80px;
	top: 13px;
}
.logo-nyk-ja img {
	width: 140px;
	height: auto;
}

.footer-nav2 {
	display: flex !important;
	flex-direction: column;
	width: 100%;
	margin-bottom: 20px;
}
.footer-nav2 li {
	display: flex;
	
}

.footer-nav2 li a {
	color: #777;
	
	font-weight: bold;
	padding: 0.6em 20px 0.6em 17px;
    background: url(images/icon_triangle_grey.png) no-repeat right 3px bottom 3px;
    border-bottom: #bbb 1px dotted;
	width:100%;
    
}
.footer-nav2 li a:hover {
	text-decoration: underline;
}

/*==============================================================
8.0 Smooth Scroll
==============================================================*/
#scrollUp {
    background: url(images/icon_top.png) no-repeat;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
}

/*==============================================================
9.0 Tooltip
==============================================================*/
#aToolTip {
	position: absolute;
	display: none;
	z-index: 50000;
}
#aToolTip .aToolTipContent {
	position: relative;
	margin: 0;
	padding: 0;
}
.defaultTheme {
	height: 45px;
	padding: 0 24px 0 16px;
	background: url(images/tooltip_bg.png) no-repeat right;
	font-size: 14px; font-size: 1.4rem;
	line-height: 45px;
	color: #555;
}

/*==============================================================
10.0 Print
==============================================================*/
@media print {
	body {
		color: #000 !important;
		-webkit-print-color-adjust: exact;
	}
	header {
		background: none;
		border: none;
	}
	.breadcrumb {
		border-top: #999 1px solid;
	}
	.menuzord-menu {
		display: none;
	}
	.footer-nav {
		display: none;
	}
}

/* FDS */



/* カスタマイズ */

.d-flex {
	display: flex;
}
.d-none {
	display: none;
}
.flex-row{
	flex-direction: row;
}

.mob-submenu {
		display: none;
	}


iframe {
    max-width: 100%;
    /*height: auto;*/
}
.nivoSlider img {
	height: auto;
}
.visible-pc {
	display: block;
}
.visible-tab {
	display: none;
}
.visible-sp {
	display: none!important;
}
/* PC */
@media screen and (min-width:1025px) {
	.none-pc {
		display: none !important;
	}
}
/* TABLET */
@media screen and (max-width:1024px) {
	.visible-pc {
		display: none;
	}
	.visible-tab {
		display: block;
	}
	.visible-sp {
		display: none !important;
	}
	.none-tab {
		display: none !important;
	}
	.breadcrumb {
		width: calc(100% - 80px)!important;
		height: auto;		
		position: relative;
		left: 15px;
		top: auto;
   		 padding-top: 30px;
		background: none;
		z-index: 1;
		overflow: visible;
		line-height: 1.6;
	}
    .header-inner {
		width: 100% !important;
		min-width: auto !important;
		max-height: auto !important;
		padding: 0 15px !important;
		display: flex;
		flex-direction: row;
		height: 52px !important;
		align-items: center;
	}
	body#top .content-wrap {	
		margin: 20px auto 0;	
	}
	.content-wrap {
		width: 100% !important;
		min-width: auto !important;
		max-height: auto !important;
		margin:30px auto 0;
		padding: 0 15px 50px !important;
		
	}
	.main-content {
		padding:0 0 0 !important;
	}
	.footer-inner {
		width: 100% !important;
		min-width: auto !important;
		max-height: auto !important;
		padding: 10px 15px !important;
	}
	.logo-mti {
		width: 130px !important;
		/*position: relative !important;
		left: auto !important;*/
		left:0;
		bottom: auto !important;
		z-index: 100;  /* 1 more than megamenu */
		
	}
	.logo-nyk-group {
		width: 82px;
		position: relative !important;
		right: auto !important;
		bottom: auto !important;
	}
	.mob-submenu {
		display: none;
	}
	
	h1 {    
		margin: 0 0 30px 0 !important;
	}
	h2 {
		margin: 0 0 0.5em 0 !important;
	}
	.page-intro {
		margin: -0.5em 0 0.5em 0 !important;
	}
	

	
}
@media screen and (min-width:768px) { 
	.mob-search {
		visibility:hidden;
	}
}
/* SMART PHONE */
@media screen and (max-width:767px) { 
	.logo-mti {
		left:14px;
	}
	.visible-sp {
		display: block!important;
	}
	
	.none-sp {
		display: none!important;
	}
	.breadcrumb {
		width: 100% !important;
		left:0;
		padding:70px 15px 0;
		margin-bottom:30px;
	}
	body#top .content-wrap {	
		margin: 60px auto 0;	
	}
	.content-wrap {		
		margin:20px auto 0;	
		
	}
	
	/*.main-content.tmpl-product {
		display: grid;
		
		grid-template-columns: 100% ;
		grid-template-areas:
			"gr-title"
			"gr-rt"
			"gr-lt";
		
		justify-items: start;
	}
	*/
	
	/* アイテム */
	.main-content.tmpl-product h1{
		grid-area: gr-title;
		width: 100%;
		
	}
	.main-content.tmpl-product .col-lt {
		grid-area: gr-lt;
		
	}
	.main-content.tmpl-product .col-rt {
		grid-area: gr-rt;
		
	}
	
	
	
	#page-wrap.logged-in header {
		top:46px;
	}
	#page-wrap.logged-in .menuzord-responsive.menuzord {    
    	top: 46px;
	}
	body.active {
		overflow: hidden;
	}
	body.active .menuzord-responsive.menuzord {
		height: 100vh;
	}
	.mob-submenu {
		display: flex !important;
		flex-direction: row;
		position: absolute;
		right: 60px;
		top: 3px;
	}
	.mob-submenu img {
		width: 40px;
	}
	.mob-search {
	display:none;
	background: rgba(0,0,0,0.7);
    height: 100vh;
    width: 100vw;
    position: fixed;
    left: 0;
    top: 0;    
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 0;
	}
	.mob-search.active {	
		display: flex !important;
		z-index: 111;
	}
	.search-field {
		width: calc(100% - 38px) !important;
		min-width:auto !important;
	}
	.nivo-main-image {
		
		height: auto !important;
	}
	
	.wc-shortcodes-one-half, .wc-shortcodes-one-third, .wc-shortcodes-two-third, .wc-shortcodes-three-fourth, .wc-shortcodes-one-fourth, .wc-shortcodes-one-fifth, .wc-shortcodes-two-fifth, .wc-shortcodes-three-fifth, .wc-shortcodes-four-fifth, .wc-shortcodes-one-sixth, .wc-shortcodes-five-sixth {
		
		margin-left: 0;
		margin-bottom: 30px;
		
	}
	.wc-shortcodes-one-half {
		width: 100%;
	}
	.wc-shortcodes-one-third {
		width: 100%;
	}
	.wc-shortcodes-two-third {
		width: 100%;
	}
	.res-table {
		overflow: scroll;
	}
	.res-table > table{
		width:800px !important;
	}
	.footer-inner {
		display: block;
	}
	
	
}

@import url("css/page.css");
@import url("css/menuzord.css");
@import url("css/nivo-slider.css");
@import url("css/wysiwyg-style.css");
@import url("css/style_recruit.css");
