/* ===========================================
   Base layout
   =========================================== */

body {
  grid-template-rows: 0 1fr max-content;
}

.main {
  overflow: hidden;
  padding-top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xxxl);
  padding-bottom: var(--gap-xxxl);
}

@media (min-width: 768px) {
  .main {
    gap: var(--gap-xxxxl);
    padding-bottom: var(--gap-xxxxl);
  }
}

/* ===========================================
   Header
   =========================================== */

.header {
  width: calc(100% - var(--content-spacing) * 2);
  margin-inline: var(--content-spacing);
  border-radius: 50px;
  border-bottom: none;
  position: fixed;
  top: 20px;
  background-color: rgb(from var(--header-color) r g b/0.8);
}

@media (min-width: 890px) {
  .header {
    position: absolute;
    margin-inline-start: 0;
    margin-inline-end: 0;
    width: 100%;
    border-radius: 0;
    top: 0;
    padding-block: var(--p-md);
    border-bottom: none;
    background-color: rgb(from var(--header-color) r g b/0.7);
  }

  .header .link.logo:hover {
    opacity: 0.7;
    background-color: unset;
  }

  .header .list .item .link:hover {
    background-color: transparent;
  }
}

/* ===========================================
   Hamburger menu
   =========================================== */

.hamburger-menu {
  top: 30px;
  left: initial;
  right: calc(var(--content-spacing) + 20px);
}

@media (min-width: 890px) {
  .hamburger-menu {
    top: 20px;
    right: var(--content-spacing);
  }
}

/* ===========================================
    Navigation
    =========================================== */

.navigation .contents .information {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding: var(--p-lg) 0;
  border-top: 1px solid var(--navigation-border-color);
  margin-top: var(--p-lg);
}

.navigation .contents .information .block {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  color: var(--navigation-text-color);
}

.navigation .contents .information .block-tel {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--gap-md);
}

.navigation .contents .information .text {
  font-size: var(--text-sm);
  color: var(--navigation-text-color);
}

.navigation .contents .information .tel {
  font-size: var(--text-lg);
  color: var(--navigation-text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.navigation .contents .information .tel::before {
  font: var(--fa-font-solid);
  content: '\f095';
  display: inline-block;
  font-size: var(--text-md);
  color: var(--navigation-text-color);
}

.navigation .contents .information .tel:hover {
  color: var(--main-color);
  opacity: 0.7;
}

.navigation .contents .information .block-text {
  font-size: var(--text-xs);
  color: var(--navigation-text-color);
}

.navigation .contents .information .block-text-title {
  font-weight: var(--weight-bold);
  margin-right: var(--gap-sm);
}

/* ===========================================
    First view
    =========================================== */

@keyframes slide-animation-01 {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    transform: scale(1.15);
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-animation-02 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
    transform: scale(1);
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  70% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
  }
}

@keyframes slide-animation-03 {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0;
    transform: scale(1);
  }
  70% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}
.fv {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100vw;
  height: 100%;
  min-height: 550px;
  padding-inline: var(--content-spacing);
  padding-top: 120px;
  overflow: hidden;
}

.fv .picture {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.fv .picture .img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv .title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  font-weight: var(--weight-bold);
  font-size: var(--text-xxl);
  color: var(--text-contrast-color);
  text-align: center;
  letter-spacing: var(--p-sm);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  word-break: auto-phrase;
  gap: var(--p-lg);
  padding: var(--p-md);
}

.fv .title .fv-sub,
.fv .title .fv-main {
  display: block;
}

.fv .title .fv-main {
  padding: 0.2em 0.5em;
  background-color: var(--contents-bg-color);
  text-align: center;
  font-size: 29px;
  color: var(--main-color);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: Meiryo, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  text-shadow: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  width: calc((1em + var(--p-sm)) * 10 + 2em);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: auto;
}

.fv .title .fv-main .fv-main-area,
.fv .title .fv-main .fv-main-copy {
  display: block;
}

