/* =========================
  共通
========================= */
.ethical #contents-main h2{
	padding: 0;
}
/* ボタン全体 */
.ethical #contents-main .nav-buttons{
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin: 30px 0 40px;
}
/* 各ボタン */
.ethical #contents-main .nav-btn{
  flex: 1;
  background: #018F43;
  color: #fff;
  text-decoration: none;
  padding: 16px 10px 40px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  position: relative;
  line-height: 1.4;
}

.ethical #contents-main .nav-btn:after {
    width: 100%;
    text-align: center;
    font-family: var(--fontfamily-icon);
    content: "\e5cf";
    font-size: 32px;
    line-height: 1em;
    display: block;
    color: #fff;
    position: absolute;
    bottom: 4px;
    font-weight: normal;
}
.pc .ethical #contents-main .nav-btn br{
	display: none;
}

/* =========================
  we love me
========================= */
body.ethical #contents-main .wlm__inner{
  padding: 30px 0 60px;
}

body.ethical #contents-main .wlm__lead{
  margin: 0 0 40px;
  color: #018F43;
}

body.ethical #contents-main .wlm__lead span{
  display: block;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 26px;
}
body.ethical #contents-main .wlm__lead span:last-of-type{
  margin-bottom: 0;
}
body.ethical #contents-main .wlm__desc{
  margin: 0 0 40px;
  line-height: 26px;
}
body.ethical #contents-main .wlmBox{
  position: relative;
  border: 1px solid #018F43;
  border-radius: 2px;
  padding: 30px 25px;
  margin: 40px 0 0;
  overflow: hidden;
}
body.ethical #contents-main .wlmBox__head{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom: 8px;
}
body.ethical #contents-main .wlmBox__head span.icon{
    color: #018F43;
    font-weight: 600;
    position: relative;
    top: 1px;
}
body.ethical #contents-main .wlmBox__ttl{
  margin:0;
  font-size: 16px;
  font-weight: bold;
  color: #018F43;
}
body.ethical #contents-main .wlmBox__body{
  line-height: 26px;
}
body.ethical #contents-main .wlmBox__body p{
  margin:0;
}
body.ethical #contents-main .wlmBox--heart{
  padding-right: 220px; 
}
body.ethical #contents-main .wlmBox__heart{
  position:absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-48%);
  width: 170px;
  height: auto;
  opacity: 1;
  pointer-events:none;
}
body.ethical #contents-main .wlmBox--heart .wlmBox__heart{
  filter: none;
}
body.ethical #contents-main .wlmBox--heart .wlmBox__flow{
    width: 80%;
    margin: auto;
}
/* =========================
  そのほかの活動
========================= */
body.ethical #contents-main .year-header{
cursor: pointer;
    padding: 16px 24px;
    margin: 20px 20px 0;
    color: #018F43;
    border: 1px solid #018F43;
    border-radius: var(--box-radius-small);
	    font-family: var(--fontfamily-english);
	position: relative;

}


body.ethical #contents-main .year-header::after{
font-family: var(--fontfamily-icon);
    content: "\e145";
    font-size: 26px;
    font-weight: normal;
    vertical-align: middle;
	    top: calc(50% - 12px);
	right: 10px;
	position: absolute;
}

body.ethical #contents-main .year-header.open::after{
    content: "\e15b";

}

body.ethical #contents-main .year-header em{
    font-family: var(--fontfamily-base);
	font-weight: bold;
	padding-left: 2px;
}
/* =========================
  イベント一覧
========================= */
body.ethical #contents-main h3,
body.ethical-shop #contents-main h3,
body.ethical-archive #contents-main h3{
	color: #018F43;
	    background: linear-gradient(90deg, rgba(1, 143, 67, 0.1) 0%, rgba(174, 220, 227, 0.3) 100%);
}

