@charset "UTF-8";

/*基本色*/
:root {
    --main-color: #5d9ab2;
    --accent-color: #bf6a7a;
    --dark-color: #2b5566;
    --text-bright-color: #ffffff;
    --large-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: sans-serif;
}

h2 {
    margin: 0px;
    padding: 50px;
    text-align: center;
    font-size: 10vw;
    font-family: "Rationale", sans-serif;
    font-weight: 200;
}

@media (min-width:768px) {
    h2 {
        font-size: 42px;
    }
}

.big {
    font-size: 4em;
    font-weight: bold;
}

.large {
    font-size: 2em;
    font-weight: bold;
}

/*ＣＯＮＡヒーローイメージ*/
.conA {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
    min-height: 450px;
    text-align: center;
    background-image: url(img/main_PC.jpg);
    background-position: center;
    background-size: cover;
    color: #ffffff;
    color: var(--text-bright-color);
}

.conA.compact {
    height: 300px;
    min-height: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(img/bg_recruit.jpg);
}

.conA h1 {
    margin-top: 170px;
    margin-bottom: 10px;
    font-family: "Rationale", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 10vw;
    opacity: 0.8;
}

.conA.compact h1 {
    margin-top: 50px;
}

.conA p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.conA a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background-color: rgba(0, 113, 188, 0.8);
    font-size: 12px;
    color: #fff;
    color: var(--text-bright-color);
    text-decoration: none;
}

.conA a:hover {
    background-color: rgba(0, 113, 188, 0.8);
    border-radius: 10px;
}

@media (min-width:768px) {
    .conA h1 {
        font-size: 60px;
    }

    .conA p {
        font-size: 16px;
    }
}

/*グリーティング*/

.greeting {
    padding: 30px;
    text-align: center;
}

@media (min-width:768px) {
    .greeting .container {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/*ＣＯＮＢ　事業内容*/

.conB {
    background-image: url(img/bg_works.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.conB .container {
    padding-bottom: 20px;
}

.conB h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.conB p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.conB .text {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 60px;
    text-align: center;
}

.conB img {

    margin-bottom: 20px;

    width: 100%;


}

@media (min-width:768px) {
    .conB .container {
        display: flex;
        max-width: 1200px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }

    .conB .text {
        flex: 1;
    }

}

/*conC コンテンツ　コベルコ建機代理店*/

.conC {
    background-color: #00A7AC;
    color: #ffffff;
}

.conC .text {
    padding: 20px;
}

.conC h2 {
    display: none
}

.conC h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
}

.conC p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    ;
}

.conC a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background-color: rgba(0, 113, 188, 0.5);
    color: #fff;
    color: var(--text-bright-color);
    text-decoration: none;
}

.conC a:hover {
    background-color: rgba(0, 113, 188, 0.8);
    border-radius: 10px;
}

.conC .photo {
    min-height: 200px;
    background-image: url(img/kobelco.jpg);
    background-position: center;
    background-size: cover;
}

@media (min-width:768px) {
    .conC .container {
        display: flex;
        max-width: 1200px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }

    .conC .photo {
        flex: 3;
    }

    .conC .text {
        flex: 2;
        padding: 50px;
    }
}

/*リクルート*/
.recruit {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url(img/bg_recruit_sp02.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 50px 0px;
}

.recruit h2 {}

.recruit ul {
    margin: 0;
    padding: 0;
}

.recruit ul li {
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    margin: 5px;
    font-weight: bold;
}

.recruit ul li span {
    background: linear-gradient(90deg,
            rgba(131, 58, 180, 1) 0%,
            rgba(253, 29, 29, 1) 50%,
            rgba(252, 176, 69, 1) 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marker-blue {
    background: linear-gradient(transparent 55%,
            rgba(80, 190, 255, 0.6) 55%);
}

@media (min-width:768px) {
    .recruit {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url(img/bg_recruit.jpg);
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
        vertical-align: bottom;
    }

    .recruit .container {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .recruit ul li {
        margin: 15px;
    }
}

.recruit a {
    display: inline-block;
    position: relative;
    overflow: hidden;

    margin-top: 20px;
    padding: 14px 36px;

    background: linear-gradient(135deg,
            rgba(0, 113, 188, 1) 0%,
            rgba(0, 150, 255, 1) 100%);

    border-radius: 50px;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.05em;

    color: #fff;
    text-decoration: none;

    box-shadow: 0 6px 16px rgba(0, 113, 188, 0.25);

    transition: all 0.3s ease;
}

/* 通常時は少し浮かせる */
.recruit a:hover {
    transform: translateY(2px);
    box-shadow: 0 3px 8px rgba(0, 113, 188, 0.2);
}

/* 常時キラッ */
.recruit a::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -120px;

    width: 40px;
    height: 180%;

    background: rgba(255, 255, 255, 0.35);

    transform: rotate(25deg);

    animation: shine 3s infinite;
}

/* hoverで光停止 */
.recruit a:hover::before {
    animation: none;
    opacity: 0;
}

@keyframes shine {
    0% {
        left: -120px;
    }

    20% {
        left: 140%;
    }

    100% {
        left: 140%;
    }
}

/*ABOUT 会社概要*/
.about {
    background-image: url(img/bg_about.jpg);
    background-position: center;
    background-size: contain;
}

.about .text {
    padding: 20px;
}

.about .photo {
    min-height: 400px;
    background-image: url(img/about_gaikan.jpg);
    background-position: center;
    background-size: cover;
}

.about table {
    border-collapse: collapse;
    border-bottom: solid 1px #fff;
}

.about th,
.about td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: solid 1px #fff;
}

.about th {
    padding-right: 1rem;
    white-space: nowrap;
    text-align: justify;
}

@media (min-width:768px) {
    .about {
        background-image: url(img/bg_about.jpg);
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }

    .about .about-container {
        display: flex;
        max-width: 1200px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }

    .about .photo {
        flex: 2;
    }

    .about .text {
        flex: 2;
        padding: 50px;
    }
}

.location {
    width: 100%;
    height: 400px;
    vertical-align: bottom;
}

/*フッター*/
footer {
    color: #fff;
    color: var(--text-bright-color);
    background-color: #2b5566;
    background-color: var(--dark-color);
    padding: 40px 20px;
}

footer .container {}

@media (min-width:768px) {
    footer .container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1200px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }

    .footA {
        flex: 0 0 40%;
    }

    .footB {
        flex: 0 0 30%;
    }

    .footB.banner {
        flex: 0 0 30%;
    }
}

/*フッター footA*/
.footA {
    margin-bottom: 30px;
}

.footA h2 {
    display: none;
}

.footA h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

/*フッター　footB*/
.footB div {
    margin-bottom: 20px;
}

.footB h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
}

.footB ul {
    margin: 0;
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
}

.footB a {
    color: inherit;
    font-size: 12px;
    text-decoration: none;
}

.footB a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/*フッターコピーライト*/
.footC {
    font-size: 12px;
    text-align: center;
}

/*ヘッダー*/

/* ヘッダー */
header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}

