トップページ
AMP導入前の予備知識|記事内装飾、画像等への対応?
シリウス専用のAMP HTMLソース公開
AMP検証テスト
AMPオープンソースTP仕様導入
サイト内ファイルの構築?
AMP化する理由
AMP専用youtube
ページスクロールボタン
メインサイト

シリウス専用のAMP HTMLソース公開

スポンサー広告

当サイトの原本ソース

原本AMP HTMLソースですが、トップHTMLの構造です...

 

カテゴリー、エントリーで使う際は、配置コードにやや違いも見られますので
<body>位置以下は、デフォルトHTMLを合わせ張り替えてください...

 

ここでのソースは、トップHTMLで、全て張り替えてください...
上から下までコピーして張替え...ですね

 

シリウス操作画面 サイトオプションで文字コードをUTF-8に設定..
未設定では文字化け...

 

導入以前にヘッダー画像を設定しておいてください...一度シリウスをサーバーUP
その後に画像コードリンクを書き換えてください...

 

 

 

以下ソースは、現在の当サイトを反映しています...
掲載物、レイアウト等,,よいかたちに修正した際は、以下も同時書き換え...

 

ページ戻るボタンは、こちらも参照ください
https://www.affiliateno1.com/sirius_mobile_amp/scroll_button/

 

毎回ですが、AMP有効化のテスト検証もしているので、不安なく使えるはず?

 

項目ごとにAMPスクリプトも入れてますが、トップページに分割詳細を置いております
ので同時ご確認ください..

 

 

ここからコピーしてください...貼り付けると整列します

 

<!doctype html>
<html amp lang="ja">
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script>
<title><% pageTitle %></title>
<link rel="canonical" href="<% permaLink %>">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">

 

<script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script>

 

<script async custom-element="amp-position-observer" src="https://cdn.ampproject.org/v0/amp-position-observer-0.1.js"></script>
<script async custom-element="amp-animation" src="https://cdn.ampproject.org/v0/amp-animation-0.1.js"></script>

 

 

<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>

 

 

 

<style amp-custom>
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
display: block;
}

 

audio,
canvas,
progress,
video {
display: inline-block;
}

 

audio:not([controls]) {
display: none;
height: 0;
}

 

progress {
vertical-align: baseline;
}

 

template,
[hidden] {
display: none;
}

 

a {
background-color: transparent;
-webkit-text-decoration-skip: objects;
}

 

a:active,
a:hover {
outline-width: 0;
}

 

abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted;
}

 

b,
strong {
font-weight: inherit;
}

 

b,
strong {
font-weight: bolder;
}

 

dfn {
font-style: italic;
}

 

h1 {
font-size: 2em;
margin: 0.67em 0;
}

 

mark {
background-color: #ff0;
color: #000;
}

 

small {
font-size: 80%;
}

 

sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

 

sub {
bottom: -0.25em;
}

 

sup {
top: -0.5em;
}

 

img {
border-style: none;
}

 

svg:not(:root) {
overflow: hidden;
}

 

code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}

 

figure {
margin: 1em 40px;
}

 

hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}

 

button,
input,
select,
textarea {
font: inherit;
margin: 0;
}

 

optgroup {
font-weight: bold;
}

 

button,
input {
overflow: visible;
}

 

button,
select {
text-transform: none;
}

 

button,
html [type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}

 

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}

 

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}

 

fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}

 

legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
}

 

textarea {
overflow: auto;
}

 

[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
padding: 0;
}

 

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}

 

[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}

 

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}

 

::-webkit-input-placeholder {
color: inherit;
opacity: 0.54;
}

 

::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}

 

 

 

/*
==================================================
基本スタイル
==================================================
*/
body {
background-color: #f4f4f4;
color: #333333;
font-family: 'メイリオ', Helvetica, 'Hiragino Kaku Gothic Pro', sans-serif;
font-size: 16px;
line-height: 1.8;
text-align: center;
-webkit-text-size-adjust: 100%;
}

 

h1, h2, h3, h4, h5, h6, .title, dt {
font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,Verdana,'MS Pゴシック',sans-serif;
font-weight: 700;
}

 

h1, h2, h3{
clear:both;
}

 

h2,h3,h4,h5,h6{
overflow:hidden;
}
.clear {
clear: both;
font-size: 1px;
line-height: 0;
}

 

p {
margin: 0;
}

 

img {
height: auto;
max-width: 100%;
vertical-align: middle;
}

 

/* リスト
==================================================
*/
#main ul{
list-style: outside none none;
margin: 10px 0;
padding: 0;
}
#main ul > li {
line-height: 1.7;
margin: 10px 0;
padding: 0 0 0 1.4em;
position: relative;
}
#main ul > li:before {
background-color: #469ada;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
content: '';
height: 0.375em;
position: absolute;
top: 0.6em;
left: 0.3em;
width: 0.375em;
font-weight:bold;
text-align:center;
}
table ul li:before {
top: 0.5em;
}
#main table ul,#main table ol{
margin:10px 0;
}
#whatsnew ul li:before{
display:none;
}

 

#main ol {
counter-reset: number;
list-style: outside none none;
margin: 10px 0;
padding: 0;
}
#main ol > li {
line-height: 1.7;
margin: 10px 0;
padding: 0 0 0 1.8em;
position: relative;
}
#main ol > li::before{
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #469ada;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
content: '';
height: 0.375em;
position: absolute;
top: 0.6em;
left: 0.1em;
width: 1.5em;
font-weight:bold;
text-align:center;
font-family: Arial;
}
table ul li:before {
top: 0.5em;
}
#main table ul,#main table ol{
margin:10px 0;
}
#whatsnew ul li:before{
display:none;
}
#main ol > li::before {
counter-increment: number;
content: counter(number,decimal) ".";
top: 0;
}

 

 

 

/* リンク
==================================================
*/
a {
color: #4887d9;
}
a img {
background: none important;
}

 

@media screen and (min-width: 1000px) {
a:hover {
color: #469ada;
text-decoration: none;
}

 

#main a:hover, #menu a:hover, #rmenu a:hover, #pagetop a:hover {
left: 1px;
position: relative;
top: 1px;
}
}
/*
==================================================
全体
==================================================
*/
/* レイアウト
==================================================
*/
#contents {
background-color: #fff;
}

 

#siteNavi {
color: rgba(51, 51, 51, 0.5);
font-size: 10px;
line-height: 1.6;
margin: 0 0 10px;
padding: 2px 15px;
}

 

@media screen and (min-width: 768px) {
#contents {
position: relative;
z-index: 0;
}
#contents::after {
clear: both;
content: '';
display: block;
}

 

#siteNavi {
margin: 0 0 12px;
padding: 0;
}
}
@media screen and (min-width: 1000px) {
#contents {
margin: 0 auto;
width: 1000px;
z-index: 0;
}
}
/* ページ上部へ戻る
==================================================
*/
#pagetop{
clear:both;
width:auto;
padding:10px 0 0 0;
margin:20px 0 0 0;
}

 

