@charset "utf-8";
/*------------------------------------------------------------
	Default style
------------------------------------------------------------*/
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	outline: 0;
	font-size: 1em;
}

body {
	font-size: 62.5%;
}

@font-face {
  font-family: "MyYuGothicM";
  font-weight: normal;
  src: local("YuGothic-Medium"),
       local("Yu Gothic Medium"),
       local("YuGothic-Regular"),
       local("Yu Gothic");
}

@font-face {
  font-family: "MyYuGothicM";
  font-weight: bold;
  src: local("YuGothic-Bold"),
       local("Yu Gothic");
}

body,table,input, textarea, select, option {
  color: #333;
  font-family: MyYuGothicM, YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary {
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

:focus {
	outline: 0;
}

ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

img {
	vertical-align: top;
}

a,
a:link {
	color: #666;
	text-decoration: none;
}

a:visited {
	color: #666;
}

a:hover {
	color: #666;
}

a:active {
	color: #666;
}

/*------------------------------------------------------------
	Layout
------------------------------------------------------------*/
body {
	min-width: 1140px;
	color: #333;
	font-size: 14px;
	line-height: 1.5;
	-webkit-text-size-adjust: none;
	background-color: #fff;
}

body.fixed {
	position: fixed;
	width: 100%;
	height: 100%;
}

#container {
	padding-top: 82px;
	position: relative;
	text-align: left;
}

#main {
	margin-bottom: 120px;
}

a[href^="tel:"] {
	cursor: default;
	pointer-events: none;
}





#main .share {
	margin-top: 80px;
	padding-bottom: 10px;
	color: #222;
	font-size: 12px;
	text-align: center;
	position: relative;
	z-index: 500;
	background-color: #FFF;
}

#main .btmUl {
	text-align: center;
	position: relative;
	z-index: 500;
	padding-bottom: 100px;
	background-color: #FFF;
}

#main .btmUl li {
	margin: 0 23px;
	display: inline-block;
}


#main .btmUl li img {
	width: 30px;
	height: 30px;
}

#main .btmUl li a {
	display: block;
}

#main .btmUl img:hover {
	opacity: 0.5 ;
}


/* ▼A box decoration that encloses the entire image with captions */
figure {
    display: inline-block;   /* Inline blocking */
    margin: 0px 3px 40px 0px; /* Add a margin outside */
	vertical-align:top;
}
/* ▼Decoration for the image */
figure img {
    display: block;          /* Avoid extra margins */
    margin: 0px 10px 10px 0px; /*  Add a 3px margin only on the lower side*/
}
/* ▼Decoration for captions */
figcaption {
    font-size: 0.9em;        /*  90% text size */
}


.box {
	float: left;
	width: 150px;
	margin: 0px 10px 10px 0px;
	
}

.boxContainer {
	overflow: hidden;
	
}

/* clearfix */
.boxContainer:before,
.boxContainer:after {
    content: "";
    display: table;
}
 
.boxContainer:after {
    clear: both;
}



.sp {
	display: none !important;
}

.spCover {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1000;
	opacity: 0;
}








@media all and (min-width: 0) and (max-width: 767px) {
	body {
		min-width: inherit;
	}


	a:hover,
	a:hover img {
		opacity: 1 !important;
	}

	.sp {
		display: block !important;
	}
	
	.pc {
		display: none !important;
	}
	
	a[href^="tel:"] {
		cursor: pointer;
		pointer-events: auto;
	}
	
	#container {
		padding-top: 50px;
	}
	
	#main {
		margin-bottom: 76px;
	}
	
	#main .share {
	margin-top: 50px;
}
	
	#main .btmUl {
	text-align: center;
	position: relative;
	z-index: 500;
	padding-bottom: 20px;
	background-color: #FFF;
}


/* ▼ Decoration of the box that encloses the entire image with caption */
figure {
	width: 100%  !important;
	height: auto  !important;
}
/* ▼Decoration for images */
figure img {
	width: 100%  !important;
	height: auto !important;
}
/* ▼Decoration for caption */



	
}

/*------------------------------------------------------------
	header
------------------------------------------------------------*/
#gHeader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 82px;
	z-index: 1000;
}

#gHeader .logo {
	position: fixed;
	top: -3px;
	left: 15px;
}

#gHeader .logo img {
	width: 200px;
    transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
}

#gHeader .menu {
	position: fixed;
	top: 28px;
	right: 27px;
}

.menuBox {
	position: fixed;
	top: 0;
	right: -400px;
	width: 300px;
	height: 100%;
	z-index: 9999;
	background: url(../../img/common/menu_bg.png)/*tpa=https://www.madcompany.co/img/common/menu_bg.png*/ repeat left top;
}
.menuBox.fancybox-margin {
	margin: 0;
}

.menuBox .menuContent {
	padding: 29px 40px;
	color: #000;
}

.menuBox .close {
	position: absolute;
	right: 33px;
	top: 29px;
}

