@charset "UTF-8";

body {
    padding: 0;
    margin: 0;
    background-color: #fcd4d8;
    font-family: 'Shippori Mincho';
}

/*スライダー*/
.mainvisual {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}
.mainvisual .fade-img {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.mainvisual .fade-img li {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fade 15s infinite;
}
.mainvisual .fade-img li:nth-child(1) {
    animation-delay: 0s;
}
.mainvisual .fade-img li:nth-child(2) {
    animation-delay: 5s;
}
.mainvisual .fade-img li:nth-child(3) {
    animation-delay: 10s;
}
.mainvisual .fade-img img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}
@keyframes fade {
    0% {opacity: 0;}
    10% {opacity: 1;}
    30% {opacity: 1;}
    45% {opacity: 0;}
    100% {opacity: 0;}
}

.swiper-slide img {
    display: block;
    margin: 0 auto;
    width: 70%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}
.swiper-slide img:hover {
    filter: brightness(0.8);
}
.swiper {
    position: relative;
    margin-top: -30%;
    margin-bottom: 240px;
}
.swiper-scrollbar {
    display: none;
}
.swiper-button-prev,
.swiper-button-next {
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100px);
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px !important;
    color: #333;
}

/* products  */

.products {
    text-align: center;
    padding-top: 150px;
    padding-bottom: 150px;
}
.products h2 {
    color: white;
    margin-bottom: 130px;
}
.circle-row {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-right: 120px;
    
}
.circle-item {
    text-align: center;
}

.circle-bg {
    width: 350px !important;
    height: 350px !important;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 3px dashed #fcd4d8;
    outline-offset: -10px;
}
.circle-bg img {
    width: 200px;
    transition: transform 0.5s ease;
}
.circle-bg:hover img {
    transform: translateY(-10px);
}
.foundation-text,
.eyeshadow-text,
.lip-text {
    margin-top: 30px;
    color: #696969;
}


/*  news   */

button.prev, 
    button.next {
        display: none;
    }
.news-section {
    text-align: center;
    padding: 50px;
    background-color: white;
}
.news-title {
    margin-bottom: 70px;
    color: #cf6f79;
}


.news-slider {
    display: flex;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    margin-right: -120px;
}
.news-card {
    position: relative;
}
.news-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    opacity: 1;
    transition: all 0.3s ease;
}
.news-image:hover {
    opacity: 0.7;
}
.image-width-date {
    display: flex ;
    gap: 20px;
    align-items: flex-start;
    
}
.news-date {
    display: block;
    writing-mode: vertical-rl;
    color: #6d6d6d;
}
.news-list {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 50px;
}
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
    transition: border-color 0.3s;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}
.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.news-item:hover {
    border-color: #000;
}
.news-item.news-item.visible:nth-child(1) {
    transition-delay: 0;
}
.news-item.news-item.visible:nth-child(2) {
    transition-delay: 0.2s;
}
.news-item.news-item.visible:nth-child(3) {
    transition-delay: 0.4s;
}
.item-date {
    color: #555;
    flex: 0 0 140px;
    text-align: left;
}
.item-text {
    flex: 1;
    text-align: left;
}

.scroll-fade {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease-out;
}
.scroll-fade.show {
    opacity: 1;
    transform: scale(1);
}


/*  ranking  */
.ranking-section {
    padding: 50px;
    text-align: center;
}
.ranking-title {
    color: white;
    margin-bottom: 50px;
}

