
/* # =================================================================
   # Basic
   # ================================================================= */
body{
   font-family: 'Noto Sans JP', sans-serif;
   background: #fff;
   overflow-x: hidden;
}

a {
   text-decoration: none;
}

.Box {
   padding: 0 10px;
   max-width: 1250px;
   margin: auto;
   position: relative;
   z-index: 1;
}
img{
   max-width: 100%;
}
.page p{
   font-size: 14px;
}
.page article {
   padding: 60px 0;
   position: relative;
}
.wPC {
   display: none;
}
.wSP {
   display: block;
}
.LR{
   margin: 0;
   padding: 0;
   list-style: none;
   display: table;
   width: 100%;
}
.LR + .LR{ margin-top: 30px; }
.colSP2, .colSP3, 
.colPC2, .colPC3, .colPC4{ 
  margin-left: 0;
  font-size: 0; 
}
.colPC2 > li,
.colPC3 > li,
.colPC4 > li{
    list-style: none;
}
.check{
  margin-top: 20px;
  margin-left: 35px;
}
.check li{
   list-style: none;
   position: relative;
  font-weight: bold;
  margin: 10px 0;
}
.check li:before{
   content: url(images/check.svg);
   position: absolute;
   margin-left: -36px;
   text-align: center;
   height: 23px;
   width: 23px;
}
@media screen and (max-width: 849px) {
   .LR .left,
   .LR .right{
      margin: 10px 0;
   }
  .colSP2 > li {
    width: 50%;
    display: inline-block;
    font-size: initial;
    vertical-align: top;
  }
  .colSP3 > li {
    width: 33.333333%;
    display: inline-block;
    font-size: initial;
    vertical-align: top;
  }
  .wp-block-image .alignright{
    margin-left: 0;
  }
  .wp-block-image .alignright img{
    width: 850px;
    display: block;
  }
}
@media only screen and (min-width: 850px) {
   .wPC {
      display: block;
   }
   .wSP {
      display: none;
   }
   .page p{
      font-size: 16px;
   }
  .check li{
    font-size: 20px;
  } 
  .check li:before{
    margin-top: 5px;
  }
  .LR .left{ display: inline-block; }
  .LR .right{ float: right; }
  .LR10 .left{ width: 8%; }
  .LR10 .right{ width: 88%; }
  .LR20 .left{ width: 18%; }
  .LR20 .right{ width: 78%; }
  .LR30 .left{ width: 28%; }
  .LR30 .right{ width: 68%; }
  .LR40 .left{ width: 38%; }
  .LR40 .right{ width: 58%; }
  .LR50 .left{ width: 48%; }
  .LR50 .right{ width: 48%; }
  .LR60 .left{ width: 58%; }
  .LR60 .right{ width: 38%; }
  .LR70 .left{ width: 68%; }
  .LR70 .right{ width: 28%; }
  .LR80 .left{ width: 78%; }
  .LR80 .right{ width: 18%; }
  .LR90 .left{ width: 88%; }
  .LR90 .right{ width: 8%; }
  .LR .imgRight{
    text-align: right;
  }
  .colPC2 > li {
    width: 50%;
    display: inline-block;
    font-size: initial;
    vertical-align: top;
  }
  .colPC3 > li {
    width: 33.333333%;
    display: inline-block;
    font-size: initial;
    vertical-align: top;
  }
  .colPC4 > li {
    width: 25%;
    display: inline-block;
    font-size: initial;
    vertical-align: top;
  }
   .page article {
      padding: 100px 0;
   }
}
a:hover {
   opacity: 0.7;
}
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #ffffe1;
	z-index: 9999999;
	text-align:center;
	color:#fff;
	top: 0;
	right: 0;
}
#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.fixed-logo {
	display: none;
}
.loading.is-active {
	opacity: 0;
   visibility: hidden;
}
.loading-animation.is-active {
	opacity: 1;
	visibility: visible;
}

/* # =================================================================
   # Table
   # ================================================================= */