#pagetop a{
display:block;
width:100%;
color:#FFF;
background-color:#237db9;
text-decoration:none;
font-size:13px;
padding:8px;
height:40px;
box-sizing:border-box;
}

 

#pagetop a::before{
content:'↑';
color:#FFF;
}

 

@media screen and (min-width: 768px) {
#pagetop a{
width:160px;
height:40px;
margin:16px 10px 0 auto;
border-radius:8px 8px 0 0;
}
#pagetop a:hover{
left:0;
top:0;
position:relative;
}
}
/* 検索ボックス
==================================================
*/
#searchbox {
background-color: #237db9;
border-top: 1px solid #3b689b;
padding: 10px;
}
#searchbox form {
position: relative;
}
#searchbox form::before {
border: 2px solid #808080;
-moz-border-radius: 11px;
-webkit-border-radius: 11px;
border-radius: 11px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
content: '';
height: 11px;
position: absolute;
right: 16px;
top: 12px;
width: 11px;
}
#searchbox form::after {
background-color: #808080;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
content: '';
height: 6px;
position: absolute;
right: 15px;
top: 20px;
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
width: 3px;
}
#searchbox input {
-webkit-appearance: none;
}
#searchbox input[type="text"], #searchbox input[type="search"] {
border: none;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
cursor: auto;
font-size: 12px;
line-height: 18px;
padding: 10px 40px 10px 10px;
width: 100%;
}
#searchbox input[type="submit"] {
background-color: transparent;
border: medium none;
cursor: pointer;
height: 38px;
overflow: hidden;
padding: 0;
position: absolute;
right: 0;
text-indent: 200%;
top: 0;
white-space: nowrap;
width: 40px;
}

 

@media screen and (min-width: 768px) {
#searchbox {
background-color: transparent;
border-top: none;
float: right;
margin-left: 10px;
padding: 0;
width: 240px;
}
#searchbox form::before {
right: 11px;
top: 10px;
}
#searchbox form::after {
right: 10px;
top: 18px;
}
#searchbox input[type="text"], #searchbox input[type="search"] {
background-color: #f9f9f9;
line-height: 18px;
padding: 6px 30px 6px 10px;
}
#searchbox input[type="submit"] {
height: 30px;
width: 30px;
}
}
@media screen and (min-width: 1000px) {
#searchbox input[type="text"], #searchbox input[type="search"] {
border: 1px solid transparent;
}
#searchbox input[type="text"]:focus, #searchbox input[type="search"]:focus {
background-color: #fff;
border: 1px solid #e1e3e5;
outline: 0;
}
}
/* 回り込み・回り込み解除
==================================================
*/
.txt-img img {
margin: 0 8px 8px 8px;
}

 

.center {
margin: 5px 0;
text-align: center;
}

 

.float-l {
float: left;
}

 

.float-r {
float: right;
}

 

.float-l img,
.float-r img {
margin-bottom: 20px;
}

 

.float-l img {
margin-right: 20px;
}

 

.float-r img {
margin-left: 20px;
}

 

.clear, .FloatEnd {
clear: both;
font-size: 1px;
height: 0;
line-height: 0;
}

 

 

/*
==================================================
トップ部分
==================================================
*/
/* トップ
==================================================
*/
#top {
background-color: #fff;
text-align: left;
min-height: 32px;
box-shadow: 0 3px 2px -2px rgba(0,0,0,.1);
-webkit-box-shadow: 0 3px 2px -2px rgba(0,0,0,.1);
margin-bottom: 0px;
}
.inner {
display: block;
min-height: 32px;
width: 100%;
z-index: 9999;
}
#top h1 { font-size: 13px;
line-height: 1.6;
margin: 0;
padding: 13px 48px 13px 10px;
}

 

#top h1 a {
color: #333333;
text-decoration: none;
}

 

@media screen and (min-width: 768px) {
#top {
height: auto;
}
#top .inner {
overflow: hidden;
padding: 10px;
position: static;
width: auto;
height: auto;
}
#top::after {
clear: both;
content: '';
display: block;
}
#top h1 {
display: inline-block;
padding: 0;
}
}
@media screen and (min-width: 1000px) {
#top .inner {
margin: 0 auto 28px;
padding: 10px 0;
width: 1000px;
}
#top h1 a:hover {
color: #469ada;
}
}
/* ヘッダー
==================================================
*/
#header {
background-color: #fff;
height: auto;
overflow: hidden;
position: relative;
}
#header img {
height: auto;
margin-bottom: 10px;
width: 100%;
}
#header #headertxt {
margin-bottom: 14px;
overflow: hidden;
text-align: left;
}
#header #headertxt div:nth-child(2) {
margin-top: 5px;
}
#header .title,
#header .desc {
margin: 0;
padding: 0 15px;
}
#header .title {
font-size: 1em;
font-weight: 700;
line-height: 1.5;
position: absolute;
top: 20%;
left: 0%;
display: inline-block;
width: 75%;
letter-spacing:3px;
overflow:hidden;
text-overflow: ellipsis;
max-height:4.5em;
}
#header .title a {
color: #237db9;
text-decoration: none;
}
#header .desc {
font-size: 0.875em;
line-height: 1.5;
max-height:4.5em;
overflow:auto;
}

 

#header .title img,#header .desc img{
width:auto;
}
@media screen and (min-width: 480px) {
#header .title{
font-size:1.25em;
}
}
@media screen and (min-width: 768px) {
#header {
margin: 0 auto;
width: 100%;
z-index: 0;
}
#header img {
margin-bottom: 0;
}
#header #headertxt {
left: 0;
margin: 0;
overflow: hidden;
position: absolute;
right: 0;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
#header #headertxt div:nth-child(2) {
margin-top: 15px;
}
#header .title,
#header .desc {
left: 5%;
margin: 0;
padding: 0;
position: relative;
width: 90%;
max-height:100%;
overflow:visible;
}
#header .title {
margin: auto;
font-size: 28px;
line-height: 1.3;
width: 70%;
max-height:100%;
}
}
@media screen and (min-width: 1000px) {
#header {
height: auto;
width: 1000px;
}
#header > img {
width:100%;
height:auto;
}

 

#header .title {
font-size: 36px;
width: 90%;
}
#header .title a {
-moz-transition: text-shadow 0.1s ease 0s;
-o-transition: text-shadow 0.1s ease 0s;
-webkit-transition: text-shadow 0.1s ease;
-webkit-transition-delay: 0s;
transition: text-shadow 0.1s ease 0s;
}
#header .title a:hover {
color: #469ada;
}
#header .desc {
font-size: 14px;
}
}

 

/*
==================================================
メインコンテンツ
==================================================
*/
/* 記事領域
==================================================
*/
#main {
text-align: left;
}

 

