body {
  margin: 0;
  font-family: var(--font-sans);
  color: #333;
  background: #ffffff;
}

.bgm-page h2 {
  font-size: 24px !important;
}

.bgm-page h3 {
  font-size: 20px !important;
}

/* 動画詳細ページと同仕様のヘッダー */
.movie-detail-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
}

.movie-detail-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

.movie-detail-header__logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.movie-detail-header__logo {
  width: clamp(58px, calc(100vw * 186 / 1440), 186px);
  max-width: 100%;
  height: auto;
  display: block;
}

.movie-detail-header__edit-link {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 26px;
  border: 2px solid #222222;
  border-radius: 9999px;
  color: #222222;
  background: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.movie-detail-header__edit-link:hover {
  background: #f7f7f7;
}

.bgm-container {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  line-height: 1.6;
  padding: 0 20px;
  box-sizing: border-box;
}

.bgm-main-title,
.bgm-sub-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.bgm-text-link {
  color: #1b86f1;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.bgm-text-link:hover {
  color: #348ee8;
  text-decoration: none;
}

.bgm-hero-section {
  padding: 40px 20px;
  background: linear-gradient(180deg, #d9f2f5 0%, #f0fbfc 100%);
  text-align: center;
  border-bottom: 1px solid #e0f7f9;
}

.bgm-hero-balloon {
  display: inline-block;
  position: relative;
  background-color: #ffffff;
  color: #00afbf;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 25px rgba(0, 175, 191, 0.15);
  margin-bottom: 40px;
  line-height: 1;
  box-sizing: border-box;
  z-index: 10;
  white-space: nowrap;
}

.bgm-hero-balloon::after {
  content: "";
  position: absolute;
  bottom: -18.5px;
  left: 45px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 0 0 24px;
  border-color: #ffffff transparent transparent transparent;
  z-index: 2;
}

.bgm-hero-balloon::before {
  content: "";
  position: absolute;
  bottom: -23px;
  left: 42px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 24px 0 0 29px;
  border-color: #ffffff transparent transparent transparent;
  z-index: 1;
  filter: drop-shadow(0 4px 5px rgba(0, 175, 191, 0.1));
}

.bgm-hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin: 0 0 20px;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.bgm-hero-description {
  font-size: 17px;
  color: #444;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.9;
  font-weight: 500;
}

.bgm-pricing-section {
  padding-top: 40px;
}

.bgm-price-hero {
  background: linear-gradient(135deg, #f0fbfc 0%, #ffffff 100%);
  border: 2px solid #e0f7f9;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 175, 191, 0.05);
}

.bgm-price-hero .bgm-card-label {
  display: inline-block;
  background: #00afbf;
  color: #fff;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 16px;
}

.bgm-main-price {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 10px;
}

.bgm-main-price span {
  font-size: 20px;
  margin-left: 4px;
}

.bgm-price-feature-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: inline-block;
  text-align: left;
}

.bgm-price-feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 6px;
}

.bgm-price-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #00afbf;
  border-radius: 50%;
}

.bgm-delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

.bgm-delivery-card {
  background: #f7f8f9;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid #eee;
}

.bgm-delivery-card.standard {
  background: #fff;
  border: 2px solid #00afbf;
  position: relative;
}

.bgm-delivery-card.standard::before {
  content: "基本プラン";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #00afbf;
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
}

.bgm-delivery-name {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.bgm-delivery-days {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
  display: block;
}

.bgm-delivery-fee {
  font-size: 13px;
  font-weight: 700;
  color: #00afbf;
}

.bgm-pricing-note {
  font-size: 12px;
  color: #444;
  text-align: center;
  margin-top: 24px;
  line-height: 1.6;
}

.bgm-options-section {
  padding-top: 60px;
  padding-bottom: 40px;
}

.bgm-section-intro {
  text-align: center;
  font-size: 15px;
  margin-bottom: 32px;
}

.bgm-pattern-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bgm-pattern-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.bgm-pattern-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 16px;
}

