/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */




/*
Desktop Styles
================================================== */
/*追加　トップページ*/
body.home {
    background: url(https://l-agent.net/wp-content/uploads/2023/02/map.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
}
body.home:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 50%);
    top: 0;
    left: 0;
}
body.home #wrap_all {
    background: none;
}
body.home .main_color {
    background: none;
}
body.home h2.main_tit {
    color: #fff;
    text-shadow: 3px 3px 5px #000;
}
body.home .main_tit_plus {
    position: fixed;
    background: rgb(0 0 0 / 60%);
    max-width: 600px;
    border: 3px solid #fff;
    border-radius: 10px;
    color: #fff;
    padding: 20px;
    bottom: 40px;
    margin: 0 auto;
    left: 0;
    right: 0;
}
body.home .main_tit_plus h1 {
    color: #fff;
}
body.home .main_tit_plus_cont {
    max-width: 100%;
}
.nav1__list.active:before {
    content: '';
    background: url(https://l-agent.net/wp-content/uploads/2023/02/map.jpg) repeat-x center center;
    background-size: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 300%;
    height: 100vh;
    -webkit-animation: infinitescroll 20s linear infinite;
    -moz-animation: infinitescroll 20s linear infinite;
    -ms-animation: infinitescroll 20s linear infinite;
    -o-animation: infinitescroll 20s linear infinite;
    animation: infinitescroll 20s linear infinite;
    background-color: #000;
}
@-webkit-keyframes infinitescroll {
	0% {-webkit-transform:translate3d(0, 0, 0);}
	100% {-webkit-transform:translate3d(-1200px, 0, 0);}
}
@-moz-keyframes infinitescroll {
	0% {-moz-transform:translate3d(0, 0, 0);}
	100% {-moz-transform:translate3d(-1200px, 0, 0);}
}
@-ms-keyframes infinitescroll {
	0% {-ms-transform:translate3d(0, 0, 0);}
	100% {-ms-transform:translate3d(-1200px, 0, 0);}
}
@-o-keyframes infinitescroll {
	0% {-o-transform:translate3d(0, 0, 0);}
	100% {-o-transform:translate3d(-1200px, 0, 0);}
}
@keyframes infinitescroll {
	0% {transform:translate3d(0, 0, 0);}
	100% {transform:translate3d(-1200px, 0, 0);}
}

#tit_typing .t-caret{
    display: none !important;
}

.merter ul {
    margin: 20px 0;
    padding: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
}
.merter ul li {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    width: 40%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px;
    margin: 0;
}
span.merter_tit {
    background: #fff;
    min-width: 60px;
    display: inline-block;
    margin-right: 8px;
    color: #000;
    text-align: center;
    font-size: 11px;
    border-radius: 2px;
    font-weight: 800;
}
.main_tit_plus .t-caret{
    display: none !important;
}

@-webkit-keyframes rotateY {
    0% {
        -webkit-transform:rotateY(0deg);
        transform:rotateY(0deg);
    }
    25% {
        -webkit-transform:rotateY(90deg);
        transform:rotateY(90deg);
    }
    50% {
        -webkit-transform:rotateY(180deg);
        transform:rotateY(180deg);
    }
    75% {
        -webkit-transform:rotateY(270deg);
        transform:rotateY(270deg);
    }
    100% {
        -webkit-transform:rotateY(360deg);
        transform:rotateY(360deg);
    }
}
 
@-moz-keyframes rotateY {
    0% {
        -moz-transform:rotateY(0deg);
        transform:rotateY(0deg);
    }
    25% {
        -moz-transform:rotateY(90deg);
        transform:rotateY(90deg);
    }
    50% {
        -moz-transform:rotateY(180deg);
        transform:rotateY(180deg);
    }
    75% {
        -moz-transform:rotateY(270deg);
        transform:rotateY(270deg);
    }
    100% {
        -moz-transform:rotateY(360deg);
        transform:rotateY(360deg);
    }
}
 
