/* =============================================================
   PC base styles
   ============================================================= */

/* ============================================================
   仮想デスクトップ特徴・仕様ページ専用スタイル
   ============================================================ */

/* ============================================================
   仮想デスクトップ下層ページ共通ヘッダー
   NOTE: desktop-subpage-headerは layout/desktop-shared.css に定義されています
   ============================================================ */

/* ============================================================
   ページ内ナビゲーション (PC_rink)
   ============================================================ */

/* ============================================================
   パンくずリスト
   ============================================================ */

/* ============================================================
   仮想デスクトップの特徴
   ============================================================ */

.desktop-features-highlights {
  padding: 100px 0;
  background: #ffffff;
}

.desktop-features-highlights__title {
  margin-bottom: 50px;
}

.desktop-features-highlights__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 7.5vw, 81px);
  max-width: 1080px;
  margin: 0 auto;
}

.desktop-features-highlights__card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desktop-features-highlights__icon {
  width: min(302px, 100%);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 20px;
}

.desktop-features-highlights__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-features-highlights__card-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.desktop-features-highlights__card-text {
}

/* ============================================================
   仮想デスクトップとは
   ============================================================ */

.desktop-what-is {
  padding: 100px 0;
}

.desktop-what-is__intro {
  max-width: 838px;
  margin: 0 auto 60px;
  text-align: center;
}

.desktop-what-is__title {
  margin-bottom: 24px;
}

.desktop-what-is__text {
}

.desktop-what-is__diagram {
  max-width: 1200px;
  margin: 0 auto 100px;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 80px 102px;
}

.desktop-what-is__diagram-title {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 40px;
}

.desktop-what-is__diagram-content {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 41px;
  margin-bottom: 40px;
}

.desktop-what-is__note {
  background: #f2f4f8;
  border-radius: 5px;
  padding: 28px 69px;
}

.desktop-what-is__note p {
  margin-bottom: 0;
}

/* ============================================================
   仮想デスクトップでできること
   .desktop-use-cases / .desktop-use-cases__title は layout/desktop-shared.css
   ============================================================ */

.desktop-use-cases__intro {
  text-align: center;
  margin-bottom: 50px;
}

.desktop-use-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.desktop-use-cases__card {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  padding: 49px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 220px;
}

.desktop-use-cases__card--disabled {
  background: #f2f4f8;
  padding: 49px 76px;
}

.desktop-use-cases__card--disabled .desktop-use-cases__icon {
  width: 83px;
  height: 83px;
}

.desktop-use-cases__card--disabled .desktop-use-cases__icon img {
  width: 83px;
  height: 83px;
}

.desktop-use-cases__disabled-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 304px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.desktop-use-cases__disabled-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-use-cases__number {
  position: absolute;
  top: 0;
  left: 0;
  background: #31c0c5;
  color: #ffffff;
  font-size: 31px;
  font-weight: 600;
  padding: 4px 10px;
  border-top-left-radius: 10px;
  font-family: "Barlow", sans-serif;
}

.desktop-use-cases__icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-use-cases__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-use-cases__card-content {
  flex: 1;
}

.desktop-use-cases__card-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.desktop-use-cases__arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
}

.desktop-use-cases__description {
  margin-top: 10px;
  text-align: end;
}

/* ============================================================
   サーバー比較表（desktop-what-is セクション内で使用）
   ============================================================ */

.desktop-comparison-table__title {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 40px;
}

.desktop-comparison-table__wrapper {
  max-width: 1200px;
  margin: 0 auto 16px;
}

.desktop-comparison-table__table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #daf2d0;
}

/* ヘッダー行 */

.desktop-comparison-table__th {
  height: 70px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  padding: 12px 20px;
  border: none;
  border-right: 1px solid #daf2d0;
}

.desktop-comparison-table__th:last-child {
  border-right: none;
}

.desktop-comparison-table__th--empty {
  background: #ffffff;
}

.desktop-comparison-table__th--header {
  background: #f2f4f8;
}

.desktop-comparison-table__th--desktop {
  background: #16a291;
  color: #ffffff;
  vertical-align: middle;
}

.desktop-comparison-table__desktop-title {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 4px;
}

.desktop-comparison-table__desktop-subtitle {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.32px;
}

/* データ行 */

.desktop-comparison-table__td {
  height: 70px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  padding: 0 20px;
  background: #ffffff;
  border-top: 1px solid #daf2d0;
  border-right: 1px solid #daf2d0;
}

.desktop-comparison-table__td:last-child {
  border-right: none;
}

.desktop-comparison-table__td--label {
  background: #ffffff;
}

.desktop-comparison-table__td--desktop {
  background: #e0edff;
  font-size: 20px;
  font-weight: 500;
}

