@charset "utf-8";
/* common font */
.casio-color {
    color: var(--casio-blue-color);
}
/* title */
/* h1 */
#sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* h2 */
[id$="title"] {
    margin: 0 auto 20px;
    pointer-events: none;
}
[id$="title"] .sub-title {
    font-weight: bold;
    border: solid 3px var(--casio-blue-color);
    border-radius: 28px;
    padding: 10px 60px;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    transform: translateY(-30px);
    background-color: #ffffff;
    font-size: min(4vw, 20px) !important;
}
[id$="title"] h2 {
    padding: 0;
}
#about-us__title {
    width: 90%;
}
#work__title {
    width: 80%;
    min-width: 50%;
}
#person__title {
    width: 90%;
    margin: 0 auto;
}
#info__title {
    width: 100%;
}
/* kv */
#kv-wrapper {
    background-color: var(--casio-blue-color);
}
#kv {
    position: relative;
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    pointer-events: none;
}
#kv .carousel {
    mask-image: url(/content/dam/casio/global/corporate/saiyou/recruit/img/kv-mask.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: auto 97%;
    -webkit-mask-image: url(/content/dam/casio/global/corporate/saiyou/recruit/img/kv-mask.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: auto 97%;
}
#tagline {
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    z-index: 2;
    width: 50%;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
}
#lead {
    text-align: center;
}
#lead .lead {
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
}
#lead .lead p {
    color: #ffffff;
    margin-bottom: .8em;
}
/* about-us */
#youtube-thumb {
    width: 80%;
    margin: 0 auto 50px;
}
#about-us #about-us__layout-row-wrap {
    margin: 50px auto 0 auto;
}
#about-us #about-us__layout-row-wrap > .aem-Grid > .container {
    width: calc(50% - 5px);
    margin-bottom: 10px;
}
#about-us #about-us__layout-row-wrap > .aem-Grid > .container:nth-child(2n-1) {
    margin-right: 10px;
}
#about-us .about-us-contents-grp {
    display: grid;
    grid-template-rows: 50% 1fr;
    grid-template-columns: 30% 1fr;
    gap: 20px;
}
#about-us .purpose {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}
#about-us .history {
    grid-row: 1 / 2;
    grid-column: 2 / 4;
}
#about-us .business {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}
#about-us .profile {
    grid-row: 2 / 3;
    grid-column: 3 / 4;
}
#about-us div:has(>.about-us-content) {
    height: 100%;
}
#about-us .about-us-content {
    background: var(--light-blue-color);
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px;
    border: solid 3px var(--casio-blue-color);
    text-decoration: none !important;
    padding: 10px 30px;
    height: 100%;
}
#about-us .purpose .about-us-content__text {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#about-us .business .about-us-content__text {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#about-us .about-us-contents-title {
    font-size: min(5vw, 50px) !important;
    text-align: center;
    font-weight: bold;
    color: var(--casio-blue-color);
}
#about-us .business .about-us-contents-title {
    font-size: min(5vw, 30px) !important;
    writing-mode: vertical-rl;
    margin-bottom: 1rem;
}
#about-us .profile .about-us-contents-title {
    font-size: min(5vw, 30px) !important;
    color: #ffffff;
}
#about-us .about-us-contents-grp img {
    max-width: 250px;
    width: 90%;
    transition: .3s ease-out;
}
#about-us .about-us-contents-grp li:hover img {
    transform: scale(1.08);
}
#about-us .about-us-contents-grp .more {
    position: relative;
    font-size: min(3.0vw, 18px) !important;
    display: inline-block;
    padding-right: 20px;
    font-weight: bold;
    color: var(--casio-blue-color);
    padding-bottom: 5px;
}
#about-us .about-us-contents-grp .more::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(calc(-50% - 2.5px));
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent var(--casio-blue-color);
}
/*hover*/
#about-us .about-us-contents-grp .more::before {
    background: var(--casio-blue-color);
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s ease-out;
}
#about-us .about-us-contents-grp .profile:hover .more::before {
    background: #ffffff;
}
#about-us .about-us-contents-grp li:hover .more::before {
    transform-origin: left top;
    transform: scale(1, 1);
}
#about-us .profile .more {
    color: #ffffff;
    margin-top: 1rem;
}
#about-us .profile .more::after {
    border-color: transparent transparent transparent #ffffff;
}
#about-us .history .about-us-content {
    display: flex;
    flex-direction: row;
}
#about-us .business .about-us-content {
    height: 100%;
    display: flex;
    flex-direction: row;
}
#about-us .business .about-us-content img {
    max-width: 240px;
}
#about-us .profile .about-us-content {
    gap: 10px;
    background: var(--casio-blue-color);
    padding: 30px 20px;
}
#about-us .profile img {
    width: 60%;
}
/* work */
#work {
    background-color: #f0f3f9;
}
#work__layout-row1 {
    border: solid 3px var(--casio-blue-color);
    border-radius: 20px;
    background-color: #ffffff;
    margin-bottom: 50px;
}
#work__layout-row1 p {
    font-weight: bold;
    margin-bottom: 1rem;
}
#work__layout-row1 .title {
    font-size: min(7.0vw, 30px);
}
#work__layout-row1 > .aem-Grid {
    display: flex;
    align-items: center;
}
#work__layout-row1 > .aem-Grid > .container:nth-child(1) {
    padding: 20px 20px 20px 40px;
}
#work__layout-row1 > .aem-Grid > .container:nth-child(2) {
    padding-right: 20px;
}
#work__layout-row2 > .aem-Grid > .container {
    border: solid 3px var(--casio-blue-color);
    border-radius: 20px;
    overflow: hidden;
}
#work__layout-row2 .more {
    position: relative;
    font-size: min(4vw, 18px) !important;
    display: inline-block;
    padding-right: 20px;
}
#work__layout-row2 .more::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #ffffff;
}
#work__layout-row2 > .aem-Grid > .container + .container {
    margin-left: 20px;
}
#work__layout-row2 > .aem-Grid > .container > .switch-container > .cmp-container > .aem-Grid {
    position: relative;
}
#work__layout-row2 > .aem-Grid > .container > .switch-container > .cmp-container > .aem-Grid > .image {
    position: relative;
    transition: .3s ease-out;
    transform: scale(1.01);
}
#work__layout-row2 > .aem-Grid > .container > .switch-container > .cmp-container > .aem-Grid > .image::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0) 90%);
    pointer-events: none;
}
#work__layout-row2 > .aem-Grid > .container > .switch-container > .cmp-container > .aem-Grid > .text {
    position: absolute;
    bottom: min(5vw, 30px);
    text-align: center;
    pointer-events: none;
}
#work__layout-row2 > .aem-Grid > .container > .switch-container > .cmp-container > .aem-Grid > .text p {
    color: #ffffff;
    font-size: min(4.5vw, 30px);
    font-weight: bold;
    margin: 0;
}
#work__layout-row2 > .aem-Grid > .container > .switch-container > .cmp-container > .aem-Grid > .image:hover {
    transform: scale(1.1);
}
/* person */
#person__worker {
    transform: translateY(-50px);
}
#person__layout-row {
    width: 95%;
    margin: 0 auto;
}
#person__layout-row p {
    font-size: min(4.5vw, 22px);
    font-weight: bold;
}
#person__layout-row > .aem-Grid > .container:nth-child(2) {
    text-align: right;
}
/* info */
#info {
    background-color: var(--casio-blue-color);
}
#info__layout-row {
    width: 70%;
    margin: 0 auto;
}
#info__layout-row p {
    font-size: min(4.5vw, 30px);
    font-weight: bold;
    position: relative;
    padding-right: 1em;
}
#info__layout-row p::after {
    position: absolute;
    content: "";
    width: 50px;
    top: 50%;
    right: .5em;
    transform: translateY(-50%);
    aspect-ratio: 1;
    display: inline-block;
    background-image: url(/content/dam/casio/global/corporate/saiyou/recruit/img/icon-arrow.svg);
}
#info .info-contents {
    margin: 10px;
    overflow: hidden;
    text-align: center;
    background: #ffffff;
}
#info .info-contents a{
padding: 40px 60px;
    display: inline-block;
    text-decoration: none;
}
#info .info-contents img {
    width: 100%;
    transition: .3s ease-out;
    padding-bottom: 40px;	
}
#info .info-contents:hover img {
    transform: scale(1.1);
}
@media (max-width: 1060px) {
    /*#about-us*/
    #about-us .about-us-contents-grp {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }
    #about-us .about-us-content {
        border-width: 2px;
    }
    #about-us .purpose {
        grid-area: 1 / 1 / 2 / 2;
    }
    #about-us .history {
        grid-area: 1 / 2 / 2 / 3;
    }
    #about-us .business {
        grid-area: 2 / 1 / 3 / 2;
    }
    #about-us .profile {
        grid-area: 2 / 2 / 3 / 3;
    }
    #about-us .about-us-contents-grp img {
        width: 100%;
    }
    #about-us .about-us-contents-grp .more::after {
        border-width: 6px 0 6px 9px;
    }
    #about-us .about-us-contents-grp .about-us-content {
        display: flex;
        flex-direction: column !important;
        gap: 10px;
        padding: 10px 30px;
    }
    #about-us .business .about-us-contents-title {
        writing-mode: horizontal-tb;
        margin-bottom: 0rem;
    }
    #about-us .profile .more {
        margin-top: 0;
    }
}
@media (max-width: 767px) {
    [id$="title"] {
        margin: 0 auto 5vw;
    }
    [id$="title"] .sub-title {
        transform: translateY(-3vw);
        padding: 1vw 6vw;
        border-width: 2px;
    }
    /*KV*/
    #kv .carousel {
        mask-image: url("/content/dam/casio/global/corporate/saiyou/recruit/img/kv-mask-sp.svg");
        -webkit-mask-image: url("/content/dam/casio/global/corporate/saiyou/recruit/img/kv-mask-sp.svg");
    }
    #tagline {
        position: absolute;
        top: 90%;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
    }
    /*lead*/
    #lead .lead {
        margin: 20vw auto 10vw;
    }
    /*#about-us*/
    #about-us__title {
        width: 100%;
    }
    #youtube-thumb {
        width: 100%;
    }
    /*#work*/
    #work__layout-row1 {
        text-align: center;
        border-width: 2px;
    }
    #work__layout-row1 > .aem-Grid {
        display: flex;
        flex-direction: column-reverse;
    }
    #work__layout-row1 > .aem-Grid > .container:nth-child(1) {
        padding: 8vw 5vw;
    }
    #work__layout-row1 > .aem-Grid > .container:nth-child(2) {
        padding: 0vw 5vw;
    }
    #work__layout-row1 .title {
        margin-bottom: 5px;
    }
    #work__layout-row2 > .aem-Grid {
        display: flex;
        flex-direction: column;
    }
    #work__layout-row2 > .aem-Grid > .container {
        border-width: 2px;
    }
    #work__layout-row2 > .aem-Grid > .container + .container {
        margin-left: 0px;
        margin-top: 10px;
    }
    #work__layout-row2 > .aem-Grid > .container > .switch-container > .cmp-container > .aem-Grid > .image::after {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0) 90%);
    }
    #work__layout-row2 > .aem-Grid > .container > .switch-container > .cmp-container > .aem-Grid > .image::after {
        background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0) 90%);
    }
    #work__layout-row2 > .aem-Grid > .container:nth-child(2n) > .switch-container > .cmp-container > .aem-Grid > .image::after {
        background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0) 90%);
    }
    #work__layout-row2 > .aem-Grid > .container > .switch-container > .cmp-container > .aem-Grid > .text {
        width: fit-content;
        padding: 20px;
        bottom: 50%;
        transform: translateY(50%);
    }
    #work__layout-row2 > .aem-Grid > .container:nth-child(2) > .switch-container > .cmp-container > .aem-Grid > .text {
        right: 0px;
    }
    /* person */
    #person__worker {
        transform: translateY(-2vw);
    }
    #person__layout-row p {
        text-align: center;
        font-weight: bold;
        margin-bottom: 1rem;
    }
    #person__layout-row > .aem-Grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    #person__layout-row > .aem-Grid > .container:nth-child(2) {
        text-align: center;
    }
    /* info */
    #info__layout-row {
        width: 100%;
    }
    #info__layout-row p::after {
        right: 0;
        width: 20px;
    }
    #info__layout-row > .aem-Grid > .container {
        padding: 10px 20px;
    }
    #info__layout-row > .aem-Grid > .container img {
        transition: .3s ease-out;
        padding-bottom: 20px;
    }
}