.tableRaw2 .title th,
.tableRaw2 .title td{
  background: #f2f2f2;
}
.tableRaw2 tr:nth-last-child(1) td{
  border-bottom: 1px solid #ebebeb;
}
@media screen and (max-width: 849px) {
  .tableRaw2 th{
    display: block;
    border-bottom: none;
    font-weight: bold;
    padding-bottom: 0;
  }
  .tableRaw2 td{
    display: block;
    border-top: 0;
  }
  .tableRaw2 .title td{
    display: none;
  }
}
@media only screen and (min-width: 850px) {
  .tableRaw2.th20 th{ width: 20%; }
  .tableRaw2.th30 th{ width: 30%; }
  .tableRaw2.th40 th{ width: 40%; }
  .tableRaw2.th50 th{ width: 50%; }
  .tableRaw2 tr:nth-last-child(1) th{
    border-bottom: 1px solid #ebebeb;
  }
}

/* # =================================================================
   # Header
   # ================================================================= */
.site-wrapper {
   background: whitesmoke;
}
.headerWrap .logo{
   display: inline-block;
   position: relative;
}
@media screen and (max-width: 849px) {
   .headerWrap{
      position: fixed;
      height: 70px;
      background: #fff;
      z-index: 1;
      width: 100%;
   }
   .headerWrap .logo{
      width: 77%;
      position: absolute;
      margin: 0;
      padding: 0;
      margin-top: 10px;
   }
   .headerWrap .logo img{
      width: 250px;
   }
}
.bx-wrapper{
   border: 0;
   box-shadow: none;
   margin-bottom: 0;
}
.bx-wrapper ul{
   margin: 0;
   padding: 0;
}
.gnavi ul{
   list-style: none;
}
.gnavi ul a{
   color: #000;
}
.gnavi a.inner{
   cursor: pointer;
}
.site-content{
   position: relative;
   top: -60px;
   z-index: 0;
}
@media screen and (max-width: 480px) {
   .site-content{
      top: 70px;
      z-index: 0;
   }
}

:root {
  --hamburger-menu-size: 50px; /* メニューの大きさ */ 
  --hamburger-menu-padding: 12px;  
  --hamburger-menu-border-px: 3px; /* 線の太さ */
  --hamburger-menu-border-color: #342534; /* 線の色 */
  --hamburger-menu-transition: 0.3s; /* アニメーション秒数 */
}
.hamburger-menu {
   cursor: pointer;
   position: absolute;
   right: 10px;
   top: 10px;
   width: 50px;
   height: 50px;
   background-color: #fff;
   z-index: 2;
   position: fixed;
}
.hamburger-menu-line {
  position: absolute;
  transition: var(--hamburger-menu-transition);
  width: calc(100% - var(--hamburger-menu-padding) * 2);
  height: var(--hamburger-menu-border-px);
  background-color: var(--hamburger-menu-border-color);
}
.line-top {
  top: var(--hamburger-menu-padding);
  left: var(--hamburger-menu-padding);
}
.line-middle {
  top: calc(50% - var(--hamburger-menu-border-px)/2);
  left: var(--hamburger-menu-padding);
}
.line-bottom {
  bottom: var(--hamburger-menu-padding);
  left: var(--hamburger-menu-padding);
}
.hamburger-menu-active > .line-top {
  top: calc(50% - var(--hamburger-menu-border-px)/2);
  transform: rotate(45deg);
}
.hamburger-menu-active > .line-middle {
  width: 0;
  height: 0;
  left: var(--hamburger-menu-padding);
}
.hamburger-menu-active > .line-bottom {
  top: calc(50% - var(--hamburger-menu-border-px)/2);
  transform: rotate(-45deg);
}

.newsBG{ background: url(images/newsBG.jpg); }
.pageBG{ background: url(images/newsBG.jpg); }
.headerCover{
   background-position: center;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-repeat: no-repeat;
   background-size: cover;
   padding-top: 60px;
}
.headerCover h2{
  color: #fff;
  padding: 30px 0;
  margin: 0;
  text-align: center;
}

