/*
Theme Name: LP01
Theme URI: http://clear-design.jp/
Description: CLEARdeSIGN header
Version: 1.0
Author: CLEARdeSIGN
Author URI: http://clear-design.jp/
Tags: CLEARdeSIGN
Text Domain: CLEARdeSIGN
*/


/*----------------------------------------------body----------------------------------------------*/

body {
    /* color: #333333;
	background-color: #fff; */
    transition: background-color .3s ease;
    -webkit-transition: background-color .3s ease;
    -moz-transition: background-color .3s ease;
    -ms-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
}

#index {
    transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
}

.index-wrap section h3 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: max(20px, min(2.5 * (1vw + 1vh) / 2), 32px);
    text-align: center;
}

.index-wrap section h3>span {
    display: block;
    font-size: 70%;
    opacity: .5;
    padding-bottom: 2rem;
}

#index .index-wrap {
    overflow: hidden;
}

@media(min-width:1200px) {
    #index {
        position: relative;
    }
    #index::after {
        content: '';
        position: absolute;
        width: 1px;
        height: calc(100% + 25px);
        background-color: #eee;
        right: 100px;
        top: -25px;
        z-index: 1010;
    }
    .index-wrap {
        padding-right: 100px;
    }
}

.color-white {
    background-color: #fff;
}

.color-gray {
    background-color: #eeeeee;
}

.color-red {
    background-color: #931E2F;
    color: #fff!important;
}

#eye-sp {
    margin-top: 100px;
}

#eye-sps {
    margin-top: 34px;
    margin-bottom: 40px;
}

@media (min-width:992px) {
    footer {
        padding-right: 100px;
    }
}


/*----------------------------------------------block:mainvisual----------------------------------------------*/


/* scrolldown */

.scrolldown {
    display: none;
}

@media(min-width:768px) {
    .scrolldown {
        display: block;
        letter-spacing: 0;
        font-weight: 300;
        transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform-origin: left bottom;
        position: absolute;
        left: 0;
        bottom: 350px;
        padding: 2.2rem 9rem 2.5rem 0;
        font-size: 1rem;
        line-height: 1;
        color: #fff;
    }
    .scrolldown::before {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        width: 8rem;
        height: 1px;
        background: #f2f2f2;
    }
    .scrolldown .dot {
        animation: scrolldn 3s linear 0s infinite normal;
        -webkit-animation: scrolldn 3s linear 0s infinite normal;
        display: block;
        position: absolute;
        top: 50%;
        right: 7.6rem;
        width: 0.8rem;
        height: 0.8rem;
        margin-top: -0.4rem;
    }
    @keyframes scrolldn {
        0% {
            -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
            animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
            -webkit-transform: translateX(0);
            transform: translateX(0);
            opacity: 0
        }
        20% {
            opacity: 1
        }
        45% {
            opacity: 0
        }
        75% {
            -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
            -webkit-transform: translateX(1000%);
            transform: translateX(1000%);
            opacity: 0
        }
        100% {
            -webkit-transform: translateX(1000%);
            transform: translateX(1000%);
            opacity: 0
        }
    }
    .scrolldown .dot::before {
        animation: scroll-dot 3s linear 0s infinite normal;
        -webkit-animation: scroll-dot 3s linear 0s infinite normal;
        transform: scale(0.2);
        -webkit-transform: scale(0.2);
        -moz-transform: scale(0.2);
        -ms-transform: scale(0.2);
        -o-transform: scale(0.2);
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 4rem;
        height: 4rem;
        margin: -2rem 0 0 -2rem;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
        background: #ffffff;
        opacity: 1;
    }
    @keyframes scroll-dot {
        0% {
            -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
            animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
            -webkit-transform: scale(0.2);
            transform: scale(0.2);
            opacity: 1
        }
        75% {
            opacity: 0.1
        }
        100% {
            -webkit-transform: scale(1);
            transform: scale(1);
            opacity: 0.1
        }
    }
    .scrolldown .dot::after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: .8rem;
        height: .8rem;
        margin: -.4rem 0 0 -.4rem;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
        background: #ffffff;
    }
    .scrolldown.hide {
        opacity: 0;
    }
}