.desktop-comparison-table__note {
  font-size: 14px;
  text-align: right;
  margin-bottom: 30px;
}

.desktop-comparison-table__note-mark {
  font-size: 10px;
  vertical-align: super;
}

.desktop-comparison-table__summary-wrapper {
  text-align: center;
}

.desktop-comparison-table__summary {
  display: inline-block;
  background: #eefafa;
  padding: 10px 20px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.98px;
  color: #31c0c5;
  text-align: center;
}

/* ============================================================
   Windows専用設計だからちょうどいい
   ============================================================ */

.desktop-windows-design {
  padding: 100px 0;
  background: #ffffff;
}

.desktop-windows-design__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.desktop-windows-design__title {
  margin-bottom: 24px;
}

.desktop-windows-design__text {
}

/* ============================================================
   Windows系とLinux系の違い（desktop-windows-design セクション内で使用）
   ============================================================ */

.desktop-os-comparison__box {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #daf2d0;
  border-radius: 10px;
  padding: 60px 40px;
}

.desktop-os-comparison__title {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 24px;
}

.desktop-os-comparison__subtitle {
  text-align: center;
  margin-bottom: 40px;
}

.desktop-os-comparison__table-container {
  margin: 0 auto;
}

.desktop-os-comparison__table-wrapper {
  margin-bottom: 40px;
}

.desktop-os-comparison__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #daf2d0;
}

/* ヘッダー行 */

.desktop-os-comparison__th {
  height: 70px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  padding: 0 20px;
}

.desktop-os-comparison__th--linux {
  width: 500px;
  background: #f2f4f8;
}

.desktop-os-comparison__th--windows {
  width: 500px;
  background: #16a291;
  color: #ffffff;
  font-size: 24px;
}

/* データ行 */

.desktop-os-comparison__td {
  height: 70px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  padding: 0 20px;
  border-top: 1px solid #daf2d0;
}

.desktop-os-comparison__td--linux {
  background: #ffffff;
}

.desktop-os-comparison__td--windows {
  background: #daf2d0;
  font-size: 20px;
}

.desktop-os-comparison__note {
  text-align: center;
}

/* =============================================================
   Windows VPSとの違い
   ============================================================= */
.desktop-difference__table-container {
  width: 100%;
  margin: 0 auto;
}

.desktop-difference__table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #daf2d0;
}

.desktop-difference__th {
  height: 70px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  padding: 0 20px;
}

.desktop-difference__th:not(:last-child) {
  border-right: 1px solid #daf2d0;
}

.desktop-difference__th--category {
  width: 20%;
}

.desktop-difference__th--vps,
.desktop-difference__th--desktop {
  width: 40%;
}

.desktop-difference__th--category,
.desktop-difference__th--vps {
  font-size: 14px;
  background: #f2f4f8;
}

.desktop-difference__th--desktop {
  font-size: 16px;
  background: #16a291;
  color: #ffffff;
}

.desktop-difference__td {
  height: 70px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  padding: 0 20px;
  border-top: 1px solid #daf2d0;
}

.desktop-difference__td:not(:last-child) {
  border-right: 1px solid #daf2d0;
}

.desktop-difference__td--category {
  background: #f2f4f8;
}

.desktop-difference__td--vps {
  background: #ffffff;
}

.desktop-difference__td--desktop {
  background: #daf2d0;
}

.desktop-difference__table-wrapper {
  margin-bottom: 0.5em;
}

.desktop-difference__description {
  text-align: end;
}  

/* ============================================================
   Windows前提の構成（desktop-windows-design セクション内で使用）
   ============================================================ */

.desktop-windows-features__box {
  max-width: 1200px;
  margin: 0 auto 30px;
  border: 1px solid #daf2d0;
  border-radius: 10px;
  padding: 60px 40px;
}

.desktop-windows-features__title {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 60px;
}

.desktop-windows-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
}

.desktop-windows-features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.desktop-windows-features__icon {
  width: 126px;
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.desktop-windows-features__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.desktop-windows-features__text {
}

/* ============================================================
   スペック
   ============================================================ */

.desktop-specs {
  padding-bottom: 100px;
  background: #ffffff;
}

.desktop-specs__intro {
  text-align: center;
  margin-bottom: 20px;
}

.desktop-specs__title {
  margin-bottom: 24px;
}

.desktop-specs__subtitle {
  font-size: 22px;
  text-align: center;
}

.desktop-specs__content {
  max-width: 1200px;
  margin: 0 auto;
}

.desktop-specs__description {
  text-align: center;
  margin-bottom: 60px;
}

.desktop-specs__table-wrapper {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1000px;
  &:has(.desktop-specs__group:nth-child(2)) {
    max-width: 1200px;
  }
}

.desktop-specs__group {
  display: flex;
  flex-direction: column;
}

.desktop-specs__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #daf2d0;
  min-height: 100px;
}

