@charset "UTF-8";
/* --------- fonts --------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho&display=swap');

body {
  font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', 'Osaka', sans-serif;
  font-weight: 500;
}



@media (max-width: 1200px) and (min-width: 769px) {
  html {
    font-size: 16px;
    font-size: calc((100vw / 120) * 1.6);
  }

  p{
    font-size: max(1rem, 16px);
  }

  ul li{
    font-size: max(1rem, 14px);
  }
  table{
    font-size: max(1rem, 14px);
  }
}

@media (max-width: 390px) {
  html {
    font-size: 16px;
    font-size: calc((100vw / 39) * 1.6);
  }
}

.u-rl{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  /* text-orientation: upright; */
}

@media (max-width: 767px) {
  .u-rl {
    -ms-writing-mode: initial;
    writing-mode: initial;
    /* text-orientation: upright; */
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .c-lead{
    font-size: max(1rem, 16px)!important;
  }
}

/* --------- header --------- */
.l-header {
  padding: 0 0 0 20px;
}

@media (min-width: 1024px) {
  .l-header {
    /* height: 90px; */
    padding: 10px 0;
    box-shadow: none;
  }
}

body.home .l-header {
  display: none;
}

@media (max-width: 1023px) {
  body.home .l-header {
    display: block;
  }
  .l-header .c-fluid-container{
    padding-left: 0;
  }
}

body.home .l-header.is-active{
  display: block!important;
}


.c-list-shape{
  list-style: none;
  padding-left: 0;
}

.c-list-shape li{
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.c-list-shape li::before{
  content: '◇';
}

.c-list-shape.bg li::before {
  content: '◆';
}


@media (max-width: 1024px) {
  .c-drawer__menu .menu-item.nav-contact img {
    width: 22px!important;
    position: relative;
    margin-right: 4px;
  }
}


/* --------- footer --------- */
.l-footer{
  z-index: 1;
  overflow: initial;
}
.l-footer__header {
  display: none;
}

.l-footer .c-row{
  justify-content: space-between;
}

.l-footer .l-footer-widget-area__item:first-child{
    --_item-width: 100%;
}

.l-footer .l-footer-widget-area__item:nth-child(2) {
  --_item-width: 30%;
}

.l-footer .l-footer-widget-area__item:nth-child(3){
  --_item-width: 60%;
}

.l-footer__logo {
  margin: 0 auto 0 0 !important;
  width: 80%;
  max-width: 380px;
}

.l-footer__nav ul.menu {
  display: flex;
  gap: 2rem;
}

.l-footer__nav ul.menu li {
  margin-top: 0 !important;
}

.l-footer--footer-2 .l-footer__body{
  border-top: none;
}
/* 
@media (max-width: 1024px) {
  .l-footer__menu {
    justify-content: flex-start;
  }
} */


.l-footer .menu .menu-item{
  margin-top: 0!important;
}

.l-footer__address .wp-block-group:first-child {
  padding-right: 20px;
}

.l-footer .l-footer__footer {
  background-color: #6A3300;
  color: #fff;
  text-align: center;
  padding: 16px;
}

.l-footer .l-footer__footer .c-row--middle {
  justify-content: center;
}

.l-footer__sns ul.menu{
  display: flex;
  gap: 10px;
}

.l-footer__sns ul.menu li{
  width: 30px;
}


#page-top {
  right: 20px;
  bottom: 20px;
}

.c-page-top {
  border-radius: 50%;
  border: 1px solid #fff;
}

.p-contact .c-tel p{
  margin: 0!important;
  line-height: 1;
}

.p-contact .c-tel a{
  text-decoration: none!important;
  color: #333!important;
}

.p-contact__list{
  justify-content: center;
}

.p-contact{
  overflow: initial;
}

.p-contact .wp-block-heading{
  margin-top: 0!important;
}

.p-contact .c-ttl-en:before{ 
  height: 60px;
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 992px) {
  .l-footer__nav ul.menu {
    gap: 10px;
  }
}

@media (max-width: 781px) {
  .l-footer .l-footer-widget-area__item:nth-child(1) {
    display: none;
  }
  .p-contact .c-tel p{
    text-align: center;
  }
  .p-contact__list.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column img{
    margin: 0 auto;    
  }

  .p-contact__list .wp-block-image{
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .l-footer .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
  }

  .l-footer .menu li{
    width: 50%;
  }

  .p-contact .c-ttl-en:before {
    height: 60px;
    top: -80px;
  }
  .p-contact__list{
    padding-right: 0!important;
    max-width: 540px;
    margin: 0 auto;
    justify-content: center;
  }
  .p-contact__list .wp-block-column:first-child p{
    font-size: 2.25rem!important;
    text-align: center;
  }

  .p-contact__list .wp-block-column:first-child p .sme-font-size{
    font-size: 1.125rem!important;
  }
  .l-footer .l-footer-widget-area__item:nth-child(2) {
    --_item-width: 100%;
  }

  .l-footer .l-footer-widget-area__item:nth-child(3) {
    --_item-width: 100%;
  }

  .l-footer .l-footer-widget-area__item:nth-child(3) .wp-block-snow-monkey-blocks-grid{
    --smb-grid--columns: 1!important;
    --smb-grid--rows: 1!important;
  }
}

@media (max-width: 640px) {
  .p-contact__btn {
    flex-direction: column;
  }
}

@media (min-width: 640px) {
  .c-page-top {
    height: 60px;
    width: 60px;
  }
}

/* --------- side btn --------- */
.p-side__btn{
  position: fixed;
  top: 30%;
  right: 0;
  z-index: 9;
}

.p-side__btn figure{
  margin-top: 10px!important;
}

@media (max-width: 992px) {
  .p-side__btn {
    display: none;
  }
}

/* --------- btn --------- */

.c-btn-more{
  justify-content: flex-end;
  position: relative;
}

.c-btn-more.smb-buttons>.smb-btn-wrapper{
  min-width: 148px;
}
.c-btn-more .smb-btn-wrapper{
  position: relative;
}

.c-btn-more .smb-btn-wrapper::after{
  content: '';
  display: inline-block;
  width: 142px;
  height: 20px;
  background: url('img/icon_arrow.png') no-repeat right bottom/100%;
  position: absolute;
  bottom: 5px;
  left: 0;
  transition: right .3s ease;
  pointer-events: none;
}

.c-btn-more:hover::after{
  left: 5px;
}
.c-btn-more>.wp-block-button.has-custom-width {
  max-width: 320px;
}

.wp-block-buttons .wp-block-button__link{
  position: relative;
}

.c-btn-more a {
  font-size: 1.25rem;
}

.c-btn-auto>.wp-block-button.has-custom-width {
  flex-basis: auto;
  width: auto;
}


.wp-element-button {
  position: relative;
}

@media (max-width: 768px) {
  .c-btn-more>.wp-block-button.has-custom-width {
    max-width: 100%;
  }
  .c-btn-auto>.wp-block-button.has-custom-width {
    width: 100%;
  }
}


/* --------- img text on --------- */
.c-img-text{
  font-family: "Roboto", serif;
  font-weight: 400;
  mix-blend-mode: overlay;
  line-height: 1;
}


.c-img-wrap{
  position: relative;
}

.c-img-wrap .c-img-text{
  position: absolute;
  bottom: 0;
  left: 0;
  mix-blend-mode: overlay;
  line-height: 1;
}
.c-img-wrap .c-img-text.right {
  left: initial;
  right: 0;
}

/* --------- heading --------- */

/* .c-heading .smb-section__inner {
  max-width: 90%;
} */

/* .c-heading .c-container {
  margin-left: 0;
  width: 90%;
  max-width: 1000px;
  max-width: max(52.03vw, 740px);
} */

body.page .c-entry__header {
  display: none;
}

body.page .l-contents__inner:last-child{
  padding-top: 0!important;
}

.c-heading{
  margin-left: 6rem!important;
}

.c-heading-category{
  padding: 0;
  align-items: flex-start;
}

.c-heading-ttl {
  justify-content: flex-end;
  align-items: flex-start;
  letter-spacing: 0.025em;
  padding-right: 3.8rem;
}
.c-heading-en{
  letter-spacing: 0.02em;
}

.c-heading-ja{
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media (max-width: 1440px) {
  .c-heading {
    margin-left: 20px !important;
  }
}


@media (max-width: 768px) {
  .c-heading {
    --smb-section--min-height: 240px !important;
    margin-left: 0!important;
  }

  .c-heading-ttl{
    flex-direction: column-reverse;
    gap: 8px;
    padding: 20px;
  }

  .c-heading-en {
    padding: 5px 10px!important;
    font-size: 1rem!important;
    writing-mode: initial;
  }
  .c-heading-ja {
    padding: 5px 10px !important;
    font-size: 1.5rem !important;
    writing-mode: initial;
  }

  .u-sp-16{
    font-size: 1rem!important;
  }
  .u-sp-14 {
    font-size: 0.875rem !important;
  }
  .u-sp-center{
    text-align: left;
  }
}

/* --------- breadcrumb --------- */

body.page .p-breadcrumbs-wrapper {
  display: none;
}

body.page .p-page-breadcrumbs{
  margin-top: 10px;
}

body.page .p-page-breadcrumbs .p-breadcrumbs-wrapper {
  display: block;
}
/* 
.c-breadcrumbs__item:nth-child(n+2):before {
  color: #008cd5;
} */

body.page .p-page-breadcrumbs .p-breadcrumbs-wrapper{
  display: block!important;
}

body.single .p-breadcrumbs-wrapper::before{
  content: '';
  display: block;
  width: 100vw;
  height: 100%;
  background-color: #f2f2f2;
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
}

body.single .p-breadcrumbs-wrapper{
  position: relative;
  margin-bottom: 80px;
}

body.single .p-breadcrumbs-wrapper .c-breadcrumbs{
  position: relative;
}


/* --------- text en (img) --------- */


/* ======== トップページ ======= */
/* body.home .l-header {
  background: none;
  position: fixed;
  width: 100%;
  transition: 0.3s ease;
}

body.home .l-header .c-site-branding__title .custom-logo {
  filter: brightness(0) invert(1);
}

body.home .p-global-nav .c-navbar__item>a {
  color: #fff;
}

html[data-scrolled="true"] body.home .l-header {
  background-color: #fff;
}

html[data-scrolled="true"] .p-global-nav .c-navbar__item>a {
  color: #333;
}

html[data-scrolled="true"] body.home .l-header .c-site-branding__title .custom-logo {
  filter: none;
}

.p-section-front-page-content {
  padding-top: 0;
} */


/* --------- title --------- */
.c-ttl{
  position: relative;
  margin-bottom: 20px;
  z-index: 1;
}

.c-ttl-en{
  line-height: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.c-ttl-en::before{
  content: '';
  width: 1px;
  height: 30px;
  display: block;
  background-color: #067e60;
  margin: 0 auto;
}


@media (max-width: 768px) {
  .c-ttl-en {
    line-height: 1;
    font-size: 1rem!important;
  }

  .c-ttl-ja {
    font-size: 1.625rem!important;
  }
  
}


/* --------- img --------- */
.c-img-wide{
  width: auto;
  max-width: initial;
  padding-right: 3.75rem;
  margin: 0!important;
  margin-right: calc(50% - 50vw)!important;
}

@media (max-width: 768px) {
  .c-img-wide {
    padding-right: 0;
  }
}

/* ---- top --- */
.p-top-menu.wp-block-navigation .wp-block-navigation-item__content:hover{
  color: #098161;
}

.p-top-header {
  position: sticky;
  top: 0;
  left: 0;
  padding-left: 100px;
  padding-right: 60px;
}

@media (max-width: 1023px) {
  .p-top-header{
    display: none!important;
  }
}
/* ---- mv --- */
.p-top-mv{
  position: relative;
  width: 100%;
  padding-top: 0;
}

.p-top-mv .smb-section__inner>.c-container {
  padding-left: 0 !important;
  padding-right: 0!important;
}

.p-top-mv__img{
  width: calc(100% - 6rem);
  aspect-ratio: 1820/820;
  /* min-height: 56.25rem; */
  margin-right: 0;
  margin-left: auto;
}

.p-top-mv__img img {
  width: 100%;
  height: 100%;
  
  object-fit: cover;
}

.p-top-mv__ttl{
  justify-content: flex-end;
  align-items: flex-start;
  padding-right: 10rem;
  letter-spacing: 0.025em;
  margin-bottom: 4rem!important;
}


.p-top-mv__scroll{
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 45%;
  left: 20px;
  transform: scale(-1,-1);
  z-index: 1;
  gap: 4px;
  font-size: 0.75rem;
}

.p-top-mv__scroll::before {
  content: '';
  width: 1px;
  height: 120px;
  display: block;
  background-color: #067e60;
}

.p-top-mv__scroll.is-active{
  color: #fff;
}
.p-top-mv__scroll.is-active::before{
  background-color: #fff;
}


@media (max-width: 768px) {
  .p-top-mv .u-rl {
    -ms-writing-mode:initial;
    writing-mode: initial;
  }

  .p-top-mv__img {
    width: calc(100% - 20px);
    aspect-ratio: 1820/820;
  }

  .p-top-mv__ttl {
    flex-direction: column;
    padding-right: 0;
    letter-spacing: 0.025em;
    gap: 10px;
    margin-bottom: 0!important;
  }

  .p-top-mv__ja{
    font-size: 1.375rem!important;
    padding: 4px 10px!important;
  }
  .p-top-mv__en {
    font-size: 1rem !important;
    padding: 4px 10px !important;
  }

  .p-top-mv__scroll {
    top: initial;
    left: initial;
    bottom: 20px;
    right: 0;
    transform: scale(-1, -1);
    z-index: 1;
    gap: 4px;
    writing-mode: vertical-rl!important;
  }

  .p-top-mv__scroll::before {
    height: 60px;
  }
}

/* ------ top about ----- */

.p-top-about{
  
  position: relative;
  z-index: 1;
}

.p-top-about__block{
  flex-direction: row-reverse;
}

.p-top-about .c-ttl{
  display: flex;
  flex-direction: row-reverse;
  margin: 0!important;
}

.p-top-about .c-ttl h2{
  margin: 0 !important;
}

.p-top-about .wp-block-column:first-child{
  display: flex;
  flex-direction: row-reverse;
}

.p-top-about .wp-block-column .desc:last-child{
  margin-right: 20px!important;
}

.p-top-about__text{
  display: flex;
  flex-direction: row-reverse;
  margin: 0 !important;
  max-height: 450px;
  gap: 8px;
  margin-right: 40px!important;
  margin-top: 40px!important;
}


.p-top-about .c-ttl-en{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 !important;
}

.p-top-about .c-ttl-en::before{
  content: '';
  width: 1px;
  height: 50px;
  display: block;
  background-color: #067e60;
}


.p-top-about__img{
  position: relative;
}

.p-top-about__img figure:first-child{
  position: absolute;
  width: 55%;
  max-width: 440px;
  left: 18%;
}

.p-top-about__img figure:nth-child(2){
  position: relative;
  transform: translateY(50%);
  width: 35%;
  max-width: 280px;
  margin: 0!important;
}

.p-top-about__en{
  position: absolute;
  top: 15%;
  left: -8%;
}

@media (max-width: 1360px) {
  .p-top-about__en {
    position: absolute;
    top: 15%;
    left: -10px;
    width: 58%;
  }

  .p-top-about__img {
    padding-left: 20px;
  }
  .p-top-about .wp-block-column:first-child{
    padding-right: 4rem;
  }
}

@media (max-width: 781px) {
  .p-top-about__block.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: initial !important;
    width: auto;
  }
}

@media (max-width: 768px) {
  .p-top-about {

    position: relative;
    z-index: 1;
  }

  .p-top-about .u-rl {
    -ms-writing-mode: initial;
    writing-mode: initial;
    /* text-orientation: upright; */
  }

  .p-top-about__img {
    padding-left: 0;
  }

  .p-top-about .wp-block-column:first-child {
    padding-right: 0;
  }
  .p-top-about__block {
    flex-direction: row-reverse;
    padding: 0 20px;
  }

  .p-top-about .c-ttl {
    display: block;
    flex-direction: row-reverse;
    margin: 0 !important;
    text-align: center;
  }

  .p-top-about .c-ttl h2 {
    margin: 0 !important;
    font-size: 1.625rem!important;
    text-align: center;
  }

  .p-top-about .wp-block-column:first-child {
    display: block;
    flex-direction: row-reverse;
  }

  .p-top-about .wp-block-column .desc:last-child {
    margin-right: 0 !important;
  }

  .p-top-about__text {
    display: block;
    flex-direction: row-reverse;
    margin: 0 !important;
    max-height: 450px;
    gap: 8px;
    margin-right: 0 !important;
    margin-top: 40px !important;
  }


  .p-top-about .c-ttl-en {
    display: flex;
    flex-direction: column;
  }

  .p-top-about .c-ttl-en::before {
    height: 30px;
  }


  .p-top-about__img {
    position: relative;
    margin-bottom: 2rem!important;
  }

  .p-top-about__img .wp-block-group{
    display: flex;
    flex-direction: row-reverse;
  }

  .p-top-about__img figure:first-child {
    position: static;
    width: auto;
    max-width: 100%;
    padding-right: 16px;
  }

  .p-top-about__img figure:first-child img{
    
  }

  .p-top-about__img figure:nth-child(2) {
    position: relative;
    transform: translateY(50%);
    width: 60%;
    max-width: 280px;
    margin: 0 !important;
    transform: translate(1.5rem, 45%);
  }


  .p-top-about__en {
    position: absolute;
    top: -20%;
    left: 20px;
    width: 76%;
  }
}

/* ---- top service --- */
.p-top-service__list{
  margin-bottom: 60px!important;
}
.p-top-service__list .wp-block-column{
  position: relative;
}
.p-top-service__list .wp-block-heading{
  padding: 0 8px;
  font-weight: 400;
}

.p-top-service__en{
  position: absolute;
  bottom: 4%;
  right: -4%;
  width: 70%;
  max-width: 420px;
}



@media (max-width: 1380px) {
  .p-top-service__en {
    width: 45%;
    bottom: 2%;
  }
}


@media (max-width: 781px) {
  .p-top-service__list.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: 48% !important;
  }
}

@media (max-width: 640px) {
  .p-top-service__list.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: 100% !important;
  }
  .p-top-service__list {
    margin-bottom: 0 !important;
  }

  .p-top-service__en {
    width: 60%;
    bottom: 2%;
  }
}


