@charset "Shift_JIS";

/* **************************************************

Name: responsive.css

Description: Main CSS

Create: 2023.01.26
Update: 2023.01.26

***************************************************** */



/* base change
=========================================================================================== */
@media screen and (max-width: 767px) {
    #Popup #Contents {
        padding-bottom: 70px;
    }
}


/* common
=========================================================================================== */
@media screen and (max-width: 767px) {
    .pcOnly { display: none; }
    .spOnly { display: block; }
}


/* mainVisual
=========================================================================================== */
@media screen and (max-width: 767px) {
    .mainVisual {
        position: relative;
        height: 230px;
        background: url("/trend/carbon_neutral/images/img_main.jpg") center center no-repeat;
        background-size: auto 100%;
    }
    .mainVisual .mvText h1 {
        padding:  0 15px;
    }
    .mainVisual .mvText h1 img {
        max-width: 500px;
    }
}


/* block
=========================================================================================== */
@media screen and (max-width: 767px) {
    #blockArea01::before,#blockArea02::before {
        top: 0;
        bottom: auto;
        left: calc(50% - 12px);
        width: 4px;
        height: 80px;
    }
    #blockArea03::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: auto;
        left: calc(50% - 12px);
        z-index: 1;
        width: 4px;
        height: 80px;
        background-color: #5d9aea;
    }
    .cBlockLeft, .cBlockRight, .lastContents .cBlockLeft, .lastContents .cBlockRight {
        padding: 80px 0;
    }
    .cBlockLeft .col:first-child {
        float: none;
        max-width: calc(100% - 20px);
        width: 100%;
    }
    .cBlockLeft .col:last-child {
        float: none;
        display: block;
        max-width: calc(100% - 20px);
        width: 100%;
        padding-top: 50px;
    }
    .cBlockRight .col:first-child {
        float: none;
        max-width: calc(100% - 20px);
        width: 100%;
    }
    .cBlockRight .col:last-child {
        float: none;
        display: block;
        max-width: calc(100% - 20px);
        width: 100%;
        padding-top: 50px;
    }
    .cBlockLeft::before,.cBlockRight::before {
        display: none;
    }
    #blockArea01 .col,#blockArea02 .col,#blockArea03 .col {
        position: relative;
    }
    #blockArea01::after {
        content: "";
        position: absolute;
        bottom: -2px;
        right: 15px;
        z-index: 1;
        width: calc(50% - 23px);
        height: 4px;
        background-color: #5d9aea;
    }
    #blockArea02::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: -5px;
        z-index: 1;
        width: calc(50% - 23px);
        height: 4px;
        background-color: #5d9aea;
    }
    #blockArea03::after {
        content: "";
        position: absolute;
        bottom: -2px;
        right: 15px;
        z-index: 1;
        width: calc(50% - 13px);
        height: 4px;
        background-color: #5d9aea;
    }
    #blockArea01 .cBlockLeft .col:first-child::before,#blockArea03 .cBlockLeft .col:first-child::before {
        content: "";
        position: absolute;
        top: calc(50% - 2px);
        right: -20px;
        z-index: 1;
        width: 20px;
        height: 4px;
        background-color: #5d9aea;
    }
    #blockArea02 .cBlockRight .col:first-child::before {
        content: "";
        position: absolute;
        top: calc(50% - 2px);
        left: -20px;
        z-index: 1;
        width: 20px;
        height: 4px;
        background-color: #5d9aea;
    }
    #blockArea01 .spLine,#blockArea03 .spLine {
        content: "";
        position: absolute;
        top: calc(50% - 2px);
        right: -20px;
        z-index: 1;
        display: block;
        width: 4px;
        height: 4px;
        background-color: #5d9aea;
    }
    #blockArea02 .spLine {
        content: "";
        position: absolute;
        top: calc(50% - 2px);
        left: -20px;
        z-index: 1;
        display: block;
        width: 4px;
        height: 4px;
        background-color: #5d9aea;
    }
    #blockArea02 {
        margin-left: 20px;
    }
    .textBox {
        padding: 30px;
    }
    .titleType01 {
        margin: 0 0 20px 0!important;
        font-size: 24px!important;
    }
    .lastContents .spLastLine {
        content: "";
        position: absolute;
        bottom: -80px;
        left: calc(50% - 2px);
        z-index: 1;
        width: 4px;
        height: 80px;
        background-color: #5d9aea;
    }
    .contentsArea img {
        max-width: 100%;
        height: auto;
    }
}


/* recommend
=========================================================================================== */
@media screen and (max-width: 767px) {
    .recommendArea {
        margin-top: 80px;
    }
    .recommendInner {
        padding: 30px 15px;
    }
    .recommendTitle {
        font-size: 24px;
    }
    .recommendList > li {
        position: relative;
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .recommendList > li:last-child {
        margin-bottom: 0;
    }
    .recommendList > li p {
        position: absolute;
        width: 100%;
        margin-top: 0;
    }
    .recommendList > li p img {
        width: 140px;
        height: 140px;
    }
    .recommendList > li > a > dl {
        padding: 0;
    }
    .recommendList > li > a > dl dt {
        display: table;
        min-height: 140px;
        margin-bottom: 0;
    }
    .recommendList > li > a > dl dt span {
        display: table-cell;
        vertical-align: middle;
        padding: 25px 15px 25px 160px;
        box-sizing: border-box;
    }
    .recommendList > li > a > dl dd {
        min-height: auto;
        padding: 20px;
    }
    .recommendList > li p span {
        bottom: auto;
        left: auto;
        top: 0;
        right: 0;
        padding: 5px 10px;
    }
    .recommendList > li > a:hover p img {
        transform: scale(1,1);
    }
    .recommendArea::before,.recommendArea::after {
        height: 30px;
    }
}
@media screen and (max-width: 399px) {
    .recommendList > li p img {
        width: 100px;
        height: 100px;
    }
    .recommendList > li > a > dl dt {
        min-height: 100px;
    }
    .recommendList > li > a > dl dt span {
        padding: 25px 15px 25px 115px;
        font-size: 14px;
        box-sizing: border-box;
    }
    .recommendList > li > a > dl dd {
        padding: 15px;
    }
}