@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --base-color: #ffffff;
  --base-color02: #eeeeee;
  --gray-color: #666666;
  --gray-color02: #bbbbbb;
  --primary-color: #8cc2c0;
  --accent-color: #e0be36;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-tin: 340px;
  --content-width-sm: 700px;
  --content-width: 900px;
  --content-width-lg: 1088px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-up: 50;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

/* ---------- base ---------- */

body {
  color: var(--gray-color);
  font-size: 12px;
  font-weight: 400;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
  body {
    font-size: 14px;
  }
}

/* クリックした際の青い枠線を削除 */
*:focus {
  outline: none;
}

/* タップした際の青い四角を削除 */
button,
span {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

/* ---------- utility ---------- */

@media screen and (min-width: 375px) {
  .u_sm-dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

@media screen and (max-width: 1080px) {
  .u_pc-dn {
    display: none;
  }
}

.u_bg-gray {
  background: var(--base-color02);
}

.u_sm-width {
  width: var(100% - 32px);
  max-width: 372px;
  margin-left: auto;
  margin-right: auto;
}

.u_en {
  font-family: "Montserrat", sans-serif;
}

/* ---------- layout ---------- */

.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

.l_container-sm {
  max-width: calc(var(--content-width-tin) + 32px);
}

@media screen and (min-width: 768px) {
  .l_container-sm {
    max-width: calc(var(--content-width-sm) + 32px);
  }
}

.l_container {
  max-width: calc(var(--content-width-tin) + 32px);
}

@media screen and (min-width: 1080px) {
  .l_container {
    max-width: calc(var(--content-width) + 32px);
  }
}

.l_container-lg {
  max-width: calc(var(--content-width-tin) + 32px);
}

@media screen and (min-width: 1080px) {
  .l_container-lg {
    max-width: calc(var(--content-width-lg) + 32px);
  }
}

.l_contents-sm {
  padding: 80px 0;
}

.l_contents-lg {
  padding: 120px 0;
}

.l_contents-t80-b120 {
  padding: 120px 0 80px;
}

.l_header {
  height: 72px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-header);
}

@media screen and (min-width: 1080px) {
  .l_header {
    background: rgba(255, 255, 255, 0.6);
  }
}

.l_header-logo {
  font-size: 16px;
  letter-spacing: 0.2em;
}

@media screen and (min-width: 1080px) {
  .l_header-logo {
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 139px;
    transform: translateY(-50%);
  }
}

.l_header-logo_link {
  height: 100%;
  display: flex;
  align-items: center;
  z-index: var(--z-index-header);
}

@media screen and (min-width: 1080px) {
  .l_header-nav {
    position: static;
  }
}

.l_header-nav_list {
  width: 279px;
  height: 414px;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: space-around;
  position: absolute;
  top: 259px;
  right: -50px;
  padding: 80px 75px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.5);
  clip-path: polygon(10% 10%, 80% 20%, 100% 80%, 50% 100%, 0 70%);
}

@media screen and (min-width: 1080px) {
  .l_header-nav_list {
    flex-direction: row;
    justify-content: flex-end;
    width: 620px;
    height: 100%;
    gap: 80px;
    align-items: center;
    top: 50%;
    right: -173px;
    background: rgba(255, 255, 255, 0);
    clip-path: none;
    padding: 0;
  }
}

.l_header-nav_item {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .l_header-nav_item {
    color: var(--primary-color);
  }
}

@media screen and (min-width: 1080px) {
  .l_header-nav_item:not(:first-child) {
    margin-top: 0;
  }
}

.l_header-nav_item:last-child {
  color: var(--accent-color);
}

.l_header-nav_item::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: -1px;
  background: var(--primary-color);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.l_header-nav_item:last-child::after {
  background: var(--accent-color);
}

.l_header-nav_item:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.l_main {
  margin-top: 72px;
}

.l_contact .m_section-text {
  margin-top: 24px;
}

.l_footer {
  background: var(--base-color02);
}

