@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  background-color: #cccccc;
  color: #333333;
  font-size: 15px;
  line-height: 2;
}

p,h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
}

h1 {
 font-family: 'Bitter', serif;
  font-size: 36px;
  border-bottom: 1px solid #cccccc;
}

h2 {
  font-family: 'Bitter', serif;
  font-size: 24px;
}

img {
  vertical-align: bottom;
}

ul {
  margin: 0;
  padding: 0;
}

a {
  color: #3583aa;
  text-decoration: none;
}

a:visited {
  color: #788d98;
}

a:hover {
  text-decoration: underline;
}

header {
  width: 960px;
  height: 100px;
  margin: 0 auto;
}

.logo {
  float: left;
  margin-top: 50px;
}

.global-nav {
  float: right;
  margin-top: 60px;
}

.global-nav li {
  float: left;
  margin: 0 20px;
  font-size: 20px;
  list-style: none;
  font-family: 'Bitter', serif;
}

.global-nav li a {
  color: #ffffff;
}

.global-nav li a:hover {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 3px;
  text-decoration: none;
}

#wrap {
  clear: both;
  background-color: #ffffff;
  margin-top: 330px;
  padding: 35px 0;
}

.content {
  width: 960px;
  margin: 0 auto;
}

footer {
  text-align: center;
  color: #ffffff;
  padding: 20px 0;
  background-color: #767671;
}

footer small {
  font-size: 12px;
}

  /*チェックボックス等は非表示に*/
  .nav-unshown {
    display:none;
  }

#index {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),url(../images/bg-index01.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

#index #wrap {
  background-color: transparent;
  margin-top: 0;
  padding: 0;
}

#index .content {
  margin-top: 150px;
}

#index h1 {
  font-size: 100px;
  line-height: 1;
  color: #ffffff;
  font-family: 'Bitter', serif;
  margin-bottom: 50px;
  border: none;
}

#index p {
  font-size: 16px;
  color: #ffffff;
}

.btn a {
  background-color: #009cd3;
  color: #ffffff;
  font-size: 20px;
  font-family: 'Bitter', serif;
  width: 185px;
  display: block;
  text-align: center;
  border-radius: 5px;
  border: 3px solid #009cd3;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.btn a:hover {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.0);
  color: #009cd3;
}
  
#index footer {
  width: 960px;
  margin: 150px auto 0px auto;
  text-align: left;
  background-color: transparent;
}

#about {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),url(../images/bg-about.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

#about .profile-txt {
  width: 540px;
  float: left;
}

#about .profile-txt span {
  font-weight: bold;
}

#about .profile-image {
  float: right;
}

.main-center {
  width: 940px;
  margin: 0 auto;
}

.icon::before {
  content:"";
  padding-right: 10px;
  border-left: 7px solid #9cb4a4;
}

.clearfix::after {
  content:"";
  display: block;
  clear: both;
}

section {
  margin-bottom: 35px;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

#about .career th {
  width: 240px;
  background-color: #f0f0f0;
  padding: 12px 0;
  border: 1px solid #cccccc;
}

#about .career td {
  width: 660px;
  padding: 12px 0 12px 40px;
  border: 1px solid #cccccc;
}

#portfolio {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),url(../images/bg-portfolio.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

.main {
  width: 700px;
  margin: 0 10px;
  float: left;
}

.sidebar {
  width: 200px;
  margin: 0 10px 0 30px;
  float: right;
  font-family: 'Bitter', serif;
}

.sidebar h2 {
  margin-bottom: 10px;
}

.sidebar ul {
  font-size: 16px;
  margin-left: 20px;
}

.sidebar ul a {
  color: #333333;
}

#portfolio h2 a img:hover {
  opacity: 0.8;
}

#photograph {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),url(../images/bg-photograph.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

#photograph .photograph-list li {
  float:left;
  list-style: none;
  margin: 0 20px 15px 0;
}

#photograph .photograph-list li:nth-child(3n) {
  margin-right: 0;
}

#video {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),url(../images/bg-movie.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

.youtube iframe {
  width: 700px;
  height: 394px;
}


  /**topへアイコン**/
	
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 80%;
}
 
#page-top a {
    display: block;
    background: #666;
    color: #fff;
    width: 45px;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    opacity: 0.8;
}
 
#page-top a:hover {
    background: #999;
    text-decoration: none;
}


/**レスポンシブ**/
@media screen and (max-width: 960px) { 
   #index {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),url(../images/bg-index02.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;     
    background-repeat: no-repeat;
    background-size: cover;     
  }
    
  header {
     width: 100%;
     margin-top: 0px;
     padding-left: 5px;
  }
  
    header .logo {
      float: left;
     padding-left: 5px;
  }
  
  .global-nav {
    float: none;
    width: 100%;
    margin: 60px auto 0px auto;
  } 
  
  .global-nav li {
  float: none;
  margin: 0 20px;
  font-size: 20px;
  list-style: none;
  font-family: 'Bitter', serif;
}

 .content{
    width: 100%;
    margin: 0 5px;
  }
  
  #index h1 {
  font-size: 80px;
  line-height: 1;
  color: #ffffff;
  font-family: 'Bitter', serif;
  margin-bottom: 50px;
  border: none;
  }
  
  #index #wrap {
    background-color: transparent;
    margin-top: 0;
    padding:5px;
  }
  
  .btn a {
    width:90%;
    margin: 0 10px 0 10px;
  }
  
    #index footer {
    width: 100%;
    margin: 150px auto 0px auto;
    text-align: center;
  }
  
  #about {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),url(../images/bg-about.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}
  
  #wrap {
    margin-top: 100px;
}
  
  #about .profile-image {
    float: none;
    max-width: 50%;
    margin: 0 auto;
  }
  
  .center {
    text-align: center;
  }
  
  #about .profile-txt {
    width: 100%;
    float: none;
}
  .main-center {
    width: 100%;
    margin: 0 auto;
}
  #about .career td {
    width: 70%;
    padding: 12px 0 12px 10px;
    border: 1px solid #cccccc;
}
  
  #photograph .photograph-list li:nth-child(3n) {
    margin-right: 20px;
  }
  
  .main {
    width: 90%; 
    margin: none;
    float: none;
  }
  
  .sidebar {
    width: 100%
    margin: 0 10px 0 30px;
    float: none;
    font-family: 'Bitter', serif;
  }

  
  
  
  /*ヘッダーまわりはサイトに合わせて調整してください*/

  #nav-drawer {
    position: relative;
    float: right;
    margin: 50px 10px;
  }

  /*チェックボックス等は非表示に*/
  .nav-unshown {
    display:none;
  }

  /*アイコンのスペース*/
  #nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
  }

  /*ハンバーガーアイコンをCSSだけで表現*/
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: #ffffff;
    display: block;
    content: '';
    cursor: pointer;
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }

  /*閉じる用の薄黒カバー*/
  #nav-close {
    display: none;/*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0;/*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
  }

  /*中身*/
  #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;/*最前面に*/
    width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
    max-width: 330px;/*最大幅（調整してください）*/
    height: 100%;
    background: #000000;/*背景色*/
    transition: .3s ease-in-out;/*滑らかに表示*/
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);/*左に隠しておく*/
    opacity: .5;
  }

  /*チェックが入ったらもろもろ表示*/
  #nav-input:checked ~ #nav-close {
    display: block;/*カバーを表示*/
    opacity: .5;
  }

  #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);/*中身を表示（右へスライド）*/
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
  }
  
  
}

@media screen and (max-width: 425px) {
      .youtube {
      width: 100%;
  }
    .youtube iframe {
    width: 100%;
    height: 100%;
  }
}