.ranking-wrapper {
  display: flex;
 
  overflow-x: auto;
  gap: 100px;
  scroll-snap-type: x mandatory;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.image-with-rank {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.rank-label {
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ranking-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 ;
    transition: transform 0.3s ease;
}
.ranking-card:hover {
    transform: translateY(-10px);
}
.ranking-image-box {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transfom 0.3s ease;
    position: relative;
    padding-bottom: 70px;
}
.ranking-image-box img {
    width: 450px;
    display: block;
    transition: none;
}

.ranking-image-box:hover {
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/*  service  */

.service {
    background: white;
    text-align: center;
    padding: 50px;
}
.service h2 {
    color: #cf6f79;
    margin-bottom: 50px;
    align-items: center;
    justify-content: center;
}
.service-content img {
    width: 30%;
}
.service-content p {
    margin-top: 30px;
    margin-bottom: 30px;
}
/*  text  */
.text-mask-section {
  position: relative;
  height: 400px; /* 高さは調整 */
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: url("img/Texture.jpg"); /* ←後ろの画像 */
  background-size: cover;
  background-position: center;
  background-attachment: scroll; /* ← スクロールで動く */
}

.text-mask {
    font-family: 'Arkipelago';
  font-size: 3.0rem;
  font-weight: 900;
  line-height: 1.5;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;

  /* 親の背景を使わず、同じ画像を指定する */
  background-image: url("img/Texture\ _\ Estúdio\ Concept.jpg");
  background-size: cover;
  background-position: center;
}
/*フッター*/

.footer {
    background: #b67a7a;
    color: white;
}
.footer-top {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 30px;
}
.footer-nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.footer-nav a:hover{
    text-decoration: underline;
}
.footer-maain {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-inline: auto;
}
.footer-sns, .footer-contact {
    min-width: 200px;
    
}
.footer-sns p {
    margin-left: 9px;
}
.footer-sns p, 
.footer-contact p {
    font-weight: bold;
}
.footer-contact a {
    color: white;
    text-decoration: none;
}
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact a:hover {
    text-decoration: underline;
}
.icons img{
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}
.icons img:hover {
    transform: scale(1.15);
}
.icons a {
   display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.footer-bottom {
    text-align: center;
    font-size: 12px;
    padding-bottom: 10px;
}


@media screen and (min-width:300px) and (max-width: 479px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
   
    
    .text-mask {
        background-attachment: scroll;
    }
    .swiper-slide img {
        width: 80%;
        height: auto;
        display: block;
        margin: 0 auto;
        margin-top: -22px;
    }
    
    .swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin-bottom: 20px !important;
   }
   
    .swiper-button-prev,
.swiper-button-next {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #333;
    display: flex;
    margin-top: -180px !important;
}
.swiper-pagination {
    position: absolute;
    bottom: 250px !important;
}
.swiper {
    position: relative;
}
.products {
    margin-top: -900px !important;
}
.products h2 {
    margin-top: -250px;
    margin-bottom: 120px !important;
}
.ranking-card {
  flex: 0 0 auto;
  width: 220px !important;
  scroll-snap-align: start;
}
.footer-contact {
        flex-shrink: 1;
        margin-left: 50px !important;
    }
    
}

@media screen and  (max-width: 480px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
   
    
.swiper-pagination {
   display: none;
}

.products {
    margin-top: -600px !important;
}
.products h2 {
    margin-top: -210px !important;
    margin-bottom: 120px !important;
}
.horizontal-scroll {
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.circle-row {
    display: flex;
    flex-direction: row ;
    min-width: max-content;
    gap: 100px;
    margin-left: 40px;
}
.circle-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
}
.circle-bg img {
    width: 50%;
}
.circle-bg {
    width: 200px !important;
    height: 200px !important;
}

   .news-section {
  padding: 40px 0;
  position: relative;
}
.news-slider {
    justify-content: flex-start;
    overflow-x: auto;
    margin-right: -600px ;
    margin-left: -100px ;
    margin-bottom: 10px;
}
.news-image {
    width: 200px;
    height: 230px;
}
.news-item {
    padding: 15px 17px;
}
.item-date,
.item-text {
    font-size: 12px;
}
.news-slider-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.news-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 0 0 auto;
    margin-bottom: 20px;
}
.news-list {
    padding-top: 50px;
}

.slider-container {
    position: relative;
}
.slider-indicator {
    position: absolute;
    bottom: 20px;
}

.ranking-wrapper {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 150px;
  scroll-snap-type: x mandatory;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
}
.ranking-section {
    padding-bottom: 100px;
}

.ranking-card {
  flex: 0 0 auto;
  width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  scroll-snap-align: start;
}

.ranking-card img {
  width: 100%;
  height: auto;
  display: block;
}
.ranking-image-box:hover {
    transform: none !important;
}

.caption {
  text-align: center;
  margin-top: 8px;
}

.rank-label {
    position: absolute;
    top: 10px;
    right: -30px;
    font-weight: bold;
    color: #5e5e5e;
}
.image-with-rank {
    display: flex;
}

.service {
    background-color: #fff;
    padding-top: 50px;
}
.service-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
}
.service-content {
    margin: 0 auto;
}


.footer-maain {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px !important;
}
.icons {
    margin-top: 10px;
    margin-left: -38px;
    display: flex;
}
.footer-sns p {
       margin-left: -30px !important;
    }
    .footer-sns,
    .footer-contact {
        width: 100%;
        margin: 0 auto;
        max-width: 300px;
    }
    .footer-sns p,
    .footer-contact p {
        font-weight: normal;
        text-align: left;
        margin: 0;
    }
    .footer-bottom {
        margin-top: 40px;
    }
    .text-mask {
        font-size: 30px;
    }
}

@media screen and (min-width:480px) and (max-width: 768px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
   
    
    .text-mask {
        background-attachment: scroll;
    }
    .swiper-slide img {
        width: 80%;
        height: auto;
        display: block;
        margin: o auto;
        margin-top: -22px;
    }
    
    .swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin-bottom: 20px !important;
   }
   
    .swiper-button-prev,
.swiper-button-next {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #333;
    display: flex;
    margin-top: -180px !important;
}
.swiper-pagination {
    position: absolute;
    margin-bottom: 110px !important;
}
.products {
    margin-top: -420px !important;
}
.products h2 {
    margin-top: -250px;
    margin-bottom: 120px !important;
}
.horizontal-scroll {
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.circle-row {
    display: flex;
    flex-direction: row ;
    min-width: max-content;
    gap: 100px;
    margin-left: 40px;
}
.circle-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    margin-bottom: 40px;
}
.circle-bg img {
    width: 50%;
}
.circle-bg {
    width: 300px !important;
    height: 300px !important;
}
    

   .news-section {
  padding: 40px 0;
  position: relative;
}
.news-slider {
    justify-content: center;
   display: flex;
   margin: 0 -500px 0 0;
}
.news-image {
   display: block;
   margin: 0 auto;
}
.news-item {
    padding: 15px 17px;
}
.item-date,
.item-text {
    font-size: 12px;
}
.news-slider-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.news-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 0 0 auto;
    margin-bottom: 20px;
}
.news-list {
    padding-top: 50px;
}

