@charset "utf-8";

:root {
  --featured-color: #43B02A;
  --featured-color-hover: #ffffff;
  --base-color-dark: #2f2f2f;
  --base-color-light: #ffffff;
  --button-radius: 6px;
  --margin-LR: 6%;
  --width-limitter: 1100px;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
} 

a{
  text-decoration: none;
}

#svg-definition{
  display: none;
}

/* links & buttons */
.link--text-only{
  display: flex;
  align-items: center;
  margin: 0 10px;
  padding: 4px 0;
  & a{
    color: var(--base-color-dark);
  }
}

.link--basic{
  border-radius: var(--button-radius);
  border: solid 1px var(--base-color-dark);
  background-color: var(--base-color-light);
  & a{
    color: var(--base-color-dark);
  }
  &:hover{
    background-color: var(--base-color-dark);
    & a{
      color: var(--base-color-light);
    }
    & #svg-icon-globe{
      stroke: var(--base-color-light);
    }
  }
}

.link--featured{
  margin-right: 0;
  border-radius: var(--button-radius);
  border: solid 1px var(--featured-color);
  background-color: var(--featured-color);
  & a{
    color: var(--base-color-light);
  }
  &:hover{
    background-color: var(--featured-color-hover);
    & a{
      color: var(--featured-color);
    }
    & #svg-icon-arrow{
      stroke: var(--featured-color);
    }
  }
}

.link--with-icon{
  display: flex;
  margin: 10px 8px;
  padding: 4px 10px;
  & a{
    align-items: center;
    margin: 0 6px;
  }
  & #svg-icon-globe{
    width: 24px;
    fill: none;
    stroke-width: 1;
    stroke: var(--base-color-dark);
  }
  & #svg-icon-arrow{
    width: 24px;
    fill: none;
    stroke-width: 1.5;
    stroke: var(--base-color-light);
  }  
  & #svg-icon-mail{
    width: 18px;
    fill: none;
    stroke-width: 1.5;
    stroke: var(--base-color-light);
  }  
}

.block-container{
  justify-self: center;
}

.button--footer{ /* is used for popovers */
  border: none;
  background-color: var(--base-color-light);
  font-size: medium;
  color: var(--base-color-dark);
}


/* mobile */
header {
  padding: 6px 0;
  text-align: center;
}

#header-logo{
  height: 48px;
  padding-top: 10px;
}

#header-menu__container{
  display: none;
}

.hamburger-menu-button {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  /* background-color: #ffffff; */
}
.hamburger-menu-button span,
.hamburger-menu-button span:before,
.hamburger-menu-button span:after {
  /* icon-like lines */
    content: '';
    display: block;
    height: 2px;
    width: 25px;
    border-radius: 0;
    background-color: var(--base-color-dark);
    position: absolute;
    transition: 0.3s;
  }
.hamburger-menu-button span:before {
    bottom: 8px;
}
.hamburger-menu-button span:after {
    top: 8px;
}  
#hamburger-menu-status:checked ~ .hamburger-menu-button span {
  /* icon-like lines transition */
  background-color: rgba(255, 255, 255, 0);
}
#hamburger-menu-status:checked ~ .hamburger-menu-button span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#hamburger-menu-status:checked ~ .hamburger-menu-button span::after {
  top: 0;
  transform: rotate(-45deg);
}
#hamburger-menu-status{
  /* hiding */
  display: none;
}

.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;/*make the initial bound out of the window*/
  z-index: 80;
  background-color: #ffffff;
  transition: all 0.4s;
}
#hamburger-menu-status:checked ~ .menu-content {
  left: 0;/*push back to the window-bound*/
}

