
/*ブラウザ既定スタイルの解除始まり*/
body{
  margin: 0;
  padding: 0;
  background-color: #cccccc;
  color: #333333;
  font-size: 15px;
  line-height: 2;
}

*{
  margin-top: 0;
 }

img{
  vertical-align: bottom;
}

ul{
  margin: 0;
  padding: 0;
}
/*ブラウザ既定スタイルの解除終わり*/
a{
  color: #3538aa;
  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;
}
/*floatの解除　左右両方の回り込みを解除する*/
#wrap{
  clear: both;
  background-color: #ffffff;
  margin-top: 220px;
  padding: 35px 0;
}

#breadcrumb{
  list-style: none;
  margin-top: 50px;
  padding: 0;
}

#breadcrumb ol li{
  display: inline;
}

#breadcrumb ol li::after{
  content: ">";
  padding-left: 7px;
}

#breadcrumb ol li:last-child::after{
  content: none;
}

.content{
  width: 1200px;
  margin: 0 auto;
}
/*footerの設定*/
footer{
  width: 1200px;
  margin: 100px auto 0 auto;
  color: #ffffff;
  background-color: #767671;
}
footer small{
  font-size: 12px;
  
}

footer #footer_nav{
  background-color: #efefef;
}

footer #footer_nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

footer #footer_nav li{
  display: inline;
  border-left: solid 1px #aaa;
  margin-left:  8px;
  padding-left:  8px;
  font-size: smaller;
}


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

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

#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;
  line-height: 50px;
  margin-top: 20px;
  border-radius: 5px;
  border: 3px solid #009cd3;
}

.btn a:hover{
  text-decoration: none; /*a要素の下線を消す*/
  background-color: #ffffff;
  color: #009cd3;
}

#index footer{
  width: 1200px;
  margin: 150px auto o auto;
  text-align: center;
  background-color: transparent;
}

#index footer #footer_nav{
  background-color: transparent;
  
}

#index{
  background-image: url(images/index.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

#about{
  background-image: url(images/aboutbg.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

.main-center{
  width: 1200x;
  margin: 0 auto;
}

h1{
  
  font-size: 36px;
  border-bottom: 1px solid #cccccc;
}

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

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

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

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

#about .profile-image{
  float: right;
}
/*clearfixで回り込みを解除する*/
.clearfix::after{
  content: "";
  display: block;
  clear: both;
}

section{
  margin-bottom: 35px;
}

#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;
}

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

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

#portfolio{
  background-image: url(images/portfolio4.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

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

.sidebar{
  width: 200px;
  margin: 0 30px 0 30px;
  float: right;
}

a img:hover{
  opacity: 0.8;
}

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

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

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

.sidebar a{
  color: #333333;
}

#photograph{
  background-image: url(images/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;
}
/*3の倍数番目の画像の右余白はなしにする*/
#photograph .photograph-list li:nth-child(3n) {
    margin-right: 0;
}

#video{
  background-image: url(images/video.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

#contact {
   background-image: url(images/contact-bg.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

#contact .access table{
  float: left;
 }

#contact .access th,
#contact .access td {
  text-align: left;
  vertical-align: top;
  line-height: 2.5;
}

#contact .access td{
  padding-left: 30px;
}

#contact .access iframe{
  width: 550px;
  float: right;
}

#contact .form{
  background-color: #eaeaea;
  padding: 30px 50px;
}

#contact .form dl dt{
  width: 165px;
  padding: 10px 0;
  float: left;
  clear: both;
}

#contact .form dl dd{
  padding: 10px 0;
}

#contact .form .name{
  width: 240px;
  height: 30px;
}

#contact .form .email{
  width: 300px;
  height: 30px;
}

#contact .form .tel{
  width: 240px;
  height: 30px;
}

#contact .form .type{
  width: 180px;
  height: 30px;
}

#contact .form .message{
  width: 660px;
  height: 150px;
}
#contact .form button{
 background-color: #009cd3;
  color: #ffffff;
  font-size: 20px;
  width: 120px;
  display: block;
  text-align: center;
  line-height: 50px;
  border-radius: 5px;
  border: 3px solid #009cd3;
  margin-left: 165px;
}

#contact .form button:hover{
  background-color: #ffffff;
  color: #009cd3;
  cursor: pointer;/* カーソルアイコンを指マークに変更 */
}

#contact .form .required::after {  /*requiredの疑似要素afterで*を赤で表示*/
  content: " * ";
  color: #ff0000;
}

#contact .form .attention{
  margin: 20px 0 0 165px;
}

/*レスポンシブデザイン対応の始まり*/
@media screen and (max-width:600px){
  body{
    font-size: 3.5vw;
  } 
  
  h1{
    font-size: 7.2vw;
  }
  
  #index h1{
    font-size: 10vw;
    margin: 0 5%
  }
  
  
  h2{
    font-size: 6vw;
  }
  
  p, dt{
    font-size: 2.5vw
  }
  
  
  header{
    width: auto;
    margin: 0 5%;
  }
  
  .logo  {
    float: none;
    margin-top: 60px;
    text-align: center;
  }
  
  .global-nav{
    float: none;
    margin-top: 40px;
    text-align: center;
  }
  
  .global-nav li{
    display: inline;
    float: none;
    margin: 0 8px;
  }
  
  #wrap{
    margin-top: 40px;
   padding: 35px 0 0;/* 上35px左右0下0*/
  }
  
  .content{
    width: 100%
  }
  
  .main{
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
   .main-center{
    float: none;
    width: auto;
    margin: 0 5%;
  }
 
  h2 img{
    max-width: 100%;
  }
  
  #index p{
    margin: 0 5%
  }
  
  table {
    width: auto;
    font-size: 2.5vw
  }
  #index footer{
    width: auto;
    text-align: center; 
  }
 
  
  .sidebar{
    width: auto;
    float: none;
    margin: 0;
     padding: 30px 10% 10px;/*上30px左右10%下10px*/ 
    background-color: #f7f6f4;
  }
  
  #contact .access iframe{
  width: 400px;
  float: none;
  }
  
  #contact .form .attention{
  margin: auto;
}
    
  #contact .form .message{
    width: 300px;
    height: 150px;
}
  
/*3の倍数番目の画像の右余白はなしを取り消すにする*/
#photograph .photograph-list li:nth-child(3n) {
    margin-right: 20px;
}
    
}