.slider-container {
    position: relative;
}
.slider-indicator {
    position: absolute;
    bottom: 20px;
}

.ranking-wrapper {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 150px;
  scroll-snap-type: x mandatory;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
}
.ranking-section {
    padding-bottom: 100px;
}

.ranking-card {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
}

.ranking-card img {
  width: 100%;
  height: auto;
  display: block;
}
.ranking-image-box:hover {
    transform: none !important;
}

.caption {
  text-align: center;
  margin-top: 8px;
}

.rank-label {
    position: absolute;
    top: 10px;
    right: -30px;
    font-weight: bold;
    color: #5e5e5e;
}
.image-with-rank {
    display: flex;
}

.service {
    background-color: #fff;
    padding-top: 50px;
}
.service-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
}
.service-content {
    margin: 0 auto;
}


.footer-maain {
    display: flex;
    align-items: flex-start;
    margin-top: -20px;
}
.footer-sns {
        padding-left: 55px;
        flex-shrink: 0;
    }
    .footer-contact {
        flex-shrink: 1;
        margin-left: -100px;
    }
    .footer-sns p,
    .footer-contact p {
        font-weight: normal;
    }
    .footer-bottom {
        margin-top: 40px;
    }
    .text-mask {
        font-size: 40px;
    }
}


@media screen and (max-width: 1024px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
   
    
    .text-mask {
        background-attachment: scroll;
    }
    .swiper-slide img {
        width: 80%;
        height: auto;
        display: block;
        margin: 0 auto;
        margin-top: 50px !important;
    }
    
    .swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin-bottom: 20px !important;
   }
   
    .swiper-button-prev,
.swiper-button-next {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #333;
    display: flex;
     transform: translateY(-18px) !important;
}
.swiper-pagination {
    position: absolute;
   bottom: 90px !important;
}
.products {
    margin-top: -300px;
}
.products h2 {
    margin-top: -250px;
    margin-bottom: 120px !important;
}
.horizontal-scroll {
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.circle-row {
    display: flex;
    flex-direction: row ;
    min-width: max-content;
    gap: 100px;
    margin-left: 40px;
}
.circle-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    margin-bottom: 40px;
    
}
.circle-bg img {
    width: 50%;
}
.circle-bg {
    width: 300px !important;
    height: 300px !important;
}
    

   .news-section {
  padding: 40px 0;
  position: relative;
}
.news-slider {
    justify-content: center !important;
   display: flex;
}
.news-image {
   display: block;
   margin: 0 auto;
}
.news-item {
    padding: 15px 17px;
}
.item-date,
.item-text {
    font-size: 12px;
}
.news-slider-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.news-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 0 0 auto;
    margin-bottom: 20px;
}
.news-list {
    padding-top: 50px;
}

.slider-container {
    position: relative;
}
.slider-indicator {
    position: absolute;
    bottom: 20px;
}

.ranking-wrapper {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 150px;
  scroll-snap-type: x mandatory;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
}
.ranking-section {
    padding-bottom: 100px;
}

