/* ページ左上のロゴ */
img[alt="kaonavi logo"] {
    width: 120px;
    height: 28px;
    margin-top: 24px;
    margin-left: 22px;
    margin-bottom: 40px;
    padding: 0;
}

button {
    border-radius: 4px !important;
}

/* 左パネル - 見出し */
ul[role="navigation"] label[type="group"] {
    color: #969692 !important;
    font-weight: bold;
}

/* HTTPメソッドのバッジ */
/* 左パネルはlabel配下 */
label span[type="get"],span[type="post"],span[type="put"],span[type="patch"],span[type="delete"] {
    border-radius: 60px;
}
/* 右パネルはbutton配下 */
button span[type="get"],span[type="post"],span[type="put"],span[type="patch"],span[type="delete"] {
    border-radius: 4px;
}

/* リンク */
a {
    text-decoration: none !important;
}
a:hover {
    text-decoration: underline !important;
}

/* コードブロック */
pre,div[role="tabpanel"]{
    border-radius: 4px;
}

/* 右パネル - content-typeの表示領域 */
div[role="tabpanel"] > div > div:nth-child(1) {
    background-color: #333438;
    border-radius: 4px;
}
div[role="tabpanel"] > div > div:nth-child(1) > div {
    background-color: inherit !important;
}

/* URLコピー用のテキストフィールドの枠線 */
div[role="button"] > div {
    border: 1px solid rgba(51, 49, 45, 0.12);
    border-radius: 4px;
}
div[role="button"]:focus > div {
    border: 1px solid #FFCD46;
}
div[role="button"]:focus {
    outline: none;
    box-shadow: 0 0 4px rgba(255, 205, 70, 0.4);
}

/* 縦型表 */
table thead tr {
    background-color: #F0F1F5 !important;
}
/* 横型表 */
table[class="security-details"] th {
    background-color: #F0F1F5 !important;
}
table[class="security-details"] td {
    background-color: #FFFFFF !important;
}

/* 大・中見出し */
h1 {
    padding-left: 16px;
    color: #202226 !important;
    border-left: #FFCD46 solid 4px;
    display: flex;
}
h2 {
    display: flex;
}

h1 > a, h2 > a {
    padding: unset !important;
    margin-left: 4px !important;
    width: 32px !important;
    height: 32px !important;
    order: 1;
}

h1 > a::before, h2 > a::before {
    border-radius: 50%;
    width: 32px !important;
    height: 32px !important;
    opacity: 1 !important;
    background-image: url("./images/link.svg") !important;
    background-size: 22px 22px !important;
    background-position: center center;
    background-repeat: no-repeat;
}
h1 > a:hover::before, h2 > a:hover::before {
    background-color: rgba(51, 49, 45, 0.15);
}