body.ethical #contents-main h3.other{
	background: var(--color-base-bg-light);
	margin: 20px 20px 0;
	    padding: 16px 20px;
    font-size: 18px;
}
body.ethical #contents .inner{
	/* background: #fff;
	padding: 40px 10%;
	box-sizing: border-box; */
}
body.ethical article.events{
  display: flex;
  align-items: flex-start;
  gap: 34px;
  cursor: pointer;
}
body.ethical #event_lists .events:first-of-type{
	border-top:none;
}
body.ethical #event_lists .events:last-of-type{
	border-bottom:none;
}
body.ethical article.events.wrapclick:hover{
	opacity: 0.6;
}
body.ethical article.events::after{
font-family: var(--fontfamily-icon);
    content: "\e5cc";
    font-size: 30px;
    font-weight: normal;
    vertical-align: middle;
    color: var(--color-base-line-dark);
	    top: calc(50% - 12px);
	right: 10px;
	position: absolute;
}
body.ethical article.events .image{
  margin: 0;
  flex: 0 0 240px;
  width: 240px;
  max-height: 240px;
  overflow: hidden;
}
body.ethical article.events .image a{
  display: block;
  overflow: hidden;;
}
body.ethical article.events .image img{
  display: block;
  border-radius: 2px;
  width: 240px;
  box-sizing: border-box;
}
body.ethical article.events .section.c2{
  flex: 1 1 auto;
  padding-right: 20px;
}
body.ethical #contents article.events h4.name{
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
body.ethical article.events .section.c2 > p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.bodyethical .event-info {
	max-width: 450px;
}
body.ethical .event-info dl{
  margin: 0;
  border: 1px solid #555;
  border-radius: 3px;
  overflow: hidden;
  max-width: 450px;
}
body.ethical .event-info dt,
body.ethical .event-info dd{
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
}
body.ethical .event-info dt{
  border-right: 1px solid #555;
	text-align: center;
  font-weight: bold;
}
body.ethical .event-info dd{
  flex: 1;
  margin: 0;
  background: #fff;
  color: #222;
}
body.ethical .event-info dl{
  display: grid;
  grid-template-columns: 120px 1fr;
}
body.ethical .event-info dt:nth-of-type(2),
body.ethical .event-info dd:nth-of-type(2){
  border-top: 1px solid #555;
}
body.ethical article.events .section.c2 p.link{
  margin-top: 18px;
}
body.ethical article.events .section.c2 p.link a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #018F43;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
body.ethical article.events .section.c2 p.link a::after{
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  display: inline-block;
  margin-left: 2px;
}
body.ethical article.events .section.c2 p.link a:hover{
  filter: brightness(0.95);
}
body.ethical article.events a:visited{
  color: inherit;
}

/* =========================
  記事(item_archive.jsp)
========================= */
#contents.ethical .inner{
  background: #fff;
  padding: 0 4%;
  box-sizing: border-box;
}
.ethical #item_archive{
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.ethical #item_archive .item{
  width: calc(100% - 290px);
  margin: 40px 0;
  box-sizing: border-box;
}

  .ethical .ev-navi_sub{
    width: 250px;
    padding: 20px 20px 4px;
    border: 1px solid var(--color-base-line-dark);
    box-sizing: border-box;
    margin: 40px 0 0;
  }
.ethical .ev-navi_sub dt{
    font-family: var(--fontfamily-english);
    font-size: 15px;
    text-align: center;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--color-base-line-dark);
}
.ethical .ev-navi_sub a{
  display: block;
  padding: 16px 10px;
  font-weight: bold;
  position: relative;
  line-height: 1.6em;
}
.ethical .ev-navi_sub a:last-child{
  border-bottom: none;
}
.ethical .ev-navi_sub a:after {
  font-family: var(--fontfamily-icon);
  content: "\e5cc";
  margin: 0 0 0 4px;
  font-weight: normal;
  font-size: 24px;
  vertical-align: middle;
  position: absolute;
  right: 0;
  top: calc(50% - 12px);
}
.ethical .ev-navi_sub a:hover{
  filter: none;
  opacity: 0.8;
}

