@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body{
font:100%/1.8 "Lucida Sans Unicode", "Lucida Grande", Arial, "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
color:#252525;
-webkit-text-size-adjust: none;
background:#fafafa;
}

html{background:#fafafa;}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#0e89d0;
}

a:hover, a:active{
-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;
outline: none;
color:#47a4d9;
}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after,#footer:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post,#footer{zoom: 1;}


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:960px;
}

#header{
overflow:hidden;
}

#content{
width:100%;
padding:30px 0;
}

#footer{
clear:both;
padding:50px 0 60px 0;
}


/* ヘッダー
*****************************************************/
#header .bg{background:#ffffff;}


/* SNS
----------------------------------*/

#header p{
float:right;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h1{
clear:both;
float:left;
padding:30px 0;
color: #515151;
font-size:180%;
font-weight:bold;
}

/* サブナビゲーション
----------------------------------*/
#header ul{
font-size:16px;
padding-top:40px;
float:right;
}

#header ul li{
display:inline;
margin-left:10px;
}

#header ul li a{
color: #fff;
padding:5px 15px;
background: #0e89d0;
margin-right: 10px;
border-radius: 5px;
}

#header ul li a:hover{
background: #47a4d9;
}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin-top:35px;
line-height:0;
text-align:center;
z-index:0;
}

#mainImg a:hover img{opacity:.9;}

.post{
margin:0 0 20px 0;
padding:3px;
}

article.archive span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
h2 {
  position: relative;
  padding: .25em 0 .5em .75em;
  border-left: 6px solid #0e89d0;
  font-size: 140%;
  font-weight: bold;
	margin-bottom: 30px;
}


.dateLabel{
margin:0 0 10px;
text-align:right;
font:italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.post p{padding-bottom:15px;}

.post ul{margin: 0 0 10px 10px;}

.post ul li{
margin:5px 0 0 15px;
list-style:disc;
}

.post ol{margin: 0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post h1, .post h2, .post h3, .post h4{clear:both;}

.post h1{
margin:20px 0 30px 0;
padding:10px 15px;
font-size:130%;
background:#eeeeee;
}


.post h3{
padding: .5em .75em;
  background-color: #add8e6;
margin: 40px 0 20px;
text-align: center;
border-radius: 5px;
}


.post table{
border: 1px #ddd solid;
border-collapse: collapse;
border-spacing: 0;
margin:20px 0 20px;
width: 100%;
}

.post table th{
padding:15px 15px;
border: #dddddd solid;
border-width: 0 0 1px 1px;
background:#f6f6f6;
}

.post table td{
padding:15px 15px;
border: 1px #ddd solid;
border-width: 0 0 1px 1px;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post ul{margin-bottom:20px;}

.post img{max-width:100%;height:auto;}

img.aligncenter {
display: block;
margin:5px auto 40px 0;
}

img.alignright{
margin:0 0 25px 25px;
float:right;
}

img.alignleft{
margin: 0 25px 25px 0;
float: left;
}



/* フッター
*****************************************************/
#copyright{
clear:both;
padding:50px;
text-align:center;
font-size:90%;
zoom:1;
}

/* Skill
------------------------------- */
.items {
  display: flex;
  justify-content: space-between;
	flex-wrap: wrap;
}
.items .item {
  width: 48%;
}

.item {
  width: 100%;
}
.item-img {
  padding: 0;
}
.item-body {
  padding: 0;
margin-bottom: 30px;
}
.item-title {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 700;
}

.item-star {
  margin: 0 0 3px;
  color: #47a4d9;
}

.item-body p {
  color: #333;
}

@media screen and (max-width: 767px) {
  .items {
    flex-direction: column;
  }
  .items .item {
    width: 100%;
  }
}


/* Works
------------------------- */
.works {
  display: flex;
flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.art {
width: 200px;
}
.art-img {
  padding: 0;
text-align: center;
}

.art-body {
  padding: 0;

}
.art-title {
  margin: 8px 0 2px;
  font-weight: bold;
  text-align: center;
}

.art-body p {
  font-size: 12px;
text-align: center;
}

.works .art {
  margin: 15px
}

.web {
width: 200px;
}
.web-img {
  padding: 0;
text-align: center;
}

.web-body {
  padding: 0;

}
.web-title {
  margin: 8px 0 2px;
  font-weight: bold;
  text-align: center;
}

.web-body p {
  font-size: 12px;
text-align: center;
}

.works .web {
  margin: 15px
}

/* about
------------------------- */
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.profile-img {
  width: 160px;
  margin-right: 30px;
  border-radius: 50%;
}
.profile-img img {
  border-radius: 50%;
}
.profile-body {
  flex: 1;
}
.profile-body p:not(:last-child) {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .profile {
    flex-direction: column;
  }
  .works {
    flex-direction: column;
  }

  .works .art {
    width: 220px;
  }
  .works .web {
    width: 100%;
  }
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
#wrapper, #header, .inner{width:100%;}

#header h1, #header p{padding:5px 10px;}
#header h2{padding:20px 10px 0;}
#header ul{padding:20px 10px 40px;}


nav#mainNav ul, .thumbWrap{margin:0 auto;}
nav#mainNav ul ul{padding:0;}

nav div.panel{float:none;}

#mainImg img{
width:100%;height:auto;
margin-top:-35px;
}

#content{
clear:both;
width:95%;
float:none;
margin:0 auto;
padding:20px 0 10px;
}

}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
#header{text-align:center;}
#header h2,#header h1,#header p,#header ul{float:none;}
#headerInfo{width:250px;margin:0 auto;}
#footer ul{text-align:left;padding:15px;}
#footer ul ul{padding:0;}
}

