@charset "UTF-8";
:root {
  --btnColor1: #01a6e8;
  --btnColor2: #1fb5c3;
  --btnColor3: #edf1f2;
  --lineColor: #d3d3d3;
  --fontColor: #333;
  --paleBlue: #f4f8fb;
  --jp: Noto Sans JP, sans-serif;
  --en: Poppins, sans-serif;
}

body.active {
  overflow: hidden;
}

@media screen and (max-width: 781px) {
  nav.bl_globalNav {
    display: none;
    position: absolute;
    top: 50px;
    width: 100%;
    height: calc(100vh - 50px);
    overflow: auto;
    padding: 50px 20px;
    box-sizing: border-box;
    color: #fff;
    background: var(--btnColor2);
    background: linear-gradient(to right, rgba(96, 212, 230, 0.9), rgba(0, 168, 204, 0.9));
    align-items: flex-start;
  }
  nav.bl_globalNav ul {
    flex-direction: column;
    gap: 0;
  }
  nav.bl_globalNav ul li {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #fff;
  }
  nav.bl_globalNav ul li:last-child {
    border-bottom: none;
  }
}
@media screen and (min-width: 781px) {
  nav.bl_globalNav {
    display: flex;
  }
}

.bl_spMenuBox {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 781px) {
  .bl_spMenuBox {
    display: none;
  }
}

/*=============================
#spMenu
=============================*/
.bl_spMenu {
  position: relative;
  width: 20px;
  height: 16px;
  cursor: pointer;
}

.bl_spMenu span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
}

.bl_spMenu, .bl_spMenu span {
  display: inline-block;
  transition: all 0.5s;
  box-sizing: border-box;
}

.bl_spMenu span:nth-of-type(1) {
  top: 0;
}

.bl_spMenu span:nth-of-type(2) {
  top: 7px;
}

.bl_spMenu span:nth-of-type(3) {
  bottom: 0;
}

#spMenu span:nth-of-type(1) {
  -webkit-animation: btn07-bar01 0.75s forwards;
  animation: btn07-bar01 0.75s forwards;
}

@-webkit-keyframes btn07-bar01 {
  0% {
    -webkit-transform: translateY(6px) rotate(45deg);
  }
  50% {
    -webkit-transform: translateY(6px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes btn07-bar01 {
  0% {
    transform: translateY(6px) rotate(45deg);
  }
  50% {
    transform: translateY(6px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#spMenu span:nth-of-type(2) {
  transition: all 0.25s 0.25s;
  opacity: 1;
}

#spMenu span:nth-of-type(3) {
  -webkit-animation: btn07-bar03 0.75s forwards;
  animation: btn07-bar03 0.75s forwards;
}

@-webkit-keyframes btn07-bar03 {
  0% {
    -webkit-transform: translateY(-8px) rotate(-45deg);
  }
  50% {
    -webkit-transform: translateY(-8px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes btn07-bar03 {
  0% {
    transform: translateY(-8px) rotate(-45deg);
  }
  50% {
    transform: translateY(-8px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#spMenu.active span:nth-of-type(1) {
  -webkit-animation: active-btn07-bar01 0.75s forwards;
  animation: active-btn07-bar01 0.75s forwards;
}

@-webkit-keyframes active-btn07-bar01 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(6px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(6px) rotate(45deg);
  }
}
@keyframes active-btn07-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(6px) rotate(0);
  }
  100% {
    transform: translateY(6px) rotate(45deg);
  }
}
#spMenu.active span:nth-of-type(2) {
  opacity: 0;
}

#spMenu.active span:nth-of-type(3) {
  -webkit-animation: active-btn07-bar03 0.75s forwards;
  animation: active-btn07-bar03 0.75s forwards;
}

@-webkit-keyframes active-btn07-bar03 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(-8px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(-8px) rotate(-45deg);
  }
}
@keyframes active-btn07-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-8px) rotate(0);
  }
  100% {
    transform: translateY(-8px) rotate(-45deg);
  }
}
.bl_closeBtnBox {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 781px) {
  .bl_closeBtnBox {
    display: none;
  }
}

.bl_closeBtn {
  position: relative;
  width: 20px;
  height: 16px;
  cursor: pointer;
  display: none;
  transition: all 0.5s;
}
.bl_closeBtn.active {
  display: block;
}

.bl_closeBtn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
}

.bl_closeBtn span {
  display: inline-block;
  transition: all 0.5s;
  box-sizing: border-box;
}

.bl_closeBtn span:nth-of-type(1) {
  top: 0;
  transform: translateY(6px) rotate(45deg);
}

.bl_closeBtn span:nth-of-type(2) {
  top: 7px;
  opacity: 0;
}

.bl_closeBtn span:nth-of-type(3) {
  bottom: 0;
  transform: translateY(-8px) rotate(-45deg);
}

.bl_spFooterMenu {
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 100;
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
  padding: 6px 10px;
  box-sizing: border-box;
}
@media screen and (min-width: 781px) {
  .bl_spFooterMenu {
    display: none;
  }
}
.bl_spFooterMenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.bl_spFooterMenu ul li {
  font-size: 10px;
  color: #fff;
  letter-spacing: 1px;
}
.bl_spFooterMenu ul li a {
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bl_spFooterMenu ul li a::before {
  width: 40px;
  height: 30px;
}
.bl_spFooterMenu ul li:nth-child(1) {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bl_spFooterMenu ul li:nth-child(1)::before {
  width: 40px;
  height: 30px;
  content: url("/wp-content/themes/cpa-imamura/assets/images/icon_footerMenu1.svg");
}
.bl_spFooterMenu ul li:nth-child(2) a::before {
  content: url("/wp-content/themes/cpa-imamura/assets/images/icon_footerMenu6.svg");
}
.bl_spFooterMenu ul li:nth-child(3) a::before {
  content: url("/wp-content/themes/cpa-imamura/assets/images/icon_footerMenu2.svg");
}
.bl_spFooterMenu ul li:nth-child(4) a::before {
  content: url("/wp-content/themes/cpa-imamura/assets/images/icon_footerMenu3.svg");
}
.bl_spFooterMenu ul li:nth-child(5) a::before {
  content: url("/wp-content/themes/cpa-imamura/assets/images/icon_footerMenu5.svg");
}

form p {
  margin-top: 50px;
  margin-bottom: 50px;
}

input.wpcf7-text, textarea {
  padding: 15px;
  background-color: #f4f7fa;
  border: none;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.8;
}

.wpcf7-form-control-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* 各項目の間隔 */
  margin-top: 10px;
}
.wpcf7-form-control-wrap .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.wpcf7-form-control-wrap .wpcf7-list-item {
  display: flex;
  align-items: center;
  margin: 0;
}
.wpcf7-form-control-wrap .wpcf7-list-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.wpcf7-form-control-wrap .wpcf7-list-item label input[type=checkbox] {
  display: none; /* デフォルトのチェックボックスを非表示 */
}
.wpcf7-form-control-wrap .wpcf7-list-item label .wpcf7-list-item-label {
  position: relative;
  padding-left: 24px; /* チェックボックスのスペースを確保 */
  font-size: myClamp(14, 16);
}
.wpcf7-form-control-wrap .wpcf7-list-item label .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 1px solid #00bcd4;
  border-radius: 2px;
  background-color: #fff;
}
.wpcf7-form-control-wrap .wpcf7-list-item label .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  background-color: #00bcd4; /* 青い四角 */
  display: none;
}
.wpcf7-form-control-wrap .wpcf7-list-item label input[type=checkbox]:checked + .wpcf7-list-item-label::after {
  display: block; /* チェックされた場合に青い四角を表示 */
}
.wpcf7-form-control-wrap .wpcf7-list-item label input[type=checkbox]:checked + .wpcf7-list-item-label::after {
  content: url(../images/checkbox.svg);
  font-size: 14px;
  color: white;
  font-weight: bold;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}
