/*
Theme Name: kanatta

*/
html {
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 300;
}

h2 {
    font-family: 'Faustina', serif;
    font-size: 32px;
    letter-spacing: 10px;
    margin-bottom: 0;
}

.section__title {
    display: none;
}

/* reset */
ul li {
    list-style: none;
}

/* common */
#contact {
    clear: both;
}

header .header {
    margin: 0 auto;
    background: #FFF;
    width: 100%;
    position: fixed;
    justify-content: space-between;
    top: 0;
    z-index: 100;
}

.footer .copyright {
    background: #c1c1c1;
    text-align: center;
    height: 30px;
    color: #FFF;
    letter-spacing: 1px;
    font-size: 13px;
    line-height: 30px;
}

.footer .content {
    margin: 0 25%;
    text-align: center;
    display: inline-flex;
}

.footer .link-list a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 300;
}

.footer .link-list a:link,
.footer .link-list a:visited,
.footer .link-list a:hover,
.footer .link-list a:active {
    color: #555555;
}

@media screen and (min-width:769px) {
    .header__logo {
        width: 15%;
        margin: .5em 0 0 1em;
    }

    .header__logo img {
        width: 100%;
    }

    .footer {
        margin-top: 100px;
    }

    .footer__logo {
        width: 40%;
        margin: .5em 0 0 1em;
    }

    .footer__logo img {
        vertical-align: top;
        width: 80%;
    }

    .link-list {
        line-height: 60px;
    }
}

@media screen and (max-width:768px) {
    .header__logo img {
        width: 60%;
        margin-top: 5px;
    }

    .header__logo a:active,
    .header__logo a:focus {
        outline: none;
    }

    body .vegas-container {
        height: 516px !important;
    }

    .news .narrowbar {
        flex-direction: column !important;
    }

    .news .narrowbar .narrow {
        display: flex;
        flex-direction: column !important;
    }

    .narrowbar .narrow p {
        margin-bottom: 0;
    }

    .footer .content {
        margin: 0 10%;
        text-align: center;
        display: block;
    }

    h3 {
        font-size: 16px !important;
    }

    .single-featured-image-header img {
        width: 100%;
    }

    .footer {
        margin-top: 100px;
    }
}


/* 会社概要 */
.contentbox-text {
    margin-top: 5%;
}

.company {
    margin: 3em 9em;
    color: #555;
}

.company img {
    width: 100%;
}

.company p {
    margin: 0;
}

.company .container {
    margin: 0 45px;
}

.company .flex-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.company .flex-item.flex-l {
    flex-basis: 22%;
}

.company .flex-item.flex-c {
    flex-basis: 42%;
}

.company .flex-item.flex-r {
    flex-basis: 32%;
}

.company .sdgs .flex-container {
    display: flex;
    justify-content: space-between;
}

.company .sdgs .flex-item.flex-l {
    flex-basis: 30%;
}

.company .sdgs .flex-item.flex-r {
    flex-basis: 67%;
}

.company .background-gray {
    background-color: #efefef;
}

.company table {
    border-collapse: collapse;
}

.company table th,
.company table td {
    border-top: 1px solid #555;
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 300;
    color: #555;
}

.company table {
    border-bottom: 1px solid #555;
}

.company img.icon-sdgs {
    width: 33%;
}

.company .sdgs-discription {
    padding: 20px;
}

.company .textalign-r {
    text-align: right;
}

.company .greeting .disp {
    border: 1px solid #555;
    padding: 20px;
}

.mainSite a {
    border: solid 1px #555;
    padding: 5px;
    text-decoration: none;
    color: #555;
    border-radius: 4px;
    transition: .4s;
}

.mainSite a:hover {
    background-color: #F7BA7D;
    border-color: #F7BA7D;
    color: #FFF;
}

.company h3 {
    text-align: left;
    color: #555555;
    font-weight: bold;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 1.17em;
}

.company h3.h3_line {
    font-weight: normal;
    border-bottom: none;
    font-size: 1.17em;
    margin-bottom: 10px;
}

.company h3.h3_line:before,
.company h3.h3_line:after {
    content: "ー";
}

@media screen and (min-width:768px) and (max-width:1280px) {
    .company {
        margin: 3em 3em;
    }

    .company .flex-item.flex-l {
        flex-basis: 35%;
    }

    .company .flex-item.flex-c {
        flex-basis: 60%;
    }

    .company .flex-item.flex-r {
        flex-basis: 100%;
        text-align: center;
        margin-top: 25px;
    }

    .company img.icon-sdgs {
        width: 25%;
    }

    .company h3 {
        margin: 1% 0;
    }
}

@media screen and (max-width:767px) {
    .company {
        margin: 0;
    }

    .company .flex-container,
    .company .sdgs .flex-container {
        display: block;
    }

    .company .flex-item.flex-c {
        margin: 3vh 0 6vh;
    }

    .company .flex-item.flex-c table {
        width: 100%;
    }

    .company .flex-item.flex-r {
        text-align: center;
    }

    .company .flex-item.flex-r h3 {
        margin: 1vh 0;
    }

    .company .greeting .h3_line,
    .company .sdgs .h3_line {
        margin: 6vh 0 2vh;
    }

    .company .sdgs-discription .flex-item.flex-r {
        text-align: left;
    }

    .company .sdgs-discription .flex-item.flex-r p {
        margin-top: 1vh;
    }

}

