/* ------------------------------------------------------------------------
    Common
------------------------------------------------------------------------  */


/* ------------------------------------------------------------------------
    TOP AREA
------------------------------------------------------------------------  */
#TOP_TOPAREA {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 40px;
}
#TOP_TOPAREA > *{
    width: 100%;
}
#TOP_TOPAREA #NEWS_AREA{
}
#TOP_TOPAREA #REX_GROUP{
}
@media screen and (min-width:1024px){
    #TOP_TOPAREA #NEWS_AREA{
        max-width: calc(70% - 20px);
    }
    #TOP_TOPAREA #REX_GROUP{
        max-width: calc(30% - 20px);
    }
}

/* ------------------------------------------------------------------------
    NEWS_RELEASE
------------------------------------------------------------------------  */
#TOP_TOPAREA #NEWS_AREA{}
#TOP_TOPAREA #NEWS_AREA .News_Release{
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
/* Title */
/*
#NEWS_AREA .News_Release .Area_Title{
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.3em;
}
@media screen and (max-width:768px){
    #NEWS_AREA .News_Release .Area_Title{
        display: none;
    }
}
*/
#NEWS_AREA .Sub_Title {
    width: 100%;
}

/* News List */
#NEWS_AREA .News_Release .News_List{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
@media screen and (min-width:769px){
    #NEWS_AREA .News_Release .News_List{
        /*
        width: calc(100% - 120px);
        */
    }
}
.News_List,
.News_List .Item,
.News_List .Item .Contents{
    width: 100%;
}
.News_List .Item .Contents{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
}
@media screen and (min-width:769px){
    .News_List .Item .Contents{
        padding-left: 1em;
        padding-right: 1em;
    }
}

.News_List .Item .Contents > *{
    box-sizing: border-box;
}
.News_List .Item .Contents .Date{
    width: 80px;
    font-size: 12px;
}
.News_List .Item .Contents .Category{
    width: 120px;
    font-size: 12px;
    text-align: center;
    background: var(--color-green);
}
.News_List .Item .Contents .News{
    width: 100%;
    line-height: 1.5em;
    margin-top: 1em;
}
@media screen and (min-width:769px){
    .News_List .Item .Contents .Date,
    .News_List .Item .Contents .Category{
        font-size: 14px;
    }
    .News_List .Item .Contents .News{
        width: calc(100% - 200px);
        padding: 0 1em;
        margin-top: 0;
    }
}
/***** News Arrow *****/
.News_Release button {
    display: none !important;
}
.News_Release .News_Arrow {
    position: absolute;
    right: 0;
    top: -10px;
}
@media screen and (min-width:769px){
    .News_Release {
        margin-top: 0;
    }
    .News_Release .News_Arrow {
        top: 0;
    }
}
/***** Arrow *****/
.News_Arrow.Arr > *:first-child {
    margin-right: 15px;
}


/***** Button *****/
#NEWS_AREA .Btn_Area {
    margin-top: var(--space-30);
    margin-bottom: var(--space-30);
}
@media screen and (min-width:769px){
    #NEWS_AREA .Btn_Area {
        margin-top: var(--space-20);
        margin-bottom: var(--space-20);
    }
}

/* ------------------------------------------------------------------------
    TOPICS
------------------------------------------------------------------------  */
.Topics_Area { position: relative;}
.Topics_List {
    width: 100%;
    margin: 0 auto;
}
.Topics_List .Item {
    margin-left: 10px;
    margin-right: 10px;
}
@media screen and (min-width:769px){
    /*
    .Topics_List {
        max-width: calc(100% - 60px);
    }
    */
}
/***** Topics Slider *****/
.Topics_Area button {
    display: none !important;
}
.Topics_Area .Topics_Arrow {
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100% + 24px);
    transform: translateY(-50%);
    display: flex;
    justify-content: flex-end;
}
@media screen and (min-width:769px){
    .Topics_Area .Topics_Arrow {
        top: 50%;
        justify-content: space-between;
    }
}
/***** Arrow *****/
.Topics_Arrow.Arr > *:first-child {
    margin-right: 15px;
}
@media screen and (min-width:769px){
    .Topics_Arrow.Arr > *:first-child {
        margin-right: 0;
    }
}

/***** Center Mode *****/
/*
.Topics_Area .slick-slide {
    opacity: .6;
    transition: opacity .3s;
}
.Topics_Area .slick-slide.slick-center{
    opacity: 1;
}
*/

/* ------------------------------------------------------------------------
    REX_GROUP
------------------------------------------------------------------------  */
#TOP_TOPAREA #REX_GROUP {}
@media screen and (max-width:1023px){
    #TOP_TOPAREA #REX_GROUP ul.RexGroup li {
        padding-left: 0;
    }
}
#TOP_TOPAREA #REX_GROUP ul.RexGroup {
    border-top: 1px dotted var(--sub2-color); 
}
#TOP_TOPAREA #REX_GROUP ul.RexGroup li{
    border-bottom: 1px dotted var(--sub2-color);
}
#TOP_TOPAREA #REX_GROUP ul.RexGroup li a{
    display: block;
    padding: 1em 0;
}