/* ---- top works --- */
.p-top-works__list .c-entries{
  flex-wrap: nowrap;
}

.p-top-works__block{
  position: relative;
}


.p-top-works__en{ 
  position: absolute;
  top: 12%;
  left: -10%;
  width: 28%;
  max-width: 450px;
  pointer-events: none;
  
}

.c-entries .c-entry-summary__figure .c-entry-summary__term{
  right: initial;
  left: 5px;
  top: 5px;
  background-color: #333;
}

@media (min-width: 640px) {
  .c-entries .c-entry-summary__figure .c-entry-summary__term {
    font-size: max(0.9375rem, 12px);
  }
}

@media (max-width: 639px) {
  .c-entries .c-entry-summary__figure .c-entry-summary__term {
    font-size: 12px;
  }
}



.c-entries .c-entry-summary__figure{
  margin-bottom: 10px;
}

.c-entries .c-entry-summary__title{
  font-size: 1rem;
}

body.archive .c-entries .c-entry-summary__title .new-mark{
  display: none;
}

.c-entries .c-entry-summary__term--category-2{
  display: none;
}

@media (max-width: 1380px) {
  .p-top-works__en {
    left: -10px;
    width: 32%;
  }

}

@media (max-width: 781px) {
  .p-top-works__list .c-entries {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .p-top-service__list.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: 100% !important;
  }
}