/* 企業理念 */
.idea h4 {
    font-weight: bold;
}

.idea,
.idea h4 {
    line-height: 2.5;
}

.idea .mgt {
    margin-top: 10%;
    text-align: center !important;
}

.idea .purple {
    color: #c55f9e;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
}

@media screen and (min-width:1031px) {
    .idea .purple {
        top: 30.5%;
        left: 26%;
    }
}

@media screen and (min-width:769px) and (max-width:1030px) {
    .idea .purple {
        top: 30.5%;
        left: 28%;
        font-size: 2.1rem;
    }
}

@media only screen and (max-width:768px) {
    .idea .purple {
        top: 32%;
        left: 8%;
    }
}

@media screen and (max-width:767px) {
    .idea .purple {
        font-size: 1.8rem;
        top: 30.5%;
        left: 5%;
    }
}

.idea p,
.idea ul li {
    font-size: 16px;
}

@media screen and (max-width:767px) {

    .idea p,
    .idea ul li {
        font-size: 13px;
        line-height: 1.75;
        padding: 0 15px;
        text-align: left !important;
    }
}

h3 {
    text-align: center;
    color: #4079B2;
    font-weight: bold;
    border-bottom: 1px solid #efefef;
    padding-bottom: 1%;
    font-size: 28px;
}

@media screen and (min-width:769px) {
    h3 {
        margin-top: 10%;
        margin-bottom: 5%;
    }
}

@media screen and (max-width:768px) {
    h3 {
        margin: 15% 0 5% 0;
    }
}

h4 {
    text-align: center;
    margin-top: 2%;
    font-size: 16px;
}

.idea p {
    text-align: center;
}

.idea .pink {
    color: #e26565;
    font-weight: bold;
    font-size: 2rem;
}

.idea .diagram {
    margin-bottom: 100px;
    position: relative;
}

.idea .diagram ul li {
    display: inline-block;
}

.idea .diagram ul li img {
    width: 100%;
    height: auto !important;
}

@media screen and (min-width:769px) {
    .idea .diagram p img {
        width: 50%;
        height: auto !important;
    }
}

@media screen and (max-width:768px) {
    .idea .diagram p img {
        width: 100%;
        height: auto !important;
    }
}

.triangle3 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #d66262;
    margin: 1% auto;
}

@media screen and (min-width: 769px) {
    .idea .icon li {
        width: 15%;
        display: inline-block;
        padding: 1%;
    }

    .idea .diagram ul .wid,
    .idea .pictogram {
        width: 28%;
        margin: 0 auto;
    }

    .triangle1 {
        width: 0;
        height: 0;
        border-left: 30px solid #d66262;
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
    }
}

@media screen and (max-width: 767px) {
    .idea ul {
        text-align: center;
        padding: 0;
    }

    .idea .diagram ul li {
        padding: 1%;
    }

    .idea .icon li {
        width: 30%;
        display: inline-block;
        padding: 1%;
    }
}

.breadcrumb {
    padding: 1em 6em;
    font-size: 15px;
}

/* カテゴリー一覧 */
.blog .page-header h1 {
    font-size: 1.5rem;
    text-align: center;
}

.blog {
    line-height: 2.5;
}

.blog .site-content-contain {
    padding-top: 5%;
}

.blog #sidebar ul {
    margin-left: -40px !important;
}

.blog a {
    color: #4079B2;
}

.blog #primary,
.blog #sidebar,
.blog .entry-content {
    padding: 0 3%;
}

.blog .entry-meta {
    text-align: left;
}

.blog .widget-title {
    background: #333;
    color: #FFF;
    padding: 3%;
    font-size: 1.5rem;
}

.blog .entry-title {
    font-size: 2rem;
    margin-bottom: 5%;
    font-weight: bold;
    border-bottom: 1px solid #efefef;
    padding-bottom: 1%;
    margin: 5% 0;
}

svg {
    height: 20px;
    width: 50%;
}

use {
    padding-top: 3%;
}

svg,
.screen-reader-text {
    display: inline-block;
}

button {
    width: 25%;
    float: right;
}

@media screen and (min-width:769px) {

    .blog #primary,
    .blog #sidebar {
        float: left;
    }

    .blog #primary {
        width: 68%;
    }

    .blog #sidebar {
        width: 32%;
    }

    .blog .post-thumbnail,
    .blog .entry-content {
        display: inline-block;
        margin-bottom: 5%;
        vertical-align: top;
    }

    .blog .post-thumbnail {
        width: 30%;
    }

    .blog .entry-content {
        width: 66%;
    }

    .blog .entry-header {
        clear: both;
    }
}

/* nav */
@media only screen and (min-width: 992px) {
    #mainNavi {
        padding-bottom: 25px;
    }
}

.slider {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: -1;
}

.slider__content {
    min-width: 100%;
    animation: sliderAnime 14s ease-in-out infinite;
}

@keyframes sliderAnime {
    0% {}

    16% {
        transform: translateX(0);
    }

    33% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-100%);
    }

    67% {
        transform: translateX(-200%);
    }

    83% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

