/*
Theme Name : rinayazaki
Theme URL :	http://rinayazaki.com/
Version :	1.0
*/

@charset "utf-8";
@import url('https://fonts.cdnfonts.com/css/blackecho');
@import url('https://fonts.cdnfonts.com/css/mexa');

/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, 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;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* common */
html {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

::-webkit-scrollbar {
  display: none;
}

body {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  position: relative;
  /* text-align: justify; */
  color: #000;
  font-family: 'BlackEcho', sans-serif;
}

:target {
  scroll-margin-top: 50px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

a:hover {
  opacity: 0.8;
}

.row {
  padding: 60px 0
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.inner {
  padding: 30px 40px;
}

.ta-center {
  text-align: center !important;
}

.flex {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  flex-basis: auto;
}

.relative {
  /* position: relative; */
  /* z-index: 100; */
  /* width: 100%; */
  /* height: auto; */
}

.bg-1 {
  background-color: #CCCBC8;
}

.bg-2 {
  background-color: #B0C5DB;
}

.bg-3 {
  background-color: #9CBC68;
}

.bg-4 {
  background-color: #B1D7F2;
}

.bg-5 {
  background-color: #FDFCCE;
}

.bg-6 {
  background-color: #F2ECE1;
}

.bg-navy {
  background-color: #373C4A;
}

.title-1 {
  font-family: 'Mexa', sans-serif;
  font-size: 80px;
  text-transform: uppercase;
}

.title-role {
  overflow: hidden;
}

.title-2 {
  font-size: 220px;
  /* color: #3D3D3D; */
  font-family: 'Mexa', sans-serif;
  letter-spacing: 0.03em;
  white-space: nowrap;
  animation: title-role 30s linear infinite;
}

@keyframes title-role {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.title-3 {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 36px;
  color: #3D3D3D;
}

.title-4 {
  font-size: 28px;
}

.cta {
  position: relative;
  display: block;
  /* background-color: #fff; */
  max-width: 80%;
  width: 294px;
  height: 294px;
  margin: 30px 0 30px auto;
  /* padding: 12px 10px 10px; */
  border-radius: 25px;
  overflow: hidden;
}

.cta img {
  animation: cta 20s linear infinite;
}

@keyframes cta {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.cta::after {
  position: absolute;
  content: "";
  background: url(assets/images/icon-cta-arrow.svg) no-repeat;
  background-size: contain;
  width: 115px;
  height: 9px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* @keyframes cta-rotate01 {
  100% {
    transform: translateY(-50%) rotateZ(360deg);
  }
}

.cta::after {
  transform: translateY(-50%) rotateZ(80deg);
  animation: cta-rotate02 10s linear infinite;
}

@keyframes cta-rotate02 {
  100% {
    transform: translateY(-50%) rotateZ(440deg);
  }
} */

.cta::before {
  left: 30px;
}

.cta::after {
  right: 30px;
}

.sns-btn {
  position: fixed;
  z-index: 150;
  right: 25px;
  bottom: 25px;
  padding: 10px;
  background: #ffffffb0;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
  backdrop-filter: blur(3px);
  border-radius: 50px;
}

.sns-btn .flex {
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.sns-btn p {
  border-right: 2px solid #707070;
  line-height: 25px;
  padding-right: 8px;
  margin: 0;
}

.sns-btn img {
  width: 20px;
  height: 20px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding-bottom: 2px;
}

/*  loading */
/* #loading {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 9999;
	background-color:#FDFCCE;
}

#loading.loaded {
animation: loaded 0.5s ease-in forwards 1.3s;
}

@keyframes loaded {
100% {
opacity: 0;
visibility: hidden;
}
}

.line-drop::after{
content: "";
    position: relative;
    bottom: calc(-100% + 34px);
    left: 0;
    display: inline-block;
    width: 100%;
    height: 35px;
    background-image: url(assets/images/line-profile.svg);
    background-position-y: top;
	background-position-x: center;
}

.line-drop{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:53%;
		background-color:#B1D7F2;
}

.drop {
	-webkit-filter: url('#liquid');
  filter: url('#liquid');
  position:absolute;
  top:calc(50% + 6px);
  left:50%;
	transform:translate(-50% , -50%);
}

.drop-1 , .drop-2 {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: auto;
  background-color: #B1D7F2;
}

.drop-1{
	width:45px;
	height:45px;
}

.drop-2 {
  animation: drop 0.8s ease-in infinite;
}

@keyframes drop {   
  0% {
	  	  transform:translateY(-10px) scale(0.2);
  }
  60% {
	  	  transform:translateY(30px) scale(1);
  }
  100% {
	  	  transform:translateY(500px) scale(1);
  }
} */

.more-btn {
  display: block;
  border: 1px solid #333;
  border-radius: 25px;
  padding: 8px 30px;
  margin: 80px auto 40px;
  width: fit-content;
  min-width: 370px;
  max-width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: normal;
  transition: 0.3s;
}

.more-btn:hover {
  opacity: 0.6 !important;
  transition: 0.3s;
}

/* header */
.header {
  height: 45px;
  background-color: #FDFCCE;
  padding: 15px 20px;
  position: fixed;
  z-index: 999;
  width: 100%;
  transform: translateY(-100%);
  transition: 0.5s;
}

.main-menu {
  display: flex;
  justify-content: flex-end;
  margin-right: 3%;
}

.main-menu li {
  margin: 0 25px;
}

.header.is-shown {
  transform: translateY(0);
  transition: 0.5s;
}

@media screen and (max-width:768px) {
  .hamburger {
    width: 35px;
    height: 12px;
    position: relative;
    margin: 0 0 0 auto;
  }

  .hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: .5s;
  }

  .hamburger span:first-of-type {
    top: 0;
  }

  .hamburger span:nth-of-type(2) {
    top: 100%;
  }

  .hamburger.open span:first-of-type {
    top: 50%;
    transform: rotate(45deg);
  }

  .hamburger.open span:nth-of-type(2) {
    top: 50%;
    transform: rotate(-45deg);
  }

  .main-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    transform: translateY(100%);
    transition: opacity 0.8s 0.4s, transform 0.2s;
    background-color: #9cbc68d1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    gap: 30px;
    font-size: 28px;
  }

  .main-menu.open {
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.8s 0.3s, transform 0.5s;
  }

}


/* footer */
.copyright {
  background-color: #373C4A;
  padding: 5px;
}

.copyright small {
  color: #FFF;
  font-size: 14px;
}

/* style */
.top-kv {
  position: relative;
  /* padding-top: 45px; */
}

.top-kv>div,
.top-kv>img {
  height: 100vh;
  max-height: 770px;
}

.top-kv>div {
  /* width: 40%; */
  align-items: center;
  justify-content: center;
  gap: 10%;
}

.top-kv>.kv-slider {
  width: 60%;
}

.top-kv .cta {
  margin: 0;
}

.top-kv .cta::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.logo-wrap {
  /* width: 100%; */
  height: 100%;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
  margin: 0px 10px;
}

.logo {
  width: 465px;
  max-width: 100%;
  display: block;
}

.logo-wrap ul {
  width: 100%;
  /* max-width: 450px; */
  justify-content: flex-end;
  margin-top: 45px;
  gap: 30px;
  color: #FDFCCE;
}

.logo-wrap ul li {
  position: relative;
  padding: 5px;
  /* width: 120px; */
  text-align: center;
  font-family: 'Mexa', sans-serif;
  font-size: 26px;
  text-transform: uppercase;
}

.top-kv .btn {
  position: absolute;
  bottom: 10%;
  display: block;
  text-align: right;
  padding: 12px 7% 9px 0;
  color: #1A1311;
  background-color: #FFB5D5;
  width: 37%;
  z-index: 100;
  border-radius: 0 20px 20px 0;
}

.top-kv .btn::after {
  position: absolute;
  content: "";
  background-image: url(assets/images/flower.png);
  background-size: contain;
  background-position: center;
  top: 50%;
  right: calc(14% - 40px);
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
}

.line-kv svg {
  position: absolute;
  top: 0;
  left: calc(40% - 20px);
  height: 100%;
  z-index: 100;
}

.kv-slider .slick-list,
.kv-slider .slick-track {
  height: 100%;
}

.kv-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-about {
  position: relative;
  padding: 80px 0;
  background: #B0C5DB;
  justify-content: center;
  align-items: center;
}

.top-about::before, .top-about::after {
  content: "";
  position: absolute;
  /* border-top: 1px solid #000; */
  width: 100%;
  height: 26px;
  top: 0;
  left: 0;
  background: url(assets/images/line-wave.svg) repeat-x;
}

.top-about::after {
  top: auto;
  bottom: 0;
}

/* .top-about.animation::after {
  animation: about-flower 1.5s ease 1s;
}

@keyframes about-flower {
  100% {
    transform: rotateZ(-360deg);
  }
} */

.top-about .title-1 {
  /* position: absolute; */
  /* top: 65px; */
  /* left: 15%; */
  color: #FDFCCE;
  transform: rotate(-90deg);
  /* writing-mode: vertical-lr; */
}

.bg-about {
  /* background-image: url(assets/images/bg-about.png); */
  /* background-position-x: center; */
  /* background-size: cover; */
  /* height: 310px; */
  /* margin-top: 45px; */
  align-items: center;
  justify-content: center;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.about-text {
  margin: 0 30px;
  max-width: 740px;
}

.top-works>div {
  /* width: 50%; */
  padding: 60px 40px 40px;
  flex-direction: column;
}

.top-works>div:first-child {
  align-items: flex-end;
}

.top-works-title {
  position: absolute;
  transform: translateY(-50%);
  color: #fff;
  width: 100vw;
  overflow: hidden;
  /* z-index: 100; */
  /* top: 0; */
  /* left: 0; */
}

.top-works-title .title-2 {
  /* animation-duration: 30s; */
  /* z-index: 100; */
  /* position: absolute; */
  /* color: #fff; */
  /* top: 0; */
  /* left: 0; */
}

.top-space .works-list {
  margin-bottom: 130px;
}

.top-prop .works-list {
  margin-top: 130px;
}

.title-space {
  width: fit-content;
  border-bottom: 1px solid #000;
  line-height: 1.1;
  padding-bottom: 5px;
  position: relative;
  top: -70px;
  right: 45px;
  transform: translateY(70px);
  opacity: 0;
}

.title-space span {
  letter-spacing: 3.3px;
}

.top-works.animation .title-space {
  transform: translateY(0);
  opacity: 1;
  transition: 1.5s;
}

.title-prop {
  width: fit-content;
  display: inline-block;
  border-top: 1px solid #000;
  position: relative;
  left: 110px;
  bottom: -40px;
  z-index: 1;
  transform: translateY(-70px);
  opacity: 0;
}

.top-works.animation .title-prop {
  transform: translateY(0);
  opacity: 1;
  transition: 1.5s;
}

.about-mask1 {
  mask-image: url("assets/images/about-mask1.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("assets/images/about-mask1.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  width: 100%;
  max-width: 500px;
}

.about-mask2 {
  /* mask-image: url("assets/images/about-mask2.svg"); */
  /* mask-repeat: no-repeat; */
  /* mask-position: center; */
  /* mask-size: contain; */
  /* -webkit-mask-image: url("assets/images/about-mask2.svg"); */
  /* -webkit-mask-repeat: no-repeat; */
  /* -webkit-mask-position: center; */
  /* -webkit-mask-size: contain; */
  /* width: 100%; */
  /* max-width: 500px; */
}

.top-works {
  overflow: hidden;
  /* margin-top: -300px; */
}

@media screen and (min-width:786px) {
  .top-works .works-list {
    width: 130%;
    margin-left: -15%;
    /* transform: translateX(-10%); */
  }
}

.top-works .works-list li {
  aspect-ratio: 534 / 401;
  height: auto;
  /* max-width: 401px; */
}

.top-works .works-list img,
.top-works .reflection {
  mask-image: url(assets/images/mask-image-wide.svg);
}

.top-works img {
  max-width: 100%;
  width: 500px;
  height: 500px;
  object-fit: cover;
}

.top-works a:hover {
  opacity: 1;
}

.reflection {
  position: relative;
  mask-image: url(assets/images/mask-image.svg);
  mask-size: contain;
  transition: 0.3s;
}

.reflection:hover:after {
  content: "";
  height: 100%;
  width: 30px;
  position: absolute;
  top: -180px;
  left: 0;
  background-color: #fff;
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -webkit-animation: reflection 0.5s ease-in-out;
  pointer-events: none;
}

@keyframes reflection {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.3;
  }

  1% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 0.8;
  }

  100% {
    -webkit-transform: scale(100) rotate(45deg);
    opacity: 0;
  }
}

.top-profile {
  position: relative;
}

.top-profile::before {
  content: "";
  position: absolute;
  background-image: url(assets/images/line-profile.svg);
  background-position-y: top;
  width: 100%;
  height: 35px;
  top: -30px;
  left: 0;
}

.profile-border {
  margin: 50px 30px;
  border-top: 1px solid #000;
  width: 0;
  text-align: center;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.top-profile.animation .profile-border {
  width: calc(100% - 60px);
  transition: width 1.5s linear;
}

.profile-text {
  width: 80%;
  margin: 0 auto;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

/* contact */
.top-contact {
  padding: 1px;
}

.bg-contact {
  background-color: #CCCBC8;
  /* background-image: url(assets/images/bg-contact.png); */
  /* background-repeat: no-repeat; */
  /* background-position: center; */
  /* background-size: 80% 93%; */
  /* padding: 170px 0; */
}

.contact-form {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  width: 60%;
  margin: 60px auto;
}

.contact-form>div {
  padding: 15px 0 0;
}

.contact-form .required {
  color: #f04c4c;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  outline-color: #707070;
  margin-top: 10px;
}

input.contact-submit {
  display: block;
  outline: none;
  border: 3px dotted #707070;
  border-radius: 25px;
  background-color: #fff;
  max-width: 80%;
  width: 250px;
  margin: 30px auto;
  padding: 10px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 16px;
  color: #000 !important;
  font-weight: normal !important;
}

input.contact-submit:hover {
  opacity: 0.7;
  cursor: pointer;
}

input[type=checkbox] {
  width: 20px;
  margin: 0;
}

.contact-checkbox {
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.privacy-text {
  background-color: #fff;
  border: 1px solid #707070;
  padding: 15px;
  font-size: 14px;
  margin-top: 10px !important;
  border-radius: 1px;
  height: 320px;
  overflow: scroll;
}

/* selected work */
.works-page {
  position: relative;
}

.works-category {
  margin: 25px 0 100px;
  font-size: 21px;
}

.works-category .flex {
  align-items: center;
  justify-content: center;
  gap: 70px;
  text-transform: uppercase;
}

.works-category a {
  position: relative;
  color: #4B4B4B;
}

.works-category a::before {
  position: absolute;
  content: "";
  background-size: contain;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
}

.works-category a:hover::before,
.post-type-archive-work .category-all a::before,
.term-space-design .category-space-design a::before,
.term-prop .category-prop a::before {
  background-image: url(assets/images/icon-checked.svg);
}

.works-category a:hover::before {
  opacity: 0.5;
}

.works-category p {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.works-list {
  margin: 75px auto 0;
  gap: 50px 60px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.works-list a {
  display: block;
  height: 100%;
  width: 100%;
  opacity: 1 !important;
}

.works-list img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  mask-image: url(assets/images/mask-image.svg);
  mask-size: contain;
  transition: 0.3s;
}

.works-list li {
  width: calc(100% / 3 - 60px * 2 / 3);
  margin-bottom: 30px;
  position: relative;
  aspect-ratio: 353 / 461;
}

.works-list p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 15px 0 0;
  font-size: 30px;
  color: #B0C5DB;
  opacity: 0;
  transition: all 0.8s;
  text-align: center;
}

.works-list li:hover img {
  /* filter: blur(1px); */
  /* transition: 0.3s; */
}

.works-list li:hover p {
  opacity: 1;
  transition: all 0.8s;
}

.works-pagination .page-numbers {
  display: inline-block;
  margin: 12px 12px 60px 12px;
  width: 30px;
  height: 30px;
  padding-top: 2px;
  background-color: #B1D7F2;
  vertical-align: middle;
  line-height: 30px;
  color: #fff;
  border-radius: 25px;
}

.works-pagination .prev,
.works-pagination .next {
  margin: 12px 0 60px;
  background-color: transparent;
  font-size: 35px;
  color: #707070;
}

/* work */
.work-list {
  position: relative;
}

.work-detail {
  justify-content: space-between;
  align-items: center;
}

.work-detail-content {
  width: 50%;
  padding-right: 30px;
}

.work-detail-img {
  width: 50%;
  max-width: 480px;
}

.work-gallery {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin: 75px 0 60px;
  gap: 60px;
}

.work-gallery li {
  width: calc(100%/3 - 60px * 2 / 3);
  margin: 0 0 20px;
}

.work-overview {
  width: 100%;
  /* margin: 0 0 60px auto; */
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.work-overview p {
  margin: 9px;
}

.work-overview tr {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.work-overview tr td {
  padding: 10px 0;
}

.work-overview tr td:first-child {
  padding-right: 20px;
}

.work-other {
  padding-bottom: 20px;
}

.works-slider {
  margin: 30px 30px 60px !important;
}

.works-slider li img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  padding: 16px;
}

.page-id-75 .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 160px);
}

.thanks-text {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  text-align: center;
  /*   color: #fff; */
  font-size: 18px;
}

.thanks-title {
  font-weight: bold;
  font-size: 24px;
}

@media screen and (max-width:1100px) {
  .top-profile .wrap {
    margin: 0 15px;
  }
}

@media screen and (max-width:768px) {
  .title-1 {
    font-size: 65px;
  }

  .title-2 {
    /* font-size: 55px; */
  }

  .title-3 {
    font-size: 36px;
  }

  .title-4 {
    font-size: 26px;
  }

  .top-kv {
    flex-direction: column;
    /* padding-top: 50px; */
  }

  .top-kv>div, .top-kv>img {
    width: 100% !important;
    height: auto;
    padding: 90px 0px 40px;
  }

  .top-kv .flex {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo-wrap {
    justify-content: flex-start;
    flex-direction: row;
    margin: 0 0 50px;
  }

  .logo {
    /* width: 60%; */
    min-width: 160px;
    margin: 90px auto 160px;
    max-width: 270px;
  }

  .logo-wrap ul {
    flex-direction: row !important;
    align-items: flex-start;
    width: auto;
    margin: 0;
    /* gap: 0; */
  }

  .logo-wrap ul li {
    text-align: left;
    font-size: 16px;
  }

  .logo-wrap ul li::after {
    content: none;
  }

  svg.line-kv-pc {
    display: none;
  }

  .logo-wrap::after {
    content: nonei;
    position: absolute;
    background-image: url(assets/images/line-kv-mb.svg);
    background-position-y: bottom;
    width: 100%;
    height: 25px;
    bottom: -20px;
    left: 0;
    z-index: 1;
  }

  .kv-slider {
    height: 450px !important;
  }

  .top-kv .btn {
    width: 100%;
    bottom: -35px;
    height: 35px;
    border-radius: 0;
    padding: 10px 14% 10px 0;
  }

  .top-about {
    flex-direction: column;
  }

  /* .top-about::before {
    content: none;
  }

  .top-about::after {
    content: none;
  } */

  .top-works {
    flex-direction: column;
  }

  .top-works>div {
    width: 100%;
    align-items: center;
  }

  .top-works>div:first-child {
    align-items: center;
  }

  .top-works>div:first-child {
    padding: 1px 0px 1px;
  }

  .top-works>div:nth-child(2) {
    padding: 0 0 50px;
  }

  .top-works .works-list {
    padding: 0 30px;
    gap: 30px;
  }

  .work-gallery li {
    width: 100%;
  }

  .work-overview {
    width: 100%;
    margin: 10px 0;
  }

  .sns-btn {
    /* top: 25%; */
  }
}

@media screen and (max-width:786px) {
  .title-1 {
    /* font-size: 65px; */
  }

  .title-2 {
    font-size: 120px;
    animation-duration: 16s;
  }

  .title-3 {
    font-size: 20px;
  }

  .title-4 {
    font-size: 20px;
  }

  /*   .logo {
    margin: 23px;
  }
 */
  .logo-wrap ul li {
    padding: 0;
  }

  svg.line-kv-mb {
    top: 92px;
  }

  .top-about .title-1 {
    top: 95px;
    transform: none;
  }

  .bg-about {
    /* background-image: url(assets/images/bg-about-mb.png); */
    /* background-position: top left -90px; */
  }

  .about-text {
    /*     width: 75%;
    margin: 0 14px 0 auto; */
    font-size: 14px;
  }

  .top-works>div:first-child {
    align-items: flex-end;
  }

  .top-works>div:nth-child(2) {
    align-items: flex-start;
  }

  /*   .top-works img {
    height: 390px;
  }
 */
  .profile-border {
    margin: 50px 0;
  }

  .top-profile.animation .profile-border {
    width: 100%;
  }

  .profile-text {
    font-size: 14px;
  }

  .works-category {
    margin-bottom: 0;
  }


  .works-category .flex {
    gap: 15px;
    flex-direction: column;
    font-size: 18px;
  }

  .works-list li {
    width: 100%;
    margin: auto;
    max-width: 400px;
  }

  .work-gallery {
    margin-top: 40px;
  }

  .work-detail {
    flex-direction: column;
    gap: 41px;
  }

  .work-detail-content,
  .work-detail-img {
    width: 100%;
    padding: 0;
  }

  .bg-contact {
    background-image: none;
    padding: 90px 0;
  }

  .bg-contact .wrap {
    /* background-color: #F2ECE1; */
    /* border: 10px solid #FFB5D5; */
    /* border-radius: 25px; */
    /* margin: 0 10px; */
    /* padding-top: 50px; */
    /* padding-bottom: 50px; */
  }

  .contact-form {
    width: 90%;
    margin: 30px auto;
  }

  .contact-form p {
    margin: 0;
  }

  .cta {
    width: 140px;
    height: 140px;
  }

  .cta img {
    animation-duration: 28s;
  }

  .cta::after {
    width: 50px;
    height: 7px;
  }
}