.column-cta-kohinata {
  width: 700px;
  margin: 30px auto 0;
  padding-top: 28px;
}

.column-cta-kohinata img {
  display: block;
}

.column-cta-kohinata + .column-cta-kohinata {
  margin-top: 60px;
}

.column-cta-kohinata .cck-widget {
  margin-top: -34px;
}

.cck-widget .cck-heading {
  position: relative;
  height: 90px;
  margin: 35px 0 0;
  padding: 0;
  border-radius: 10px 10px 0 0;
  background-color: #ac9c5c;
}

.cck-heading .cck-heading-person {
  /* display: block; */
  position: absolute;
  left: -4px;
  bottom: 0;
  height: 120px !important;
	margin: 0 !important;
}

.cck-heading .cck-heading-balloon {
  /* display: block; */
  position: absolute;
  right: 46px;
  top: -30px;
  height: 56px !important;
  filter: drop-shadow(0 0 11px rgba(0,0,0,.16));
	margin: 0 !important;
}

.cck-widget .cck-heading .cck-heading-copy-1 {
  /* display: block; */
  position: absolute;
  right: 27.5px;
  bottom: 12px;
  height: 37px !important;
}

.cck-widget .cck-heading .cck-heading-copy-2 {
  /* display: block; */
  position: absolute;
  right: 41px;
  bottom: 18px;
  height: 28px !important;
	margin: 0 !important;
}

.cck-widget .cck-main {
  background-color: #fffbf4;
  padding: 20px 0;
}

.cck-main .cck-introduction {
  display: none;
}

.cck-main .cck-action-unit-group {
  width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: stretch;
  gap: 10px 20px;
}

.cck-action-unit-group .cck-action-unit {
  box-sizing: border-box;
  flex-basis: 320px;
  min-height: 92px;
  padding: 16px 19px;
  border-radius: 5px;
  border: solid 1px #e0d9bd;
  background-color: #fff;
  cursor: pointer;
}

.cck-main .cck-action-unit-group.group--logo .cck-action-unit {
  padding: 14px 19px;
  min-height: 90px;
}

.cck-action-unit .action-unit-title {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0 10px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.0;
  letter-spacing: normal;
  text-align: left;
  color: #333;
}

.action-unit-title .action-unit-title-icon {
  /* display: block; */
  height: 20px !important;
}

.action-unit-title .action-unit-title-media-logo {
  /* display: block; */
  height: 25px !important;
}

.cck-action-unit .action-unit-description {
  margin: 9.5px 0 -1.5px;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.5;
  /* 3.5px */
  letter-spacing: normal;
  text-align: left;
  color: #88847b;
}

.cck-main .cck-action-unit-group.group--logo .cck-action-unit .action-unit-description {
  margin: 4.5px 0 1.5px;
}

.cck-widget .cck-widget-footnote {
  margin-top: 10px;
  font-size: 10px;
  font-weight: normal;
  line-height: 1.0;
  letter-spacing: normal;
  text-align: right;
  color: #88847b;
}

.remodal-wrapper.remodal-cta .remodal.remodal-cta .remodal-close {
  background-image: url("http://asiro.co.jp/wp-content/themes/ashiro/img/cta_modal/icon_close.png");
}

.remodal-wrapper.remodal-cta .remodal.remodal-cta .modal-cta__heading {
  background-image: url("http://asiro.co.jp/wp-content/themes/ashiro/img/cta_modal/cta_modal_heading_background.jpg");
}

.remodal-wrapper.remodal-cta .remodal.remodal-cta .modal-cta__form .modal-cta__form-row .modal-cta__form-select-wrapper .modal-cta__form-select {
  background-image: url("http://asiro.co.jp/wp-content/themes/ashiro/img/cta_modal/icon_sort_down.png");
}

.remodal-wrapper.remodal-cta .remodal.remodal-cta .modal-cta__form .modal-cta__form-row .modal-cta__form-button {
  background-image: url('http://asiro.co.jp/wp-content/themes/ashiro/img/cta_modal/icon_loupe.png');
}

.column-cta-kohinata .cck-hide-pc,
.column-cta-kohinata .cck-hide-pc--il,
.column-cta-kohinata .cck-hide-pc--flx {
  display: none !important;
}

.column-cta-kohinata .cck-hide-sp {
  display: block !important;
}

