@charset "utf-8";

@media screen, print {
  #what-lead {
    margin-bottom: 5rem;
  }

  #what-flow {
    margin-bottom: 6rem;
  }

  #what-flow-general {
   margin-bottom: 8rem;
  }

  h2[id^="flow-title-"] {
    display: inline-block;
    margin-bottom: 3rem;
  }

  h2[id^="flow-title-"]::before {
    content: "";
    display: inline-block;
    height: 2rem;
    margin-right: 8px;
    transform: translateY(1px);
    width: 24px;
  }

  #flow-title-general,
  #flow-title-mitsubachi {
    /* font-weight: bold; */
  }

  #flow-title-general::before {
    background: url(../common/img/ic-head-general.svg) no-repeat;
  }

  #flow-title-mitsubachi::before {
    background: url(../common/img/ic-head-mitsubachi.svg) no-repeat;
  }

  .flow-txtArea {
    margin-bottom: 3rem;
    text-align: center;
  }

  p[class^="flow-txt-"] {
    display: inline;
    font-size: 1.8rem;
    /* font-weight: bold; */
    line-height: 1.4;
    margin-bottom: 3rem;
    text-align: center;
  }

  .flow-txt-general {
    box-shadow:
      inset 0 -7px rgba(78,78,78,.4),
      0 2px rgba(78,78,0,.4);
  }

  .flow-txt-mitsubachi {
    box-shadow:
      inset 0 -7px rgba(255,241,0,.5),
      0 2px rgba(255,241,0,.5);
  }

  li[class^="flow-item-"] {
    border-style: solid;
    position: relative;
  }

  li[class^="flow-item-"] + li[class^="flow-item-"] {
    margin-top: 8.5rem;
  }

  li[id^="flow-item-"]:not(:last-of-type)::after {
    border-style: solid;
    border-width: 3rem 5rem 0 5rem; /* top = height, LR = width/2 */
    border-color: #dddddd transparent transparent transparent;
    bottom: -6rem;
    content: "";
    height: 0;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 0;
  }

  .flow-item-num {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 1rem;
    text-align: center;
  }

  .flow-item-general {
    border-color: #4e4e4e;
    border-width: .1rem;
    padding: 3rem 2rem;
  }

  .flow-item-mitsubachi {
    border-color: #000;
    border-width: .1rem;
  }

  .flow-item-inner-mitsubachi {
    align-items: center;
    border: rgba(255,241,0,.5) solid 4px;
    display: flex;
    flex-direction: column;
    padding: 25px 15px;
  }

  #what-voice {
    margin-bottom: 80px;
  }

  .voice-item {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 30px 20px;
  }

  .voice-item + .voice-item {
    margin-top: 30px;
  }

  .voice-item-txt:last-of-type {
    margin-bottom: 15px;
  }

  .voice-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .voice-profile-img {
    border-radius: 50%;
    margin-bottom: 15px;
  }

  .voice-profile-txt {
    text-align: center;
  }

  .profile-txt-cust {
    margin-bottom: 10px;
  }

  .profile-txt-com,
  .profile-txt-name,
  .profile-txt-type {
    margin-bottom: 5px;
  }

  #what-cases {
    margin-bottom: 8rem;
  }

  .cases-list {
    margin-bottom: 5rem;
  }

  #what-message .default-txt {
    line-height: 2;
  }

}


