/*--------------------------------------------------------------
# Top
--------------------------------------------------------------*/


/* About */

@media screen and (min-width: 1440px) {
    #about {
        max-width: 1400px;
        margin: 0 auto;
    }
}

#about {
    flex-direction: column;
    padding: 0 0 10rem 0;
}


@media screen and (min-width: 960px) {
    #about {
        padding: 14rem 0 19rem 0;
        position: relative;
        display: flex;
        justify-content: space-between;
        max-width: 1400px;
        margin: 0 auto;
        flex-direction: row;
    }
}

@media all and (-ms-high-contrast: none) {

    /* IE限定 */
    #about {
        padding-top: 16rem;
    }
}

#bg_zumen_1 {
    display: none;
}

@media screen and (min-width: 960px) {
    #bg_zumen_1 {
        display: block;
        position: absolute;
        bottom: -30rem;
        right: -10rem;
        z-index: -1;
        opacity: 0.8;
    }
}

#about_contents {
    position: relative;
    z-index: 100;
}

h2.bigtitle {
    font-size: 2rem;
    font-weight: 500;
    height: calc(21rem - 4rem);
    width: 100%;
    position: relative;
    padding: 4rem 0 0 3rem;
    line-height: 1.4;
}

@media screen and (min-width: 960px) {
    h2.bigtitle {
        height: calc(22rem - 4rem);
        width: calc(61rem - 5rem);
        padding: 4rem 0 0 5rem;
    }
}

h2.bigtitle::before {
    background-image: url(../images/bg_slash.png);
    height: 28px;
    width: 34px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
}

h2.bigtitle::after {
    background-image: url(../images/bg_slash.png);
    height: 28px;
    width: 34px;
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
}

h2.bigtitle .font_dmsans {
    font-size: 5rem;
    color: #007bd0;
    display: block;
    padding-bottom: 1.7rem;
    line-height: 1;
}

@media screen and (min-width: 960px) {
    h2.bigtitle .font_dmsans {
        font-size: 6rem;
    }
}

#about_inner {
    width: 86%;
    margin: 3rem auto 5rem auto;
}

@media screen and (min-width: 960px) {
    #about_inner {
        width: 48rem;
        margin: 5rem 0 5rem 5rem;
    }
}

@media screen and (min-width: 1200px) {
    #about_inner {
        width: 48rem;
        margin: 5rem 0 5rem 12rem;
    }
}

#about_text {
    margin-bottom: 7rem;
}

#about_text p {
    margin: 0 0 3rem 0;
    text-align: justify;
    text-justify: inter-ideograph;
}

#about_text p br {
    display: none;
}

@media screen and (min-width: 960px) {
    #about_text p br {
        display: block;
    }
}

#about_inner .btn_a a {
    width: 100%;
}

@media screen and (min-width: 960px) {
    #about_inner .btn_a a {
        width: 44rem;
    }
}

#about_image {
    width: 100%;
    margin-right: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    overflow: hidden;
}

@media screen and (min-width: 960px) {
    #about_image {
        width: 40%;
        margin-right: 8rem;
        flex-direction: column;
    }
}

#about_image img {
    border-radius: 1rem;
    object-fit: cover;
    vertical-align: top;
}

#about_image div {
    width: 44%;
}

@media screen and (min-width: 960px) {
    #about_image div {
        width: auto;
    }
}

#about_image_1 {
    top: 0;
    right: -1rem;
    width: 52%;
    height: 25rem;
    margin-bottom: 3rem;
}

@media screen and (min-width: 960px) {
    #about_image_1 {
        height: 425px;
        width: 100%;
    }
}

#about_image_2 {
    bottom: 0;
    left: 0;
    height: 19rem;
    width: 100%;
    margin-right: 3rem;
    margin-bottom: 2rem;
}

@media screen and (min-width: 960px) {
    #about_image_2 {
        width: 26rem;
        margin-bottom: 0;
    }
}


#about_image_3 {
    bottom: 0;
    right: 0;
    height: 12rem;
    width: 16rem;
}


@media screen and (min-width: 960px) {
    #about_image_3 {
        margin-top: 2rem;
    }
}

@media screen and (min-width: 1150px) {
    #about_image_3 {
        margin-top: 0;
    }
}

/* Works */

#works {
    background: #f6f6f6;
}

h2 .subtitle {
    font-size: 6rem;
    color: #007bd0;
    display: block;
    padding-top: 1rem;
    padding-bottom: 1.7rem;
    margin-left: -5rem;
    padding-left: 5rem;
    font-weight: 500;
    position: relative;
}

