@charset "UTF-8";

/*----------------------------------------------
  base
------------------------------------------------*/
.ethicaproducts {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.ethicaproducts-coverbg {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: url(../img/ethicaproducts/bg.jpg);
  background-size: cover;
}


.ethicaproducts>section {
  width: min(90vw, 1100px);
  margin: 100px auto;
}

.ep-h2 {
  width: min(90vw, 1000px);
  margin: 0 auto 50px;
  padding: clamp(12px, 2vw, 20px);
  border-radius: 9999px;
  background: #3E6646;
  color: #fff;
  text-align: center;
  font-size: clamp(20px, 4vw, 30px);
  letter-spacing: 2px;
}


@media screen and (max-width: 768px) {
  .ep-h2 {
    width: 90vw;
    margin: 0 auto 30px;
    padding: 12px 16px;
    border-radius: 100px;
    font-size: 20px !important;
  }
}

/*----------------------------------------------
  top
------------------------------------------------*/
.TOPheight {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: calc(100vh - 60px);
  margin-top: 60px;
  padding: 0 5% 50px;
  background-image: url(../img/ethicaproducts/top.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top right;
  text-align: left;
}

.TOPheight>p:nth-of-type(1)>span {
  display: block;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #3E6646;
}

.TOPheight>p:nth-of-type(2)>span {
  display: block;
  margin: 0 0 30px;
  font-size: 60px;
  font-weight: 900;
  color: #3E6646;
  letter-spacing: 3px;
}

.TOPheight>p:nth-of-type(3)>span {
  font-size: 20px;
  font-weight: 900;
  line-height: 50px;
}

@media screen and (max-width: 1200px) {
  .TOPheight>p:nth-of-type(1)>span {
    font-size: 24px;
  }

  .TOPheight>p:nth-of-type(2)>span {
    font-size: 50px;
    margin: 10px 0 30px;
  }

  .TOPheight>p:nth-of-type(3)>span {
    font-size: 18px;
  }

  .TOPheight {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: calc(100vh - 60px);
    margin-top: 60px;
    padding: 0 5% 50px;
    background-image: url(../img/ethicaproducts/top.png);
    text-align: left;
    background-size: 120%;
    background-position: top right;
  }
}

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

  .TOPheight {
    max-height: 600px;
  }

  .TOPheight>p:nth-of-type(1)>span {
    font-size: 20px;
  }

  .TOPheight>p:nth-of-type(2)>span {
    margin: 10px 0 30px;
    font-size: min(7vw, 36px) !important;
  }

  .TOPheight>p:nth-of-type(3)>span {
    font-size: 16px;
    line-height: 25px;
  }

  .TOPheight {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: calc(100vh - 60px);
    margin-top: 60px;
    padding: 0 5% 50px;
    background-image: url(../img/ethicaproducts/top.png);
    text-align: left;
    background-size: 140%;
  }
}

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

  .TOPheight {
    max-height: 500px;
  }

  .TOPheight>p:nth-of-type(1)>span {
    font-size: 16px;
  }

  .TOPheight {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: calc(100vh - 60px);
    margin-top: 60px;
    padding: 0 5% 50px;
    background-image: url(../img/ethicaproducts/top.png);
    text-align: left;
    background-size: 150%;
  }

  .TOPheight>p:nth-of-type(2)>span {
    margin: 10px 0 20px;
    font-size: min(7vw, 36px) !important;
  }

  .TOPheight>p:nth-of-type(3)>span {
    font-size: 14px !important;
  }

}

/*----------------------------------------------
  section01
------------------------------------------------*/
.ep-section01 {
  display: flex;
  gap: 50px;
  align-items: center;
}

.ep-section01-img {
  display: block;
  width: 30%;
}

.ep-section01-img img {
  width: 100%;
  height: auto;
}

.ep-section01-p {
  flex: 1;
  font-size: 20px;
  line-height: 40px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .ep-section01 {
    flex-direction: column;
    gap: 20px;
  }

  .ep-section01-img {
    width: 60%;
    margin: 0 auto;
  }

  .ep-section01-p {
    font-size: 16px;
    line-height: 28px;
    text-align: center;
  }
}

/*----------------------------------------------
    section02
------------------------------------------------*/
.ep-section02>ul {
  padding: 0 100px;
  border: solid 3px #3E6646;
  border-radius: 20px;
  background: #fff;
}

.ep-section02>ul>li {
  margin: 50px 0;
}

.ep-section02-h3 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #3E6646;
}

.ep-section02-h3::before {
  content: "●";
  padding-right: 10px;
}

