/* =========================================
   Reset & Base
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* =========================================
   Header
   ========================================= */
.p-scope-header {
  background-color: #2b2b2b;
  border-bottom: 1px solid #1a1a1a;
}

.p-upper {
  padding: 1.0rem 0;
}

.l-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.p-scope-logo .p-title {
  display: block;
}

.p-scope-logo .p-title a {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

.p-logo--ja {
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.p-logo--en {
  display: inline-block;
  margin-left: 1rem;
  line-height: 0;
}

/* ロゴ画像（BTP: 高さ固定で横はauto） */
.p-logo__img{
  width: max-width: 120px;
  vertical-align: middle;
}

/* =========================================
   Main Content
   ========================================= */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.main-contents {
  background-color: #fff;
  padding: 4rem 3rem;
  margin: 3rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 0;
}

/* =========================================
   Title Section
   ========================================= */
.p-scope-title__headline {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.p-scope-title__headline .p-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.4;
}

/* =========================================
   Basic Contents
   ========================================= */
.p-scope-basic_contents {
  max-width: 900px;
  margin: 0 auto;
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.p-section {
  margin-bottom: 3rem;
}

.p-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
}

.p-text strong {
  font-weight: 700;
  color: #c8102e;
}

.p-text a {
  color: #c8102e;
  text-decoration: none;
  transition: opacity 0.2s;
}

.p-text a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* =========================================
   Banner Box
   ========================================= */
/* バナー外枠（BTP: 余白だけでシンプル） */
.p-banner-box {
  max-width: 480px;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  height: 128px;
  /* ← 削除 */
  display: flex;
  /* height削除！ */
  align-items: center;
  justify-content: flex-start;

}

.p-banner-box a {
  width: 100%;
  display: block;
}

.p-banner-box__img {
  width: 100%;
  height: auto;
  /* ← 揃えて見せたい高さを指定 */
}
/* バナーの高さ制御（BTP: max-heightだけ） */
/* 楽天：白い枠 */
.banner-rakuten__img {
  border: 3px solid #fff;
  border-radius: 1px;
  box-sizing: border-box;
  /* 枠を含めたサイズ調整 */
}

/* Yahoo：黒い枠 */
.banner-yahoo__img {
  border: 3px solid #000;
  border-radius: 1px;
  box-sizing: border-box;
}

/* =========================================
   Footer
   ========================================= */
.p-scope-footer {
  background-color: #2b2b2b;
  color: #fff;
  margin-top: 3rem;
}

.p-scope-footer .p-upper {
  padding: 2rem 0;
}

.p-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: #999;
  letter-spacing: 0.05em;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
  .l-inner {
    padding: 0 0.5rem;
  }

  .wrap {
    padding: 0 1.5rem;
  }

  .main-contents {
    padding: 2.5rem 1.5rem;
    margin: 2rem 0;
  }

  .p-scope-title__headline .p-title {
    font-size: 1.5rem;
  }

  .p-logo--ja {
    font-size: 1rem;
  }

  .p-logo__img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .l-inner {
    padding: 0 0.5rem;
  }

  .wrap {
    padding: 0 1rem;
  }

  .main-contents {
    padding: 2rem 1rem;
  }

  .p-upper {
    padding: 1rem 0;
  }

  .p-logo--ja {
    font-size: 0.9rem;
  }

  .p-logo--en {
    margin-left: 0.75rem;
  }

  .p-logo__img {
    height: 28px;
  }

  .p-scope-title__headline .p-title {
    font-size: 1.3rem;
  }

  .p-text {
    font-size: 0.95rem;
  }
}
