@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* CSSリセット */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,
pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,
strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,
caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,
figure,footer,header,hgroup,menu,nav,section,summary,time,mark,
audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;
vertical-align:baseline;background:transparent;font-weight:normal;}
body{line-height:1}article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section{display:block}
ul{list-style:none}blockquote,q{quotes:none}blockquote:before,
blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;
font-size:100%;vertical-align:baseline;background:transparent}
del{text-decoration:line-through}abbr[title],dfn[title]
{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;
margin:1em 0;padding:0}input,select{vertical-align:middle}

body {
  background-size: width 80%;
	background: #262626;
  font-family: "Anton", sans-serif;
  min-width: 500px;
  
}

header{
  width: 100%;
  /*margin: 15px 0 15px;*/
  background-color: whitesmoke;
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

header nav{
  margin: 0 0 0 auto;
}

header ul{
  list-style: none;
  margin: 0;
  display: flex;
}

header a{
  width: 70px;
  font-size: 14px;
}

.nav-link{
  position: relative;
  display: inline-block;
  margin: 0px 0px;
  padding: 17px 22px;
  z-index: 1;
  border: 0;
  outline: 0;
  cursor: pointer;
  /*font-size: 50px;*/
  
  color:#246DFF;
  text-align: center;
  line-height: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: bold;
}

.nav-link .hover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.nav-link .hover span {
  position: relative;
  display: block;
  left: -15px;
  height: 10px;
  width: 0;
  content: '';
}

.nav-link .hover span:after {
  position: absolute;
  display: block;
  right: -10px;
  width: 10px;
  height: 10px;
  background: #fff;
  content: '';
}

.nav-link .hover span:nth-child(odd):after {
  background: rgba(0, 0, 0, 0.35);
}

.nav-link .hover span:first-child {
  left: -75px;
  transition: all 0.3s steps(8);
  
}

.nav-link .hover span:nth-child(2) {
  left: -45px;
  transition: all 0.325s steps(8);
  
}

.nav-link .hover span:nth-child(3) {
  left: -55px;
  transition: all 0.35s steps(8);
  
}

.nav-link .hover span:nth-child(4) {
  transition: all 0.4s steps(8);
  
}

.nav-link .hover span:nth-child(5) {
  left: -25px;
  transition: all 0.375s steps(8);
  
}

.nav-link:after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  z-index: -2;
  content: '';
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover, .nav-link:focus {
  /*color: #fff;*/
  color: #246DFF;
}

.nav-link:hover .hover span:first-child, .nav-link:focus .hover span:first-child {
  width: calc(100% + 76px);
}

.nav-link:hover .hover span:first-child:after, .nav-link:focus .hover span:first-child:after {
  animation: whiteBlack2 0.3s 0s 1;
          
}

.nav-link:hover .hover span:nth-child(2), .nav-link:focus .hover span:nth-child(2) {
  width: calc(100% + 46px);
  transition: all 0.375s steps(8);
  
}

.nav-link:hover .hover span:nth-child(2):after, .nav-link:focus .hover span:nth-child(2):after {
  animation: whiteBlack2 0.3s 0.06s 1 reverse backwards;
}

.nav-link:hover .hover span:nth-child(3), .nav-link:focus .hover span:nth-child(3) {
  width: calc(100% + 56px);
  transition: all 0.35s steps(8);
  
}

.nav-link:hover .hover span:nth-child(3):after, .nav-link:focus .hover span:nth-child(3):after {
  animation: whiteBlack2 0.3s 0.05s 1 forwards;
          
}

.nav-link:hover .hover span:nth-child(4), .nav-link:focus .hover span:nth-child(4) {
  width: calc(100% + 16px);
  transition: all 0.3s steps(8);
  
}

.nav-link:hover .hover span:nth-child(4):after, .nav-link:focus .hover span:nth-child(4):after {
  animation: whiteBlack2 0.3s 0s 1 reverse backwards;
}

.nav-link:hover .hover span:nth-child(5), .nav-link:focus .hover span:nth-child(5) {
  width: calc(100% + 26px);
  transition: all 0.325s steps(8);
  
}

.nav-link:hover .hover span:nth-child(5):after, .nav-link:focus .hover span:nth-child(5):after {
  animation: whiteBlack2 0.3s 0.07s 1 forwards;
         
}

.nav-link.white {
  background: white;
}

.nav-link.white span, .nav-link.white:after {
  /*background: #D2D6DD;*/
  background: #FF9155;
}

#wrapper{
  /*background: cyan;*/
  width : 100%;
  margin-top: 10px;
  
}