@media screen and (min-width: 781px) {
  html {
    scroll-padding-top: 150px;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: var(--fontColor);
  letter-spacing: 2px;
}

main {
  margin-top: 50px;
}
@media screen and (min-width: 781px) {
  main {
    margin-top: 150px;
  }
}

.home main {
  margin-top: 0;
}
@media screen and (max-width: 781px) {
  .home main {
    margin-top: 50px;
  }
}

p, li, th, td {
  font-size: clamp(0.75rem, 0.7045454545rem + 0.2272727273vw, 0.875rem);
  font-weight: 500;
  line-height: 1.8;
  text-align: justify;
}

figure.wp-block-image.alignfull {
  text-align: center;
  align-items: flex-end;
  max-height: 300px;
}
@media screen and (min-width: 781px) {
  figure.wp-block-image.alignfull {
    align-items: center;
    max-height: 430px;
  }
}
figure.wp-block-image.alignfull img {
  max-width: 1200px;
  max-height: 300px;
  object-fit: cover;
  margin: 0 auto;
}
@media screen and (min-width: 781px) {
  figure.wp-block-image.alignfull img {
    max-height: 430px;
  }
}

.wp-block-cover p {
  font-size: clamp(1.375rem, 1.2840909091rem + 0.4545454545vw, 1.625rem) !important;
}

.wp-block-cover.alignfull {
  text-align: center;
  align-items: flex-end;
  min-height: 260px;
}
@media screen and (min-width: 781px) {
  .wp-block-cover.alignfull {
    align-items: center;
    min-height: 430px;
  }
}
.wp-block-cover.alignfull img {
  max-width: 1200px;
  max-height: 300px;
  object-fit: cover;
  margin: 0 auto;
}
@media screen and (min-width: 781px) {
  .wp-block-cover.alignfull img {
    max-height: 430px;
  }
}

.is-style-stripes tbody tr:nth-child(odd) th, .is-style-stripes tbody tr:nth-child(odd) td {
  background-color: #fff !important;
}

.is-style-stripes tbody tr:nth-child(even) th, .is-style-stripes tbody tr:nth-child(even) td {
  background-color: #f4f7fa !important;
}

.is-style-stripes__reverse tbody tr:nth-child(odd) th, .is-style-stripes__reverse tbody tr:nth-child(odd) td {
  background-color: #f4f7fa !important;
}

.is-style-stripes__reverse tbody tr:nth-child(even) th, .is-style-stripes__reverse tbody tr:nth-child(even) td {
  background-color: #fff !important;
}

.bl_table-box {
  max-width: fit-content;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

table th {
  font-weight: 600;
}
table td {
  font-weight: 500;
}

@media screen and (max-width: 781px) {
  table th, table td {
    padding: 10px !important;
  }
}
@media screen and (max-width: 781px) and (min-width: 781px) {
  table th, table td {
    padding: 15px !important;
  }
}
@media screen and (max-width: 781px) {
  figure.overview table th {
    padding: 15px 20px 5px !important;
  }
  figure.overview table td {
    padding: 5px 20px 15px !important;
  }
}
.vk_highlighter {
  background: linear-gradient(transparent 10%, rgba(180, 229, 248, 0.7) 0) !important;
}

.wp-element-caption {
  border-left: 1px solid var(--lineColor);
  border-bottom: 1px solid var(--lineColor);
  padding: 20px;
  text-align: left !important;
  margin-top: 15px;
  font-size: clamp(0.75rem, 0.7045454545rem + 0.2272727273vw, 0.875rem);
}
.wp-element-caption strong {
  font-weight: 700;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
}

@media screen and (max-width: 781px) {
  .justify-center_sp {
    justify-content: center !important;
  }
}

.ly_header {
  position: fixed;
  width: 100%;
  height: 50px;
  z-index: 20;
  top: 0;
  background-color: white;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}
@media screen and (min-width: 781px) {
  .ly_header {
    height: clamp(3.75rem, 1.9318181818rem + 9.0909090909vw, 8.75rem);
  }
}

@media screen and (max-width: 781px) {
  .active .el_logo {
    left: 50%;
    transform: translateX(-50%);
  }
}

.bl_header {
  height: 100%;
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}
.bl_header_inner {
  height: 100%;
}
@media screen and (min-width: 781px) {
  .bl_header_inner {
    padding: 2rem !important;
    gap: clamp(0rem, -1.3636363636rem + 6.8181818182vw, 3.75rem);
  }
}
.bl_header .wp-block-navigation__container {
  gap: clamp(0.3125rem, -0.0284090909rem + 1.7045454545vw, 1.25rem);
}
.bl_header .wp-block-navigation-link {
  font-family: var(--jp);
  font-weight: 700;
  font-size: clamp(0.8125rem, 0.7670454545rem + 0.2272727273vw, 0.9375rem);
}
@media screen and (min-width: 781px) {
  .bl_header .wp-block-navigation-link a {
    /* 下線を追加 */
  }
  .bl_header .wp-block-navigation-link a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--btnColor2), var(--btnColor1)); /* グラデーション下線 */
    transition: width 0.3s ease, left 0.3s ease; /* 左位置のアニメーションを追加 */
  }
}
@media screen and (min-width: 781px) and (min-width: 781px) {
  .bl_header .wp-block-navigation-link a::before {
    height: 4px;
    width: 0;
  }
}
@media screen and (min-width: 781px) and (min-width: 781px) {
  .bl_header .wp-block-navigation-link a:hover::before, .bl_header .wp-block-navigation-link a:focus::before {
    width: 100%; /* デフォルトの下線の長さ */
  }
}

.el_logo {
  transition: all 0.3s;
}
@media screen and (max-width: 781px) {
  .el_logo {
    position: absolute;
    left: 10px;
  }
}
.el_logo a {
  position: relative;
  z-index: 10;
}
.el_logo img {
  width: 160px;
}
@media screen and (min-width: 781px) {
  .el_logo img {
    width: clamp(5rem, 3.1818181818rem + 9.0909090909vw, 10rem);
    content: url("/wp-content/uploads/2024/12/logo_1.svg");
  }
}

.ly_breadCrumb {
  padding: 0 2rem;
}

.bl_contactBtn {
  margin: 0;
  padding: 0;
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
  position: absolute !important;
  top: 0;
  right: 50px;
  box-sizing: border-box;
}
@media screen and (min-width: 781px) {
  .bl_contactBtn {
    right: 0;
  }
}
.bl_contactBtn a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: clamp(0.6875rem, 0.5738636364rem + 0.5681818182vw, 1rem);
  font-weight: 700;
  text-indent: 3px;
  margin: 0;
  width: 110px;
  height: 50px;
  flex-direction: column;
  gap: 5px;
}
@media screen and (min-width: 781px) {
  .bl_contactBtn a {
    font-weight: 800;
    gap: 10px;
    width: 150px;
    height: clamp(3.75rem, 1.9318181818rem + 9.0909090909vw, 8.75rem);
  }
}
.bl_contactBtn a::before {
  content: url("../images/icon_mail.svg");
  display: block;
  width: 14px;
  height: 12px;
}
@media screen and (min-width: 781px) {
  .bl_contactBtn a::before {
    width: 40px;
    height: 18px;
  }
}