.menu-content ul {
  padding: 70px 10px 0;
  & li{
    /* border-bottom: solid 1px #ffffff; */
    list-style: none;
    margin: 1.5em 0em;
  }
  & a{
    /* display: block; */
    /* width: 70%; */
    font-size: large;
    box-sizing: border-box;
    color: var(--base-color-dark);
    /* margin: 10px 0 0 6px; */
    /* padding: 10px 15px 10px 0; */
    position: relative;
  }
  & button{
    /* display: block; */
    /* width: 70%; */
    border: none;
    background-color: var(--base-color-light);
    font-size: large;
    color: var(--base-color-dark);
    
    /* box-sizing: border-box; */
    /* margin: 10px 0 0 6px; */
    /* padding: 10px 15px 10px 0; */
    /* position: relative; */

  }
}
  
#in-hamburger-menu-logo{
  margin-top: 40px;
  height: 40px;
}


#cover-image-container{
  height: 30vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-image: url("../top_images/cover-image_small_CellSamples.jpg");
  transition: all 1.6s;

  display: flex;
  justify-content: center;
  
  & .cover-image-overwrap-content{
    margin: 0 var(--margin-LR);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  & h1 {
    font-weight: normal;
    font-size: large;
    color: var(--base-color-light);
    text-shadow: 0px 0px 4px #000000;
    text-align: center;
    margin: 1em 0;
    & span{
      display: inline-block;
    }
  }
  & nav{
    text-align: center;
    margin-bottom: 0.5em;
  }
  & a {
    display: inline-block;
    background-color: rgba(0,0,0,0.35);
    font-size: medium;
    color: var(--base-color-light);
    margin: 4px 10px;
    padding: 6px 10px;
    border-radius: 0;
    border: solid 1px;
    border-color:var(--base-color-light);
  }
}

.corporate-outline{
  margin: 0 var(--margin-LR);
  font-size: medium;

  & .text-container{
    padding: 20px 0 4px 0;
  }

  & >p{
    text-align: center;
  }

}

.pdf-container{
  justify-self: center;
  width: 80vw;
  height: 44vw; /* = width x 9/16 with a little justification*/
  margin-top: 40px;
  & embed{
    width: 100%;
    height: 100%;
    }
}

.simple-message-container{
  margin: 0 var(--margin-LR);

  & >p{
    text-align: center;
    color: var(--base-color-dark);
    font-size: x-large;
    padding-top: 24px;
    padding-bottom: 20px;
    }
}

hr{
  width: 80vw;
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #c2c2c2;
  margin-top: 32px;
}

footer {

  text-align: center;
  font-family: sans-serif;
  
  #footer-logo{
    height: 60px;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  
  .text-links{
    text-align: center;
    margin: 20px 0 30px;
    & a{
      display: block;
      color: var(--base-color-dark);
      margin: 20px 20px;
      font-size: medium;
    }
  }

   
  .popover--window{
    /* margin: 0;
    min-width: 100vw;
    min-height: 100vh;
    padding: 20% 5%; */
    max-width: 75%;
    max-height: 90%;
    padding: 1em 2em;
    border: none;
    /* border-radius: 12px; */
    background-color: rgba(0,0,0,0.85);
    box-shadow: 4px 6px 8px rgba(0,0,0,0.2);
    
    color:var(--base-color-light);
    text-align: left;
    & ol{
      padding: 0em 1em;
      text-align: left;
    }
    & ul{
      padding: 0em 1.5em;
      text-align: left;
    }
    & li{
      margin: 0.6em 0em;
    }
    & a{
      color: #cdcdcd;
    }
    & p{
      margin-top: 0px;
    }
    & hr{
      width: 100%;
      border-width: 1px 0 0 0;
      border-style: solid;
      border-color: #c2c2c2;
      margin-top: 24px;
    }
    
  }

  .certifications-and-symbols{
    a{
      display: block;
      text-align: center;
    }
    #UN-Global-Compact{
      img{
        height: 120px;
        margin-top: 20px;
      }
    }
    #SDGs{
      img{
        height: 100px;
        margin-top: 8px;
      }
    }
    #EcoVadis-Silver{
      img{
        height: 100px;
        margin-top: 6px;
      }
    }
    #RE100-Gold{
      img{
        height: 60px;
        margin-top: 6px;
        margin-bottom: 16px;
      }
    }
    #KenkouKeiei{
      img{
        height: 100px;
        margin-top: -12px;
      }
    }
    #Kanagawa-SDGs-Partner{
      img{
        height: 68px;
        margin-top: 18px;
      }
    }
    #Y-SDGs{
      img{
        height: 68px;
        margin-top: 22px;
      }
    }
    #Sustainable-Selection{
      img{
        height: 70px;
        margin-top: 20px;
      }
    }
  }
  
}


