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

._th22_module h2 {
  text-align: left !important;
  font-size: 2.8rem !important;
  margin: 0 0 0.7em !important;
  font-weight: bold !important;
  font-style: italic !important;
}
._th22_module h2 ._th22_module_initial {
  color: var(--color-heading-ink) !important;
}
._th22_module h2:before {
  content: none;
}
._th22_module h2:after {
  content: "";
  position: static;
  margin-top: 0.7em;
  width: 25px;
  display: block;
  height: 3px;
  background: var(--color-primary);
  transform: none; color: var(--color-on-primary); }
._th22_module h2 ._th22_module_subtitle {
  font-weight: normal;
  display: block;
  margin-top: 0.7em;
  font-size: 1.6rem;
}

._th22_module .button {
  border: 1px solid var(--color-primary);
}
._th22_module .button.add_arrow {
  display: inline-block;
  border-radius: 0;
  padding: 1.5em 3.5em;
}
@media (max-width: 767px) {
  ._th22_module .button.add_arrow {
    display: block;
    margin: 0 auto 0.5em;
  }
}
._th22_module .button.add_arrow:after {
  border-color: var(--color-on-primary);
}
._th22_module .button.add_arrow:hover {
  color: var(--color-text);
}
._th22_module .button.add_arrow:hover:after {
  border-color: var(--color-text);
}
._th22_module .button.add_arrow.inverse:after {
  border-color: var(--color-text);
}
._th22_module .button.add_arrow.inverse:hover {
  background: #fff;
  color: var(--color-text);
}
._th22_module .button.add_arrow.inverse:hover:after {
  border-color: var(--color-text);
}
@media (max-width: 999px) and (min-width: 768px) {
  ._th22_module .button.add_arrow {
    padding: 1em 1.8em 1em 1em;
  }
}
@media (max-width: 767px) {
  ._th22_module .button.add_arrow {
    padding: 1.2em 2em 1.2em 1.5em;
  }
}

body.two_column .button.add_arrow {
  display: inline-block;
  border-radius: 0;
  padding: 1em 1.8em 1em 1em;
}
@media (max-width: 1023px) {
  body.two_column .button.add_arrow {
    display: block;
    margin: 1em;
  }
}

@media (min-width: 768px) {
  ._th22_module .wrap .row {
    min-height: 370px;
    position: relative;
    margin: 0 0 3%;
    background: var(--color-bg);
    z-index: 0;
  }
  ._th22_module .wrap .row ._th22_module_img_box {
    position: absolute;
    width: 49%;
    top: 0;
    height: 100%;
    min-height: 370px;
    z-index: 1;
  }
  ._th22_module .wrap .row ._th22_module_img_box figure {
    height: 100%;
  }
  ._th22_module .wrap .row ._th22_module_img_box figure img {
    min-height: 370px;
    height: 100%;
  }
  ._th22_module .wrap .row ._th22_module_text_box {
    width: 98%;
    margin: 0 auto;
    position: relative;
    padding: 3em 0;
  }
  ._th22_module .wrap .row ._th22_module_text_box ._th22_module_text_wrap {
    width: 49%;
  }
  ._th22_module .wrap .row.img_right ._th22_module_img_box {
    right: 0;
    background-position: left top;
  }
  ._th22_module .wrap .row.img_right ._th22_module_img_box figure {
    position: relative;
  }
  /* ★left と right が両方効くと幅が 0 になる(実測: 本番で2枚中1枚が幅0px)。
     反対側を auto に倒して、器いっぱいに cover で敷く。 */
  ._th22_module .wrap .row.img_right ._th22_module_img_box figure img {
    position: absolute;
    left: 0;
    right: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  ._th22_module .wrap .row.img_left ._th22_module_img_box {
    left: 0;
    background-position: right top;
  }
  ._th22_module .wrap .row.img_left ._th22_module_img_box figure {
    position: relative;
  }
  ._th22_module .wrap .row.img_left ._th22_module_img_box figure img {
    position: absolute;
    right: 0;
    left: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  ._th22_module .wrap .row.img_left ._th22_module_text_box ._th22_module_text_wrap {
    float: right;
    padding-right: 2%;
  }
}
@media (min-width: 1000px) {
  /* 固定1200pxは1024pxタブレットで横に溢れる(2026-08-09)。ビューポートに収める。 */
  ._th22_module .wrap ._th22_module_text_box {
    width: min(1200px, 92vw) !important;
  }
}
@media (max-width: 767px) {
  ._th22_module .wrap .row ._th22_module_img_box {
    margin: 0 0 1em;
  }
  ._th22_module .wrap .row ._th22_module_img_box figure img {
    width: 100%;
  }
  ._th22_module .wrap .row ._th22_module_text_box {
    width: 98%;
    margin: 0 auto;
    padding: 0 0 1em;
  }
}
._th22_module .row.inverse {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
._th22_module .row.inverse h2 {
  color: var(--color-on-primary);
}
._th22_module .row.inverse h2 ._th22_module_initial {
  color: color-mix(in srgb, var(--color-primary) 50%, black) !important;
}
@media (max-width: 767px) {
  ._th22_module .row.inverse ._th22_module_img_box {
    background: var(--color-bg) !important;
  }
}

body.two_column ._th22_module .wrap ._th22_module_text_box {
  width: 100% !important;
}
body.two_column ._th22_module .wrap ._th22_module_img_box {
  overflow: hidden;
}
body.two_column ._th22_module .wrap ._th22_module_img_box img {
  max-width: none;
}

/* SM-FIX5-20260819 */
/* 2026-08-19: .row.inverse は background:var(--color-primary) の面。上と同じ理由で
   インク色を --color-on-primary に寄せる。 */
._th22_module .row.inverse{ --inverse-ink: var(--color-on-primary, #fff); }
