@charset "utf-8";

body{
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  -webkit-text-size-adjust: none;
  background-image: url(../images/back.gif);
}

.wrapper{
  width: 90%;
  max-width: 1000px;
  background-color: #fff;
  border-left: 1px solid #666;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  margin: 0 auto;
}

header{
  background-image: url(../images/header-image.jpg);
  padding-left:40px;
  padding-bottom: 70px;
}

header .h-box{
  width: 312px;
  padding: 40px 10px 20px;
}

header .h-box p{
  font-size: 0.875em;
  color: #fff;
  padding-left: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 1.00);
  
}

/* container ------------ */
.container{
  margin: 20px;
}

/* content---------------- */
.content{
   width: calc(100% - 190px);
   float: left;
}

/* section.main */
section.main{
  width: calc(100% - 220px);
  float: right;
}

/* section.main------- */
section.main h2{
  font-size: 1rem;
  line-height: 34px;
  font-weight: bold;
  color: #fff;
  padding-left: 12px;
  border-radius: 5px;
  background-color: #4b7f4b;
}

section.main .column{
  margin-top: 30px;
}

section.main .column h3{
  font-size: 1em;
  color: black;
  font-weight: bold;
  background-image: url(../images/mark.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 28px;
  border-bottom: 2px solid #66aa66;
}

section.main .column p img{
  float: right;
  padding: 5px;
  margin-left: 10px;
  background-color: #fff;
  border: 1px solid #666;
}

section.main p{
  font-size: 0.9375em;
  line-height: 1.5rem;
  padding-top: 10px;
}

/* nav------------------- */
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;
  line-height: 32px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  background-color: #2a520d;
  border-right: 1px solid #fff;
}

nav ul li a:hover{
  background-color: #d4b73b;
}

nav ul li:last-child a{
  border-right: none;
}


/* aside.branch-box----------- */
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-left: 20px;
  margin-bottom: 15px;
}

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 a:hover{
  text-decoration: underline;
}


/* aside.new-event------------ */
aside.new-event{
  width: 170px;
  float: right;
}

aside.new-event article{
  margin-bottom: 20px;
  border: 1px solid #006400;
}

aside.new-event article h2{
  font-size: 0.875em;
  font-weight: bold;
  line-height: 30px;
  color: #fff;
  background-color: #4b7f4b;
  text-align: center;
  border-bottom: 1px solid #006400;
}

  aside.new-event article p{
    font-size: 0.8125em;
    line-height: 1.5rem;
    padding: 10px;
  }

/* footer------------- */
 footer{
  clear: both;
  text-align: center;
  border-top: 1px solid #6a6;
 }

 footer small{
  font-size: 0.75em;
  line-height: 80px;
 }

/* メディアクエリ  768px--------------- */
@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;
  }

  
}


/*  メディアクエリ 480px--------------*/

@media screen and (max-width: 480px) {

header{
  padding-bottom: 30px;
  padding-left: 0;
}

header .h-box{
  margin: 0 auto;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

header .h-box h1 img{
  width: 90%;
  height: auto;
}

header .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{
  line-height: 43px;
  font-size: 15px;
  font-weight: normal;
  text-align: left;
  padding-left: 20px;
  border-right: none;
  border-bottom: 1px solid #fff;
}

nav ul li:last-child a{
  border-bottom: none;
}

  
}




