@charset "UFT-8";

* {
    margin: 0;
    padding: 0;
}

:root {
    --main-color: #004FA4;
    --bg-color: #ECECEC;
    --accent-color: #AAAB;
    --txt-color: #3A3C42;
    --main-gutter: 80px;
}

/* commmon */
body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: .1em;
    box-sizing: border-box;
    color: var(--txt-color);
}

.hamburger {
    display: none;
}

h2 {
    font-family: "Crimson Text", serif;
    opacity: 0.3;
    font-size: 213px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

.swiper {
    width: 100%;
    height: 100vh;
}

.swiper {
    transition-timing-function: linear;
}

.swsl3 {
    display: flex;
    justify-content: center;
    /* 中央揃え */
    align-items: end;
    /* swiper-slide の高さを明示的に指定する必要があるかもしれません */
}

.swsl3 img {
    /* 必要に応じて画像のサイズを調整 */
}

.d-none {
    display: none;
}

.gradient-text {
    background: -webkit-linear-gradient(left, #004FA4, #00A46A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.gradient-text.no-gradient {
    background: none;
    -webkit-text-fill-color: white;
    color: white;
}

.flex {
    display: flex;
}

/* header */
#header {
    display: flex;
    height: 80px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 100;
    background-color: #fff;
}

#header .logo {
    width: 250px;
    margin-left: 24px;
}

#header .logo img {
    object-fit: contain;
    width: 100%;
}

.header-list ul {
    display: flex;
    margin-right: 24px;
}

.header-list ul li {
    margin-right: 24px;
    padding-bottom: 4px;
    position: relative;
}

.header-list li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background-color: black;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -4px;
    transition: width 0.3s ease;
}

.header-list li:hover::after {
    width: 50px;
}

.hum-container {
    display: none;
}

/* KV */
#KV {
    position: relative;
    width: 100%;
}

#KV .KV-txt {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 64px;
    width: 100%;
    text-align: center;
}

#KV span {
    font-size: 90px;
}

/* ヘッダー */
.header__inner {
    width: 300px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    position: relative;
}

.header__title {
    width: 250px;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    padding: 0;
}

.header__title img {
    display: block;
    object-fit: contain;
    width: 100%;
}

.header__nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: blue;
    transition: ease .4s;
}

.nav-items {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
}

.nav-items__item a {
    color: #fff;
    width: 180px;
    display: block;
    text-align: center;
    font-size: 16px;
    margin-bottom: 24px;
}

.nav-items__item:last-child a {
    margin-bottom: 0;
}

/* ハンバーガーメニュー */
.header__hamburger {
    width: 32px;
    position: absolute;
    top: 32px;
    right: 24px;
}

.hamburger {
    background-color: transparent;
    border-color: transparent;
}

.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: ease .4s;
    display: block;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    margin: 8px 0;
}

.hamburger span:nth-child(3) {
    top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
    transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
    background-color: #fff;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
    background-color: #fff;
}

.hum-container {
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0px;
}

main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* アバウト */
#about {
    width: 100%;
    display: flex;
    margin-top: 60px;
}

.title-ja {
    font-size: 48px;
    font-weight: 800;
    opacity: 0.7;
    margin-top: -100px;
    margin-left: 48px;
}

.t-52 {
    font-size: 58px;
}

.t-43 {
    font-size: 40px;
}

#about .txt {
    width: 350px;
    margin-left: 80px;
    margin-top: 30px;
    line-height: 2em;
    font-size: 20px
}

#about .about-img {
    margin-left: -500px;
    width: 80%;
    max-width: 1120px;
    z-index: -1;
}

#about .about-img img {
    width: 100%;
    object-fit: cover;
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 70% 100%, 0% 100%);
}

/* サービス */
#service {
    background-image: url(images/service.webp);
    background-repeat: no-repeat;
    width: 100%;
    height: 90vh;
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 60px;
}

#service .sec-title h2.gradient-text {
    color: #fff;
}


#service .sec-title {
    position: absolute;
    right: 0;
    top: -64px;
}

#service .title-ja {
    opacity: 1;
}


#service .line {
    /* border-top: 1px solid white;
    border-bottom: 1px solid white; */
    padding: 32px 0px;
    width: 80%;
    margin: 64px auto 0px auto;
    text-align: center;
}

