/* -----------------　トップページ用　------------------- */

/* ---------　関西カワセミ研究所　---------- */
.kansai {
    display:  flex;
    width:80%;
    justify-content:center;
    margin-left : auto ; margin-right : auto ;
    margin-top:0px;
    margin-bottom:0px;
    padding:0;
}
.kansai div {
    text-align:center;
    width:50%;
    padding:0;
    margin-top:0px;
    margin-bottom:0px;
}



/* ------------------------------------------------------  基本　----------------------------------------------------- */

.g_koukoku {
    font-size:70%;
    font-weight:lighter;
    color:#a8a8a8;
}


*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


/*-------------------------bodyの指定*/ 
body{
    margin: 0;
    padding: 0;
    font-family:Verdana, "ＭＳ Ｐゴシック", sans-serif;
    font-size: 100%;
    color:#333;
    text-align:center;
    background: #ffffff;
    line-height: 1.2em;
    word-break: break-all;
    min-width:320px;
}


/*-------------------------パンくずリスト*/ 

.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-weight: bold;/*太字*/
  font-size:70%;
}

.breadcrumb li:after {/* >を表示*/
  content: '>';
  padding: 0 0.2em;
  color: #0080ff;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: #737373;/*色*/
}

.breadcrumb li a:hover {
  text-decoration: underline;
}


/*-------------------------トップメニュー*/ 

.topmenu {
    background-color:#6699CC;
    width:100%;
    margin-top: 0px;
    margin-bottom: 0px;
      }
ul.topmenu li{
padding:5px 10px 5px;
}

ul.topmenu a{
color:#ffffff;
text-shadow:1px 1px 0 #000,-1px 1px 0 #000,1px -1px 0 #000,-1px -1px 0 #000;
}

ul.topmenu li:hover{
    color:#000000;
     background-color: #3399FF;
}

  /*------------お勧め記事-------------*/
  .recommendation {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .tab {
    width: fit-content;
    background-color: #ffa000;
    color: white;
    padding: 3px 5px 0px 5px;
    border-radius: 7pt 7pt 0pt 0pt;
  }

  .honbun {
    border: 3px solid #ffa000;
    color: #979797;
    background-color: #ffffff;
    padding: 10px 20px 15px 20px;
    border-radius: 0pt 5pt 5pt 5pt
  }

  .title {
    font-size: 100%;
    margin: 0 0 0 30px;
    color: #0000CD;
  }

  .excerpt {
    color: #474747;
    margin: 5px 0 0 0;
    font-size: 90%;
  }

  /*------------お勧め記事　ここまで-------------*/

article {
    width: 96%;
    max-width:1200px;
    margin-left : auto ; margin-right : auto ;
}

.article_img {
    display:  flex;
    justify-content: space-around;
    margin-bottom:20px;
    width: 100%;
    max-width: 1200px;
    margin-left : auto ;
    margin-right : auto ;
    justify-content: center;
}

.article_h2 {
    width: 100%;
    max-width: 1100px;
    margin-left : auto ;
    margin-right : auto ;
    margin-bottom: 20px;
    margin-top: 20px;
    font-size:150%;
    color: rgb(21, 104, 247);
    text-align: center;
    line-height: 1.2em;
    text-shadow:1px 1px 0 #4e4f4f,-1px 1px 0 #4e4f4f,1px -1px 0 #4e4f4f,-1px -1px 0 #4e4f4f;
}

.article_h3 {
    margin-bottom: 20px;
    margin-top: 20px;
    font-size:120%;
    color: rgb(45, 121, 253);
    border-bottom:5px solid #38b48b;
    line-height: 1.2em;
}

/* ------------ ページ大見出し　角丸 ボーダー無し　------------- */

.page_midasi{
    border: 1px solid #26759e;
    border-radius:3pt;
    font-size:150%;
    line-height: 1.2em;
    font-family:HGS創英角ﾎﾟｯﾌﾟ体;
    color:#FFFFFF;
    text-align:center;
    text-shadow:-2px -2px #555;
    padding-top:6px;
    padding-bottom:6px;
    margin-bottom:15px;
    margin-top:2px;
}

 
/* ------------------------- ページ小見出し　角丸  */
.komidasi {
    border: 1px solid #0000ff;
    border-radius:3pt;
    padding:7px 10px 7px;
    font-size:140%;
    line-height: 100%;
    font-family:HGS創英角ﾎﾟｯﾌﾟ体;
    color:#ffffff;
    text-align:center;
	text-shadow: 1px 1px 1px #000000;
    margin-top:100px;
    margin-bottom:10px;
    margin-left : auto ; margin-right : auto ;
}


/* ------------------------- ページ大見出し下コメント */
.midasicomment {
    margin:auto;
    text-align:center;
    font-size: 105%;
    line-height: 1.3em;
    width:85%;
}


/* ------   h1, h2, h3, h4, h5  基本  ----- */
h1, h2, h3, h4, h5 { 
    margin: 0;
    padding: 0; 
    font-size:100%;
}


/* ------   ul　flex  基本  ----- */
ul {
    display:   flex;
    flex-flow: row;
    flex-wrap: wrap;
    width:100%;
    justify-content: center;
    align-items: center;
    padding: 0px;   /* ------  0にしないと中央にこない    ----- */
}

li {
	list-style: none;
	margin: 0;
	padding: 0;
}


/* ------   a  基本  ----- */
a{
text-decoration:none;
    color:#0000ff;
}


/* ------   img  基本  ----- */
img {
    width: 100%;
    height: auto;
    display: block;
}


/* ------------------------- pスタイル */
p {
    width: 100%;
    font-size:100%;
    color:#555555;
}


#main > nav {
   display: none;
}


 /* 　　Flex ボックスではない　　 */
