:root {
    --gray: #ccc;
    --dark: #21252f;
    --box: rgb(157, 179, 226);
    --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Sora', sans-serif;
    color: var(--dark);
    box-sizing: border-box;
}
a {
    color: var(--dark);
    text-decoration: none;
}
li {
    list-style: none;
}

h4 {
    background-color: var(--dark);
    margin-top: 20px;
    color: white;
    padding: 15px 10px;
    font-weight: bold;
}
h5 {
    background-color: #ccc;
    width: 90%;
    margin: 0 auto;
    margin-top: 15px;
    padding: 15px 10px;
    font-weight: bold;
}

/* header */

.header i {
    color: white;
}

.btn-outline-success {
    color: white;
    border-color: white;
    padding: 7px 10px 5px;
}


/* TOP */
section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.card-textbox {
    box-shadow: var(--box-shadow);
    padding: 15px 10px;
    margin: 0 auto;
    border: 2px solid #CCC;
    background-color: var(--box);
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
}

.card-textbox:hover {
    box-shadow: none;
}

.tag-box {
    position: absolute;
    top: 0%;
    right: 0%;
    background-color: #21252f;
    color: white;
    padding: 3px 10px;
    font-size: 10px;
}

.card-textbox h6 {
    font-weight: bold;
    font-size: 20px;
    border-bottom: 1px solid;
}
.card-textbox p {
    margin-bottom: 0px;
}
.card-textbox a {
    color: black;
    transition: all 0.3s ease;
}
.card-textbox a:hover {
    text-decoration: none;
    color: white;
}
.section2-box {
    display: flex;
    justify-content: center;
}

.section2-box a {
    background-color: var(--box);
    margin: 15px;
    padding: 10px 5px;
    width: 150px;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.section2-box a:hover {
    box-shadow: none;
    color: white;
}

.cate-flex {
    display: flex;
    justify-content: center;
    width: 90%;
    padding: 15px 10px;
    margin: 0 auto;
}
.cate-flex a {
    width: 25%;
    text-align: center;
    background-color: var(--box);
    padding: 10px 5px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}
.cate-flex a:hover {
    box-shadow: none;
    color: white;
}
.cate-flex p {
    margin-bottom: 0px;
}

.cate-flex2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    padding: 15px 10px;
    margin: 0 auto;
}

.cate-flex2 a {
    width: 18%;
    text-align: center;
    background-color: var(--box);
    padding: 10px 5px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}
.cate-flex2 a:hover {
    box-shadow: none;
    color: white;
}
.cate-flex2 p {
    margin-bottom: 0px;
}


/* footer */
footer {
    color: white;
    background-color: var(--dark);
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
    padding: 20px;
}
footer p {
    margin-bottom: 0px;
}

/* 一覧ページ */

.top-child {
    padding: 0%;
}
.top-child p {
    background-color: var(--dark);
    height: 30vh;
    width: 100%;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}
.top-child-ttl {
    background-color: var(--dark);
    display: flex;
    justify-content: space-between;
}
.top-child-ttl h4{
    margin-top: 0px;
    margin-bottom: 0px;
}
.sort-box {
    background-color: white;
}
.top-child-ttl i {
}

/* 記事型 */
.article-top p {
    font-weight: bold;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    padding-top: 50px;
}
.article-second {
    padding-top: 0px;
    padding-bottom: 0%;
}
.article-second p {
    width: 80%;
    margin: 0 auto;
    padding-top: 25px;
    padding-bottom: 50px;
}
.link-space {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
.link-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.link-textarea h6 {
    font-weight: bold;
    font-size: 18px;
    text-align: left;
}
.link-textarea p {

}
.link-url {
}
.link-url a {
    border: 2px solid;
    display: flex;
    justify-content: center;
}

/* コピペ型 */
.copipe-child {

}
.copipe-p {

}
.copipe-top {
    padding-bottom: 10px;
}
.copip-top h4 {

}
.copipe-top p {
    padding-top: 25px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
}
.attentionbox {
    width: 90%;
    margin: 0 auto;
}
.attentionbox p {
    text-align: left;
}
.result-space {
    width: 80%;
    margin: 0 auto;
    background-color: #ccc;
    height: 250px;
    margin-top: 25px;
    position: relative;
}
.result-space p {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}
.copipe-second h5 {
    margin-top: 50px;
    margin-bottom: 15px;
}
.copipe-html {
    width: 80%;
    margin: 0 auto;
}
.copipe-css {
    width: 80%;
    margin: 0 auto;
}
.copipe-js {
    width: 80%;
    margin: 0 auto;
}
.copipe-text {
    width: 80%;
    margin: 0 auto;
}
.attention {
    padding-top: 15px;
    font-size: 13px;
}
