/*
 Theme Name:   daylight
 Template:     xeory_extension
*/
/* ----------------------------------------


---------------------------------------- */
/* ----------------------------------------
* frontpage
---------------------------------------- */
h2.SH1  {
    font-size: 170%;
    background-color: #978A59;
    color: #ffffff;
    border-left: 0;
    padding: 15px 32px;
    position: relative;
    line-height: 1.0em;
    margin: 20px 0;
    text-align: center;
    font-weight: 700;
}


@media screen and (max-width: 767px){
h2.SH1 {
    font-size: 120%;
    text-align: center;
    background-color: #978A59;
    color: #ffffff;
    border-left: 0;
    padding: 15px 32px;
    position: relative;
    line-height: 1.0em;
    margin: 20px 0;
    font-weight: bold;
}
}

h3 {
    border-left: 5px solid #804200;
    clear: both;
    font-size: 1.4em;
    color: #333333;
    font-weight: bold;
    margin: 30px 0 16px;
    padding: 0 0 0 8px;
}


@media screen and ( max-width: 767px ) {
h3 {
    border-left: 5px solid #804200;
    clear: both;
    font-size: 1em;
    color: #333333;
    font-weight: bold;
    margin: 30px 0 16px;
    padding: 0 0 0 8px;
}
}

.SUNewsList1 {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    vertical-align: baseline;

}
.SUNewsList1 li {
    margin: 0;
    padding: 0;
}
.APkg:after {
    clear: both;
    content: " ";
    display: block;
    font-size: 0.1em;
    height: 0.1px;
    line-height: 0;
    visibility: hidden;
}
.APkg {
    display: block;
}

.SUNewsList1 li {
    background: url("/inheritance/wp-content/themes/daylight/images/BgSUNewsList1Li.jpg") repeat-x scroll 0 100% rgba(0, 0, 0, 0);
    color: #333;
    margin-bottom: 6px;
    padding: 0 5px 7px 0;
}

.flexcontainer_main {
    display: inline-flex;
    margin: 0 auto;
}
.flexitem_main{
  width: 100%;
  height: 100px;
  text-align: center;

}
 
.item_main1{
  background: none;
}

.item_main1 img {
    width: 730px;
    padding-top: 70px;
    margin-left: 30px;
}

 
.item_main2{
  background: none;
  margin: auto;
}

.item_main2 img {
}



@media screen and ( max-width:1024px ){
.flexcontainer_main{
   display: flex;
   flex-direction: column;
}
}


@media screen and ( max-width: 1024px ){
.flexitem_main{
  width: 100%;
  height: 100px;
  text-align: center;
}
}

 @media screen and ( max-width: 1024px ){
.item_main1{
  background: none;
}
}

 @media screen and ( max-width: 1024px ){
.item_main1 img {
    padding-top: 35px;
    width: 550px;
    margin-left: 45px;
    padding-left: 0;
}
}



 @media screen and (max-width: 1024px){
.item_main2 {
    background: none;
    /* margin-bottom: 90px; */
}
}
@media screen and (max-width: 1024px){
.item_main2 img{
  width: 85%;
  padding-top: 0;
  padding-left: 0;
}
}

 @media screen and (max-width: 1024px){
.flex_img p{
    text-align: center;
    padding-top: 20px;
}
}

@media screen and (max-width: 1024px){
.item2 a:hover img {
opacity:0.8;
filter:alpha(opacity=80);
-ms-filter: “alpha( opacity=80 )”;
}
}





 @media screen and ( max-width: 991px ){
.flexcontainer_main{
   display: flex;
   flex-direction: column;
}
}


@media screen and ( max-width: 991px ){
.flexitem_main{
  width: 100%;
  height: 100px;
  text-align: center;
}
}

 @media screen and ( max-width: 991px ){
.item_main1{
  background: none;
}
}

 @media screen and ( max-width: 991px ){
.item_main1 img {
    padding-top: 35px;
    width: 550px;
    margin-left: 45px;
}
}



 @media screen and (max-width: 991px){
.item_main2 {
    background: none;
    /* margin-bottom: 90px; */
}
}
@media screen and (max-width: 991px){
.item_main2 img{
  width: 85%;
  padding-top: 0;
}
}

 @media screen and (max-width: 991px){
.flex_img p{
    text-align: center;
    padding-top: 20px;
}
}

@media screen and (max-width: 991px){
.item2 a:hover img {
opacity:0.8;
filter:alpha(opacity=80);
-ms-filter: “alpha( opacity=80 )”;
}
}






 @media screen and ( max-width: 767px ){
.flexcontainer_main{
   display: flex;
  flex-direction: column;
}
}


@media screen and ( max-width: 767px ){
.flexitem_main{
  width: 100%;
  height: 100px;
  text-align: center;
}
}

 @media screen and ( max-width: 767px ){
.item_main1{
  background: none;
  margin: 0 auto;
}
}

 @media screen and ( max-width: 767px ){
.item_main1 img {
    padding-top: 30px;
    width: 360px;
    margin-left: 0px;
    padding-left: 0px;
}
}



 @media screen and (max-width: 767px){
.item_main2 {
    background: none;
    margin-bottom: 90px;
}
}
@media screen and (max-width: 767px){
.item_main2 img{
  width: 100%;
  padding-top: 0px;
  margin: 0;
  padding-left: 0px;
}
}

 @media screen and (max-width: 767px){
.flex_img p{
    text-align: center;
    padding-top: 20px;
}
}

@media screen and (max-width: 767px){
.item2 a:hover img {
opacity:0.8;
filter:alpha(opacity=80);
-ms-filter: “alpha( opacity=80 )”;
}
}




.method_item1 {
 margin:0 30px 30px 0;
 text-align: left;
}

