/* #region common */

.pconly {
  display: block !important;
}
.sponly {
  display: none !important;
}
.flex {
  display: flex;
}
.left {
  float: left;
}
.right {
  float: right;
}
.clear {
  clear: both;
}
.footerContact {
  display: none;
}
.txt-right {
  text-align: right !important;
}
.btn_more a {
  background-color: #006b97 !important;
}
.btn_more a:after,
.btn_access a:after {
  content: "\f0da" !important;
}
.mt20 {
  margin-top: 20px !important;
}
.mb20 {
  margin-bottom: 20px !important;
}
.pr20 {
  padding-right: 20px !important;
}
.pl20 {
  padding-left: 20px !important;
}
.bg_black {
  background-color: #000 !important;
}
.bg_green {
  background-color: #6ba444 !important;
}
.bg_yellow {
  background-color: #ca9e48 !important;
}
.bg_purple {
  background-color: #a98dc0 !important;
}
.bg_blue {
  background-color: #a98dc0 !important;
}
.bg_red {
  background-color: #c75f4b !important;
}
.bg_lightblue {
  background-color: #65c1d2 !important;
}
.bg_gray {
  background-color: #6f6f6f !important;
}
.bg_beige {
  background-color: #f7f3e8 !important;
}
.arrow-down {
  height: 2em;
  background-image: url("images/arrow-down.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.txt_blue {
  color: #006b97 !important;
}
.full {
  width: 100%;
}
.half {
  width: 50%;
}

.navigation-top {
  margin-top: 0.5em;
}
.site-content {
  padding: 12em 0 0 !important;
}
.main-navigation a {
  padding: 0rem 1rem 1rem 1rem !important;
}
.site-logo {
  padding: 2rem 0 0 1rem !important;
}
.headertool ul {
  overflow: hidden;
  margin: 1em 0 0 0;
}
.headertool ul li.noicon a:before {
  content: none !important;
}
.headertool ul li a {
  height: 100%;
  display: block;
  line-height: 3em;
}
.navigation-top {
  border: none !important;
}

.wrap_header {
  position: relative;
}
.wrap_header div.bg_header {
  height: 190px;
  background-color: #dcf5fd;
}
.wrap_header header.entry-header,
.wrap_header header.blog-header {
  position: absolute;
  width: 80%;
  top: -1.5em;
  left: 10%;
  border-radius: 2em;
}
#breadcrumb_list {
  background-color: #dcf5fd;
}
/* #endregion */

/* #region 0-1.sidebar */

/*
===========================================================
sidebar
===========================================================
*/
div.sidebar {
  border: 1px solid #006b97;
  margin: 1em 0em;
}
div.sidebar ul {
  padding: 0px 2em;
  margin: 1em 0em;
}
div.sidebar li {
  position: relative;
  padding: 0em 0.3em 0em 1.3em;
  list-style: none;
  margin: 0.5em 0;
}
div.sidebar li:before {
  position: absolute;
  content: "";
  top: 0.3em;
  left: 0.2em;
  height: 0;
  width: 0;
  border-style: solid;
  border-width: 6px 0 6px 9px;
}
div.sidebar.personal {
  border: 1px solid #006b97;
}
div.sidebar.personal li:before {
  border-color: transparent transparent transparent #006b97;
}
div.sidebar.company {
  border: 1px solid #b1974e;
}
div.sidebar.company li:before {
  border-color: transparent transparent transparent #b1974e;
}
div.sidebar.common {
  border: 2px solid #ccc;
}
div.sidebar.common li:before {
  border-color: transparent transparent transparent #555;
}
div.sidebar.newslist {
  background-color: #f5f5f5;
}
div.sidebar.newslist h4 {
  width: 100%;
  padding: 0.5em 0.5em 0.5em 1em;
  background-color: #006b97;
  color: #fff;
}
div.sidebar.newslist hr {
  margin: 0 5% 0 5%;
  width: 90%;
}
div.sidebar.newslist div {
  width: 100%;
  padding: 0.25em 0.5em 0.25em 1em;
}
div.sidebar.newslist div.listtop {
  padding: 1em;
  text-align: center;
}
div.sidebar.newslist {
  background-color: #f5f5f5;
}
div.sidebar.archivelist h4 {
  width: 100%;
  padding: 0.5em 0.5em 0.5em 1em;
  margin: 0;
}
div.sidebar.archivelist hr {
  margin: 0 5% 0 5%;
  width: 90%;
}
div.sidebar.archivelist ul {
  padding-left: 1em;
}
div.sidebar.archivelist ul li {
  padding: 0;
}
div.sidebar.archivelist ul li:before {
  content: none;
}