.bgm-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.bgm-pattern-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
}

.bgm-pattern-desc {
  font-size: 14px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.bgm-pattern-note {
  font-size: 12px;
  color: #333;
  margin: 0;
}

.bgm-highlight-note {
  font-weight: 700;
}

.bgm-check-section {
  padding-top: 60px;
  background-color: #fff;
}

.bgm-check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.bgm-check-card {
  border-radius: 16px;
  padding: 24px;
  border: 2px solid;
}

.bgm-check-card.can {
  border-color: #e8f5e9;
  background-color: #fbfffb;
}

.bgm-check-card.cannot {
  border-color: #ffebee;
  background-color: #fffdfd;
}

.bgm-check-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
}

.bgm-check-icon {
  font-size: 24px;
  margin-right: 8px;
}

.bgm-check-card.can .bgm-check-header {
  color: #2e7d32;
}

.bgm-check-card.cannot .bgm-check-header {
  color: #c62828;
}

.bgm-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bgm-check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.bgm-check-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 2px;
}

.bgm-check-card.can li::before {
  color: #4caf50;
}

.bgm-check-card.cannot li::before {
  color: #f44336;
}

.bgm-flow-section {
  padding: 80px 0;
  background-color: #fff;
}

.bgm-flow-container {
  max-width: 700px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.bgm-flow-step {
  display: flex;
  gap: 20px;
  position: relative;
}

.bgm-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 70px;
  bottom: -20px;
  width: 2px;
  background-color: #eee;
  z-index: 1;
}

.bgm-step-badge {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #f0fbfc;
  border: 2px solid #00afbf;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
}

.bgm-step-badge .s-num {
  font-size: 10px;
  color: #00afbf;
  line-height: 1;
}

.bgm-step-badge .s-val {
  font-size: 18px;
  color: #00afbf;
  line-height: 1;
  margin-top: 2px;
}

.bgm-step-content {
  flex-grow: 1;
  background: #f7f8f9;
  padding: 24px;
  border-radius: 16px;
  text-align: left;
}

.bgm-step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.bgm-step-desc {
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}

.bgm-reply-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.bgm-reply-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bgm-reply-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #eee;
}

.bgm-reply-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.bgm-reply-list strong {
  color: #039aa5;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.bgm-part-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0;
}

.bgm-part-tags span {
  background: #f0f0f0;
  color: #333;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.bgm-flow-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.bgm-flow-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #444;
}

.bgm-flow-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #00afbf;
  font-size: 10px;
}

.bgm-isum-section {
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: #f7f8f9;
}

.bgm-isum-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.bgm-isum-alert {
  display: inline-block;
  background-color: #fff3e0;
  color: #ef6c00;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.bgm-isum-price-box {
  margin: 24px 0;
  padding: 20px;
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
}

.bgm-isum-price-label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.bgm-isum-price-value {
  font-size: 32px;
  font-weight: 700;
  color: #333;
}

.bgm-isum-price-value span {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  margin-left: 4px;
}

.bgm-isum-button-container {
  margin-top: 32px;
}

.bgm-isum-button {
  display: inline-block;
  background-color: #fff !important;
  color: #039aa5 !important;
  border: 2px solid #00afbf !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 175, 191, 0.15);
  cursor: pointer;
}

.bgm-isum-button:hover {
  background-color: #f0fbfc !important;
  box-shadow: 0 6px 16px rgba(0, 175, 191, 0.25);
  transform: translateY(-2px);
}

.bgm-isum-button::after {
  content: " 👉";
  font-size: 18px;
}

.bgm-ranking-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #fff;
}

.bgm-ranking-label {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #00afbf;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.bgm-ranking-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 15px;
  color: #333;
}

.bgm-category-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 60px 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.bgm-category-title::before,
.bgm-category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #eaeaea;
  max-width: 100px;
}

