@charset "UTF-8" ;

/*** 20170426 TANAKA ***/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

*{
    margin :0px;
    padding: 0px;
}

/*** 全体のCSS ***/

/*Body全体の設定*/
body
{
	width:100%;
	height:100%;
	margin: 0 ;		/* スペース */
	padding: 0 ;		/* 余白 */
	font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic';
	-webkit-text-size-adjust: 100%; /* スマホでの文字サイズ調整 */
	font-size: 16px ;	/* 文字サイズ */
	line-height: 1.618 ;	/* 行の高さ */
	font-feature-settings : "palt";
}

/*リンクの設定*/
a {
  color: #3fa4fc;
  text-decoration: none; }

a:hover {
  color: #1f527f;
}

/*リストの設定*/
ol, ul {
  list-style-type: none;
  }

.imgbox{
  text-align:center;
}

.imgbox img{
  margin: 20px auto 20px auto;  
  max-width:90%;
  border:1px solid #bbb;
}

.imgbox2{
  text-align:center;
}

.imgbox2 img{
  margin: 5px auto 5px auto;  
  max-width:90%;
  border:1px solid #bbb;
}

h1 img{
max-width:100%;
}

h2{
font-size:17px;
font-weight:lighter;
text-align:center;
}

h3{
font-size:18px;
font-weight:lighter;
color:#ffffff;
text-align:center;
background-color:#aaa;
border-radius: 8px;
-webkit-border-radius: 8px; 
-moz-border-radius: 8px;
}

h4{
font-size:16px;
text-align:left;
border:1px solid #aaa;
margin:20px 0 10px 0;
text-indent:5px;
}


section{
width:980px;
margin:auto;
}

article{
margin-top:20px;
}

article ol,article ul{
  list-style-type: decimal;
  list-style-position: outside;
  margin-left:30px;
}
#d_wrapper article .flow li {
display:flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;}
#d_wrapper article .flow li p{
margin:30px 0 10px 0;
}


#d_wrapper article .flow li img{
   max-width: 100%;
}

article dd{
font-size:14px;
padding-bottom:8px;
margin-bottom:8px;
border-bottom:1px dotted #ccc;
}

article span{
font-size:12px;
}


.important_box{
background-color:#cbe9f7;
padding:10px;
margin:15px 0;
border-radius: 8px;
-webkit-border-radius: 8px; 
-moz-border-radius: 8px;
}

.important_box b{
color:#0193d7;
font-weight:bold;
}
.important_box .imgbox img{
  margin:10px 0 0 0;
  max-width:100%;
  border:none;
}

.important_box span{
font-size:13px;
}



#wrapper{
width:100%;
height: auto;
margin:auto;
position: relative;
min-height: 100%;
padding-bottom: 60px;
}
  
/*header（ヘッダー+メニュ―）の設定*/
header{
    width:100%;
    margin:auto;
    padding-top:20px;
    text-align:center;
}

header h1{
    padding:0 10px;
}


.pan{
font-size:13px;
padding:10px 5px;
background-color:#eee;
margin-bottom:15px;
}

.pan a{
text-decoration:underline;
}



/*footerの設定*/
footer{
width:100%;
text-align:center;
height: 30px;
position:fixed;
bottom: 0;
}


/************* ここからはダイアリーリニューアルのお知らせ *************/

#d_wrapper{
    background:#fff;
    }

#d_wrapper header{
    width:100%;
    height:auto;
    margin:auto;
    padding:0;
    text-align:center;
}

#d_wrapper header h1{
    padding:0;
}

#d_wrapper section h2{
margin:10px 0 20px 0;
}

#d_wrapper section p{
text-align:left;
margin:0;
line-height:1.6em;
}


#d_wrapper article{
}

#d_wrapper hr{
margin:30px 0;
}

#d_wrapper article h3{
font-size:20px;
font-weight:lighter;
color:#ffffff;
margin-bottom:20px;
text-align:center;
padding:15px 0;
border-radius: 0;
-webkit-border-radius: 0; 
-moz-border-radius: 0;
background-color:#f89e29;
  position: relative;
  color: white;
  line-height: 1.4;
  }
  
#d_wrapper article h3:after {
position: absolute;
content: '';
top: 100%;
left: 48%;
border: 15px solid transparent;
border-top: 15px solid #f89e29;
width: 0;
height: 0;
}
  

#d_wrapper article .img_box{
   text-align:center;
   padding:20px 0;
}

#d_wrapper article .img_box img{
   max-width: 100%;
}

#d_wrapper article .h4{
margin:40px 0 20px 0;
}

#d_wrapper article h5{
margin:20px 0;
background-color:#777;
border-radius: 10px;
-webkit-border-radius: 10px; 
-moz-border-radius: 10px;
text-align:center;
color:#fff;
}

#d_wrapper article .under{
background: linear-gradient(transparent 80%, #a7d6ff 80%);
font-size:20px;
}

#d_wrapper article .under2{
background: linear-gradient(transparent 80%, #fd7cce 50%);
font-size:20px;
}

#d_wrapper article .under3{
font-size:20px;
}

#d_wrapper article .sfont{
font-size:14px;
}

#d_wrapper article .info_box{
width:95%;
margin:20px auto;
}

#d_wrapper article .info_box2 p{
text-align:center;
}

#d_wrapper article .flow ul{
  margin-left:0px;
  text-align:center;
  list-style:none;
}

#d_wrapper article .flow li {
display:flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;}
#d_wrapper article .flow li p{
margin:30px 0 10px 0;
}


#d_wrapper article .flow li img{
   max-width: 100%;
}

#d_wrapper article .l_sbox{
width:10%;
text-align:center;
}

#d_wrapper article .l_sbox span{
display: inline-block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: skyblue;
}

#d_wrapper article .r_sbox{
width:90%;
}


#d_wrapper article .img_box2{
   width:100%;
}


/************* ここからはスマホ用CSS *************/
/*（特に指定なければ基本CSSが適応）*/
@media screen and (max-width:980px)
{

   /*全体設定*/
   body
   {
   min-width: 100%;
   }

   #wrapper
   {
   width: 100%;
   }
   
/*header（ヘッダー+メニュ―）の設定*/

header{
width:100%;
margin-bottom:10px;
}

header li:first-child , header li:first-child a{
  margin-bottom: 5px;
  text-align:left;
  width:100%;
  height:100%;
  border:none;
  background:none;
  }

header li{
    width:45%;
    height:25px;
    margin:auto;
}
    
header li:last-child{
    width:45%;
    height:27px;
    margin:auto;
}

header li a{
    width:auto;
    height:auto;
    display:block;
}



section{
width:100%;
}


/*footerの設定*/
footer{
width:100%;
text-align:center;
height: 30px;
position:absolute;
bottom: 0;
}


}