.fv .title .fv-main .fv-main-area {
  color: var(--main-color);
  font-family: Meiryo, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

@media (max-width: 767px) {
  .fv .title .fv-main {
    width: auto;
  }

  .fv .title .fv-main .fv-main-area {
    font-size: 13px;
    line-height: 33px;
    letter-spacing: -0.52px;
  }
}

.fv .title .fv-sub-container {
  display: flex;
  padding: 5px 15px;
  justify-content: center;
  background-color: var(--main-color);
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.fv .title .fv-sub {
  font-size: 16px;
  color: #ffffff;
  font-style: normal;
  font-weight: 700;
  line-height: 133.5%;
  text-shadow: 0 0 4px #00322d;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: auto;
}

.fv .title .fv-sub-line2 {
  display: block;
}

@media (min-width: 768px) {
  .fv {
    gap: 0;
    height: 800px;
  }

  .fv .title {
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
    line-height: var(--line-height-md);
    text-align: center;
    font-size: var(--text-4xl);
  }

  .fv .title .fv-main {
    font-size: 48px;
    width: auto;
  }

  .fv .title .fv-sub {
    font-size: 28px;
  }

  .fv .sub-title {
    font-size: var(--text-xl);
    margin-bottom: 32px;
  }
}

@media (min-width: 890px) {
  .fv .title .fv-main {
    font-size: 48px;
    padding-bottom: 0;
  }

  .fv .title .fv-sub-line2 {
    display: inline;
  }
}

/* ===========================================
    Section (common)
    =========================================== */

.section {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}

.section .error {
  width: 100%;
  display: block;
  text-align: center;
  grid-column: 4 span;
  padding-block: var(--p-xl);
}

@media (min-width: 768px) {
  .section {
    padding-inline: var(--content-spacing);
  }
}

/* ===========================================
    Section links
    =========================================== */

.section-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-lg);
  padding-inline: var(--content-spacing);
}

.section-links .link {
  max-width: 360px;
  width: 100%;
  display: block;
  border: 2px solid #c7c9d4;
  border-radius: 2px;
  background-color: #f6f7ff;
  text-decoration: none;
  transition: 0.3s;
}

.section-links .link .inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 4px;
  padding-left: 69.22px;
  padding-right: var(--p-xl);
  padding-top: var(--p-md);
  padding-bottom: var(--p-md);
}

.section-links .link .inner::before {
  display: none !important;
  content: none !important;
}

.section-links .link .inner::after {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  margin: auto;
  right: 16px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  z-index: 2;
}

.section-links .link .inner .ico-bnr-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}

.section-links .link .inner .title {
  color: #333;
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
}

.section-links .link .inner .sub-title {
  color: #333;
  font-size: var(--text-xs);
}

.section-links .link:hover {
  background-color: rgb(25 29 128 / 9%);
  border-color: var(--main-color);
}

@media (min-width: 768px) {
  .section-links .link {
    max-width: 460px;
  }

  .section-links .link .inner {
    padding-left: 101.58px;
    padding-top: var(--p-lg);
    padding-bottom: var(--p-lg);
  }

  .section-links .link .inner::after {
    right: 22px;
  }

  .section-links .link .inner .ico-bnr-search {
    width: 49px;
    height: 49px;
    left: 31px;
  }

  .section-links .link .inner .title {
    font-size: var(--text-xl);
  }

  .section-links .link .inner .sub-title {
    font-size: 15px;
  }
}

@media (min-width: 900px) {
  .section-links {
    flex-direction: row;
    justify-content: space-between;
  }

  .section-links .link {
    max-width: initial;
    width: 50%;
  }
}

@media (min-width: 960px) {
  .section-links .link .inner {
    padding-left: 100px;
  }

  .section-links .link .inner::after {
    right: 32px;
  }
}

/* ===========================================
   Section corner
   =========================================== */

.section-corner .corner-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.section-corner .corner-wrapper .title {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding-inline: var(--content-spacing);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
}

.section-corner .corner-wrapper .title .cornerIcon {
  fill: var(--main-color);
  width: 40px;
  height: 40px;
}

.section-corner .corner-wrapper .title .description {
  font-size: var(--text-xs);
  line-height: 1.2;
  font-weight: 500;
}

@media (min-width: 768px) {
  .section-corner .corner-wrapper .title {
    padding: 0;
  }
}

body.home .section-corner .corner-wrapper .title {
  font-size: 20px;
  font-weight: 350;
  line-height: 1.5;
}

body.home .section-corner .corner-wrapper .title::before {
  height: 24px;
  background: linear-gradient(
    to top,
    var(--main-color) 0 62.5%,
    var(--text-contrast-color) 62.5% 100%
  );
}

