section.about-company {
    background-image: url("/static/images/index_page/tokyo_office\ \(3\)-min.jpg");
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    place-content: center;
    height: calc(100vh - var(--header-height));
    max-width: 100vw;
    position: relative;
    background-size: cover;
    overflow: hidden;
}

/* div.about img {
    position: absolute;
    top: 0;
    right: 0;
} */

section.about-company .description {
    padding: .5rem;
    backdrop-filter: blur(3px);
    border-radius: 1rem;
    color: var(--header-bg);
}

.description h1 {
    font-size: 3rem;
    text-align: center;
}

section.about-company .emphasis {
    --size: 4rem;
    color: var(--primary);
    font-size: var(--size);
    display: inline-block;
    width: calc(var(--size) * 3);
}

html:not([lang="ja"]) section.about-company .emphasis {
    width: calc(var(--size) * 5);
}

/* Rotating text styles */
.word {
    position: absolute;
    top: 0;
    opacity: 0;
    transform: translate(-50%, -10%);
}

.letter {
    display: inline-block;
    transform: translateZ(25px);
    transform-origin: 50% 50% 25px;
}

.letter.out {
    transform: rotateX(90deg);

    transition: transform 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.letter.behind {
    transform: rotateX(-90deg);
}

.letter.in {
    transform: rotateX(0deg);
    transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-company .info {
    --size: 12rem;

    display: grid;
    place-content: center;
    text-align: center;
    backdrop-filter: blur(3px);
    color: white;
    border-radius: 50%;
    padding: 1rem;
    width: var(--size);
    height: var(--size);
    position: absolute;
    animation: move_around 25s ease-in-out infinite;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}

.info.left {
    left: calc(var(--size) * .4);
    top: calc(var(--size) * .4);
    animation-direction: reverse;
}

.info.right {
    right: calc(var(--size) * .3);
    bottom: calc(var(--size) * .3);
    animation-delay: 1s;
    animation-timing-function: ease;
    animation-direction: alternate-reverse;
}

.info.top {
    right: calc(var(--size) * .66);
    top: calc(var(--size) * .42);
    animation-delay: .5s;
}

.info.bottom {
    left: calc(var(--size) * 1.6);
    bottom: calc(var(--size) * .3);
    animation-delay: 1s;
    animation-direction: normal;
}

@keyframes move_around {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(2rem, -2rem);
    }

    50% {
        transform: translate(0, 0);
    }

    75% {
        transform: translate(1rem, 2rem);
    }

    100% {
        transform: translate(0, 0);
    }
}

section.mission {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
    margin: 0;
}

.infocardContainer {
    display: flex;
    height: 40vh;
    width: 30vw;
    border-radius: 100px;
    background: rgb(241, 225, 0);
    background: linear-gradient(121deg, #c59700fb 13%, rgb(253, 224, 61) 100%);
    transition: all 500ms ease-in;
    transition-delay: 1s;
    margin: auto;
    margin-top: 100px;
    --margin-top: 100px;
    overflow: hidden;
}

.infocardContainer:hover {
    width: 500px;
    border-radius: 100px 10px 100px 100px;
    transition: all 1s ease-out;
}

.infocardContainer p {
    overflow: hidden;
}

.infocardContainer div {
    flex-shrink: 1;
    width: 100%;
    --background-color: green;
}

.infocardContainer div * {
    display: flex;
    --flex: inherit;
    overflow: hidden;
    text-overflow: hidden;
    --background-color: rgba(255, 153, 0, 0.774);
    color: white;
    white-space: nowrap;
    width: 0;
    height: auto;
    transition: all 450ms ease-in;
    transition-delay: 1s;
}

.infocardContainer:hover div * {
    display: flex;
    visibility: visible;
    transition: all 1s ease-out;
    transition-delay: 500ms;
    width: 100%;
    height: auto;
}

.infocardContainer #main,
.infocardContainer #main h1 {
    text-align: center;
    font-size: 2em;
    color: var(--primary);
    display: contents;
}

.infocardContainer #textbois {
    position: relative;
    padding: 2em 0;
}

.infocardContainer #textbois #hotlinks {
    max-width: 60%;
    max-height: 30px;
    position: absolute;
    bottom: 5px;
    display: flex;
    justify-content: space-between;
    border-radius: 13px;
}

.infocardContainer #textbois #hotlinks * {
    background-color: white;
    max-width: 30px;
    --margin: 0 1px 0 1px;
    border-radius: 25px;
}

section.vision-mission {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    align-items: center;
    gap: 2rem;
    margin: 4rem var(--content-start);
    position: relative;
}

.lines {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-80%, -50%);
    z-index: -1;
}

.group-image img {
    max-width: 100%;
    position: relative;
    /* right: -3em; */
    /* top: 11em; */
    border-radius: 10px;
    box-shadow: 0 1rem 2rem hsl(0 0% 0% / 20%);

}

.title {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about h2 {
    margin: 1rem 0;
    font-size: 1.8rem;
}

.about p,
.about li {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1.2rem;
}

.about li {
    list-style: circle inside;
}


/*** Company data ****/
.container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    color: var(--asterone-black);
}

.container .title {
    text-align: center;
}

.responsive-table li.row {
    padding: 2rem 1rem;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

html:not([lang="ja"]) .responsive-table li.row {
    gap: 1rem;
    flex-wrap: nowrap
}

.row:hover,
.row:focus {
    background-color: rgba(0, 0, 0, 0.03);
}

.col-2 {
    flex-basis: 30%;
    font-weight: bold;
    font-size: 1.2em;

    color: var(--asterone-black);
}

.col-4 {
    flex-basis: 70%;
}

.address-container {
    display: flex;
    flex-wrap: wrap;
    /* flex-flow: wrap; */
    gap: 1rem;
}

.address {
    margin-bottom: 1rem;
}

.tel-fax {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.tel-fax i {
    margin-right: .5rem;
}

address a {
    color: var(--black-light);
}

/* Company data */
section.company-data {
    display: flex;
    position: relative;
    overflow: hidden;
    padding: 2rem var(--content-start);
}

section.company-data .map {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.backdrop {
    position: absolute;
    right: -5%;
    bottom: 0;
    transition: all 0.5s ease-in-out;
    animation: rotate-backdrop 20s linear infinite;
    z-index: -1;
}

.backdrop svg {
    width: 10rem;
}

@keyframes rotate-backdrop {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}