/* 共通項目 =======================================================*/

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

figure {
  max-width: 100%;
}

a {
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

a:focus {
  text-decoration: none;
}

button:focus {
  outline: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* フォント =======================================================*/
/*メイリオ*/
body {
  font-family: "メイリオ", Meiryo, sans-serif !important;
}

/*明朝体*/
.sc-number {
  font-family: Arial, sans-serif !important;
}

/* 追加共通項目 =======================================================*/
.sc_sp_only {
  display: none !important;
}

.sc_inner {
  width: 82.5%;
  margin: 0 auto;
}

.sc_bold {
  font-weight: 700;
}

@media screen and (max-width: 781.5px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }

  .sc_sp_only {
    display: block !important;
  }

  .sc_pc_only {
    display: none !important;
  }

  .sc_inner {
    width: 92%;
  }
}

/* 下線 */
.sc_attention {
  font-size: var(--wp--preset--font-size--fsz-30);
  font-weight: 700;
  background-image: linear-gradient(
    to bottom,
    var(--wp--preset--color--orange) 100%,
    transparent 0%
  );
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 100% 4px;
}

/* reCAPTUREのアイコン非表示 */
.grecaptcha-badge {
  visibility: hidden;
}

/* パターン  =====================================================*/

/* h2タイトル */
.sc_h2_title {
  display: inline-block;
  box-shadow: 8px 5px 0 var(--wp--preset--color--blue);
  max-width: 100%;
}

/* ボタン  =====================================================*/
.wp-block-button__link.wp-element-button {
  position: relative;
  display: block;
  overflow: hidden;
}

.wp-block-button__link.wp-element-button::before {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: rgb(251, 251, 251, 0.7);
  animation: btn_animation 2.5s ease-in-out infinite;
}

@-webkit-keyframes btn_animation {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/* アニメーション =======================================================*/
.js-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.js-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ヘッダー =======================================================*/

.sc_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.sc_header_wrapper {
  display: flex;
  gap: 2.9vw;
  align-items: end;
}

.sc_header_logo,
.sc_footer_logo {
  width: 9vw;
  min-width: 175px;
  max-width: 238px;
}

.sc_header_text {
  font-size: clamp(0.688rem, 0.608rem + 0.33vw, 1rem);
}

.sc_header_btn a {
  font-size: clamp(0.875rem, 0.779rem + 0.39vw, 1.25rem) !important;
}

/* ファーストビュー fv ===================================================*/

.sc_fv {
  background-image: url(../images/img_bg.webp);
  background-position: center;
  background-size: cover;
}

.sc_fv_wrapper_top {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.sc_fv_title {
  font-size: clamp(1.875rem, 0.919rem + 3.92vw, 5.625rem);
}

.sc_fv_wrapper_left {
  width: 51vw;
}

.sc_fv_text {
  width: 38vw;
}

.sc_fv_img {
  width: 28.4vw;
}

.sc_fv_wrapper_bottom {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: end;
}

.sc_fv_points {
  font-size: clamp(0.875rem, 0.779rem + 0.39vw, 1.25rem);
}

/* message =======================================================*/

.sc_message {
  position: relative;
  height: 20.8vw;
}

.sc_message_img {
  width: 16.5vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sc_message_title {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 1rem;
  text-shadow: -1px -1px 0 #fff, /* 左上 */ 1px -1px 0 #fff,
    /* 右上 */ -1px 1px 0 #fff, /* 左下 */ 1px 1px 0 #fff; /* 右下 */
}

/* merit =======================================================*/

.sc_merit_item_wrapper {
  justify-content: space-between;
}

.sc_merit_num {
  white-space: nowrap;
}

.sc_merit_img {
  width: 8.3vw;
}

/* reason =======================================================*/

.sc_reason_layout {
  width: 85%;
  margin: 0 auto;
}

.sc_reason_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3vw;
}

.sc_reason_icon {
  width: 14.7vw;
}

.sc_reason_text_upper {
  width: 45.3vw;
}

.sc_reason_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc_reason_item-reverse {
  flex-direction: row-reverse;
}

.sc_reason_item_icon {
  width: 3.125vw;
}

.sc_reason_item_content {
  width: 37.5vw;
}

.sc_reason_item_img {
  width: 31vw;
}

.sc_merit_text_bottom {
  font-size: var(--wp--preset--font-size--fsz-42);
  font-weight: 700;
}

/* caution =======================================================*/
.sc_caution_item_img {
  width: 15vw;
}

.sc_caution_item_img03 {
  width: 10vw;
}

.sc_caution_text_bottom {
  font-size: var(--wp--preset--font-size--fsz-30);
  font-weight: 700;
}

.sc_caution_bottom_container {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.sc_caution_bottom_content {
  width: 57.3vw;
}

.sc_caution_bottom_img {
  width: 22vw;
}

/* worry =======================================================*/
.sc_worry {
  position: relative;
}

.sc_worry::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 120px solid transparent;
  border-left: 120px solid transparent;
  border-top: 60px solid var(--wp--preset--color--gray);
  border-bottom: 0;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
}

.sc_worry_img {
  width: 25vw;
}

/* service =======================================================*/
.sc_service_item_img {
  width: 11.8vw;
}

.sc_service_item_img-small {
  width: 9vw;
}

.sc_service_columns-top {
  justify-content: center;
}

.sc_service_text_attention {
  color: var(--wp--preset--color--red);
  font-size: var(--wp--preset--font-size--fsz-42);
}

.sc_service_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc_service_bottom_img {
  width: 23vw;
}

/* service =======================================================*/
.sc_plan_title_sub {
  position: relative;
  padding-left: 1rem;
  line-height: 1;
}

.sc_plan_title_sub::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 40px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--wp--preset--color--blue);
}

/* plan =======================================================*/
/* flow */
.sc_plan_flow_column {
  position: relative;
}

.sc_plan_flow_num {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  line-height: 1;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.sc_plan_flow_img {
  width: 12.2vw;
}

.sc_plan_flow_arrow {
  width: 2vw;
  min-width: 32px;
}

.sc_plan_flow_img02 {
  width: 9vw;
}

/* faq */
.sc_faq_content {
  display: flex;
  align-items: center;
}

.sc_faq_icon_q,
.sc_faq_icon_a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  line-height: 1;
  flex-grow: 0;
  flex-shrink: 0;
}

/* maintenance =======================================================*/
.sc_maintenance_img {
  width: 16.7vw;
}

.sc_maintenance_img05 {
  width: 14vw;
}

.sc_maintenance_columns-upper > div,
.sc_maintenance_columns-bottom > div {
  position: relative;
}

.sc_maintenance_columns-upper > div:before,
.sc_maintenance_columns-upper > div:after,
.sc_maintenance_columns-bottom > div:after {
  position: absolute;
  content: "";
}

.sc_maintenance_columns-upper > div:before {
  width: 60%;
  height: 4px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--wp--preset--color--blue);
}