@media (min-width: 768px) {
  body.home .section-corner .corner-wrapper .title {
    font-size: var(--text-xl);
  }

  body.home .section-corner .corner-wrapper .title::before {
    height: 40px;
  }
}

body.home .section-corner.section-news .corner-wrapper {
  display: flex;
  flex-direction: column;
  border: none;
  background: transparent;
  padding: 0;
}

@media (max-width: 767px) {
  body.home .section-corner.section-news .corner-wrapper {
    padding: 0 12px;
  }
}

body.home .section-corner.section-news .corner-wrapper .title {
  background: transparent;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  border-left: 3px solid #111;
  padding: 2px 5px 0 15px;
  gap: 15px;
}

body.home .section-corner.section-news .corner-wrapper .title::before {
  display: none;
}

body.home .section-corner.section-news .corner-wrapper .title .cornerIcon {
  display: none;
}

@media (min-width: 768px) {
  body.home .section-corner.section-news .corner-wrapper .title {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
}

@media (max-width: 767px) {
  body.home .section-corner.section-news .corner-wrapper .title {
    flex-direction: column;
    align-items: flex-start;
    padding: 1px 5px 0 14px;
    font-size: 20px;
  }
}

body.home .section-corner.section-news .corner-wrapper .description {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 350;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ===========================================
   Section ranking
   =========================================== */

.section-ranking {
  padding-inline: var(--content-spacing);
}

.section-ranking .title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 0.5em;
  border-left: 3px solid #111;
}

.section-ranking .title .english {
  font-size: var(--text-lg);
  color: #000;
  font-weight: var(--weight-bold);
}

.section-ranking .title .sub {
  font-size: var(--text-sm);
  color: var(--text-color);
  font-weight: var(--weight-normal);
}

@media (min-width: 768px) {
  .section-ranking .title {
    flex-direction: row;
    gap: var(--gap-md);
    align-items: center;
    font-size: var(--text-lg);
  }
}

/* ===========================================
   Section news
   =========================================== */

.section-news .posts {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  padding-inline: var(--p-lg);
  margin-inline: var(--content-spacing);
}

.section-news .posts .post-news {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding-block: var(--p-lg);
  border-top: 1px solid var(--border-color);
}

.section-news .posts .post-news:nth-child(1) {
  border: none;
}

.section-news .posts .post-news .heading {
  order: 2;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-md);
  text-align: left;
  color: var(--text-color);
  font-weight: var(--weight-normal);
}

.section-news .posts .post-news .heading .link {
  color: var(--text-color);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.section-news .posts .post-news .heading .link:hover {
  color: var(--main-color);
}

.section-news .posts .post-news .time {
  order: 1;
  color: var(--text-sub-color);
  display: flex;
  align-items: center;
}

.section-news .posts .post-news .new::after {
  content: 'NEW';
  font-size: var(--text-xs);
  color: var(--text-contrast-color);
  line-height: var(--line-height-md);
  background-color: var(--new-color);
  padding-inline: 10px;
  margin-left: 10px;
  border-radius: 8px;
}

.section-news .post-nothing {
  padding-block: var(--p-xl);
  text-align: center;
  font-size: var(--text-sm);
}

@media (min-width: 768px) {
  .section-news .posts {
    position: relative;
    padding-top: var(--p-xl);
    padding-bottom: var(--p-xl);
    padding-left: var(--p-xl);
    padding-right: var(--p-xl);
    background: var(--contents-bg-color);
    gap: var(--gap-lg);
    margin-inline-start: 0;
    margin-inline-end: 0;
  }

  .section-news .posts .post-news {
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    border: none;
    display: flex;
    flex-direction: row;
  }

  .section-news .posts .post-news .heading {
    width: calc(100% - 160px - var(--gap-md));
  }

  .section-news .posts .post-news .time {
    width: 160px;
  }

  .section-news .button-link {
    margin-top: 20px;
  }

  .section-news .post-nothing {
    padding-block: 0;
    font-size: var(--text-md);
  }
}

body.home .section-news .posts {
  border: 1px solid var(--border-color);
  margin-inline: 0;
  padding-inline: var(--content-spacing);
  background: var(--contents-bg-color);
}

@media (min-width: 768px) {
  body.home .section-news .posts {
    padding-inline: 20px;
  }
}

body.home .section-news .posts .post-news .heading .link:hover {
  color: var(--main-color);
}

body.home .section-news .posts .post-news .new::after {
  color: var(--new-color);
  background-color: unset;
  font-size: var(--text-md);
  font-weight: 700;
  padding-inline: 5px;
}

/* ===========================================
   Section swiper
   =========================================== */

.section-swiper .scube-typeA-pagenation,
.section-swiper .scube-typeB-pagenation {
  margin-top: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  .section-swiper {
    padding-inline: var(--content-spacing);
  }

  .section-swiper .scube-typeA-pagenation,
  .section-swiper .scube-typeB-pagenation {
    display: none;
  }
}

/* ===========================================
   Scube type A
   =========================================== */

.scube-typeA .item {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--contents-bg-color);
  height: 100%;
}

