@charset "UTF-8";

/* コンポーネントリスト用css */
.components {
    min-width: 1336px;
    padding: 40px 40px 0;
    z-index: 100;
}
.components__h1 {
    margin-bottom: 32px;
    font-family: "noto sans JP";
    font-size: 3.2rem;
}
.components__items {
    position: relative;
    margin-bottom: 48px;
    padding: 24px;
}
.components__items::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background: #eaeaea;
    z-index: -9;
}
.components__items__wrapper {
    max-width: 100%;
}
.components__items__wrapper:not(:last-child){
    margin-bottom: 16px;
}
.components__items__h2 {
    padding: 6px 16px;
    background-color: #ddd;
    font-family: "noto sans JP";
    font-size: 1.6rem;
    font-weight: 700;
}
.components__list.text-list li a,
.components__list.text-list li::before{
    color: #232323;
}

.components__list.text-list li:hover {
    opacity: 0.5;
}
.components__anchor-nav {
    margin-bottom: 60px;
    padding: 32px 48px;
    background-color: #e8eefa;
}
.components__anchor-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    color: var(--accent);
    font-family: "notosansJP";
}
.components__anchor-nav__items a {
    padding: 0 24px 4px 0;
    position: relative;
    border-bottom: 1px solid;
    color: var(--accent);
}
.components__anchor-nav__items a::after {
    position: absolute;
    right: 0;
    top: 0;
    content: "";
    width: 18px;
    height: 18px;
    background: url("/public/img/icon/icon_arrow_buttom.svg");
}
.components pre {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #000;
    font-family: monospace;
    color: #fff;
}
.components__items pre:not(:last-child){
    margin-bottom: 24px;
}
.components__items code {
    padding-left: 80px;
    padding-bottom: 40px;
}
.components__caption {
    position: relative;
    padding-left: 1em;
    color: var(--gray-500);
    font-size: 1.4rem;
}
.components__caption::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "※";
}
.components__caption a {
    color: var(--accent);
    text-decoration: underline;
}

.compone_block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 100px;
}

@media (max-width: 768px) {
    .components {
    min-width: 100vw;
    padding: 40px 0 0;
}
    .components__items code {
    padding-left: 8px;
    padding-bottom: 8px;
}
}