@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root {
    --root-font-size: 16;
}

.fs12 {
    font-size: calc(12 / var(--root-font-size) * 1rem);
}

.fs13 {
    font-size: calc(13 / var(--root-font-size) * 1rem);
}

.fs14 {
    font-size: calc(14 / var(--root-font-size) * 1rem);
}

.fs16 {
    font-size: calc(16 / var(--root-font-size) * 1rem);
}

.fs18 {
    font-size: calc(18 / var(--root-font-size) * 1rem);
}

.fs24 {
    font-size: calc(24 / var(--root-font-size) * 1rem);
}

.fs28 {
    font-size: calc(28 / var(--root-font-size) * 1rem);
    font-weight: 700;
    position: relative;
    z-index: 100;
}

.fs115 {
    color: #e5e5e5;
    font-size: calc(115 / var(--root-font-size) * 1rem);
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    width: 35vw;
    position: absolute;
    bottom: 6vw;
    left: -7%;
    z-index: -10;
}

body {
    background-color: #ffffff;
    color: #444;
    font-family: 'Noto Sans JP', sans-serif;
}

.inner {
    width: 100%;
}

h2 {
    margin-bottom: 20px;
}

h2 span {
    display: block;
    margin-bottom: 7px;
}

.msg {
    font-size: 0.81rem;
    line-height: 2;
    width: 36.5vw;
}

/* Header */
#header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header nav li {
    position: relative;
}

#header nav li::before {
    content: attr(data-en);
    position: absolute;
    display: inline;
    padding-right: 5px;
    font-size: 14px;
    font-weight: 100;
    color: #000;
    top: -100%;
    left: 11%;
    text-align: center;
}

/* container */
#container .kv {
    position: relative;
    width: 100%;
}

video {
    height: auto;
    width: 100%;
}

.kv .catch {
    background-color: rgba(235, 234, 233, 0.6);
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 80%;
    transform: translateY(-50%);
    line-height: 2;
}

.heightLine-group5 {
    position: relative;
}

.heightLine-group5 a {
    border-radius: 13vw;
    background: #000000;
    color: #fff;
    display: block;
    font-size: 0.88rem;
    margin: 0 0;
    opacity: 1;
    padding: 12px 10px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -webkit-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
    margin-top: 20px;
    width: 350px;
}

.heightLine-group5::before {
    border-style: solid;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #ffffff;
    border-right: 0;
    bottom: 17px;
    content: "";
    position: absolute;
    left: 310px;
    width: 0;
    height: 0;
}

#company {
    background: #eeeeee no-repeat center center / cover;
    position: relative;
}

/* #company::before {
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */

#company .inner {
    position: relative;
    z-index: 1;
}

#company h2 {
    display: flex;
    justify-content: center;
}

.company-data {
    border-radius: 10px;
}

.concept .msg {
    margin: 0% 18% 0;
}

.company-data dl {
    display: flex;
    flex-wrap: wrap;
}

#contact {
    background-color: #fff;
}

table {
    width: 100%;
}

table th span {
    color: #ff2626;
}

table tr {
    display: flex;
    flex-wrap: wrap;
}

.submit {
    margin: 0 auto;
}

table td input,
table td textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
}

table th,
table td,
table td input,
table td textarea {
    width: 100%;
}

input[type="submit"] {
    background-color: #444;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    text-align: center;
}

/* Footer */
#footer {
    background: #000;
    color: #fff;
}

iframe {
    width: 100%;
}

#footer .end-box .address {
    color: #999;
}

#footer small {
    color: #fff;
}

#footer nav li::before {
    content: attr(data-en);
    position: absolute;
    display: inline;
    padding-right: 5px;
    font-size: 14px;
    font-weight: 100;
    color: #ffffff;
    top: -100%;
    left: 18%;
    text-align: center;
}

#footer nav li:nth-child(1)::before {
    left: 25% !important;
}

#footer nav li:last-child::before {
    left: 4% !important;
}




