/* --- title --- */


/* --- Base --- */
@layer theme {
    :root,:host {
        --color-red-500: oklch(63.7% .237 25.331);
        --color-green-500: oklch(72.3% .219 149.579);
        --color-gray-100: oklch(96.7% .003 264.542);
        --color-gray-200: oklch(92.8% .006 264.531);
        --color-gray-500: oklch(40.1% .027 264.364);
        --color-gray-600: oklch(29.6% .03 256.802);
        --color-gray-700: oklch(22.3% .034 259.733);
        --color-gray-900: oklch(11% .034 264.665);
        --color-black: #000;
        --color-white: #fff;
        --spacing: .25rem;
        --container-xs: 20rem;
        --container-sm: 24rem;
        --container-md: 28rem;
        --container-lg: 32rem;
        --container-xl: 36rem;
        --container-2xl: 42rem;
        --container-7xl: 80rem;
        --text-xs: .75rem;
        --text-xs--line-height: 1.5;
        --text-sm: .875rem;
        --text-sm--line-height: 1.5;
        --text-base: 1rem;
        --text-base--line-height: 1.75;
        --text-lg: 1.125rem;
        --text-lg--line-height: calc(1.75/1.125);
        --text-xl: 1.25rem;
        --text-xl--line-height: calc(1.75/1.25);
        --text-2xl: 1.5rem;
        --text-2xl--line-height: calc(2/1.5);
        /*--text-3xl: 1.875rem; */
        --text-3xl: 1.75rem;
        --text-3xl--line-height: 1.2 ;
        /*--text-4xl: 2.25rem; */
        --text-4xl: 2.0rem; 
        --text-4xl--line-height: calc(2.5/2.25);
        /* --text-5xl: 3rem; */
        --text-5xl: 2.25rem;
        --text-5xl--line-height: 1;
        --text-6xl: 3.75rem;
        --text-6xl--line-height: 1;
        --text-9xl: 8rem;
        --text-9xl--line-height: 1;
    }
}
    
:root, :host {
    --text-xs: .75rem;
    --text-xs--line-height: 1.5;
    --text-sm: .875rem;
    --text-sm--line-height: 1.5;
    --text-base: 1rem;
    --text-base--line-height: 1.75;
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    /* --text-3xl: 1.875rem; */
    --text-3xl: 1.75rem;
    --text-3xl--line-height: 1.2;
    /* --text-4xl: 2.25rem; */
    --text-4xl: 2.0rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    /* --text-5xl: 3rem; */
    --text-5xl: 2.25rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --text-9xl: 8rem;
    --text-9xl--line-height: 1;
    --font-weight-thin: 100;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -.025em;
    --tracking-wide: .025em;
    --leading-tight: 1.375;
    --leading-snug: 1.5;
    --leading-normal: 1.625;
    --leading-relaxed: 1.75;
    /*--leading-tight: 1.25;*/
    /*--leading-snug: 1.375;*/
    /*--leading-normal: 1.5;*/
    /*--leading-relaxed: 1.625;*/
}
/* --- Home Page --- */

@media (min-width: 580px) {
    .sm\:\!text-5xl {
        font-size: var(--text-4xl) !important;
        line-height: var(--tw-leading, var(--text-4xl--line-height)) !important;
    }
    .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    }
}

/* --- Post Contents --- */

.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)) {
    margin-top: 0em;
    margin-bottom: 0em;
}
/* リード文（excerpt）の斜体を強制的に解除する */
    .gh-article-excerpt, 
    .gh-card-excerpt,
    p.font-light.italic {
        font-style: normal !important;
    }
    p.font-light.italic {
        font-style: normal !important;
        font-weight: 400 !important; /* light(300)から少し太く */
        opacity: 1 !important;        /* 透明度80%を100%にしてクッキリさせる */
    }