.l_footer_logo {
  font-size: 16px;
  letter-spacing: 0.2em;
}

@media screen and (min-width: 768px) {
  .l_footer_logo {
    font-size: 24px;
    text-align: center;
  }
}

.l_footer_list {
  text-align: center;
  margin: 40px auto 64px;
}

@media screen and (min-width: 768px) {
  .l_footer_list {
    display: flex;
    justify-content: center;
    gap: 40px;
  }
}

.l_footer_item {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 0.2em;
  position: relative;
}

.l_footer_item:not(:first-child) {
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .l_footer_item {
    margin-left: auto;
    margin-right: auto;
    width: 100px;
  }
}

@media screen and (min-width: 768px) {
  .l_footer_item:not(:first-child) {
    margin-top: 0;
  }
}

.l_footer_item::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: -2px;
  background: var(--primary-color);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.l_footer_item__accent::after {
  background: var(--accent-color);
}

.l_footer_item:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.l_footer_item__accent {
  color: var(--accent-color);
}

.l_footer-copyright {
  font-size: 10px;
  text-align: center;
  padding-bottom: 24px;
  letter-spacing: 0.2em;
}

/* ---------- module ---------- */

.m_opening {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: var(--z-index-modal);
  background: rgba(255, 255, 255, 0.5);
  display: flex;
}

.m_opening_dot {
  text-align: center;
  margin: auto;
}

.m_opening_dot::after,
.m_opening_dot::before,
.m_opening_dot > div {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: bouncing-loader 0.6s infinite alternate;
}

.m_opening_dot > div {
  margin: 0 10px;
}
.m_opening_dot > div {
  animation-delay: 0.2s;
}
.m_opening_dot::after {
  animation-delay: 0.4s;
}
@keyframes bouncing-loader {
  to {
    opacity: 0.1;
    transform: translate3d(0, -16px, 0);
  }
}

.m_hamburger {
  width: 32px;
  height: 22px;
  position: relative;
  z-index: var(--z-index-menu);
}

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

.m_hamburger-bar {
  width: 100%;
  height: 2px;
  position: absolute;
  background: var(--gray-color);
  left: 50%;
  transition: 0.3s;
}

.m_hamburger-bar:first-child {
  top: 0;
  transform: translate(-50%, 0);
}

.m_hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}

.m_hamburger-bar:last-child {
  top: 100%;
  transform: translate(-50%, -100%);
}

.m_star-wrapper {
  position: relative;
}

@media screen and (min-width: 1080px) {
  .m_star-wrapper {
    opacity: 0;
  }
}

.m_star {
  width: 279px;
  height: 414px;
  position: absolute;
  top: -204px;
  right: -47px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0);
  padding: 90px;
}