.ep-section02>ul>li>p {
  line-height: 20px;
  color: #6E6E6E;
}

@media screen and (max-width: 768px) {
  .ep-section02>ul {
    padding: 10px 30px;
    border-width: 2px;
  }

  .ep-section02>ul>li {
    margin: 30px 0;
  }

  .ep-section02-h3 {
    font-size: 18px;
  }

  .ep-section02-h3::before {
    padding-right: 6px;
  }
}

/*----------------------------------------------
  section03
------------------------------------------------*/
.ep-section03-img {
  padding: 30px 100px;
  border: solid 3px #3E6646;
  border-radius: 20px;
  background: #fff;
}

.ep-section03>ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 50px auto;
}

.ep-section03>ul>li>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px #8D8D8D35;
}

.ep-section03>ul>li>a>p:nth-of-type(1) {
  margin: 5px 0 0;
}

.ep-section03-p02 {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 0 5px;
  font-size: 13px !important;
  line-height: 18px;
  color: #6E6E6E;
  text-align: center;
}

.ep-section03>ul>li>a>img {
  width: 70px;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 10px solid #3E6646;
}

@media screen and (max-width: 768px) {
  .ep-section03-img {
    padding: 10px 15px;
    border: solid 2px #3E6646;
    border-radius: 10px;
  }

  .ep-section03>ul {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 30px auto;
  }

  .ep-section03-p02 {
    font-size: 12px !important;
  }
}


/*----------------------------------------------
  topics
------------------------------------------------*/
.topics {
  position: fixed;
  z-index: 2;
  top: 300px;
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  padding: 15px;
  border: solid 3px #3E6646;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.topics li {
  margin: 5px 0;
}

.topics a:hover {
  color: #90ca9b;
  transition: ease 0.3s;
}

.topics li::before {
  content: "▶";
  margin-right: 10px;
  color: #3E6646;
}

@media screen and (max-width: 1000px) {
  .topics {
    display: none;
  }
}


/*----------------------------------------------
  section04-14
------------------------------------------------*/
.relative {
  position: relative;
  padding-top: 100px;
}

.ep-box {
  width: 100%;
  padding: 100px 100px 50px;
  border: solid 3px #3E6646;
  border-radius: 20px;
  background: #fff;
}

/*title*/

.ep-box-title {
  position: absolute;
  top: 50px;
  right: 0;
  left: 0;
  display: flex;
  gap: 30px;
  align-items: center;
  width: min(80vw, 1000px);
  height: 100px;
  margin: 0 auto;
  padding: 15px 50px;
  border-radius: 10px;
  background: #3E6646;
}

.ep-box-img {
  width: 70px;
}

.ep-box-title01 {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

.ep-box-title02 {
  color: #fff;
  font-size: 14px;
}

.fairtradepaper {
  font-size: 14px;
  border-bottom: solid 1px #fff;
  line-height: 10px;
}

.fairtradepaper::before {
  content: "\f002";
  display: inline-block;
  margin: 0.3em;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  text-decoration: none;
}

.fairtradepaper-img {
  display: block;
  max-width: 450px;
  width: 100%;
  margin: 30px auto 0;
}

.modal_title {
  background-color: #3E6646;
}


/*issues*/
.ep-box-h3 {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: solid 1px #D9D9D9;
  font-size: 24px;
}

.h3-mark01::before {
  content: url(../img/ethicaproducts/issues.jpg);
  width: 36px;
  height: 36px;
}

.ep-box-issues {
  margin: 30px 0;
}

.ep-box-issues span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 20px;
}

.ep-box-issuesimg {
  margin-bottom: 50px;
  height: 200px;
  object-fit: cover;
}

/*solution*/
.h3-mark02::before {
  content: url(../img/ethicaproducts/solution.jpg);
  width: 36px;
  height: 36px;
}

.ep-box-solution {
  display: flex;
  align-items: center;
  gap: 50px;
  margin: 50px 0;
}

.ep-box-solution>p,
.ep-box-issues {
  line-height: 35px;
  color: #6E6E6E;
}


.ep-box-solution>img {
  max-width: 220px;
}

.ep-box-solution>p>span {
  display: block;
  font-size: 14px;
}

/*about*/
.ep-box-about {
  display: flex;
  gap: 50px;
  margin-top: 50px;
}

.ep-box-about>div:nth-of-type(1) {
  width: 40%;
}

.ep-box-about>div:nth-of-type(2) {
  flex: 1;
}

.ep-box-about>div:nth-of-type(1)>div,
.ep-box-about>div:nth-of-type(2)>div {
  background: #F7F6F4;
  height: 180px;
  padding: 30px;
  display: flex;
  align-items: center;
}

