@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Pacifico);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#headerWrap{background: url(../images/bgSec0126.jpg) no-repeat 100% 100%;
}


#header{
	text-align: center;
}

#header h1{
	padding-top: 60px;
}

#mainnav {background: #000;
	color: #fff;
	opacity: 0.7;
}

#mainnav a{
	color: #fff;
}

#mainImg{
	position: relative;
  overflow: hidden;
  width: 100%;
  height: 1100px;
}

#mainImg img{
	position: absolute;
/*  left: 50%;*/
	max-width: 100%;
  width: 100%;
/*  height: 528px;*/
/*  margin-left: -640px;*/
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/

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

section{
	clear:both;
	padding-top: 70px;
}

section h2{
	font-family: 'Pacifico', cursive;
	width: 60%;
	margin: 0 auto 40px;
	font-size: 22px;
	font-weight:normal;
	text-align: center;
	background: url(../images/borderBlack.png) repeat-x 0 50%;
	background-size: 1px 1px;
}

section h2 span {
	background: #fff;
	padding: 0 80px;
}

.inner{
	width: 94%;
	margin: 0 auto;
	padding-bottom: 50px;
}

.innerS{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 80px;
}


/* SEC02 Gallery
------------------------------------------------------------*/
#sec02{
	padding: 0 !important;
}

#sec02 header{
	display: none;
}

#gallery li{
	float: left;
	width: calc(100%/3);
	line-height: 0;
}

#gallery img{
	width: 100%;
	height: auto;
}


/* SEC03 PROJECT
------------------------------------------------------------*/
#sec03 img{
	width: 100%;
	margin-bottom: 30px;
}


/* SEC04 BRAND
------------------------------------------------------------*/
.col3 img{
	display: block;
	margin: 0 auto 5px;
}

.col3 li{
	line-height: 2.0;
}

.col3 .img{
	padding: 80px 50px;
	margin-bottom: 40px;
	line-height: 0 !important;
	background: #f6f6f6;
	border-radius:100% ;
}

#sec04_02{
	background: url(../images/bgSec04.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	text-align: center;
	padding: 220px 20px;
}

#sec04_02 img{
	width: auto;
}


/* SEC05 COMPANY
------------------------------------------------------------*/
#sec05 p{
	margin-bottom: 5px;
}

.col2 li{
	display: inline-block;
	width: 100%;
	margin: 20px 0;
}

#sns img{
	padding: 35px 10px 5px 0;
}

#sns a:hover img{
	opacity: .8;
}

#map{
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
	z-index: 0;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}



/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
	}
}

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}

	#mainnav li{
		display: inline-block;
		padding: 50px 25px;
		font-size: 15px;
	}
	
	
	/* SEC03 PROJECT
	-----------------*/
	.col3{
		text-align: center;
	}

	.col3 li{
		display: inline-block;
		width: 28%;
		padding: 0 2.5% 50px;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}


@media only screen and (min-width: 641px){
	.col2 li{
		width: 60%;
		vertical-align: top;
	}
	.col2 li:first-child{
		width: 35%;
		padding-right: 4%;
	}
}

@media only screen and (max-width: 640px){
	.innerS{
		width: 94%;
		padding-bottom: 70px;
	}
	.col3 li{
		line-height: 1.7;
	}
	.col3 img{
		margin: 0 auto;
	}
	.col3 .img{
		padding: 30px;
		margin-bottom: 20px;
	}
	#gallery li{
		float: none;
		width: 100%;
	}
	#map iframe{
		width: 96% !important;
		left: 2%;
	}
	#sec04_02{
		padding: 50px 20px;
	}
}