#Sai{
  position: relative;
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 4em;
  top: 50px;
}

#Sai p{
  mix-blend-mode: overlay;
}
#posD{
    position: relative;
    z-index: 3;
  }
 
#dyce {
  position: absolute;
  top: 0;
  left: 0%;
  right: 0;
  bottom: 0;
  margin: auto;

}
 
.bound {
  animation: bound 1s ease-out 1;
}
@keyframes bound{
  0% {top: 0;}
  15% {top: -200px;}
  35% {top: 0;}
  55% {top: -120px;}
  70% {top: 0;}
  85% {top: -60px;}
  100% {top: 0;}
}

#posBox{
    text-align: center;
    margin: 30px;
    padding: 30px;
}    
  
/*追加*/
a {
  text-decoration: none;
  transition: color 0.3s;
  
}

.sr {
  width: 0;
  height: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.btn {
  position: relative;
  display: inline-block;
  margin: 0px 10px;
  padding: 17px 22px;
  /*width: 120px;*/
  min-width: 120px;
  z-index: 0;
  border: 0;
  outline: 0;
  cursor: pointer;
  /*font-size: 15px;*/
  color:#246DFF;
  text-align: center;
  line-height: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: bold;
}

.btn .hover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.btn .hover span {
  position: relative;
  display: block;
  left: -15px;
  height: 10.8px;
  width: 0;
  content: '';
}

.btn .hover span:after {
  position: absolute;
  display: block;
  right: -10px;
  width: 10px;
  height: 10px;
  background: #fff;
  content: '';
}

.btn .hover span:nth-child(odd):after {
  background: rgba(0, 0, 0, 0.35);
}

.btn .hover span:first-child {
  left: -75px;
  transition: all 0.3s steps(8);
  
}

.btn .hover span:nth-child(2) {
  left: -45px;
  transition: all 0.325s steps(8);
  
}

.btn .hover span:nth-child(3) {
  left: -55px;
  transition: all 0.35s steps(8);
  
}

.btn .hover span:nth-child(4) {
  transition: all 0.4s steps(8);
  
}

.btn .hover span:nth-child(5) {
  left: -25px;
  transition: all 0.375s steps(8);
  
}

.btn:after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  z-index: -2;
  content: '';
}

.btn:hover {
  color: #fff;
}

.btn:hover, .btn:focus {
  /*color: #fff;*/
  color: #246DFF;
}

.btn:hover .hover span:first-child, .btn:focus .hover span:first-child {
  width: calc(100% + 76px);
}

.btn:hover .hover span:first-child:after, .btn:focus .hover span:first-child:after {
  animation: whiteBlack 0.3s 0s 1;
          
}

.btn:hover .hover span:nth-child(2), .btn:focus .hover span:nth-child(2) {
  width: calc(100% + 46px);
  transition: all 0.375s steps(8);
  
}

.btn:hover .hover span:nth-child(2):after, .btn:focus .hover span:nth-child(2):after {
  animation: whiteBlack 0.3s 0.06s 1 reverse backwards;
}

.btn:hover .hover span:nth-child(3), .btn:focus .hover span:nth-child(3) {
  width: calc(100% + 56px);
  transition: all 0.35s steps(8);
  
}

.btn:hover .hover span:nth-child(3):after, .btn:focus .hover span:nth-child(3):after {
  animation: whiteBlack 0.3s 0.05s 1 forwards;
          
}

.btn:hover .hover span:nth-child(4), .btn:focus .hover span:nth-child(4) {
  width: calc(100% + 16px);
  transition: all 0.3s steps(8);
  
}