#main .text, #text1, #text2, #text3, #text4, #text5, #text6, #text7, #text8, #text9, #text10, #space1, #space2 {
overflow: visible;
padding: 15px;
margin-bottom:24px;
}

 

@media screen and (min-width: 768px) {
#main {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
float: right;
padding: 30px 20px 0;
}

 

#main .text, #text1, #text2, #text3, #text4, #text5, #text6, #text7, #text8, #text9, #text10, #space1, #space2 {
padding: 15px 10px;
}
}
/* 見出し
==================================================
*/
#main h2,
#main h3 {
background-color: #237db9;
border-bottom: 1px solid #fff;
border-radius: 3px;
-webkit-box-shadow: 1px 1px 3px #888;
box-shadow: 1px 1px 3px rgba(0,0,0,.3);
color: #fff;
font-size: 18px;
line-height: 1.5;
margin: 0 0 10px 0;
padding: 15px;
position: relative;
clear:both;
}
/* H3見出し - デザイン2 */
/*
#main h2,
#main h3{
padding:3px;
}

 

#main h2 span,
#main h3 span{
border-top:1px dashed #FFF;
border-bottom:1px dashed #FFF;
display:block;
padding:8px 16px;
}
*/
#main .text h2, #main #text1 h2, #main #text2 h2, #main #text3 h2, #main #text4 h2, #main #text5 h2, #main #text6 h2, #main #text7 h2, #main #text8 h2, #main #text9 h2, #main #text10 h2, #main #space1 h2, #main #space2 h2,
#main .text h3, #main #text1 h3, #main #text2 h3, #main #text3 h3, #main #text4 h3, #main #text5 h3, #main #text6 h3, #main #text7 h3, #main #text8 h3, #main #text9 h3, #main #text10 h3, #main #space1 h3, #main #space2 h3 {
margin: 15px -15px;
}
#main h2 a,#main h3 a{color:#FFF;}
#main h2 a:not([href]),#main h3 a:not([href]) {text-decoration:none;}
#main #sitemaps + h2,
#main #sitemaps + h3, #main #searchresult + h2,
#main #searchresult + h3 {
border-top: none;
}
#main #sitemaps + h2 + #space2,
#main #sitemaps + h3 + #space2, #main #searchresult + h2 + #space2,
#main #searchresult + h3 + #space2 {
border-bottom: 1px solid #e1e3e5;
}
#main h4 {
background-color: #EAF3F8;
color: #136ba6;
font-size: 18px;
line-height: 1.5;
margin: 20px 0px 18px;
overflow: visible;
padding: 10px 18px;
position: relative;
border-radius: 8px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
clear:both;
}
#main h4::before {
content: "";
position: absolute;
bottom: -10px;
left: 30px;
margin-left: -10px;
width: 0;
height: 0;
border-top: 15px solid #EAF3F8;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
}
#main h5 {
background-image: url(img/h5.png);
background-position: left 0.1em;
background-repeat: no-repeat;
background-size: 1.18em auto;
font-size: 17px;
line-height: 1.5;
margin: 20px 0 10px;
padding: 0 0 0 1.7em;
overflow:hidden;
}
#main h6 {
background-image: url(img/h6.png);
background-position: left 0.28em;
background-repeat: no-repeat;
background-size: 1.1em auto;
font-size: 16px;
line-height: 1.5;
margin: 10px auto;
padding: 0 0 0 1.52941em;
overflow:hidden;
}
#main blockquote {
background-color: #eee;
border: none;
color: #1a1a1a;
font-size: 16px;
line-height: 1.8;
margin: 25px 0;
padding: 15px;
padding-left: 2.5375em;
position: relative;
}
#main blockquote::before {
/*
color: #237db9;
content: '\203b';
font-size: 1.125em;
font-weight: bold;
line-height: 1;
margin: 0 0.3375em 0 -1.3375em;
*/
}

 

@media screen and (min-width: 768px) {
#main h2,
#main h3 {
font-size: 20px;
line-height: 1.4;
padding: 16px 24px;
position: relative;
}
#main .text h3, #main #text1 h3, #main #text2 h3, #main #text3 h3, #main #text4 h3, #main #text5 h3, #main #text6 h3, #main #text7 h3, #main #text8 h3, #main #text9 h3, #main #text10 h3, #main #space1 h3, #main #space2 h3 {
margin-left:-10px;
margin-right:-10px;
}
#main #sitemaps + h2 + #space2,
#main #sitemaps + h3 + #space2, #main #searchresult + h2 + #space2,
#main #searchresult + h3 + #space2 {
border-bottom: none;
}
#main h4 {
font-size: 20px;
}
#main blockquote {
padding: 20px;
padding-left: 2.85em;
}
}
#main .txt-decbox1 .top_box h3,#main .txt-decbox2 .top_box h3{
box-shadow:none;
}

 

 

/*
==================================================
サイドメニュー
==================================================
*/
/* メニュー
==================================================
*/
#menu,
#rmenu {
background-color: #f9f9f9;
overflow: hidden;
padding: 30px 10px 0;
text-align: left;
box-sizing: border-box;
}
#menu h4,
#rmenu h4 {
color: #333;
background-color: #fff;
border-top: 1px solid #ddd;
border-right: 1px solid #ddd;
border-bottom: 3px solid #237db9;
border-left: 1px solid #ddd;
margin: 0;
position: relative;
margin: 0;
padding: 11px 15px 11px 10px;
position: relative;
overflow: hidden;
}

 

#menu h4 span,
#rmenu h4 span {
background-image: url(img/menu_h4.png);
background-position: left 0.25em;
background-repeat: no-repeat;
background-size: 1.178em auto;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: block;
font-size: 16px;
line-height: 1.75;
min-height: 1.875em;
padding: 0 0 0 24px;
}
#menu .title,
#rmenu .title {
color: #333;
background-color: #fff;
border-top: 1px solid #ddd;
border-right: 1px solid #ddd;
border-bottom: 3px solid #237db9;
border-left: 1px solid #ddd;
margin: 0;
position: relative;
margin: 0;
padding: 11px 15px 11px 10px;
position: relative;
overflow: hidden;
}

 

 

#menu .title span,
#rmenu .title span {
background-image: url(img/menu_h4.png);
background-position: left 0.25em;
background-repeat: no-repeat;
background-size: 1.178em auto;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: block;
font-size: 16px;
line-height: 1.75;
min-height: 1.875em;
padding: 0 0 0 24px;
}
#menu .menuitem,
#rmenu .menuitem{
margin:0 0 15px 0;
}

 