@media only screen and (max-width: 799px){
	#header{
		position: fixed;
		width: 100%;
		z-index: 500;
	}
	
	#headerWrap{
		position: relative;
		width: 100%;
		height: 70px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#header h1{
		padding-top: 10px;
	}
	
	#header h1 img{
		margin-top: 3px;
		max-height: 45px;
		width: auto !important;
	}

  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 60%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #000;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: 0;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
		z-index:500;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display:block;
		padding:15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}

	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#mainImg{
		padding-top: 60px;
		z-index: -100;
	}
	.col3 li{
		margin: 50px auto 0 auto;
		display: block;
	}
	section{
		padding-top: 50px;
	}
	section h2{
		margin: 0 auto 20px;
	}
	section h2 span {
		padding: 0 30px;
	}
}








.ma_text

{



    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", NotoSerifJapanese, serif;
    font-weight: 500;
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
	color: #fff;
    font-size: 6em;
    text-align: left;
    line-height: 1.03;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 134px;
    box-sizing: border-box;
    letter-spacing: normal;
    margin-bottom: 5px;
    position: relative;
}








.guinness__text .guinness__text--parts {
    border-top: 1px solid #f4e28b;
    border-bottom: 1px solid #f4e28b;
    margin-left: auto;
    display: block;
    text-align: center;
    color: #f4e28b;
    font-size: 1.7em;
    line-height: 1.6;
}