@keyframes rotateY {
    0% {
        -webkit-transform:rotateY(0deg);
        -moz-transform:rotateY(0deg);
        transform:rotateY(0deg);
    }
    25% {
        -webkit-transform:rotateY(90deg);
        -moz-transform:rotateY(90deg);
        transform:rotateY(90deg);
    }
    50% {
        -webkit-transform:rotateY(180deg);
        -moz-transform:rotateY(180deg);
        transform:rotateY(180deg);
    }
    75% {
        -webkit-transform:rotateY(270deg);
        -moz-transform:rotateY(270deg);
        transform:rotateY(270deg);
    }
    100% {
        -webkit-transform:rotateY(360deg);
        -moz-transform:rotateY(360deg);
        transform:rotateY(360deg);
    }
}
 
.turn360 {
    -webkit-animation:rotateY 1s linear 0s infinite;
    -moz-animation:rotateY 1s linear 0s infinite;
    animation:rotateY 1s linear 0s infinite;
}
.ojiisan_turing{
    display: none;
}
.ojiisan_turing img {
    position: relative !important;
    bottom: 50px !important;
}
.logo_header {
    position: fixed;
    max-width: 300px;
    width: 100%;
    height: 75px;
    top: 20px;
    left: 60px;
}
.pointer {
  cursor: url(https://l-agent.net/wp-content/themes/LIVEAGENT/images/pointer.cur), default;
}
.bashi img {
    width: 300px;
    display: none;
}
.uhyo img {
    width: 400px;
    z-index: 100;
    display: none;
}
/*追加　トップページここまで*/


body {
    padding-right: 0 !important;
}
#js_typing{
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#js_typing::-webkit-scrollbar{
  display: none;
}
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */
#av_section_1 .container {
    padding: 0;
}
.main_tit_sub {
    width: 49%;
    margin-left: 10rem;
    padding: 10px 20px;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-align: justify;
}
.header_tit_row {
    position: relative;
}
.ojisan_img img {
    bottom: -100px;
    right: -200px;
    max-width: 800px;
    width: 100%;
    position: fixed;
    z-index: 1;
}
.logo.avia-svg-logo a {
    max-height: 50px !important;
    margin-top: 20px;
    margin-left: 37px;
}

.buruburu {
    -webkit-animation:hurueru .1s infinite;
    animation:hurueru .1s infinite;
    animation-delay: 1s;
}

@keyframes hurueru {
    0% {transform: translate(0px, 0px) rotateZ(0deg)}
    25% {transform: translate(1px, 1px) rotateZ(1deg)}
    50% {transform: translate(0px, 1px) rotateZ(0deg)}
    /*75% {transform: translate(1px, 0px) rotateZ(-1deg)}*/
    55% {-webkit-transform: translate(0px, 0px) rotateZ(0deg)}
    100% {transform: translate(0px, 0px) rotateZ(0deg)}
}
@-webkit-keyframes hurueru {
    0% {-webkit-transform: translate(0px, 0px) rotateZ(0deg)}
    25% {-webkit-transform: translate(1px, 1px) rotateZ(1deg)}
    50% {-webkit-transform: translate(0px, 1px) rotateZ(0deg)}
    /*75% {-webkit-transform: translate(1px, 0px) rotateZ(-1deg)}*/
    55% {-webkit-transform: translate(0px, 0px) rotateZ(0deg)}
    100% {-webkit-transform: translate(0px, 0px) rotateZ(0deg)}
}