@media (max-width: 640px) {
  .p-top-works__list .c-entries {
    flex-wrap: wrap;
  }
  .p-top-works__list .c-entries .c-entries__item{
    width: 100%;
    --entries--item-width: 100%;
  }
  .p-top-works__en {
    top: initial;
    bottom: 4%;
    left: initial;
    right: 0;
    width: 70%;
  }
}


/* ---- top news --- */
.p-top-news .c-ttl-en{
  text-align: left;
  display: block;
}
.p-top-news .c-ttl-en::before{
  display: none;
}

.p-top-news .c-entries {
  border-top: none;
}

.p-top-news .c-entries__item {
  border-color: #888888;
}

.p-top-news .c-meta__item--published {
  color: #333;
}


.p-top-news__list .new-mark{
  background-color: #098161;
  color: #fff;
  display: inline-block;
  padding: 2px 6px;
  margin-left: 8px;
  font-size: 0.75rem;
}

.p-top-news__list .c-entries .c-entry-summary__title{
  font-size: max(1rem, 14px);
}

/* ---- top links --- */
.p-top-links__list .wp-block-column {
  position: relative;
  transition: 0.3s ease;
}

.p-top-links__list .wp-block-heading {
  position: absolute;
  top: -30px;
  right: 20px;
  padding: 8px;
  font-weight: 400;
}


