@charset "utf-8";

/*背景・フォント*/

body {
  background-image: url(../images/back.gif);
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  -webkit-text-size-adjust: none;
}

/*ラッパー*/

.wrapper {
  width: 90%;
  max-width: 1000px;
  background-color: #fff;
  border-right: 1px solid #666;
  border-left: 1px solid #666;
  border-bottom: 1px solid #666;
  margin: 0 auto;
}

/*ヘッダー*/

header {
  background-image: url(../images/header-image.jpg);
  padding: 0 0 70px 40px;
}

.H-box {
  width: 312px;
  padding: 40px 10px 20px;
}

.H-box p {
  color: #fff;
  font-size: 0.875em;
  padding-left: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 1.00);
}

/*グロナビ*/

nav ul {
  width: 100%;
  height: 32px;
  border-bottom: 1px solid #666;
}

nav ul li {
  width: calc(100% / 5);
  float: left;
}

nav ul li a {
  display: block;
  color: #fff;
  font-size: 0.75em;
  font-weight: bold;
  line-height: 32px;
  text-decoration: none;
  text-align: center;
  background-color: #2a520d;
  border-right: 1px solid #fff;
}

nav ul li:hover a {
  background-color: #d4b73b;
}

nav ul li:last-child a {
  border-right: none;
}

/*コンテナー*/

.container {
  margin: 20px;
}

/*コンテント*/

.content {
  width: calc(100% - 190px);
  float: left;
}

/*メイン　コラム*/

section.main {
  width: calc(100% - 220px);
  float: right;
}

section.main h2 {
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  line-height: 34px;
  padding-left: 12px;
  background-color: #4b7f4d;
  border-radius: 5px;
}

section.main .column {
  margin-top: 30px;
}

section.main .column h3 {
  font-size: 1em;
  font-weight: bold;
  border-bottom: 2px solid #6a6;
  background-image: url(../images/mark.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 28px;
}

section.main p {
  font-size: 0.9375em;
  line-height: 1.5em;
  margin-top: 10px;
}

section.main .column p img {
  float: right;
  padding: 5px;
  margin-left: 10px;
  background-color: #fff;
  border: 1px solid #666;
}

/*アサイド 支部*/

aside.branch-box {
  width: 180px;
  float: left;
  padding: 10px;
  background-color: #4b7f4b;
}

aside.branch-box h3 {
  font-size: 0.875em;
  font-weight: bold;
  color: #fff;
  line-height: 24px;
  margin-bottom: 12px;
  border-bottom: 1px solid #fff;
  background-image: url(../images/world.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 20px;
}

aside.branch-box .branch ul {
  margin: 0 0 15px 20px;
}

aside.branch-box .branch ul li a {
  display: block;
  color: #fff;
  font-size: 0.8125em;
  line-height: 30px;
  text-decoration: none;
  background-image: url(../images/branch-icon.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 24px;
}

aside.branch-box .branch ul li:hover a {
  text-decoration: underline;
}

/*アサイド　イベント*/

aside.new-event {
  width: 170px;
  float: right;
}

aside.new-event article {
  margin-bottom: 20px;
  border: 1px solid #006400;
}

aside.new-event article h2 {
  font-weight: bold;
  font-size: 0.875em;
  line-height: 30px;
  color: #fff;
  background-color: #4b7f4b;
  text-align: center;
  border-bottom: 1px solid #006400;
}

aside.new-event article p {
  font-size: 0.812em;
  line-height: 1.5em;
  padding: 10px;
}

/*フッター*/

footer {
  clear: both;
  text-align: center;
  border-top: 1px solid #6a6;
}

small {
  font-size: 0.75em;
  line-height: 80px;
}

/*タブレット用*/

@media screen and (max-width:768px) {
  .wrapper {
    width: 100%;
    margin: 0;
    border: none;
  }

  .content {
    width: 100%;
    float: none;
  }

  aside.new-event {
    width: auto;
    float: none;
    clear: both;
    margin-left: 220px;
  }

  aside.new-event article {
    margin-top: 20px;
    margin-bottom: 0;
  }

  aside.new-event article p img {
    float: left;
    margin-right: 10px;
  }
}

/*スマホ用*/

@media screen and (max-width:480px) {

  header {
    padding-left: 0;
    padding-bottom: 30px;
  }

  .H-box {
    margin: 0 auto;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .H-box h1 img {
    width: 90%;
    height: auto;
  }

  .H-box p {
    font-size: 13px;
    padding-left: 0;
  }

  section.main {
    width: 100%;
    float: none;
    margin-bottom: 20px;
  }

  section.main .column p img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  aside.branch-box {
    width: auto;
    float: none;
  }

  aside.new-event {
    margin-left: 0;
  }

  /*ハンバーガーメニュー*/
  nav ul {
    height: auto;
  }

  nav ul li {
    width: auto;
    float: none;
  }

  nav ul li a {
    display: block;
    line-height: 43px;
    font-size: 15px;
    font-weight: normal;
    text-align: left;
    padding-left: 20px;
    border-bottom: 1px solid #fff;
    border-right: none;
  }

  nav ul li:last-child a {
    border-bottom: none;
  }

}
