@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400&family=Tenor+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&display=swap');

body {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #000;
    background-color: #fff;
}

#wrapper {
    min-height: 100vh;
    position: relative;
}


/* *,
::after,
::before {
    box-sizing: inherit;
}

*,
::after,
::before {
    box-sizing: border-box;
} */



/* text style */

h1,
h4,
h5 {
    font-family: "Asap", sans-serif;
}

h2 {
    font-family: "Asap", sans-serif;
    color: #ff0000;
    font-optical-sizing: auto;
    font-weight: 200;
    font-size: 3rem;
    font-style: normal;
}

h3 {
    font-family: "Asap", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-size: 1.5rem;
}


p,
li,
figcaption,
dt {
    font-family: "Asap", sans-serif;
    font-weight: 300;
}

dt {
    font-weight: 400;
}



a {
    text-decoration: none;
}

a:hover {
    color: #ff0000;
}

ul {
    list-style: none;
}


.col {
    flex: 1 0 0%;
}

/* モーダルCSS */
.modal-area {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.modal-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 500px;
    padding: 10px 30px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    text-align: center;
}


.close-modal {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    cursor: pointer;
}

.modal-contents .img-wrapper {
    padding: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.modal-contents .img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.modal-contents h3 {
    color: #ff0000;
    padding: 1rem 0;
}


.modal-bg {
    width: 100%;
    height: 100%;
    background-color: rgba(83, 83, 83, 0.872);
}

.modal-contents .img-wrapper img {
    object-fit: cover;
    overflow: hidden;
}




/* header nav-bar  footer */

.logo-img {
    width: 60%;
    max-width: 150px;
}

.logo-txt {
    margin: 10px;
    width: 60%;
    max-width: 150px;
}

#nav-global {
    width: 100%;
    height: 110px;
    padding: 20px;
    color: #1d1d1d;
    background-color: #fff;
    z-index: 10;
    position: fixed;
    transition: 0.5s;
}

.navbar {
    background-color: #fff;
    height: 100%;
    display: flex;
    justify-content: bottom;
    align-items: bottom;
    box-shadow: 1px 1px 3px rgba(106, 131, 152, 0.2);

}

#navbarSupportedContent {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    margin-top: 30px;
    width: 100%;
    background-color: #fff;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.dropdown-item,
.nav-item {
    font-family: "Asap", sans-serif;
    font-weight: 400;
}

.nav-link {
    position: relative;
    padding: 10px 15px;
    color: #1d1d1d;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ff0000;
}

.nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: #ff0000;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-link:hover:after {
    transform: scaleX(1);
}

.dropdown-menu {
    width: auto;
}

.dropdown-item {
    white-space: nowrap;
}


#header-top {
    width: 100%;
    height: auto;
    color: #1d1d1d;
    background-color: #ffffff;
    z-index: 1000;
    position: fixed;
}

#japanese-website {
    padding: 5px;
    height: fit-content;
}


/* function bar */

.logo {
    text-align: center;
    padding: 20px 0;
}

.logo a img {
    max-height: 30px;
    width: auto;
}

.function {
    align-items: right;
    background-color: #fff;
}


.bi-geo-alt-fill {
    color: #000000;
}

.icon-function {
    color: #fff;
    font-weight: 600;
    background-color: #000000;
    padding: 10px;
    width: auto;
    border-radius: 50%;
}

.icon-function:hover {
    color: #fff;
    font-weight: 600;
    background-color: #ff0000;
    padding: 10px;
    border-radius: 50%;
    transition: 1s;
}







/* button */
.btn {
    display: inline-block;
    font-family: "Asap", sans-serif;
    -webkit-font-smoothing: antialiased;
    position: relative;
    padding: 0.8em 1.4em;
    padding-right: 4.7em;
    background: #ffffff;
    border: none;
    color: rgb(255, 0, 0);
    transition: 0.2s;
    min-width: 15em;
    border-radius: 0px;
}

.btn:hover {
    /* background: darken(#FE5F55, 10%); */
    color: #ffffff;
    background: #ff1100;

}

.btn:active,
.btn:focus {
    /* background: darken(#FE5F55, 30%); */
    color: #000000;
    background: #ffafa9;
    outline: none;
}

