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

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

/* ================================================================ cases-hero（お客様の成果が、私たちの実績です） */
.cases-hero-section { overflow: hidden; padding-bottom: 4rem; padding-top: 7rem; }
.cases-hero-bg { position: absolute; inset: 0; opacity: 0.4; }
.cases-hero-inner {
    width: 100%;
    position: relative;
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.cases-hero-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 56rem;
    text-align: center;
}
.cases-hero-eyebrow { margin-bottom: 1.5rem; display: inline-block; }
.cases-hero-title {
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
}
.cases-hero-title-break { display: none; }
.cases-hero-lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    max-width: 48rem;
    font-size: 1.125rem;
    line-height: 1.625;
    color: rgb(255 255 255 / 0.7);
}
.cases-hero-stats {
    margin-left: auto;
    margin-right: auto;
    display: grid;
    max-width: 42rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.cases-hero-stat { text-align: center; }
.cases-hero-stat-number { margin-bottom: 0.25rem; font-size: 1.875rem; line-height: 2.25rem; }
.cases-hero-stat-unit { color: rgb(255 255 255 / 0.8); }
.cases-hero-stat-caption {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    color: rgb(255 255 255 / 0.5);
}
@media (min-width: 640px) {
    .cases-hero-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
    .cases-hero-title { font-size: 3rem; line-height: 1; }
    .cases-hero-title-break { display: inline; }
}
@media (min-width: 768px) {
    .cases-hero-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .cases-hero-section { padding-bottom: 5rem; padding-top: 10rem; }
    .cases-hero-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .cases-hero-title { font-size: 3.75rem; line-height: 1; }
    .cases-hero-lead { font-size: 1.25rem; line-height: 1.75rem; }
    .cases-hero-stat-number { font-size: 2.25rem; line-height: 2.5rem; }
    .cases-hero-stat-caption { font-size: 0.875rem; line-height: 1.25rem; }
}
@media (min-width: 1280px) {
    .cases-hero-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .cases-hero-inner { max-width: 1536px; }
}

/* ================================================================ cases-filter */
.cases-filter {
    position: sticky;
    top: 4rem;
    z-index: 40;
    border-bottom-width: 1px;
    border-color: #f3f4f6;
    background-color: #ffffff;
}
.cases-filter-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.cases-filter-list {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
@media (min-width: 640px) {
    .cases-filter-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
    .cases-filter-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .cases-filter { top: 5rem; }
    .cases-filter-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1280px) {
    .cases-filter-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .cases-filter-inner { max-width: 1536px; }
}

/* ================================================================ cases（注目の活用シーン） */
.cases-list { padding-top: 4rem; padding-bottom: 4rem; background-color: #ffffff; }
.cases-list-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.cases-list-content { margin-left: auto; margin-right: auto; max-width: 80rem; }
.cases-list-header { margin-bottom: 2.5rem; }
.cases-list-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 900;
    color: #111827;
}
.cases-featured-grid { margin-bottom: 4rem; display: grid; gap: 1.5rem; }
.cases-featured-body { padding: 1.5rem; }
.cases-featured-company {
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 900;
    color: #111827;
}
.cases-featured-metric {
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.cases-featured-metric-value { font-size: 3rem; line-height: 1; font-weight: 900; }
.cases-metric-label {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: #6b7280;
}
.cases-featured-summary {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #4b5563;
}
.cases-featured-quote {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.625;
    color: #374151;
}
.cases-quote-author {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    color: #6b7280;
}
.cases-featured-metric-compact { font-size: 2.25rem; line-height: 2.5rem; font-weight: 900; }
.cases-grid { display: grid; gap: 1.5rem; }
.cases-item-body { padding: 1.5rem; }
.cases-item-company {
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: #111827;
}
.cases-item-metric {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.cases-item-metric-value { font-size: 1.875rem; line-height: 2.25rem; font-weight: 900; }
.cases-item-summary {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #4b5563;
}
.cases-item-quote {
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.625;
    color: #4b5563;
}
.cases-item-metric-value-long { font-size: 1.5rem; line-height: 2rem; font-weight: 900; }
.cases-empty { padding-top: 4rem; padding-bottom: 4rem; text-align: center; }
.cases-empty-text { font-size: 1.125rem; line-height: 1.75rem; color: #9ca3af; }
@media (min-width: 640px) {
    .cases-list-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
    .cases-list-inner { max-width: 768px; }
    .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .cases-list { padding-top: 5rem; padding-bottom: 5rem; }
    .cases-list-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .cases-list-title { font-size: 1.875rem; line-height: 2.25rem; }
    .cases-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cases-featured-body { padding: 2rem; }
    .cases-featured-company { font-size: 1.5rem; line-height: 2rem; }
    .cases-featured-metric-value { font-size: 3.75rem; line-height: 1; }
    .cases-featured-metric-compact { font-size: 3rem; line-height: 1; }
    .cases-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .cases-list-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .cases-list-inner { max-width: 1536px; }
}

/* ================================================================ cases-cta（次の活用シーンは、あなたの会社です） */
.cases-cta {
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.cases-cta-bg { position: absolute; inset: 0; }
.cases-cta-pattern { position: absolute; inset: 0; opacity: 0.1; }
.cases-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);
}
.cases-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);
}
.cases-cta-inner {
    width: 100%;
    position: relative;
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.cases-cta-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 56rem;
    text-align: center;
}
.cases-cta-title {
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 900;
    color: #ffffff;
}
.cases-cta-lead {
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    line-height: 1.625;
    color: rgb(255 255 255 / 0.8);
}
.cases-cta-break-desktop { display: none; }
.cases-cta-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}
.cases-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;
}
.cases-cta-button-icon { margin-left: 0.5rem; height: 1.25rem; width: 1.25rem; }
@media (min-width: 640px) {
    .cases-cta-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
    .cases-cta-break-mobile { display: none; }
    .cases-cta-break-desktop { display: inline; }
    .cases-cta-actions { flex-direction: row; }
}
@media (min-width: 768px) {
    .cases-cta-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .cases-cta { padding-top: 6rem; padding-bottom: 6rem; }
    .cases-cta-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .cases-cta-title { font-size: 3rem; line-height: 1; }
    .cases-cta-lead { font-size: 1.5rem; line-height: 2rem; }
}
@media (min-width: 1280px) {
    .cases-cta-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .cases-cta-inner { max-width: 1536px; }
}

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