.p-top-links__list .wp-block-column:hover{
  opacity: 0.7;
}

@media (max-width: 781px) {
  .p-top-links__list.wp-container-core-columns-is-layout-4 {
    flex-wrap: nowrap!important;
  }
}

@media (max-width: 640px) {
  .p-top-links__list.wp-container-core-columns-is-layout-4 {
    flex-wrap: wrap !important;
  }
  .p-top-links__list{
    gap: 60px;
  }

  .p-top-links__list .wp-block-image img{
    width: 100%;
  }
  .p-top-links__list .u-rl{
    writing-mode: vertical-rl;
    right: initial;
    left: 20px;
  }
}



/* ======== 下層ページ ======= */
.l-contents__inner {
  margin-top: 0;
}

/* ---- page feature --- */
.p-feature__container .p-feature__block{
  overflow: initial;
}

.p-feature__container .p-feature__block .block-img{
  width: auto;
  max-width: initial;
  padding-right: 60px;
  margin: 0 !important;
  margin-right: calc(50% - 50vw) !important;
}

.p-feature__container .p-feature__block:nth-child(even){
  flex-direction: row-reverse;
}

.p-feature__container .p-feature__block:nth-child(even) .block-img{
  width: auto;
  max-width: initial;
  padding-left: 60px;
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
}


/* ---- page company --- */
.p-message__block{
  position: relative;
  z-index: 1;
}

.p-message__block .c-text-en{
  position: absolute;
  right: 0;
  bottom: -20%;
}
@media (max-width: 768px) {
  .p-message__block .c-text-en {
    width: 50%;
    right: -6px;
    bottom: -12%;
  }
}

.p-policy__block {
  position: relative;
  z-index: 1;
}

.p-policy__box{
  margin-top: -24px!important;
}

.p-policy__block .c-text-en {
  position: absolute;
  left: 0;
  top: 10%;
}

@media (max-width: 768px) {
  .p-policy__box {
    padding-right: 16px!important;
    padding-left: 16px !important;
  }
  .p-policy__block .c-text-en {
    width: 34%;
    left: -20px;
    top: 0%;
  }
}

@media (max-width: 767px) {
  .p-policy__block .c-text-en {
    width: 34%;
    left: initial;
    top: -10px;
    position: relative;
    margin: 0 0 0 auto;
    margin-right: 0!important;
  }
}

.p-policy__list{
  list-style-type: none;
  padding-left: 0;
}



/* table */
.p-outline-tb.wp-block-table td {
  border-color: #c9c9c9;
  padding: 1rem 2rem !important;
  background-color: #fff;
}


.p-outline-tb.wp-block-table td:first-of-type {
  background-color: #f2f2f2;
  border-left: none;
  border-right: none;
  width: 30%;
  border-color: #ddd;
}

@media (max-width: 767px) {
  .p-outline-tb.wp-block-table td {
    font-size: 1rem;
    padding: 10px 16px !important;
  }
}

.p-outline-tb.wp-block-table td:last-of-type {
  border-right: none;
}


.p-service__list .wp-block-column {
  border-radius: 16px;
  position: relative;
}

.p-business__block .smb-media-text {
  overflow: initial;
}


.p-company__outline .c-text-en {
  position: absolute;
  right: -10px;
  bottom: 0;
}
@media (max-width: 768px) {
  .p-company__outline .c-text-en {
    width: 40%;
    right: -16px;
    bottom: -4%;
    z-index: 1;
  }
}

.p-company__history .c-text-en{
  position: absolute;
  right: -10px;
  bottom: 0%;
  width: 22%;
}
@media (max-width: 768px) {
  .p-company__history .c-text-en {
    width: 42%;
    right: -6px;
    bottom: -2%;
    width: 44%;
  }
}
.p-ouline__list .c-row .c-row__col--md-3-4{
  position: relative;
  padding: 10px;
  margin-bottom: 0!important;
}

.p-ouline__list .c-row .c-row__col--md-3-4:after{
  content: ''; 
  display: block;
  width: 1px;
  height: 100%;
  background-color: #078060;
  position: absolute;
  top: 20px;
  left: -12px;
}


.p-ouline__list .smb-information__item{
  overflow: initial;
}

.p-ouline__list .smb-information__item:last-child .c-row .c-row__col--md-3-4::after{
  display: none;
}


.p-ouline__list.smb-information .smb-information__item__label{
  display: block;
}

.p-ouline__list .c-row .c-row__col--md-1-4 {
  position: relative;
  padding: 10px;
  margin-bottom: 0 !important;
  font-size: 1.25rem;
}

.p-ouline__list .c-row p{
  font-size: 1.25rem;
  padding-left: 20px;
}

@media (min-width: 640px) {
  .p-ouline__list .c-row .c-row__col--md-1-4 {
    --_item-width: 16%;
  }
}

.p-ouline__list .c-row .c-row__col--md-1-4::before{
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #078060;
  position: absolute;
  top: 18px;
  right: 4px;
}

@media (max-width: 639px) {

  .p-ouline__list .c-row .c-row__col--md-1-4{
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 28px;
  }

  .p-ouline__list .c-row{
    margin-right: 0!important;
    margin-left: 0!important;
  }
  
  .p-ouline__list .c-row .c-row__col--md-3-4:after {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background-color: #078060;
    position: absolute;
    top: 8px;
    left: 2px;
  }

  .p-ouline__list .smb-information__item:last-child .c-row .c-row__col--md-1-4:after {
    display: none;
  }
  .p-ouline__list .c-row .c-row__col--md-1-4:after {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background-color: #078060;
    position: absolute;
    top: 8px;
    left: 2px;
  }
  .p-ouline__list .c-row .c-row__col--md-1-4::before {
    top: 8px;
    left: -4px;
    right: initial;
  }

  .p-ouline__list .c-row p{
    font-size: 1rem;
  }
}


.p-company-access .c-text-en{
  position: absolute;
  right: 0;
  bottom: 0;
}
@media (max-width: 768px) {
  .p-company-access .c-text-en {
    width: 40%;
    right: 0;
    bottom: -4%;
  }
}

.p-company-access iframe{
  margin: 0 auto;
  height: auto;
  width: 100%;
  aspect-ratio: 1720/600;
  border: 1px solid #078060!important;
}


