@media screen and (max-width: 1280px) {
  body {
    font-size: 32px;
    text-size-adjust:100%;
    -webkit-text-size-adjust:100%;
    -webkit-appearance: none;
    -webkit-touch-callout: none;
  }

  section {
    max-width: 100vw;
    margin: 0 auto;
    padding: 5px 5px;
    position: relative;
  }
  
/*---- hero section ----*/
  .hero {
    margin: auto;
    padding: 0%;
  }

  .hero-inner {
    padding: 1vw 0px;
    position: relative;
    
  }

  .hero-text {
    left: 0;
    text-align: left;
    padding-left: unset;
    margin-top: 5vw;
    margin-bottom: 6.25vw;
    color: #453934;
  }

  .logo-small {
    left: 0px;
    font-size: 2.57vw;
    padding-left: 4vw;
    margin-top: 4vw;
    margin-bottom: 17vw;
  }
  
  .catch-copy {
    font-size: 5.5vw;
    padding-bottom: 0.5vw;
    padding-left: unset;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .sub-copy { 
    font-size: 4.2vw;
    text-align: left;
    position: relative;
    left: 3vw;
    max-width: fit-content;
    padding-bottom: 5.5vw;
    margin-top: 5vw;
  }
  .mobile-br {
    display: block;
  }

  .hero-gallery {
    align-items: unset;
    margin-top: 6.25vw;
  }

  .wave-top {
    z-index: 5;
    height: clamp(25px,7.81vw,100px);  
  }

  .wave-bottom_pc {
    display: none;
  }

  .wave-bottom_mobile {
    bottom: -15%;
    display: block;
    height: clamp(75px,23.43vw,300px);
    margin-bottom: 3vw;
    width: 100%;
    position: absolute;
    z-index: 4;
  }

  .hero-images {
    display: flex;
    justify-content: left;
    align-items: center;
    max-width: 1280px;
    z-index: 2;
    gap: 0.75vw;
    width: 100vw;
    animation: scroll-dynamic 10s linear infinite;
  }
  
  .hero-images img {
    width: 42vw;
  }

  /*.hero-images.animate-scroll {
    animation: scroll-horizontal 50s linear infinite;
  }

  @keyframes scroll-horizontal {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translatex(-100%);
    }
  }*/
  
  .hero-overlay-title {
    font-size: 6.6vw;
    position: absolute;
    /*top: calc(-20px + 20vw);*/
    text-shadow: #303030 0.25vw 0.25vw 0.5vw;
  }


/*---- intro ----*/
  .introduction {
    padding-left: unset;
    padding-right: unset;
    /*adding-top: 180px;*/
    /*top: calc(-50px + 2vw);*/
    z-index: 4;
    padding-top: 15vw;
    /*margin-top: calc(27px + -8vw);*/
    margin-bottom: -9vw;
  }

  .intro-inner_mobile {
    display: grid;
    flex-direction: column;
    align-items: center;
  }

  .intro-inner_pc, .intro-text_pc, .intro-images_pc{
    display: none;
  }
    
  .intro-text_1_mobile {
    display: inline;
    text-align: center;
    margin: 0 auto; 
    font-size: 4vw;
    color: #7D695F;
    font-family:  "Hiragino Mincho ProN",'Noto Serif JP',sans-serif;
    max-width: 85vw;
    z-index: 6;
  }

  .intro-text_2_mobile {
    display: inline;
    text-align: center;
    margin: 0 auto; 
    font-size: 4vw;
    color: #7D695F;
    font-family:  "Hiragino Mincho ProN",'Noto Serif JP',sans-serif;
    max-width: 85vw;
  }

  .intro-text_2_mobile ul {
    margin-bottom: 15vw;
    padding-left: 23px;
    text-align: left;
    display: inline-block;
  }
      
  .intro-text_1_mobile p {
    margin-bottom: 10vw;
  }
     
  .intro-text_2_mobile p {
    margin-bottom: 10vw;
  }

  .intro-images_1_mobile {
    display: block;
    overflow: hidden;
    margin-top: 5vw;
    margin-bottom: 15vw;
  }

  .intro-images_1_mobile__inner {
    position: relative;
    /*min-height: clamp(125px,39.06vw,500px);*/
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 5vw;
    gap: clamp(4px, 1.5vw, 12px);
    /*margin-left: auto;
    margin-right: auto;*/
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-bottom: 5vw;
    will-change: transform;
    transform: translateZ(0);
  }
   
  .intro-images_1_mobile__inner img {
    border-radius: 1vw;
  }

  #intro-img_3{
    position: relative;
    top: 0;
    left: unset;
    /*left: clamp(77.5px,12.10vw,155px);*/
    /*width: clamp(59.80px,18.68vw,239.21px);
    height: clamp(82.95px,24.34vw,311.62px);*/
    width: 28vw;
    align-self: flex-start;
    margin-top: -4vw;
  }

  #intro-img_2{
    position: relative;
    top: unset;
    left: unset;
    /*left: clamp(200px,31.25vw,400px);*/
    /*width: clamp(90.925px,28.41vw,363.7px);
    height: clamp(110.65px,34.57vw,442.62px);*/
    width: 45vw;
  }      
      
  #intro-img_4{
    position: relative;
    top: unset;
    left: unset;
    bottom: 0;
    /*left: clamp(385px,60.15vw,770px);*/
    /*width: clamp(49.42px,15.44vw,197.71px);
    height: clamp(67.35px,21.04vw,269.42px);*/
    width: 25vw;
    align-self: flex-end;
    margin-bottom: -4vw;
  }

  .br__intro__pc {
    display: none;
  }
  
  .br__intro__mobile {
    display: block;
  }

  .mobile-fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
  }
  
  .mobile-fade-up.active {
    opacity: 1;
    transform: translateY(0);
  }