/* #endregion */

/* #region 1.top */

/*
===========================================================
top
===========================================================
*/

/*
1.mainMv
-----------------------------------------------------------
*/
#mainMv {
  background-color: #dcf5fd;
  margin-bottom: 25px;
  max-width: 100%;
  text-align: center;
}
#mainMv > figure {
  overflow: initial;
}
#mainMv img {
  margin-top: -25px;
}

/*
2.guestMenu
-----------------------------------------------------------
*/

.guestMenu {
  /* padding-top: 7.5rem; */
}

.guestMenu ul li {
  display: inline-block;
}
.guestMenu ul li a {
  color: #fff;
  margin: 1rem 0 1rem;
}
.guestMenu ul li a img {
  box-shadow: 0px 5px 0px 0px rgb(30 143 198);
  -webkit-box-shadow: 0px 5px 0px 0px rgb(30 143 198);
  -moz-box-shadow: 0px 5px 0px 0px rgba(30, 143, 198, 1);
  border-radius: 5px;
}


@media screen and (max-width:46em){
  .guestMenu ul li {
    display: block;
    margin:0 auto;
  }
}

/*
3.guest
-----------------------------------------------------------
*/

section.guest {
  background-position: center center;
}
section.guest p {
  width: 50%;
}
section.guest p.btn_more {
  width: 100%;
}

@media screen and (min-width:46em){
#indexPrimary .guest h2 {
  text-align: left;
  }
}
/*
4.cvArea
-----------------------------------------------------------
*/
section.cvArea {
  background-color: #013348;
  color: #fff;
}
section.cvArea .cv_ftel,
section.cvArea .cv_mail {
  /* height: 3em; */
}
section.cvArea .cvArea_cap {
  background-color: #013348;
}
section.cvArea .cvArea_cap ul {
  margin: 0 0 2em;
}
section.cvArea .cvArea_cap span {
  color: orange;
}
.btn_mail a,
.btn_tel a {
  background-color: #b1974e;
  box-shadow: 0px 7px 0px -3px rgba(140, 115, 54, 1);
  -webkit-box-shadow: 0px 7px 0px -3px rgba(140, 115, 54, 1);
  -moz-box-shadow: 0px 7px 0px -3px rgba(140, 115, 54, 1);
}

/*
5.idxprofile
-----------------------------------------------------------
*/
section.idxprofile {
  background: url("images/bg_idxprofile.png") repeat;
}
section.idxprofile img,
section.idxprofile p.btn_more {
  width: 45%;
  float: right;
}
section.idxprofile p,
section.idxprofile dl {
  width: 50%;
  float: left;
}
section.idxprofile dl {
  background-color: #fff;
}
section.idxprofile dl {
  border: 1px solid #a3a3a3;
  padding: 1em;
}
section.idxprofile dl dt {
  width: 30%;
  float: left;
  font-size: 1em;
  border: none;
  margin: 0;
  padding: 0;
  color: #000;
}
section.idxprofile dl dd {
  width: 70%;
  float: left;
  font-size: 1em;
  border: none;
  margin: 0;
  padding: 0;
}

/*
6.idxnews
-----------------------------------------------------------
*/
section.idxnews p,
section.idxnews dl {
  width: 100%;
  margin: 0 auto;
}
section.idxnews dl {
  padding: 1em;
}
section.idxnews dl dt,
section.idxnews dl dd {
  float: left;
  font-size: 1em;
  border: none;
  margin: 0.5em 0;
  padding: 0;
}
section.idxnews dl dd {
  width: 80%;
  text-indent: 1em;
}
section.idxnews dt {
  width: 20%;
  background-color: #d0eef8;
  border-radius: 20px;
  padding: 0 0.5em;
  text-align: center;
}

