@charset 'UTF-8';

.block.-inheritance-procedure {
  margin-top: 50px;
}

.inheritance-procedure-header:not(.-floating) .indicator {
  display: none;
}

@keyframes show-steps {
  0% {
    max-height: 0;
  }

  100% {
    max-height: 999px;
  }
}

.inheritance-procedure-header .txt.-title {
  font-size: .2rem;
  line-height: 1.64;
  color: #ca2420;
  border: none;
}

.inheritance-procedure-header .nav {
  overflow: hidden;
  margin: 10px 0 0;
}

.inheritance-procedure-header .nav>li>.step {
  position: relative;
  display: block;
  text-decoration: none;
  color: #222;
  background: #ede9e5;
}

.inheritance-procedure-header .nav>li>.step>.summary>.title {
  font-size: .2rem;
  font-weight: 700;
  position: relative;
  padding: 10px;
  text-align: center;
  background: #d8d8d8;
}

.inheritance-procedure-header .nav>li>.step>.summary>.content {
  line-height: 1.8;
  position: relative;
  padding: 10px;
}

.inheritance-procedure-header .nav>li>.step:hover {
  transition: box-shadow 100ms,opacity 100ms;
  opacity: .8;
  box-shadow: 0 0 8px 0 rgba(0,0,0,.25);
}

.inheritance-procedure-header .indicator {
  display: flex;
  margin-top: 10px;

  justify-content: space-between;
}

.inheritance-procedure-header .indicator>li {
  width: calc(25% - 3px*3/4);
}

.inheritance-procedure-header .indicator>li>.step {
  font-size: .22rem;
  display: block;
  margin-bottom: 5px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  background: #d8d8d8;
}

.inheritance-procedure-header .indicator>li>.step:hover {
  transition: box-shadow 100ms,opacity 100ms;
  opacity: .8;
  color: #222;
  box-shadow: 0 0 3px 0 rgba(0,0,0,.25);
}

.inheritance-procedure-header .indicator>li>.step.-current {
  color: #fff;
  background: #ca2420;
}

.inheritance-procedure-header .indicator>li>.step.-current:after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  content: '';
  border-width: 2.5px 0 2.5px 10px;
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: transparent transparent transparent #ca2420;
  border-color: #ca2420 transparent transparent;
}

.ttl.-secondary.-inheritance {
  font-size: .2rem;
  font-weight: 700;
  line-height: 1.64;
  padding-bottom: 0;
  border: none;
}

.ttl.-secondary.-inheritance .ico-label {
  font-size: .18rem;
  min-width: 0;
  margin-bottom: 10px;
  padding: 3px 8px;
}

.ico-label.-inheritance {
  font-size: .16rem;
  font-weight: 700;
  position: relative;
  margin-bottom: 10px;
  padding: 3px 15px;
  color: #a94800;
  border-radius: 6px;
  background: #ffe2c5;
}

.ico-label.-inheritance:after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  content: '';
  border-width: 3.5px 0 3.5px 14px;
  border-width: 7px 7px 0;
  border-style: solid;
  border-color: transparent transparent transparent #ffe2c5;
  border-color: #ffe2c5 transparent transparent;
}

.ico-label.-inheritance.-l {
  font-size: .2rem;
  padding: 10px 20px;
}

.panel-box>dt:not(:first-child) {
  border-top: 1px solid #e3e3e3;
}

.panel-box.-emphasis.-inheritance>.title {
  background: #ffe2c5;

  justify-content: center;
}

.panel-box.-emphasis.-inheritance>.contents {
  border-top: 3px solid #f3915b;
}

.inheritance-documents-box>.checkdocuments .checkitem>:checked+.control+.label {
  color: #ca2420;
}

.inheritance-documents-box>.contents>.documents .document {
  padding: 20px 10px 10px;
  text-align: center;
  border: 1px solid #e3e3e3;
  background: #fff;
  box-shadow: 0 0 2px 0 rgba(0,0,0,.25);
}

.inheritance-documents-box>.contents>.documents .document>.title {
  line-height: 1.6;
  display: block;
  margin-top: 10px;
}

.inheritance-documents-box>.contents>.consulting .txt.-title {
  font-size: .24rem;
  line-height: 1.53333;
  position: relative;
  padding: 0;
  text-align: center;
  border: none;
}

.inheritance-documents-box>.contents>.consulting .txt.-title:after {
  display: block;
  width: 2em;
  height: 4px;
  margin: 10px auto 0;
  content: '';
  background: #ca2420;
}

.box.-inheritance-document {
  padding: 20px 10px 10px;
  text-align: center;
  border: 1px solid #e3e3e3;
  background: #fff;
  box-shadow: 0 0 2px 0 rgba(0,0,0,.25);
}

.txt.-title.-primary.-inheritance {
  font-size: .24rem;
  line-height: 1.53333;
  margin-top: 40px;
  padding: 3px 0 3px 20px;
  border-bottom: none;
  border-left: 3px solid #f18244;
}

.txt.-title.-secondary.-inheritance {
  font-size: .2rem;
  line-height: 1.64;
  margin-top: 40px;
  border-bottom-color: #f18244;
}

