/* 会員情報確認について */
.topix-container {
    width: 90%;
    margin: 0 5%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc; /* グレーの細い実線 */
    text-align: center;
}
.content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.content h3 {
    text-align: center;
}
.content h3 a{
    border-bottom: 1px solid #666;
    display: inline-block;
}

.content h3 a:hover{
    opacity: 0.7;
}

.topix-container p{
    margin-top: 10px;
    margin-bottom: 10px;
    line-height:normal;
}
.box {
    flex: 1;
    background: #f8f7f6;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
}
@media screen and (max-width: 599px) {
  .topix-container {
    padding: 10px;
}
  .content {
    display: block;
    gap:0;
  }
  .box {
    margin: 10px;
  }
  .content h3 {
    font-size:1.15em;
}
}

/* ボタンを親要素の中央に配置 */
.button {
    display: flex;
    justify-content: center;  /* 水平方向の中央揃え */
    align-items: center;  /* 垂直方向の中央揃え */
    width: 150px; /* ボタンの幅（適宜調整） */
    padding: 10px 20px;
    border: 1px solid #ccc; /* グレーの細い実線 */
    background-color: #fff; /* 背景色は白 */
    text-align: center;
    border-radius: 5px; /* 角を少し丸く */
    transition: background-color 0.3s ease; /* なめらかな色変化 */
}

/* ホバー時の背景色 */
.button:hover {
    background-color: #f0f0f0; /* 淡いグレー */
}

/* aタグのデフォルトスタイルを解除 */
a {
    text-decoration: none; /* 下線を消す */
    color: inherit; /* 親要素の色を継承 */
    display: flex;
    justify-content: center; /* aタグも中央揃え */
}

/* ボタン内のテキストの余白調整 */
.button p {
    margin: 0;
    font-size: 14px;
    color: #333; /* 文字色を黒に近いグレー */
}



@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
}

/* キャンペーン情報 */

.campain{
  background: #f8f7f6;
  border-radius:10px;
  width: 96%;
  margin: 0 2%;
}
.campain h2{
  color:#FF3366;
  text-align: center;
  padding: 20px;
  letter-spacing: 0.1em;
}
.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  max-width: 80%;
  margin: 30px auto;
  text-align: center;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-top-logo a:hover {
  opacity: .66;
}

.p-top-logo a:active {
  opacity: 1;
}

#slider-wrapper .bx-controls-direction a {
  z-index: 100;
}

#slider-wrapper .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: #f8f8f8;
  box-shadow: none;
}

#slider-wrapper .bx-wrapper img {
  margin: 0 auto;
}

#slider-wrapper .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#slider-wrapper .bx-caption span {
  padding: 1.5em;
}

#slider-wrapper .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#slider-wrapper .bx-pager a {
  background: #fff;
}

#slider-wrapper .bx-pager a:hover,
#slider-wrapper .bx-pager a.active {
  background: #fd7f23;
}

.p-news {
  line-height: 1.5;
  margin: 0;
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
  width: 180px;
  margin: 0;
  letter-spacing: 1px;
}

.p-news__content {
  line-height: 1.6;
  margin: 5px 0 20px 10px;
}
.p-news__content a{
  justify-content: start;
}

.p-news__content p:nth-child(1) {
  margin-top: 0;
}

.p-news__label {
  font-family: 'Montserrat', sans-serif;
}

.p-news__label::before {
  content: '-';
}

.p-info {
  line-height: 1.5;
}

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
  padding: 0 2em 0 1em;
}

.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-contents__list a:hover {
  opacity: .66;
}

.p-contents__list a:active {
  opacity: 1;
}

.p-custom-banner {
  margin-top: 50px;
  text-align: center;
}

.p-custom-banner__unit {
  background: #f8f8f8;
}

.p-custom-banner__unit--text {
  font-family: 'Montserrat', sans-serif;
  padding: 30px 10px;
  color: #f8f8f8;
  background: #333;
}

.p-custom-banner__unit--text a {
  color: #f8f8f8;
}

.p-custom-banner__image {
  width: 100%;
}

.p-custom-banner__heading {
  font-size: 24px;
  padding: 10px 0;
}

.p-custom-banner__body {
  line-height: 1.5;
  padding: 10px 0;
}

@media screen and (min-width: 600px) {
  .p-top-logo {
    display: none;
  }

  #slider-wrapper .bx-pager {
    bottom: 30px;
  }

  .p-contents__list li::before {
    top: 0;
  }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) {
    clear: left;
  }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }

  .p-custom-banner {
    display: table;
    width: 100%;
    margin-top: 100px;
    table-layout: fixed;
  }

  .p-custom-banner__unit {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle;
    word-break: break-all;
  }

  .p-custom-banner__unit--text {
    padding: 10px 20px;
  }
}

@media screen and (min-width: 960px) {
  .p-news__label {
    float: left;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 0 0 20px;
  }

  .p-custom-banner__heading {
    font-size: 30px;
  }
}