.btn:hover .hover span:nth-child(4):after, .btn:focus .hover span:nth-child(4):after {
  animation: whiteBlack 0.3s 0s 1 reverse backwards;
}

.btn:hover .hover span:nth-child(5), .btn:focus .hover span:nth-child(5) {
  width: calc(100% + 26px);
  transition: all 0.325s steps(8);
  
}

.btn:hover .hover span:nth-child(5):after, .btn:focus .hover span:nth-child(5):after {
  animation: whiteBlack 0.3s 0.07s 1 forwards;
         
}

.btn.white {
  background: white;
}

.btn.white span, .btn.white:after {
  background: #FF9155;
}

@keyframes whiteBlack {
  0%,
  24% {
    background: #fff;
  }
  25%,
  49% {
    background: rgba(0, 0, 0, 0.35);
  }
  50%,
  74% {
    background: #fff;
  }
  75%,
  100% {
    background: rgba(0, 0, 0, 0.35);
  }
}

@keyframes whiteBlack2 {
  0%,
  24% {
    background: #fff;
  }
  25%,
  49% {
    background: rgba(0, 0, 0, 0.35);
  }
  50%,
  74% {
    background: #fff;
  }
  75%,
  100% {
    background: rgba(0, 0, 0, 0.35);
  }
}

/*背景色変更*/
.back.orange {
  /*background-color: #FF9155;*/
  background:linear-gradient(45deg,#e5ca00,#ddb800, #FF9155),url("images/DSC_0674.JPG") no-repeat;
  background-blend-mode: overlay;
}

.back.blue {
  /*background-color: #246DFF;*/
  background:linear-gradient(45deg,#00d7ea,#00acea, #246DFF),url("images/DSC_0674.JPG") no-repeat;
  background-blend-mode: overlay;
}

.back.white {
  /*background-image: url("images/DSC_0674.JPG");*/
  /*background-color: white;*/
  background:linear-gradient(45deg,#c7c7c7,#b6b6b6, #9b9b9b),url("images/DSC_0674.JPG") no-repeat;
  background-blend-mode: overlay;
}

.txt{
  color:white;
}

/*自分の情報*/
#me{
  width: 35%;
  text-align: center;
  min-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -30px;
}

#me h1{
  margin-bottom:5px;
  font-size:2em;
  font-weight: 100;
  color: white;
  mix-blend-mode: overlay;
}

.service-details {
  /*width: 460px;*/
  height: 250px;
  /*height: 230px;*/
  overflow: hidden;
  position: relative;
}

.service-details img {
  position: absolute;
  top: 0;
  left: 0;
  height: inherit;
  width: auto;
  height: 100%;
  float: left;
  transition: all 0.8s;
}

.service-details .service-hover-text h3 {
  padding: 0px;
  margin: 0px;
  font-size: 25px;
  font-weight: 300;
  
}

.service-details .service-hover-text h4 {
  padding-top: 5px;
  padding-bottom: 13px;
  margin: 0px;
  font-size: 14px;
  letter-spacing: 3px;
  width: 90%;
  
  text-transform: uppercase;
  border-bottom: 2px solid #246DFF;
}

.service-details .service-hover-text p {
  padding-top: 13px;
  font-size: 14px;
  line-height: 20px;
  
}

.service-details .service-hover-text {
  width: 42%;
  height: 89%;
  position: absolute;
  top: 0%;
  left: 50%;
  padding: 3% 4%;
  background: #FF723E;
  color: white;
  /*	display: none;*/
  
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.4s;
}

.service-details:hover .service-hover-text {
  display: block !important;
  color: white;
  background: rgba(255, 114, 62, 0.9);
  left: 0px;
  top: 0px;
}

.service-details .service-text {
  width: 50%;
  height: inherit;
  background: white;
  float: left;
  position: absolute;
  left: 50%;
}

.service-details .service-text p {
  padding: 100px 0px 0px 20px;
  font-size: 24px;
  
  font-weight: 700;
  color: #fff;
}

.service-details .service-text p span {
  font-family: "Open Sans" !important;
}

.service-details .service-text a, .service-white .service-text {
  padding: 0px 0px 0px 20px;
  font-size: 14px !important;
  color: #FF5A22 !important;
  font-family: "Open Sans" !important;
  text-decoration: none !important;
}

.service-details .service-text {
  float: left;
}

.service-white {
  background: white !important;
  width: 50% !important;
  height: inherit !important;
}

.service-white p {
  color: #246DFF !important;
}

.social-link{
  margin-top: 10px;
}

.social-link li{
  display: inline;
}

.social-link li a::before {
  border-radius: 2px;
  color: white;
  display: inline-block;
  font-family: "Font Awesome 5 Brands";
  font-size: 40px;
  height: 44px; /* Button height */
  line-height: 44px; /* Button height */
  transition: all .3s ease;
  text-align: center;
  width: 44px; /* Button width */
}

.social-link li a[href*="facebook.com"]::before {
  background-color: orange; 
  content: "\f082"; 
 
}

.social-link li a[href*="instagram.com"]::before {
  background-color: orange; 
  content: "\e055"; 
  
}

/*コンタクト情報*/
#hire{
  text-align: center;
  margin-top: 50px;
  margin-bottom: 10px;
}