.breadcrumb-area{
  font-size: 14px;
  margin-top: 10px;
}
.breadcrumb-area .inner{
  padding: 0 15px;
}
@media screen and (max-width: 849px) {
   .fixContact{
      position: fixed;
      width: 100%;
      text-align: center;
      bottom: 0;
      background: #fff;
      z-index: 10;
      box-shadow: 0 0 4px #00000040; 
      padding: 5px 0 6px;
   }
   .fixContact div{
      display: inline-block;
   }
   .fixContact .tel{
      margin-right: 3px;
   }
   .fixContact .tel a{
      color: #000;
      font-size: 18px;
   }
   .fixContact .tel a img{
      width: 12px;
      margin-right: 3px;
   }
   .fixContact .mail{
      background: #29ABE2;
      border-radius: 5px;
      box-shadow: 0 2px 0 #00000040; 
   }
   .fixContact .mail a{
      color: #fff;
      display: block;
      padding: 2px 10px;
   }
   .fixContact .mail a img{
      width: 20px;
      margin-right: 3px;
   }
   .gnavi{
      visibility: hidden;
      opacity: 0;
      position: absolute;
      -webkit-transition: all 0.2s;
      -moz-transition: all 0.2s;
      -o-transition: all 0.2s;
      transition: all 0.2s;
   }
   .gnavi-active{
      visibility: visible;
      opacity: 1;
      background: #fff;  
      width: 100%;    
      left: 0;
      z-index: 5;
      position: fixed;
      top: 70px;
   }
   .header {
      display: none;
   }
   .gnavi a{
      display: block;
      padding: 2px 10px;
   }
   .gnavi > ul{
      margin: 0;
   }
   .gnavi > ul > li:nth-child(1){
      border-top: solid 1px #b3b3b3;
   }
   .gnavi > ul > li{
      border-bottom: solid 1px #b3b3b3;
      padding: 4px 0;
   }
   .gnavi > ul > li > ul{
      font-size: 0;
      margin: 0;
      background: #e5f5ff;
   }
   .gnavi > ul > li > ul > li{
      display: inline-block;
      vertical-align: top;
      width: 50%;
      font-size: 12px;
   }
   .gnavi > ul > li > ul > li > a{
      border: solid 1px #fff;
   }
}
@media only screen and (min-width: 850px) {   
   .headerWrap{
      height: 90px;
   }
   .headerWrap .logo{
      width: calc(100% - 450px);
      margin: 0;
      padding: 10px 0;
   }
   .headerWrap .logo img{
      width: 300px;
   }
   .hamburger-menu{
      display: none;
   }

   .gnavi ul{
      padding: 10px 0;
      margin: 0;
      font-size: 0;
      background: white;
      box-shadow: 0 1px 3px 1px rgb(0 0 0 / 10%);
      border-radius: 60px;
   }
   .gnavi ul a{
      font-size: 16px;
      display: block;
      line-height: 2em;
   }
   .gnavi > ul > li{
      display: inline-block;    
      width: 16.66666%;
      text-align: center;
   }
   .gnavi > ul > li > ul{
      visibility: hidden;
      opacity: 0;
      padding: 0;
      position: absolute;
      box-shadow: 0 0 2px #00000040;
      width: 700px;
      border-radius: 0px;
      -webkit-transition: all 0.2s;
      -moz-transition: all 0.2s;
      -o-transition: all 0.2s;
      transition: all 0.2s;
   }

   .gnavi > ul > li > ul > li{
      display: inline-block;
      vertical-align: top;
      text-align: left;
      width: 50%;
      border-bottom: solid 1px #b3b3b3;
   }
   .gnavi > ul > li > ul > li:nth-child(2n+1){
      border-right: solid 1px #b3b3b3;
   }
   .gnavi > ul > li > ul > li > a{
      display: block;
      padding: 5px 10px;
   }
   .gnavi > ul >li:hover > ul{
      visibility: visible;
      opacity: 1;
      z-index: 1;
      background: #fff;
   }
   .header {
      position: fixed;
      z-index: 10000;
      width: 100%;
      top: 100px;
      display: none;
      right: 0;
      left: 0;
   }
   @media screen and (max-width: 480px) {
      .header {
         display: none;
      }
   }

   .main-v {
      position: relative
   }

   .fixContact{
      position: absolute;
      left: 50%;
      top: 20px;
      max-width: 1250px;
      width: 100%;
      transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
   }
   .fixContact .inner{
      position: absolute;
      right: 0;
   }
   .fixContact div{
      display: inline-block;
   }
   .fixContact .tel{
      margin-right: 20px;
      line-height: 2em;
      vertical-align: middle;
   }
   .fixContact .tel a{
      color: #000;
      font-size: 33px;
      display: block;
   }
   .fixContact .tel a img{
      margin-right: 5px;
      vertical-align: -2px;
   }
   .fixContact .mail{
      background: #ff8741;
      border-radius: 50px;
      box-shadow: 0 2px 0 #00000040; 
   }
   .fixContact .mail a{
      color: #fff;
      padding: 10px 20px;
      display: block;
   }
   .fixContact .mail a img{
      margin-right: 5px;
   }
   
   .headerCover h2{
      padding: 60px 0;
   }
}

