﻿/* =Typography
-----------------------------------------------------------------------------*/

body {
}

@media only screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }
}
/* =171011追加
-----------------------------------------------------------------------------*/
/*
h2 {
    border-bottom: 1px solid #646565;
}
*/
/*
.box-sub h2 {
   border-bottom: 1px solid #646565;
}
*/
.sp {
  display: none;
}

.colona_text {
  text-align: center;
}
.colona_text2 {
  margin: 20px 0 5px 0;
  width: 44%;
  float: left;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
}
.colona_text3 {
  margin: 20px 0 5px 0;
  text-align: center;
  float: right;
  font-weight: bold;
  margin-right: 50px;
  text-decoration: underline;
}
.blue {
  color: blue;
}
.blue:hover {
  opacity: 0.7;
}
@media only screen and (max-width: 767px) {
  .colona_text2 {
    margin: 5px 0 20px 0;
    width: 46%;
    float: left;
    text-align: center;
    text-decoration: underline;
    font-size: 11pt;
  }
  .colona_text3 {
    margin: 5px 0 20px 0;
    text-align: center;
    float: right;
    margin-right: 0;
    font-size: 11pt;
    text-decoration: underline;
    width: 51%;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

.spspsp {
  display: none;
}
@media only screen and (max-width: 767px) {
  .spspsp {
    display: block;
  }

  .pcpc {
    display: none;
  }
  .cv-bg-footer2 {
    display: none;
  }
  .cv-bg-footer2 {
    -moz-background-size: 100% auto;
    background-size: 100% 100%;
    position: relative;
    padding: 3.2% 0 3%;
    height: 210px;
  }

  /* スマホ下部お問い合わせバナー */

  #footerFloatingMenu {
    display: block;
    width: 100%;
    position: fixed;
    left: 0px;
    bottom: 0px;
    z-index: 4999;
    text-align: center;
    padding: 0 auto;
  }
  @media screen and (min-width: 550px) and (max-width: 767px) {
    #footerFloatingMenu {
      width: calc(100% - 115px);
      text-align: left;
    }
  }
  #footerFloatingMenu img {
    max-width: 99%;
  }
  #footerFloatingMenu .sp_banner_tel {
    position: absolute;
    bottom: 5%;
    left: 2%;
    width: 59%;
    height: 65.1%;
  }
  #footerFloatingMenu .sp_banner_mail {
    position: absolute;
    position: absolute;
    bottom: 10%;
    right: 2.8%;
    width: 35.4%;
    height: 55%;
  }
  #wrapper {
    margin-bottom: 80px;
  }
  /* スマホ下部お問い合わせバナーここまで */
}

/* =Links
-----------------------------------------------------------------------------*/
.newframe {
  position: relative;
  display: inline-block;
  overflow: hidden; /* 不要部分を消す */
  padding: 1px;
}
.newframe:after {
  content: "";
  position: absolute;
  z-index: 1;
  width: auto;
  height: auto;
  background: red;
  content: "New"; /* 表示するテキスト */
  text-align: center;
  color: #fff;
  font-family: "Arial";
  font-weight: bold;
  font-size: x-small;
  padding: 2%;
  left: -2%;
  top: 2%;
  transform: rotate(-30deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.click-box {
  cursor: pointer;
}

/*ページネーション*/

.pagination {
  font-size: 11px;
  line-height: 13px;
}

.pagination span,
.pagination a {
  display: block;
  float: left;
  margin: 2px 2px 2px 0;
  padding: 6px 9px 5px 9px;
  text-decoration: none;
  width: auto;
  color: #fff;
  background: #555;
}

.pagination a:hover {
  color: #fff;
  background: #3279bb;
}

.pagination .current {
  padding: 6px 9px 5px 9px;
  background: #fc8618;
  color: #fff;
}

/* =Layout
-----------------------------------------------------------------------------*/
#page {
  background: url(../images/base/content-bg.jpg);
}

#content {
  padding-top: 120px;
}
#contentotoiawase {
  padding-top: 100px;
  width: 36%;
}