#service .line p {
    font-size: 24px;
    line-height: 1.7em;
}


#service p.t-32 {
    font-size: 26px;
    margin: 24px 0px;
    border-bottom: 1px solid #fff;
    display: inline-block;
}

/* ワーク */
#works .w-container {
    width: 1024px;
    margin: var(--main-gutter) auto;
    gap: 24px;
}

#works .w-content {
    width: 352px;
    height: 336px;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 24px;
}

#works .w-sec-title {
    font-size: 20px;
    font-weight: bold;
}

#works .w-img {
    width: 290px;
    height: 200px;
}

#works .w-img img {
    width: 100%;
    height: 100%;
}

#works p.category {
    font-size: 18px;
    padding: 4px 16px;
    margin-top: 16px;
    background-color: var(--main-color);
    color: #fff;
    width: 90px;
    text-align: center;
}

#works .w-line {
    width: 80%;
    border: 1px solid var(--main-color);
    margin: 0 auto;
}

#works .w-d-container {
    width: 1024px;
    margin: var(--main-gutter) auto;
    gap: 24px;
}

#works .w-d-content {
    width: 344px;
    height: 330px;
    position: relative;
    display: flex;
    align-items: center;
}

#works .item {
    font-weight: bold;
    font-size: 22px;
}

#works .b-blue {
    border: 9px solid rgba(0, 79, 164, 0.2);
}

#works .p-blue {
    border: 9px solid rgba(230, 123, 151, 0.2);
}

#works .g-blue {
    border: 9px solid rgba(87, 157, 32, 0.2);
}

#works .w-d-title {
    font-weight: bold;
    font-size: 24px;
    padding: 8px 0px;
    width: 200px;
    color: #fff;
    border-radius: 57px;
    text-align: center;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);

}

#works .blue {
    background-color: #035093;
}

#works .pink {
    background-color: #E67B97;
}

#works .green {
    background-color: #579D20;
}

#works .w-d-list {
    margin-left: 24px;

}

/* 採用情報 */
#recruit {
    width: 960px;
    margin: 0 auto;
}

#recruit .sec2-title {
    text-align: center;
    font-size: 30px;
}

#recruit .sec-line {
    width: 100px;
    height: 3px;
    background-color: var(--main-color);
    margin: 0 auto;
    margin-top: 10px;
}

#recruit .r-title {
    font-weight: bold;
    font-size: 24px;
    margin-top: 48px;
}

#recruit table {
    border: 1px solid var(--accent-color);
    border-collapse: collapse;
}

#recruit table tr:first-of-type {
    background: var(--bg-color);
    width: 100%;
    border-bottom: 1px solid var(--accent-color);
}

#recruit table th {
    font-weight: normal;
}

#recruit table tr {
    display: inline-block;
    padding: 16px 0;
}

#recruit .bold {
    width: 213px;
    font-weight: bold;
    text-align: center;
}

#recruit .mediam {
    width: 670px;
    text-align-last: left;
}

#recruit .recruit-line {
    margin: 25px
}

/* 会社概要 */
#company {
    background-color: var(--main-color);
    padding: 80px 0;
    margin-top: 80px;
    width: 100%;
}

#company .sec2-title {
    text-align: center;
    font-size: 30px;
    color: #fff;
}

#company .sec-line {
    width: 100px;
    height: 3px;
    background-color: #fff;
    margin: 0 auto;
    margin-top: 10px;
}

#company table {
    color: #fff;
    margin: 48px auto 0px auto;
}

#company table tr {
    border-bottom: 1px solid #fff;
    display: block;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

#company table tr td:first-of-type {
    width: 150px;
}

footer {
    margin-top: 80px;
    padding: 48px 0 80px 0px;
    background-color: var(--txt-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

footer .f-logo {
    width: 355px;

}

footer .f-logo img {
    width: 100%;
    object-fit: contain;
}

footer .f-list {
    display: flex;
    margin-top: 24px;
}

footer .f-list .item {
    margin-right: 24px;
}

footer small {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* レスポンシブ */
@media screen and (max-width: 1042px) {
    .header-list ul li {
        font-size: 14px;
    }

    #works .w-container {
        width: 90%;
        gap: 24px;
    }

    #works .w-content {
        width: 30%;
    }

    #works .w-img {
        width: 100%;
    }

    #works .w-d-container {
        width: 90%;
    }

    #works .item {
        font-size: 20px;
    }

    h2 {
        font-size: 130px;
    }

    #about .about-img {
        margin-left: -300px;
        width: 80%;
        max-width: 1120px;
        z-index: -1;
    }

    #about .txt {
        margin-left: 40px;
        width: 350px;
    }

    .d-none {
        display: none;
    }

    #service .sec-title {
        top: -32px;
    }

    .t-52 {
        font-size: 50px;
    }


}