.row.-step2>li {
  overflow: hidden;
}

:not(.-initialized) .row.-step2>li .row.-step2>li.-disabled {
  display: none;
  max-width: 0;
  max-height: 0;
  padding: 0;
  transform: translateX(-100%);
  opacity: 0;
}

.-initialized .row.-step2>li {
  overflow: hidden;
}

.-initialized .row.-step2>li.-enabled {
  animation: slide-in 500ms ease 510ms forwards;
  opacity: 0;
}

.-initialized .row.-step2>li.-disabled {
  animation: slide-out 500ms ease forwards;
}

@keyframes slide-out {
  0% {
    max-width: 400px;
    max-height: 400px;
    transform: translateX(0);
    opacity: 1;
  }

  90% {
    max-width: 0;
    max-height: 0;
    padding: 0;
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    display: none;
    max-width: 0;
    max-height: 0;
    padding: 0;
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slide-in {
  0% {
    display: none;
    max-width: 0;
    max-height: 0;
    padding: 0;
    transform: translateX(100%);
    opacity: 0;
  }

  1% {
    max-width: 400px;
    max-height: 400px;
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.-inheritance .inheritance-procedure-header>.step-flow .col.col-24-md.col-24-lg {
  text-align: center;
}

.-inheritance .inheritance-procedure-header>.step-flow .col.-auto.col-24-md.col-24-lg.link.-down {
  text-align: left;
  color: #999;
}

.-inheritance .inheritance-procedure-header>.step-flow li[aria-current=page] .col.-auto.col-24-md.col-24-lg.link.-down {
  color: #fff;
}

@media print,screen and (min-width:768px) {
  .inheritance-procedure-header {
    margin-top: 70px;
  }

  .inheritance-procedure-header .nav {
    display: flex;

    align-items: stretch;
    justify-content: space-between;
  }

  .inheritance-procedure-header .nav>li {
    display: flex;
    width: calc(25% - 20px*3/4);

    align-items: stretch;
  }

  .inheritance-procedure-header .nav>li>.step {
    margin-bottom: 10px;
    padding-bottom: 15px;

    flex: 1 1 0%;
  }

  .inheritance-procedure-header .nav>li>.step:before {
    position: absolute;
    top: 0;
    top: auto;
    right: 0;
    bottom: 0;
    bottom: 18px;
    left: 0;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: auto;
    content: '';
    transform: rotate(135deg);
    vertical-align: middle;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    border-bottom-color: transparent!important;
    border-left-color: transparent!important;
  }

  .inheritance-procedure-header .nav>li>.step:after {
    position: absolute;
    right: 0;
    bottom: 15px;
    left: 0;
    display: block;
    width: 11px;
    height: 1px;
    margin: auto;
    content: '';
    border: 0;
    background: #333;
  }

  .inheritance-procedure-header .nav>li>.step>.summary>.content {
    font-weight: 700;
    padding-bottom: 15px;
    text-align: center;
  }

  .inheritance-procedure-header .indicator {
    display: none!important;
  }

  .ttl.-secondary.-inheritance {
    font-size: .26rem;
    line-height: 1.49231;
  }

  .ttl.-secondary.-inheritance .ico-label {
    font-size: .2rem;
    margin-bottom: 0;
    padding: 8px 25px;
  }

  .inheritance-documents-box.box.-emphasis {
    padding: 30px 20px 40px;
  }
}

@media screen and (max-width:767px) {
  .inheritance-procedure-header .nav>li+li {
    margin-top: 5px;
  }

  .inheritance-procedure-header .nav>li>.step>.summary>.title:before {
    position: absolute;
    top: 0;
    top: .7em;
    right: 12px;
    bottom: 0;
    bottom: auto;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: auto;
    content: '';
    transform: rotate(135deg);
    vertical-align: middle;
    border-top: 1px solid #ca2420;
    border-right: 1px solid #ca2420;
    border-bottom-color: transparent!important;
    border-left-color: transparent!important;
  }

  .inheritance-procedure-header .nav>li>.step>.summary>.title:after {
    position: absolute;
    top: calc(1em + 4px);
    right: 10px;
    display: block;
    width: 11px;
    height: 1px;
    content: '';
    background: #ca2420;
  }

  .inheritance-procedure-header .nav>li>.step>.summary>.content img {
    width: 36px;
    height: auto;
  }

  .box.-balloon.-bottom-sm {
    margin: 0 0 20px;
  }

  .box.-balloon.-bottom-sm:before {
    top: auto;
    right: 0;
    bottom: -20px;
    left: 0;
    border-width: 20px 20px 0 0;
    border-color: #e3e3e3 transparent transparent;
  }

  .box.-balloon.-bottom-sm:after {
    top: auto;
    right: 0;
    bottom: -18px;
    left: 0;
    border-width: 18px 18px 0 0;
    border-color: #fff transparent transparent;
  }

  .-inheritance .inheritance-procedure-header>.step-flow .col.-auto.col-24-md.col-24-lg.link.-down:before {
    content: none;
  }
}
