/*
Theme Name: lightning Child
Version: 1.0
Template: lightning
*/
body{
    /*border-top:2px solid red;*/
    box-sizing: border-box;
}

/* common parts---------------------------------------------------------------------- */
:root {
    --human-text-blue: #0000cc;
    --human-subtitle:1.35rem;
}
.entry-title--post-type--page,h2 {
    border:none;
}
.noBorderH   h1,.noBorderH   h2,.noBorderH   h3,.noBorderH   h4,.noBorderH   h5{ border:none; }
.noBorderH   h1:after,.noBorderH   h2:after,.noBorderH   h3:after,.noBorderH   h4:after,.noBorderH   h5:after{ content: "";  display: none; }

.human-text-primary{
    color:var(--human-text-blue);
}
.human-subtitle{
    color:var(--human-text-blue);
    font-size: var(--human-subtitle);
    margin-bottom: 1rem;
    padding-bottom: 0;
}
.bg-def-gray1{  background-color: #f3f4f5; }
.topBtmSpc{ padding: 4rem 0 6rem 0; }

.flex{ display: flex; }
body div.container .smallH3 h3{ font-size: 1.25rem; }

/* header ---------------------------------------------------------------------- */
header#site-header{
    /*width: 100vw;*/
    margin-bottom: 1rem;
    box-shadow: none;

}
#site-header-container{
    /*width: 100vw;*/
    display: flex;  
    flex-wrap: wrap;
    justify-content: space-between;
}

.site-header--layout--nav-float .site-header-logo {
      /*margin:1.25rem auto 1rem 2rem;*/
      margin:auto auto auto 2rem;
      width: fit-content;
      /*padding: 0.25rem;*/
  }   

   #headLeft .global-nav-description{ display: none; }


   #headRight {
       display: flex;
       min-width: 555px;
       max-width: 555px;
       flex-wrap: wrap;
       justify-content: space-between;
   }
  #headRight .hdInfoBox {
      max-width: 315px;
      width: 56.75676%;
      background-color: #f4f4f4;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  #headRight  .hdBtnBox {
      max-width: 240px;
      width: 43.2432433%;
  }

#headRight .hdBtnBox .hdBtn a {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 1;
    color: #fff;
    text-align: center;
    padding: 19px 0 23px 15px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}
#headRight  .hdBtnBox .accidentBtn a {
    background-color: #b80033;
}
#headRight .hdBtnBox .insuranceBtn a{
    /*background-color: #3366aa;*/
    /*background-color: #004EA2;*/
    /*background-color: #3b7a39;*/
    background-color: #2bbeb8;
}
.hdInfo a,
.hdInfo p{ margin-block-end:auto; margin: auto 1rem;  }

.hdOpen{ font-size: 0.75rem; }
     
.device-pc nav#global-nav{ margin-left: 1rem; margin-top: 0.5rem; }
.device-pc nav#global-nav  .global-nav-list>li>a {
        /*padding: 9px 1.25rem;*/
        padding: 0px 1.25rem;
    }
nav#global-nav .global-nav-list>li .global-nav-name {
    font-size: 1.2rem;
    color: #004EA2  !important;

}
.device-pc  nav#global-nav .global-nav-list > li + li{
    border-left: 1px solid #ddd;
}
p.hedInfoTtl{  font-size: 0.75rem;  }
p.hdTel{  font-size: 1.75rem; text-align: center; font-weight: bold; font-family:  serif;  }


/* subpage_head ---------------------------------------------------------------------- */
body.page-template-default  div.page-header{
    background-color: #083d95;
}
#page-header-innerWrap{
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

#subPageHeadTitle h1{
    padding-top: calc((460px - 2rem - 3rem) / 2);
    font-size: 3.0rem;    
}

#subPageHeadTitle h1 > small{
        font-size: 1rem;
    margin-top: -1rem;
    display: block;
    letter-spacing: 0.2rem;
    font-weight: normal;
}

#subPageHeadTitle,
#subPageHeadImg{
    flex: 0 0 50%;
}
#subPageHeadImg img{ 
    max-height: 460px;
    object-fit: cover;
    display: block;
    width: 100%;
}


/* footer ---------------------------------------------------------------------- */
#menu-footernavigation{
    display: flex;
    flex-wrap: wrap;
    margin-left: 1rem;
}
#menu-footernavigation li.menu-item{
    flex: 0 0 50%;
}
#menu-footernavigation .menu-item a{
    border: none;
    font-size: 0.95rem;
    color: #333;
    padding-right: 1rem;
    text-align: left;
    background-color: transparent;
}
#footContWrap div.col-lg-4.col-md-6:nth-child(2){
    padding: 0 2rem;
}
#footContWrap div.col-lg-4.col-md-6:nth-child(3){
    border-left: 1px solid #eee;
    position: relative;
}
#footCopyRight p{ margin: auto; }
#footCopyRight p+p{ display: none; }