.m_star-1,
.m_star-2,
.m_star-3,
.m_star-4,
.m_star-5 {
  width: 6px;
  height: 6px;
  background: #ffe26e;
  border-radius: 50vh;
  position: absolute;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 4px 2px rgba(#fff, 0.2);
}

.m_star-1 {
  top: 41px;
  left: 32px;
}

.m_star-2 {
  top: 82px;
  left: 226px;
}

.m_star-3 {
  top: 330px;
  left: 282px;
}

.m_star-4 {
  top: 413px;
  left: 143px;
}

.m_star-5 {
  top: 288px;
  left: 4px;
}

.m_section-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

@media screen and (min-width: 768px) {
  .m_section-title {
    font-size: 28px;
    text-align: center;
  }
}

.m_section-text {
  line-height: 2;
  letter-spacing: 0.2em;
}

@media screen and (min-width: 768px) {
  .m_section-text {
    text-align: center;
  }
}

.m_page-link-wrapper {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .m_page-link-wrapper {
    text-align: center;
    position: relative;
  }
}

.m_page-link__primary,
.m_page-link__accent {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  position: relative;
}

.m_page-link__primary {
  color: var(--primary-color);
}

.m_page-link__accent {
  color: var(--accent-color);
}

@media screen and (min-width: 768px) {
  .m_page-link__primary,
  .m_page-link__accent {
    font-size: 16px;
  }
}

.m_page-link__primary::before,
.m_page-link__accent::before {
  content: "";
  width: 0px;
  position: absolute;
  top: 77%;
  right: -16px;
  transition: 0.5s;
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .m_page-link__primary::before,
  .m_page-link__accent::before {
    width: 64px;
    transform: translateX(100%);
    transition: 0.5s;
    opacity: 1;
  }
}

.m_page-link__primary:hover:before,
.m_page-link__accent:hover:before {
  width: 64px;
  transform: translateX(100%);
  transition: 0.5s;
  opacity: 1;
}

.m_page-link__primary::after,
.m_page-link__accent::after {
  content: "";
  width: 0px;
  position: absolute;
  top: 12px;
  right: -80px;
  rotate: 45deg;
  transition: 0.5s;
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .m_page-link__primary::after,
  .m_page-link__accent::after {
    width: 8px;
    transform: translate(0, 0);
    transition: 0.5s;
    opacity: 1;
  }
}

.m_page-link__primary:hover:after,
.m_page-link__accent:hover:after {
  width: 8px;
  transform: translate(0, 0);
  transition: 0.5s;
  opacity: 1;
}

.m_page-link__primary::before,
.m_page-link__primary::after {
  border: 0.5px solid var(--primary-color);
}

.m_page-link__accent::before,
.m_page-link__accent::after {
  border: 0.5px solid var(--accent-color);
}

.m_page-link__accent::after {
  top: 15px;
  right: -81px;
}

.m_works_posts-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
  gap: 64px;
  width: 100%;
}

@media screen and (min-width: 1080px) {
  .m_works_posts-wrapper {
    flex-direction: row;
    justify-content: center;
    align-items: start;
    gap: 30px;
  }
}

.m_work-post {
  width: 100%;
  max-width: 340px;
  position: relative;
}

.m_work-post_img-wrapper {
  width: 100%;
  max-width: 340px;
  height: 216px;
  overflow: hidden;
  border: 0.5px solid var(--gray-color);
  position: relative;
}

.m_work-post_text-wrapper {
  width: 100%;
  height: 216px;
  color: var(--base-color);
  background: rgba(140, 194, 192, 0.6);
  text-align: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
}

@media screen and (min-width: 1080px) {
  .m_work-post_text-wrapper:hover {
    opacity: 1;
  }
}

.top_works .m_work-post_img-wrapper::after {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.3s;
}

.m_work-post_img-wrapper img {
  object-fit: cover;
  object-position: top;
  width: 100%;
  max-width: 340px;
  height: 100%;
}

.m_work-post_title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 8px;
}

@media screen and (min-width: 768px) {
  .m_work-post_title {
    font-size: 16px;
  }
}

@media screen and (min-width: 1080px) {
  .m_work-post_text-under {
    display: none;
  }
}

.m_pagination {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 64px;
}

.m_pagination_numbers {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  /* color: var(--primary-color); */
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .m_pagination_numbers {
    width: 24px;
    height: 24px;
    font-size: 18px;
  }
}

.m_pagination_numbers__current {
  color: var(--gray-color);
  width: 16px;
  border-bottom: 0.5px solid var(--gray-color);
  text-align: center;
  pointer-events: none;
}

.m_pagination_numbers__between {
  color: var(--gray-color);
  pointer-events: none;
}

.m_pagination_numbers__next,
.m_pagination_numbers__last {
  position: relative;
}

.m_pagination_numbers__next::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--gray-color);
  border-right: 1px solid var(--gray-color);
  position: absolute;
  top: 50%;
  left: 32%;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (min-width: 768px) {
  .m_pagination_numbers__next::after {
    width: 8px;
    height: 8px;
  }
}

.m_pagination_numbers__last::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--gray-color);
  border-right: 1px solid var(--gray-color);
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (min-width: 768px) {
  .m_pagination_numbers__last::before {
    width: 8px;
    height: 8px;
  }
}