#content2 {
  padding-top: 120px;
}

@media only screen and (max-width: 767px) {
  #content {
    padding-top: 235px;
  }
  #contentotoiawase {
    padding-top: 30px;
    width: 100%;
  }

  #content2 {
    padding-top: 235px;
  }
}

.container {
  width: 94%;
  max-width: 984px;
  padding: 0 10px;
  margin: 8px auto 0;
}

#primary {
  float: right !important;
  margin-left: 0;
}

#secondary {
  float: right !important;
  margin-left: 0.8130081300813%;
}

.box {
  background: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 0.8em;
}
.box p,
.box-sub > p {
  margin-bottom: 1em;
}
.box-sub,
.box-text {
  background: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 0.5%;
  margin-bottom: 10px;
  margin-top: 22px;
}

#link .box-sub h1 {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  vertical-align: middle;
  background-color: #f26400;
  padding: 10px 15px 7px 15px;
  margin: 25px 0 20px 0;
}

#link .box-sub h2 {
  background: url(/wp-content/themes/yaneyasan/images/muryoutenken/yaneyasan_portalsen.png)
    bottom left no-repeat;
  font-size: 18.9px;
  margin-bottom: 1em;
  line-height: 1.5;
  padding-top: 20px;
}

#link .box-sub h3 {
  border-bottom: solid 2px orange;
}

#link .box-sub a :not(.contact-btn) {
  color: #337ab7;
  text-decoration: underline;
}

.breadcrumb {
  padding: 0 1.5em 0.05em;
  font-size: 10pt;
  margin-bottom: 10px;
  margin-top: 10px;
}

.box-text {
  padding: 0.8em;
  margin-bottom: 0.8em;
}
.box-border {
  border: 1px solid #e6e6e6;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 2.13675213675214%;
  margin-bottom: 0.9em;
}
.box-border-dotted {
  border-bottom: 1px dashed #cccccc;
  padding-bottom: 1em;
  margin-bottom: 1.4em;
}

p.boder-bottom {
  border-bottom: 1px solid #cccccc;
  padding: 0.5em 0;
  margin-bottom: 1em;
}

h1.arrow {
  background: url(../images/base/h1-arrow.gif) left center no-repeat;
  padding: 0.8em 2.4em;
  font-size: 2em;
  /*color: #fc8618;*/
  margin-bottom: 0.8130081300813%;
  line-height: 1.5em;
}

h2.arrow {
  background: url(../images/base/h2-arrow.gif) left center no-repeat;
  margin-top: 0.5em;
  padding-top: 0.2em;
  padding-left: 1.6em;
  font-size: 1.5em;
  color: #474747;
  line-height: 1.4em;
}
h2.subpage {
  background: url(../images/base/h2-bg.gif) bottom left no-repeat;
  padding-bottom: 0.6em;
  font-size: 1.4em;
  margin-bottom: 1em;
  line-height: 1.5;
}
h3.circle {
  background: url(../images/base/h3-circle.gif) center left no-repeat;
  padding-left: 1.4em;
  font-size: 1.3em;
  margin-bottom: 0.8em;
  margin-top: 0.8em;
}
h4 {
  background-color: #e3e3e3;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 0.4em 0.8em;
  margin-bottom: 0.8em;
}
h4.square {
  border-radius: 0px;
}

.works-wrapp h4 {
  font-size: 1.2em;
}
@media only screen and (max-width: 767px) {
  .works-wrapp h4 {
    font-size: 1em;
  }
}

h5 {
  font-size: 1em;
}
.orange {
  color: #fc8618;
}

.bg-orange,
.bg-green {
  background-color: #ffffd9;
  padding: 0.8em;
  margin-bottom: 0.8em;
  text-align: left;
}
.bg-green {
  background-color: #eefff1;
}
.bg-yellow {
  background-color: #fff5eb;
}

