
/* 全体 */
body{

    -webkit-text-size-adjust: 100%;               /* スマホ用文字サイズ有効 */
    font-family: "メイリオ", Meiryo, sans-serif;
    margin: 0;                                    /* 余白 上下左右 */
}

/* Pタグ */
p{

    line-height: 1.7;/* 行間隔 */
}

/* 強調 */
strong{

    border-bottom: solid 3px #ff3333;
    margin: auto .4em;
}

/* リンク */
a{

    font-weight:bold;     /*太字*/
    color: black;           /*リンク色*/
    text-decoration: none;  /*下線なし*/
}
a:hover{

    color : #808080;  /* リンク色 */
}

/* ボタン */
.button_link{

    display: inline-block;
    text-decoration: none;
    background: #009966;
    color: #ffffff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
    transition: .4s;
}
.button_link:hover{

    color: #ffffff;
    background: #669966;
}
.button{

    display: inline-block;
    text-decoration: none;
    background: #333333;
    color: #ffffff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
    transition: .4s;
}

/* CM */
.cm{

    font-size: 13px;  /* 文字サイズ */
    text-align: center;/* 中央寄せ */
  padding: 0.4em 0.7em;/*文字の上下 左右の余白*/
  color: #494949;/*文字色*/
  background: #f4f4f4;/*背景色*/
  border-left: solid 5px #cc0000;/*左線*/
  border-bottom: solid 3px #d7d7d7;/*下線*/
    margin-bottom: 15px;見出し下の余白
}

/* 見出し */
h1.topic{

    font-size: 20px;
    position: relative;
    color: white;
    padding: 10px 10px 10px 60px;
    background-color: black;
    border-radius: 40px;
}

h1.topic::before{

    font-family: "Font Awesome 5 Free";
    content: '\f044';
    font-size: 25px;
    color: orange;
    position:absolute;/* 高さ調整 */
    left:20;/* 位置調整 */
}

h2.topic{

    font-size: 140%;
}

h3.topic{

    position: relative;
    background: #FF6600;
    padding: 5px 5px 5px 50px;
    font-size: 18px;
    color: white;
    border-radius: 0 10px 10px 0;
}

h3.topic:before {
    font-family: "Font Awesome 5 Free";
    content: "\f101";
    display: inline-block;
    position: absolute;
    padding: 0em;
    color: orange;
    background: black;
    font-weight: 900;
    text-align: center;
    width: 45px;
    height: 45px;
    line-height: 45px;
    left: -0.5em;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border: solid 3px white; 
    border-radius: 50%;
}

/* 段組み(画像管理) */
.block{

    float: left;
    width: 230px;
}

/* 目次 */
#contents{

    background:#FFF0F5;
    color: orange;
    font-weight:bold;
    position:relative;
    padding: 20px 10px 20px 40px; /* 枠内の余白(上右下左) */
    font-size: 16px; /* 文字の大きさ */
    list-style-type:decimal; /* リスト文字(数字) */
    border-top:40px solid #FF6600; /* 周りの色 */
    border-left:2px solid #FF6600; /* 線の太さ */
    border-right:2px solid #FF6600;
    border-bottom:2px solid #FF6600;
    line-height: 40px; /*行間*/
    border-radius: 3px; /*角丸*/
}

#contents::before{

    font-family: "Font Awesome 5 Free";
    content: "\f039　目次";
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 0 5 30px; /* 枠内の余白(上右下左) */
    display: block;
    position: absolute;
    top: -45px;/* 上からの位置*/
    left: 0px; /* 左からの位置*/
}

/* ボックス(シンプル) */
.box_simple{

    text-align: center;         /* 中央寄せ */
    font-size: 14px;
    width: 100px;
    display: inline-block;      /* 横並び */
    padding:  2px 10px;             /* 余白(上下・左右) */
    background: white;
    border:1px solid #1B1B1B;
}
.box_simple:hover{

     background: #C0C0C0;
}