.menuBox .close img {
	width: 15px;
}

.menuBox a {
	color: #fff;
}

.menuBox p {
	margin-bottom: 17px;
	font-size: 10px;
	letter-spacing: 0.1em;
}

.menuBox .menuUl {
	margin-bottom: 35px;
}

.menuBox .menuUl li img {
	width: auto;
	height: 26px;
}

.menuBox .menuUl li a {
	padding: 21px 0 7px;
	display: block;
	overflow: hidden;
	position: relative;
	font-size: 16px;
}

.menuBox .menuUl li a span {
	margin-top: 4px;
	display: inline-block;
	float: right;
	line-height: 1;
	font-size: 14px;
}

.menuBox .menuUl li a:after {
    background-color: #fff;
    bottom: 0;
    content: "";
    height: 1px;
    right: 0;
    position: absolute;
    transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-ms-transition: all 0.3s ease 0s;
    width: 100%;
}

.pcState .menuBox .menuUl li a:hover:after {
	width: 0;
}

.menuBox .subMenu p {
	margin: 0;
	float: left;
	width: 50%;
}

.menuBox .subMenu ul {
	float: right;
	font-size: 10px;
	text-align: right;
	width: 50%;
}

.menuBox .subMenu ul li {
	display: inline-block;
}

.menuBox .subMenu ul li a {
	margin: 0 7px;
}

.menuBox .subMenu ul li:last-child a {
	margin: 0 0 0 3px;
}

.menuBox .subMenu a:hover {
	text-decoration: underline;
}

.hTxt {
	margin-left: -42px;
	position: absolute;
	top: 25px;
	left: 50%;
	z-index: 2000;
	width: 80px;
}


.hTxt img {
	width: 80px;
}

#gHeader.fix {
	min-height: 60px;
	background: none;
}

#gHeader.fix .logo {
	top: -2px;
}

#gHeader.fix .logo img {
	width: 160px;
}

#gHeader.fix .menu {
	top: 24px;
}

.official_sns {
	padding-top: 55px;
}

.official_sns li {
	/*float: left;*/
	padding-right: 10px;
}

.official_sns li.txt {
	padding-top: 3px;
	padding-right: 20px;
	font-size: 12px;
	letter-spacing: 0.1em;
}

.official_sns li a:hover {
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
}

.official_sns li img {
	width: 20px;
	height: auto;
}

@media all and (min-width: 0) and (max-width: 767px) {
	

	
	#gHeader.fix,
	#gHeader {
		min-height: 50px;
	}
	
	#gHeader.fix .logo,
	#gHeader .logo {
		left: 10px;
		top: -4px;
	}
	
	#gHeader.fix .logo img,
	#gHeader .logo img {
		width: 180px;
	}
	
	#gHeader.fix .menu,
	#gHeader .menu {
		top: 5px;
		right: 5px;
	}
	
	#gHeader.fix .menu a,
	#gHeader .menu a {
		padding: 10px;
		display: block;
	}
	
	#gHeader .menu img {
		width: 60px;
		display: block;
	}
	
	.menuBox {
		right: -90%;
		height: 100%;
		overflow-y: scroll;
		width: 90%;
	}
	
	.menuBox .menuContent {
		padding: 33px 38px;
	}
	
	.menuBox .close {
		right: 7px;
		top: 7px;
	}
	
	.menuBox .close img {
		width: 17px;
	}
	
	.menuBox .close a {
		padding: 10px;
		display: inline-block;
	}
	
	.menuBox p {
		margin-bottom: 30px;
	}
		
	.menuBox .menuUl {
		margin-bottom: 28px;
	}
	
	.menuBox .menuUl li a {
		padding-bottom: 5px;
	}
	
	.menuBox .menuUl li img {
		height: 21px;
	}
	
	.menuBox .menuUl li a span {
		margin-top: 9px;
		font-size: 12px;
	}
	
	.menuBox .subMenu ul {
		margin-bottom: 23px;
		float: none;
		font-size: 11px;
		width: auto;
		text-align: left;
	}
	
	.menuBox .subMenu ul li {
		margin-right: 3px;
	}
	
	.menuBox .subMenu ul li a {
		margin: 0 12px 0 0;
	}
	
	.menuBox .subMenu p {
		float: none;
		font-size: 11px;
		width: auto;
	}
	
	.menuBox .subMenu p a {
		color: #bbb;
	}
	
	.hTxt {
		display: none;
	}
	
	.official_sns li {
		padding-right: 15px;
	}
	
	.official_sns li p {
		margin-bottom: 0;
	}
	
}

/*------------------------------------------------------------
	footer
------------------------------------------------------------*/
#gFooter {
	position: relative;
	background-color: #fff;
}

#gFooter .fBox {
	color: #666;
	font-size: 10px;
	text-align: center;
	z-index: 600;
	margin-top:10px;
}

#gFooter .fBox .pageTop {
	margin-bottom: 36px;
	z-index: 600;
}