ul#submenu {
border: 1px solid #ddd;
margin: 0;
padding: 10px 30px;
}
ul#submenu li, ul#submenu li a {
margin: 0;
padding: 0;
line-height: 2;
}
#menu .menulist ul,
#rmenu .menulist ul {
border-right: 1px solid #ddd;
border-bottom: 1px solid #e1e3e5;
border-left: 1px solid #ddd;
list-style: outside none none;
margin: 0;
padding: 0;
}
#menu .menulist li,
#rmenu .menulist li {
background-color: #fff;
border-bottom: 1px solid #e1e3e5;
}
#menu .menulist li:last-child,
#rmenu .menulist li:last-child {
border-bottom: none;
}
#menu .menulist li a,
#rmenu .menulist li a {
color: #4d4d4d;
display: block;
font-size: 13px;
line-height: 1.6;
padding: 15px 35px 15px 15px;
position: relative;
text-decoration: none;
}
#menu .menulist li a::before,
#rmenu .menulist li a::before {
border-right: 2px solid #c2c2c2;
border-top: 2px solid #c2c2c2;
content: '';
height: 6px;
margin-top: -3px;
position: absolute;
right: 20px;
top: 50%;
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
width: 6px;
}
#menu .menulist li a span,
#rmenu .menulist li a span {
background-color: #f9f9f9;
border: 1px solid #e1e3e5;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #999;
display: inline-block;
font-size: 12px;
line-height: 1.6;
margin: 0 5px;
padding: 0 0.4em;
}
#menu .menulist .l2,
#rmenu .menulist .l2 {
border-bottom: 1px dashed #e1e3e5;
}
#menu .menulist .l2 a,
#rmenu .menulist .l2 a {
margin: 0 10px;
padding: 14px 25px 14px 20px;
}
#menu .menulist .l2 a::before,
#rmenu .menulist .l2 a::before {
right: 10px;
}
#menu .menulist .l3,
#rmenu .menulist .l3 {
border-bottom: 1px dashed #e1e3e5;
background-color:#F7F7F7;
}
#menu .menulist .l3 a,
#rmenu .menulist .l3 a {
margin: 0 10px;
padding: 10px 25px 10px 40px;
}
#menu .menulist .l3 a::before,
#rmenu .menulist .l3 a::before {
right: 10px;
}
#menu .rankbox,
#rmenu .rankbox {
border-bottom: 1px solid #e1e3e5;
padding: 0 10px 10px;
}
@media screen and (min-width: 768px) {
#menu,
#rmenu {
background-color: transparent;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
#menu h4,
#menu .title,
#rmenu h4,
#rmenu .title {
margin-bottom: -1px;
}
#menu .menubox,
#rmenu .menubox {
margin-bottom: 20px;
}
}
@media screen and (min-width: 1000px) {

 

#menu .menulist ul,
#rmenu .menulist ul {
border-right: none;
border-left: none;
}
#menu .menulist li,
#rmenu .menulist li {
border-left: 1px solid #e1e3e5;
border-right: 1px solid #e1e3e5;
}
#menu .menulist li a:hover,
#rmenu .menulist li a:hover {
color: #469ada;
}
#menu .menulist li a:hover::before,
#rmenu .menulist li a:hover::before {
border-right: 2px solid #469ada;
border-top: 2px solid #469ada;
}
}
#submenu{margin-bottom:15px;}
/* バナー領域
==================================================
*/
.bannerbox {
border-bottom: 1px solid #e1e3e5;
position: relative;
}
.bannerbox ul {
list-style: outside none none;
margin: 0;
padding: 10px 0 0;
}
.bannerbox li {
margin-bottom: 10px;
text-align: center;
}
.bannerbox li a img {
vertical-align: bottom;
}

 

@media screen and (min-width: 768px) {
.bannerbox ul {
padding: 10px 10px 0;
}
}
@media screen and (min-width: 1000px) {
.bannerbox {
border: none;
}
.bannerbox ul {
list-style: outside none none;
margin: 0;
padding: 0;
}
}
/* 最新記事・アーカイブ
==================================================
*/
ul#newEntry, ul#entryarchive {
border-right: 1px solid #ddd;
border-left: 1px solid #ddd;
list-style: outside none none;
margin: 0;
padding: 0;
}
ul#newEntry li, ul#entryarchive li {
background-color: #fff;
border-bottom: 1px solid #e1e3e5;
color: rgba(51, 51, 51, 0.7);
font-size: 13px;
line-height: 1.6;
padding: 15px;
}

 

@media screen and (min-width: 1000px) {
ul#newEntry, ul#entryarchive {
background-color: #fff;
border: 1px solid #e1e3e5;
padding: 13px 15px;
}
ul#newEntry li, ul#entryarchive li {
background-color: transparent;
border: none;
margin-bottom: 10px;
padding: 0 0 0 1.23077em;
position: relative;
}
ul#newEntry li:last-child, ul#entryarchive li:last-child {
margin-bottom: 0;
}
ul#newEntry li::before, ul#entryarchive li::before {
content: '・';
left: 0;
position: absolute;
}
}
/*
==================================================
フッター
==================================================
*/
#footer {
background-color: #fff;
}
#footer #footermenu,
#footer #footsub {
padding: 0;
}
#footer #footermenu a,
#footer #footsub a {
background-color: #f5f5f5;
border-bottom: 1px solid #e1e3e5;
color: gray;
display: block;
font-size: 13px;
line-height: 1.6;
padding: 15px 35px 15px 15px;
position: relative;
text-align: left;
text-decoration: none;
margin:0;
}
#footer #footermenu a::before,
#footer #footsub a::before {
border-right: 2px solid #c2c2c2;
border-top: 2px solid #c2c2c2;
content: '';
height: 6px;
margin-top: -3px;
position: absolute;
right: 20px;
top: 50%;
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
width: 6px;
}
#footer small {
color: rgba(51, 51, 51, 0.5);
display: block;
font-size: 9px;
line-height: 1.6;
padding: 17px 10px;
}

 

@media screen and (min-width: 768px) {
#footer {
border-top: 1px solid #e1e3e5;
margin: -1px auto 0;
padding: 22px 0 0;
position: relative;
}
#footer #footermenu,
#footer #footsub {
display: inline;
letter-spacing: -.40em;
}
#footer #footermenu a,
#footer #footsub a {
background-color: transparent;
border: none;
display: inline-block;
font-size: 12px;
letter-spacing: normal;
margin: 10px 15px;
padding: 0;
}
#footer #footermenu a::before,
#footer #footsub a::before {
display: none;
}
#footer small {
font-size: 12px;
padding: 10px 10px 32px;
}
}
@media screen and (min-width: 1000px) {
#footer {
padding: 32px 0 0;
width: 1000px;
}
#footer #footermenu a:hover,
#footer #footsub a:hover {
color: #469ada;
text-decoration: underline;
}
#footer small {
padding: 20px 10px 42px;
}
}
/*
==================================================
トップページ
==================================================
*/
#whatsnew .title {
background-color: #237db9;
padding: 6px 15px;
}
#whatsnew .title span {
background-image: url(img/whatsnew_title.png);
background-position: left 0.16667em;
background-repeat: no-repeat;
background-size: 1.72222em auto;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #FFF;
display: block;
font-size: 20px;
font-weight: normal;
line-height: 1.5;
min-height: 1.66667em;
padding: 0 0 0 2.33333em;
}
#whatsnew ul {
list-style: outside none none;
margin: 0;
padding: 0;
background-color: #fafafa;
}
#whatsnew ul li {

 