h2 .subtitle:before {
    background-image: url(../images/bg_slash.png);
    height: 28px;
    width: 34px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../images/bg_slash.png);
    background-repeat: no-repeat;
    background-size: contain;
}

#works h2 {
    font-weight: 500;
    margin-bottom: 4rem;
    margin-left: -4px;
    font-size: 2rem;
}

@media screen and (min-width: 960px) {
    #works h2 {
        font-size: 2rem;
        margin-bottom: 6rem;
    }
}

#works_contents {
    margin-top: 8rem;
    padding-bottom: 10rem;
    margin-left: auto;
    margin-right: auto;
    width: 86%;
}

@media screen and (min-width: 960px) {
    #works_contents {
        padding-bottom: 12rem;
        margin-top: -8rem;
        margin-left: 5rem;
        width: 50%;
    }
}

@media screen and (min-width: 1200px) {
    #works_contents {
        margin-top: -6rem;
        margin-left: 12rem;
        margin-right: 0;
    }
}

#works_contents .btn_a a {
    width: 100%;
}

@media screen and (min-width: 960px) {
    #works_contents .btn_a a {
        width: 44rem;
    }
}

#works_contents .btn_a {
    margin-top: 4rem;
}

@media screen and (min-width: 560px) {
    #works_contents .btn_a {
        margin-top: 6rem;
    }
}

#works_inner {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1400px;
}

@media screen and (min-width: 960px) {
    #works_inner {
        flex-direction: row;
    }
}

#works_text {
    width: 100%;
}

@media screen and (min-width: 960px) {
    #works_text {
        width: 44rem;
    }
}

#works_text p {
    margin: 0 0 3rem 0;
    text-align: justify;
    text-justify: inter-ideograph;
}

#works_image {
    width: 100%;
    height: 470px;
    position: relative;
    background: url(../images/bg_works_image.png) no-repeat center center;
    margin: 2rem auto 0 auto;
    background-size: 80%;
}


@media screen and (min-width: 560px) {
    #works_image {
        width: 72%;
        height: 490px;
        margin: 4rem auto 0 auto;
    }
}

@media screen and (min-width: 960px) {
    #works_image {
        width: 42%;
        margin: 4rem 8rem 0 0;
        background-size: 76%;
    }
}

@media screen and (min-width: 1200px) {
    #works_image {
        width: 46%;
        margin: 4rem 12rem 0 0;
    }
}

#works_image img {
    position: absolute;
    transition: all .3s ease 0s;
    width: 16rem;
}

@media screen and (min-width: 960px) {
    #works_image img {
        width: auto;
        width: 16rem;
    }
}

@media screen and (min-width: 1200px) {
    #works_image img {
        width: auto;
        width: 18rem;
    }
}

#works_image img:hover {
    transform: scale(1.2);
}

#works_image img:nth-of-type(1) {
    top: 0;
    left: -2rem;
}

@media screen and (min-width: 960px) {
    #works_image img:nth-of-type(1) {
        left: 0;
    }
}

#works_image img:nth-of-type(2) {
    top: 0;
    right: -2rem;
}

@media screen and (min-width: 960px) {
    #works_image img:nth-of-type(2) {
        right: 0;
    }
}

#works_image img:nth-of-type(3) {
    bottom: 0;
    left: -2rem;
}

@media screen and (min-width: 960px) {
    #works_image img:nth-of-type(3) {
        left: 0;
    }
}

#works_image img:nth-of-type(4) {
    bottom: 0;
    right: -2rem;
}

@media screen and (min-width: 960px) {
    #works_image img:nth-of-type(4) {
        right: 0;
    }
}

#works_image img:nth-of-type(5) {
    top: 206px;
    left: calc(50% - 50px);
    width: 100px;
}

/* Products */

#products {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 0 10rem 0;
    position: relative;
}

@media screen and (min-width: 960px) {
    #products {
        padding: 14rem 8rem 14rem 5rem;
    }
}

#bg_zumen_2 {
    display: none;
}

@media screen and (min-width: 960px) {
    #bg_zumen_2 {
        display: block;
        position: absolute;
        bottom: -20rem;
        left: -10rem;
        z-index: -1;
        opacity: 0.7;
    }
}

#products .btn_a.sp_only {
    width: 86%;
    margin: 4rem auto 0 auto;
}

#products .btn_a.sp_only a {
    width: 100%;
}

#products h2 .subtitle {
    margin: 0 auto;
    display: table;
    padding-right: 3rem;
}

