/*
Theme Name: hirodesigns
Description: Contact for Hiro Designs Inc.
Theme URI: https://www.hirodesigns.co.jp/contact/
Author: Hiro Designs Inc.
Author URI: https://www.hirodesigns.co.jp/contact/
Version: 1.0.0
License: Hiro Designs Inc.
*/

body {
  margin: 0;
  font-family: Georgia;
  font-size: 16px;
  letter-spacing: 1px;
  -webkit-text-size-adjust: 100%;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: rgba(0, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

.home {
  background-color: rgba(255, 222, 122, 1);
}

.works {
  background-color: rgba(255, 255, 255, 1);
}

/* header from here  */
.header-space {
  height: 50px;
  width: auto;
}

.menu-icon {
  height: 40px;
  width: 50px;
  margin: 15px 20px;
  background-color: rgba(247, 206, 107, 0);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
}

.menu-icon img {
  height: 20px;
  margin: 10px 15px;
  float: right;
}

.navi {
  display: none;
}

.header-wrapper {
  height: 150px;
  width: auto;
  display: flex;
  justify-content: center;
}

.header-company-logo-wrapper {
  width: 80vw;
  display: flex;
  justify-content: center;
}

.header-menu-container {
  height: 35px;
  width: auto;
  line-height: 35px;
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.menu-icon {
  height: 40px;
  width: 50px;
  cursor: pointer;
  display: none;
}

/* responsible menu */
@media (max-width: 500px) {
  .navi-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index:18;
    display: none;
  }

  .navi {
    height:90%;
    max-height: 500px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    text-align: center;
    position: fixed;
    top: 80px;
    z-index: 20;
    overflow: auto;
  }

  #close-btn {
    height: 20px;
    margin: 20px 25px;
    position: fixed;
    top: 80px;
    right: 0px;
    cursor: pointer;
  }

  .naviMenu-container {
    position: relative;
    height: 500px;
    width: 100px;
    margin: 0 auto;
  }

  .navi ul {
    height: 70%;
    width: 100px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .navi li {
    height: 50px;
    width: 100px;
    line-height: 50px;
    margin: 30px 0;
  }

  .navi a {
    display: block;
    height: 100%;
    width: 100%;
  }

  .header-company-logo-container {
    transform: translateX(0); 
  }

  .header-menu-container {
    display: none;
  }

  .menu-icon {
    display: block!important;
    z-index: 19;
  }
}
/* responsible end */

.header-menu-container li {
  float: left;
  width: 100px;
  margin: 0px 10px;
  text-align: center;
}

.each-menu {
  position: relative;
}

.current {
  border-top: solid 1px rgba(0, 0, 0, 1);
  border-bottom: solid 1px rgba(0, 0, 0, 1);
}

.each-menu::before{
  content: '';
  background-color: rgba(0, 0, 0, 1);
  height: 1px;
  width: 0%;
  top: 0;
  right: 0;
  position: absolute;
  transition: all .5s;
}

.each-menu::after {
  content: '';
  background-color: rgba(0, 0, 0, 1);
  height: 1px;
  width: 0%;
  bottom: 0;
  left: 0;
  position: absolute;
  transition: all .5s;
}

.each-menu:hover::before {
  width: 100%;
}

.each-menu:hover::after {
  width: 100%;
}

.header-menu-container a {
  display: block;
  height: 100%;
  width: 100%;
}
/* header end */


/* main-contents from here */
.main-contents {
  width: auto;
  margin: 5vh auto;
  display: flex;
  justify-content: center;
}

.main-container {
  display: flex;
  justify-content: center;
  margin: 5vh 0 5vh 0;
}

.slick-wrapper {
  margin: 0;
  width: 80vw;
}

@media(max-width: 900px) {
  .slick-wrapper {
    width: 100vw;
  }
}

.slick {
  display: none;
}

.slick-initialized {
  display: block;
}

.slick a {
  outline: none;
}

.image {
  width: 100%;
  padding: 10px 10px;
  transition: all 0.5s;
  position: relative;
}

.mask {
  display: block!important;
  width: 100%;
  padding: 10px 10px;
  position:absolute;
  top: 0;
  left: 0;
  z-index: 8;
  opacity: 0;
  transition: all 0.5s;
}

.slick {
  margin: 0;
}

.slick-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 30px;
  width: 30px;
  opacity: 1;
}

.slick-arrow:hover {
  cursor: pointer;
}

.slick-prevArrow {
  left: -50px;
}
.slick-nextArrow {
  right: -50px;
}

@media (max-width: 900px) {
  .slick-arrow {
    height: 30px;
    width: 30px;
  }
  .slick-prevArrow {
    left: 0px;
    z-index: 9;
  }
  .slick-nextArrow {
    right: 0px;
  }
}

.slick-dots li button:before {
  padding-top: 20px;
  font-size: 30px;
  color: rgba(255, 255, 255, 1);
  opacity: 1;
}

.circle {
  position: relative;
  transition: all 0.5s;
  cursor: pointer;
}

.circle:hover {
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 5));
  transform: scale(1.02,1.02);
}