.slider__img {
    max-width: 100%;
    min-width: 100%;
}

.service .usually .article a {
    text-decoration: none;
}

.service p.about img {
    float: left;
    width: 90px;
    margin-right: 10px;
}

@media only screen and (min-width: 768px) {
    .slider {
        height: 700px;
    }

    header {
        height: 70px;
    }

    .pc_none {
        display: none;
    }

    .nav {
        display: flex;
    }

    nav {
        font-size: 80%;
        padding: 0 3em;
    }

    nav ul {
        display: table;
        margin-top: 0;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        border-bottom: solid 2px #cccccc;
    }

    nav ul li {
        display: table-cell;
        min-width: 50px;
        padding: 0 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all .3s;
        transition: all .3s;
    }

    nav ul .icon {
        padding: 0;
        text-align: left;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 5px 0;
        text-decoration: none;
        color: #555;
    }

    nav ul li img {
        width: 30px;
        position: absolute;
        bottom: 23px;
    }

    nav ul .cat:hover {
        background-color: #a0b3c0;
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
        text-decoration: none;
        color: #FFF;
        font-weight: bold;
    }

    nav ul li a:hover {
        text-decoration: none;
        color: #FFF;
    }

    nav .facebook {
        padding-left: 10px !important;
    }

    .subtitle {
        margin: 0;
        font-size: 12px;
        font-weight: normal;
    }

    .news {
        margin: 3em 9vw;
        color: #555;
    }

    .news .container {
        display: flex;
        margin: 3vw;
    }

    .news .container .list {
        margin: 0 0 0 3em;
    }

    .news .container .usually {
        width: 70%;
    }

    .news .container .pickup {
        border: solid 1px #888888;
        width: 20%;
    }

    .news .article {
        height: 160px;
        margin-top: 20px;
        border-bottom: solid 1px #888888;
    }

    .news .usually .article figure {
        float: left;
        margin: 0;
        width: 12.5em;
    }

    .news .pickup h4 {
        padding: 0em 0.5em;
        background: transparent;
        border-left: solid 2px #555;
        text-align: left;
        font-size: 15px;
        font-weight: bold;
        margin: 0 1.0em;
        margin-top: 1em;
    }

    .news .pickup figure {
        margin: 1em;
        margin-bottom: 0;
    }

    .news .usually .article figure img {
        width: 100%;
        height: auto;
        object-fit: scale-down;
        height: 130px;
    }

    .news .pickup figure img {
        width: 100%;
        height: auto;
    }

    .news .pickup p {
        font-size: 11px;
        font-weight: bold;
        margin: 0 1.5em;
    }

    .news .article .article-info {
        display: inline-block;
        float: right;
        width: 70%;
    }

    .active .news .article .article-info {
        display: inline-block;
        float: right;
        width: 75%;
    }

    .news .narrowbar .narrow {
        padding: 1em 3em;
    }

    .article-info .text p {
        margin-top: 5px;
        color: #888;
        font-weight: 300;
        font-size: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }

    .article-info .text .string {
        margin-top: 5px;
        color: #888;
        font-weight: 300;
        font-size: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
    }

    .article-info p {
        margin: 0;
        color: #555;
        font-size: 12px;
        font-weight: bold;
    }

    .article-info .data {
        font-size: 12px;
        font-weight: 500;
        color: #888;
    }

    .news .article .article-category {
        color: #FFF;
        padding: 0px 10px;
        font-size: 14px;
        font-weight: bold;
    }

    .news .article.article_news .article-info {
        width: 78%;
    }

    .news .article .article-info {
        width: 70%;
    }
	.wp-pagenavi a, .wp-pagenavi span {
        border: none;
    }

    @media screen and (min-width:768px) and (max-width:1020px) {
        .news .article.article_news .article-info {
            width: 58%;
        }

        .news .article .article-info {
            width: 42%;
        }
    }

    @media screen and (min-width:1021px) and (max-width:1320px) {
        .news .article.article_news .article-info {
            width: 70%;
        }

        .news .article .article-info {
            width: 57%;
        }
    }

    .article-info .title {
        overflow: hidden;
        width: 100%;
    }

    .article-info .text {
        overflow: hidden;
        width: 100%;
    }

    .service .article-info .text p {
        margin-top: 5px;
        color: #888;
        font-weight: 300;
        font-size: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        letter-spacing: 2px;
    }

    .service .usually .article .date,
    .service .article-info .text p {
        font-size: 10px;
    }

    .service .article-info .title p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        height: 35px;
    }

    .btn-flat-border {
        display: inline-block;
        padding: 0.2em 4em;
        text-decoration: none;
        color: #555;
        border: solid 1px #555;
        transition: .4s;
        font-size: 13px;
    }

    .btn-flat-border:active {
        background: #555;
        color: #FFF;
    }

    .more {
        text-align: right;
    }

    /* service */
    .service {
        margin: 3em 9vw;
        color: #555;
    }

    .service img.first {
        float: left;
        width: 90px;
        margin-right: 10px;
    }

    .service p.about {
        font-size: 15px;
        font-weight: 400;
    }

    .service .about .mainSite {
        text-align: center;
        margin: 2em;
    }

    .service .about .sns {
        text-align: center;
        text-decoration: none;
        margin: 1em;
    }

    .service .about .sns a {
        display: inline-block;
        margin-right: 25px;
        text-decoration: none;
    }

    .service .about .sns a:last-of-type {
        margin-right: 0px;
    }

    .service .container {
        width: 87%;
        margin: auto;
    }

    .service .container .title {
        font-weight: bold;
    }

    .service .container h5 {
        font-size: 1.2em;
        letter-spacing: 2px;
        margin-bottom: 0;
        margin-top: 0;
    }

    .service .container .community {
        display: flex;
        justify-content: space-between;
        border-bottom: solid 2px #888;
    }

    .service .container .community .content {
        width: 45%;
    }

    .service .container .crowdfunding .content {
        width: 100%;
    }

    .service .container .content h4 {
        padding: 0em 0.5em;
        background: transparent;
        border-left: solid 2px #555;
        text-align: left;
        font-size: 12px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .service .container .content img {
/*        width: 100%;*/
        height: 170px;
    }

    .service .container .community .content .detail p {
        margin-top: 0;
        font-size: 10px;
        font-weight: 300;
        color: #888;
    }

    .service .container .crowdfunding .content p {
        margin-top: 0;
        font-size: 12px;
        font-weight: 300;
        color: #888;
    }

    .service .container .business .about {
        padding: 0 50px;
        margin: 1.67em 0;
    }

    .service .container .business .about p {
        font-size: 1.05em;
        letter-spacing: 1.5px;
        margin-top: 0;
    }

    .service .container .business .about .projects img {
        width: 35%;
    }

    .service .container .business .about .projects p {
        font-size: .97em;
        letter-spacing: 1.5px;
        margin: 0;
    }

    .service .container .business .about .projects .detail {
        font-size: 0.7em;
    }

    .service .container .business .about .projects .detail a {
        text-decoration: none;
    }

    .service .eyecatch img {
        width: 100%;
        height: auto;
    }

    .service .usually {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .service .usually .article {
        flex-basis: 230px;
        width: 23%;
    }

    .service .article figure {
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 180px;
        border: solid 1px #ddd
    }

    .service .article figure img {
        width: 100%;
        height: auto;
    }

    .service .article figure p {
        display: none;
    }

    .contact {
        margin: 3em 9vw;
        color: #555;
        margin-bottom: 0;
    }

    .contact .container {
        width: 90%;
        margin: auto;
    }
}

@media screen and (max-width: 767px) {
    .subtitle {
        margin: 0;
        font-size: 12px;
        font-weight: normal;
    }

    .news {
        margin-top: 7em;
        color: #555;
    }

    .news .breadcrumb {
        padding: 0;
        width: 90%;
        margin: 10px 15px;
    }

    .news .container {
        display: flex;
        margin: auto;
    }

    .news .container .list {
        margin: auto;
    }

    .news .container .usually {
        width: 90%;
    }

    .news .container .pickup {
        border: solid 1px #888888;
        width: 20%;
    }

    .news .article {
        margin-top: 20px;
        border-bottom: solid 1px #888888;
    }

    .news .usually .article figure {
        float: left;
        margin: 0;
    }

    .news .pickup h4 {
        padding: 0em 0.5em;
        background: transparent;
        border-left: solid 2px #555;
        text-align: left;
        font-size: 15px;
        font-weight: bold;
        margin: 0 1.0em;
        margin-top: 1em;
    }

    .news .pickup figure {
        margin: 1em;
        margin-bottom: 0;
    }

    .news .usually .article figure img {
        width: 100%;
        height: auto;
    }

    .news .pickup figure img {
        width: 100%;
        height: auto;
    }

    .news .pickup p {
        font-size: 11px;
        font-weight: bold;
        margin: 0 1.5em;
    }

    .news .article .article-info {
        display: inline-block;
        width: 100% !important;
    }

    .article-info p {
        margin: 0;
        color: #555;
        font-size: 15px;
        font-weight: bold;
    }

    .article-info .data {
        font-size: 12px;
        font-weight: 500;
        color: #888;
    }

    .news .article .article-category {
        color: #FFF;
        padding: 0px 10px;
        font-size: 14px;
        font-weight: bold;
    }

    .article-info .text {
        overflow: hidden;
        width: 100%;
    }

    .article-info .text p {
        margin: 0;
        color: #555;
        font-size: 15px;
        font-weight: bold;
    }

    .article-info .text p {
        margin-top: 5px;
        color: #888;
        font-weight: 300;
        font-size: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }

    .btn-flat-border {
        display: inline-block;
        padding: 0.2em 4em;
        text-decoration: none;
        color: #555;
        border: solid 1px #555;
        transition: .4s;
        font-size: 13px;
    }

    .btn-flat-border:active {
        background: #555;
        color: #FFF;
    }

    .more {
        text-align: right;
    }

    .service {
        margin-top: 7em;
        color: #555;
    }

    .service img.first {
        float: left;
        width: 90px;
        margin-right: 10px;
    }

    .service .about h5 {
        font-size: 16px;
        font-weight: 700;
    }

    .service p.about {
        font-size: 13px;
        font-weight: 400;
    }

    .service .breadcrumb {
        padding: 0;
        width: 90%;
        margin: 10px auto;
    }

    .service .container {
        width: 90%;
        margin: auto;
    }

    .service .container .title {
        font-weight: bold;
    }

    .service .eyecatch img {
        width: 100%;
    }

    .service .about .sns {
        text-align: center;
        text-decoration: none;
        margin: 1em;
    }

    .service .about .sns a {
        display: inline-block;
        margin-right: 15px;
        text-decoration: none;
    }

    .service .about .sns a:last-of-type {
        margin-right: 0px;
    }

    .service .container .community {
        display: flex;
        justify-content: space-between;
        border-bottom: solid 2px #888;
    }

    .service .container .community .content {
        width: 45%;
    }

    .service .container .crowdfunding .content {
        width: 100%;
    }

    .service .container .content h4 {
        padding: 0em 0.5em;
        background: transparent;
        border-left: solid 2px #555;
        text-align: left;
        font-size: 8px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .service .container .content img {
/*        width: 100%; */
        height: 65px;
    }

    .service .container .community .content .detail p {
        margin-top: 0;
        font-size: 10px;
        font-weight: 300;
        color: #888;
    }

    .service .container .crowdfunding .content p {
        margin-top: 0;
        font-size: 12px;
        font-weight: 300;
        color: #888;
    }

    .service .article {
        margin-bottom: 5vh;
    }

    .service .article figure {
        margin: 0;
    }

    .service .article figure img {
        width: 100%;
        height: auto;
    }

    .contact {
        color: #555;
        margin-bottom: 0;
    }

    .contact .container {
        margin: auto;
    }

    .sp_none {
        display: none;
    }

    .form-width {
        max-width: 100%;
    }

    .inquiry tbody tr th,
    .inquiry tbody tr td {
        display: block !important;
        width: auto !important;
    }

    .inquiry tbody tr td,
    .wpcf7 .send-btn {
        text-align: center !important;
    }

    .send-btn .wpcf7-submit {
        margin: 0 !important;
    }

    .wpcf7-form-control-wrap.category {
        text-align: left !important;
    }

    .wpcf7 .ajax-loader {
        margin: 0 12px;
        position: absolute;
    }

}

#navi {
    position: fixed;
    top: 0;
    left: 0;
    height: 130px;
    width: 100%;
    transition: all .4s;
    z-index: 100;
}

#navi input {
    display: none;
}