#products h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

@media screen and (min-width: 960px) {
    #products h2 {
        margin-bottom: 4rem;
    }
}

#products_title {
    text-align: center;
    margin-bottom: 4rem;
}

@media screen and (min-width: 960px) {
    #products_title {
        margin-bottom: 6rem;
    }
}

#products_text {
    width: 86%;
    margin: 0 auto;
}

#products_contents {
    background: #50586d;
    padding: 1rem 7% 3.4rem 7%;
    width: 100%;
    margin: 0 auto;
}

@media screen and (min-width: 960px) {
    #products_contents {
        padding: 4rem 4rem 6rem 4rem;
        width: 100%;
    }
}

#products .btn_a {
    margin-right: auto;
    margin-left: auto;
}

#products_link {
    display: none;
}

@media screen and (min-width: 960px) {
    #products_link {
        display: flex;
        justify-content: space-between;
        padding: 2rem 4rem;
    }
}

#products_search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFFFFF;
    width: 70%;
    white-space: nowrap;
}

#products_search form {
    width: 78%;
    margin-left: 2rem;
}

#products_link .btn_a a {
    width: 100%;
}

#products_search .search {
    position: relative;
    background-color: #fff;
    border: 1px solid #88a8c1;
    border-radius: 3rem;
}

#products_search .search dt {
    margin-right: 7rem;
    padding: 1rem 0 1rem 1rem;
}

#products_search .search dt input {
    width: 100%;
    background: none;
    border: none;
    font-size: 1.6rem;
    padding: 0.8rem;
}

#products_search .search dd {
    position: absolute;
    top: 0;
    right: 0;
}

#products_search .search dd button {
    display: block;
    padding: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
}

#products_search .search dd button span {
    display: block;
    width: 2rem;
    height: 2rem;
    background: url("../images/icon_search.png") no-repeat scroll 0 0;
}

#products_list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media screen and (min-width: 960px) {
    #products_list li {
        flex-direction: row;
    }
}

#products_list li {
    width: 100%;
    margin-top: 2.4rem;
}

@media screen and (min-width: 800px) {
    #products_list li {
        width: 48%;
    }
}

@media screen and (min-width: 1360px) {
    #products_list li {
        /*		width: 48%;*/
        width: 32%;
    }
}

#products_list li:nth-child(odd) {
    padding-left: 0;
}

#products_list li:nth-child(even) {
    padding-right: 0;
}

/*
@media screen and (min-width: 960px) {

    #products_list li:nth-child(odd) {
        padding-left: 4rem;
    }

    #products_list li:nth-child(even) {
        padding-right: 4rem;
    }
}
*/

#products_list li:nth-of-type(n+7) a {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media screen and (min-width: 750px) {
    #products_list li:nth-of-type(n+7) a {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

#products_list li a {
    display: block;
    padding-left: 2.5rem;
    background: #FFF;
    background-position: 1.8rem 1.8rem;
    background-size: 2.2rem;
    border-radius: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #29292b;
    /*    font-size: 1.8rem;*/
    font-size: 1.42rem;
    transition: all .3s ease 0s;
    font-weight: 500;
    line-height: 1.5;
}

@media screen and (min-width: 750px) {
    #products_list li a {
        font-size: 1.65rem;
    }
}

#products_list li a:hover {
    opacity: 0.6;
}

@media screen and (min-width: 960px) {
    #products_list li a {
        background: url("../images/bg_slash.png") no-repeat #FFFFFF;
        padding-left: 3rem;
        background-size: 24px;
        background-position: 0.6rem 0.6rem;
    }
}

#products_list li a img {
    width: 38%;
    height: 9.5rem;
    object-fit: cover
}

@media screen and (min-width: 560px) {
    #products_list li a img {
        height: 11.5rem;
    }
}

#products_list li {
    display: block;
    position: relative;
}

#products_list li span {
    position: relative;
    display: block;
    width: 80%;
}

#products_list li:nth-of-type(6) span {
    line-height: 1.6;
}

#products_list li span::after {
    position: absolute;
    display: block;
    color: #007bd0;
    content: "→";
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

#products_list li:nth-of-type(n+7) span::after {
    right: -4rem;
}

/* Case study */

#case {
    background: #f6f6f6;
}

#case_inner {
    padding: 0 0 10rem 0;
    position: relative;
    max-width: 1400px;
    margin: 8rem auto 0 auto;
}

@media screen and (min-width: 960px) {
    #case_inner {
        padding: 0 0 19rem 0;
    }
}

