@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: sans-serif;
	color: black;
	background: url(images/back.jpg);
}

/*===================================================
	ヘッダー SP用 max-width 480px
===================================================*/
	header {
		width: 100%; 
		height: auto;
		background: url(images/header.png) no-repeat;
		/*position: fixed;*/
		/*メインコンテンツが前に来た時*/
		z-index: 99;
	}

	div#main_inner {
		width: 100%;
		height: auto;
	}

	div#main_inner h1 {
		position: relative;
		background: url(images/baruface1.png) no-repeat;
		padding: 2px 0 0 15px;
		margin: 7px auto 0 auto;
		float: right;
		right: 32%;
	}

	div#main_inner h1 span {
		font-size: 15px;
		font-weight: bold;
		color: #fff;
	}
/*===================================================
	ヘッダー　SP用　メニューバー
===================================================*/

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.menu {
	display: block;
	overflow: hidden;
	width: 30px;
	height: 30px;
	cursor: pointer;
	-webkit-transition: all 0.5s ease-in-out;
	        transition: all 0.5s ease-in-out;
	border: 3px solid transparent;
	border-radius: 50%;
}
.menu div.menubar {
	width: 15px;
	margin: 7px auto;
}
.menu div.menubar .bar {
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 2px;
	border-radius: 2px;
	background-color: #ffffff;
}
.menu ul {
	width: 80%;
	height: 500px;
	border: 2px solid #000;
	display: list-item;
	list-style-type: none;
	-webkit-transition: all 0.5s ease;
	        transition: all 0.5s ease;
	text-align: center;
	opacity: 0;
	background-color: #e1650b;
}
.menu ul li {
	display: block;
	margin: 0 auto;
}
.menu ul li a {
	display: list-item;
	-webkit-transition: all 0.3s ease-in;
	        transition: all 0.3s ease-in;
	text-decoration: none;
	color: #fff;
	height: 50px;
	line-height: 50px;
	border-bottom: 1px solid #000;

}
.menu ul li a:hover {
	color: #ffffff;
	background-color: #000;
}
.menu ul li a:target {
	border-bottom-color: #1b2538;
}

/* クリックした時の動き */
#cp_navimenuid {
	display: none;
}

/*押した後のメニュー欄の大きさ*/
#cp_navimenuid:checked ~ .menu {
	width: 100%;
	height: 500px;
	border: 3px solid #000;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.5);
}
#cp_navimenuid:checked ~ .menu > ul {
	display: block;		
	opacity: 1;
}
#cp_navimenuid:checked ~ .menu > .menubar {
	display: none;
}

/*===================================================
	メイン画像 SP用 max-width 480px
===================================================*/
	div img  {
		width: 100%;
		height: auto;
		/*margin-top: 30px;*/
	}

/*===================================================
	最新作品　SP用　max-width 480px
===================================================*/
div.main_outer {
	margin-top: 60px;
}

p.subtext {
	width: 100%;
	font-size: 26px;
	color: #000;
	border-bottom: 4px solid #e1650b;
	display: inline-block;
	padding-top: 10px;
}

p.subtext span {
	font-weight: bold;
	margin-left: 20px;

}

div#position {
	position: relative;
}

div#another_contents {
	position: absolute;
	top: -28px;
  	right: 15px;
}

div#another_contents a {
	font-size: 13px;
	font-weight: bold;
	color: #e1650b;
	border: 1px solid #e1650b;
	border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
	padding: 0 5px;
	box-shadow: 0 2px 2px rgba(0,0,0);
	text-decoration: none;	
	background-color: #fff;
}

div#another_contents a:hover {
	color: #000;
	border: 2px solid #000;
}	

div#sub_image img{
	width: 100%;
	height: auto;
	float: left;
	box-shadow: 0 2px 7px rgba(0,0,0);
	display: inline-block;
	margin-bottom: 20px;

}

div#sub_image p {
	font-size: 15px;
	font-weight: normal;
	color: #000;
	margin-left: 15px;
	line-height: 20px;
}

div#sub_image p span {
	font-size: 17px;
	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
===================================================*/
div.sub_outer {
	width: 100%;
	height: auto;
	margin-top: 200px;
	background-color: #139048; 
}

div.contents {
	width: 100%;
	height: auto;
	background-color: #139048;
	position: relative;
}

.slider {
  height: 250px;
  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: 32px 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: 80%;
  -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);
  }
}

/*===================================================
	自己紹介
===================================================*/
div#introduce_outer {
	margin-top: 200px;
}

div#introduce_image {
	width: 100%;
	height: auto;
}

div#introduce_image img {
	width: 100%;
	height: auto;
	float: left;
	margin-right: 20px;
	border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}

div#introduce_image p {
	width: 100%;
	height: auto;
	float: left;
	font-weight: normal;
	margin-top: 30px;
	font-size: 20px;
	line-height: 30px;
	padding: 0 15px;
}

div#introduce_image span {
	font-size: 18px;
	font-weight: bold;
}


/*===================================================
	技能 SP用 max-width 480px
===================================================*/
div#skill_main {
	width: 100%;
	height: auto;
	background-color: #139048; 
}

div#skill_main ul li {
	width: 100%
	height: auto;
	margin: 5px 15px 25px 15px;
}

div#skill_main ul li dl {
	width: 100%
	height: auto;
}

div#skill_main ul li dl dt img {
	width: 50px;
	height: 50px;
	margin: 10px auto;
}

div#skill_main ul li dl dd {
	width: 100%;
	height: auto;
	float: left; 
	margin-bottom: 20px;
}

div#skill_main ul li dl dd h3 {
	width: 100%;
	font-size: 20px;
	font-weight: bold;
	float: left;
}

div#skill_main ul li dl dd span {
	width: 100%;
	font-size: 18px;
	font-weight: normal;
	line-height: 25px;
}

/*===================================================
	お問い合わせ SP用 max-width 480px
===================================================*/
div#contact_outer {
	margin-top: 200px;
}

div#contacts_main {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
}

p#gmail {
	margin-left: 2px;
}

p#twitter {
	margin-left: -3px;
}

p#facebook {
	margin-left: -12px;
}

div.contactphoto {
	width: 50px;
	height: auto;
	margin-left: 20px;
	margin-right: 20px; 
} 

div.contactphoto img{
	border-radius: 50%;
	box-shadow: 0 2px 7px rgba(0,0,0);
} 

/*===================================================
	フッター SP用 max-width 480px
===================================================*/
footer {
	width: 100%;
	height: auto;
	background-color: #000;
	margin-top: 100px;
}

footer small {
	display: inline-block;
	width: 100%;		
 	font-size: 12px;
  	color: #fff;
  	text-align: center;
  	padding: 0px;
  	line-height: 50px;
 }