/* =========================
  ショップリスト（shoplist.jsp）
========================= */
body.ethical-shop #contents-main .ethical_content{
  border-bottom: 4px solid #eee;
}
#contents-main .main_ttl img{
  width: 100%;
  height: auto;
  display: block;
}
body.ethical-shop #contents-main .ethical_content .shop_nav{
  font-size: 16px;
  padding: 20px 0;
  text-align: center;
  color: #018F43;
  font-weight: bold;
}
body.ethical-shop #contents-main #goodslist-header-navi{
  border-top: 2px solid #018F43;
  padding: 20px 0 0;
  margin: 0 0 30px;
}
body.ethical-shop #contents-main #goodslist-header-navi dl{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
body.ethical-shop #contents-main #goodslist-header-navi dt,
body.ethical-shop #contents-main #goodslist-header-navi dd{
  margin: 0;
  padding: 0;
}
body.ethical-shop #contents-main #goodslist-header-navi dt.all{
  display: none;
}
body.ethical-shop #contents-main #goodslist-header-navi dt a,
body.ethical-shop #contents-main #goodslist-header-navi dd a{
  display: flex;
  align-items: center;
  padding: 12px 18px;
  text-decoration: none;
  white-space: nowrap;
  border-left: 1px solid #333;
}
body.ethical-shop #contents-main #goodslist-header-navi dt a:hover,
body.ethical-shop #contents-main #goodslist-header-navi dd a:hover{
  color: #018F43;
}
body.ethical-shop #contents-main #goodslist-header-navi dd:last-child a{
  border-right: 1px solid #333;
}
body.ethical-shop #contents-main .shop-list{
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 40px 0 60px;
}
body.ethical-shop #contents-main .shop-item{
  width: calc((100% - 25px) / 2);
  border: 1px solid #018F43;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.ethical-shop #contents-main .shop-info{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0;
}
body.ethical-shop #contents-main .shop-info .shop-name{
  margin-right: 10px;
}
body.ethical-shop #contents-main .shop-info h4{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
  flex: 1;
}
body.ethical-shop #contents-main .shop-info h4 a{
  font-size: 18px;
  font-weight: bold;
}
body.ethical-shop #contents-main .shop-info h4 a span{
  font-size: 14px;
  font-weight: normal;
  margin-left: 8px;
}
body.ethical-shop #contents-main .shop-info .category{
  font-size: 12px;
  line-height: 1.2em;
  margin-top: 5px;
}
body.ethical-shop #contents-main .shop-info .logo{
  width: 100px;
  box-sizing: border-box;
}
body.ethical-shop #contents-main .shop-image{
  display: flex;
  gap: 16px;
  padding: 0 20px 0;
  box-sizing: border-box;
}
body.ethical-shop #contents-main .shop-image a{
  width: 150px;
  height: 120px;
  text-align: center;
}
body.ethical-shop #contents-main .shop-image{
  img{width: 100%;height: 100%; object-fit: cover;}
  img.noimg{width: 80%;object-fit: contain;}
  img[src*="default_bg_logo"]{width: 60%;}
}

body.ethical-shop #contents-main .sdgs-shop-image_icons{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  align-content: start;
  justify-content: start;
  align-items: start;
  flex: 1.67;
}
body.ethical-shop #contents-main .sdgs-shop-image_icons li{
  width: auto;
}
body.ethical-shop #contents-main .sdgs-shop-image_icons li img{
  display: block;
  width: 100%;
  height: auto;
}
body.ethical-shop #contents-main .shop-dec{
  border-top: 4px solid #eee;
  padding: 20px;
  p{white-space: pre-wrap;}
}
body.ethical-shop .ethical #contents-main .nav-btn .arrow{
  position: absolute;
  right: 20px;
  margin: 0;
  transform: rotate(-45deg);
}
body.ethical-shop .ethical #contents-main .nav-btn span{
  font-size: 14px;
}
/* =========================
  ショップリスト スマホ
========================= */
body.ethical-shop.sp #contents-main .shop-item{
  width: 100%;
  gap: 0;
}
body.ethical-shop.sp #contents-main .shop-image{
  flex-direction: column;
  padding: 10px 20px 20px;
}
body.ethical-shop.sp #contents-main .shop-image a{
  width: auto;height: auto;
  max-height: 200px;
}
body.ethical-shop.sp #contents-main .shop-image img{
  width: 100%;
}
body.ethical-shop.sp #contents-main .sdgs-shop-image_icons{
  grid-template-columns: repeat(6, 1fr);
  flex: 1;
}
body.ethical-shop.sp #contents-main .sdgs-shop-image_icons li{
  width: 100%;
  aspect-ratio: 1;
}
body.ethical-shop.sp #contents-main .sdgs-shop-image_icons li img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi{
  border-top: none;
  padding: 0 10px;
  margin: 0 0 30px;
  position: relative;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi .cat_sel{
  border: 1px solid #018F43;
  line-height: 38px;
  box-sizing: border-box;
  position: relative;
  padding-right: 40px;
  padding-left: 10px;
  text-align: center;
  font-size: 14px;
  border-radius: 0;
  cursor: pointer;
  display: block;
  width: 100%;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi .cat_sel::before{
  content: "";
  display: inline-block;
  width: 1px;
  border-left: 1px solid #018F43;
  height: 24px;
  position: absolute;
  right: 40px;
  top: 8px;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi .cat_sel::after{
  content: "\e5cf";
  font-family: var(--fontfamily-icon);
  font-weight: bold;
  color: #333;
  font-size: 20px;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 40px;
  text-align: center;
  transition-duration: 0.3s;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi .cat_sel.active::after{
  transform: rotate(180deg);
}
body.ethical-shop.sp #contents-main #goodslist-header-navi dl{
  display: none;
  position: absolute;
  top: 50px;
  width: calc(100% - 20px);
  z-index: 20;
  background: #fff;
  box-sizing: border-box;
  padding: 0;
  border-radius: 0;
  left: 10px;
  border: 1px solid #018F43;
  margin: 0;
  list-style: none;
  flex-direction: column;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi dl.active{
  display: flex;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi dt,
body.ethical-shop.sp #contents-main #goodslist-header-navi dd{
  display: block;
  width: 100%;
  border-bottom: 1px solid #018F43;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi dt.all{
  display: none;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi dd:last-child{
  border-bottom: none;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi dt a,
body.ethical-shop.sp #contents-main #goodslist-header-navi dd a{
  display: block;
  padding: 6px 10px;
  box-sizing: border-box;
  position: relative;
  border-left: none;
  border-bottom: none;
  text-decoration: none;
  color: inherit;
  border-right: none;
}
body.ethical-shop.sp #contents-main #goodslist-header-navi dd a::after{
  font-family: var(--fontfamily-icon);
  content: "\e5cc";
  margin: 0 0 0 4px;
  font-size: 20px;
  color: #333;
  vertical-align: middle;
  position: absolute;
  right: 10px;
  top: calc(50% - 7px);
}
/* =========================
  スマホ
========================= */
body.ethical.sp #contents-main .wlm__lead span{
  margin-bottom: 14px;
  font-size: 16px;
}
body.ethical.sp #contents .contents_inner {
    padding: 20px 0;
}
body.ethical.sp #contents-main .nav-buttons{
    gap: 4px;
    margin: 0 0 20px;
}
body.ethical.sp #contents-main .wlm__lead {
    margin: 0 0 20px;
  }
