@charset "UTF-8";
/* -----------------------------------------------------------------
   カスタムプロパティ
----------------------------------------------------------------- */
:root {
  --color-base-lighter: rgb(0, 77, 139);
  --color-base-light: rgb(0, 63, 113);
  --color-base:rgb(0,49,88);
  --color-base-dark: rgb(0, 35, 62);
  --color-base-darker: rgb(0, 21, 37);

  --color-bg-base: rgb(243, 243, 243);
  --color-line:rgb(221,219,219);
  --color-price:rgb(204,28,57);

  --color-text-lightest: rgb(255, 255, 255);
  --color-text-lighter: rgba(255, 255, 255,.9);
  --color-text-light: rgb(183, 183, 183);

  --color-text-dark: rgb(119, 119, 119);
  --color-text-darker: rgb(55, 55, 55);
  --color-text-darkest: rgb(0, 0, 0);

  --color-primary:rgb(0,123,255);
  --color-primary-light: rgb(102, 176, 255);
  --color-secondary:rgb(255,203,51);
  --color-success: rgb(0, 152, 0);
  --color-warning:rgb(133,100,4);
  --color-danger: rgb(239, 78, 78);

  --color-logo: rgb(0,123,255);
  --color-logo-light: rgb(51, 149, 255);
}

/* -----------------------------------------------------------------
   reset
----------------------------------------------------------------- */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, address, em, img, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, section, summary {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

img {
  vertical-align: bottom;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img[width="1"], img[width="0"] {
  display: none;
}

/* -----------------------------------------------------------------
   module
----------------------------------------------------------------- */
html {
  min-height: 100%;
}

body {
  background-color: var(--color-bg-base);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 100%;
  line-height: 1.6;
  color: #383b40;
  height: 100%;
  text-align: center;
  position: relative;
}

a {
  color: #1f2023;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

/* main */
.main-contents {
  width: 990px;
  margin: 0 auto;
}

/* -----------------------------------------------------------------
   ヘッダー
----------------------------------------------------------------- */
.p-scope-header{
  padding: 0;
  background-color: var(--color-base);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 11;
}

.p-scope-header a{
  color: rgba(255,255,255,.9);
}

.l-inner{
  position: relative;
  max-width: 990px;
  margin: 0 auto;
}

/* -------- 上部 -------- */
.p-scope-header .p-upper .l-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem .5rem;
}

/* ロゴ */
.p-scope-logo{
  line-height:1.1;
  order: 2;
}

.p-scope-logo a {
  display:flex;
  flex-direction: column;
}

.p-scope-logo .p-logo--ja {
  order: 2;
}

.p-scope-logo a .p-logo--en{
  margin: 0 1rem .5rem;
  max-width: 300px;
}

.p-scope-logo a .p-logo--ja{
  opacity: .9;
  font-size: .75rem;
}

/* -----------------------------------------------------------------
ページの大見出し
----------------------------------------------------------------- */
.p-scope-title__headline{
  margin:0 0 2rem
}

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

/* -----------------------------------------------------------------
基本コンテンツ
----------------------------------------------------------------- */
.p-scope-basic_contents{
  font-size: .875rem;
  text-align: left;
}

.p-scope-basic_contents a{
  color: var(--color-primary);
}

.p-scope-basic_contents .p-section{
  padding: 1rem;
  margin-bottom: 3rem;
  background-color: white;
}

/* 注目箇所 */
.p-scope-basic_contents strong{
  color: var(--color-danger);
}

/* ------------------------------------------------------------------------------------------------------
レスポンシブ（PC表示）
------------------------------------------------------------------------------------------------------ */
@media screen and (min-width: 1024px) {
  /* ロゴ */
  .p-scope-logo a{
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  
  .p-scope-logo  a .p-logo--en{
    margin: 0 1rem 0 0;
    width:300px;
  }
  
  .p-scope-logo a .p-logo--ja{
    font-size: .875rem;
  }
}

/* ------------------------------------------------------------------------------------------------------
レスポンシブ（スマホ・タブレット表示）
------------------------------------------------------------------------------------------------------ */
@media screen and (max-width: 1023px) {
  .main-contents {
    width: 100%;
    padding: 0 .5rem;
  }
  
  .p-scope-header .p-upper .l-inner{
    padding: .5rem;
  }
  
  .p-scope-logo a .p-logo--en{
    max-width: 200px;
    margin: 0 .5rem .25rem;
  }
  
  .p-scope-logo a .p-logo--ja{
    font-size: .625rem;
  }
}

/* サービス終了ページ用調整 ------------------------ */
body {
  padding-top: 80px;
}

.wrap {
  padding-bottom: 2rem;
}

.p-scope-basic_contents .p-text {
  line-height: 2;
  margin-bottom: 1.5rem;
}

/* ロゴ画像 */
.p-logo__img {
  width: 100%;
  height: auto;
}

/* バナー */
.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;  /* ← 揃えて見せたい高さを指定 */
}

/* 楽天：白い枠 */
.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;
}

/* 視覚的に非表示（アクセシビリティ用） */
.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;
}

@media screen and (max-width: 1023px) {
  body {
    padding-top: 60px;
  }
}