/*----------------------------------------------mainvisual END----------------------------------------------*/


/*----------------------------------------------slickitems START----------------------------------------------*/

.slick-prev:hover::before,
.slick-next:hover::before {
    opacity: 0.75;
}

.slick-prev::before {
    content: url('/wp/wp-content/themes/politics/img/prev-arrow.png');
    opacity: 1;
}

.slick-next::before {
    content: url('/wp/wp-content/themes/politics/img/next-arrow.png');
    opacity: 1;
}

.slick-prev {
    left: 0px;
    z-index: 1;
    width: 40px;
    height: 40px;
}

.slick-next {
    right: 0px;
    z-index: 1;
    width: 40px;
    height: 40px;
}

.slider {
    padding: 0;
}

.slider li a {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    background: #931E2F;
    color: #fff;
}

.slider li a img {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: opacity 0.4s, transform 0.4s;
    -webkit-transition: opacity 0.4s, transform 0.4s;
    -moz-transition: opacity 0.4s, transform 0.4s;
    -ms-transition: opacity 0.4s, transform 0.4s;
    -o-transition: opacity 0.4s, transform 0.4s;
    transform: scale3d(1.1, 1.1, 1.1);
    opacity: 1;
    overflow: hidden;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    -moz-transform: scale3d(1.1, 1.1, 1.1);
    -ms-transform: scale3d(1.1, 1.1, 1.1);
    -o-transform: scale3d(1.1, 1.1, 1.1);
}

.slider li a:hover img {
    opacity: .2;
    transform: scale3d(1.3, 1.3, 1);
    -webkit-transform: scale3d(1.3, 1.3, 1);
    -moz-transform: scale3d(1.3, 1.3, 1);
    -ms-transform: scale3d(1.3, 1.3, 1);
    -o-transform: scale3d(1.3, 1.3, 1);
}

.slider li a .mask {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    transition: opacity 0.4s;
    padding: 20px;
    -webkit-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    -ms-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    overflow: hidden;
}

.slider li a:hover .mask {
    opacity: 1;
}

.slider li a .mask-in {
    transition: transform 0.4s, color 0.4s;
    text-align: center;
    -webkit-transition: transform 0.4s, color 0.4s;
    -moz-transition: transform 0.4s, color 0.4s;
    -ms-transition: transform 0.4s, color 0.4s;
    -o-transition: transform 0.4s, color 0.4s;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
    margin-top: -30px;
    margin-bottom: -30px;
    margin-left: 10px;
    margin-right: 10px;
}

.portfolio-modal .modal-dialog {
    margin: 1rem;
    max-width: 100vw;
}

.portfolio-modal .modal-content {
    padding-top: 6rem;
    padding-bottom: 6rem;
    text-align: center;
}

.portfolio-modal .modal-content h2 {
    font-size: 3rem;
    line-height: 3rem;
}

.portfolio-modal .modal-content p.item-intro {
    font-style: italic;
    margin-bottom: 2rem;
    font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.portfolio-modal .modal-content p {
    margin-bottom: 2rem;
}

.portfolio-modal .modal-content ul.list-inline {
    margin-bottom: 2rem;
}

.portfolio-modal .modal-content img {
    margin-bottom: 2rem;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    background-color: transparent;
}

.portfolio-modal .close-modal:hover {
    opacity: 0.3;
}


/*----------------------------------------------slickitems END----------------------------------------------*/


/* --------------------------------------------- add_sns START--------------------------------------------*/

.fb-wrap {
    max-width: 500px;
    width: 100%;
    margin: 0 auto !important;
    overflow: auto;
}

@media screen and (max-width: 896px) {
    .fb-wrap {
        width: 100%;
        text-align: center !important;
        margin: 0 auto !important;
    }
    .fb-page {
        text-align: center !important;
        margin: 0 auto !important;
        border: 4px solid #fff!important;
    }
}


/* --------------------------------------------- add_sns END---------------------------------------------*/


/*----------------------------------------------news-fullwidth START-------------------------------------*/

.card-big {
    height: 425px;
}

.card {
    background-color: transparent;
    border: none;
    display: flex;
    flex-direction: column;
}

.block-news .card {
    margin-bottom: 25px;
    height: 130px;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .block-news .card {
        height: 200px;
    }
}

.block-news .card-big {
    height: 424px;
    background-color: #ffffff;
}

.card-wrapper {
    overflow: hidden;
    position: relative;
    flex: 1;
}

.card-wrapper-big {
    overflow: hidden;
    position: relative;
    flex: 1;
}

.card-wrapper-big::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    z-index: 10;
    pointer-events: auto;
    display: none;
}