/*
7.idxpurpose
-----------------------------------------------------------
*/
section.idxpurpose {
  background-color: #f5f5f5;
}
/* section.idxpurpose div.personal,
section.idxpurpose div.company {
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 8.25em;
  margin: 0.5em 0;
}
section.idxpurpose div.personal {
  background-image: url(images/idx_purpose_1.png);
}
section.idxpurpose div.company {
  background-image: url(images/idx_purpose_2.png);
}
section.idxpurpose div.personal a,
section.idxpurpose div.company a {
  display: flex;
}
section.idxpurpose div.personal img,
section.idxpurpose div.company img {
  width: 230px;
  height: 105px;
  margin-right: 0.5em;
} */
section.idxpurpose .wrap{
  display: flex;
  justify-content: space-between;
}
section.idxpurpose .personal,
section.idxpurpose .company{
  width: 48%;
  border:1px solid #ddd;
  padding:1.5em 20px;
}
section.idxpurpose .personal{
  background-color: #559BAA;
}
section.idxpurpose .company{
  background-color:#2D559B;
}
#indexPrimary section.idxpurpose .personal h3,
#indexPrimary section.idxpurpose .company h3{
  color:#fff;
  font-weight: 600;
  font-size: 28px;
  margin-bottom:5px;
}
section.idxpurpose .personal .subtxt,
section.idxpurpose .company .subtxt{
  font-size:0.9em;
  text-align: center;
  color:#fff;
  border-bottom: 3px solid;
  padding-bottom:1em;
}
section.idxpurpose .idxpurpose_inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
section.idxpurpose .idxpurpose_cnt{
  width: 47%;
  height: 206px;
  padding:10px 10px 20px;
  margin:10px 5px;
  border-radius: 10px;
  position: relative;
  background:#fff;
}
section.idxpurpose .idxpurpose_cnt.pglink:hover{
  opacity: 0.8;
  transition: 0.2s ease-in-out;
}
section.idxpurpose .idxpurpose_cnt img{
  display: block;
  margin:0 auto 10px;
}
#indexPrimary section.idxpurpose .idxpurpose_cnt h4{
  text-align: center;
  margin:0 auto 5px;
  font-weight: 600;
}
section.idxpurpose .personal h4{
  color:#559BAA;
}
section.idxpurpose .company h4{
  color:#2D559B;
}
section.idxpurpose .idxpurpose_cnt p{
  font-size: 0.8em;
  margin-bottom:0;
}
section.idxpurpose button{
  width: 80%;
  display: block;
  margin:1em auto 0;
  text-align: center;
  border-radius: 22px;
  background:#fff;
  padding:0
}
section.idxpurpose button a{
  display: inline-block;
  width: 100%;
  padding:10px;
}
section.idxpurpose button:hover{
  opacity: 0.8;
  transition: 0.2s ease-in-out;
}
section.idxpurpose .personal button a{
  color:#559BAA;
}
section.idxpurpose .company button a{
  color:#2D559B;
}
section .idxpurpose_cnt.pglink {
  position: relative;
}
section .idxpurpose_cnt.pglink:before{
  position: absolute;
  content:"";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 15px;
  bottom: 10px;
  right: 10px;
}
section .personal .idxpurpose_cnt.pglink:before{
  border-color: transparent transparent transparent #559BAA;
}
section .company .idxpurpose_cnt.pglink:before{
  border-color: transparent transparent transparent #055aba;
}
@media screen and (max-width:768px){
  section.idxpurpose .wrap{
    display: block;
    padding:0.5em 0 0 !important;
  }
  section.idxpurpose .personal,
  section.idxpurpose .company{
    width: 100%;
    padding:1.5em 10px;
  }
  section.idxpurpose .company{
    margin:30px 0;
  }
  #indexPrimary section.idxpurpose .personal h3,
  #indexPrimary section.idxpurpose .company h3{
    font-size: 24px;
  }
  section.idxpurpose .idxpurpose_cnt{
    width: 46%;
    margin:5px;
    height: auto;
    padding:10px 10px 15px;
  }
  section .idxpurpose_cnt.pglink:before{
    border-width: 5px 0 5px 8px;
  }
  #indexPrimary section.idxpurpose .idxpurpose_cnt h4{
    font-size: 1.1em;
  }
  section.idxpurpose .idxpurpose_cnt img{
    width: 50px;
    height: auto;
    margin:0 auto;
  }
  section.idxpurpose button{
    width: 100%;
  }
}
/*
8.idxresult
-----------------------------------------------------------
*/
section.idxresult {
  background-color: #fff;
}
section.idxresult p,
section.idxresult dl {
  width: 100%;
  margin: 0 auto;
}
section.idxresult dl {
  padding: 1em;
}
section.idxresult dl dt,
section.idxresult dl dd {
  float: left;
  font-size: 1em;
  border: none;
  margin: 0.5em 0;
  padding: 0;
}
section.idxresult dl dd {
  width: 90%;
  text-indent: 1em;
}
section.idxresult dt {
  width: 10%;
  padding: 0 0.5em;
  text-align: center;
  color: #fff;
}
section.idxresult dt.cat1 {
  background-color: #a98dc0;
}
section.idxresult dt.cat2 {
  background-color: #ca9e48;
}
section.idxresult dt.cat3 {
  background-color: #6ba444;
}

