/* Flex styles -------------------------------------------------*/
header {
  /*
  display: flex;
  align-items: center;
  */
}

@media (min-width: 700px) {
 .leading {
    display: flex;
    align-items: center;
  }
}


/* Grid styles -------------------------------------------------*/
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 40px 20px;
}


/* Generic styles ----------------------------------------------*/
body {
  font-size:62.5%;/*pxだと10px;*/
  font-family: 'Quicksand', sans-serif;
}

header {
  padding: 10px;
  font-size: 2em;
  color: #333;
  background-color: #fff;
}

.logo {
  height: 50px;
  margin-right: 20px;
}


.leading {

  height: 240px;
  margin-bottom: 30px;
  padding:2VW 5VW;

  background: url(img/index_bg.jpg) center #333 no-repeat;
  background-size: cover;
  color: white;
  text-shadow: 0px 0px 5px #000;
}

.leading-bigtext {
  margin-right: 3vw;
  font-weight: bold;
  font-size: 10vw;
}

@media (min-width: 700px) {
  .leading-bigtext {
    font-size: 4em;
  }
}

.leading-text {
  max-width: 700px;
  font-size: 1.2em;
  line-height: 1.4em;
}


.cards {
  max-width: 1200px;
  margin: 2em auto 3em;
}

article {
  position: relative;
}

.article-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.article-title {
  /*position: absolute;*/
  font-size: 0.8rem;
  line-height: 1rem;

  width: 100%;
  padding: 10px;
  padding-bottom: 2em;
  /*background-color: rgba(255, 255, 255, 0.2);*/
}


h2{
  font-weight: bold;
  font-size: 2rem;
  line-height: 1.5rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

h2.first{
  margin-top: 0;
}

h3{

  font-weight: bold;
  font-size:1.2rem;/*16px*/
  margin-top: 1.5em;
  margin-bottom: 1em;
}


#main, address,footer{
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 24px;
  padding-right: 24px;
  padding-left: 24px;

  font-size:1.2rem;/*12px*/
  line-height: 1.75rem;
}

address{
  font-size: 1rem;
  margin: 1rem 0;
  font-style: italic;
}

footer{
  font-size: 1rem;
  margin-top: 3em; 
  padding: 1em;
}

#profile{
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  padding:24px;

  line-height: 1.7em;

  text-align:center;

}

.profile_name{
  display: block;
  font-size: 1.5rem;
  border-bottom: solid 1px;
  padding: 0.5em;
  margin-bottom: 1em;
}

.profile_detail{
  font-size: 1rem;
  line-height: 1.7rem;
  margin-bottom: 2em;
}

#main ul{
  list-style: square;
}
#main ul li{
  margin-bottom: 1em;
}

p{
  margin-top: 1em;
  margin-bottom: 1em;
  font-size:1rem;/*12px*/
}

.Portfolio{
  margin-bottom: 4em;
}

.nav {
        display: block;
        list-style: none;
        margin-left: -0.5em;
        padding: 0;
      
        margin-bottom: 2em;
      }
    .nav li{
        display: inline-block;
        /*text-align: center;*/
        margin-right: 0.5em;
        margin-top: 2em;
        margin-bottom: 2em;
        font-size: 1em;
    }
    .nav li a {
        padding:1.25em;
        padding-left: 3em;
        padding-right: 3em;
        border-radius:3em;

        background:#e5ebf4;
        color: #2c2d30;
        text-decoration: none;
        font-weight: bold;
        font-size: 1rem;
    }
    .nav li a:hover {
        background:#2c2d30;
        color: #ffffff;
    }

    
    .skill{
    }

    .i{
      font-style:italic;
      margin-top: 0.75em;
      margin-left:2em;
    }


    .skill_list dt{

      list-style-type: square;
      font-size: 1.2rem;
      line-height: 1.5rem;
      margin-top: 1em;
      margin-bottom: 1em;
    }
    .skill_list dd{
      font-size: 1rem;
      line-height: 1.25em;
      margin-left: 2rem;
      margin-top: 0.75em;
    }






