/*
Theme Name: dp-infinitii-child
Version: 1.0.9.1
Template: dp-infinitii
*/


img {
    max-width: 100%;
}
.header-banner-content.pos-center {
    top: 27%;
    -webkit-transform: translateY(-27%);
    -ms-transform: translateY(-27%);
    transform: translateY(-27%);
}
.dp_text_widget h4 {
    background: none !important;
}
.widget-on-top-banner .widget-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    margin: auto;
}
.header_bar::before, .global_menu_ul .sub-menu::before, .modal_wrapper.main_menu {
    color: #ffffff !important;
    background:rgba(0,0,0,0.5) !important;
}
#dpcustomtextwidget-5,#dpcustomtextwidget-6 {
    padding: 0 !important;
}
.loop_wrap {
  display: flex;
  width: 100vw;
  height: auto;
  overflow: hidden;
  margin: 80px 0;
}
.loop_wrap img {
  width: auto;
  height: 100%;
}
@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
.loop_wrap img:first-child {
  animation: loop 50s -25s linear infinite;
}
.loop_wrap img:last-child {
  animation: loop2 50s linear infinite;
}
.kouka_box {
    margin:100px auto;
    letter-spacing: 4px;
    line-height: 2.0;
}
.kouka_top {
    margin-top:300px;
}
.loop-title {
    font-size: 2.2rem;
}
.kome {
    font-size: 12px;
}
.cd_box {
    margin:90px auto;
    letter-spacing: 3px;
    color: #000000;
}
.excerpt_title_wid {
    font-size: 1.8rem;
}

.time_out_box {
    position: relative;
    width: 100%;
    padding: 10% 6%;
    margin: 0 auto 56px;
    background-image: url("../../uploads/2022/03/bg_history.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.fit, .fit img {
    width: 100%;
    line-height: 0;
    margin-right: auto;
    margin-left: auto;
}
.his1 {
    position: absolute;
    z-index: 0;
    top: 0px;
    left: 75%;
    width: 50%;
    max-width: 480px;
    height: auto;
    opacity: 1.0;
    transition: all .5s;
}
.his2 {
    position: absolute;
    z-index: 0;
    top: 2850px;
    left: 0;
    width: 50%;
    max-width: 300px;
    height: auto;
    opacity: 1.0;
    transition: all .5s;
}
.his3 {
    position: absolute;
    z-index: 0;
    top: 0px;
    left: 0;
    width: 50%;
    max-width: 320px;
    height: auto;
    opacity: 1.0;
    transition: all .5s;
}
.his4 {
    position: absolute;
    z-index: 0;
    top: 1300px;
    left: 5%;
    width: 50%;
    max-width: 520px;
    height: auto;
    opacity: 1.0;
    transition: all .5s;
}
.his5 {
    position: absolute;
    z-index: 0;
    top: 2000px;
    left: 5%;
    width: 50%;
    max-width: 400px;
    height: auto;
    opacity: 1.0;
    transition: all .5s;
}
.his6 {
    position: absolute;
    z-index: 0;
    top: 2200px;
    left: 18%;
    width: 50%;
    max-width: 360px;
    height: auto;
    opacity: 1.0;
    transition: all .5s;
}
.his7 {
    position: absolute;
    z-index: 0;
    top: 2500px;
    left: 8%;
    width: 50%;
    max-width: 520px;
    height: auto;
    opacity: 1.0;
    transition: all .5s;
}
.his8 {
    position: absolute;
    z-index: 0;
    top: 2800px;
    left: 20%;
    width: 50%;
    max-width: 520px;
    height: auto;
    opacity: 1.0;
    transition: all .5s;
}
.time_box {
    display: flex;
    width: 1180px;
    margin: 0 auto;
}
.time_box div.time_inline {
    width: 50%;
    margin: 15px;
}
.greeting_box {
    width: 1180px;
    margin: 150px auto;
    line-height: 2.2em;
}

.heading05 {
    position: relative;
    padding-bottom: 50px;
    font-size: 26px;
    margin-bottom: 80px;
    text-align: center;
}

.heading05::before {
    content: attr(data-en);
    display: block;
    color: #e04272;
    font-size: 20px;
    font-style: italic;
    text-transform: uppercase;
}

.heading05::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%) rotate(30deg);
    width: 1px;
    height: 40px;
    background-color: #e04272;
}

.dp_text_widget h2 {
    background-image: none !important;
}

.mid_jhs {
  width: 50%;
  position: relative;
  margin: 0 auto 2em;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  background: #f5bbc5;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
}

.mid_jhs:before,
.mid_jhs:after {
  position: absolute;
  content: '';
  border-radius: 50%;
  background: #f5bbc5;
}

.mid_jhs:before {
  bottom: -15px;
  left: 30px;
  width: 30px;
  height: 30px;
}

.mid_jhs:after {
  bottom: -30px;
  left: 50px;
  width: 15px;
  height: 15px;
}
.mid_hs {
  width: 50%;
  position: relative;
  margin: 0 auto 2em;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  background: #abd1e8;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
}

.mid_hs:before,
.mid_hs:after {
  position: absolute;
  content: '';
  border-radius: 50%;
  background: #abd1e8;
}

.mid_hs:before {
  right: 30px;
  bottom: -15px;
  width: 30px;
  height: 30px;
}

.mid_hs:after {
  right: 50px;
  bottom: -30px;
  width: 15px;
  height: 15px;
}

span.required {
  color: #ff0000 !important;
  font-size: 12px;
}

.pageside1 {
    position: fixed;
    z-index: 1000;
    bottom: 230px;
    right: 0;
}
.pageside1 a {
    display: block;
    opacity: 0.5;
    margin-bottom: 10px;
}
.pageside1 a:hover {
    opacity: 1.0;
}
p.ft_40 {
    font-size: 40px;
    text-align: center;
}
.ov_box {
    text-align: center;
}

@media screen and (max-width: 767px) {

.loop-title {
    font-size: 100%;
}
li.dp_role_tab_list__item {
    max-width: 100%;
}
.loop_wrap {
    width: 300vw;
    margin: 30px 0;
}
.greeting_box {
    width: 100%;
    margin: 60px auto;
}
.cd_box {
    text-align: left;
    letter-spacing: 3px;
    color: #000000;
}
.kouka_box {
    width: 65%;
    margin: 100px auto 180px;
}
.heading05 {
    font-size: 16px;
}
.heading05::before {
    font-size: 16px;
}
.heading05 {
    margin-bottom: 30px;
}
.time_box {
    display: block;
    width: 100%;
    margin: 0 auto;
}
.time_box div.time_inline {
    width: 100%;
    margin: 0;
}
.time_out_box {
    padding: 10% 6% 455px;
    margin: 0 auto;
}

.his1 {
    z-index: 10;
    top: -55px;
    left: 228px;
    width: 40%;
}
.his2 {
    z-index: 100;
    top: 4400px;
    left: 0;
    width: 40%;
}
.his3 {
    z-index: 10;
    top: -59px;
    width: 30%;
}
.his4 {
    z-index: 10;
    top: 4382px;
    left: 170px;
    width: 50%;
}
.his5 {
    z-index: 0;
    top: 4627px;
    left: 55%;
    width: 40%;
}
.his6 {
    z-index: 10;
    top: 4559px;
    left: 3%;
    width: 40%;
}
.his7 {
    z-index: 0;
    top: 4700px;
    left: 4%;
    width: 45%;
}
.his8 {
    z-index: 10;
    top: 4733px;
    left: 53%;
    width: 40%;
}
p.ft_40 {
    font-size: 20px;
}

}