/* === Introduction_2 === */

  .introduction_2 {
    display: contents;
    position: relative;
  }

  .intro-images_2_mobile {
    position: relative;
    display: block;
    /*top: calc(-550px + -5vw);*/
    margin-top: -15vW;
  }

  #intro-img_1 {
    position: relative;
    max-width: 1280px;
    width: 100%;
    height: auto;
    z-index: 3;
    /*margin-bottom: 100px;*/
    /*top: calc(350px + -1vw);*/
  }


  .wave-intro_mobile_1 {
    position: absolute;
    /*bottom: calc(-352px + -4vw);*/
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 5;
    display: block;
    height: clamp(75px,23.43vw,300px);
    margin-bottom: 0 ;
    transform: scale(1,-1);
  }

  .wave-intro_mobile_2 {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 5;
    display: block;
    height: clamp(75px,23.43vw,300px);
    margin-bottom: 0;
    transform: scale(-1,1);
    /*bottom: calc(-5vw - 250px);*/
  }
      

  .wave-intro_pc {
    display: none;        
  }
  

/* === services === */
  .services{
    top: calc(-4vw - 20px);
  }

  .service-detail {
    display: block;
    max-width: 1280px;
    margin: 25vw auto 0 auto;
    text-align: center;
  }
  

  .service-detail__content .category {
    font-family: "Hiragino Kaku Gothic ProN",'Noto Sans JP' ,sans-serif;
    font-size: 3.2vw;
    color: #976B56;
    margin-top: 20px;
    margin-bottom: 0;
 }
    
  .service-detail__content h3 {
    font-family: "Hiragino Mincho ProN","Noto Serif JP",sans-serif;
    font-weight: 600;
    font-size: 6.17vw;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 4.5vw;
  }

  .service-detail__content .description {
    font-family: "Hiragino Mincho ProN",'Noto Serif JP',sans-serif;
    font-weight: 300;
    font-size: 4vw;
    line-height: 2.0;
    margin-bottom: 35px;
    color: #7D695F;
    max-width: 82vw;
    margin: auto;
    text-align: left;
    padding-bottom: -5vw;
  }

  .service-btn {
    display: inline-block;
    background-color: #ECB8B1;
    padding: 2.5vw 6vw;
    color: #7D695F;
    text-decoration: none;
    border-radius: 1.5vw;
    font-family: "Hiragino Mincho ProN",'Noto Serif JP',sans-serif;
    margin-top: 10vw;
    box-shadow: 2px 3px 2px rgba(0, 0, 0, 0.17);
  }

  .service-detail__img img {
    height: auto;
    border-radius: 8px;
    margin: auto;
    width: 82vw;
  }

  .btn-text {
    font-family: "Hiragino Mincho ProN",'Noto Serif JP',sans-serif;
    font-size: 4vw;
    line-height: 1;
  }

  .btn-arrow {
    width: 1.5vw;
    height: auto;
    display: inline-block;
  }

  /* PC用画像非表示 */
  #e-majyo_mobile, #aurgrande_mobile, #axia_mobile, #Future_Beauty_mobile {
    display: block;
  }

  /* PC用画像非表示 */
  #e-majyo_pc , #aurgrande_pc, #axia_pc, #Future_Beauty_pc {
    display: none;
  }

  .wave-service {
    height: clamp(75px,24vw,300px);
    /*margin-top: calc(-38px + -9vw);*/
    bottom: -2.5%;
  }

  .service-decoration_1 {
    display: none;
  }

  .be__service-detail {
    display: none;
  }

 