/* ------------------------------------------------------------------------
    PRODUCTS
------------------------------------------------------------------------  */
#PRODUCTS .Products_Area{
    position: relative;
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
}
#PRODUCTS .Products_Area:before {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    background: var(--sub4-color);
    width: 0;
    height: 100%;
    z-index: -2;
    
    transition: all 1.5s;
}
#PRODUCTS .Products_Area.active:before {
    width: 100%;
}
#PRODUCTS .Products_List{
    display: flex;
    flex-wrap: wrap;
    row-gap:30px;
    column-gap: 30px;
}
#PRODUCTS .Products_List .Item{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 5px;
}
#PRODUCTS .Products_List .Item .Image{
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
#PRODUCTS .Products_List .Item .Name{
    display: flex;
    justify-content: center;
    line-height: 1.3em;
}
@media screen and (min-width:769px){
    #PRODUCTS .Products_Area{
        padding-bottom: 0;
    }
    #PRODUCTS .Products_Area:before {
        max-height: 350px;
    }
    #PRODUCTS .Products_List .Item{
        max-width: calc( 100% / 3 - 20px);
    }
    #PRODUCTS .Products_List .Item .Image{
        max-width: 320px;
    }
    
    /* hover */
    #PRODUCTS .Products_List .Item .Image img{
        transition: all .6s;
    }
    #PRODUCTS .Products_List .Item:hover .Image img{
        opacity: .5;
    }
    #PRODUCTS .Products_List .Item .Name{
        transition: color .6s;
    }
    #PRODUCTS .Products_List .Item:hover .Name{
        color: var(--main-color);
    }
}

/***** Button *****/
#PRODUCTS .Btn_Area {
    margin-top: var(--space-30);
    margin-bottom: var(--space-30);
}


/* ------------------------------------------------------------------------
    ABOUT US
------------------------------------------------------------------------  */
#ABOUT_US{}
.AboutUs_List {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap:var(--space-20);
}
.AboutUs_List .Item{
    position: relative;
    width: 100%;
    max-width: 48%;
    
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 5px;
    overflow: hidden;
}
.AboutUs_List .Item:before{
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: background .6s;
}
.AboutUs_List .Item > *{
    width: 100%;
    box-sizing: border-box;
}
.AboutUs_List .Item .Image{
}

.AboutUs_List .Item .Name{
    position: relative;
    padding: 1em 1.5em;
    transition: opacity .6s;
}
.AboutUs_List .Item .Name .Arr{
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Text */
.AboutUs_List .Item .Text{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    
    width: 100%;
    max-width: 240px;
}
.AboutUs_List .Item .Text span{
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 1.25em;
    
    opacity: 0;
    transition: opacity .6s;
}
/*
.AboutUs_List .Item .Text span:before,
.AboutUs_List .Item .Text span:after{
    position: absolute;
    left: 50%;
    content: '';    
    transform: translateX(-50%);
    width: 100%;
    height: 15px;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    opacity: 0;
    
    transition: all .6s;
    transition-delay: .2s;
}
.AboutUs_List .Item .Text span:before{
    top: -1.5em;
    border-top: 2px solid #fff;
}
.AboutUs_List .Item .Text span:after{
    bottom: -1.5em;
    border-bottom: 2px solid #fff;
}
*/

@media screen and (min-width:769px){
    .AboutUs_List .Item{
        max-width: 46%;
    }
    
    /* hover */
    .AboutUs_List .Item:hover .Name{
        opacity: 0;
    }
    .AboutUs_List .Item:hover:before{
        background: var(--main-color);
    }
    .AboutUs_List .Item:hover .Text span{
        opacity: 1;
    }
    /*
    .AboutUs_List .Item:hover .Text span:before{
        opacity: 1;
        top: -1em;
    }
    .AboutUs_List .Item:hover .Text span:after{
        opacity: 1;
        bottom: -1em;
    }
    */
}

/***** Button *****/
#ABOUT_US .Btn_Area {
    margin-top: var(--space-30);
    margin-bottom: var(--space-30);
}


/* ------------------------------------------------------------------------
    CONTACT US
------------------------------------------------------------------------  */
#CONTACT_US {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}
#CONTACT_US > *{
    width: 100%;
    box-sizing: border-box;
    position: relative;
}
#CONTACT_US > *:before,
#CONTACT_US > *:after{
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 0;
    height: 100%;
    
    transition: all 1s;
}
#CONTACT_US > *:before{
    z-index: -2;
}
#CONTACT_US > *:after{
    z-index: 2;
}
/* contents */
#CONTACT_US .Contents{
    padding-top: var(--space-30);
    padding-bottom: var(--space-30);
    padding-left: 5%;
    padding-right: 5%;
}
#CONTACT_US .Contents:before{
    background: var(--main-color);
}
#CONTACT_US .Contents .Message{
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-20);
    display: flex;
    justify-content: center;
    color: #fff;
}
/* Image */
#CONTACT_US .Image:before{
    width: 100%;
    background-image: url("../asset/images/contactus_image.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 30%;
}
#CONTACT_US .Image:after{
    width: 100%;
    transform-origin: right top;
    transform: scale(1, 1);
    background: #fff;
}

/* js */
#CONTACT_US > *.active:before{
    width: 100%;
}
#CONTACT_US > *.active:after{
    transform: scale(0, 1);
}

@media screen and (max-width:768px){
    #CONTACT_US .Contents{
        order: 2;
    }
    #CONTACT_US .Image{
        order: 1;
    }
}
@media screen and (min-width:769px){
    #CONTACT_US .Image img{
        display: none;
    }
    #CONTACT_US > *{
        max-width: 50%;
    }
}