/*.buruburu {
    -webkit-animation:buruburu 2s infinite linear alternate;
    animation:buruburu 2s infinite linear alternate;
}
@-webkit-keyframes buruburu {
    0% {-webkit-transform:translate(0, 0) rotate(0deg);}
    1% {-webkit-transform:translate(0, -2px) rotate(0deg);}
    2% {-webkit-transform:translate(0, 0) rotate(0deg);}
    3% {-webkit-transform:translate(0, -2px) rotate(0deg);}
    4% {-webkit-transform:translate(0, 0) rotate(0deg);}
    5% {-webkit-transform:translate(0, -2px) rotate(0deg);}
    6% {-webkit-transform:translate(0, 0) rotate(0deg);}
    100% {-webkit-transform:translate(0, 0)rotate(0deg);}
}
@keyframes buruburu {
    0% {transform:translate(0, 0) rotate(0deg);}
    1% {transform:translate(0, -2px) rotate(0deg);}
    2% {transform:translate(0, 0)rotate(0deg);}
    3% {transform:translate(0, -2px) rotate(0deg);}
    4% {transform:translate(0, 0)rotate(0deg);}
    5% {transform:translate(0, -2px) rotate(0deg);}
    6% {transform:translate(0, 0)rotate(0deg);}
    100% {transform:translate(0, 0)rotate(0deg);}
}*/

h2.main_tit {
    font-size: 10.5rem;
    max-width: 90%;
}
.main_tit_plus {
    position: absolute;
    bottom: 140px;
    left: 255px;
    z-index: 100;
}
.main_tit_plus h1 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}
.main_tit_plus_cont {
    max-width: 63%;
    text-align: justify;
}
#socket .copyright {
    font-size: 12px;
    letter-spacing: 1.1px;
}
.fly_row {
    height: 0;
    right: 300px;
    position: absolute;
}
.fly{
    width: 100px;
}
.gotop {
    position: relative;
}
.gotop_fixed {
    /*position: fixed;
    bottom: 50px;
    right: 20px;*/
}
.gotop_fixed {
    /*position: fixed;
    right: 20px;
    bottom: 20px;*/
}
.goto_cloud{
    position: fixed;
    bottom: 20px;
    /*right: -50px;*/
    left: 0px;
    height:100px;
    opacity: 0;
}
#gotop_link {
    position: fixed;
    bottom: 20px;
    /*right: 20px;*/
    left: 50px;
    width: 50px;
    height: 286px;
    z-index: 1000;
    cursor: pointer;
}
#gobutton {
    /*position: absolute;
    bottom: 0;
    right: 20px;
    width: 50px;
    height: 286px;
    display: block;*/
}
#gobutton_change {
    position: absolute;
    bottom: 0;
    width: 50px;
    height: 286px;
    display: block;
    opacity: 0;
}
span.image-overlay.overlay-type-extern {
    display: none !important;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
}
.gotop_base {
    position: fixed;
    bottom: 0px;
    /*right: 20px;*/
    left: 50px;
    width: 50px;
}
.gogogogo_row{
    position: absolute;
    top: -200px;
    right: 10%;
    opacity: .5;
    width: 500px;
}
#gobutton img, #gobutton_change img {
    transform: scale(-1, 1);
}



