@charset "UTF-8";
/*
Theme Name: b-and-co-jp
Author: b& LLC
Author URI: https://b-and.co.jp/
Description: The WP theme for b-and.co.jp
Version: 0.6
*/
:root {
  --main-color:#063DC8;

  --sub0-color:#666;
  --sub1-color:#9A9A9A;
  --sub2-color:#D8D8D8;
  --sub3-color:#f0f0f0;
  --sub4-color:#F8F8F8;

  --size-t0:1rem;
  --size-t1:1.1rem;
  --size-t2:1.2rem;
  --size-t3:1.3rem;
  --size-t4:1.4rem;

  --size-t-sn:1.5rem;
  --size-tt-h:2.7rem;
  --size-tt-ct1:2.1rem;
  --size-tt-ct2:1.6rem;
}
@media print {
  a[href]:after {
    content: "" !important;
  }
  abbr[title]:after {
    content: "" !important;
  }
}

html,body {
  font-family: "Noto Sans JP", sans-serif; 
  font-weight: 500;
  font-size: var(--size-t0);
  line-height: 1.5;
  color: #000;
}
body.navmenu-opened {
  overflow: hidden;
  width: 100%;
}
a,a:visited {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;}
a:hover {
  color: #000;
  text-decoration: underline;}
ul {
  list-style: none;
  margin:0;
  padding:0;}
ol {margin-bottom: 0;}
h1,h2,h3,h4,h5 {
  margin:0;
  font-weight: bold;
  line-height: unset;}
.flex {
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;}
figure {margin:0;}
p,.txt {text-align:justify;word-break:break-all;}
.wpcf7-spinner {display:none;}
.grecaptcha-badge {visibility:hidden;}
img {max-width:100%;height:auto;}

/*
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  outline: none;
  box-shadow: none;
  transition: background-color 0s 600000s, color 0s 600000s !important;
}*/

.f-abel {
  font-family: "Abel", sans-serif;
  font-weight: 400;
  font-style: normal;
}
::selection {
  background-color: #333;
  color: #fff;
}
.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color:#aaa;
}

.confirm-tt {
  font-size: 1.5rem;
  text-align: center;
  display: none;
  margin-bottom: 20px;
}
.custom-wpcf7c-confirmed input:-internal-autofill-selected  {
  background: none!important;
}
.custom-wpcf7c-confirmed .form-group .form-control {
  background: none;
  border: none;
}
.custom-wpcf7c-confirmed .input-ts,.custom-wpcf7c-confirmed .btn-reset {
  display: none;
}
.custom-wpcf7c-confirmed .confirm-tt {
  display: block;
}
@media (min-width: 1200px){
  .container {
    width: 1028px;
  }
}
.btn {
  position: relative;
  border-radius: 0;
  transition: all 0.3s ease;}
.btn:hover {
  text-decoration: none;}
.btn-def,
.btn-def:focus-visible {
  color:#fff;
  background-color: var(--main-color);
  font-size: var(--size-t3);
  font-weight: 600;
  text-align: center;

  padding:0.5rem 1.8rem;
}
/*.btn-def:focus-visible {
  outline-offset: 1px;
}*/
.btn.btn-def:visited {
  color:#fff;
  background-color: var(--main-color);
}
.btn.btn-def:hover,
.btn.btn-def:active {
  color:#fff;
  background: #000;
}
.btn.ic-arr-right:before {
  content: "";
  position: absolute;
  transition: all 0.3s ease;
  top:50%;
  transform: translateY(-50%);
  right: 18px;
  opacity: 0;
  background: no-repeat center url(assets/img/common/arrow-right-white.svg);
  background-size: 100%;
  width: 14px;
  height: 14px;
}
.btn.ic-arr-right:hover:before {
  opacity: 1;
  right: 8px;
}
#gotop-btn {
  position: fixed;
  bottom: 65px;
  right: 30px;
  z-index: 999;
  background: transparent;
  text-align: center;
  display: none;
}
#gotop-btn a,#gotop-btn a:visited {
  display: flex;
  width: 60px;
  height: 60px;
  color: #000;
  border:1px solid #000;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  background: #fff;
}
#gotop-btn a svg {
  width: 24px;
  height: auto;
}
#gotop-btn a:hover {
  background: #000;
}
#gotop-btn a:hover svg path {
  fill:#fff;
}

.form-control {
  border-radius: 0;
}

