.breadcrumbs > ul > li:before {
    content: '> ';
}
.breadcrumbs > ul > li,
.breadcrumbs > ul ul {
    display: inline-block;
}

.slideshow {
    white-space: nowrap;
    overflow-x: scroll;
    width: 400px;
}
.slideshow > li {
    display: inline-block;
}

figure.right {
    float: right;
    width: 40%;
}
figure.right img {
    width: 100%;
}
figcaption {
    text-align: center;
}
ul {
    margin: 0px;
    padding-left: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

main {
    background-color: white;
    border: 1px solid black;
}

header {
    border-bottom: 1px solid white;
    background-color: #cccccc;
}

section {
    text-align: left;
    margin: 0px 16px;
}
/* text semantics */
strong {
    color: red;
}

p {
    text-indent: 1em;
}

h3 {
    clear: both;
    text-indent: 1em;
    border-left-style: double;
    border-bottom: 1px solid;
}

h4 {
    clear: both;
    margin-left: 1em;
    text-indent: 1em;
    border-left-style: double;
    border-bottom: 1px dotted;
}

/* table */
table {
    border: outset 1px black;
}
table.zebra tr:nth-child(even) {
    background-color: #eeeeee;
}
td {
    padding: 0px 4px;
    text-align: right;
}

dl {
    margin-left: 1em;
}
dt {
    font-weight: bold;
}
dd {
    text-align: left;
}
td > dl > dt {
    text-align: left;
}

dl.oneline {
    margin: 0;
}
dl.oneline dt {
    float: left;
    width: 7em;
}
dl.oneline dd {
    width: 7em;
}
th {
    padding: 0px 4px;
    white-space: nowrap;
}

select,
input {
    font-family: monospace;
}

i:before {
    padding-right: 4px;
}

input::placeholder {
    font-family: 'Font Awesome 5 Free';
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-weight: 900;
}

/* tabMenu block */
/* .tabMenu li{
    display: inline-block;
    border-bottom: 2px solid #9999FF; 
}*/

.tabMenu {
    display: flex;
    margin: 0px;
    padding: 2px;
    flex-direction: row;
    justify-content: space-around;
}

.tabMenu li {
    list-style-type: none;
    flex-grow: 1;
    text-align: center;
}

.tabMenu li:hover {
    background-color: #eeeeee;
}

.tabMenu li label {
    display: block;
    user-select: none;
}

.tabMenu input {
    display: none;
}

.selectedTab {
    border-bottom: 4px solid red;
    transition: all 0.5s 0s ease;
    background-color: white;
}

.unselectedTab {
    border-bottom: 4px solid #9999ff;
    background-color: white;
}

/* interatction */
header nav > ul > li:hover {
    background-color: #9999ff;
}

header:has(.tabMenu) > .tabMenu::before {
    content: '>';
}

/* loader */
.loader {
    width: 1em; /* ローディングアイコンのサイズになる */
    height: 1em;
    border-top: 3px solid rgba(0, 0, 0, 0.2);
    border-right: 3px solid rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
    border-left: 3px solid black;
    border-radius: 50%;
    transform: translateZ(0);
    animation: spin 1.5s linear infinite; /* アニメーションの指定 */
    display: inline-block;
}

@keyframes spin {
    /* アニメーションの設定 */
    0% {
        transform: rotate(0deg); /* 0度回す */
    }
    50% {
        transform: rotate(180deg); /* 180度回す */
    }
    100% {
        transform: rotate(360deg); /* 360度回す */
    }
}

.close {
    margin-left: 4px;
}

.logo {
    width: 30px;
    height: 30px;
    border: solid 1px white;
    vertical-align: middle;
}

.logo:hover {
    border: solid 1px;
}

.opened:before {
    content: '\0f0d7';
    font-weight: 900;
    margin: 2px;
}

.closed:before {
    content: '\0f0da';
    font-weight: 900;
    margin: 4px;
}

.namespace:before {
    /* hard-hat */
    content: '\0f807';
    font-weight: 900;
    margin: 4px;
}

button {
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    font-size: 16px;
}
button.unset {
    background: unset;
    border: unset;
    cursor: unset;
    outline: unset;
    appearance: unset;
}

input:required {
    background-color: lightcyan;
}

dialog {
    padding: 0;
    border: 0;
    border-radius: 0.6rem;
    box-shadow: 0 0 1em black;
}

/* native backdrop */
dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
}

.dropMenu > ul {
    position: absolute;
    margin-left: -4px;
    z-index: 1;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}
details.dropMenu {
    margin: 0px;
}

[aria-pressed='false'] ~ input {
    display: none !important;
}

[aria-hidden='true'] {
    display: none !important;
}

[data-name='tooltip'] {
    color: black;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, 0px 1px 0 #fff, 0-1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}

dialog[id='$sequenceDialog'] table td:has(label[aria-pressed='false']):hover {
    border: dotted 1px;
}
dialog[id='$sequenceDialog'] table td:not(:hover) {
    border: solid 1px white;
}

.slideMenu[aria-pressed='false'] li:not(:first-child) {
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease;
}
.slideMenu[aria-pressed='true'] li:first-child {
    display: none;
}
.slideMenu > li:hover {
    background-color: #cccccc;
}