.ranking-card {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
}

.ranking-card img {
  width: 100%;
  height: auto;
  display: block;
}
.ranking-image-box:hover {
    transform: none !important;
}

.caption {
  text-align: center;
  margin-top: 8px;
}

.rank-label {
    position: absolute;
    top: 10px;
    right: -30px;
    font-weight: bold;
    color: #5e5e5e;
}
.image-with-rank {
    display: flex;
}

.service {
    background-color: #fff;
    padding-top: 50px;
}
.service-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
}
.service-content {
    margin: 0 auto;
}


.footer-maain {
    display: flex;
    align-items: flex-start;
    margin-top: -20px;
}
.footer-sns {
        padding-left: 55px;
        flex-shrink: 0;
    }
    .footer-contact {
        flex-shrink: 1;
        margin-left: -100px;
    }
    .footer-sns p,
    .footer-contact p {
        font-weight: normal;
    }
    .footer-bottom {
        margin-top: 40px;
    }
    .text-mask {
        font-size: 40px;
    }
}


@media screen and (max-width: 1200px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
   
    .text-mask {
        background-attachment: scroll;
    }
    
    .swiper-slide img {
        width: 100%;
        height: auto;
        display: block;
        margin: o auto;
        margin-top: -22px;
    }
    
    .swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin-bottom: -90px !important;
   }
   
    .swiper-button-prev,
.swiper-button-next {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #333;
    display: flex;
     transform: translateY(20px) !important;
}
.swiper-pagination {
    position: absolute;
   bottom: 100px !important;
}
.products {
    margin-top: -200px;
}

.products h2 {
    margin-top: 50px !important;
    margin-bottom: 80px;
    margin-top: -100px;
}
.horizontal-scroll {
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.circle-item {
    scroll-snap-align: start;
    margin-bottom: 40px;
    margin-left: 45px;
    ;
}
.circle-bg img {
    width: 50%;
}
.circle-bg {
    width: 300px !important;
    height: 300px !important;
}
    

   .news-section {
  padding: 40px 0;
  position: relative;
}
.news-slider {
    justify-content: center;
    margin-left: 50px;
}
.news-image {
    width: 200px;
    height: 230px;
}
.news-item {
    padding: 15px 17px;
}
.item-date,
.item-text {
    font-size: 12px;
}
.news-slider-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.news-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 0 0 auto;
    margin-bottom: 20px;
}
.news-list {
    padding-top: 50px;
}

.slider-container {
    position: relative;
}
.slider-indicator {
    position: absolute;
    bottom: 20px;
}

.ranking-wrapper {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 150px;
  scroll-snap-type: x mandatory;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
}
.ranking-section {
    padding-bottom: 100px;
}

.ranking-card {
  flex: 0 0 auto;
  width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  scroll-snap-align: start;
}

.ranking-card img {
  width: 100%;
  height: auto;
  display: block;
}
.ranking-image-box:hover {
    transform: none !important;
}

.caption {
  text-align: center;
  margin-top: 8px;
}

.rank-label {
    position: absolute;
    top: 10px;
    right: -30px;
    font-weight: bold;
    color: #5e5e5e;
}
.image-with-rank {
    display: flex;
}

.service {
    background-color: #fff;
    padding-top: 50px;
}
.service-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
}
.service-content {
    margin: 0 auto;
}


.footer-maain {
    display: flex;
    align-items: flex-start;
    margin-top: -20px;
}
.footer-sns {
        padding-left: 55px;
        flex-shrink: 0;
    }
    .footer-contact {
        flex-shrink: 1;
        margin-left: -100px;
    }
    .footer-sns p,
    .footer-contact p {
        font-weight: normal;
    }
    .footer-bottom {
        margin-top: 40px;
    }
}


@media screen and (max-width: 1440px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
   
    .text-mask {
        background-attachment: scroll;
    }
    
    .swiper-slide img {
        width: 60%;
        height: auto;
        display: block;
        margin: o auto;
        margin-top: -22px;
    }
    
    .swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin-bottom: -90px !important;
   }
   
    .swiper-button-prev,
.swiper-button-next {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #333;
    display: flex;
     transform: translateY(20px) !important;
}
.swiper-pagination {
    position: absolute;
   bottom: 100px !important;
}