.toggleMenu {
  cursor: default;
}

/* =Header
-----------------------------------------------------------------------------*/
#branding {
  border-bottom: 2px solid #fc8818;
  background: #fff;
  position: fixed;
  top: 0px;
  z-index: 9999;
  width: 100%;
}

#branding2 {
  border-bottom: 2px solid #fc8818;
  background: #fff;
  position: fixed;
  top: 0px;
  z-index: 9999;
  width: 100%;
}

@media only screen and (max-width: 767px) {
  #branding2 {
    position: absolute;
  }
}

#branding > .container {
  margin: 1em auto 0.5em;
}

.lead h1 {
  font-weight: normal;
}

#logo {
  width: 42.68292682926829%;
}
#header-contact {
  width: 55.28455284552846%;
}
.cv-bg {
  background: url(../images/base/cv-bg.gif) top left no-repeat;
  -moz-background-size: 100% auto;
  background-size: 100% 100%;
  position: relative;
  padding: 3.2% 0 3%;
}
.cv-phne {
  width: 51.47058823529412%;
  height: auto;
  margin-left: 14.8%;
}
.cv-mail {
  width: 30.14705882352941%;
  height: auto;
  margin-left: 0.8%;
}
.cv-mail2 {
  width: 45%;
  height: auto;
  margin-left: -2.2%;
  margin-top: 335px;
}
.cv-mail3 {
  width: 45%;
  height: auto;
  margin-left: -1.7%;
  margin-top: 335px;
}
.cv-bg-footer {
  background: url(../images/base/footer-cv.gif) top left no-repeat;
  -moz-background-size: 100% auto;
  background-size: 100% 100%;
  position: relative;
  padding: 3.2% 0 3%;
}

.cv-bg-footer2 {
  background: url(../images/base/otoiawase.png) top left no-repeat;
  -moz-background-size: 100% auto;
  background-size: 100% 100%;
  position: relative;
  padding: 3.2% 0 3%;
  height: 420px;
}

/* =Primary
-----------------------------------------------------------------------------*/
.keyvisual {
  width: auto;
  max-width: 100%;
  height: auto;
  position: relative;
}
.keyvisual .kv-phone {
  width: auto;
  max-width: 31.83060109289617%;

  position: absolute;
  bottom: 21%;
  right: 1.6%;
  background-color: #fff;
}
.keyvisual .kv-mail-contact {
  width: auto;
  max-width: 31.83060109289617%;
  height: auto;
  position: absolute;
  bottom: 5%;
  right: 1.6%;
  background-color: #fff;
}

/* =Nav
-----------------------------------------------------------------------------*/
ul#header-nav li {
  float: left;
  margin-right: 2.5em;
}
ul#header-nav li:last-child {
  margin-right: 0;
}

.open {
  display: none;
  float: left;
  width: 40px;
  height: 30px;
  margin-right: 10px;
  background: url(../images/menu.png) center center no-repeat #333;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  -border-radius: 8px;
  box-shadow: inset 0 0 3px #000;
  text-indent: -999999px;
  border: 0;
}

#pageslide {
  /* These styles MUST be included. Do not change. */
  display: none;
  position: absolute;
  position: fixed;
  top: 0;
  height: 100%;
  z-index: 999999;

  /* Specify the width of your pageslide here */
  width: 260px;
  padding: 0 20px;

  /* These styles are optional, and describe how the pageslide will look */
  background-color: #333;
  color: #fff;
  -webkit-box-shadow: inset 0 0 5px 5px #222;
  -moz-box-shadow: inset 0 0 5px 5px #222;
  box-shadow: inset 0 0 5px 5px #222;
}

