/*--------------------------------------------------------------
	POLICY
--------------------------------------------------------------*/
.home-section2 {
  position: relative;
  background: url("../images/category_photo/partner.jpg");
    background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  height: 0;
  z-index: 0;
  padding-top: 49%;
}
/* --------------add contents------------- */
@media (min-width:768px) {
  .contents_bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 85%;
    margin: 3% -10% 0;
    background: #0068b7;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
    z-index: -1;
  }
  .contents_bg.double:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 85%;
    margin: 3% -10% 0;
    background: #FFFF55;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
    z-index: -2;
  }
}
@media (min-width: 960px) {
  span.ja_title2 {
    font-weight: 600;
    letter-spacing: 2px;
    padding: 0 50px 5px 50px;
    font-size: 2rem;
    border-bottom: 1px solid #d7d7d7;
  }
  span.sub_title2 {
    font-size: 1.4rem;
    display: block;
    color: #333333;
    line-height: 2.5;
  }
  .contents_bg {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    z-index: 2;
  }
  .partner_wrap {
    width: 100%;
    max-width: 920px;
    margin: 60px auto 0;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
  }
  .partner_wrap_back {
    width: auto;
    padding: 150px 20px 200px;
  }
  .dwn_title_wrapper {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1d2088;
    letter-spacing: 2px;
    width: 80%;
    margin: 0 auto 20px;
  }
    p.dwn_wrap_txt{
        line-height: 1.8;
    }
  .dwn_title_wrapper:before, .dwn_title_wrapper:after {
    border-top: 1px solid;
    content: "";
    flex-grow: 1;
  }
  .dwn_title_wrapper:before {
    margin-right: 1rem;
  }
  .dwn_title_wrapper:after {
    margin-left: 1rem;
  }
  .txt_wrapeer {
    margin: 30px 0 0;
    width: 100%;
    text-align: center;
    line-height: 1.4;
  }
  .txt_wrapeer p {
    margin-bottom: 10px;
  }
  .dwn_wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .dwn_link {
    display: flex;
    -ms-flex-pack: distribute;
justify-content: space-around;
    margin: 60px 0 20px;
  }
  .dwn_link a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    width: 30%;
    padding: 20px 40px;
    text-align: center;
    background: #0068b7;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.6rem;
    justify-content: center;
  }
  .dwn_link a:hover {
    color: #fff;
    background: #00a0e9;
  }
}
@media (min-width:768px) and (max-width:959px) {
  .title_wrapper {
    width: 100%;
    text-align: center;
    margin: 0 auto 20px;
  }
  span.ja_title2 {
    font-weight: 600;
    letter-spacing: 2px;
    padding: 0 50px 5px 50px;
    font-size: 2rem;
    border-bottom: 1px solid #d7d7d7;
  }
  span.sub_title2 {
    font-size: 1.4rem;
    display: block;
    color: #333333;
    line-height: 2.5;
  }
  /*----------------------main---------------------*/
  .contents_bg {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    z-index: 2;
  }
  .partner_wrap_back {
    width: auto;
    padding: 20px 20px 90px;
  }
  .partner_wrap {
    width: 100%;
    max-width: 920px;
    margin: 60px auto;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
  }
  .dwn_title_wrapper {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1d2088;
    letter-spacing: 2px;
    width: 90%;
    margin: 0 auto 20px;
  }
  .dwn_title_wrapper:before, .dwn_title_wrapper:after {
    border-top: 1px solid;
    content: "";
    flex-grow: 1;
  }
  .dwn_title_wrapper:before {
    margin-right: 1rem;
  }
  .dwn_title_wrapper:after {
    margin-left: 1rem;
  }
  .txt_wrapeer {
    margin: 30px 0 0;
    width: 100%;
    text-align: center;
    line-height: 1.4;
  }
  .txt_wrapeer p {
    margin-bottom: 10px;
  }
  .dwn_wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
     p.dwn_wrap_txt{
        line-height: 1.6;
    }
  .dwn_link {
    display: flex;
   -ms-flex-pack: distribute;
justify-content: space-around;
    margin: 30px 0;
  }
  .dwn_link a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    width: 40%;
    padding: 20px 40px;
    text-align: center;
    background: #0068b7;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.6rem;
    justify-content: center;
  }
  .dwn_link a:hover {
    color: #fff;
    background: #00a0e9;
  }
}
@media (min-width:320px) and (max-width:480px) {
  .title_wrapper {
    width: 100%;
    text-align: center;
    margin: 0 auto 20px;
  }
  span.ja_title2 {
    font-weight: 600;
    letter-spacing: 2px;
    padding: 0 50px 5px 50px;
    font-size: 2rem;
    border-bottom: 1px solid #d7d7d7;
  }
  span.sub_title2 {
    font-size: 1.4rem;
    display: block;
    color: #333333;
    line-height: 2.5;
  }
  span.sub_title2 {
    font-size: 1.4rem;
    display: block;
    color: #333333;
    line-height: 2.5;
  }
  .contents_bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 140%;
    height: 80%;
    margin: 3% -15% 0;
    background: #0068b7;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
    z-index: -1;
  }
  .contents_bg.double:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 140%;
    height: 80%;
    margin: 3% -15% 0;
    background: #FFFF55;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
    z-index: -2;
  }
    .top_minus{margin-top: -340px;
    }
  /*----------------------main---------------------*/
  .contents_bg {
    position: relative;
    overflow: hidden;
    padding: 50px 0 340px;
    z-index: 2;
  }
  .partner_wrap_back {
    width: auto;
    padding: 0 0 100px;
  }
  .partner_wrap {
    width: 100%;
    max-width: 440px;
    margin: 60px auto 0;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
  }
  .dwn_title_wrapper {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1d2088;
    letter-spacing: 2px;
    width: 90%;
    margin: 0 auto 20px;
    justify-content: center;
  }
     p.dwn_wrap_txt{
        line-height: 1.6;
    }
  .txt_wrapeer {
    margin: 30px 0 0;
    width: 100%;
    text-align: center;
    line-height: 1.4;
    padding: 0 20px;
  }
  .txt_wrapeer p {
    margin-bottom: 10px;
  }
  .dwn_wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .dwn_link {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0 0;
  }
  .dwn_link a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px 40px;
    text-align: center;
    background: #0068b7;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.6rem;
    justify-content: center;
    margin-bottom: 30px;
  }
  .dwn_link a:hover {
    color: #fff;
    background: #00a0e9;
  }
}
@media (min-width:481px) and (max-width:767px) {
  .title_wrapper {
    width: 100%;
    text-align: center;
    margin: 0 auto 20px;
  }
  span.ja_title2 {
    font-weight: 600;
    letter-spacing: 2px;
    padding: 0 50px 5px 50px;
    font-size: 2rem;
    border-bottom: 1px solid #d7d7d7;
  }
  span.sub_title2 {
    font-size: 1.4rem;
    display: block;
    color: #333333;
    line-height: 2.5;
  }
  .contents_bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 90%;
    margin: 3% -10% 0;
    background: #0068b7;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
    z-index: -1;
  }
  .contents_bg.double:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 90%;
    margin: 3% -10% 0;
    background: #FFFF55;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
    z-index: -2;
  }
  /*----------------------main---------------------*/
  .contents_bg {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    z-index: 2;
  }
  .partner_wrap_back {
    width: auto;
    padding: 20px 20px 100px;
  }
  .partner_wrap {
    width: 100%;
    max-width: 727px;
    margin: 60px auto 0;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
  }
  .dwn_title_wrapper {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1d2088;
    letter-spacing: 2px;
    width: 90%;
    margin: 0 auto 20px;
  }
  .dwn_title_wrapper:before, .dwn_title_wrapper:after {
    border-top: 1px solid;
    content: "";
    flex-grow: 1;
  }
  .dwn_title_wrapper:before {
    margin-right: 1rem;
  }
  .dwn_title_wrapper:after {
    margin-left: 1rem;
  }
     p.dwn_wrap_txt{
        line-height: 1.6;
    }
  .txt_wrapeer {
    margin: 30px 0 0;
    width: 100%;
    text-align: center;
    line-height: 1.4;
    padding: 0 20px;
  }
  .txt_wrapeer p {
    margin-bottom: 10px;
  }
  .dwn_wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .dwn_link {
    display: flex;
    flex-wrap: wrap;
    margin: 60px 0 0;
  }
  .dwn_link a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px 40px;
    text-align: center;
    background: #0068b7;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.6rem;
    justify-content: center;
    margin-bottom: 30px;
  }
  .dwn_link a:hover {
    color: #fff;
    background: #00a0e9;
  }
}