border-bottom: 1px solid #ccc;
font-size: 16px;
line-height: 1.8;
margin: 0;
padding: 15px;
}
#whatsnew ul li span:nth-last-of-type(2) {
color: #8b8b8b;
display: block;
letter-spacing: 0;
margin-bottom: 5px;
}

 

@media screen and (min-width: 768px) {
#whatsnew {
margin-bottom: 20px;
}
#whatsnew .title {
padding: 10px;
}
#whatsnew .title span {
margin-left: 5px;
}
#whatsnew ul {
border-collapse: collapse;
display: table;
overflow: visible;
width: 100%;
}
#whatsnew ul li {
display: table-row;
}
#whatsnew ul li span {
display: table-cell;
padding: 17px;
vertical-align: top;
}
#whatsnew ul li span:nth-last-of-type(2) {
display: table-cell;
margin: 0;
padding-right: 20px;
white-space: nowrap;
width: 1%;
}
}
/*
==================================================
カテゴリーページ
==================================================
*/
#categorylist {
background-color: #ebebeb;
overflow: hidden;
}
#categorylist .catbox {
background-color: #fafafa;
border: 1px solid #ddd;
margin-bottom: 10px;
overflow: hidden;
padding: 15px;
position: relative;
}
#categorylist .catbox:first-of-type {
margin-top: 10px;
}
#categorylist .title {
border-bottom: 2px solid #ced2d6;
margin-bottom: 10px;
padding: 0 0 6px;
}
#categorylist .title a {
background-image: url(img/category_title.png);
background-position: left 0.11111em;
background-repeat: no-repeat;
background-size: 2em auto;
color: #737373;
display: inline-block;
font-size: 18px;
line-height: 1.5;
min-height: 1.72222em;
padding: 0 0 0 2.22222em;
text-decoration: none;
}
#categorylist .thumb {
margin: 0 0 10px;
text-align: center;
}
#categorylist .thumb img {
vertical-align: bottom;
display:block;
margin:0 auto 10px auto;
}
#categorylist p {
color: #595959;
font-size: 13px;
line-height: 2.375;
overflow: hidden;
}
#categorylist .more {
margin: 10px 0 0;
}
#categorylist .more a {
background-color: #237db9;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #fff;
display: block;
font-size: 14px;
overflow: hidden;
padding: 8px 10px 8px 0;
text-align: center;
text-decoration: none;
}
#categorylist .more a::before {
content: '≫';
letter-spacing: -2px;
padding-right: 0.5em;
}

 

#main #pagelist {
margin: 10px 0;
padding: 5px 0;
text-align: center;
}
#main #pagelist ul {
letter-spacing: -.40em;
list-style: outside none none;
margin: 0;
padding: 0;
}
#main #pagelist li {
display: inline-block;
letter-spacing: normal;
margin: 0 5px 10px important;
padding: 0 important;
}
#main #pagelist li::before {
display: none;
}
#main #pagelist a {
background-color: #469ada;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
color: #fff;
display: inline-block;
padding: 4px 14px;
text-align: center;
text-decoration: none;
}

 

@media screen and (min-width: 768px) {
#categorylist {
background-color: transparent;
}
#categorylist .catbox {
margin-bottom: 20px;
padding: 20px 30px;
}
#categorylist .catbox:first-of-type {
margin-top: 20px;
}
#categorylist .title {
margin-bottom: 24px;
padding: 1px 0 6px;
}
#categorylist .title a {
background-position: left 0.2em;
background-size: 1.8em auto;
font-size: 20px;
margin: 0 0 0 5px;
min-height: 1.7em;
padding: 0 0 0 2.3em;
}
}
@media screen and (min-width: 1000px) {
#categorylist .title a:hover {
color: #237db9;
text-decoration: underline;
}
#categorylist .more a {
border: 1px solid transparent;
padding: 2px 10px 2px 0;
-moz-transition: all 0.1s ease 0s;
-o-transition: all 0.1s ease 0s;
-webkit-transition: all 0.1s ease;
-webkit-transition-delay: 0s;
transition: all 0.1s ease 0s;
}
#categorylist .more a:hover {
background-color: #6EA9D1;
left: 0;
top: 0;
}

 

 

#main #pagelist a {
border: 1px solid transparent;
-moz-transition: all 0.1s ease 0s;
-o-transition: all 0.1s ease 0s;
-webkit-transition: all 0.1s ease;
-webkit-transition-delay: 0s;
transition: all 0.1s ease 0s;
}
#main #pagelist a:hover {
background-color: #68b2eb;
left: 0;
top: 0;
}
}
/*
==================================================
エントリーページ
==================================================
*/
#entrylist {
background-color: #fff;
}
#entrylist h4 {
background-color: transparent;
border-top: 1px solid #e1e3e5;
border-bottom: 1px solid #e1e3e5;
margin: 0;
padding: 15px 5px;
border-radius: 0px;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
}
#entrylist h4:before {
background: none;
display: none;
}
#entrylist h4 span {
background-image: url(img/entry_title.png);
background-position: left 0.27778em;
background-repeat: no-repeat;
background-size: 1.83333em auto;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #1a1a1a;
display: block;
font-size: 16px;
font-weight: normal;
line-height: 1.5;
min-height: 1.77778em;
padding: 0.11111em 0 0 2.44444em;
}
#entrylist dl {
margin: 0;
}
#entrylist dt {
padding: 12px 15px;
position: relative;
}
#entrylist dt:first-child {
border-top: none;
}
#entrylist dt .entry_title a {
display: block;
font-size: 14px;
line-height: 1.6;
}
#entrylist dl div {
border-bottom: 1px solid #e1e3e5;
overflow:hidden;
}
#entrylist dd {
color: #595959;
font-size: 12px;
line-height: 1.6;
margin: -10px 0 0;
padding: 0 15px 12px;
}
#entrylist dd:after {
content: "";
clear: both;
display: block;
}
#entrylist dl div:last-child {
border: none;
}

 

#relNavigate {
margin: 15px 0;
text-align: center;
}
#relNavigate a {
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
font-size: 14px;
padding: 5px 0;
width: 42%;
}

 

 

@media screen and (min-width: 768px) {
#entrylist {
margin: 0 -20px;
padding: 20px 25px;
}
#entrylist h4 span {
margin-left: 5px;
}
#entrylist dt {
padding: 16px 0;
}
#entrylist dd {
font-size: 13px;
margin: -14px 0 0;
padding: 0 0 16px;
}

 