.bl_bgSection {
  margin-top: 0 !important;
  border-top: 1px solid var(--lineColor);
  padding-top: 30px;
  padding-bottom: 30px;
}
.bl_bgSection .wp-block-image img {
  height: 240px !important;
}
.bl_bgSection__noBorder {
  margin-top: 0 !important;
  border: none;
}
@media screen and (min-width: 781px) {
  .bl_bgSection {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .bl_bgSection .wp-block-image img {
    height: auto !important;
  }
}

.ly_topFooterMenu {
  background-color: var(--paleBlue);
  margin-top: 0 !important;
}
@media screen and (max-width: 781px) {
  .ly_topFooterMenu > .has-global-padding {
    display: contents;
  }
}

.bl_topFooterMenu {
  padding: 50px 0;
  position: relative;
  box-sizing: content-box;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto !important;
  gap: 0;
}
.bl_topFooterMenu .bl_largeBtn:nth-child(1) {
  border-right: 1px solid var(--lineColor);
}

footer.wp-block-template-part {
  position: relative;
  margin: 0;
}

.bl_footer {
  position: relative;
  margin-bottom: 60px;
}
@media screen and (min-width: 781px) {
  .bl_footer {
    margin-bottom: 0;
  }
}
.bl_footer_pagetop {
  position: fixed;
  right: 15px;
  bottom: 108px;
  margin: 0;
  padding: 0;
}
.bl_footer_pagetop img {
  width: 50px;
  height: 50px;
}
@media screen and (min-width: 781px) {
  .bl_footer_pagetop {
    right: 15px;
    bottom: 90px;
  }
}
.bl_footer_top {
  border-top: 1px solid var(--lineColor);
  margin-top: 30px !important;
  margin: 0;
  padding: 35px 15px;
}
.bl_footer_top ul {
  gap: 15px 30px;
}
.bl_footer_top ul li {
  font-size: clamp(0.75rem, 0.6818181818rem + 0.3409090909vw, 0.9375rem);
  font-weight: 700;
}
.bl_footer_top ul li:last-child {
  width: 100%;
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 781px) {
  .bl_footer_top ul li:last-child {
    width: auto;
  }
}
@media screen and (min-width: 781px) {
  .bl_footer_top ul li a {
    /* 下線を追加 */
  }
  .bl_footer_top ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--btnColor2), var(--btnColor1)); /* グラデーション下線 */
    transition: width 0.3s ease, left 0.3s ease; /* 左位置のアニメーションを追加 */
  }
}
@media screen and (min-width: 781px) and (min-width: 781px) {
  .bl_footer_top ul li a::before {
    height: 4px;
    width: 0;
  }
}
@media screen and (min-width: 781px) and (min-width: 781px) {
  .bl_footer_top ul li a:hover::before, .bl_footer_top ul li a:focus::before {
    width: 100%; /* デフォルトの下線の長さ */
  }
}
.bl_footer_bottom {
  border-top: 1px solid var(--lineColor);
  margin: 0;
  padding: 15px;
  font-size: clamp(0.6875rem, 0.6647727273rem + 0.1136363636vw, 0.75rem);
}
.bl_footer_bottom li a {
  font-family: var(--jp);
}
.bl_footer_bottom > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media screen and (min-width: 781px) {
  .bl_footer_bottom > div {
    flex-direction: row;
  }
}
.bl_footer_copyright {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  font-size: clamp(0.5625rem, 0.5170454545rem + 0.2272727273vw, 0.6875rem);
  letter-spacing: 1px;
}
.bl_footer_contactBtn a {
  color: #fff !important;
  display: flex !important;
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
  text-decoration: none;
  font-weight: 800;
  margin: 0;
  padding: 15px 30px;
  gap: 10px;
}
.bl_footer_contactBtn a::before {
  content: url("../images/icon_mail.svg");
  width: 20px;
  height: 20px;
  display: block;
}

.home .ly_header {
  background-color: transparent;
  border-bottom: transparent;
}
.home .ly_header.active {
  background-color: white;
  border-bottom: 1px solid #eee;
}
.home .bl_footer_top {
  margin-top: 0 !important;
}

.bl_box_type-a {
  gap: 0;
  margin: 0 !important;
  padding: 30px 0;
}
@media screen and (max-width: 781px) {
  .bl_box_type-a > .wp-block-column {
    border-top: 1px solid var(--lineColor);
    padding-bottom: 1em;
  }
  .bl_box_type-a > .wp-block-column:first-child {
    border-top: none;
  }
}
.bl_box_type-a > .wp-block-column .js_accordion1 + p {
  display: none;
  margin: 1em 0 0;
}
@media screen and (max-width: 781px) {
  .bl_box_type-a > .wp-block-column .js_accordion1 {
    display: grid;
    align-items: center;
    justify-content: start;
    padding: 1em 0 0;
    grid-template-columns: 60px auto;
  }
  .bl_box_type-a > .wp-block-column .js_accordion1 img {
    max-width: 65px;
  }
  .bl_box_type-a > .wp-block-column .js_accordion1 .wp-block-heading {
    margin: 0;
    padding: 0;
    margin-left: 20px !important;
  }
  .bl_box_type-a > .wp-block-column .js_accordion1 .el_accordion_icon {
    position: absolute;
    right: 0;
    margin: 0;
    top: calc(50% + 10px);
    transform: translateY(-50%);
  }
}
@media screen and (min-width: 781px) {
  .bl_box_type-a > .wp-block-column .js_accordion1 + p {
    display: block;
  }
}
@media screen and (min-width: 781px) {
  .bl_box_type-a > .wp-block-column {
    padding: 10px 70px;
  }
  .bl_box_type-a > .wp-block-column:nth-child(1) {
    padding-left: 0;
  }
  .bl_box_type-a > .wp-block-column:nth-child(2) {
    border-left: 1px solid var(--lineColor);
    border-right: 1px solid var(--lineColor);
  }
  .bl_box_type-a > .wp-block-column:nth-child(3) {
    padding-right: 0;
  }
}
.bl_box_type-a .wp-block-image {
  text-align: center;
}
.bl_box_type-a .wp-block-image img {
  max-width: 80px;
}
.bl_box_type-a .wp-block-heading {
  border: 0;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
  position: relative;
}
.bl_box_type-a .wp-block-heading:before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 2px;
  background-color: #aaa;
}
.bl_box_type-a p {
  font-size: clamp(0.875rem, 0.875rem + 0vw, 0.875rem);
}

.wpcf7-submit {
  display: inline-block;
  padding: 15px 50px;
  font-size: clamp(0.75rem, 0.6590909091rem + 0.4545454545vw, 1rem);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: white; /* テキストカラー */
  background: linear-gradient(90deg, var(--btnColor2), var(--btnColor1)); /* グラデーションカラー */
  border: none;
  border-radius: 0; /* ボタンの角を丸める */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ボタンに軽い影をつける */
  transition: all 0.3s ease;
}
.wpcf7-submit:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* ホバー時に影を強調 */
  transform: translateY(-2px); /* ホバー時に少し上に持ち上げる */
  cursor: pointer;
}
.wpcf7-submit:active {
  transform: translateY(1px); /* クリック時に押し込むような効果 */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* クリック時に影を軽減 */
}

@media screen and (max-width: 781px) {
  .wp-block-buttons:has(.is-style-anchor) {
    gap: 10px;
    justify-content: space-between;
  }
  .wp-block-buttons:has(.is-style-anchor) .wp-block-button {
    min-width: auto;
  }
}