.btn:after {
    content: ">";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding-top: inherit;
    padding-bottom: inherit;
    width: 2.8em;
    font-family: '', sans-serif;
    font-size: 1.2em;
    text-align: center;
    transition: 0.2s;
    transform-origin: 50% 60%;
}

.btn:hover:after {
    animation: bounceright 0.3s alternate ease infinite;
}



@keyframes bounceright {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(3px);
    }
}


/* #content */
#content {
    position: relative;
    top: 140px;
}



/* SECTION and container div*/

.section-01 .container {
    padding: 8% 2%;
    margin-right: auto;
    margin-left: auto;
    width: 100vw;
}



.section-title,
.section-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-title {
    text-align: center;
    padding-bottom: 6%;
}

.section-description {
    padding: 0 2rem;
    text-align: left;

}


.section-title.is-animated,
.section-description.is-animated {
    opacity: 1;
    transform: translateY(0);
}


/* SECTION background */


#products {
    color: #000000;
    background-color: #ffffff;
}

#business {
    color: #000;
    background-color: #ffffff;
    background-image: url(img/section/northamerica-map-translucent.png);
    height: auto;
    background-size: 80%;
    background-position: fixed;
    background-repeat: no-repeat;
    background-position: -200px -200px;
}


#solutions-and-services {
    background-color: #000000;
}

#solutions-and-services>.container>.section-title>h2 {
    color: #ffffff;
}

#solutions-and-services>.container>.contents-container>.section-description>p {
    color: #ffffff;
}

#global-network {
    background-color: #ebebeb;
}

#flow-of-proposal {
    background-color: #ffcdd1;
}




/* SECTION top */
.carousel-img {
    min-height: 300px;
    object-fit: cover;
    animation: animationZoom1 5s ease-in-out forwards;
}

@keyframes animationZoom1 {
    100% {
        transform: scale(1.1)
    }
}

/* contents-container */

.contents-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}




/* SECTION #products */


#products .container {
    padding: 8% 0 !important;
}

.loop-container {
    display: flex;
    overflow: hidden;
}

.loop-container:hover .list-products {
    animation-play-state: paused;
}

.list-products {
    display: flex;
    flex: 1;
    justify-content: space-between;
    animation: loop-list 50s linear infinite;
}

.product-logo {
    width: calc(100vw / 3);
    display: flex;
    justify-content: center;
}


.product-logo img {
    max-height: 80px;
    width: auto;
    max-width: 250px;
}

@keyframes loop-list {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}



/* .card and lists */


.card {
    opacity: 0;
    margin: 0.1rem;
    position: relative;
    flex: 1;
    /* display: flex; */
    align-items: center;
    overflow: hidden;
    min-height: 150px;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: 1px 1px 3px rgba(106, 131, 152, 0.2);
    /* background-color: transparent; */
}



.card.is-animated {
    animation: fadeIn 1.5s forwards;
}

.list-business .card .card-wrap {
    padding: 100px 0;
}


.icon {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translate(-25%, -50%);
    max-width: 40px;
    min-height: 40px;
}

.card-title {
    color: #000000;
    font-size: 1.1rem;
    font-weight: 300;
}

.business-title {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    text-align: left;
}


/* SECTION Solutions and Services */

.solution-title {
    color: #000;
}

.solution-title:hover {
    color: #ffffff;
    transition: color 1s ease;
    cursor: pointer;
}


.card-img {
    position: absolute;
    display: block;
    width: 100px;
    height: 100px;
}


.list-solutions {
    flex: 1;
    justify-content: center;
    text-align: center;
}


.img-wrap {
    display: flex;
    justify-content: center;
    min-height: 200px;
}

#img-wrap1::before {
    background-image: url(img/section/service01.jpeg);
}

#img-wrap2::before {
    background-image: url(img/section/service02.jpeg);
}

#img-wrap3::before {
    background-image: url(img/section/service03.jpeg);
}

#img-wrap4::before {
    background-image: url(img/section/service04.jpeg);
}


.img-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(90%) sepia(80%) hue-rotate(-60deg) opacity(30%);
    transition: filter 1s ease;
    z-index: 1;
}

.img-wrap:hover::before {
    filter: grayscale(0%) sepia(0%) hue-rotate(0deg) opacity(100%);
}

.card-img-overlay {
    position: relative;
    z-index: 2;
    transition: color 0.5s ease;
}


