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

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: 60px;
  margin: 0 auto;
}

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

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

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

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

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

/*コンテンツエリアのレイアウト調整*/

#wrap {
  clear: both;
}

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

/*フッターのスタイル指定*/

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

footer small {
  font-size: 12px;
}

/*コンテンツエリアのスタイル設定*/

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

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


/*見出しの装飾*/

h1 {
  font-family: 'Sawarabi Gothic', sans-serif;
  font-size: 24px;
  border-bottom: 1px solid #cccccc;
  padding-left: 40px;
}

h2 {
  font-family:  'Sawarabi Gothic', sans-serif;
  font-size: 24px;
}

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

/*小見出しを太字*/
#column .column-txt span {
  font-weight: bold;
}

/*画像とキャプションの回り込み*/

div.imagebox {
   float: right;
   font-size: 80%;
   color: gray;
   padding: 0 0 30px 30px;
}

/*セクション間の余白の調整*/

section {
  margin-bottom: 35px;
}

/*column.htmlのビジュアル設定*/

#column {
  background-color:  #f0e68c;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;  
}

/*関連記事のギャラリー*/

#column .article-list li {
  float: left;
  list-style: none;
  margin: 0 30px 35px 0;
}

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

/*関連記事セクションのレイアウト*/

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

/*section間の余白*/

section {
  margin: 35px 60px;
}