.m_pagination_numbers__last::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--gray-color);
  border-right: 1px solid var(--gray-color);
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (min-width: 768px) {
  .m_pagination_numbers__last::after {
    width: 8px;
    height: 8px;
  }
}

.m_pagination_next {
  position: relative;
}

.m_pagination_next::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-left: 1px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  rotate: 45deg;
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translate(-50%, -30%);
  transition: 0.5s;
}

.m_pagination_next:hover::before {
  transform: scale(1.2) translate(-50%, -50%);
  transition: 0.5s;
}

@media screen and (min-width: 768px) {
  .m_pagination_next::before {
    left: -36px;
  }
}

.m_pagination_next::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-left: 1px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  rotate: 45deg;
  position: absolute;
  top: 50%;
  left: -15px;
  transform: translate(-50%, -30%);
  transition: 0.5s;
}

.m_pagination_next:hover::after {
  transform: scale(1.2) translate(-50%, -50%);
  transition: 0.5s;
}

@media screen and (min-width: 768px) {
  .m_pagination_next::after {
    left: -41px;
  }
}

.m_pagination_back {
  display: inline-block;
  position: relative;
  font-size: 16px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.m_pagination_back::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: -2px;
  background-color: var(--primary-color);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.m_pagination_back:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

@media screen and (min-width: 768px) {
  .m_pagination_back {
    font-size: 18px;
  }
}

.m_pagination_prev {
  position: relative;
}

.m_pagination_prev::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--primary-color);
  border-top: 1px solid var(--primary-color);
  rotate: 45deg;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -30%);
  transition: 0.5s;
}

.m_pagination_prev:hover::before {
  transform: scale(1.2) translate(-50%, -50%);
  transition: 0.5s;
}

@media screen and (min-width: 768px) {
  .m_pagination_prev::before {
    left: 26px;
  }
}

.m_pagination_prev::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--primary-color);
  border-top: 1px solid var(--primary-color);
  rotate: 45deg;
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translate(-50%, -30%);
  transition: 0.5s;
}

.m_pagination_prev:hover::after {
  transform: scale(1.2) translate(-50%, -50%);
  transition: 0.5s;
}

@media screen and (min-width: 768px) {
  .m_pagination_prev::after {
    left: 31px;
  }
}
.m_pagination__hidden {
  display: none;
}

/* ---------- ._kv ---------- */
/* 星空の背景のスタイル */
.stars {
  position: relative;
  width: 100%; /* 星空の横幅 */
  height: 464px; /* 星空の縦幅 */
  background-image: rgba(0, 0, 0, 0); /* 星空の背景色 */
  overflow: hidden; /* 星が枠外にはみ出すのを防ぐ */
}

