「MediaWiki:Common.css」の版間の差分

提供:MochiuWiki - SUSE, Electronic Circuit, PCB
ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
 
(同じ利用者による、間の59版が非表示)
1行目: 1行目:
/* MediaWiki:Common.css */
/* MediaWiki:Common.css */
/* Fluentスキンの場合 */
/* Default (Vector) スキンの場合 */


/* MediaWiki全体のフォント設定(ウェイトバリエーション含む) */
/* ここに記述したCSSはすべての外装に反映されます */
body {
    font-family:
        /* MacOS/iOS */
        "Hiragino Sans W3",
        "Hiragino Sans Regular",
        "Hiragino Kaku Gothic ProN W3",
        "Hiragino Kaku Gothic Pro W3",
        /* Windows */
        "Yu Gothic Regular",
        "Yu Gothic Medium",
        /* Linux */
        "Noto Sans CJK JP Regular",
        "Meiryo W3",
        /* フォールバック */
        sans-serif;


    font-weight: normal;  /* または400 */
}
/* ここに記述したCSSはすべての外装に反映されます */
.mw-editfont-monospace {
.mw-editfont-monospace {
font-size: 15px;
font-size: 15px !important;
/*font-family: 'Noto Sans JP', sans-serif !important;*/
/*font-family: 'Noto Sans JP', sans-serif !important;*/
font-family: monospace !important;
font-family: monospace !important;
37行目: 18行目:
.mw-content-ltr {
.mw-content-ltr {
font-size: 13px !important;
font-size: 13px !important;
}
/* 特別ページ全体の基本設定 */
body.mw-special-page,
body.ns-special .mw-body {
    font-size: 13px !important;
}
}
}
}
53行目: 28行目:


.mw-content-ltr {
.mw-content-ltr {
font-size: 14px !important;
font-size: 15px !important;
}
 
/* 特別ページ全体の基本設定 */
body.mw-special-page,
body.ns-special .mw-body {
    font-size: 14px !important;
}
}
}
}
70行目: 39行目:


.mw-content-ltr {
.mw-content-ltr {
font-size: 16px !important;
font-size: 16px;
}
 
/* 特別ページ全体の基本設定 */
body.mw-special-page,
body.ns-special .mw-body {
    font-size: 16px !important;
}
}
}
}
94行目: 57行目:
}
}


.wikiEditor-ui-text textarea#wpTextbox1 {
.mw-body-content {
font-size: 110% !important;
/*font-family: "DejaVu Sans" !important;*/
    font-family: "Droid Sans Mono", monospace !important;
font-family: "Droid Sans" !important;
}
}