#navi h1,
#navi p {
    float: left;
    height: 130px;
    line-height: 130px;
    transition: all .4s;
}

#navi h1 img,
#navi p img {
    vertical-align: middle;
    margin-top: -10px;
    transition: all .4s;
}

#navi .menu {
    float: right;
    transition: all .4s;
    margin-top: 0;
}

#navi .menu .menu-parent {
    float: left;
    /*  margin: 0px 30px 0px 0px; */
    padding: 0px 0px 0px 30px;
    height: 130px;
    line-height: 130px;
    font-size: 17px;
    font-weight: bold;
    transition: all .4s;
    white-space: nowrap;
}

#navi .menu .menu-parent:last-child {
    margin-right: 0px;
    transition: all .4s;
}

#menu-navibtn {
    display: none;
    cursor: pointer;
    cursor: hand;
}


#menu-navibtn {
    display: none;
}

#navi {
    height: 0px;
}

#navi h1,
#navi p {
    float: none;
    margin: 0px;
    height: 60px;
    line-height: 60px;
    text-align: left;
    background: #FFF;
}

#navi h1 img,
#navi p img {
    margin-top: 15px;
    margin-bottom: 25px;
    margin-left: 15px;
    width: 170px;
    height: auto;
}

#navi .menu {
    display: none;
    background-color: #FFF;
}