.qa-btn,
.blog-btn,
.voice-btn,
.case-btn,
.movie-btn,
.c-btn {
  background-color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-bottom: 0.5em;
}
.gamou-btna {
  margin-bottom: 0.5em;
}
.qa-btn a,
.blog-btn a,
.voice-btn a,
.case-btn a,
.movie-btn a,
.c-btn a {
  color: #4a4a4a;
  padding: 1em;
  padding-left: 3em;
  margin: 0.2em 0 0.2em 0.4em;
  font-size: 1.4em;
  font-weight: bold;
  display: block;
}
.View {
  display: none;
}
.Visible {
  display: block;
}

.case-btn a {
  background: url(../images/base/h1-icon.gif) center left no-repeat;
}
.blog-btn a {
  background: url(../images/base/blog-icon.gif) center left no-repeat;
}
.voice-btn a {
  background: url(../images/base/voice-icon.gif) center left no-repeat;
}
.qa-btn a {
  background: url(../images/base/qa-icon.gif) center left no-repeat;
}
.movie-btn a {
  background: url(../images/base/movie-icon.gif) center left no-repeat;
}
.c-btn a {
  background: url(../images/base/h1cc-icon.png) center left no-repeat;
}

.qa-btn a:hover,
.blog-btn a:hover,
.voice-btn a:hover,
.case-btn a:hover,
.movie-btn a:hover,
.c-btn a:hover {
  color: #13b0ea;
}