.bgm-category-desc {
  font-size: 14px;
  color: #333;
  background-color: #f9f9f9;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.bgm-spotify-container {
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.bgm-ranking-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 40px 0;
}

.bgm-faq-section {
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: #f7f8f9;
}

.bgm-faq-container {
  max-width: 700px;
  margin: 0 auto;
}

.bgm-faq-item {
  margin-bottom: 12px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bgm-faq-check {
  display: none;
}

.bgm-faq-question {
  display: flex;
  align-items: center;
  padding: 20px 54px 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  transition: background-color 0.2s;
}

.bgm-faq-question::before {
  content: "Q.";
  color: #00afbf;
  margin-right: 12px;
  font-size: 18px;
}

.bgm-faq-question::after {
  content: "";
  position: absolute;
  right: 24px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  transform: rotate(135deg);
  transition: transform 0.3s;
}

.bgm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
}

.bgm-faq-answer-inner {
  padding: 0 24px 24px 54px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  position: relative;
}

.bgm-faq-answer-inner::before {
  content: "A.";
  color: #f44336;
  font-weight: 700;
  margin-left: -30px;
  position: absolute;
}

.bgm-faq-check:checked ~ .bgm-faq-question::after {
  transform: rotate(-45deg);
  top: 25px;
}

.bgm-faq-check:checked ~ .bgm-faq-answer {
  max-height: 500px;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.bgm-faq-question:hover {
  background-color: #f0fbfc;
}

.bgm-faq-footer-btn {
  margin-top: 40px;
  text-align: center;
}

.bgm-faq-link-button {
  display: inline-block;
  background-color: #fff !important;
  color: #039aa5 !important;
  border: 2px solid #00afbf !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 175, 191, 0.15);
  cursor: pointer;
}

.bgm-faq-link-button:hover {
  background-color: #f0fbfc !important;
  box-shadow: 0 6px 16px rgba(0, 175, 191, 0.25);
  transform: translateY(-2px);
}

.bgm-faq-link-button::after {
  content: " 👉";
  font-size: 18px;
}

@media (max-width: 768px) {
  .movie-detail-header__inner {
    padding: 10px 16px;
    gap: 10px 12px;
  }

  .movie-detail-header__logo {
    width: 148px;
    max-width: none;
  }

  .movie-detail-header__edit-link {
    margin-left: auto;
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .bgm-hero-section {
    padding: 70px 10px 20px;
  }

  .bgm-hero-balloon {
    font-size: 13px;
    padding: 12px 20px;
    max-width: 92vw;
    border-width: 2.5px;
    margin-bottom: 28px;
  }

  .bgm-hero-balloon::after {
    left: 25px;
    bottom: -13px;
    border-width: 14px 0 0 18px;
  }

  .bgm-hero-balloon::before {
    left: 23px;
    bottom: -16px;
    border-width: 17px 0 0 22px;
  }

  .bgm-hero-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .bgm-hero-description {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
  }

  .bgm-main-price {
    font-size: 36px;
  }

  .bgm-flow-step {
    gap: 12px;
  }

  .bgm-step-badge {
    width: 50px;
    height: 50px;
  }

  .bgm-step-badge .s-val {
    font-size: 16px;
  }

  .bgm-flow-step:not(:last-child)::after {
    left: 25px;
    top: 60px;
  }

  .bgm-step-content {
    padding: 16px;
  }

  .bgm-isum-button {
    display: block;
    width: 100%;
    padding: 16px 20px;
    box-sizing: border-box;
  }

  .bgm-faq-link-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    box-sizing: border-box;
    font-size: 14px;
  }

  .bgm-faq-question {
    padding: 16px 44px 16px 16px;
    font-size: 14px;
  }

  .bgm-faq-answer-inner {
    padding: 0 16px 16px 44px;
  }
}

@media (min-width: 768px) {
  .bgm-delivery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bgm-pattern-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .bgm-check-grid {
    grid-template-columns: 1fr 1fr;
  }
}
