.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  /*max-width: 90%;*/
  width:170px;
  margin: 15px 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;
}

.p-top-logo img {
  width: 100%;
}
@media (min-width: 750px) {
 .p-top-logo {
display:none;
}
}
@media (max-width: 749px) {
.p-top-logo {
width: 90%;
  margin: 10px auto;
  display:block;
}
}

#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 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;*/
  background: #1d2082;
}

.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__heading a {
  text-decoration:none;
}
.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;
  }
}
.p-contents__freespace{
  margin:20px 0;
}

.top-3banner{
  display:flex;
  align-items: center;
  list-style:none;
  margin:30px 0;
  padding:0;
}
.top-3banner li{
  position: relative;
  margin:15px;
  width: 100%;
}
.top-3banner li h3{
  position:absolute;
  margin: 0 5%;
    width: 84%;
  bottom: 20px;
  font-size:14px;
  background-color: rgba(255,255,255,0.8);
  padding:10px;
  text-align:center;
}}

@media (max-width: 749px) {
.top-3banner{
  display:flex;
  align-items: center;
  list-style:none;
  margin: -15px 0;
  padding:0;
}
.top-3banner li{
  position: relative;
  margin:0 10px 0 0;
  width: 100%;
}
.top-3banner li:last-child{
  margin:0 0 0 0;
}
} 
/* ===== Gran's Remedy: スライド直後ブロック用 ===== */
.gmv-wrap { margin: 0 auto 24px; }

/* 30秒でわかる使い方（青帯＋ボタン） */
.gmv-cta{
  box-sizing:border-box;
  max-width:1240px; margin:16px auto 24px;
  padding:24px 24px 18px;
  background:linear-gradient(90deg,#0d47a1,#0a36d1);
  color:#fff; border-radius:14px;
}
.gmv-cta h2{margin:0 0 6px;font-size:20px;color:#fff;}
.gmv-cta p{margin:0 0 12px;color:#e8f0ff;}
.gmv-btn{
  display:block; width:100%;
  padding:14px 16px; text-align:center;
  background:#fff; color:#0d47a1; border-radius:10px;
  text-decoration:none; font-weight:700;
}
@media (min-width:750px){ .gmv-btn{max-width:620px;} }

/* 使い方 1&#12316;3ステップ */
.gmv-howto .gmv-steps{
  list-style:none; margin:12px 0 0; padding:0;
  display:flex; gap:16px;
}
.gmv-howto .gmv-steps li{
  flex:1; background:#fff; border-radius:14px;
  box-shadow:0 4px 18px rgba(0,0,0,.06);
  padding:20px 18px; display:flex; gap:12px; align-items:flex-start;
}
.gmv-stepno{
  width:40px; height:40px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:#0d47a1; color:#fff; font-weight:700;
}
.gmv-howto small{display:block;margin-top:6px;color:#666;}
@media (max-width:749px){ .gmv-howto .gmv-steps{flex-direction:column;} }

/* 正規保証テーブル */
.gmv-table table{
  width:100%; border-collapse:collapse; background:#fff;
  border-radius:12px; overflow:hidden;
}
.gmv-table thead th{
  background:#f1f3f6; text-align:left; font-weight:700; padding:12px;
}
.gmv-table th,.gmv-table td{
  border:1px solid #e5e8ee; padding:12px 14px; vertical-align:top;
}
.gmv-table tbody th{background:#f9fafb; white-space:nowrap; width:160px;}
.gmv-note{margin-top:8px; font-size:12px; color:#666;}

/* よくある質問（アコーディオン） */
.gmv-faq details{
  margin:10px 0; background:#fff; border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}
.gmv-faq summary{
  cursor:pointer; list-style:none; padding:16px 18px; position:relative;
}
.gmv-faq summary::-webkit-details-marker{display:none;}
.gmv-faq summary::before{
  content:'&#9654;'; display:inline-block; margin-right:8px;
  transform:translateY(-1px); transition:transform .2s;
  color:#111;
}
.gmv-faq details[open] summary::before{ transform:rotate(90deg); }
.gmv-faq details > div{ border-top:1px solid #eef1f6; padding:14px 18px; color:#444; }

/* 青帯下の3カード */
.gmv-cardlist{
  list-style:none; margin:18px 0 0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
}
.gmv-cardlist li{
  background:#fff; border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
  padding:20px; min-height:140px;
}
.gmv-cardlist h3{margin:0 0 8px; font-size:18px;}
@media (max-width:959px){ .gmv-cardlist{ grid-template-columns:1fr; } }
