/*
Theme Name: mr47design Portfolio
Theme URI: https://www.mr47design.net/
Description: mr47designのPortfolio
Version: 1.0.0
Author: Ayako Kanbayashi
Author URI: https://www.mr47design.net/
*/
/* 詳細度を最強にして、どこからでも見えるようにします */

#page_top {
  width: 90px;
  height: 90px;
  position: fixed;
  right: 50px;
  bottom: 100px;
  background: #ef3f98;
  border-radius: 50%;
  z-index: 9999;

  /* 初期状態：必ず非表示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* フェード用 */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#page_top.is-show {
  opacity: 0.6;
  visibility: visible;
  pointer-events: auto;
}

.page_top-works {
  width: 90px;
  height: 90px;
  position: fixed;
  right: 50px;
  bottom: 100px;
  background: #c08570;
  border-radius: 50%;
  z-index: 9999;

  /* 初期状態：必ず非表示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* フェード用 */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page_top-works.is-show {
  opacity: 0.6;
  visibility: visible;
  pointer-events: auto;
}

#page_top a,
.page_top-works a {
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before,
.page_top-works a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after,
.page_top-works a::after {
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

body {
font-family: "hiragino-kaku-gothic-pron", sans-serif;
font-style: normal;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a:visited,
a:link,
a:hover,
a:active {
  color: inherit;
}
.all-size {
  max-width: 1140px;
  height: auto;
  margin: 0 auto;
}
/*Header*/
.header_wrapper {
  display: flex;
  align-items: center;
  margin: 14px 80px;
}
.header_wrapper a {
  color: #333333;
  font-size: 24px;
  font-weight: bold;
}
/*FirstView*/
.fv_wrapper {
  max-width: 100%;
  min-height: 700px;
  height: auto;
  background-color: #EEEEEE;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 4vw, 50px);
  align-items: stretch;
}
.fv__visual {
  position: relative;
  overflow: hidden;
  width: 48%;
  height: auto;
  padding: 150px 20px;
  background-color: #EDCED4;
  text-align: center;
  box-shadow: 0 24px 32px -12px rgba(0, 0, 0, 0.6);
}
.fv__visual::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 10px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0)
  );
  box-shadow: 24px 24px 32px rgba(0, 0, 0, 0.2);
}
.fv__visual img {
  max-width: 100%;
  width: clamp(200px, 40vw, 420px);
  height: auto;
  margin: 0 auto;
}
.fv_nav {
  width: 48%;
  height: auto;
  padding-top: 150px;
  padding-bottom: 150px;
  background-color: #ffffff;
  position: relative;
  box-shadow: 0 24px 32px -12px rgba(0, 0, 0, 0.6);
}

.fv__vertical-text {
  position: absolute;
  left: clamp(20px, 6vw, 80px);
  top: 45%;
  transform: translateY(50%) rotate(-90deg);
  transform-origin: left top;
  color: #CACACA;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.fv__vertical-text::before {
  content: "";
  position: absolute;
  left: -50%;
  top: 150%;
  width: 150%;
  height: 5px;
  background-color: #CACACA;
  transform: translateY(-50%);
}
.fv__menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2.6vw, 28px);
}
.fv__menu a {
  display: block;
  margin-left:auto;
  max-width: 100%;
  width: 50%;
  padding: 10px 14px;
  text-align: left;
  background-color: #EEEEEE;
  color: #666666;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: bold;
}
/*about us*/
.aboutus_wrapper {
  position: relative;
  margin-top: 240px;
  margin-bottom: 240px;
}
.aboutus_bg {
  position: absolute;
  top: 40%;
  left: clamp(80px, 10vw, 150px);
  transform: translateX(-50%) rotate(-90deg);
  font-size: clamp(48px, 30vw, 128px);
  font-weight: 800;
  color: #000;
  opacity: 0.1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.aboutus_bg::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 90%;
  width: 100%;
  height: 0.08em;
  background-color: #000000;
  transform: translateY(-50%);
}
.aboutus_wrapper h2 {
  position: absolute;
  left: clamp(110px, 10vw, 300px);
  top: 25%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  color: #666666;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.aboutus_content {
  display: flex;
  justify-content: center;
}
.aboutus_image {
  width: 300px;
  margin-left: clamp(220px, 4vw, 260px);
}
.aboutus_image img {
  width: 100%;
  height: auto;
  display: block;
}
.aboutus_text {
  position: relative;
  width: 300px;
  background-color: #EEEEEE;
  padding: 16px 40px;  
  color: #666666;
  margin-top: clamp(100px, 4vw, 160px);
}
.aboutus_text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #EDCED4; 
  transform: translate(24px, 24px);
  z-index: -1;
}
.aboutus_text h3 {
  font-size: clamp(8px, 2vw, 24px);
  font-weight: bold;
  margin: 24px auto 24px;
  line-height: clamp(1.4, 1.3 + 0.2vw, 1.6);
}
.aboutus_text h4 {
  font-size: clamp(8px, 2vw, 16px);
  line-height: clamp(1.2, 1.3 + 0.2vw, 1.6);
}
.aboutus_text h5 {
  position: relative;
  font-size: clamp(8px, 2vw, 24px);
  font-weight: bold;
  margin: 56px auto 24px;
  line-height: clamp(1.4, 1.3 + 0.2vw, 1.6);
}
.aboutus_text h5::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #666666;
  margin: 24px 0;
}
.aboutus_text p {
  font-size: clamp(8px, 2vw, 16px);
  margin-bottom: 24px;
  line-height: clamp(1.2, 1.3 + 0.2vw, 1.6);
}
/*skill*/
.skills_wrapper {
  position: relative;
  padding: 340px 20px 240px 20px;
  background-color: #EEEEEE;
  overflow: hidden;
}
.skills_bg {
  position: absolute;
  top: 5%;
  left: clamp(130px, 10vw, 230px);
  font-size: clamp(24px, 30vw, 128px);
  font-weight: 800;
  color: #000;
  opacity: 0.1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.skills_bg::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 90%;
  width: clamp(6em, 10vw, 15em);
  height: 0.08em;
  background-color: #000000;
}
.skills_wrapper h2 {
  position: absolute;
  left: clamp(180px, 10vw, 300px);
  top: 15%;
  transform-origin: left center;
  color: #666666;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.skills_content {
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: stretch;
}
.skills_text,
.skills_image {
  width: clamp(260px, 30vw, 420px);
}
.skills_text {
  padding: clamp(24px, 6vw, 40px);
  background-color: #ffffff;
  font-size: clamp(8px, 2vw, 24px);
  color: #666666;
  font-weight: bold;
}
.skills_image img {
  width: 100%;
  height: 100%;
  display: block;
}
.skills_text p {
  margin-top: 40px;
}
.skills_text p::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #666666;
  margin: 24px 0;
}
/*works*/
.works_wrapper {
  background-image: url(image/works-backgrand.png);
  position: relative;
  padding: 240px 20px 60px 20px;
}
.works_bg {
  position: absolute;
  top: 10%;
  left: clamp(100px, 10vw, 230px);
  transform: translateX(-50%) rotate(-90deg);
  font-size: clamp(48px, 30vw, 128px);
  font-weight: 800;
  color: #000;
  opacity: 0.1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.works_bg::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 90%;
  width: 100%;
  height: 0.08em;
  background-color: #000000;
  transform: translateY(-50%);
}
.works_wrapper h2 {
  position: absolute;
  left: clamp(110px, 10vw, 300px);
  top: 8%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  color: #666666;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.works_card {
  position: relative;
  max-width: 70%;
}
.works_card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #EDCED4;
  transform: translate(24px, 24px);
  z-index: 0;
}
.works_inner {
  position: relative;
  background: #EEEEEE;
  padding: 80px 44px;
  z-index: 1;
}
.works__inner {
  margin-left: clamp(300px, 4vw, 460px);
}
.works_image {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  width: 100%;
}
.works_image img {
  /*max-width: 30%;*/
  width: 100%;
}
.works_content h3 {
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  color: #666666;
}
.works__content {
  font-size: clamp(16px, 4vw, 24px);
  font-weight: bold;
  color: #666666;
  margin-top: 20px;
  /*margin-left: clamp(300px, 4vw, 460px);*/
}
.works_link {
  text-align: right;
  margin-top: 24px;
}
.works__link{
  display: inline-block;
  margin: 6px 4px;
  width: 200px;
  height: 2px;
  background: black;
  position: relative;
}
.works__link::after {
  content: '';
  position: absolute;
  top: -4px;
  right: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid black;
  transform: rotate(45deg);
}
.more-single {
    font-size: clamp(16px, 4vw, 24px);
    font-weight: bold;
    color: #666666;
  }
