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

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

/* ================================================================ case-study-hero（株式会社Aプランニング） */
.case-study-hero { padding-bottom: 2rem; padding-top: 6rem; }
.case-study-hero-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.case-study-hero-container { margin-left: auto; margin-right: auto; max-width: 56rem; }
.case-study-hero-meta {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.case-study-hero-label {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: #6b7280;
}
.case-study-hero-title {
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: 900;
    line-height: 1.25;
    color: #111827;
}
.case-study-hero-lead { font-size: 1rem; line-height: 1.625; color: #4b5563; }
@media (min-width: 640px) {
    .case-study-hero-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
    .case-study-hero-title { font-size: 2.25rem; line-height: 2.5rem; }
    .case-study-hero-lead { font-size: 1.125rem; line-height: 1.75rem; }
}
@media (min-width: 768px) {
    .case-study-hero-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .case-study-hero { padding-bottom: 3rem; padding-top: 8rem; }
    .case-study-hero-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .case-study-hero-title { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1280px) {
    .case-study-hero-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .case-study-hero-inner { max-width: 1536px; }
}

/* ================================================================ case-study-breadcrumb */
.case-study-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #6b7280;
}
.case-study-breadcrumb-link {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.case-study-breadcrumb-separator { margin-left: 0.5rem; margin-right: 0.5rem; }
.case-study-breadcrumb-current { color: #374151; }

/* ================================================================ case-study */
.case-study-content { padding-bottom: 4rem; padding-top: 1rem; }
.case-study-content-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.case-study-content-container { margin-left: auto; margin-right: auto; max-width: 56rem; }
.case-study-content-image { margin-bottom: 1.5rem; }
.case-study-content-body { padding: 1.5rem; }
.case-study-footer {
    margin-top: 2.5rem;
    border-top-width: 1px;
    padding-top: 2rem;
    border-color: #e5e7eb;
}
.case-study-footer-utility { display: flex; align-items: center; gap: 0.75rem; }
.case-study-cta-panel { padding: 1.25rem; }
.case-study-cta-grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: flex-start;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .case-study-content { padding-top: 1.25rem; }
    .case-study-content-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
    .case-study-content-body { padding: 2rem; }
    .case-study-cta-panel { padding: 1.5rem; }
}
@media (min-width: 768px) {
    .case-study-content-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .case-study-content { padding-bottom: 6rem; padding-top: 2rem; }
    .case-study-content-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .case-study-content-image { margin-bottom: 2rem; }
    .case-study-content-body { padding: 3rem; }
    .case-study-cta-grid { grid-template-columns: 1.05fr .95fr; gap: 1.5rem; }
}
@media (min-width: 1280px) {
    .case-study-content-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .case-study-content-inner { max-width: 1536px; }
}

/* ================================================================ case-study-legacy */
.case-study-legacy-toc-item-first { margin-bottom: 0.5rem; margin-top: 0.5rem; }
.case-study-legacy-toc-item { margin-bottom: 0.5rem; }
.case-study-legacy-heading { margin-bottom: 0.75rem; }
.case-study-legacy-block { margin-bottom: 0.25rem; }
.case-study-legacy-table { display: table; }
.case-study-legacy-avatar { border-width: 1px; }
.case-study-legacy-speaker { text-align: center; }
.case-study-legacy-cta { margin-top: 0.75rem; text-align: center; }
.case-study-legacy-cta-col { gap: 0.5rem; }
.case-study-legacy-cta-link { color: #ffffff; }
.case-study-legacy-dialogue-row { margin-top: 0.75rem; }

/* ================================================================ case-study-demo-form */
.case-study-demo-form > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; margin-bottom: 0; }
.case-study-demo-form { color: #111827; }
.case-study-demo-form-input { background-color: #ffffff; color: #111827; }
.case-study-demo-form-input::placeholder { color: #6b7280; }
.case-study-demo-form-select { background-color: #ffffff; color: #111827; }
.case-study-demo-form-button { width: 100%; }