.parent {
    text-align: center;         /* 子要素を左右中央揃えにする */
    border: solid 2px;          /* 枠線指定 */
    padding:  20px;             /* 余白指定 */
}
 
.inline-block_test {
    display: inline-block;      /* インラインブロック要素にする */
    background-color:  #ccc;    /* 背景色指定 */
    padding:  20px;             /* 余白指定 */
}
/* 上部 */
header {

    text-align: center;  /* 中央寄せ(横) */
}
.top{

    line-height: 45px;          /* 中央寄せ(縦) */
    background-color: #FF6600;  /* 背景色 */
    color: #ffffff;             /* 文字色 */
    font-weight: bold;          /* 太く */
    font-size: 14px;            /* 文字サイズ */
    padding: 20px auto;         /* 余白 上下･左右 */
}
header img{

    margin: 10px 0 0 0;  /*余白 上右下左*/
}

/* 下部 */
footer{

    clear: both;                /* float解除 */
    background-color: #F5F5F5;  /* 背景色 */
    text-align: center;         /* 中央寄せ */
}
hr{

    height: 4px;
    background-color: #FF6600;  /* 区切り線 */
    border: none;
}
.bottom{

    padding: 20px auto;  /* 余白(上下･左右) */
    font-size: 14px;     /* 文字サイズ */
}
.copy{

    color: #A9A9A9;   /* 文字色 */
    font-size: 12px;  /* 文字サイズ */
}

/* メインメニュー */
.menu {

      text-align: center;
    background: #006699;  /* 背景色 */
}
.menu li{

    width: 20%;             /* 幅サイズ */
    display: inline-block;  /* ブロック表示 */
    text-align: center;     /* 中央寄せ(横) */
    line-height: 45px;      /* 中央寄せ(縦) */
    list-style-type: none;  /* リストアイコン非表示 */
}
.menu li a{

    color: white;     /* 文字色 */
    font-size: 14px;  /* 文字サイズ */
    display: block;   /* ブロック要素 */
}
.menu li a:hover{

    background: #A9A9A9;  /* 背景色 */
}

/* コンテンツ */
.contents{

    max-width: 800px;  /*最大横幅サイズ*/
    margin: 0 auto;    /*余白*/
    /*border: 1px solid #FF0000;確認用罫線*/
}
@media only screen and (max-device-width: 480px){ /* スマホ用 */

    .contents{
    
        width: 97%;               /* 幅サイズ */
    }
}

/* メイン画面 */
.main{

    float: left;/*左配置*/
    width:70%;
    padding: 0 0 0 10px;/*余白 上右下左*/
    /*border: 1px solid #FF0000;確認用罫線*/
}

/* ブログカード */
.card{

    position: relative;                          /* 親指定 */
    box-shadow:0 2px 5px rgba(0, 0, 0, 0.3);     /* 影設定 */
    background-color:#fff;                       /* 背景色 */
    /*overflow: hidden;                             はみ出し防止 */
    cursor:pointer;                              /* カーソル設定 */
    transition:box-shadow 0.3s, transform 0.3s;  /* 小指定 */
    padding: 15px 10px 15px 10px;/*余白 上右下左*/
    margin: 20px 0;/*余白 上下・左右*/
}

.card-link::after{

    position: absolute;    /* 小指定 */
    top: 0;                /* 有効範囲 */
    left: 0;               /* 有効範囲 */
    width: 100%;           /* 有効範囲 */
    height: 100%;          /* 有効範囲 */
    pointer-events: auto;  /* ポインタ指定 */
    content:"";            /* ダミー文字 */
}
.card:hover{

    box-shadow:0 6px 14px rgba(0, 0, 0, 0.24);
    transform:translate(0, -2px);
}

.card img{

    float: left;
    margin-right: 10px;/*画像とテキストの余白*/
    padding: 15px 10px 15px 10px;/*余白 上右下左*/
}