/*** md Tablet ***/
@media screen and (min-width: 768px) {
  #what-lead {
    /* width: fit-content; */
  }

  h2[id^="flow-title-"] {
    margin-bottom: 4rem;
  }

  h2[id^="flow-title-"]::before {
    height: 1.8rem;
    width: 2.2rem;
  }

  .flow-content {
    display: flex;
    flex-direction: column;
  }

  .flow-txtArea {
    margin-bottom: 4rem;
  }

  p[class^="flow-txt-"] {
    /* font-size: 2rem; */
  }

  .flow-list-general {
    display: flex;
    justify-content: space-between;
  }

  li[class="flow-item-general"] + li[class="flow-item-general"] {
    margin-top: 0; /* reset */
  }

  li[id^="flow-item-"]:not(:last-of-type)::after {
    border-width: 2rem 3rem 0 3rem;
  }

  li[id^="flow-item-general-"]:not(:last-of-type)::after {
    bottom: 0; /* reset */
    left: calc( 33.6vw - 58px );
    margin: auto;
    top: 0;
    transform: rotate(-90deg);
  }

  .flow-item-general {
    width: calc( 32.3vw - 56px );
  }

  .flow-list-mitsubachi {
    margin-bottom: 40px;
  }

  .flow-item-mitsubachi {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 40em;
  }

  li[class="flow-item-mitsubachi"] + li[class="flow-item-mitsubachi"] {
    margin-top: 60px;
  }

  li[id^="flow-item-mitsubachi-"]:not(:last-of-type)::after {
    bottom: -40px;
  }

  #flow-item-mitsubachi-01 {
    text-align: left;
  }

  .flow-item-inner-mitsubachi {
    padding-left: 0; /* reset */
    padding-right: 0; /* reset */
  }

  #flow-item-inner-mitsubachi-01 {
    padding-left: 25px;
  }

  .mistubachi-item::before {
    margin-right: 5px;
  }

  .voice-item {
    margin-left: auto;
    margin-right: auto;
    padding: 30px 40px 35px;
    width: calc(45vw + 306px);
  }

  .voice-item-txt {
    line-height: 1.8
  }

  .voice-item-txt:last-of-type {
    margin-bottom: 20px;
  }

  .voice-profile {
    flex-direction: row;
    justify-content: center;
  }

  .voice-profile-img {
    margin-bottom: 0; /* reset */
  }

  .voice-profile-txt {
    margin-left: 30px;
    text-align: left;
  }

  .profile-txt-type {
    padding-left: 4em;
    text-indent: -4em;
  }

  .cases-list {
    margin-bottom: 3rem;
  }

  #what-message .default-txt {
    text-align: center;
  }
}

/*** lg PC ***/
@media screen and (min-width: 992px){
  .flow-item-general {
    width: 250px;
  }

  li[id^="flow-item-general-"]:not(:last-of-type)::after {
    left: 245px;
  }

  .voice-item {
    padding: 40px 50px 45px;
    width: 750px;
  }
}

/*** extra lg PC ***/
@media screen and (min-width: 1200px) {
}

/* ================== */
/*    print setting   */
/* ================== */
@media print {
  #what-lead {
    margin-bottom: 30px;
  }

  #what-flow {
    margin-bottom: 40px;
  }

  #what-flow-general {
    margin-bottom: 40px;
  }

  .flow-txtArea {
    margin-bottom: 20px;
  }

  h2[id^="flow-title-"] {
    margin-bottom: 10px;
  }

  h2[id^="flow-title-"]::before {
    height: 15px;
    width: 18px;
    transform: rotateY(0);
    vertical-align: middle;
  }

  p[class^="flow-txt-"] {
    font-size: 15px;
  }

  .flow-txt-general {
    box-shadow: inset 0 -5px rgba(78,78,78,.4), 0 2px rgba(78,78,0,.4);
  }

  .flow-txt-mitsubachi {
    box-shadow: inset 0 -5px rgba(255,241,0,.5), 0 2px rgba(255,241,0,.5);
  }

  .flow-list-general {
    display: flex;
    justify-content: space-between;
  }

  .flow-item-general {
    padding: 8px 12px;
    width: 30%;
  }

  li[class="flow-item-general"] + li[class="flow-item-general"] {
    margin-top: 0;
  }

  li[id^="flow-item-"]:not(:last-of-type)::after {
    border-width: 10px 15px 0 15px;
    bottom: -22px;
  }

  li[id^="flow-item-general-"]:not(:last-of-type)::after {
    bottom: 0;
    left: 100%;
    margin: auto;
    top: 0;
    transform: rotate(-90deg);
  }

  .flow-list-mitsubachi li[class^="flow-item-"] + li[class^="flow-item-"] {
    margin-top: 30px;
  }

  .flow-item-num {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .flow-item-mitsubachi {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
  }

  .flow-item-inner-mitsubachi {
    padding: 8px 12px;
  }

  .mitsubachi-item + .mitsubachi-item {
    margin-top: 0;
  }

  #what-message {
    width: 80%;
  }
}
