/* flow-mod-18.css — ベースライン(自動読込・module-base.css前提)。編集せず上書きで調整。 */
@charset "UTF-8";

.mod_18_section .mod_18_wrap .row {
  margin-bottom: 0;
}
.mod_18_section .mod_18_wrap .row .col.mod_18_head {
  float: left;
  margin-bottom: 20px;
  padding-top: 25px;
  position: relative;
  width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mod_18_section .mod_18_wrap .row .col.mod_18_head > * {
  width: 100%;
}
.mod_18_section .mod_18_wrap .row .col.mod_18_head p {
  text-align: center;
  font-size: 2.5rem;
  line-height: 1;
  display: block;
  padding: 0.5em;
}
@media (max-width: 767px) {
  .mod_18_section .mod_18_wrap .row .col.mod_18_head p {
    font-size: 1.75rem;
  }
}
.mod_18_section .mod_18_wrap .row .col.mod_18_head p small {
  font-size: 1rem;
  line-height: 1;
  display: block;
}
@media (max-width: 767px) {
  .mod_18_section .mod_18_wrap .row .col.mod_18_head p small {
    font-size: 0.6875rem;
  }
}
.mod_18_section .mod_18_wrap .row .col.mod_18_head:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 75px 0 75px;
  border-color: var(--color-bg) transparent transparent transparent;
}
.mod_18_section .mod_18_wrap .row .col.mod_18_head:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 75px 0 75px;
  border-color: var(--color-primary) transparent transparent transparent;
  clear: both;
}
.mod_18_section .mod_18_wrap .row .col.mod_18_content {
  float: left;
  padding: 1em 1em 1em 0;
  width: calc(100% - 150px - 20px);
  margin-left: 20px;
}
.mod_18_section .mod_18_wrap .row .col.mod_18_content .mod_18_title {
  color: var(--color-heading-ink);
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .mod_18_section .mod_18_wrap .row .col.mod_18_head {
    margin-bottom: 12px;
    padding-top: 17px;
    width: 80px;
  }
  .mod_18_section .mod_18_wrap .row .col.mod_18_head:before {
    border-width: 12px 40px 0 40px;
  }
  .mod_18_section .mod_18_wrap .row .col.mod_18_head:after {
    bottom: -12px;
    border-width: 12px 40px 0 40px;
  }
  .mod_18_section .mod_18_wrap .row .col.mod_18_content {
    padding: 12px 0.5em 0.5em 0;
    width: calc(100% - 80px - 12px);
    margin-left: 12px;
  }
}
.mod_18_section.typeA .mod_18_wrap .row .col.mod_18_head {
  background: var(--color-primary); color: var(--color-on-primary); }
.mod_18_section.typeA .mod_18_wrap .row .col.mod_18_head:before {
  border-color: var(--color-bg) transparent transparent transparent;
}
.mod_18_section.typeA .mod_18_wrap .row .col.mod_18_head:after {
  border-color: var(--color-primary) transparent transparent transparent;
}
.mod_18_section.highlight.typeA .mod_18_wrap .row .col.mod_18_head:before {
  border-color: var(--color-surface) transparent transparent transparent;
}
.mod_18_section.typeB .mod_18_wrap .row .col.mod_18_head {
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 20px;
}
.mod_18_section.typeB .mod_18_wrap .row .col.mod_18_head:before, .mod_18_section.typeB .mod_18_wrap .row .col.mod_18_head:after {
  border-width: 30px 120px 0 120px;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}
.mod_18_section.typeB .mod_18_wrap .row .col.mod_18_head:before {
  top: auto;
  bottom: 2px;
  z-index: 1;
}
@media (max-width: 767px) {
  .mod_18_section.typeB .mod_18_wrap .row .col.mod_18_head:before {
    bottom: 2px;
  }
}
.mod_18_section.typeB .mod_18_wrap .row .col.mod_18_head:after {
  bottom: 0;
}
@media (max-width: 767px) {
  .mod_18_section.typeB .mod_18_wrap .row .col.mod_18_head:after {
    bottom: 0;
  }
}
.mod_18_section.typeC .mod_18_wrap .row:first-child .col.mod_18_head, .mod_18_section.typeC .mod_18_wrap .row:nth-child(1) .col.mod_18_head {
  border-top: 1px solid var(--color-primary);
}
.mod_18_section.typeC .mod_18_wrap .row .col.mod_18_head {
  border-left: 1px solid var(--color-primary);
  border-right: 1px solid var(--color-primary);
  margin-bottom: 0;
}
.mod_18_section.typeC .mod_18_wrap .row .col.mod_18_head:before {
  top: auto;
  bottom: -20px;
  z-index: 1;
}
@media (max-width: 767px) {
  .mod_18_section.typeC .mod_18_wrap .row .col.mod_18_head:before {
    bottom: -12px;
  }
}
.mod_18_section.typeC .mod_18_wrap .row .col.mod_18_head:after {
  bottom: -21px;
}
@media (max-width: 767px) {
  .mod_18_section.typeC .mod_18_wrap .row .col.mod_18_head:after {
    bottom: -13px;
  }
}
