@charset "utf-8";
/* CSS Document */ 

:root {
  main-body-color: #222222;
  main-gradient: linear-gradient(180deg, rgba(98, 168, 10, 1), rgba(97, 144, 210, 1));
  main-font-family: "Noto Sans JP", serif, "Roboto", serif;
  main-font-size: 1rem;

}
body {
  margin: 0;
 /* font-family: var(main-font-family);*/
font-family: "Noto Sans JP", serif, "Roboto", serif !important;
  font-size: var(main-font-size);
  font-weight: var(main-font-weight);
  line-height: var(main-line-height);
  color: var(main-body-color);
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: border-box;
}
ul, ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  transition: all .4s;
}

a:hover{
	filter: brightness(108%);
}


.kkmg{
	background: #f5f5f5;
}

.kkmg header h1 {
  display: block;
  margin: 0;
  line-height: 0;
}
.kkmg header h1 img {
  width: 220px;
}

.kkmg .global-nav__search-button svg {
    width: 17px;
    height: 17px;
}

.menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  position: fixed;
  width: 100%;
  padding: 15px 22px;
  z-index: 1000;
}
.menu-wrapper .pc-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  margin: 0;
}
.menu-wrapper .pc-nav ul li {
  padding: 9px 14px;
  list-style: none;
}
.menu-wrapper .pc-nav ul li a {
  color: #3f4b4f;
  font-size: 1rem;
  text-decoration: none;
  transition: all 1s ease-out;
}
.menu-wrapper .pc-nav ul li .global-nav__search-button {
  margin-left: 0;
  border-radius: 50%;
  padding: 10px 13px 11px;
  background: #62C8D3;
  background: -webkit-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
  background: -o-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
  background: linear-gradient(172deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
}
.menu-wrapper .pc-nav ul li .global-nav__search-button:hover {
  cursor: pointer;
  transform: scale(1.03);
  filter: brightness(108%);

}
.kkmg .global-nav__search .search-field {
  padding: 1em 3.5em 1em 1em;
}
.kkmg .global-nav__search .search-form {
  border-radius: 7px;
}
.kkmg .global-nav__search .search-form .search-submit {
  background: #62C8D3;
  background: -webkit-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
  background: -o-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
  background: linear-gradient(172deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
  transition: background 2s ease-out;
  color: #fff;
  border-radius: 0 7px 7px 0;
  cursor: pointer;
}
.kkmg .search-submit .ys-icon {
  color: #fff;
}
.global-nav__search-close {
  background-color: initial;
  color: #222;
}
.global-nav__search-close:hover {
  box-shadow: none;
}
.global-nav__search-close .ys-icon {
  display: block;
}
.menu-wrapper .pc-nav ul li a:hover {
  color: #6290d3;	
}



.spbutton_container {
  position: fixed;
  top: 2.5%;
  right: 2%;
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;
  display: none;
}
.spbutton_container:hover {
  opacity: 0.7;
}
.spbutton_container.active .top {
  transform: translateY(11px) translateX(0) rotate(45deg);
  background: #fff;
}
.spbutton_container.active .middle {
  opacity: 0;
  background: #fff;
}
.spbutton_container.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: #fff;
}
.spbutton_container span {
  border: none;
  height: 5px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.35s ease;
  cursor: pointer;
  background: #3775cd;
}
.spbutton_container span:nth-of-type(2) {
  top: 11px;
  background: #59b4e2;
}
.spbutton_container span:nth-of-type(3) {
  top: 22px;
  background: #62c7d2;
}
.sp_overlay {
  position: fixed;
  background: #17263a;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, height 0.35s;
  overflow: hidden;
}
.sp_overlay.open {
  opacity: 0.9;
  visibility: visible;
  height: 100%;
}
.sp_overlay.open li {
  animation: fadeInRight 0.5s ease forwards;
  animation-delay: 0.35s;
}
.sp_overlay.open li:nth-of-type(2) {
  animation-delay: 0.4s;
}
.sp_overlay.open li:nth-of-type(3) {
  animation-delay: 0.45s;
}
.sp_overlay.open li:nth-of-type(4) {
  animation-delay: 0.5s;
}
.sp_overlay nav {
  position: relative;
  height: 70%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  text-align: center;
}
.sp_overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.sp_overlay ul li {
  display: block;
  height: 25%;
  height: calc(100% / 7);
  min-height: 50px;
  position: relative;
  opacity: 0;
}
.sp_overlay ul li a {
  display: block;
  position: relative;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.sp_overlay ul li a:hover:after, .sp_overlay ul li a:focus:after, .sp_overlay ul li a:active:after {
  width: 100%;
}
.sp_overlay ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  transform: translateX(-50%);
  height: 3px;
  background: #fff;
  transition: 0.35s;
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}


@media (max-width: 768px) {
  .menu-wrapper .pc-nav {
    display: none;
  }
  .spbutton_container {
    display: block;
  }
}
header .mastkv {
  padding-top: 12rem;
  padding-bottom: 10.5rem;
  text-align: center;
  color: #fff;
  background-image: url(../assets/images/kvbg.jpg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}
.mastkv .container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.mastkv .container h2 {
  font-size: 2.15rem;
  margin-top: 2.4rem;
}
.mastkv .container .desc {
  font-size: 1.5rem;
  font-family: "Noto Serif JP", serif;
}
.shiconare {
  margin-top: 24px;
}
.shiconare ul {
  margin: 0 auto;
  justify-content: center;
  width: 100% !important;
  ;
}
.shiconare li {
  list-style: none;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  width: 21.5% !important;
  ;
}
.shiconare li:last-child {
  margin-left: 0 !important;
  width: 13% !important;
  ;
}
.shiconare li:last-child input[type=submit] {
  width: 100%;
  background: #62C8D3;
  background: -webkit-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
  background: -o-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
  background: linear-gradient(172deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
  border-radius: 0;
  font-size: 1.175rem;
  letter-spacing: 0.15em;
   transition: all .4s;
padding-top: 18px;
    padding-bottom: 15px;
}
.shiconare li:last-child input[type=submit]:hover {
  cursor: pointer;
  letter-spacing: 0.15em;
	  filter: brightness(108%);

}

.searchandfilter li {
  padding-right: 1px !important;
}
.mastkv button, .mastkv input, .mastkv select, .mastkv textarea {
  border-radius: 0;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, .2);
  padding: 1.15rem 4px 1rem 16px;
  font-size: 1.175rem;
}
.top-about .top-about-wrapper .top-about-description p.top-about-text {
  font-size: 1.15rem;
  line-height: 2;
}
.search_cat #kensaku {
  max-width: 100%;
  margin-top: 5.625rem	
}
.pro-badgers {
  grid-row-gap: 2vw;
  grid-column-gap: 1.8vw;
  -ms-grid-columns: 3fr 2.1875vw 3fr 2.1875vw 3fr 2.1875vw;
  display: -ms-grid;
  display: grid;
  grid-template-columns: 3fr 3fr 3fr;
  justify-content: center;
  justify-items: center;
  padding-left: 0;
}

.search_cat .kensaku-column {
	justify-content: space-between;
    gap: 4vw;
}


.search_cat .kensaku-left{
	width: 52%;
} 


.search_cat .kensaku-right{
	width: 45%;
}



.top_pickup{
	background: #fff;
}

.top-consultation{
	background-color: #eceff5;	
	padding-bottom: 12rem;
}



.main_title {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.main_title h2:before {
  width: 30px;
  height: 24px;
  content: "";
  background-image: url(../assets/images/img-maintitle.png);
  background-repeat: no-repeat;
  background-size: 100%;
  margin-bottom: 10px;
}
.main_title h2 {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-size: 2.25em;
  font-weight: 600;
}
.main_title p {
  font-size: 1.5rem;
  font-family: "Noto Serif JP", serif;
  margin-top: 12px;
}


	
.top-consultation .main_title{
	margin-bottom: 4.5rem;
}


.top-consultation .main_title h2:before {
	background-image: url(../assets/images/consultation_title_icon.png);
	width: 85px;
    height: 85px;
    margin-top: -2.5rem;
    margin-bottom: 2rem;;
	
}



.pro-badgers li {
  width: 100%;
  margin: 0;
  padding: 0
}

.pro-badgers li a {
  display: flex;
  flex-direction: column;
  align-items: center;
    transition: all .3s;	
	height: 100%;
}

.pro-badgers li a:hover {
    transform: scale(1.1);
}

.pro-badgers li a .tag{
    width: 100%;
    padding: 2px 4px;
    text-align: center;
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    margin:0 ;
}
.pro-badgers .img-text {
  position: relative;
  width: 100%;
  text-align: center;
  color: #444;
  padding: 10px;
	height: 100%;
	display: grid;
	align-items: center;
}





.pro-badgers .img-text img{
	width:100%;
}

.pro-badgers .img-text p{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  color: #444; 
  font-size: 1.15rem;
  width: 80%;
}


.top_pickup .top_pickup-list .top_pickup-item .pro_tag, .latest_pro .top_pickup-list .top_pickup-item .pro_tag{
  margin-bottom: 22px;
}

.top_pickup-list{
	padding-left: 0;
}

.archive__main .pro_list .top_pickup-list{
	grid-row-gap: 3vw;
}

.pro_list .top_pickup-list .top_pickup-item .pro_details{
margin: -80px 15px 10px;
    background-color: #fff;
    position: relative;
    z-index: 10;
    border-radius: 10px 10px 0 0;
    padding: 10px;
    border-bottom: solid 1px #d6d6d6;
}

.top_pickup-item .expert_area ul{
    display: flex;
    gap: .315rem 1rem;
    padding-left: 0;
    margin-top: 5px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.top_pickup-item .expert_area ul li{
	display: flex;
	align-items: center;
	
}

.top_pickup-item .expert_area ul li .bullet{
	width: 14px;
    height: 14px;
    margin-right: 6px;
}

.top_pickup-item .expert_area ul li .bullet::before {
    width: 14px;
    height: 14px;
}






.pro_details .pro_contact_details .address, 
.pro_details .pro_contact_details .web{
	display:flex;
	font-size: 14px;
}

.pro_details .pro_contact_details .web{
	align-items: center;
	margin-top: 5px;
}


.pro_details .pro_contact_details .web a{
	color: var(--font-color)!important;
} 

.pro_details .pro_contact_details .address:before{
content:"";
  width:23px;
  background-image:url(../assets/images/icon-address.png);
  background-size:contain;
  background-repeat:no-repeat;
  height:23px;
  margin-right: 5px;
}

.pro_details .pro_contact_details .web:before{
content:"";
  width:23px;
  background-image:url(../assets/images/icon-web.png);
  background-size:contain;
  background-repeat:no-repeat;
  height:23px;
  margin-right: 5px;
}

.pro_list .top_pickup-list .top_pickup-item .pro_tag{
	display:flex;
    justify-content: space-between;
}

.pro_list .intro-tag {
     margin-top:0 ;
   margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
	padding: 0 10px 10px;
}


.pro_list .intro-tag a {
    text-decoration: none;
    padding: 3px 15px;
    background-color: #fff;
    color: #6290d3;
    margin-right: 0;
    border-radius: 50px;
    font-size: 14px;
    display: inline-block;
    line-height: 1.5;
	border:#6290d3 solid 1px;
	font-weight: 500;
}
	
/*----------士業名のタグ----------*/




.id-shigyou-bengo {
	width: 100%;
}
.id-shigyou-bengo p, .bd-bengo{
	background-color: #faa5a6;
}
.id-shigyou-tyusyo p, .bd-tyusyo {
	background-color: #84db9d;
}

.id-shigyou-zeiri p, .bd-zeiri {
	background-color: #91cce9;
}

.id-shigyou-syarou p, .bd-syarou {
	background-color: #f7acc4;
}

.id-shigyou-gyousei p, .bd-gyousei {
	background-color: #9ea7eb;
}

.id-shigyou-shihou p, .bd-shihou {
	background-color: #f6a4e7;
}
.id-shigyou-kaikei p, .bd-kaikei {
	background-color: #c59bef;
}

.id-shigyou-benri p, .bd-benri {
	background-color: #8adacb;
}

.id-shigyou-fudo p, .bd-fudo {
	background-color: #a3d379;
}



.id-shigyou-bengo p, .id-shigyou-tyusyo p, .id-shigyou-zeiri p, .id-shigyou-syarou p, .id-shigyou-gyousei p, .id-shigyou-shihou p, .id-shigyou-kaikei p, .id-shigyou-benri p, .id-shigyou-fudo p {
  padding: 7px 15px;
  margin-bottom: 0 !important;
  line-height: 1;
  font-weight: 600;
  border-radius: 0 !important;
  color: #fff;
  text-align: center;
  width: 100%;	
  min-width: max-content;
  font-size: 14px;
}



.top_pickup-list .id-shigyoumei {
  width: fit-content;
  overflow: hidden;
  border-radius: 50px;
  margin-bottom: 12px;
}
.top_pickup-list .id-shigyou-gyousei {
  width: 100%;
  margin-bottom: 0 !important;
}
.top_pickup-list .acf-office {
  font-size: 1.025rem;
  color: #616161;
}
.top_pickup-list .acf-charge {
  font-size: 1.35rem;
  font-weight: 600;
  color: #616161;
}
.top_pickup-list .useful-info {
  padding: .6em .8em;
  /*background: #eceff5;*/
  background: rgba(236, 239, 245, .85);
  color: #303030;
  font-size: 1.25rem;
  font-family: "Noto Serif JP", serif;
  line-height: 1.8;
  display: block;
}
.top_pickup-list .useful-info-wrap {
  z-index: 1;
  position: relative;
  display: block;
  margin: -58px 30px 30px;
}
.latest_pro {
  background-color: #f5f5f5;
}
.top-about {
  background-color: #17263a;
}
.top-about .top-about-wrapper {
  display: flex;
  justify-content: space-between;
  color: #fff;
  align-items: center;
}
.top-about .top-about-wrapper .top-about-description {
  leading-trim: both;
  text-edge: cap;
  color: #fff;
  flex-shrink: 1.5;
  font-weight: 500;
}
.top-about .top-about-wrapper .top-about-title {
  text-align: right;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.85rem;
  font-weight: 600;
    margin-right: 3.75rem;
    width: 38%;
}



.top-consultation .most_viewed ul{
	grid-row-gap: .5vw;
    grid-column-gap: .5vw;
    display: flex;
    justify-content: center;
    justify-items: center;
    padding-left: 0;
        max-width: 42%;
    margin: 0 auto .5vw;
}

.top-consultation .most_viewed ul li, .top-consultation .consultaion_category_list ul li{
	width: auto;
    padding-top:0;
    padding-bottom: 0;
    margin: 0;
	border-radius: 5px;
}


.top-consultation .consultaion_category_list ul{
 display: grid;
/*  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));*/
  grid-template-columns: repeat(9, 1fr);
  gap: .5vw;;
  padding-left: 0;
  justify-items: center;
}


.top-consultation .most_viewed ul li a {
    display: flex;
    flex-direction: column;
}
	
	
.top-consultation .most_viewed ul li a img{
	width: 358px;
    filter: brightness(0) invert(1);
}


.top-consultation .most_viewed ul li p {
	background: #fff;
	color:#858585;
    margin: 0 8px 8px;
    padding: 10px 2px;
    font-size: 1.35rem;
	border-radius: 0 0 5px 5px;
	font-weight: 600;
}
.top-consultation .most_viewed ul li a, .top-consultation .consultaion_category_list ul li a{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 5px;
	transition: all .5s;
}

.top-consultation .most_viewed ul li a:hover, .top-consultation .consultaion_category_list ul li a:hover{
	filter: brightness(112%);
}	

.top-consultation .consultaion_category_list ul li p{
    color: #858585;
    text-align: center;
    font-weight: 600;
    background-color: #fff;
    margin: 0 8px 8px;
    padding: 10px 2px;
    font-size: 1.125rem;
	border-radius: 0 0 5px 5px;
}


.top-consultation .consultaion_category_list ul li img{
	filter: brightness(0) invert(1);
}



.top_articles{
	background-color:#f5f5f5;
	padding-top: 10rem;
	padding-bottom: 8rem;
}


.top_articles .top_articles-list{
        grid-column-gap: 1.10vw;
        -ms-grid-columns: 1fr 2.1875vw 1fr 2.1875vw 1fr 2.1875vw 1fr;
        display: -ms-grid;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        justify-content: center;
        justify-items: center;
        padding-left: 0;
		margin-bottom: 5rem;
}

.blog_page .top_articles-list{
	     grid-column-gap: 1.25vw;
	 	grid-row-gap:1.25vw;
        -ms-grid-columns: 1fr 2.1875vw 1fr 2.1875vw 1fr 2.1875vw 1fr;
        display: -ms-grid;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        justify-content: center;
        justify-items: center;
        padding-left: 0;
		margin-bottom: 5rem;
	
}


.top_articles .top_articles-list .top_articles-item, .blog_page .top_articles-list .top_articles-item{
	width: 100%;
}

.top_articles .top_articles-list a, .blog_page .top_articles-list a{
	padding: 10px;
    border-radius: 0.5rem;
    background-color: #fff;
    display: block;
}




.articles-card-thumb{
	order-radius: 0.5rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 2.3;
}

.articles-card-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top_articles-list .title_box{
	display:flex;
	justify-content: space-between;
	padding: 10px 5px 3px;
	align-items: center;
}

.top_articles-list .title_box p{
	font-size: 1rem;
    font-weight: 600;
	color:#222222;
}



.top_articles-list .title_box span{
    border-radius: 50%;
    padding: 13px 11px 11px;
	background: #fff;
    position: relative;
    width: 35px;
    height: 35px;
	min-width: 35px;
}
	
	
.top_articles-list .title_box span:after{
	content:"";
	background-image:url(../assets/images/arrow-right.png);
	background-repeat: no-repeat;
    min-width: 16px;
    height: 10px;
    background-size: contain;
    width: 16px;
	filter: brightness(0) saturate(100%) invert(50%) sepia(15%) saturate(0%) hue-rotate(164deg) brightness(92%) contrast(98%);
	position: absolute;
}


.top_articles-list  a:hover .title_box span:after{
	filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(0%) hue-rotate(188deg) brightness(103%) contrast(104%);
}


.top_articles-list a:hover .title_box span{
	background: #62C8D3;
    background: -webkit-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
    background: -o-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
    background: linear-gradient(172deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
}


.more-button {
    display: flex;
    justify-content: center;
    width: 100%;
}

.top_articles .more-button .more-button-wrapper {
        width: 14rem;
    }


    .button {
    border-radius: 1.875rem;
    font-size: 1rem;
    padding: .7rem 1rem;
    transition: all .4s;
	align-items: center;
    background: linear-gradient(142deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
    color: #fff;
    display: inline-block;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 100%;
	font-weight: 500;
    }


.button:hover{
	transform: scale(1.01);
	color: #fff;
	filter: brightness(108%);
	
}

.join_kaiketsu{
	background: #17263a;
	padding-top: 6.25rem;
	padding-bottom: 6rem;
}

.join_kaiketsu-wrapper {
        margin: 0 4.375rem 0;
}

.join_kaiketsu .cover-image{
    justify-content: center;
    display: flex;
    width: 100%;
    background-color: #fff;
    border-radius: 230px;
    padding-top: 50px;
}

.join_kaiketsu .cover-image img{
	width: 50%;
}

.join_kaiketsu .join_intro{
    text-align: center;
	color:#fff;
	margin-bottom: 3rem;
}

.join_kaiketsu h4{
	margin: 2.2rem 0;
	font-size: 1.75rem;
}
.join_kaiketsu .join_intro p{
	font-size: 1.75rem;
	font-family: "Noto Serif JP", serif;
}

.join_kaiketsu .topbenifits{
	display: flex;
	gap:3rem;
	justify-content: center;
	color:#fff;
	margin-bottom: 3rem;
	padding-left: 0;
}

.join_kaiketsu .topbenifits li{
	border:solid 1px #fff;
	border-radius: 3px;
	padding: 10px 20px;
	font-weight: 1.25rem;
	font-weight: 600;
}

.join_kaiketsu .more-button {
	flex-direction: column;
	align-items: center;
}

.join_kaiketsu .more-button .caption{
	color:#ff0800;
	font-family: "Noto Serif JP", serif;
	font-size: 1.05rem;
	margin-bottom: 1rem;
}

.join_kaiketsu .more-button .more-button-wrapper {
        width: 15.5rem;
    }

.search_cat{
	background:#fff;
}


.top_testimonials  {
    padding-top: 10rem;
    padding-bottom: 8rem;
	background-color: #f5f5f5;
}

.top_testimonials .testimonials_list .image_box{
width: 45%;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    max-width:225px;
}

.top_testimonials .testimonials_list .image_box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.top_testimonials .testimonials_list .testimonials_list_content{
	min-width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.top_testimonials .testimonials_list{
        grid-column-gap: 2.1875vw;
        -ms-grid-columns: 1fr 2.1875vw 1fr 2.1875vw 1fr 2.1875vw 1fr;
        display: -ms-grid;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        justify-items: center;
        padding-left: 0;
    }


.top_testimonials .testimonials_list_item{
    display: flex;
    border: solid 1px #eeeeee;
    padding: 1rem 0.75rem 1rem 1rem;
    border-radius: .75rem;
    gap:1.25rem;
    position: relative;
	background: #fff;

}
.top_testimonials .bttn_right{
   display: flex;
   justify-content: flex-end;
 
}


.top_testimonials .testimonials_list_item .title{
  margin-top: .25rem;
    margin-bottom: .75rem;
}

.top_testimonials .testimonials_list_item a{
color:#222222;
}

.top_testimonials .testimonials_list_item .testimonail_text_box{
   display:flex;
  justify-content:
}

.top_testimonials .testimonials_list_item .testimonail_text{
    margin-right: .5rem;
}

.top_testimonials .testimonials_list_content a.morebttn
{
    border-radius: 50%;
    padding: 13px 11px 11px;
    background: #62C8D3;
    background: -webkit-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
    background: -o-linear-gradient(82deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
    background: linear-gradient(172deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
    width: 35px;
    height: 35px;
    min-width: 35px;
    position: relative;
    display: inline-flex;
    align-self: flex-end;
    transition: all .3s;
}

.top_testimonials .testimonials_list_content a.morebttn:after {
    content: "";
    background-image: url(../assets/images/arrow-right.png);
    background-repeat: no-repeat;
    min-width: 16px;
    height: 10px;
    background-size: contain;
    width: 16px;
    position: absolute;
    filter: invert(100%);
}


.top_testimonials .testimonials_list_content a.morebttn:hover {
    cursor: pointer;
    transform: scale(1.03);
    filter: brightness(108%);
}


.footer_content_cat_tags{
padding:1.25rem;
width:100%;
	    background: #f5f5f5;
}

.footer_content_cat_tags #footer-category-tag{
  border-radius: 1.5rem;
  background-color:#4781c2;

}


.footer_content_cat_tags #footer-category-tag a{
    display: flex;
    align-items: center;
    padding:0;
}


.footer_content_cat_tags #footer-category-tag a .ft-icon{
    display: block;
    width: 28%;
    margin-right: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.footer_content_cat_tags #footer-category-tag a .ft-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0) invert(1);
}

.footer_content_cat_tags  #footer-category-tag ul {
    margin: 0 auto;
width:1400px;
max-width:100%;
}

footer{
  padding:3rem 0 1rem;
  display:flex;
  flex-direction:column;
    justify-content: center;
    align-items: center;
}

.footer_logo{
    width: 195px;
    display:block; 
    margin-bottom:1rem;
}

.footer_nav{
   padding-left:0;
   color:#222;
   font-size:1rem;
   margin-bottom:1rem;
}

.footer_nav li a{
   color:#222;
}
.footer_copyright{
   font-size:0.875rem;
}

.pro_list{
   background-color:#f5f5f5;
}



.pro_contact_details{
	margin-top: 8px;
}



.top-consultation .consult_category_list{
	display:flex;
	justify-content: center;
}


.pro-cat_list{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 3rem;
	
}

.consult-cat_list{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 3rem;
	justify-content: center;
}



.top-consultation .consult-cat_list .consult-cat_list_item{
	display:flex;
}


.top-consultation .consult-cat_list .consult-cat_list_item a span{
	color:#fff!important;
	font-size: 16px;
}

.top-consultation .consult-cat_list .consult-cat_list_item a{
	padding: 5px 22px;
	min-width: 100px;
    align-items: center;
    border-radius: 50px;
    margin: 0;
	font-weight: 500;
	text-align: center;
}


.pro-cat_list .pro-cat_list_item a{
    display: flex;
    background-color: #fff;
    align-items: center;
    border: solid 1px;
    padding: 5px 15px 5px 5px;
    border-radius: 50px;
    margin: 0;
	font-weight: 500;
	font-size: 1rem;
}


  .pro_list .top_pickup-list .top_pickup-item {
    background-color:#fff;
    border-radius: 1rem;
}  



.pro-cat_list .pro-cat_list_item a img{
    margin-right: 12px;
    width: 40px;
    height: 40px;
	filter: brightness(0.65);
}


  .pro-card-thumb {
    border-radius: 1rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3.8;
  }
  .pro-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }



.pro-cat_list .pro-cat_list_item a.bd-bengo{
	border-color: #faa5a6;
	color: #faa5a6;
}


.pro-cat_list .pro-cat_list_item a:hover img{
	filter: brightness(0.85);
}



.pro-cat_list .pro-cat_list_item a.bd-tyusyo {
	border-color: #84db9d;
	color: #84db9d;
}

.pro-cat_list .pro-cat_list_item a.bd-zeiri {
	border-color: #91cce9;
	color: #91cce9;
}

.pro-cat_list .pro-cat_list_item a.bd-syarou {
	border-color: #f7acc4;
	color: #f7acc4;
}

.pro-cat_list .pro-cat_list_item a.bd-gyousei {
	border-color: #9ea7eb;
	color: #9ea7eb;
}

.pro-cat_list .pro-cat_list_item a.bd-shihou {
	border-color: #f6a4e7;
	color: #f6a4e7;
}
.pro-cat_list .pro-cat_list_item a.bd-kaikei {
	border-color: #c59bef;
	color: #c59bef;
}

.pro-cat_list .pro-cat_list_item a.bd-benri {
	border-color: #8adacb;
	color: #8adacb;
}

.pro-cat_list .pro-cat_list_item a.bd-fudo {
	border-color: #a3d379;
	color: #a3d379;
}


.single_profile{
	background: #f5f5f5;
}


.single_profile .profile_introduction{
	margin-top: 1rem;
}

.profile_introduction{
	background: #fff;
	border-radius: 1rem;
	padding:1rem;
	display: flex;
	gap: 2rem;
	margin-bottom: 1rem;
}




.profile_introduction .profile_image{
   max-width: 28%;
}
.profile_introduction .profile_image img{
        border-radius: 1rem;
}

.profile_introduction .profile_intro_right{
	display: flex;
	justify-content: space-between;
	width: 72%;
	gap: 2rem;
}


.profile_introduction .profile_intro_text{
	width: 65%;	
}

.profile_intro_tags{
	display: flex;
	justify-content: flex-start;
	margin-bottom: 12px;
}




.profile_intro_tags .id-number{
	width: auto;
	margin-left: 1.25rem;
}


.profile_introduction .id-shigyoumei {
    width: fit-content;
    overflow: hidden;
    border-radius: 50px;
}


.profile_introduction .id-number span{
    border: solid 1px #17263a;
    padding: 3px 20px 3px;
    border-radius: 50px;
    margin: 0;
    font-weight: 500;
    font-size: 0.875rem;
    color: #1a4989;
    max-width: fit-content;
}

.profile_introduction .acf-charge {
    font-size: 2rem;
	font-weight: 600;
}


.profile_introduction .address{
	display:flex;
	font-size: 16px;
}

.profile_introduction .address:before{
    content: "";
    width: 30px;
    background-image: url(../assets/images/icon-address.png);
    background-size: 20px;
    background-repeat: no-repeat;
    height: 38px;
    margin-right: 10px;
    background-position: center;
    margin-top: 8px;
}


.profile_introduction .expert_area{
    display: block;
    margin: 12px 5px 0;
}

.profile_details_tab .expert_area ul{
	display:flex;
	gap:10px 60px;
}

.profile_introduction .expert_area ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-template-rows: repeat(3, auto);   /* 3 rows */
  gap:2px 10px;
}

.profile_introduction .expert_area ul li:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.profile_introduction .expert_area ul li:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.profile_introduction .expert_area ul li:nth-child(3) {
  grid-column: 1;
  grid-row: 3;
}
.profile_introduction .expert_area ul li:nth-child(4) {
  grid-column: 2;
  grid-row: 1;
}
.profile_introduction .expert_area ul li:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}
.profile_introduction .expert_area ul li:nth-child(6) {
  grid-column: 2;
  grid-row: 3;
}



.profile_introduction .expert_area ul li, .profile_details_tab .expert_area ul li {
    display: flex;
    width: auto;
    position: relative;
    padding-left: 0;
}

.expert_area ul li .bullet{
    position: relative;
    display: grid;
    place-items: center;
    align-self: center;
    width: 18px;
    height: 18px;
	margin-right: 18px;
}

.expert_area ul li .bullet::before{
    display: inline-block;
    content: "";
    width: 18px;
    height: 18px;
    background-color: #62c8d3;
    border-radius: 50%;
    margin-right: 30px;
}

.expert_area ul li .bullet::after{
    position: absolute;
    display: inline-block;
    left: 50%;
    top: 50%;
    content: "";
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
}









.pro_contact_mail{
    display: flex;
    background: #17263a;
    padding: 12px 22px 12px 12px;
    border-radius: 10px;
}


.pro_contact_mail:hover{
	background: #1d447c;
}


.pro_contact_tel{
	margin: 1rem 0;
}

.pro_contact_tel .caption{
	font-size: 14px;
	color:#d50101;
}


.pro_contact_mail .ico_mail_btn{
    width: 40px;
    height: 40px;
    margin-right: 20px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    display: grid;
    place-items: center;
    align-self: center;
}


.pro_contact_mail .text_subt{
	font-size: 14px;
	color:#fff;
}

.pro_contact_mail .text_main{
	font-size: 20px;
	font-weight: 600;
	color:#fff;
}


.pro_contact_mail .ico_mail_btn img{
	width: 25px;
} 

.pro_contact_mail .btn_text{
	display:flex;
	flex-direction: column;
	text-align: center;
	color:#fff;
	line-height: 1.2;
}



.add_line a{
    background-color: #04ba05;
    padding: 16px 22px 16px 12px;
    display: flex;
    align-items: center;
    width: auto;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
}

.add_line a:before{
	background-image:url(../assets/images/icon-line.png);
	content: "";
	margin-right: 20px;
	width: 27px;
	height: 25px;
	background-size: cover;
}

.add_line span{
	color:#fff;
	font-weight: 500;
}

.add_line{
    margin-bottom: 5px;
}



.profile_details_tab{
	background: #fff;
	border-radius: 1rem;
	padding:1rem;
	margin-bottom: 1rem;
	margin-top: 0;
}


.profile_details_tab #introduction-tab{
	margin-top:0;
}