@media (max-width: 768px) {
  .p-company-access iframe {
    aspect-ratio: 400/320;
  }
}


.p-access__link a{
  text-decoration: none;
}

.p-access__address{
  max-width: 1200px;
  margin: 0 auto;
}

.p-access__link a{
  border-bottom: 1px solid #078060;

}

/* ---- page service --- */
.c-has-triangle {
  position: relative;
}

.c-has-triangle::before {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-color: #edf6f4;
  position: absolute;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
}

.p-service__links{
  display: flex;
  justify-content: center;
  list-style: none;
  padding-left: 0;
}

.p-service__links li{
  list-style: none;
  margin-top: 0!important;
  border-right: 1px solid #333;
  line-height: 1;
}

.p-service__links li:first-child{
  border-left: 1px solid #333;
}

.p-service__links li a{
  padding: 0 20px;
  text-decoration: none;
}

.p-service__ttl{
  display: flex;
  border-left: 5px solid #333333;
  padding-left: 10px;
}

.p-service__ttl .en{
  color: #c9c9c9;
}


.wp-block-button.is-style-outline .wp-block-button__link{
  max-width: 300px;
}

@media (max-width: 768px) {
  .wp-block-button.is-style-outline .wp-block-button__link {
    display: block;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
}

.wp-block-button.is-style-outline .wp-block-button__link::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  mask-repeat: no-repeat;
  mask-size: 100%;
  mask-position: top right;
  background-color: #333;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}


.p-service__flow{
  
}

.p-service__flow .c-row .c-row__col--md-1-3 {
  position: relative;
  padding: 10px;
  margin-bottom: 0 !important;
}

.p-service__flow .c-row .c-row__col--md-1-3:after {
  content: '';
  display: block;
  width: 1px;
  height: 90%;
  background-color: #078060;
  position: absolute;
  top: 20px;
  left: -12px;
}

.p-service__flow .c-row .c-row__col--md-1-3::before {
  content: '♦︎';
  color: #078060;
  display: block;
  position: absolute;
  top: 6px;
  left: -20px;
  font-size: 16px;
}

.p-service__flow .c-row .c-row__col--md-2-3{
  border-left: 1px solid #c9c9c9;
}


.p-service__flow .smb-information__item {
  overflow: initial;
}

.p-service__flow .smb-information__item:last-child .c-row .c-row__col--md-2-3::after {
  display: none;
}

.p-service__flow.smb-information .smb-information__item__body{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.p-service__flow.smb-information .smb-information__item__body p{
  margin: 0!important;
  line-height: 1.1;
}

.p-service__flow.smb-information .smb-information__item__body p{
  font-size: 1rem;
}


@media (max-width: 768px) {
  .c-has-triangle {
    padding: 30px 20px!important;
  }

  .c-has-triangle::before {
    width: 30px;
    height: 30px;
  }
  .p-service__links {
    flex-wrap: wrap;
    gap: 24px 0;
  }

  .p-service__links li {
    width: 50%;
    text-align: center;
  }

  .p-service__links li:first-child {
    border-left: 1px solid #333;
  }

  .p-service__links li:nth-child(odd){
    border-left: 1px solid #333;
  }

  .p-service__links li a {
    padding: 0 10px;
    text-decoration: none;
  }

  .p-service__ttl{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .p-service__block.housing .wp-block-column{
    padding-right: 0!important;
    
  }

  .p-service__block.private-facility .wp-block-column {
    padding-right: 0 !important;
  }

  .p-service__block.reform .wp-block-column {
    padding-right: 0 !important;
  }

  .p-service__block.shrine .wp-block-column {
    padding-right: 0 !important;
  }
  .p-service__block.public-facility .wp-block-column {
    padding-right: 0 !important;
  }

  .p-service__block.nursing .wp-block-snow-monkey-blocks-box.smb-box {
    padding-right: 10px!important;
    padding-bottom: 80px !important;
  }

  .p-service__flow .c-row .c-row__col--md-1-3 {
    position: relative;
    padding: 10px;
    margin-bottom: 0 !important;
  }

    .p-service__flow .c-row{
      position: relative;
    }
  .p-service__flow .c-row:after{
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background-color: #078060;
    position: absolute;
    top: 20px;
    left: -12px;
  }

  .p-service__flow .c-row .c-row__col--md-1-3:after {
    display: none;
  }

  .p-service__flow .c-row .c-row__col--md-1-3::before {
    content: '♦︎';
    color: #078060;
    display: block;
    position: absolute;
    top: 6px;
    left: -20px;
  }

  .p-service__flow .c-row .c-row__col--md-2-3 {
    border-left: none;
  }


  .p-service__flow .smb-information__item {
    overflow: initial;
  }

  .p-service__flow .smb-information__item:last-child .c-row .c-row__col--md-2-3::after {
    display: none;
  }

  .p-service__flow.smb-information .smb-information__item__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .p-service__flow.smb-information .smb-information__item__body p {
    margin: 0 !important;
    line-height: 1.1;
  }
}

/* ---- service text en --- */
.p-service__block.housing .c-text-en{
  position: absolute;
  bottom: 0;
  right: 0;
}

.p-service__block.communal .c-text-en {
  position: absolute;
  bottom: 0;
  right: 0;
}


.p-service__block.private-facility .c-text-en {
  position: absolute;
  bottom: 0;
  right: 0;
}

.p-service__block.nursing .c-text-en {
  position: absolute;
  bottom: 0;
  right: 0;
}

.p-service__block.shrine .c-text-en {
  position: absolute;
  bottom: 0;
  right: 0;
}

.p-service__block.public-facility .c-text-en {
  position: absolute;
  bottom: -8%;
  right: 0;
}

.p-construction-flow .c-ttl-en::before{
  display: none;
}

.p-construction-flow__list .wp-block-column{
  position: relative;
}

.p-construction-flow__list .wp-block-column:not(:last-child)::after{
  content: '';
  display: block;
  width: 16px;
  height: 20px;
  background-color: #067e60;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  position: absolute;
  top: 50%;
  right: -2rem;
}

.p-construction-flow__list .wp-block-column figure{
  width: 90%;
  margin: 0 auto;
}

.p-service__block.reform .has-en{
  position: relative;
}
.p-service__block.reform .c-text-en{
  position: absolute;
  bottom: -8%;
  right: 0;
}


@media (max-width: 768px) {
  .p-service__block.housing .c-text-en {
    width: 88%;
    bottom: -4%;
  }
  .p-service__block.communal .c-text-en {
    position: static;
    width: 88%;
    transform: translate(20px, 0);
    margin-top: 8px;
  }
  .p-service__block.nursing .c-text-en {
    width: 84%;
    max-width: 370px;
    bottom: 7%;
    right: 10px;
  }

  .p-construction-flow .c-ttl-en::before {
    display: none;
  }
  
  .p-construction-flow__list{
    gap: 60px!important;
  }
  .p-construction-flow__list .wp-block-column {
    position: relative;
  }

  .p-construction-flow__list .wp-block-column:not(:last-child)::after {
    content: '';
    display: block;
    width: 20px;
    height: 16px;
    background-color: #067e60;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    position: absolute;
    top: 108%;
    right: initial;
    left: 50%;
    transform: translateX(-50%);
  }

  .p-construction-flow__list .wp-block-column figure {
    width: 70%;
    margin: 0 auto;
  }
}

/* --------- page recruit --------- */

.p-recruit__tab .smb-tabs__tabs{
  gap: 5px;
}
.p-recruit__tab .smb-tabs__tab{
  background-color: #f0f0f0;
  border-radius: 0!important;
  border-top: 2px solid #333;
}
.p-recruit__tab .smb-tab-panel{
  border: none;
  padding-right: 0!important;
  padding-left: 0!important;
}

.p-recruit__tab .smb-tabs__tab-wrapper{
  width: 50%;
  max-width: 300px;
}

.p-recruit__tab.smb-tabs.is-style-simple>.smb-tabs__tabs .smb-tabs__tab{
  width: 100%;
  padding: 16px;
  background-color: #f0f0f0;
  border-top: 2px solid #333;
}

.p-recruit__tab.smb-tabs[data-orientation=horizontal]>.smb-tabs__tabs .smb-tabs__tab[aria-selected=true]{
  border: none;
  border-top: 2px solid #333;
  border-radius: 0;
  background-color: #fff;
}

.p-recruit__info{
  position: relative;
}

.p-recruit__info .c-text-en{
  position: absolute;
  bottom: -2%;
  right: -2%;
}

.p-recruit-tb.wp-block-table td {
  border-color: #c9c9c9;
  padding: 16px 20px;
  background-color: #fff;
}


.p-recruit-tb.wp-block-table td:first-of-type {
  background-color: #f2f2f2;
  border-left: none;
  width: 22%;
}

.p-recruit-tb.wp-block-table td:last-of-type {
  border-right: none;
}

.p-recruit-job__wrap{
  position: relative;
}

.p-recruit-job__wrap .c-text-en{
  position: absolute;
  width: 30%;
  right: 0;
  bottom: -10%;
}

.p-merit__block .c-text-en{
  position: absolute;
  width: 36%;
  top: 0;
  left: -10px;
}
.p-merit__list img{
  margin: 0 auto;
}

@media (max-width: 767px) {
  .p-recruit-tb.wp-block-table td {
    padding: 10px;
  }
  .p-recruit-tb.wp-block-table td:first-of-type {
    width: 30%;
    font-size: 1rem;
  }
  .p-recruit-job__wrap .c-text-en {
    width: 50%;
  }
  .p-merit__block .c-text-en {
    position: static;
    width: 70%;
    margin: 0 0 0 auto !important;
  }

  .p-merit__list img {
    margin: 0 auto;
  }
}

/* ---- staff --- */
.p-staff__list .wp-block-column{
  position: relative;
}


.p-staff__list .c-text-en{
  position: absolute;
  top: -30px;
  left: -10px;
  width: 40%;
}

.p-staff__list .c-btn-more{
  display: inline-block;
}


.p-staff__list .wp-block-column:nth-child(even){
  margin-top: 40px!important;
}

.p-staff__list .wp-block-column p{
  position: relative;
  z-index: 1;
}

.p-staff__list .wp-block-column .staff-img{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.p-staff__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  margin-top: 0!important;
  display: none;
}

.p-staff__content {
  background: #fff;
  width: calc(100% - 30px);
  max-width: 1200px;
  height: calc(100% - 50px);
  max-height: 700px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  overflow-y: scroll;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.p-staff__content .p-staff__career .smb-information__item__body{
  padding: 0 10px;
  padding: 0;
}

.p-staff__content .p-staff__career .smb-information__item__label{
  padding: 0 10px;
  padding: 0;
}


@media (min-width: 640px) {

  .p-staff__content .c-row__col--md-1-4{
    --_item-width: 18%;
    margin-bottom: 20px;
  }
  .p-staff__content .c-row__col--md-3-4 {
    --_item-width: 80%;
    margin-bottom: 20px;
  }
}

.p-staff__flow{
  list-style: none;
  padding-left: 0;
  position: relative;
}

.p-staff__flow::before{
  content: '';
  display: block;
  width: 1px;
  height: 90%;
  background-color: #333;
  position: absolute;
  top: 10px;
  left: 5px;
}

.p-staff__flow li{
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
}

.p-staff__flow li code{
  background: none;
  min-width: 56px;
  padding: 0;
  font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', 'Osaka', sans-serif;
  font-size: 1rem;
}

.p-staff__flow li::before{
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background-color: #333;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 0;
}

.p-staff__tab .smb-tabs__tabs{
  gap: 5px;
}

.p-staff__tab .smb-tabs__body{
  background-color: #f9f9f9;
}

.p-staff__tab .smb-tabs__body .smb-tab-panel{
  background-color: #f9f9f9;
}

.p-staff__tab .smb-tabs__tab-wrapper .smb-tabs__tab{
  background-color: #848484;
  border-radius: 0!important;
  border: none;
  color: #fff;
}

.p-staff__tab.smb-tabs[data-orientation=horizontal]>.smb-tabs__tabs .smb-tabs__tab[aria-selected=true]{
  background-color: #333;
}

.p-staff__message .c-text-en{
  position: absolute;
  bottom: -40px;
  right: 0;
}

.smb-tabs__tab[aria-selected=false]{
  opacity: 1;
}

.modal-close-text{
  max-width: 210px;
  margin: 0 auto;
}

.modal-close-icon {
  position: absolute;
  top: 0;
  right: 0;
  font-weight: bold;
  cursor: pointer;
  margin: 0!important;
}


@media (max-width: 767px) {

  .p-staff__list .c-text-en {
    position: absolute;
    width: 42%;
    top: -20px;
    left: -20px;
  }

  .p-staff__list .c-btn-more a{
    display: inline-block;
    font-size: 1rem;
  }

  .p-staff__list .wp-block-column{
    padding-left: 14px;
  }

  .p-staff__list .wp-block-column:nth-child(even) {
    margin-top: 0 !important;
  }

  .p-staff__list .wp-block-column p {
    position: relative;
    z-index: 1;
  }

  .p-staff__list .wp-block-column .staff-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 44%;
  }

  .p-staff__content {
    padding: 40px 20px!important;
  }

  .p-staff__content .p-staff__career .smb-information__item__body {
    padding: 0 10px;
    padding: 0;
  }

    .p-staff__content .p-staff__career .c-row__col{
    margin-bottom: 0;
  }

  .p-staff__ttl{
    font-size: 1.375rem!important;
  }

  .p-staff__content .p-staff__career .smb-information__item__label {
    padding: 0 10px;
    padding: 0;
  }
  .p-staff__flow {
    list-style: none;
    padding-left: 0;
    position: relative;
  }

  .p-staff__flow li {
    position: relative;
    list-style: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0!important;
  }

  .p-staff__flow li::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
  }

  .p-staff__flow li .sme-br{
    height: 0;
  }

  .p-staff__tab .smb-tabs__tabs {
    gap: 5px;
  }

  .p-staff__tab .smb-tabs__body {
    background-color: #f9f9f9;
  }

  .p-staff__tab .smb-tabs__body .smb-tab-panel {
    background-color: #f9f9f9;
  }

  .p-staff__tab .smb-tabs__tab-wrapper .smb-tabs__tab {
    background-color: #848484;
    border-radius: 0 !important;
    border: none;
    color: #fff;
  }

  .p-staff__tab.smb-tabs[data-orientation=horizontal]>.smb-tabs__tabs .smb-tabs__tab[aria-selected=true] {
    background-color: #333;
  }

  .p-staff__message .c-text-en {
    position: absolute;
    width: 50%;
    bottom: -60px;
    right: 0;
  }

  .smb-tabs__tab[aria-selected=false] {
    opacity: 1;
  }

  .modal-close-text {
    max-width: 210px;
    margin: 0 auto;
  }

  .modal-close-icon {
    position: absolute;
    top: -40px;
    right: -20px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 !important;
  }
}

[data-tabs-id="ff769139-025a-4457-a183-5e5c54f80db0"]>.smb-tabs__body>.smb-tab-panel:not(#block-cbaa288a-ee1a-4d3e-acbe-4a825abd6f28){
  display: block;
}


/* ---- category works --- */
.c-works__category{
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 60px;
}

.c-works__category .wp-block-categories-list{
  margin: 0!important;
  margin-top: 40px!important;
}

.c-works__category .cat-item-all{
   width: auto; 
   margin: 0!important;
}

.c-works__category .cat-item-all a{
  border: 1px solid #333;
  padding: 10px;
  text-decoration: none;
  display: block;
  color: #333;
}

.c-works__category .cat-item{
  display: flex;
  align-items: center;
  gap: 10px;
}

.c-works__category .cat-item.current-cat>a{
  background-color: #6A3300;
  color: #fff;
}

.c-works__category .cat-item a{
  border: 1px solid #6A3300;
  padding: 10px;
  text-decoration: none;
}

.c-works__category .cat-item.cat-item-10{
  display: none;
}

.c-works__category .cat-item{
  margin: 0!important;
}
.c-works__category .cat-item .c-ic-angle-right{
  display: none;
}

.c-works__category .cat-item .children{
  display: flex!important;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: none;
}

@media (max-width: 1100px) {
  .c-works__category .cat-item a{
    padding: 6px;
  }
}

@media (max-width: 992px) {
  .c-works__category .wp-block-categories-list {
    width: 100%;
  }

  .c-works__category .wp-block-categories-list>.cat-item>a {
    width: 100%;
    justify-content: center;
    text-align: center;
    height: 40px;
    align-items: center;
  }

  .c-works__category .cat-item {
    flex-wrap: wrap;
    font-size: 1.25rem;
    gap: 8px;
  }

  .c-works__category .cat-item .children {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .c-works__category .cat-item .children .cat-item {
    font-size: 0.75rem;
    width: calc((100% / 4) - 8px);
    text-align: center;
  }

  .c-works__category .cat-item .children .cat-item a {
    width: 100%;
    padding: 4px;
    letter-spacing: -0.02em;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .c-works__category .cat-item {
    font-size: 0.875rem
  }
  .c-works__category .cat-item .children .cat-item a {
    font-size: 0.875rem;
  }
}


@media (max-width: 680px) {
  .c-works__category .cat-item .children .cat-item {
    width: calc(50% - 6px);
  }
}

body.category .c-entry__header{
  display: none!important;
}

body.single .c-entry__header{
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 680px) {
  body.single .c-entry__header {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
  }
}

body.single .c-entry__header .child-categories{
  background-color: #333333;
  color: #fff;
  font-weight: 700;
  padding: 0 6px;
}

body.single .c-entry__header .c-entry__meta .c-meta{
  display: none!important;
}


body.category-news .new-mark{
  display: none;
}
body.category .c-meta__item--published {
  display: none;
}
body.category-news .c-meta__item--published {
  display: block;
}

.c-entry__footer{

}

body.single .spider{
  width: 90%;
  max-width: 950px;
  margin: 0 auto;
}

body.single .spider__arrows .spider__arrow {
  background-color: #333333;
  width: 22px;
  height: 80px;
}

body.single .spider__arrow[data-direction=prev]{
  left: -10px;
}

body.single .spider__arrow[data-direction=next]{
  right: -10px;
}

body.single .c-prev-next-nav{
  display: none!important;
}

body.single .wp-block-table td{
  border-color: #c9c9c9;
  border-right: none;
  border-left: none;
  border-top: none;
}


body.single .c-entry__footer{
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-top: 30px;
}

body.single .c-entry__footer .c-entry-aside::before{
  content: '';
  width: 100vw;
  height: 50%;
  background-color: #edf6f4;
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
}

body.single .c-entry__footer .c-entry-aside{
  max-width: 1200px;
  margin: 0 auto;
  position: static;
}

.c-entry-aside__title:before,
.c-entry-aside__title:after{
  display: none;
}

.p-related-posts .c-meta__item--published{
  display: none!important;
}

.p-related-posts .new-mark{
  display: none;
}

.c-entry__body .slider-nav .slick-slide{
  padding: 0 5px;
}


.c-entry__body .slider-for {
  width: 90%;
  max-width: 950px;
  padding: 0 3rem;
  margin: 0 auto;
  background-color: #f2f2f2;
  aspect-ratio: 950/630;
}

@media (max-width: 680px) {
  .c-entry__body .slider-for {
    width: 90%;
    max-width: 950px;
    padding: 0;
    margin: 0 auto;
    background-color: #f2f2f2;
    aspect-ratio: 950/630;
  }
}

.c-entry__body .slider-for .slick-slide{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.slick-slider .slick-track{
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-entry__body .slider-for img{
  width: auto!important;
  max-width: initial!important;
  height: 100%;
  object-fit: cover;
  /* aspect-ratio: 840/630; */
}

.c-entry__body .slick-slider{
  overflow: initial;
}

.c-entry__body .slick-slider .slick{

}

.c-entry__body .slick-slider .slick-prev, 
.c-entry__body .slick-slider .slick-next {
  background-color: #333333;
  width: 22px;
  height: 80px;
  z-index: 1;
  z-index: 1;
}


.c-entry__body .slick-slider .slick-list{
  display: flex;
  align-items: center;
}
.c-entry__body .slick-slider .slick-prev{
  left: -10px;
}

.c-entry__body .slick-slider .slick-next{
  right: -10px;
}

.c-entry__body .slick-slider .slick-arrow.slick-prev:before{
  content: '<';
}

.c-entry__body .slick-slider .slick-arrow.slick-next:before {
  content: '>';
}

.c-entry__body .slick-slider.slider-nav .slick-slide{
  aspect-ratio: 190/120;
  width: 100%;
  height: auto;
}

.c-entry__body .slick-slider.slider-nav.no-slider{
  display: flex;
}

.c-entry__body .slick-slider.slider-nav .slick-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-entry__body .slick-slider.slider-nav .slick-next,
.c-entry__body .slick-slider.slider-nav .slick-prev{
  width: 16px;
  height: 60px;
  z-index: 1;
}

/*ヘッダータイトル非表示*/
.wp-block-group.c-heading-ttl {
    display: none;
}

/*お問合せページ電話*/
p.ctel a,.cfax a {
    text-decoration: none;
}
p.cfax {
    margin-top: 0;
}


@media (max-width: 768px) {
   .contact-tel {
        font-size: 2.25rem !important;
    }
}

/*お問合せページCTA*/
.page-id-1702 .p-contact {
    display: none;
}

/*お問合せ、プライバシー、知っトクヘッダー文言*/

.page-id-1702 .c-heading-ttl {
    padding-right: 3.8rem !important;
}
.page-id-1692 .c-heading-ttl {
    padding-right: 3.8rem !important;
}
.page-id-1686 .c-heading-ttl {
    padding-right: 3.8rem !important;
}



/*SP投稿記事タイトルと余白*/
@media screen and (max-width:767px) {
.single-post h1.c-entry__title {
    font-size:1.2em;
}
.single-post main.l-contents__main {
    padding-top:2em;
}
}

/*SP記事タイトルカテゴリー下に*/
@media screen and (max-width:767px) {
body.single .c-entry__header {
    display: inline-block;
}
.c-entry__meta {
    width: fit-content;
}
}


/*ドロワー*/
.c-drawer__item, .c-drawer__menu {     margin-bottom: 1.2em;
} 

ul#menu-sp\%e3\%83\%a1\%e3\%83\%8b\%e3\%83\%a5\%e3\%83\%bc li a {
    font-size: 1.2em;
    background-image: linear-gradient(to right, #fff, #fff 2px, transparent 2px, transparent 8px);
    background-size: 8px 1px;
    background-position: left bottom;
    background-repeat: repeat-x;
}


/*ドロワーサブ*/
ul#menu-sp\%e3\%83\%a1\%e3\%83\%8b\%e3\%83\%a5\%e3\%83\%bc\%e3\%82\%b5\%e3\%83\%96 li a {
    border: 1px solid;
    padding:1em;
	font-size:1.5em;
	letter-spacing:.15em;
}
ul#menu-sp\%e3\%83\%a1\%e3\%83\%8b\%e3\%83\%a5\%e3\%83\%bc {
    margin-bottom: 0;
}

@media screen and (max-width:767px) {
.p-breadcrumbs-wrapper {
    margin-bottom: 0 !important;
}
}

.nonumber a{
	text-decoration:none;
	   pointer-events: none;
	color:#333!important;
}


/*展示会お知らせ追尾
img.wp-image-1706 {
    display: none;
}
*/


/*カテゴリーラベル*/
.category-works .c-entry-summary__term--category-slug-housing {
    display: none;
}
.category-works .c-entry-summary__term--category-slug-condominium {
    display: none;
}
.category-works .c-entry-summary__term--category-slug-commerce {
    display: none;
}

.category-works .c-entry-summary__term--category-slug-temple {
    display: none;
}

.category-works .c-entry-summary__term--category-slug-care {
    display: none;
}

.category-works .c-entry-summary__term--category-slug-public {
    display: none;
}
.category-works .c-entry-summary__term--category-slug-reform {
    display: none;
}

.category-housing .c-entry-summary__term--category-slug-housing {
    display: none;
}
.category-condominium .c-entry-summary__term--category-slug-condominium {
    display: none;
}
.category-commerce .c-entry-summary__term--category-slug-commerce {
    display: none;
}
.category-care .c-entry-summary__term--category-slug-care {
    display: none;
}
.category-temple .c-entry-summary__term--category-slug-temple {
    display: none;
}
.category-public .c-entry-summary__term--category-slug-public {
    display: none;
}
.category-reform .c-entry-summary__term--category-slug-reform {
    display: none;
}

/*カテゴリーラベル幅*/
li.cat-item.cat-item-2 a { width: 140px; text-align: center; }
li.cat-item.cat-item-4 a { width: 140px; text-align: center; }
li.cat-item.cat-item-5 a { width: 140px; text-align: center; }
li.cat-item.cat-item-16 a { width: 140px; text-align: center; }
li.cat-item.cat-item-24 a { width: 140px; text-align: center; }




/*ぱんくず*/
ol.c-breadcrumbs {
    font-size: 1em;
}

/*トップ施工事例カテゴリーラベル*/
span.c-entry-summary__term.c-entry-summary__term--category-4 {
    display: none;
}
span.c-entry-summary__term.c-entry-summary__term--category-5 {
    display: none;
}span.c-entry-summary__term.c-entry-summary__term--category-16 {
    display: none;
}span.c-entry-summary__term.c-entry-summary__term--category-24 {
    display: none;
}

/*施工ページカテゴリーラベル*/
.c-entry__meta {
    margin-top: 0;
}

/*住宅カテゴリーラベル*/
.category-24 .wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.smb-btn-wrapper--full.is-style-ghost.housing-catebuton {
    background-color: #6a3300;
}
.category-24 .wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.smb-btn-wrapper--full.is-style-ghost.housing-catebuton a{
    color: #FFF;
}
/*リフォームカテゴリーラベル*/
.category-16 .wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.smb-btn-wrapper--full.is-style-ghost.reform-catebuton {
    background-color: #6a3300;
}
.category-16 .wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.smb-btn-wrapper--full.is-style-ghost.reform-catebuton a{
    color: #FFF;
}

/*民間カテゴリーラベル*/
.category-4 .wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.smb-btn-wrapper--full.is-style-ghost.minkan-catebuton
 {
    background-color: #6a3300;
}
.category-4 .wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.smb-btn-wrapper--full.is-style-ghost.minkan-catebuton a{
    color: #FFF;
}

/*公共カテゴリーラベル*/
.category-5 .wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.smb-btn-wrapper--full.is-style-ghost.public-catebuton{
    background-color: #6a3300;
}
.category-5 .wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.smb-btn-wrapper--full.is-style-ghost.public-catebuton a{
    color: #FFF;
}

.category-10 .p-archive {
    margin-top: 2em;
}

/*lineインスタアイコン非表示*/
.menu-\%e3\%82\%bd\%e3\%83\%bc\%e3\%82\%b7\%e3\%83\%a3\%e3\%83\%ab\%e3\%83\%8a\%e3\%83\%93\%e3\%82\%b2\%e3\%83\%bc\%e3\%82\%b7\%e3\%83\%a7\%e3\%83\%b3-container {
    display: none;
}

/*トップページ施工事例等の3つの画像*/
.topbutomimg{
	margin-top:0;
}