.more-single a {
  margin-right: 40px;
}
/*works-website*/
.works__inner_website {
  max-width: 90%;
  width: 90%;
  height: auto;
  margin: 140px auto;
  background-color: #EEEEEE;
  
}
.works__inner_website1 {
  position: relative;
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
}
.works__inner_website1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #EDCED4; 
  transform: translate(24px, 24px);
  z-index: 0;
}
.works__inner_other1 {
  position: relative;
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
}
.works__inner_other1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #EDCED4; 
  transform: translate(24px, 24px);
  z-index: 0;
}
.works_website_box {
  display: flex;
  justify-content: space-around;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-top: 40px;
  margin-bottom: 24px;
}
.works_website_innerbox {
  position: relative;
}
.works_website_innerbox:nth-of-type(2) {
  margin-left: 32px;
}
.works_website_img1,
.works_website_img2 {
  position: absolute;
  width: clamp(500px, 30vw, 600px);
  height: auto;
}
.works_website_img1 {
  left: -10%;
  top: 10%;
}
.works_website_img2 {
  left: -10%;
  top: 10%;
}
/*.works__content {
  margin: 0;
}*/
/*works-other*/
.works__inner_other {
  max-width: 90%;
  width: 90%;
  height: auto;
  margin: 140px auto;
}
.works_other_img1 {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.works_other_innerbox {
  display: flex;
}
/*contact us*/
.contactus_wrapper {
  max-width: 100%;
  height: auto;
  background-color: #EEEEEE;
  padding: clamp(16px, 4vw, 50px);
  position: relative;
  overflow: hidden;
}
.contactus_bg {
  position: absolute;
  top: 5%;
  left: clamp(130px, 10vw, 230px);
  font-size: clamp(24px, 30vw, 128px);
  font-weight: 800;
  color: #000;
  opacity: 0.1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.contactus_bg::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 90%;
  width: clamp(7em, 10vw, 15em);
  height: 0.08em;
  background-color: #000000;
}
.contactus_main{
  position: absolute;
  left: clamp(180px, 10vw, 300px);
  top: 15%;
  transform-origin: left center;
  color: #666666;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.contactus__wrapper {
  display: flex;
  margin-top: 250px;
}
.contactus_content {
  position: relative;
  overflow: hidden;
  width: 48%;
  height: auto;
  padding: 80px 20px;
  background-color: #EDCED4;
  box-shadow: 0 24px 32px -12px rgba(0, 0, 0, 0.6);
}
.contactus_content::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 10px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0)
  );
  box-shadow: 24px 24px 32px rgba(0, 0, 0, 0.2);
}
.contactus_link {
  display: flex;
  margin-top: 16px;
}
.contactus_text {
  font-size: 16px;
  color: #666666;
  margin-left: 20px;
}
.contactus_text1 {
  font-size: 16px;
  color: #666666;
  margin-top: 16px;
}
.contactus_text2 {
  font-size: 20px;
  color: #666666;
  margin-top: 24px;
}
.contactus_text a {
  text-decoration: underline;
}
#name, #email, #message {
  width: 100%;
  padding: 16px;
  margin: 4px auto;
  border-radius: 8px;
  border: none;
}
.form-group {
  position: relative;
}
.required-mark {
  position: absolute;
  left: 74px;
  top: 50%;
  transform: translateY(-50%);
  color: #e53935;
  font-size: 16px;
  pointer-events: none;
}
.required--mark {
  position: absolute;
  left: 100px;
  top: 21%;
  transform: translateY(-50%);
  color: #e53935;
  font-size: 16px;
  pointer-events: none;
}
.contactus_button1 {
  max-width: 100%;
  width: 70%;
  height: auto;
  margin: 0 auto;
}
.contactus_button {
  max-width: 100%;
  width: 100%;
  margin:  0 auto;
  padding: 16px;
  border-radius: 8px;
  border: none;
  color: #ffffff;
  font-size: 18px;
  background: linear-gradient(135deg, #F093FB, #F5576C);
}
.contactus_textgroup {
  width: 85%;
  max-width: 85%;
  margin: 0 auto;
}
.contactus_form {
  max-width: 80%;
  width: 80%;
  margin: 0 auto;
}
/*footer*/
.footer_layout {
  /*max-width: 900px;
  width: 100%;
  height: auto;*/
  margin-left: 80px;
  margin-right: 80px;
}
.footer_wrapper {
  margin: unset;
}
.footer_scale {
  /*transform: scale(0.8);
  transform-origin: top center;
  display: flex;
  justify-content: left;
  justify-content: space-between;
  align-items:center;*/
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  align-items: center;
}
.footer_text p{
  color: #666666;
  text-align: center;
}
/*works.html*/
/*fv*/
.fv___visual img {
  max-width: 100%;
  width: clamp(200px, 40vw, 380px);
  height: auto;
  margin: 0 auto;
}
.fv___visual {
  background-color: #D8C8C2;
}
/*BANNER*/
.section-bg {
  background-image: url("image/works-backgrand.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.works_banner_wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 20px;
}
.works_banner_bg {
  position: absolute;
  top: 5%;
  left: clamp(130px, 10vw, 230px);
  font-size: clamp(48px, 30vw, 128px);
  font-weight: 800;
  color: #000;
  opacity: 0.1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.works_banner_bg::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 90%;
  width: 100%;
  height: 0.08em;
  background-color: #000000;
  transform: translateY(-50%);
}
.works_banner_wrapper h2 {
  position: absolute;
  left: clamp(180px, 10vw, 300px);
  top: 14%;
  transform-origin: left center;
  color: #666666;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.works_banner_inner {
  max-width: 60%;
  width: 60%;
  height: auto;
  margin: 0 auto;
  padding-top: 340px;
}
.works_banner_content {
  margin-top: 32px;
  margin-bottom: 16px;
}
/*BANNER-FirstView*/
.works_firstview_content  {
  margin-top: 32px;
  margin-bottom: 16px;
  width: 60%;
  height: auto;
  margin: 0 auto;
}
.works_firstview {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 80px auto;
}
.works_fv_image {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1200px;
}
.works_fv_image img {
  width: 100%;
  height: auto;
  margin: 0 auto 80px;
}
.works_fv_image img:nth-child(2n) {
  margin-left: clamp(10px, 5vw, 100px);
}
.swiper {
  position: relative;
}
.sns-swiper .swiper-wrapper,
.ecsite-swiper .swiper-wrapper {
  display: flex;
}
.sns-swiper .swiper-slide,
.ecsite-swiper .swiper-slide {
  flex-shrink: 0;
}
.swiper-slide img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* 矢印の色 */
.works_banner_wrapper .swiper-button-next,
.works_banner_wrapper .swiper-button-prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.8);              /* 背景色 */
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  backdrop-filter: blur(6px);
  color: #c08570;                    /* 矢印色 */
  transition: all .3s ease;
}
.works_banner_wrapper .swiper-button-next::after,
.works_banner_wrapper .swiper-button-prev::after {
  font-size: 18px;   /* ← ここを変える */
  font-weight: bold;
}
.sns-swiper,
.ecsite-swiper {
  width: 100%;
  overflow: visible; /* Swiper 内は visible OK */
}
/*works-website*/
.works_website_wrapper {
  position: relative;
  margin: 0 20px;
  padding-top: 300px;
  overflow: hidden;
}
.works_website_bg {
  position: absolute;
  top: 100px;
  left: clamp(130px, 10vw, 230px);
  font-size: clamp(48px, 30vw, 128px);
  font-weight: 800;
  color: #000;
  opacity: 0.1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.works_website_bg::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 90%;
  width: 100%;
  height: 0.08em;
  background-color: #000000;
  transform: translateY(-50%);
}
.works_website_main {
  position: absolute;
  left: clamp(180px, 10vw, 300px);
  top: 8%;
  transform-origin: left center;
  color: #666666;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.works-html_website_img {
  /*display: flex;
  justify-content: center;
  background-color: #EEEEEE;
  max-width: 100%;
  width: 100%;
  padding: 50px 0;*/
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}
.list{
  border-radius: 20px;
  border: solid 10px #fff;
  overflow: hidden;
  overflow-y: scroll;
  /*  aspect-ratio: 375 / 667; */
  height: 287px;
}
.works_website {
  max-width: 1000px;
}
.pc-mock {
  /*width: 900px;
  height: 560px;
  margin: 0 auto;
  background: #111;
  border-radius: 12px;
  padding: 16px;*/
  position: relative;
  max-width: 500px;
  width: 100%;
  height: auto;
  /* min-height: 178px; */
  border: solid #000 12px;
  border-radius: 20px;
  margin: 100px 40px 0 40px;
}
.pc-mock::before{
  content: "";
  position: absolute;
  background-image: url(image/website5-1.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 29%;
  z-index: 100;
  bottom: -98px;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.pc-mock-home {
  margin: 40px auto 80px;
}
.pc-screen {
  /*width: 100%;
  height: 100%;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;*/
  position: relative;
}
.pc-screen img {
  position: absolute;
  width: 100%;
  height: auto;
  display: block;
}

.sp-mock {
  max-width: 300px;
  width: 100%;
  height: auto;
  border: solid #000 8px;
  border-radius: 20px;
  margin: 100px 40px 0 40px;
  position: relative;
}
.sp-screen {
  height: 500px;
}
.sp-screen img {
  width: 100%;
  height: auto;
  display: block;
}
/*.works_website_inner {
  padding-top: 440px; 
}*/
.works-html_text_content {
  max-width: 1140px;
  margin: 56px auto;
}
.balloon3-left {
  position: absolute;
  display: block;
  padding: 28px 18px;
  border: solid 1px #333;
  border-radius:50%;
  margin: 48px;
  margin-inline: auto;
  width: fit-content;
  top: -150px;
  right: 0px;
}
.balloon3-left::before {
  content: "";
  position: absolute;
  bottom: -5px;
  top: 80%;
  left:18%;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  background-color: #ffffff;/*背景と同じ色に変更してください*/
  rotate: 135deg;
  translate: -50%;
}
.balloon3-left::after {
  content: "";
  position: absolute;
  bottom: 9px;
  left: -1%;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border-top: solid 1px;
  border-color: #333;
  rotate: 135deg;
}
.balloon3-left {
  animation: swing 3s ease-in-out infinite;
}
@keyframes swing {
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.works-html_text {
  display: flex;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 40px auto;
  gap: 16px;
  padding-bottom: 24px;
}
.works-html_text:not(:last-child) {
  border-bottom: 1px solid #666666;
}
.works-html_text h3 {
  width: 200px;
  height: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 24px;
  color: #ffffff;
  background-color: #D8C8C2;
  border-radius: 8px;
}
.works-html_text p {
  display: flex;
  align-items: center;
  width: 70%;

}
@media screen and (max-width: 1000px) {
  .works_website_bg {
    left: clamp(50px, 10vw, 80px);
    top: 1%;
    font-size: clamp(48px, 30vw, 96px);
  }
  .works_website_main {
    top: 120px;
    left: 80px;
  }
  .works-html_website_img {
    display: block;
    padding-top: 100px;
  }
  .works-html_text {
    display: block;
    margin-top: 12px;
  }
  .works-html_text p {
    width: 100%;
  }
  .pc-mock {
    max-width: 90%;
    width: 100%;
    height: auto;
    margin: 48px auto 100px;
    /* margin-bottom: 100px;*/
  }
  .pc-mock::before {
    display: none;
  }
  .sp-mock {
    max-width: 300px;
    width: 100%;
    height: 520px;
    border: solid #000 8px;
    border-radius: 20px;
    margin: 0 auto;
  }
  .works_website_inner {
    padding-top: 0px;
  }
  .pc-screen {
    height: clamp(175px, 50vw, 500px);
  }
}
/*other*/
.works_other_wrapper {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}
.works_other_bg {
  position: absolute;
  top: 6%;
  left: clamp(130px, 10vw, 230px);
  /*transform: translateX(-50%) rotate(-90deg);*/
  font-size: clamp(48px, 30vw, 128px);
  font-weight: 800;
  color: #000;
  opacity: 0.1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.works_other_bg::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 90%;
  width: 120%;
  height: 0.08em;
  background-color: #000000;
  transform: translateY(-50%);
}
.works_other_main {
  position: absolute;
  left: clamp(180px, 10vw, 300px);
  top: 20% !important;
  transform-origin: left center;
  color: #666666;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
  font-family: "hiragino-mincho-pron", sans-serif;
}
.works_other_img {
  padding-top: 300px;
  padding-bottom: 64px;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 300px auto 80px;
  
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
}
.works_other_img img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.sp_works_other_img {
    display: none;
  }
/*footer*/
.works_contactus_content {
  background-color: #D8C8C2;
}
/*ヨーキー装飾*/
.yorkie-img1, .yorkie-img {
  position: relative;
}
.yorkie-img1::after {
  content: "";
  position: absolute;
  /*left: clamp(50px, 10vw, 80px);*/
  bottom: clamp(-800px, 20vw, -1500px);
  width: 200px;
  height: 200px;
  background-image: url(image/yorkie3.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  animation: swing 5s ease-in-out infinite;
}
.yorkie-img::after{
  content: "";
  position: absolute;
  left: clamp(20px, 10vw, -150px);
  bottom: clamp(-180px, 20vw, -250px);
  width: 200px;
  height: 200px;
  background-image: url(image/yorkie4.png);
  background-repeat: no-repeat;
  background-size: contain;
  animation: swing 5s ease-in-out infinite;
}
/*ハンバーガーMENU*/
.sp-menu-button,
.sp-fv_nav {
  display: none;
}
/* 足跡の動き */
.fade-in{
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: calc(var(--delay) * 0.6s);
  padding-bottom:24px;
  width: clamp(36px, 5vw, 72px); 
  /* transform: rotate(20deg); */
}
.fade-in2{
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: calc(var(--delay) * 0.6s);
  padding-bottom:24px;
  width: clamp(36px, 5vw, 72px); 
  /* transform: rotate(20deg); */
}
.fade-in3{
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: calc(var(--delay) * 0.6s);
  padding-bottom:24px;
  width: clamp(36px, 5vw, 72px); 
  /* transform: rotate(20deg); */
}
.container {
  position: relative;              /* 足跡の基準 */
}
.container li {
  position: absolute;              /* 各足跡を自由配置 */
}

.asiato01 {
  position: absolute;
  top: clamp(-180px, 5vh, -250px);
  right: clamp(-50px, 15vw, -100px);
}
.asiato02 {
  position: absolute;
  top: clamp(-100px, 12vh, -150px);
  right: clamp(-80px, 8vw, -200px);
}
.asiato03 {
  position: absolute;
  top: clamp(-80px, 20vh, -50px);
  right: clamp(-10px, 15vw, -200px);
}
.asiato04 {
  position: absolute;
  top: clamp(-100px, 30vh, 50px);
  right: clamp(-80px, 10vw, -150px);
}
.asiato05 {
  position: absolute;
  top: clamp(100px, 38vh, 150px);
  right: clamp(0px, 18vw, -50px);
}
.asiato06 {
  position: absolute;
  top: clamp(250px, 50vh, 250px);
  right: clamp(-50px, 12vw, -100px);
}
.container2 {
  position: relative;              /* 足跡の基準 */
}
.container2 li {
  position: absolute;              /* 各足跡を自由配置 */
}
.asiato01-1 {
  position: absolute;
  top: clamp(0px, -15vh, 0px);
  left: clamp(0px, -15vw, 0px);
}
.asiato02-2 {
  position: absolute;
  top: clamp(100px, -15vh, 100px);
  left: clamp(30px, -8vw, 50px);
}
.asiato03-3 {
  position: absolute;
  top: 200px;
  left: 0px;
}
.asiato04-4 {
  position: absolute;
  top: 300px;
  left: clamp(30px, -10vw, 40px);
}
.asiato05-5 {
  position: absolute;
  top: 400px;
  left: clamp(0px, -18vw, 0px);
}
.asiato06-6 {
  position: absolute;
  top: 500px;
  left: clamp(40px, -12vw, 30px);
}
.container3 {
  position: relative;              /* 足跡の基準 */
}
.container3 li {
  position: absolute;              /* 各足跡を自由配置 */
}
.asiato01-11 {
  position: absolute;
  top: clamp(-750px, 15vh, -800px);
  right: clamp(50px, 15vw, 50px);
  z-index: 5;
}
.asiato02-22 {
  position: absolute;
  top: clamp(-650px, 15vh, -650px);
  right: clamp(5px, 8vw, 5px);
  z-index: 5;
}
.asiato03-33 {
  position: absolute;
  top: clamp(-500px, 15vh, -500px);
  right: clamp(50px, 15vw, 50px);
  z-index: 5;
}
.asiato04-44 {
  position: absolute;
  top: clamp(-400px, 15vh, -400px);
  right: clamp(10px, 10vw, 10px);
  z-index: 5;
}
.asiato05-55 {
  position: absolute;
  top: clamp(-300px, 15vh, -300px);
  right: clamp(50px, 18vw, 50px);
  z-index: 5;
}
.asiato06-66 {
  position: absolute;
  top: clamp(-200px, 15vh, -200px);
  right: clamp(10px, 12vw, 10px);
  z-index: 5;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in2.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in3.visible {
  opacity: 1;
  transform: translateY(0);
}
.sp-balloon3-left {
  display: none;
}
/*レスポンシブ*/
@media screen and (max-width: 768px) {
  header {
    display: none;
  }
  .fv_nav {
    display: none;
  }
  .fv__visual,
  .fv___visual {
    position: relative; /* ← これが基準 */
  }
  .sp-fv_nav {
    position: absolute;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.3s ease;
  }
    .sp-fv_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 2.6vw, 28px);
  }
  .sp-fv_nav a {
    display: block;
    margin-left:auto;
    max-width: 100%;
    width: 100%;
    padding: 10px 14px;
    text-align: left;
    background-color: #EEEEEE;
    color: #666666;
    font-size: clamp(20px, 3vw, 36px);
    font-weight: bold;
  }
  .sp-fv_nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu-button {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 96px;
    height: 96px;
    background-color: #ffffff;
    background-image: url("image/yorkie1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    z-index: 1100; 
  }
  .sp-fv_nav h2 {
    left: clamp(80px, 6vw, 100px);
  }
  .sp-menu-button.is-open {
    background-color: #EDCED4;
  }
  .w-sp-menu-button.is-open {
    background-color:#D8C8C2
  }
  /*FirstView*/
  .fv_wrapper {
    display: block;
    max-width: 100%;
    max-height: 700px;
  }
  .works_card::after {
    width: 150px;
    height: 150px;
    left: clamp(-150px, 10vw, -200px);
  }
  .fv__visual {
    position: relative;
    max-width: 95%;
    width: 95%;
    max-height: 700px;
    margin: 0 auto;
    padding-bottom: clamp(230px, 4vw, 250px);
    padding-top: clamp(230px, 4vw, 250px);
    padding-left: 2.5%;
    box-sizing: border-box;
    overflow: visible
  }
  .fv__visual::after {
    right: auto;
    left: 0;
    box-shadow: -24px 24px 32px rgba(0, 0, 0, 0.2);
    background: linear-gradient(
      to left,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0)
    );
  }
  /*about us*/
  .aboutus_wrapper {
    margin: 140px 20px;
  }
  .aboutus_content {
    display: block;
  }
  .aboutus_image {
    max-width: 50%;
    width: 50%;
    margin-left: 170px;
  }
  .aboutus_bg {
    top: 20%;
  }
  .aboutus_wrapper h2 {
    top: 10%;
  }
  .aboutus_text {
    margin-left: 170px;
    max-width: 40%;
    width: 40%;
    padding: clamp(8px, 4vw, 24px);
    margin-top: unset;
  }
  .aboutus_text::before {
  transform: translate(12px, 12px);
  }
  /*skills*/
  .skills_wrapper {
    padding: 280px 20px 140px 20px;
  }
  .skills_content {
    display: block;
  }
  .skills_image {
    max-width: 80%;
    width: 80%;
    height: auto;
    margin: 0 auto;
  }
  .skills_text {
    max-width: 70%;
    width: 70%;
    height: auto;
    margin: 0 auto;
  }
  .skills_text li,
  .skills_text p {
    text-align: center;
  }
  .skills_wrapper h2 {
    top: 14%;
    left: clamp(64px, 10vw, 104px);
  }
  .skills_bg {
    font-size: clamp(24px, 30vw, 104px);
    left: clamp(20px, 10vw, 100px);
  }
  .asiato01 {
    position: absolute;
    top: clamp(-150px, 5vh, -150px);
    right: clamp(10px, 15vw, 10px);
  }
  .asiato02 {
    position: absolute;
    top: clamp(-100px, 12vh, -100px);
    right: clamp(5px, 8vw, 5px);
  }
  .asiato03 {
    position: absolute;
    top: clamp(-50px, 20vh, -50px);
    right: clamp(30px, 15vw, 30px);
  }
  .asiato04 {
    position: absolute;
    top: clamp(0px, 30vh, 0px);
    right: clamp(10px, 10vw, 10px);
  }
  .asiato05 {
    position: absolute;
    top: clamp(50px, 38vh, 50px);
    right: clamp(0px, 18vw, -50px);
  }
  .asiato06 {
    position: absolute;
    top: clamp(100px, 50vh, 100px);
    right: clamp(50px, 12vw, 50px);
  }
  /*works*/
  .works_wrapper {
    padding: 80px 20px 32px 20px;
  }
  .works_bg {
    top: 250px;
    left: 20%;
  }
  .works_wrapper h2 {
    top: 150px;
    left: 25%;
  }
  .yorkie-img1::after {
    width: 150px;
    height: 150px;
  }
  .works_card::before {
    background: none;
  }
  .works_inner,
  .works__inner_website1::before,
  .works__inner_other1::before {
    background: none;
  }
  .works_inner {
    padding: unset;
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .works__inner {
    margin-left: 45%;
  }
  .more-single {
    font-size: clamp(16px, 4vw, 24px);
    font-weight: bold;
    color: #666666;
  }
  .works_image  {
    display: block;
    position: relative;
    margin: 24px auto 32px;
    max-width: 85%;
  }
  .works_image img {
    max-width: 50%;
  }
  .works__image img {
    max-width: 55%;
  }
  .works_image3,
  .works_image6 {
    position: absolute;
    top: 25%;
    left: 50%;
  }
  .works_website_innerbox:nth-of-type(2) {
    margin-left: unset;
  }
  /*website*/
  .works__inner_website {
    margin: 80px auto;
    max-width: 100%;
    width: 100%;
    padding: unset;
  }
  .works_website_box {
    display: block;
  }
  .works_website_img1,
  .works_website_img2 {
    width: 100%;
    left:unset;
    margin: 0 auto;
  }
  .works_website_img11,
  .works_website_img22 {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 48px;
  }
  .works__inner_other,
  .works_other_img1 {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 32px auto;
  }
  .works__inner_other {
    padding: unset;
  }
  .asiato01-11 {
    top: clamp(-430px, 15vh, -430px);
    right: clamp(50px, 15vw, 50px);
  }
  .asiato02-22 {
    top: clamp(-380px, 15vh, -380px);
    right: clamp(5px, 8vw, 5px);
  }
  .asiato03-33 {
    top: clamp(-330px, 15vh, -330px);
    right: clamp(10px, 15vw, 10px);
  }
  .asiato04-44 {
    top: clamp(-280px, 15vh, -280px);
    right: clamp(5px, 10vw, 5px);
  }
  .asiato05-55 {
    top: clamp(-230px, 15vh, -230px);
    right: clamp(0px, 18vw, 0px);
  }
  .asiato06-66 {
    top: clamp(-180px, 15vh, -180px);
    right: clamp(5px, 12vw, 5px);
  }
  /*contact us*/
  .contactus_content {
    width: 100%;
  }
  .contactus_content::after {
    right: auto;
    left: 0;
    box-shadow: -24px 24px 32px rgba(0, 0, 0, 0.2);
    background: linear-gradient(
      to left,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0)
    );
  }
  .form-group {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .contactus_textgroup {
    max-width: 90%;
    width: 90%;
    height: auto;
    margin: 0 auto;
  }
  .contactus_bg {
    font-size: clamp(24px, 30vw, 88px);
    left: clamp(20px, 10vw, 100px);
  }
  .contactus_main {
    left: clamp(88px, 10vw, 180px);
    top: 11%;
  }
  .footer_layout {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-left: 0px;
    margin-right: 0px;
  }
  .asiato01-11 {
    position: absolute;
    top: clamp(-750px, 15vh, -800px);
    right: clamp(50px, 15vw, 50px);
    z-index: 5;
  }
  .asiato02-22 {
    position: absolute;
    top: clamp(-650px, 15vh, -650px);
    right: clamp(5px, 8vw, 5px);
    z-index: 5;
  }
  .asiato03-33 {
    position: absolute;
    top: clamp(-500px, 15vh, -500px);
    right: clamp(50px, 15vw, 50px);
    z-index: 5;
  }
  .asiato04-44 {
    position: absolute;
    top: clamp(-400px, 15vh, -400px);
    right: clamp(10px, 10vw, 10px);
    z-index: 5;
  }
  .asiato05-55 {
    position: absolute;
    top: clamp(-300px, 15vh, -300px);
    right: clamp(50px, 18vw, 50px);
    z-index: 5;
  }
  .asiato06-66 {
    position: absolute;
    top: clamp(-200px, 15vh, -200px);
    right: clamp(10px, 12vw, 10px);
    z-index: 5;
  }
  .footer_wrapper img {
    width: 48px;
    height: auto;
    margin-left: 20px;
  }
  .footer_wrapper a {
    font-size: 12px;
  }
  .footer_scale {
  grid-template-columns: 1fr 1fr;
  }
  .footer_text p {
    font-size: 12px;
    text-align: right;
    margin-right: 20px;
  }

  /*works-banner*/
  .works_banner_bg {
    left: clamp(50px, 10vw, 80px);
    font-size: clamp(32px, 30vw, 96px);
    top: 2%;
  }
  .works_banner_wrapper h2 {
    top: 120px;
    left: 100px;
  }
  .works_banner_wrapper {
    margin: 0 auto;
  }
  /*works-FirstView*/
  .works_fv_image img {
    max-width: 80%;
    width: 80%;
  }
  .works_fv_image img:nth-child(2n){
    margin-left: unset;
  }
  /*works-other*/
  .works_other_bg {
    left: clamp(20px, 10vw, 50px);
    font-size: clamp(48px, 20vw, 96px);
    top: 1%;
  }
  .works_other_main {
    top: 80px!important;
    left: 80px!important;
  }
  .works_other_img {
    display: none;
  }
  .sp_works_other_img {
    display:block;
    max-width: 60%;
    width: 60%;
    height: auto;
    margin: 240px auto 140px;
  }
  .sp_works_other_img img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 32px auto;
  }
  .sp-mock {
    max-width: 250px;
    width: 100%;
    height: 450px;
    border: solid #000 8px;
    border-radius: 20px;
    margin: 0 auto;
  }
  .sp-screen {
    height: 430px;
  }
  #page_top,
  .page_top-works {
  width: 50px;
  height: 50px;
  right: 10px;
}
#page_top a::before,
.page_top-works a::before {
  font-size: 16px;
  color: #fff;
  top: -50px;
  right: 40px;
}
#page_top a::after,
.page_top-works a::after {
  font-size: 8px;
  top: 25px;
  right: 40px;
}
.contactus_text2 {
  font-size: 18px;
}
.contactus_text1 {
  font-size: 14px;
}
.contactus_text  {
  font-size: 10px;
}
.works_website {
  max-width: 80%;
}
.balloon3-left {
  display: none;
}
.sp-balloon3-left {
  display: block;
}
.sp-balloon3-left {
  position: absolute;
  display: block;
  padding: 28px 18px;
  border: solid 1px #333;
  border-radius:50%;
  margin: 48px;
  margin-inline: auto;
  width: fit-content;
  top: -150px;
  right: 0px;
}
.sp-balloon3-left::before {
  content: "";
  position: absolute;
  bottom: -5px;
  top: 80%;
  left:18%;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  background-color: #ffffff;/*背景と同じ色に変更してください*/
  rotate: 135deg;
  translate: -50%;
}
.sp-balloon3-left::after {
  content: "";
  position: absolute;
  bottom: 9px;
  left: -1%;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border-top: solid 1px;
  border-color: #333;
  rotate: 135deg;
}
.sp-balloon3-left {
  animation: swing 3s ease-in-out infinite;
}
@keyframes swing {
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.works_website_wrapper {
  padding-top: 100px;
}
.works_other_img {
  max-width: 80%;
}
.works_other_img {
  margin-top: 150px;
}
.works_banner_inner {
  padding-top: 150px;
  max-width: 100%;
  width: 100%;
}
.works_banner_content {
    /* margin-top: 32px; */
    /* margin-bottom: 16px; */
    margin: 56px auto 16px;
    width: 60%;
}
}