.profile_details_tab .tab-group{
	margin: 0;
	width: 100%;
}
.profile_details_tab .tab-button{
	border:1px solid #e2e2e2;
	background-color: #eff9fa;
	border-radius: 12px;
}

.profile_details_tab .tab-button li{
	padding: 4px 9px 4px 4px;
	margin: 5px;
	border-right:1px solid #e2e2e2;
	color: #0075af;
}


.profile_details_tab .tab-button li:last-child{
	border-right:none;
}


.profile_details_tab .tab-button li::before{
	display:none;
}



.profile_details_tab .tab-button li span{
	border-radius: 10px;
	width: 100%;
    display: flex;
    padding: 10px;
	font-weight: 500;
	justify-content: center;
	position: relative;
	transition: all .4s;
}


.profile_details_tab .tab-button li span::before{
	position: absolute;
	left: 5px;
	width: 30px;
	height: 30px;
	background-size: contain;
	background-repeat: no-repeat;
	content: "";
}

.profile_details_tab .tab-button li.tab-01 span::before{
	background-image: url("../assets/images/icon_profile.png");
}

.profile_details_tab .tab-button li.tab-02 span::before{
	background-image: url("../assets/images/icon_area.png");
}

.profile_details_tab .tab-button li.tab-03 span::before{
	background-image: url("../assets/images/icon_access.png");
}