.popup {
   position: absolute;
   right: 10px;
   font-size: 12px;
   font-weight: bold;
   bottom: 10px;
}
.close-icon{
   display: block;
   text-align: end;
   margin-bottom: 5px;
}
.card-wrap {
   background: white;
   border-radius: 20px;
   padding: 3px 15px;
   margin-bottom: 5px;
}
.popup a, .popup a:visited{
   color: #555
}
@media screen and (max-width: 1050px) {
   .popup {
      display: none;
   }
}


/* # =================================================================
   # Footer
   # ================================================================= */
.conversion{
   background: url(images/conversionBack.jpg) no-repeat;
   background-position: center;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-repeat: no-repeat;
   background-size: cover;
   margin-top: 20px;
   padding: 30px 0;
}
.conversion h2{
   color: #fff;
   text-align: center;
   margin-top: 0;
}
.conversion .inner{
   padding: 10px;
}
.conversion li{
   text-align: center;
}
.conversion li .subT{
   background: #F2F2F2;
   margin-bottom: 10px;
}
.conversion li p{
   text-align: center;
}
.conversion li .tel{
   font-size: 34px;
}
.conversion li .telnumber{
   line-height: 1.4em;
}
.conversion li a{
   color: #000;
}
.conversion li .mail{
   border-radius: 5px;
   background: #29ABE2;
   box-shadow: 0 2px 0 #00000040;
   margin: 0 20px;
}
.conversion li .mail a{
   color: #fff;
   padding: 10px 0;
   display: block;
}
.copyright{
   background: #0071BC;
   color: #fff;
   font-size: 14px;
   text-align: center;
   padding: 10px;
}
.footerWrap{
   background: #F2F2F2;
}
ul.footerNavi h3 a{
   color: #000;
}
ul.footerNavi{
   list-style: none;
   padding: 20px 0;
   font-size: 0;
   margin: 0;
}
ul.footerNavi h3{
   font-size: 16px;
   margin: 0 0 10px;
}
ul.footerNavi > li > ul{
   list-style: none;
   padding: 0;
   font-size: 0;   
   margin: 0;
}
ul.footerNavi > li > ul > li{
   display: inline-block;
   vertical-align: top;
   width: 50%;
}
ul.footerNavi > li > ul > li > a{
   font-size: 14px;
   color: #000;
}
@media screen and (max-width: 849px) {
   ul.footerNavi > li{
      margin: 30px 0;
   }
}
@media only screen and (min-width: 850px) {   
   ul.footerNavi > li{
      display: inline-block;
      vertical-align: top;
   }
   ul.footerNavi > li.w25{
      width: 25%;
   }
   ul.footerNavi > li.w50{
      width: 50%;
   }
   ul.footerNavi > li.w25 > ul > li{
      width: 100%;
   }
   .conversion .inner{
      padding: 20px;
   }
   .conversion li .tel img{
      width: 30px;
      vertical-align: -5px
   }
   .conversion li .telnumber{
      font-size: 50px;
      line-height: 1em;
   }
   .conversion li .mail{
      font-size: 24px;
   }
   .conversion li .mail img{
      margin-right: 5px;
      vertical-align: -2px;
   }
}
/* # =================================================================
   # Main
   # ================================================================= */
p{
  margin-bottom: 20px;
}
h3{
  margin-bottom: 20px;
}
h4{
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 30px;
}
a, a:visited{
  color: #29ABE2;
}
blockquote{
  border-left: 6px solid #29ABE2;
}
.entry-title h1{
  font-weight: lighter;
}
article.type-page .entry-content h2{
  margin-bottom: 16px;
}
article.type-page h3{
  color: #0071BC;
  border-bottom: solid 1px;
  padding-bottom: 10px;
  margin-top: 30px;
}
article.type-page{
  padding: 0;
}