.column-cta-kohinata .cck-hide-sp-il {
  display: inline !important;
}

@media screen and (max-width: 767px) {

  .column-cta-kohinata {
      width: 335px;
      margin: 0 auto;
      padding-top: 28px;
  }

  /* .column-cta-kohinata:has(.cck-widget.cck-hide-sp) {
    display: none;
  } */

  .column-cta-kohinata .cck-heading {
      height: 68px;
      background-image: url('http://asirocojplegal.local/wp-content/themes/legal/img/shortcoder/cta/icon_bennavi_owl.png');
      background-repeat: no-repeat;
      background-position: bottom -10px right -12px;
      background-size: 117px;
  }

  .cck-heading .cck-heading-person {
      height: 79px !important;
  }

  .cck-heading .cck-heading-balloon {
      display: none !important;
  }

  .cck-heading .cck-heading-copy-sp {
      position: absolute;
      top: 20.5px;
      right: 15px;
      height: 28px !important;
  }

  .cck-widget .cck-main {
      background-color: #fffbf4;
      padding: 15px 0 10px;
  }

  .cck-main .cck-introduction {
      display: block;
      padding: 0 0 12px;
  }

  .cck-introduction .cck-intro-sentence {
      font-size: 14px;
      font-weight: bold;
      line-height: 20px;
      letter-spacing: 0.28px;
      text-align: center;
      color: #333;
  }

  .cck-intro-sentence b {
      display: inline-block;
      background-color: #e30d3f;
      margin: 0 3px;
      padding: 0 5px;
      font-size: 14px;
      font-weight: bold;
      line-height: 20px;
      letter-spacing: 0.28px;
      text-align: center;
      color: #fff;
  }

  .cck-introduction .cck-intro-footnote {
      margin-top: 10px;
      font-size: 8px;
      font-weight: normal;
      line-height: 1.0;
      letter-spacing: normal;
      text-align: center;
      color: #88847b;
  }

  .cck-main .cck-action-unit-group {
      width: 315px;
      gap: 5px 5px;
  }

  .cck-action-unit-group .cck-action-unit,
  .cck-main .cck-action-unit-group.group--logo .cck-action-unit  {
      flex-basis: 155px;
      min-height: 74px;
      padding: 9px 9px;
  }

  .cck-action-unit .action-unit-title {
      gap: 0 5px;
      font-size: 12px;
  }

  .action-unit-title .action-unit-title-value {
      display: inline-block;
  }

  .action-unit-title .action-unit-title-icon {
      height: 14px !important;
  }

  .cck-action-unit .action-unit-description {
      margin: 8.5px 0 -1.5px !important;
      font-size: 8px;
      font-weight: normal;
      line-height: 1.375;
      /* 1.5px */
      letter-spacing: normal;
      text-align: left;
      color: #88847b;
  }

  .remodal-wrapper.remodal-cta .remodal.remodal-cta .modal-cta__heading {
      background-image: url("http://asiro.co.jp/wp-content/themes/ashiro/img/cta_modal/sp/cta_modal_heading_background.jpg");
  }

  .cck-widget .cck-widget-footnote {
      display: none !important;
  }

  .column-cta-kohinata .cck-hide-pc {
      display: block !important;
  }

  .column-cta-kohinata .cck-hide-pc--flx {
      display: flex !important;
  }

  .column-cta-kohinata .cck-hide-pc--il {
      display: inline !important;
  }

  .column-cta-kohinata .cck-hide-sp,
  .column-cta-kohinata .cck-hide-sp-il {
      display: none !important;
  }
}

/* modal */
.container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-top: 10px;
  background-image: url(../img/back2.png);
  background-repeat: no-repeat;
  border-radius: 20px;
}

.container .header {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  align-items: center;
  gap: 20px;
  padding: 0 20px 0px 30px;
}

@media (max-width: 767px) {
	.container .header {
		padding: 16px;
    display: block;
	}
}

.container .header-icon {
  width: 110px;
  height: 112px;
  overflow: hidden;
}

@media (max-width: 767px) {
	.container .header-icon {
		margin: 0 auto;
    width: 90px;
    height: 92px;
    margin-bottom: 20px;
	}
}

.container .header-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .header-title {
    color: #2A4E75;
    font-size: 24px;
    font-weight: 500;
}