.profile_details_tab .tab-button li.tab-04 span::before{
	background-image: url("../assets/images/icon_access.png");
}


.profile_details_tab .tab-button li:hover span{
	 background-color: rgba(255, 255, 255, 0.95);
}


.profile_details_tab .tab-button .is-active{
	background-color: #eff9fa;
}

.profile_details_tab .tab-button .is-active span {
    background: #ffffff;
	box-shadow: 0px 0px 3px #e2e2e2;
	color:#61c6d2;
}




.profile_details_tab .content.is-display {
    display: block;
    height: 100%;
    padding: 32px 20px 20px;
}


.profile_details_tab .tab{
    width: calc(100% / 3);
	border-bottom: none;
}



.profile_career_details{
	margin: 0
}

.profile_career_details dl {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    margin-bottom: 1rem;
	align-items: center;
}

.profile_career_details dt {

    margin: 0;
    padding: 0 20px 0 10px;
    width: 10%;
    text-align: left;
	font-size: 1.2em;
    font-weight: 500;
}


.profile_career_details dd {
    margin: 0;
    padding: 0 40px;
    width: 90%;
	border-left: 2px solid #61c6d2;
}




.single_profile .id-contact-container{
	background: #17263a;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1rem;
	margin-top: 0;
}


.single_profile .id-contact-container .contact_bttns{
    display: flex;
    justify-content: center;
    gap: 40px;
}