body.ethical.sp #contents-main .nav-btn {
    min-height: 30px;
    font-size: 12px;
    padding: 16px 4px 24px;
}

body.ethical.sp #contents-main .nav-btn:last-of-type {
    padding-top: 10px;
}

body.ethical.sp #contents-main .nav-btn:after {
    font-size: 26px;
    bottom: 2px;
}
body.ethical.sp #contents-main .wlm__inner{
  padding: 16px 0 24px;
}

body.ethical.sp #contents-main .wlm__desc{
	margin: 0 0 20px 0;
}

body.ethical.sp #contents-main .wlmBox--heart{
  padding:15px;
	margin-top: 20px;
}
body.ethical.sp #contents-main .wlmBox--heart .wlmBox__head{
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 4px;
}
body.ethical.sp #contents-main .wlmBox--heart .wlmBox__head span.icon{
    font-size: 18px;
    top: 5px;
}
body.ethical.sp #contents-main .wlmBox--heart .wlmBox__ttl{
  font-size: 14px;
  margin: 0;
}
body.ethical.sp #contents-main .wlmBox--heart .wlmBox__body{
  line-height: 1.6;
  margin-bottom: 10px;
}
body.ethical.sp #contents-main .wlmBox--heart .wlmBox__flow{
  display: block;
  margin: auto;
  width: 100%;
}
body.ethical.sp #contents-main .wlmBox__heart{
  position: static;
  transform: none;
  height: auto;
  margin: 10px auto;
  display: block;
}

body.ethical.sp #contents-main h3.other{
	margin: 20px 0;
	    padding: 10px;
    font-size: 18px;
}

body.ethical.sp #contents-main .year-header{
    padding: 12px 16px;
    margin: 4px 0 0;
}

body.ethical.sp #contents-main .year-header::after{
	    font-size: 20px;
}

body.ethical.sp #contents-main article.events{
  flex-direction: column;
  align-items: stretch;
  padding-right: 0px;
  gap: 20px;
}
body.ethical.sp #contents-main article.events::after{
  display: block;
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  border: none;
  margin: 0;
  font-family: var(--fontfamily-icon);
  content: "\e5cc";
  font-size: 30px;
  opacity: 1;
}
body.ethical.sp #contents-main article.events .image{
	flex-basis: auto;
	margin: 0;
  max-height: 140px;
  width: 140px;
}
body.ethical-shop.sp #contents .contents_inner{
  padding: 20px 0;
}
body.ethical-shop.sp #contents-main h2{
  margin: 0;
}
body.ethical-shop.sp #contents-main .shop-list{
  margin: 20px 0 30px;
}

body.ethical-shop.sp #contents-main .nav-buttons {
  gap: 16px;
  flex-direction: column;
}
body.ethical.sp #contents-main .thumbnail{
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-right: 20px;
  box-sizing: border-box;
}
body.item_eventnews.sp .ethical #contents-main #item_archive .item{
  width: 100%;
      margin: 20px 0;
}
body.item_eventnews.sp .ethical #item_archive {
    flex-direction: column;
    gap: 20px;
}
body.item_eventnews.sp #contents .ethical article.events h4.name{
  margin: 0;
}
body.item_eventnews.sp .ethical .ev-navi_sub{
      margin: 0;
      width: 100%;
}
body.ethical.sp #contents article.events h4.name{
  margin: 0;
}
