/* iPhone価格比較 */
body .ipc {
  --ipc-blue: #0b57c9;
  --ipc-blue-bg: #e8f0fc;
  --ipc-orange: #c2410c;
  --ipc-orange-bg: #fff2e6;
  --ipc-green: #0f6e3a;
  --ipc-green-bg: #e6f4ec;
  --ipc-text: #1a1d21;
  --ipc-sub: #555b63;
  --ipc-mute: #6b7178;
  --ipc-line: #dfe2e6;
  --ipc-line2: #c5cad1;
  --ipc-bg: #f4f5f7;
  color: var(--ipc-text);
  font-size: 14px;
  line-height: 1.6;
  margin: 1.5em 0;
}
body .ipc *, body .ipc *::before, body .ipc *::after { box-sizing: border-box; }
body .ipc p { margin: 0; }
body .ipc button { font: inherit; cursor: pointer; }
body .ipc .ipc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .ipc .ipc-title { font-size: 1.35em; font-weight: 800; line-height: 1.4; }
body .ipc .ipc-sub { color: var(--ipc-sub); font-size: 13px; margin-top: 4px !important; }
body .ipc .ipc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
body .ipc .ipc-updated { font-size: 12px; color: var(--ipc-sub); display: flex; align-items: center; gap: 8px; }
body .ipc .ipc-pr { border: 1px solid var(--ipc-line2); border-radius: 4px; padding: 0 6px; font-weight: 700; }

/* 条件 */
body .ipc .ipc-filters { background: #fff; border: 1px solid var(--ipc-line); border-radius: 12px; padding: 16px 20px; }
body .ipc .ipc-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; border-top: 1px solid #eef0f2; padding-top: 14px; margin-top: 14px; }
body .ipc .ipc-fg-label { font-size: 13px; font-weight: 700; margin-bottom: 8px !important; }
body .ipc .ipc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body .ipc .ipc-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ipc-line2); background: #fff; color: var(--ipc-text); font-size: 13px; line-height: 1.2; }
body .ipc .ipc-chip[aria-pressed="true"] { border: 2px solid var(--ipc-blue); background: var(--ipc-blue-bg); color: var(--ipc-blue); font-weight: 700; }
body .ipc .ipc-chip:focus-visible, body .ipc .ipc-cta:focus-visible, body .ipc button:focus-visible, body .ipc select:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }
body .ipc .ipc-fg-note { font-size: 11px; color: var(--ipc-mute); margin-top: 8px !important; }