.circle:hover .mask {
  opacity: 0.7;
}

.circle:hover .icon-text {
  top: 45%;
  left: 10%;
  opacity: 1;
}

.icon-text {
  font-size: 24px;
  color: rgba(0, 0, 0, 1);
  transform: translate(0%, -50%);
  position: absolute;
  top: 55%;
  left: 10%;
  opacity: 0;
  transition: all 0.5s;
  z-index: 9;
  line-height: 1.7;
}

.arial-text {
  font-weight: 100;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  letter-spacing: 0.17rem;
}

/* graphics page */
.masonry-wrapper {
  padding: 7vh 0;
  width: 80vw;
  margin: 0 auto;
  max-width: 1500px;
}

.masonry {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  grid-template-columns: repeat( auto-fill, minmax( 250px, 1fr ) );
  grid-auto-rows: 0px;
}

.masonry-item {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.5);
}

.scrollUp-animation {
  transition: opacity 1s, transform 1s;
  opacity: 0;
  transform: translateY(50px);
}

.image-icon img {
  vertical-align: top;
}

.image-icon {
  position: relative;
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.image-icon::before {
  content: '';
  background-color: rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.image-icon:hover::before {
  background-color: rgba(0, 0, 0, 0.5);
}

@media (max-height: 499px), (max-width: 699px) {
  .image-icon {
    cursor: auto;
  }

  .image-icon:hover::before {
    background-color: rgba(0, 0, 0, 0);
  }
}

.noCSS-layer {
  display: none;
}

.description {
  padding: 40px 0 0 20px;
  height: 96px;
  line-height: 16px;
}


.web-visit {
  display: block!important;
  width: 30px;
  margin: 3px 0;
  font-size: 12px;
  color:rgba(130, 130, 130, 1)
}

.web-visit:hover {
  color:rgba(0, 0, 0, 1)
}

/* popup from here*/
#popup-overlay {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index:20;
}

.popupImage-wrapper {
  width: 90vw;
  height: 90vh;
  z-index: 20;
}

.popupImage-container {
  position: relative;
  z-index: 21;
}

.popupImage {
  display: none;
}

.popupImageActive {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 250px;
  display: block;
}

@media screen and (max-height: 1000px) {
  .popupImageActive {
    max-height: 70%!important;
  }
}

#popup-closeBtn {
  height: 40px;
  color: rgba(255, 255, 255, 1);
  position: fixed;
  top: 2%;
  right: 2%;
  z-index: 30;
}

#popup-closeBtn:hover {
  cursor: pointer;
}

.popup-arrow {
  height: 40px;
  z-index: 30;
  display: none;
}

.popup-arrow:hover {
  cursor: pointer;
}

.popup-prevArrow {
  position: fixed;
  top: 50%;
  left: 1%;
  transform: translateY(-50%);
}

.popup-nextArrow {
  position: fixed;
  top: 50%;
  right: 1%;
  transform: translateY(-50%);
}

.popup-dots {
  width: 480px;
  position: fixed;
  top: 95%;
  left: 50%;
  z-index: 25;
  transform: translate(-50%, -50%);
}

.popup-dots li {
  height: 8px;
  width: 8px;
  margin: 11px 11px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 100%;
  float: left;
}

.popup-dots li:hover {
  cursor: pointer;
}