section.idxresult .sub_heading {
}
section.idxresult .sub_heading.black {
  background-color: #000;
}
section.idxresult .sub_heading.green {
  background-color: #6ba444;
}
section.idxresult .sub_heading.yellow {
  background-color: #ca9e48;
}
section.idxresult .sub_heading.purple {
  background-color: #a98dc0;
}
section.idxresult .sub_heading.blue {
  background-color: #a98dc0;
}
section.idxresult .sub_heading.red {
  background-color: #c75f4b;
}
section.idxresult .sub_heading.lightblue {
  background-color: #65c1d2;
}
section.idxresult .sub_heading.gray {
  background-color: #6f6f6f;
}

section.idxresult .flex > div.sub_heading {
}

/*
9.aboutus
-----------------------------------------------------------
*/
section.aboutus {
  background: url("images/aboutus.jpg") no-repeat;
  background-color: #fff;
}
section.aboutus .office_map {
  width: 46%;
  margin: 0 2%;
}
section.aboutus .about_info {
  width: 46%;
  margin: 0 2%;
}
section.aboutus .about_info h2 {
  text-align: left !important;
}
section.aboutus .about_info dl {
  width: 100%;
}
section.aboutus .about_info dt {
  width: 20%;
  color: #006b97;
}
section.aboutus .about_info dd {
  width: 80%;
  margin-left: 20%;
}

section.aboutus .wrap {
  background-color: #f7fdff;
}

/*
10.idxqa
-----------------------------------------------------------
*/
section.idxqa dl.accordion{
  margin:0;
}
section.idxqa dl.accordion dt{
  font-size: 16px;
  margin:0;
}
section.idxqa dl.accordion dd{
  padding:20px 20px 20px 90px;
}
section.idxqa .btn_more{
  margin-top:50px;
}
@media screen and (max-width:768px){
  section.idxqa .btn_more{
    margin-top:30px;
  }
}

/*
11.cvArea second
-----------------------------------------------------------
*/
section.cvArea.second {
  background: url("images/bg_cvArea_second.jpg") no-repeat;
  background-size: cover;
}

section.cvArea.second .cvArea_merit {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
section.cvArea.second .cvArea_merit > div {
  border: 1px solid #fff;
  width: 15em;
  padding: 0.5em 1em;
  text-align: center;
}
section.cvArea.second .cvArea_merit > div a {
  color: #fff;
}

/* #endregion */

/* #region 1.top > A.footer */

/*
A.footer
-----------------------------------------------------------
*/
footer.site-footer {
  margin: 0;
  padding: 0;
}
footer.site-footer hr {
  max-width: 1024px;
}
.site-info {
  background-color: #8e8e8e;
  color: #fff;
  margin-top: 1em;
  padding: 0;
}
/* #endregion */

/* #region 1.top > B.header */

/*
B.header
-----------------------------------------------------------
*/
header .navigation-top {
  margin-top: 0;
}

/* #endregion */

/* #region Second Page */
/*
===========================================================
Second Page
===========================================================
*/
#page .entry-header,
#page .blog-header {
  background-image: url("images/header_bg.png") !important;
  padding: 4.5rem 15px 15px 15px;
}
#page .entry-content h2 {
  margin: 1em 0;
  border-top: 3px solid #006b97;
  font-size: 32px;
  border-bottom: 1px solid;
  padding: 0.75em 0.5em;
}
#page .entry-content h2:first-letter {
  font-size: 1em;
  color: #000;
}

