@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);
}

/*===================================================
	アニメーション
===================================================*/
.fadein {
  opacity : 0;
  transform : translate(0, 100px);
  transition : all 1s;
}
 
.fadein.active{
  opacity : 1;
  transform : translate(0, 0);
}

@-webkit-keyframes animation {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes animation {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*===================================================
	ヘッダー SP用 max-width 480px
===================================================*/
	header {
		width: 100%; 
		height: auto;
		background: url(images/header.png) no-repeat;
		position: fixed;
		/*メインコンテンツが前に来た時*/
		z-index: 99;
		display: inline-block;
	}

	div#main_inner {
		width: 100%;
		height: auto;
		margin: 0 auto;
	}

	div#main_inner h1 {
		background: url(images/baruface1.png) no-repeat;
		padding-left: 18px;
		padding-top: 2px;
		float: right;
		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;
	float: left;
	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
===================================================*/
#loader-bg {
    background: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
}
#loader-bg img {	
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 10;
}

/*===================================================
	メイン画像 SP用 max-width 480px
===================================================*/
div#main_image {
	width: 100%;
	height: auto;
	position: relative;
}

img#bg {
	width: 100%;
	height: 200px;
}

div#main_image 	iframe {
	width: 100%;
	height: 300px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	margin-top: 150px;
}

div#main_image p#main_title {
	width: 300px;
	height: 200px;
	font-size: 40px;
	font-weight: bold;
	color: #fff;
	font-family: "メイリオ", Meiryo;
	position: absolute;
	top: 100px;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

div#main_image p#main_title span {
	font-size: 15px;
	border: 2px solid #fff;
	padding: 2px 2px 0 2px;
	border-radius: 5px;
	position: absolute;
	top: 60px;
	left: 150px;
	right: 0px;
	bottom: 120px;		
	margin: auto;
	text-align: center;
	background-color: #000;
}

div#main_image p#main_title span:hover {
	border: 2px solid green;
}

div#main_image p#main_title span a {
	text-decoration: none;
	color: #fff;
}

div#main_image p#main_title span:hover a{
	color: green;
}

img#mouse {
	width: 25px;
	height: 40px;
	margin: 0 auto;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -300px;
}

div#main_image p.animation {
	width: 25px;
	height: 40px;
	color: #000;
	font-size: 20px;
	margin: 0 auto;
	position: absolute;
	left: 2px;
	right: 0;
	bottom: -5px;
}

.arrow{
  position:	absolute; 
  width: 180px;
  height: 50px;
}

.arrow::after{
  content: "";
  position: absolute;
  bottom: -310px;
  right: -1px;
  border-top: 14px solid #797979;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  -webkit-animation: animation 2s infinite;
  animation: animation 2s infinite;
  box-sizing: border-box;
}

/*===================================================
	更新欄　SP用 max-width 480px
===================================================*/
div#left {
	height: auto;
	background-color: white;
	padding: 10px;
	margin-top: 400px;
	box-shadow: 0 2px 7px rgba(0,0,0);
}

div#left h2,
div#left h3 {
	font-size: 17px;
	font-weight: bold;
	color: #734339;
	border-left: 5px solid #e1650b;
	padding-left: 10px;
}

div#left ul {
	overflow: scroll;
	width: 100%;
	height: 145px;
}

div#left ul li {
	font-size: 13px;
	font-weight: normal;
	color: #92727a;
	line-height: 32px;
	border-bottom: 1px dotted #d0d0d0;
}

div#left ul li span {
	font-size: 12px;
	font-weight: normal;
	color: #b5b3b3;
	margin-right: 15px;
}

div#left ul li a {
	text-decoration: none;
}

div#left ul li span#emphasis {
	font-size: 13px;
	color: #139048;
	font-weight: bold;
}

/*===================================================
	デザイン勉強展 SP用 max-width 480px
===================================================*/
div.sub_outer {
	width: 100%;
	height: auto;
	margin-top: 200px; 
}

h3 {
	width: 100%;
	font-size: 40px;
	color: #000;
	font-weight: bold;
	text-align: center;
}

div.sub_outer p{
	width: 100%;
	font-size: 15px;
	color: #000;
	text-align: center;
}

.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: 15px 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: 100%;
	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);
  }
}

/*===================================================
	youtube SP用 max-width 480px
===================================================*/
div#video {
	margin-top: 200px;
}

div#video p{
	font-size: 12px;
	margin-top: 20px;
	text-align:	center;
}

div#video iframe {
	width: 100%;
	height: 200px;
	margin-top: 20px;
	box-shadow: 0 2px 7px rgba(0,0,0);
}

/*===================================================
	お問い合わせ SP用 max-width 480px
===================================================*/
div.contact_inner {
	margin-top: 200px;
}

div#contacts_main {
	width: 100%;
	height: auto;
	text-align: center;
}

div.contactphoto {
	display: inline-block;
	margin: 30px 20px 0 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: 150px;
}

footer small {
	display: inline-block;
	width: 100%;		
 	font-size: 12px;
  	color: #fff;
  	text-align: center;
  	padding: 0px;
  	line-height: 50px;
 }
