@charset "Shift_JIS";

 /* フォント設定 */
.newsdetail__main{
font-family: 'Noto Sans JP',"Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif!important;
}

 /* ヘッダータイトル・日付非表示 */
.page {
  background-image: none !important;
  margin-top: 0px !important;
  padding-top: 30px !important;
  word-break: break-all;
}

 /* ヘッダー部非表示（タイトル、日付、パンくず、タグ） */
.newsdetail__main__title,
.newsdetail__main__date,
.newsdetail__breadcrumb,
.newsdetail__main__tag,
.newsdetail__main__action{
  display: none !important;
}

 /* 既存CSS割り込み */
.page__main {
  margin: auto !important;
}

.page__main-container {
  padding: 0px !important;
}

.liquid-speech-balloon-text {
  margin-right: 10px !important;
  padding: 20px 20px !important;
  font-size: 1.6rem !important;
  line-height: 1.8 !important;
}

.newsdetail__main__content {
  padding: 20px 20px 50px 20px;
  background: #fff;
}

@media screen and (max-width: 480px) {
  .newsdetail__main__content {
    padding: 10px 10px 30px 10px;
  }
}

.wp-block-group {
  box-sizing: border-box !important;
}

.wp-block-media-text .wp-block-media-text__content {
  padding: 0px 20px !important;
}

.col img {
  margin: 10px !important;
}

.wp-block-columns {
  row-gap: 0em !important;
  column-gap: 2em !important;
}

.wp-block-liquid-speech-balloon {
  margin-bottom: 2em !important;
}

@media (max-width: 750px) {
  .wp-block-group {
    padding: 0 0 20px !important;
    overflow: hidden;
  }
}

@media (min-width: 751px) {
  .wp-block-group {
    padding: 20px !important;
  }
}

  .page__main {
    padding:0 10px !important;
  }
}

.wp-block-media-text__media img,
.wp-block-media-text__media video {
  padding: 5px;
}

/* ページ用class */
.spp,
.spp-lg {
  font-size: 1.7rem;
  line-height: 1.8 !important;
  padding: 0px 10px !important;
}

.spp-lg {
  font-size: 1.8rem !important;
}

.spp-table {
  padding: 0px 5px !important;
}

.digest {
  margin-top:10px !important;
  font-size: 1.6rem !important;
  line-height: 1.6 !important;
  padding: 20px !important;
  border: 2px solid #666666;
  border-radius: 10px;
  font-feature-settings:"palt" 1;
}

.table-bg {
  background: #1e1e1e;
  padding: 10px;
  color: #fff;
  font-weight:bold;
}

@media screen and (max-width: 480px) {
.table-bg {
  font-size:1.4rem;
}
}

.spp-column {
  font-size: 1.6rem !important;
  line-height: 1.8 !important;
  padding: 0px 10px 0px 0px !important;
  text-align: start;
}

.spp-sm {
  font-size: 1.5rem !important;
  line-height: 1.6 !important;
}

.spp-title {
  font-size: 1.7rem !important;
  font-weight: bold;
  padding: 10px !important;
  background: #efefef;
}

.lg {
  font-size: 120%;
  font-weight: bold;
}

h3.sph3 {
  margin: 10px !important;
  padding: 10px !important;
}

/* 見出し */
.sph3 {
  font-size: calc(2.5rem + 1vw);
}

@media (max-width: 600px) {
  .sph3 {
    font-size: calc(1.8rem + 1vw);
    font-weight: 900;
  }
}

@media (min-width: 1200px) {
  .sph3 {
    font-size: calc(2.5rem + 0.5vw);
    font-weight: 900;
  }
}