#footCopyRight{
    position: absolute;
    width: 100%;
    right: 0;
    bottom:1rem;
    text-align: right;
}
#footContWrap p.profile_text > br:first-child{ display: none; }
#footContWrap p.profile_text > strong + small{
    
}
#footContWrap p.profile_text{
    font-size: 1.00rem;
    line-height: 1.95;
}
#footContWrap #kinkyuBtn{
    margin-top: 2rem;
    display: block;
    background-color: red;
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 0.2rem;
    padding: .5rem 2rem;
    width: 80%;
}
footer.site-footer{ padding-bottom: 2rem; }

/* home  etc ---------------------------------------------------------------------- */
img#homeMainImg{ display: inherit; }
#homeNewsDetail{ flex: 1 0 auto; }
#homeNewsTitle{
    /*width: 142px;*/
    flex:  0 0 10%;
    font-size: 18px;
    line-height: 1;
    background-color: #4d4d4d;
    color: #fff;
    text-align: center;
    margin-right: 30px;
    padding: 20px 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#homeNewsDetail { padding: 2rem 0; }
#homeNewsDetail ul.wp-block-latest-posts{
    margin: 3rem auto;
}

#homeNewsDetail ul.wp-block-latest-posts li{
    display: flex;
    flex-wrap: nowrap;
    border: none;
}
#homeNewsDetail ul.wp-block-latest-posts li,
#homeNewsDetail ul.wp-block-latest-posts li time,
#homeNewsDetail ul.wp-block-latest-posts li a{
    vertical-align: middle;
    font-size: 1.1rem;
}

#homeNewsDetail ul.wp-block-latest-posts li{
    
}
#homeNewsDetail ul.wp-block-latest-posts li a:hover{ text-decoration: none; }
#homeNewsDetail ul.wp-block-latest-posts li a{
    order: 2;
    flex: 0 0 93%;
    margin: auto;
    padding-left: 1rem;
    color: #000099;
}
#homeNewsDetail ul.wp-block-latest-posts li time{
    text-align: right;
    order: 1;flex: 0 0 7%; white-space: nowrap;
}
#onlineContactWrap{
    background-color: #fcfcfc;
    padding: 4rem 0;
}

#defCTA_siryo h2{
    margin-top: 4rem;
}

#onlineContactBtn{
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
    width: fit-content;
    padding: 1rem 4rem;
    margin: 3rem auto 1rem auto;
}

#recomContentList{
    padding: 6rem 0;
}


/*---- exsample: cosumer_body ---------------------*/
#consumerHeadAddWrap h2 {
    font-size: 2.5rem;
    line-height: 1.5;
}
#consumerHeadAddWrap h2+p{
    line-height: 2;
}

#consumerHeadAddWrap{
    margin: auto;
    padding: 4rem 0;
    text-align: center;
    background-color: #ebebf5;
}


/*================ home_pic ================*/
#fromtImage .mvBox{
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
}
#fromtImage .mvBox figure{
    width: 20%;
    opacity: 0;
}
#fromtImage .mvBox .mvTxt{
    position: relative;
    width: 60%;
    background-color: #fff;
    transition: background-color .8s;
}
#fromtImage .mvBox .mvTxt.isActive{
    background-color: #333399;
}
#fromtImage .mvBox .mvTxt span{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
#fromtImage .mvBox .mvTxt span i{
    position: absolute;
    background-color: #333399;
    transition: all 1s cubic-bezier(0.77, 0, 0.18, 1);
}
.sp-bl, .sp-il, .tablet-bl {
    display: none !important;
}
#fromtImage figure { margin: auto; line-height: 0; }
#fromtImage figure img{ display: inline-block; }

/* ___________ */
.bg.is-animated .bg-wrap::before {
  animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: linear-gradient(to right, #362ae0 0%,#3b79cc 50%,#42d3ed 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
}
.bg .bg-wrap .inn {
  color: #fff;
  display: inline-block;
  font-size: 36px;
  font-weight: bold;
  padding: 5px 15px;
  position: relative;
  z-index: 1;
}
 
@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
  30%, 100% {
    opacity: 1;
  }
}
#homeCenterPic{ width: 100%; object-fit: contain; }
/* ___________ */

/* site-body ---------------------------------------------------------------------- */
@media (min-width: 1200px) {
    html body.home .site-body {
        /*padding: 0rem 0 4rem;*/
        padding: 0rem 0 0rem;
    }
    
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1300px;
    }
    
}