@media screen and (max-width: 834px) {
    .tb-none {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hum-container {
        display: block;
    }

    h2 {
        font-size: 100px;
    }

    #about {
        flex-direction: column;
        width: 90%;
        margin-right: auto;
        margin-left: auto;
        margin-top: 48px;
    }

    #about .about-img {
        width: 80%;
        margin: 0 auto;
    }

    #about .txt {
        display: block;
        width: 80%;
        margin: 0 auto;
        line-height: 2em;
    }

    .title-ja {
        font-size: 28px;
        margin: -56px 0px 0px 0px;
        text-align: center;
    }

    h2 {
        text-align: center;
    }

    #works .w-container {
        flex-direction: column;
        width: 440px;
        margin-top: 24px;
    }

    #works .w-content {
        padding: 0px 24px;
        width: 100%;
        box-sizing: border-box;
    }

    #works>div.flex.w-d-container {
        display: block;
    }

    #works .w-d-content {
        width: 344px;
        height: 330px;
        position: relative;
        display: flex;
        margin: 48px auto;
    }

    #recruit {
        width: 100%;
    }

    #recruit table {
        margin-left: auto;
        margin-right: auto;
    }

    #recruit .r-title {
        width: 500px;
        margin: 24px auto 0px auto;
    }

    #recruit table tr:first-of-type {
        width: 500px;
    }

    #recruit table {
        width: 500px;
        border: 1px solid var(--accent-color);
        border-collapse: collapse;
    }

    #company table {
        width: 95%;
    }

    #service {
        height: auto;
    }

    #service .line p {
        font-size: 18px;
    }

    #service .line {
        padding: 32px 0px;
        width: 90%;
        margin: 100px auto 0px auto;
        text-align: center;
    }

    .d-none {
        display: block;
    }


    .sp-none {
        display: none;
    }



}

@media screen and (max-width: 414px) {

    #KV .KV-txt {
        font-size: 28px;
    }

    #KV span {
        font-size: 32px;
    }

    #header .logo {
        width: 180px;
    }

    .title-en {
        font-size: 80px;
        text-align: center;
    }

    .title-ja {
        font-size: 20px;
        margin: -48px 0px 0px 0px;
        text-align: center;
    }

    main {
        width: 100%;
        margin: 0 auto;
    }

    #about {
        flex-direction: column;
        width: 90%;
        margin-right: auto;
        margin-left: auto;
        margin-top: 48px;
    }

    #about .about-img {
        width: 100%;
        margin-left: 0;
    }

    #about .txt {
        margin: 0 auto;
        line-height: 2em;
    }

    #service {
        flex-direction: column;
        height: auto;
        padding-bottom: 24px;
        margin-top: 48px;
    }

    #service .sec-title {
        position: relative;
        left: auto;
        top: auto;
    }

    #service .line p {
        font-size: 15px;
    }

    #service p.t-32 {
        font-size: 24px;
    }

    #works {
        margin-top: 48px;
    }

    #works .w-container {
        flex-direction: column;
        width: 90%;
    }

    #works .w-d-container {
        flex-direction: column;
        width: 90%;
        gap: 48px;
    }

    #recruit {
        width: 90%;
        margin: 0 auto;
    }

    #company table {
        width: 90%;
    }

    #company table tr td:first-of-type {
        width: 100px;
    }

    footer .f-list {
        display: none;
    }

    #recruit table tr:first-of-type {
        width: 350px;
    }

    #recruit table {
        width: 350px;
    }

    #service .line {
        padding: 32px 0px;
        width: 80%;
        margin: 24px auto 0px auto;
    }

    #recruit .r-title {
        width: 320px;
    }

    #works .w-d-content {
        width: 310px;
    }
}
