@charset "utf-8";

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: verdana,"メイリオ",Meiryo,"游ゴシック",YuGothic,"
  ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",sans-serif; 
}

img {
  max-width: 100%;
}

p {
  letter-spacing: 0.1em;
}

li{
  list-style: none;
}

a{
  text-decoration: none;
}
/* HEADER */
video {
  width: 100%;
  height: 100Vh;
  object-fit: cover;
  vertical-align: bottom;
  object-position: 40% 0%;
  position: relative;
}

.menu {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.menu a {
  display: block;
  padding: 8px 0 0 16px;
  text-shadow: 1px 1px #999;
}

.top-icon {
  width: 56px;
  height: 56px;
}

.top-icon:hover {
  opacity: 0.7;
  transition: .3s;
}

.menu h1 {
  color: #fff;
  padding: 14px 0 0 8px;
}

h1 span {
  color: #70acce;
}

.header-nav {
  display: none;
}

#menu-sp, #close {
  width: 40px;
  height: 40px;
  position: fixed;
  top: 15px;
  right: 16px;
  border-radius: 4px;
  background-color: rgba(112, 172, 208, 0.5);
  
  transition: .3s;
}

#close {
  display: none;
  z-index: 2;
  background-color: #999;
}


#menu-sp img, #close img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  box-shadow: 1px 1px 2px 1px #70acce;
}

#close img {
  box-shadow: 1px 1px 2px 1px #777;
}

#menu-sp:hover, #close:hover {
  opacity: 0.3;
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  opacity: 1;
  height: 100vh;
  padding-top: 80px;
  text-align: center;
  background-color: #70acce;
  display: none;
}

.header-list-sp li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
}

.header-list-sp li:nth-child(1) {
  transition-delay: .1s;
}

.header-list-sp li:nth-child(2) {
  transition-delay: .2s;
}

.header-list-sp li:nth-child(3) {
  transition-delay: .3s;
}

.header-list-sp li:nth-child(4) {
  transition-delay: .4s;
}

.header-list-sp li:nth-child(5) {
  transition-delay: .5s;
}

.header-list-sp li {
  padding: 16px;
}

.header-list-sp a {
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 0px #777;
  transition-property: all;
  transition-duration: .3s;
}

#header-list-sp a:hover {
  opacity: 0.5;
}

.header-list-sp span {
  font-size: 12px;
}

.scroll-down {
  width: 160px;
  position: absolute;
  top: 80%;
  left: 0;
  right: 0;
  z-index: 0;
  margin: 0 auto;
  color: #fff;
  font-weight: bold;
  text-align: center;
  background-color:rgba(112, 172, 208, 0.5);
  border-radius: 50%;

  animation-name: scroll;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate-reverse;
}

@keyframes scroll {
  0% {
    transform: translateY(0px);
  }
  
  100% {
    transform: translateY(40px);
  }
}

.scroll-down p {
  padding: 24px 16px 10px 16px;
}

.scroll-down p span {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
/* //////////////////// */
/* 共通 */
/* //////////////////// */

#about, #product, #skill, #contact {
  background-color: #fff;
  padding: 32px 16px 40px 16px;
  margin: 0 auto 32px auto;
}

#skill, #contact {
  background-color: #70acce;
  padding: 32px 16px 60px 16px;
}

#product, #contact {
  margin: 0 auto 0 auto;
}