.desktop-specs__row:first-child {
  border-top: 1px solid #daf2d0;
}

.desktop-specs__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  border-right: 1px solid #daf2d0;
  border-left: 1px solid #daf2d0;
}

.desktop-specs__cell:first-child {
  border-right: none;
}

/* 項目名セル */

.desktop-specs__label {
  color: #ffffff;
  position: relative;
  padding-right: 45px;
}

/* 左グループの奇数行項目名 - 緑 */

.desktop-specs__group--left .desktop-specs__row:nth-child(odd) .desktop-specs__label {
  background: #16a291;
}

/* 左グループの偶数行項目名 - 薄緑 */

.desktop-specs__group--left .desktop-specs__row:nth-child(even) .desktop-specs__label {
  background: #16d7c1;
}

/* 右グループの奇数行項目名 - 緑 */

.desktop-specs__group--right .desktop-specs__row:nth-child(odd) .desktop-specs__label {
  background: #16a291;
}

/* 右グループの偶数行項目名 - 薄緑 */

.desktop-specs__group--right .desktop-specs__row:nth-child(even) .desktop-specs__label {
  background: #16d7c1;
}

/* 値セル */

.desktop-specs__value {
  background: #f2f4f8;
  color: #111111;
  word-break: break-all;
}

.desktop-specs__label {
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.desktop-specs__tooltip-btn {
  position: absolute;
  top: 50%;
  right: 23px;
  /* transform で中央寄せすると子要素の position: fixed の基準が
     viewport ではなく button になってしまうため、margin-top で代替 */
  margin-top: -12.5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}

.desktop-specs__tooltip-btn img {
  width: 25px;
  height: 25px;
  display: block;
}

.desktop-specs__tooltip-btn:hover {
  opacity: 0.8;
}

/* ツールチップ吹き出し本体 (data-tooltip 属性のテキストを表示)
   .desktop-specs__tooltip-btn と .desktop-options__tooltip-btn 両方に共通適用。
   position: fixed で viewport 基準。位置 (top/left) は JS が
   getBoundingClientRect から計算して --tooltip-top / --tooltip-left に設定。
   非表示時は -9999px に逃がして親 overflow に影響させない。 */
.desktop-specs__tooltip-btn::before,
.desktop-options__tooltip-btn::before {
  content: attr(data-tooltip);
  position: fixed;
  top: var(--tooltip-top, -9999px);
  left: var(--tooltip-left, -9999px);
  width: max-content;
  max-width: 280px;
  padding: 10px 14px;
  background: #333333;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 1.5;
  border-radius: 6px;
  white-space: pre-wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
  z-index: 9999;
}

/* 三角矢印 */
.desktop-specs__tooltip-btn::after,
.desktop-options__tooltip-btn::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333333;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
  z-index: 20;
}

.desktop-specs__tooltip-btn:hover::before,
.desktop-specs__tooltip-btn:focus-visible::before,
.desktop-specs__tooltip-btn:hover::after,
.desktop-specs__tooltip-btn:focus-visible::after,
.desktop-options__tooltip-btn:hover::before,
.desktop-options__tooltip-btn:focus-visible::before,
.desktop-options__tooltip-btn:hover::after,
.desktop-options__tooltip-btn:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

/* ボタン自体に transform があり stacking context が作られるため、
   hover/focus 中はボタン自身の z-index を引き上げて、隣接列の項目が
   吹き出しの上に被らないようにする */
.desktop-specs__tooltip-btn:hover,
.desktop-specs__tooltip-btn:focus-visible,
.desktop-options__tooltip-btn:hover,
.desktop-options__tooltip-btn:focus-visible {
  z-index: 100;
}

.desktop-specs__note {
  text-align: right;
  font-size: 14px;
}

/* ============================================================
   性能比較
   ============================================================ */

.desktop-performance {
  padding: 100px 0;
  background: #ffffff;
}

.desktop-performance__intro {
  text-align: center;
  margin-bottom: 30px;
}

.desktop-performance__title {
  margin-bottom: 24px;
}

.desktop-performance__subtitle {
}

.desktop-performance__content {
  max-width: 1200px;
  margin: 0 auto;
}

.desktop-performance__section-title {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 24px;
}

.desktop-performance__description {
  text-align: center;
  margin-bottom: 40px;
}

.desktop-performance__chart {
  background: #ffffff;
}

/* ============================================================
   充実したオプション
   ============================================================ */

.desktop-options {
  padding: 100px 0;
  background: transparent;
}

.desktop-options__intro {
  text-align: center;
  margin-bottom: 60px;
}