.wp-block-button__link {
  min-width: 160px;
  padding: 12px 60px 12px 30px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  font-size: clamp(0.6875rem, 0.6420454545rem + 0.2272727273vw, 0.8125rem);
  text-align: center;
  text-decoration: none;
  color: white; /* テキストカラー */
  background: url("/wp-content/themes/cpa-imamura/assets/images/icon_arrow_white.svg"), linear-gradient(90deg, var(--btnColor2), var(--btnColor1));
  background-position: 89% center;
  background-repeat: no-repeat;
  background-size: 15px, 100%;
  border: none;
  border-radius: 0; /* ボタンの角を丸める */
  transition: all 0.3s ease;
}
.wp-block-button__link:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* ホバー時に影を強調 */
  transform: translateY(-2px); /* ホバー時に少し上に持ち上げる */
  cursor: pointer;
}
.wp-block-button__link:active {
  transform: translateY(1px); /* クリック時に押し込むような効果 */
}
.wp-block-button.is-style-anchor .wp-element-button {
  color: #000;
  background: var(--btnColor3);
  padding: 10px;
  min-width: auto;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans JP", sans-serif;
}
.wp-block-button.is-style-anchor .wp-element-button span {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
}
.wp-block-button.is-style-anchor .wp-element-button::after {
  content: "▼";
}
@media screen and (min-width: 781px) {
  .wp-block-button.is-style-anchor .wp-element-button {
    display: block;
    position: relative;
    padding: 10px 40px 10px 20px;
  }
  .wp-block-button.is-style-anchor .wp-element-button::after {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.bl_largeBtn {
  position: relative;
  padding-top: 50px;
  padding-bottom: 25px;
}
@media screen and (min-width: 781px) {
  .bl_largeBtn {
    padding: 25px;
    padding: 90px 70px 90px 70px;
  }
}
.bl_largeBtn .wp-block-heading {
  position: absolute;
  font-weight: 500;
  letter-spacing: 1px;
  border: none;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  top: 20px;
  left: 32px;
}
@media screen and (min-width: 781px) {
  .bl_largeBtn .wp-block-heading {
    writing-mode: vertical-rl;
    top: 40px;
    left: 40px;
    align-items: center;
  }
}
.bl_largeBtn .wp-block-buttons {
  margin: 0;
  align-items: center;
}
.bl_largeBtn .wp-block-button__link {
  font-family: var(--jp);
  font-size: clamp(1.0625rem, 0.9943181818rem + 0.3409090909vw, 1.25rem);
  font-weight: 500;
  color: var(--textColor);
  align-items: center;
  background: none;
  gap: 10px;
  display: flex;
  flex-direction: column;
  padding: 0;
}
@media screen and (min-width: 781px) {
  .bl_largeBtn .wp-block-button__link {
    gap: 20px;
    flex-direction: row;
  }
}
.bl_largeBtn .wp-block-button__link::after {
  content: url("/wp-content/themes/cpa-imamura/assets/images/icon_arrow_black.svg");
  width: 15px;
  margin-top: -10px;
}
.bl_largeBtn .wp-block-button__link:hover {
  box-shadow: none;
  transform: none;
}
.bl_largeBtn__company .wp-block-button__link::before {
  content: url("/wp-content/themes/cpa-imamura/assets/images/icon_company.svg");
  width: 40px;
  height: 50px;
}
@media screen and (min-width: 781px) {
  .bl_largeBtn__company .wp-block-button__link::before {
    width: 60px;
    height: 75px;
  }
}
.bl_largeBtn__qa .wp-block-button__link {
  min-height: 114px;
  justify-content: flex-end;
}
@media screen and (min-width: 781px) {
  .bl_largeBtn__qa .wp-block-button__link {
    min-height: 75px;
  }
}
.bl_largeBtn__qa .wp-block-button__link::before {
  content: url("/wp-content/themes/cpa-imamura/assets/images/icon_qa.svg");
  width: 70px;
  height: 35px;
}
@media screen and (min-width: 781px) {
  .bl_largeBtn__qa .wp-block-button__link::before {
    width: 80px;
    height: 43px;
  }
}

.bl_h1 {
  margin-top: 20px;
  margin-bottom: 50px;
}
@media screen and (min-width: 781px) {
  .bl_h1 {
    margin-top: 50px;
  }
}

h1.wp-block-heading {
  font-size: clamp(1.5rem, 1.4090909091rem + 0.4545454545vw, 1.75rem);
  font-weight: 400;
  border-left: none;
  margin-top: 15px;
  padding: 0;
  letter-spacing: 3px;
}

.is-style-underline {
  font-size: clamp(0.6875rem, 0.6420454545rem + 0.2272727273vw, 0.8125rem);
  border: none;
  border-bottom: 1px solid var(--btnColor1);
  display: inline-block;
  letter-spacing: 3px;
  padding: 0;
  padding-bottom: 8px;
}

.is-style-square {
  font-size: clamp(0.9375rem, 0.8238636364rem + 0.5681818182vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 3px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  border-left: none;
  position: relative;
  margin-top: 50px;
  padding-left: 25px;
}
@media screen and (min-width: 781px) {
  .is-style-square {
    margin-top: 80px;
  }
}
.is-style-square::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
  margin-right: 8px;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.is-style-square::after {
  content: "";
  height: 1px;
  border-top: 1px solid #b3b3b3;
  flex-grow: 1;
  margin-left: 20px;
}

.is-style-squareNo {
  display: flex;
  gap: 5px;
}
.is-style-squareNo p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  font-weight: 300;
  font-size: clamp(0.75rem, 0.6590909091rem + 0.4545454545vw, 1rem);
  width: 1em;
  height: 1em;
  line-height: 1;
  color: #fff;
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
  padding: 10px;
  white-space: nowrap;
  letter-spacing: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.is-style-squareNo .wp-block-heading {
  border: none;
  position: relative;
  padding-bottom: 5px;
  font-size: clamp(1.0625rem, 0.9943181818rem + 0.3409090909vw, 1.25rem);
  text-align: center;
  min-width: 9em;
}
@media screen and (min-width: 781px) {
  .is-style-squareNo .wp-block-heading {
    width: 100%;
  }
}
.is-style-squareNo .wp-block-heading::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 8px;
  width: calc(100% - 9px);
  height: 3px;
  background: var(--btnColor2);
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
}

.is-style-hsize {
  font-size: clamp(1.25rem, 1.1590909091rem + 0.4545454545vw, 1.5rem);
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 3px;
}

.is-style-hsize-mid {
  font-size: clamp(1rem, 0.9090909091rem + 0.4545454545vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 2px;
}

.is-style-blue-color {
  border: none;
  padding: 0;
  font-size: clamp(1rem, 0.9090909091rem + 0.4545454545vw, 1.25rem);
  font-weight: bold;
  letter-spacing: 3px;
  color: #1fb6c4;
}

.is-style-fukidashi-right {
  display: block;
  position: relative;
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
  color: white;
  font-size: clamp(0.75rem, 0.6590909091rem + 0.4545454545vw, 1rem);
  font-weight: 400;
  padding: 10px 20px;
  border: none;
  text-align: center;
  box-sizing: border-box;
  max-width: 190px;
}
@media screen and (min-width: 781px) {
  .is-style-fukidashi-right {
    max-width: 220px;
  }
}
.is-style-fukidashi-right::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px; /* ボックスの下部に配置 */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 0; /* 左下に三角形を作成 */
  border-color: var(--btnColor2) transparent transparent transparent; /* 左側の色を背景に合わせる */
}

.is-style-fukidashi-left {
  display: block;
  position: relative;
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
  color: white;
  font-size: clamp(0.75rem, 0.6590909091rem + 0.4545454545vw, 1rem);
  font-weight: 400;
  padding: 10px 20px;
  border: none;
  text-align: center;
  box-sizing: border-box;
  max-width: 190px;
}
@media screen and (min-width: 781px) {
  .is-style-fukidashi-left {
    max-width: 220px;
  }
}
.is-style-fukidashi-left::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px; /* ボックスの下部に配置 */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 0 10px; /* 左下に三角形を作成 */
  border-color: var(--btnColor1) transparent transparent transparent; /* 左側の色を背景に合わせる */
}

.is-style-sub-title {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  position: relative;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
  display: inline-block;
}
.is-style-sub-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* テキストの下からの距離 */
  width: 60px; /* 下線の幅 */
  height: 1px; /* 下線の高さ */
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
  border-radius: 2px; /* 角を少し丸める */
}

