body {
  margin: 0;
  user-select: none;
}
h2 {
  margin-left: 20px;
  font-size: 40px;
  font-family: 'Lobster', cursive;
}
h3 {
  font-size: 23px;
}
p {
  font-size: 18px;
}
header {
  position: relative;
}
img {
  width: 100vw;
  height: auto;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
footer {
  background: rgba(173, 173, 173);
  width: 100vw;
  height: auto;
}

/* header */
.head-menu {
  background: rgba(173, 173, 173, 0.900);
  width: 100vw;
  height: 80px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
/* スマートフォンメニュー */
.sp-menu {
  margin-right: auto;
  width: 75px;
  height: auto;
}
.sp-menu a {
  display: block;
  color: #000000;
  cursor: pointer;
}
.sp-menu a:hover {
  opacity: 0.5;
}
.sp-menu-item {
  width: 150px;
  padding: 0;
  background :#ffffff;
  margin: 10px;
  border-radius: 10px;
}
.sp-menu-item > li {
  color: #000000;
  font-weight: bold;
  height: 0;
  text-align: center;
  overflow: hidden;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
label {
  display: block;
  margin: 10px;
  padding : 20px;
  color :#fff;
  background : rgba(30, 255, 0, 0.8);
  cursor: pointer;
  border-radius: 10px;
  text-align: left;
  font-weight: bold;
  font-size: 15px;
}
input {
  display: none;
}
#menu_bar:checked ~ .sp-menu-item > li {
  height: 50px;
  opacity: 0.8;
}
/* PCメニュー */
.pc-menu {
  margin-right: auto;
}
.pc-menu a {
  display: block;
  color: #000000;
  cursor: pointer;
}
.pc-menu a:hover {
  opacity: 0.5;
}
.pc-menu-item {
  display: flex;
}
.pc-menu-item > li {
  padding: 10px;
  font-weight: bold;
}
/* 名前 */
.top-name {
  font-family: 'Lobster', cursive;
  margin: 0;
  position: absolute; 
  top: 40%; 
  left: 15%; 
  transform: translate(-15%, -40%);
  -webkit-transform: translate(-15%, -40%); 
  -ms-transform: translate(-15%, -40%);
}
.load-fade {
  opacity : 0; 
  transition : all 2s;
}
.load-fade.done {
  opacity : 1; 
  transform : translate(0, 0);
}
/* SNSリンク */
#link {
  margin: 0;
  position: absolute; 
  top: 100%; 
  left: 10% ; 
  transform: translate(-10%, -100%);
  -webkit-transform: translate(-10%, -100%); 
  -ms-transform: translate(-10%, -100%);
}
.links {
  display: flex;
  padding: 0;
}
.fa-2x {
  padding: 5px;
  color: #000000;
}
.fa-2x:hover {
  opacity: 0.5;
}
/* main */
/* service */
#service {
  align-items: center;
  justify-content: center;
}
.service {
  text-align: center;
  margin: 10px;
  padding: 20px;
  height: auto;
  background: rgb(224, 224, 224);
  border-radius: 10px;
}
.btn {
  font-size: 20px;
  font-weight: bold;
  display: block;
  margin: 20px auto;
  padding: 20px;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 10px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #fff;
  background-color: rgb(255, 66, 66);
}
.btn:hover {
  background: rgba(255, 145, 145, 0.8);
  text-shadow: 4px 4px 4px gray;
}
/* works */
.work {
  position: relative;
}
.work > img {
  opacity: 0.3;
}
.summary {
  font-weight: bold;
  margin: 0;
  position: absolute;
  top: 50%; 
  left: 20%; 
  transform: translate(-20%, -50%);
  -webkit-transform: translate(-20%, -50%); 
  -ms-transform: translate(-20%, -50%);
}
.summary a:hover {
  opacity: 0.6;
}

/* about */
.profile {
  margin: 0 auto;
  background: rgb(224, 224, 224);
  border-radius: 10px;
}
.profile > p {
  padding: 15px;
}

/* footer */
.f-menu {
  margin-left: auto;
}
.f-menu a {
  display: block;
  color: #000000;
  cursor: pointer;
}
.f-menu a:hover {
  opacity: 0.5;
}
.f-menu-item {
  display: flex;
}
.f-menu-item > li {
  padding: 10px;
  font-weight: bold;
}
#f-link {
  margin: 0 40px;
}
footer p {
  text-align: right;
  margin-right: 10px;
}
/* SPサイズ */
@media screen and (max-width: 479px) {
  
  h1 {
    font-size: 45px;
  }
  .br::after {
    content: "\A" ;
    white-space: pre;
  }
  /* header */
  .pc-menu {
    display: none;
  }
  /* service */
  .service {
    width: 70%;
    margin: 20px auto;
  }
  .s-message {
    display: none;
  }
  .btn {
    width: 40vw;
    height: auto;
  }
  /* about */
  .profile {
    width: 80%;
    height: auto;
  }
  .profile > img {
    width: 30%; 
    height: 25%;
    margin: 20px 0px 0 120px;
  }

}

/* PCサイズ */
@media screen and (min-width: 480px) {

  h1 {
    font-size: 60px;
  }
  /* header */
  .sp-menu {
    display: none;
  }
  /* service */
  #service {
    display: flex;
  }
  .service {
    width: 25%;
  }
  .btn {
    width: 20vw;
    height: auto;
  }
  /* about */
  .profile {
    width: 65%;
    height: auto;
    display: flex;
  }
  .profile > img {
    width: 20%; 
    height: 15%;
    margin: 10px;
  }

}
