*,
*::before,
*::after { box-sizing: border-box; 
        font-family: "Noto Serif JP", serif;
        font-optical-sizing: auto;
        font-style: normal;
color: #333;}
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
* >p:not(:last-child) {
    margin-bottom: 15px;
}
:root{
--color-bg: #f8f5f1; 
--color-surface: #D1AF82;
--color-text: #3c2f2a;
--color-muted: #70615c;
--color-accent: #f5693c;
--color-brand: #000;
--color-white: #fff;
--color-grey: #DBDBDB;
--color-back: #F3F0EC;
--color-silver: #898989;
--color-source: #c2c2c2;

/* Spacing scale */
--space-4: .25rem;
--space-8: .5rem;
--space-12: .75rem;
--space-16: 1rem;
--space-20: 1.25rem;
--space-24: 1.5rem;
--space-32: 2rem;
--space-40: 2.5rem;
--space-48: 3rem;
--space-64: 4rem;
--space-80: 5rem;

/* Radius */
--radius-xs: 6px;
--radius-sm: 10px;
--radius-md: 16px;
--radius-lg: 20px;

/* Typography */
--font-base: "Noto Serif JP", serif;
--font-serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
--fs-12: .75rem;
--fs-14: .875rem;
--fs-16: 1rem;
--fs-18: 1.125rem;
--fs-20: 1.25rem;
--fs-24: 1.5rem;
--fs-28: 1.75rem;
--fs-32: 2rem;
--fs-40: 2.5rem;
--fs-48: 3rem;
}

/* ======= Base ======= */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}
body{
color: var(--color-text);
font-family: var(--font-base);
font-size: var(--fs-16);
}
.container {
width: 100%;;
margin: auto;
max-width: 1304px;
 padding: 0 12px;
}
.two-container {
    width: 100%;
    margin: auto;
    max-width: 1312px;
    padding: 0 12px;
    justify-content: space-between;
    gap: 40px;
    display: grid;
}
.two-container .left-container {
    max-width: 800px;
    width: 100%;
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.two-container .right-container {
    width: 100%;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    max-width: 380px;
    min-width: 250px;
}
main {
    margin-bottom: 100px;
    word-break: break-all;
}
.en {
    font-family: "Cormorant", serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.bold {
    font-weight: 600;
}
a.link {
color: var(--color-surface);
}
a.link-under {
color: var(--color-surface);
text-decoration: underline;
}
.source {
    text-align: right;
    color: var(--color-source);
    font-size: clamp(0.75rem, 0.695rem + 0.22vw, 0.875rem);
}
.bread-crumb {
font-size: clamp(0.75rem, 0.687rem + 0.26vw, 0.875rem);
padding-top: 12px;
display: flex;
flex-wrap: wrap;
row-gap: 8px;
}
.bread-crumb > li { 
display: flex;
align-items: center;;
    }
.bread-crumb > li a { 
    text-decoration: underline;
    text-underline-offset: 4px;
    }
.bread-crumb > li:not(:last-child)::after { 
    content: "●";
    font-size: 6px;
    display: inline-block;
    margin: 0 8px;
    color: var(--color-surface);
    line-height: 1;
}
.toc::before,.toc::after {
content: "";
display: block;
}
.toc::before {
border-top: 1px solid var(--color-surface);
}
.toc::after {
border-bottom: 1px solid var(--color-surface);
}
.toc dl  {
    background: var(--color-back);
    margin: 6px;
    border-top: 1px solid var(--color-surface);
    border-bottom: 1px solid var(--color-surface);
    padding: 32px 20px;
    display: grid;
    gap: 20px;
    padding: 32px 20px;
}
.toc dt {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    position: relative;
    display: grid;
    justify-items: center;
    line-height: 1;
    padding-bottom: 12px;
}
.toc dt::after {
    content: "";
    position: absolute;
    bottom:0;
    width: 32px;
    height: 1px;
background: var(--color-surface);

}
.toc dd {
    
}
.toc dd ol li {
    font-weight: 700;
    }
.toc dd ol li > span {
    font-family: "Cormorant", serif;
    font-optical-sizing: auto;
    font-size: 32px;
    color: var(--color-surface);
}
.toc dd ol li > span::after {
    content: "／";
    font-size: 16px;
    padding-left: 8px;
    color: var(--color-surface);
}
.toc dd ol li a {
font-size: 20px;
margin-left: 20px;
}
.section-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
}

.btn-primary{
background: var(--color-accent);
color: var(--color-white);
box-shadow: var(--shadow-1);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: var(--shadow-2); }
/* Utilities */
.visually-hidden{
position: absolute !important; clip: rect(1px,1px,1px,1px);
width:1px; height:1px; overflow:hidden; white-space:nowrap;
}
.icon{ font-style: normal; }

/* Cards */
.card { display: grid; background: var(--color-white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-1); }
.card-media { aspect-ratio: 1 / 1; background: var(--color-surface-2); }
.card-body { padding: var(--space-16); }
.card-title { font-size: var(--fs-18); line-height: 1.4; }
.card-date { font-size: var(--fs-12); color: var(--color-muted); }


@media (max-width: 768px){
    html {
        scroll-padding-top: 48px;
    }
    .sp-db {
        display: block;
    }
    .two-container {
        display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .toc dl {
            padding: 20px 12px;
            gap: 12px;
        }
        .toc dt {
            font-size: clamp(1.25rem, 1.086rem + 0.67vw, 1.625rem);
        }
        .toc dd ol li > span {
            font-size: 28px;
        }
        .toc dd ol li > span::after {
            padding-left: 4px;
        }
        .toc dd ol li a {
            font-size: 18px;
    margin-left: 8px;
        }
}