#relNavigate {
margin: 20px 0;
}
#relNavigate a {
background-color: transparent;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
display: inline;
font-size: 16px;
margin: 0 30px;
text-decoration: underline;
width: auto;
}
}
@media screen and (min-width: 1000px) {
#relNavigate a:hover {
text-decoration: none;
}
}
/*
==================================================
サイトマップページ
==================================================
*/
#sitemaps {
border-top: 1px solid #e1e3e5;
}
#sitemaps ul {
list-style: outside none none;
margin: 0;
padding: 0;
}
#sitemaps ul li {
padding:0;
margin:0;
background-color: #fff;
border-bottom: 1px solid #e1e3e5;
}
#sitemaps li a {
color: #4d4d4d;
display: block;
font-size: 13px;
line-height: 1.6;
padding: 15px 35px 15px 15px;
position: relative;
text-align: left;
text-decoration: none;
margin:0;
}
#sitemaps ul li:before{display:none;}
#sitemaps li a::before {
border-right: 2px solid #c2c2c2;
border-top: 2px solid #c2c2c2;
content: '';
height: 6px;
margin-top: -3px;
position: absolute;
right: 20px;
top: 50%;
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
width: 6px;
}
#sitemaps .l2 {
margin-top: -1px;
}
#sitemaps .l2 a {
border-top: 1px dashed #e1e3e5;
margin: 0 10px;
padding: 14px 25px 14px 15px;
}
#sitemaps .l2 a::before {
right: 10px;
}
#sitemaps .l3 {
margin-top: -1px;
}
#sitemaps .l3 a {
border-top: 1px dashed #e1e3e5;
margin: 0 10px 0 20px;
padding: 14px 25px 14px 40px;
}
#sitemaps .l3 a::before {
right: 10px;
}
#sitemaps br {
display: none;
}

 

@media screen and (min-width: 768px) {
#sitemaps {
border-top: none;
}
#sitemaps ul {
padding: 0 10px;
}
#sitemaps ul:first-of-type {
padding-top: 20px;
}
#sitemaps ul:last-of-type {
padding-bottom: 20px;
}
#sitemaps li,
#sitemaps .l2,
#sitemaps .l3 {
background-color: transparent;
border: none;
margin: 0 0 8px;
}
#sitemaps li a,
#sitemaps .l2 a,
#sitemaps .l3 a {
color: #4887d9;
display: inline-block;
font-size: 14px;
line-height: 1.6;
padding: 0 0 0 20px;
}
#sitemaps li a::before,
#sitemaps .l2 a::before,
#sitemaps .l3 a::before {
display: none;
}
#sitemaps li a::after,
#sitemaps .l2 a::after,
#sitemaps .l3 a::after {
border-right: 2px solid #c2c2c2;
border-top: 2px solid #c2c2c2;
content: '';
height: 6px;
left: 0;
position: absolute;
top: 5px;
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
width: 6px;
}
#sitemaps .l2 {
margin-left: 20px;
}
#sitemaps .l2 a {
border: none;
margin: 0;
}
#sitemaps .l2 a::before {
left: 0;
}
#sitemaps .l3 {
margin-left: 50px;
}
#sitemaps .l3 a {
border: none;
margin: 0;
}
#sitemaps .l3 a::before {
left: 0;
}
}
@media screen and (min-width: 1000px) {
#sitemaps li a:hover {
color: #469ada;
text-decoration: underline;
}
}
/*
==================================================
フリースペース
==================================================
*/
#space3, #space4, #space5, #space6 {
background-color: #fff;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
border-left: 1px solid #ddd;
overflow: hidden;
padding: 15px;
}

 

 

@media screen and (min-width: 768px) {
#space3, #space4, #space5, #space6 {
padding: 10px;
}
}
@media screen and (min-width: 1000px) {
#space3, #space4, #space5, #space6 {
border-top: 1px solid #ddd;
border-right: 1px solid #e1e3e5;
border-bottom: 1px solid #e1e3e5;
border-left: 1px solid #e1e3e5;
}
}
/*
==================================================
ブログモード
==================================================
*/
.blog {
border-bottom: 1px solid #e1e3e5;
overflow: hidden;
padding: 15px;
}
.blog .thumb {
float: left;
margin-right: 15px;
}
.blog .thumb img {
max-width: 100px;
}
.blog .title {
font-size: 18px;
line-height: 1.5;
margin-bottom: 10px;
}
.blog .title a {
color: #333333;
}
.blog .info {
color: rgba(51, 51, 51, 0.5);
font-size: 12px;
line-height: 1.6;
margin-bottom: 8px;
}
.blog .info a {
color: rgba(51, 51, 51, 0.5);
}
.blog .body{
clear:both;
padding:10px 0;
}

 

.blog .more {
text-align: right;
}
.blog .plist{padding:0 5px;}
.blog .plist a{margin:0 2px;}
.blog .plist::before{content:" | ";}

 

@media screen and (min-width: 768px) {
.blog {
padding: 20px 10px;
}
.blog:last-of-type {
border: none;
}
.blog .thumb {
margin: 0 25px 25px 0;
}
.blog .thumb img {
max-width: 200px;
}
.blog .title {
font-size: 20px;
margin-bottom: 15px;
}
.blog .info {
font-size: 14px;
line-height: 1.6;
margin-bottom: 15px;
}
.blog .body {
overflow: hidden;
clear: none;
}
}
@media screen and (min-width: 1000px) {
.blog .title a:hover {
color: #469ada;
}
}

 

 

 

 

/*
==================================================
2カラムレイアウト
==================================================
*/
@media screen and (min-width: 768px) {
#column2 #main {
width: 68%;
}
#column2 #menu {
float: left;
width: 32%;
}
/*
#column2 #menu::before {
background-color: #f9f9f9;
bottom: 0;
content: '';
left: 0;
position: absolute;
top: 0;
width: 32%;
z-index: -1;
}
#column2 #menu::after {
background-color: #e1e3e5;
bottom: 0;
content: '';
left: 32%;
position: absolute;
top: 0;
width: 1px;
}
*/
#column2 #categorylist .thumb {
float: left;
margin-right: 25px;
max-width: 200px;
}
#column2 #categorylist .body::after {
clear: both;
content: '';
display: block;
}
#column2 #categorylist .more {
margin: 10px 0;
text-align: right;
}
#column2 #categorylist .more a {
display: inline-block;
padding: 3px 10px 3px 0;
vertical-align: bottom;
width: 154px;
}
#column2 .rank .rank1, #column2 .rank .rank2, #column2 .rank .rank3 {
background-position: 10px 0;
background-size: 2.17647em auto;
font-size: 22px;
line-height: 1.5;
min-height: 1.52941em;
padding: 0.64706em 15px 0.47059em 2.88235em;
}
#column2 .rank .rank4, #column2 .rank .rank5, #column2 .rank .rank6, #column2 .rank .rank7, #column2 .rank .rank8, #column2 .rank .rank9, #column2 .rank .rank10 {
background-position: 5px;
background-size: 2.17647em auto;
font-size: 22px;
line-height: 1.3;
min-height: 1.52941em;
padding: 0.64706em 15px 0.47059em 2.88235em;
}
#column2 .rank .rank-inner {
padding: 25px 30px 10px;
}
#column2 .rank .rankbox .rnkbody {
margin-bottom: 20px;
}
#column2 .rank .rank-table {
margin-bottom: 20px;
margin-top: 20px;
}
#column2 .rank .comment {
margin: 20px 0;
}
#column2 .rank .more {
margin: 25px 0;
}
}
@media screen and (min-width: 1000px) {
#column2 #main {
width: 700px;
}
#column2 #menu {
width: 300px;
}
#column2 #menu::before {
width: 300px;
}
#column2 #menu::after {
left: 299px;
}
#column2 #menu .menulist li {
-moz-transition: background-color 0.1s ease 0s;
-o-transition: background-color 0.1s ease 0s;
-webkit-transition: background-color 0.1s ease;
-webkit-transition-delay: 0s;
transition: background-color 0.1s ease 0s;
}
#column2 #menu .menulist li:hover {
background-color: #f9f9f9;
}
#column2 #menu .menulist li a:hover {
left: 0;
top: 0;
}
#column2 #categorylist .more a {
padding: 2px 10px 2px 0;
}
#column2 .rank .more::after {
clear: both;
content: '';
display: block;
}

 

}

 