/* === Company Info (Revised) === */
  .company-section {
    position: relative;
    /*margin-top: calc(-90px + 4vw);*/
    text-align: center;
  }
    
  .company-inner {
    max-width: 1280px;
    margin-top: 18vw;
    /*margin-bottom: calc(-90px + 25vw);*/
    padding: 0 clamp(5px,1.56vw,20px);;
    width: unset;

  }

  .company-info{
    max-width: 1280px;
    display: inline-block;
    text-align: center;
    margin: auto;
  }

  .info-title {
    position: relative;
    margin-bottom: 3vw;
    text-align: center;
    max-width: 810px;
  }

  .info-title p {
    font-size: 3.08vw;
    letter-spacing: 0.05em;
  }
      
  .info-title h2 {
    font-family: "Hiragino Mincho ProN","Noto Serif JP","sans-serif";
    font-size: 6.17vw;
    margin-bottom: 0px;
    font-weight:300;
    line-height: 1.3;
  }
      
  .info-table{
    margin-left: 0;
    margin-top: 0;
    font-size: 2.05vw;
    line-height:100px;
    text-align: left;
    width: 85vw;
    position: relative;
    /*left: -1.56vw;*/
  }

  .info-table dl {
    font-size: 3.73vw;
    margin-bottom: unset;
  }

  .info-table dl + dl {
    border-top: 0.5px solid #BFAFA2;
  }
      
  .info-table dt {
    width: 15vw;
    line-height: 2.5;
    min-height: 5em;
    display: flex;
    align-items: center;
  }
      
  .info-table dd {
    margin-left: clamp(12px,4.5vw,18px);
    line-height: 1.8;
    min-height: 5em;
    display: flex;
    align-items: center;
  }


  .company-history{
    max-width: 1280px;
    display: inline-block;
    text-align: center;
    margin: 0px auto;
  }
      
  .history-title {
    position: relative;
    margin-bottom: 3vw;
    text-align: center;
  }

  .history-title p {
    font-size: 3.08vw;
    letter-spacing: 0.05em;
  }
      
  .history-title h2 {
    font-family: "Hiragino Mincho ProN","Noto Serif JP","sans-serif";
    font-size: 6.17vw;
    margin-bottom: 0px;
    font-weight:300;
    line-height: 1.3;
  }

  .history-table{
    margin-left: 0;
    margin-top: 0;
    font-size: 3.08vw;
    line-height:100px;
    width: 85vw;
    text-align: left;
  }
      
  .history-table dl {
    font-size: 3.73vw;
    margin-bottom: unset;
  }

  .history-table dl + dl  {
    border-top: 0.5px solid #BFAFA2;
  }
      
  .history-table dt {
    width: 17vw;
    line-height: 2.5;
    min-height: 5em;
    display: flex;
    align-items: center;
    letter-spacing: 0.5vw;
  }
      
  .history-table dd {
    /*margin-left: clamp(12px,4.5vw,18px);*/
    line-height: 1.8;
    min-height: 5em;
    display: flex;
    align-items: center;
  }

  .br__history__mobile {
    display: block;
  }


  .company-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1280px;
    width: 100%;
    flex-direction: column;
    padding-top: clamp(6.25px,1.95vw,25px);
    margin-top: clamp(62.5px,19.53vw,250px);
  }

  .company-bottom {
    text-align: center;
  }

  .staff-photo_mobile {
    display: block !important;
    text-align: center;
    margin: auto;
  }

  .staff-photo_mobile img {
    width: 82vw;
  }

  .staff-photo_pc {
    display: none !important;
  }

  .sns {
    text-align: center;
    min-width: unset;
    margin-top: 3.90vw;
    margin-bottom: 15vw;
  }

  .sns .headword {
    font-size: 4.6vw;
  }

  .sns .description{
    font-size: 4vw;
    padding-top: 2.5vw;
    text-align: left;
    display: inline-block;
    max-width: 85vw;
  }

  .pc-br {
    display: none;
  }

  .icons {
    justify-content: center;
    gap:6vw;
    margin-top: -1vw;
  }


  .icons  img {
    text-align: center;
    justify-content: center;
    width: 8.5vw;
  }

  .sns .icons img {
    width: 8.5vw;
    /*margin: 4vw 2vw;*/
    
  }

  
  
  .line_mobile {
    display: block;
    margin: clamp(62.5px,19.53vw,250px) auto;
    max-width: 95%;
    border: none;
    /*border-bottom: 0.75px solid;*/
    color: #BFAFA2;
  }

  .wave-company {
    height: 20vw;
    /*margin-top: calc(-7px + -5vw);*/
    top: -5vw;
  }
      