/* SECTION global network */
#global-network .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-description {
    padding: 20px;
    background-color: #fff;
    width: 500px;
}

.logo-description figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-description figure img {
    width: 300px;
    padding-top: 20px;
}

.logo-description figure figcaption {
    font-size: 0.8rem;
    color: #1d1d1d;
    padding-top: 20px;
    text-align: left;
}

.map-wrap img {
    padding-top: 50px;
    width: 100%;
}

.btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.btn-container .btn {
    margin: 1rem;
}


/* SECTION flow of proposal */
#flow-of-proposal {
    padding-bottom: 100px;
}

#flow-of-proposal .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inquiry-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    color: #000000;
    background-color: #fff;
    width: 60%;
    align-self: center;
}

.inquiry-container h3 {
    color: #000000;
}

.inquiry-container .btn {
    display: inline-block;
    font-family: "Asap", sans-serif;
    -webkit-font-smoothing: antialiased;
    position: relative;
    padding: 0.8em 1.4em;
    padding-right: 4.7em;
    background: #ff0000;
    border: none;
    color: rgb(253, 228, 228);
    transition: 0.2s;
    min-width: 15em;
    border-radius: 0px;
}


.inquiry-container .btn:hover {
    color: #ffffff;
    background: #ff3b2d;

}

.inquiry-container .btn:active,
.inquiry-container .btn:focus {
    color: #000000;
    background: #ffafa9;
    outline: none;
}

.inquiry-container .btn:after {
    content: ">";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding-top: inherit;
    padding-bottom: inherit;
    width: 2.8em;
    font-family: '', sans-serif;
    font-size: 1.2em;
    text-align: center;
    transition: 0.2s;
    transform-origin: 50% 60%;
}

.btn:hover:after {
    animation: bounceright 0.3s alternate ease infinite;
}



.list-flow ul {
    display: flex;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.flow {
    text-align: center;
    position: relative;
    padding: 35px 0;
    height: auto;

}

.flow-hr {
    z-index: 0;
    margin: 0;
    width: 100%;
    top: -25px;
    border: 1.5px solid #ff0000;
    position: relative;
}

.flow-hr.first {
    width: 50%;
    left: 50%;
}

.flow-hr.end {
    width: 50%;
    right: 0;
}

.flow .flow-order {
    z-index: 2;
    position: absolute;
    background-color: #e60012;
    color: #fff;
    font-size: large;
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
}


.flow dl dd {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.3;
    color: #000;
    flex-grow: 1;
}

.flow dl dd figure {
    width: 100%;
    margin-bottom: 0;
    padding: 10%;
    display: block;
    align-items: center;
    margin: 0;
}

.flow dl dd figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.flow dl dd figure figcaption {
    width: 100%;
    color: #000;
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
}

/* SECTION #locations */

.contents-container img {
    width: 80%;
}

#north-america-locations section,
#overseas-locations section {
    margin: 50px 0;
}

.section-header-01 {
    font-size: 2rem;
    text-align: center;
    padding-top: 100px;
}

.section-header-02 h3 {
    font-weight: 400;
    border-bottom: 1px solid rgb(194, 194, 194);
}

.txt-img-02 {
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: row-reverse;
}

.txt-img-02 ul {
    list-style-type: none;
    padding-left: 0;
}

.txt {
    padding-left: 50px;
}

.btn-outline {
    display: inline-block;
    font-family: "Asap", sans-serif;
    padding: 5px;
    padding-right: 4.7em;
    background: #ffffff;
    border: solid 1px;
    border-color: #ff1100;
    color: rgb(255, 2, 2);
    transition: 0.2s;
    height: auto;
    min-width: 15em;
    border-radius: 0px;
    text-align: center;
}

.btn-outline:hover {
    color: #ffffff;
    background: #ff3b2d;

}

.btn-outline:active,
.btn-outline.btn:focus {
    color: #000000;
    background: #ffafa9;
    outline: none;
}

.btn-outline:after {
    content: ">";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding-top: inherit;
    padding-bottom: inherit;
    width: 2.8em;
    font-family: '', sans-serif;
    font-size: 1.2em;
    text-align: center;
    transition: 0.2s;
    transform-origin: 50% 60%;
}