/* ヘッダーA: サイト名 */
.headA img {
    width: 90%;
}


/* ヘッダーB： ナビゲーションメニュー */
.headB ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.headB a {
    display: block;
    padding: 15px;
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}

.headB a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }

    .headA img {
        width: 100%;
    }

    .headB ul {
        display: flex;
    }
}

.head-fixed {
    position: fixed;
}

/* ヘッダーC： トグルボタン */

@media (max-width: 767px) {

    /* 小さい画面用の設定 */
    header .container-small {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .headC {
        margin-right: 15px;
        padding: 0;
        border: none;
        outline: none;
        background: none;
        font-size: 28px;
        opacity: 0.5;
        cursor: pointer;
    }

    .headC:hover {
        opacity: 0.3;
    }

    .headB {
        display: none;
    }
}

@media (min-width: 768px) {

    /* 大きい画面用の設定 */
    .headC {
        display: none;
    }

    .headB {
        display: block !important;
    }
}


/*リクルートページ*/

.about.senpai .photo {
    min-height: 400px;
    background-image: url(img/recruit_senpai.jpg);
    background-position: center;
    background-size: cover;

}

.tantou p {
    text-align: left;
}

.conB.youkou {
    background:
        repeating-linear-gradient(-45deg,
            #ffffff 0px,
            #ffffff 8px,
            #d9ecff 8px,
            #d9ecff 10px);
}

.conB.youkou table {
    background-color: #fff;
    border-radius: 30px;
    padding: 30px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.conB.youkou table th,
.conB.youkou table td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom:
}

.conB.youkou table th {
    padding-right: 1rem;
    white-space: nowrap;
    text-align: justify;
}

@media(min-width:768px) {
    .conB.youkou {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url(img/bg_about.jpg);
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }


    .conB .containerP {
        max-width: 800px;
        padding: 50px;
        margin-left: auto;
        margin-right: auto;

    }
}