/* 新大阪店・旧バージョン用 YouTubeショート調整 */
.shinosaka-yt-shorts {
  max-width: 35vh;
  margin: 20px auto;
  width: 100%;
}

.shinosaka-yt-wrapper {
  position: relative;
  width: 100%;
  padding-top: 140%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.shinosaka-yt-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100% !important;
  height: 177.77% !important;
  transform: translate(-50%, -50%);
  border: 0;
}

/* テレスマ買取ページ */
body:has(.ts3-lp) #secondary,
body:has(.ts3-lp) .sidebar,
body:has(.ts3-lp) aside {
  display: none !important;
}

body:has(.ts3-lp) #main,
body:has(.ts3-lp) #content,
body:has(.ts3-lp) #primary,
body:has(.ts3-lp) main,
body:has(.ts3-lp) .content-area,
body:has(.ts3-lp) .site-content,
body:has(.ts3-lp) .entry-content,
body:has(.ts3-lp) article,
body:has(.ts3-lp) .container,
body:has(.ts3-lp) .wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.ts3-lp {
  max-width: 1180px;
  margin: 30px auto 80px;
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif;
}

.ts3-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

/* 青帯 */
.ts3-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0046a8;
  color: #fff;
  overflow: hidden;
}

.ts3-info > div {
  min-height: 116px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.32);
}

.ts3-info > div:last-child {
  border-right: none;
}

.ts3-icon {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.ts3-info p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

/* 価格表 */
.ts3-price {
  max-width: 1100px;
  margin: 42px auto 70px;
  padding: 34px 24px;
  border: 2px solid #d8a23b;
  border-radius: 12px;
  text-align: center;
  background: #fff;
}

.ts3-price h2 {
  margin: 0 0 8px;
  color: #c88710;
  font-size: 38px;
  font-weight: 900;
}

.ts3-price > p {
  margin: 0 0 26px;
  font-size: 17px;
  font-weight: 800;
  color: #111;
}

.ts3-price-placeholder {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 46px 20px;
  color: #999;
  font-size: 20px;
  font-weight: 800;
  background: #fafafa;
}

@media (max-width: 768px) {
  .ts3-lp {
    margin: 20px auto 60px;
  }

  .ts3-info {
    grid-template-columns: 1fr;
  }

  .ts3-info > div {
    min-height: 90px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
  }

  .ts3-icon {
    font-size: 30px;
  }

  .ts3-info p {
    font-size: 15px;
  }

  .ts3-price {
    margin: 28px 15px 50px;
    padding: 26px 16px;
  }

  .ts3-price h2 {
    font-size: 30px;
  }
}