@charset "utf-8";

/* s-セクション */
/* mv */
.s-mv {
  width: 100%;
  overflow: hidden;
  padding-bottom: 180px;
}
.s-mv::after {
  content: "";
  display: block;
  height: clamp(0px, calc(100vw * (115/1200)), 115px);
  width: 100%;
  margin-top: 42px;
  background-image: url(/living/sumaiselection/assets/img/img_mv_01.png);
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
}
.s-mv__wrap {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 1200px;
  padding: 0 50px 0;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.s-mv__txta {
  position: relative;
  z-index: 50;
  padding-bottom: calc(24px + 32px);
  margin-right: clamp(0px, calc(100% * (97 / 1100)), 97px);
  flex: 1;
}
.s-mv__imga {
  display: block;
  position: relative;
  margin-right: -50px;
  width: calc(100% * (520/1100));
  padding-top: calc((100% * (520/1100)) * (435/520));
}
.s-mv__txta::after {
  content: "";
  display: block;
  position: absolute;
  height: 32px;
  width: 60px;
  transform: translateX(-50%);
  bottom: 0;
  left: 50%;
  background-image: url(/living/sumaiselection/assets/img/icon_mv_01.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}
.s-mv__ttl {
  font-size: clamp(12px, calc(100vw * (28/1200)), 28px);
  font-weight: var(--fw-black);
  margin-bottom: 10px
}
.s-mv__sttl {
  font-size: clamp(12px, calc(100vw * (28/1200)), 28px);
  font-weight: var(--fw-black);
  margin-bottom: 30px;
}
.s-mv__desc {
  display: block;
  font-size: 14px;
}
.s-mv__floatimg {
  position: absolute;
  display: block;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
}
.s-mv__imga .s-mv__floatimg[data-float="1"],
.s-mv__imga .s-mv__floatimg[data-float][data-js-img="1"] {
  background-image: url(/living/sumaiselection/assets/img/mv_01.png);
}
.s-mv__imga .s-mv__floatimg[data-float="2"],
.s-mv__imga .s-mv__floatimg[data-float][data-js-img="2"] {
 background-image: url(/living/sumaiselection/assets/img/mv_02.png);
}
.s-mv__imga .s-mv__floatimg[data-float="3"],
.s-mv__imga .s-mv__floatimg[data-float][data-js-img="3"] {
  background-image: url(/living/sumaiselection/assets/img/mv_03.png);
}
.s-mv__imga .s-mv__floatimg[data-float="4"],
.s-mv__imga .s-mv__floatimg[data-float][data-js-img="4"] {
  background-image: url(/living/sumaiselection/assets/img/mv_04.png);
}
.s-mv__imga .s-mv__floatimg[data-float="5"],
.s-mv__imga .s-mv__floatimg[data-float][data-js-img="5"] {
  background-image: url(/living/sumaiselection/assets/img/mv_05.png);
}
.s-mv__imga .s-mv__floatimg[data-float="6"],
.s-mv__imga .s-mv__floatimg[data-float][data-js-img="6"] {
  background-image: url(/living/sumaiselection/assets/img/mv_06.png);
}

.s-mv__friezeimg {
  position: absolute;
  display: block;
  border-radius: 20px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-image: url(/living/sumaiselection/assets/img/logo_01.png);
}
.s-mv:has(.s-mv__friezeimg) {
  padding-top: 80px;
}
.s-mv:has(.s-mv__friezeimg)::after {
  margin-top: 80px;
}
.s-mv:has(.s-mv__friezeimg) .s-mv__wrap {
  justify-content: center;
}
.s-mv:has(.s-mv__friezeimg) .s-mv__imga {
  width: calc(100% * (240/1100));
  padding-top: 0;
  margin-bottom: calc(24px + 32px);
  margin-right: 0;
  aspect-ratio: 620 / 257;
}
.s-mv:has(.s-mv__friezeimg) .s-mv__txta {
  max-width: 523px;
}
.s-mv__imga:has(.s-mv__friezeimg) > *:not(.s-mv__friezeimg) {
  display: none;
}
@media screen and (min-width: 769px) {
  .s-mv__imga .s-mv__floatimg {
    transition: visibility var(--t-slow), opacity var(--t-slow);
  }
  .s-mv__imga .s-mv__floatimg[data-float="1"] {
    z-index: 1;
    width: calc(100% * (415/520));
    aspect-ratio: 415/220;
    top: 0;
    right: 0;
  }
  .s-mv__imga .s-mv__floatimg[data-float="2"] {
    z-index: 3;
    width: calc(100% * (275/520));
    aspect-ratio: 275/188;
    transform: translate(0%, -50%);
    top: 50%;
    right: calc(100% * (37/520));
  }
  .s-mv__imga .s-mv__floatimg[data-float="3"] {
    z-index: 2;
    width: calc(100% * (254/520));
    aspect-ratio: 254/172;
    bottom: 0;
    left: 0;
  }
  .s-mv__imga .s-mv__floatimg[data-float="4"] {
    z-index: 1;
    width: calc(100% * (522/1000));
    aspect-ratio: 522/375;
    top: 0;
    left: 0;
  }
  .s-mv__imga .s-mv__floatimg[data-float="5"] {
    z-index: 3;
    width: calc(100% * (522/1000));
    aspect-ratio: 522/357;
    transform: translate(0%, -50%);
    top: 50%;
    right: calc(100% * (37/520));
  }
  .s-mv__imga .s-mv__floatimg[data-float="6"] {
    z-index: 2;
    width: calc(100% * (970/1000));
    aspect-ratio: 970/410;
    bottom: 0;
    right: -50px;
  }
  .s-mv__imga[data-var="1"] .s-mv__floatimg[data-float="4"],
  .s-mv__imga[data-var="1"] .s-mv__floatimg[data-float="5"],
  .s-mv__imga[data-var="1"] .s-mv__floatimg[data-float="6"],
  .s-mv__imga[data-var="2"] .s-mv__floatimg[data-float="1"],
  .s-mv__imga[data-var="2"] .s-mv__floatimg[data-float="5"],
  .s-mv__imga[data-var="2"] .s-mv__floatimg[data-float="6"],
  .s-mv__imga[data-var="3"] .s-mv__floatimg[data-float="1"],
  .s-mv__imga[data-var="3"] .s-mv__floatimg[data-float="2"],
  .s-mv__imga[data-var="3"] .s-mv__floatimg[data-float="3"] {
    visibility: hidden;
    opacity: 0;
  }
}
@media screen and (max-width: 768px) {
  .s-mv {
    padding: 30px 0 50px;
  }
  .s-mv::after {
    height: 90px;
    margin-top: 15px;
  }
  .s-mv__wrap {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
  }
  .s-mv__txta {
    width: 100%;
    margin: 0px;
    padding-bottom: calc(34px + 20px);
  }
  .s-mv__txta::after {
    height: 34px;
    width: 65px;
  }
  .s-mv__ttl {
    font-size: clamp(0px, calc(100vw * (28/375)), 32px);
    line-height: 1.5;
    margin-bottom: 12px
  }
  .s-mv__sttl {
    font-size: clamp(0px, calc(100vw * (20/375)), 24px);
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .s-mv__imga {
    width: calc(100% + 40px);
    margin-right: 0;
    padding-top: calc((100% + 40px) * (284/375));
    margin-top: 24px;
  }
  .s-mv__imga .s-mv__floatimg {
    transform: translate(-50%, -50%);
    aspect-ratio: 272/210;
    width: 70%;
  }
  .s-mv__imga.js-is-anime .s-mv__floatimg {
    transition: top var(--t-slow), left var(--t-slow), bottom var(--t-slow), right var(--t-slow), transform var(--t-slow);
  }
  .s-mv__imga.js-is-anime .s-mv__floatimg[data-float="1"] {
    top: 15%;
    left: -75%;
  }
  .s-mv__imga .s-mv__floatimg[data-float="1"],
  .s-mv__imga.js-is-anime .s-mv__floatimg[data-float="2"] {
    top: 35%;
    left: -25%;
  }
  .s-mv__imga .s-mv__floatimg[data-float="2"],
  .s-mv__imga.js-is-anime .s-mv__floatimg[data-float="3"] {
    top: 50%;
    left: 50%;
  }
  .s-mv__imga .s-mv__floatimg[data-float="3"],
  .s-mv__imga.js-is-anime .s-mv__floatimg[data-float="4"] {
    top: 65%;
    left: 125%;
  }
  .s-mv__imga .s-mv__floatimg[data-float="4"] {
    top: 80%;
    left: 175%;
  }
  .s-mv__imga .s-mv__floatimg[data-float="5"],
  .s-mv__imga .s-mv__floatimg[data-float="6"] {
    display: none;
  }

  .s-mv:has(.s-mv__friezeimg) {
    padding-top: 50px;
  }
  .s-mv:has(.s-mv__friezeimg)::after {
    margin-top: 25px;
  }
  .s-mv:has(.s-mv__friezeimg) .s-mv__imga {
    width: 70%;
    max-width: 300px;
    margin: 45px 0 0;
  }
  .s-mv:has(.s-mv__friezeimg) .s-mv__txta {
    max-width: unset;
  }
}

/* message */
.s-message {
  position: relative;
  display: block;
}
.s-message__block {
  display: grid;
  grid-template-rows: auto 1fr auto;
  column-gap: 48px;
  row-gap: 24px;
}
.s-message__head {
  position: relative;
  display: block;
  font-size: 22px;
  font-weight: var(--fw-black);
  grid-area: 1 / 2 / 2 / 3;
}
.s-message__head::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background-color: var(--c-gray);
  margin-top: 24px;
}
.s-message__img {
  margin: 0 auto;
  grid-area: 1 / 1 / 4 / 2;
}
.s-message__img img {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}
.s-message__txtarea {
  grid-area: 2 / 2 / 3 / 3;
}
.s-message__txtarea p {
  font-size: 14px;
  line-height: 2;
}
.s-message__name {
  font-size: 16px;
  line-height: 2;
  font-weight: var(--fw-bold);
  grid-area: 3 / 2 / 4 / 3;
  text-align: right;
}
@media screen and (max-width: 768px) {
  .s-message__block {
    grid-template-rows: auto;
    column-gap: 24px;
  }
  .s-message__head {
    text-align: center;
  }
  .s-message__head::after {
    display: none;
  }
  .s-message__img {
    max-width: 70%;
  }
  .s-message__head,
  .s-message__img,
  .s-message__txtarea,
  .s-message__name {
    grid-area: auto;
  }
}

/* merit */
.s-merit__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 48px;
}
.s-merit__list > li {
  width: calc((100% - (48px * 2)) / 3);
}
@media screen and (max-width: 900px) {
  .s-merit__list > li {
    width: calc((100% - 48px) / 2);
  }
}
@media screen and (max-width: 768px) {
  .s-merit__list > li {
    width: 100%;
  }
}

/* service */
.s-service__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 45px 20px;
}
.s-service__list > li {
  width: calc((100% - (20px * 2))/3);
}
@media screen and (max-width: 900px) {
  .s-service__list > li {
    width: calc((100% - 48px) / 2);
  }
}
@media screen and (max-width: 768px) {
  .s-service__list > li {
    width: 100%;
  }
}

/* news */
.s-news {
}
.s-news__list > li {
  padding: 24px 0;
  border-bottom: 1px solid #ccc;
}
.s-news__txt:has(.s-news__date) {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
}
.s-news__date {
  color: var(--c-blue);
}

/* movie */
.s-movie {
  display: block;
  position: relative;
}
.s-movie__wrap {
  display: block;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 16/9;
  max-width: 800px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 25%);
}
.s-movie__wrap > iframe {
  width: 100%;
  height: 100%;
}