/* === footer === */
.footer {
  position: relative;
  padding: 0 0 2vw 0;
  /*margin-top: calc(-545px + -4vw);*/
}

.footer-logo {
  text-align: center;
  font-size: 4.63vw;
  padding-top: 11.71vw;
  margin-bottom: 11.71vw;
}

.footer-inner_mobile {
  display: contents;
  text-align: center;
}

.footer-company {
  font-size: 3.6vw;
  padding-top: 5vw;
  margin-bottom: 6vw;

}

.footer-mobile {
  text-align: left;
  max-width: 82vw;
  margin: auto;
  padding: auto 5vw;
}

.footer-contact {
  text-align: center;
  padding: 3vw 4vw;
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 57vw;
  margin: 11.71vw auto;
  box-shadow: 2px 3px 2px rgba(0, 0, 0, 0.17);
}

.contact-mail {
  width: 4vw;
  height: auto;
}

.contact-text {
  font-size: 4vw;
  /*font-weight: 600;*/
}

.contact-arrow {
  width: 1.6vw;
  height: auto;
}

.footer-info {
  font-size: 3vw;
}

.footer-info a {
  font-size: 3vw
}

.footer-inner_pc {
  display: none;
}

.copyright {
  font-size: 2.2vw;
  margin-top: 10vw;
  margin-bottom: 2vw;
}


/*===========================
アニメーション
  ===========================  */
.fade-in_mobile {
  opacity: 0;
  transform: translateY(7.5vw);
  transition: opacity 1.5s ease, transform 1s ease;
  visibility: hidden;
  display: block;
}

.fade-in_mobile.active {
  opacity: 1;
  transform: translateY(0vw);
  visibility: visible;
}

.fade-in_pc{
  display: none;
}

}