#page .entry-content h3 {
  margin: 1em 0;
  background-color: #dcf5fd;
  border: none;
  border-radius: 0.5em;
  padding: 0.25em 0.5em;
  font-weight: bold;
}

#page .entry-content h4 {
  border-bottom: 1px solid;
  padding-left: 0.5em;
  border-left: 6px solid #006b97;
  margin: 1em 0;
}

#page .entry-content h5 {
  padding: 0.5em 1em;
  border-top: dotted 1px #555;
  margin: 0.5em 2em;
  border-bottom: dotted 1px #555;
  color: #006b97;
  font-weight: bold;
  letter-spacing: 1px;
}

#page .entry-content h6 {
  padding: 0.5em 1em;
  margin: 0.5em 2em;
  color: #bba464;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 1.25rem !important;
}

#page .entry-content table caption {
  text-align: left;
  margin: 0.5em 0;
}
#page .entry-content table tr {
  text-align: center;
}
#page .entry-content table tr:nth-child(odd) {
  background-color: #ebf6f9 !important;
}
#page .entry-content table tr th {
  background-color: #006b97;
  border: 1px solid #555;
  color: #fff;
  width: 20%;
}
#page .entry-content table tr td {
  border: 1px solid #555;
}
#page .entry-content table.vertical {
}
#page .entry-content table.vertical tr th {
  background-color: #ebf6f9;
  border: 1px solid #b5b5b5;
  color: #000;
}
#page .entry-content table.vertical tr td {
  background-color: #fff;
  border: 1px solid #b5b5b5;
  color: #000;
}

#page .entry-content div.acv-case {
}
#page .entry-content div.acv-case > ul > li {
  list-style-image: none !important;
}
#page .entry-content div.acv-case a {
  color: #fff;
}

#page .entry-content .link-more a {
  background-color: #006b97;
}

#page .entry-content p.post-date {
  background-color: #d0eef8;
  border-radius: 1em;
  width: 7em;
  text-align: center;
}

#page .entry-content .caselist_wrap div.flex {
  width: 20em;
}
#page .entry-content .caselist_wrap p.post-date {
  background: none;
}
#page .entry-content .caselist_wrap h2 {
  border: none;
  /*text-decoration: underline;*/
  font-size: 24px;
  padding-left: 0;
}

/* #page .entry-content dl dt{
    float: left;
    font-size: 1em;
    width: 25%;
    color: #006b97;
}
#page .entry-content dl dd{
  float: left;
  width: 75%;
} */

section.idxqa.second div.container > div {
  width: 100%;
  overflow: hidden;
}
section.idxqa.second div.container > div p {
  margin: 0 0 0.75em 0;
}
section.idxqa.second div.container .answer,
section.idxqa.second div.container hr {
  transition: 1s;
}
.toggle-wrap .toggle-content,
.toggle-wrap > input[type="checkbox"] {
  display: none;
}

.toggle-wrap > input[type="checkbox"]:checked ~ .toggle-content {
  display: block;
}

.toggle-wrap label {
  display: inline;
  margin-bottom: 0;
  font-weight: normal;
}

.toggle.right {
  text-indent: 0;
  padding: 0;
  margin: 0;
  width: 2em;
  height: 2em;
  text-align: center;
  background-color: #333;
  border-radius: 5px;
  margin: 0.75em 0 0 0 !important;
}
.toggle.right label {
  padding: 0;
  margin: 0;
  color: #fff;
  height: 100%;
  width: 100%;
  font-size: 1em;
  line-height: 2em;
}

#page .entry-content dl.form {
  background-color: #fff !important;
}
#page .entry-content form dt {
  color: #000;
}
#page .entry-content form input[type="text"],
#page .entry-content form input[type="email"],
#page .entry-content form input[type="tel"],
#page .entry-content form select {
  color: #000;
  background-color: #ebf6f9;
}
#page .entry-content form p {
  overflow: unset;
}
#page .entry-content form input[type="submit"] {
  border: none;
  display: inline-block;
  width: calc(100% / 4);
  position: relative;
  background-color: #006b97;
  border-radius: 14px;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0px 5px 0px 0px rgba(30, 143, 198, 1);
  -webkit-box-shadow: 0px 5px 0px 0px rgba(0, 81, 104, 1);
  -moz-box-shadow: 0px 5px 0px 0px rgba(30, 143, 198, 1);
}