article.type-page hr.wp-block-separator{
  width: 100%;
}
.more-link-wrapper .more-link:hover {
  color: #43C0F4;
}
.entry-meta .entry-meta-icon a::before,
.entry-meta .entry-meta-icon::before{
   color: #29ABE2;
}
.search-form .search-submit{
   background: #29ABE2;
}
.search-form .search-submit:hover{
  background: #43C0F4;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"]{
   background: #29ABE2;
   border: 1px solid #1E92C4;
   border-bottom: 3px solid #1E92C4;
}
button:hover, button:focus, button:active,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="button"]:active,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="reset"]:active,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="submit"]:active {
  background: #43C0F4;
  outline: none;
}
.grayList li{
  padding: 10px 0;  
}
.grayList .inner{
  background: #f2f2f2;
  padding: 10px; 
}
.grayList li h4{
  margin-bottom: 10px;
}
.grayList li p{
  margin-bottom: 5px;
}
.grayList li .arrow{
  text-align: right;
}
.grayList li .arrow a{
  font-size: 14px;
  color: #007cba;
}
.grayList li .arrow a:before{
  border-top: 2px solid #007cba;
  border-right: 2px solid #007cba;
  margin-top: 6px;
}
.pageLink{
  list-style: none;
  margin-left: 0;
}
.pageLink li{
  margin: 10px 0;
}
.pageLink a{
  background: #29ABE2;
  border-radius: 10px;
  box-shadow: 0 2px 0 #00000040;  
  color: #fff;
  display: block;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: bold;
}
.home h2{
   text-align: center;
}
.btn a{
   display: inline-block;
   color: #fff;
   background: #29ABE2;
   padding: 10px 20px;
   border-radius: 5px;
   text-decoration: none;
   box-shadow: 0 2px 0 #00000040;
}
.arrow a{
   color: #000;
   position: relative;
   padding-left: 30px;
}
.arrow a::before{
   position: absolute;
   content: '';
    margin-left: -20px;
    margin-top: 10px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.slider img{
   width: 100%;
   position: relative
}
.bx-wrapper > div > ul > li > span {
   position: absolute;
   top: 20%;
   left: 10%;
   font-size: 200%;
   font-weight: bold;
   color: white;
   border: 3px solid #fff;
   text-shadow: 3px 3px 5px black;
   padding: 1rem;
}
@media screen and (max-width: 480px) {
   .bx-wrapper > div > ul > li > span {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 100%;
      font-weight: bold;
      color: white;
      border: 2px solid #fff;
      text-shadow: 3px 3px 5px black;
      padding: 0.3rem;
   }
   
}

#service{
   text-align: center;
}
#service a{
   color: #000;
   font-size: 14px;
}
#service h3 {
  overflow: hidden;
  text-align: center;
}
#service h3 span {
  position: relative;
  display: inline-block;
  margin: 0 2.5em;
  padding: 0 1em;
  text-align: left;
   color: #0071BC;
}
#service h3 span::before,
#service h3 span::after {
  position: absolute;
  top: 50%;
  content: '';
  width: 400%;
  height: 1px;
  background-color: #ccc;
}
#service h3 span::before {
  right: 100%;
}
#service h3 span::after {
  left: 100%;
}
#service ul{
   list-style: none;
   padding: 0;
   margin: 0;
   font-size: 0;
}
#service .illust li{
   display: inline-block;
   vertical-align: top;
   width: 50%;
}
#service .illust li a{
   display: block;
   padding: 20px;
}
#service .illust li img{
   display: block;
   margin: auto;
   margin-bottom: 10px;
   border-radius: 50%;
   width: 100%;
}
#service .dots li{
   display: inline-block;
   margin: 10px;
}
#service .dots li a{
   padding-left: 20px;
   position: relative;
}
#service .dots li a:before{
   content: "";
   position: absolute;
   background: #29ABE2;
   top: 50%;
   left: 0px;
   margin-top :-8px;
   height: 15px;
   width: 15px;
   border-radius: 50%;
}