#case h2.bigtitle {
    margin-top: -8rem;
}

#case h2.bigtitle .font_dmsans {
    margin-left: -0.6rem;
}

#case_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 0;
    line-height: 1.4;
}

@media screen and (min-width: 960px) {
    #case_title {
        padding-right: 8rem;
        line-height: 1;
    }
}

#case_title span {
    line-height: 1;
}

#case_title br {
    display: block;
}

/*
@media screen and (min-width: 960px) {
    #case_title br {
        display: none;
    }
}
*/

#case_title .btn_a {
    margin-top: -8rem;
}

#case_title .btn_a a {
    width: 30rem;
}

#case .bigtitle {
    height: auto;
}

@media screen and (min-width: 560px) {
    #case .bigtitle {
        height: calc(21rem - 4rem);
    }
}

@media screen and (min-width: 960px) {
    #case .bigtitle {
        width: calc(61rem - 2rem);
    }
}

#case_contents {
    padding-top: 5rem;
}

@media screen and (min-width: 560px) {
    #case_contents {
        padding-top: 7rem;
    }
}

#swiper-case {
    overflow: hidden;
}

#swiper-case .slide-img img {
    display: block;
    width: 100%;
    transition: .3s ease;
}

#swiper-case .slide-img {
    width: auto;
}

@media screen and (min-width: 960px) {
    #swiper-case .slide-img {
        width: 39rem;
    }
}

#swiper-case .slide-img a {
    padding: 0 7%;
    display: block;
}

#swiper-case .slide-img a:hover img {
    transform: scale(1.05, 1.05);
}

#swiper-case .swiper-button-next,
#swiper-case .swiper-button-prev {
    top: 43.5% !important;
    color: #FFFFFF !important;
    background: #007bd0 !important;
    padding: 5.5rem 2rem !important;
    transition: 0.3 ease;
}

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

    #swiper-case .swiper-button-next,
    #swiper-case .swiper-button-prev {
        top: 35% !important;
    }
}

#swiper-case .swiper-button-next:hover,
#swiper-case .swiper-button-prev:hover {
    opacity: 0.6;
}

#swiper-case .swiper-button-next {
    right: 0 !important;
}

@media screen and (min-width: 960px) {
    #swiper-case .swiper-button-next {
        right: 8rem !important;
    }
}


#swiper-case .swiper-button-prev {
    left: 0 !important;
}

@media screen and (min-width: 960px) {
    #swiper-case .swiper-button-prev {
        left: 5rem !important;
    }
}

#swiper-case .swiper-button-next:after,
#swiper-case .swiper-button-prev:after {
    font-size: 1.6rem !important;
}


@media all and (-ms-high-contrast:none) {

    *::-ms-backdrop,
    #swiper-case .swiper-button-next:after {
        content: '＞';
        font-family: serif;
        font-weight: bold;
        font-size: 2rem;
    }
}

@media all and (-ms-high-contrast:none) {

    *::-ms-backdrop,
    #swiper-case .swiper-button-prev:after {
        content: '＜';
        font-family: serif;
        font-weight: bold;
        font-size: 2rem;
    }
}




#swiper-case .swiper-button-next:after,
#swiper-case .swiper-button-prev:after {
    font-size: 1.6rem !important;
}

.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after {
    content: 'next';
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    text-transform: none;
    font-variant: initial;
    line-height: 1;
}



#swiper-case .swiper-wrapper {
    padding-left: 0;
}

@media screen and (min-width: 960px) {
    #swiper-case .swiper-wrapper {
        padding-left: 11rem;
    }
}

#swiper-case .slide-img h3 {
    color: #29292b;
    padding: 0 0 2rem 0;
    font-weight: 500;
    transition: all .3s ease 0s;
}

#swiper-case .slide-img a:hover h3 {
    opacity: 0.6;
}

#swiper-case .slide-img h3 span {
    display: block;
    font-weight: 400;
    padding: 3rem 0 1.5rem 0;
}

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

.case_data span {
    background: #88a8c1;
    color: #FFF;
    border-radius: 30px;
    font-size: 1.2rem;
    min-width: 100px;
    text-align: center;
    line-height: 1.2;
    padding: 1px 10px;
    letter-spacing: 0;
}

.case_data time {
    color: #b8b8b8;
}

#access h2 .subtitle::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    height: 2rem;
    width: 2rem;
    background-image: url(../images/bg_slash.png);
    background-size: contain;
    background-repeat: no-repeat;
}
