@charset "shift_jis";

/* -------------------------------------------------------------

[1] レイアウトに関する指定
[2] ヘッダーブロック内に関する指定
[3] コンテンツブロック内に関する指定
[4] フッターブロック内に関する指定
[5] CSSデザインサンプルリンク指定

----------------------------------------------------------------
CSSデザインサンプ [ URL ] http://www.css-designsample.com
------------------------------------------------------------- */


/* 一括で全ての要素の余白をゼロに指定 */
@media screen and (max-width: 640px) {
 
img{
max-width: 640px;
height: auto;
width /***/:auto;
}
* {
  margin: 0;
  padding: 0;
}

/* 全体的なリンク */

a:link,
a:visited,
a:hover,
a:active { text-decoration: underline; }

a:link { color: #00f; }

a:visited { color: #90f; }

a:hover { color: #f00; }

a:active { color: #f00; }

/* -------------------------------------------------------------
   [1] レイアウトに関する指定 */
body {
  font-size: 100%;
  text-align: center;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  padding: 0;
  margin: 0;
  -webkit-text-size-adjust: 100%;
}

/*-- 全体を囲んでいます --*/
#wrapper {
  text-align: left;
  width: auto;
  margin: 0 auto;
  border-left: 1px solid #666;
  border-right: 1px solid #666;
}

/*-- ヘッダー部分 --*/
#header {
  width: auto;
  height: auto;
  position: relative;
  background: url(img/insect.jpg) no-repeat 0 0;
}

/*-- コンテンツ部分 740px --*/
#contents { padding: 40px 30px; }

/*-- フッター部分 --*/
#footer {
  width: 80%;
  margin: 0 auto;
  padding: 2em 0 0.5em;
  background-color: #333;
}

/* -------------------------------------------------------------
   [2] ヘッダーブロック内に関する指定 */

/* 見出し */

h1 {
  font-size: 100%;
  font-weight: normal;
  text-align: right;
  position: absolute;
  top: 10px;
  left: 30px;
  color: #000;
}

/* サイトタイトル */
.logo {
 display: none;
}

.logo a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.logo a:hover {
  color: #f00;
  text-decoration: none;
}

/* 概要 */
.description {
  line-height: 1.5em;
  position: absolute;
  bottom: 45px;
  left: 30px;
  color: #000;
}

/*---------------------------------------グローバルナビ部分*/

.globalnavi{
    display:flex;
    justify-content:space-between;
    line-height:3em;
    width:90%;
    margin:30px auto;
}
.globalnavi li{
    text-align:center;
    list-style:none;
    background:green;
    width:calc(20% - 1px);
}
.globalnavi li a{
    color:#FFFFFF;
    display:block;
    width:100%;
    height:100%;
}
.globalnavi li a:hover{
    animation:textnavi-bgc 0.5s forwards;
}
@-webkit-keyframes textnavi-bgc{
    0%{background-color:#000000;}
    100%{background-color:black;}
}
@keyframes textnavi-bgc{
    0%{background-color:#000000;}
    100%{background-color:black;}
}

/* -------------------------------------------------------------
   [3] コンテンツブロック内に関する指定 */

/* 見出し */
h2,
h3
{
  font-size: 150%;
  font-weight: normal;
  margin-bottom: 0.5em;
  padding: 3px 0 2px;
  color: #030;
  border-top: 3px solid #9c0;
  border-bottom: 1px solid #ccc;
}

h4{
  font-size: 130%;
  font-weight: normal;
  margin-bottom: 0.5em;
  padding: 3px 0 2px;
  color: #030;
  border-top: 2px solid #9c0;
  border-bottom: 1px solid #ccc;
}

h5,
h6 {
  font-size: 110%;
  font-weight: normal;
  margin-bottom: 0.5em;
  padding: 3px 0 2px;
  color: #030;
  border-top: 1px solid #9c0;
  border-bottom: 1px solid #ccc;
}

h3,
h4,
h5,
h6 { margin-top: 2em; }

/* 文字 */
#contents p {
  line-height: 1.5em;
  margin-bottom: 1em;
}

.btn a{
color:#ffffff; 
font-weight:bold; text-decoration:none; line-height:5.0;
padding:10px 10px; 
background-color:#3b5998;
border-radius:5px; border:3px solid #3b5998;
}

.btn a:hover {
text-decoration: none;
background-color: #ffffff;
color:#3b5998;
}

.image-vw {
  width : 50vw ; 
}

/* -------------------------------------------------------------
   [5] フッターブロック内に関する指定 */

#footer p {
  text-align: center;
  color: #fff;
}

/* -------------------------------------------------------------
   [6] CSSデザインサンプルリンク指定 */

#cds {
  font-size: 80%;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  text-align: right;
  margin: 0;
  padding-right: 20px;
  clear: both;
}

#cds,
#cds a,
#cds a:hover {
  text-decoration: none;
  color: #ccc;
}
}