
/* 全体 */
body{

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

/* Pタグ */
p{

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

/* 強調 */
strong{

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

/* マーカー */
.maker {
    background:linear-gradient(transparent 60%, #FFF0F5 0%);
    color: #FF3366;             /* 文字色 */
    font-weight: bold;          /* 太く */
}

/* 太字 */
.bold {
    font-weight: bold;          /* 太く */
}

/* リンク */
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{

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

/* 見出し */
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: #B22222;
    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;
}

/* ボックス(シンプル) */
.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: #B22222;  /* 背景色 */
    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: #FF3366;  /* 区切り線 */
    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;確認用罫線*/
}

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

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

/* トピック */
.topic {
  position: relative;
  padding: 5px 5px;
    background-color: #FF0461;  /* 背景色 */
    font-size: 15px;           /*文字サイズ*/
  color: #ffffff;
    text-align: center;         /* 中央寄せ */
    font-weight:bold;           /* 太く */
}
.topic:before {
  content: " ";
  position: absolute;
  top: -16px;
  left: 0;
  width: -webkit-calc(100% - 16px);
  width: calc(100% - 16px);
  height: 0;
  border: solid 8px transparent;
  border-bottom-color: #CC0066;
}

/* ブログカード */
.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: 10px 10px 10px 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 .image{

    float: left;
    margin: 0 10px 0 0;/*余白 上右下左*/
}
    
.card .title{

  display: inline-block;
  font-size: 18px;
    font-weight:bold;           /* 太く */
  background:linear-gradient(transparent 60%, #FDF5AC 0%);
  
}

.card .text{

    font-size: 14px;/*文字サイズ*/
    overflow: hidden;/*テキストの回り込み防止*/
}
.card .value{

    font-size: 12px;/*文字サイズ*/
}
.card span{
	position: absolute;
    top: 0;
    right: 0;
	font-size: 15px;
	background-color: #FF3366; /* タイトルの背景色 */
	padding: 2px 20px;
	color: #ffffff;  /* タイトルの文字色 */
	border-radius: 2px;
}

.card a{

    background-color: #FFCC33;
    color: black;
    padding: 5px 20px;
    font-size: 14px;       /* 文字サイズ */
}

/* ピックアップ */
.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.design{

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

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

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

/* テーブル(シンプル) */
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: #B22222;    /* 背景色 */
    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;       /* 中央寄せ */
}

/* 見出し② */
h2{
  position: relative;
  padding-left: 25px;
}

h2:before {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 15px transparent;
  border-bottom: solid 15px #FF3366;
}
h2:after {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 10px;
  width: 100%;
  border-bottom: solid 3px #FF3366;
}

/* 見出し③ */
h3{
    border-left: 6px solid #555555;/*左線 太さ・カラー*/
    padding: .5em 1em;/*余白*/
    position: relative;
}
h3::before,
h3::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
}
h3::before {
    top: 0;
    width: 6px;
    height: 100%;
    background: #ccc;/*左線 カラー（薄）*/
}
h3::after {
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: #555555;/*下線 カラー*/
}

/* 見出し④ */
h4 {
  position: relative;
  display: inline-block;
  padding: 0 55px;
}
h4:before, h4:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 2px;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
}
h4:before {
  left:0;
}
h4:after {
  right: 0;
}

/* 吹き出し */
.balloon {  /* 背景色 */

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  background: #fff;
  border-radius: 30px;
  padding: 16px;
  font-weight: bold;
  color: #000;
  border: 4px solid #d5d5d5;
  box-sizing: border-box;
}
.balloon::before {/* しっぽ・本体 */
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 12px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  z-index: 2;
}
.balloon::after {/* 吹き出し・枠線 */
  content: "";
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 14px;
  border-style: solid;
  border-color: #d5d5d5 transparent transparent transparent;
  z-index: 1;
}

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

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

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

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

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

/* 画像モーダル */
#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;  /* 徐々に変化 */
}

/* 概要欄 */
.explan{

 display:flex; /* コンテナ */
    width: 80%;               /* 幅サイズ */
    text-align: center;         /* 中央寄せ */
    background: #FFEEFF;        /* 背景色 */
    border: solid 1px gray;     /* 枠 */
    border-radius: 5px;         /* 角丸 */
    margin: 0 auto;             /* 中央寄せ */
    font-size: 15px;                /* 文字サイズ */
    margin: 0 auto;             /* 中央寄せ */
    padding: 20px 10px 20px 10px;               /* 余白(上右下左) */
}
.explan img{

    float: right;
  max-width: 100%;
  height: auto;
  }

/* ボタンリンク(トップページ) */
.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: #3333CC;
  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;
    padding: 5px 5px;
    margin: 15px auto; /* 中央寄せ */
    max-width: 220px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    box-shadow: 5px 5px 0 #4682B4;
}

/* ボタンリンク(メール受信箱) */
.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;
}

/* ボタンリンク(管理リンク) */
.button7 a{

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

     background: #C0C0C0;
}


/* リスト */
ul {
  border: solid 2px #ffb03f;
  padding: 0.5em 1em 0.5em 2.3em;
  position: relative;
  margin-top: 2em;
    font-weight: bold;             /* 太さ */
}
ul li {
  line-height: 1.5;
  padding: 0.5em 0;
}