#page .entry-content div.box_border {
  border: 1px solid #006b97;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: #fff;
  border-radius: 0.5em;
}
#page .entry-content div.box_border.filled {
  border: 1px dotted #eee;
  background-color: #dcf5fd;
}

#page .entry-content ul li {
  list-style-image: url("images/marker_dot.png");
}
#page .entry-content ul.checkbox li {
  list-style-image: url("images/marker_check.png");
}

#page .entry-content div.sub_heading {
  background-color: #006b97;
  padding: 0.5em 4em;
  color: #fff;
  display: inline;
}
#page .entry-content div.sub_heading.black {
  background-color: #000;
}
#page .entry-content div.sub_heading.green {
  background-color: #6ba444;
}
#page .entry-content div.sub_heading.yellow {
  background-color: #ca9e48;
}
#page .entry-content div.sub_heading.purple {
  background-color: #a98dc0;
}
#page .entry-content div.sub_heading.blue {
  background-color: #a98dc0;
}
#page .entry-content div.sub_heading.red {
  background-color: #c75f4b;
}
#page .entry-content div.sub_heading.lightblue {
  background-color: #65c1d2;
}
#page .entry-content div.sub_heading.gray {
  background-color: #6f6f6f;
}

#page .entry-content div.flex > div.sub_heading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
#page .entry-content div.flex > p {
  flex: 5;
  margin: 0 1em;
  display: flex;
  align-items: center;
}

#page .entry-content div.flex {
  margin: 1em 0;
}

#page .entry-content div.layered_area img {
  margin: 0 0 0 -1em;
}
#page .entry-content div.layered_area div.box_border.filled {
  margin: -3em 0 0 1em;
}

#page .entry-content div#bengoshi_message_bottom{
    background-image: url(images/profile_message_bottom.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-color: unset;
    border: 2px solid #006b97;
}
#page .entry-content div#bengoshi_message_bottom p{
    padding: 6em 1em 1em 0em;
    width: 29em;
    font-size: 0.9em;
    line-height: 1.5em;
}

/* #endregion */

/* #region Footer */
/*
===========================================================
Footer
===========================================================
*/
section.cvArea.second {
  padding: 2.5rem 0;
  overflow: hidden;
  font-family: 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN",
    HG明朝E, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: 400;
}
section.cvArea.second .wrap {
  max-width: 1024px;
  overflow: hidden;
}
section.cvArea.second .wrap h2 {
  text-align: center;
  font-size: 1.6rem;
}
/* #endregion */

/* #region Blog Page */
/*
===========================================================
Blog Page
===========================================================
*/

.prev a,
.listtop a,
.next a {
  border: none !important;
  padding: 0.5rem 1rem;
  background-color: #4c4c4c;
  color: #fff;
  border-radius: 2em;
}
/* #endregion */

/* #region 404 */
/*
===========================================================
404
===========================================================
*/

#primary .page-content.page404 {
  float: right !important;
  width: 730px !important;
}
/* #endregion */

/* #region wp-pagenavi */
/*
===========================================================
wp-pagenavi
===========================================================
*/
.wp-pagenavi {
  clear: both;
  text-align: center;
  margin-bottom: 2em;
}
.wp-pagenavi a,
.wp-pagenavi span {
  color: #777;
  background-color: #ededed;
  border: 1px solid #dcdcdc;
  padding: 8px 15px;
  margin: 0 2px;
  white-space: nowrap;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
}
.wp-pagenavi a:hover {
  color: #006b97;
  background-color: #dfdfdf;
}
.wp-pagenavi span.current {
  color: #fff;
  background-color: #006b97;
  border-color: #006b97;
  font-weight: bold;
}
/* #endregion */

/* #region SmartPhone */
/*
*
* SP
*
*
*
*
*/