.about-wrap, .skill-wrap, .product-wrap, .contact-wrap {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-wrap {
  max-width: 720px;
}

.about-wrap h2, .product-wrap h2, .skill-wrap h2, .contact-wrap h2 {
  color: #101841;
  display: inline-block;
  font-size: 28px;
  margin-bottom: 48px;
  border-bottom: 2px solid #101841;
}

.skill-wrap h2, .contact-wrap h2 {
  color: #fff;
  border-bottom: 2px solid #fff;
  padding: 16px 0 0 0;
}

.about-wrap h3, .skill-wrap h3, .product-wrap h3, .contact-wrap h3 {
  font-size: 16px;
  color: #101841;
}

.skill-wrap h3, .contact-wrap h3 {
  color: #fff;
}

/* //////////////////// */
/* ABOUT */
/* //////////////////// */
.about-wrap-inner {
  display: flex;
  justify-content: space-between;
}

.about-img {
  width: calc(100% - 52%);
}

.about-img img {
  width: 80%;
  border-radius: 50%;
}

.about-text {
  width: calc(100% - 52%);
  text-align: left;
  align-self: center;
  font-size: 15px;
  color: #101841;
}

/* //////////////////// */
/* SKILL */
/* //////////////////// */
.skill-wrap-inner {
  display: flex;
  justify-content: space-between;
}

.skill {
  width: calc(100% - 64% - 4%);
}

.material-icons {
  color: #fff;
  font-size: 64px;
  position: relative;
  margin-bottom: 16px;
}

.material-icons::after {
  content: '';
  position: absolute;
  top: 0px;
  right: 0;
  bottom: 0;
  left: -6px;
  margin: auto;
  opacity: 0.8;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid #fff;
  box-shadow: 0px 0px 6px #101841;
  display: block;
}

.skill p {
  color: #fff;
  font-size: 15px;
  padding-top: 4px;
}

/* //////////////////// */
/* PRODUCT */
/* //////////////////// */
.product-wrap-inner {
  /* display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 4%; */

  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.product {
  width: 46%;
}

.product img, .product h3 {
  transition: all;
  transition-duration: .3s;
}

.product a:hover img, .product a:hover h3 {
  opacity: 0.5;
  transform: translateY(-12px);
}

.product h3 {
  color: #101841;
  margin-bottom: 32px;
}

.product img {
  border-radius: 8px;
  box-shadow: 0 0 6px #999;
}

/* //////////////////// */
/* CONTACT */
/* //////////////////// */
#contact {
  color: #fff;
}

.contact-text {
  text-align: left;
  font-size: 15px;
  padding-bottom: 40px;
  letter-spacing: 0.1em;
}

.contact-text a {
  padding: 0 2px;
  color: #0b62e5;
  position: relative;
  display: inline-block;
}

.contact-text a::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1px;
  width: 0;
  height: 1px;
  display: block;
  transition: .2s all;
  background-color: #0b62e5;
}

.contact-text a:hover::after {
  width: 100%;
}

.caution {
  color: #000;
  font-weight: bold;
  margin-top: 1em;
}

.contact-text .caution::before {
  content: '※';
}

.form-wrap {
  text-align: left;
}

label {
  display: inline-block;
  margin-bottom: 4px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 24px;
  border-radius: 4px;
  border: 2px solid gray;
}

#btn {
  color: #000;
  font-size: 14px;
  transition: .3s;
}

#btn:hover {
  opacity: 0.7;
  cursor: pointer;
}

/* //////////////////// */
/* FOOTER */
/* //////////////////// */
.footer-wrap {
  color: #101841;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding: 24px 0 24px 0;
  background-color: #fff;
}

@media screen and (min-width: 800px) {

  video {
    object-position: 100% 100%;
  }

  .top-icon {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.2;
    margin: 8px 0px 0px 24px;
  }

  .menu h1 {
    margin: 1px 0px 0px 60px;
  }

  .top-icon:hover {
    opacity: 0.8;
  }
  
  .header-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    padding: 10px 0 0 0;
  }
  
  .header-list-pc {
    display: flex;
  }

  .header-list-pc li {
    padding: 16px 0;
    width: 128px;
    text-align: center;
  }

  .header-list-pc a {
    padding: 4px;
    opacity: 0.5;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 1px 2px #333;
  }

  .header-list-pc a:hover {
    opacity: 1;
    color: #555;
    text-shadow: 2px 1px 2px #999;
  }

  #menu-sp, #close, .overlay {
    display: none;
  }

  .about-wrap, .product-wrap, .contact-wrap {
    padding: 16px 40px 0px 40px;
  }
  
  .skill-wrap {
    padding: 16px 40px 8px 40px;
  }

  .about-wrap h2, .skill-wrap h2, .product-wrap h2, .contact-wrap h2 {
    font-size: 40px;
    margin-bottom: 48px;
  }
  
  .about-wrap h3, .skill-wrap h3, .product-wrap h3, .contact-wrap h3 {
    font-size: 18px;
  }

  .about-img img {
    width: 80%;
  }

  .skill-wrap-inner {
    display: flex;
    justify-content: space-around;
  }

  .material-icons {
    font-size: 80px;
    margin-bottom: 40px;
  }

  .material-icons::after {
    left: -10.8px;
    width: 100px;
    height: 100px;
  }

  .product-wrap-inner {
    /* display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4%; */
  
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .product {
    width: 28%;
  }

  .product h3 {
    margin-bottom: 60px;
  }
}