﻿.bg_color1 {background-color: #090909;}
.bg_color3 {background-color: #950505;}
.txt_color_nomal {color: #090909;}
.txt_color1 {color: #090909;}
.txt_color3 {color: #950505;}
.border_color3 {border-color: #950505;}
.hvr_bg_color1:hover {background-color: #090909;}
/* ----------　all　---------- */
.linkStyle{
	color:#950505;
}
.linkStyle:hover{
	color:#950505;
	opacity: 0.7;
	transition: all 0.5s;
}
#loading_bg {
    background-color: #950505;
}
body {
    color: #090909;
    font-family: 'Noto Sans JP', sans-serif;
}
.font_en,h1, h2, h3, h4, h5, h6, #main_menu ul li a, .blur span.contents2_txt, .cms_title::before, .banner {
    font-family: 'Noto Sans JP', sans-serif!important;
}
header .head_box{
    padding-left: 10px;
    padding-right: 10px;
    max-width: 350px;
}
header .contact_bt a{
        background-color: #950505;
    border: 1px solid #950505;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #090909;
}
.all main.scrollin .all_bg,.top_cms_wrap .top_cms_before  {
    content: '';
    position: absolute;
    width: calc(100% - 200px);
    height: 100%;
    z-index: -1;
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    top: 0;
    bottom: 0;
    clip-path: polygon(0 0, 75% 0, 100% 100%, 0 100%);
}
.top_cms_wrap .top_cms_before {
    clip-path: polygon(0 0, 65% 0, 100% 100%, 0 100%);
}
.footer_back .f_before {
    content: '';
    position: absolute;
    width: 200px;
    height: 1000px;
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    top: 0;
    left: auto;
    right: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%);
}
footer .logo img{
    max-width: 350px;
}
/* ----------　TOP　---------- */
#main_img,#main_img img {
    min-height: auto;
}
.anime_wrap{
    background-color: #f5f5f5;
    position: relative;    
}
#contents1 {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.contents1_wrap{
    position: relative;
}
.contents1_wrap:before {
    content: "";
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 28%;
    top: 0px;
    left: 0;
    background: url(Dup/img/anime1.png) repeat-x;
    background-size: cover;
    animation: bgroop 1000s linear infinite;
}
.contents1_wrap:after {
    content: "";
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 28%;
    top: 36%;
    left: 0;
    background: url(Dup/img/anime2.png) repeat-x;
    background-size: cover;
    animation: bgroop2 1000s linear infinite;
}
#contents1 h2{
    border:none;
    text-align: center;
}
#contents1 h2:before{
    display: none;
}
#contents1 h2 span {
    padding-left: 0px;
    margin-bottom: 30px;
    line-height: 2;
    color: #950505;
    font-size: 38px;
}
#contents2 h2, #contents3 h3{
    position: relative;
    padding-left: 60px;
}
#contents1 p{
    display: inline-block;
    text-align: left;
    line-height: 2.7;
}
#contents2 h2 img, #contents3 h3 img{
    width: 50px;
    position: absolute;
    left: 0px;
}
.anime_wrap:before {
    content: "";
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 28%;
    top: 72%;
    left: 0;
    background: url(Dup/img/anime3.png) repeat-x;
    background-size: cover;
    animation: bgroop 1000s linear infinite;
}
@keyframes bgroop{
    0% { background-position: 0 50%;}
  100% { background-position: 1100% 50%;}
}
@keyframes bgroop2{
    0% { background-position: 1100% 50%;}
  100% { background-position: 0 50%;}
}

#top_cms .box h2 {
    font-weight: 900!important;
    font-style: italic;
    font-size: -webkit-calc(1rem + 14px);
    font-size: calc(1rem + 14px);
}
.cms_title::before {
    font-weight: 900!important;
}
/* ----------　下層ページ　---------- */
#page_title h2 {
    font-weight: 900!important;
    font-size: 50px;
    font-style: italic;
}
#page_title p{
    font-size: 18px;
    font-weight: 600;
}
#page_title .page_box::before {
    height: 2px;
}

/* スタッフインタビュー */
#cms_6-a .box_txt1 {
    font-size:-webkit-calc(1rem + 3px);
    font-size : calc(1rem + 3px);
}
/* 会社情報 */
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */

/*-------------------------------------------------------
			            IE
-------------------------------------------------------*/

@media all and (-ms-high-contrast: none){
  .sample{

  }
}

/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
/* ----------　all　---------- */
header #tb_logo{
    max-width: 300px;
}  
footer{
    padding-bottom: 150px!important;
}
.banner {
    width: 80%;
    padding: 0;
    max-width: 350px;
}
.fat-nav li {
    font-size: 16px;
}
/* ----------　TOP　---------- */
#contents2 h2, #contents3 h3 {
    font-size: 20px;
    padding-bottom: 10px;
    padding-left: 40px;
}
#contents1 h2 span {
    font-size: 33px;
}    
#contents2 h2 img, #contents3 h3 img {
    width: 30px;
    transform: translateY(5px);
}
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
header #tb_logo {
    max-width: 220px;
}  
.fat-nav li {
    font-size: 14px;
}
/* ----------　TOP　---------- */
#contents1 {
    padding-top: 50px;
    padding-bottom: 50px;
}
#contents1 h2 span {
    font-size: 25px;
    line-height: 1.8;
    margin-bottom: 0px;
}
#contents2 h2, #contents3 h3 {
    font-size: 22px;
}

/* ----------　下層ページ　---------- */
#page_title .page_box {
    padding-left: 40px;
}
#page_title .page_box::before {
    width: 31px;
}
#page_title h2 {
    font-size: 30px;
    letter-spacing: 2px;
}
/* スタッフインタビュー */
#cms_6-a .box_txt1 {
    font-size: -webkit-calc(1rem + 2px);
    font-size: calc(1rem + 2px);
}
}