.sidenav {
}
.sidenav:before,
.sidenav:after {
  content: " ";
  display: table;
}
.side-third {
  padding: 1em 0;
  background-color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.sidenav h3 {
  text-align: center;
  font-size: 1.4em;
  margin-top: 0.5em;
  color: #4a4a4a;
  line-height: 2em;
}
.sidenav a:hover {
  text-decoration: none;
}
.sidenav li {
  margin-bottom: 0.5em;
  position: relative;
}
ul.child {
  padding: 0 1em;
}
ul.child > li {
  border-bottom: 1px dashed #666666;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}
/*ul.child > li:first-child{ border-bottom: none; padding-bottom: 0; }*/
ul.child > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
ul.child > li > a {
  padding-left: 1.6em;
  color: #666;
}
ul.result-side > li > a {
  background: url(../images/base/result-li.gif) center left no-repeat;
  font-size: 1em;
}
ul.area-side > li > a {
  background: url(../images/base/area-li.gif) center left no-repeat;
  font-size: 1.2em;
}
ul.child > li > a:hover {
  color: #13b0ea;
}

/* =Misc
-----------------------------------------------------------------------------*/

/* =Footer
-----------------------------------------------------------------------------*/

.footer-cv-phne {
  width: 51.47058823529412%;
  height: auto;
  margin-left: 16%;
}

.footer-cv-phne2 {
  width: 51.47058823529412%;
  height: auto;
  margin-left: 5%;
  margin-top: 340px;
}

.footer-cv-phne3 {
  width: 51.47058823529412%;
  height: auto;
  margin-left: 3%;
  margin-top: 340px;
}

.to-top {
  width: 289px;
  height: 36px;
  margin: 2em auto 0;
}

footer {
  background: #666;
}

footer > .container {
  margin: 0 auto;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 1.5em;
}
footer h4 {
  font-size: 1em;
  background: url(../images/base/h4-bg.gif) center left no-repeat;
  padding-left: 1.4em;
  font-weight: normal;
  color: #fff;
}
footer h4:hover {
  color: #fff;
}
footer a:hover {
  text-decoration: none;
}

footer ul ul {
  padding: 0;
}
footer ul ul.child > li {
  padding: 0;
  color: #fff;
  margin-bottom: 0;
}
ul.footer-nav > li > a {
  padding-left: 0;
  color: #fff;
  font-size: 0.8em;
}
.copyright {
  color: white;
  text-align: center;
  margin: 0 0 10px 0;
}

/* #Media Queries
================================================== */

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 984px) {
  .container {
    width: 748px;
    font-size: 90%;
  }

  h2.arrow {
    background: url(../images/base/h2-arrow.gif) left center no-repeat;
    margin-top: 0.5em;
    padding-top: 0.2em;
    padding-left: 2.2em;
    font-size: 1.4em;
    color: #fc8617;
    line-height: 1.4em;
  }
}

@media only screen and (min-width: 768px) {
  /*ul#nav {
			margin: 0 0 0.7em;
			background: #FFF;
			list-style: none;
			-webkit-border-radius: 10px;
			-moz-border-radius: 10px;
			border-radius: 10px;
		}
			ul#nav li{
				margin: 0 1em ;
				padding: 1em 0;
				border-bottom: 1px dashed #CCCCCC;
			}
			ul#nav li:last-child{
				border: none;
			}*/
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 984px) {
}
@media only screen and (min-width: 767px) {
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
  /* =Structure
		-----------------------------------------------------------------------------*/
  .photo {
    display: none;
  }
  .container {
    width: 94%;
    padding: 0;
  }

  .row .fifth,
  .row .sixth,
  .row .twothird,
  .row .twofifth,
  .row .threefifth,
  .row .fourfifth,
  .row .fivesixth,
  .row .threequarter {
    margin-left: 0;
    width: 100%;
  }

  .push-half,
  .push-threequarter,
  .push-quarter,
  .push-third,
  .push-twothird,
  .push-fifth,
  .push-twofifth,
  .push-threefifth,
  .push-fourfifth,
  .push-sixth,
  .push-fivesixth {
    left: 0;
  }

  .row .pull-right {
    float: none;
  }

  .block-two,
  .block-three,
  .block-four,
  .block-five,
  .block-six {
    margin-left: 0;
    margin-bottom: 1.5em;
  }

  .block-two > li,
  .block-three > li,
  .block-four > li,
  .block-five > li,
  .block-six > li {
    float: none;
    margin: 0;
    width: 100%;
  }
  .forms.columnar label {
    float: none;
    text-align: left;
    width: auto;
  }
  .forms.columnar .push,
  .forms.columnar div.descr {
    margin-left: 0;
  }
  .forms .multicolumn li {
    float: none;
    margin-right: 0;
  }
  .forms .multicolumn li.width-50,
  .forms .multicolumn li.width-33 {
    width: 100%;
  }
  .forms.columnar li fieldset,
  .forms.columnar li fieldset section {
    width: 100%;
    padding-left: 0;
    text-align: left;
    position: static;
  }
  .forms fieldset {
    padding: 0;
    padding-top: 1em;
    border: 0;
  }
  .forms fieldset legend {
    padding: 0;
  }

  .box-sub,
  .box-text {
    /*	padding: 1.4em;*/
    /*margin: 8px;*/
  }

  /* =Header
		-----------------------------------------------------------------------------*/
  #opening {
    display: none;
  }
  .kv {
    margin-bottom: 0;
  }
  .pc-kv {
    display: none;
    margin-bottom: 0;
  }
  #contact {
  }

  /* =Nav
		-----------------------------------------------------------------------------*/

  /* glovar */

  h1.slide-menu {
    font-size: 22px;
    line-height: 30px;
    background-color: #fc8617;
    color: #fff;
    padding: 10px;
    margin-bottom: 0.8130081300813%;
  }
  #gnav {
    display: none;
  }

  .open {
    display: block;
  }
  #pageslide {
    width: 32%;
    font-size: 0.78em;
  }
  #pageslide #nav {
    margin: 0;
  }
  #pageslide #nav li {
    padding: 10px 0;
    border-bottom: 1px solid #666;
    list-style: none;
  }
  #pageslide #nav li a {
    color: #fff;
    border: none;
  }
  #pageslide #nav li a:hover {
    text-decoration: underline;
  }

  /* aside */
  .gamou-btna {
    display: none;
  }
  .Visible {
    display: none;
  }
  .View {
    display: block;
  }

  .blog-btn,
  .case-btn,
  .voice-btn,
  .qa-btn,
  .movie-btn,
  .c-btn {
    width: 23%;
    float: left;
    /*margin-top: 1.1914893617021276%;*/
    margin-bottom: 0;
    margin-right: 1.5%;
  }
  .voice-btn {
    float: left;
  }
  .qa-btn {
    float: left;
  }
  .blog-btn a,
  .case-btn a,
  .voice-btn a,
  .qa-btn a,
  .movie-btn a,
  .c-btn a {
    background: none;
    text-align: center;
    padding: 0.3em 0 0.2em;
    margin: 0;
  }

  .sidenav {
    padding: 0;
    border-bottom: none;
    margin: 0;
  }
  .sidenav ul {
    display: block;
    width: 100%;
    list-style: none;
    margin: 0;
  }
  .sidenav ul > li:last-child {
    margin-bottom: 0;
  }
  ul.child {
    padding: 0.5em 0;
  }
  /*ul.child li:first-child{ display: none; }*/
  ul.child li {
    float: left;
    border-bottom: none;
    margin: 0 1em;
  }
  .sidenav ul > li:last-child {
    margin-bottom: 0.5em;
  }
  .side-third {
    width: 49.40425531914894%;
    float: left;
    margin-left: 1.1914893617021276%;
    margin-top: 0.8130081300813%;
    margin-bottom: 0.8130081300813% !important;
    padding: 0;
  }
  .side-third:first-child {
    margin-left: 0;
  }
  .side-third > h3 a {
    font-size: 1em;
  }

  /* =Footer
		-----------------------------------------------------------------------------*/
  .footer-box {
    background-color: #fff;
    padding: 1em 0 0.5em;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin-bottom: 1em;
  }

  footer h4 {
    text-align: center;
    font-size: 1.3em;
    background-image: none;
    padding: 0;
    color: #ea5413;
    font-weight: bold;
  }
  footer h4:hover {
    color: #13b0ea;
  }

  footer h4 a {
    width: 100%;
  }
  footer ul ul.child > li {
    color: #ea5413;
  }
  ul.footer-nav > li > a {
    padding-left: 0;
    color: #ea5413;
    font-size: 1em;
  }
  .footer-logo {
    display: none;
  }

  /* .displya-none-tb{ display: none; } */
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  #side-contact {
    display: none;
  }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
  .row .half,
  .row .third {
    margin-left: 0;
    width: 100%;
  }

  .box {
    margin-bottom: 0.8130081300813%;
  }

  .displya-none-sp {
    display: none;
  }

  /* =Header
		-----------------------------------------------------------------------------*/

  #logo {
    height: auto;
    width: auto;
    max-width: 100%;
    float: none;
    text-align: center;
    margin-bottom: 0.5em;
  }
  #header-contact {
    height: auto;
    width: auto;
    max-width: 100%;
    float: none;
    text-align: center;
  }
  #side-contact {
    display: none;
  }
  .header-contact ul li {
    border: none;
    padding: 0 4px 0;
  }
}

