.sp-only{
  display: none;
}

@media screen and (max-width: 500px) { 
  .pc-only{
    display: none;
  }
  .sp-only{
    display: block;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ムービー */
.top-hero-video {
  width: 100%;
  position: relative;
  line-height: 0;
  background-color: #fff;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  /* visibility: hidden; */
}

/* 再生待ち画像を設定 */
/* .hero-video.is-ready {
  visibility: visible;
}

.video-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-fallback.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
} */

.hero-txt{
  padding: 0 30px;
}

/* ベネフィット */
.benefit-section {
  background-size: cover;
  padding: 40px 0px;
  color: #1a2453;
}

.benefit-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.benefit-box {
  border-left: 1.5px solid #1a2453;
  flex: 1;
  min-width: 280px;
  padding: 30px 20px;
  text-align: center;
}

.benefit-box:first-child {
  border-left: none;
}

.benefit-box img {
  width: 250px;
  height: 227px;
  margin-bottom: -20px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.benefit-box h3 {
  font-size: 2.1rem;
  margin-bottom: 15px;
  font-weight: bold;
  color: #1a2453;
}

.benefit-box p {
  font-size: 16px;
  line-height: 1.5;
  padding : 0 30px;
}

@media screen and (max-width: 500px) { 
  .benefit-section{
    padding-bottom: 50px;
  }
  .benefit-box{
    border-left: none;
    padding: 5px 20px;
  }
  .benefit-box p{
    margin-top: -15px;
    padding: 0 15px;
  }
  .merrit-image{
    margin-top: 20px;
  }
}

/* メリット */
.merrit-wrap{
  margin: 30px auto!important;
}


@media screen and (max-width: 767px) {
  .merrit-txt {
    padding: 0 30px;
  }
}

.down-arrow-image{
  padding: 0 30px;
}


@media screen and (max-width: 768px) { 
  .rotate-image{
    transform: rotate(180deg);
    margin: 20px 0!important;
  }
}

@media screen and (max-width: 879px) { 
  .benefit-box{
    border-left: none;
  }
}


/* レンタル */
.rental-header img {
  width: 100%;
  height: auto;
  display: block;
}

.rental-lineup-section {
  background-color: #fff;
  text-align: center;
  color: #1a2453;
}

.rental-lineup-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.rental-title {
  font-size: 2.1rem;
  font-weight: bold;
  margin: 40px 0 10px;
}

.rental-sub {
  font-size: 16px;
  color: #1a2453;
  margin-top: -10px;
  margin-bottom: 40px;
}

.rental-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 0px; 
  justify-items: center;
}

.rental-item {
  width: 240px;
  margin: 0 auto;
}

.rental-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
}

.rental-caption {
  font-size: 16px;
  line-height: 1.4;
  font-weight: bold;
}

.cube-caption{
  margin-top: -20px;
}

@media screen and (max-width: 500px) {
  .rental-sub{
    padding: 0 15px;
  }
  .rental-items{
    display: block;
  }
}

/* 料金表 */
.price-list{
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 80px;
    padding: 0 15px;
}

.plice-container{
  padding: 0 30px;
}

.price-title{
    text-align: left;
    margin-left: 50px;
    margin-top: 100px;
    font-size: 2.1rem;
    color: #1a2453;
}

.price-table-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


.price-table {
  min-width: 700px;
  margin: 0 auto;
  margin-top: 80px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0e0e66;
}

.price-table .table-header,
.price-table .table-row {
  display: flex;
  background: #ECF3F1;
}

.price-table .table-header {
  background-color: #0e0e66;
  color: white;
  font-weight: bold;
}

.price-table .col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  text-align: center;
  line-height: 1.4;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  
}

.price-table .col:first-child {
  border-left: none;
}

.price-table > .table-row:last-of-type .col {
  border-bottom: none;
}

.price-table .item-name {
  flex: 2;
  text-align: left;
  justify-content: flex-start;
  font-weight: bold;
  font-size: 16px;
}

.price-table .item-name strong {
  color: #0e0e66;
  font-size: 24px;
  margin-right: 5px;
}

.price-title-sp {
  text-align: center;
  margin-top: 20px;
}

.table-sp{
  min-width: 300px!important;
  margin-top: 0!important;
  margin-bottom: 50px;
  max-width:300px;
}

.table-sp .col{
  font-size: 11px!important;
}

.price-caption{
    text-align: left;
    padding: 0 30px;
    font-size: 16px;
    color: #1a2453;
    margin-bottom: 150px;
}

