@charset "UTF-8";
* {
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-padding-top: 80px;
}
body {
  font-family: "Montserrat", "Noto Serif JP", sans-serif;
  color: #121212;
  font-size: 20px;
  margin: 0;
  padding: 0;
}
img {
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: black;
}
li {
  list-style: none;
}

.section_title {
  font-size: 2.5rem;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 6px;
  display: inline-block;
  margin: 0 auto 80px;
  color: #555555;
  border-bottom: 2px solid #555555;
}
.section_layout {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
}
@media (max-width: 768px) {
  .section_title {
    font-size: 2rem;
    margin: 0 auto 40px;
  }
  .section_layout {
    padding: 20px;
  }
}
/* header */
#header {
  position: fixed;
  width: 100%;
  height: 100px;
  z-index: 999;
  background-color: #f5f5f5;
}
.header_layout {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  padding: 0 20px;
}

.header_nav-list {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}
.header_nav-item a {
  transition: 0.3s ease;
  display: inline-block;
}
.header_nav-item a:hover {
  transform: scale(1.5);
}
.header_logo {
  width: 200px;
  vertical-align: bottom;
}

@media (max-width: 768px) {
  #header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
  }
  .header_layout {
    height: 50px;
  }
  .header_nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
  }
  .header_logo {
    width: 100px;
  }
  .hamburger-menu {
    position: absolute;
    width: 35px;
    height: 18px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hamburger-menu span {
    height: 3px;
    border-radius: 5px;
    background-color: #121212;
    display: block;
    margin-bottom: 4px;
    transition: ease 0.4s;
    position: absolute;
    width: 100%;
  }
  /* 通常の状態（閉じているとき） */
  .hamburger-menu span:nth-of-type(1) {
    top: 0;
  }
  .hamburger-menu span:nth-of-type(2) {
    top: 50%;
  }
  .hamburger-menu span:nth-of-type(3) {
    top: 100%;
  }
  .header_nav {
    width: 250px;
    height: 100vh;
    background-color: #f5f5f5;
    position: fixed;
    top: 0;
    right: -250px;
    z-index: 20;
    transition: all 0.6s;
  }
  .header_nav-item {
    margin: 10px 0;
  }
  .header_nav.active {
    right: 0;
  }
  /* * 開いたとき（active状態の時だけ変形） */
  .hamburger-menu.active span:nth-of-type(1) {
    transform: translateY(-50%) rotate(45deg);
    top: 50%;
  }
  .hamburger-menu.active span:nth-of-type(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-of-type(3) {
    transform: translateY(-50%) rotate(-45deg);
    top: 50%;
  }
}
/* hero */
#hero {
  position: relative;
  background-image: url(../img/main.webp);
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  height: 100vh;
  padding-top: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.hero_ttl {
  font-size: 48px;
  color: #333333;
}
.color-text {
  color: #1c6bb1;
}
.hero_content {
  font-size: 24px;
  font-weight: 500;
  color: #333333;
}
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  #hero {
    padding-top: 50px;
  }
  .hero_ttl {
    font-size: 24px;
  }
  .hero_content {
    font-size: 16px;
  }
  .sp-only {
    display: block;
  }
}
/* about */
#about {
  text-align: center;
  padding: 80px 0;
  margin: 0 auto;
}
.about_img {
  width: 35%;
}
.about_img img {
  border-radius: 50%;
}
.about_inner {
  width: 60%;
}
.about_text {
  width: 100%;
  padding-left: 16px;
  text-align: left;
  line-height: 1.5;
  overflow-wrap: break-word;
}
.about_inner img {
  max-width: 40px;
  margin-right: 8px;
}
.about_inner a {
  transition: 0.3s ease;
  display: inline-block;
}
.about_inner a:hover {
  transform: scale(1.5);
}
.about_layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  #about {
    padding: 40px 0;
  }
  .about_img {
    width: 70%;
  }
  .about_inner {
    width: 100%;
  }
  .about_text {
    width: 100%;
    padding-left: 0;
  }
  .about_layout {
    flex-direction: column;
  }
  .about_inner img {
    max-width: 20px;
    margin-right: 4px;
  }
}

/* skill */
#skill {
  text-align: center;
  margin-inline: auto;
}
.skill_list {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  gap: 56px;
  flex-wrap: wrap;
}
.skill_item {
  width: 150px;
}
.skill_item i {
  font-size: 80px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (max-width: 768px) {
  .skill_list {
    flex-wrap: wrap;
    gap: 30px;
  }
  .skill_item {
    width: 100px;
  }
  .skill_item i {
    font-size: 50px;
    margin-bottom: 10px;
  }
}
/* price */
#price {
  margin-top: 20px;
}
.price_table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border: 1px solid #ddd;
}
.price_table th,
td {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
}
.price_table th {
  background-color: #f5f5f5;
  font-weight: bold;
}
.price_table td {
  background-color: #fff;
}
.price_table-wrapper {
  overflow-x: auto;
}
@media (max-width: 768px) {
  #price {
    margin-top: 50px;
  }
  .price_table {
    width: 700px;
    overflow: scroll;
  }
  .price_table th,
  td {
    padding: 8px;
    text-align: center;
  }
}
/* contact */
#contact {
  margin-top: 100px;
}
@media (max-width: 768px) {
  #contact {
    margin-top: 50px;
  }
}
/* footer */
#footer {
  background-color: #f5f5f5;
  height: auto;
}
.footer_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer_nav {
  margin: 0 auto 10px;
}
.footer_nav-list {
  gap: 40px;
  display: flex;
}
.copyright {
  font-size: 14px;
  color: #777;
  margin: 0 auto;
}
.nav-item a {
  transition: 0.3s ease;
  display: inline-block;
}
.nav-item a:hover {
  transform: scale(1.5);
}
@media (max-width: 768px) {
  .footer_nav {
    margin: 0 auto 8px;
  }
  .footer_nav-list {
    gap: 32px;
    padding: 0;
  }
}