/*
==================================================
レイアウト切り替え用スタイル
==================================================
*/

 

 

#headerbox {
height: auto important;
}

 

 

@media screen and (max-width: 999px) {
#header {
height: auto important;
}
}
@media screen and (max-width: 767px) {
#top h1 {
padding: 13px 10px;
<% if:exists(topmenu) %>
padding: 13px 48px 13px 10px;
<% /if %>
<% if:exists(searchbox) %>
padding: 13px 48px 13px 10px;
<% /if %>
}
#topmenubtn {
display: none;
<% if:exists(topmenu) %>
display: block;
<% /if %>
<% if:exists(searchbox) %>
display: block;
<% /if %>
}
#main,
#menu,
#rmenu,
#layoutbox {
float: none important;
}
}
@media screen and (min-width: 768px) {
#column2 #menu::before {
left: auto;
right: 0;
}
#column2 #menu::after {
left: auto;
right: 32%;
}

 

}
#contents #main .txt-decbox1,
#contents #main .txt-decbox2 {
margin: 10px 0;
overflow:hidden;
}
#contents #main .txt-decbox1 .top_box h3,
#contents #main .txt-decbox2 .top_box h3 {
border: none important;
}
#contents #main .txt-decbox1 .top h3 span,
#contents #main .txt-decbox2 .top h3 span {
display: block;
}

 

#contents #main .txt-border h3,
#contents #main .txt-grayback h3,
#contents #main .txt-colorback h3,
#contents #main .txt-frame h3,
#contents #main .txt-colorframe h3,
#contents #main .txt-rndbox h3,
#contents #main .txt-decbox2 h3,
#contents #main .txt-decbox2 h3 {
margin-left:0;
margin-right:0;
}

 

@media screen and (min-width: 768px) {

 

 

#contents #main .txt-frame .top {
background-image: url("img/frame_t.gif"), url("img/frame_t.gif"), url("img/frame_t.gif");
background-position: left top, 893px top, 1786px top;
}
#contents #main .txt-frame .bottom {
background-image: url("img/frame_b.gif"), url("img/frame_b.gif"), url("img/frame_b.gif");
background-position: left top, 893px top, 1786px top;
}
#contents #main .txt-colorframe .top {
background-image: url("img/colorframe_t.gif"), url("img/colorframe_t.gif"), url("img/colorframe_t.gif");
background-position: left top, 893px top, 1786px top;
}
#contents #main .txt-colorframe .bottom {
background-image: url("img/colorframe_b.gif"), url("img/colorframe_b.gif"), url("img/colorframe_b.gif");
background-position: left top, 893px top, 1786px top;
}
#contents #main .txt-rndbox .top {
background-image: url("img/round_t.gif"), url("img/round_t.gif"), url("img/round_t.gif");
background-position: left top, 885px top, 1770px top;
}
#contents #main .txt-rndbox .bottom {
background-image: url("img/round_b.gif"), url("img/round_b.gif"), url("img/round_b.gif");
background-position: left top, 885px top, 1770px top;
}
#contents #main .txt-decbox1 .top {
background-image: url("img/decbox_t.gif"), url("img/decbox_t.gif"), url("img/decbox_t.gif");
background-position: left top, 850px top, 1700px top;
}
#contents #main .txt-decbox1 .bottom {
background-image: url("img/decbox_b.gif"), url("img/decbox_b.gif"), url("img/decbox_b.gif");
background-position: left top, 850px top, 1700px top;
}

 

.txt-decbox2 {
position: relative;
z-index: 0;
}
.txt-decbox2::before, .txt-decbox2::after {
background-image: url("img/decbox2_r.gif");
background-position: left bottom;
background-repeat: repeat-y;
bottom: 0;
content: '';
position: absolute;
top: 0;
width: 880px;
z-index: -2;
}
.txt-decbox2::before {
right: 900px;
}
.txt-decbox2::after {
right: 1780px;
}
.txt-decbox2 .body {
z-index: 1;
}
.txt-decbox2 .top,
.txt-decbox2 .bottom {
position: relative;
}
.txt-decbox2 .top::before, .txt-decbox2 .top::after,
.txt-decbox2 .bottom::before,
.txt-decbox2 .bottom::after {
background-repeat: no-repeat;
content: '';
height: 16px;
position: absolute;
z-index: -1;
}
.txt-decbox2 .top::before,
.txt-decbox2 .bottom::before {
right: 900px;
}
.txt-decbox2 .top::before, .txt-decbox2 .top::after {
background-image: url("img/decbox2_tr.gif");
background-position: left top;
top: 0;
width: 890px;
}
.txt-decbox2 .top::after {
right: 1790px;
}
.txt-decbox2 .bottom::before, .txt-decbox2 .bottom::after {
background-image: url("img/decbox2_br.gif");
background-position: left bottom;
bottom: 0;
width: 730px;
}
.txt-decbox2 .bottom::after {
right: 1630px;
}
}
#main .txt-frame, #main .txt-colorframe,#main .txt-rndbox, #main .txt-decbox1, #main .txt-decbox2{
padding: 0 important;
}

 

body{
<% backgroundImage %>
<% backgroundDisplay %>
<% backgroundColor %>
<% bodyFontSize %>
}

 

//#header{ height: <% headerHeight2 %>; }

 

#headerbox {<% headerBox_fix %> }
#header h2 ,#header .title {
<% pageTitleShadow %>
}

 

#header h2 a, #header h2 a:visited,#header h2 a:hover,#header .title a,#header .title a:visited{<% pageTitleColor %>}
#headertext ,#header .desc{
<% pageDescColor %>
<% pageDescShadow %>
}

 

