@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;
}

/*===================================================
	アニメーション
===================================================*/
/* 基本のスタイル */
.subtext.delighter {
  transition: all .3s ease-out;
  transform: translateX(-100%);
  opacity: 0;
}

/* スタート時のスタイル */
.subtext.delighter.started {
  transform: none;
  opacity: 1;
}

/* エンド時のスタイル */
.subtext.delighter.started.ended {
  border: solid red 10px;
}

/*===================================================
	全体設計
===================================================*/
body {
	line-height: 1;
	font-family: sans-serif;
	color: black;
	background: url(images/back.jpg);
}

/*===================================================
	ヘッダー max-width 960px~1920px
===================================================*/
header {
	width: 100%; 
	height: 80px;
	background: url(images/header.png);
	/*position: fixed;*/
	/*メインコンテンツが前に来た時*/
	z-index: 99;
	display: inline-block;
}

div#main_inner {
	width: 960px;
	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: 20px;
}

header input{
	display: none;
}

header a {
	text-decoration: none;
	font-size: 20px;
	color: #fff;
	font-weight: bold;
}

header a:hover { 
	color: #d8611f;
	border-bottom: 4px solid #d8611f;
}

header ul {
	float: right;
	margin-top: 40px;
}

header ul li {
	display: inline;
	margin-left: 20px;
	margin-right: 10px;
}

/*フロートの解除*/
div.clearfix {
	clear: both;
}

/*===================================================
	メイン画像 SP用 max-width 480px~960px
===================================================*/
	div#main_image img {
		width: 100%;
		height: auto;
		/*margin-top: 80px;*/
	}

/*===================================================
	最新作品　SP用　max-width 480px~960px
===================================================*/
div.main_outer {
	margin-top: 100px;
}

p.subtext {
	width: 960px;
	border-bottom: 4px solid #e1650b;
	margin: 0 auto;
	padding-top: 10px;
}

p.subtext span {
	font-size: 40px;
	color: #000;
	font-weight: bold;
}

div#position {
	position: relative;
	width: 960px;
	height: auto;
	margin: 0 auto;
}

div#another_contents {
	position: absolute;
	top: -35px;
	right: 0;
}

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;
	padding: 0 5px;
	box-shadow: 0 2px 2px rgba(0,0,0);
	background-color: #fff;	
}

div#another_contents a:hover {
	color: #000;
	border: 2px solid #000;
}	

div#sub_image {
	width: 960px;
	height: auto;
	margin: 0 auto;
	padding-top: 20px;
}

div#sub_image img{
	width: 500px;
	height: auto;
	float: left;
	box-shadow: 0 2px 7px rgba(0,0,0);
	display: inline-block;
}

div#sub_image p {
	width: 440px;
	height: auto;
	font-size: 20px;
	font-weight: normal;
	color: #000;
	margin-left: 20px;
	display: inline-block;
	line-height: 25px;
}

div#sub_image p span {
	font-size: 25px;
	font-weight: bold;
	color: #000;
}

div#sub_image a {
	font-size: 15px;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

div#sub_image a:hover {
	color: #e1650b; 
}
/*===================================================
	制作実績 SP用 max-width 480px~960px
===================================================*/
div.background {
	width: 100%;
	height: auto;
	background-color: #139048; 
}

div.sub_outer {
	width: 960px;
	height: auto;
	margin: 300px auto 0 auto;
}

div.contents {
	width: 100%;
	height: auto;
	background-color: #139048;
	position: relative;
}

.slider {
  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: 18px 12px;
  z-index: 10;
  outline: 6px 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(-25%);
          transform: translateX(-25%);
}
.slider-btn:checked:nth-of-type(3) ~ .slider-inner {
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.slider-btn:checked:nth-of-type(4) ~ .slider-inner {
  -webkit-transform: translateX(-75%);
          transform: translateX(-75%);
}
.slider-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  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 {
	width: 900px;
	height: auto; 
	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);
  }
}

/*===================================================
	自己紹介
===================================================*/
div#introduce_outer {
	margin-top: 300px;
}

div#introduce_image {
	width: 960px;
	height: auto;
	margin: 0 auto;
}

div#introduce_image img {
	width: 300px;
	height: auto;
	float: left;
	margin-right: 20px;
	border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
	margin-top: 20px;
}

div#introduce_image p {
	width: 640px;
	height: auto;
	float: left;
	font-weight: normal;
	margin-top: 30px;
	font-size: 28px;
	line-height: 35px;
}

div#introduce_image span {
	font-size: 25px;
	font-weight: bold;
}

/*===================================================
	技能 SP用 max-width 480px~960px
===================================================*/
div#skill_main {
	width: 960px;
	height: auto;
	background-color: #139048; 
	margin:  0 auto;
}

div#skill_main ul li {
	width: 100%
	height: auto;
	margin: 0 0 25px 25px;
}

div#skill_main ul li dl {
	width: 100%
	height: auto;
	margin-bottom: 10px;
}

div#skill_main ul li dl dt img {
	width: 75px;
	height: 75px;
	margin: 20px auto;
	float: left;
}

div#skill_main ul li dl dd {
	width: 800px;
	height: auto;
	float: left; 
	margin-top: 25px;
}

div#skill_main ul li dl dd h3 {
	width: 100%;
	font-size: 25px;
	font-weight: bold;
	float: left;
}

div#skill_main ul li dl dd span {
	width: 100%;
	font-size: 20px;
	font-weight: normal;
	line-height: 25px;
}

/*===================================================
	お問い合わせ SP用 max-width 480px~960px
===================================================*/
div#contact_outer {
	margin-top: 300px;
}

div#contacts_main {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

p#gmail {
	font-size: 23px;
	margin-left: 5px;
}

p#twitter {
	font-size: 23px;
	margin-left: -2px;
}

p#facebook {
	font-size: 23px;
	margin-left: -15px;
}

div.contactphoto {
	width: 50px;
	height: auto;
	margin-left: 40px;
	margin-right: 40px; 
} 


div.contactphoto img{
	border-radius: 50%;
	box-shadow: 0 2px 7px rgba(0,0,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;
 }