/* ==================================================
   CONTACT MENU
================================================== */

/* 背景 */
#main {
    position: relative;
    background: #262626;
}

/* タイトル部分の背景 */
#mainImg {
    position: relative;
    background-color: #262626;
}

/* PC用の背景模様 */
@media screen and (min-width: 600px) {
    #mainImg {
        background-image: url(../img/common/bg_contents02_pc.png);
        background-repeat: no-repeat;
        background-position: top center;
        background-size: 1920px auto;
    }
}

#main #areaHeadBnr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0 100px;
}



/* --------------------------------------------------
   BOX
-------------------------------------------------- */

#main #areaHeadBnr .box {
    position: relative;
    background: #f7f8f6;
    border: 1px solid #e5e8e4;
    transition: all 0.3s ease;
}


/* リンク全体をクリック可能に */

#main #areaHeadBnr .box > a {
    display: block;
    position: relative;
    height: 100%;
    padding: 45px 50px 50px;
    box-sizing: border-box;
    color: #333;
    text-decoration: none;
}


/* --------------------------------------------------
   英字タイトル
-------------------------------------------------- */

#main #areaHeadBnr .tit {
    margin: 0 0 18px;
    color: #00a63c;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.12em;
}


/* --------------------------------------------------
   日本語タイトル
-------------------------------------------------- */

#main #areaHeadBnr .txt {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: #333;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
}


/* 左側のアクセントライン */

#main #areaHeadBnr .txt::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 5px;
    height: 1.6em;
    background: linear-gradient(
        to bottom,
        #f39800 0%,
        #f39800 50%,
        #00a63c 50%,
        #00a63c 100%
    );
}


/* --------------------------------------------------
   右下の矢印
-------------------------------------------------- */

#main #areaHeadBnr .box > a::after {
    content: "→";
    position: absolute;
    right: 35px;
    bottom: 30px;
    color: #00a63c;
    font-size: 26px;
    font-weight: 300;
    transition: all 0.3s ease;
}


/* --------------------------------------------------
   hover
-------------------------------------------------- */

#main #areaHeadBnr .box:hover {
    background: #eef7f0;
    border-color: #00a63c;
    transform: translateY(-3px);
}

#main #areaHeadBnr .box:hover > a::after {
    right: 28px;
}


/* --------------------------------------------------
   SP
-------------------------------------------------- */

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

    #main #areaHeadBnr {
        display: block;
        padding: 50px 20px 70px;
    }

    #main #areaHeadBnr .box {
        margin-bottom: 20px;
    }

    #main #areaHeadBnr .box > a {
        padding: 30px 30px 40px;
    }

    #main #areaHeadBnr .tit {
        margin-bottom: 12px;
        font-size: 14px;
    }

    #main #areaHeadBnr .txt {
        font-size: 20px;
    }

    #main #areaHeadBnr .box > a::after {
        right: 25px;
        bottom: 22px;
        font-size: 22px;
    }

}
/* 背景 */
body {
    background: #262626;
}

#contents {
    position: relative;
}

#contents::before {
    position: absolute;
    content: "";
    top: -93px;
    right: 0;
    width: 100%;
    height: 1800px;
    background: url(../img/common/bg_contents01_sp.png)
        no-repeat top right;
    background-size: contain;
}

#contents::after {
    position: absolute;
    content: "";
    top: calc((100vw * 0.855) - 109px);
    right: 0;
    width: 100%;
    height: 100%;
    background: #262626;
    background-size: contain;
    z-index: -1;
}

@media screen and (min-width: 600px) {
    #contents::before,
    #contents::after {
        display: none;
    }
}