@media screen and (max-width: 500px) {
  .price-title{
    margin-left: 15px;
    margin-top: 80px;
  }
  /* .price-list{
    max-width: 400px;
    margin-top: -20px;
    padding: 0 15px;
  } */

  .price-list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .price-list img {
    width: 550px;
    margin-top: 10px; 
    height: auto;
    display: block;
  }

 .price-table-scroll-container {
    padding: 0 8px;
  }

  .price-table {
    min-width: 720px; 
  }

  .price-table .table-row,
  .price-table .table-header {
    display: table-row;
  }

  .price-table .col {
    display: table-cell;
    white-space: normal;
    word-break: break-word;
    padding: 12px 10px;
    font-size: 14px;
  }

  .price-table .item-name {
    display: table-cell;
    text-align: left;
    font-size: 14px;
  }

  .price-caption{
    font-size: 11px;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 80px;
    margin-top: -30px;
  }
}

/* ご利用の流れ */
.flow-section {
  background-color: #ECF3F1;
  padding: 150px 20px;
  text-align: center;
  color: #1a2453;
}

.flow-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.flow-title {
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.flow-desc {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 50px;
  padding: 0 30px;
}

.flow-steps-single{
  padding: 0 20px;
}

.flow-steps-single img {
  max-width: 1000px;
  height: auto;
  margin-bottom: 60px;
}

.flow-free {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 30px 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.free-icon {
  margin-right: 20px;
}

.free-icon img {
  width: 50px;
  height: auto;
}

.free-text h3 {
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  align-items: center;
  gap: 10px;
  border-bottom: 3px solid #1a2453;
  display: inline-block;
  margin-bottom: 30px;
}

.free-text h3 img {
  width: 70px;
  height: auto;
}

.free-text p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

@media screen and (max-width: 500px) {
 .flow-steps-sp{
  max-width: 400px;
  margin: 0 auto;
 }
}

/* 導入サポート */
.signage-support-section {
  padding: 120px 20px;
  background-color: #fff;
}

.support-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.support-heading .label-box img {
  display: flex;
  width: 60%;
  height: auto;
  margin: 0 auto;
  margin-bottom: 20px;
}

/* .support-box {
  background-image: url('/wp-content/themes/sanwa2/assets/images/support-bg.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  position: relative;
  background-size: contain;          
  background-repeat: no-repeat;      
  background-position: center top;   
  padding: 420px 20px 40px;
  margin-top: 30px;
  overflow: hidden;
} */

.support-text {
  padding: 20px 20px;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.support-button {
  text-align: center;
}


.support-button a img {
  width: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-button a img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 500px) {
 .support-heading .label-box img{
  margin: 0 auto;
  margin-bottom: 10px;
 }
 /* .support-box {
     background-image: url('/wp-content/themes/sanwa2/assets/images/support-bg-sp.jpg');
  } */
}

/* テスト */
.support-box {
  position: relative;
  background-color: #1a2453; 
  border-radius: 15px;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  /* min-height: 670px; */
  color: #fff;
  /* display: flex; */
  justify-content: center;
  align-items: flex-end;
}

.support-content {
  z-index: 1;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 60px;
  padding-top:30px;
  position: relative;
}

.support-text{
  /* margin-bottom: -20px; */
}

.support-button img {
  width: 380px;
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  margin-top: 30px;
}

.support-decoration {
  /* position: absolute; */
  z-index: 0;
  pointer-events: none;
}

.support-decoration.top {
  /* top: 0;
  left: 0;
  width: 100%; */
  height: auto;
}

.support-decoration.bottom {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 100px;
  height: auto;
}

@media screen and (max-width: 670px) {
  .support-box {
    border-radius: 8px;
  }

  .support-decoration.bottom {
    width: 50px;
  }
}

/* 補助金サポート */
.hojokin-wrap{
  padding: 30px 20px!important;
}

.up-arrow-image{
  padding: 0 30px;
}

.hojokin-txt{
  margin-top: 20px!important;
}

@media screen and (max-width: 500px) {
 .hojokin-txt{
  margin-top: 30px!important;
 }
}
@media screen and (max-width: 767px){
  .hojokin-txt{
    padding: 0 30px;
  }
}

/* よくあるご質問 */
.faq-section {
  background: #fff;
  padding: 150px 20px;
  text-align: left;
}

.faq-inner {
  max-width: 880px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #1a2453;
}

.faq-item {
  margin-bottom: 12px;
}

.faq-question {
  width: 100%;
  background-color: #1a2453;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 5px 24px;
  font-size: 2.1rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background-color: #2e3b84;
}

.faq-answer {
  color: #1a2453;
  display: none;
  padding: 16px 24px;
  font-size: 16px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-contact {
  text-align: center;
  margin-top: 60px;
}

@media screen and (max-width: 500px) {
 .faq-question{
  font-size: 16px;
 }
}

/* お問い合わせボタン */
.contact-button img {
  max-width: 220px;
  height: auto;
}
.contact-button img:hover {
  transform: scale(1.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.support-contact img {
  margin-top: 50px;
  width: 400px;
  height: auto;
}
@media screen and (max-width: 500px) {
 .support-contact img{
  width: 200px!important;
  margin: 0 auto;
 }
}
.support-contact img:hover {
  transform: scale(1.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-contact img {
  max-width: 220px;
  height: auto;
}
.faq-contact img:hover {
  transform: scale(1.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}