@charset "UTF-8";
.p-rental__pattern {
  background: #f5f5f5 url("../images/rental/rental-pattern-snowflake.webp")
    center top / 1200px auto repeat;
}

.p-rental-movie__video iframe {
  width: 100%;
  max-width: 580px;
  aspect-ratio: 580 / 326;
  height: auto;
  display: block;
  margin: 0 auto;
}

.p-rental-convenience-box {
  padding: 40px 32px;
  background: #f7f5df;
  border: 3px solid var(--color-blue);
  border-radius: 24px;
  margin-top: clamp(40px, 5vw, 60px);
}

.p-rental-convenience-box__grid,
.p-rental-merits__grid {
  display: grid;
  gap: 24px;
}

.p-rental-movie__lead {
  margin: 60px auto;
}

.p-rental-movie__product {
  width: 80%;
  max-width: 480px;
  text-align: center;
  margin: auto;
}

.p-rental-convenience-card__thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid #ececec;
  margin: 0 auto;
}

.p-rental-convenience-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-rental-convenience-card {
  text-align: center;
}

.p-rental-convenience-card__thumb {
  width: clamp(180px, 15vw, 200px);
  height: clamp(180px, 15vw, 200px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid #ececec;
}

.p-rental-convenience-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-rental-convenience-card__title {
  width: 100%;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 2px dotted #0000ab;
  display: inline-block;
  padding-bottom: 5px;
}

.p-rental-convenience-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 15px;
}

.p-rental-convenience-box__cta {
  margin-top: 15px;
}

.c-btn--blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #005f91;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 50px;
  transition: opacity 0.3s;
}

.c-btn--blue:hover {
  opacity: 0.8;
}

/* 右三角アイコン */
.c-btn--blue::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 10px;
}

@media (min-width: 1025px) {
  .p-rental-convenience-box__grid,
  .p-rental-merits__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .p-rental-install-group__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .p-rental-convenience-box__grid,
  .p-rental-merits__grid,
  .p-rental-install-group__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .c-ribbon-heading {
    width: 95%;
    height: 60px;
  }
  .p-rental-convenience-box__grid,
  .p-rental-merits__grid,
  .p-rental-install-group__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-rental-convenience-box__grid,
  .p-rental-merits__grid {
    gap: 8px;
  }
  .p-rental-convenience-box {
    padding: 32px;
  }
  .p-rental-delivery__intro {
    display: block;
  }
  .p-rental-convenience-box__grid,
  .p-rental-delivery__gallery {
    grid-template-columns: 1fr;
  }
  .p-rental-convenience-box__cta {
    margin-bottom: 15px;
  }
}

/* -----------------------------------------------------
  p-rental-delivery
----------------------------------------------------- */
.p-rental-delivery .l-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.p-rental-delivery__intro {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 599px) {
  .p-rental-delivery__intro {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

.p-rental-delivery__icon {
  flex: 0 0 160px;
}

@media (max-width: 599px) {
  .p-rental-delivery__icon {
    flex: 0 0 auto;
    width: 140px;
  }
}

.p-rental-delivery__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 3px solid #005488;
}

.p-rental-delivery__text {
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Gallery Section */
.p-rental-delivery__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

@media (max-width: 599px) {
  .p-rental-delivery__gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.p-rental-delivery__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* -----------------------------------------------------
  p-rental-merits
----------------------------------------------------- */
.p-rental-merits .l-container {
  max-width: 1200px;
}

.p-rental-merits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .p-rental-merits__grid {
    grid-template-columns: repeat(2, 1fr); /* TBは2列 */
  }
}

@media (max-width: 599px) {
  .p-rental-merits__grid {
    grid-template-columns: 1fr; /* SPは1列 */
  }
}

/* Card Style */
.p-rental-merit-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 4px solid #e65500; /* オレンジの太枠 */
  height: 100%;
}

.p-rental-merit-card__body {
  padding: 30px;
  text-align: center;
  flex-grow: 1; /* ここで高さを稼いで画像を下に押しやる */
}

.p-rental-merit-card__catch {
  font-size: 1.1rem;
  font-weight: bold;
  color: #e65500;
  margin-bottom: 5px;
}

.p-rental-merit-card__title {
  font-size: 2rem;
  font-weight: bold;
  color: #e65500;
  margin-bottom: 20px;
  line-height: 1.2;
}

.p-rental-merit-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left; /* 本文は左寄せが読みやすい */
}

.p-rental-merit-card__photo {
  width: 100%;
  line-height: 0; /* 下の隙間消し */
}

.p-rental-merit-card__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* -----------------------------------------------------
  p-rental-install
----------------------------------------------------- */
.p-rental-install .l-container {
  max-width: 1200px;
}

/* マーカー風ノート */
.p-rental-install__note {
  margin-top: 15px;
  text-align: center;
}

.p-rental-install__note span {
  background: linear-gradient(transparent 60%, #ffff99 60%); /* 黄色マーカー */
  padding: 0 5px;
  font-weight: bold;
}

.p-rental-install-group {
  margin-top: 40px;
}

.p-rental-install-group__title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #005488;
}

/* Grid Layout */
.p-rental-install-group__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

@media (max-width: 1024px) {
  .p-rental-install-group__grid {
    grid-template-columns: repeat(2, 1fr); /* TB 2列 */
  }
}

@media (max-width: 599px) {
  .p-rental-install-group__grid {
    grid-template-columns: repeat(2, 1fr); /* SP 2列 */
    gap: 10px;
  }
}

/* Step Card */
.p-rental-install-step {
  display: flex;
  flex-direction: column;
}

.p-rental-install-step__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  vertical-align: bottom;
}

.p-rental-install-step__caption {
  display: flex;
  align-items: center;
  background: #eee; /* 薄いグレー背景 */
  flex-grow: 1;
}

.p-rental-install-step__no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  /* SVGを使わない場合のCSSグラデ再現例 */
  background: linear-gradient(135deg, #0000b4 0%, #004e97 100%);
}

.p-rental-install-step__text {
  padding: 5px 10px;
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1.4;
}

/* CTA */
.p-rental-install__cta {
  margin-top: 50px;
  text-align: center;
}