.card .text{

    font-size: 16px;/*文字サイズ*/
    margin-bottom: 10px;
    overflow: hidden;/*テキストの回り込み防止*/
}
.card span{
    background: #FFFF00;
    width: 60%;
    text-align: center;
    position: absolute;
    top: -10px;
    filter: drop-shadow(0px 1px 2px #aaa);
    padding: 3px 0;
    font-size: 0.8rem;
    color: black;
    border-radius: 5px;
}

.card a{

    background-color: #333399;
    color: white;
    padding: 5px 40px;
    border-radius: 10px;       /* 角丸 */
    font-size: 14px;       /* 文字サイズ */
    
}

/* サイド画面 */
.side{

    float: right;/*右配置*/
    width: 27%;
    padding: 0 10px 0 0;/*余白 上右下左*/
    /*border: 1px solid #FF0000;確認用罫線*/
}

/* カテゴリ */
.side-title{

    background-color: #FF6600;  /* 背景色 */
    padding: 20px 0;            /* 全余白指定 */
    color: #ffffff;             /* 文字色 */
    text-align: center;         /* 中央寄せ */
    font-weight:bold;           /* 太く */
    font-size: 16px;           /*文字サイズ*/
}
.side-title2{

    background-color: #333333;  /* 背景色 */
    padding: 5px 0;            /* 全余白指定 */
    color: white;             /* 文字色 */
    text-align: center;         /* 中央寄せ */
    font-weight:bold;           /* 太く */
    font-size: 16px;           /*文字サイズ*/
}

.category{

    padding: 0;                     /* 余白(枠内) */
    font-size: 13px;                /* 文字サイズ */
    text-align: center;             /* 中央寄せ */
    list-style-type: none;          /* ドットを消す */
    border-top: 1px solid #C0C0C0;  /* 上部罫線 */
}
.category .icon{

    font-size: 40px;  /* 文字サイズ */
}
.category:after{

    content: "";
    clear: both;
    display: block;
}
.category li{

    position:relative;                 /* 親指定 */
    line-height: 2;                    /* 行間隔 */
    padding: 10px 0 0 0;               /* 余白(上右下左) */
    background-color: white;           /* 背景色 */
    word-wrap:break-all;               /* 文字折り返し */
    float: left;                       /* 左に詰める */
    width: 50%;                        /* 幅を全体の半分 */
    -webkit-box-sizing: border-box;    /* ボックス設定 */
    -moz-box-sizing: border-box;       /* ボックス設定 */
    box-sizing: border-box;            /* ボックス設定 */
    border-bottom: 1px solid #C0C0C0;  /* 罫線(下) */
    border-right: 1px solid #C0C0C0;   /* 罫線(右) */
    
   
}
.category li:nth-child(odd){

    border-left: 1px solid #C0C0C0;  /* 罫線(左) 奇数用 */
}
.category li:hover{

    background: #FFF0F5;  /* 背景色 */
}
.category-link::after{

    position: absolute;    /* 小指定 */
    top: 0;                /* 有効範囲 */
    left: 0;               /* 有効範囲 */
    width: 100%;           /* 有効範囲 */
    height: 100%;          /* 有効範囲 */
    pointer-events: auto;  /* ポインタ指定 */
    content:"";            /* ダミー文字 */
}

/* ピックアップ */
.pickup{

    counter-increment: rank;                     /* ランキングカウント */
    position: relative;                          /* 親指定 */
    background-color:#fff;                       /* 背景色 */
    overflow: hidden;                            /* はみ出し防止 */
    cursor:pointer;                              /* カーソル設定 */
    transition:box-shadow 0.3s, transform 0.3s;  /* 小指定 */
}

.pickup-link::after{

    position: absolute;    /* 小指定 */
    top: 0;                /* 有効範囲 */
    left: 0;               /* 有効範囲 */
    width: 100%;           /* 有効範囲 */
    height: 100%;          /* 有効範囲 */
    pointer-events: auto;  /* ポインタ指定 */
    content:"";            /* ダミー文字 */
}
.pickup:hover{

    transition: 0.5s ;  /* 切替秒数 */
    opacity: 0.5 ;      /* 透明度 */
}

.pickup img{

    float: left;          /* 左寄せ */
    border-radius: 10px;  /* 角丸 */
}

.pickup .text{

    font-size: 14px;            /* 文字サイズ */
    padding: 10px 0 10px 10px;  /* 余白(上右下左) */
    overflow: hidden;           /* 回り込み防止 */
}

.pickup::before{

    position: absolute;            /* 子指定 */
    content: counter(rank);        /* ランキング */
    background-color: #CC0000;     /* 背景色 */
    color: white;                  /* 文字色 */
    font-size: 14px;               /* 文字サイズ */
    font-weight: bold;             /* 太さ */
    width: 10%;                    /* 幅 */
    text-align: center;            /* 中央寄せ */
    border-radius: 0 18px 18px 0;  /* 角丸 */
}

/* テーブル(シンプル) */
table.simple{

    table-layout: fixed;        /* セルサイズ均等 */
    width: 100%;                /* 幅 */
    border-collapse: collapse;  /* 罫線一本 */
    font-size: 14px;            /* 文字サイズ */
    text-align: left;           /* 右寄せ */
    margin: 0 auto;             /* 中央寄せ */
}
table.simple th{

    width: 25%;             /* 幅指定 */
    background: #FF6600;    /* 背景色 */
    border:1px solid gray;  /* 罫線サイズ･色 */
    color: white;           /* 文字色 */
    padding: 10px 20px;     /* 余白(上下･左右) */
}
table.simple td{

    border:1px solid gray;  /* 罫線サイズ･色 */
    padding: 10px 20px;     /* 余白(上下･左右) */
}

/* 管理画面専用 */
.manage{

    max-width: 1200px;
    margin: auto;
}

/* 見出し */
h1.title{

    font-size: 20px;
    text-align: center;       /* 中央寄せ */
}

/* 小さい文字① */
.smalltext{

    font-size: 14px;
    color: black;       /* 文字色 */
}

/* 小さい文字② */
.smalltextgray{

    font-size: 14px;
    color: #CCCCCC;       /* 文字色 */
}
/* 大きい文字① */
.largetext{

    font-weight: bold;  /* 文字太さ */
    font-size: 20px;    /* 文字サイズ */
}

/* 円① */
.circle1{

    width: 60px;
    height: 60px; 
    background-color: #6666CC;
    border-radius: 50%; 
    margin: 0 auto;                 /* 円を中央揃え */
    text-align: center;             /* 文字を左右に中央揃え */
    line-height: 60px;              /* 文字を上下に中央揃え */
    font-weight: bold;              /* 文字太さ */
    font-size: 15px;                /* 文字サイズ */
    color: white;             /* 文字色 */
}
/* 円② */
.circle2{

    width: 60px;
    height: 60px; 
    background-color: #6699FF;
    border-radius: 50%; 
    margin: 0 auto;                 /* 円を中央揃え */
    text-align: center;             /* 文字を左右に中央揃え */
    line-height: 60px;              /* 文字を上下に中央揃え */
    font-weight: bold;              /* 文字太さ */
    font-size: 15px;                /* 文字サイズ */
    color: white;             /* 文字色 */
}

/* 画像モーダル */
#graydisplay{

    display: none;                 /* デフォルト非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%!important;
    height: 100%;
    background: rgba(0,0,0,0.45);
}
#graydisplay img{

    position: absolute;
    top: 0;/* 位置 */
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 90%;  /* 最大画像表示数値 */
    max-height: 90%; /* 最大画像表示数値 */
}