#hire h1{
  margin-bottom:5px;
  font-size:2em;
  font-weight: 100;
  color: white;
  mix-blend-mode: overlay;
}

form {
  width: 50%;
  margin: 0 auto;
  color: #246DFF;
}

form .field {
  text-align: center;
  width: 100%;
  position: relative;
  margin-bottom: 15px;
}

form .field label {
  text-align: center;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  width: 100%;
  padding: 18px 0;
  font-size: 1.25em;
  letter-spacing: 0.055em;
  transition: all 333ms ease-in-out;
}

form .field label + span {
  text-align: center;
  opacity: 0;
  color: white;
  display: block;
  position: absolute;
  top: -2.4px;
  /*left: 5%;*/
  font-size: 3.4em;
  text-shadow: 1px 2px 0 #cd6302;
  transition: all 333ms ease-in-out;
}

form .field input[type="text"], 
form .field textarea {
  border: none;
  background: #E8E9EA;
  width: 78.0%;
  margin: 0;
  padding: 17px 0;
  padding-left: 22%;
  color: black;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  /*text-transform: uppercase;*/
}

form .field input[type="text"]#msg,
form .field textarea#msg {
  height: 20px;
  resize: none;
  transition: all 333ms ease-in-out;
}

form .field input[type="text"]:focus, form .field input[type="text"].focused,
form .field textarea:focus,
form .field textarea.focused {
  outline: none;
}

form .field input[type="text"]:focus#msg, form .field input[type="text"].focused#msg,
form .field textarea:focus#msg,
form .field textarea.focused#msg {
  padding-bottom: 150px;
}

form .field input[type="text"]:focus + label, form .field input[type="text"].focused + label,
form .field textarea:focus + label,
form .field textarea.focused + label {
  width: 21%;
  background: #FF9155;
  color: #246DFF;
}

form .field input[type="text"].focused + label,
form .field textarea.focused + label {
  color: #FF9155;
}

form .field:hover label {
  width: 21%;
  background: white;
  color: #246DFF;
}

form input[type="submit"] {
  background: white;
  color: #246DFF;
  appearance: none;
  border: none;
  text-transform: uppercase;
  position: relative;
  padding: 14px 50px;
  font-family: "Anton", sans-serif;
  font-size: 1.4em;
  letter-spacing: 0.05em;
  font-weight: 300;
  transition: all 333ms ease-in-out;
}

form input[type="submit"]:hover {
  background: #FF9155;
  color: #246DFF;
}

form input[type="submit"]:focus {
  outline: none;
  background: #cd6302;
}

/*フッター*/
footer{
  position: relative;
  color:#246DFF;
  background:white;
  text-align: center;
  width: 100%;
  margin-top: 50px;
}

@media (min-width: 32em) {

  /*header h1{
    margin: 0; padding: 0;
    font-size: 40px;
  }

  .btn {
    padding: 18px 30px;
    font-size: 15px;
    /*font-size: 0.75rem;
    font-weight: bold;
  }
  .btn:after {
    height: 6px;
  }*/
}