/* ダークモードの場合のスタイル */
@media (prefers-color-scheme: dark) {
.mw-body-content {
/*font-family: "DejaVu Sans" !important;*/
font-family: "Droid Sans" !important;
/*background-color:  rgba(48, 48, 48, 1.0) !important;*/
background-color:  #2A2A2A;
}


/*.mw-special-Search, .mw-search-form-wrapper .mw-indicator, .mw-portlet-body, .mw-portlet {*/
/* タイトルページ */
/* color: #fefefe;*/
.firstHeading {
/* background-color: #303030;*/
  font-family:  "Segoe UI", -apple-system, system-ui, sans-serif !important;
/*}*/
  text-align:    center;
  border:        1px solid rgba(0, 0, 0, 0.1); /* 薄い境界線 */
  border-left:  4px solid #4299e1;  /* 左側のアクセントボーダー */
  border-right: 4px solid #4299e1; /* 右側のアクセントボーダー */
  border-radius: 12px;
  padding:      16px 24px;
  margin:        16px auto;
  width:        fit-content;
  min-width:    75%;
  max-width:    90%;
  background: linear-gradient(135deg,
      #f8faff 0%,
      #f0f5ff 25%,
      #e8f0ff 75%,
      #e0ebff 100%
  );
  box-shadow:    0 2px 8px rgba(0, 0, 0, 0.05);
  color:         #1a365d;
  transition:    all 0.3s ease;
}


.mw-highlight-lang-css {
.firstHeading:hover {
background-color: rgba(230, 230, 230, 1.0) !important;
  border-left-color:  #3182ce;
}
  border-right-color: #3182ce;
  box-shadow:       0 4px 12px rgba(0, 0, 0, 0.08);
  transform:        translateY(-1px);
}


/* 通常のpreタグの設定 */
h4 /* .mw-headline */ {
pre {
font-size: 18px !important;
  color: #f0f0f0 !important;
/*text-decoration: underline;*/
  background: linear-gradient(to bottom right, rgb(75, 75, 75), rgb(60, 60, 60)) !important;
position: relative;
  border: solid 2px rgb(150, 150, 250);
display: inline-block;
  border-radius: 5px;
}
  font-family: "DejaVu Sans Mono" !important;
}


/* mw-highlightクラス内のpreタグの設定 */
h4::after /* h4 .mw-headline::after */ {
.mw-highlight > pre {
content: "";
color: #f0f0f0 !important;
position: absolute;
background: linear-gradient(to right,
bottom: 0;
  rgb(10, 10, 10) 0%,
left: 0;
  rgb(11, 11, 11) 10%,
width: 100%; /* ヘッダの大きさに下線を調整 */
  rgb(12, 12, 12) 20%,
height: 1px; /* アンダーラインの高さ */
  rgb(13, 13, 13) 30%,
background-color: rgba(30, 30, 30, 0.5); /* アンダーラインの色 */
  rgb(14, 14, 14) 40%,
}
  rgb(15, 15, 15) 50%,
  rgb(16, 16, 16) 60%,
  rgb(17, 17, 17) 70%,
  rgb(18, 18, 18) 80%,
  rgb(19, 19, 19) 90%,
  rgb(20, 20, 20) 100%
) !important;
    /*color: #202020 !important;*/
    /*background: linear-gradient(to bottom right, rgb(230, 230, 230), rgb(245, 245, 245)) !important;*/
    border: solid 3px rgb(100, 150, 100);
  border-radius: 5px;
  font-family: "DejaVu Sans Mono" !important;
}


/* Python特有の要素 */
h5 .mw-headline {
.mw-highlight .k  { color: #569cd6 !important; }  /* キーワード (def, print など) */
font-size: 16px !important;
.mw-highlight .nf { color: #4ec9b0 !important; }  /* 関数名 (dinner_menu) */
border: solid 1px rgba(30, 30, 30, 0.7);
.mw-highlight .s  { color: #ce9178 !important; }  /* 文字列 */
border-radius: 5px;
.mw-highlight .c1 { color: #6a9955 !important; }  /* コメント */
padding: 1px 3px;
.mw-highlight .p  { color: #d4d4d4 !important; }  /* 括弧や句読点 */
margin: 5px;
.mw-highlight .n  { color: #9cdcfe !important; }  /* 変数名 */
}
.mw-highlight .o  { color: #d4d4d4 !important; } /* 演算子 */


/* C/C++の要素 */
/* 通常のpreタグの設定 */
.mw-highlight .cp { color: #c678dd !important; }    /* プリプロセッサ (#include, #define など) */
pre {
.mw-highlight .kt { color: #569cd6 !important; }    /* 型名 (int, void など) */
color: #202020;
.mw-highlight .nn { color: #61afef !important; }    /* 名前空間 */
/*background-color: rgb(250, 250, 250);*/
.mw-highlight .nc { color: #4ec9b0 !important; }    /* クラス名 */
background: linear-gradient(to bottom right, rgb(250, 250, 250), white);
.mw-highlight .nl { color: #61afef !important; }    /* ライブラリ名 */
border: solid 2px rgb(150, 150, 250);
.mw-highlight .c1 { color: #6a9955 !important; }    /* 単行コメント */
border-radius: 5px;
.mw-highlight .cm { color: #6a9955 !important; }    /* 複数行コメント */
font-family: "DejaVu Sans Mono" !important;
.mw-highlight .na { color: #9cdcfe !important; }   /* 属性名 */
}


/* テンプレート関連 */
/* mw-highlightクラス内のpreタグの設定 */
.mw-highlight .ops { color: #d4d4d4 !important; /* テンプレート演算子 */
.mw-highlight > pre {
.mw-highlight .tel { color: #4ec9b0 !important; }   /* テンプレート要素 */
color: #202020;
/*background-color: rgb(250, 250, 250);*/
background: linear-gradient(to bottom right, rgb(250, 250, 250), white);
border: solid 3px rgb(100, 150, 100);
border-radius: 5px;
}


/* シェルスクリプト (シェル / ZSH / Fish) の要素 */
code {
.mw-highlight .nv { color: #9cdcfe !important; }    /* 変数名 ($PATH など) */
color: #fefefe;
.mw-highlight .nb { color: #569cd6 !important; }    /* 組み込みコマンド */
font-weight: bold;
.mw-highlight .s1,
font-family: "DejaVu Sans Mono" !important;
.mw-highlight .s2 { color: #ce9178 !important; }    /* 文字列 */
color: #ffffff;
.mw-highlight .c1 { color: #6a9955 !important; }    /* コメント */
/*background-color: #1166A0;*/
/*background-color: rgba(50, 50, 150, 0.8) !important;*/
background-color: rgba(41, 92, 194, 1.0) !important;
border: solid 1px rgba(255, 255, 255, 0.3);
border-radius: 5px;
padding: 1px 5px; /* 内側の余白 : 上下1px, 左右5px */
}


/* PHPの要素 */
/* 表のキャプション */
.mw-highlight .vg { color: #9cdcfe !important; }    /* グローバル変数 */
.wikitable > caption {
.mw-highlight .nf { color: #dcdcaa !important; }    /* 関数名 */
background: linear-gradient(180deg,
.mw-highlight .nx { color: #dcdcaa !important; }    /* その他の識別子 */
#2B579A 0%,
.mw-highlight .kc { color: #569cd6 !important; }    /* 定数キーワード */
#2B579A 20%,
.mw-highlight .kd { color: #569cd6 !important; }    /* 宣言キーワード */
#366DC2 60%,
.mw-highlight .mi { color: #b5cea8 !important; }    /* 数値 */
#366DC2 100%
.mw-highlight .oo { color: #569cd6 !important; }   /* オブジェクト演算子 */
);
color: white;
padding: 8px;
font-weight: bold;
text-align: center;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border: 1px solid #2B579A;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}


/* 特殊な構文要素 */
table {
.mw-highlight .sh-bang { color: #6a9955 !important; }    /* シバン (#!) */
border-collapse: collapse;
.mw-highlight .php-tag { color: #569cd6 !important; }   /* PHPタグ */
border: solid 2px #303030; /*表全体を線で囲う*/
background-color: #fefefe !important;
text-align: center;
}


/* 数値 */
.wikitable th { /* 表のヘッダ */
.mw-highlight .mi { color: #b5cea8 !important; }    /* 整数 */
color: rgb(250, 250, 250) !important;
.mw-highlight .mf { color: #b5cea8 !important; }    /* 浮動小数点数 */
font-weight: bold;
text-align: center !important;
border: solid 1px rgb(50, 50, 50);
/*background: linear-gradient(to bottom, #e4f1fc 0%, #b3d7f7 40%, #84bef1 100%) !important;*/
background: linear-gradient(to bottom, #5c80b9 0%, #4a6ea9 100%); /* グラデーションを追加してよりモダンな印象に */
}


/* 行番号がある場合 */
/* ホバー時の強調表示(オプション) */
.mw-highlight .linenos {
.wikitable th:hover {
background-color: #2d2d2d !important;
color: rgb(250, 250, 250) !important;
color: #858585 !important;
background: linear-gradient(to bottom, #6890c9 0%, #5a7eb9 100%);
border-right: 1px solid #404040 !important;
}
}


.firstHeading {
td { /* 表の各カラム */
font-family: "Droid Sans", "Droid Serif";
text-align: left;
text-align: center;
border: solid 1px rgb(50, 50, 50);
border: solid 3px rgb(250, 250, 250);
}
  border-radius: 5px;
  padding: 3px 3px;
  margin: 5px;
}


h4 /* .mw-headline */ {
/* 表の縦罫線のスタイル */
/*text-decoration: underline;*/
tr > td:first-child {
position: relative;
border-left: 1px solid #303030;
display: inline-block;
}
}


h4::after /* h4 .mw-headline::after */ {
tr > td:last-child {
content: "";
border-right: 1px solid #303030;
position: absolute;
}
bottom: 0;
left: 0;
width: 100%; /* ヘッダの大きさに下線を調整 */
height: 1px; /* アンダーラインの高さ */
background-color: rgba(250, 250, 250, 0.5); /* アンダーラインの色 */
}


h5 .mw-headline {
/* 表の横罫線のスタイル */
/*text-decoration: underline;*/
tr:first-child > td {
border: solid 1px rgba(250, 250, 250, 0.7);
border-top: 1px solid #303030;
  border-radius: 5px;
}
  padding: 1px 3px;
  margin: 5px;
}


code {
tr:last-child > td {
color: #fefefe;
border-bottom: 1px solid #303030;
font-weight: bold;
}
font-family: "DejaVu Sans Mono" !important;
/*background-color: #1166A0;*/
background-color: rgb(50, 50, 150) !important;
border: solid 1px rgb(255, 255, 255, 0.3);
border-radius: 5px;
padding: 1px 5px; /* 内側の余白 : 上下1px, 左右5px */
}


/* 表のキャプション */
/* 結合セルの境界線 */
/*caption {*/
.wikitable td[rowspan] {
/* color: #e0e0e0;*/
border: solid 1px rgb(50, 50, 50);
/* font-weight: bold;*/
    /*border: 1px solid #303030;*/
/* border: solid 2px #303030;*/
}
/* background-color: rgb(50, 50, 180);*/
/*}*/


.wikitable > caption {
/* キャプションがない場合、テーブルの上端を丸くする */
    background: linear-gradient(180deg,
.wikitable:not(:has(caption)) > tr:first-child th,
        #2B579A 0%,
.wikitable:not(:has(caption)) > * > tr:first-child th {
        #2B579A 20%,
border-top: none !important;
        #366DC2 60%,
}
        #366DC2 100%
    );
    color: white;
    padding: 8px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #2B579A;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}


table {
.wikitable:not(:has(caption)) > tr:first-child th:first-child,
border-collapse: collapse;
.wikitable:not(:has(caption)) > * > tr:first-child th:first-child {
border: solid 2px #303030; /*表全体を線で囲う*/
border-left: none !important;
background-color: #202020 !important;
border-top-left-radius: 10px;
text-align: center;
}
}


table tr[style="background-color:#e0e0e0;"] {
.wikitable:not(:has(caption)) > tr:first-child th:last-child,
  background-color: #5f5f5f !important;
.wikitable:not(:has(caption)) > * > tr:first-child th:last-child {
}
border-right: none !important;
border-top-right-radius: 10px;
}


th {/*thに対して*/
/* キャプションがある場合、キャプションの上端を丸くする */
color: #fefefe;
.wikitable:has(caption) caption {
font-weight: bold;
border-top-left-radius: 10px;
text-align: center !important;
border-top-right-radius: 10px;
border: solid 1px blue;
}
    background: linear-gradient(to bottom, #9cc7fa 0%, #4a99f7 40%, #0066cc 100%) !important;
}


td {/*tdに対して*/
/* MediaWiki内のリンク */
color: #fefefe;
a.interwiki {
text-align: left;
font-weight: bold;
border: solid 1px blue;
}
}


/* 表の縦罫線のスタイル */
/* MediaWiki外のリンク */
tr > td:first-child {
.mw-parser-output a.external {
    border-left: 3px solid blue;
font-weight: bold;
}
}
tr > td:last-child {
    border-right: 3px solid blue;
}


/* 表の横罫線のスタイル */
/* codeタグ内のMediaWiki外のリンク */
tr:first-child > td {
code a.external {
    border-top: 3px solid blue;
font-weight: bold;
}
/*color: #DE7231 !important;*/
tr:last-child > td {
color: #ffa500 !important;
    border-bottom: 3px solid blue;
}
}


/* 結合セルの境界線 */
/* MediaWiki外のリンク */
[rowspan] {
a.external {
    border-top: 2px solid blue !important;
font-weight: bold;
    border-bottom: 2px solid blue !important;
}
}


/* キャプションがない場合、テーブルの上端を丸くする */
/* テーブル内のMediaWiki外のリンク */
.wikitable:not(:has(caption)) > tr:first-child th,
table.wikitable td a {
.wikitable:not(:has(caption)) > * > tr:first-child th {
font-weight: bold;
  border-top: none !important;
}
}


.wikitable:not(:has(caption)) > tr:first-child th:first-child,
.mw-parser-output a.new:visited {
.wikitable:not(:has(caption)) > * > tr:first-child th:first-child {
font-weight: bold;
  border-left: none !important;
}
  border-top-left-radius: 10px;
}


.wikitable:not(:has(caption)) > tr:first-child th:last-child,
.catlinks a {
.wikitable:not(:has(caption)) > * > tr:first-child th:last-child {
font-size: 14px;
  border-right: none !important;
font-weight: bold;
  border-top-right-radius: 10px;
}
}


/* キャプションがある場合、キャプションの上端を丸くする */
.catlinks ul {
.wikitable:has(caption) caption {
font-size: 14px;
  border-top-left-radius: 10px;
font-weight: bold;
  border-top-right-radius: 10px;
}
}


/* MediaWiki内のリンク */
/* カテゴリの変更 */
a.interwiki {
.mw-normal-catlinks {
color: #FF560A;
border: solid 1px rgba(250, 250, 250, 0.5);
font-weight: bold;
border-radius: 5px;
}
padding: 10px 10px;
}


/* MediaWiki外のリンク */
/* モダンでカラフルな目次のスタイル */
.mw-parser-output a.external {
#toc,
color: #DE7231;
.toc {
font-weight: bold;
    border: none;
}
    background: linear-gradient(135deg,
        #4158D0 0%,
        #C850C0 46%,
        #FFCC70 100%
    );
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


/* codeタグ内のMediaWiki外のリンク */
/* 目次のタイトル全体 */
code a.external {
#toc #mw-toc-heading,
    color: #EE803F !important;
.toc .toctitle h2 {
    font-weight: bold;
    color: #ffffff !important;
}
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
}


/* MediaWiki外のリンク */
/* 非表示リンクのスタイル */
a.external {
.toctoggle,
    color: #DE7231 !important;
.toctoggle a {
    font-weight: bold;
    color: #ffffff !important;
}
    font-weight: bold;
    background-color: transparent;
    padding: 0.1rem 0.1rem 0.0rem 0.1rem;
    border-radius: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration : underline;
}


/* テーブル内のMediaWiki外のリンク */
.toctoggle:hover,
table.wikitable td a {
.toctoggle a:hover {
    color: #DE7231 !important;
    color: #ff7e00 !important;
    font-weight: bold;
    background-color: #ffffff;
}
}


.mw-parser-output a.new:visited {
/* 目次の「非表示」リンク */
color: #FEA261;
.toc .toctogglelabel {
font-weight: bold;
    color: #ffffff;
}
    background-color: transparent;
    background-blend-mode: lighten;
    padding: 0.1rem 0.1rem 0.0rem 0.1rem;
    border-radius: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration : underline;
}


.catlinks a {
.toc .toctogglelabel:hover {
    font-size: 14px;
    color: #ff7e00;
    color: #DE7231;
    background-color: #ffffff;
    font-weight: bold;
    background-blend-mode: lighten;
    font-family: "Droid Sans" !important;
}
}


.catlinks ul {
/* 目次の項目コンテナ */
    font-size: 14px;
.toc ul {
    color: #DE7231;
    background-color: rgb(255, 255, 255);
    font-weight: bold;
    padding:         0.2rem;
    font-family: "Droid Sans" !important;
    margin:           0;
}
    border-radius:   12px;
    box-shadow:       inset 0 2px 4px rgba(0, 0, 0, 0.05);
}


/* カテゴリの変更 */
/* 目次の項目 */
.mw-normal-catlinks {
.toc li {
border: solid 1px rgba(250, 250, 250, 0.5);
    margin:     0.1rem 0;
  border-radius: 5px;
    padding:   0.1rem 0;
  padding: 10px 10px;
    transition: all 0.3s ease;
}
}
}


/* ライトモードの場合のスタイル */
/* 目次の番号 */
@media (prefers-color-scheme: light) {
.toc li > a > span.tocnumber,
.mw-category-group {
.toc-number {
font-family: "DejaVu Sans" !important;
    color: #C850C0;
    /*font-family: 'Droid Sans', "Droid Serif" !important;*/
    font-weight: 600;
}
    margin-right: 0.7rem;
}


.mw-body-content {
/* ホバー時の番号の色 */
font-family: "DejaVu Sans" !important;
.toc li > a:hover > span.tocnumber,
/*font-family: 'Jetbrains Mono', sans-serif !important;*/
.toc a:hover .toc-number {
/*font-family: "Droid Sans", "Droid Serif" !important;*/
    color: #ffffff !important;
}
}


.firstHeading {
/* リンクの基本スタイル */
font-family: "Droid Sans", "Droid Serif";
.toc a {
text-align: center;
    color:           #2d3748;
border: solid 3px rgb(80, 80, 80);
    text-decoration: none;
  border-radius: 5px;
    display:        block;
  padding: 3px 3px;
    padding:         0.2rem 0.6rem;
  margin: 5px;
    border-radius:   8px;
}
    transition:     all 0.3s ease;
    font-weight:     500;
}


h4 /* .mw-headline */ {
/* ホバー時のスタイル */
font-size: 18px !important;
.toc a:hover {
/*text-decoration: underline;*/
    color: #ffffff !important;
position: relative;
    background: linear-gradient(45deg, #4158D0, #C850C0);
display: inline-block;
    transform: translateX(6px);
}
    border: none;
    padding: 0.2rem 0.6rem;  /* 0.4rem 0.8rem から 0.2rem 0.6rem に変更 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


h4::after /* h4 .mw-headline::after */ {
/* 目次の番号 */
content: "";
.toc-number {
position: absolute;
    color: #C850C0;
bottom: 0;
    font-weight: 600;
left: 0;
    margin-right: 0.7rem;
width: 100%; /* ヘッダの大きさに下線を調整 */
}
height: 1px; /* アンダーラインの高さ */
background-color: rgba(80, 80, 80, 0.5); /* アンダーラインの色 */
}


h5 .mw-headline {
/* ホバー時の番号の色 */
/*text-decoration: underline;*/
.toc a:hover .toc-number {
border: solid 1px rgba(80, 80, 80, 0.7);
    color: #ffffff !important;
  border-radius: 5px;
}
  padding: 1px 3px;
  margin: 5px;
}


/* codeタグ内のMediaWiki外のリンク */
/* ネストされた項目のインデント */
code a.external {
.toc ul ul {
    color: #FF904F !important;
    margin-left: 1.2rem;
    font-weight: bold;
    background-color: transparent;
}
    box-shadow: none;
 
}
code {
color: #f0f0f0;
background-color: #2277B0;
/*background-color: rgba(200, 200, 200, 0.9) !important;*/
/*font-size: 13px;*/
font-weight: bold;
font-family: "DejaVu Sans Mono" !important;
border: solid 1px rgba(50, 50, 50, 0.3);
border-radius: 5px;
margin: 2px 3px;  /* 外側の余白 : 上下2px, 左右3px */
padding: 1px 3px;  /* 内側の余白 : 上下1px, 左右3px */
}
 
/* 表のキャプション */
/*caption {*/
/* color: #e0e0e0;*/
/* font-weight: bold;*/
/* border: solid 2px #303030;*/
/* background-color:  rgba(50, 50, 180, 1.0);*/
/*}*/


.wikitable > caption {
/* アクティブな項目 */
    background: linear-gradient(180deg,
.toc a:active {
        #2B579A 0%,
    color: #ffffff;
        #2B579A 20%,
    background: linear-gradient(45deg, #C850C0, #FFCC70);
        #366DC2 60%,
    transform: translateX(4px) scale(0.98);
        #366DC2 100%
    transition: all 0.1s ease;
    );
    color: white;
    padding: 8px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #2B579A;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
 
table {
border-collapse: collapse;
border: solid 2px #303030; /*表全体を線で囲う*/
background-color: #fefefe !important;
text-align: center;
}
 
th { /* 表のヘッダ */
font-weight: bold;
text-align: center !important;
border: solid 1px rgb(50, 50, 50);
background: linear-gradient(to bottom, #e4f1fc 0%, #b3d7f7 40%, #84bef1 100%) !important;
/*background-color: #66CCFF !important;*/
}
 
td { /* 表の各カラム */
text-align: left;
border: solid 1px rgb(50, 50, 50);
}
 
/* 表の縦罫線のスタイル */
tr > td:first-child {
    border-left: 3px solid #303030;
}
tr > td:last-child {
    border-right: 3px solid #303030;
}
 
/* 表の横罫線のスタイル */
tr:first-child > td {
    border-top: 3px solid #303030;
}
tr:last-child > td {
    border-bottom: 3px solid #303030;
}
 
/* 結合セルの境界線 */
[rowspan] {
    border-top: 2px solid #303030 !important;
    border-bottom: 2px solid #303030 !important;
}
 
/* キャプションがない場合、テーブルの上端を丸くする */
.wikitable:not(:has(caption)) > tr:first-child th,
.wikitable:not(:has(caption)) > * > tr:first-child th {
  border-top: none !important;
}
 
.wikitable:not(:has(caption)) > tr:first-child th:first-child,
.wikitable:not(:has(caption)) > * > tr:first-child th:first-child {
  border-left: none !important;
  border-top-left-radius: 10px;
}
 
.wikitable:not(:has(caption)) > tr:first-child th:last-child,
.wikitable:not(:has(caption)) > * > tr:first-child th:last-child {
  border-right: none !important;
  border-top-right-radius: 10px;
}
 
/* キャプションがある場合、キャプションの上端を丸くする */
.wikitable:has(caption) caption {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
 
/* カテゴリの変更 */
.mw-normal-catlinks {
border: solid 1px rgba(180, 180, 180, 0.8);
  border-radius: 5px;
  padding: 10px 10px;
}
 
pre {
  color: #202020;
  background: linear-gradient(to bottom right, rgb(250, 250, 250), white) !important;
  border: solid 2px rgb(150, 150, 250);
  border-radius: 5px;
  font-family: "DejaVu Sans Mono" !important;
}
 
/* mw-highlightクラス内のpreタグの設定 */
.mw-highlight > pre {
color: #202020;
    background: linear-gradient(to bottom right, rgb(250, 250, 250), white) !important;
    border: solid 3px rgb(100, 150, 100);
  border-radius: 5px;
  font-family: "DejaVu Sans Mono" !important;
}
}
}


/* Math ダークモードの場合のスタイル */
/* 目次全体にグラスモーフィズム効果を追加 */
@media (prefers-color-scheme: dark) {
.toc::before {
 
    content: '';
/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
    position: absolute;
/* この時、CSSを以下に示すように記述することにより、数式画像の明るさを反転させることができる */
    top: 0;
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
     left: 0;
    /*background-color: #EFEFEF !important;*/
     right: 0;
  /*border: solid 1px #5050C0;*/
     bottom: 0;
  /*border-radius: 5px;*/
     border-radius: 16px;
font-family: "Latin Modern Math";
     backdrop-filter: blur(8px);
        /*font-weight: bold;*/
     z-index: -1;
    /*margin: 0px 0px 3px;*/ /* 外側の余白 : 上0px 下0px, 左右3px */
    /*padding: 0px 3px;*/ /* 内側の余白 : 上下3px, 左右3px */
    filter: hue-rotate(180deg) invert(1);
    /*display: none !important;*/
}
 
pre .mwe-math-fallback-image-inline, pre .mwe-math-fallback-image-display {
    /*color: black !important;*/
  /*background-color: #EFEFEF !important;*/
  /*border: solid 1px #5050C0;*/
  /*border-radius: 5px;*/
    font-family: "Latin Modern Math";
    /*font-weight: bold;*/
    /*margin: 0px 0px 3px;*/  /* 外側の余白 : 上下0px, 左右3px */
    /*padding: 0px 3px;*/     /* 内側の余白 : 上下0px, 左右3px */
    /*box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);*/
    filter: hue-rotate(180deg) invert(1);
    /*display: none !important;*/
}
 
th .mwe-math-element {
  /*border: solid 1px #5050C0;*/
  /*border-radius: 5px;*/
  background-color: inherit;
    font-family: "Latin Modern Math";
    /*font-weight: bold;*/
    /*margin: 1px 2px;*/ /* 外側の余白 : 上下0px, 左右2px */
    /*padding: 3px 3px;*/  /* 内側の余白 : 上下3px, 左右3px */
}
 
td .mwe-math-element {
  /*border: solid 1px #5050C0;*/
  /*border-radius: 5px;*/
    font-family: "Latin Modern Math";
    /*font-weight: bold;*/
    /*margin: 1px 2px;*/ /* 外側の余白 : 上下0px, 左右2px */
    /*padding: 3px 3px;*/  /* 内側の余白 : 上下3px, 左右3px */
}
 
/*.mwe-math-mathml-a11y {*/
/*    clip: auto !important;*/
/*    overflow: visible !important;*/
/*    position: static !important;*/
/*    width: auto !important;*/
/*    height: auto !important;*/
/*    opacity: 1 !important;*/
/*}*/
 
/*td .mwe-math-mathml-inline, td .mwe-math-mathml-a11y {*/
/*    clip: auto !important;*/
/*    overflow: visible !important;*/
/*    position: static !important;*/
/*    width: auto !important;*/
/*    height: auto !important;*/
/*    opacity: 1 !important;*/
/*}*/
     .toc {
        background-color: #202122;
        border-color: #4a4a4a;
     }
 
li.toclevel-1 > a > span.tocnumber,
    li.toclevel-1 > a > span.toctext {
        color: #d5d5d5;
     }
 
li.toclevel-1 > a:hover > span.tocnumber,
    li.toclevel-1 > a:hover > span.toctext {
        color: #8ba1bf;
     }
   
    /* アクセシビリティのための追加スタイル */
    li.toclevel-1 > a:focus > span.tocnumber,
    li.toclevel-1 > a:focus > span.toctext {
        outline: 2px solid #8ba1bf;
        outline-offset: 2px;
     }
   
    /* アクティブな項目のスタイル */
    li.toclevel-1 > a:active > span.tocnumber,
    li.toclevel-1 > a:active > span.toctext {
        color: #a8c3e6;
    }
}
}


mtext {
/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
    font-family: Latin Modern Roman !important;
/* この時、CSSを以下に示すように記述することにより、数式画像の明るさを反転させることができる */
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
/*background-color: #EFEFEF !important;*/
/*border: solid 1px #5050C0;*/
/*border-radius: 5px;*/
/*font-family: "Latin Modern Math";*/
font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
/*font-weight: bold;*/
/* 外側の余白 : 上0px 下0px, 左右3px */
/*margin: 0px 0px 3px;*/
/* 内側の余白 : 上下3px, 左右3px */
/*padding: 0px 3px;*/
/*display: none !important;*/
}
}


math {
pre .mwe-math-fallback-image-inline, pre .mwe-math-fallback-image-display {
    font-family: Latin Modern Math !important;
/*color: black !important;*/
/*background-color: #EFEFEF !important;*/
/*border: solid 1px #5050C0;*/
/*border-radius: 5px;*/
/*font-family: "Latin Modern Math";*/
font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
/*font-weight: bold;*/
/* 外側の余白 : 上0px 下0px, 左右3px */
/*margin: 0px 0px 3px;*/
/* 内側の余白 : 上下3px, 左右3px */
/*padding: 0px 3px;*/
/*box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);*/
/*display: none !important;*/
}
}


/* MediaWiki:Common.css に追加 */
th .mwe-math-element {
.dark-mode-image {
/*border: solid 1px #5050C0;*/
    display: none !important;
/*border-radius: 5px;*/
background-color: inherit;
/*font-family: "Latin Modern Math";*/
font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
/*font-weight: bold;*/
/* 外側の余白 : 上0px 下0px, 左右3px */
/*margin: 0px 0px 3px;*/
/* 内側の余白 : 上下3px, 左右3px */
/*padding: 0px 3px;*/
}
}


.light-mode-image {
td .mwe-math-element {
    display: block !important;
/*border: solid 1px #5050C0;*/
/*border-radius: 5px;*/
/*font-family: "Latin Modern Math";*/
font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
/*font-weight: bold;*/
/* 外側の余白 : 上下0px, 左右2px */
/*margin: 1px 2px;*/
/* 内側の余白 : 上下3px, 左右3px */
/*padding: 3px 3px;*/
}
}


@media (prefers-color-scheme: dark) {
    .dark-mode-image {
        display: block !important;
    }
    .light-mode-image {
        display: none !important;
    }
}


/* Extension:AmazonSearch */
/* Extension:AmazonSearch */

2025年1月18日 (土) 10:41時点における最新版

/* MediaWiki:Common.css */
/* Default (Vector) スキンの場合 */

/* ここに記述したCSSはすべての外装に反映されます */

.mw-editfont-monospace {
	font-size: 15px !important;
	/*font-family: 'Noto Sans JP', sans-serif !important;*/
	font-family: monospace !important;
}

/* 画面の縦サイズがFHD以下の場合 */
@media screen and (max-height: 880px) {
   	.mw-body-content {
       	line-height: 1.3; /* 行間を1.2に変更 */
   	}

	.mw-content-ltr {
		font-size: 13px !important;
	}
}

/* 画面の縦サイズがFHDを超える場合 */
@media screen and (min-height: 881px) and (max-height: 1240px) {
   	.mw-body-content {
       	line-height: 1.2; /* 行間を1.2に変更 */
   	}

	.mw-content-ltr {
		font-size: 15px !important;
	}
}

/* 画面の縦サイズがWQHDを超える場合 */
@media screen and (min-height: 1241px) {
   	.mw-body-content {
       	line-height: 1.5; /* 行間を1.5に変更 */
   	}

	.mw-content-ltr {
		font-size: 16px;
	}
}

/* ConfirmEdit QuestyCaptcha -- on Create Account */
.htmlform-tip + .mw-htmlform-field-HTMLInfoField {
	color: red;
}

/* ConfirmEdit QuestyCaptcha -- on Edit page + add a URL */
label[for=wpCaptchaWord] {
    color: green;
    font-weight: bold;
    /*font-size: 15px;*/
    font-size: 150%;
    font-style: italic;
}

.mw-body-content {
	/*font-family: "DejaVu Sans" !important;*/
	font-family: "Droid Sans" !important;
}


/* タイトルページ */
.firstHeading {
   font-family:   "Segoe UI", -apple-system, system-ui, sans-serif !important;
   text-align:    center;
   border:        1px solid rgba(0, 0, 0, 0.1); /* 薄い境界線 */
   border-left:   4px solid #4299e1;  /* 左側のアクセントボーダー */
   border-right:  4px solid #4299e1;  /* 右側のアクセントボーダー */
   border-radius: 12px;
   padding:       16px 24px;
   margin:        16px auto;
   width:         fit-content;
   min-width:     75%;
   max-width:     90%;
   background: linear-gradient(135deg,
       #f8faff 0%,
       #f0f5ff 25%,
       #e8f0ff 75%,
       #e0ebff 100%
   );
   box-shadow:     0 2px 8px rgba(0, 0, 0, 0.05);
   color:          #1a365d;
   transition:     all 0.3s ease;
}

.firstHeading:hover {
   border-left-color:  #3182ce;
   border-right-color: #3182ce;
   box-shadow:        0 4px 12px rgba(0, 0, 0, 0.08);
   transform:         translateY(-1px);
}

h4 /* .mw-headline */ {
	font-size: 18px !important;
	/*text-decoration: underline;*/
	position: relative;
	display: inline-block;
}

h4::after /* h4 .mw-headline::after */ {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%; /* ヘッダの大きさに下線を調整 */
	height: 1px; /* アンダーラインの高さ */
	background-color: rgba(30, 30, 30, 0.5); /* アンダーラインの色 */
}

h5 .mw-headline {
	font-size: 16px !important;
	border: solid 1px rgba(30, 30, 30, 0.7);
	border-radius: 5px;
	padding: 1px 3px;
	margin: 5px;
}

/* 通常のpreタグの設定 */
pre {
	color: #202020;
	/*background-color: rgb(250, 250, 250);*/
	background: linear-gradient(to bottom right, rgb(250, 250, 250), white);
	border: solid 2px rgb(150, 150, 250);
	border-radius: 5px;
	font-family: "DejaVu Sans Mono" !important;
}

/* mw-highlightクラス内のpreタグの設定 */
.mw-highlight > pre {
	color: #202020;
	/*background-color: rgb(250, 250, 250);*/
	background: linear-gradient(to bottom right, rgb(250, 250, 250), white);
	border: solid 3px rgb(100, 150, 100);
	border-radius: 5px;
}

code {
	color: #fefefe;
	font-weight: bold;
	font-family: "DejaVu Sans Mono" !important;
	color: #ffffff;
	/*background-color: #1166A0;*/
	/*background-color: rgba(50, 50, 150, 0.8) !important;*/
	background-color: rgba(41, 92, 194, 1.0) !important;
	border: solid 1px rgba(255, 255, 255, 0.3);
	border-radius: 5px;
	padding: 1px 5px;  /* 内側の余白 : 上下1px, 左右5px */
}

/* 表のキャプション */
.wikitable > caption {
	background: linear-gradient(180deg,
		#2B579A 0%,
		#2B579A 20%,
		#366DC2 60%,
		#366DC2 100%
	);
	color: white;
	padding: 8px;
	font-weight: bold;
	text-align: center;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border: 1px solid #2B579A;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

table {
	border-collapse: collapse;
	border: solid 2px #303030; /*表全体を線で囲う*/
	background-color: #fefefe !important;
	text-align: center;
}

.wikitable th { /* 表のヘッダ */
	color: rgb(250, 250, 250) !important;
	font-weight: bold;
	text-align: center !important;
	border: solid 1px rgb(50, 50, 50);
	/*background: linear-gradient(to bottom, #e4f1fc 0%, #b3d7f7 40%, #84bef1 100%) !important;*/
	background: linear-gradient(to bottom, #5c80b9 0%, #4a6ea9 100%); /* グラデーションを追加してよりモダンな印象に */
}

/* ホバー時の強調表示(オプション) */
.wikitable th:hover {
	color: rgb(250, 250, 250) !important;
	background: linear-gradient(to bottom, #6890c9 0%, #5a7eb9 100%);
}

td { /* 表の各カラム */
	text-align: left;
	border: solid 1px rgb(50, 50, 50);
}

/* 表の縦罫線のスタイル */
tr > td:first-child {
	border-left: 1px solid #303030;
}

tr > td:last-child {
	border-right: 1px solid #303030;
}

/* 表の横罫線のスタイル */
tr:first-child > td {
	border-top: 1px solid #303030;
}

tr:last-child > td {
	border-bottom: 1px solid #303030;
}

/* 結合セルの境界線 */
.wikitable td[rowspan] {
	border: solid 1px rgb(50, 50, 50);
    /*border: 1px solid #303030;*/
}

/* キャプションがない場合、テーブルの上端を丸くする */
.wikitable:not(:has(caption)) > tr:first-child th,
.wikitable:not(:has(caption)) > * > tr:first-child th {
	border-top: none !important;
}

.wikitable:not(:has(caption)) > tr:first-child th:first-child,
.wikitable:not(:has(caption)) > * > tr:first-child th:first-child {
	border-left: none !important;
	border-top-left-radius: 10px;
}

.wikitable:not(:has(caption)) > tr:first-child th:last-child,
.wikitable:not(:has(caption)) > * > tr:first-child th:last-child {
	border-right: none !important;
	border-top-right-radius: 10px;
}

/* キャプションがある場合、キャプションの上端を丸くする */
.wikitable:has(caption) caption {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

/* MediaWiki内のリンク */
a.interwiki {
	font-weight: bold;
}

/* MediaWiki外のリンク */
.mw-parser-output a.external {
	font-weight: bold;
}

/* codeタグ内のMediaWiki外のリンク */
code a.external {
	font-weight: bold;
	/*color: #DE7231 !important;*/
	color: #ffa500 !important;
}

/* MediaWiki外のリンク */
a.external {
	font-weight: bold;
}

/* テーブル内のMediaWiki外のリンク */
table.wikitable td a {
	font-weight: bold;
}

.mw-parser-output a.new:visited {
	font-weight: bold;
}

.catlinks a {
	font-size: 14px;
	font-weight: bold;
}

.catlinks ul {
	font-size: 14px;
	font-weight: bold;
}

/* カテゴリの変更 */
.mw-normal-catlinks {
	border: solid 1px rgba(250, 250, 250, 0.5);
	border-radius: 5px;
	padding: 10px 10px;
}

/* モダンでカラフルな目次のスタイル */
#toc,
.toc {
    border: none;
    background: linear-gradient(135deg,
        #4158D0 0%,
        #C850C0 46%,
        #FFCC70 100%
    );
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 目次のタイトル全体 */
#toc #mw-toc-heading,
.toc .toctitle h2 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
}

/* 非表示リンクのスタイル */
.toctoggle,
.toctoggle a {
    color: #ffffff !important;
    font-weight: bold;
    background-color: transparent;
    padding: 0.1rem 0.1rem 0.0rem 0.1rem;
    border-radius: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration : underline;
}

.toctoggle:hover,
.toctoggle a:hover {
    color: #ff7e00 !important;
    background-color: #ffffff;
}

/* 目次の「非表示」リンク */
.toc .toctogglelabel {
    color: #ffffff;
    background-color: transparent;
    background-blend-mode: lighten;
    padding: 0.1rem 0.1rem 0.0rem 0.1rem;
    border-radius: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration : underline;
}

.toc .toctogglelabel:hover {
    color: #ff7e00;
    background-color: #ffffff;
    background-blend-mode: lighten;
}

/* 目次の項目コンテナ */
.toc ul {
    background-color: rgb(255, 255, 255);
    padding:          0.2rem;
    margin:           0;
    border-radius:    12px;
    box-shadow:       inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 目次の項目 */
.toc li {
    margin:     0.1rem 0;
    padding:    0.1rem 0;
    transition: all 0.3s ease;
}

/* 目次の番号 */
.toc li > a > span.tocnumber,
.toc-number {
    color: #C850C0;
    font-weight: 600;
    margin-right: 0.7rem;
}

/* ホバー時の番号の色 */
.toc li > a:hover > span.tocnumber,
.toc a:hover .toc-number {
    color: #ffffff !important;
}

/* リンクの基本スタイル */
.toc a {
    color:           #2d3748;
    text-decoration: none;
    display:         block;
    padding:         0.2rem 0.6rem;
    border-radius:   8px;
    transition:      all 0.3s ease;
    font-weight:     500;
}

/* ホバー時のスタイル */
.toc a:hover {
    color: #ffffff !important;
    background: linear-gradient(45deg, #4158D0, #C850C0);
    transform: translateX(6px);
    border: none;
    padding: 0.2rem 0.6rem;  /* 0.4rem 0.8rem から 0.2rem 0.6rem に変更 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 目次の番号 */
.toc-number {
    color: #C850C0;
    font-weight: 600;
    margin-right: 0.7rem;
}

/* ホバー時の番号の色 */
.toc a:hover .toc-number {
    color: #ffffff !important;
}

/* ネストされた項目のインデント */
.toc ul ul {
    margin-left: 1.2rem;
    background-color: transparent;
    box-shadow: none;
}

/* アクティブな項目 */
.toc a:active {
    color: #ffffff;
    background: linear-gradient(45deg, #C850C0, #FFCC70);
    transform: translateX(4px) scale(0.98);
    transition: all 0.1s ease;
}

/* 目次全体にグラスモーフィズム効果を追加 */
.toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    z-index: -1;
}

/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
/* この時、CSSを以下に示すように記述することにより、数式画像の明るさを反転させることができる */
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
	/*background-color: #EFEFEF !important;*/
	/*border: solid 1px #5050C0;*/
	/*border-radius: 5px;*/
	/*font-family: "Latin Modern Math";*/
	font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
	/*font-weight: bold;*/
	/* 外側の余白 : 上0px 下0px, 左右3px */
	/*margin: 0px 0px 3px;*/
	/* 内側の余白 : 上下3px, 左右3px */
	/*padding: 0px 3px;*/
	/*display: none !important;*/
}

pre .mwe-math-fallback-image-inline, pre .mwe-math-fallback-image-display {
	/*color: black !important;*/
	/*background-color: #EFEFEF !important;*/
	/*border: solid 1px #5050C0;*/
	/*border-radius: 5px;*/
	/*font-family: "Latin Modern Math";*/
	font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
	/*font-weight: bold;*/
	/* 外側の余白 : 上0px 下0px, 左右3px */
	/*margin: 0px 0px 3px;*/
	/* 内側の余白 : 上下3px, 左右3px */
	/*padding: 0px 3px;*/
	/*box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);*/
	/*display: none !important;*/
}

th .mwe-math-element {
	/*border: solid 1px #5050C0;*/
	/*border-radius: 5px;*/
	background-color: inherit;
	/*font-family: "Latin Modern Math";*/
	font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
	/*font-weight: bold;*/
	/* 外側の余白 : 上0px 下0px, 左右3px */
	/*margin: 0px 0px 3px;*/
	/* 内側の余白 : 上下3px, 左右3px */
	/*padding: 0px 3px;*/
}

td .mwe-math-element {
	/*border: solid 1px #5050C0;*/
	/*border-radius: 5px;*/
	/*font-family: "Latin Modern Math";*/
	font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
	/*font-weight: bold;*/
	/* 外側の余白 : 上下0px, 左右2px */
	/*margin: 1px 2px;*/
	/* 内側の余白 : 上下3px, 左右3px */
	/*padding: 3px 3px;*/
}


/* Extension:AmazonSearch */
DIV.amazonsearch {
	clear: both;
	width: 100%;
	min-height: 180px;
	margin: 0 auto;
	padding: 0.5em;
	border: 1px solid #444;
	overflow: hidden;
}

DIV.amazonsearch IMG.amazonsearchimg {
	float: left;
	margin: 0.1em 1em 0.1em 0.1em;
}

DIV.amazonsearch P.amazonsearchname {
	margin: 0;
	font-size: 90%;
	text-indent: 0;
}

DIV.amazonsearch P.amazonsearchauthor {
	margin: 0;
	font-size: 80%;
	text-indent: 0;
}

DIV.amazonsearch UL {
	margin: 0;
}

DIV.amazonsearch UL LI {
	display: inline-block;
	text-align: center;
	list-style: none;
	font-size: 90%;
	width: 12em;
	margin: 0.2em;
	padding: 0.2em 0.5em 0.2em 0.5em;
	border-radius: 0.5em;
	white-space: nowrap;
}

DIV.amazonsearch P.amazonsearchauthor::before {
	background-color: #bbb;
	border-radius: 10%;
	color: #fff;
	font-size: smaller;
	padding: 0 0.5em 0 0.5em;
	margin-right: 0.5em;
	content: "広告";
}

DIV.amazonsearch UL LI A {
	color: #fff;
}

DIV.amazonsearch UL LI.shoplinkamazon {
	background-color: #f90;
}