@charset "utf-8";
*, ::after, ::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
body {
  font-size: 1.4rem;
  line-height: 1.8;
  font-family: Meiryo,YuGothic, "Yu Gothic medium", "Hiragino Sans", sans-serif;
}
.mv{
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left:0;
  object-fit: cover;
  z-index: -1;
}
header{
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 50px 30px 0;
}
.video-soto{
  width: 100%;
  height: auto;
  max-width: 1000px;
  text-align: right;
  margin-top: -150px;
}
.videoplay{
	box-shadow: 20px 20px 0px rgba(0,0,0,0.50);
  width: 500px;
  height: auto;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
}
h1,h2,ul li{
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
}
.head h1 a{
  color: #524e4d;
  font-size: 3rem;
  padding-bottom: 10px;
  text-decoration: none;
  transition: 0.3s;
}
.head h1 a:hover{
	color: #E9BC00;
}
header h1 {
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 3.5rem;
  display: inline-block;
  /*background-color: rgba(116, 83, 153, 0.80);*/
  color: #fff;
  margin-bottom: 30px;
}
 .shape{
    width: 450px;
    height: 90px;
    border-radius:  61% 39% 16% 84% / 57% 72% 28% 43%;
    background-color: rgba(116, 83, 153, 0.80);
    aspect-ratio: 1;
    animation: fluid-anim 15s infinite;
    position: relative;
    margin-bottom: 30px;
  }
  @keyframes fluid-anim {
    0%    { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
    12.5% { border-radius: 60% 75% 40% 80% / 70% 70% 60% 65%; }
    25%   { border-radius: 55% 95% 65% 90% / 75% 65% 85% 70%; }
    37.5% { border-radius: 60% 40% 50% 45% / 60% 40% 60% 40%; }
    50%   { border-radius: 55% 95% 65% 90% / 75% 65% 85% 70%; }
    62.5% { border-radius: 60% 40% 50% 45% / 60% 40% 60% 40%; }
    75%   { border-radius: 60% 75% 40% 80% / 70% 70% 60% 65%; }
    87.5% { border-radius: 40% 60% 55% 45% / 50% 60% 40% 50%; }
    100%  { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
}
h2 {
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 3px dotted #524e4d;
  line-height: 1.5;
  padding-right: 20px;
}
h2::before {
  content: url(img/denkyu.svg);
  width: 30px;
  height: 25px;
  margin-bottom: -20px;
  display: inline-block;
  line-height: 0.8;
  padding-bottom: 0px;
  position: relative;
  bottom: -5px;
}
h3{
  margin-bottom: 10px;
}
h3::before{
  content: "";
  border-left: 5px solid #524e4d;
  padding-right: 10px;
}
h4{
  border: 1px solid #524e4d;
  display: inline-block;
  border-radius: 3px;
  padding: 0 10px;
  margin-bottom: 5px;
  background-color: #524e4d;
  color: #fff;
}
.head nav ul {
  display: flex;
  /*justify-content: space-between;*/
}
.head nav ul li {
  list-style: none;
  display: inline-block;
  margin-right: 30px;
}
.head nav ul a {
  color: #fff;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.60);
  padding: 5px 20px;
  transition: 0.3s;
}
.head nav ul a:hover {
  background-color: rgba(233, 188, 0, 0.9);
  color: #524e4d;
}
.head {
  background-color: rgba(255, 255, 255, 0.90);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  height: 50px;
  position: fixed;
  top: 0px;
  left: 0px;
  border-bottom: 3px solid #524e4d;
  padding: 0px 50px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.head.scroll{
  opacity: 1;
  visibility: visible;
}
header ul {
  width: 100%;
  max-width: 960px;
}
header ul li {
  display: block;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.60);
  margin-bottom: 10px;
  text-align: center;
  align-items: center;
}
header ul li a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  display: block;
  padding-top: 15px;
  padding-bottom: 15px;
  line-height: 1;
  transition: 0.3s;
}
header ul li a:hover {
  background-color: rgba(233, 188, 0, 0.9);
  color: #524e4d;
}
section {
	margin-bottom: 100px;
	padding: 30px;
	background-color: rgba(255,255,255,0.9);
	box-shadow: 0px 0px 5px 10px rgba(255,255,255,0.9);
	border-radius: 10px;
}
.mypic{
  width:calc(25% - 15px);
}
.about-text{
	width: calc(75% - 15px);
}
.works-box{
  margin-bottom: 50px;
}
.flex-box{
	display: flex;
	justify-content: space-between;
  gap:3%;
}
.flex-box:last-child{
	margin-bottom: 20px;
}
.works-pic img{
	width: calc(50% - 15px);
  margin-bottom: 10px;
	/*border: 1px solid #000;*/
}
.btn:hover,.btn2:hover{
	color: #E9BC00;
}
.btn,.btn2 {
  margin-top:10px;
  position: relative;
  display: block;
  width: 150px;
  height: 50px;
  line-height: 50px;
  font-size: 1.4rem;
  text-decoration: none;
  color: #2d2d2d;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s;
}
.btn2{
  width: 250px;
}

.btn:hover:before,.btn2:hover:before {
  content: "";
  height: 25px;
  width: 25px;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #E9BC00;;
  border-width: 1px 0 0 1px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.btn:hover::after,.btn2:hover::after {
  content: "";
  height: 25px;
  width: 25px;
  position: absolute;
  top: 24px;
  left: 125px;
  border: 1px solid #E9BC00;
  border-width: 0 1px 1px 0;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
.btn2:hover::after {
  left: 225px;
}
.btn:before,.btn2:before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #2d2d2d;
  border-width: 1px 0 0 1px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.btn:after,.btn2:after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #2d2d2d;
  border-width: 0 1px 1px 0;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
.contact a{
  font-size: 1.2rem;
}
.send-mail{
  margin-bottom: 15px;
  margin-right: 10px;
}
.gotop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0.7;
  display: none;
  z-index: 9;
}
.gotop:hover {
  opacity: 1;
}
.raindrops{
  height: 150px;
  position: relative;
}
.raindrops p {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 1;
}

/*worksの画像のhover設定*/
.image_link{
 display:block; 
 position:relative;
 text-decoration:none;
}
.image_link img{
  display:block;
  width:100%;
}
.image_link:before{
  content:"";
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  z-index:2;
  background:#000;/*好みの色に変えてください。*/
  opacity:0;
  transition:0.3s;
}
.image_link:after{
  content:"READ MORE";/*好みの文章に変更してください。*/
  display:block;
  color:#fff;
  line-height:48px;
  width:180px;
  border:solid 1px #fff;
  border-radius:5px;
  text-align:center;
  position:absolute;
  top:50%;
  left:50%;
  transform: translateY(-30%);
  margin-top:-1em;
  margin-left:-90px;
  opacity:0;
  z-index:3;
  transition:0.3s;
  font-weight:bold;
  letter-spacing:0.2em;
}
.image_link:hover:before{
  opacity:0.5;
}
.image_link:hover:after{
  opacity:1;
  margin-top:-0.5em;
}
@media (max-width:1500px) {
　.videoplay{
　right: 10%;
	}
}
@media (max-width:1100px) {
  header{
  padding-top:10%;
  }
  .head nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 70%;
	height: 80%;
	overflow: auto;
	background-color: rgba(116, 83, 153, 0.80);
  padding-top: 70px;
  transition: 0.5s;
  border-bottom-left-radius: 30px;
  }
  .head nav ul {
    flex-direction: column;
  }
  .head nav ul li {
    margin: 0
  }
  .head nav ul a {
    display: block;
    width: 30%;
    margin: 0px auto 30px auto;
    text-align: center;
  }
  .nav-button {
    width: 40px;
    height: 50px;
    position: relative;
    z-index: 1;
    cursor: pointer;
  }
  .nav-button span {
    width: 40px;
    height: 2px;
    background-color: #524e4d;
    position: absolute;
    right: 20px;
    transition: 0.5s;
  }
  .nav-button span:nth-child(1) {
    top: 12px;
  }
  .nav-button span:nth-child(2) {
    top: 24px;
  }
  .nav-button span:nth-child(3) {
    top: 36px;
  }
  .menu-open .nav-button span:nth-child(1) {
    top: 23px;
    transform: rotate(315deg);
    background-color: #fff;
  }
  .menu-open .nav-button span:nth-child(2) {
    width: 0px;
    right: 50%;
  }
  .menu-open .nav-button span:nth-child(3) {
    top: 23px;
    transform: rotate(-315deg);
    background-color: #fff;
  }
  .menu-open nav {
    right: 0;
  }
}
  @media (max-width:800px) {
  header ul {
    display: flex;
    gap:3%;
    }
  header ul li {
    width: 30%;
    line-height: 1.8;
  }
  .video-soto{
      text-align: center;
      margin-top: 30px;
    }
  .mypic{
    width: calc(40% - 10px);
  }
  .about-text{
    width: calc(60% - 10px);
  }
  .flex-box{
    flex-wrap: wrap;
  }
}
@media (max-width:650px) {
  body {
  font-size: 1.6rem;
  }
  
  html {
    font-size: calc(100vw * (10 / 650))
  }
  section {
  padding: 0 15px 30px;
}
  header ul {
    display: flex;
    flex-wrap: wrap;
    gap:3%;
  }
  header ul li{
    width: 40%;
  }
  .videoplay{
	width: 100%;
  height: auto;
    }
  section{
    margin-bottom: 60px;
  }
  .head{
     padding: 0 0 0 20px;
  }
  .gotop{
    width: 15%;
    height: auto;
  }
}
@media (max-width:620px) {
  .shape{
    width: 430px;
    height: 80px;
  }
}
@media (max-width:550px) {
  .shape{
    width: 85%;
    height: 70px;
  }
}
@media (max-width:400px) {
  .shape{
    width: 90%;
    height: 60px;
  }
}