#modal img{

    transition-duration: 0.5s;  /* 徐々に変化 */
    cursor: pointer;            /* ポインタ表示 */
}
#modal img:hover{

    transform: scale(1.1);      /* 拡大 */
    transition-duration: 0.5s;  /* 徐々に変化 */
}

/* セレクトフォーム */
.select{

    width: 80%;               /* 幅サイズ */
    text-align: center;         /* 中央寄せ */
    background: #EEEEEE;        /* 背景色 */
    border: solid 1px gray;     /* 枠 */
    border-radius: 5px;         /* 角丸 */
    margin: 0 auto;             /* 中央寄せ */
    padding: 20px 10px 20px 10px;               /* 余白(上右下左) */
}
.select select{

    font-size: 16px;          /* 文字サイズ */
    padding: 8px 8px;         /* 余白(上下･左右) */
    width: 90%;              /* ボックス幅 */
    cursor: pointer;          /* ポインタ表示 */
    text-overflow: ellipsis;  /* 非表示部分(ドット) */
    border: none;             /* ボーダー非表示 */
    background: white;  /* 背景 */
}
.select input[type="submit"]{

    width: 200px;         /* 幅サイズ */
    cursor: pointer;      /* ポインタ表示 */
    border: none;         /* 枠なし */
    background: #006699;  /* 背景色 */
    font-size: 14px;      /* 文字サイズ */
    color: white;         /* 文字色 */
    font-weight: bold;    /* 文字太さ */
    padding: 10px 10px;   /* 余白(上下･左右) */
}
.select input[type="submit"]:hover{

     background: black;
}

