body.kasou header {
    height: 400px!important;
}

body.kasou header h2.page_title {
    color: #fff;
    font-size: 40px;
    text-align: center;
    position: absolute;
    top: 190px;
    left: calc(50% - 600px);
    width: 1200px;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0,0,0,.8), 0 0 10px rgba(0,0,0,.8);
}

body.kasou article {
    padding: 100px 0;
    width: 800px;
    font-family: sans-serif;
    font-size: 18px;
}

body.kasou article p {
    margin-bottom: 35px;
    line-height: 27px;
    font-family: sans-serif;
    color: #333;
}

body.kasou article p a {
    color: #3366ff;
}

body.kasou article p a:hover {
    text-decoration: underline;
}

body.kasou article ul {
    list-style-type: disc;
    margin: 0 0 35px 40px;
}

body.kasou article ol {
    margin: 0 0 35px 40px;
}

body.kasou article li {
    color: #333;
}

body.kasou article h2,
body.kasou article h3 {
    font-family: serif;
    font-size: 30px;
    margin-bottom: 30px;
    background: linear-gradient(transparent 56%, #c1e0ff 0%);
    padding-left: 15px;
}

body.kasou article h2:not(:first-child),
body.kasou article h3:not(:first-child) {
    margin-top: 70px;
}

body.kasou article table th {
    text-align: left;
    background: #c1e0ff;
    width: 240px;
    padding: 20px;
    box-sizing: border-box;
}

body.kasou article table td {
    padding: 20px;
}

#business article a {
    display: block;
    padding: 10px 0;
    font-size: 20px;
    font-family: serif;
    color: #fff;
    background: #3366ff;
    width: 200px;
    margin: 0 0 45px auto;
    text-align: center;
}

#business article a:hover {
    text-decoration: none;
}


/* sidebar */
body.kasou aside {
    padding: 100px 0;
    width: 400px;
    font-family: sans-serif;
    font-size: 18px;
}

body.kasou aside .btns li {
    box-shadow: 0 0 13px rgba(0, 0, 0, 0.2);
    transition: all .3s ease;
}

body.kasou aside .btns li:hover {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

body.kasou aside .btns li:not(:nth-child(3n)) {
    margin-right: 0;
}



/* PM */
body#pm h3 {
    position: relative;
    padding-left: 45px;
    margin-top: 100px;
}

body#pm h3 span {
    position: absolute;
    bottom: -3px;
    left: 5px;
    font-size: 110px;
    line-height: 1;
    font-weight: bold;
    font-style: italic;
    color: #eee;
    mix-blend-mode: multiply;
}




/* company */
.wp-block-image {
    text-align: center;
}

.wp-block-image img {
    width: auto;
}

body.kasou article h4 {
    margin-bottom: 15px;
    border-bottom: 3px solid #a4d1e4;
    padding: 5px 0 5px;
    font-family: serif;
    font-size: 22px;
}

body.kasou h4:not(:first-child) {
    margin-top: 50px;
}

body.kasou h5 {
    color: #47a3c9;
    font-family: serif;
    margin-bottom: 10px;
    font-size: 20px;
}

body.kasou aside #custom_html-3 .btns a,
body.kasou aside #custom_html-3 .btns li.list_title {
    text-align: center;
    width: 100%;
    font-family: serif;
    font-size: 24px;
    font-weight: bold;
}

.page_company .more a {
    display: block;
    padding: 10px 0;
    font-size: 20px;
    font-family: serif;
    color: #fff;
    background: #3366ff;
    width: 200px;
    margin: 0 0 45px auto;
    text-align: center;
}

.page_company .more a:hover {
    text-decoration: none;
}

.page_company table th {
    text-align: left;
    background: #c1e0ff;
    width: 240px;
    padding: 20px;
    box-sizing: border-box;
}

.page_company table td {
    padding: 20px;
}

body.kasou .page_company table p {
    color: #2F346D;
    margin-bottom: 10px;
}

.page_company td dt,
.page_company td dd {
    display: inline-block;
    margin-bottom: 5px;
}

.page_company td dt {
    width: 150px;
    vertical-align: top;
}

.page_company td dd {
    width: calc(100% - 170px);
}

.page_company td dd span {
    font-size: 14px;
    margin-left: .5em;
}

.page_company td .more a {
    margin: 0 auto 0 0;
}



/* project */
#project article table {
    margin-bottom: 60px;
}

#project article th {
    width: 200px;
}



#use ol,
#privacy ol,
#privacy_policy ol,
#antisocial ol {
    list-style: decimal;
}