.scube-typeA .item:hover {
  border-color: var(--main-color);
}

.scube-typeA .item:hover .pic {
  opacity: 0.7;
}

.scube-typeA .pic.stage-negotiation {
  position: relative;
}

.scube-typeA .pic.stage-negotiation::after {
  content: '商談中';
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 80px;
  height: 20px;
  background: #e0af1b;
  border-radius: 8px;
  color: var(--text-contrast-color);
  font-size: var(--text-sm);
  line-height: 1.3;
  text-align: center;
  translate: -50% -50%;
}

.scube-typeA .pic img {
  width: 100%;
  aspect-ratio: 1;
  -o-object-fit: cover;
  object-fit: cover;
}

.scube-typeA .info {
  background-color: var(--contents-bg-color);
  flex-grow: 1;
  font-size: var(--text-md);
  padding: var(--p-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.scube-typeA .price {
  font-size: var(--text-price);
  font-weight: var(--weight-bold);
  color: var(--price-color);
  flex-shrink: 0;
}

.scube-typeA .price .unit {
  font-size: 0.7em;
}

.scube-typeA .spec {
  font-size: var(--text-sm);
  flex: 1 1 auto;
  min-height: 60px;
}

.scube-typeA .spec .rimawari {
  font-weight: var(--weight-bold);
}

.scube-typeA .spec .rimawari .red {
  color: var(--price-color);
}

.scube-typeA .comment {
  display: none;
}

.scube-typeA .link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.swiper-initialized .scube-typeA {
  display: flex;
  width: 100%;
  transform: none;
  gap: initial;
}

.swiper-wrapper.scube-typeA .swiper-slide .item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.swiper-wrapper.scube-typeA .swiper-slide .item .info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  justify-content: flex-start;
}

.swiper-wrapper.scube-typeA .swiper-slide .item .spec {
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1 1 auto;
  min-height: 60px;
}

.swiper-wrapper.scube-typeA .swiper-slide .item .spec .address,
.swiper-wrapper.scube-typeA .swiper-slide .item .spec .detail,
.swiper-wrapper.scube-typeA .swiper-slide .item .spec .structure {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.swiper-wrapper.scube-typeA .swiper-slide .item .comment {
  font-size: var(--text-sm);
  padding-top: var(--p-md);
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  flex-shrink: 0;
  margin-bottom: 0;
  align-self: stretch;
}

/* ===========================================
   Scube type B
   =========================================== */

.scube-typeB {
  display: flex;
}

.scube-typeB .item {
  display: flex;
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--contents-bg-color);
}

.scube-typeB .item:hover {
  border-color: var(--main-color);
}

.scube-typeB .item:hover .pic img {
  opacity: 0.7;
}

.scube-typeB .pic {
  width: 120px;
  flex-shrink: 0;
}

.scube-typeB .pic img {
  width: 120px;
  height: 120px;
  aspect-ratio: 1;
  -o-object-fit: cover;
  object-fit: cover;
}

.scube-typeB .info {
  width: calc(100% - 120px);
  background-color: var(--contents-bg-color);
  font-size: var(--text-md);
  padding: 0 var(--p-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.scube-typeB .price {
  font-size: var(--text-price);
  font-weight: var(--weight-bold);
  color: var(--price-color);
}

.scube-typeB .price .unit {
  font-size: 0.7em;
}

.scube-typeB .spec {
  height: calc(var(--line-height-md) * 4em);
  line-height: var(--line-height-md);
  font-size: var(--text-sm);
}

.scube-typeB .spec .rimawari {
  font-weight: var(--weight-bold);
}

.scube-typeB .spec .rimawari .red {
  color: var(--price-color);
}

.scube-typeB .comment {
  display: none;
}

.scube-typeB .link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (min-width: 768px) {
  .scube-typeB {
    flex-wrap: wrap;
    gap: var(--gap-md);
  }

  .scube-typeB .item {
    width: calc(50% - (var(--gap-md) / 2));
  }

  .scube-typeB .item .comment {
    display: block;
    font-size: var(--text-sm);
    padding-top: var(--p-md);
    margin-top: var(--p-md);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .scube-typeB .pic {
    width: 140px;
  }

  .scube-typeB .pic img {
    width: 100%;
    height: 100%;
  }

  .scube-typeB .info {
    width: calc(100% - 140px);
  }
}

@media (min-width: 900px) {
  .scube-typeB .item .pic {
    width: 200px;
  }

  .scube-typeB .item .info {
    width: calc(100% - 200px);
  }
}

/* ===========================================
  Scube type C
  =========================================== */

.scube-typeC {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding-inline: var(--content-spacing);
}

.scube-typeC .item {
  display: flex;
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--contents-bg-color);
}

.scube-typeC .item:hover {
  border-color: var(--main-color);
}

.scube-typeC .item:hover .pic img {
  opacity: 0.7;
}

.scube-typeC .pic {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}

.scube-typeC .pic img {
  width: 130px;
  height: 130px;
  aspect-ratio: 1;
  -o-object-fit: cover;
  object-fit: cover;
}

.scube-typeC .info {
  background-color: var(--contents-bg-color);
  flex-grow: 1;
  font-size: var(--text-md);
  padding: var(--p-md);
  height: 130px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  overflow: hidden;
}

.scube-typeC .price {
  font-size: var(--text-price);
  font-weight: var(--weight-bold);
  color: var(--price-color);
}

.scube-typeC .price .unit {
  font-size: 0.7em;
}

.scube-typeC .spec {
  font-size: var(--text-sm);
}

.scube-typeC .spec .rimawari {
  font-weight: var(--weight-bold);
}

.scube-typeC .spec .rimawari .red {
  color: var(--price-color);
}

.scube-typeC .comment {
  display: none;
}

.scube-typeC .link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (min-width: 768px) {
  .scube-typeC {
    padding-inline-start: 0;
    padding-inline-end: 0;
  }

  .scube-typeC .item {
    display: grid;
    grid-template-columns: 392px 1fr;
  }

  .scube-typeC .item .comment {
    display: block;
    font-size: var(--text-sm);
    padding-top: var(--p-md);
    margin-top: var(--p-md);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .scube-typeC .item .pic img {
    width: 100%;
    height: 100%;
  }

  .scube-typeC .info {
    height: auto;
  }
}

/* ===========================================
  Scube ranking
  =========================================== */

.scube-ranking {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  margin-inline: var(--content-spacing);
}

.scube-ranking .item {
  display: flex;
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--contents-bg-color);
}

.scube-ranking .item:hover {
  border-color: var(--main-color);
}

.scube-ranking .item:hover .pic img {
  opacity: 0.7;
}

.scube-ranking .item::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  font-size: 11px;
  font-weight: bold;
}

.scube-ranking .item:nth-child(1)::after {
  content: '1';
  background: #f7d019;
}

.scube-ranking .item:nth-child(2)::after {
  content: '2';
  background: #ddd;
}

.scube-ranking .item:nth-child(3)::after {
  content: '3';
  background: #854f41;
  color: #fff;
}

.scube-ranking .pic {
  width: 130px;
  flex-shrink: 0;
}

.scube-ranking .pic img {
  width: 130px;
  height: 130px;
  aspect-ratio: 1;
  -o-object-fit: cover;
  object-fit: cover;
}

.scube-ranking .info {
  background-color: var(--contents-bg-color);
  flex-grow: 1;
  font-size: 0 var(--text-md);
  padding: var(--p-md);
  height: 130px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  overflow: hidden;
}

.scube-ranking .price {
  font-size: var(--text-price);
  font-weight: var(--weight-bold);
  color: var(--price-color);
}

.scube-ranking .price .unit {
  font-size: 0.7em;
}

.scube-ranking .spec {
  font-size: var(--text-sm);
}

.scube-ranking .spec .rimawari {
  font-weight: var(--weight-bold);
}

.scube-ranking .spec .rimawari .red {
  color: var(--price-color);
}

.scube-ranking .comment {
  display: none;
}

.scube-ranking .link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (min-width: 900px) {
  .scube-ranking {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    margin-inline: 0;
  }

  .scube-ranking .item {
    display: grid;
    grid-template-columns: 130px 1fr;
  }

  .scube-ranking .item .pic {
    width: 130px;
  }

  .scube-ranking .item .pic img {
    width: 100%;
    height: 100%;
  }
}

/* ===========================================
   Utility
   =========================================== */

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===========================================
   Skeleton loading
   =========================================== */

@keyframes skeltonLoading {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.skelton-typeA-list {
  display: grid;
  grid-template-areas: 200px 10px 10px 10px;
  gap: var(--gap-md);
  width: calc((100% - 20px) / 1.2);
  margin-inline: auto;
}

.skelton-typeA-list:not(:nth-child(1)) {
  display: none;
}

.skelton-typeA-list .item-image {
  aspect-ratio: 1;
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.skelton-typeA-list .item-image::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  animation: skeltonLoading 1.2s ease-in-out infinite;
}

.skelton-typeA-list .item {
  height: 18px;
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.skelton-typeA-list .item::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  animation: skeltonLoading 1.2s ease-in-out infinite;
}

.skelton-typeB-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--gap-md);
  min-width: 272px;
  width: calc((100% - 20px) / 1.2);
  margin: 0 auto;
}

.skelton-typeB-list:not(:nth-child(1)) {
  display: none;
}

.skelton-typeB-list .item-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.skelton-typeB-list .item-image {
  aspect-ratio: 1;
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.skelton-typeB-list .item-image::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  animation: skeltonLoading 1.2s ease-in-out infinite;
}

.skelton-typeB-list .item {
  height: 18px;
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.skelton-typeB-list .item::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  animation: skeltonLoading 1.2s ease-in-out infinite;
}

.skelton-typeC-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--gap-md);
}