footer {
   display: block;
   margin: 0px;
   padding-top:40px;
   padding-bottom:10px;
   align-items: center;
   justify-content: center;
   min-height: 50px;
   border-top: 3px solid #cccccc;
   border-radius: 0pt;
   background: #ffffff;
   }


 /* 　　Flex コンテナ　　 */
  #main {
   margin: 0px;
   padding: 0px;
   border: 0px solid #3399ff;
   display:         flex;
   flex-flow: row;    

}
 
 /* 　　Flex アイテム　　 */
  #main > article {
       margin:  0px;
   padding: 20px 3% 20px;
   border: 0px solid #ff0000;
   border-radius: 0pt;             /* 角の丸みの大きさ */
   background: #ffffff;

    	align-items: center;
	justify-content: center;

                    flex: 1 1 80%;
              order: 2;
   }
  

 /* 　　    aside;Flex アイテム　　 */
  #main > aside {
   margin: 4px;
   padding: 5px;
   border: 1px solid #8888bb;
   border-radius: 7pt;
   background: #ccccff;
   -webkit-flex: 1 6 20%;
           flex: 1 6 20%;
   -webkit-order: 3;
           order: 3;
   }


section{
    margin-top:20px;
    margin-bottom:30px;
}


/*-------------------------上部スライド*/ 
      /*-----------スライド高さpadding-topで--------------*/
      .slideshow {
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        padding-top: 50%;
      }

      .slideshow img {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        transition: 4s;
        width: 100%;
      }

      .slideshow .show {
        opacity: 1;
        z-index: 1;
      }

/* photo style */

/* --- width個別指定、img一枚画像の中央配置、シャドー、角丸、角丸シャドー、 */
.img_center {
   margin-right:auto; 
   margin-left:auto; 
}


/* photo style */

/*--------- img photo style 額付き*/
.gakuiri{
    margin-top:40px;
    margin-bottom:40px;
    box-shadow:4px 4px 7px 1px rgba(0,0,0,0.4);
    border-radius:6px;
    border:17px ridge #ffd700;
    width:80%;max-width:600px;
    margin-left : auto ; margin-right : auto ;
}


/* ---------　２列表示*/
.photo-2 {
display: flex;
	flex-wrap: wrap;
	padding-top: 10px;
	width: 100%;
justify-content: center;
}