@media (max-width: 767px) {
	.container .header-title {
		font-size: 22px;
	}
}

.container .header-title span {
    color: #3B70CC;
}

.buttons{
  max-width: 740px;
  margin: 0 auto;
  padding: 20px 100px 10px 100px;
  background-color: #fff;
  border-radius: 0px 0px 20px 20px;
}

/* ボタン共通スタイル */
.button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-size: 22px;
  margin-bottom: 16px;
}

@media (max-width: 767px) {
	.buttons {
    max-width: 740px;
    margin: 0 auto;
    padding: 20px 20px 10px;
    background-color: #fff;
    border-radius: 0 0 20px 20px;
	}
}

/* アイコンコンテナ共通スタイル */
.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-container img{
  width: 28px;
  height: 30px;
}

/* 慰謝料ボタン */
.compensation-button {
    background-color: #2563EB;
    color: white;
}

.compensation-button:hover {
    background-color: #1D4ED8;
}


/* その他相談ボタン */
.consultation-button {
    background-color: white;
    color: #2563EB;
    border: 2px solid #2563EB;
}

.consultation-button:hover {
    background-color: #F8FAFC;
}

.consultation-button svg {
    color: white;
}

/* SVGアイコン */
.icon {
    width: 24px;
    height: 24px;
}

/* SP */
@media (max-width: 750px) {
  .button {
    padding: 8px 10px;
    font-size: 14px;
    gap: 0px;
  }

  .icon-container {
    width: 40px;
    height: 40px;
  }

  .icon {
    width: 20px;
    height: 20px;
  }
}

