
/*********
fv
**********/
.fv {
    display: grid;
    grid-template-areas: 
    "b b"
    "a c";
    width: calc(100% + 40px);
    margin-left: -20px;
}

.fv .about {
    grid-area: a;
}

.fv hgroup {
    grid-area: b;
    margin: 0 0 10px 20px;
}

.fv .tools {
    grid-area: c;
}

@media(min-width:640px){
    .fv {
        display: grid;
        grid-template-areas: 
        "a b c";
        grid-template-columns:  repeat(3, 1fr);
        width: 100%;
        margin: 0 auto;
        gap: 8px;
    }

    .fv hgroup {
        margin: 0 auto;
        width: fit-content;
    }
}

/*************
message
*************/
.message-inner .president {
    max-width: 400px;
    margin: 0 auto;
}

.message-inner .sign-area {
    max-width: 240px;
    margin: 0 0 0 auto;
}

.message-inner .sign-area p {
    margin: 1em 0 4px;
}

@media(min-width:640px){
    .message-inner {
        display: grid;
        grid-template-areas: 
        "first second "
        "first second "
        "first third";
        grid-template-columns:1fr 1fr;
        align-items: center;
        gap: 8px 20px;
    }

    .message-inner .president {
        grid-area: first;
    }

    .message-inner p {
        grid-area: second;
    }

    .message-inner .sign {
        grid-area: third;
    }
}
/**********
cv
**********/
.cv-inner {
    max-width: 900px;
    margin: 0 auto;
}

.cv li:not(.cv-content) {
    transition: opacity 2s ease-in;
    opacity: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
    margin: 0 -20px;
    background: url(../foot-img.png);
    background-color: rgba(255,255,255, 0.6);
    background-blend-mode: overlay;
    width: calc(100% + 40px);
    box-sizing: border-box;
    scroll-margin-top: 180px;
}

.cv > ul > li:not(.cv-content).active {
    opacity: 1;
    height: auto;
    overflow: visible;
    padding: 20px;
    border-top: #333 solid 2px;
    border-bottom: #333 solid 2px;
    margin-top: 4em;
    margin-bottom: 4em;
}

.cv > ul > li h3 {
    color: #fff;
    background-color: #333;
    border-right: #1993C9 4px solid;
    width: fit-content;
    padding: 6px;
    margin-top: -40px;
}

.cv li .technology {
    background-color: #9FE0FD;
    padding: 18px 10px;
    margin-bottom: 1em;
}

.cv li .technology h4 {
    text-align: center;
    font-weight: 500;
}

.cv li .technology h4 mark {
    background: linear-gradient(transparent 60%,rgba(255,255,255,0.8) 40%);
}

.cv li .technology p {
    font-size: 12px;
    font-weight: 400;
    color: #000;
}

.cv li.cv-content {
    width: calc(100% + 20px);
    margin: 0 -10px 10px;
    padding: 0 10px;
    box-sizing: border-box;
}

.cv li.cv-content:not(:last-child) {
    border-bottom: #707070 1PX solid;
}

.cv .cv-content .catch {
    font-size: clamp(18px,3.5vw,28px);
    margin: 0;
    font-weight: bold;
}

.cv li.cv-content hgroup {
    margin: 0;
}

.cv li.cv-content hgroup h4,.cv #value .cv-content h4 {
    font-size: clamp(18px,3vw,22px);
    color: #1993C9;
    margin: 0;
}

.cv li.cv-content hgroup h4::before,.cv #value .cv-content h4::before {
    content: "●";
}

.cv li.cv-content hgroup p {
    margin: 4px 0;
    font-weight: 500;
    font-size: clamp(22px,3.5vw,28px);
    color: #000;
}

.cv li.cv-content > p {
    color: #000;
}

.cv .btns {
    display: flex;
    justify-content: space-between;
    margin: 1.5em -20px;
    width: calc(100% + 40px);
}

.cv .btns .btn-1 {
    border: none;
}

.cv .btns .btn-1:first-child {
    flex-direction: row-reverse;
}

.cv .btns .btn-1:first-child::after {
    rotate: 180deg;
}

@media(min-width:640px){
    .cv li:not(.cv-content) {
        margin: 0 auto;
        width: min(100%, 1000px);
    }

    .cv .cv-content {
        display: flex;
        gap: 20px;
    }

    .cv .cv-content > .catch,.cv .cv-content > h4 {
        flex: 2;
    }

    .cv .cv-content > hgroup {
        flex: 2;
        margin: 0;
    }

    .cv .cv-content > p,.cv .cv-content .text {
        flex: 3;
        margin-top: 0;
    }

    .cv .cv-content > .text p {
        margin-top: 0;
    }
}

/** footer-img **/
.next-page {
    background: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)), url(recruit.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    align-items: flex-start;
}
