@charset "utf-8";

/* =============================================================
    リセットCSS

    無駄な余白などをなくす。
    もともとブラウザに設定されているCSSのせいで変な余白などができるのをガードする。

   http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
 ==============================================================*/

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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style:normal;
	font-weight: normal;
	font-size: 100%;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
html{overflow-y: scroll;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,q:before, q:after {content: ''; content: none;}
input, textarea,{margin: 0; padding: 0;}
ol, ul{list-style:none;}
table{border-collapse: collapse; border-spacing:0;}
caption, th{text-align: left;}
a:focus {outline:none;}

/* micro clearfix */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {clear: both;}
.cf {*zoom: 1;}

/*===================================================
	フロートの解除

	背景色が合体してしまうのを防ぐことができる
===================================================*/
.clearfix::after {
   content: ".";
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}

/*===================================================
	全体設計
===================================================*/
body {
	line-height: 1;
	font-family: "メイリオ", Meiryo;
	color: black;
	background: url(images/back.jpg);
}

/*===================================================
	ヘッダー SP用 max-width 480px~960px
===================================================*/
header {
	width: 100%; 
	height: 60px;
	background: url(images/header.png);
	/*position: fixed;*/
	/*メインコンテンツが前に来た時*/
	z-index: 99;
	display: inline-block;
}

div#main_inner {
	width: 100%;
	height: auto;
	margin: 0 auto;
}

div#main_inner h1 {
	font-size: 40px;
	font-weight: bold;
	color: #fff;
	background: url(images/baruface2.png) no-repeat;
	float: left;
	padding: 3px 0 0 32px;
	margin-top: 15px;
}

header input{
	display: none;
}

header ul li a {
	text-decoration: none;
	font-size: 20px;
	color: #fff;
	font-weight: bold;
}

header a:hover { 
	color: #d8611f;
}

header ul {
	float: right;
	margin-top: 32px;
}

header ul li {
	display: inline;
	margin-left: 20px;
	margin-right: 10px;
}


/*===================================================
	メイン画像 SP用 max-width 480px~960px
===================================================*/
	div img  {
		width: 100%;
		height: auto;
		/*margin-top: 60px;*/
	}

/*===================================================
	最新作品　SP用　max-width 480px~960px
===================================================*/
p.subtext {
	width: 100%;
	font-size: 40px;
	color: #000;
	border-bottom: 4px solid #e1650b;
	display: inline-block;
}

p.subtext span {
	font-weight: bold;
	margin-left: 20px;
}

div#position {
	position: relative;
}

div#another_contents {
	position: absolute;
	top: -35px;
  	right: 20px;
}

div#another_contents a {
	font-size: 20px;
	font-weight: bold;
	color: #e1650b;
	border: 2px solid #e1650b;
	border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
	text-decoration: none;	
}

div#another_contents a:hover {
	color: #000;
	border: 2px solid #000;
}	

/*===================================================
	制作実績 SP用 max-width 480px~960px
===================================================*/
div.sub_outer {
	width: 100%;
	height: auto;
	margin-top: 100px;
}

div.contents {
	width: 100%;
	height: auto;
	position: relative;
}

.slider {
  width: auto;
  height: 600px;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.slider-btn {
  width: 12px;
  height: 12px;
  margin: 12px 12px;
  z-index: 10;
  outline: 8px solid #000;
  outline-offset: -6px;
  box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.slider-btn:checked {
  -webkit-animation: check 0.5s linear forwards;
          animation: check 0.5s linear forwards;
}
.slider-btn:checked:nth-of-type(1) ~ .slider-inner {
  -webkit-transform: translateX(0%);
          transform: translateX(0%);
}
.slider-btn:checked:nth-of-type(2) ~ .slider-inner {
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.slider-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  -webkit-transition: all 1s ease-out;
  transition: all 1s ease-out;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
}
.slider-contents { 
  height: auto;
  padding: 16px;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-flex-flow: column nowrap;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.slider-contents img { 
	box-shadow: 0 2px 7px rgba(0,0,0);
	display: inline-block;
}

@-webkit-keyframes check {
  50% {
    outline-color: #E87E04;
    box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
  }
  100% {
    outline-color: #E87E04;
    box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  }
}

@keyframes check {
  50% {
    outline-color: #E87E04;
    box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
  }
  100% {
    outline-color: #E87E04;
    box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  }
}

/*===================================================
	フッター SP用 max-width 480px~960px
===================================================*/
footer {
	width: 100%;
	height: auto;
	background-color: #000;
	margin-top: 100px;
}

footer small {
	display: inline-block;
	width: 100%;		
 	font-size: 15px;
  	color: #fff;
  	text-align: center;
  	padding: 0px;
  	line-height: 50px;
 }