.desktop-options__title {
  margin-bottom: 24px;
}

.desktop-options__subtitle {
}

.desktop-options__grid {
  display: grid;
  /* auto-fit + minmax で柔軟にレスポンシブ。PC幅では3列、中間で2列、≤768で1列 */
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 0;
  max-width: 1200px;
  margin: 0 auto 16px;
  justify-content: center;
}

.desktop-options__column {
  display: contents;
}

/* 左列の配置と高さ */

.desktop-options__column--left .desktop-options__item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  height: 96px;
}

.desktop-options__column--left .desktop-options__item:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
  height: 96px;
}

.desktop-options__column--left .desktop-options__item:nth-child(3) {
  grid-column: 1;
  grid-row: 3;
  height: 96px;
}

/* 中央列の配置と高さ */

.desktop-options__column--center .desktop-options__item:nth-child(1) {
  grid-column: 2;
  grid-row: 1;
  height: 96px;
}

.desktop-options__column--center .desktop-options__item:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
  height: 96px;
}

.desktop-options__column--center .desktop-options__item:nth-child(3) {
  grid-column: 2;
  grid-row: 3;
  height: 96px;
}

/* 右列の配置と高さ */

.desktop-options__column--right .desktop-options__item:nth-child(1) {
  grid-column: 3;
  grid-row: 1;
  height: 96px;
}

.desktop-options__column--right .desktop-options__item:nth-child(2) {
  grid-column: 3;
  grid-row: 2;
  height: 96px;
}

.desktop-options__column--right .desktop-options__item:nth-child(3) {
  grid-column: 3;
  grid-row: 3;
  height: 96px;
}

.desktop-options__item {
  position: relative;
  padding: 20px;
  padding-right: 45px;
  text-align: center;
  border: 1px solid #daf2d0;
  border-right: 0;
  border-bottom: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 各列の右端に右ボーダーを追加 */

.desktop-options__column--left .desktop-options__item,
.desktop-options__column--center .desktop-options__item,
.desktop-options__column--right .desktop-options__item {
  border-right: 1px solid #daf2d0;
}

/* 最終行に下ボーダーを追加 */

.desktop-options__column--left .desktop-options__item:nth-child(3),
.desktop-options__column--right .desktop-options__item:nth-child(3),
.desktop-options__column--center .desktop-options__item:nth-child(3) {
  border-bottom: 1px solid #daf2d0;
}

/* 左列の奇数行 - 緑 */

.desktop-options__column--left .desktop-options__item:nth-child(odd) {
  background: #16a291;
  color: #ffffff;
}

/* 左列の偶数行 - 薄緑 */

.desktop-options__column--left .desktop-options__item:nth-child(even) {
  background: #edfdfb;
}

/* 中央列の奇数行 - 緑 */

.desktop-options__column--center .desktop-options__item:nth-child(odd) {
  background: #16a291;
  color: #ffffff;
}

/* 中央列の偶数行 - 薄緑 */

.desktop-options__column--center .desktop-options__item:nth-child(even) {
  background: #edfdfb;
}

/* 右列の奇数行 - 緑 */

.desktop-options__column--right .desktop-options__item:nth-child(odd) {
  background: #16a291;
  color: #ffffff;
}

/* 右列の偶数行 - 薄緑 */

.desktop-options__column--right .desktop-options__item:nth-child(even) {
  background: #edfdfb;
}

.desktop-options__tooltip-btn {
  position: absolute;
  top: 50%;
  right: 23px;
  /* 中央寄せは margin-top で代替 (理由は specs__tooltip-btn と同じ) */
  margin-top: -12.5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}

.desktop-options__tooltip-btn img {
  width: 25px;
  height: 25px;
  display: block;
}

.desktop-options__tooltip-btn:hover {
  opacity: 0.8;
}

.desktop-options__note {
  text-align: right;
  max-width: 1200px;
  margin: 0 auto 40px;
}

/* .desktop-options__more / .desktop-options__more-link は .btn-more-link__wrap / .btn-more-link へ統合（components/buttons.css）*/

/* ============================================================
   レスポンシブ対応
   ============================================================ */

/* =============================================================
   仮想デスクトップ モーダル
   ============================================================= */

.desktop-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.desktop-modal[hidden] {
  display: none;
}

.desktop-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(71, 71, 71, 0.75);
  cursor: pointer;
}

.desktop-modal__container {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 12px;
  padding: 60px 80px;
  /* ブラウザ幅に対して常にガター(16px×2)を確保しつつ、最大 720px */
  width: min(720px, calc(100% - 32px));
  max-width: 720px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.desktop-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #16a291;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.desktop-modal__close:hover {
  background: #107d70;
}

.desktop-modal__content {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  align-items: center;
}