.demo_item.anime {
    animation: yurayura 2s linear infinite, moveToRight 6s ease 1 normal forwards;
}
.demo_stage {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    display: block;
}

@media (min-width:320px) and (max-width:589px) {
 
    .demo_wrap {
        width: 75%;
        height: 30%;
        display: block;
        position: absolute;
        bottom: 130px;
    }
    .demo_item {
        width: 120px;
        height: 120px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}

@media (min-width:590px) and (max-width:680px) {
     .hero-area{
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}
    .demo_wrap {
        width: 80%;
        height: 30%;
        display: block;
        position: absolute;
        bottom: 150px;
    }
    .demo_item {
        width: 140px;
        height: 140px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}

@media (min-width:681px) and (max-width:959px) {
  
    .demo_wrap {
        width: 80%;
        height: 80px;
        display: block;
        position: absolute;
        bottom: 190px;
    }
    .demo_item {
        width: 180px;
        height: 180px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}

@media (min-width:960px) and (max-width:1260px) {
    .hero-area{
    width: 100%;
    height: 800px;
    overflow: hidden;
    position: relative;
}
    .demo_wrap {
        width: 80%;
        height: 100px;
        display: block;
        position: absolute;
        bottom: 240px;
    }
    .demo_item {
        width: 230px;
        height: 230px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}

@media (min-width:1261px) {
	.home-section2 {
    position: relative;
  background: url("../images/category_photo/partner.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 100vh;
    z-index: 0;
    background-size: cover;
    padding-top: 49%;
  }
    .hero-area{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
    .demo_wrap {
        width: 85%;
        height: 50%;
        display: block;
        position: absolute;
        bottom: 450px;
    }
    .demo_item {
        width: 300px;
        height: 300px;
        background-image: url("../images/index/kouki_fukidashi.svg");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        display: block;
        position: relative;
    }
}
