/* 機器一覧ページ*/

/* fv */
.device-list-fv {
    line-height: 2.0;
    display: block;
    align-content: center;
}

/* アンカーリンク */
.anchor-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 40px;
  width: 80%;
  margin: 0 auto;
}

.anchor-links a {
  display: flex;
  align-items: center;
  color: #000000;
  text-decoration: none;
  gap: 6px;
  white-space: nowrap;
  font-size: 2rem;
}

.anchor-links a:hover, .anchor-links a:active {
    color: #2253E6;
}

.anchor-links img {
  width: 25px;
  height: 25px;
}

#cloud-pos, 
#self-register, 
#semi-self-register, 
#kenbaiki, 
#kanni-register, 
#scanner, 
#keisuuki, 
#transceiver {
    scroll-margin-top: 10rem;
}

/* コンテンツ */
.devices-list-inner {
    max-width: 190rem;
}

.device-list-headder .subtitle {
    font-size: 2.5rem;
}

.devices-contents-wrapper {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 440px));
    gap: 12rem 6rem;
}

.device-box {
    display: flex; /*高さ揃えるために*/
    flex-direction: column;
    border-radius: 5rem;
    padding: 0 1.6rem;
}

.device-box .customise-bottom {
    flex-grow: 1;
}

.device-box h3 {
    margin-top: 2.4rem;
}

.device-box .customise-bottom p {
    font-size: 2rem;
}

.device-box .label p:first-child {
    flex: initial;
}
.device-box .label p:not(:first-child) {
    flex: initial
}

.device-box .label {
    flex-wrap: nowrap;
    display: flex;
    justify-content: center;
    gap: 2.4rem;
    max-width: 100%;
    margin: 0;
}

.device-box .label p {
    width: 200px;
}
.device-box .device-info .plu {
    font-size: 1.6rem;
    font-weight: 700;
}

.device-box .device-info .plice {
    display: inline-block;
    background: none;
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    padding: 0 0.8rem;
}

.device-box .device-info .plice::before {
    content: '';
    position: absolute;
    bottom: 0.3em; /* 下から文字の半分の高さ（1emの半分） */
    left: 0;
    width: 100%;
    height: 0.5em; /* 文字サイズの半分 */
    background-color: #E2E9FC; /* お好みの色 */
    z-index: -1; /* 背景にする */
}

.device-box .contact-button {
    font-weight: 700;
    width: 70%;
    max-width: 300px;
    margin-top: 2.4rem;
}

.device-box img {
    width: auto;
    height: 150px; 
    object-fit: contain;
    margin: 0.8rem auto;
}


@media screen and (max-width: 768px) {
/* fv */

.device-list-fv .subtitle-blue {
    margin-bottom: 2.4rem;
    margin-top: 0;
}

/* アンカーリンク */
.anchor-links {
    gap: 1.6rem;
    justify-content: center;
    width: 90%
}

.anchor-links a {
    font-size: 1.4rem;
}
.anchor-links img {
    width: 20px;
    height: 20px;
}
/* コンテンツ */
.devices-list-inner {
    width: 90%;
}
.devices-contents-wrapper {
    gap: 4rem;
}
. customise-top {
    margin-top: 0.8rem;
}
.device-list-headder {
    margin-bottom: 8rem;
}
.devices-list-inner  h2 {
    font-size: 1.4rem;
}
.device-list-headder .subtitle {
    font-size: 1.4rem;
}

.device-box h3 {
    font-size: 2rem;
}
.device-box {
    border-radius: 3rem;
}
.device-box .customise-bottom p {
    font-size: 1.6rem;
}
.device-box .device-info .plu {
    font-size: 1.4rem;
}
.device-box .device-info .plice {
    font-size: 1.8rem;
    margin: 0.8rem 0;
}
.device-box .label {
    gap: 1.6rem;
}
.device-box .label p {
    width: 150px;
}
.device-box .contact-button {
    font-size: 1.4rem;
}
.device-box img{
    height: 100px;
}
}