.single_profile .id-contact-container .contact_bttns .pro_contact_mail {
    background: #fff;
	padding: 22px 32px 18px 18px;
}

.single_profile .id-contact-container .contact_bttns .pro_contact_mail.inactive {
	 background: #969799;
}


.single_profile .id-contact-container .contact_bttns .pro_contact_mail:hover{
	background-color: #1d447c;
}


.single_profile .id-contact-container .contact_bttns .pro_contact_mail .ico_mail_btn{
	background: #17263a;
	width: 50px;
    height: 50px;
}



.single_profile .id-contact-container .contact_bttns .pro_contact_mail:hover .ico_mail_btn{
	background: #fff;
}


.single_profile .id-contact-container .pro_contact_mail .ico_mail_btn img {
    width: 27px;
    filter: brightness(1000%);
}

.single_profile .id-contact-container .contact_bttns .pro_contact_mail:hover .ico_mail_btn img {
	filter: brightness(0%);
}

.single_profile .id-contact-container .pro_contact_mail .btn_text, .single_profile .id-contact-container .pro_contact_mail .text_main{
	color:#17263a;
	font-size: 24px;	
}

.single_profile .id-contact-container .pro_contact_mail:hover .btn_text, .single_profile .id-contact-container .pro_contact_mail:hover .text_main{
	color:#fff;	
}