ul.snsbtn{
   list-style: none;
   padding: 0;
   margin: 0;
   text-align: center;
}
ul.snsbtn li{
   margin: 10px 0;
}
ul.snsbtn a{
   color: #fff;
   text-decoration: none;
   display: block;
   margin: auto;
   width: 200px;
   padding: 10px;
   font-size: 14px;
}
a.fl_fb1 {
	background: #3b5998;
	border: 1px solid #fff;
}
a.fl_tw1 {
	background: #55acee;
	border: 1px solid #fff;
}
#merit h3{
   color: #0071BC;
}
#merit ul{
   margin: 0;
}
#merit ul img{
   display: block;
   margin: auto;
}
.triangleBG{
   background: url(images/triangle-mosaic.png);
}
#process ul{
   list-style: none;
   padding: 0;
   margin: 0;
   font-size: 0;
}
#process ul li{
   font-size: 14px;
   display: inline-block;
   vertical-align: top;
   width: 50%;
   padding: 10px 0;
   text-align: center;
}
#process ul li img{
   display: block;
   margin: auto;
   margin-bottom: 10px;
   background: #0071BC;
   border-radius: 50%;
   max-width: 120px;
}
#process .btn{
   text-align: center;
}
#topBlog .inner{
   padding: 10px;
   background: #fff;
   box-shadow: 0 2px 0 #00000040;
}
#topBlog ul.bloglist{
   list-style: none;
   padding: 0;
   margin: 0;
   margin-bottom: 10px;
}
#topBlog ul.bloglist > li:nth-child(1){
   border-top: solid 1px #ccc;
}
#topBlog ul.bloglist > li{
   border-bottom: solid 1px #ccc;
   padding: 10px 0;
}
#topBlog a{
   color: #000;
}
#topBlog time{
   vertical-align: middle;
   font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
   font-size: 16px;
}
#topBlog ul.cat{
   list-style: none;
   display: inline-block;
   margin: 0;
   padding: 0;
}
#topBlog ul.cat li{
   display: inline-block;
   background: #0071BC;
   color: #fff;
   width: 100px;
   text-align: center;
   padding: 2px 10px;
   margin-right: 10px;
   font-size: 12px;
}
#topBlog .arrow{
   text-align: right;
   font-size: 16px;
}
#access iframe{
   width: 100%;
   height: 250px;
}
#access h3{
   font-size: 20px;
   font-weight: bold;
   margin: 20px 0;
}
.sapporo{
   text-align: center;
   margin-top: 30px;
}
.sapporo img{
   margin: auto;
}
.officeMap iframe{
  width: 100%;
  height: 400px;
  margin-bottom: 30px;
}
.officeTour{
  margin: 0;
}
.officeTour > li{
  text-align: center;
  vertical-align: top;
}
.officeTour img{
  display: block;
  margin: auto;
  width: 100%;
  margin-bottom: 10px;
}
.officeTour img.aida{
  width: auto;   
}
.iconList li{
  margin: 30px 0;
}
.iconList .title img{
  position: absolute;
}
.iconList .title h4{
  display: inline-block;
  padding-left: 40px;
  margin: 5px 0 15px;
}
.iconList p span{
  color: #c1272d;
}
.iconList p a{
  display: inline-block;
}
.bnrCooperate{
  margin-top: 60px;
}
@media screen and (max-width: 849px) {
  .longH2{
    font-size: 18px;
    font-weight: bold;
  }
  .longH2 br{
    display: none;
  }
  .wp-block-columns > .wp-block-column:nth-child(1){
    margin-bottom: 30px;
  }
   #merit ul .btn{
      text-align: center;
      margin-bottom: 30px;
   }
   #message .inner{
      margin-top: 30px;
   }
   #message img.wSP{
      width: 100%;
   }
  .officeTour > li{
    margin: 30px 0;
  }
  .iconList .title img{
    width: 30px;
  }
}
@media only screen and (min-width: 850px) {
   #service a{
      font-size: 18px;
   }
   #service p{
      font-size: 18px;
   }
   #service .illust li{
      width: 20%;
   }
   #message{
      padding: 30px 0;
      background: url(images/message.jpg) no-repeat right;
      background-size: auto 100%;
      background-color: #0071BC;
   }
   #message .inner{
      width: 50%;
   }
   #message .inner p{
      color: #fff;
   }
   #topBlog .inner{
      padding: 30px;
   }
   #topBlog ul.bloglist > li{
      padding: 10px;
   }
   #topBlog time{
      display: inline-block;
      width: 100px;
   }
   #topBlog cat{
      display: inline-block;
   }
   #topBlog p{
      display: inline-block;
      vertical-align: middle;
      padding: 10px;
      width: calc(100% - 230px);
   }
   #process ul li{
      width: 25%;
   }
   ul.snsbtn{
      text-align: left;
   }
   ul.snsbtn li{
      display: inline-block;
      text-align: center;
      margin-right: 5px;
   }
  .officeTour > li{
    padding: 20px;
  }
  .iconList li{
    padding: 0 10px;
  }
  .iconList .title h4{
    padding-left: 60px;
    margin: 15px 0 25px;
  }
  .pageLink li{
    padding: 0 8px;
    margin: 8px 0;
  }
  .pageLink li a{
    font-size: 18px;
    padding: 30px 10px;
  }
  .employmentCheck{
    padding: 0 10px;
  }
  .grayList li{
    padding: 30px 10px;
  }
  .grayList li .inner{
    padding: 20px;
  }
  .grayList li .arrow a{
    font-size: 16px;
  }
  .grayList li .arrow a:before{
    margin-top: 8px;
  }
  /* はじめての方へ（代表 会田あいさつ）の幅*/
  #post-41 .entry-content{
    padding: 0 8%;
  }
}