/* 767以上(PC) */
@media screen and (min-width: 768px) {
    .pc {
        display: block;
    }

    .sp {
        display: none;
    }

    .inner {
        max-width: 1160px;
        margin: 0 auto;
    }

    /* Header */
    #header {
        padding: 30px 0;
        transition: padding .3s linear;
        width: 100%;
    }

    #header.is-active {
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        padding: 20px 0 15px;
        width: 100%;
        z-index: 5;
    }

    #header .inner {
        /* max-width: 1440px;
        padding: 0 0%;
        margin: 0 0% 0 7%;
        width: 100%; */
        padding: 1px;
    }

    #header h1 {
        width: 8.5vw;
        /* margin-left: -11vw; */
        /* display: flex; */
        position: relative;
        left: -2vw;    
    }

    #header nav {
        width: 750px;
    }

    #header nav li:nth-child(1)::before {
        left: 25% !important;
    }

    #header nav li:last-child::before {
        left: 4% !important;
    }

    #header nav ul {
        display: flex;
        /* gap: 11%; */
        margin: 4% 0px 0vw;
        width: 100%;
        justify-content: space-around;
        position: relative;
        left: 2vh;
    }

    /* container */
    #container .kv {
        margin: 0 auto 150px;
        /* max-width: 1440px;
        padding: 0 3%; */
    }

    .kv .catch {
        padding: 50px 30px;
    }

    .fs115 {
        bottom: 62.5%;
        left: -7%;
    }

    .adjustment .fs115 {
        bottom: 62.5% !important;
        left: 12% !important;
        width: 30vw !important;
    }

    #company .fs115 {
        bottom: -45.5% !important;
        color: #bfbfbf;
        left: 0 !important;
        width: 100%;
    }

    .concept,
    .profesionals,
    .career {
        margin-bottom: 150px;
    }

    .concept .inner,
    .profesionals .inner,
    .career .inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .profesionals .inner,
    .career .inner {
        flex-direction: row-reverse;
    }

    .concept .pic,
    .profesionals .pic,
    .career .pic {
        width: 53.4%;
    }

    .concept section,
    .profesionals section,
    .career section {
        width: 35%;
    }

    .concept section {
        margin-top: 8%;
        margin-right: 11%;
    }

    .profesionals section {
        margin-left: 11%;
    }

    .career section {
        margin-left: 11%;
    }

    #company {
        padding: 150px 0;
    }

    #company h2 {
        margin-bottom: 50px;
        width: 100%;
        position: relative;
        left: 1px;
        /* margin: 0 auto 50px; */
        text-align: center;
    }

    #company .flex-pack {
        display: flex;
        align-items: center;
        gap: 0%;
        width: 100%;
        margin: 0 auto;
        /* display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 80vw;
        margin-left: -13%; */
    }

    #company .map {
        max-width: 580px;
        width: 50%;
    }

    .company-data {
        font-size: 1rem;
        padding: 50px;
        width: 60%;
    }

    .company-data dl:not(:last-of-type) {
        margin-bottom: 20px;
    }

    .company-data dt {
        width: 26%;
    }

    #contact {
        padding: 150px 0;
    }

    #contact .caution {
        margin-bottom: 50px;
    }

    #contact .inner {
        max-width: 1027px;
    }

    #company .inner {
        /* margin: 0 15%; */
        max-width: 1400px;
    }

    table tr {
        margin-bottom: 35px;
    }

    table th {
        margin-bottom: 10px;
    }

    table td input {
        padding: 10px;
    }

    input[type="submit"] {
        width: 300px;
        padding: 20px 0;
    }

    textarea {
        padding: 10px;
    }

    /* footer */
    #footer {
        padding: 95px 0 63px;
    }

    #footer .logo {
        margin-bottom: 4%;
        width: 18.7%;
    }

    #footer .top-box {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        margin-bottom: 50px;
    }

    #footer nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 33vw;
    }

    #footer nav li {
        position: relative;
    }

    #footer nav li::before {
        content: attr(data-en);
        position: absolute;
        display: inline;
        padding-right: 5px;
        font-size: 13px;
        font-weight: 100;
        color: #fff;
        top: -100%;
        left: 0%;
        text-align: center;
    }

    #footer .end-box {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row-reverse;
        align-items: flex-end;
    }

    #footer .end-box .address {
        border-top: 2px solid #999;
        line-height: 2;
        padding: 40px 5px 0;
    }
}

