@charset "utf-8";

/* === .fBox (flexBox) === */
@media screen and (min-width: 768px){
  .fBox {
    display: -webkit-box;
    display: flex;
  }
}

/* === #contents === */
#contents ul {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}
#contents ul li {
  position: relative;
  display: block;
}
#contents ul li a {
  transition: all 0.3s ease;
}
#contents ul li div {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(173, 0, 0, 0.5);
  color: #fff;
}
#contents ul li figure img {
  display: block;
}
@media screen and (min-width: 768px){
  #contents ul li {
    width: calc((100% - 48px) / 3);
    margin-left: 24px;
  }
  #contents ul li:first-child {
    margin-left: 0;
  }
  #contents ul li:nth-child(3n+1) {
    margin-left: 0;
  }
  #contents ul li:nth-child(n+4) {
    margin-top: 24px;
  }
  #contents ul li a:hover {
    opacity: 0.7;
  }
  #contents ul li div {
    font-size: calc(18 / 16 * 1rem);
    line-height: 1.3;
    height: 80px;
    padding: 4px 16px;
  }
}
@media not all and (min-width: 768px){
  #contents ul li {
    width: calc((100% - 12px) / 2);
    margin-left: 12px;
  }
  #contents ul li:first-child {
    margin-left: 0;
  }
  #contents ul li:nth-child(2n+1) {
    margin-left: 0;
  }
  #contents ul li:nth-child(n+3) {
    margin-top: 12px;
  }
  #contents ul li a:active {
    opacity: 0.7;
  }
  #contents ul li div {
    font-size: calc(16 / 16 * 1rem);
    line-height: 1.2;
    height: fit-content;
    min-height: 48px;
    padding: 4px 12px;
    letter-spacing: -0.02em;
  }
  .br-pc {
    display: none;
  }
}

/* === #sustainability === */
#sustainability .head__line__relation {
  font-weight: 700;
  font-size: calc(18 / 16 * 1rem);
  letter-spacing: 0.1em;
  line-height: 1.3;
  position: relative;
  margin-bottom: 15px;
  padding: 5px;
  padding-left: 20px;
}
#sustainability .head__line__relation::before {
  content: "";
  background-color: #871c25;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  top: 0;
  height: 50%;
  width: 1px;
}
#sustainability .head__line__relation::after {
  content: "";
  background-color: #a3898f;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 50%;
  width: 1px;
  top: 50%;
}
@media (min-width: 768px) {
  #sustainability .head__line__relation {
    font-size: calc(30 / 16 * 1rem);
    padding-bottom: 10px;
    margin-bottom: 38px;
    padding-top: 10px;
  }
  #sustainability .head__line__relation::before,
  #sustainability .head__line__relation::after {
    width: 2px;
  }
}
#sustainability > div {
  position: relative;
}
#sustainability ul {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}
#sustainability ul li {
  position: relative;
  display: block;
  letter-spacing: 2px;
}
#sustainability ul li a {
  transition: all 0.3s ease;
}
#sustainability ul li div {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  height: 100%;
  justify-content: center;
}
#sustainability ul li figure img {
  display: block;
}
#sustainability .link-container {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 45px;
}
#sustainability .link-btn {
  text-decoration: none;
  color: inherit;
  letter-spacing: 3px;
  position: relative;
  border-bottom: 1px solid #7e0017;
  padding: 0 25px 5px 3px;
}
#sustainability .link-btn::after {
  content: "";
  width: 15px;
  height: 15px;
  background: url(/assets/img/common/arrow01.png) no-repeat 0 0 / 100% 100%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (min-width: 768px){
  #sustainability ul li {
    width: calc(100% / 4);
  }
  #sustainability ul li a:hover {
    opacity: 0.7;
  }
  #sustainability ul li div {
    font-size: calc(18 / 16 * 1rem);
    line-height: 1.3;
    padding: 4px 16px;
  }
  #sustainability .link-btn:hover {
    opacity: 0.8;
  }
}
@media not all and (min-width: 768px){
  #sustainability {
    margin-top: 48px;
  }
  #sustainability ul li {
    width: calc(100% / 2);
  }
  #sustainability ul li a:active {
    opacity: 0.7;
  }
  #sustainability ul li div {
    font-size: calc(16 / 16 * 1rem);
    line-height: 1.2;
    padding: 4px 12px;
    letter-spacing: -0.02em;
  }
  #sustainability .link-btn:active {
    opacity: 0.8;
  }
}