#navi .menu .menu-parent {
    height: auto;
    width: 100%;
    line-height: 60px;
    padding: 0px 20px 0px 20px;
}

#navi .menu .menu-parent i {
    padding: 0px 20px;
}

#navi ul {
    float: none;
}


/* ドロップダウンメニュー */
.menu-parent {
    position: relative;
}

.menu-parent .menu-child {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    position: absolute;
    top: 100px;
    left: 35%;
    margin-left: -80px;
    width: 200px;
    box-sizing: border-box;
    padding: 4px 20px;
}

@media screen and (max-width: 778px) {
    .ib {
        display: block;
    }

    #navi .menu-parent .menu-child {
        transition: all 0s;
    }

    #menu-navibtn:checked~* .menu {
        display: block;
        opacity: 1;
    }

    #menu-navibtn:checked~* .menu-parent {
        max-height: inherit;
        overflow-y: visible;
    }

    #menu-navibtn:checked~* .menu-child {
        max-height: 0;
        overflow-y: hidden;
        visibility: hidden;
    }

    .menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #navi .menu {
        width: 100%;
        height: 100vh;
    }

    #navi .menu .cat {
        margin: 4vh;
    }

    #navi .menu .cat a {
        color: #555;
        text-decoration: none;
    }

    .menu-parent .menu-child {
        position: relative;
        opacity: 1;
        padding: 0 20px;
        visibility: visible;
        top: 0;
        margin-left: auto;
        left: auto;
        width: auto;
    }

    .menu-child li {
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
    }

    /* クリックされた時 */
    #navi input[type="checkbox"]:checked~.menu-child {
        max-height: inherit;
        overflow-y: visible;
        visibility: visible;
        opacity: 1;
    }

    .angletoggle:before {
        content: "\f107";
    }

    #navi input[type="checkbox"]:checked~* .angletoggle:before {
        content: "\f106";
    }
}