.nav {
  display: flex;
}
.nav__trigger {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
  z-index: 500;
}
.nav__trigger i {
  transition-property: transform background-color;
  transition-duration: 0.3s;
  transition-delay: 0.3s;
  width: 100%;
  height: 3px;
  position: absolute;
  top: 8px;
  left: 0;
  /*background-color: #fff;*/
}
.nav__trigger i:before, .nav__trigger i:after {
  content: "";
  transition-property: transform background-color;
  transition-duration: 0.3s;
  transition-delay: 0.3s;
  width: 100%;
  height: 3px;
  position: absolute;
  left: 0;
  /*background-color: #fff;*/
}
.nav__trigger i:before {
  top: -8px;
}
.nav__trigger i:after {
  top: 8px;
}
.nav__trigger.active i {
  background-color: transparent;
}
.nav__trigger.active i:before, .nav__trigger.active i:after {
  top: 0px;
  background: #000;
}
.nav__trigger.active i:before {
  transform: rotate(45deg);
}
.nav__trigger.active i:after {
  transform: rotate(-45deg);
}
.nav__list, .nav1__list {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  visibility: hidden;
  transition-property: visibility;
}
.nav__link, .nav1__link {
  display: block;
  background-color: #333;
  padding: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  outline: 1px solid rgba(0, 0, 0, 0.15);
}
.nav__link:hover, .nav1__link:hover {
  background-color: #454545;
}
.nav1__list {
  transition-delay: 1.2s;
  perspective: 150px;
  z-index: 10;
  margin: 0;
}
.nav1__list.active {
  transition-delay: 0s;
  visibility: visible;
}
.nav1__list.active .nav1__link {
  transform: translateY(0px) translateZ(0px);
  opacity: 1;
}
.nav1__link {
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
  transform: translateY(0px) translateZ(-150px);
  width: 50%;
  height: 50%;
  float: left;
  opacity: 0;
}
.nav1__link:nth-child(1) {
  transition-delay: 0s;
}
.nav1__link:nth-child(2) {
  transition-delay: 0.2s;
}
.nav1__link:nth-child(3) {
  transition-delay: 0.4s;
}
.nav1__link:nth-child(4) {
  transition-delay: 0.6s;
}
.nav1__link:nth-child(5) {
  transition-delay: 0.8s;
}
body.fixed{
  position: fixed;
  width:100%;
}
.nav__trigger.menu_trigger {
    display: none;
}

.nav__trigger.menu_trigger.active {
    display: inline-block;
}
a.home_link {
    position: absolute;
    top: 20px;
    z-index: 100;
    left: 30px;
    font-size: 15px;
    background: #fff;
    padding: 4px 20px;
    line-height: 1;
    border-radius: 30px;
    font-weight: 800;
    color: #000;
}
a.home_link span.av-icon-char {
    font-size: 14px;
    vertical-align: top;
}
a.nav1__link {
    padding: 0;
    /*background: rgb(0 0 0 / 90%);*/
    background: rgb(255 255 255 / 90%);
}
a.nav1__link:after {
    content: '';
    /*background: rgb(0 0 0 / 70%);*/
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
a.nav1__link{
    position: relative;
    background-size: cover !important;
}
a.nav1__link.img_service {
    /*background: url(https://l-agent.net/wp-content/uploads/2023/02/menu_service.png) no-repeat center center;*/
    /*background: #00c1ff;*/
}
a.nav1__link.img_company {
    /*background: url(https://l-agent.net/wp-content/uploads/2023/02/menu_company.png) no-repeat center center;*/
    /*background: #ff0000;*/
}
a.nav1__link.img_staff {
    /*background: url(https://l-agent.net/wp-content/uploads/2023/02/menu_staff3.png) no-repeat center center;*/
    /*background: #ff0000;*/
}
a.nav1__link.img_recruit {
    /*background: url(https://l-agent.net/wp-content/uploads/2023/02/menu_recruit.png) no-repeat center center;*/
    /*background: #00c1ff;*/
}
.menu_tit h2 {
    color: #000;
}
.menu_tit_dec {
    color: #000;
}
.nav1__link:hover .menu_tit h2 {
    color: #fff;
}
.nav1__link:hover .menu_tit_dec {
    color: #fff;
}
.menu_row {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
}
a.nav1__link:hover:after {
    background: rgb(0 0 0 / 30%) !important;
}
img.change_ojiisan {
    display: none;
}
.ojiisan_fly {
    bottom: -400px !important;
    right: -200px !important;
    position: fixed !important;
    display: none;
}

.dance{
    transform-origin: center bottom;
    animation: yurayura 1s linear infinite;
}
#header_menu{
    position: relative;
    width: 100%;
    background: transparent;
}
.html_header_top.html_header_sticky #top #wrap_all #main{
    padding-top: 0 !important;
}
#canvas
{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	cursor: pointer;
}

@keyframes yurayura {
  0% , 100%{
      transform: rotate(10deg);
  }
  50%{
      transform: rotate(-10deg);
  }
}

