/*
 * casestudy.htmlのページ固有のスタイル（custom.css・site.css の後に読み込む）。
 * Tailwind のユーティリティクラス（px-4、lg:grid 等）は定義していないので、HTML に書いても効かない。
 * 新しい見た目が必要なときは、このファイルにクラスを追加して HTML から使うこと。
 *
 * ブレークポイント: sm 640px / md 768px / lg 1024px / xl 1280px / 2xl 1536px
 */

/* ================================================================ ページ全体（body） */
.case-list-page { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: #ffffff; }

/* ================================================================ case-list-hero（導入事例） */
.case-list-hero-section { overflow: hidden; padding-bottom: 3.5rem; padding-top: 7rem; }
.case-list-hero-bg { position: absolute; inset: 0; opacity: 0.4; }
.case-list-hero-inner {
    width: 100%;
    position: relative;
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.case-list-hero-content { margin-left: auto; margin-right: auto; max-width: 64rem; }
.case-list-hero-header { text-align: center; }
.case-list-hero-eyebrow {
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border-width: 1px;
    border-color: rgb(255 255 255 / 0.15);
    background-color: rgb(255 255 255 / 0.05);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: rgb(255 255 255 / 0.8);
}
.case-list-hero-eyebrow-dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    background-color: #93c5fd;
}
.case-list-hero-title {
    margin-bottom: 1.25rem;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
}
.case-list-hero-lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    max-width: 48rem;
    font-size: 1.125rem;
    line-height: 1.625;
    color: rgb(255 255 255 / 0.7);
}
.case-list-hero-stats {
    margin-left: auto;
    margin-right: auto;
    display: grid;
    max-width: 42rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.case-list-hero-stat-wide { grid-column: span 2 / span 2; }
@media (min-width: 640px) {
    .case-list-hero-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
    .case-list-hero-title { font-size: 3rem; line-height: 1; }
    .case-list-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .case-list-hero-stat-wide { grid-column: span 1 / span 1; }
}
@media (min-width: 768px) {
    .case-list-hero-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .case-list-hero-section { padding-bottom: 5rem; padding-top: 10rem; }
    .case-list-hero-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .case-list-hero-title { font-size: 3.75rem; line-height: 1; }
    .case-list-hero-lead { font-size: 1.25rem; line-height: 1.75rem; }
}
@media (min-width: 1280px) {
    .case-list-hero-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .case-list-hero-inner { max-width: 1536px; }
}

/* ================================================================ case-list-featured（注目の導入事例） */
.case-list-featured { padding-top: 3.5rem; padding-bottom: 3.5rem; background-color: #ffffff; }
.case-list-featured-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.case-list-featured-content { margin-left: auto; margin-right: auto; max-width: 72rem; }
.case-list-featured-header { margin-bottom: 1.5rem; }
.case-list-featured-label {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgb(0 102 255 / 0.8);
}
.case-list-featured-heading {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 900;
    color: #111827;
}
@media (min-width: 640px) {
    .case-list-featured-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
    .case-list-featured-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .case-list-featured { padding-top: 5rem; padding-bottom: 5rem; }
    .case-list-featured-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .case-list-featured-header { margin-bottom: 2rem; }
    .case-list-featured-heading { font-size: 1.875rem; line-height: 2.25rem; }
}
@media (min-width: 1280px) {
    .case-list-featured-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .case-list-featured-inner { max-width: 1536px; }
}

/* ================================================================ case-list-all（導入事例一覧） */
.case-list-all { padding-bottom: 4rem; background-color: #ffffff; }
.case-list-all-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.case-list-all-content { margin-left: auto; margin-right: auto; max-width: 72rem; }
.case-list-all-header { margin-bottom: 1.5rem; }
.case-list-all-label {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #64748b;
}
.case-list-all-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 900;
    color: #111827;
}
@media (min-width: 640px) {
    .case-list-all-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
    .case-list-all-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .case-list-all { padding-bottom: 6rem; }
    .case-list-all-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .case-list-all-header { margin-bottom: 2rem; }
    .case-list-all-title { font-size: 1.875rem; line-height: 2.25rem; }
}
@media (min-width: 1280px) {
    .case-list-all-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .case-list-all-inner { max-width: 1536px; }
}

/* ================================================================ case-list-cta（自社での活用イメージも、無料デモで確認できます） */
.case-list-cta {
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.case-list-cta-bg { position: absolute; inset: 0; }
.case-list-cta-pattern { position: absolute; inset: 0; opacity: 0.1; }
.case-list-cta-glow-primary {
    position: absolute;
    left: 2.5rem;
    top: 2.5rem;
    height: 18rem;
    width: 18rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    border-radius: 9999px;
    mix-blend-mode: overlay;
    background-color: #ffffff;
    filter: blur(64px);
}
.case-list-cta-glow-secondary {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    height: 24rem;
    width: 24rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    border-radius: 9999px;
    mix-blend-mode: overlay;
    background-color: #bfdbfe;
    filter: blur(64px);
}
.case-list-cta-inner {
    width: 100%;
    position: relative;
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.case-list-cta-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 56rem;
    text-align: center;
}
.case-list-cta-title {
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 900;
    color: #ffffff;
}
.case-list-cta-lead {
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    line-height: 1.625;
    color: rgb(255 255 255 / 0.8);
}
.case-list-cta-break { display: none; }
.case-list-cta-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}
.case-list-cta-button {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
}
.case-list-cta-button-icon { margin-left: 0.5rem; height: 1.25rem; width: 1.25rem; }
@media (min-width: 640px) {
    .case-list-cta-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
    .case-list-cta-break { display: inline; }
    .case-list-cta-actions { flex-direction: row; }
}
@media (min-width: 768px) {
    .case-list-cta-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .case-list-cta { padding-top: 6rem; padding-bottom: 6rem; }
    .case-list-cta-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .case-list-cta-title { font-size: 3rem; line-height: 1; }
    .case-list-cta-lead { font-size: 1.5rem; line-height: 2rem; }
}
@media (min-width: 1280px) {
    .case-list-cta-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .case-list-cta-inner { max-width: 1536px; }
}

@keyframes pulse {50% {opacity: .5
    }
}