/* ボタンリンク(トップページ) */
.button1 a {

border-radius: 10px; /* 角丸 */
  display: flex;
   justify-content: center;/* 中央寄せ */
  margin: 0 auto;
  padding: 10px 20px;
  width: 200px;
  color: white;
  font-size: 15px;
  background-color: navy;
  box-shadow: 2px 2px 2px black;
  transition: 0.2s;
}

/* ボタンリンク(会員リンク) */
.button2 a {

border-radius: 10px; /* 角丸 */
  display: flex;
   justify-content: center;/* 中央寄せ */
  margin: 0 auto;
  padding: 10px 20px;
  width: 200px;
  color: white;
  font-size: 15px;
  background-color: #CC3333;
  box-shadow: 2px 2px 2px black;
  transition: 0.2s;
}

/* ボタンリンク(ページ移動) */
.button3 a {

    background: #eee;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 220px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    box-shadow: 5px 5px 0 #006699;
}

/* ボタンリンク(メール受信箱) */
.button4 a {

    position: relative;                          /* 親指定 */
border-radius: 10px; /* 角丸 */
  display: flex;
   justify-content: center;/* 中央寄せ */
  margin: 0 auto;
  padding: 10px 20px;
  width: 200px;
  color: white;
  font-size: 15px;
  background-color: seagreen;
  box-shadow: 2px 2px 2px black;
  transition: 0.2s;
}
.button4 span{

    background: #FFFF00;
    width: 60%;
    text-align: center;
    position: absolute;    /* 小指定 */
    top: -15px;
    border: 1px solid seagreen;
    padding: 0 0;
    font-size: 0.8rem;
    color: black;
    border-radius: 5px;
}

/* ボタンリンク(ボックス選択1) */
.button5{

border-radius: 10px; /* 角丸 */
   justify-content: center;/* 中央寄せ */
  margin: 0 auto;
  padding: 10px 10px;
  width: 40%;
  color: white;
  font-size: 12px;
  background-color: #444444;
  transition: 0.2s;
}
/* ボタンリンク(ボックス選択2) */
.button6{

border-radius: 10px; /* 角丸 */
   justify-content: center;/* 中央寄せ */
  margin: 0 auto;
  padding: 10px 10px;
  width: 40%;
  color: white;
  font-size: 12px;
  background-color: #CC3366;
  transition: 0.2s;
}
.button6 a{
  color: white;
}

/* メールボックス */
ul.mailbox li{

  list-style: none;/* 点を消す */
	   width:100%;
	   border-bottom:1px solid #aaa;
    padding: 12px 0px; /* 余白(上下・左右) */
  font-size: 14px;
}
ul.mailbox li img{
	   float:left;
	   margin-right:8px;
}

/* メールリンク */
.mailbox a{

    background-color: #009900;
    color: white;
    padding: 2px 40px;
    border-radius: 10px;       /* 角丸 */
    font-size: 14px;       /* 文字サイズ */
}

