@charset "UTF-8";

/* 共通部分(Common)
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
    line-height: 1.7;
    color: #252525;
}
a {
    text-decoration: none;
}

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

html{
scroll-behavior: smooth;
}

a:hover img {
filter: alpha(opacity=70);
-moz-opacity: 0.6;
opacity: 0.6;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/* 大きな背景画像 */
.big-bg {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* 見出し */
h1 {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: normal;
}
h2 {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: normal;
}

/* ボタン */
.button {
    font-size: 1.375rem;
    background: #9acd32;
    color: #fff;
    border-radius: 5px;
    padding: 18px 32px;
}
.button:hover {
    background: #89c3eb;
}




/* HEADER
------------------------------- */
.page-header {
    display: flex;
    justify-content:center;
}


/* ナビゲーション */
.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.main-nav li {
    margin-left: 20px;
}
.main-nav a {
color: #333;
background-color:#89c3eb;
padding: 5px 20px;
border-radius:5px;
}
.main-nav a:hover {
    color: #fff;
}

h3 {
	margin:20px 0 20px;
	border-bottom: solid 3px #d3d3d3;
}

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

/*　＃homeで画像の代わりにグラデーションにする場合
　background-image: linear-gradient(#9acd32, #dbd4b4, #48d1cc);　*/
#home {
    background-image: url(../images/topimg1.jpg);
    min-height: 100vh;
}
#home .page-title {
    text-transform: none;
}
.home-content {
    text-align: center;
    margin-top: 15%;
}
.home-content p {
    font-size: 1.125rem;
    margin: 10px 0 42px;
}

/* Main
------------------------------- */
#second {
background-color: #f5f5f5;
padding-bottom: 30px;
margin-bottom: 50px;
}

.main-contents {
    width: 1000px;
    margin-bottom: 50px;
}


/* 記事部分 */
article {
	margin-top: 30px;
}

article img {
    margin-bottom: 20px;
}
article p {
    margin-bottom: 1rem;
}




/* フッター
------------------------------- */
footer {
    background: #507ea4;
    text-align: center;
    padding: 15px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}

/* 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: #ffa500;
}

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

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


/* 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: 100%;
  }
  .works .web {
    width: 100%;
  }
}

/* Works
------------------------- */
.works {
  display: flex;
flex-wrap: wrap;
}

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

.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
}

	



/* テーブル
------------------------------- */
table {
	width: 100%;
	margin-bottom: 1em;
	margin-top: 2em;
	border-collapse: collapse;
	border: 1px solid #ddd;
}
th {
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #ddd;
	background: #f5f5f5;
}
td {
	padding: 10px;
	text-align: left;
	border: 1px solid #ddd;
}


/* モバイル版
------------------------------- */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }
	
	h2 {
        font-size: 2.1rem;
    }
    .page-header {
        flex-direction: column;
        align-items: center;
    }

	
    /* HEADER */
    .main-nav {
        font-size: 1rem;
        margin-top: 10px;
    }
    .main-nav li {
        margin: 0 10px;
    }

    /* HOME */
    .home-content {
        margin-top: 20%;
    }

    /* SecondPage */
    .main-contents {
        width: 100%;
    }

    article {
        width: 100%;
    }

   .main-contents img{
	   max-width:96%;
	   height:auto;} 

}