#navi .menu-child li {
    line-height: 30px;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

#navi .menu-child .menu-child-top {
    position: relative;
}

/* △部分 */
#navi .menu-child .menu-child-top::before,
#navi .menu-child .menu-child-top::after {
    border-left: solid 10px transparent;
    border-right: solid 10px transparent;
    border-bottom: solid 12px #fff;
    top: -15px;
    content: "";
    display: block;
    height: 0;
    left: 47%;
    position: absolute;
    width: 0;
}

@media screen and (max-width: 778px) {

    #navi .menu-child .menu-child-top::before,
    #navi .menu-child .menu-child-top::after {
        border: none;
    }
}

#navi .menu-child .menu-child-top::before {
    border-bottom: solid 12px #000;
    margin-top: -1px;
}

#navi .menu-child li:last-child {
    border: none;
}

#navi .menu-child li img {
    width: auto;
    height: 32px;
    vertical-align: middle;
    float: left;
    margin-right: 10px;
}

#navi .menu-child li i {
    margin-right: 3px;
}

#navi .menu-child li a {
    display: block;
    padding: 10px 0px;
}

#navi ul>li .pd {
    display: none;
}

#navi ul>li.parent>a {
    color: #333;
}

#navi ul>li.parent>a:hover {
    color: #F63;
}

@media screen and (max-width: 778px) {
    #navi ul {
        float: none;
    }

    #navi ul>li .pd {
        display: inline-block;
        width: 100%;
    }
}

/* ハンバーガー */
#navi #navibtn {
    display: none;
    cursor: pointer;
    cursor: hand;
}

@media screen and (max-width: 778px) {
    #navi #navibtn {
        display: block;
        position: absolute;
        right: 0;
    }

    #navi #navibtn span {
        display: block;
        width: 60px;
        height: 60px;
    }

    #navibtn span span {
        display: block;
        overflow: hidden;
        width: 1px;
        height: 1px;
    }

    #navibtn span span::before,
    #navibtn span span::after,
    #navibtn span::after {
        position: absolute;
        left: 15px;
        content: "";
        width: 30px;
        height: 3px;
        background-color: #555;
        transition: .2s;
    }

    /* 上の棒 */
    #navibtn span span::before {
        top: 15px;
    }

    #menu-navibtn:checked~#navi label#navibtn span span::before {
        top: 30px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

    /* 下の棒 */
    #navibtn span::after {
        bottom: 20px;
    }

    #menu-navibtn:checked~#navi label#navibtn>span::after {
        bottom: 27px;
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
    }

    /* 中の棒 */
    #navibtn span span::after {
        top: 25px;
    }

    #menu-navibtn:checked~#navi label#navibtn span span::after {
        display: none;
    }
}


/* TOP */
@media only screen and (min-width: 768px) {
    .homeBanner__title .homeBanner__title__line {
        padding-bottom: 0.2%;
        border-bottom: 5px solid #FFF;
    }
}

.homeBanner__title .homeBanner__title__line:after {
    width: 90%;
}

.home__news ul li {
    display: inline-block;
    vertical-align: top;
}

.media {
    background: #cccccc;
}

.ethical {
    background: #e6c1c7;
}

.event {
    background: #f7ba7d;
}

.drone {
    background: #cf5b95;
}

.cosmo {
    background: #757398;
}

.section__title {
    margin: 4% auto;
}

.wrap_news .site-main span a {
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
    padding: 0 10px;
}


/* message */
.visible-xs {
    margin-top: 10%;
}


/* contact */
.inquiry {
    margin: 3% auto;
    width: 90%;
    border-spacing: 0;
}

.wpcf7 form {
    margin: 0 !important;
}

.wpcf7 input,
.wpcf7 textarea {
    border: solid 1px;
    width: 80%;
    color: #555;
}

.wpcf7 .textarea {
    height: 100px;
    color: #555;
}

.wpcf7 .wpcf7-submit {
    width: 25%;
    margin: 1em 75px;
    padding: .3em;
    color: #555;
}

.wpcf7 .send-btn {
    text-align: right;
}

span.wpcf7-list-item {
    display: block;
    margin: 0;
}

span.wpcf7-list-item input {
    width: auto !important;
}

span.wpcf7-list-item-label {
    font-size: 13px;
    font-weight: 300;
}

.wpcf7 {
    border: none !important;
    background: #FFF !important;
}

.wpcf7 span.wpcf7-not-valid-tip {
    display: none;
}

.wpcf7 .wpcf7-not-valid {
    background: pink;
}