.photo-2 div {
   width: 30%;
   margin: 0.4%;
   border: 0.2% solid #808080;
}

/* ---------　photo内の　P　のスタイル*/
.photo-1,.photo-2,.photo-3,.photo-4,.photo-5,.photo-7 p { 
  font-size: 90%;
  padding-top: 5px;
    text-align:center;
}

/* ---------　small*/

.photo-2,.photo-3,.photo-4,.photo-5,.photo-7 {
    display: flex;
	flex-wrap: wrap;
	padding-top: 10px;
	width: 100%;
    height:100%;
    justify-content: center;
}

/* ---------　３列表示*/
.photo-3 div {
   width: 24.5%;
   margin: 0.2%;
   border: 0.2% solid #808080;
   box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}


/* ---------　４列表示*/
.photo-4 div {
   width: 24.5%;
   margin: 0.2%;
   border: 0.2% solid #808080;
   box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}


/* ---------　５列表示*/
.photo-5 div {
   width: 24.5%;
   margin: 0.2%;
   border: 0.2% solid #808080;
   box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}


/* ---------　７列表示*/
.photo-7 div {
   width: 13.5%;
   margin: 0.3%;
   border: 0.2% solid #808080;
   box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}


/* --------small画面の5列表示 ----------*/
.widthchange {
   box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    width:100px;
width:20%;
}
.widthchange img {
  width: 100%;
}


/*　------------　スペック　テーブル　-----------　*/ 
.table_spec{
    width: 90%;max-width: 650px;
    border-collapse: collapse;  /* ------------隣接する境界線を結合して（重ねて）表示する （初期値）　-------------*/
    border: 3px solid #999;
    margin-top:20px;
    margin-bottom:20px;
    margin-left : auto ; 
    margin-right : auto ;
}

.table_spec tr:nth-child(1) th {     /* ------------1行目に色指定　-------------*/
    text-align:center;
    color:#ffffff;
    background-color:#000080;
}


.table_spec th{
    width:30%;
    padding:5px;
    text-align: left;  /*------　水平方向の指定　　　*/ 
    vertical-align: top;  /*------　垂直方向の指定　　　*/ 
    background-color: #eee;
    border-bottom: 1px solid #ccc;  /*------　doubleは二重線を指定　　　*/ 
}


.table_spec td{
    width:70%;
    padding:5px;
    background-color: #fafafa;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}


.table_spec a{
    display:block;
    font-size:110%;
    margin:6px;
    color:#808000;
}


.zoom_in {
  animation: zoom 8s;     /* ----scale_moveは任意に付けたアニメーションの名前と時間。----*/
  animation-iteration-count: infinite;     /* ----1、2などの数字で指定する。infiniteで無限に繰り返し。----*/
  animation-timing-function:linear;
    position:absolute;
    top:0;
    left:0;
    opacity :0;
    padding:0;
    margin:0;
}

@keyframes zoom {
  0% { transform:translate(0, 0) scale(1, 1);opacity :0; } 
  10% { transform:translate(0, 0) scale(1, 1);opacity :1; } 
  90% { transform:translate(-10%, -100%) scale(5, 5);opacity :1;} 
  100% { transform:translate(-10%, -100%) scale(5, 5);opacity :0;} 
}


.aspect_keep {
    position: relative;
    border:10px solid #c0c0c0;
    width: 98%;
    box-sizing:border-box;
    overflow: hidden;
    margin-left : auto ; margin-right : auto ;
}
 /* 高さを幅の**%に固定 */
.aspect_keep:before {
    content:"";
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 66%;
}

/* 画像クラス　ここまで */

/* ------    グラデーションカラー指定　　kawasemiblue    ----- */
.kawasemiblue,ul.menu_kawasemiblue a,ul.menu_kawasemiblue li {
  color: #fff;
  background: linear-gradient(to bottom, #0099FF, #0033ff);
  border: 5px solid #006ffd;
}

.kawasemiblue_hover:hover,.menu_kawasemiblue li:hover{
  color: #fff;
  background: linear-gradient(to bottom, #0099FF, #0099FF);
  border: 5px solid #006ffd;
}

