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

.th02_bnr .th02_bnr_parent {
  position: relative;
}
.th02_bnr .th02_bnr_parent:after, .th02_bnr .th02_bnr_parent:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--color-text);
  z-index: 1;
  transition: 0.5s; color: var(--color-bg); }
.th02_bnr .th02_bnr_parent:before {
  top: 5px;
  left: 5px;
}
.th02_bnr .th02_bnr_parent:after {
  bottom: 5px;
  right: 5px;
}
.th02_bnr .th02_bnr_parent:hover:after, .th02_bnr .th02_bnr_parent:hover:before {
  width: calc(100% - 0);
}
@media (min-width: 768px) {
  .th02_bnr .th02_bnr_children {
    display: flex;
    height: 100%;
  }
}
.th02_bnr .th02_bnr_children {
  position: relative;
}
.th02_bnr .th02_bnr_children:after, .th02_bnr .th02_bnr_children:before {
  content: "";
  display: block;
  position: absolute;
  height: 0;
  width: 2px;
  background: var(--color-text);
  z-index: 1;
  transition: 0.5s; color: var(--color-bg); }
.th02_bnr .th02_bnr_children:before {
  left: 5px;
  bottom: 5px;
}
.th02_bnr .th02_bnr_children:after {
  right: 5px;
  top: 5px;
}
.th02_bnr .th02_bnr_children:hover:after, .th02_bnr .th02_bnr_children:hover:before {
  height: calc(100% - 0);
}
.th02_bnr .th02_bnr_text {
  padding: 0.5em;
}
@media (min-width: 768px) {
  .th02_bnr .th02_bnr_text {
    padding: 20px 20px 72px;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .th02_bnr .th02_bnr_text .more {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    margin-top: auto;
  }
  .th02_bnr .th02_bnr_text .more a {
    padding: 0.3em 0.1em;
    display: inline-block;
  }
}
@media (min-width: 768px) {
  .th02_bnr .th02_bnr_img figure {
    min-height: 300px;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
}
@media (min-width: 768px) {
  .th02_bnr .th02_bnr_img figure > img {
    display: block;
    position: absolute;
    top: -300%;
    left: -300%;
    right: -300%;
    bottom: -300%;
    margin: auto;
    height: 100%;
    max-width: none;
  }
}
.th02_bnr .row.reverse {
  flex-direction: row-reverse;
}
.th02_bnr h3 {
  margin-bottom: 0.5em;
  padding: 0;
}