@media screen and (min-width: 769px) {
 .guinness__text .guinness__text--parts {
        width: 635px;
        margin: 0 auto;
        }



/*! CSS Used from: https://www.nihon-ma.co.jp/css/index.min.css?rev=7144 ; media=all */
@media all{
p a{color:#3286d9;padding-bottom:2px;border-bottom:1px solid;}
@media screen and (min-width:769px){
p a{-webkit-transition:all .2s ease;transition:all .2s ease;}
p a:hover{border-bottom:1px solid transparent;}
}
.button-link a,p.button-link a{display:block;padding:12px 20px 13px;background:#343d45;color:#fff;text-align:center;border:none;border-radius:25px;-webkit-box-shadow:0 6px 10px 0 rgba(4,0,0,.1);box-shadow:0 6px 10px 0 rgba(4,0,0,.1);-webkit-transition:all .2s ease;transition:all .2s ease;}
.button-link.button-link_type_centering,p.button-link.button-link_type_centering{margin-right:auto;margin-left:auto;}
.button-link.button-link_type_black a,p.button-link.button-link_type_black a{background:#333d46;color:#fff;}
.introduction{z-index:0;position:relative;padding-bottom:95px;}
.introduction-background{position:absolute;width:100%;height:100%!important;object-fit:cover;object-position:bottom;z-index:-2;}
.introduction__title{padding-top:60px;color:#293337;-webkit-font-feature-settings:"palt";font-feature-settings:"palt";font-weight:600!important;text-align:center;line-height:77px!important;}
.introduction__desc{font-size:17px!important;line-height:27px!important;color:#45494b;text-align:center;margin-bottom:20px;}
.introduction__list{display:flex;flex-wrap:wrap;margin:0 auto 54px;width:1200px;justify-content:space-between;}
.introduction__list__item{position:relative;margin-top:30px;height:321px;}
.introduction__imgBox{overflow:hidden;}
.introduction__list__item a{position:relative;}
.introduction__list__item a::after{content:"";position:absolute;right:20px;top:160px;width:11px;height:17.18px;background:url(https://www.nihon-ma.co.jp/images/icon_arrow_right.svg) no-repeat 0 0;background-size:11px auto;background-color:#0a8479;padding:11.41px 14.5px;background-position:center;border-radius:20px;}
.introduction__list__item:hover img{-webkit-transform:scale(1.2);-ms-transform:scale(1.2);transform:scale(1.2);-webkit-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;}
.introduction__imgBox-text{position:absolute;font-weight:700;color:#fff;font-size:30px!important;white-space:nowrap;left:50%;text-align:center;z-index:2;transform:translateX(-50%);-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);}
.introduction__list__item:nth-of-type(1) .introduction__imgBox-text{top:77.5px;line-height:38px!important;}
.introduction__list__item:nth-of-type(2) .introduction__imgBox-text{top:72px;line-height:27px!important;}
.introduction__list__item:nth-of-type(3) .introduction__imgBox-text{top:77.5px;line-height:27px!important;}
.introduction__list__item:nth-of-type(4) .introduction__imgBox-text{top:74.5px;line-height:27px!important;}
.introduction__imgBox-img{width:560px;height:266px;}
.introduction__descBox{position:absolute;left:0;top:180px;width:500px;padding:30px;background:#f2f2f2 0 0 no-repeat padding-box;box-shadow:0 10px 20px #0000001A;}
.introduction__descBox-text{font-size:17px!important;line-height:27px!important;color:#45494b;height:81px;}
.introduction__descBox-emphasize-text{font-weight:700;}
@media screen and (min-width:769px){
.button-link a:hover,p.button-link a:hover{background:#0a847b;-webkit-box-shadow:0 10px 20px 0 rgba(0,0,0,.1);box-shadow:0 10px 20px 0 rgba(0,0,0,.1);-webkit-transform:translateY(-2px);transform:translateY(-2px);}
.button-link.button-link_type_black a:hover,p.button-link.button-link_type_black a:hover{background:#0a847b;color:#fff;}
}
@media screen and (max-width:1250px){
.introduction__list{width:560px;}
}
@media screen and (max-width:768px){
.button-link a,p.button-link a{padding:12px 10px 13px;}
.introduction{padding-top:30px;padding-bottom:0;}
.introduction__title{padding:0 15px;line-height:29px!important;}
.introduction__desc{padding:0 15px;text-align:left;font-size:14px!important;line-height:28px;}
.introduction__list{width:345px;display:block;}
.introduction__list__item{margin-top:31px;height:auto;}
.introduction__list__item:nth-of-type(1):before{top:9px;left:10px;height:50px;width:72.8px;background-size:72.8px auto;}
.introduction__list__item:nth-of-type(2):before{top:9px;left:10px;height:50px;width:80.84x;background-size:80.84px auto;}
.introduction__list__item:nth-of-type(3):before{top:9px;left:10px;height:50px;width:80.32px;background-size:80.32px auto;}
.introduction__list__item:nth-of-type(4):before{top:9px;left:10px;height:50px;width:79.05px;background-size:79.05px auto;}
.introduction__list__item a::after{top:144px;}
.introduction__imgBox-text:nth-of-type(1){font-size:22px!important;}
.introduction__list__item:nth-of-type(1) .introduction__imgBox-text{top:62.5px;line-height:32px!important;}
.introduction__list__item:nth-of-type(2) .introduction__imgBox-text{top:55px;line-height:32px!important;}
.introduction__list__item:nth-of-type(3) .introduction__imgBox-text{top:55px;line-height:32px!important;}
.introduction__list__item:nth-of-type(4) .introduction__imgBox-text{top:55px;line-height:32px!important;}
.introduction__descBox{width:345px;position:unset;padding:0;}
.introduction__descBox-text{font-size:14px!important;line-height:30px!important;height:auto;padding:30px 20px;}
.introduction__descBox-emphasize-text{font-weight:400;}
}
}
/*! CSS Used from: Embedded */
*{font-style:normal;}
body *{margin:0;padding:0;}
h2,h3{font-weight:inherit;}
a{text-decoration:none;color:inherit;}
img{font-size:1em;border:0;}
img{vertical-align:bottom;}
ul{font-size:1em;list-style:none;}
.contents p{margin-top:20px;line-height:2;}
.contents p:first-child{margin-top:0;}
.contents img{max-width:100%;height:auto;}
.button-link,p.button-link{width:320px;max-width:100%;margin-top:30px;line-height:1.3;}
@media screen and (min-width:769px){
.contents p{font-size:1.416em;}
.only-sp{display:none!important;}
}
@media screen and (max-width:768px){
.only-sp{display:inherit;}
.contents p{font-size:1.12em;}
.contents h2{font-size:1.833em;}
.button-link,p.button-link{width:220px;margin-right:auto;margin-left:auto;}
}