.card-wrapper-small {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.block-news>.row>div:last-child .card-img {
    height: 210px;
}

.block-news>.row>div:last-child .card-img>img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

@media(min-width:992px) {
    .block-news>.row>div:last-child .card-img>img {
        width: auto;
        height: 100%;
    }
}

.block-news .card-wrapper-small>img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.card-wrapper::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: all 0.3s;
    background: #000;
    opacity: 0.6;
    z-index: 10;
    pointer-events: auto;
}

.card-wrapper:hover::before {
    opacity: 0.7;
}

.card-img {
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    -ms-transition: transform 0.3s;
    -o-transition: transform 0.3s;
}

.card-img img {
    object-fit: cover;
}

.card-wrapper:hover .card-img {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
}

.card-box {
    position: absolute;
    overflow: hidden;
    height: fit-content;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 1rem;
    z-index: 100;
    justify-content: center;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-justify-content: center;
    -webkit-flex-direction: column;
}

@media(min-width:1366px) {
    .card-box {
        padding: 2rem;
    }
}

.block-news .card-big .card-box {
    position: static;
}

.card-wrapper-big .card-box {
    color: #000;
}


/*----------------------------------------------新着情報 news-fullwidth END----------------------------------------------*/


/*----------------------------------------------徳永エリとは？ contents start----------------------------------------------*/

.traineeship .activity .active .sub-title {
    display: none;
}

.traineeship .activity-icon {
    background-color: #242835;
    color: #ffffff;
    position: relative;
}

@media(min-width:992px) {
    .traineeship .activity-icon {
        background-color: transparent;
        color: #ffffff;
        position: relative;
    }
}

.traineeship .custom-btn-link-wrap ul li {
    margin: 0;
}

.traineeship .activity {
    margin: 0 0px 20px;
    background-color: #ffffff;
}

.traineeship .main-title {
    margin: 5px;
}

.traineeship .inactive .main-title {
    border-bottom: 3px solid #f5ca2a;
    padding-bottom: 5px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    color: #333;
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
}

