@charset "utf-8";
/* ------------------------------------------- */
/* 共通
/* ------------------------------------------- */

/* margin と padding の設定を初期化 */
* {
  margin: 0;
  padding: 0;
}
.container {
  max-width: 980px;					/* 幅は最大で980pxまで */
  padding: 0 30px;					/* 左右に30pxずつ余白 */
  /* 左右のmarginに、auto を指定することで常に画面の中央に表示されるようになる */
  margin-left: auto;
  margin-right: auto;
}

.header {
  height: 56px;						/* 高さ */
  width: 100%;						/* 幅を最大まで広げる */
  box-shadow: 0 0 10px #dddddd;		/* 下に影をつける */
  background-color: white;			/* 背景は白色 */
  position: fixed;					/* 固定表示 */
  top: 0;							/* 画面上部からの表示位置を 0 に指定 */
  z-index: 9999;	/* ヘッダーが一番上の要素になる(main要素と重ならない) */
}
.header-left {
  float: left;						/* 左端に表示 */
}
.header-right {
  float: right;						/* 右端に表示 */
}
.clear{
  clear: both;						/* 回り込み解除 */
}
/* ロゴ画像が中央に表示されるよう調整 */
/* ヘッダーの高さ56px = 画像の高さ40px + 上の余白8px (+ 下の余白8px) */
.header-logo {
  height: 40px;
  margin-top: 8px;
}
/* メニューそれぞれに指定したいので、<a>タグにスタイルを指定しています */
.header-right a {
  line-height: 56px;				/* 文字を縦方向の中央に表示する */
  color: #5a5c5f;					/* 文字色を変更する */
  margin-left: 5px;					/* 横の間隔を少し空ける */
  font-size: 15px;
  padding: 16px 5px;
}
.header-right a:hover {					/* カーソルをのせた時 */
  background-color: #e2f1ff;			/* 背景色を変更 */
  transition: background-color 0.5s;	/* アニメーション追加。0.5秒かけて実行 */
}
.footer {
  height: 120px;					/* フッターの高さ */
  background-color: #2f3a44;		/* フッターの背景色 */
  color: #e8e8e8;					/* フッター上の文字色 */
  padding-top: 20px;				/* 余白の調整 */
}
.footer-left {
  float: left;						/* 左に配置 */
}
.footer-right {
  float: right;						/* 右に配置 */
  padding-top: 50px;				/* 余白の調整 */
}
.footer-left p {
  margin-bottom: 8px;				/* 余白の調整 */
}

.footer a:link { color: #7986CB; }
.footer a:visited { color: #BDBDBD; }
.footer a:hover { color: #03A9F4; }
.footer a:active { color: #0288D1; }

#pp {
  padding-top: 65px;	/* 固定ナビの高さ分のネガティブマージン */
  margin-top: -65px;	/* 打ち消し用のパディング */
}

/* 2カラムレイアウト用 */
.free-area {
  flex:1;
}

/* 上部の広告ビッグバナー */
.ad-big-banner {
  background-color:#dcdcdc;
  border:2px solid #cccccc;
  color:#696969;
  padding:15px;
  width:728px;
  height:100px;
  margin:auto;			/* 中央寄せ */
}

/* 上部の広告スモールバナー */
.ad-sml-banner {
  background-color:#dcdcdc;
  border:2px solid #cccccc;
  color:#696969;
  padding:15px;
  width:480px;
  height:80px;
  margin:auto;			/* 中央寄せ */
}

/* サイドバー */
#sidebar{
  width:310px;
  text-align: center;			/* 中央寄せ */
}
/* サイドバー2(プライバシーポリシーの右側の幅を増やすため) */
#sidebartwo{
  width:360px;
  text-align: center;			/* 中央寄せ */
}

/* サイドバーのウィジェットエリア */
.widget {
  background-color:#ffffff;
/*  border:2px solid #cccccc;  */
  color:#696969;
  padding:15px 0;				/* 上下の余白 */
  margin-botton:30px;
  width:300px;
  height:300px;
}
#cat-frame{
  background-image: url(images/cat-frame.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#clover-frame{
  background-image: url(images/clover-box.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* サイドバーのお知らせエリア */
#info-area{
  display: none;				/* お知らせがないので非表示にする */
  background-color:#1899ff;
  margin-top:15px;
  height:80px;
}
/* サイドバーのお知らせエリア（固定時） */
#info-area.fixed{
  position:fixed;
  top:56px;
  margin-top:0px;
}
/* サイドバーの広告ラージスカイスクレイパー */
#ad-large-sky-scraper{
/*  background-color:#ff2087;  */
  width:300px;
  height:300px;
  margin-top:15px;
}

/* 下部の広告レクタングル（大） */
.ad-rectangle-large {
  background-color:#dcdcdc;
  border:2px solid #cccccc;
  color:#696969;
  padding:15px;
  width:740px;
  height:110px;
  margin:auto;			/* 中央寄せ */
}

/* 下部の広告レクタングル（大）600＊500 */
/* →広告の大きさ修正のため width と height を 600*530 から 300*330 に変更 */
.ad-rectangle-large-sixfive {
  background-color:#dcdcdc;
  border:2px solid #cccccc;
  color:#696969;
  padding:15px;
  width:300px;
  height:330px;
  margin:auto;			/* 中央寄せ */
}

/* トップに戻るボタン */
#toTop{
  position:fixed;
  right:15px;
  bottom:15px;			/* 下からの位置 */
  font-size:10px;
  background-image:linear-gradient(#0765b1, #06599b);
  background-color:#0765b1;
  border-radius:5px;
  box-shadow:0 0 4px 0px rgba(0, 0, 0, 0.2);
  color:#ffffff;
  padding:10px 15px 10px 25px;
  text-decoration:none;
  display:none;
  opacity:0;		/* ふわっと現れる処理 */
}
/* トップに戻るボタンの▲アイコン */
#toTop::before{
  content:'';
  position:absolute;
  top:50%;
  left:8px;
  -webkit-transform:translateY(-50%);
  transform:translateY(-50%);
  border:6px solid transparent;
  border-bottom:12px solid #ffffff;
  border-top:0;
}
/* トップに戻るボタン（表示時） */
#toTop.show{
  display:block;		/* ふわっと現れる処理のためコメントアウト（したけど戻した） */
  -webkit-animation:fadeInUp 0.5s ease-in-out forwards;
  animation:fadeInUp 0.5s ease-in-out forwards;
}
/* ふわっと現れる処理（ここから） */
/* トップに戻るボタン（非表示時） */
#toTop.hide{
  display:block;
  -webkit-animation:fadeOutDown 0.5s ease-in-out forwards;
  animation:fadeOutDown 0.5s ease-in-out forwards;
}
/* アニメーションの定義（フェードインしながら上に移動） */
@keyframes fadeInUp{
  0% {
    opacity:0;
    -webkit-transform:translateY(100%);
    transform:translateY(100%);
  }
  100% {
    opacity:1;
    -webkit-transform:translateY(0);
    transform:translateY(0);
  }
}
/* アニメーションの定義（フェードアウトしながら下に移動） */
@keyframes fadeOutDown{
  0% {
    opacity:1;
    -webkit-transform:translateY(0);
    transform:translateY(0);
  }
  100% {
    opacity:0;
    -webkit-transform:translateY(100%);
    transform:translateY(100%);
  }
}
/* ふわっと現れる処理（ここまで） */