.is-style-underline-b {
  border: 0;
  padding: 0;
  font-size: clamp(0.75rem, 0.6590909091rem + 0.4545454545vw, 1rem);
  position: relative;
}
.is-style-underline-b::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 2px;
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
}

.is-style-underline-a {
  border: 0;
  padding: 0;
  font-size: clamp(1.125rem, 1.0795454545rem + 0.2272727273vw, 1.25rem);
  position: relative;
}
.is-style-underline-a::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 2px;
  background-color: #aaa;
}

.is-style-timeline {
  list-style: none;
  padding: 0;
  position: relative;
  /* タイムラインの線 */
  /* 最後の項目のマージンを調整 */
}
.is-style-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background-color: #ccc;
}
.is-style-timeline li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #333;
  /* ドットのスタイル */
}
.is-style-timeline li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
}
.is-style-timeline li:last-child {
  margin-bottom: 0;
}

.is-style-horizontal-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 30px;
}
.is-style-horizontal-list li {
  position: relative;
  font-size: 14px;
  color: #333;
  padding: 0 0 0 20px;
  /* ドットのスタイル */
}
.is-style-horizontal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-color: var(--lineColor);
  border-radius: 50%;
}

.is-style-bullet-list {
  list-style: none;
  padding: 0;
}
.is-style-bullet-list li {
  position: relative;
  font-size: 14px;
  color: #333;
  padding-left: 20px;
  margin-bottom: 10px;
  /* ドットのスタイル */
}
@media screen and (min-width: 781px) {
  .is-style-bullet-list li {
    margin-bottom: 0;
  }
}
.is-style-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-color: var(--lineColor);
  border-radius: 50%;
}

.is-style-tag {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.is-style-tag li {
  font-size: clamp(0.6875rem, 0.6193181818rem + 0.3409090909vw, 0.875rem) !important;
  background-color: #f4f7fa;
  border-radius: 30px;
  padding: 5px 15px;
  line-height: 1.5;
  font-size: 14px;
}

.ly_anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media screen and (min-width: 781px) {
  .ly_anchor-list {
    gap: 0;
  }
}
.ly_anchor-list ul:nth-child(1) > li:first-child::before {
  content: none;
}
.ly_anchor-list ul:nth-child(1) > li:first-child a::before {
  left: 0;
}
.ly_anchor-list ul:nth-child(1) > li:first-child a:hover::before {
  width: 100%;
}
.ly_anchor-list .is-style-anchor-list {
  margin: 0 !important;
  align-items: flex-end;
}
@media screen and (min-width: 781px) {
  .ly_anchor-list .is-style-anchor-list {
    display: contents;
  }
  .ly_anchor-list .is-style-anchor-list li a::before {
    left: 40px; /* 下線の開始位置は同じ */
  }
  .ly_anchor-list .is-style-anchor-list li a:hover::before,
  .ly_anchor-list .is-style-anchor-list li a:focus::before {
    width: calc(100% - 40px); /* 2つ目以降のマウスオーバー時の下線の長さをリンク全体の幅から20px引く */
  }
  .ly_anchor-list .is-style-anchor-list li::before {
    content: "";
    display: block;
    width: 1px;
    height: 16px;
    background-color: var(--btnColor1); /* 区切り線の色 */
    margin: 0 20px;
  }
}
@media screen and (max-width: 781px) {
  .ly_anchor-list .is-style-anchor-list li {
    display: inline-flex;
    text-align: center;
    width: 100%;
  }
}

.is-style-anchor-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 15px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 50px auto;
  justify-content: space-between;
}
@media screen and (min-width: 781px) {
  .is-style-anchor-list {
    gap: 20px;
    justify-content: flex-start;
  }
}
.is-style-anchor-list li {
  position: relative;
  font-size: 14px;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media screen and (min-width: 781px) {
  .is-style-anchor-list li {
    flex: none;
    text-align: left;
  }
}
.is-style-anchor-list li a {
  text-decoration: none; /* 下線を削除 */
  color: var(--fontColor); /* テキストカラー */
  font-size: clamp(0.75rem, 0.7045454545rem + 0.2272727273vw, 0.875rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 1px;
  padding: 5px;
  transition: color 0.3s ease;
  /* テキストの最後に▼を追加 */
  /* 下線を追加 */
  /* 下線を追加 */
}
@media screen and (min-width: 781px) {
  .is-style-anchor-list li a {
    padding: 5px 0;
    display: inline-block;
  }
}
.is-style-anchor-list li a::after {
  content: " ▼"; /* テキストの末尾に追加 */
  font-size: 10px;
  margin-left: 4px; /* テキストとの間隔 */
  color: inherit; /* テキストの色に合わせる */
  display: flex;
  justify-content: center;
  line-height: 1;
}
@media screen and (min-width: 781px) {
  .is-style-anchor-list li a::after {
    display: inline;
  }
}
.is-style-anchor-list li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1)); /* グラデーション下線 */
  transition: width 0.3s ease, left 0.3s ease; /* 左位置のアニメーションを追加 */
}
@media screen and (min-width: 781px) {
  .is-style-anchor-list li a::before {
    height: 4px;
    width: 0;
  }
}
@media screen and (min-width: 781px) {
  .is-style-anchor-list li a:hover::before, .is-style-anchor-list li a:focus::before {
    width: 100%; /* デフォルトの下線の長さ */
  }
}
@media screen and (min-width: 781px) {
  .is-style-anchor-list {
    /* 2つ目以降の li の調整 */
    /* 区切り線 */
  }
  .is-style-anchor-list li + li a::before {
    left: 40px; /* 下線の開始位置は同じ */
  }
  .is-style-anchor-list li + li a:hover::before,
  .is-style-anchor-list li + li a:focus::before {
    width: calc(100% - 40px); /* 2つ目以降のマウスオーバー時の下線の長さをリンク全体の幅から20px引く */
  }
  .is-style-anchor-list li + li::before {
    content: "";
    display: block;
    width: 1px;
    height: 16px;
    background-color: var(--btnColor1); /* 区切り線の色 */
    margin: 0 20px;
  }
}

.is-style-breadcrumb {
  display: flex;
  align-items: center; /* 縦中央揃え */
  justify-content: flex-end;
  list-style: none; /* デフォルトのリストスタイルを削除 */
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  font-size: clamp(0.625rem, 0.5568181818rem + 0.3409090909vw, 0.8125rem);
}
.is-style-breadcrumb li {
  display: flex;
  align-items: center; /* 各リスト項目を縦中央に揃える */
  position: relative;
  padding-right: 19px;
}
.is-style-breadcrumb li:last-child {
  padding-right: 0;
}
.is-style-breadcrumb li:not(:last-child)::after {
  content: ">"; /* 区切り線 */
  margin: 0 8px; /* 区切り線の左右のスペース */
  color: #666; /* 区切り線の色 */
  position: absolute;
  right: -2px; /* 区切り線の位置調整 */
  top: 50%; /* 縦位置を中央揃え */
  transform: translateY(-50%); /* 縦中央揃えの補正 */
}
.is-style-breadcrumb li a {
  color: var(--fontColor);
  text-decoration: none;
}

.is-style-note {
  list-style: none;
  padding: 0;
}
.is-style-note li {
  position: relative;
  font-size: 12px;
  color: #333;
  padding-left: 20px;
  margin-bottom: 10px;
  /* ドットのスタイル */
}
@media screen and (min-width: 781px) {
  .is-style-note li {
    font-size: 14px;
    margin-bottom: 0;
  }
}
.is-style-note li::before {
  content: "※";
  position: absolute;
  left: 0;
  width: 1em;
  height: 1em;
}