/* 星のスタイル */
.star {
  position: absolute;
  display: block;
  background-color: #fff; /* 星の色 */
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(#fff, 0.2); /* 星の影 */
  opacity: 0;
  animation: twinkle 5s infinite;
}

/* 星がキラキラ光るアニメーション */
@keyframes twinkle {
  0% {
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.top_kv,
.prof_kv,
.contact_kv,
.works_kv,
.not-found_kv,
.policy_kv {
  width: 80%;
  height: 464px;
  position: absolute;
  top: 72px;
  left: 0;
  background: url(../img/portfolio_kv.jpg);
  background-size: cover;
  background-position: right;
  position: relative;
}

@media screen and (min-width: 768px) {
  .top_kv,
  .prof_kv,
  .contact_kv,
  .works_kv,
  .not-found_kv,
  .policy_kv {
    width: calc(100% - 139px);
  }
}

.top_kv_copy,
.policy_kv_copy {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-align: right;
  position: absolute;
  rotate: 90deg;
  bottom: 90px;
  right: -100px;
}

.policy_kv_copy {
  bottom: 55px;
  right: -70px;
}

@media screen and (min-width: 1080px) {
  .top_kv_copy,
  .policy_kv_copy {
    font-size: 24px;
    bottom: 115px;
    right: -150px;
  }

  .policy_kv_copy {
    bottom: 68px;
    right: -100px;
  }
}

.top_kv_sub-copy {
  color: var(--base-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-align: right;
  position: absolute;
  rotate: 90deg;
  bottom: 117px;
  right: -85px;
}

@media screen and (min-width: 1080px) {
  .top_kv_sub-copy {
    bottom: 115px;
    right: -85px;
  }
}

.prof_kv_copy,
.contact_kv_copy,
.works_kv_copy {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-align: right;
  position: absolute;
  rotate: 90deg;
}

@media screen and (min-width: 1080px) {
  .prof_kv_copy,
  .contact_kv_copy,
  .works_kv_copy {
    font-size: 24px;
  }
}

.prof_kv_copy {
  bottom: 67px;
  right: -60px;
}

@media screen and (min-width: 1080px) {
  .prof_kv_copy {
    bottom: 84px;
    right: -88px;
  }
}

.contact_kv_copy {
  bottom: 71px;
  right: -63px;
}

@media screen and (min-width: 1080px) {
  .contact_kv_copy {
    bottom: 91px;
    right: -95px;
  }
}

.works_kv_copy {
  bottom: 59px;
  right: -52px;
}

@media screen and (min-width: 1080px) {
  .works_kv_copy {
    bottom: 73px;
    right: -78px;
  }
}

/* ---------- .top_about ---------- */

.top_about .m_section-text:not(:first-child) {
  margin-top: 16px;
}

.top_about .m_section-text:first-of-type {
  margin-top: 40px;
}

/* ---------- .top_works ---------- */

.top_works {
  background: var(--base-color02);
}

.top_works .m_section-title {
  margin-top: -211px;
}

/* ---------- .prof ---------- */

.prof_name_img-wrapper {
  width: 200px;
  margin: 0 auto;
}

@media screen and (min-width: 1080px) {
  .prof_name_img-wrapper {
    width: 300px;
    margin-left: 0;
  }
}

.prof_name_title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (min-width: 1080px) {
  .prof_name_title-wrapper {
    justify-content: left;
    gap: 16px;
  }
}

.prof_name_title-wrapper .m_section-title {
  position: relative;
}

.prof_name_title-wrapper .m_section-title::after {
  content: "やはた せいこ";
  font-size: 12px;
  font-weight: 400;
  position: absolute;
  bottom: -20px;
  left: 0;
}

@media screen and (min-width: 768px) {
  .prof_name_title-wrapper .m_section-title::after {
    font-size: 14px;
  }
}

.prof_sns_item {
  width: 20px;
}

.prof_sns_list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.prof_name .m_section-text {
  text-align: left;
  margin-top: 38px;
  letter-spacing: 0;
}

@media screen and (min-width: 1080px) {
  .prof_name .m_section-text {
    letter-spacing: 0.1em;
  }

  .prof_name_content-wrapper {
    width: 560px;
    margin: auto 0;
    letter-spacing: 0.1em;
  }
}

@media screen and (min-width: 1080px) {
  .prof_name .l_container {
    display: flex;
    justify-content: space-between;
    text-align: center;
  }
}

.prof_skill {
  background: var(--base-color02);
}

.prof_skill_list {
  margin-top: 80px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 64px;
}

.prof_skill_img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.prof_skill_img {
  width: auto;
  height: 60px;
  opacity: 0.7;
}

.prof_skill_title {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin-top: 16px;
  line-height: 1.2;
}

.prof_skill_text {
  margin-top: 8px;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0em;
}

.prof_skill .m_section-title {
  margin-top: -124px;
}

/* ---------- .works ---------- */

.works_posts {
  background: var(--base-color02);
}

.works_posts .m_section-title {
  margin-top: -211px;
}

.works_posts .m_work-post_img {
  transition: 0.3s;
}

.works_posts .m_work-post_img:hover {
  transform: scale(1.2);
  transition: 0.3s;
}

/* ---------- .single ---------- */

.single-post_contents .m_section-title {
  letter-spacing: 0.1em;
  line-height: 1.5;
}

@media screen and (min-width: 1080px) {
  .single-post_inner {
    position: relative;
    height: 100%;
  }

  .single-post_contents {
    width: 550px;
    position: absolute;
    top: 64px;
    right: 48px;
  }
}

@media screen and (min-width: 768px) {
  .single-post_contents .m_section-title {
    text-align: left;
  }
}

.single_post_charge,
.single-post_term,
.single-post_tool {
  margin-top: 8px;
}

.single-post_term,
.single-post_tool {
  position: relative;
  display: block;
}

.single-post_term::after {
  content: "";
  display: inline-block;
  width: 29px;
  border-bottom: 0.5px solid var(--gray-color);
  position: absolute;
  top: 50%;
  left: 69px;
}

.single-post_tool::after {
  content: "";
  display: inline-block;
  width: 16px;
  border-bottom: 0.5px solid var(--gray-color);
  position: absolute;
  top: 50%;
  left: 82px;
}

.single-post_term_detail,
.single-post_tool_detail {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 108px;
  transform: translateY(-50%);
  pointer-events: none;
}

.single-post_tool_detail-img {
  width: 20px;
  display: inline-block;
  opacity: 0.6;
}

.single-post_tool_detail-img:not(:first-child) {
  margin-left: 8px;
}

.single-post_img-wrapper {
  position: relative;
  margin: 40px auto 0;
  max-width: 340px;
  border: 0.5px solid var(--gray-color);
  overflow: hidden;
}

@media screen and (min-width: 1080px) {
  .single-post_img-wrapper {
    margin-left: 0;
    max-width: 450px;
  }
}

.single-post_img-wrapper img {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 216px;
  max-width: 340px;
  transition: 0.3s;
}

.single-post_img-wrapper__full img {
  height: 100%;
}

.single-post_img-wrapper__center img {
  object-position: center;
}

@media screen and (min-width: 1080px) {
  .single-post_img-wrapper img {
    max-width: 450px;
    height: auto;
  }
}

.single-post_img:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

.single-post .m_section-text {
  margin-top: 40px;
  text-align: left;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 1080px) {
  .single-post .m_section-text {
    position: absolute;
    top: 195px;
    right: 48px;
    width: 550px;
  }

  .single-post .single-post__2lh {
    margin-top: 82px;
  }
}

/* ---------- .contact ---------- */

.contact_list {
  margin: 40px auto 64px;
}

.contact_heading {
  font-weight: 500;
  line-height: 2;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .contact_heading {
    font-size: 16px;
  }
}

.contact_heading:not(:first-of-type) {
  margin-top: 40px;
}

.contact_required {
  font-size: 12px;
  line-height: 1;
  color: var(--accent-color);
  display: inline-block;
  padding: 4px;
  border: 0.5px solid var(--accent-color);
  margin-left: 4px;
}

.contact_example {
  font-size: 12px;
  color: var(--gray-color02);
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

@media screen and (min-width: 1080px) {
  .contact_example {
    font-size: 14px;
  }
}

.contact_detail {
  border: 0.5px solid var(--gray-color02);
  margin-top: 8px;
}

.contact_input,
.contact_textarea {
  font-weight: 500;
  width: 100%;
  padding: 8px;
}

.contact_btn-wrapper {
  text-align: center;
}

.contact_btn {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 16px 24px;
  color: var(--base-color);
  background: var(--accent-color);
}

/* ---------- 404 ---------- */

.not-found_text_wrapper {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 1080px) {
  .not-found_text_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }
}

.not-found_text_main {
  font-weight: 500;
  font-size: 80px;
  color: var(--base-color);
}

@media screen and (min-width: 768px) {
  .not-found_text_main {
    font-size: 96px;
  }
}

.not-found_text_sub {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--base-color);
  margin-top: -24px;
}

@media screen and (min-width: 768px) {
  .not-found_text_sub {
    font-size: 14px;
  }
}

@media screen and (min-width: 1080px) {
  .not-found_text_sub {
    margin-top: 0;
  }
}

.not-found_text_exclamation {
  font-weight: 500;
  font-size: 24px;
  position: absolute;
  top: 386px;
  right: 93px;
}

.not-found_space {
  height: 50px;
}

/* ---------- policy ---------- */

.policy_sub-title {
  margin-top: 40px;
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.2em;
}

@media screen and (min-width: 768px) {
  .policy_sub-title {
    font-size: 16px;
  }
}

.policy_text {
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .policy_text {
    font-size: 14px;
  }
}

.policy_list {
  margin-top: 8px;
}

.policy_list + .policy_text {
  margin-top: 8px;
}

.policy_text__right {
  margin-top: 16px;
  text-align: right;
}

.policy_link {
  font-weight: 500;
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
}

.policy_content .m_page-link-wrapper {
  text-align: right;
}

@media screen and (min-width: 768px) {
  .policy_content .m_page-link-wrapper {
  text-align: center;
}

}

.policy_content .m_page-link__accent::before {
  content: "";
  width: 0px;
  position: absolute;
  top: 77%;
  left: -140px;
  transition: 0.5s;
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .policy_content .m_page-link__accent::before {
    width: 64px;
    transform: translateX(100%);
    transition: 0.5s;
    opacity: 1;
  }
}

.policy_content .m_page-link__accent:hover:before {
  width: 64px;
  transform: translateX(100%);
  transition: 0.5s;
  opacity: 1;
}

.policy_content .m_page-link__accent::after {
  content: "";
  width: 0px;
  position: absolute;
  top: 12px;
  right: -80px;
  rotate: -45deg;
  transition: 0.5s;
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .policy_content .m_page-link__accent::after {
    width: 8px;
    transform: translate(0, 0);
    transition: 0.5s;
    opacity: 1;
  }
}

.policy_content .m_page-link__accent:hover:after {
  width: 8px;
  transform: translate(0, 0);
  transition: 0.5s;
  opacity: 1;
}


.policy_content .m_page-link__accent::after {
  top: 15px;
  right: 319px;
}

/* ---------- wave ---------- */

.top_work_wave__top-wrapper,
.top_work_wave__bottom-wrapper,
.m_footer_wave__top-wrapper,
.prof_skill_wave__top-wrapper,
.prof_skill_wave__bottom-wrapper,
.work_wave__top-wrapper,
.work_wave__bottom-wrapper {
  width: 100%;
  overflow: hidden;
  margin-top: -15px;
}

.work_wave__top-wrapper {
  margin-top: 192px;
}

.top_work_wave__top,
.work_wave__top {
  margin-top: -10px;
  width: 100%;
  min-width: 800px;
  height: 160px;
}

.top_work_wave__bottom,
.prof_skill_wave__bottom,
.work_wave__bottom {
  margin-top: -80px;
  width: 100%;
  min-width: 600px;
  height: 137px;
}

.m_footer_wave__top {
  width: 100%;
  min-width: 900px;
  height: 80px;
}

.prof_skill_wave__top {
  width: 100%;
  min-width: 850px;
  height: 60px;
}

/* ---------- js ---------- */

.js_body.is-active {
  overflow: hidden;
}

.js_opening.is-active {
  opacity: 0;
  visibility: hidden;
}

.js_navigation {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

@media screen and (min-width: 1080px) {
  .js_navigation {
    pointer-events: auto;
    opacity: 1;
  }
}

.js_navigation.is-active {
  opacity: 1;
  pointer-events: inherit;
}

.js_hamburger.is-active .m_hamburger-bar:first-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(45deg);
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  opacity: 0;
}

.js_hamburger.is-active .m_hamburger-bar:last-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(-45deg);
}
