﻿body:before {
    background-color: rgba(171, 170, 170, 0.3);
}

.bg_color1 {
    background-color: #fffbf7;
}

#intro:after, #contents:after, #contents_link a:after, #page_title:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.50);
    z-index: 1;
}

.txt_white {
    color: black;
}

header {
    border-bottom: 4px solid #ff840a;
}

#main_contents #main_menu li.active:before {
    background-color: #ff840a;
}

#main_contents #main_menu li:before {
    border: 2px solid #ff840a;
}

#main_contents:after {
    background-color: #ff840a;
}

.bg_color2 {
    background-color: #f3f1e7;
}

#main_contents #main_menu li:after {
    border-bottom: 1px solid #ebc6a1;
}

.bg_color3 {
    background-color: #ff840a;
}

#intro{
    border-top: 3px solid #f3e6d5;
}

#intro > div{
   background-color: white;
    padding: 20px 40px;
    background-image: url(./Dup/img/left.png), url(./Dup/img/hito1.png);
    background-repeat: no-repeat;
    background-size: auto, 20%;
    background-position: left top, 97% 97%;
}

#intro > div hgroup{
    text-align: center;
}

#intro > div hgroup p{
    font-size: 45px;
    margin-top: 50px;
}

#intro > div hgroup h2{
    font-size: 20px;
    margin-bottom: 20px;
}

#intro .more a, #top_cms .more a {
            border-right: 2px solid #d3d2d2;
        position: relative;
}

#intro .more a:before, #top_cms .more a:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #f7f7f7;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    z-index: -2;
    pointer-events: none;
}

.top_cms_title h3{
    font-size: 32px;
    font-weight: bold;
    color: #010101;
}

.top_cms_box > .cms_wrap{
        background-image: url(./Dup/img/left.png);
    background-position: left top;
    background-repeat: no-repeat;
}

#top_cms .top_cms_title > div{
    text-align: left;
}

#top_cms .top_cms_title h4 span {
    border-bottom: 2px solid #ff840b;
}

#top_cms .top_cms_title h4{
    padding-left: 10px;
    margin-top: 20px;
}

#main_contents:before {
    content: "";
    display: block;
    width: 90%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/dock.png), url(./Dup/img/testing.png), url(./Dup/img/hito3.png);
    background-position: 30% 100%, center left, top right;
    background-repeat: no-repeat;
    background-size: 25%, contain, 15%;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    pointer-events: none;
    z-index: 2;
}

#main_contents.flex_top-right:before {
    content: "";
    display: block;
    width: 90%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/dock.png), url(./Dup/img/testing.png), url(./Dup/img/hito3.png);
    background-position: 30% 100%, center left, top right;
    background-repeat: no-repeat;
    background-size: 25%, contain, 200px;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    pointer-events: none;
    z-index: 2;
}

#header img{
    max-width: 250px;
}

#contents > div{
    position: relative;
}

#contents > div:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 40%;
    left: 40%;
    background-image: url(./Dup/img/hito2.png);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 15%;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    pointer-events: none;
    z-index: 0;
}

#main_contents{
    background-image: url(./Dup/img/main_back.png);
    background-size: 35%;
}

#main_contents #main_img {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#main_img{
    position: relative;
}

#main_img:before{
    content: "";
    display: block;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    position: absolute;
    top: -13px;
    left: -13px;
    background-image: url(./Dup/img/left.png);
    background-position: top left;
    background-repeat: no-repeat;
    /* -webkit-transform: translate(-50% , -50%); */
    /* transform: translate(-50% , -50%); */
    background-size: 40px;
    pointer-events: none;
    z-index: 2;
}

header .sns_links li {
    width: 40px;
}

#contents h3 span {
    border-top: 5px solid #ff840a;
}

#contents_link a span {
    background-color: rgba(255,255,255,0.6);
    font-size: 23px;
    padding: 5px;
}


#contents_link a h4 {
    border: 1px solid #bfbfbf;
}

#page_title h2 span {
    border-top: 3px solid #ff840a;
}

#page_title h3 span {
    border-bottom: 3px solid #ff840a;
}

#page_title{
    padding-left: 4%;
}

.txt_color3 {
    color: #d96c00;
}

#contents h4 {
    color: white;
    width: 100% !important;
    text-align: center;
}

#page_title h2 span {
    font-weight: bold;
    font-size: 34px;
}

#main_contents #main_menu li a {
    font-weight: bold;
    color: #363636;
}

#page07, #page08, #page09, #page10 {
    background-color: rgb(255, 251, 247, 0.5);
}

#page07 .box {
    border-bottom: 2px solid rgba(74, 74, 74, 0.1);
}

#page09 h3 span {
    background-color: rgb(255 132 10);
    color: white;
}

#page10 .grid_4 a span.font_24 {
    font-size: 20px;
}

#page10 .grid_4 a .no {
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
    background-color: #ff840a;
}

#page10 a span.bg_color3{
        background-color: #ffbe2e;
}


#loader:after {
    border-bottom: 5px solid #FFBE2E;
}

footer h3{
    font-weight: bold;
}

#contents_link a h3 span{
    font-weight: bold;
}

#menu_bt > div span {
    background-color: #6c6c6c;
}

.linkStyle{color: #ff840b;}

.hvr_bg_color3:hover {
    background-color: #ff840a;
    color: white;
}



@media all and (-ms-high-contrast: none){
  
  .cate_list a .font_en {
    top: -4px;
}

#catch h2 span{
    font-size: 30px;
}

.cate_list a {
    padding-bottom: 4px;
}

#main_contents #main_menu li a {
    padding-top: 5px;
}

#cms_6-a h3.cate_title{
    padding-bottom: 0;
}

}

/* ---------- カスタム ---------- */
@media screen and (max-width: 1000px){






}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

#main_img{
    margin: 0 auto;
}

#main_contents:before {
    background-position: bottom left, center left, top right;
    background-size: 35%, contain, 25%;
}

#catch{
    margin: auto;
}

#catch h2 span{
    font-size: 18px;
}

#footer h3.font_en{
    font-size: 40px;
}

#main_contents.flex_top-right:before {
    background-size: 25%, contain, 25%;
}

#main_nav > div > ul li.active:before {
    background-color: #FF840A;
}

#main_nav > div > ul li:before {
    border: 2px solid #FF840A;
}

#main_nav #menu_bg::after {
    background-color: rgba(255,255,255,0.90) !important;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){

#top_cms .more a{
    width: 100%;
}

#top_cms .more a br{
    display: none;
}

#footer h3{
    font-size: 30px;
}

#contents_link a h4 {
    max-width: 150px;
    margin: auto;
}

#contents_link a > div {
    width: 100%;
}

#page_title h2 span {
    font-weight: bold;
    font-size: 18px;
}

#page_title > div{
    display: block;
}

#page10 .grid_4 a span.font_24 {
    font-size: 18px;
}

.footer_txt{
    font-size: 12px !important;
}

}