.single_profile .id-contact-container .pro_contact_mail .text_subt{
	font-size: 14px;
	color:#17263a;
}

.single_profile .id-contact-container .contact_bttns .pro_contact_mail:hover .text_subt{
	color:#fff;
}

.single_profile .id-contact-container .id-contact-inner2 {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding-bottom: 50px;
}


.single_profile .id-contact-container .id-contact-inner2 dl:first-child{
	 border-top: solid 1px #fff;
}

.single_profile .id-contact-container .id-contact-inner2 dl {
    display: flex;
    border-radius: 0;
    background-color: transparent;
    border-bottom: solid 1px #fff;
    padding: 12px 0;
    margin: 0;
}


.single_profile .id-contact-container .id-contact-inner2 dt {
    margin: 0;
    width: 15%;
    padding-left: 12px;
    color: #fff;
    border-right:none;
	font-weight: 500;
}

.single_profile .id-contact-container .id-contact-inner2 dd {
    width: 85%;
    color: #fff;
    font-weight: 500;
}


.single_profile .id-contact-container .id-contact-inner2 .hp-yes a {
    text-decoration: none;
    color: #fff;
}


.profile-footer{
	
}
.profile-footer .post-taxonomy{
	width: 100%;
}


.comment_section .comments__textarea, .comment_section input[type=text], .comment_section input[type=email]{
	border: 1px solid #a6cbff;
    border-radius: .5rem;
	padding: .8rem 0.5rem;
}

