@charset "utf-8";

/*  =============================================================

　　共通モジュール設定

============================================================= */

/*  全体　設定
---------------------------------------------*/

/* テキスト選択
----------------------------------------------- */
::selection {
	background:#ccc;
}

::-moz-selection {
	background:#ccc; /* Firefox */
}

/*  リンク 設定
-------------------------- */

/* -- 動き滑らか -- */
#header a:hover img,
#content a:hover img {
  transition: all 0.2s ease;
}

/*  ボックス設定
---------------------------------------------*/
.flex {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 768px){
  .flex {
      flex-direction: column;
  }   
}

.boxSection {
  padding: 160px 0;
}

.boxSection.bg-black {
  background: #171717;
  color: #fff;
}

@media screen and (max-width: 768px){
  .boxSection {
    padding: 120px 0;
  }  
}

/*  タイトル設定
---------------------------------------------*/
.subTtl {
  width: 300px;
  margin: 0 auto;
  padding: 10px 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  color: #000;
  font-size: 28px;
  font-size: 2.8rem;
  text-align: center;
}


.boxSection.bg-black .subTtl {
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  color: #fff;
}


/*  ボタン設定
---------------------------------------------*/
.boxBtn * {
  position: relative;
  display: block;
  padding: 15px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-size: 1.8rem;
  text-align: center;
}

.boxBtn *:hover {
  background: #fff;
  color: #333;
  transition: all 0.2s ease;
}

.boxBtn *:after {
  position: absolute;
  top: 20%;
  right: 100%;
  content: "\003e\003e";
  opacity: 0;
}

.boxBtn *:hover:after {
  position: absolute;
  right: 20px;
  top: 30%;
  transition: all 0.6s ease;
  opacity: 1;
}

/*  フェード表示共通設定
---------------------------------------------*/
.move01 {
  -webkit-transform: translate(0,40px);
  -moz-transform: translate(0,40px);
  transform: translate(0,40px); 
  opacity: 0;
}

.mv01 {
  -webkit-transform: translate(0,0);
  -moz-transform: translate(0,0);
  transform: translate(0,0); 
  opacity: 1;
  transition: .8s;
}
