/**************************
 * 統合FAQ共通css　　　　 　*
 *************************/

/* details装飾 */
details {
    margin-bottom: 1rem;
}
summary {
    margin-bottom: 1rem;
    width: max-content;
}

/* リスト装飾 */
ul, dl, ol {
    line-height: 1.6;
}
li {
    margin-left: 2rem;
}
dl {
    margin: 1rem;
}
dt {
    margin: 0.5rem 0 0 1rem;
    font-weight: bold;
}
dd {
    font-size: smaller;
    margin: 0 0 0 2rem;
}

/* パンくずリストの装飾 */
nav {
    background-color: #fafac9;
    border: 1px #cccccc solid;
    clear: both;
    padding: 0.5rem;
}
nav > ul {
    margin: 0;
    padding: 0;
}
nav > ul > li {
    display: inline-block;
    margin: 0;
}
nav > ul > li:nth-child(n+2)::before  {
    content: ">";
    margin: 0 0.5rem;
}

.messages {
    list-style-type: none;
}

/* フォーム装飾 */
.row form .row  {
    margin: 0 -6px
}
form {
    margin-bottom: 1rem;
}

input[type="text"], textarea {
    border: 1px solid #cccccc;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    margin-bottom: 1rem;
    padding: 0.5rem;
    width: 100%;
    height: 3rem;
    border-radius: 0.2em
}

/* カーソル装飾 */
label {
    cursor: pointer;
}

/* テーブル装飾 */
table {
    max-width: 100%!important;
    background-color: #fff;
}

/* フリーワード検索仕様説明のテーブル装飾 */
.usage_table {
    border: #C0C0C0;
    width: 70%;
}
.usage_table thead tr th {
    background-color: #F9E36E;
}
.usage_table tbody tr th {
    text-align: center;
    vertical-align: middle;
    width: 12%;
}
@media only screen and (max-width: 600px) {
    .usage_table {
        width: 100%;
    }
}

/* 文字装飾 */
strong {
    background: linear-gradient(transparent 40%, #ff9 40%);
}

a p {
    text-decoration: underline;
}
a:visited:not(.gotop), a p:visited {
    color: #681da8;
}
a:hover:not(.gotop), a p:hover {
    color: #FF0000;
}

/* ページ上部へ遷移するリンクの装飾 */
.gotop {
    display: block;
    width: 5rem;
    height: 5rem;
    box-sizing: border-box;
    background: #FFF;
    border: 1px solid #999;
    padding-top: 30px;
    text-align: center;
    letter-spacing: -1px;
    font-size: 85%;
    text-decoration: none;
    color: #333;
    opacity: 0.5;
    position: fixed;
    right: 2rem;
    bottom: 2rem;
}
.gotop::before {
    content: "";
    display: block;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    width: 25%;
    height: 25%;
    top: 25%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
.gotop:hover {
    opacity: 1;
}