/* =========================================================
   二人卓ノ間
   参考サイトの作りをそのまま写した版（あとで直す前提）
   ・トップ   ＝ FC2ブログの3列テンプレートの値
   ・記事ページ＝ ホームページビルダー製レビューページの値
   ========================================================= */

/* ---------- 共通：ベース ---------- */
html { margin: 0; font-size: 62.5%; }
img { max-width: 100%; height: auto; line-height: 0; vertical-align: bottom; }
ol, ul { list-style-type: none; margin: 0; padding: 0; }
article, aside, footer, header, main, nav, section { display: block; }

/* ======================================================
   トップ（FC2テンプレ）
   ====================================================== */
body.top {
  margin: auto;
  background-color: #474747;
  color: rgb(250,250,250);
  word-wrap: break-word;
  font: 1.4rem/1.9 'Lato', '游ゴシック体', 'YuGothic', 'ヒラギノ角ゴシック', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', '游ゴシック', 'Yu Gothic', 'メイリオ', 'Meiryo', sans-serif;
}
body.top, body.top * { box-sizing: border-box; } /* 参考テンプレは *{box-sizing:border-box} */
body.top a { color: rgb(250,250,250); text-decoration: none; }
body.top a:hover { text-decoration: underline; }

/* fc2の上の帯の代わり：非公式の注意書き */
.headbar { height: 27px; line-height: 27px; background: #fff; color: #333; font-size: 11px; text-align: center; }

/* グローバルナビ（白い帯・固定） */
.navi-container { width: 100%; height: 45px; background-color: #fff; box-shadow: 0 2px 4px -1px rgba(0,0,0,.06), 0 4px 5px 0 rgba(0,0,0,.06), 0 1px 10px 0 rgba(0,0,0,.08); position: fixed; top: 27px; left: 0; z-index: 2000; }
.navi-sizing { margin: auto; max-width: 1500px; overflow: hidden; padding: 0 60px; }
.navi-sizing a { color: rgb(51,51,51); }
.left-navi { float: left; padding: 0 10px; text-align: left; }
.left-navi li { display: inline-block; line-height: 45px; padding-right: 15px; font-size: 1.2rem; }
.right-social { float: right; line-height: 45px; padding: 0 10px; text-align: right; }
.right-social a { display: inline-block; padding-left: 15px; color: rgb(51,51,51); }
.mobile-toggle { display: none; }

/* バナー */
#banner { margin: auto; width: 100%; background-color: #323232; padding: 100px 0 150px; text-align: center; }
#banner .logo { display: inline-block; max-width: 1200px; }
#blog-title { margin: auto; width: 100%; max-width: 800px; font-family: 'Oswald', '游明朝', 'YuMincho', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', serif; font-size: 2.5rem; font-weight: normal; }
#blog-title a { color: white; text-shadow: 2px 4px 3px rgba(0,0,0,.2); }
#banner .desc { font-size: 1.3rem; margin: 15px auto 0; max-width: 850px; }
#banner .ad728 { width: 728px; height: 90px; margin: 14px auto 0; border: 1px dashed #777; color: #aaa; font-size: 11px; line-height: 90px; }

/* 3列 */
#float-container { margin: -150px auto 0; max-width: 1800px; padding: 0 60px 100px; }
#whole-container { display: flex; align-items: flex-start; background-color: #4f4f4f; }
#primary { flex: 1; order: 1; overflow: hidden; padding-top: 10px; }
#secondary { width: 270px; line-height: 1.8; padding: 10px; font-size: 1.2rem; }
#tertiary { order: 2; width: 270px; line-height: 1.8; padding: 10px; font-size: 1.2rem; }
.side-menu { margin-bottom: 10px; width: 250px; border: 1px solid rgb(150,150,150); padding: 0 15px 20px; }
.side-menu h4 { margin: 0 auto 15px; padding: 8px 0; position: relative; font-family: 'Oswald', '游ゴシック', 'YuGothic', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', serif; font-size: 15px; font-weight: normal; text-align: center; }
.side-menu h4:before { content: ""; display: block; margin: auto; width: 50%; height: 1px; background-color: rgb(150,150,150); position: absolute; right: 0; left: 0; bottom: 0; }
.side-menu ul { margin-left: 1.5em; list-style-type: disc; }
.side-menu-title { text-align: left; }
.side-menu-title img { max-width: 100%; } /* 参考テンプレは自然な大きさのまま（左の画像は 150×35） */
.side-menu .ad300 { width: 100%; height: 250px; border: 1px dashed #999; color: #ccc; font-size: 11px; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: 10px; }
.side-menu .ad300.tall { height: 600px; }

/* 記事の箱 */
.main-body { margin-bottom: 10px; background-color: #4f4f4f; border: 1px solid rgb(150,150,150); padding: 10px 0; }
.element-header { padding: 0 15px; }
.element-title { margin: auto; line-height: 1.4; padding-bottom: 10px; font-size: 1.7rem; font-weight: bolder; text-shadow: 2px 4px 3px rgba(0,0,0,.1); }
.element-title:first-letter { font-size: 3rem; font-weight: bold; }
.element-title a { color: rgb(250,250,250); vertical-align: baseline; }
.header-info { background-color: rgb(140,140,140); border-radius: 3px; padding: 10px 5px; font-size: 1.3rem; }
.header-info-ul { display: inline-block; margin-left: 1.2em; }
.header-info-ul li { display: inline-block; margin-right: 1.2em; }
.header-info .ico { display: inline-block; width: 1em; margin-right: .4em; opacity: .9; }
.header-info-ul a { color: #c8f5b0; }
.inner-contents { padding: 20px; font-size: 1.4rem; line-height: 1.9; }
.inner-contents a:hover { text-decoration: underline; }
.inner-contents .thumb { display: block; background: #000; }
.inner-contents .thumb img { width: 100%; max-height: 680px; object-fit: contain; }
.read-more { margin: 30px auto; font-family: 'Oswald', '游ゴシック体', 'YuGothic', 'ヒラギノ角ゴシック', 'Hiragino Sans', sans-serif; }
.read-more a { display: inline-block; border: 1px solid rgb(51,51,51); border-radius: 1px; color: rgb(250,250,250); padding: .5em 1.5em; }
.read-more a:hover { border-color: rgb(112,150,2); background-color: rgb(112,150,2); color: white; text-decoration: none; }
.fc2_footer { margin: 20px 0 0; text-align: center; }
.xpost { display: inline-block; background: #000; color: #fff; border-radius: 999px; padding: 2px 12px; font-size: 12px; }
.sns-and-others-ul { text-align: right; padding: 0 15px; }
.sns-and-others-ul li { display: inline-block; margin: 2px 0 2px 4px; }
.sns-and-others-ul li a { display: block; width: 28px; height: 28px; border-radius: 1px; color: white; line-height: 28px; text-align: center; font-size: 12px; }
.sns-and-others-ul .fb { background: #3b5998; } .sns-and-others-ul .tw { background: #1da1f2; } .sns-and-others-ul .pi { background: #bd081c; } .sns-and-others-ul .sh { background: #7ab51d; }

/* 全記事の一覧（トップの下のほう） */
.all-list { margin: 10px 0; background: #4f4f4f; border: 1px solid rgb(150,150,150); padding: 10px 15px; font-size: 1.3rem; }
.all-list h3 { font-family: 'Oswald', sans-serif; font-weight: normal; font-size: 1.6rem; margin: 0 0 8px; }
.all-list table { width: 100%; border-collapse: collapse; }
.all-list td { padding: 4px 6px; border-bottom: 1px dotted #777; vertical-align: top; }
.all-list td.d { width: 120px; color: #ddd; white-space: nowrap; }

/* ページ送り */
.pagenation { display: flex; justify-content: center; gap: 4px; margin: 10px 0; }
.pagenation a, .pagenation span { display: block; width: 35px; height: 35px; border-radius: 1px; color: rgb(51,51,51); line-height: 35px; text-align: center; font-size: 12px; background: rgb(238,238,240); }
.pagenation .current { background-color: #000; color: #fff; }
.pagenation .ellipse { background: transparent; color: #fff; font-weight: bold; }
.pagenation .prev, .pagenation .next { width: auto; padding: 0 1em; }

#footer { width: 100%; background-color: black; color: white; line-height: 1.3; padding: 30px 5px; text-align: center; font-size: 1.2rem; }
#footer a { color: #fff; text-decoration: underline; }
#page-scroll { display: inline-block; position: fixed; right: 60px; bottom: 90px; z-index: 3000; font-size: 11px; text-align: center; }
#page-scroll div { margin-bottom: 10px; width: 40px; height: 40px; background: rgba(255,255,255,.4); border: 1px solid rgba(179,171,180,.5); line-height: 39px; }

@media screen and (max-width: 1500px) { #float-container { padding: 0 30px 100px; } .navi-sizing { padding: 0 30px; } }
@media screen and (max-width: 1200px) { #float-container { padding: 0 0 100px; } }
@media screen and (max-width: 1023px) {
  #whole-container { display: block; }
  #primary { padding: 10px; }
  #secondary, #tertiary { display: flex; flex-wrap: wrap; justify-content: space-around; width: auto; }
  .side-menu { border: 0; }
  .left-navi { display: none; }
  .mobile-toggle { display: block; width: 58px; height: 45px; cursor: pointer; padding: 12px 15px 0; position: fixed; left: 8px; top: 27px; z-index: 100005; }
  .mobile-toggle span { display: block; width: 28px; margin-bottom: 5px; height: 3px; background: rgb(51,51,51); border-radius: 1000px; }
}
@media screen and (max-width: 666px) {
  #banner { padding: 70px 0 150px; }
  #banner .ad728 { width: 320px; height: 50px; line-height: 50px; }
  .side-menu { margin: 0 auto 10px; width: 100%; max-width: 450px; }
  .inner-contents { padding: 20px 15px; }
}

/* ======================================================
   記事ページ（ホームページビルダー製のレビューページ）
   ====================================================== */
body.review {
  margin: 0;
  padding: 0 0 120px;
  font-size: 15px;
  line-height: 1.618;
  font: 0.8rem/1 'ヒラギノ角ゴ', 'メイリオ', 'Meiryo', 'ヒラギノ角ゴシック', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック体', 'YuGothic', '游ゴシック', 'Yu Gothic', sans-serif;
  line-height: 150%;
  background-color: #232323;
  color: #f9f9f9;
}
body.review { font-size: 12.8px; }
body.review a { color: #fefefe; text-decoration: underline; }
body.review a:visited { color: #cca6bf; text-decoration: underline; }
body.review a:hover { color: #b4acad; text-decoration: underline; }
body.review::before {
  content: "非公式のファンサイトです。カード画像の権利は権利者に帰属します。";
  display: block; background-color: #444; color: #f9f9f9; font-size: 12px; text-align: center; padding: 8px 0; border-bottom: 1px solid #666; width: 100%;
}
body.review img { max-width: 90%; height: auto; }
.review .header { border-bottom: 3px solid #888; text-align: left; padding: 1em 0; margin-bottom: 1em; padding-left: 1em; background: #3d3d3d; }
.review .header .banner { width: 1200px; height: auto; max-width: 90%; }
.review .header .ad { width: 728px; max-width: 90%; height: 90px; border: 1px dashed #777; color: #aaa; font-size: 11px; line-height: 90px; text-align: center; margin-top: 12px; }
.review .wrapper { width: 1500px; margin: 0 auto; padding: 0; }
.review .main { }
.review .xbtn { display: inline-block; background: #000; color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 14px; text-align: center; }
.review h1 { font-size: 2em; margin: 0.67em 0; } /* 中の <font style="font-size:75%"> で 19.2px になる（参考ページと同じ） */
.review h1 font { font-size: 75%; }
.review .photo { margin: 0; }
.review .photo img { display: inline; }
.review .photo.pair img { width: 500px; }
.review .cap { margin: 0; }
.review .affbox { border: 1px solid lightgray; margin-bottom: 1em; padding: 8px; display: flex; }
.review .affbox .thumb { margin-right: 8px; width: 140px; height: 140px; background: #fff; display: flex; align-items: center; justify-content: center; color: #333; font-size: 11px; }
.review .affbox .t { line-height: 1.6; }
.review .affbox .t a { line-height: 2.2; }
.review .adblock { border: 1px dashed #777; color: #aaa; font-size: 11px; text-align: center; padding: 40px 0; margin: 1em 0; max-width: 90%; }
.review .shopline { margin: 0; }
.review .rakuten { border: 1px solid #ccc; width: 300px; background-color: #fff; color: #000; font-size: 12px; line-height: 18px; border-collapse: collapse; }
.review .rakuten td { padding: 5px; vertical-align: top; }
.review .rakuten .price { font-size: 18px; font-weight: bold; color: #b31d23; }
.review .rakuten small { font-size: 10px; }
.review .navimg { display: inline-block; width: 200px; height: 50px; background: #ddd; color: #333; font-size: 12px; line-height: 50px; text-align: center; }
.review .footer { border-top: 3px solid #888; text-align: center; margin-top: 2em; padding: 1em 0; background: #3d3d3d; }
.review .footer p { margin: 1em 0; }
/* 記事の中の、写真日記以外の部品（表・グラフなど）。古い見た目に合わせて最小限 */
.review table.plain { border-collapse: collapse; margin: 0.5em 0; }
.review table.plain th, .review table.plain td { border: 1px solid #888; padding: 4px 8px; font-size: 12.8px; text-align: left; }
.review table.plain th { background: #3d3d3d; }
.review .stat { display: inline-block; border: 1px solid #888; padding: 8px 14px; margin: 4px 8px 4px 0; }
.review .stat b { font-size: 28px; }
.review .bar { display: flex; align-items: center; gap: 8px; margin: 3px 0; }
.review .bar .track { width: 300px; height: 14px; background: #3d3d3d; }
.review .bar .fill { display: block; height: 100%; background: #cca6bf; }
.review .cols { display: flex; align-items: flex-end; gap: 10px; height: 160px; margin: 8px 0; }
.review .cols .col { width: 50px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: 11px; }
.review .cols .fill { width: 30px; background: #cca6bf; }
.review svg.line { width: 600px; max-width: 90%; }
.review svg.line path { fill: none; stroke: #cca6bf; stroke-width: 2; }
.review svg.line .axis { stroke: #888; }
.review svg.line text { fill: #f9f9f9; }
.review .grid { display: flex; flex-wrap: wrap; gap: 4px; max-width: 90%; }
.review .grid img { width: 220px; }
.review .grid .dot { width: 40px; height: 40px; border: 1px solid #888; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.review .timeline { display: flex; flex-wrap: wrap; }
.review .timeline li { border-top: 2px solid #888; padding: 6px 12px 6px 0; min-width: 120px; }
.review .timeline .t { display: block; font-weight: bold; }
.review .note { border: 1px solid lightgray; padding: 8px; margin: 1em 0; max-width: 90%; }
.review .check li::before { content: "□ "; }
.review .qa dt { font-weight: bold; margin-top: 1em; }
.review .qa dd { margin: 0 0 0 1em; }
.review .links li::before { content: "・"; }
.review .tally { border: 1px solid lightgray; padding: 8px 12px; margin: 1.5em 0; max-width: 90%; }
.review .tally b { font-size: 20px; }
.review .tally .accent { color: #ffb08a; }
.review .before { display: flex; gap: 8px; max-width: 90%; }
.review .before img { width: 48%; }
.review ul.plainlist li::before { content: "・"; }
.review ol.plainlist { list-style: decimal; margin-left: 1.5em; }

@media screen and (max-width: 600px) { .review .wrapper { width: auto; padding: 0 10px; } .review .header .banner { width: auto; } }
@media screen and (max-width: 479px) { body.review { font-size: 13px; } }

/* ===== 三つ巴ラボ 新案：トップの足し ===== */
body.top .navi-sizing a{color:rgb(51,51,51)}
.logo-row{display:inline-flex;align-items:flex-end;gap:12px;height:80px}            /* 参考のロゴ画像は 500×80 */
#banner .logo{height:80px;width:auto;max-width:none}
#banner .ad728{margin-top:10px}
.side-menu-title img.s150{width:150px;height:35px;object-fit:cover;object-position:50% 35%;display:inline-block}  /* 左：参考の 150×35 と同じ */
.side-menu-title img.s150sq{width:150px;height:150px;object-fit:cover;object-position:50% 20%;display:inline-block}
.side-menu-title a.oneline{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:21.6px;margin-bottom:6px}
.header-info i{margin-right:.4em}
.header-info-ul a{color:#8fe08f}

/* ===== 三つ巴ラボ 新案：記事本文の決まり =====
   ・文字 14px／行間 1.9（トップの記事要約と同じ）。文の幅は 800px まで、画像は 1000px まで
   ・h2 は 16px 太字＋下線 1px #888、上に 2.6em。h3 は 14px 太字＋左の線
   ・図 → 8px → キャプション → 2行ぶん（38px）空ける（参考ページの写真のリズム）
   ・カード 1枚＝300px 左寄せで文がまわり込む／2枚＝横に2枚／3枚以上＝180px を並べる
*/
.review .labbody{max-width:1200px;font-size:14px;line-height:1.9}
.review .labbody p,.review .labbody ul,.review .labbody ol,.review .labbody blockquote,.review .labbody h2,.review .labbody h3,.review .labbody h4,.review .labbody .toc,.review .labbody .adblock,.review .labbody hr{max-width:800px}
.review .labbody p{margin:0 0 1.2em}
.review .labbody h2{clear:both;font-size:16px;font-weight:bold;line-height:1.5;border-bottom:1px solid #888;padding-bottom:5px;margin:2.6em 0 .9em}
.review .labbody h3{clear:both;font-size:14px;font-weight:bold;line-height:1.5;margin:1.9em 0 .6em;padding-left:8px;border-left:3px solid #888}
.review .labbody h4{font-size:14px;margin:1.4em 0 .4em}
.review .labbody blockquote{border:1px solid lightgray;margin:0 0 1.4em;padding:10px 14px;overflow:hidden}
.review .labbody blockquote p{margin:0 0 .6em}.review .labbody blockquote p:last-child{margin:0}
.review .labbody blockquote.about{font-size:12px;line-height:1.7;color:#cfcfcf;border-style:dashed}
.review .labbody blockquote.upd{font-size:12px;line-height:1.7;color:#cfcfcf;border:0;padding:0 0 0 10px;border-left:3px solid #666}
.review .labbody blockquote.memo{border-color:#cca6bf}
.review .labbody blockquote.ability{background:#2b2b2b;border-color:#666}
.review .labbody ul{list-style:disc;margin:0 0 1.2em;padding-left:1.6em;overflow:hidden}
.review .labbody ol{list-style:decimal;margin:0 0 1.2em;padding-left:1.8em;overflow:hidden}
.review .labbody li{margin:0 0 .3em}
.review .labbody figure.fig{margin:0 0 38px;clear:both}
.review .labbody figure.fig img{width:1000px;max-width:100%;height:auto;display:block}
.review .labbody figure.fig.portrait img{width:640px}
.review .labbody figure.fig .cap{margin:8px 0 0;font-size:12.8px;line-height:19.2px;color:#ddd}
.review .labbody .cards{margin:0 0 1.2em}
.review .labbody .cards img{height:auto;vertical-align:top;margin:0 6px 6px 0}
.review .labbody .cards-l.one{float:left;width:300px;margin:4px 20px 10px 0}
.review .labbody .cards-l.one img{width:300px;margin:0}
.review .labbody .cards-l.two img{width:300px}
.review .labbody .cards-s img{width:180px}
.review .labbody .cards .src{font-size:11px;line-height:1.5;color:#bbb;margin:2px 0 0}
.review .labbody .ph{margin:0 0 38px;clear:both}
.review .labbody .ph .box{width:800px;max-width:100%;aspect-ratio:16/9;border:1px dashed #777;color:#aaa;font-size:12px;line-height:1.6;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px;box-sizing:border-box}
.review .labbody .ph.scr .box{width:300px;aspect-ratio:9/16}
.review .labbody .ph.fig-ph .box{width:1000px;aspect-ratio:16/8}
.review .labbody .tbl{overflow-x:auto;margin:0 0 1.4em;max-width:1000px;clear:both}
.review .labbody table.plain{border-collapse:collapse;margin:0;font-size:13px;line-height:1.6}
.review .labbody table.plain th,.review .labbody table.plain td{border:1px solid #888;padding:5px 8px;text-align:left;vertical-align:top}
.review .labbody table.plain th{background:#3d3d3d;white-space:nowrap}
.review .labbody table.plain tr:nth-child(even) td{background:#2a2a2a}
.review .labbody .toc{border:1px solid lightgray;padding:10px 14px;margin:0 0 2em;font-size:13px;line-height:1.8}
.review .labbody .toc b{display:block;margin-bottom:4px}
.review .labbody .toc ol{margin:0;padding-left:1.6em;columns:2;column-gap:24px}
.review .labbody .toc li{margin:0;break-inside:avoid}
.review .labbody .cardsec{max-width:800px;overflow:hidden}
.review .labbody .adblock{clear:both;margin:0 0 2em}
.review .labbody hr{border:0;border-top:1px dashed #666;margin:2em 0}
.review .labbody code{background:#3d3d3d;padding:0 4px}
.review .labbody strong{color:#fff}
.review .labbody img{vertical-align:top}
.review .labbody a{overflow-wrap:anywhere}
@media screen and (max-width:1540px){.review .wrapper{width:auto;margin:0;padding:0 20px}}  /* 参考は 1500px 固定。狭い画面で左が切れないように */
@media screen and (max-width:600px){
  .review .labbody{font-size:14px}
  .review .labbody .cards-l.one{float:none;width:auto}
  .review .labbody figure.fig.portrait img{width:100%}
  .review .labbody .toc ol{columns:1}
}

/* ===== 形式ごとの見本（review.html） ===== */
.rv{max-width:1500px}
.rv .rules{border:1px solid lightgray;padding:12px 16px;margin:0 0 2em;max-width:900px;font-size:13px;line-height:1.8}
.rv .rules b{display:block;margin:.6em 0 .2em}
.rv .rules ul{list-style:disc;padding-left:1.6em;margin:0}
.rv-item{display:flex;gap:24px;border-top:1px solid #555;padding:24px 0 8px;align-items:flex-start}
.rv-shot{flex:0 0 760px;display:flex;gap:12px;align-items:flex-start}
.rv-shot img{display:block;border:1px solid #666;background:#000}
.rv-shot img.pc{width:600px;height:auto}
.rv-shot img.sp{width:140px;height:auto}
.rv-txt{font-size:13px;line-height:1.8;max-width:620px}
.rv-txt h2{font-size:16px;margin:0 0 .3em}
.rv-txt .meta{color:#cfcfcf;font-size:12px}
.rv-txt ul{list-style:disc;padding-left:1.6em;margin:.3em 0 0}
.rv-txt .q{color:#ffd59a}
@media screen and (max-width:1100px){.rv-item{display:block}.rv-shot{flex:none;margin-bottom:12px}.rv-shot img.pc{width:100%;max-width:600px}}