#copyright{
  text-align: center;
  color: var(--base-color-dark);
  font-size: small;
  padding-top: 50px;
  padding-bottom: 50px;
}


@media screen and (min-width: 600px) {
  #hamburger-menu-container{
    display: none;
  }
  .underline-on-hover:hover{
    text-decoration: underline;
    text-underline-offset: 0.3em;
  }
  
  #header-logo{
    height: 48px;
    padding-top: 10px;
  }

  #header-menu__container{
    display:flex;
    justify-content: center;
  }    

  #cover-image-container{
    height: 40vh;
    background-image: url("../top_images/cover-image_large_CellSamples.jpg");

    & h1{
      font-size: x-large;
    }

    & a{
      display: inline;
      margin: 0 4px;
    }
  }

  .cover-image-overwrap-content nav{
    display: none;
  }
  
  footer{
    margin: 0 var(--margin-LR);
    .text-links{
      word-break: keep-all;
      line-height: 3em;
      & a{
        display: inline;
      }
      /* & button{
        display: inline;
      } */
    }
    
    .popover--window{
      border-radius: 12px;
    }

    .certifications-and-symbols{
      & a{
        display: inline;
      }
      #UN-Global-Compact{
        img{
          height: 100px;
          margin: 0 0 7px 0;
        }
      }
      #SDGs{
        img{
          height: 100px;
          margin: 0 0 2px 10px;
        }
      }
      #EcoVadis-Silver{
        img{
          height: 100px;
          margin: 0 2px 0 2px;
        }
      }
      #RE100-Gold{
        img{
          height: 60px;
          margin: 0 12px 20px 6px;
        }
      }
      #KenkouKeiei{
        img{
          height: 100px;
          margin: 0 0 6px 0;
        }
      }
      #Kanagawa-SDGs-Partner{
        img{
          height: 68px;
          margin: 0 0 16px 16px;
        }
      }
      #Y-SDGs{
        img{
          height: 68px;
          margin: 0 0 16px 28px;
        }
      }
      #Sustainable-Selection{
        img{
          height: 70px;
          margin: 0 0 16px 28px;
        }
      }
  
    }
  }

}


@media screen and (min-width: 960px) {

  header {
    margin: 0 var(--margin-LR);
    display: flex;
    justify-content: space-between;
  }

  #header-logo{
    display: inline;
    height: 48px;
    margin-left: -15px;
  }
  
  #header-menu__container{
    display:flex;
    /* justify-self: center; */
    margin: 6px 0;
  }

  #cover-image-container{
    height: 46vh;
    
    & h1{
      font-size: xx-large;
    }
  }

  .pdf-container{
    width: 72vw;
    height: 40vw; /* = width x 9/16, with a little justification*/
    margin-top: 40px;
  }
  
  .certifications-and-symbols{
    a{
      display: block;
      text-align: center;
    }
  }

}

@media screen and (min-width: 1250px) { 
  /* min-width = (--width-limitter) / (1 - 2*(--margin-LR)) */

  header {
    max-width: var(--width-limitter);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
 
  .corporate-outline{
    max-width: var(--width-limitter);
    justify-self: center;
  }

  h1{
    max-width: var(--width-limitter);
  }
  body hr{
    margin-top: 32px;
  }

  footer #footer-logo{
    margin-top: 4px;
  }

}