.comment-form-url{
	display:none;
}


.comment_section .comment-respond{
	background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.comment_section .comments__area .comments__list .comment, .comment_section .comments-area .comment-list .comment{
	background: #fff;
    border-radius: 1rem;
    padding: 1rem;
	border:none;
}


.comment_section .comment-form{
	flex-wrap: wrap;
    display: flex;
	gap: 2%;
}


.comment_section .comment-notes, .comment_section .comment-form-cookies-consent, .comment_section .form-submit, .comment_section .comments__form-comment,  .comment_section .clogged-in-as{
    width: 100%;
}

.comment_section .comment-form-author, .comment_section .comment-form-email{
    width: 49%;
}

.comment_section .form-submit{
	display: flex;
	justify-content: center;
}

.comment_section .comments__submit{
	 border-radius: 1.875rem;
    font-size: 1rem;
    padding:1rem;
    transition: all .4s;
    align-items: center;
    background: linear-gradient(142deg, rgba(98, 200, 211, 1) 0%, rgba(98, 144, 211, 1) 100%);
    color: #fff;
    display: inline-block;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width:190px;
    font-weight: 500;
	letter-spacing: 0.5px;
	
}
.comment_section .comments__submit:hover{
    transform: scale(1.01);
    color: #fff;
    filter: brightness(108%);
	letter-spacing: 0.5px;
}

.comment_section .comment-meta {
    padding: 0 0.5em .25em;
    border-bottom: 1px solid var(--site-border-gray-light);
    line-height: 1.3;
    align-items: flex-start;
}



.unreg .inactive, .unreg .inactive span{
	    cursor: default;
	pointer-events: none;
}

.unreg .pro_contact_mail.inactive{
	background: #969799;
}

.unreg .pro_contact_mail.inactive .ico_mail_btn img{
	filter:brightness(0) saturate(100%) invert(67%) sepia(0%) saturate(258%) hue-rotate(31deg) brightness(95%) contrast(94%);
}

.profile_details_tab .tab-button li.inactive span{
	filter:brightness(0) saturate(100%) invert(67%) sepia(0%) saturate(258%) hue-rotate(31deg) brightness(95%) contrast(94%);
}

.profile_details_tab .tab-button{
	    cursor: default;
}


.profile_details_tab .tab-button li{
	cursor: pointer;
}


.kkmg #post-flex-sigyou, .kkmg #post-flex-consul{
	flex-direction: column;
    justify-content: center;
}