/*
a:visited {
border: dotted 2px;
}
*/
/*20210727 jetpressデータの同期に伴い以下のSCCを追加
/*-------------------------------------------------------*/
.wp-block-group {
  width: 100%;
  margin: 5px auto 10px;
}

.wp-block-group__inner-container {
/*  padding: 0.5em; */
}

.wp-block-image {
  max-width: 100%;
  height: auto;
  margin: 0 auto 1em auto;
}

.wp-block-columns .wp-block-column .wp-block-image {
 margin: 0 auto;
}

.wp-block-image.size-large {
  width: 70%;
}

.wp-block-image.size-medium {
  width: 50%;
}

.wp-block-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto 10px;
}

.wp-block-columns .wp-block-column {
  flex: 1 1 0px;
}

.wp-block-columns .wp-block-column:not(:last-child) {
  margin-right: 2px;
}

.wp-block-columns.before-after .before,
.wp-block-columns.before-after .after {
  margin-right: 0;
}

.wp-block-columns.before-after .before-after-icon {
  flex: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 5px;
}

.wp-block-group .wp-block-group__inner-container .wp-block-table table {
  width: 100%;
}

.wp-block-group.mp-map .wp-block-group__inner-container iframe {
  display: block;
  width: 100%;
}

.wp-block-group .wp-block-group__inner-container ul {
  padding: 0 0 0 1em;
}
.wp-block-group .wp-block-group__inner-container ul li {
  list-style: initial;
}