.desktop-modal__content[hidden] {
  display: none;
}

.desktop-modal__icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-modal__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-modal__text-content {
  text-align: left;
}

.desktop-modal__body {
  font-size: 18px;
}

.desktop-modal__body p {
  margin: 0;
}

/* カードのホバー効果追加 */

.desktop-use-cases__card:not(.desktop-use-cases__card--disabled) {
  cursor: pointer;
}

.desktop-use-cases__card:not(.desktop-use-cases__card--disabled):hover {
  opacity: 0.7;
  transition: 0.2s;
}

/* モーダル表示時のbodyスクロール防止 */

body.is-modal-open {
  overflow: hidden;
}

/* レスポンシブ対応 */

/* =============================================================
   @media (max-width: 1024px)
   ============================================================= */

@media (max-width: 1024px) {
  .desktop-specs__table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 0 20px;
  }

  .desktop-what-is__diagram {
    padding: 60px 40px;
  }

  .desktop-options__grid {
    grid-template-columns: 1fr;
  }

  /* PC で各 item に付与した grid-column / grid-row を解除し 1カラムに戻す。
     PC 側が `:nth-child(N)` (specificity 3) で指定しているため、こちらも
     `:nth-child(n)` で specificity を 3 に揃えて上書きする。 */
  .desktop-options__column--left .desktop-options__item:nth-child(n),
  .desktop-options__column--center .desktop-options__item:nth-child(n),
  .desktop-options__column--right .desktop-options__item:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }

  /* 1カラム時の zigzag 並び (左→中央→右 を行ごとに交互) */
  .desktop-options__column--left .desktop-options__item:nth-child(1) {
    order: 1;
  }
  .desktop-options__column--center .desktop-options__item:nth-child(1) {
    order: 2;
  }
  .desktop-options__column--right .desktop-options__item:nth-child(1) {
    order: 3;
  }
  .desktop-options__column--left .desktop-options__item:nth-child(2) {
    order: 4;
  }
  .desktop-options__column--center .desktop-options__item:nth-child(2) {
    order: 5;
  }
  .desktop-options__column--right .desktop-options__item:nth-child(2) {
    order: 6;
  }
  .desktop-options__column--left .desktop-options__item:nth-child(3) {
    order: 7;
  }
  .desktop-options__column--center .desktop-options__item:nth-child(3) {
    order: 8;
  }
  .desktop-options__column--right .desktop-options__item:nth-child(3) {
    order: 9;
  }
  .desktop-options__column--left .desktop-options__item:nth-child(4) {
    order: 10;
  }
  .desktop-options__column--center .desktop-options__item:nth-child(4) {
    order: 11;
  }
  .desktop-options__column--right .desktop-options__item:nth-child(4) {
    order: 12;
  }
  .desktop-options__column--left .desktop-options__item:nth-child(5) {
    order: 13;
  }
  .desktop-options__column--center .desktop-options__item:nth-child(5) {
    order: 14;
  }
  .desktop-options__column--right .desktop-options__item:nth-child(5) {
    order: 15;
  }
  .desktop-options__column--center .desktop-options__item:nth-child(6) {
    order: 16;
  }

  .desktop-options__item {
    text-align: left;
    justify-content: flex-start;
    padding: 16px 40px 16px 16px;
    border-right: none;
    border-top: 1px solid #daf2d0;
    font-size: 14px;
    height: auto !important;
    min-height: 60px;
  }

  /* 並べ替え後の visual 順 odd/even カラー再マッピング
     (PC base の各列 odd/even を一旦リセットしてから上書き) */
  .desktop-options__column--left .desktop-options__item:nth-child(odd),
  .desktop-options__column--left .desktop-options__item:nth-child(even),
  .desktop-options__column--center .desktop-options__item:nth-child(odd),
  .desktop-options__column--center .desktop-options__item:nth-child(even),
  .desktop-options__column--right .desktop-options__item:nth-child(odd),
  .desktop-options__column--right .desktop-options__item:nth-child(even) {
    background: transparent;
    color: inherit;
  }

  /* visual 奇 (1,3,5,7,9,11,13,15) = 濃 #16a291 */
  .desktop-options__column--left   .desktop-options__item:nth-child(1),  /* visual  1 */
  .desktop-options__column--right  .desktop-options__item:nth-child(1),  /* visual  3 */
  .desktop-options__column--center .desktop-options__item:nth-child(2),  /* visual  5 */
  .desktop-options__column--left   .desktop-options__item:nth-child(3),  /* visual  7 */
  .desktop-options__column--right  .desktop-options__item:nth-child(3),  /* visual  9 */
  .desktop-options__column--center .desktop-options__item:nth-child(4),  /* visual 11 */
  .desktop-options__column--left   .desktop-options__item:nth-child(5),  /* visual 13 */
  .desktop-options__column--right  .desktop-options__item:nth-child(5) {
    /* visual 15 */
    background: #16a291;
    color: #ffffff;
  }

  /* visual 偶 (2,4,6,8,10,12,14,16) = 薄 #16d7c1 */
  .desktop-options__column--center .desktop-options__item:nth-child(1),  /* visual  2 */
  .desktop-options__column--left   .desktop-options__item:nth-child(2),  /* visual  4 */
  .desktop-options__column--right  .desktop-options__item:nth-child(2),  /* visual  6 */
  .desktop-options__column--center .desktop-options__item:nth-child(3),  /* visual  8 */
  .desktop-options__column--left   .desktop-options__item:nth-child(4),  /* visual 10 */
  .desktop-options__column--right  .desktop-options__item:nth-child(4),  /* visual 12 */
  .desktop-options__column--center .desktop-options__item:nth-child(5),  /* visual 14 */
  .desktop-options__column--center .desktop-options__item:nth-child(6) {
    /* visual 16 */
    background: #16d7c1;
    color: #ffffff;
  }

  .desktop-options {
    padding: 60px 0;
  }

  /* visual 順の先頭 (left[1]) のみ border-top: none */
  .desktop-options__column--left .desktop-options__item:nth-child(1) {
    border-top: none;
  }

  .desktop-options__tooltip-btn {
    right: 16px;
  }

  .desktop-options__tooltip-btn img {
    width: 18px;
    height: 18px;
  }

  .desktop-options__note {
    padding: 0 0;
    font-size: 12px;
  }

  .desktop-features-highlights__card-title {
    font-size: 20px;
  }
  .desktop-what-is__diagram-title {
    font-size: 20px;
  }
  .desktop-use-cases__card-title {
    font-size: 20px;
  }
  .desktop-comparison-table__title {
    font-size: 20px;
  }
  .desktop-comparison-table__td--desktop {
    font-size: 18px;
  }
  .desktop-comparison-table__summary {
    font-size: 20px;
  }
  .desktop-os-comparison__title {
    font-size: 20px;
  }
  .desktop-os-comparison__td--windows {
    font-size: 18px;
  }
  .desktop-windows-features__title {
    font-size: 20px;
  }
  .desktop-specs__subtitle {
    font-size: 20px;
  }
  .desktop-performance__section-title {
    font-size: 20px;
  }
  .desktop-modal__body {
    font-size: 16px;
  }
}