.ep-box-h4 {
  font-size: 20px;
  margin-bottom: 5px;
}

.ep-box-h4>span {
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .relative {
    position: relative;
    padding-top: 50px;
  }

  .ep-box {
    padding: 50px 30px 30px;
    border-radius: 10px;
    border: solid 2px #3E6646;
  }

  /*title*/
  .ep-box-title {
    top: 0px;
    align-items: center;
    gap: 10px;
    height: 80px;
    padding: 10px 20px;
  }

  .ep-box-img {
    width: 50px;
  }

  .ep-box-title02 {
    font-size: 12px !important;
  }

  .fairtradepaper {
    font-size: 12px !important;
  }

  /*issues*/
  .ep-box-h3 {
    font-size: 18px;
    gap: 10px;
  }

  .ep-box-issuesimg {
    margin-bottom: 50px;
  }

  .ep-box-issues,
  .ep-box-solution {
    margin: 20px 0;
  }

  /*solution*/
  .ep-box-solution {
    flex-direction: column;
    gap: 20px;
  }

  .ep-box-solution>img {
    width: 60%;
  }

  .ep-box-solution>p,
  .ep-box-issues {
    line-height: 25px !important;
  }


  /*about*/
  .ep-box-about {
    flex-direction: column;
    gap: 20px;
  }

  .ep-box-h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .ep-box-about>div:nth-of-type(1),
  .ep-box-about>div:nth-of-type(2) {
    width: 100%;
  }

  .ep-box-about>div:nth-of-type(1)>div,
  .ep-box-about>div:nth-of-type(2)>div {
    height: auto;
    padding: 15px;
  }

  .ep-box-about>div>div {
    height: auto;
    padding: 20px;
  }
}

/*----------------------------------------------
  section15
------------------------------------------------*/
.ep-section15>div {
  background: #fff;
  padding: 0 100px 50px;
  border: solid 3px #3E6646;
  border-radius: 20px;
}

.ep-section15>div>ul {
  max-width: 900px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ep-section15>div>ul>li {
  background: #F7F6F4;
  padding: 20px;
  border-radius: 5px;
}

.ep-section15>div>ul>li>img {
  width: 100%;
}

.ep-section15>div>ul>li>div {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 900;
}

.ep-section15>div>ul>li>div>p {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 900;
}

.ep15-markimg {
  width: 36px;
  height: auto;
}

.ep15-indeximg {
  width: 100%;
}

.ep-section15 span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.ep15-h3 {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
  padding-bottom: 15px;
  border-bottom: solid 1px #D9D9D9;
  color: #3E6646;
  margin: 50px 0 0;
}

/* ===== タブレット ===== */
@media (max-width: 768px) {
  .ep-section15>div {
    padding: 0 40px 40px;
    /* 余白を縮める */
  }

  .ep-section15>div>ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ep15-h3 {
    font-size: 20px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 480px) {
  .ep-section15>div {
    padding: 0 20px 30px;
    /* スマホはさらに余白縮小 */
  }

  .ep-section15>div>ul {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .ep-section15>div>ul>li {
    padding: 16px;
  }

  .ep15-h3 {
    font-size: 18px;
    margin-top: 30px;
  }

  .ep15-markimg {
    width: 28px;
    /* アイコン少し小さく */
  }

  .ep-section15 span {
    font-size: 11px;
  }
}

/*----------------------------------------------
  wrap-up
------------------------------------------------*/
.wrap-up {
  text-align: center;
}

.wrap-up img {
  display: block;
  max-width: 400px;
  width: 70%;
  margin: 0 auto;
}

.wrap-up-p {
  margin-top: 50px;
  font-size: 20px;
  font-weight: 900;
  line-height: 40px;
}


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

  .wrap-up-p {
    margin-top: 30px;
    line-height: 30px !important;
  }
}

/*----------------------------------------------
  banner
------------------------------------------------*/
.h4 {
  font-size: 1.44rem;
  font-weight: 700;
  line-height: 1.2;
  font-display: swap;
}

.banner {
  text-align: center;
}

.spe-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  width: min(85vw 1632px, 1000px);
  margin: 20px auto 50px;
}

@media screen and (max-width: 767px) {
  .spe-box {
    grid-template-columns: 1fr 1fr;
  }

  .h4 {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/*----------------------------------------------
  modal
------------------------------------------------*/
.imgmodal {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.imgmodal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  max-width: 1000px;
  width: 100%;
  border: solid 30px #fff;
}

/*
