/* <?php echo get_template_directory_uri(); ?> */
/* <?php echo home_url(); ?> */

/* common */

body {
  font-family: YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN",
    "ヒラギノ角ゴ ProN W3", sans-serif;
  word-break: break-all;
  position: relative;
  color: #000;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 1px;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: #000;
}

li {
  list-style: none;
}

.indent {
  text-indent: -1em;
  padding-left: 1em;
}

.inner {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 15px;
}

#about,
#skill,
#works,
#price,
#contact {
  margin-top: -120px;
  padding-top: 120px;
}

@media screen and (min-width: 768px) {
  .pc-none {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .sp-none {
    display: none;
  }
}

/* up */

.up {
  text-align: center;
  width: 60px;
  height: 60px;
  background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
  color: #ffffff;
  border-radius: 100%;
  font-size: 40px;
  right: 20px;
  bottom: 20px;
  position: fixed;
  z-index: 10;
}

.up:hover {
  background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
}

.up span {
  position: relative;
}

.up span::before {
  content: "";
  position: absolute;
  background-color: #fff;
  width: 2px;
  height: 15px;
  transform: rotate(45deg);
  top: 22px;
  left: -6px;
}

.up span::after {
  content: "";
  position: absolute;
  background-color: #fff;
  width: 2px;
  height: 15px;
  transform: rotate(-45deg);
  top: 22px;
  left: 4px;
}

/* front-common */

.front-common {
  padding: 100px 0 0 0;
}

.front-common .title {
  text-align: center;
  font-size: 40px;
}

.front-common .title.margin {
  margin-top: 50px;
}

@media screen and (max-width: 767px) {
  .front-common {
    padding: 50px 0 0 0;
  }

  .front-common .title {
    font-size: 30px;
  }
}

/* header */

.header {
  position: fixed;
  z-index: 10;
  background-color: #fff;
  width: 100%;
  border-bottom: 1px solid #f5f5f5;
}

.header .nav {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.header .nav .ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.header .nav .ul li {
  padding: 0 20px;
}

.header .nav .ul li a {
  display: inline-block;
  position: relative;
  padding: 15px 0;
}

.header .nav .ul li a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 5px;
  background: #000000;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}

.header .nav .ul li a:hover {
  font-weight: bold;
}

.header .nav .ul li a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}

@media screen and (max-width: 767px) {
  .header .nav .ul li {
    padding: 0 10px;
    width: 26%;
  }

  .header .nav .ul li a {
    padding: 10px 0;
    font-size: 14px;
  }
}

/* footer */

.footer {
  background-image: linear-gradient(to right, #009900 0%, #38f9d7 100%);
  padding: 10px 10px;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 767px) {
}