.kkmg #post-flex-sigyou img {
    max-width: 100px;
}

.kkmg .post-title h1 {
    margin: 0;
    padding-left: 0;
	padding-top: 30px;
}
	
.kkmg #post-flex-consul .post-title h1 {
    padding-top: 16px;
}


.blog_page, .kaiketsu-news{
    padding: 5.5rem 0 2.5rem 0;
}

.kaiketsu-news .top_articles-list{
	     grid-column-gap: 1.25vw;
	 	grid-row-gap:1.25vw;
        -ms-grid-columns: 1fr 2.1875vw 1fr 2.1875vw 1fr 2.1875vw 1fr;
        display: -ms-grid;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        justify-content: center;
        justify-items: center;
        padding-left: 0;
		margin-bottom: 5rem;
	
}
.kaiketsu-news .top_articles-list li{
	width: 100%;
}

.kaiketsu-news .top_articles-list a .textbox_area p{
	color:#222;
}


.top_articles-list .textbox_area .title_box {
    justify-content: right;
}


.kaiketsu-news .top_articles-list a {
    padding: 10px;
    border-radius: 0.5rem;
    background-color: #fff;
    display: block;
}



.kkmg .single_content_area{
	background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem 0;
}


.blog-h{
	border-radius: .8rem;
}



@media screen and (max-width: 1400px) {
	
header .mastkv {
    padding-top: 9rem;
    padding-bottom: 6.5rem;	
	}
	
  .top_pickup-list .useful-info-wrap {
    margin: -38px 10px 30px;
  }
  .top_pickup-list .useful-info {
    font-size: 1rem;
  }
  .top_pickup-list .acf-office {
    font-size: 0.85rem;
  }
  .top-about {
    padding: 5.625rem 3.5rem;
  }


  .mastkv button, .mastkv input, .mastkv select, .mastkv textarea {
    padding: 16px 4px 18px 16px;
    font-size: 1.05rem;
  }
  .shiconare li:last-child input[type=submit] {
    font-size: 1.05rem;
  }
	
	.top-consultation .main_title h2:before {
    width: 100px;
    height: 100px;
    margin-top: -3rem;
	}
	
	
	.top-consultation .most_viewed ul{
		    max-width: 55%;
	}
	.top-consultation .most_viewed ul li p{	
	margin: 5px;
    padding: 6px;
    font-size: 1.2rem;
	}
		
.top-consultation .consultaion_category_list ul{
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}	
.top-consultation .consultaion_category_list ul li p{ 
	margin: 0 5px 5px;
    padding: 5px 2px;
    font-size: 1rem;	
	}
}




@media screen and (min-width: 768px) {
  .top_pickup {
  /*  margin: 0 4.375rem;*/
    padding-top: 10rem;
    padding-bottom: 9.5rem;
  }
	
	.pro_list {
		padding-top: 10rem;
        padding-bottom: 5.5rem;	
	}
	
	.pro_list .content-wrapper{
	   margin:5rem auto 0;
        max-width: 100rem;
        padding: 0 5rem 12.5rem;
	}
	
	
  .content-wrapper {
	margin:5rem  4.375rem 0;
  }
	
	.subpage-wrapper{
		margin:5rem auto 0;
        max-width: 100rem;
        padding: 0 5rem;
	}
	
  .top_pickup .top_pickup-list, .latest_pro .top_pickup-list {
    grid-row-gap: 5vw;
    grid-column-gap: 2.1875vw;
    -ms-grid-columns: 1fr 2.1875vw 1fr 2.1875vw 1fr 2.1875vw 1fr;
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: center;
    justify-items: center;
    padding-left: 0;
  }
  
	.cat_page .top_pickup-list{
		  grid-row-gap: 3vw;
	}
	
	.cat_page{
		padding-top:2rem;
	}
	
	
  .pro_list .top_pickup-list{
	/*      grid-row-gap: 5vw;*/
    grid-column-gap: 2.1875vw;
    -ms-grid-columns: 1fr 2.1875vw 1fr 2.1875vw 1fr 2.1875vw 1fr;
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    justify-items: center;
    padding-left: 0;
	margin-bottom:2.1875vw;  
	  }
  
  
  .top_pickup .top_pickup-list .top_pickup-item, .latest_pro .top_pickup-list .top_pickup-item,  .pro_list .top_pickup-list .top_pickup-item {
    width: 100%;
  }


  

  .latest_pro-wrap {
   /* margin: 0 4.375rem;*/
    padding-top: 10rem;
    padding-bottom: 15rem;
  }
  .top-about {
    border-radius: 2.5rem;
    display: flex;
    justify-content: center;
    margin-top: -2.5rem;
    padding: 5.625rem 9.6875rem;
  }
  .top-about .top-about-wrapper {
    max-width: 81.25rem;
    width: 100%;
  }

  .top-about .top-about-wrapper .top-about-description {
    width: 62%;
  }
  .search_cat {
   /* margin: 0 4.375rem;*/
    padding-top: 10rem;
    padding-bottom: 7.25rem;
  }
  .search_cat .content-wrapper {
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
  }
}



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

	
	.pro_list .top_pickup-list{
	    display: grid;
        grid-template-columns: 1fr 1fr;
		grid-row-gap: 2.1875vw;
	}
	
	
}	