.wp-block-group .wp-block-group__inner-container h1.wp-heading-1 {
  color: #ff5e00;
  font-size: 20px;
  font-weight: bold;
  vertical-align: middle;
  padding: 0.25em 1em;
  border-bottom: 2px solid #ff5e00;
}

.wp-block-group .wp-block-group__inner-container h2.wp-heading-2 {
  color: #ff5e00;
  font-size: 18px;
  font-weight: bold;
  vertical-align: middle;
  background-color: #fdde89;
  margin-left: auto;
  padding: 0.25em 1em;
}

.wp-block-group .wp-block-group__inner-container h3.wp-heading-3 {
  color: #ff5e00;
  font-size: 16px;
  font-weight: bold;
  vertical-align: middle;
  padding: 0 0 0 1em;
  border-left: 4px solid #ff5e00;
}

.wp-block-group .wp-block-group__inner-container .navigation--wrapper {
  border: #ccc 2px solid;
  padding: 9px;
}
.wp-block-group
  .wp-block-group__inner-container
  .navigation--wrapper
  .navigation
  details
  summary {
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
}

.wp-block-group
  .wp-block-group__inner-container
  .navigation--wrapper
  .navigation
  details
  .navi-str {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}
.wp-block-group
  .wp-block-group__inner-container
  .navigation--wrapper
  .navigation
  details
  .navi-str
  .navi-text {
  font-size: 20pt;
  font-weight: bold;
}
.wp-block-group
  .wp-block-group__inner-container
  .navigation--wrapper
  .navigation
  details
  .navi-str
  .navi-status {
  color: blue;
}
.wp-block-group
  .wp-block-group__inner-container
  .navigation--wrapper
  .navigation
  details
  .navi-str
  .navi-status:hover {
  text-decoration: underline;
}
.wp-block-group
  .wp-block-group__inner-container
  .navigation--wrapper
  .navigation
  details[open]
  .hiding-text {
  display: none;
}
.wp-block-group
  .wp-block-group__inner-container
  .navigation--wrapper
  .navigation
  details:not([open])
  .displaying-text {
  display: none;
}
.wp-block-group
  .wp-block-group__inner-container
  .navigation--wrapper
  .navigation
  details
  .navigation-lists
  .navigation-list
  .navigation-list-link {
  color: blue;
}
.wp-block-group
  .wp-block-group__inner-container
  .navigation--wrapper
  .navigation
  details
  .navigation-lists
  .navigation-list
  .navigation-list-link:hover {
  color: lightblue;
  text-decoration: underline;
}

.wp-block-group .wp-block-group__inner-container figure img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.wp-block-group .wp-block-group__inner-container figure table {
  box-sizing: border-box;
  width: 100%;
}
.wp-block-group .wp-block-group__inner-container figure table tbody tr {
  display: flex;
  width: 100%;
  border-bottom: #8a6a3a 1px solid;
}
.wp-block-group .wp-block-group__inner-container figure table tbody tr td {
  margin: 0.5em 0;
  padding: 0.5em 0.5em 0.5em 1em;
}
.wp-block-group
  .wp-block-group__inner-container
  figure
  table
  tbody
  tr
  td:first-child {
  flex: 0 0 25%;
  border-right: #8a6a3a 1px dotted;
  color: #65441b;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 895px) {
  .wp-block-group .wp-block-group__inner-container .wp-block-columns {
    flex-direction: column;
    align-items: center;
  }
}

