/* キービジュアル */
.kv-by {
  background: url('/wp-content/themes/swell_child/edit/img/kv-access-by.jpg') no-repeat center;
  background-size: cover;
  height: 498px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-big-by);
  font-weight: bold;
  color: #fff;
}
@media (max-width: 1024px){
  .kv-by {
    height: 200px;
  }
}
.kv-by::after {
  background: url("/wp-content/themes/swell_child/edit/img/kv-wave.svg");
  bottom: 0;
  content: '';
  height: 90px;
  position: absolute;
  width: 100%;
}
@media (max-width: 1024px){
.kv-by::after {
    background: url("/wp-content/themes/swell_child/edit/img/kv-wave.svg") center;
    height: 28px;
    bottom: -5px;
  }
}


/* カテゴリーの見出し */
.h-left_line-by {
    color: var(--black_color-by);
    font-size: var(--fs-middle-by);
    margin-bottom: 24px;
}


/* カテゴリーごとのマージン */
.sec-m-by h2:not(:first-child) {
  margin-top: 64px;
}


/* アコーディオンメニュー */
.accordion_toggle-by {
    display: none;
}
/* アコーディオンの間隔 */
.accordion_box-by {
  margin-bottom: 16px;
}
/*タイトル*/
.accordion_label-by {
    padding: 20px 30px 20px 20px;
    display: block;
    color: var(--black_color-by);
    background: var(--main_color-by);
    font-size: var(--fs-small-by);
    font-weight: bold;
    position: relative;
}
@media (max-width: 768px){
.accordion_label-by {
    padding: 16px 30px 16px 20px;
  }
}

/*タイトル横の矢印*/
.accordion_label-by::after{
    content:"";
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--black_color-by);
    border-right: 2px solid var(--black_color-by);
    -webkit-transform: rotate(45deg);
    position: absolute;
    top:calc( 50% - 3px );
    right: 20px;
    transform: rotate(135deg);
}
.accordion_label-by,
.accordion_content-by {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}
/*本文*/
.accordion_content-by {
    height: 0;
    margin-bottom:10px;
    padding:0 20px;
    overflow: hidden;
    color: var(--black_color-by);
    font-size: var(--fs-text-by);
}
/*開閉時*/
.accordion_toggle-by:checked + .accordion_label-by + .accordion_content-by {
    height: auto;
    padding:20px ;
    transition: all .3s;
}
.accordion_toggle-by:checked + .accordion_label-by::after {
    transform: rotate(-45deg) !important;
}