.business-field-card {
   background: #fff;
   box-shadow: 1px 1px 10px #c7c7c7;
   border-radius: 12px;
   padding: .5rem;
}
.business-field-card h4 {
   margin: 1rem auto;
   font-size: 18px;
}
.business-field-card p {
   font-size: 14px!important;
}
.business-field-card hr {
   margin: 0 auto .5rem;
}

.py-3 {
   padding: 3rem 0;
}
/* 準備中のメニュー項目（リンクなし） */
a.is-preparing,
a.is-preparing:hover{
   color: #999 !important;
   cursor: default;
   text-decoration: none;
}
a.is-preparing small{
   font-size: 0.8em;
   margin-left: 0.2em;
}

/* =================================================================
   ===== UI/UX improvements 2026-11 =====
   読みやすさ（行間・字間・1行の文字数）とスマホ表示崩れの修正
   ================================================================= */

/* ---------- 1. 本文タイポグラフィ ---------- */
/* Bootstrap既定の line-height:1.5 は和文には詰まりすぎるため本文だけ広げる */
#page p,
.entry-content li,
.entry-content td,
.entry-content th,
.entry-content dd,
.entry-content dt,
.entry-content blockquote{
   line-height: 1.85;
   letter-spacing: 0.04em;
}
.entry-content li{ margin-bottom: 0.4em; }
.entry-content li:last-child{ margin-bottom: 0; }
.entry-content p{ margin-bottom: 1.4em; }
.entry-content table th,
.entry-content table td{ vertical-align: top; }

/* 見出し：前後の余白と行間を整える */
.entry-content h2,
.entry-content h3,
.entry-content h4{
   line-height: 1.5;
   letter-spacing: 0.04em;
}
article.type-page .entry-content h3,
.single .entry-content h3{ margin-top: 2.4em; margin-bottom: 1em; }
.entry-content h4{ margin-top: 2em; margin-bottom: 0.8em; }
.entry-content > h2:first-child,
.entry-content > h3:first-child{ margin-top: 0; }