.serif {
  font-weight: 900;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.sph4 {
  font-size: 2rem !important;
  font-weight: bold;
  margin: 0px 0px 30px 0px !important;
  padding: 10px 20px;
  background: linear-gradient(to right, #ffa456 0%, transparent 100%);
}

.sph5,
.box-sph5 {
  font-size: 1.9rem !important;
  font-weight: bold;
  margin: 0px 0px 15px 0px !important;
  padding: 20px 0px !important;
  border-image: linear-gradient(to right, #bebebe 0%, #ffffff 100%) 1;
}

.sph5 {
  padding: 10px 10px 5px !important;
  border-bottom: 2px solid #bebebe !important;
}

.box-sph5 {
  border-bottom: 2px dashed #bebebe !important;
}

/* 数字有りリスト */
ol.spol {
  padding: 0 !important;
  width: 100%;
  margin: auto;
  list-style: none !important;
  counter-reset: spcount !important;
}

.spol li {
  font-size: 1.8rem !important;
  background: #dcdcdc !important;
  border-radius: 5px !important;
  margin: 0px 10px 10px !important;
  padding: 10px 20px !important;
  line-height: 1.8em !important;
}

.spol li:before {
  counter-increment: spcount;
  content: counter(spcount);
  background: #fa6600;
  display: inline-block;
  width: 1.8em;
  height: 1.8em;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  margin-right: 0.3em;
}

.spol li > ol {
  counter-reset: spcount;
  list-style: none;
}

.spol li > ol li:before {
  content: counter(spcount);
  background: #515356;
}

/* 数字無しリスト（背景薄いグレー） */
ol.spol-no {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.spol-no li {
  background: #f2f2f2 !important;
  border-radius: 5px !important;
  margin: 0px 0px 10px !important;
  padding: 12px 20px !important;
  line-height: 1.8 !important;
}

/* テキストリンク用 */
ul.txlnk {
  list-style: none;
  padding: 0.5em 0.7em;
}

ul.txlnk li {
  position: relative;
  color: #f58220;
  margin-bottom: 5px;
  padding-left: 30px;
  line-height: 30px;
  font-weight: normal;
  border-bottom: 1px dashed #bebebe;
}

ul.txlnk li:last-child {
  border: none;
  margin: 0;
}

ul.txlnk li:before {
  content: ">";
  position: absolute;
  left: 5px;
  font-size: 1.6rem;
  font-weight: bold;
  transition: all 0.8s ease-in-out;
}

ul.txlnk li:hover:before {
  transform: rotateY(-360deg);
  color: #515356;
}

/* ボタン用 */
.wp-block-button:hover {
  opacity: 0.8;
  transition: 0.5s;
}

.wp-block-button.sold:hover {
  opacity: 1;
}

/* 均等割付解除 */
p {
  word-break: break-all;
}

/* 間隔調整用 */
.b-adjustment {
  padding-bottom: 1.75em;
}

.wp-block-embed {
  padding-bottom: 14px;
}

/* 説明付きリスト（ナンバリング有り） */
.li-desc dt {
  counter-increment: count;
  font-size: 1.7rem !important;
  line-height: 1.7 !important;
  padding: 10px 20px !important;
  background: #f2f2f2 !important;
  font-weight: bold;
}

.li-desc dd {
  font-size: 1.7rem !important;
  line-height: 1.7 !important;
  padding: 10px 10px !important;
}

.li-desc dt::before {
  content: counter(count) ".";
  padding: 10px;
}

/* 説明付きリスト（ナンバリング無し・レスポンシブ） */
.li-desc-no dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.li-desc-no dt {
  flex-basis: 30%;
  font-size: 1.7rem !important;
  font-weight: bold;
  line-height: 1.8 !important;
  padding: 10px;
  background-color: #666;
  color: #fff;
  margin-bottom: 6px;
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.li-desc-no dd {
  flex-basis: 65%;
  padding: 10px 10px 0;
  background-color: transparent;
  font-size: 1.7rem !important;
  line-height: 1.8 !important;
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

@media screen and (max-width: 750px) {
  .li-desc-no dl {
    flex-flow: column;
  }
}

/* マーカー風ライン */
span.marker {
  background: linear-gradient(transparent 50%, #fff08d 50%);
}

/* 両端ライン見出し */
.txt_line {
  display: flex;
  align-items: center;
  text-align: center;
  --textline-gap: 1rem;
}

.txt_line::before,
.txt_line::after {
  content: '';
  height: 1px;
  background-color: #333;
  flex-grow: 1;
}

.txt_line::before {
  margin-right: var(--textline-gap);
}

.txt_line::after {
  margin-left: var(--textline-gap);
}

/* スクロール追従バナー（スマホ） */
.fixed_banner {
  position: fixed;
  z-index: 99999;
  bottom: 10px;
  width: 100vw;
  left: 0;
  display: block;
}

.floating-banner:hover {
  opacity: 0.8;
}

@media screen and (min-width: 481px) {
  .fixed_banner {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .fixed_banner {
    width: 100vw;
  }
}

/* 解説 */
#tips {
  padding: 10px;
}

#tips summary {
  font-size: 1.7rem;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

#tips p {
  font-size: 1.6rem;
  padding: 20px;
  background: #fff;
  list-style: none;
}

.usedbike li {
    margin: 0 1.25em 1.25em 0;
    border: 1px solid #efefef;
    padding: 20px;
    background: #fff;
    transition: 0.5s all ease-in-out;
}

.usedbike li:hover {
    background: #fff;
    color: #ff6c00;
}

.tablehover {
    transition: 0.5s all ease-in-out;
}

.tablehover:hover {
    background: #fff;
    color: #ff6c00;
}

.columnboreder {
    border: 1px solid #efefef;
}

.wp-block-image {
    margin: 0;
    padding: 10px;
}

.usedbike img {
    margin-bottom: 20px;
    aspect-ratio: 1.618 / 1;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.modelname {
    font-size: 2rem !important;
    line-height: 2 !important;
    padding: 0px 20px !important;
    background: #ff6c00;
    color: #fff;
}

/* ギャラリーウィジェット整形 */
.insta-like.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100px, 35vw), 1fr));
    gap: 4px;
}

@media screen and (max-width: 480px) {
    .insta-like.wp-block-gallery {
        grid-template-columns: repeat(auto-fit, minmax(min(90px, 35vw), 1fr));
        gap: 0px;
    }
}

.insta-like .wp-block-image {
    width: unset !important;
    margin: 0 !important;
}

.insta-like .wp-block-image img {
    aspect-ratio: 1/1;
}

/* 車種ごとページ用CSS */

/* 割込み */
.wp-block-table.is-style-stripes {
    border-bottom: 0px !important;
    table-layout: fixed;
}

/* 見出し */
.midashi {
    position: relative;
    padding: 1.25em 0.8em !important;
    color: #fff;
    font-size: 2.5rem;
    margin-top: 0px;
}

@media screen and (max-width: 480px) {
.midashi {
    padding: 0.8em !important;
}
}

.midashi_price{
    padding: 0.8em;
}

/* カスタム内訳 */

.li-spec {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 等間隔に配置 */
    gap: 10px; /* 項目間の間隔 */
    padding: 0;
    list-style: none;
    font-size: 1.5rem;
}

.li-spec li {
    border-radius: 10px;
    padding: 10px 5px 10px 15px;
    background: #efefef;
    line-height: 1.8;
    font-size: 100%;
    flex: 1 1 calc(50% - 10px); /* 2分割 */
    box-sizing: border-box; /* パディングとボーダーを含めたサイズ計算 */
　　overflow:hidden;
}

.li-spec li a {
  position: relative;
  display: inline-block;
}

.li-spec li a:after {
    font-family: "Font Awesome 6 Free";
    content: "\f101";
    font-weight:900;
    margin-left: 4px;
    color: #ff8c00;
}

.li-spec li a:hover{
color:#fa6600;
cursor: pointer;
}


@media screen and (max-width: 480px) {
    .li-spec li {
        flex: 1 1 calc(100% - 10px); /* 1列表示 */
        padding: 10px;
    }
}

.li-spec::after {
    content: "";
    display: block;
    flex: 1 1 calc(50% - 10px);
    visibility: hidden;
}


.txt-left p {
    text-align: start!important;
}

/* 帯バナー */
.fixed_banner {
    position: fixed;
    z-index: 100000 !important;
    width: 100vw; /* ビューポート全体の幅 */
    left: 0; /* 左端を固定 */
    background-color: #DC5300; /* 背景色（青） */
    color: #fff; /* テキストの色（白） */
    text-align: center; /* テキストを中央揃え */
    padding: 20px 0; /* バナーの高さ調整 */
    font-size: 1.8rem; /* フォントサイズ */
    text-decoration: none;
}

.fixed_banner.hidden {
    display: none; /* 非表示の状態 */
}

.fixed_banner a {
    display: block;
}

.fixed_banner:hover {
    opacity: 0.9; /* ホバー時の視覚効果 */
}

/* 画面幅が481px以上では非表示 */
@media screen and (min-width: 481px) {
    .fixed_banner {
        display: none;
    }
}

/* 横並び5列（表示幅によってグループの余白変更） */
@media (max-width: 750px) {
    .detailist {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        padding: 0px;
    }
}

@media (min-width: 751px) {
    .detailist {
        display: grid;
        grid-template-columns: repeat(5, 20%);
        padding: 0px;
    }
}

/* リストのスタイル */
.detailist ol {
    margin-bottom: 1em;
    line-height: 1.7;
}

.detailist li {
    font-size: 1.6rem;
    list-style: none;
    padding: 4px;
    margin: 2px;
    border-radius: 5px;
    display: block;
}

.on {
    border: 1px solid #666666;
    color: #1e1e1e;
    background: #ffdfce;
}

.off {
    border: 1px solid #efefef;
    color: #999999;
    background: #efefef;
}

@media screen and (max-width: 480px) {
.reserve {
    display: flex;
    gap: 0.5em;
    flex-direction: column;
}
}

@media screen and (max-width: 480px) {
    .wp-block-buttons>.wp-block-button.wp-block-button__width-50 {
    width: calc(100% - var(--wp--style--block-gap, .5em)* 0.5);
}
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-50 {
    border: 1px solid #e05514!important;
    transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-50.sold {
    border: 1px solid #1e1e1e!important;
    background: #1e1e1e!important;
}

.wp-block-button.sold:hover {
  opacity: 1;
  cursor:none;
}

.sold a{
    cursor: default;
}

.bg1{
background-color:#e05514;
}

.bg2{
background-color:#fff;
}

/* 車両情報カラム調整 */
.newsdetail__main__content p {
    margin: 0;
    font-size: 1.8rem;
}

.wp-block-columns {
    margin-bottom: 1em;
}

/* 車両価格表示部分 */
.price{
font-size:5rem!important;
color:#1e1e1e;
font-weight:bold;
font-family:"Arial";
line-height: 4rem !important;
}

.all-price{
font-size:5rem!important;
color:#ff0000;
font-weight:bold;
font-family:"Arial";
line-height: 4rem !important;
}

.price::after,
.all-price::after{
    content:"万円";
    clear:both;
    overflow:hidden;
    font-weight:bold;
    font-size:1.4rem;
}

.wp-container-1{
 margin:0 auto;
}

.wp-container-2,
.wp-container-3 {
    margin: 2em 0 1em 0;
}

.wp-container-4{
  margin-bottom: 0px !important;
}

.wp-container-6 {
    place-items: center !important;
    padding:0px;
}

.label{
  position: relative; /*親要素にrelative*/
}

.label p {
    position: absolute;
    top: 0%;
    left: 12%;
    padding: 5px;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
    background: #ff8c00;
    font-size: 2.5rem !important;
    font-weight: bold;
    width: 200px;
    text-align: center;
}

@media screen and (max-width: 480px) {
.label p{
    top: 0%;
    left: 27%;
}
}

.pricetitle {
    border-bottom:2px solid #ccc;
    border-top:1px solid #ccc;
    margin-bottom: 10px !important;
}

.me-comment{
font-size: 1.6rem !important;
margin:5px 0;
padding:10px;
border-top:1px solid #ccc;
border-bottom:2px solid #ccc;
border-right:2px solid #ccc;
border-left:1px solid #ccc;
border-radius:10px;
font-feature-settings:"palt" 1;
}

/* モーダル */
a.button {
display: inline-block;
margin: 50px 0;
padding: 6px 10px;
background: #2875ed;
color: #fff;
text-decoration: none;
border-radius: 3px;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}

/* モデル名改行制御 */

.br-mb {
    display: none; /* デフォルトで無効 */
}

@media screen and (max-width: 850px) {
    .br-mb {
        display: inline-block; /* スマホでは有効 */
    }
}

.kanrino{
font-size:1.2rem!important;
}

/* SOLD OUT帯 */
.wp-block-image.sold-out::before {
    content: "SOLD OUT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: red;
    color: white;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    width: 60%; /* 画像の60%の幅 */
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width:430px) {
    .wp-block-image.sold-out::before {
        font-size: 2rem;
    }
}

/* 画像を親要素として設定 */
.wp-block-image {
    position: relative;
    display: inline-block;
    max-width: 100%;
    text-align: center;
    overflow: hidden;
}

.wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-50.sold {
    border: 1px solid #1e1e1e!important;
    background: #1e1e1e!important;
    cursor:none;
}

/* ローンシミュレーション モーダル */

.wp-container-6 {
    margin-bottom:0;
}

.modal-2__wrap {
    text-align:right;
    padding: 0 0.8em;
}
.modal-2__wrap input {
    display: none;
}

.modal-2__open-label,
.modal-2__close-label {
    cursor: pointer;
}

.modal-2__open-label {
    display: inline-block;
    position:relative;
    text-align:center;
    align-items: center;
    min-width: 300px;
    margin: 0; /* autoを解除 */
    padding: .1em 2em;
    border: none;
    border-radius: 5px;
    background-color: #b22222;
    color: #ffffff;
    font-weight: 600;
    font-size: 1em;
}

.modal-2__open-label:hover {
    background-color: #fff;
    color: #b22222;
    outline: 1px solid #b22222;
}

.modal-2__open-label:after {
    font-family:"Font Awesome 6 Free";
    content:"\f054";
    margin-left:5px;
    font-weight:900;
    position: absolute;
    top:40%;
    right: 20px;
}

.modal-2 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-2__open-input:checked + label + input + .modal-2 {
    display: block;
    animation: modal-2-animation .6s;
}

.modal-2__content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 650px;
    background-color: #efefef;
    z-index: 2;
    border-radius: 5px;
}

.modal-2__close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.6;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.3em;
}

.modal-2__content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 39px 45px 40px;
    text-align: left;
    font-size: 1.6rem;
}

.modal-2__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-2-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 480px) {
    .modal-2__wrap {
        margin-top: 10px;
    }

    .modal-2__open-label {
        width: 100%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .modal-2__close-label {
        top: -17px;
        right: -4%;
    }

    .modal-2__content-wrap {
        width: 90vw;
    }

    .modal-2__content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}

.l-price {
font-size:2.3rem;
font-weight:bold;
}
.l-notice {
font-weight:normal;
}
.midashi2 {
background:#404040;
position: relative;
padding: 0.8em !important;
color: #fff;
font-size: 2.5rem;
}
@media only screen and (max-width: 480px) {
.midashi2 {
    margin: 0;
}
}
</style>