.wpcf7 .wpcf7-response-output {
    margin: 0 3em !important;
    padding: 8px 35px 8px 14px !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.wpcf7 .wpcf7-validation-errors {
    color: #B94A48;
    background-color: #F2DEDE;
    border: 1px solid #EED3D7;
    text-align: center;
}

.wpcf7 .wpcf7-mail-sent-ok {
    color: #3A87AD;
    background-color: #D9EDF7;
    border: 1px solid #BCE8F1;
    text-align: center;
}

.inquiry tr th {
    padding: 8px 35px;
    background: #ebebeb !important;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
    font-weight: 300;
}

.red {
    background: red;
    color: #FFF !important;
    padding: 1%;
    font-size: 11px;
    margin-left: 3%;
}

.blue_arbitrarily {
    background: #2ca9e1;
    color: #FFF !important;
    padding: 1.5%;
    border-radius: 10%;
    font-size: 11px;
    margin-right: 5%;
}

.blue {
    color: #2ca9e1;
}

.sub {
    font-size: 8px;
}

textarea {
    width: 100%;
}

.button_contact ul {
    margin: 0 auto;
    text-align: center;
}

.button_contact .wpcf7-form-control {
    background: #0a2d67;
    padding: 1% 3%;
    margin: 1%;
    color: #FFF;
}

.button_contact .wpcf7-form-control:hover {
    border: 10px solid #0a2d67;
    background: #000;
}

.contact .personalinfo .wpcf7-list-item {
    display: inline-block;
    width: 80%;
}

@media screen and (min-width: 768px) {

    table tr th {
        width: 40%;
    }

    .inquiry td {
        background: #ebebeb !important
    }

    .inquiry .pile {
        line-height: 12px;
    }

    .blue {
        font-size: 11px;
        padding-left: 13%;
    }

    .blue_2 {
        font-size: 11px;
        color: #2ca9e1;
    }
}

@media screen and (max-width: 767px) {
    .inquiry td {
        padding: 5%;
    }

    .blue {
        font-size: 11px;
    }

    .blue_2 {
        font-size: 11px;
        color: #2ca9e1;
    }

    .wpcf7 input {
        width: 70% !important;
    }
}

/* Posts */
.wrap_news .next a,
.wrap_news .prev a {
    text-decoration: none;
    float: left;
    padding: .5%;
    margin-right: 2%;
    border: solid 1px #000;
    color: #000;
}

@media screen and (min-width:768px) {
    .wrap_news .section__title {
        padding: 3% 2% 0;
    }
}

@media screen and (max-width:767px) {
    .wrap_news .section__title {
        padding: 10% 2% 0;
    }
}

.wrap_news time {
    padding-left: 2%;
}

.wrap_news #main {
    padding: 2%;
}

.single-featured-image-header {
    text-align: center;
}

.site-content-contain .wrap_news {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 15%;
}

@media screen and (min-width:768px) {

    .single-featured-image-header,
    .site-content-contain .wrap_news {
        width: 1200px;
        margin: 0 auto;
    }
}

.table-company th,
.table-company td {
    border: 1px solid #ccc;
    padding: 10px;
}

.table-company th {
    font-weight: bold;
    background-color: #dedede;
    width: 30%;
}

.business p.left {
    width: 85%;
    margin-right: 0px;
    margin-left: auto;
}

#privacy .table-company {
    width: 90%;
}

#privacy .table-company th {
    width: auto;
}

#privacy .table-company td {
    text-align: left;
}

#legal.table-company {
    width: 90%;
}

#legal .table-company th {
    width: auto;
}

#legal .table-company td {
    text-align: left;
}

@media screen and (max-width: 767px) {
    .table-company th {
        width: auto;
    }
}

@media screen and (max-width: 767px) {
    .table-company {
        width: 100%;
        table-layout: fixed;
    }
}

.narrowbar {
    display: flex;
    justify-content: space-between;
}

.narrowbar .narrow p {
    display: inline;
    font-size: 12px;
    margin-left: 20px;
}

.narrowbar .narrow p .event {
    background: #E99A5B;
}

.narrowbar .narrow p .media {
    background: #A9A9A9;
}

.narrowbar .narrow p .drone {
    background: #CB2D7A;
}

.narrowbar .narrow p .cosmo {
    background: #65618C;
}

.narrowbar .narrow p .ethical {
    background: #D6A5AC;
}

.narrowbar .narrow p a {
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
    padding: 0 10px;
    margin: 0 5px;
}

.wp-pagenavi {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 100px;
}

/* LP ethical*/
.contents-title {
    font-size: 23px;
    text-decoration: underline;
    font-weight: bold;
    margin-top: 50px;
    margin-left: 20px;
    color: #000;
}

.contents-item-title {
    font-size: 1.2em;
}

.frame-gray {
    border: solid 10px #A0B4C0;
    border-radius: 5px;
}

.contents-bottom {
    margin-bottom: 20px;
}

.contents-item-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contents-text-box {
    display: inline-block;
    text-align: left;
    margin-left: 20px;
}

.contents-img {
    display: inline-block;
    width: 49%;
}

.inquiry {
    width: 96%;
}