/* 画像・埋め込み・表は親幅を超えない */
.entry-content img{ max-width: 100%; height: auto; }
.entry-content iframe,
.entry-content video{ max-width: 100%; }
.entry-content table{ max-width: 100%; }
.entry-content .wp-block-table{ overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 長いURL・英数字で横にはみ出さない */
.entry-content,
.footerWrap{ overflow-wrap: anywhere; word-break: normal; }

/* ---------- 2. PC：1行の文字数を約40字に ---------- */
@media only screen and (min-width: 850px) {
   /* 固定ページ・投稿の白いカードを読み幅に合わせて中央寄せ
      本文幅 680px ≒ 16px×1.04 で約41字/行 */
   body.page:not(.home) .post-wrapper-hentry,
   body.single .post-wrapper-hentry{
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      padding: 48px 60px;
   }
   body.page:not(.home) .breadcrumb-area .container,
   body.single .breadcrumb-area .container{
      max-width: 800px;
   }
   .entry-content p,
   .entry-content li{ font-size: 16px; }
   /* トップページの長い説明文 */
   .home #page p{ max-width: 42em; margin-left: auto; margin-right: auto; }
   .home .business-field-card p{ max-width: none; }
   /* Bootstrap の .row 直下の段落は1行を占有させる（カードが横に回り込まないように） */
   .home #page .row > p{ max-width: 100%; }
   /* 写真の上の白文字（メッセージ）の可読性 */
   #message .inner p{ text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
}

/* ---------- 3. スマホ ---------- */
@media screen and (max-width: 849px) {
   /* 左右余白 42px → 20px にして本文幅を確保 */
   body.page .post-wrapper-hentry,
   body.single .post-wrapper-hentry{
      padding: 28px 8px;
   }
   .page p,
   .entry-content p,
   .entry-content li{ font-size: 15px; }
   .entry-content h2{ font-size: 1.35rem; }
   .entry-content h3{ font-size: 1.2rem; }
   .entry-content h4{ font-size: 1.05rem; }

   /* 固定ヘッダーの下にフッター等の要素が透けて重なっていたので重なり順を修正 */
   .headerWrap{ z-index: 3; }
   .hamburger-menu{ z-index: 4; }

   /* 画面下の固定お問い合わせバーにフッターが隠れないように */
   body{ padding-bottom: 60px; }
   .fixContact .tel a{
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      padding: 0 6px;
   }
   .fixContact .mail a{
      display: flex;
      align-items: center;
      min-height: 40px;
      padding: 4px 14px;
   }

   /* ハンバーガーメニュー：文字12px→14px、タップ領域拡大、長いときはスクロール */
   .gnavi-active{
      max-height: calc(100vh - 70px);
      max-height: calc(100dvh - 70px);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
   }
   .gnavi-active{ padding: 0 0 60px; } /* 下の固定バーに最後の項目が隠れないように */
   .gnavi > ul{ padding: 0; }
   .gnavi a{ padding: 10px 16px; }
   .gnavi > ul > li{ padding: 0; }
   /* 2列のサブメニューを高さの揃うグリッドに */
   .gnavi > ul > li > ul{
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding: 0;
   }
   .gnavi > ul > li > ul > li{ width: auto; font-size: 14px; line-height: 1.4; }
   .gnavi > ul > li > ul > li > a{ padding: 10px 12px; min-height: 44px; }

   /* フッターナビ：リンクの上下余白でタップしやすく */
   ul.footerNavi > li > ul > li > a{
      display: inline-block;
      padding: 6px 0;
      line-height: 1.5;
   }

   /* トップ「取扱分野」のリード文が画面端に接していたので余白を確保 */
   .home .row > p{ padding-left: 20px; padding-right: 20px; }

   /* パンくず */
   .breadcrumb-area{ font-size: 13px; line-height: 1.6; }

}

/* ---------- 4. お問い合わせフォーム（MW WP Form） ---------- */
.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="tel"],
.mw_wp_form select,
.mw_wp_form textarea{
   max-width: 100%;
   box-sizing: border-box;
}
.mw_wp_form input.telwidth{ width: 5.5em; }
.mw_wp_form input[type="submit"]{ min-height: 48px; padding: 0 2em; }
@media screen and (max-width: 849px) {
   /* ラベル列が1文字幅に潰れて入力欄がはみ出していたので縦積みに */
   .mw_wp_form table,
   .mw_wp_form tbody,
   .mw_wp_form tr,
   .mw_wp_form th,
   .mw_wp_form td{
      display: block;
      width: 100%;
   }
   .mw_wp_form tr{ padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
   .mw_wp_form th{ padding: 0 0 6px; border: 0; font-weight: bold; }
   .mw_wp_form td{ padding: 0; border: 0; }
   .mw_wp_form input[type="text"]:not(.telwidth),
   .mw_wp_form input[type="email"],
   .mw_wp_form select,
   .mw_wp_form textarea{
      width: 100%;
      min-height: 44px;
      font-size: 16px; /* iOSの自動ズーム防止 */
   }
   .mw_wp_form input.telwidth{ width: 26%; min-height: 44px; }
   .mw_wp_form input[type="checkbox"]{ width: 20px; height: 20px; vertical-align: -4px; }
   .mw_wp_form input[type="submit"]{ width: 100%; }
}
/* ===== /UI/UX improvements 2026-11 ===== */

/* 弁護士紹介: 瀧澤弁護士の写真だけ原寸(554px)で挿入されているため他の弁護士と揃える */
.entry-content img.wp-image-434{
   width: 162px;
   height: auto;
}
