* {
margin:0;
padding:0
}
div,h1,h2,h3,p,ul,li,input,textarea,table,tr,th,td,footer,header,nav,section{
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box
}
html {
font-size:62.5%
}
body {
background:#d0d9c7;/* 周りの背景 */
color:#000;/* 文字色 */
font-family:Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
font-size:1.2em;
letter-spacing:2px;
overflow-wrap:break-word;
word-wrap:break-word;
text-align:center
}
a {
color:#666;
outline:none;
text-decoration:none
}
a img {
border-style:none
}
/*--------------------------------------------------------
メイン
--------------------------------------------------------*/
#contents {
text-align:left;
width:100%
}
/* 左側 */
#leftcolumn {
float:left;
padding:20px;
text-align:left;
width:250px;/* 幅 #rightcolumnのmargin-leftと同じ数値 */
}
/* 右側 */
#rightcolumn {
background:#fff;/* 背景 */
border-bottom:1px dashed #000;
border-left:1px dashed #000;
margin-left:250px;/* leftcolumnのwidthと同じ数値 */
padding:20px
}
#contents p{
background:url(image/line01.gif);
line-height:20px
}
/*--------------------------------------------------------
下(フッター)
--------------------------------------------------------*/
footer {
bottom:0;left:0;
padding:20px;
width:100%
}
.pagetop {
float:right;
text-align:right
}
#pagetop{
background-color:rgba(255,255,255,0.8);
border:1px dashed #000;
color:#000;
line-height:40px;
text-align:center;
position:fixed;
bottom:20px;right:10px;
height:40px;width:40px
}
.fl {
text-align:left
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#open {
display:none
}
#menu{
display:block;
margin:20px auto;
padding:5px
}
#menu li{
list-style:none
}
#menu li a,
#menu .toggle{
color:#000;/* メニューの文字色 */
display:block;
line-height:2em;
padding:5px;
position:relative;
transition: .2s ease-in-out
}
#menu a:hover,
#menu .toggle:hover{
text-decoration:underline
}
#menu .toggle:after{
border-top:solid 2px #000; /* メニュー「>」の色 */
border-right:solid 2px #000; /* メニュー「>」の色 */
content: "";
display:block;
margin-top:-5px;
position:absolute;
height:5px;width:5px;
top:50%;right:10px;
transform: rotate(45deg);
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transition: .2s ease-in-out
}
#menu .toggle.open:after {
transform:rotate(135deg);
-ms-transform:rotate(135deg);
-webkit-transform:rotate(135deg)
}
#menu li ul{
display:none;
overflow:hidden
}
#menu li ul li{
text-indent:1em
}
#menu li ul li a:after{
display:none
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1 {
font-size:1.5em;
font-weight:700;
letter-spacing:3px
}
h2 {
background:#fff;
border-left:8px solid #d0d9c7;
box-shadow:0 1px 2px #ccc;
font-size:1.5em;
font-style:italic;
margin:1em 0;
padding:3px
}
h3 {
border-bottom:3px double #000;
font-weight:700;
margin:1em 0
}
h3:first-letter {
color:#d0d9c7;
font-size:1.3em
}
.co01 {
background:#d0d9c7
}
.co02 {
color:#c00
}
.ln01 {
border-left:5px solid #000;
margin:5px 0;
padding:3px
}
.ln02 {
border-left:5px solid #c00;
margin:5px 0;
padding:3px
}
.middle {
vertical-align:middle
}
.navi {
border:1px #000 solid;
margin:10px 0;
padding:3px;
text-align:center
}
.pos {
border:1px #000 dashed;
margin:10px 0;
padding:3px 0;
width:100%
}
.title {
color:#999;
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt {
border-left:1px dotted #999;
color:#999;
margin:1em;
padding:0 0 0 1em
}
dt{
border-bottom:1px solid #000;
font-weight:700
}
dd{
padding:1em
}
em {
background:#fbcc69;
font-weight:700
}
input,textarea {
background-color:#fff;
border:1px solid #000;
color:#000;
font-family:Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
font-size:1em;
margin:3px 0;
width:200px
}
textarea {
height:70px;
width:400px
}
img.frame {
border:6px solid #fff;
border-radius:3px;
box-shadow:4px 4px 4px #ccc
}
/*--------------------------------------------------------
回り込み解除
--------------------------------------------------------*/
.cf:before,.cf:after {
content:" ";
display:table
}
.cf:after {
clear:both
}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px) {
body {
font-size:1.3em
}
#leftcolumn,#rightcolumn {
float:none;
width:100%
}
#leftcolumn {
min-height:60px
}
#rightcolumn {
border-top:1px dashed #000;
border-left:0;
margin-left:0
}
#rightcolumn a{
color:#000;
background:#d0d9c7;
border-radius:5px;
display:inline-block;
margin:5px 5px 5px 0;
padding:10px
}
.fl {
text-align:center
}
.fl a{
position:static;
background-color:#ebeae0;
border:1px dashed #000;
display:inline-block;
padding:0 10px;
height:40px;line-height:40px
}
#contents p{
background:url(image/line02.gif);
line-height:30px
}
/*--------------------------------------------------------
スマホ、タブレット用メニュー
わからない場合は、色変更のみが無難です
--------------------------------------------------------*/
/* メニューを開くボタン */
#open {
background:#fff; /* 背景色 */
border:1px dashed #000; /* 点線 */
display:inline-block;
margin:0 5px;
position:absolute;
top:10px;right:10px; /* 位置 */
height:40px;width:40px; /* サイズ */
z-index:20
}
#open-icon {
background:#000; /* 色 */
display:block;
margin:-1px 0 0 -10px;
position:absolute;
top:50%;left:50%;
height:2px;width:20px;
transition:.3s
}
#open-icon:before,#open-icon:after {
background:#000; /* 色 */
content:"";
display:block;
position:absolute;
top:50%;left:0;
height:2px;width:20px;
transition:.3s
}
#open-icon:before {
margin-top:-8px
}
#open-icon:after {
margin-top:6px
}
#open .close {
background:transparent
}
#open .close:before,#open .close:after {
margin-top:0
}
#open .close:before {
transform:rotate(-45deg);
-ms-transform:rotate(-45deg);
-webkit-transform:rotate(-45deg)
}
#open .close:after {
transform:rotate(-135deg);
-ms-transform:rotate(-135deg);
-webkit-transform:rotate(-135deg)
}

/* メニュー */
#menu{
background-color:rgba(0,0,0,0.8);
color:#fff; /* 文字色 */
display:none;
float:left;
position:absolute;
margin:0;padding:0;
width:100%;
top:60px;left:0;/* 位置 */
z-index:10
}
#menu li {
text-indent:1em;
width:100%
}
#menu li a,
#menu .toggle{
color:#fff;
height:2em;line-height:2em;
padding:10px 0
}
#menu a:hover,
#menu .toggle:hover{
background-color:rgba(208,217,199,0.8)
}
#menu .toggle:after{
border-top:solid 3px #fff; /* メニュー「>」の色 */
border-right:solid 3px #fff; /* メニュー「>」の色 */
}
/* サブメニュー */
#menu ul li ul li {
float:left;
width:50%
}
}
