﻿/* カテゴリチップ（共通クラスなので、必要に応じて分割） */
.c-category {
    line-height: 1;
    color: #fff
}

.c-category span {
    font-weight: bold;
    display: inline-block;
    text-align: center;
    background-color: #999
}

.c-category.is-food span {
    background-color: #f28f00
}

.c-category.is-water span {
    background-color: #00b1b9
}

.c-category.is-environment span {
    background-color: #87c040
}

@media only screen and (min-width: 769px) {
    .c-category {
        font-size:18px
    }

    .c-category span {
        min-width: 3em;
        padding: 12px 12px
    }
}

@media only screen and (max-width: 768px) {
    .c-category {
        font-size:14px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .c-category {
        font-size:3.74332vw
    }
}

@media only screen and (max-width: 768px) {
    .c-category span {
        min-width:3em;
        padding: 8px 10px
    }
}
/* OurChallenges下層インデックス「社会課題に対する取り組み」タイトル部 */
.c-title01 {
    font-weight: bold;
    line-height: 1.6
}

@media only screen and (min-width: 769px) {
    .c-title01 {
        font-size:24px
    }
}

@media only screen and (max-width: 768px) {
    .c-title01 {
        font-size:16px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .c-title01 {
        font-size:4.27807vw
    }
}
/* OurChallenges下層詳細「その他のクボタの取り組み」タイトル部 */
.c-title02 {
    color: #00A8A9;
    font-weight: bold;
    line-height: 1.6
}

@media only screen and (min-width: 769px) {
    .c-title02 {
        font-size:24px
    }
}

@media only screen and (max-width: 768px) {
    .c-title02 {
        font-size:16px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .c-title02 {
        font-size:4.27807vw
    }
}

@media only screen and (min-width: 769px) {
    .c-flex {
        display:-webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 25px 0
    }

    .c-flex+.c-flex {
        margin-top: 60px
    }

    .c-flex.-reverse {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse
    }

    .c-flex.-reverse .c-flex_image {
        margin-right: 80px;
        margin-left: 0
    }

    .c-flex .c-flex_text {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1
    }

    .c-flex .c-flex_image {
        width: 34%;
        margin-left: 80px;
        padding-top: .5em
    }
}

@media only screen and (max-width: 768px) {
    .c-flex {
        margin:25px 0
    }

    .c-flex+.c-flex {
        margin-top: 30px
    }

    .c-flex .c-flex_image {
        margin-top: 30px
    }
}

.c-float p {
    overflow: hidden;
}

.c-float:after {
    content: "";
    display: table;
    clear: both
}

@media only screen and (min-width: 769px) {
    .c-float .c-float-img {
        width:36.5%;
        padding-top: .5em
    }

    .c-float.-left .c-float-img {
        float: left;
        margin: 0 80px 15px 0
    }

    .c-float.-right .c-float-img {
        float: right;
        margin: 0 0 15px 80px
    }
}

@media only screen and (max-width: 768px) {
    .c-float .c-float-img {
        margin-top:30px
    }

    .c-float .c-float-img img {
        display: block;
        margin: 0 auto
    }
}

/* Ourchallengs下層　画像を含む本文部 */

.c-stylecont>*:first-child {
    margin-top: 0
}

.c-stylecont p:first-child {
    margin-top: 0
}

.c-stylecont p:last-child {
    margin-bottom: 0
}

.c-stylecont--has-indent p {
    text-indent: 1em
}

.c-stylecont .c-title01:first-child {
    margin-top: 0
}

.c-stylecont figcaption {
    line-height: 1.6;
    display: block;
    color: #666;
    text-align: left;
}

@media only screen and (min-width: 769px) {
    .c-stylecont p {
        margin:40px 0
    }

    .c-stylecont .c-title01 {
        margin: 60px 0 25px
    }

    .c-stylecont figcaption {
        margin-top: 10px;
        font-size: 14px
    }
}

@media only screen and (max-width: 768px) {
    .c-stylecont p {
        margin:30px 0
    }

    .c-stylecont .c-title01 {
        margin: 30px 0 15px
    }

    .c-stylecont figcaption {
        margin-top: 10px;
        font-size: 11px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .c-stylecont figcaption {
        font-size:2.94118vw
    }
}

/* Ourchallengs下層　本文下「注釈」部 */

.c-caption-box {
    color: #666;
    background-color: #f5f5f5
}

.c-caption-box>*:first-child {
    margin-top: 0
}

.c-caption-box>*:last-child {
    margin-bottom: 0
}

.c-caption-box__tit {
    line-height: 1;
    width: 3.5em;
    padding: .5em 0;
    text-align: center;
    border: 1px solid #ccc
}

.c-caption-box__list>li {
    margin-top: .5em;
    padding-left: 2.2em;
    text-indent: -2.2em
}

.c-caption-box__list>li:first-child {
    margin-top: 0
}

.c-caption-box__list>li>* {
    text-indent: 0
}

.c-caption-box__list>li .num {
    display: inline-block;
    width: 2.2em
}

@media only screen and (min-width: 769px) {
    .c-caption-box {
        display:-webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        margin: 75px 0;
        padding: 60px 60px
    }

    .c-caption-box__tit {
        font-size: 16px
    }

    .c-caption-box__main {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        margin-left: 40px
    }

    .c-caption-box__list>li {
        font-size: 14px
    }
}

@media only screen and (max-width: 768px) {
    .c-caption-box {
        margin:30px 0;
        padding: 20px 20px
    }

    .c-caption-box__tit {
        font-size: 12px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .c-caption-box__tit {
        font-size:3.20856vw
    }
}

@media only screen and (max-width: 768px) {
    .c-caption-box__main {
        margin-top:15px
    }

    .c-caption-box__list>li {
        font-size: 11px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .c-caption-box__list>li {
        font-size:2.94118vw
    }
}

/*  Ourchallengs下層　本文中の画像（大） */

@media only screen and (min-width: 769px) {
    .c-figure-box {
        max-width:570px;
        margin: 75px auto
    }
}

@media only screen and (max-width: 768px) {
    .c-figure-box {
        margin:30px auto
    }
}

/*  Ourchallengs下層　「社会課題に戻る」 */

.c-backcattop {
    font-weight: bold;
    line-height: 1;
    text-align: center
}

.c-backcattop a {
    display: inline-block;
    text-decoration: none;
    border-bottom: solid #00a8a9
}

.c-backcattop a:hover {
    opacity: .75
}

.c-backcattop .icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    background-color: #00a8a9
}

.c-backcattop .icon:after {
    position: absolute;
    display: block;
    width: 26%;
    height: 26%;
    content: '';
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-30%, -50%) rotate(45deg);
    transform: translate(-30%, -50%) rotate(45deg);
    border: solid #fff;
    border-width: 0 0 1px 1px
}

@media only screen and (min-width: 769px) {
    .c-backcattop {
        margin-top:50px
    }

    .c-backcattop a {
        padding: 10px 0;
        border-bottom-width: 2px;
        font-size: 18px
    }

    .c-backcattop .icon {
        width: 10px;
        height: 10px;
        margin-right: 10px
    }
}

@media only screen and (max-width: 768px) {
    .c-backcattop {
        margin-top:30px
    }

    .c-backcattop a {
        padding: 10px 0;
        border-bottom-width: 2px;
        font-size: 14px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .c-backcattop a {
        font-size:3.74332vw
    }
}

@media only screen and (max-width: 768px) {
    .c-backcattop .icon {
        width:10px;
        height: 10px;
        margin-right: 10px
    }
}

/*  Ourchallengs下層・インデックス　「Our Challengesトップに戻る」 */

.c-backtop {
    font-weight: bold;
    line-height: 1;
    text-align: center
}

.c-backtop a {
    display: block;
    text-decoration: none;
    color: #fff;
    background-color: #00a8a9
}

.c-backtop a:hover {
    opacity: .75
}

.c-backtop img {
    width: auto;
    vertical-align: middle
}

@media only screen and (min-width: 769px) {
    .c-backtop {
        font-size:18px
    }

    .c-backtop a {
        padding: 50px 50px
    }

    .c-backtop img {
        height: 50px;
        margin-right: 25px
    }
}

@media only screen and (max-width: 768px) {
    .c-backtop {
        font-size:14px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .c-backtop {
        font-size:3.74332vw
    }
}

@media only screen and (max-width: 768px) {
    .c-backtop a {
        padding:25px 25px
    }

    .c-backtop img {
        height: 25px;
        margin-right: 15px
    }
}

/* （下層インデックス）社会課題に対する取り組み */

.p-ourchallenges .effort-sect .effort-inner {
    border-top: 1px solid #b3b3b3
}

.p-ourchallenges .effort-sect .effort-sect_list>li {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.p-ourchallenges .effort-sect .effort-sect_list>li a {
    display: block;
    text-decoration: none
}

.p-ourchallenges .effort-sect .effort-sect_list>li a:hover {
    opacity: .75
}

.p-ourchallenges .effort-sect .effort-sect_list .thumb img {
    width: 100%
}

.p-ourchallenges .effort-sect .effort-sect_list .copy {
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.p-ourchallenges .effort-sect .effort-sect_list .tit {
    line-height: 1.6
}

@media only screen and (min-width: 769px) {
    .p-ourchallenges .effort-sect {
        margin-top:75px
    }

    .p-ourchallenges .effort-sect .effort-inner {
        padding-top: 75px
    }

    .p-ourchallenges .effort-sect .effort-sect_main {
        margin-top: 50px
    }

    .p-ourchallenges .effort-sect .effort-sect_list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 0 -20px;
        margin-top: -60px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .p-ourchallenges .effort-sect .effort-sect_list>li {
        width: 33.333%;
        margin-top: 60px;
        padding: 0 20px
    }

    .p-ourchallenges .effort-sect .effort-sect_list .copy {
        font-size: 18px;
    }

    .p-ourchallenges .effort-sect .effort-sect_list * + .copy {
        margin-top: 20px;
    }

    .p-ourchallenges .effort-sect .effort-sect_list .tit {
        margin-top: 15px;
        font-size: 16px
    }
}

@media only screen and (max-width: 768px) {
    .p-ourchallenges .effort-sect {
        margin-top:40px
    }

    .p-ourchallenges .effort-sect .effort-inner {
        padding-top: 40px
    }

    .p-ourchallenges .effort-sect .effort-sect_title {
        font-size: 18px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .p-ourchallenges .effort-sect .effort-sect_title {
        font-size:4.81283vw
    }
}

@media only screen and (max-width: 768px) {
    .p-ourchallenges .effort-sect .effort-sect_main {
        margin-top:20px
    }

    .p-ourchallenges .effort-sect .effort-sect_list>li {
        margin-top: 30px
    }

    .p-ourchallenges .effort-sect .effort-sect_list>li:first-child {
        margin-top: 0
    }

    .p-ourchallenges .effort-sect .effort-sect_list .copy {
        font-size: 14px;
    }

    .p-ourchallenges .effort-sect .effort-sect_list * + .copy {
        margin-top: 20px;
    }

    .p-ourchallenges .effort-sect .effort-sect_list .tit {
        margin-top: 10px;
        font-size: 13px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .p-ourchallenges .effort-sect .effort-sect_list .tit {
        font-size:3.47594vw
    }
}

/* （下層インデックス）ビジュアルすぐ下のリード部、（下層ページ）本文部 */

.p-ourchallenges .lead-sect .lead-sect_title {
    font-weight: bold;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

@media only screen and (min-width: 769px) {
    .p-ourchallenges .lead-sect .lead-sect_title {
        margin:50px 0;
        font-size: 24px
    }
}

@media only screen and (max-width: 768px) {
    .p-ourchallenges .lead-sect .lead-sect_title {
        margin:30px 0;
        font-size: 16px
    }
}

@media only screen and (max-width: 768px) and (max-width: 374px) {
    .p-ourchallenges .lead-sect .lead-sect_title {
        font-size:4.27807vw
    }
}

/* サムネイル画像（共通クラスなので、必要に応じて分割） */
.thumb {
    position: relative;
    width: 100%
}

.thumb:before {
    content: '';
    display: block;
    padding-top: 50%
}

.thumb img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* 追加修正分 */
.c-float .c-float-img.img-sm {
    width: 23%
}

@media only screen and (max-width: 768px) {
    .c-float .c-float-img.img-sm {
        width:100%
    }
}

.c-figure-flex {
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 768px) {
    .c-figure-flex--spwrap {
        flex-wrap: wrap;
    }
}

.c-figure-flex figure+figure {
    margin-left: 20px;
}

@media only screen and (max-width: 768px) {
    .c-figure-flex--spwrap figure+figure {
        margin:20px 0 0;
    }
}

.c-figure-box {
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .c-figure-box {
        text-align: left;
    }
}

.c-visual.-noOver .c-visual_photo img {
    width: 100%;
}

.c-figure-flex img {
    /*max-height: 250px;height: 100%;width: auto;*/
    max-height: 300px;
    height: auto;
    width: 100%;
    object-fit: contain;
}

.c-visual.-large .c-visual_photo_inner {
    max-height: 600px;
}

.c-visual_taglist {
    margin: -10px 0 0 -10px;
}

.c-tag {
    display: inline-block;
    margin: 10px 0 0 10px;
    width: auto;
    background: #F5F5F5;
    color: #00A8A9;
    font-weight: 700;
    line-height: 1;
    border-radius: 9999px;

    /*transition: background 0.25s ease;*/
}

@media only screen and (min-width: 769px) {
    .c-visual_taglist {
        padding-top: 20px;
    }

    .c-tag {
        padding: 5px 10px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 768px) {
    .c-visual_taglist {
        padding-top: 10px;
    }

    .c-tag {
        padding: 5px 10px;
        font-size: 14px;
    }
}