@media screen and (max-width: 480px) {
  .pconly {
    display: none !important;
  }
  .sponly {
    display: block !important;
  }
  .flex-flow-column-sponly {
    flex-flow: column;
    margin: 0 !important;
  }
  .flex-flow-column-sponly p.btn_more {
    margin: 0 0 0.5em 0 !important;
  }
  .full-sponly {
    width: 100% !important;
  }

  .guestMenu ul li img {
    top: -5em;
  }

  section.guest {
    background-image: url(images/sp_guest_big02.jpg);
    background-position: 100% 0;
  }
  section.guest p {
    width: 100%;
  }
  section.guest p.btn_more {
    width: 100%;
    margin-left: 0;
  }

  /*
    5.idxprofile
    -----------------------------------------------------------
    */
  section.idxprofile img,
  section.idxprofile p.btn_more,
  section.idxprofile p,
  section.idxprofile dl {
    width: 100%;
    float: none;
  }

  /*
    6.idxnews
    -----------------------------------------------------------
    */
  section.idxnews dl {
    padding: 0;
  }
  section.idxnews dl dt,
  section.idxnews dl dd {
    float: none !important;
  }
  section.idxnews dl dt {
    width: 7em;
  }
  section.idxnews dl dd {
    width: 100%;
    text-indent: 0;
  }

  /*
    7.idxpurpose
    -----------------------------------------------------------
    */
  /* section.idxpurpose {
  }
  section.idxpurpose div.personal,
  section.idxpurpose div.company {
    display: block;
    overflow: auto;
    height: auto;
    background-size: cover;
  }
  section.idxpurpose div.personal {
    background-image: url(images/idx_purpose_1_sp.jpg);
  }
  section.idxpurpose div.company {
    background-image: url(images/idx_purpose2_sp.jpg);
  }
  section.idxpurpose div.personal img,
  section.idxpurpose div.company img {
    width: 100%;
    height: auto;
    padding: 3px 1em;
  }
  section.idxpurpose div.personal img.dummy,
  section.idxpurpose div.company img.dummy {
    visibility: hidden;
  }
  section.idxpurpose div.personal a,
  section.idxpurpose div.company a {
    display: inline;
  } */
  /*
    8.idxresult
    -----------------------------------------------------------
    */
  section.idxresult .sub_heading {
    width: 5em;
  }
  section.idxresult dl {
    padding: 0;
  }
  section.idxresult dl dd {
    width: 70%;
    text-indent: 0em;
    padding-left: 1em;
  }
  /*
    9.aboutus
    -----------------------------------------------------------
    */
  section.aboutus {
    background-size: cover;
  }
  section.aboutus .office_map {
    width: 100%;
    float: none;
    margin: 0;
  }
  section.aboutus .about_info {
    width: 100%;
    float: none;
    margin: 0;
  }
  section.aboutus .about_info h2 {
  }
  section.aboutus .about_info dl {
  }
  section.aboutus .about_info dt {
  }
  section.aboutus .about_info dd {
  }

  section.aboutus .wrap {
    background-color: #f7fdff;
  }

  /*
    10.idxqa
    -----------------------------------------------------------
    */
  section.idxqa div.container > div {
    border: 1px solid #b6b6b6;
    border-radius: 10px;
    width: 100%;
    height: 12em;
    padding: 0.5em 1em;
  }
  section.idxqa div.container > div {
    height: 15em;
  }

  /*
    11.cvArea second
    -----------------------------------------------------------
    */
  section.cvArea.second .cvArea_merit {
    flex-direction: column;
  }
  section.cvArea.second .cvArea_merit > div {
    width: 100%;
    margin: 0.5em 0;
  }

  /*
    A.footer
    -----------------------------------------------------------
    */
  section.cvArea.second {
    padding: 1rem;
  }
  section.cvArea.second .wrap {
    padding: 0.5em 0.8rem 0;
  }

  /*
    Z.menu
    */
  #sp_overlay_wrap .sp_overlay_inr {
    background-color: #073a4f !important;
    color: #fff !important;
    padding: 0 !important;
    height: 100%;
  }
  .sp_overlay_inr .site-logo {
    background-color: #fff !important;
    padding: 0.4em 1em !important;
  }
  .sp_overlay_inr ul li a:before {
    content: "\f0da " !important;
    color: #fff !important;
  }

  #sp_menu_wrap {
    padding: 0 !important;
  }
  #sp_menu_wrap .accbox .label1 {
    background-color: #006b97 !important;
    border: 1px solid #fff !important;
  }
  #sp_menu_wrap .accbox .label2 {
    background-color: #b1974e !important;
    border: 1px solid #fff !important;
  }
  #sp_menu_wrap .sp_menu01 li a,
  #sp_menu_wrap .sp_menu02 li a,
  #sp_menu_wrap .sp_menu03 li a,
  #sp_menu_wrap .accshow a {
    color: #fff !important;
  }
  #sp_btn {
    background-color: #006b97 !important;
    color: #fff !important;
    background-position: top 8px left 11px !important;
  }
  #sp_close {
    background-color: #006b97 !important;
    color: #fff !important;
    background-position: top 5px left 12px;
  }
  #sp_menu_wrap > div.home {
    height: 2.5em;
    text-align: center;
    padding: 0.5em;
    color: #fff !important;
  }
  #sp_menu_wrap > div.home:before {
    content: "\f015";
    font-family: "FontAwesome";
    padding-left: 1rem;
  }
  #sp_menu_wrap > div.home a {
    color: #fff !important;
  }