.bl_accordion {
  margin: 50px 0;
  background: #f4f7fa;
}
@media (max-width: 1024px) {
  .bl_accordion {
    margin: 25px 0;
  }
}
.bl_accordion .wp-block-heading {
  border: none;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
  font-weight: 500;
}
.bl_accordion_header {
  position: relative;
  padding: 25px 50px 25px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.bl_accordion_header::after {
  position: absolute;
  content: "";
  background-image: url(./assets/images/icon_plus.svg);
  background-repeat: no-repeat;
  background-size: contain;
  top: 50%;
  transform: translateY(-50%);
  right: 45px;
  width: 35px;
  height: 35px;
}
@media (max-width: 1024px) {
  .bl_accordion_header::after {
    right: 15px;
  }
}
.bl_accordion_header.active::after {
  background-image: url(./assets/images/icon_minus.svg);
}
.bl_accordion_content {
  position: relative;
  display: none;
  margin: 0;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
}
@media (max-width: 1024px) {
  .bl_accordion_content {
    border-radius: 0 0 14px 14px;
  }
}

.bl_accordion_icon {
  width: 20px;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease; /* アニメーション */
}
.bl_accordion_icon::before, .bl_accordion_icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 16px;
  background-color: #00a8cc;
  transition: transform 0.3s ease;
}
.bl_accordion_icon::before {
  transform: rotate(0deg); /* 縦線 */
}
.bl_accordion_icon::after {
  transform: rotate(90deg); /* 横線 */
}
.bl_accordion_icon.is-open::before {
  transform: rotate(90deg); /* + を - に */
}
.bl_accordion_icon.is-open::after {
  transform: rotate(90deg); /* + を - に */
}

.el_accordion_icon {
  width: 20px;
  height: 20px;
  padding: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease; /* アニメーション */
  background-color: #00a8cc;
  border-radius: 60px;
}
.el_accordion_icon::before, .el_accordion_icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 16px;
  background-color: #fff;
  transition: transform 0.3s ease;
}
.el_accordion_icon::before {
  transform: rotate(0deg); /* 縦線 */
}
.el_accordion_icon::after {
  transform: rotate(90deg); /* 横線 */
}
.el_accordion_icon.is-open::before {
  transform: rotate(90deg); /* + を - に */
}
.el_accordion_icon.is-open::after {
  transform: rotate(90deg); /* + を - に */
}

.bl_accordion__qa .bl_accordion_header {
  padding: 15px 20px 15px 70px;
  text-align: left;
  position: relative;
}
.bl_accordion__qa .bl_accordion_header::before {
  content: "Q";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: var(--btnColor2); /* フォールバックカラー */
  background: linear-gradient(to right, var(--btnColor2), var(--btnColor1));
}
.bl_accordion__qa .bl_accordion_content {
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
  padding: 30px 0px 30px 25px;
  background-color: #fff;
}
@media screen and (min-width: 781px) {
  .bl_accordion__qa .bl_accordion_content {
    padding: 30px 80px 30px 80px;
  }
}
.bl_accordion__qa .bl_accordion_content p {
  position: relative;
}
.bl_accordion__qa .bl_accordion_content p::before {
  content: "A";
  font-size: clamp(1rem, 1rem + 0vw, 1rem);
  display: flex;
  color: var(--btnColor2);
}
@media screen and (min-width: 781px) {
  .bl_accordion__qa .bl_accordion_content p::before {
    justify-content: center;
    width: 60px;
    position: absolute;
    left: -80px;
  }
}

.bl_mainvisual {
  position: relative;
  padding: 0;
  box-sizing: content-box;
}
@media screen and (min-width: 781px) {
  .bl_mainvisual {
    padding: 0 70px;
    margin-bottom: clamp(1.25rem, 0.1136363636rem + 5.6818181818vw, 4.375rem);
  }
}

.bl_mainvisualImg {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  top: 0;
  left: 0;
}
.bl_mainvisualImg h1 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  border: 0;
  margin: 0;
  position: absolute !important;
  left: 4.6875%;
  top: 30px;
  font-size: clamp(0.6875rem, 0.4375rem + 1.25vw, 1.375rem);
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1;
  z-index: 10;
  background-color: #fff;
  padding: 7px 1.5625%;
  white-space: nowrap;
}
@media screen and (min-width: 781px) {
  .bl_mainvisualImg h1 {
    left: -60px;
    top: auto;
    bottom: 0;
    font-size: clamp(0.8125rem, 0.8125rem + 0vw, 0.8125rem);
    padding: 0;
    background-color: transparent;
  }
}
.bl_mainvisualImg figure {
  margin-top: 10px;
}
.bl_mainvisualImg .el_mainvisual img {
  content: url("/wp-content/uploads/2025/01/top_img01_sp.png");
}
.bl_mainvisualImg .el_scroll {
  margin: 0 !important;
}
.bl_mainvisualImg .el_scroll img {
  position: absolute;
  z-index: 10;
  width: 2.34375%;
  height: auto;
  right: calc(clamp(1.25rem, 1.0681818182rem + 0.9090909091vw, 1.75rem) * -1);
  bottom: 0;
}
@media screen and (min-width: 781px) {
  .bl_mainvisualImg figure {
    margin-top: 36px;
  }
  .bl_mainvisualImg .el_mainvisual img {
    content: inherit;
  }
  .bl_mainvisualImg .el_scroll {
    display: none;
  }
}
.bl_mainvisualImg_copy {
  position: absolute;
  width: 26.5625%;
  left: 17.34375%;
  top: 20px;
  bottom: auto;
  margin: 0;
  padding: 0;
  z-index: 10;
  height: auto;
}
@media screen and (min-width: 781px) {
  .bl_mainvisualImg_copy {
    width: 12.3%;
    left: 9.6%;
    top: auto;
    bottom: 19.1029900332%;
  }
}

.bl_policy {
  background-color: var(--paleBlue);
  border-top: 1px solid #cdcfd0;
  border-bottom: 1px solid #cdcfd0;
}
.bl_policy .is-layout-flex {
  flex-direction: column-reverse;
}
@media screen and (min-width: 781px) {
  .bl_policy .is-layout-flex {
    flex-direction: row-reverse;
  }
}
.bl_policy_inner {
  position: relative;
  box-sizing: content-box;
  padding: 30px 0;
  max-width: 1000px;
  margin: 0 auto !important;
}
.bl_policy_inner h2 {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
  letter-spacing: 1px;
  border: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  writing-mode: vertical-rl;
  left: -27px;
}
@media screen and (min-width: 781px) {
  .bl_policy_inner h2 {
    left: 2px;
    top: 50px;
  }
}
.bl_policy_inner h2 + div {
  margin-top: 0;
}
.bl_policy_inner p:not(.is-style-hsize) {
  font-size: clamp(0.75rem, 0.7045454545rem + 0.2272727273vw, 0.875rem);
}
@media screen and (min-width: 781px) {
  .bl_policy_inner {
    padding: 0 70px;
  }
  .bl_policy_inner .wp-block-columns {
    margin: 0;
    gap: 0;
  }
  .bl_policy_inner .wp-block-columns .wp-block-column {
    padding: 5% 8%;
  }
  .bl_policy_inner .wp-block-columns .wp-block-column:nth-child(2) {
    flex-basis: 56%;
    padding-left: 0;
    border-right: 1px solid #cdcfd0;
  }
  .bl_policy_inner .wp-block-columns .wp-block-column:nth-child(1) {
    flex-basis: 44%;
    padding-left: 70px;
    padding-right: 0;
  }
  .bl_policy_inner .wp-block-columns .wp-block-column:nth-child(1) #el_header + p {
    font-weight: 500;
    margin-top: 10px;
  }
}