.wp-block-group
  .wp-block-group__inner-container
  .wp-block-columns.before-after {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  padding: 3em 0 0 0;
}
.wp-block-group
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.before {
  flex: 1 1 35%;
  box-sizing: border-box;
}
.wp-block-group
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.before
  figure {
  position: relative;
}
.wp-block-group
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.before
  figure:before {
  content: "";
  position: absolute;
  top: -4em;
  left: 0;
  width: 100%;
  height: 3.5em;
  background-image: url(/wp-content/themes/ya-store/images/before1.png);
  background-size: auto 3.5em;
  background-repeat: no-repeat;
  background-position: top left;
}
.wp-block-group
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.before:after {
  content: "";
  display: block;
  clear: both;
}
.wp-block-group
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.after {
  box-sizing: border-box;
  flex: 1 1 45%;
}
.wp-block-group
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.after
  figure {
  position: relative;
}
.wp-block-group
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.after
  figure:before {
  content: "";
  position: absolute;
  top: -4em;
  left: 0;
  width: 100%;
  height: 3.5em;
  background-image: url(/wp-content/themes/ya-store/images/after1.png);
  background-size: auto 3.5em;
  background-repeat: no-repeat;
  background-position: top left;
}
.wp-block-group
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.before-after-icon {
  box-sizing: border-box;
  flex: 1 1 10%;
  margin: 15% 5px auto 5px;
}
@media screen and (max-width: 895px) {
  .wp-block-group
    .wp-block-group__inner-container
    .wp-block-columns.before-after
    .wp-block-column.before-after-icon {
    margin: 0 auto 0.4em;
    transform: rotate(90deg);
  }
}
.wp-block-group.vertical {
  width: 100%;
}
.wp-block-group.vertical
  .wp-block-group__inner-container
  .wp-block-columns.before-after {
  flex-direction: column;
}
@media screen and (max-width: 895px) {
  .wp-block-group.vertical
    .wp-block-group__inner-container
    .wp-block-columns.before-after
    .wp-block-column.before {
    display: flex;
    flex-direction: column;
  }
}
.wp-block-group.vertical
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.before
  figure.wp-block-image.size-full {
  width: 50%;
  float: left;
}
@media screen and (max-width: 895px) {
  .wp-block-group.vertical
    .wp-block-group__inner-container
    .wp-block-columns.before-after
    .wp-block-column.before
    figure.wp-block-image.size-full {
    width: 100%;
  }
}
.wp-block-group.vertical
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.before
  div {
  width: 50%;
  float: right;
  padding: 0 0 0 1em;
  box-sizing: border-box;
}
@media screen and (max-width: 895px) {
  .wp-block-group.vertical
    .wp-block-group__inner-container
    .wp-block-columns.before-after
    .wp-block-column.before
    div {
    width: 100%;
  }
}
.wp-block-group.vertical
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.before
  div
  div {
  width: auto;
  float: none;
  padding: 0;
}
.wp-block-group.vertical
  .wp-block-group__inner-container
  .wp-block-columns.before-after
  .wp-block-column.before-after-icon {
  display: block;
  margin: 0 auto 1em auto;
  transform: rotate(90deg);
}

.bread-crumbs-wrapper .bread-crumbs li {
  display: inline;
  margin: 0 0 0 0.25em;
}
.bread-crumbs-wrapper .bread-crumbs li:nth-child(n + 2):before {
  content: "> ";
}
.bread-crumbs-wrapper .bread-crumbs li a:hover {
  color: #ff5e00;
}

.aline a {
  color: #337ab7;
  text-decoration: underline;
}
.box-sub a :not(.contact-btn){
  color: #337ab7 !important;
  text-decoration: underline;
}