/*炎*/
.flame {
    bottom: -300px;
    right: 176px;
    width: 450px;
    position: fixed;
    transform: rotateX(180deg);
    margin: 0 auto;
    display: none;
    z-index: 0;
}
/*.flame span {
  position: absolute;
  width: 30em;
  height: 35em;
  background: radial-gradient(
      orangered 20%,
      rgba(255, 69, 0, 0) 70%
  );
  border-radius: 50%;
  bottom: 0;
  left: calc((var(--n) - 1) * 5em / var(--particles));
  mix-blend-mode: screen;
  animation: rise 1s ease-in infinite;
  animation-delay: calc(var(--rnd) * 1s);
}
@keyframes rise {
  from {
      transform: translateY(0) scale(1);
      filter: opacity(0);
  }
  25% {
      filter: opacity(1);
  }
  to {
      transform: translateY(-10em) scale(0);
      filter: opacity(0);
  }
}*/

/*メニューカスタム*/
.modal {
    background: #fff;
}
.modal-backdrop {
    z-index: -1 !important;
}
#header {
    z-index: 1 !important;
}

.lead_menu {
    position: fixed;
    bottom: 10px;
    max-width: 600px;
    margin: 0 auto;
    left: 0;
    right: 0;
    border: 2px solid #fff;
    background: rgb(0 0 0 / 50%);
    padding: 10px 20px;
    height: 120px;
    border-radius: 10px;
}
.lead_menu_row {
    position: relative;
}
.lead_menu_row:after {
    content: '';
    background: url('https://l-agent.net/wp-content/uploads/2023/02/talk-1.png') no-repeat center center;
    background-size: contain;
    width: 180px;
    height: 210px;
    position: absolute;
    right: -145px;
    bottom: -18px;
}

.lead_menu_row.stop_talk:after {
    background: url(https://l-agent.net/wp-content/uploads/2023/02/talk_1.png) no-repeat center center;
    background-size: contain;
}

#js_typing {
    font-size: 16px;
    font-weight: 800;
    overflow-y: scroll !important;
    height: 120px;
}
.modal-detals {
    max-width: 700px;
    margin: 50px auto;
    /*width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);*/
}
a.back_main {
    color: #fff;
    font-size: 1.4rem;
    position: relative;
    padding-left: 38px;
}
a.back_main:before {
    content: '';
    background: url(https://l-agent.net/wp-content/uploads/2023/02/back.png) no-repeat center center;
    background-size: contain;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: -2px;
    left: 0;
}
.serviceList ul li:last-child {
    /* border-top: 1px solid rgb(255 255 255 / 30%); */
    margin-top: 10px;
}
.serviceList ul li a:hover:last-child {
    color: #fff;
}
.serviceList ul li:hover:last-child {
    background: none;
    left: -5px;
    position: relative;
}

/*フッターロゴ HOMEボタン*/
.m_footer_logo {
    text-align: center;
}
.m_footer_logo img {
    margin-bottom: 12px;
    width: 125px;
    padding-right: 8px;
}
/*戻るボタン*/
.fixed-back {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 40px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    /* border: 1px solid #fff; */
}

/*コンテンツ*/
.m-gallery {
    margin: 30px 0;
}
.m-gallery ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    gap: 8px 10px;
}
.m-gallery ul li {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    margin: 0;
}
.cont_row {
    margin-top: 27px;
}
.cont_row h2, cont_row h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}
.cont_row_desc {
    margin-bottom: 20px;
}
.cont_row hr {
    margin: 50px 0 !important;
}
.cont_row h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
}
table.companyT {
    max-width: 500px;
    margin: 0 auto;
    border: 0;
    background: none !important;
}
table.companyT　tr {
    border-bottom: 1px solid #DDDDDD;
}
table.companyT th {
    border-bottom: solid 2px #01a1e9;
    padding: 10px 10px;
    text-align: center;
}
table.companyT td {
    border-bottom: solid 1px #ddd;
    text-align: center;
    padding: 10px;
    text-align: left;
}
.main_color .companyT tr:nth-child(odd) {
    background: none;
}
.main_color .companyT tr:nth-child(even) {
    background: none;
    color: inherit;
}
.companyT tr th:first-child,.companyT tr td:first-child {
    border-left: 0;
}
table.companyT ul {
    margin: 0;
    padding: 0;
}
table.companyT tr:first-child th,table.companyT tr:first-child td {
    border-top: 0;
}
.cont_row_desc a {
    color: #fff;
}
.Onelist {
    height: auto !important;
}
.Onelist ul li {
    padding-top: 45px;
}
.col_2 {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

/*スタッフ紹介ページ*/
.staffList ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.staffList ul li {
    max-width: 260px;
    position: relative;
}
.prof_name {
    position: absolute;
    bottom: 40%;
    right: 0;
    text-shadow: 1px 3px 2px #000;
    font-size: 30px;
    font-weight: 800;
}
.prof_name span {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}
.staffList ul li img {
    transition: 1s all;
    cursor: pointer;
}
.staffList ul li img:hover {
    opacity: .7;
    transform: scale(1.1,1.1);
    transition: 1s all;
}
.bg_img_B {
    width: 100%;
}
.sub_tit {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 26px;
    color: #00ffd8;
}
.prof_pr {
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 12px 20px;
}
span.prof_pr_tit {
    display: inline-block;
    background: #fff;
    border-radius: 3px;
    color: #000;
    font-size: 12px;
    font-weight: 800;
    padding: 0 10px;
    margin-right: 10px;
}
.nav__trigger.menu_trigger.active {
    z-index: 1000;
}
a.back_main {
    color: #0070a5;
}
.serviceList.Onelist ul li {
    margin-top: 44px;
}
.rotation{
  animation:1s linear infinite rotation;
}
.down{
  animation: down 1s forwards;
}
@keyframes rotation{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(360deg); }
}
@keyframes down {
    0% {
      transform: translateY(0px);
    }
    100% {
        transform: translateY(100%);
    }
}