/* =============================================================
   @media (max-width: 768px)
   ============================================================= */

@media (max-width: 768px) {
  .desktop-features-highlights__cards {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
  }

  .desktop-features-highlights__icon {
    width: 100px;
    height: 100px;
  }

  .desktop-features-highlights__card-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .desktop-what-is__content {
    width: 100vw;
    margin-left: -20px;
    background: #eaf2fb;
    padding: 60px 20px;
    border-radius: 0px;
    margin-bottom: 60px;
  }

  .desktop-what-is__note {
    padding: 20px;
  }

  .desktop-windows-features__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .desktop-windows-features__item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
  }

  .desktop-windows-features__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
  }

  .desktop-windows-design__intro {
    margin-bottom: 20px;
  }

  .desktop-what-is__diagram-title {
    margin-bottom: 20px;
    font-size: 18px;
  }

  /* desktop-specs */

  .desktop-specs__table-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* @768 で左右 group を消して、全 11 行を table-wrapper の grid 直下に並べ、
     order プロパティで指定順に並べ替える */
  .desktop-specs__group--left,
  .desktop-specs__group--right {
    display: contents;
  }

  /* 並び順:
     1. ハイパーバイザー  (L-1)
     2. フェアシェア      (R-1)
     3. ゲストOS          (L-2)
     4. データ転送量      (R-2)
     5. 固定IP(IPv4)      (R-3)
     6. リモートログイン  (L-3)
     7. バックボーン      (R-4)
     8. 管理者権限        (L-4)
     9. 最低利用期間      (R-5)
     10. ファイアウォール (L-5)
     11. リージョン       (R-6)
  */
  .desktop-specs__group--left .desktop-specs__row:nth-child(1) {
    order: 1;
  }
  .desktop-specs__group--right .desktop-specs__row:nth-child(1) {
    order: 2;
  }
  .desktop-specs__group--left .desktop-specs__row:nth-child(2) {
    order: 3;
  }
  .desktop-specs__group--right .desktop-specs__row:nth-child(2) {
    order: 4;
  }
  .desktop-specs__group--right .desktop-specs__row:nth-child(3) {
    order: 5;
  }
  .desktop-specs__group--left .desktop-specs__row:nth-child(3) {
    order: 6;
  }
  .desktop-specs__group--right .desktop-specs__row:nth-child(4) {
    order: 7;
  }
  .desktop-specs__group--left .desktop-specs__row:nth-child(4) {
    order: 8;
  }
  .desktop-specs__group--right .desktop-specs__row:nth-child(5) {
    order: 9;
  }
  .desktop-specs__group--left .desktop-specs__row:nth-child(5) {
    order: 10;
  }
  .desktop-specs__group--right .desktop-specs__row:nth-child(6) {
    order: 11;
  }

  .desktop-specs__tooltip-btn {
    right: 10px;
  }

  .desktop-specs__tooltip-btn img {
    width: 18px;
    height: 18px;
  }

  .desktop-specs__cell {
    padding: 16px 12px;
    text-align: left;
    justify-content: flex-start;
    font-size: 14px;
  }

  .desktop-specs__label {
    justify-content: flex-start;
  }

  /* PC版のカラーリングをリセット */
  .desktop-specs__group--left .desktop-specs__row:nth-child(odd) .desktop-specs__label,
  .desktop-specs__group--left .desktop-specs__row:nth-child(even) .desktop-specs__label,
  .desktop-specs__group--right .desktop-specs__row:nth-child(odd) .desktop-specs__label,
  .desktop-specs__group--right .desktop-specs__row:nth-child(even) .desktop-specs__label {
    background: transparent;
  }

  /* 並べ替え後の visual 順 (1-11) の odd=濃緑 / even=薄緑
     visual 1=L-1 / 2=R-1 / 3=L-2 / 4=R-2 / 5=R-3 / 6=L-3 /
     7=R-4 / 8=L-4 / 9=R-5 / 10=L-5 / 11=R-6 */

  /* 濃緑 (visual 1,3,5,7,9,11) */
  .desktop-specs__group--left .desktop-specs__row:nth-child(1) .desktop-specs__label,
  .desktop-specs__group--left .desktop-specs__row:nth-child(2) .desktop-specs__label,
  .desktop-specs__group--right .desktop-specs__row:nth-child(3) .desktop-specs__label,
  .desktop-specs__group--left .desktop-specs__row:nth-child(4) .desktop-specs__label,
  .desktop-specs__group--right .desktop-specs__row:nth-child(5) .desktop-specs__label,
  .desktop-specs__group--right .desktop-specs__row:nth-child(6) .desktop-specs__label {
    background: #16a291;
  }

  /* 薄緑 (visual 2,4,6,8,10) */
  .desktop-specs__group--right .desktop-specs__row:nth-child(1) .desktop-specs__label,
  .desktop-specs__group--right .desktop-specs__row:nth-child(2) .desktop-specs__label,
  .desktop-specs__group--left .desktop-specs__row:nth-child(3) .desktop-specs__label,
  .desktop-specs__group--right .desktop-specs__row:nth-child(4) .desktop-specs__label,
  .desktop-specs__group--left .desktop-specs__row:nth-child(5) .desktop-specs__label,
  .desktop-specs__group--left .desktop-specs__row:nth-child(6) .desktop-specs__label {
    background: #16d7c1;
  }

  .desktop-performance__chart {
    text-align: center;
  }

  /* 900pxでPC版のカラーリングをリセット */

  /* 900pxで全体の順番でカラーリング */
  /* 左カラム: 1,2,3,4,5 */

  /* 中央カラム: 6,7,8,9,10,11 → 6は偶数なので#16d7c1 */

  /* 右カラム: 12,13,14,15,16 → 12は偶数なので#16d7c1 */

  .desktop-features-highlights {
    padding: 20px 0 0;
  }

  .desktop-features-highlights__title {
    margin-bottom: 30px;
  }

  .desktop-what-is {
    padding: 60px 0 0;
    margin-bottom: 0;
  }

  .desktop-what-is__intro {
    margin-bottom: 20px;
  }

  .desktop-comparison-table__td {
    height: auto;
  }

  .desktop-comparison-table__note {
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
  }

  .desktop-difference {
    padding: 0 0 60px;
  }

  .desktop-difference__title {
    margin-bottom: 0;
  }

  .desktop-difference__table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 0 20px; /* 左 20 維持、右はビューポートまで流す */
  }

  .desktop-difference__table {
    font-size: 14px;
    width: 1000px;
    max-width: none;
  }

  .desktop-difference__table th,
  .desktop-difference__table td {
    width: auto;
    min-width: 100px;
  }

  .desktop-what-is__diagram {
    border-radius: 5px;
    padding: 20px 20px;
    margin-bottom: 0;
  }

  .desktop-what-is__diagram-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .desktop-use-cases {
    padding: 60px 0;
  }

  .desktop-use-cases__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .desktop-use-cases__card {
    border-radius: 5px;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 15px;
    align-items: start;
    align-content: start;
    gap: 4px;
    min-height: 0; /* PC base の 220px をリセット (cellの余白を消す) */
  }

  .desktop-use-cases__icon {
    width: 66px;
    height: 66px;
    margin: 0 auto;
    line-height: 0; /* img インライン baseline 由来の余白を抑制 */
  }

  .desktop-use-cases__icon img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    display: block;
  }

  /* disabled カード内のアイコンも 46px に揃える
     (PC base の compound selector で 83px が指定されているため、
      同じ compound 形で override する) */
  .desktop-use-cases__card--disabled .desktop-use-cases__icon,
  .desktop-use-cases__card--disabled .desktop-use-cases__icon img {
    width: 66px;
    height: 66px;
  }

  .desktop-use-cases__card-content {
    font-size: 16px;
  }

  .desktop-use-cases__card-title {
    font-size: 16px;
    text-align: left;
  }

  .desktop-use-cases__card-text {
    font-size: 12px;
    text-align: left;
  }

  .desktop-use-cases__number {
    font-size: 16px;
    padding: 4px 5px;
    border-top-left-radius: 5px;
    width: 30px;
  }

  .desktop-use-cases__arrow {
    bottom: -20px;
    right: 10px;
    width: 20px;
  }

  /* disabled カード内の「icon-nothing」を card 幅に収める。
     <picture> で @768 用に icon-nothing-sp.svg に切替済 (HTML側) */
  .desktop-use-cases__disabled-icon {
    width: 100%;
    max-width: 100%;
  }

  .desktop-use-cases__disabled-icon img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  /* desktop-comparison-table は desktop-what-is セクション内で使用 */

  .desktop-comparison-table__wrapper {
    overflow-x: auto;
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .desktop-comparison-table__table {
    min-width: 800px;
  }

  .desktop-comparison-table__th,
  .desktop-comparison-table__td {
    font-size: 14px;
    padding: 12px;
  }

  .desktop-comparison-table__desktop-title {
    font-size: 16px;
  }

  .desktop-comparison-table__desktop-subtitle {
    font-size: 12px;
  }

  .desktop-comparison-table__td--desktop {
  }

  .desktop-comparison-table__summary {
    font-size: 16px;
    padding: 16px 15px;
    letter-spacing: 1.5px;
    width: 100%;
  }

  .desktop-windows-design {
    padding: 60px 0;
  }

  /* desktop-os-comparison は desktop-windows-design セクション内で使用 */

  .desktop-os-comparison__box {
    padding: 40px 20px;
    border-radius: 5px;
  }

  .desktop-os-comparison__table-container {
    width: 100%;
  }

  .desktop-os-comparison__table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .desktop-os-comparison__th--linux,
  .desktop-os-comparison__th--windows {
    width: 50%;
  }

  .desktop-os-comparison__th--linux {
    font-size: 14px;
  }

  .desktop-os-comparison__th--windows {
    font-size: 16px;
  }

  .desktop-os-comparison__td {
    padding: 12px 8px;
  }

  .desktop-os-comparison__td--linux {
    font-size: 14px;
  }

  .desktop-os-comparison__td--windows {
    font-size: 16px;
  }

  .desktop-os-comparison__table-wrapper {
    margin-bottom: 20px;
  }

  /* desktop-windows-features は desktop-windows-design セクション内で使用 */

  .desktop-windows-features__box {
    padding: 40px 20px;
    border-radius: 5px;
  }

  .desktop-windows-features__title {
    margin-bottom: 40px;
  }

  .desktop-specs {
    padding: 60px 0 0;
  }

  .desktop-options__intro {
    margin-bottom: 30px;
  }

  .desktop-specs__intro {
    margin-bottom: 40px;
  }

  .desktop-specs__description {
    margin-bottom: 40px;
  }

  .desktop-specs__row {
    height: auto !important;
    min-height: 60px;
  }

  .desktop-specs__note {
    font-size: 12px;
  }

  .desktop-performance {
    padding: 60px 0 0;
  }

  .desktop-modal {
    padding: 16px;
  }

  .desktop-modal__container {
    padding: 40px 24px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .desktop-modal__close {
    width: 40px;
    height: 40px;
    top: 16px;
    right: 16px;
  }

  .desktop-modal__close svg {
    width: 20px;
    height: 20px;
  }

  .desktop-modal__content {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .desktop-modal__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .desktop-modal__text-content {
    text-align: center;
  }

  .desktop-modal__body {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .desktop-os-comparison__table {
    min-width: 630px;
  }
  .desktop-difference__table {
    width: 660px;
  }
  .desktop-what-is__note p {
    font-size: 14px;
  }
}
