@charset "utf-8";

html *,
::before,
::after {
  box-sizing: border-box;
}
html {
  font-size: 14px;
}
p{
margin-block-start: 0px;
margin-block-end: 0px;
}
li{
  line-height:1.5em;
}

.li-tall{
  padding-bottom: 0.5em;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color:#646464;
}

h1, h2, h3, h4, h5, h6, th, strong {
  font-weight: 700;
}

a {
  color: #646464;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;/* 画像下のスペースを消す */
}
ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Header
****************************************/
.header {
  margin:20px 0;
}
.header-container{
  padding:0 4% 0 4%;
  margin: 0 auto;
}
.sitetitle{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom:10px;
}
.header-logo{
  margin:0;
}
.header-logo a{
  color:#646464;
  font-size: 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;

}
.navbtn{
  display: block;
  width: 39px;
  height: 33px;
  background-image: url(../img/open.svg);
  background-repeat: no-repeat;
  background-position: center center;
}
.navbtn.close{
background-image: url(../img/close.svg);
}
.header-nav{
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  background:#F0F0F0;
  border-bottom:4px solid #646464;
}
.header-nav.collapse{
  display: none;
}
.header-nav li a{
  display: block;
  padding:20px 30px;
  border-top:4px solid #646464;
}
.header-nav li a:hover{
background:#FAF228;
}
@media (min-width: 768px) {
  .header-container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1040px;
  }
  .sitetitle{
    display: block;
  }
  .navbtn{
    display:none;
  }
  .header-nav{
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    background-color: transparent;
    border-bottom: none;
    }
  .header-nav li a{
    padding: 6px 20px 2px 20px;
    border-top:none;
    border-bottom: 4px solid #eaeaea;
    background:none;
  }
}


/* Main
****************************************/
.container{
  padding:0 4% 0 4%;
  margin: 0 auto;
}
.title{
  /*border-bottom:#FAF228 50px solid;*/
  width:100%;
  box-shadow: 5px 8px 10px 5px rgba(255,242,40,1);
  background-color:rgba(255,242,40,1) ;
  color:#ffffff;
  font-size: 2em;
  padding:0.25em 0 0 10px;
  }
@media (min-width: 768px) {
  .container{
    max-width:1020px;
    padding:0 20px 0 20px;
  }
}

/* Main--WORKS
****************************************/
.works-container{
  display: flex;
  flex-wrap: wrap;
  width:100%;
  justify-content: space-between;
}
.work-box{
 width:48%;
 margin:10px 0;
}
.work-box a{
  display: block;
}
a:link .work-img, a:visited .work-img{
  width:100%;
  height:auto;
  background-color: #000000;
  display: inline-block;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}
a:hover .work-img{
  background-color: #FAF228;
}
a:link .work-img img{
  opacity: 0.5;
  display:block;  
}


.work-title{
  margin:0;
  padding:0.5em 0 0.25em;
  line-height: 1em;
}
.work-role{
  margin:0;
  padding:0;
  line-height: 1.1em;
  font-size:12px;
  color: #aaaaaa;
}


@media (min-width: 768px) {
  .works-container{
    display: flex;
    flex-wrap:wrap;
    width:100%;
  }
  .work-box{
    width:30%;
    max-width: 300px;
    min-width:300px;
  }
}


/* work-btn
****************************************/
.work-btn{
  margin:0.25em 0 0 0;
  text-align: right;
}
a:link .work-btn, a:visited .work-btn {
  display: inline-block;
  background:#646464;
  padding:0.5em 0.75em;
  font-size:12px;
  border-radius:12px;
  color:#ffffff;
  font-weight: bold;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}
a:hover .work-btn{
  background: #FAF228;
  color: #aaaaaa;
}

.work-btn_sub{
  margin:0em 0 0 0.5em;
  text-align: right;
}
a:link .work-btn_sub, a:visited .work-btn_sub {
  display: inline;
  background:#646464;
  padding:0.5em 0.75em;
  font-size:12px;
  border-radius:12px;
  color:#ffffff;
  font-weight: bold;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}
a:hover .work-btn_sub{
  background: #FAF228;
  color: #aaaaaa;
}









/* Footer
****************************************/
.footer-container{
  background-color:#FAF228 ;
  box-shadow: 5px -8px 10px 5px rgba(255,242,40,1);
  padding:20px 0;
  text-align: center;
  margin: 80px auto 0;
}
@media (min-width: 768px) {
.footer-container{
    max-width:1020px;
    padding:20px 0 20px 0;
    margin: 80px auto 0;
    
  }
}