#gFooter .fBox .pageTop a img {
	display: inline-block;
	margin: 0 auto;
    transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
}

.pcState #gFooter .fBox .pageTop a:hover img {
	-webkit-transform: translateY(-6px);
	-ms-transform: translateY(-6px);
	transform: translateY(-6px);
}

#gFooter .fBox p span {
	margin-top: 8px;
	display: block;
	letter-spacing: 0.2px;
}

#gFooter .language {
	position: absolute;
	left: 27px;
	bottom: 0;
}

#gFooter .language li {
	margin-right: 5px;
	display: inline-block;
	font-size: 12px;
}

#gFooter .language li a {
	margin-right: 15px;
}

.pcState #gFooter .language li a:hover,
#gFooter .language li.on a {
	color: #C6C6C6;
}

#gFooter .txtLink {
	position: absolute;
	font-size: 12px;
	font-weight: bold;
	right: 29px;
	bottom: 5px;
}

#gFooter .txtLink a {
	text-decoration: underline;
}

#gFooter .txtLink a:hover {
	text-decoration: none;
}


.share_sns2.g_footer2 {
		width: 140px;
		margin: 100px auto;
		text-align:center;
		padding: 0;
	}
	
	.share_sns2.g_footer2 li {
		padding-right: 15px;
		padding-left: 25px;
		float: left;
	}
	
	.share_sns2.g_footer2 li img {
		width: 28px;
		height: 28px;
	}
	
	.share_sns2.g_footer2 li.txt {
		font-size:10px;
		padding-top: 0;
		padding-right: 10px;
		padding-bottom: 10px;
		display: block;
		float: none;
	}



@media all and (min-width: 0) and (max-width: 767px) {
	#gFooter {
		text-align: center;
		background-color: #fff;
		padding: 47px 20px 30px;
		color: #fff;
		text-align: center;
		background-color: #262626;
	}

	
	
	#gFooter .spFTxt {
		margin-bottom: 40px;
		font-size: 1em;
	}

	#gFooter .fInner {
		margin-bottom: 21px;
	}
	
	#gFooter .fInner .fNavi {
		margin: 0 0 0 0px;
		display: inline-block;
		text-align: left;
	}
	
	#gFooter .fInner .fNavi > li {
		/**margin-right: 52px;
		float: left;**/
		text-align: center;
	}
	
	#gFooter .fInner .fNavi > li:nth-child(2) {
		margin: 0;
		float: right;
	}
	
	#gFooter .fInner .fNavi > li li {
		margin-top: 29px;
	}
	
	#gFooter .fInner .fNavi > li li:first-child {
		margin: 0;
	}
	
	#gFooter .fInner .fNavi li img {
		height: 18px;
	}
	
	#gFooter .language {
		margin-bottom: 33px;
		position: static;
		font-size: 0;
	}
	
	#gFooter .language li {
		margin: 0;
		font-size: 11px;
	}
	
	#gFooter .language li a:hover,
	#gFooter .bg .language li.on a,
	#gFooter .bg .language li a {
		margin: 0 10px;
		color: #fff;
	}
	
	#gFooter .txtLink {
		margin-bottom: 33px;
		position: static;
	}
	
	#gFooter .pageTop img {
		width: 19px;
	}
	
	#gFooter .txtLink a {
		color: #fff;
		font-weight: normal;
		font-size: 11px;
	}

	#gFooter p {
		color: #fff;
		font-size: 9px;
	}
	
	.official_sns.g_footer {
		width: 150px;
		margin: 100px auto;
		text-align:center;
		padding: 0;
	}
	
	.official_sns.g_footer li {
		padding-right: 10px;
		padding-left: 10px;
	}
	
	.official_sns.g_footer li img {
		width: 30px;
	}
	
	.official_sns.g_footer li.txt {
		padding-top: 0;
		padding-right: 0;
		padding-bottom: 20px;
		display: block;
		float: none;
	}
	
	.official_sns.g_footer li.insta {
		padding-right: 0;
	}
	
	
	
	.share_sns.g_footer {
		width: 150px;
		margin: 100px auto;
		text-align:center;
		padding: 0;
	}
	
	.share_sns.g_footer li {
		padding-right: 20px;
		padding-left: 20px;
		float: left;
	}
	
	.share_sns.g_footer li img {
		width: 35px;
		height: 35px;
		float: left;
	}
	
	.share_sns.g_footer li.txt {
		font-size:10px;
		padding-top: 0;
		padding-right: 5px;
		padding-bottom: 20px;
		display: block;
		float: none;
	}
	
	
	
	
}

@media all and (min-width: 768px) and (max-width: 1024px) {
	
	.menuBox .close a {
		padding: 10px;
		display: inline-block;
	}
	
	#gHeader.fix .menu a,
	#gHeader .menu a {
		padding: 10px;
		display: block;
	}
	
	#gHeader .menu img {
		display: block;
	}
}