@media screen and (max-width: 768px) {
	
	
	    .content-wrapper, .subpage-wrapper {
        margin: 2rem .71875rem 2.25rem;
	}
	
	.profile_introduction{
		flex-direction: column;
	}
	
	
	.profile_introduction .profile_image {
    max-width: 100%;
    display: flex;
    justify-content: center;
	}
	
	
	.profile_introduction .profile_intro_right {
	    width: 100%;
    	flex-direction: column;
	}
	
	.profile_introduction .profile_intro_text {
    width: 100%;
	}
	
	.profile_introduction .id-shigyoumei{
	max-width: fit-content;
	}
	
	.id-shigyou-bengo p, .id-shigyou-tyusyo p, .id-shigyou-zeiri p, .id-shigyou-syarou p, .id-shigyou-gyousei p, .id-shigyou-shihou p, .id-shigyou-kaikei p, .id-shigyou-benri p, .id-shigyou-fudo p{
		padding: 7px 10px!important;
	}
		
	.profile_introduction .expert_area ul {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
	}
	
	

	
	
	.profile_introduction .contact-inner-top{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 2%;
}
	
	
	.profile_introduction .pro_contact_mailbox{
		width: 48%;
	}
	
	.pro_contact_tel {
		width: 48%;
    	margin: 0;
	}
	
	
	
	.profile_details_tab{
    	background: #fff;
    	border-radius: 1rem;
    	padding: .5rem;
	}
	
	.profile_details_tab .tab-button li{
		margin: 2px;
	}
	
	.profile_details_tab .tab-button li span{
		display: flex;
		flex-direction: column;
		text-align: center;
		align-items: center;
	}
	
	
	.profile_details_tab .tab-button li span::before {
    	position: relative;
		left: auto;
	}
	
	.profile_career_details dl{
		 flex-direction: column;
	}
	

	.profile_career_details dt, .profile_career_details dd {
	    width: 100%;
		
	}
	
	.profile_career_details dt{
		padding: 0 0 8px 0;
	}
	
	.profile_career_details dd {
		padding: 8px 0;
		border-left:none;
		border-top:2px solid #61c6d2;
	}
	
	
	
	.profile_career_details dl {
    padding: .5rem;
	}
	
	
	.single_profile .id-contact-container .contact_bttns .pro_contact_mail {
	  padding: 12px 22px 12px 12px;
	}
	.single_profile .id-contact-container .contact_bttns .pro_contact_mail .ico_mail_btn {
	  width: 40px;
	  height: 40px;
	}
	.single_profile .id-contact-container .pro_contact_mail .btn_text, .single_profile .id-contact-container .pro_contact_mail .text_main {
	  font-size: 18px;
	}
	.single_profile .id-contact-container .id-contact-inner2 dl {
	  flex-direction: column;
	}
	.single_profile .id-contact-container .id-contact-inner2 dt {
	  width: 100%;
	  border-bottom: none;
	  font-weight: 600;
	  padding-left: 0;
	}
	.single_profile .id-contact-container .id-contact-inner2 dd {
	  width: 100%;
	}
	.pro_list .intro-tag {
	  margin-top: 0 !important;
	}
	.pro_list .top_pickup-list {
	 gap: 3vw;
	display: grid;
	margin-bottom: 5vw;
	grid-template-columns: 1fr;
	}
	.pro_list {
	  padding-top: 3rem;
	  padding-bottom: 2.5rem;
	}
	.mastkv .container h2 {
	  font-size: 1.75rem;
	  margin-top: 1.7rem;
	}
	.mastkv .container .desc {
	  font-size: 1rem;
	}
	.shiconare ul li {
	  width: 48% !important;
	  margin-bottom: 10px!important;	
	}
	.shiconare li:last-child {
	  width: 100% !important;
	}
	header .mastkv {
	  padding-top: 3rem;
	  padding-bottom: 2.5rem;
	}
	
	.top_pickup, .latest_pro, .search_cat, .top_articles, .top_testimonials{
		padding-top: 4rem;
		padding-bottom: 2.25rem;
	}
	
	.top_pickup .top_pickup-list, .latest_pro .top_pickup-list{
		grid-row-gap: 5vw;
	}
	
	.top_pickup .top_pickup-list .top_pickup-item, .latest_pro .top_pickup-list .top_pickup-item{
		margin-bottom: 3.5rem;
	}
	
	.top_pickup .top_pickup-list .top_pickup-item .pro_tag, .latest_pro .top_pickup-list .top_pickup-item .pro_tag {
    	margin-top: 6px;
	}
	
	.top_pickup .top_pickup-list .top_pickup-item a, .latest_pro .top_pickup-list .top_pickup-item a{
		display: flex;
    	flex-direction: column-reverse;
	}
	
	
	.top_pickup-list .useful-info-wrap{
		display:none;
	}
	
	
	 .top-about {
        padding: 2.5rem 1.25rem;
    }
	
	.top-about .top-about-wrapper{
		flex-direction: column;
	}
	
	
	.top-about .top-about-wrapper .top-about-title {
    text-align: left;
    margin-bottom: .85rem;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 0;
    width: 100%;
}
	
	
	.top-about .top-about-wrapper .top-about-description p.top-about-text {
    font-size: 1rem;
    line-height: 1.5;
}
	
	.main_title h2{
		    font-size: 1.85em;
	}
	
	.main_title p {
    font-size: 1.15rem;
	}
	
	
	.search_cat .kensaku-left {
    width: 95%;
}
	.search_cat .kensaku-right {
    width: 95%;
}

    .kensaku-left {
        display: flex;
        flex-direction: column-reverse;
    }
	
	.pro-badgers{
		grid-column-gap: 1.5vw;
	}
	
	.pro-badgers li a .tag {
    padding: 2px;
    font-weight: 600;
}
	
	
.pro-badgers .img-text {
	    padding: 5px;
	}
	
	.pro-badgers .img-text p {
		font-size: 14px;
	}
	
	
	.top-consultation .main_title {
    margin-bottom: 2.5rem;
}
	
	
	.top-consultation {
    padding-bottom: 2.25rem;
	}
	
	    .top-consultation .most_viewed ul {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
			display: grid;
			max-width: 100%;
    }
	
	
	.top_articles .top_articles-list{
		    display: flex;
    flex-direction: column;
    grid-row-gap: 6.10vw;
		margin-bottom: 2rem;
	}
	
	
	.join_kaiketsu {
    background: #17263a;
    padding-top: 3.25rem;
    padding-bottom: 3rem;
}
	
	.join_kaiketsu-wrapper {
    margin: 0 2.375rem 0;
}
	
	.join_kaiketsu .join_intro p {
    font-size: 1.15rem;
	}
	
	.join_kaiketsu .cover-image{
		    padding-top: 10px;
	}
	
	.join_kaiketsu .cover-image img {
    width: 60%;
}
	
	.join_kaiketsu .topbenifits{
		    gap: 1rem;
    margin-bottom: 1rem;
    flex-direction: column;
	}
	
	
	.top_testimonials .testimonials_list{
		display: flex;
   		flex-direction: column;
		margin-bottom: 20px;
	}
	
	.top_testimonials .testimonials_list_item{
		flex-direction: column;
	}
	
	.blog_page .top_articles-list, .kaiketsu-news .top_articles-list{
	grid-template-columns: 1fr;
	}

	
	
	
}




	
	@media screen and (max-width: 520px) {
		
	.profile_introduction .contact-inner-top{
		flex-direction: column;
	}
	
	
	.profile_introduction .pro_contact_mailbox{
		width: 100%;
		margin-bottom: 10px;
	}
	
	.pro_contact_tel {
		width: 100%;
    	margin: 0;
	}
	
		
.single_profile .id-contact-container .contact_bttns {
    gap: 10px;
    align-items: center;
		}
		
		
    .top-consultation .most_viewed ul {
        grid-template-rows: repeat(3, 1fr);
        display: grid;
        max-width: 40%;
    }
		
		
}
	
	
	
	