.ojiisan_turn {
    bottom: -100px;
    right: -200px;
    max-width: 800px;
    width: 100%;
    height: 1100px;
    position: fixed;
}


@media only screen and (max-width: 1350px) {
.ojisan_img img {
    right: -250px;
}
h2.main_tit {
    font-size: 8rem;
    max-width: 68%;
    margin-left: 50px;
}
img.change_ojiisan.dance {
    bottom: -200px !important;
}
.ojiisan_fly {
    right: -250px;
}
}

@media only screen and (max-width: 1200px) {
.main_tit_plus {
    position: relative;
    left: 30px;
    bottom: auto;
}
.main_tit_sub {
    position: relative;
    z-index: 100;
    width: 63%;
    margin-top: 30px;
    margin-left: 10px;
}
}

@media only screen and (max-width: 1100px) {
.ojisan_img img {
    max-width: 700px;
    bottom: -50px;
}
.ojiisan_fly {
    max-width: 700px;
    bottom: -50px;
}
.flame {
    bottom: -160px;
    right: 150px;
}
}

@media only screen and (max-width: 1100px) {
h2.main_tit {
    position: relative;
    z-index: 100;
}
}

@media only screen and (max-width: 870px) {
.serviceList ul {
    width: 100%;
    text-align: center;
}
.serviceList ul li {
    font-size: 20px !important;
}
a.back_main {
    font-size: 18px;
}
a.back_main:before {
    width: 20px;
    padding-left: 26px;
}
.lead_menu {
    padding-right: 100px;
}
}

@media only screen and (max-width: 767px) {
.responsive #top #wrap_all .container {
    width: 100% !important;
    max-width: 100%;
}
h2.main_tit {
    margin-top: 100px;
}
.responsive .logo img, .responsive .logo svg {
    max-height: 40px;
    margin-left: 30px;
}
.logo_header {
    max-width: 180px;
}
}