.products {
    margin-top: -200px;
}
.products h2 {
    margin-top: 50px !important;
    margin-bottom: 80px;
    margin-top: -100px;
}
.horizontal-scroll {
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.circle-item {
    scroll-snap-align: start;
    margin-bottom: 40px;
    margin-left: 60px;
}
.circle-bg img {
    width: 50%;
}
.circle-bg {
    width: 300px !important;
    height: 300px !important;
}
    

   .news-section {
  padding: 40px 0;
  position: relative;
}
.news-slider {
    justify-content: center;
    margin-left: 50px;
    gap: 100px;
   
}
.news-image {
    width: 200px;
    height: 230px;
}
.news-item {
    padding: 15px 17px;
}
.item-date,
.item-text {
    font-size: 12px;
}
.news-slider-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.news-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 0 0 auto;
    margin-bottom: 20px;
}

.slider-container {
    position: relative;
}
.slider-indicator {
    position: absolute;
    bottom: 20px;
}

.ranking-wrapper {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 150px;
  scroll-snap-type: x mandatory;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
}
.ranking-section {
    padding-bottom: 100px;
}

.ranking-card {
  flex: 0 0 auto;
  width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  scroll-snap-align: start;
}

.ranking-card img {
  width: 100%;
  height: auto;
  display: block;
}
.ranking-image-box:hover {
    transform: none !important;
}

.caption {
  text-align: center;
  margin-top: 8px;
}

.rank-label {
    position: absolute;
    top: 10px;
    right: -30px;
    font-weight: bold;
    color: #5e5e5e;
}
.image-with-rank {
    display: flex;
}

.service {
    background-color: #fff;
    padding-top: 50px;
}
.service-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
}
.service-content {
    margin: 0 auto;
}


.footer-maain {
    display: flex;
    align-items: flex-start;
    margin-top: -20px;
}
.footer-sns {
        padding-left: 55px;
        flex-shrink: 0;
    }
    .footer-contact {
        flex-shrink: 1;
        margin-left: -100px;
    }
    .footer-sns p,
    .footer-contact p {
        font-weight: normal;
    }
    .footer-bottom {
        margin-top: 40px;
    }
}


    @media screen and (max-width: 1920px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
   
    .text-mask {
        background-attachment: scroll;
    }
    
    .swiper-slide img {
        width: 60%;
        height: auto;
        display: block;
        margin: o auto;
        margin-top: -22px;
    }
    
    .swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin-bottom: -90px !important;
   }
   
    .swiper-button-prev,
.swiper-button-next {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #333;
    display: flex;
     transform: translateY(20px) !important;
}
.swiper-pagination {
    position: absolute;
   bottom: 100px !important;
}

.products {
    margin-top: -200px;
}
.products h2 {
    margin-top: 50px !important;
    margin-bottom: 80px;
    margin-top: -100px;
}
.horizontal-scroll {
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.circle-item {
    scroll-snap-align: start;
    margin-bottom: 40px;
    margin-left: 60px;
}
.circle-bg img {
    width: 50%;
}
.circle-bg {
    width: 300px !important;
    height: 300px !important;
}
    

   .news-section {
  padding: 40px 0;
  position: relative;
}
.news-slider {
    justify-content: center;
    margin-left: 50px;
    gap: 100px;
   
}
.news-image {
    width: 200px;
    height: 230px;
}
.news-item {
    padding: 15px 17px;
}
.item-date,
.item-text {
    font-size: 12px;
}
.news-slider-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.news-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 0 0 auto;
    margin-bottom: 20px;
}

.slider-container {
    position: relative;
}
.slider-indicator {
    position: absolute;
    bottom: 20px;
}

.ranking-wrapper {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 150px;
  scroll-snap-type: x mandatory;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
}
.ranking-section {
    padding-bottom: 100px;
}

.ranking-card {
  flex: 0 0 auto;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  margin: 0 auto;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  scroll-snap-align: start;
}

.ranking-card img {
  width: 100%;
  height: auto;
  display: block;
}
.ranking-image-box:hover {
    transform: none !important;
}

.caption {
  text-align: center;
  margin-top: 8px;
}

.rank-label {
    position: absolute;
    top: 10px;
    right: -30px;
    font-weight: bold;
    color: #5e5e5e;
}
.image-with-rank {
    display: flex;
}

.service {
    background-color: #fff;
    padding-top: 50px;
}
.service-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
}
.service-content {
    margin: 0 auto;
}


.footer-maain {
    display: flex;
    align-items: flex-start;
    margin-top: -20px;
}
.footer-sns {
        padding-left: 55px;
        flex-shrink: 0;
    }
    .footer-contact {
        flex-shrink: 1;
        margin-left: -100px;
    }
    .footer-sns p,
    .footer-contact p {
        font-weight: normal;
    }
    .footer-bottom {
        margin-top: 40px;
    }
}