.sc_maintenance_columns-upper > div:after,
.sc_maintenance_columns-bottom > div:after {
  width: 4px;
  height: 60%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--wp--preset--color--blue);
}

.sc_maintenance_columns-upper > div:nth-of-type(3):after,
.sc_maintenance_columns-bottom > div:nth-of-type(3):after {
  display: none;
}

/* introduction =======================================================*/
.sc_introduction_wrapper {
  width: 61.8vw;
  margin: 0 auto;
}

.sc_introduction_item {
  position: relative;
}

.sc_introduction_item:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 26px solid transparent;
  border-left: 26px solid transparent;
  border-top: 36px solid var(--wp--preset--color--blue-light);
  border-bottom: 0;
  bottom: -36px;
  left: 9vw;
}

.sc_introduction_item:nth-of-type(5):after {
  display: none;
}

.sc_introduction_item_num {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  flex-grow: 0;
  flex-shrink: 0;
}

/* faq =======================================================*/
.sc_faq {
  overflow-x: hidden;
}

/* consult ====================================================*/
.sc_consult {
  border-radius: 50% 50% 0 0;
  margin-left: -100px;
  margin-right: -100px;
  padding-left: 100px;
  padding-right: 100px;
  position: relative;
}

.sc_consult_img {
  width: 23vw;
  position: absolute;
  top: -12%;
  right: 10%;
}

.sc_consult_item_img > img {
  max-height: 140px;
  object-fit: contain;
}

/* warning =======================================================*/
.sc_warning_wrapper {
  justify-content: space-between;
}

.sc_warning_item {
  position: relative;
}

.sc_warning_item_img {
  width: 120px;
  position: absolute;
  top: -60px;
  left: -60px;
}

.sc_warning_bottom {
  width: 68%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  box-shadow: 12px -12px var(--wp--preset--color--blue);
}

.sc_warning_img {
  width: 32.8vw;
  max-width: 400px;
}

.sc_warning_wrapper_attention {
  font-size: var(--wp--preset--font-size--fsz-30);
  font-weight: 700;
}