.remodal-cta--houmu {
  background: #fff;

  .container {
    position: relative;
    background: #fff;
    width: 740px;
    border-radius: 10px;

    &.step1::before {
      content: '';
      position: absolute;
      top: 0;
      left: 63px;
      width: 677px;
      height: 433px;
      background-image: url("https://asiro.co.jp/legal/wp-content/themes/theme/img/shortcoder/cta/modal_bg_houmu_step1.png");
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      pointer-events: none;
      z-index: 1;
    }

    &.step2::before {
      content: '';
      position: absolute;
      top: 0;
      left: 63px;
      width: 677px;
      height: 433px;
      background-image: url("https://asiro.co.jp/legal/wp-content/themes/theme/img/shortcoder/cta/modal_bg_houmu_step2.png");
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      pointer-events: none;
      z-index: 1;
    }
  }

  .container > * {
    position: relative;
    z-index: 2;
  }

  .header {
    flex-direction: column;
    margin: 20px 0 50px 40px;
    padding: 0;
    align-items: flex-start;

    .header-logo {
      img {
        height: 30px;
      }
    }

    .header-tag {
      color: #FFF;
      font-size: 22px;
      font-style: normal;
      font-weight: 700;
      line-height: normal;
      letter-spacing: 0.88px;
      display: flex;
      padding: 10px 7px 10px 17px;
      justify-content: center;
      align-items: center;
      gap: 10px;
      background: #A48B78;
      position: relative;
    }

    .header-tag::after {
      content: '';
      position: absolute;
      top: 0;
      right: -53px;
      width: 0;
      height: 0;
      border-top: 53px solid #A48B78;
      border-right: 53px solid transparent;
    }

    .header-title {
      color: #363636;
      text-shadow: 0px 0px 15px #FFF;
      font-size: 51px;
      font-style: normal;
      font-weight: 600;
      line-height: 74px; /* 145.098% */
      letter-spacing: 2.04px;
      justify-content: flex-start;
      align-items: center;
      text-align: left;
    }
  }

  .body {
    padding: 30px 40px;
    border-radius: 0px 0px 10px 10px;
    background: linear-gradient(90deg, #3D77E2 0%, #173C80 44.5%);

    .description {
      color: #FFF;
      text-align: center;
      font-size: 12px;
      font-style: normal;
      font-weight: 500;
      line-height: normal;
      margin-bottom: 20px;

      span {
        color: #FFF;
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 35px;
        padding: 5px;
        margin: 5px;
        background: #A48B78;
      }
    }

    .buttons {
      display: flex;
      flex-direction: row;
      background-color: transparent;
      padding: 0;
      gap: 20px;

      span {
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
      }

      .button {
        border-radius: 0;
        margin: 0;
        height: 55px;
      }

      .left-button {
        width: 100%;

        .consultation-button {
          border: none;
          display: flex;
          align-items: center;
          justify-content: flex-start;
        }

        span {
          color: #173C80;
          display: flex;
          align-items: center;
          margin: 0 auto;
        }

        span::after {
          content: '\f0a9';
          margin-left: 10px;
          font-family: 'Font Awesome 6 Free';
          font-size: 22px;
          display: flex;
          align-items: center;
        }
      }

      .right-button {
        width: 100%;

        .consultation-button {
          background-color: transparent;
          border: solid 1px #fff;
          display: flex;
          align-items: center;
          justify-content: flex-start;

          span {
            color: #fff;
            display: flex;
            align-items: center;
            margin: 0 auto;
          }

          span::after {
            content: '';
            margin-left: 10px;
            width: 17px;
            height: 17px;
            display: flex;
            align-items: center;
            background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.75 0.424255H15.75H16.5V1.17426V6.17426V6.92426H15V6.17426V2.98676L8.03125 9.95551L7.5 10.4868L6.4375 9.42426L6.96875 8.89301L13.9375 1.92426H10.75H10V0.424255H10.75ZM1.25 1.42426H6.75H7.5V2.92426H6.75H2V14.9243H14V10.1743V9.42426H15.5V10.1743V15.6743V16.4243H14.75H1.25H0.5V15.6743V2.17426V1.42426H1.25Z' fill='white'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
          }
        }
      }
    }
  }
}

.remodal-wrapper.remodal-cta .remodal.remodal-cta.remodal-cta--houmu .modal-cta__form {
  padding: 30px 37px 35px;
  border-radius: 0px 0px 10px 10px;
  background: linear-gradient(90deg, #3D77E2 0%, #173C80 44.5%);

  .description {
    width: 312px;
    color: #FFF;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
    padding-bottom: 6px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: solid 1px #fff;
    margin: 0 auto 25px;
  }

  .modal-cta__form-row {
    .modal-cta__form-select-wrapper {
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      height: 75px;
      align-items: center;
      border-radius: 3px;

      .modal-cta__form-select__label {
        border-right: none;
        color: #fff;
        background: #A48B78;
        padding: 7px 0;
        width: 100%;
        height: 35px;
        border-radius: 3px 3px 0 0;
        gap: 5px;
      }

      .modal-cta__form-select__label.location::before {
        content: '';
        width: 10px;
        height: 14px;
        display: flex;
        align-items: center;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14' fill='none'%3E%3Cpath d='M5.58398 13.4844C5.2793 13.8652 4.69531 13.8652 4.39062 13.4844C3.0957 11.834 0.125 7.89844 0.125 5.66406C0.125 2.97266 2.30859 0.789062 5 0.789062C7.69141 0.789062 9.875 2.97266 9.875 5.66406C9.875 7.89844 6.9043 11.834 5.58398 13.4844ZM5 4.03906C4.41602 4.03906 3.88281 4.36914 3.57812 4.85156C3.29883 5.35938 3.29883 5.99414 3.57812 6.47656C3.88281 6.98438 4.41602 7.28906 5 7.28906C5.55859 7.28906 6.0918 6.98438 6.39648 6.47656C6.67578 5.99414 6.67578 5.35938 6.39648 4.85156C6.0918 4.36914 5.55859 4.03906 5 4.03906Z' fill='white'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
      }

      .modal-cta__form-select__label.comment::before {
        content: '';
        width: 14px;
        height: 14px;
        display: flex;
        align-items: center;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M12.2 0.779541H1.8C1.45635 0.781259 1.12735 0.918981 0.88496 1.16259C0.642567 1.4062 0.506496 1.73588 0.5065 2.07954L0.5 13.7795L3.1 11.1795H12.2C12.5445 11.1785 12.8746 11.0413 13.1181 10.7977C13.3617 10.5541 13.499 10.224 13.5 9.87954V2.07954C13.499 1.73507 13.3617 1.40499 13.1181 1.16141C12.8746 0.917826 12.5445 0.780541 12.2 0.779541ZM5.05 6.62954H3.75V5.32954H5.05V6.62954ZM7.65 6.62954H6.35V5.32954H7.65V6.62954ZM10.25 6.62954H8.95V5.32954H10.25V6.62954Z' fill='white'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
      }

      .modal-cta__form-select__label.user::before {
        content: '';
        width: 15px;
        height: 15px;
        display: flex;
        align-items: center;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 14 16' fill='none'%3E%3Cpath d='M11.1786 5.02954C11.1786 5.856 10.9335 6.6639 10.4744 7.35108C10.0152 8.03825 9.36261 8.57384 8.59907 8.89012C7.83552 9.20639 6.99533 9.28914 6.18475 9.1279C5.37417 8.96667 4.62961 8.56869 4.04521 7.9843C3.46082 7.3999 3.06284 6.65534 2.9016 5.84476C2.74037 5.03418 2.82312 4.19399 3.13939 3.43044C3.45567 2.66689 3.99125 2.01428 4.67843 1.55512C5.36561 1.09597 6.1735 0.850892 6.99996 0.850892C7.54882 0.85052 8.09236 0.958351 8.5995 1.16822C9.10665 1.37808 9.56745 1.68586 9.95555 2.07396C10.3436 2.46206 10.6514 2.92286 10.8613 3.43C11.0712 3.93715 11.179 4.48069 11.1786 5.02954Z' fill='white'/%3E%3Cpath d='M7 9.2082C5.27641 9.20925 3.62372 9.89441 2.40496 11.1132C1.1862 12.3319 0.501048 13.9846 0.5 15.7082H13.5C13.499 13.9846 12.8138 12.3319 11.595 11.1132C10.3763 9.89441 8.72359 9.20925 7 9.2082Z' fill='white'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
      }

      .modal-cta__form-select {
        position: static;
        width: 100%;
        text-align: center;
        color: #929292;
        padding: 0 10px;
      }

      .modal-cta__form-select option:checked:not([value=""]) {
        color: #363636;
      }

      .modal-cta__form-select:has(option:checked:not([value=""])) {
        color: #363636;
      }
    }
  }

  button.modal-cta__form-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 13px 25px;
    width: 100%;
    border: 1px solid #FFF;
    color: #fff;
    background: transparent;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.64px;
  }

  button.modal-cta__form-button:hover {
    color: #173C80; /* 背景色と同じ青に変更 */
    background: #fff;
  }

  button.modal-cta__form-button::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .remodal-cta--houmu {
    .container {
      width: 100%;

      &.step1::before {
        left: -55px;
        width: 390px;
        height: 234px;
      }

      &.step2::before {
        left: -55px;
        width: 390px;
        height: 234px;
      }
    }

    .header {
      margin: 15px 0 30px 20px;

      .header-logo img {
        height: 18px;
        margin-bottom: 18px;
        display: flex;
        justify-content: flex-start;
      }

      .header-tag {
        font-size: 13px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: 0.52px;
        justify-content: flex-start;
        width: fit-content;
        padding: 5px 4px 5px 10px;
      }

      .header-tag::after {
        right: -30px;
        border-top: 30px solid #A48B78;
        border-right: 30px solid transparent;
      }

      .header-title {
        font-size: 24px;
        line-height: normal;
        letter-spacing: 0.96px;
      }
    }

    .body {
      padding: 30px 20px;

      .description {
        font-size: 12px;

        span {
          font-size: 12px;
          padding: 3px;
          margin: 3px;
        }
      }

      .buttons {
        flex-direction: column;
        gap: 15px;
        height: auto;

        .button {
          height: 50px;
        }

        span {
          font-size: 16px;
        }
      }
    }
  }

  .remodal-wrapper.remodal-cta .remodal.remodal-cta.remodal-cta--houmu .modal-cta__form {
    padding: 30px 20px 35px;

    .description {
      width: 192px;
      font-size: 12px;
    }

    .modal-cta__form-row {
      flex-direction: column;
      gap: 15px;
      width: 295px;

      .modal-cta__form-select-wrapper {
        width: 100%;
        margin-bottom: 10px;
        flex-direction: row;
        height: 41px;

        .modal-cta__form-select__label {
          font-size: 13px;
          height: 100%;
          width: 90px;
          border-radius: 3px 0 0 3px;
        }

        .modal-cta__form-select {
          font-size: 14px;
          width: 65%;
        }
      }
    }

    button.modal-cta__form-button {
      font-size: 14px;
      padding: 10px 20px;
      margin-top: 20px;

      &::before {
        font-size: 14px;
      }
    }
  }
}
