@charset "utf-8";

/*------------------------------------------
 全デバイス共通のスタイルとスマートフォンおよび小型タブレット向けレイアウトの指定
--------------------------------------------*/

/*-----------------------------------------
 body
-------------------------------------------*/
body {
  width: 100%;
  background-color:#FFF;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color:#000;
}
a {
  color:#000;
  text-decoration:none;
}

a[id="contents"]:hover {
  color:rgb(255, 255, 254);
  text-decoration:underline;

}

a:hover {
  color:rgb(252, 169, 121);
  text-decoration:underline;

}

}
.cf:hover {
  color:rgb(51, 51, 51);
  text-decoration:underline;
}

#address{
   text-align:right;
}

/*-----------------------------------------
 #area,#come:hover {
  opacity:0.5;
}
-------------------------------------------*/
#area:hover {
  opacity:0.5;
}


.border_radius {
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
}
/*-----------------------------------------
 ヘッダーのスタイル
-------------------------------------------*/
header {
  width:100%;
/*  text-align:center;
  background-color: pink;*/
}

header h2 {
  text-align:right;
  margin:0 auto;
  padding:10 20 0 10;

}
header h1 img {
  width:100%;
  max-width:200px; /* 265PX */
}

header p {
  width:100%;
}
header p img {
  width:100%;
  height:auto;
  max-width:960px;
}
/*-----------------------------------------
 グローバルナビゲーションのスタイル
-------------------------------------------*/
nav ul {
  margin-bottom: 15px;
}
nav ul li {
  text-align: center;
  float: left;
  width: 50%;
  border-bottom: 3px dotted rgb(250, 249, 248);
}
nav ul li:nth-child(odd) {
  width: 49%;
  border-right: 1.8px dotted rgb(251, 160, 85);
}
nav ul li a{
  display: block;
  width: 100%;
  background-color:#f8c9adfa;
  padding:15px 0;
  color:rgb(8, 2, 44);
  font-weight:bold;
  border-radius:1em;
}
nav ul li a:hover{
  background-color:#f7bc8dd7;
  /* color:rgb(217, 200, 250) */
}

/*-----------------------------------------
 img #area{ **********
-------------------------------------------*/
article .jigyo{
  margin 0,0,0,0;
}
/*-----------------------------------------
 コンテンツエリア -> ランキングのスタイル
-------------------------------------------*/
div#contents section#rank h2{
  text-align: left;
margin:0 0 5px 5px ;
background:url(../images/icn_arrow.jpg) repeat-x bottom;
padding-bottom:10px;
/*margin:0 0 15px 5px;*/
}
div#contents section#rank article{
text-align:center;
width:50%;    /*  50% */
min-width:120px;
float:left;
margin-bottom:0px;  /*  30px */
}
div#contents section#rank article img{
width: 100%;   /*  200% */
height:80pX;   /*  10PX  9999999999999999*/

}
/*  新規
img #area{
  margin 0 0 0 0;/*  新規
  padding 0 0 0 0;/*  新規
}
*/

div#contents section#rank article h3{
  font-size:1em;
  font-weight:bold;
  }
div#contents section#rank article #come{
text-align:center;
font-size:0.8em;
line-height:2.0em;
background-color:#ffd90073;
padding-left:1em;
padding-right:1em;
border-radius:0.5em;
}
/*-----------------------------------------
 コンテンツエリア -> ニュースのスタイル
-------------------------------------------*/
div#contents section#news{
  text-align: left;
margin:0 5px 15px 5px;
background-color:rgb(255, 255, 255);
padding:20px;
}

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

-------------------------------------------*/
div#kominkan p{
  text-align: left;
margin:0 0 0 0;
background-color:rgb(250, 253, 253);
padding:0px;
}



div#contents section#news h2{
text-align: left;
margin:0 5px 15px 0;
background:url(../images/icn_arrow.jpg) repeat-x bottom;
padding-bottom:10px;
}

div#contents section#news article h3{
font-size:0.7em;
backgraound:url(../images/icn_arrow.jpg) no-repeat center left;
margin-bottom:10px;
padding-left:7px;
}
div#contents section#news article p{
line-height:2.0em;
font-size:0.8em;
margin:0 0 20px 10px;
}
div#contents section#news article p a{
text-decoration:underline;
}
div#contents section#news article p a:hover{
text-decoration:underline;
}
/*-----------------------------------------
 コンテンツエリア -> ブログのスタイル
-------------------------------------------*/
div#contents section#information{
text-align:center;
margin:0 5px 15px 5px;
padding:20px;
}
div#contents section#information h2{
text-align:left;
margin:0 5px 15px 0;
/* border-top:7px solid rgb(253, 196, 130) ; */
border-bottom:7px solid rgb(253, 196, 130);
/* background:url(../images/h2line.jpg) repeat-x bottom; */
padding-bottom:10px;
}
div#contents section#information ul li{
width:100%;
margin-bottom:5px;
}
div#contents section#information ul li img{
width:98%;
height:auto;
max-width:470px;
}

