/*
Theme Name:my-snow-monkey
Theme URL:
Author:gokei
Template:  twentynineteen
Description:snow-monkey子テーマ
Version:1.0
*/

/*===================*/
/* front */
/*===================*/
.front-hero {
  position: relative;
  height: 540px;
}

.front-hero:after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  width: calc(636 / 1280 * 100%);
  height: 318px;
  background: #85c1f2;
  border-radius: 20px;
  left: calc(210 / 1280 * 100%);
}

.front-hero__visual {
  width: calc(1028 / 1280 * 100%);
  max-width: 1028px;
  position: absolute;
  right: 0;
}

.front-hero__visual .spider {
  border-radius: 20px;
  overflow: hidden;
  max-height: 500px;
}

.front-hero__visual .spider__dots {
  justify-content: flex-end;
  padding-right: 2rem;
  gap: 16px;
  margin-top: 0;
}

.front-hero__catch {
  padding: 52px 68px 36px 68px;
  position: absolute;
  top: 130px;
  left: 0;
  z-index: 999;
  width: 640px;
}

.front-hero__catch h2.wp-block-heading {
  background: transparent !important;
  line-height: 1.46;
  padding: 0;
  margin-top: 10px;
  border-left: 0;
}

.front-hero__catch .smb-btn {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  /* ここに640px以下のときのCSSを書く */
  .p-section-front-page-content {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .front-hero {
    height: 660px;
  }
  .front-hero:after {
    bottom: 0;
    width: calc(275 / 390 * 100%);
    height: 240px;
    background: #85c1f2;
    border-radius: 0 20px 20px 0;
    left: -30px;
  }
  .front-hero__visual {
    top: 100px;
    width: calc(350 / 390 * 100%);
  }
  .front-hero__visual .spider {
    max-height: 500px;
    height: 500px;
  }
  .front-hero__visual .spider__canvas,
  .front-hero__visual .smb-spider-slider__figure-wrapper,
  .front-hero__visual .spider img {
    max-height: 500px;
    height: 500px;
  }
  .front-hero__catch {
    padding: 20px 28px 36px 60px;
    position: absolute;
    top: 0;
    left: -50px;
    z-index: 999;
    width: 340px;
  }
  .front-hero__catch h2.wp-block-heading {
    font-size: 18px !important;
  }
  .front-hero__catch .smb-btn-wrapper {
    width: 100% !important;
  }
}

/* about */
.wp-block-snow-monkey-blocks-section.smb-section.smb-section--fit {
  margin: 0 auto !important;
}
.c-entry__content .front-about {
  margin-top: 4rem;
}
.c-entry__content .front-about .wp-block-heading {
  position: relative;
  line-height: 1.4;
  padding-bottom: 2rem;
  border: none;
  background: transparent;
  padding-left: 0;
  font-size: 32px;
  color: #333;
}
.front-about .wp-block-heading span {
  display: block;
}
.front-about .wp-block-heading:after {
  content: "";
  position: absolute;
  display: block;
  width: 108px;
  height: 8px;
  border-radius: 4px;
  background: #85c1f2;
  bottom: 0;
}

/* feature */
.c-entry__content .front-feature {
  padding-top: 0;
  margin-bottom: 4rem;
}

.front-feature .wp-block-heading:after {
  display: none;
}

.c-entry__content .front-feature .wp-block-heading {
  font-size: 32px;
  color: #333;
  border: none;
  background: transparent;
  position: relative;
  display: table;
  vertical-align: middle;
  text-align: center;
  width: 100%;
  line-height: 1.4;
  height: 80px;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.front-feature .smb-items__item__title {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.4;
  position: relative;
  height: 112px;
  margin-bottom: 1rem;
}

.front-feature .smb-items__item__title span {
  display: block;
}

.front-feature .smb-items__item__title:after {
  content: "";
  display: block;
  position: absolute;
  width: 108px;
  height: 8px;
  border-radius: 4px;
  background: #85c1f2;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  /* ここに640px以下のときのCSSを書く */
  .front-about .wp-block-heading span {
    display: inline;
  }
  .front-feature .smb-items__item__title {
    height: auto;
    display: block;
    padding-bottom: 2rem;
    text-align: center;
  }
  .front-feature .smb-items__item__title span {
    display: inline;
  }
}

/* business-table */
.front-business__table .smb-items__banner {
  border-radius: 20px;
  overflow: hidden;
  height: 154px;
}

.front-business__table a:focus,
.front-business__table a:active {
  outline: none !important;
}
.front-business__table .smb-items__banner__body {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 20px;
  font-weight: bold;
}

.front-business__table .smb-items__banner__body:after {
  content: "";
  display: inline-block;
  border: 2px solid #000;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-width: 0 2px 2px 0;
}

.c-entry__content .front-business__header .wp-block-heading {
  padding-bottom: 0;
  padding-top: 2rem;
  margin-top: 0 !important;
  /* margin-bottom: -2rem !important; */
  background: transparent;
  border: none;
  padding-left: 0;
  position: relative;
  font-size: 32px;
  color: #333;
  padding-bottom: 2rem;
}

.front-business__content h2.wp-block-heading:after {
  content: "";
  background: #85c1f2;
  width: 108px;
  height: 8px;
  border-radius: 4px;
  display: block;
  bottom: 0;
  position: absolute;
}

.front-business__content img {
  margin-top: -2rem;
}

.front-business__content .smb-section__lede {
  font-size: 16px;
}

.front-business__content
  .wp-block-snow-monkey-blocks-items
  .smb-items__item__title {
  font-size: 20px;
}

.front-business__result h3.wp-block-heading {
  font-size: 20px;
  border-bottom: 2px solid #999;
  padding-left: var(--_padding-2);
}

.front-business__result th,
.front-business__result td {
  font-size: 14px;
}
.front-business__result table thead {
  background: transparent;
  border-bottom: 2px solid #ccc;
}
.front-business__result table thead th {
  color: #000;
  text-align: left;
}

.front-business__result table tbody td {
  border-bottom: 1px solid #ccc;
}

.front-business__result table tbody td:last-child {
  white-space: nowrap;
}

.front-business__result.front-business__result--trade
  table
  tbody
  td:first-child,
.front-business__result.front-business__result--trade
  table
  tbody
  td:nth-child(2) {
  white-space: nowrap;
}

.front-business__result.front-business__result--trade
  table
  tbody
  td:last-child {
  white-space: normal;
}

@media (max-width: 640px) {
  /* ここに640px以下のときのCSSを書く */
  .front-business__content .c-container {
    padding: 0;
  }
  .front-business .wp-block-snow-monkey-blocks-container {
    padding: 0;
  }
  .front-business__result table {
    width: 800px;
  }
  .wp-block-columns.front-business__header {
    padding: 0 !important;
  }
}

@media (max-width: 1024px) {
  .front-business__content .c-row.c-row--md-margin {
    display: block;
  }
  .front-business__content .c-row.c-row--md-margin .c-row__col {
    width: 100%;
    max-width: 100%;
  }
}

/*===================*/
/* footer */
/*===================*/
.l-footer--default .l-footer-widget-area {
  padding-bottom: 3rem;
  position: relative;
}
.l-footer--default .l-footer-widget-area::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 50px;
  bottom: 0;
  background: var(--wp--preset--color--sm-darkest-gray);
}

.wpml-ls-statics-footer {
  display: none;
}
.l-footer-widget-area .c-fluid-container {
  padding: 0;
}

.footer-contact {
  padding-top: 8rem;
}

.footer-contact .wp-block-button__link {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
}

.footer-contact h2.wp-block-heading {
  text-align: center;
  background: transparent;
  border: none;
  margin-bottom: 1rem;
}

.footer-contact .wp-block-group figure {
  margin: 0 !important;
}

.footer-contact .wp-block-group figure:nth-child(2) img {
  width: 70px;
}

.footer-contact .wp-block-group figure img {
  width: 60px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.footer-news .wp-block-heading {
  color: white;
  font-size: 32px;
  background: transparent;
  border: none;
}

.footer-news .c-entry-summary__body {
  color: white;
}

.footer-about .smb-container__body {
  padding-bottom: 2rem;
}

.c-fluid-container {
  padding: 0;
}
.c-row > .c-row__col.l-footer-widget-area__item {
  padding: 0 !important;
  margin-bottom: 0;
}

.l-footer-widget-area .c-entries--text {
  border-top-color: white;
}

.l-footer-widget-area .c-entries__item {
  border-bottom-color: white;
}

/* footer-menu */

.footer-menu {
  padding: 4rem 0;
}

.footer-menu li:first-child {
  font-weight: bold;
}

.footer-menu li a {
  display: flex;
  align-items: center;
  height: 48px;
  width: 100%;
  border-bottom: 1px solid #fff;
}

.footer-menu li a:hover {
  text-decoration: none;
  color: #85c1f2;
}

@media (max-width: 1024px) {
  /* ここに640px以下のときのCSSを書く */
  .footer-contact .smb-section__contents-wrapper,
  .footer-news .smb-section__contents-wrapper {
    padding: 0 40px;
    width: 100%;
  }
}
/*===================*/
/* menu */
/*===================*/
@media (max-width: 1024px) {
  .menu-item-wpml-ls-7-ja {
    border-top: 1px solid white;
    padding-top: 2rem;
    margin-top: 2rem !important;
  }
}
/*===================*/
/* service */
/*===================*/

.c-widget .wp-block-group > h2.wp-block-heading {
  font-size: 24px;
  justify-content: flex-start;
  margin-bottom: 0;
  line-height: 4rem;
}
.c-widget .wp-block-heading::after,
.c-widget .wp-block-heading::before {
  display: none !important;
}

.c-widget.widget_block {
  margin-top: 0 !important;
}

.c-widget .wp-block-list {
  margin-top: 0;
  list-style: none;
  border-top: 1px solid #c8c8c8;
  padding-left: 0;
}

.c-widget .wp-block-list a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 74px;
  font-size: 16px;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #c8c8c8;
}

.service-hero {
  border-radius: 20px;
  overflow: hidden;
  height: 386px;
}

.service-hero figure {
  object-position: center center;
  height: 386px;
  width: 100%;
  object-fit: cover;
}

.service-hero img {
  object-fit: cover;
}

@media (max-width: 1024px) {
  .service-hero {
    height: auto;
  }

  .service-hero figure {
    height: auto;
  }

  .service-case table {
    width: 800px;
  }
}

/*===================*/
/* content */
/*===================*/
.c-entry__content h2.wp-block-heading {
  color: #1940ad;
  font-size: 25px;
  border-left-width: 8px;
}

.c-entry__content .wp-block-table thead {
  background: none;
  border-bottom: 2px solid #ccc;
}
.c-entry__content .wp-block-table thead th {
  color: #000;
  text-align: left;
}

.c-entry__content .wp-block-table td {
  border: none;
  border-bottom: 1px solid #ccc;
}

.c-entry__content .wp-block-table.td--lastchild td:last-child {
  white-space: nowrap;
}

.c-fluid-container {
  padding-left: var(--_container-margin-left);
  padding-right: var(--_container-margin-right);
}

/*===================*/
/* about */
/*===================*/

.about-company .wp-block-heading {
  background: transparent;
  border: none;
}
.about-company table {
  max-width: 500px;
}

.about-lead {
  justify-content: center;
}

@media (max-width: 1024px) {
  .about-lead {
    flex-direction: column-reverse;
  }
}

/*===================*/
/* contact-from */
/*===================*/
.form-table {
}
.form-table__tr label {
  display: flex;
}
.form-table__tr:last-child {
  border-bottom: 1px solid #ccc;
}
.form-table__th {
  width: 200px;
  padding: 1rem;
  border: 1px solid #ccc;
  border-width: 1px 0 0 1px;
  background: #f2f2f2;
}
.form-table__td {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  border: 1px solid #ccc;
  border-width: 1px 1px 0 1px;
}
.form-table__td input,
.form-table__td textarea {
  background: #f2f2f2;
}

.from-table__req {
  display: inline-block;
  width: auto;
  background: #cf2e2e;
  color: white;
  font-size: 14px;
  padding: 0.2rem 0.8rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}
.form-table__btn {
  display: flex;
  justify-content: center;
  padding: 2rem 0 5rem 0;
}
.form-table__btn input {
  height: 60px;
  width: 320px;
}

@media (max-width: 640px) {
  .form-table__tr label {
    flex-direction: column;
  }
  .form-table__th {
    width: 100%;
    border-right-width: 1px;
  }
  .form-table__td input {
    width: 100%;
  }
}
/*===================*/
/* html */
/*===================*/
html {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