.bl_strength {
  margin: 0;
}
.bl_strength_header {
  position: relative;
  padding-top: 30px;
  padding-bottom: 30px;
}
@media screen and (min-width: 781px) {
  .bl_strength_header {
    box-sizing: content-box;
    max-width: 1000px;
    margin: 0 auto !important;
    padding: 50px 70px;
  }
}
.bl_strength_header h2 {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
  letter-spacing: 1px;
  border: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  writing-mode: vertical-rl;
  left: 5px;
}
@media screen and (min-width: 781px) {
  .bl_strength_header h2 {
    right: 10px;
    top: 50px;
  }
}
.bl_strength_header h2 + div {
  margin-top: 0;
}
.bl_strength_header .wp-block-columns {
  flex-direction: column-reverse;
}
@media screen and (min-width: 781px) {
  .bl_strength_header .wp-block-columns {
    flex-direction: row;
    max-width: 1000px;
    margin: 0 !important;
    gap: 50px;
  }
}
.bl_strength_body {
  padding: 30px 0;
  max-width: 1000px;
  margin: 0 auto !important;
  box-sizing: content-box;
  border-top: 1px solid var(--lineColor);
  padding: 30px;
}
@media screen and (min-width: 1024px) {
  .bl_strength_body {
    padding: 70px 70px 50px 70px;
  }
  .bl_strength_body > div:nth-child(3)::before {
    content: "";
    position: absolute;
    top: -45px;
    left: -70px;
    width: calc(100% + 140px);
    border-top: 1px solid var(--lineColor);
  }
}
@media screen and (max-width: 781px) {
  .bl_strength_body > div:nth-child(2)::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -30px;
    width: calc(100% + 60px);
    border-top: 1px solid var(--lineColor);
  }
  .bl_strength_body > div:nth-child(3)::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -30px;
    width: calc(100% + 60px);
    border-top: 1px solid var(--lineColor);
  }
}
.bl_strength_body .wp-block-buttons {
  position: relative;
  margin-top: 50px;
}
.bl_strength_body .wp-block-buttons .wp-block-button__link {
  font-family: "Noto Sans JP", sans-serif;
}
.bl_strength_body .el_btn a {
  width: 320px;
  padding: 30px;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
}
.bl_strength_body .el_btn a span {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
}
.bl_strength .el_accordion_icon {
  display: block;
}
@media screen and (min-width: 781px) {
  .bl_strength .el_accordion_icon {
    display: none !important;
  }
}

.bl_service {
  background-color: var(--paleBlue);
  border-top: 1px solid #cdcfd0;
  border-bottom: 1px solid #cdcfd0;
  margin: 0;
}
.bl_service_header {
  position: relative;
  padding-top: 30px;
  padding-bottom: 30px;
}
@media screen and (min-width: 781px) {
  .bl_service_header {
    box-sizing: content-box;
    max-width: 1000px;
    margin: 0 auto !important;
    padding: 50px 70px;
  }
}
.bl_service_header h2 {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
  letter-spacing: 1px;
  border: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  writing-mode: vertical-rl;
  left: 5px;
}
@media screen and (min-width: 781px) {
  .bl_service_header h2 {
    left: 4px;
    top: 50px;
  }
}
.bl_service_header h2 + div {
  margin-top: 0;
}
.bl_service_header .wp-block-columns {
  max-width: 1000px;
  margin: 0 !important;
  gap: 0;
}
.bl_service_header .wp-block-columns .wp-block-column figure {
  margin-bottom: 15px;
}
@media screen and (min-width: 781px) {
  .bl_service_header .wp-block-columns .wp-block-column {
    padding: 0;
  }
  .bl_service_header .wp-block-columns .wp-block-column:nth-child(1) {
    flex-basis: 52%;
  }
  .bl_service_header .wp-block-columns .wp-block-column:nth-child(2) {
    flex-basis: 48%;
    padding-left: 70px;
  }
}
.bl_service_body {
  padding: 30px 0;
  max-width: 1000px;
  margin: 0 auto !important;
  padding: 35px;
  box-sizing: content-box;
  border-top: 1px solid #cdcfd0;
}
@media screen and (min-width: 781px) {
  .bl_service_body {
    padding: 0 70px;
  }
}
.bl_service_body .wp-block-columns {
  margin: 0 !important;
  gap: 0;
}
@media screen and (max-width: 781px) {
  .bl_service_body .wp-block-columns .wp-block-column:nth-child(2) {
    margin-top: 70px;
    position: relative;
  }
  .bl_service_body .wp-block-columns .wp-block-column:nth-child(2)::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -35px;
    border: none;
    width: calc(100% + 70px);
    border-top: 1px solid var(--lineColor);
  }
}
@media screen and (min-width: 781px) {
  .bl_service_body .wp-block-columns .wp-block-column {
    padding: 55px;
  }
  .bl_service_body .wp-block-columns .wp-block-column:nth-child(1) {
    padding-left: 0;
    border-right: 1px solid #cdcfd0;
  }
  .bl_service_body .wp-block-columns .wp-block-column:nth-child(2) {
    padding-right: 0;
  }
}
.bl_service_body .wp-block-columns .js_accordion2 {
  position: relative;
}
.bl_service_body .wp-block-columns .js_accordion2 .el_accordion_icon {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  display: block;
}
@media screen and (min-width: 781px) {
  .bl_service_body .wp-block-columns .js_accordion2 .el_accordion_icon {
    display: none !important;
  }
}
.bl_service_body .wp-block-columns .js-accordionTarget {
  display: none;
}
@media screen and (min-width: 781px) {
  .bl_service_body .wp-block-columns .js-accordionTarget {
    display: block !important;
  }
}
.bl_service_body .is-style-underline-a + p {
  margin: 30px 0 20px;
}
.bl_service_body .wp-block-buttons {
  margin-top: 20px;
}
.bl_service_body .el_btn a {
  width: 320px;
  padding: 30px;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
}