.skelton-typeC-list .item-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.skelton-typeC-list .item-image {
  aspect-ratio: 1;
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.skelton-typeC-list .item-image::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  animation: skeltonLoading 1.2s ease-in-out infinite;
}

.skelton-typeC-list .item {
  height: 18px;
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.skelton-typeC-list .item::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  animation: skeltonLoading 1.2s ease-in-out infinite;
}

.skelton-ranking-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--gap-md);
}

.skelton-ranking-list .item-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.skelton-ranking-list .item-image {
  aspect-ratio: 1;
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.skelton-ranking-list .item-image::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  animation: skeltonLoading 1.2s ease-in-out infinite;
}

.skelton-ranking-list .item-block {
  height: 18px;
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.skelton-ranking-list .item-block::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  animation: skeltonLoading 1.2s ease-in-out infinite;
}

@media (min-width: 460px) {
  .skelton-typeA-list {
    width: calc((100% - 20px) / 1.8);
  }

  .skelton-typeB-list {
    width: calc((100% - 20px) / 1.8);
  }
}

@media (min-width: 768px) {
  .skelton-typeA-list {
    width: 100%;
    display: grid;
    grid-template-areas: 200px 10px 10px 10px;
    gap: var(--gap-md);
  }

  .skelton-typeA-list:not(:nth-child(1)) {
    display: grid;
  }

  .skelton-typeB-list {
    grid-template-columns: 140px 1fr;
    width: calc(50% - var(--gap-md) / 2);
    margin: unset;
  }

  .skelton-typeB-list:not(:nth-child(1)) {
    display: grid;
  }

  .skelton-typeC-list {
    grid-template-columns: 140px 1fr;
  }

  .skelton-ranking-list {
    grid-template-columns: 120px 1fr;
  }
}

@media (min-width: 900px) {
  .skelton-typeB-list {
    grid-template-columns: 200px 1fr;
  }

  .skelton-typeC-list {
    grid-template-columns: 200px 1fr;
  }

  .skelton-ranking-list {
    grid-template-columns: 120px 1fr;
  }
}
