/* 修正用 */

/* header */

.main-header__logo {
  position: relative;
}

.main-header__logo::before {
  position: absolute;
  top: 0;
  right: -15px;
  transform: translate(100%, 0);
  content: 'DENBA Health 正規代理店';
  white-space: nowrap;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  color: #fff;
  background-color: #014099;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 600;
  border-radius: 5px;
  padding: 6px 10px 5px;
}

.main-header__logo::after {
  position: absolute;
  top: 27px;
  right: -15px;
  transform: translate(100%, 0);
  content: 'オフィスA・F・C合同会社';
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 500;
  color: #000;
  padding: 0px 3px;
}


/* demo */
.demo {
  position: relative;
  z-index: 1;
  background: url(../img/bg_demo.webp) no-repeat center / cover;
  padding: 130px 0;
}

.demo-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-ttl {
  display: flex;
  flex-direction: column;
  color: #fff;
}

.demo-ttl01 {
  font-size: 2.4rem;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
}

.demo-ttl02 {
  font-size: 4.2rem;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
}

.demo-link {
  display: block;
  width: 420px;
  height: 90px;
  line-height: 90px;
  border-radius: 45px;
  background-color: #000;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}

.demo-link:link {
  color: #fff;
}

@media(max-width: 1400px) {
  .demo {
    padding: 8vw 0;
  }

  .demo-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
  }

  .demo-ttl {
    text-align: center;
  }
}

@media(max-width: 834px) {
  .demo {
    padding: 50px 0;
  }

  .demo-inner {
    gap: 30px;
  }

  .demo-ttl01 {
    font-size: 1.8rem;
  }

  .demo-ttl02 {
    font-size: 2.8rem;
  }

  .demo-link {
    width: 320px;
    max-width: 100%;
    height: 70px;
    line-height: 70px;
    border-radius: 35px;
    font-size: 1.4rem;
  }

}

.demo-ttl02-br {
  display: none;
}

@media(max-width: 600px) {
  .demo-ttl02-br {
    display: block;
  }
}

.demo-ttl01-br {
  display: none;
}

@media(max-width: 405px) {
  .demo-ttl01-br {
    display: block;
  }
}

/* 202.6.25 */
iframe {
  border: none;
}

.main-header__logo {
  padding-top: 15rem;
}

.main-header__logo::before {
  right: 50%;
  transform: translateX(50%);
  content: 'DENBA Health \A 正規代理店';
  white-space: pre;
  line-height: 1.5;
  text-align: center;
  font-size: 18px;
  padding: 1.5rem 3.5rem;
}

.main-header__logo::after {
  top: 11rem;
  right: 50%;
  transform: translateX(50%);
  font-size: 14px;
}

.movie__list {
  flex-wrap: wrap;

  &::after {
    content: '';
    display: block;
    width: 400px;

    @media (max-width: 449px) {
      width: 330px;
    }
  }
}

.movie__list-item {
  @media (max-width: 449px) {
    width: 330px;
  }
}

/* 2025.06.30 */
.media-banner {
  overflow: visible;

  .close {
    position: absolute;
    top: -20px;
    right: 0px;
    width: 20px;
    height: 20px;
    z-index: 1001;
    cursor: pointer;
    background-color: #fff;
    padding: 5px;
    border-radius: 3px 3px 0 0;
  }
}

.media-banner__img {
  background-color: #fff;
  max-width: 350px;
  display: block;
}

.media-banner__img img {
  border-radius: 0;
  width: fit-content;
  vertical-align: bottom;
}

/* 2025.06.30 */
.main-header__logo {
  padding-top: 12rem;
  max-width: 130px;
}

.main-header__logo::before {
  font-size: 16px;
  padding: 1rem 2rem;
}

.main-header__logo::after {
  top: 9rem;
  font-size: 12px;
}

.main-header {
  &.hidden {
    display: none;
  }
}

@media(max-width:834px) {

  .media-banner {
    width: fit-content;
  }

  .media-banner__img {
    width: 100%;
    max-width: 250px;
  }
}