@media only screen and (max-width: 650px) {
.ojisan_img img {
    bottom: 0;
    right: -160px;
}
.nav1__list .nav1__link {
    width: 100%;
}
h2.main_tit {
    margin-left: 20px;
    font-size: 6rem;
}
.nav1__list.active .nav1__link {
    width: 100%;
    height: 25%;
}
.nav1__list.active .nav1__link:nth-child(2) {
    height: 25%;
}
.nav1__list.active .nav1__link:nth-child(2) .menu_row {
    padding-top: 70px;
}
.nav1__list.active {
    /*overflow: scroll;*/
    height: 100%;
}
.main_tit_plus_cont {
    max-width: 100%;
}
.main_tit_plus {
    left: 0;
    padding: 15px 15px 0;
}
.main_tit_sub {
    margin: 30px auto 0;
    background: rgb(255 255 255 / 80%);
    width: 97%;
    border-radius: 10px;
}
.gotop {
    display: none;
}
/*.main_tit_plus {
    text-shadow: 0px 0px 3px #fff;
}*/
.m-gallery ul {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    text-align: center;
}
.m-gallery ul li {
    width: 45%;
    text-align: center;
}
.retype {
    width: 100%;
}
.modal-body.p-5{
    padding: 15px !important;
}
.menu_row {
    width: 88%;
}
.staffList ul {
    display: block;
    text-align: center;
}
.staffList ul li {
    width: 100%;
    display: block;
    max-width: 300px;
    margin: 0 auto 10px;
}
.nav1__list.active:before {
    background-size: cover;
    height: 200%;
    width: 100%;
    animation: none !important;
}
.ojiisan_fly {
    bottom: 0;
    right: -160px;
}
.flame {
    bottom: 0px;
    right: 113px;
}
}

@media only screen and (max-width: 600px) {
h2.main_tit {
    font-size: 4rem;
    max-width: 100%;
}
.ojisan_img img {
    width: 620px;
}
h2.main_tit {
    margin: 5px;
}
.main_tit_sub {
    display: none;
}
.serviceList.Onelist ul {
    position: relative;
    margin-top: 30px;
}
.ojiisan_fly {
    width: 620px;
}
.logo_header {
    left: 16px;
    top: 10px;
}
}

@media only screen and (max-width: 500px) {
.ojisan_img img {
    bottom: -80px;
}
.m_footer_logo {
    display: none;
}
/*.main_tit_plus_cont {
    display: none;
}*/
.prof_pr {
    margin-top: 20px;
}
.modal-body {
    padding-bottom: 120px !important;
}
.ojiisan_fly {
    bottom: -550px !important;
    right: 0 !important;
}
.flame {
    right: 0;
    width: 300px;
}
body.home .main_tit_plus {
    height: 165px;
    padding: 10px;
    bottom: 5px;
}
body.home #js_typing {
    height: 150px;
}
}

@media only screen and (max-width: 450px) {
.main_tit_plus h1 {
    font-size: 4vw !important;
}
.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
    font-size: 5vw;
}
.template-page .entry-content-wrapper h2 {
    margin-bottom: 17px !important;
}
.lead_menu {
    padding: 10px 50px 10px 10px;
    width: 98%;
    bottom: 5px;
}
.lead_menu_row:after {
    width: 100px;
    height: 120px;
    right: -71px;
    bottom: -8px;
}
#js_typing {
    font-size: 14px;
}
.serviceList ul li {
    font-size: 5vw !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
}
a.back_main {
    font-size: 5vw;
}
a.back_main:before {
    height: 20px;
    bottom: 0px;
}
h2.main_tit{
    font-size: 4rem !important;
}
.col_2 {
    display: block;
}
.bg_img_B {
    position: fixed;
    z-index: 0;
    top: 10px;
    width: 100%;
    text-align: center;
    opacity: 0.5;
}
.prof_row {
    position: relative;
    z-index: 1;
    margin-top: 30%;
}
.prof_pr {
    position: relative;
    z-index: 1;
}
.retype {
    position: relative;
    z-index: 1;
}
}

/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}