#use ol li,
#privacy ol li,
#privacy_policy ol li,
#antisocial ol li {
    margin-bottom: 15px;
    padding-left: 5px;
}

#use ol li ol,
#privacy ol li ol,
#privacy_policy ol li ol,
#antisocial ol li {
    margin-top: 15px;
}

#privacy a button {
    padding: 10px 20px;
    font-size: 20px;
    font-family: serif;
    color: #fff;
    background: #3366ff;
    margin-bottom: 20px;
    text-align: center;
    cursor: pointer;
    transition: all .3s ease;
}

#privacy a button:hover {
    opacity: .7;
}



/* sitemap */
.sitemap > div {
    width: 400px;
}

.sitemap a {
    color: #3366ff;
}

.sitemap a:hover {
    text-decoration: underline;
}

.sitemap ul {
    margin-left: 20px;
}

.sitemap li {
    margin-bottom: 15px;
    list-style: none;
}

.sitemap li::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0da";
    font-weight: bold;
    color: #3366ff;
    margin-right: 8px;
}

body.kasou .sitemap > div > ul {
    margin-left: 0;
}

.sitemap > div > ul > li > a {
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
}

.sitemap li ul,
.sitemap li ul li ul {
    margin-bottom: 0;
}

.sitemap li ul li {
    margin-bottom: 0;
}

body#use aside #custom_html-4 .btns a,
body#privacy_policy aside #custom_html-4 .btns a,
body#privacy aside #custom_html-4 .btns a,
body#antisocial aside #custom_html-4 .btns a,
body#sitemap aside #custom_html-4 .btns a {
    text-align: center;
    width: 100%;
    font-family: serif;
    font-size: 24px;
    font-weight: bold;
}


/* recruit, project */
#project article,
#recruit article {
    margin: 0 auto;
}

#project aside,
#recruit aside {
    display: none;
}



@media (max-width: 999px) {
    body > .inner.flex {
        display: block;
    }

    body.kasou article {
        width: 92%;
        padding: 6% 4%;
    }

    body.kasou article h2,
    body.kasou article h3 {
        font-size: 22px;
    }

    body.kasou header h2.page_title {
        width: 100%;
        left: 0;
    }

    body.kasou aside {
        width: 100%;
        padding: 20px 0;
    }

    body.kasou aside nav {
        width: 92%;
        margin: 0 auto;
    }

    body.kasou aside .btns li {
        margin-bottom: 20px;
    }

    body.kasou#greeting .page_company h3,
    body.kasou#policy .page_company h3,
    body.kasou#business h3 {
        padding-left: 0;
        background: none;
        position: relative;
        margin-bottom: 60px;
    }

    body.kasou#business h3::after,
    body.kasou .page_company h3::after {
        content: '';
        width: 150px;
        height: 1px;
        background: #c1e0ff;
        position: absolute;
        top: calc(100% + 20px);
        left: calc(50% - 75px);
    }

    .page_company td .more a,
    .page_company .more a {
        margin: 0 auto;
    }

}



@media (max-width: 782px) {
    .page_company td dt,
    .page_company td dd {
        width: 100%;
    }

    .page_company td dt {
        font-weight: bold;
    }

    .page_company td dt.empty {
        display: none;
    }

    .page_company td dd {
        padding-left: 10px;
    }

    body.kasou .sitemap {
        display: block;
        width: 92%;
    }

    .sitemap > div {
        width: 92%;
    }
}



@media (max-width: 600px) {
    body.kasou#project h3 {
        padding-left: 0;
        background: none;
        position: relative;
        margin-bottom: 60px;
    }

    body.kasou#project h3::after {
        content: '';
        width: 150px;
        height: 1px;
        background: #c1e0ff;
        position: absolute;
        top: calc(100% + 20px);
        left: calc(50% - 75px);
    }

    body.kasou article table {
        width: 100%;
    }

    body.kasou article table th,
    body.kasou article table td,
    #project article th {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    body.kasou article td dt:not(:first-child) {
        margin-top: 20px;
    }

    .page_company td dd {
        padding-left: 0;
    }
}


@media(max-width: 400px) {
    body#use aside #custom_html-4 .btns a,
    body#privacy_policy aside #custom_html-4 .btns a,
    body#privacy aside #custom_html-4 .btns a,
    body#antisocial aside #custom_html-4 .btns a,
    body#sitemap aside #custom_html-4 .btns a {
        text-align: center;
        width: 100%;
        font-family: serif;
        font-size: 18px;
        font-weight: bold;
    }

}