.method_item2 {
 margin:0 0 30px 0;
 text-align: left;
}


@media screen and (max-width: 767px) {
.container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.method_item1 {
 margin: 0 0 20px 0;
}

.method_item2 {
  margin: 0 0 20px 0;
}
}




.container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}



/*オフィス*/

.saimulast{
  text-align: center;
  margin-bottom: 50px;
}

.saimulast1 {
    width: 45%;
    margin-right: 30px;
    float: left;
    text-align:left;
}

.saimulast2 {
    width: 45%;
    float: right;
    text-align:left;
}



/*流れ図縦*/
.nagarezu > li {
  position: relative;
}
.nagarezu > li:not(:last-child) {
  margin-bottom: 40px;
}
.nagarezu > li:not(:first-child)::before {
  content: "";
  height: 60px;
  display: block;
  border-left: 4px dotted #e5e5e5;
  position: absolute;
  top: -50px;
  left: -webkit-calc(10% + 30px - 2px);
  left: calc(4% + 247px - 2px);
  z-index: 10;
}
.nagarezu > li dl {
  width: 80%;
  margin: auto;
  font-size: 24px;
  font-weight: 700;
  padding: 0px 160px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 3px solid #D2CCAC;
  border-radius: 2px;
  position: relative;
}
.nagarezu > li:not(:last-child) dl::before,
.nagarezu > li:not(:last-child) dl::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.nagarezu > li:not(:last-child) dl::before {
  border-width: 22px;
  border-top-color:  #D2CCAC;
  
}
.nagarezu > li:not(:last-child) dl::after {
  border-width: 17px;
  border-top-color: #fff;
}
.nagarezu > li dl dt {
  font-size: 20px;
  font-weight: 700;
  color: #34251D;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  text-align: center;
  width: 10%;
  margin-top: 10px;
}
.nagarezu > li dl dt .icon {
  font-size: 40px;
  color: #fff;
  background: #004384;
  padding: 17px 10px;
  margin-bottom: 10px;
  display: block;
  position: relative;
  width: 50px;
  height: 50px;
  /*角丸*/
  line-height: 15px;
}



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

.nagarezu　ul{
  padding: 10px;
}
.nagarezu > li {
  position: relative;
}
.nagarezu > li:not(:last-child) {
  margin-bottom: 40px;
}
.nagarezu > li:not(:first-child)::before {
  content: "";
  height: 57px;
  display: block;
  border-left: 4px dotted #e5e5e5;
  position: absolute;
  top: -49px;
  left: -webkit-calc(10% + 30px - 2px);
  left: calc(7% + 23px - 2px);
}
.nagarezu > li dl {
  width: 100%;
  font-size: 18px;
  padding: 0px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 3px solid #D2CCAC;
  border-radius: 2px;
  position: relative;
}


.nagarezu dd {
  margin-left: 0px;
}


.nagarezu > li:not(:last-child) dl::before,
.nagarezu > li:not(:last-child) dl::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.nagarezu > li:not(:last-child) dl::before {
  border-width: 22px;
  border-top-color:  #D2CCAC;
  
}
.nagarezu > li:not(:last-child) dl::after {
  border-width: 17px;
  border-top-color: #fff;
}
.nagarezu > li dl dt {
  font-size: 20px;
  font-weight: 600;
  color: #34251D;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  margin-right: 1vw;
  text-align: center;
  width: 25%;
  margin-top: 10px;
}
.nagarezu > li dl dt .icon {
  font-size: 20px;
  color: #fff;
  background: #01417D;
  padding: 5px 10px;
  margin-bottom: 10px;
  display: block;
  position: relative;
  /*角丸*/
  line-height: 40px;
}
}

.article_list li{
  margin-bottom: 20px;
}
.article_list a{
  display: flex;
  text-decoration:none!important;
}

.article_list .flex{
  display: flex;
}
.article_list .flex a{
  display: block;
}
.article_list .flex .article_list_imgage{
  width: auto;
}

.article_list a:hover{
  opacity: 0.5;
  background-color: #e6e0d8;
}

}

.article_list_imgage{
  flex: 0 0 40%;
  height: auto;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.article_list_imgage img{
  width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 3px;
  background-size: cover;
  background-repeat: inherit;
  background-position: center;
}

@media screen and (max-width: 767px){
.article_list_imgage img {
    width: 130px;
    vertical-align: bottom;
    border-radius: 3px;
    background-size: cover;
    background-repeat: inherit;
    background-position: center;
    max-width: none;
}
}


.article_list_titlearea{
    margin-left: 15px;
}
.article_list_title{
  color:#666666;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 7px;

}
.article_list_date{
  font-size: 90%;
}
@media screen and (min-width: 560px){
  .article_list li{
    padding: 0 5px 0;
  }
  .article_list_title{
    font-size: 1.4rem;
    font-weight: 500;
  }
  .article_list .flex a{
    flex: 0 0 202px;
  }
  .article_list_imgage{
    flex: 0 0 202px;
  }
  .article_list_imgage img{
    height: auto;
  }
}
@media screen and (min-width: 960px){
  .article_list_title{
    font-size: 1.4rem;
    font-weight: 300;
  }
  .article_list_date{
    font-size: 90%;
  }
  .article_list_imgage{
    flex: 0 0 115px;
  }
  .article_list_imgage img{
    height: auto;
  }
}
  @media screen and (min-width: 560px){
  .article_list_titlearea{
    max-width: none;
  }
}




.container-office{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}


.officeitem {
  width: 25%;
  padding: 10px;
}



.container-office2{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}


.officeitem2 {
  width: 30%;
  padding: 10px;
}


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

.container-office{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.officeitem {
  width: 50%;
  padding: 10px;
}



.container-office2{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}


.officeitem2 {
  width: 33%;
  padding: 5px;
}
}