.bl_voices {
  border-top: 1px solid #cdcfd0;
  border-bottom: 1px solid #cdcfd0;
  margin: 0;
  margin: 0;
}
.bl_voices_header {
  position: relative;
  padding-top: 30px;
  padding-bottom: 30px;
}
@media screen and (min-width: 781px) {
  .bl_voices_header {
    box-sizing: content-box;
    max-width: 1000px;
    margin: 0 auto !important;
    padding: 50px 70px;
  }
}
.bl_voices_header h2 {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
  letter-spacing: 1px;
  border: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  writing-mode: vertical-rl;
  left: 5px;
}
@media screen and (min-width: 781px) {
  .bl_voices_header h2 {
    left: auto;
    right: 10px;
    top: 55px;
  }
}
.bl_voices_header h2 + div {
  margin-top: 0;
}
.bl_voices_header .wp-block-columns {
  max-width: 1000px;
  margin: 0 !important;
  gap: 20px;
}
@media screen and (min-width: 781px) {
  .bl_voices_header .wp-block-columns {
    gap: 50px;
  }
}
.bl_voices_header .wp-block-columns p {
  margin-top: 15px;
}
.bl_voices_body {
  max-width: 1140px;
  margin: 0 auto !important;
  padding: 0;
  gap: 0;
  box-sizing: content-box;
  border-top: 1px solid #cdcfd0;
}
.bl_voices_body .wp-block-column {
  display: flex;
  border-right: 1px solid #cdcfd0;
  padding: 32px;
  padding-bottom: 0;
}
@media screen and (min-width: 781px) {
  .bl_voices_body .wp-block-column {
    padding: clamp(1.25rem, 0.5681818182rem + 3.4090909091vw, 3.125rem) clamp(1.25rem, 0.1136363636rem + 5.6818181818vw, 4.375rem);
  }
}
.bl_voices_body .wp-block-column:last-child {
  border-right: none;
}
.bl_voices_body .wp-block-column figure + div {
  margin-top: 0;
}
@media screen and (min-width: 781px) {
  .bl_voices_body .wp-block-column figure + div {
    display: contents !important;
  }
}
.bl_voices_body .wp-block-column .wp-block-heading {
  margin: 20px 0 0 0 !important;
  text-align: left;
}
.bl_voices_body .wp-block-column .wp-block-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bl_voices_body .wp-block-column .wp-block-group p {
  margin: 2em auto;
}
.bl_voices_body .wp-block-column .wp-block-group .wp-block-buttons {
  margin: 0 !important;
  margin-top: auto;
}
@media screen and (max-width: 781px) {
  .bl_voices_body .wp-block-column .wp-block-heading {
    margin-top: 0 !important;
  }
  .bl_voices_body .wp-block-column p {
    margin: 1em 0;
  }
  .bl_voices_body .wp-block-column > .wp-block-group {
    border-top: 1px solid #cdcfd0;
    padding-top: 40px;
    gap: 30px;
    display: grid !important;
    grid-template-columns: 35% 1fr;
  }
  .bl_voices_body .wp-block-column:first-child {
    padding-top: 0;
  }
  .bl_voices_body .wp-block-column:first-child > .wp-block-group {
    border: none;
  }
  .bl_voices_body .wp-block-column:last-child {
    padding-bottom: 40px;
  }
}
.bl_voices_body .el_btn a {
  width: 320px;
  padding: 30px;
  font-size: clamp(0.875rem, 0.8295454545rem + 0.2272727273vw, 1rem);
}

.bl_serviceBox {
  margin: 50px auto;
}
.bl_serviceBox section {
  padding-top: 50px;
  padding-bottom: 50px;
}
.bl_serviceBox section:nth-child(odd) {
  background-color: #f4f7fa;
}
.bl_serviceBox section:nth-child(odd) .is-style-tag li {
  background-color: #fff;
}
.bl_serviceBox section .is-style-blue-color ~ p {
  margin-top: 10px;
}
.bl_serviceBox section hr {
  border: none;
  height: 1px;
  background-color: var(--lineColor);
}

.bl_flowBox {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 30px 0;
  /* カウンターをリセット */
  counter-reset: step-counter;
  /* レスポンシブ対応 */
}
.bl_flowBox > div {
  position: relative;
  width: 100%;
  margin: 0;
  text-align: center;
  flex: 1 1 calc(25% - 30px); /* 各ボックスの幅 */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* アイコンとタイトルを囲む div */
  /* 説明文 */
  /* ナンバリング */
  /* 矢印 */
  /* 最後のブロックの矢印を非表示 */
}
.bl_flowBox > div:nth-child(1) .un_title::after {
  width: 55px;
}
.bl_flowBox > div:nth-child(2) .un_title::after {
  width: 75px;
}
.bl_flowBox > div:nth-child(3) .un_title::after {
  width: 35px;
}
.bl_flowBox > div:nth-child(4) .un_title::after {
  width: 30px;
}
.bl_flowBox > div > div {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #f9f9f9; /* 背景色 */
  margin: 0;
  padding: 20px;
}
@media screen and (min-width: 781px) {
  .bl_flowBox > div > div {
    padding: 20px;
  }
}
@media screen and (max-width: 781px) {
  .bl_flowBox > div > div .un_title {
    white-space: nowrap;
  }
  .bl_flowBox > div > div .un_title::after {
    content: "";
    width: 40px;
    height: 40px;
  }
}
@media screen and (min-width: 781px) {
  .bl_flowBox > div > div {
    flex-direction: column;
  }
}
.bl_flowBox > div > div figure {
  margin: 0 !important;
}
.bl_flowBox > div > div figure img {
  width: auto;
}
@media screen and (min-width: 781px) {
  .bl_flowBox > div > div figure img {
    height: 85px; /* アイコンのサイズ */
  }
}
@media screen and (max-width: 781px) {
  .bl_flowBox > div > div figure img {
    height: 40px;
  }
}
.bl_flowBox > div > div p {
  font-size: clamp(0.75rem, 0.7045454545rem + 0.2272727273vw, 0.875rem);
  font-weight: bold;
  color: #333;
  margin: 0 !important;
  padding: 0;
  display: flex;
  align-items: center;
}
.bl_flowBox > div > p:last-of-type {
  font-size: clamp(0.75rem, 0.7045454545rem + 0.2272727273vw, 0.875rem);
  color: #666;
  line-height: 1.6;
  text-align: left;
  margin-top: 15px;
  margin-bottom: 15px;
}
@media screen and (max-width: 781px) {
  .bl_flowBox > div > p:last-of-type::before {
    content: url("/wp-content/themes/cpa-imamura/assets/images/icon_arrow_blue.svg"); /* 矢印 */
    width: 20px;
    margin: 0 auto;
    color: #00a8cc;
    font-size: 20px;
    position: absolute;
    bottom: -23px;
    left: 0;
    right: 0;
    transform: rotateZ(90deg);
  }
}
@media screen and (min-width: 781px) {
  .bl_flowBox > div > p:last-of-type {
    margin-top: 1rem;
  }
}
.bl_flowBox > div::before {
  content: counter(step-counter, decimal-leading-zero); /* 01, 02, 03形式 */
  counter-increment: step-counter; /* カウンターを増加 */
  position: absolute;
  top: 0; /* ボックス内での位置調整 */
  left: 0;
  background-color: #00a8cc; /* バッジの背景色 */
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
  color: #fff;
  font-weight: 300;
  font-size: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
@media screen and (min-width: 781px) {
  .bl_flowBox > div > div::after {
    position: absolute;
    content: url("/wp-content/themes/cpa-imamura/assets/images/icon_arrow_blue.svg"); /* 矢印 */
    width: 15px;
    top: 45%;
    transform: translateY(-50%);
    transform: none;
    right: -22px;
    left: auto;
  }
}
.bl_flowBox > div:last-child > div::after {
  display: none;
}
.bl_flowBox > div:last-child .un_last::before {
  content: none;
}
@media (max-width: 768px) {
  .bl_flowBox {
    flex-direction: column;
    align-items: center;
  }
  .bl_flowBox > div {
    flex: 1 1 100%;
    max-width: none;
  }
}

.bl_accessBox1 {
  margin-bottom: 30px;
}
.bl_accessBox1 .wp-block-column:nth-child(1) p {
  display: inline-block;
  border-bottom: 2px solid var(--lineColor);
}
.bl_accessBox1 .wp-block-list {
  flex-wrap: wrap;
  margin-top: 5px;
  gap: 5px;
}
.bl_accessBox1 .wp-block-list li {
  width: 100%;
  line-height: 1.5;
}
@media screen and (min-width: 781px) {
  .bl_accessBox1 .wp-block-column:nth-child(1) p {
    border-bottom: none;
  }
  .bl_accessBox1 .wp-block-column:nth-child(2) {
    border-left: 2px solid var(--lineColor);
    padding-left: 30px;
  }
  .bl_accessBox1 .wp-block-list {
    margin-top: 10px;
    gap: 10px 20px;
  }
  .bl_accessBox1 .wp-block-list li {
    width: auto;
  }
  .bl_accessBox1 .wp-block-list li:last-child {
    width: 100%;
  }
}

.page-id-22 .ly_anchor-list ul:nth-child(1) > li:nth-child(1) > a {
  letter-spacing: 0;
}