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

._th04_module ._th04_module_img {
  position: relative;
}
._th04_module ._th04_module_img figure {
  position: relative;
  height: 100%;
  text-align: right;
  overflow: hidden;
}
._th04_module ._th04_module_img figure img {
  position: absolute;
  top: -300%;
  left: auto;
  bottom: -300%;
  right: 0;
  margin: auto;
}
._th04_module ._th04_module_text {
  position: relative;
  height: 700px;
}
._th04_module ._th04_module_text_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 73%;
}
._th04_module ._th04_module_text_inner p {
  line-height: 1.3;
  font-size: 1rem;
}
._th04_module ._th04_module_text_inner p.text-xlarge {
  font-size: 2.625rem;
}
._th04_module ._th04_module_text_inner p a.button {
  background: var(--color-primary);
  border-radius: 25px;
  padding: 1em 5em;
  margin-top: 8%; color: var(--color-on-primary); }
@media (max-width: 767px) {
  ._th04_module ._th04_module_img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    overflow: hidden;
  }
  ._th04_module ._th04_module_img figure {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }
  ._th04_module ._th04_module_img figure img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
  }
  ._th04_module ._th04_module_text {
    position: relative;
    height: auto;
  }
  ._th04_module ._th04_module_text_inner {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 2rem 0 0;
  }
  ._th04_module ._th04_module_text_inner p.text-xlarge {
    position: relative;
    font-size: clamp(1.45rem, 5.6vw, 1.8rem);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    padding-left: 1.1rem;
    color: var(--color-heading-ink);
    letter-spacing: 0.01em;
  }
  ._th04_module ._th04_module_text_inner p.text-xlarge::before {
    content: '';
    position: absolute;
    top: 0.15em;
    left: 0;
    width: 3px;
    height: calc(100% - 0.3em);
    background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
    border-radius: 2px;
  }
  ._th04_module ._th04_module_text_inner p:not(.text-xlarge) {
    font-size: 0.92rem;
    line-height: 1.9;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    color: var(--color-text-muted);
    border-bottom: 1px dashed var(--color-primary-light);
  }
  ._th04_module ._th04_module_text_inner p:not(.text-xlarge):last-of-type {
    margin-bottom: 1.75rem;
    padding-bottom: 0;
    border-bottom: none;
  }
  ._th04_module ._th04_module_text_inner p a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    width: 100%;
    margin-top: 0;
    padding: 0.9rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--color-primary) 30%, transparent);
  }
  ._th04_module ._th04_module_text_inner p a.button::after {
    content: '→';
    transition: transform 0.25s ease;
  }
  ._th04_module ._th04_module_text_inner p a.button:hover::after {
    transform: translateX(3px);
  }
}
