@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;
  }
}

/*===================================================
	ヘッダー  max-width 1920px
===================================================*/
header {
	width: 100%; 
	height: 80px;
	background: url(images/header.png);
	position: fixed;
	/*メインコンテンツが前に来た時*/
	z-index: 99;
	display: inline-block;
}

div#main_inner {
	width: 1100px;
	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;
}

/*===================================================
	ロード画面  max-width 1920px
===================================================*/
#loader-bg {
    background: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
}
#loader-bg img {
	width: 50px;
	height: 50px;	
    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;
}

/*===================================================
	メイン画像 max-width 1920px
===================================================*/
div#main_image {
	width: 100%;
	height: auto;
	position: relative;
}

img#bg {
	width: 100%;
	height: 980px;
}

div#main_image 	iframe {
	width: 1100px;
	height: 700px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

div#main_image p#main_title {
	width: 300px;
	height: 200px;
	font-size: 100px;
	font-weight: bold;
	color: #fff;
	font-family: "メイリオ", Meiryo;
	position: absolute;
	top: 0;
	left: 0;
	right: 1040px;
	bottom: 200px;
	margin: auto;
}

div#main_image span {
	font-size: 30px;
	border: 2px solid #fff;
	padding: 2px 5px 0 5px;
	border-radius: 5px;
}

div#main_image span:hover {
	border: 2px solid green;
}

div#main_image span a {
	text-decoration: none;
	color: #fff;
}

div#main_image span:hover a{
	color: green;
}

img#mouse {
	width: 25px;
	height: 40px;
	margin: 0 auto;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 50px;
}

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: 40px;
  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;
}

/*===================================================
	更新欄　max-width 1920px
===================================================*/
div#left {
	width: 1100px;
	height: auto;
	margin: 0 auto;
	background-color: white;
	padding: 10px;
	margin-top: 300px;
	box-shadow: 0 2px 7px rgba(0,0,0);
}

div#left h2,
div#left h3 {
	font-size: 60px;
	font-weight: bold;
	color: #734339;
	border-left: 5px solid #e1650b;
	padding-left: 10px;
}

div#left ul {
	overflow: scroll;
	width: 100%;
	height: 500px;
	margin-top: 20px;
}

div#left ul li {
	font-size: 25px;
	font-weight: normal;
	color: #92727a;
	line-height: 32px;
	border-bottom: 1px dotted #d0d0d0;
}

div#left ul li span {
	font-size: 25px;
	font-weight: normal;
	color: #b5b3b3;
	margin-right: 15px;
}

div#left ul li a {
	text-decoration: none;
	color: #139048;
	font-weight: bold;
}

div#left ul li a:hover {
	color: #000;
}

div#left ul li span#emphasis {
	font-size: 30px;
	color: #139048;
	font-weight: bold;
}

/*===================================================
	デザイン勉強展 max-width 1920px
===================================================*/
div.sub_outer {
	width: 100%;
	height: auto;
	margin: 0 auto;
	margin-top: 300px; 
}

div#background {
	width: 960px;
	height: auto;
	margin: 0 auto;
	padding-top: 20px;
}

h3 {
	width: 100%;
	font-size: 80px;
	color: #000;
	font-weight: bold;
	text-align: center;
}

div.sub_outer p{
	width: 100%;
	font-size: 30px;
	color: #000;
	text-align: center;
	margin-top: 20px;
}

.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: 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 max-width 1920px
===================================================*/
div#video {
	width: 1100px;
	height: auto;
	margin: 0 auto;
	margin-top: 300px;
}

div#video p{
	text-align: center;
	font-size: 30px;
	margin-top: 20px;
}

div#video iframe {
	width: 1100px;
	height: 600px;
	margin-top: 20px;
	box-shadow: 0 2px 7px rgba(0,0,0);
}

/*===================================================
	お問い合わせ max-width 1920px
===================================================*/
div.contact_inner {
	height: 300px;
	margin-top: 300px;
}

div#contacts_main {
	width: 100%;
	height: auto;
	text-align: center;
	margin-top: 30px;
}

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);
} 

/*===================================================
	フッター max-width 1920px
===================================================*/
footer {
	width: 100%;
	height: auto;
	background-color: #000;
}

footer small {
	display: inline-block;
	width: 100%;		
 	font-size: 12px;
  	color: #fff;
  	text-align: center;
  	padding: 0px;
  	line-height: 50px;
 }