@media screen and (max-width: 767px) {
    .contents-title {
        font-size: 23px;
        text-decoration: underline;
        font-weight: bold;
        margin-top: 50px;
        margin-left: 0px;
        color: #000;
    }

    .frame-gray h5 {
        font-size: 1.2em;
        margin-block-start: 0px;
        margin-block-end: 0px;
    }

    .contents-text-box h5 {
        font-size: 1.2em;
        margin-block-start: 0px;
        margin-block-end: 0px;
    }

    .contents-item-flex {
        display: block;
    }

    .contents-text-box {
        margin-left: 0px;
    }

    .contents-img {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

section.privacy .zm-container h2,
section.privacy .zm-container h1 {
    display: block;
    font-family: 'Faustina', serif !important;
    font-size: 28px;
    letter-spacing: 5px;
    margin-bottom: 0;
    color: #555;
}

section.legal .zm-container h2,
section.legal .zm-container h1 {
    display: block;
    font-family: 'Faustina', serif !important;
    font-size: 28px;
    letter-spacing: 5px;
    margin-bottom: 0;
    color: #555;
}

@media screen and (min-width:768px) {
    section.privacy {
        margin: 9em 9vw;
    }

    section.privacy .zm-container h2,
    section.privacy .zm-container h1 {
        display: block;
        font-family: 'Faustina', serif !important;
        font-size: 28px;
        letter-spacing: 5px;
        margin-bottom: 0;
        color: #555;
    }
}

@media screen and (min-width:768px) {
    section.legal {
        margin: 9em 9vw;
    }

    section.legal .zm-container h2,
    section.legal .zm-container h1 {
        display: block;
        font-family: 'Faustina', serif !important;
        font-size: 28px;
        letter-spacing: 5px;
        margin-bottom: 0;
        color: #555;
    }
}

@media screen and (max-width: 767px) {
    section.privacy {
        margin: 9em auto;
    }

    section.privacy .zm-container h2,
    section.privacy .zm-container h1 {
        display: block;
        font-family: 'Faustina', serif !important;
        font-size: 20px;
        letter-spacing: 1px;
        margin-bottom: 0;
        color: #555;
    }
}

@media screen and (max-width: 767px) {
    section.legal {
        margin: 9em auto;
    }

    section.legal .zm-container h2,
    section.legal .zm-container h1 {
        display: block;
        font-family: 'Faustina', serif !important;
        font-size: 20px;
        letter-spacing: 1px;
        margin-bottom: 0;
        color: #555;
    }
}

/* recruit */
.recruit {
    margin: 3em 9em;
    color: #555;
}

.recruit .breadcrumb {
    padding-left: 0 !important;
}

.recruit section {
    margin-bottom: 96px;
}

.recruit h3 {
    font-weight: 300;
    text-align: left;
    margin: 3% 0;
    padding-left: 20px;
    border-bottom: 0;
    color: #555;
    border-left: 2px solid #555;
    letter-spacing: 3px;
}

.recruit .flex-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
}


.recruit .conditions {
    background-color: #FAFAFA;
    padding: 24px;
    border-radius: 10px;
    margin: 0;
    flex-basis: 43%;
}

.recruit .conditions dl {
    height: 100%;
    margin: 0;
}

.recruit .conditions h4 {
    font-weight: 700;
}

.recruit .conditions dt {
    font-weight: 700;
}

.recruit .conditions dd {
    margin-left: 1rem;
}

.recruit .conditions ul {
    padding-left: 0px;
    margin: 0;
}

.recruit .recruitment {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #FAFAFA;
}

.recruit .recruitment dt {
    flex-basis: 16%;
}

.recruit .recruitment dd {
    flex-basis: 76%;
    margin: 0;
}

.recruit .recruitment dt,
.recruit .recruitment dd {
    border-bottom: 1px solid #999;
    padding: 2%;
}

.recruit .recruitment ul {
    padding-left: 0px;
    margin: 0;
}

.recruit .entry {
    border: 1px solid #555;
    padding: 28px 72px;
    align-items: center;
}

.recruit .entry .h3_entry {
    border: none;
    margin-top: 0;
    padding-left: 0;
}

.recruit .entry .flex-l {
    flex-basis: 25%;
}

.recruit .entry .flex-r {
    flex-basis: 70%;
}

.recruit .entry p {
    margin-top: 0;
    margin-bottom: 0;
}

.recruit .entry a {
    display: block;
    background-color: #ABC2CC;
    flex-basis: 80%;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    text-align: center;
    padding: 8px 0;
    border-radius: 4px;
    box-shadow: 2px 2px 4px gray;
}

@media screen and (max-width:1280px) {
    .recruit {
        margin: 3em 5%;
    }

    .recruit .flex-item.flex-l {
        flex-basis: 100%;
        margin-bottom: 24px;
    }

    .recruit .flex-item.flex-r {
        flex-basis: 100%;
    }

    .recruit .entry {
        padding: 16px 24px;
        text-align: center;
    }

    .recruit .entry .h3_entry {
        font-weight: bold;
        text-align: center;
        margin-bottom: 0;
        font-size: 1.6rem;
    }
}

@media screen and (max-width:767px) {
    .recruit {
        font-size: 1.0rem;
    }

    .recruit h3 {
        font-weight: 500;
    }

    .recruit .entry .h3_entry {
        font-size: 1.6rem !important;
    }

    .recruit .recruitment dt {
        flex-basis: 25%;
    }

    .recruit .recruitment dd {
        flex-basis: 65%;
    }
}