/* =========================================
   Synology コンテンツページ用共通CSS
========================================= */

.c-heading--h2 {
  border-bottom: 1px solid;
  padding-bottom: 7px;
  padding-left: 4px;
}

/* こんなお悩みはありませんか？ */
.theme li {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: bold;
}

.text-emphasis {
  color: #c81e1e;
  display: contents;
  font-weight: 700;
}

/* 問い合わせボタン */
.inquiry {
  display: flex;
  justify-content: center;
}

a.inquiry-button {
  color: #fff !important;
  background-color: #ac2925;
  border-color: #761c19;
  border-radius: 4px;
  text-decoration: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 300px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media screen and (max-width: 768x) {
  a.inquiry-button {
    width: 80%;
  }
}

a.inquiry-button:hover {
  background-color: #911f1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* モデルリンクボタン */
.model-link {
  display: flex;
  flex-flow: column;
  align-items: center;
}

.micro {
  font-size: 18px;
  font-weight: bold;
}

a.link-button {
  color: #fff !important;
  background-color: #1B6AC9;
  border-color: #135bb3;
  border-radius: 4px;
  font-size: 20px;
  position: relative;
  text-align: center;
  text-decoration: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 530px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media screen and (max-width: 768x) {
  a.link-button {
    font-size: 1rem;
    width: 90%;
  }
}

/* 設定方法(横並び) */
.u-settings {
  display: grid;
  list-style-type: none;
  padding-left: 0;
  padding-right: 6px;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.u-settings img {
  border: 1px solid #c0c0c0;
}

.u-settings p {
  font-size: 14px;
  margin: 0;
}

.u-settings .full-span {
  grid-column: span 2;
}

.u-settings .image-pair {
  display: flex;
  gap: 40px;
  margin-bottom: 4px;
}

.u-settings .image-pair img {
  max-width: calc(50% - 20px);
}

@media screen and (max-width: 768x) {
  .u-settings {
    padding-right: 0;
    grid-template-columns: 1fr; /* 全体1カラムに */
  }

  .u-settings .full-span {
    grid-column: span 1; /* 不要だけど保険として */
  }

  .u-settings .image-pair {
    flex-direction: column; /* 縦並びに */
    gap: 20px;
  }
  
  .u-settings .image-pair img {
    max-width: 100%;
  }
}

/* 設定方法 */
.u-flow {
  list-style-type: decimal;
  padding-left: 2em;
}

.u-flow li:not(:last-child) {
  margin-bottom: 40px;
}

.u-flow li::marker {
  font-size: 20px;
  font-weight: bold;
}

.u-flow li p {
  margin-bottom: 1rem;
}

img.overview,
.u-flow img {
  max-width: 800px;
  width: 100%;
}

main img.contents-images {
  display: block;
  margin: 16px auto 0;
  width: 620px;
  max-width: 100%;
}

@media screen and (max-width: 768x) {
  main img.contents-images {
    max-width: 100%;
  }
}