body {
  font-size: 10px;
  font-family: 'Baloo 2', cursive, sans-serif;
  margin: 0;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

p {
  margin: 0;
  font-size: 1rem;
}

a {
  color: #00A968;
  text-decoration: none;
}

a:hover {
  opacity: 0.5;
}

ul {
  list-style: none;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}

h2 {
  font-size: 1.8rem;
  border-bottom: solid #00A968 2px;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.1rem;
}

table {
  font-size: 14px;
}

tr {
  vertical-align: top;
}

th {
  font-weight: 100;
}

i {
  margin-left: 2px;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;

}

/* 共通 */
.header-wrap,
.block-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.bg-green {
  background: #f7faf9;
}

.bg-green .block-wrap {
  padding: 40px 20px;
}

.content {
  margin-bottom: 40px;
}

.block-title {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.arrow {
  font-size: 1rem;
}

.new {
  color: #fff;
  background: #00A968;
  font-size: 0.5rem;
  padding: 0 1px;
  margin-right: 2px;
  vertical-align: middle;
}

.content ul {
  display: flex;
  flex-wrap: wrap;
  margin-block-start: 0;
  padding-inline-start: 0;
  margin: 0 0 10px 0;
}

.content ul li {
  padding-right: 20px;
}

.jp-title {
  font-size: 1.4rem;
}

.fadein {
  opacity: 0;
  transform: translate(0, 100px);
  transition: all 1s;
}

.fadein.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* PAGE TOP */
#page_top {
  width: 80px;
  height: 60px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #00A968;
  opacity: 0.6;
}

#page_top a {
  position: relative;
  display: block;
  width: 80px;
  height: 60px;
}

#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 1.4rem;
  color: #fff;
  position: absolute;
  width: 20px;
  height: 20px;
  top: -20px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#page_top a::after {
  content: 'PAGE TOP';
  font-size: 0.8rem;
  color: #fff;
  position: absolute;
  top: 30px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

/* header */
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0 20px;
}

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

.header-wrap a:hover {
  color: #00A968;
}

.logo-wrap h1 {
  font-size: 2.0rem;
}

.logo-wrap h1 a:hover {
  color: #000;
}

.nav-wrap ul {
  display: flex;
}

.nav-wrap ul li {
  font-size: 1rem;
  margin: 0 15px;
}

/* about */
#about .profile-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#about .content .left-box {
  width: 36%;
}

#about .content .right-box {
  width: 59%;
}

#about .content img {
  width: 100%;
}

#about .content .right-box .name {
  margin-bottom: 5px;
}

#about .content .right-box .jp-name {
  font-size: 1.3rem;
}

#about .content .right-box .en-name {
  font-size: 1.1rem;
}

#about .ability-wrap {
  display: flex;
  flex-wrap: wrap;
}

#about .ability-wrap .content {
  width: 50%;
}

/* Works */
#works .practices ul {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 10px 0 40px;
}

#works .practices ul li {
  text-align: center;
  width: 40%;
  padding-right: 0;
  margin-top: 10px;
  border: solid #000 1px;
}

#works .practices ul li .works-content-wrap {
  padding: 20px;
}

#works .practices ul li img {
  width: 100%;
  margin-bottom: 10px;
  border: solid #000 1px;
}

#works .practices ul li h5 {
  color: #00A968;
}

#works .practices ul li a {
  display: block;
  color: #000;
}

/* Contact */
#contact table {
  width: 100%;
}

#contact tr {
  display: flex;
  margin-bottom: 10px;
}

#contact th {
  text-align: left;
  width: 30%;
}

#contact td {
  width: 70%;
}

#contact input,
#contact textarea {
  width: 100%;
}

#contact textarea {
  border: solid #d2d2d2 1px;
}

#contact input {
  height: 30px;
  border: solid #d2d2d2 1px;
}

#contact .asterisk {
  font-size: 0.8rem;
  margin-left: 2px;
}

#contact .send-btn-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

#contact button {
  width: 400px;
  height: 30px;
  color: #fff;
  background: #00A968;
  border: none;
  cursor: pointer;
}

#contact .contact-result {
  width: 100%;
  padding: 8px 0;
  margin-top: 20px;
  text-align: center;
  color: #fff;
  background: #d2d2d2;
  display: none;
}

#contact .contact-result-cancel {
  width: 100%;
  padding: 8px 0;
  margin-top: 20px;
  text-align: center;
  color: #fff;
  background: #d2d2d2;
  display: none;
}

/* footer */
footer {
  display: flex;
  justify-content: center;
  font-size: 1.1rem;
}

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

  /* 共通 */
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  h2 {
    font-size: 1.6rem;
  }

  .content {
    margin-bottom: 20px;
  }

  /* header */
  .header-wrap {
    position: relative;
    margin-top: 10px;
  }

  .logo-wrap a {
    font-size: 1.8rem;
  }

  .nav-hiddin ul {
    display: flex;
    flex-wrap: wrap;
  }

  .nav-hiddin ul li {
    width: 100%;
    margin-bottom: 2px;
  }

  .menu-trigger,
  .menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }

  .menu-trigger {
    position: relative;
    width: 30px;
    height: 25px;
  }

  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: #000;
  }

  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }

  .menu-trigger span:nth-of-type(2) {
    top: 11px;
  }

  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }

  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(20px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
  }

  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }

  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-20px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
  }

  .nav-hiddin {
    background: #fff;
    width: 100%;
    position: absolute;
    top: 65px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
    z-index: 990;
  }

  .nav-open {
    visibility: visible;
    opacity: 1;
  }

  nav {
    border-top: solid #000 1px;
    border-bottom: solid #000 1px;
  }

  nav a {
    color: #000;
  }

  nav ul li {
    margin: 10px 0;
  }

  /* About */
  #about .content .left-box,
  #about .content .right-box {
    width: 100%;
  }

  #about .ability-wrap .content {
    width: 100%;
  }

  /* Works */
  #works .practices ul {
    margin: 10px 0 20px;
  }

  #works .practices ul li {
    text-align: center;
    width: 90%;
    padding-right: 0;
    margin-bottom: 10px;
    border: solid #000 1px;
  }

  #works .practices ul li .works-content-wrap {
    padding: 20px;
  }

  #works .practices ul li img {
    width: 100%;
    margin-bottom: 10px;
    border: solid #000 1px;
  }

  #works .practices ul li h5 {
    color: #00A968;
  }

  #works .practices ul li a {
    display: block;
    color: #000;
  }

  /* Contact */
  #contact tr {
    flex-wrap: wrap;
  }

  #contact th,
  #contact td {
    width: 100%;
  }

  #contact input {
    border: solid #d2d2d2 1px;
  }

  /* footer */
  footer {
    font-size: 1.0rem;
  }
}