.btn-outline:hover:after {
    animation: bounceright 0.3s alternate ease infinite;
}

/* SECTION Top message */
/* SECTION Philosophy */

#history,
#top-message,
#philosophy {
    margin-bottom: 200px;
}

#top-message,
#philosophy {
    padding: 6%;
    display: flex;
    justify-content: center;
    height: 100%;
}

#top-message .container,
#philosophy .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#philosophy h4 {
    margin-top: 20px;
    width: 80%;
    text-align: center;
    padding-bottom: 20px;
}

#top-message p,
#philosophy p,
#philosophy ul,
#philosophy ol {
    font-family: 'ASAP';
    width: 80%;
    text-align: left;
    padding-bottom: 20px;

}

#philosophy img {
    max-width: 50%;
}


/* SECTION #history */
.entry {
    padding: 10px 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.entry.is-animated {
    opacity: 1;
    transform: translateY(0);
}

.entry-title {
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;

}

.entry h4,
.entry h5 {
    font-weight: 300;
}

.entry h4 {
    color: #ff0000;
}

.date {
    color: #828282;
    display: flex;
    align-items: top;
}

.date i {
    color: #828282;
    padding-right: 20px;
}


/* FOOTER */
.footer {
    margin-top: 20px;
    padding: 4% 4% 0 4%;
    font-size: 15px;
    color: #ffffff;
    background: #000000;
    width: 100%;
    position: relative;
}

.company-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}



.footer-navi {
    padding: 0;
    list-style: none;
}

hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #e5e7eb;
}

.footer-body .row {
    display: flex;
    flex-wrap: wrap;
    /* Allow items to wrap */
    justify-content: space-between;
    /* Distribute space evenly */
}

.footer-link {
    color: #fff;
}

.footer-navi li a {
    color: #c4c4c4;
}

.footer-navi-heading {
    font-weight: 400;
    margin: 10px 0;
    /* Add some spacing */
}

.footer-logo {
    max-width: 150px;
    /* display: inline-block; */
    margin-bottom: 2rem;
}

.footer-navi {
    padding: 0;
    list-style: none;
}

.footer-navi li {
    margin-bottom: 0.75rem;
}

.bi-geo-alt-fill {
    color: #ff0000;
}

.footer-footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
}




/* ANIMATIONS */


@keyframes slideIn {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }

}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}






@media screen and (max-width: 959px) {

    .product-logo img {
        max-height: 40%;
        width: auto;
    }

    .list-business .card,
    .list-solutions .card {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .footer-body .row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Distribute space evenly */
    }

}

@media screen and (max-width: 768px) {
    * {
        max-width: 100%;
    }


    .product-logo img {
        max-height: 40%;
        width: auto;
    }

    #business {
        background-size: 50%;
        background-size: cover;
        background-position: center;
    }

    .list-flow ul {
        flex-basis: 100% !important;
        flex-wrap: wrap;
        margin-left: -6px;
        margin-right: -6px;
    }

    .flow {
        padding-bottom: 10px;
    }

    .flow dl dt {
        font-size: 14px;
    }

    .flow dl dd img {
        width: 90% !important;
    }


}



@media screen and (max-width: 480px) {
    * {
        max-width: 100%;
    }

    section {
        max-width: 100%;
    }

    .product-logo img {
        max-width: 100%;
    }

    .logo-img {
        width: 60%;
        max-width: 150px;
    }

    #solutions-and-services .container{
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .list-business,
    .list-solutions {
        max-width: 100%;
    }

    .list-business .card,
    .list-solutions .card,
    .list-flow ul {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #global-network .container .row{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-container {
        display: flex;
        flex-direction: column;
    }

    .btn-container .btn {
        object-fit: cover;
    }

    .logo-description {
        max-width: 100%;
    }

    .inquiry-container {
        width: 100%;
        padding: 10px;
    }

    .inquiry-container a .btn {
        width: 60%;
    }

    .list-flow ul {
        flex-basis: 100% !important;
        flex-direction: column;
    }

    .flow {
        padding-bottom: 10px;
    }

    .list-flow ul .col:nth-child(1) {
        padding-bottom: 50px;
    }

    .flow dl dt {
        font-size: 16px;
    }

    .flow dl dd img {
        width: 90% !important;
    }

    .footer-logo {
        max-width: 120px;
    }
}