.activity-icon p {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 3.5rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #fff;
    opacity: .2;
    z-index: 10;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.activity-icon img {
    width: 120px;
    display: block;
    margin-left: auto;
}

@media(min-width:768px) {
    .traineeship .process-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .traineeship .activity {
        width: calc(50% - 5px);
        background-color: #ffffff;
    }
    .activity-icon p {
        text-align: left;
    }
}

@media(min-width:992px) {
    .traineeship .main-title {
        margin: 0;
    }
    .process-row {
        background-color: transparent;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .traineeship .activity {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: calc(50% - 16px);
        margin: 25px 8px;
        background-color: #242835;
        -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
        box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
        cursor: pointer;
        -webkit-transition: .3s;
        transition: .3s;
        overflow: hidden;
    }
    .traineeship .animate-from-bottom__0 {
        -webkit-animation-name: from-left;
        animation-name: from-left;
        -webkit-animation-duration: .3s;
        animation-duration: .3s;
    }
    .traineeship .animate-from-bottom__1 {
        -webkit-animation-name: from-left;
        animation-name: from-left;
        -webkit-animation-duration: .3s;
        animation-duration: .3s;
    }
    .traineeship .animate-from-bottom__2 {
        -webkit-animation-name: from-left;
        animation-name: from-left;
        -webkit-animation-duration: .3s;
        animation-duration: .3s;
    }
    .traineeship .animate-from-bottom__3 {
        -webkit-animation-name: from-left;
        animation-name: from-left;
        -webkit-animation-duration: .3s;
        animation-duration: .3s
    }
    .traineeship .activity .relative-block {
        width: 100%;
        min-height: 350px;
    }
    @-webkit-keyframes from-left {
        from {
            -webkit-transform: translateY(50px);
            transform: translateY(50px)
        }
        to {
            -webkit-transform: translateX(0);
            transform: translateX(0)
        }
    }
    @keyframes from-left {
        from {
            -webkit-transform: translateY(50px);
            transform: translateY(50px)
        }
        to {
            -webkit-transform: translateX(0);
            transform: translateX(0)
        }
    }
    .relative-block {
        position: relative;
    }
    .activity-icon {
        position: absolute !important;
        bottom: 0;
        right: 0;
        left: 0;
        text-align: center;
    }
    .activity-icon p {
        position: absolute;
        top: auto;
        bottom: 100px;
        left: 0;
        right: 0;
        font-size: 3.5rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
        color: #fff;
        opacity: .2;
        z-index: 10;
        padding: 0;
        display: block;
        text-align: center;
    }
    .activity-icon img {
        width: 100px;
        float: right;
        transition: all .3s;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        -ms-transition: all .3s;
        -o-transition: all .3s;
    }
    .activity:hover .activity-icon {
        display: none;
    }
    .traineeship .inactive {
        padding: 30px;
    }
    .traineeship .inactive .main-title {
        border-bottom: 3px solid #f5ca2a;
        padding-bottom: 14px;
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        color: #fff;
        font-size: 22px;
        font-weight: 400;
        line-height: 28px;
    }
    .traineeship .activity .active {
        display: none;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        height: 350px;
        padding: 30px;
    }
    .traineeship .activity .active .main-title {
        color: #1f1f1f;
        font-size: 22px;
        font-weight: 600;
        line-height: 32px;
    }
    .traineeship .activity .active .sub-title {
        margin-top: 20px;
        color: #616161;
        font-size: 15px;
        line-height: 24px;
        text-align: left;
        display: block;
    }
    .traineeship .activity .active .ul {
        margin-bottom: 45px;
        margin-top: 10px;
    }
    .traineeship .activity .active .li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-left: 30px;
        color: #616161;
        font-size: 16px;
        line-height: 26px;
    }
    .traineeship .activity .active .li:before {
        position: absolute;
        content: "\f00c";
        color: #ffd3d3;
        font-family: FontAwesome;
        display: inline-block;
        margin-left: -1.6em;
        width: 22px;
    }
    .traineeship .activity:hover {
        background-color: #fff;
    }
    .traineeship .activity:hover .inactive {
        display: none;
    }
    .traineeship .activity:hover .active {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
    }
}

@media(min-width:992px) {
    .process-row {
        flex-wrap: nowrap !important;
    }
    .traineeship .activity {
        width: 267px;
        margin: 30px 8px 50px;
    }
    .traineeship .activity:hover {
        width: 558px;
    }
    .activity-icon {
        left: auto;
    }
    .activity-icon img {
        width: 70%;
    }
    .activity-icon p {
        text-align: left;
    }
}


/*----------------------------------------------徳永エリとは？ contents end----------------------------------------------*/


/* ---------------------------------------------video background------------------------------------------*/

.video-background-holder {
    position: relative;
    background-color: black;
    height: 400px;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

.video-background-holder video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.video-background-content {
    position: relative;
    z-index: 2;
}

.video-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}

.lead-1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.lead-2 {
    font-size: 1.4rem;
}


/* ---------------------------------------------video background END------------------------------------------*/