/* 767以下(SP) */
@media screen and (max-width: 767px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .wrap {
        position: relative;
        overflow: hidden;
    }

    .inner {
        padding-left: 3%;
        padding-right: 3%;
    }

    /* Header */
    #header {
        padding: 20px 3% 15px;
    }


    #header .inner {
        gap: 39vw;
    }

    #header h1 {
        width: 40%;
        transition: width .3s linear;
    }

    #header .button span {
        background-color: #444;
        border-radius: 2px;
        display: block;
        height: 1px;
        width: 26px;
        transform: translateY(0) rotate(0);
        transition: transform .1s linear;
    }

    #header .button span:nth-child(n+1) {
        margin-bottom: 5px;
    }

    #header .button.on span:nth-child(2) {
        display: none;
    }

    #header nav {
        background-color: #ebeae9;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        padding: 20% 10% 10%;
        width: 100%;
        z-index: 10;
        transform: translateX(100%);
        transition: transform .2s linear;
    }

    #header nav.view {
        transform: translateX(0);
    }

    #header nav li {
        border-bottom: 1px solid #444;
        margin-bottom: 20px;
    }

    #header nav li a {
        display: block;
        padding-bottom: 20px;
        padding-left: 24vw;
    }

    #header nav li::before {
        position: absolute;
        left: 0;
        top: 0;
    }

    #header img {
        width: 23vw;
    }

    #header .humburger {
        position: relative;
        z-index: 20;
        margin-top: 2.5vw;
    }

    #header.is-active {
        background-color: rgba(255, 255, 255, 0.8);
        padding-top: 10px;
        padding-bottom: 5px;
        position: fixed;
        width: 100%;
        z-index: 10;
    }

    #header.is-active h1 {
        width: 25%;
    }

    #header .button.on span:first-of-type {
        transform: translateY(3px) rotate(45deg);
    }

    #header .button.on span:last-of-type {
        transform: translateY(-3px) rotate(-45deg);
    }

    /* container */
    .kv {
        margin-bottom: 60px;
    }

    .kv video {
        display: block;
        margin: 0 0 0 auto;
        /* width: 88%; */
    }

    .kv .catch {
        font-size: 1rem;
        line-height: 1.4;
        padding: 2% 6%;
        top: 70%;
    }

    .fade {
        margin-top: 18%;
    }

    .fs115 {
        bottom: 52.5vw;
        font-size: calc(77 / var(--root-font-size) * 1rem) !important;
        left: 12%;
        width: 100%;
    }


    .concept .fs115 {
        bottom: 22.5vw;
        font-size: calc(77 / var(--root-font-size) * 1rem) !important;
        left: 21%;
    }

    .adjustment .fs115 {
        top: -18.5vw !important;
        left: 25% !important;
    }

    #company .fs115 {
        top: -10vw !important;
        color: #bfbfbf;
        left: 18vw !important;
    }

    .msg {
        margin-bottom: 40px;
        width: 58.5vw !important;
    }

    .heightLine-group5 a {
        border-radius: 13vw;
        flex: 1.5rem;
        font-size: 1.08rem !important;
        padding: 4px 10px;
        text-align: center;
        text-decoration: none;
        text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
        margin-top: -5%;
        margin-bottom: 6%;
        width: 90vw !important;
    }

    .heightLine-group5::before {
        border-style: solid;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 4px solid #ffffff;
        border-right: 0;
        bottom: 0.8vw;
        content: "";
        position: absolute;
        left: 85.5vw;
        top: -2vw;
        width: 0;
        height: 0;
    }

    .concept .msg {
        margin: 0% 32% 0;
    }

    .concept,
    .profesionals,
    .career {
        margin-bottom: 60px;
        margin-top: -10vw;
    }

    .concept .inner,
    .profesionals .inner,
    .career .inner {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    #company {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .company-data {
        padding: 15px 3%;
        margin-bottom: 40px;
    }

    .company-data dl:not(:last-of-type) {
        margin-bottom: 20px;
    }

    .company-data dt {
        width: 24%;
    }

    #company .inner {
        padding-top: 12%;
    }

    #company .map iframe {
        height: auto;
    }

    #contact {
        padding: 60px 0;
    }

    #contact .caution {
        font-size: 0.88rem;
        margin-bottom: 15px;
    }

    table tr {
        margin-bottom: 25px;
    }

    table th {
        margin-bottom: 10px;
    }

    table input,
    textarea {
        padding: 10px;
    }

    input[type="submit"] {
        font-size: 1rem;
        padding: 20px;
        width: 80%;
    }

    /* footer */
    #footer {
        padding: 60px 0 35px;
    }

    #footer .logo {
        margin-bottom: 15px;
        width: 40%;
    }

    #footer .address p {
        font-size: .88rem;
    }

    #footer .address {
        margin-bottom: 40px;
    }

    #footer nav li {
        font-size: calc(13 / var(--root-font-size) * 1rem);
        margin-left: 1%;
        padding-bottom: 7%;
        position: relative;
    }

    #footer .tell {
        padding-top: 5%;
    }

    #footer small {
        font-size: .63rem;
    }
}

.pic {
    position: relative;
}

.pic .bg {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    /* background-color: #ebeae9;; */
    height: 100%;
    width: 100%;
    z-index: 1;
}

.fade {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
}

.company-data,
.map {
    position: relative;
}

@media screen and (min-width: 768px) {
    .char {
        transform: translateY(100px);
        transition: transfrom 0.5s;
    }

    .catch {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        line-height: 1;
    }
}

@media screen and (max-width: 767px) {
    .pic .bg {
        display: none;
    }

}