From eee30f4151ee1ca25b197633462730ee09c7acf0 Mon Sep 17 00:00:00 2001
From: Masahiro FUJIMOTO <mfujimot@gmail.com>
Date: Thu, 6 Jan 2022 22:46:22 +0900
Subject: 2021/08/13 時点の英語版に同期
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../ja/web/css/filter-function/opacity()/index.md  | 98 ++++++++++------------
 1 file changed, 44 insertions(+), 54 deletions(-)

(limited to 'files/ja')

diff --git a/files/ja/web/css/filter-function/opacity()/index.md b/files/ja/web/css/filter-function/opacity()/index.md
index 0d1f304a27..edee2ef5b5 100644
--- a/files/ja/web/css/filter-function/opacity()/index.md
+++ b/files/ja/web/css/filter-function/opacity()/index.md
@@ -3,70 +3,60 @@ title: opacity()
 slug: Web/CSS/filter-function/opacity()
 tags:
   - CSS
-  - CSS Function
-  - Filter Effects
-  - Function
-  - Reference
+  - CSS 関数
+  - フィルター効果
+  - 関数
+  - リファレンス
+browser-compat: css.types.filter-function.opacity
 translation_of: Web/CSS/filter-function/opacity()
 ---
-<div>{{cssref}}</div>
+{{CSSRef}}
 
-<p><strong><code>opacity()</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> の関数で、入力画像のサンプルに透過性を適用します。結果は {{cssxref("&lt;filter-function&gt;")}} です。</p>
+**`opacity()`** は [CSS](/ja/docs/Web/CSS) の[関数](/ja/docs/Web/CSS/CSS_Functions)で、入力画像のサンプルに透過性を適用します。結果は {{cssxref("&lt;filter-function&gt;")}} です。
 
-<div>{{EmbedInteractiveExample("pages/css/function-opacity.html")}}</div>
+{{EmbedInteractiveExample("pages/css/function-opacity.html")}}
 
-<div class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</div>
+> **Note:** この関数はもっと一般的な {{Cssxref("opacity")}} プロパティと似ています。違いはフィルターの場合、ブラウザーによってはハードウェアアクセラレーションにより性能が上がることです。
 
-<div class="note">
-<p><strong>注:</strong> この関数はもっと一般的な {{Cssxref("opacity")}} プロパティと似ています。違いはフィルターの場合、ブラウザーによってはハードウェアアクセラレーションにより性能が上がることです。</p>
-</div>
+## 構文
 
-<h2 id="Syntax" name="Syntax">構文</h2>
+```css
+opacity(amount)
+```
 
-<pre class="syntaxbox notranslate">opacity(<var>amount</var>)</pre>
+### 引数
 
-<h3 id="Parameters" name="Parameters">引数</h3>
+- `amount`
+  - : 変換の度合いで、 {{cssxref("&lt;number&gt;")}} または {{cssxref("&lt;percentage&gt;")}} で指定します。 `0%` の値では完全に透明になり、 `100%` の値では入力が変更されないままになります。 `0%` と `100%` の間の値は、効果の割合です。補間時の欠損値は `1` です。
 
-<dl>
- <dt><code><var>amount</var></code></dt>
- <dd>変換の度合いで、 {{cssxref("&lt;number&gt;")}} または {{cssxref("&lt;percentage&gt;")}} で指定します。 <code>100%</code> の値では完全に透明になり、 <code>0%</code> の値では入力が変更されないままになります。 <code>0%</code> と <code>100%</code> の間の値は、効果の割合です。補間時の欠損値は <code>0</code> です。</dd>
-</dl>
+## 例
 
-<h2 id="Examples" name="Examples">例</h2>
+### opacity() の正しい値の例
 
-<pre class="brush: css notranslate">opacity(0%)   /* 完全に透過 */
+```css
+opacity(0%)   /* 完全に透過 */
 opacity(50%)  /* 50% 透過 */
-opacity(1)    /* 効果なし */</pre>
-
-<h2 id="Specifications" name="Specifications">仕様書</h2>
-
-<table class="standard-table">
- <thead>
-  <tr>
-   <th scope="col">仕様書</th>
-   <th scope="col">状態</th>
-  </tr>
- </thead>
- <tbody>
-  <tr>
-   <td>{{SpecName('Filters 1.0', '#funcdef-filter-opacity', 'opacity()')}}</td>
-   <td>{{Spec2('Filters 1.0')}}</td>
-  </tr>
- </tbody>
-</table>
-
-<h2 id="See_also" name="See_also">関連情報</h2>
-
-<ul>
- <li>{{cssxref("&lt;filter-function&gt;")}}</li>
- <li>CSS の {{cssxref("opacity")}} プロパティ</li>
- <li>{{cssxref("filter-function/blur", "blur()")}}</li>
- <li>{{cssxref("filter-function/brightness", "brightness()")}}</li>
- <li>{{cssxref("filter-function/contrast", "contrast()")}}</li>
- <li>{{cssxref("filter-function/drop-shadow", "drop-shadow()")}}</li>
- <li>{{cssxref("filter-function/grayscale", "grayscale()")}}</li>
- <li>{{cssxref("filter-function/hue-rotate", "hue-rotate()")}}</li>
- <li>{{cssxref("filter-function/invert", "invert()")}}</li>
- <li>{{cssxref("filter-function/saturate", "saturate()")}}</li>
- <li>{{cssxref("filter-function/sepia", "sepia()")}}</li>
-</ul>
+opacity(1)    /* 効果なし */
+```
+
+## 仕様書
+
+{{Specifications}}
+
+## ブラウザーの互換性
+
+{{Compat}}
+
+## 関連情報
+
+- {{cssxref("&lt;filter-function&gt;")}}
+- CSS の {{cssxref("opacity")}} プロパティ
+- {{cssxref("filter-function/blur()", "blur()")}}
+- {{cssxref("filter-function/brightness()", "brightness()")}}
+- {{cssxref("filter-function/contrast()", "contrast()")}}
+- {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+- {{cssxref("filter-function/grayscale()", "grayscale()")}}
+- {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+- {{cssxref("filter-function/invert()", "invert()")}}
+- {{cssxref("filter-function/saturate()", "saturate()")}}
+- {{cssxref("filter-function/sepia()", "sepia()")}}
-- 
cgit v1.2.3-54-g00ecf