/*-----------------------------------------
 #gallery
-------------------------------------------*/
#gallery {

  padding-top: 4-px;
}

#gallery .main img{
  border:4px solid #fff;
  box-shadow:0px 0px 14px #000;
  width: 100%;
}

#gallery .main p{
  color: #8796eb;
  font-size: 18px;
  font-weight: bold;

}




/*-----------------------------------------
 ページトップへボタンのスタイル
-------------------------------------------*/
a#pagetopBtn img {
  position: fixed;
  bottom: 10px;
  right: 1px;
}
/*-----------------------------------------
 フッターのスタイル
-------------------------------------------*/
#footer {
  margin:0 auto;
  width:100%;
  border-top:10px solid rgb(255, 186, 107);

}
#footer img{
  width:100%;
  height:auto;
}
#footer p{
  margin-left:20px;
  text-align:left;
}
footer div p {
  font-size: 0.9em;
  line-height: 2.0em;
}
footer div p img{
  width:100%;
  height:auto;
  max-width:960px;
}
#footer small {
  font-size: 0.7em;
  text-align: left;
}

/* スマホ向けのレイアウトの指定： 600～769px 　　追加　*/

@media only screen and (min-width: 420px) {
  header {
    position:static;
    overflow:visible;
  }
  header h1 {
    text-align:left;
    padding:15px 5px 7px 5px;
    width:450px;/* 280px */
    float:left; /* left */
  }
  header h1 img {
    width:100%; /* 100% */
  }
 .image_s {width:30%}


    nav {
    text-align: center;
    margin: 10px auto 15px auto;
  }
  nav ul li {
    text-align: center;
    float: left;
    width: 16%;
    border-bottom: none;
    border-right: 1px solid #fff;
  }
  nav ul li:nth-child(odd) {
    width: 17%;
    border-bottom: none;
  }
  nav ul li a{
    display: block;
  }
  div#contents section#rank article {
    width: 33%;  /*33% */
  }
  div#contents section#rank article h3 {
    line-height: 2.0em;
  }
  div#contents section#rank article p {
    font-size: 0.8em;
    line-height: 2.0em;
  }
/*追加　　% */
img#area {
  width:60%;
}

#gallery .main img{

  width: 80%;

}

#canvas {
  width:70%;
}


/* PC向けおよび大型タブレット向けのレイアウトの指定：769px～960px */
@media only screen and (min-width: 769px) {
  header {
    position:static;
    overflow:visible;
  }
  header h1 {
    text-align:left;
    padding:15px 5px 7px 5px;
    width:280px;
    float:left; /* left */
  }
  header h1 img {
    width:100%; /* 100% */
  }
 .image_s {width:30%}


    nav {
    text-align: center;
    margin: 10px auto 15px auto;
  }
  nav ul li {
    text-align: center;
    float: left;
    width: 16%;
    border-bottom: none;
    border-right: 1px solid #fff;
  }
  nav ul li:nth-child(odd) {
    width: 17%;
    border-bottom: none;
  }
  nav ul li a{
    display: block;
  }
  div#contents section#rank article {
    width: 33%;  /*33% */
  }
  div#contents section#rank article h3 {
    line-height: 2.0em;
  }
  div#contents section#rank article p {
    font-size: 0.8em;
    line-height: 2.0em;
  }
}
/* PC向けレイアウトの指定：961px以上では固定レイアウト */
@media only screen and (min-width: 961px) {
  header {
    width:960px;
    margin-left:auto;
    margin-right:auto;
  }
  nav {
    max-width: 960px;
  }
  nav ul{
    margin-left: auto;
    margin-right: auto;
  }
  nav ul li:nth-child(odd) {
    border-bottom: none;
  }
  div#contents {
    max-width: 960px;
    margin: 0 auto;
  }
  div#contents section#rank article {
    width: 33%;/*  16.4% */
    margin-right:1px;
  }
  div#contents section#rank article h3 {
    line-height: 2.2em;
  }
  div#contents section#news {
    width: 54%;/* 44%  */
    float: left;
  }
  div#contents section#information {
    width: 34%;/* 44%  */
    float: right;
  }
  #footer p{
    text-align:center;
  }
}