/* application(ContactForm7) =======================================================*/

.sc_application_container {
  width: 56%;
  margin: 0 auto;
}

.sc_application_item_textarea {
  align-items: flex-start;
}

.sc_application_label_wrapper {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--space-24);
}

.sc_application_label_wrapper-textarea {
  margin-top: 1em;
}

.sc_application_label_wrapper p {
  margin: 0;
}

.sc_application_label p {
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  color: var(--wp--preset--color--blue);
}

.sc_application_tag {
  font-size: 14px;
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
  display: inline-block;
  padding: 6px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.sc_application_container input,
.sc_application_container textarea {
  border-radius: 10px;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: var(--wp--preset--font-size--fsz-24);
}

::placeholder {
  color: #b1b1b1;
}

.sc_application_container input:placeholder-shown,
.sc_application_container textarea:placeholder-shown {
  background-color: var(--wp--preset--color--gray-light);
  border-color: transparent;
  width: 100%;
  padding: 1rem;
}

.sc_application_container input:not(:placeholder-shown),
.sc_application_container textarea:not(:placeholder-shown) {
  background-color: var(--wp--preset--color--white);
  color: #333;
}

/* Chromeで入力後の背景色を同じにするため */
input:-webkit-autofill {
  background-color: var(--wp--preset--color--white) !important;
  color: #333 !important;
  -webkit-box-shadow: 0 0 0px 1000px var(--wp--preset--color--white) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.sc_application_privacy {
  display: flex;
  justify-content: center;
  gap: var(--wp--preset--spacing--space-24);
}

.sc_application_btn_wrapper {
  text-align: center;
}

.sc_application_btn {
  display: inline-block;
}

.sc_application_container input[type="submit"] {
  display: inline-block;
  font-size: var(--wp--preset--font-size--fsz-30);
  font-weight: 700;
  color: var(--wp--preset--color--white);
  padding: 1rem 1.5rem;
  border-radius: 32px;
  background: var(--wp--preset--color--orange);
  border: transparent;
}

/* Contact Form 7 チェックボックスのサイズ拡大 */
.wpcf7 input[type="checkbox"] {
  width: 24px;
  height: 24px;
  transform: scale(1.5);
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}

/* footer =======================================================*/
footer {
  margin-top: 0 !important;
}

.sc_footer_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* top icon =======================================================*/
.sc_icon_top {
  border-radius: 16px;
  position: fixed;
  text-align: center;
  padding: 0.5rem;
  bottom: 5vw;
  right: 2vw;
  border: solid 4px var(--wp--preset--color--blue);
  width: 100px;
  height: 100px;
  display: none;
  background-color: var(--wp--preset--color--white);
}

.sc_icon_top.is-show {
  display: block;
  opacity: 1;
}

.sc_icon_top img {
  width: 40px;
}

.sc_icon_top_text {
  margin: 0 !important;
  font-size: var(--wp--preset--font-size--fsz-24);
  color: var(--wp--preset--color--blue);
  font-weight: 700;
  line-height: 1;
}

/* レスポンシブ =======================================================*/

@media screen and (max-width: 781.5px) {
  /* ヘッダーsp =======================================================*/
  .sc_header {
    height: 80px;
  }

  .sc_header_wrapper {
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    width: 48vw;
  }

  .sc_header_logo,
  .sc_footer_logo {
    width: 24.3vw;
    min-width: 123px;
  }

  /* ファーストビューsp =======================================================*/

  .sc_fv {
    background-image: url(../images/img_bg_sp.webp);
  }

  .sc_fv_wrapper_top {
    flex-direction: column;
  }

  .sc_fv_wrapper_left {
    width: 100%;
  }

  .sc_fv_text {
    width: 52vw;
  }

  .sc_fv_img {
    width: 48.7vw;
    margin-top: -16% !important;
    margin-left: 48% !important;
  }

  .sc_fv_wrapper_bottom {
    flex-direction: column;
    align-items: center;
    gap: 3.3vw;
    padding-top: 0 !important;
  }

  .sc_fv_btn_text {
    text-align: center;
  }

  /* message sp =======================================================*/

  .sc_message {
    height: 34vw;
  }

  .sc_message_img {
    width: 24vw;
  }

  /* merit sp =======================================================*/

  .sc_merit_item_wrapper {
    justify-content: center;
  }

  .sc_merit_item {
    width: 100%;
  }

  .sc_merit_img {
    width: 30vw;
  }

  /* reason sp =======================================================*/
  .sc_reason_wrapper {
    flex-direction: column;
  }

  .sc_reason_icon {
    width: 24vw;
    max-width: 160px;
  }

  .sc_reason_text_upper {
    width: 100%;
  }

  .sc_reason_item {
    flex-direction: column;
  }

  .sc_reason_item_icon {
    width: 20vw;
    max-width: 60px;
  }

  .sc_reason_item_content {
    width: 100%;
  }

  .sc_reason_item_img {
    width: 100%;
  }

  /* caution sp =======================================================*/
  .sc_caution_item_img {
    width: 30vw;
  }

  .sc_caution_item_img03 {
    width: 20vw;
  }

  .sc_caution_bottom_container {
    flex-direction: column;
  }

  .sc_caution_bottom_content {
    width: 100%;
  }

  .sc_caution_bottom_img {
    width: 100%;
    max-width: 400px;
  }

  .sc_worry_column-last {
    display: none;
  }

  /* worry sp =======================================================*/
  .sc_worry::after {
    border-right: 60px solid transparent;
    border-left: 60px solid transparent;
    border-top: 60px solid var(--wp--preset--color--gray);
  }

  .sc_worry_img {
    width: 40vw;
    max-width: 260px;
  }

  /* service sp =====================================================*/
  .sc_service_item_img,
  .sc_service_item_img-small {
    width: 24vw;
  }

  .sc_service_item_img-lower {
    width: 34vw;
  }

  .sc_service_bottom {
    flex-direction: column;
  }

  .sc_service_bottom_img {
    width: 100%;
    max-width: 320px;
  }

  /* plan sp =====================================================*/
  /*flow sp*/
  .sc_plan_flow {
    width: 50%;
    min-width: 240px;
    margin: 0 auto;
  }

  .sc_plan_flow_arrow {
    text-align: center;
  }

  .sc_plan_flow_num {
    width: 60px;
    height: 60px;
  }

  .sc_plan_flow_img {
    width: 24vw;
  }

  .sc_plan_flow_img02 {
    width: 20vw;
  }

  .sc_plan_flow_arrow {
    display: none;
  }

  /* faq sp */
  .sc_faq_icon_q,
  .sc_faq_icon_a {
    width: 60px;
    height: 60px;
  }

  /* maintenance sp =====================================================*/
  .sc_maintenance_img {
    width: 28vw;
  }

  .sc_maintenance_img05 {
    width: 24vw;
  }

  .sc_maintenance_columns-bottom > div:before {
    position: absolute;
    content: "";
  }

  .sc_maintenance_columns-bottom > div:before {
    width: 60%;
    height: 4px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--wp--preset--color--blue);
  }

  .sc_maintenance_columns-upper > div:after,
  .sc_maintenance_columns-bottom > div:after {
    display: none;
  }

  .sc_maintenance_columns-bottom > div:nth-of-type(3):before {
    display: none;
  }

  /* introduction sp =======================================================*/
  .sc_introduction_item_num {
    width: 60px;
    height: 60px;
  }

  .sc_introduction_item_num p {
    margin: 0 !important;
  }

  .sc_introduction_wrapper {
    width: 100%;
  }

  /* consult sp =======================================================*/
  .sc_consult {
    margin-left: -350px;
    margin-right: -350px;
    padding-left: 350px;
    padding-right: 350px;
    position: relative;
  }

  .sc_consult_img {
    width: 180px;
    top: -5%;
    right: 34%;
  }

  .sc_consult_item_img > img {
    max-height: 100;
  }

  /* warning sp =======================================================*/

  .sc_warning_wrapper {
    width: 80%;
    margin: 0 auto;
  }

  .sc_warning_wrapper:nth-of-type(2) {
    margin-top: 40px !important;
  }

  .sc_warning_item_img {
    width: 80px;
    top: -40px;
    left: -40px;
  }

  .sc_warning_bottom {
    flex-direction: column-reverse;
  }

  .sc_warning_img {
    width: 50vw;
  }

  /* application sp ====================================================*/
  .sc_application_container {
    width: 95%;
  }

  /* footer sp ====================================================*/
  .sc_footer_container {
    flex-direction: column;
    gap: var(--wp--preset--spacing--space-24);
  }

  /* top icon sp =======================================================*/
  .sc_icon_top {
    width: 60px;
    height: 60px;
  }

  .sc_icon_top img {
    width: 20px;
  }

  .sc_icon_top_text {
    font-size: 12px;
  }
}
