html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  font-size: auto;
  font-weight: auto;
  line-height: auto;
  text-align: auto;
  letter-spacing: auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-display: swap;
  background-color: #f2f2f2;
}

h1 {
  font-size: 36px !important;
  color: #ffa500;
  font-weight: bold;
  text-shadow: 5px 5px 2px #aaa;
}

h2 {
  font-size: 40px;
  text-align: center;
  padding-top: 60px;
  background: none;
  padding-bottom: 30px;
}

h3 {
  font-size: 20px;
  font-weight: bold;
  padding: 15px 0;
  text-align: center;
  line-height: 36px;
}

a {
  text-decoration: none;
  color: #000;
}

h2,
h3 {
  text-shadow: 7px 5px 1px #bbb;
}

i {
  color: #ffa500;
}

@media screen and (min-width: 768px) {
  .sp-menu {
    display: none;
  }
}

.sp-menu .sp {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px;
  background-color: #afeeee;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 10vh;
}

.sp-menu .close {
  z-index: 9999;
  width: 100vw;
  height: 10vh;
  background-color: #afeeee;
  position: fixed;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: none;
  color: #000;
  font-size: 30px;
}

.sp-menu .close i {
  margin-right: 10px;
}

.sp-menu .menu {
  display: none;
  background-color: #fff;
  width: 100vw;
  height: 90vh;
  position: fixed;
  top: 10vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 9999;
}

.sp-menu .menu li {
  margin: 30px 15px;
  font-size: 20px;
}

.pc-menu {
  padding: 0 4vw;
  display: none;
  height: 10vh;
}

@media screen and (min-width: 768px) {
  .pc-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .pc-menu {
    padding: 0 10vw;
  }
}

.pc-menu .menu {
  margin-left: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.pc-menu .menu li {
  margin: 0 15px;
}

.top {
  height: 90vh;
  background-image: url("../img/back.jpg");
  background-size: cover;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.works {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .works {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .works i {
    height: 100px;
  }
}

.works>div {
  max-width: 80%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px 10px;
  border-radius: 12px;
  -webkit-box-shadow: 2px 2px 10px #777;
  box-shadow: 2px 2px 10px #777;
  margin: auto;
  background-color: #ffc;
}

@media screen and (min-width: 768px) {
  .works>div {
    min-width: 20vw;
    max-width: 30vw;
    min-height: 300px;
  }
}

@media screen and (min-width: 768px) {
  .works>div {
    margin: 0 30px;
  }
}

.works>div+div {
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .works>div+div {
    margin-top: 0;
  }
}

.works>div p {
  font-size: 20px;
  line-height: 28px;
}

.works .fa-4x:hover {
  -webkit-transform: scale(1.6);
  -ms-transform: scale(1.6);
  transform: scale(1.6);
}

@media screen and (min-width: 768px) {
  .portfolios {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.portfolio {
  background-color: #ffc;
  width: 90%;
  min-height: 90px;
  max-height: 500px;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  -webkit-box-shadow: 5px 5px 12px #777;
  box-shadow: 5px 5px 12px #777;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .portfolio {
    width: 30vw;
    margin-top: 30px;
  }
}

@media screen and (min-width: 1200px) {
  .portfolio {
    max-height: 1000px;
    height: 80vh;
  }
}

.portfolio .title {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.portfolio .title i {
  position: absolute;
  top: 35px;
  right: 20px;
}

.portfolio img {
  width: 100%;
  margin: auto;
}

.portfolio+.portfolio {
  margin-top: 30px;
}

.portfolio .fa-minus-circle {
  display: none;
}

.self table {
  -webkit-box-shadow: 0 5px 5px #777;
  box-shadow: 0 5px 5px #777;
  background-color: #ffc;
}

.self table,
.self td,
.self th {
  border: 1px solid #595959;
  border-collapse: collapse;
  max-width: 300px;
  margin: 30px auto;
}

@media screen and (min-width: 768px) {

  .self table,
  .self td,
  .self th {
    max-width: 1000px;
  }
}

.self td,
.self th {
  padding: 3px;
  height: 25px;
  line-height: 2rem;
}

.self th {
  font-weight: bold;
  background: #ff8;
  color: #000;
  width: 100px;
}

@media screen and (min-width: 768px) {
  .self td {
    padding: 10px 20px;
  }
}

.self td ul {
  margin-bottom: 30px;
}

.self td li {
  padding-left: 15px;
}

td .uln li {
  padding-left: 0;
}

.works_link a {
  font-weight: bold;
  font-size: 15px;
  text-decoration: underline;
}

.btn {
  width: 300px;
  height: 80px;
  margin: 40px auto;
  background-color: #ffa500;
  font-weight: bold;
  -webkit-box-shadow: 0 5px 5px #777;
  box-shadow: 0 5px 5px #777;
  border-radius: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  font-size: 25px;
}


.btn:hover {
  -webkit-transform: translateY(5px);
  -ms-transform: translateY(5px);
  transform: translateY(5px);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.totop {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 60px;
  background-color: rgba(10, 10, 10, 0.5);
  border-radius: 10px;
}

@media screen and (min-width: 768px) {
  .totop {
    width: 100px;
    padding: 0 10px;
    background-color: rgba(10, 10, 10, 0.3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    bottom: 10px;
    right: 10px;
  }
}

.totop p {
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

.totop i {
  color: #fff;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  position: absolute;
  top: 10px;
  left: 0;
  z-index: -1;
}

#page-top a {
  background: none;
}

@media screen and (min-width: 768px) {
  .totop i {
    position: static;
  }
}

footer {
  text-align: center;
  font-size: 20px;
}
