/*
Theme Name: SWELL CHILD
Description: SWELLの子テーマ
Template: swell
Theme URI: https://swell-theme.com/
Version: 1.0.0
Author: AndHA inc
*/
body {
  color: #595757;
  background-color: #fff;
  line-height: 1.75;
}
#header {
  background-color: #fff;
  height: 80px;
  top: 0;
}
body.home #header {
  background-color: #fff;
  position: fixed;
  margin: 0;
}
.pc .header_fix #header {
  animation: none;
  -webkit-animation: none;
}
.pc body.admin-bar.header_fix {
  padding-top: 0;
}
#header_slider {
  height: 36.11vw !important;
  margin-top: 80px;
}
#header_slider .item {
  height: 36.11vw !important;
}
#global_menu>ul>li>a,
.l-header__inner {
  height: 80px;
}
body.home #global_menu ul ul,
#global_menu ul ul {
  top: 80px;
}
#bread_crumb li.last {
  color: #f48a00;
}
.pc_logo_image,
.mobile_logo_image {
  width: 196px;
  height: 44px;
}
.styled_h2 {
  border: none !important;
  padding: 0 !important;
}

/* reset */
.cb_headline,
.cb_catch,
.catch {
  color: #595757;
  font-size: unset;
  font-weight: unset;
  margin: 0;
  line-height: normal;
  text-align: left;
  background-image: none;
}
div.whatsnew {
  margin: 0;
}
.tcd-pb-row {
  margin-bottom: 0 !important;
}
#service_single .top_headline {
  border-top: none;
  margin: 0
}
#page_header_inner {
  display: block;
}
#page_header {
  display: none;
}
#blog_archive>div:first-child:not(#content_header) {
  padding-top: 0;
}
.styled_h3 {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* floating banner */
.flotingBnr {
  position: fixed;
  width: 152px;
  height: 184px;
  bottom: 120px;
  right: 36px;
  z-index: 1000;
  transition: 0.3s;
}
/* SP banner */
.bnrSp {
  display: none;
}

/* 指定し直し */
h1,
.post_content h1,
.c-h1,
.c-pageTitle {
  font-size: 32px;
  font-weight: 700;
  text-align: left;
  line-height: 1.75;
}
.c-pageTitle:after {
  content: none;
}
.c-pageTitle[data-style=b_bottom] {
  border: none !important;
}
.c-pageTitle[data-style=b_bottom] .c-pageTitle__inner {
  border: none;
  float: none;
  margin: 0;
  padding: 0;
}
.post_content h1 {
  margin-bottom: 40px;
}
.tcd-pb-widget h1 {
  margin-bottom: 80px !important;
}
#main_contents h1,
#main_contents .c-h1 {
  margin-bottom: 80px;
}
.c-copy {
  font-size: 24px !important;
  font-weight: 700;
  color: #fff;
  background-color: #F0831E;
  padding: 32px 40px;
  text-align: center !important;
  line-height: 1.75;
}
h2,
.post_content h2,
.index_message .content .catch,
.styled_h2,
.c-secTitle {
  position: relative;
  color: #595757;
  background-color: #f6f6f6;
  border-radius: 6px;
  font-size: 24px !important;
  font-weight: 700;
  line-height: 1.75;
  background-image: none;
  padding: 14px 24px 14px 36px !important;
  background-image: none;
  text-align: left;
  margin: 0 auto;
}
h2::before,
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before,
.c-secTitle::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 20px;
  background-color: #f0831e;
  width: 4px;
  height: 32px;
  border-radius: 2px;
  border: none;
}
.c-secTitle {
  border-left: none;
}
.post_content h2,
.tcd-pb-widget h2,
.index_service_list .cb_headline,
.c-secTitle {
  margin-bottom: 40px !important;
}
.index_service_list .item .title {
  font-size: 16px !important;
}
.index_service_list.num9 .item .title::before {
  content: none;
}
.index_service_list.num8 .cb_headline,
.index_post_slider.num9 .cb_headline {
  margin-bottom: 48px;
}
.index_service_list.num8 .item .title::before {
  content: none;
}
.index_post_slider.num9 .item .title {
  font-size: 16px !important;
}
.access_content2.num4 .contact .headline,
.access_content2.num4 .tel .headline {
  color: #595757;
}
h3,
.post_content h3,
.index_message .cb_catch,
.index_post_slider .cb_catch,
#service_single .top_headline,
.index_service_list .cb_headline,
.cb_contents .cb_headline,
#recent_news .headline,
.styled_h3 {
  position: relative;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.72;
  text-align: left;
  padding: 0 0 10px 0 !important;
}
#index_box_content .title {
  font-size: 18px !important;
}
.p-postList__title {
  font-size: 14px !important;
}
.pb-widget-headline h3 {
  padding-bottom: 10px !important;
}
.widget_headline,
.widget_block .wp-block-heading,
#comments .headline,
#recent_news .headline {
  padding-top: 0;
  border-top: none;
  width: 100%;
}
.post_content h3,
.cb_contents .cb_catch,
#main_contents h3 {
  margin-bottom: 40px;
}
.tcd-pb-widget h3,
#service_single .top_headline,
.cb_contents .cb_catch,
.styled_h3 {
  margin-bottom: 32px !important;
}
.top_headline,
#service_single .top_headline {
  width: 100%;
  display: block;
  border-top: none !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  padding: 0 0 10px 0;
}
h3::before,
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background: #f0831e;
  width: 40px;
  height: 2px;
  border-radius: 1px;
  z-index: 1;
}
h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(200, 200, 200, 0.5);
  width: 95%;
  height: 2px;
  border-radius: 1px;
}
#related_post .headline {
  border: none;
  width: 100%;
}
#index_box_content .box_item .title:before {
  background-color: transparent;
}
h4,
.post_content h4,
.service_content .list_headline,
.index_service_list .cb_catch,
.access_content1 .top_catch {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  line-height: 2.1;
  padding-left: 14px;
  padding-top: 2px;
  color: #595757 !important;
  background-color: transparent !important;
  height: auto;
  text-align: left;
}
h4::before {
  content: "";
  background-color: #222;
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
}
.post_content h4,
.service_content3 .list_headline {
  margin-bottom: 32px;
}
.cb_contents .cb_desc {
  margin-bottom: 104px;
}
.cd-pb-widget p {
  margin-bottom: 44px;
}
.p-toc {
  background-color: #FEF2E8 !important;
  border: none;
  font-weight: 700;
  padding: 32px 40px;
  margin-bottom: 80px;
  width: 100% !important;
  max-width: none !important;
}
.indexContents__item {
  padding: 24px 8px;
  font-size: 16px;
  line-height: 1;
  border-bottom: 1px dotted #333;
}
.p-toc__ttl {
  position: relative;
  padding: 0 0 24px 34px;
  text-align: left !important;
}
.p-toc__ttl::before {
  content: "";
  background-image: url(./img/icon_contents.svg);
  position: absolute;
  width: 20px;
  height: 20px;
  top: -4px;
  left: 0;
}
.link_button, .swell-block-button,
.cb_contents .link_button,
.wp-block-button,
.swell-block-button {
  position: relative;
  margin-top: 40px;
  width: 320px;
  margin: 40px auto 0 !important;
}
.link_button a, .swell-block-button a,
.cb_contents .link_button a,
.wp-block-button a,
.swell-block-button a {
  position: relative;
  display: block;
  width: 100%;
  min-width: auto;
  height: auto;
  padding: 12px 54px 12px 28px;
  text-align: left;
  background-color: #87C0CA;
  color: #fff !important;
  border-radius: 32px;
  line-height: 2;
  font-size: 16px;
  box-sizing: border-box;
}
.link_button--b a,
.wp-block-button a {
  background-color: #595757 !important;
}
.link_button a::before,
.swell-block-button a::before,
.wp-block-button a::before,
.swell-block-button a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background-image: url(./img/icon_popup.svg);
  width: 32px;
  height: 32px;
  z-index: 1;
}
.link_button--arrow a::before,
.wp-block-button a::before {
  background-image: url(./img/icon_arrow.svg);
}
.is-style-more_btn a:after {
  content: none;
}
.link_button--other {
  width: 360px;
  margin: 30px 0 0;
}
.index_message {
  padding-bottom: 80px;
}
.tcd-pb-row.row7 {
  margin-bottom: 80px;
}
.post_row {
  width: 100%;
  margin: 0 auto !important;
}
.wp-block-image.aligncenter {
  margin: 0 auto;
}
div.whatsnew dd {
  color: #595757;
}
/* アコーディオン */
.su-spoiler {
  margin-bottom: 0 !important;
  background-color: #F6F6F6;
}
.swell-block-accordion__title {
  background-color: #fff;
}
.swell-block-accordion__title {
  position: relative;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1;
  padding: 32px 80px 32px 32px;
  border-top: 1px solid rgba(200, 200, 200, 0.5);
}
.swell-block-accordion__title::before {
  content: "";
  background-image: url(./img/icon_minus.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  width: 40px;
  height: 40px;
}
.swell-block-accordion__item .swell-block-accordion__title::after {
  content: "";
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(0);
  right: 35px;
  width: 2px;
  height: 14px;
  transition: 0.3s;
}
.swell-block-accordion__item[aria-expanded="true"] > .swell-block-accordion__title::after {
  content: "";
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  right: 35px;
  width: 2px;
  height: 14px;
  transition: 0.3s;
}
.swell-block-accordion__title {
  transition: 0.3s;
}
.swell-block-accordion__body {
  background-color: #F6F6F6;
}
.su-spoiler-icon-plus .su-spoiler-icon:before {
  content: none !important;
}
.icon-arrow_drop_up:before, .icon-caret-up:before,
.icon-arrow_drop_down:before, .icon-caret-down:before {
  content: none;
}
/* フッター */
#footer {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}
#footer_data .item.left .sub_item .headline {
  font-size: 14px !important;
}
#footer_data .item.left .sub_item .headline::before,
#footer_data .item.left .sub_item .headline::after,
.index_post_slider.num9 .item .title::before,
.index_post_slider.num9 .item .title::after {
  content: none;
}
#footer_contact .link_button {
  margin: 0 !important;
  width: 280px;
}
#footer_contact .link_button a {
  border-radius: 0;
  box-sizing: border-box;
  line-height: 2.2;
}
#footer_contact .link_button a::before {
  content: none;
}
#return_top a {
  background: #007a94;
}
@media (hover: hover) {
  a:hover {
    cursor: pointer;
  }
  .flotingBnr:hover {
    opacity: 0.7;
  }
  .link_button a:hover,
  .swell-block-button a:hover {
    background-color: #007a96 !important;
  }
  .su-spoiler-title:hover {
    background-color: #F6F6F6;
  }
}
@media (width < 1251px) {
  .cb_contents .cb_catch {
    margin: 0 0 60px 0!important;
  }
}
@media (width < 768px) {
  #header_slider {
    height: 143.59vw !important;
  }
  #header_slider .item {
    height: 143.59vw !important;
  }
  #footer_contact .link_button a {
    line-height: 1.75 !important;
  }
  .index_post_slider .cb_contents_inner {
    width: 98%;
    margin: 0 auto;
  }
  .index_post_slider.num13 .item .title,
  #news_list .title {
    font-size: 10px !important;
  }
  h1,
  .post_content h1 {
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    line-height: 1.75;
  }
  .tcd-pb-widget h1 {
    margin-bottom: 52px !important;
  }
  .c-copy {
    font-size: 20px;
  }
  h2,
  .post_content h2,
  .cb_headline,
  .index_service_list .cb_headline,
  .index_post_slider .cb_headline,
  .index_message .content .catch,
  .cb_contents .cb_catch,
  .c-secTitle {
    font-size: 20px !important;
    margin: 0;
  }
  .tcd-pb-widget h2,
  .cb_contents .cb_headline,
  .c-secTitle {
    margin-bottom: 32px !important;
  }
  h2::before {
    height: 24px;
  }
  h3,
  .post_content h3,
  .index_message .cb_catch,
  .index_message.num10 .cb_catch,
  .index_service_list.num8 .cb_catch,
  .index_post_slider.num9 .cb_catch,
  .cb_contents .cb_catch,
  .cb_catch {
    font-size: 18px !important;
    line-height: 1.5;
  }
  .index_service_list.num9 .cb_catch {
    margin: 0 0 40px 0;
  }
  h4,
  .post_content h4 {
    font-size: 18px;
    line-height: 1.5;
  }
  .post_content p {
    font-size: 16px;
  }
  .indexContents {
    margin-bottom: 64px;
  }
  .flotingBnr {
    display: none;
  }
  .p-fixBtnWrap {
    bottom: 64px;
  }
  .bnrSp {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 97.95vw;
    gap: 4px;
    z-index: 9999;
  }
  .bnrSp__item {
    position: relative;
    width: 49%;
    height: 48px;
    border-radius: 4px;
  }
  .bnrSp__item.tel {
    background-color: #f0831e;
  }
  .bnrSp__item.net {
    background-color: #87C0ca;
  }
  .bnrSp__item a {
    position: relative;
    display: block;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 48px;
  }
  .bnrSp__item span {
    position: relative;
    padding-left: 30px;
  }
  .bnrSp__item.tel span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-image: url(./img/icon_tel.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
  }
  .bnrSp__item.net span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-image: url(./img/icon_calendar.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
  }
  .link_button,
  .cb_contents .link_button,
  .swell-block-button {
    width: 100%;
    max-width: 290px;
  }
  .su-spoiler .su-spoiler-title::before {
    width: 32px;
    height: 32px;
    right: 12px;
  }
  .su-spoiler .su-spoiler-title::after {
    right: 27px;
    height: 12px;
  }
  .su-spoiler.su-spoiler-closed .su-spoiler-title::after {
    right: 27px;
    height: 12px;
  }
}