@media screen and (min-width: 768px) {
#header h2 ,#header .title {
<% pageTitlePlace2 %>
<% pageTitleFontSize %>
}
#headertext ,#header .desc{
<% pageDescPlace2 %>
<% pageDescFontSize %>
}
#main{ float: left; }
#column2 #menu,#column3 #menu{ float: right; }

 

 

/*ヘッダー背景カラーはここで切り替えができます,,#f4f4f4;*/
header {
padding:10px;
background: #f4f4f4;
}

 

button {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;

 

}

 

#slide-menu {
z-index: 99999999999;
width: 280px;
height: 100%;
background: #fff;
overflow: scroll;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
font-size: 16px;
color: #000;
}
#slide-button {
font-size: 30px;
line-height: 30px;
border: none;
background: skyblue;
}

 

#slide-button {
position: absolute;
top: 5px;
right: 30px;
height: 30px;
z-index: 99999999999;
padding: 5px;
}

 

.close-button {
width: 100%;
border: none;
font-size: 16px;
}

 

 

.scrollToTop {
color: #fafafa;
font-size: 1.4em;
box-shadow: 0 1px 1.5px 0 rgba(0,0,0,.12), 0 1px 1px 0 rgba(0,0,0,.24);
width: 50px;
height: 50px;
border-radius: 100px;
border: none;
outline: none;
background: #E91E63;
z-index: 9999;
bottom: 10px;
right: 10px;
position: fixed;
opacity: 0;
visibility: hidden;
}
#marker {
position: absolute;
top: 100px;
width: 0px;
height: 0px;
}

 

 

</style>

 

 

</head>

 

 

 

<body>
<button on="tap:slide-menu.toggle" id="slide-button" class="ampstart-btn caps m2"><strong><strong>≡</strong></strong></button>
<amp-sidebar id="" layout="nodisplay" side="left">

 

</amp-sidebar>
<amp-sidebar id="slide-menu" layout="nodisplay" side="left">
<button on="tap:slide-menu.toggle" class="ampstart-btn caps m2 close-button">
<i class="fa fa-times-circle-o" aria-hidden="true"></i> <span>CLOSE</span>
</button>

 

<div><a class="amp-nav-link" href="https://www.affiliateno1.com/sirius_mobile_amp/">トップページ</a></div>
<div><a class="amp-nav-link" href="https://www.affiliateno1.com/sirius_mobile_amp/category1/">AMP導入前の予備知識|記事内装飾、画像等への対応?</a></div>
<div><a class="amp-nav-link" href="https://www.affiliateno1.com/sirius_mobile_amp/entryfile.html">シリウス専用のAMP HTMLソース公開</a></div>
<div><a class="amp-nav-link" href="https://www.affiliateno1.com/sirius_amp/">sirius_amp|シリウスへのAMP仕様導入..変更について</a></div>
<div><a class="amp-nav-link" href="https://www.affiliateno1.com/">メインサイト</a></div>

 

</amp-sidebar><!--/slide-menu-->

 

 

<div id="wrapper">
<div id="top">
<header>
<% pageTopic3 %>
<!-- ★ヘッダー画像エリアここから★ -->
<div id="header">
<amp-img width="1000" height="350" layout="responsive" src="https://www.affiliateno1.com/sirius_mobile_amp/img/header.jpg" alt="" layout="responsive"></amp-img>
<div id="headertxt">
<% headerText | tag_insert(a href="<% pageDepth %>") | tag_insert(h2 class="title") %>
<% pageDescription2 | str_replace(id="headertext",class="desc") %>
</div>
</div>
<!-- ★ヘッダー画像エリアここまで★ -->
</header>
</div>
</div>
<!-- ★ヘッダー画像エリアここまで★ -->
</header>
</div>
</div>

 

 

<amp-animation id="showAnim"
layout="nodisplay">
<script type="application/json">
{
"duration": "200ms",
"fill": "both",
"iterations": "1",
"direction": "alternate",
"animations": [{
"selector": "#scrollToTopButton",
"keyframes": [{
"opacity": "1",
"visibility": "visible"
}]
}]
}
</script>
</amp-animation>

 

 

<div id="marker">
<amp-position-observer on="enter:hideAnim.start; exit:showAnim.start"
layout="nodisplay">
</amp-position-observer>
</div>

 

/*ページ戻りボタン以下3行は、カテゴリー、エントリーでは、<div id="pagetop"><a href="#">先頭へ戻る</a></div>と差し替え*/
<button id="scrollToTopButton"
on="tap:top-page.scrollTo(duration=200)"
class="scrollToTop">△</button>

 

 

<div id="top-page"></div>

 

 

<div id="column2">
<div id="contents">
<div id="layoutbox">
<div id="main">
<% pageNavigation %>
<!-- ★コンテンツここから★ -->
<% freeSpace1 %>
<% articleStart %>

 

<% textTitle1 %>
<% textBody1 %>
<% textTitle2 %>
<% textBody2 %>
<% textTitle3 %>
<% textBody3 %>
<% textTitle4 %>
<% textBody4 %>
<% textTitle5 %>
<% textBody5 %>
<% textTitle6 %>
<% textBody6 %>
<% textTitle7 %>
<% textBody7 %>
<% textTitle8 %>
<% textBody8 %>
<% textTitle9 %>
<% textBody9 %>
<% textTitle10 %>
<% textBody10 %>

 

<% articleEnd %>
<% freeSpace2 %>
<!-- ★コンテンツここまで★ -->

 

 

<% entryList2 | tag_replace(h3,h4) | tag_insert_inner(h4,span) %>
</div>

 

<!-- ★メインメニューここから★ -->
<div id="menu">

 

<% freeSpace3 | tag_replace(h4,div class="title") | tag_insert_inner(div class="title",span) %>
<% pickupEntry %>
<% siteMenu2 | tag_insert_inner(h4,span) %>
<% subMenu | tag_insert_inner(h4,span) %>
<% siteNewEntry | tag_replace(h4,div class="title") | tag_insert_inner(div class="title",span) | tag_insert(div class="menuitem") %>
<% freeSpace4 | tag_replace(h4,div class="title") | tag_insert_inner(div class="title",span) %>

 

</div>
<!-- ★メインメニューここまで★ -->

 

</div>

 

 

<div id="pagetop"><a href="#">先頭へ戻る</a></div>
</div>
</div>

 

 

<!-- ★フッターここから★ -->
<footer id="footer">

 

<% footerMenu %>
<p id="footsub"><% PRLink | tag_insert(span) %><% sitemapPageLink | tag_insert(span) %></p>
<small>Copyright &copy; <% thisYear %> <% siteTitle %>All Rights Reserved.<% accessAnalyzer %></small>
</footer>
<!-- ★フッターここまで★ -->

 

</div>
</body>
</html>

 

ここまで....