/* #endregion */

/* #region SmartPhone > Secound Page */
/*
===========================================================
Second Page
===========================================================
*/
  .site-logo {
    padding: 0rem 0 0 1rem !important;
  }
  .site-content {
    padding: 6em 0 0 !important;
  }
  #page .blog-header,
  #page .entry-header {
    padding: 2rem 15px 15px 15px;
    width: 95%;
    left: 2.5%;
  }
  .wrap_header div.bg_header {
    height: 110px;
  }
  .blog-header .entry-title{
    letter-spacing:0 !important;
    font-size: 1.4rem !important;
  }
  section.idxqa.second div.container div {
    height: auto;
  }

  #page .entry-content div.sub_heading {
    padding: 0.5em 2em;
  }

  #page .entry-content form input[type="submit"] {
    width: calc(100% / 2);
  }
  #page .entry-content .link-more a {
    padding: 0.5em 2em 0.5em 2em;
  }
  .acv-case {
    margin: 0;
  }
  .acv-case ul li {
    width: 8em;
    font-size: 0.5em;
    font-weight: bold;
    margin: 0.25em;
  }
  #page .entry-content .bloglist_wrap,
  .caselist_wrap {
    width: 100%;
    padding-top: 1em;
  }
  #page .entry-content .caselist_wrap h2 {
    margin: 0;
    padding: 0;
  }
  #page .entry-content .caselist_wrap div.flex {
    width: 10em;
    padding: 0;
    margin: 0;
  }
  #page .entry-content .caselist_wrap div.flex .post-date {
    margin: 0;
  }
  p.post-date {
    text-align: left !important;
  }
  #page .entry-content .caselist_wrap p.post-date.filled {
    background-color: #d0eef8;
    border-radius: 1em;
    width: 7em;
    text-align: center !important;
    margin: 0.5em 0;
    height: auto;
  }
  #page .entry-content p.post-date {
    background-color: #d0eef8;
    border-radius: 1em;
    width: 7em;
    text-align: center !important;
    height: 2em;
    margin-top: 6.7em;
  }
  #page .entry-content .caselist_wrap div.flex .sub_heading {
    display: inline-block;
    padding: 0.25em 1em;
    text-align: center;
    width: 8em;
    font-size: 0.5em;
    font-weight: bold;
  }
  .wrap_header .blog-header {
    min-height: 130px;
  }

  #page .entry-content div#bengoshi_message_bottom{
      background-image: url(images/profile_bottom_sp.png);
      background-size: contain;
      background-repeat: no-repeat;
      background-color: unset;
  }
  #page .entry-content div#bengoshi_message_bottom p{
    width: 20em;
    padding: 19em 0em 0em 0;
  }

  #page .entry-content div.layered_area img {
    margin: 0;
  }
  #page .entry-content div.layered_area div.box_border.filled {
    margin: -5em 0 0 -1em;
    width: 100vw;
    padding-top: 5em;
  }

}
/* #endregion */

/* #region SmartPhone2 */
@media screen and (min-width: 48em) {
  .has-sidebar #secondary {
    float: left !important;
    margin-right: 2em;
  }
  .blog_content #primary .entry-content {
    float: right !important;
    width: 730px;
  }
}
/* #endregion */