.link-l1 a {
  position: relative;
  display: inline-block;
}
.link-l1 a:after {
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  margin:auto;
  content:"";
  width: 0;
  height: 3px;
  background: #000;
  transition: all 0.3s ease;
}
.link-l1 a:hover:after {
  width: 100%;
}
.mk_l {
  position: relative;
}
.mk_l:before {
  content:"";
  position: absolute;
  left:0;
  bottom: -9px;
  width: 100%;
  height: 5px;
  background: var(--main-color);
}
/**/
.scr-df {visibility: hidden;}

/* breadcrumb */
.breadcrumb {
  background: none;
  margin: 0;
  padding: 60px 0;
  font-size: var(--size-t0);
  line-height: 1.4;
  color:#000;
}
.breadcrumb a,.breadcrumb a:visited {
  color:var(--sub0-color);
}
.breadcrumb a:hover {
  color:#000;
}
.breadcrumb ul {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb ul li {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding-right: 24px;
}
.breadcrumb ul li:after {
  content:"";
  position: absolute;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  background-image: url(assets/img/common/arrow-right-gray.svg);
  top:50%;
  transform: translateY(-50%);
  right: 4px;
  width: 12px;
  height: 12px;
}
.breadcrumb ul li:last-child:after {
  content: none;
}
.breadcrumb ul li:first-child span {
  padding-left: 0;
}
.breadcrumb ul li:last-child,
.breadcrumb ul li:last-child a,
.breadcrumb ul li:last-child span {
  color:#000!important;
}

header,footer {
  overflow: hidden;
}


/* header  */
.navbar.nav-site {
  background-color: rgba(255,255,255,0.8);
  padding:0 3.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}
.navbar>.container-fluid {
  padding:1.6rem 0;
  border-bottom: 1px solid var(--sub2-color);
  transition: all 0.3s ease;
}
.nav-site .navbar-brand {
  padding:0;
}
.navbar-brand .l-w {
  display: none;
}
.nav-site .nav-t-menu .nav-item {
  padding:0 18px;
}
.nav-site .nav-t-menu .nav-item:last-child {
  padding-right: 0;
}
.nav-site .nav-t-menu .nav-link {
  color:#000;
  font-size: var(--size-t1);
  font-weight: 600;
  padding:0 0 2px;
}
.nav-site .nav-t-menu .nav-link:hover {
  text-decoration: none;
}

/* content */
main {
  position: relative;
  margin-top: 112px;
  min-height: 1000px;
  overflow: hidden;
  font-size: var(--size-t1);

  background: no-repeat center 86px url(assets/img/common/bg.svg);
  background-attachment: fixed;
  background-size: contain;
}
main .sec {
  position: relative;
  padding:90px 0;
}
.sec.ct {
  text-align: center;
}

main.thepage {
  padding-bottom: 60px;
}
.thepage .p-head {
  padding:60px 0 90px;
}
.thepage.arcs-page .p-head {
  padding-bottom: 0;
}
.p-head .ht {
  margin-bottom: 110px;
}
.p-head .ht .tt {
  font-size:var(--size-tt-h);
  font-weight: 700;
  text-align: center;
}
.ht .tt span {
  position: relative;
  display: inline-block;
  letter-spacing: 0.85rem;
  margin-right: -0.85rem;
}
.ht .tt span:after {
  content:"";
  position: absolute;
  left: 0;
  bottom: -20px;
  /*width: calc(100% - 0.85rem);*/
  width: 0;
  height: 8px;
  background: #000;

  /* アニメーションの設定 */
  animation-name: draw-l1;
  animation-duration: 1200ms;
  animation-delay:400ms;
  animation-timing-function:ease;
  animation-fill-mode: both;

  timeline-trigger: --line-trigger view();
  animation-trigger: --line-trigger play;

  /*animation-trigger: view();*/
  /*animation-timeline: view();*/

  /* どのタイミングで開始・終了するかを指定（後述） */
  /*animation-range: entry 0% entry 100%;*/
}

@keyframes draw-l1 {
  from {width: 0;}
  to {width: calc(100% - 0.85rem);}
}
.p-head .ht .st {
  margin-top: 60px;
  text-align: center;
  font-size: var(--size-tt-ct2);
}
.p-head .ct1 {
  text-align: center;
  font-size: var(--size-tt-ct2);
  font-weight: 600;
  margin-bottom: 40px;
}
.p-head .top-wrap p {
  text-align: center;
  line-height: 1.9;
}

.sec .t-sn {
  font-size: var(--size-t-sn);
  font-weight: 600;
  margin-bottom: 50px;
}
.sec .t-sn span {
  display: inline-block;
  letter-spacing: 10px;
  margin-right: -10px;
}
.sec h2 {
  font-weight: 700;
  font-size: var(--size-tt-ct1);
  margin-bottom: 50px;
}
.sec h2.ct {
  text-align: center;
}
.thepage .sec .desc {
  line-height: 1.9;
}

/* works */
.works .row-works {
  margin:0 -20px;
}
.work-box {
  display: block;
  height: 100%;
}
.work-box>* {
  transition: all 0.3s ease;
}
.row-works>div {
  padding:0 20px;
  margin-bottom: 60px;
}
.work-box .thumb {
  height:320px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 1.2rem;
}
.work-box .n {
  font-weight: 600;
  font-size: var(--size-t-sn);
  margin-bottom: 0.8rem;
}
.work-box .tags,
.wt-info .tags {
  display: flex;
  flex-wrap: wrap;
}
.work-box .tags span,
.wt-info .tags span {
  flex:0 0 auto;
  font-size: 0.9rem;
  background: var(--sub3-color);
  border-radius: 4px;
  padding:2px 8px;
  margin-right: 6px;
  margin-bottom: 6px;
}
.work-box:hover {
  text-decoration: none;
  background: var(--sub3-color);
  /*color:#fff;*/
}

.news-list .news-row {
  margin-bottom: 50px;
}
.news-row .date-cate {
  font-size: var(--size-t0);
  margin-bottom: 5px;
}
.news-row .date {
  color: var(--sub0-color);
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 400;
}
.news-row a {
  line-height: 1.7;
  font-weight: 600;
}

.cta-box .container-fluid {
  padding:0 5vw;
}
.cta-box .cont-wrap {
  background: var(--sub4-color);
  /*background:transparent;*/
  padding:120px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;

  /* アニメーションの設定 */
  /*animation-name: draw-cta-bg;
  animation-timing-function: linear;
  animation-fill-mode: both; 

  animation-timeline: view();
  animation-range: entry 100% contain 50%;*/
}

@keyframes draw-cta-bg {
  from {
    background:transparent;
  }
  to {
    background:var(--sub4-color);
  }
}

.cta-box .cont-wrap .inn {
  width: 76%;
}
.cta-box .ill {
  height: 100%;
  display: flex;
  align-items: center;
}
.cta-box .cont-b .t1 {
  font-size: var(--size-tt-ct1);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.cta-box .cont-b .t2 {
  font-size: var(--size-t2);
  line-height: 1.8;
}
.cta-box .cont-btn {
  margin-top: 60px;
}
.cta-box .cont-btn a {
  display: inline-block;
}
.cta-box .cont-btn a:first-child {
  margin-right: 30px;
}


/* footer */
footer {
  width: 100%;
}
.footer-inner {
  position: relative;
  padding:60px 0;
  background: #000;
  color:#fff;
  text-align: center;
  font-weight: 600;
}
footer a,footer a:visited,
footer a:hover {
  color:#fff;
}
.ft-comp {
  padding-top:10px;
  margin-bottom: 50px;
}

.f-link {
  max-width: 850px;
  margin:auto;
}
.f-link a {
  font-weight: 600;
  font-size: var(--size-t1);
}
.f-link a:hover {
  text-decoration: none;
}
.f-link.link-l1 a:after {
  background: #fff;
}
.f-link.fl2 {
  margin-top: 2rem;
}
.f-link .btn-contact,
.f-link .btn-contact:visited {
  border:1px solid #fff;
  padding:0.5rem 1.4rem;
  color:#fff;
}
.f-link .btn-contact:hover {
  background: #fff;
  color:#000;
}
.f-btm {
  color:#fff;
  font-size: 0.8rem;
  font-weight: 400;
  background: #111;
  padding:1rem 2rem 1.2rem;
}
.f-btm a:hover {
  text-decoration: underline;
}
.f-btm .c2 {
  text-align: center;
}
.f-btm .c3 {
  text-align: right;
}

@media (max-width: 1199px) {
  main {
    background-size: 120%;
  }
  .breadcrumb {
    padding:40px 0;
  }
  .cta-box .container-fluid {
    padding: 0 3vw;
  }
  .cta-box .cont-wrap {
    padding:80px 20px;
  }
  .cta-box .cont-wrap .inn {
    width: auto;
  }

  .work-box .thumb {
    height: 290px;
  }
}

@media (max-width: 992px) {
  :root {
    --size-tt-h:2.2rem;
    --size-tt-ct1:1.8rem;
    --size-tt-ct2:1.5rem;
  }
  #gotop-btn {
    right: 20px;
    bottom: 20px;
  }
  .navbar.nav-site {
    padding:0 2rem;
  }
  .navbar>.container-fluid {
    padding:1rem 0;
  }
  .navbar-brand .logo {
    max-width: 54px;
  }
  .nav-site .nav-t-menu .nav-item {
    padding:0 0.9rem;
  }
  .nav-site .nav-t-menu .nav-link {
    font-size: var(--size-t0);
  }

  .breadcrumb {
    padding:20px 0;
  }
  .breadcrumb ul li {
    font-size: var(--size-t0);
  }

  .cta-box .cont-wrap {
    padding:40px 60px;
  }
  .cta-box .ill {
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }
  .cta-box .cont-btn {
    text-align: center;
    margin-top: 30px;
  }

  main {
    margin-top: 78px;
    background-position-y: 78px;
    background-size: 130%;
  }
  main .sec {
    padding:60px 0;
  }
  .thepage .p-head {
    padding: 30px 0 50px;
  }
  .p-head .ht {
    margin-bottom: 5rem;
  }
  .ht .tt span {
    letter-spacing: 0.6rem;
    margin-right: -0.6rem;
  }
  .ht .tt span:after {
    bottom: -14px;
    height: 6px;
  }
  .p-head .ct1 {
    margin-bottom: 2rem;
  }

  .work-box .thumb {
    height: 230px;
  }

  .ft-comp {
    padding-top: 30px;
  }
  .f-link a {
    font-size: var(--size-t0);
  }
}

@media (max-width: 767px) {
  :root {
    --size-tt-h:1.8rem;
    --size-tt-ct1:1.4rem;
    --size-tt-ct2:1.4rem;
  }
  .navbar.nav-site {
    padding: 0 0.8rem;
  }
  .navbar>.container-fluid {
    padding: 0.8rem 0;
  }
  .navbar-brand .logo {
    max-width: 38px;
  }

  .nav-site .navbar-toggler,
  .nav-site .navbar-toggler:focus,
  .nav-site .navbar-toggler:active {
    border: none;
    outline: none;
    box-shadow: none;
  }
  /*.nav-site .navbar-toggler {
    height: auto;
    text-align: center;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
  }
  .nav-site .navbar-toggler-icon {
    background-image: url(assets/img/ic-nav-toggle.svg);
    width: 26px;
  }
  .navbar-toggler .close {
    display: block;
    width: 22px;
    height: 22px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-image: url(assets/img/ic-nav-toggle-close.svg);
    opacity: 1;
  }*/
  /* humberger icon  */
  .nav-site .navbar-toggler {
    height: auto;
    text-align: center;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 60;

    background: none;
    border: none;
    gap: 4px;

    width: 36px;
    height: 34px;
  }
  .navbar-toggler .hbg-l {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }
  .navbar-toggler .hbg-l:nth-child(2) {
    margin:2px 0;
  }

  /* アクティブ状態（Xアニメーション） */
  .navbar-toggler.active .hbg-l:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .navbar-toggler.active .hbg-l:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggler.active .hbg-l:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  /**/
  .navbar-toggler.collapsed>.close,.navbar-toggler:not(.collapsed)>.navbar-toggler-icon {
    display:none;
  }
  .nav-site .navbar-collapse {
    opacity: 0;
    transition: opacity 0.32s ease;
  }
  .nav-site .navbar-collapse.collapsing,
  .nav-site .navbar-collapse.show {
    background: #fff;
    margin-top: 20px;
    margin-bottom: -14px;
    height: calc(100vh - 66px)!important;
    padding: 0 0.8rem;
    overflow-y: scroll;
    transition: opacity 0.32s ease;
  }

  .nav-site .navbar-collapse.show {
    opacity: 1;
  }
  body.navmenu-opened .nav-site .navbar-collapse.collapsing {
    opacity: 1;
  }
  body:not(.navmenu-opened) .nav-site .navbar-collapse.show,
  body:not(.navmenu-opened) .nav-site .navbar-collapse.collapsing {
    opacity: 0;
  }
  .nav-site .navbar-nav.mr-auto {
    display: none;
  }
  .nav-t-menu {
    padding:30px 0 20px;
    height: 100%;
  }
  .nav-site .nav-t-menu .nav-item {
    padding:0;
    margin-bottom: 1.6rem;
  }
  .nav-site .nav-t-menu .nav-link {
    opacity: 0;
    font-size: var(--size-tt-ct2);
  }
  body.navmenu-opened .navbar.nav-site {
    backdrop-filter: unset;
    background-color: #fff;
  }
  body.navmenu-opened .nav-site .navbar-collapse.show .nav-t-menu > .nav-item .nav-link {
    animation: spNavLinkSlideIn 0.4s ease both;
    will-change: transform, opacity;
  }
  body.navmenu-opened .nav-site .navbar-collapse.show .nav-t-menu > .nav-item:nth-child(1) .nav-link {
    animation-delay: 0.06s;
  }
  body.navmenu-opened .nav-site .navbar-collapse.show .nav-t-menu > .nav-item:nth-child(2) .nav-link {
    animation-delay: 0.12s;
  }
  body.navmenu-opened .nav-site .navbar-collapse.show .nav-t-menu > .nav-item:nth-child(3) .nav-link {
    animation-delay: 0.18s;
  }
  body.navmenu-opened .nav-site .navbar-collapse.show .nav-t-menu > .nav-item:nth-child(4) .nav-link {
    animation-delay: 0.24s;
  }
  body.navmenu-opened .nav-site .navbar-collapse.show .nav-t-menu > .nav-item:nth-child(5) .nav-link {
    animation-delay: 0.30s;
  }
  body.navmenu-opened .nav-site .navbar-collapse.show .nav-t-menu > .nav-item:nth-child(6) .nav-link {
    animation-delay: 0.36s;
  }
  @keyframes spNavLinkSlideIn {
    from {
      opacity: 0;
      transform: translateX(8rem);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    body.navmenu-opened .nav-site .navbar-collapse.show .nav-t-menu > .nav-item .nav-link {
      animation: none;
      opacity: 1;
      transform: none;
    }
  }
  .link-l1 .nav-link:after {
    width: 100%;
  }
  .nav-btm .comp {
    font-size: 0.9rem;
  }

  .breadcrumb {
    padding:14px 0;
  }
  .breadcrumb ul li {
    font-size: 0.9rem;
  }
  #gotop-btn {
    right: 14px;
    bottom: 14px;
  }
  #gotop-btn a, #gotop-btn a:visited {
    width: 50px;
    height: 50px;
  }

  main {
    margin-top: 60px;
    background-position-y: 60px;
    background-size: 200%;
  }
  .thepage .p-head {
    padding:20px 0 40px;
  }
  .p-head .ht {
    margin-bottom: 4rem;
  }
  .ht .tt span {
    letter-spacing: 0.4rem;
    margin-right: -0.4rem;
  }
  .ht .tt span:after {
    bottom: -10px;
    height: 5px;
  }
  .p-head .ct1 {
    margin-bottom: 1.5rem;
  }
  .sec .t-sn {
    margin-bottom: 30px;
  }
  .sec .t-sn span {
    letter-spacing: 6px;
    margin-right: -6px;
  }
  .sec h2 {
    margin-bottom: 30px;
  }
  .mk_l:before {
    bottom: -7px;
    height: 4px;
  }

  .sec .desc.sp-t-desc {
    text-align: left;
  }

  .works .row-works {
    margin:0 -12px;
  }
  .works .row-works>div {
    padding:0 12px;
    margin-bottom: 40px;
  }
  .work-box .thumb {
    margin-bottom: 0.6rem;
  }
  .work-box .n {
    font-size: var(--size-t2);
    margin-bottom: 0.6rem;
  }
  .work-box .tags span {
    font-size: 0.8rem;
  }

  .cta-box .container-fluid {
    padding: 0 15px;
  }
  .cta-box .cont-wrap {
    padding:30px 20px;
  }
  .cta-box .ill {
    margin-bottom: 20px;
  }
  .cta-box .ill img {
    max-width: 240px;
  }
  .cta-box .cont-btn {
    margin-top: 30px;
  }
  .cta-box .cont-b .t2 {
    font-size: var(--size-t1);
  }
  .cta-box .cont-btn a {
    font-size: 1rem;
    padding:0.4rem 1.1rem;
  }
  .cta-box .cont-btn a:first-child {
    margin-right: 10px;
  }

  .news-list .news-row {
    margin-bottom: 30px;
  }
  .news-row .date {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .footer-inner {
    padding:50px 0;
  }
  .f-link {
    display: block!important;
    text-align: center;
  }
  .f-link .col {
    margin-bottom: 1.5rem;
  }
  .f-btm {
    font-size: 0.7rem;
    padding:1rem 14px 1.2rem;
  }
}