/* 件数・並べ替え */
body .ipc .ipc-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 8px; }
body .ipc .ipc-count { font-size: 14px; }
body .ipc .ipc-count-n { font-size: 24px; font-weight: 900; color: var(--ipc-blue); margin-right: 2px; }
body .ipc .ipc-reset { background: none; border: 0; color: var(--ipc-blue); text-decoration: underline; font-size: 13px; margin-left: 8px; padding: 0; }
body .ipc .ipc-sort { font-size: 13px; color: var(--ipc-sub); display: flex; align-items: center; gap: 8px; }
body .ipc .ipc-sort select, body .ipc .ipc-cmp-sel select { font: inherit; font-size: 14px; min-height: 44px; padding: 0 10px; border: 1px solid var(--ipc-line2); border-radius: 8px; background: #fff; color: var(--ipc-text); }
body .ipc .ipc-note-top { font-size: 12px; color: var(--ipc-sub); margin-bottom: 10px !important; }
body .ipc .ipc-g { color: var(--ipc-green); font-weight: 700; }

/* 表 */
body .ipc .ipc-table-wrap { background: #fff; border: 1px solid var(--ipc-line); border-radius: 12px; overflow-x: auto; }
body .ipc .ipc-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 13px; }
body .ipc .ipc-table th, body .ipc .ipc-table td { border: 0; border-bottom: 1px solid #eef0f2; padding: 14px 12px; text-align: left; vertical-align: middle; background: none; }
body .ipc .ipc-table thead th { background: #f7f8fa; font-size: 12px; color: var(--ipc-sub); font-weight: 700; white-space: nowrap; }
body .ipc .ipc-table thead th.ipc-sorted { color: var(--ipc-blue); background: var(--ipc-blue-bg); }
body .ipc .ipc-table thead th.ipc-sorted::after { content: " ▼"; }
body .ipc .ipc-c-cmp { width: 52px; text-align: center !important; }
body .ipc .ipc-cmp-l { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; }
body .ipc .ipc-cmp-l span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body .ipc .ipc-cmp { width: 20px; height: 20px; accent-color: var(--ipc-blue); margin: 0; }
body .ipc .ipc-c-model strong { display: block; font-size: 14px; white-space: nowrap; }
body .ipc .ipc-carrier { white-space: nowrap; }
body .ipc .ipc-cap { color: var(--ipc-sub); font-size: 12px; }
body .ipc .ipc-bestb { display: inline-block; background: var(--ipc-orange); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.5; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; white-space: nowrap; letter-spacing: .02em; }
body .ipc .ipc-c-carrier { font-weight: 700; }
body .ipc .ipc-logo { display: block; width: auto; height: auto; max-height: 24px; max-width: min(110px, 100%); object-fit: contain; margin-bottom: 4px; }
body .ipc .ipc-c-price { color: var(--ipc-sub); white-space: nowrap; }
body .ipc .ipc-c-real { background: #f7f9fd !important; min-width: 190px; }
body .ipc .ipc-c-real > span { display: block; }
body .ipc .ipc-c-real > .ipc-lbl { display: none; }
body .ipc .ipc-real { display: block; font-size: 20px; font-weight: 900; line-height: 1.3; }
body .ipc .ipc-real2 { font-size: 11px; color: var(--ipc-sub); }
body .ipc .ipc-ctag { font-size: 11px; font-weight: 700; color: var(--ipc-text); line-height: 1.4; }
body .ipc .ipc-noret { font-size: 11px; color: var(--ipc-sub); line-height: 1.4; }
body .ipc .ipc-ptsreal { font-size: 13px; font-weight: 700; color: var(--ipc-green); margin-top: 2px; }
body .ipc .ipc-badge { display: inline-block !important; font-size: 11px; color: var(--ipc-green); background: var(--ipc-green-bg); border-radius: 4px; padding: 1px 6px; margin-top: 2px; }
body .ipc .ipc-nopts { font-size: 12px; color: var(--ipc-mute); }
body .ipc .ipc-ptsd { font-size: 12px; margin-top: 2px; }
body .ipc .ipc-ptsd summary { color: var(--ipc-blue); text-decoration: underline; cursor: pointer; }
body .ipc .ipc-ptsd p { margin: 4px 0 !important; color: var(--ipc-sub); }
body .ipc .ipc-c-monthly { white-space: nowrap; }
body .ipc .ipc-m-amt { display: block; }
body .ipc .ipc-m-sub { display: block; font-size: 11px; color: var(--ipc-mute); margin-top: 2px; }
body .ipc .ipc-cta { flex-wrap: wrap; }
body .ipc .ipc-note-ahamo { font-size: 13px; color: var(--ipc-text); background: #fff8e6; border: 1px solid #f0d9a0; border-radius: 8px; padding: 8px 12px; margin: 8px 0 !important; line-height: 1.6; }
body .ipc .ipc-note-ahamo[hidden] { display: none; }
body .ipc .ipc-note-ahamo a { color: var(--ipc-blue); }
body .ipc .ipc-cta span { white-space: nowrap; }
body .ipc .ipc-m-x { display: block; font-size: 11px; color: var(--ipc-sub); margin-top: 2px; white-space: nowrap; }
body .ipc .ipc-tip { display: inline-block; vertical-align: middle; margin-left: 4px; }
body .ipc .ipc-tip-btn { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ipc-line2); background: #fff; color: var(--ipc-sub); font-size: 12px; font-weight: 700; line-height: 20px; padding: 0; text-align: center; }
body .ipc .ipc-tip-btn:hover, body .ipc .ipc-tip.ipc-open .ipc-tip-btn { border-color: var(--ipc-blue); color: var(--ipc-blue); }
body .ipc .ipc-tip-body { display: none; position: fixed; z-index: 100000; background: #1a1d21; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.7; padding: 10px 12px; border-radius: 8px; white-space: pre-line; text-align: left; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
body .ipc .ipc-tip.ipc-open .ipc-tip-body { display: block; }
body .ipc .ipc-c-cond { color: var(--ipc-sub); font-size: 12px; min-width: 130px; }
body .ipc .ipc-c-cta { width: 1%; }
body .ipc .ipc-lbl { display: none; }
body .ipc .ipc-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 8px; background: var(--ipc-blue); color: #fff !important; font-weight: 700; text-decoration: none !important; white-space: nowrap; font-size: 13px; }
body .ipc .ipc-cta:hover { background: #083f92; }
body .ipc .ipc-best td { background: #fff8f2; }
body .ipc .ipc-best .ipc-c-real { background: var(--ipc-orange-bg) !important; }
body .ipc .ipc-best .ipc-real { color: var(--ipc-orange); }
body .ipc .ipc-best .ipc-cta { background: var(--ipc-orange); }
body .ipc .ipc-none { padding: 24px; text-align: center; color: var(--ipc-sub); }
body .ipc .ipc-none[hidden], body .ipc .ipc-more[hidden], body .ipc .ipc-cmpbar[hidden] { display: none !important; }
body .ipc .ipc-more { display: block; width: calc(100% - 24px); margin: 12px auto; min-height: 48px; border: 1px solid var(--ipc-blue); border-radius: 8px; background: #fff; color: var(--ipc-blue); font-weight: 700; }
body .ipc .ipc-foot { font-size: 11px; color: var(--ipc-mute); margin-top: 10px !important; line-height: 1.7; }
body .ipc .ipc-foot a { color: inherit; text-decoration: underline; } /* 1.1.19：出典のリンク */

/* 比較リスト */
body .ipc .ipc-cmpbar { position: sticky; bottom: 12px; z-index: 50; margin-top: 12px; }
body .ipc .ipc-cmpbar-in { background: #1a1d21; color: #fff; border-radius: 12px; padding: 10px 12px 10px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
body .ipc .ipc-cmpbar-items { display: flex; gap: 6px; flex-wrap: wrap; }
body .ipc .ipc-cmpbar-item { background: #33373d; color: #fff; border: 0; border-radius: 999px; padding: 4px 12px; font-size: 12px; min-height: 32px; }
body .ipc .ipc-cmpbar-left { font-size: 12px; color: #b8bec6; }
body .ipc .ipc-cmpbar-left.ipc-warn { color: #ffd27a; }
body .ipc .ipc-cmpbar-clear { margin-left: auto; background: none; border: 0; color: #fff; text-decoration: underline; font-size: 12px; min-height: 44px; }
body .ipc .ipc-cmpbar-open { background: #fff; color: #1a1d21; border: 0; border-radius: 8px; padding: 0 18px; min-height: 44px; font-weight: 700; }
body .ipc .ipc-cmpbar-open:disabled { opacity: .5; cursor: default; }
/* 1.1.18：テーマ（SWELL）の「*{margin:0}」「.post_content div > :last-child{margin-bottom:0 !important}」で画面の端に寄らないよう、中央寄せの margin を明示 */
body .ipc .ipc-dialog { margin: auto !important; border: 0; border-radius: 12px; padding: 0; max-width: min(960px, calc(100vw - 24px)); width: 100%; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: hidden; color: var(--ipc-text); }
body .ipc .ipc-dialog-in { display: flex; flex-direction: column; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
html.ipc-lock, html.ipc-lock body { overflow: hidden !important; }
body .ipc .ipc-cmp-note { white-space: pre-line; color: var(--ipc-sub); line-height: 1.6; }
body .ipc .ipc-dialog::backdrop { background: rgba(0,0,0,.45); }
body .ipc .ipc-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--ipc-line); }
body .ipc .ipc-dialog-close { background: none; border: 0; font-size: 22px; min-width: 44px; min-height: 44px; }
body .ipc .ipc-dialog-body { padding: 12px 16px 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body .ipc .ipc-dialog-head { flex: 0 0 auto; }
body .ipc .ipc-cmpt-wrap { overflow-x: auto; }
body .ipc .ipc-cmpt { border-collapse: collapse; width: 100%; font-size: 13px; margin: 0; }
body .ipc .ipc-cmpt th, body .ipc .ipc-cmpt td { border: 0; border-bottom: 1px solid #eef0f2; padding: 10px; text-align: left; vertical-align: top; min-width: 150px; }
body .ipc .ipc-cmpt th { color: var(--ipc-sub); font-weight: 700; min-width: 120px; background: #f7f8fa; }
/* 1.1.19：横にスクロールしても項目名が見えるよう、項目名の列を左に固定。スマホでは2件が横に収まる幅に */
body .ipc .ipc-cmpt th { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 #eef0f2; }
@media (max-width: 480px) {
  body .ipc .ipc-cmpt th, body .ipc .ipc-cmpt td { padding: 8px; min-width: 112px; }
  body .ipc .ipc-cmpt th { min-width: 84px; width: 84px; }
  body .ipc .ipc-cmpt .ipc-cta { white-space: normal; padding-left: 8px; padding-right: 8px; }
}
body .ipc .ipc-cmpt .ipc-real { font-size: 18px; }
body .ipc .ipc-cmpt .ipc-min { color: var(--ipc-orange); }
body .ipc .ipc-cmpt .ipc-nw { white-space: nowrap; } /* 1.1.20：「256GB」の「B」だけ次の行に回らないように */

/* スペック表 */
body .ipc .ipc-spec-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--ipc-line); border-radius: 12px; }
body .ipc .ipc-spec-table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 0; border: 0; font-size: 13px; }
body .ipc .ipc-spec-table th, body .ipc .ipc-spec-table td { border: 0; border-bottom: 1px solid #eef0f2; padding: 10px 12px; text-align: center; min-width: 120px; background: #fff; }
body .ipc .ipc-spec-table thead th { background: #f7f8fa; color: var(--ipc-text); vertical-align: bottom; font-weight: 700; }
body .ipc .ipc-spec-table tbody td { color: var(--ipc-text); }
body .ipc .ipc-spec-table tbody tr:nth-child(even) td { background: #f6f8fb; }
body .ipc .ipc-spec-table tbody tr:nth-child(even) .ipc-spec-h { background: #eef1f5; }
body .ipc .ipc-spec-table tbody tr:hover td, body .ipc .ipc-spec-table tbody tr:hover .ipc-spec-h { background: #e8f0fc; }
body .ipc .ipc-spec-table .ipc-spec-h { position: sticky; left: 0; z-index: 1; text-align: left; background: #f7f8fa; color: var(--ipc-sub); font-weight: 700; min-width: 110px; }
body .ipc .ipc-spec-name { display: block; font-weight: 800; font-size: 14px; color: var(--ipc-text); }
body .ipc .ipc-spec-link { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--ipc-blue); white-space: nowrap; }

/* 今のiPhoneと比較 */
body .ipc.ipc-compare { max-width: 560px; margin-left: auto; margin-right: auto; }
body .ipc .ipc-cmp-sel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: #fff; border: 1px solid var(--ipc-line); border-radius: 12px; padding: 14px; margin: 12px 0; }
body .ipc .ipc-cmp-sel label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ipc-sub); }
body .ipc .ipc-cmp-sel select { font-weight: 700; color: var(--ipc-text); width: 100%; }
body .ipc .ipc-sel-target { border: 2px solid var(--ipc-blue) !important; background: var(--ipc-blue-bg) !important; color: var(--ipc-blue) !important; }
body .ipc .ipc-box { background: #fff; border: 1px solid var(--ipc-line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
body .ipc .ipc-box-t { font-weight: 800; font-size: 15px; margin-bottom: 10px !important; }
body .ipc .ipc-care { background: #fff8f1; border-color: #f3d2b8; }
body .ipc .ipc-size { display: flex; justify-content: center; }
body .ipc .ipc-size-svg { width: 100%; max-width: 260px; height: auto; }
body .ipc .ipc-r-tgt { fill: var(--ipc-blue-bg); stroke: var(--ipc-blue); stroke-width: 2.5; }
body .ipc .ipc-r-tgt-in { fill: none; stroke: var(--ipc-blue); stroke-width: 1; stroke-opacity: .5; }
body .ipc .ipc-r-cur { fill: none; stroke: var(--ipc-mute); stroke-width: 2; stroke-dasharray: 6 5; }
body .ipc .ipc-r-dim { stroke: var(--ipc-blue); stroke-width: 1; }
body .ipc .ipc-legend { display: flex; justify-content: center; gap: 16px; font-size: 12px; margin: 8px 0 12px; flex-wrap: wrap; }
body .ipc .ipc-legend span { display: flex; align-items: center; gap: 6px; }
body .ipc .ipc-lg-cur { display: inline-block; width: 18px; border-top: 2px dashed var(--ipc-mute); }
body .ipc .ipc-lg-tgt { display: inline-block; width: 18px; height: 10px; background: var(--ipc-blue-bg); border: 2px solid var(--ipc-blue); border-radius: 3px; }
body .ipc .ipc-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: center; }
body .ipc .ipc-dim { background: #f4f6fa; border-radius: 8px; padding: 8px 4px; display: flex; flex-direction: column; gap: 2px; }
body .ipc .ipc-dim span { font-size: 11px; color: var(--ipc-sub); }
body .ipc .ipc-dim strong { font-size: 15px; white-space: nowrap; } /* 1.1.19：「+0.55mm」の「m」だけ次の行に回らないように */
@media (max-width: 480px) { body .ipc .ipc-dims { gap: 4px; } body .ipc .ipc-dim { padding: 8px 2px; } body .ipc .ipc-dim strong { font-size: 13px; } }
@media (max-width: 360px) { body .ipc .ipc-dim strong { font-size: 12px; } }
body .ipc .ipc-dim strong.ipc-chg { color: var(--ipc-blue); }
body .ipc .ipc-dim small { font-size: 10px; color: var(--ipc-mute); }
body .ipc .ipc-dim .ipc-dim-n { display: block; font-size: 10px; }
body .ipc .ipc-screen { font-size: 12px; color: var(--ipc-sub); margin-top: 10px !important; }
body .ipc .ipc-li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid #eef0f2; font-size: 13px; }
body .ipc .ipc-li:last-child { border-bottom: 0; }
body .ipc .ipc-li > span:first-child { color: var(--ipc-sub); }
body .ipc .ipc-box:not(.ipc-care) .ipc-li strong { color: var(--ipc-green); }
body .ipc .ipc-cta-wide { display: flex; width: 100%; min-height: 52px; font-size: 16px; }

body .ipc .ipc-empty { padding: 12px; border: 1px dashed #c00; color: #c00; font-size: 13px; }

body .ipc.ipc-price { container-type: inline-size; container-name: ipcw; }

/* 幅が狭いとき（スマホ・本文幅の狭いテーマ）はカード表示 */
@container ipcw (max-width: 759px) {
  body .ipc .ipc-fgrid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body .ipc .ipc-table-wrap { background: none; border: 0; border-radius: 0; overflow: visible; }
  body .ipc .ipc-table { display: block; }
  body .ipc .ipc-table thead { display: none; }
  body .ipc .ipc-tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
  body .ipc .ipc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 10px; background: #fff; border: 1px solid var(--ipc-line); border-radius: 12px; padding: 14px; align-content: start; }
  body .ipc .ipc-row.ipc-best { border: 2px solid var(--ipc-orange); }
  body .ipc .ipc-row td { display: block; padding: 0; border: 0; background: none !important; min-width: 0; }
  body .ipc .ipc-c-model { grid-column: 1 / 3; grid-row: 1; }
  body .ipc .ipc-c-model strong { display: inline; font-size: 16px; margin-right: 4px; }
  body .ipc .ipc-bestb { display: block; width: fit-content; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; line-height: 1.5; }
  body .ipc .ipc-c-carrier { grid-column: 3 / 4; grid-row: 1; text-align: right; }
  body .ipc .ipc-c-carrier .ipc-logo { margin-left: auto; max-width: 80px; max-height: 20px; }
  body .ipc .ipc-c-model .ipc-cap { display: inline-block; }
  body .ipc .ipc-c-real { grid-column: 1 / -1; grid-row: 2; background: #f4f6fa !important; border-radius: 8px; padding: 10px 12px !important; text-align: right; }
  body .ipc .ipc-best .ipc-c-real { background: var(--ipc-orange-bg) !important; }
  body .ipc .ipc-table td.ipc-c-real, body .ipc .ipc-table td.ipc-c-carrier, body .ipc .ipc-table td.ipc-c-monthly { text-align: right; }
  body .ipc .ipc-c-real > .ipc-lbl { display: block; text-align: left; font-size: 12px; color: var(--ipc-sub); line-height: 1.4; }
  body .ipc .ipc-c-real .ipc-badge { white-space: normal; text-align: left; }
  body .ipc .ipc-real { font-size: 24px; }
  body .ipc .ipc-ptsd { text-align: left; clear: both; }
  body .ipc .ipc-c-price { grid-column: 1 / 3; grid-row: 3; font-size: 13px; }
  body .ipc .ipc-c-price .ipc-lbl { display: inline; margin-right: 4px; }
  body .ipc .ipc-c-monthly { grid-column: 3 / 4; grid-row: 3; text-align: right; font-size: 13px; color: var(--ipc-sub); }
  body .ipc .ipc-c-monthly::before { content: "月々 "; }
  body .ipc .ipc-c-monthly .ipc-m-amt { display: inline; }
  body .ipc .ipc-c-cond { grid-column: 1 / -1; grid-row: 4; }
  body .ipc .ipc-c-cmp { grid-column: 1 / 2; grid-row: 5; width: auto; text-align: left !important; align-self: stretch; }
  body .ipc .ipc-cmp-l { border: 1px solid var(--ipc-line2); border-radius: 8px; padding: 0 12px; min-height: 48px; height: 100%; gap: 6px; font-weight: 700; font-size: 13px; }
  body .ipc .ipc-cmp-l span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  body .ipc .ipc-c-cta { grid-column: 2 / 4; grid-row: 5; align-self: stretch; width: auto; }
  body .ipc .ipc-cta { min-height: 48px; width: 100%; }
  body .ipc .ipc-more { width: 100%; }
}
/* 本文幅 760〜979px（SWELLの標準的な本文幅など）：詰めた表 */
@container ipcw (min-width: 760px) and (max-width: 979px) {
  body .ipc .ipc-table, body .ipc .ipc-table thead, body .ipc .ipc-table tbody { display: block; }
  body .ipc .ipc-table tr { display: grid; grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, .95fr) 132px; align-items: center; border-bottom: 1px solid #eef0f2; }
  body .ipc .ipc-table th, body .ipc .ipc-table td { border: 0; padding: 10px 8px; }
  body .ipc .ipc-table thead th:nth-child(4), body .ipc .ipc-table thead th:nth-child(7) { display: none; }
  body .ipc .ipc-table thead th:nth-child(8) { grid-column: 6; }
  body .ipc .ipc-row td.ipc-c-cmp { grid-column: 1; grid-row: 1 / 3; width: auto; }
  body .ipc .ipc-row td.ipc-c-model { grid-column: 2; grid-row: 1; }
  body .ipc .ipc-row td.ipc-c-carrier { grid-column: 3; grid-row: 1; }
  body .ipc .ipc-row td.ipc-c-real { grid-column: 4; grid-row: 1 / 3; align-self: stretch; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
  body .ipc .ipc-row td.ipc-c-monthly { grid-column: 5; grid-row: 1; }
  body .ipc .ipc-row td.ipc-c-cta { grid-column: 6; grid-row: 1 / 3; width: auto; }
  body .ipc .ipc-row td.ipc-c-price { grid-column: 2 / 4; grid-row: 2; padding-top: 0; font-size: 12px; }
  body .ipc .ipc-row td.ipc-c-price .ipc-lbl { display: inline; margin-right: 4px; }
  body .ipc .ipc-row td.ipc-c-cond { grid-column: 5; grid-row: 2; padding-top: 0; font-size: 11px; min-width: 0; }
  body .ipc .ipc-row td.ipc-c-cond { grid-column: 2 / 4; grid-row: 3; padding-top: 0; }
  body .ipc .ipc-row td.ipc-c-cmp, body .ipc .ipc-row td.ipc-c-real, body .ipc .ipc-row td.ipc-c-cta { grid-row: 1 / 4; }
  body .ipc .ipc-cta { white-space: normal; text-align: center; line-height: 1.3; width: 100%; padding: 6px 10px; }
  body .ipc .ipc-c-model strong { white-space: normal; }
  body .ipc .ipc-row td.ipc-c-monthly { grid-row: 1 / 4; }
  body .ipc .ipc-row td.ipc-c-model { align-self: end; }
  body .ipc .ipc-row td.ipc-c-carrier { grid-row: 1 / 3; }
  body .ipc .ipc-row td.ipc-c-cmp { padding: 10px 0; text-align: center; }
  body .ipc .ipc-row td.ipc-c-price { grid-column: 2 / 3; }
  body .ipc .ipc-row td.ipc-c-real { padding: 10px 12px; }
  body .ipc .ipc-row td.ipc-c-model, body .ipc .ipc-row td.ipc-c-price, body .ipc .ipc-row td.ipc-c-cond { padding-right: 12px; }
  body .ipc .ipc-row td.ipc-c-monthly { white-space: normal; padding-left: 12px; }
  body .ipc .ipc-row td.ipc-c-cta { padding: 10px 8px 10px 4px; }
  body .ipc .ipc-row .ipc-cta { font-size: 12px; padding: 6px; }
  body .ipc .ipc-best { background: #fff8f2; }
  body .ipc .ipc-best td { background: none; }
  body .ipc .ipc-best td.ipc-c-real { background: var(--ipc-orange-bg) !important; }
}

/* コンテナクエリ非対応の古いブラウザ（iOS 15以前など）向け */
@supports not (container-type: inline-size) {
  @media (max-width: 767px) {
  body .ipc .ipc-fgrid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body .ipc .ipc-table-wrap { background: none; border: 0; border-radius: 0; overflow: visible; }
  body .ipc .ipc-table { display: block; }
  body .ipc .ipc-table thead { display: none; }
  body .ipc .ipc-tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
  body .ipc .ipc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 10px; background: #fff; border: 1px solid var(--ipc-line); border-radius: 12px; padding: 14px; align-content: start; }
  body .ipc .ipc-row.ipc-best { border: 2px solid var(--ipc-orange); }
  body .ipc .ipc-row td { display: block; padding: 0; border: 0; background: none !important; min-width: 0; }
  body .ipc .ipc-c-model { grid-column: 1 / 3; grid-row: 1; }
  body .ipc .ipc-c-model strong { display: inline; font-size: 16px; margin-right: 4px; }
  body .ipc .ipc-bestb { display: block; width: fit-content; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; line-height: 1.5; }
  body .ipc .ipc-c-carrier { grid-column: 3 / 4; grid-row: 1; text-align: right; }
  body .ipc .ipc-c-carrier .ipc-logo { margin-left: auto; max-width: 80px; max-height: 20px; }
  body .ipc .ipc-c-model .ipc-cap { display: inline-block; }
  body .ipc .ipc-c-real { grid-column: 1 / -1; grid-row: 2; background: #f4f6fa !important; border-radius: 8px; padding: 10px 12px !important; text-align: right; }
  body .ipc .ipc-best .ipc-c-real { background: var(--ipc-orange-bg) !important; }
  body .ipc .ipc-table td.ipc-c-real, body .ipc .ipc-table td.ipc-c-carrier, body .ipc .ipc-table td.ipc-c-monthly { text-align: right; }
  body .ipc .ipc-c-real > .ipc-lbl { display: block; text-align: left; font-size: 12px; color: var(--ipc-sub); line-height: 1.4; }
  body .ipc .ipc-c-real .ipc-badge { white-space: normal; text-align: left; }
  body .ipc .ipc-real { font-size: 24px; }
  body .ipc .ipc-ptsd { text-align: left; clear: both; }
  body .ipc .ipc-c-price { grid-column: 1 / 3; grid-row: 3; font-size: 13px; }
  body .ipc .ipc-c-price .ipc-lbl { display: inline; margin-right: 4px; }
  body .ipc .ipc-c-monthly { grid-column: 3 / 4; grid-row: 3; text-align: right; font-size: 13px; color: var(--ipc-sub); }
  body .ipc .ipc-c-monthly::before { content: "月々 "; }
  body .ipc .ipc-c-monthly .ipc-m-amt { display: inline; }
  body .ipc .ipc-c-cond { grid-column: 1 / -1; grid-row: 4; }
  body .ipc .ipc-c-cmp { grid-column: 1 / 2; grid-row: 5; width: auto; text-align: left !important; align-self: stretch; }
  body .ipc .ipc-cmp-l { border: 1px solid var(--ipc-line2); border-radius: 8px; padding: 0 12px; min-height: 48px; height: 100%; gap: 6px; font-weight: 700; font-size: 13px; }
  body .ipc .ipc-cmp-l span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  body .ipc .ipc-c-cta { grid-column: 2 / 4; grid-row: 5; align-self: stretch; width: auto; }
  body .ipc .ipc-cta { min-height: 48px; width: 100%; }
  body .ipc .ipc-more { width: 100%; }
  }
}


@media (max-width: 767px) {
  body .ipc select, body .ipc .ipc-sort select, body .ipc .ipc-cmp-sel select { font-size: 16px; }
  body .ipc .ipc-filters { padding: 14px; }
  body .ipc .ipc-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  body .ipc .ipc-chip { flex: none; min-height: 44px; }
  body .ipc .ipc-cmpbar { bottom: 8px; }
  body .ipc .ipc-cmpbar-items, body .ipc .ipc-cmpbar-left { display: none; }
  body .ipc .ipc-li { grid-template-columns: 96px minmax(0, 1fr); }
  body .ipc.ipc-compare { max-width: none; }
}

/* シェア（この条件の結果） */
body .ipc .ipc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 4px; }
body .ipc .ipc-share-t { font-size: 13px; color: var(--ipc-sub); margin-right: 4px; }
body .ipc .ipc-share-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
body .ipc .ipc-share-x { background: #0f1419; color: #fff; }
body .ipc .ipc-share-line { background: #06c755; color: #fff; }
body .ipc .ipc-share-copy { background: #fff; color: var(--ipc-blue); border-color: var(--ipc-blue); font-family: inherit; }
body .ipc .ipc-share-btn:hover { opacity: .85; }
body .ipc .ipc-share-msg { font-size: 12px; color: var(--ipc-blue); }
@media (max-width: 480px) { body .ipc .ipc-share-t { width: 100%; } }
body .ipc .ipc-share[hidden] { display: none; }

/* 1.1.22：「役に立った」ボタン */
body .ipc .ipc-like { margin: 16px 0 0 !important; padding: 14px 12px; border: 1px solid var(--ipc-line); border-radius: 12px; text-align: center; background: #fff; }
body .ipc .ipc-like-q { margin: 0 0 8px !important; font-size: 14px; color: var(--ipc-sub); }
body .ipc .ipc-like-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 20px; border: 2px solid var(--ipc-blue); border-radius: 999px; background: #fff; color: var(--ipc-blue); font-size: 15px; font-weight: 700; cursor: pointer; }
body .ipc .ipc-like-btn:hover { background: var(--ipc-blue-bg); }
body .ipc .ipc-like-btn[aria-pressed="true"] { background: var(--ipc-blue-bg); cursor: default; }
body .ipc .ipc-like-btn:disabled { opacity: 1; }
body .ipc .ipc-like-i { font-size: 18px; line-height: 1; }
body .ipc .ipc-like-n { font-variant-numeric: tabular-nums; padding-left: 6px; border-left: 1px solid currentColor; margin-left: 2px; }
body .ipc .ipc-like-thx { margin: 8px 0 0 !important; font-size: 13px; color: var(--ipc-sub); }