.web-link {
  color: rgba(255, 255, 255, 1);
  position: fixed;
  top: 88%;
  left: 50%;
  z-index: 25;
  transform: translateX(-50%);
  display: none;
}

.webLink-active {
  display: block;
}

.web-link:hover {
  color: rgba(200, 200, 200, 1);
 
}

/* popup end */
/* main-contents end */

/* 404 page */
.error-message {
  padding: 150px 0;
}

/* contact from here */
.contact-url {
  text-align: center;
  padding: 130px 0;
}

.contact-url p {
  line-height: 2rem;
}

.form-wrapper {
  width: 800px;
  margin: 0 auto;
  padding: 7vh 0;
}

.form-wrapper p {
  margin: 0 0 30px 0;
}

input {
  font-size: 16px;
  border: none;
  outline: none;
  padding: 10px;
  margin: 10px 0 5px 0;
  border-radius: 5px;
  height: 36px;
  width: 400px;
  font-family: Georgia;
}

textarea {
  font-size: 16px;
  border: none;
  outline: none;
  padding: 10px;
  margin: 10px 0 5px 0;
  border-radius: 5px;
  height: 200px;
  width: 800px;
  font-family: Georgia;
}

.submitBtn {
  font-size: 16px;
  height: 40px;
  width: 200px;
  margin: 50px auto 0;
  cursor: pointer;
  display: block;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(250, 105, 100, 1);
  appearance: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}

.submitBtn:hover {
  background-color: rgba(255, 82, 77, 1);
}

.wpcf7-not-valid-tip {
  color: rgba(255, 82, 77 ,1);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  color: rgba(255, 82, 77 ,1);
  border: none;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: none;
  text-align: center;
}

.wpcf7 form.sent label {
  display: none;
}

.wpcf7 form.sent .submitBtn {
  display: none;
}

/* google recaptcha CSS */
#recaptchaTerms {
  color: rgba(255, 255, 255, 1);
  font-size: 12px;
  text-align: center;
  margin-top: 38px;
}

#recaptchaTerms a {
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
}

#recaptchaTerms a:hover {
  color: rgba(200, 200, 200, 1);
}

.grecaptcha-badge {
  visibility: hidden;
}

@media(max-width: 900px) {
  .form-wrapper {
    width: 80vw;
  }

  input {
    width: 100%;
  }

  textarea {
    width: 100%;
  }

  .reply-message {
    width: 80vw;
  }

  .sent-message {
    width: 80vw;
  }
}

/* about form here*/
dl {
  margin-top: 0;
}

dl div {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 16px;
}

dt {
  margin: 2px 0;
  line-height: 24px;
  width: 250px;
}

dd {
  margin: 2px 0 2px 0px;
  line-height: 24px;
  display: flex;
}

.a-underline {
  text-decoration: underline;
  display: block;
}

.a-underline:hover {
  color: rgba(100, 100, 100, 1);
}

dd ul li{
  line-height: 25px;
}

@media screen and (max-width:900px){
  dt {
    width: 150px;
  }
}

@media screen and (max-width:755px){
  dl div {
    padding-bottom: 24px;
    flex-wrap: wrap;
  }

  dt {
    font-size: 24px;
    width: 100%;
  }
}

@media screen and (min-width:465px){
  #name-br {
    display: none;
  }

  #estab-br {
    display: none;
  }
}
/* end */

/* privacy policy from here  */
.form h3 {
  margin-top: 0;
}

.text-right {
  text-align: right;
}

.terms-link {
  text-decoration: underline;
}

.terms-link:hover {
  color: rgba(100, 100, 100, 1);
}

/* end */

/* footer from here */
.copy-right-wrapper {
  height: 30px;
  width: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: normal;
}

.copy-right-wrapper span {
  margin-right: 10px;
}

#index-footer {
  color: rgba(255, 255, 255, 1);
}

#index-footer a {
  color: rgba(255, 255, 255, 1);
}

#pp-link {
  text-decoration: underline;
}

#pp-link:hover {
  color: rgba(200, 200, 200, 1);
}

@media screen and (max-width: 599px){
  #copy-right-full {
    display: none;
  }
}

@media screen and (min-width: 600px){
  #copy-right-mobile {
    display: none;
  }
}

/* footer end */