@charset "utf-8";
/* 基本要素 */
body {
  margin: 10;
  padding: 0;
  color: #333;
}
a { color: #b7a077; }
a:visited { color: #a8a8a8; }
a:hover {
  color: #988564;
  font-weight: bold;
  text-decoration: none;
}
a img { transition: opacity 0.2s linear; }
a:hover img { opacity: 0.7; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; }
p {
  font-size: 1.2em;
  margin-top: 0;
  line-height: 1.4;
}
img { vertical-align: bottom; }
#main1 h1 {
  padding: 13px 30px 10px 20px;
  font-size: 26px;
  color: #44382d;
  border-bottom: solid 3px #716961;
}
#main1 h2 {
  font-size: 24px;
  border: 1px solid #b7a077;
  padding: 11px 22px;
  border-radius: 5px;
}
#main1 h3 {
  font-size: 20px;
  border-left: solid 3px #b7a077;
  padding: 4px 9px 4px 14px;
}
#main2 h1 {
  padding: 13px 30px 10px 20px;
  font-size: 26px;
  color: #44382d;
}
#main2 h2 {
  font-size: 24px;
  border: 1px solid #b7a077;
  padding: 11px 22px;
  border-radius: 5px;
  
}
#main2 h3 {
  font-size: 20px;
  border: 1px solid #b7a077;
  padding: 11px 22px;
  border-radius: 5px;
}
#main3 h1 {
  padding: 13px 30px 10px 20px;
  font-size: 26px;
  color: #44382d;
  border-bottom: solid 3px #716961;
}
#main3 h2 {
  font-size: 24px;
  border: 1px solid #b7a077;
  padding: 11px 22px;
  border-radius: 5px;
}
#main3 h3 {
  font-size: 18px;
  border-left: solid 3px #b7a077;
  padding: 4px 9px 4px 14px;
}
/* ヘッダー */
header {
  width: 990px;
  margin: 0 auto;
}
header h1 {
  float: left;
  margin: 5px 0 10px;
}
/* ナビゲーション */
#global_navi {
  width: 990px;
  clear: both;
  overflow: hidden;
  margin: 4px auto;
}
#global_navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#global_navi ul li {
  width: 150px;
  font-size: 22px;
  float: left;
  margin-right: 1px;
  text-align: center;
}
#global_navi ul li a {
  display: block;
  padding-top: 20px;
  padding-right: 3px;
  padding-bottom: 20px;
  padding-left: 3px;
  
  
  background-color: #352b23;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s linear;
}
#global_navi ul li.current a { 
  background-color: #b7a077; 
}
#global_navi ul li a:hover { 
  background-color: #8c7a5b;
}
/* コンテンツ全体 */
#wrapper {
  width: 990px;
  margin: 0 auto;
  overflow: hidden;
}
/* メイン部分 */
#main {
  width: 600px;
  float: left;
}

.photos{
  position: relative;
}
.photos img{
 position: absolute;
  left: 0;
  right: 0;
  margin: 7px auto;
  animation: photo 25s infinite;
  opacity: 0;
}
@keyframes photo{
  0%{ opacity: 0;}
  15%{ opacity: 1;}
  20%{ opacity: 1;}
  35%{ opacity: 0;}
  100%{ opacity: 0;}
}
.photos img:nth-of-type(1) {
    animation-delay: 0s;
}
.photos img:nth-of-type(2) {
    animation-delay: 5s;
}
.photos img:nth-of-type(3) {
    animation-delay: 10s;
}
.photos img:nth-of-type(4) {
    animation-delay: 15s;
}
.photos img:nth-of-type(5) {
    animation-delay: 20s;
}
/* サイドバー */
#sidebar {
  width: 250px;
  float: right;
}

/* メイン部分 */
#main1 {
  width: 240px;

  float: right;
}
#main2 {
  width: 550px;
  float: left;
  margin: 5px 30px;
  overflow: hidden;
  clear: both;
}
#main3 {
  width: 200px;
  float: left;
  margin: 5px 30px;
  overflow: hidden;
  clear: both;
}

/* フッター */
#footer_nav {
  width: 990px;
  font-size: 22px;

    float: none;
    text-align: left;
  margin: 0 auto;
  overflow: hidden;
}

.text-ani_sample1 {
    margin:0 1em 3em;
    border-radius:0.5em;    /*角丸*/
    background:#cc0000;        /*背景色：深紅*/
    overflow:hidden;
}

.text-ani_sample1 p {
    margin:0;
    font-size:1.4rem;         /*文字サイズ*/
    color:#ffffff;              /*文字の色：白*/
}
.text-ani_sample1 a { color: #ffffee; }
.text-ani_sample1 a:visited { color: #a8a8a8; }
.text-ani_sample1 a:hover {
  color: #ffffdd;
  font-weight: bold;
  text-decoration: none;
}
.text-ani_sample2 {
    margin:0 1em 3em;
    border-radius:0.5rem;    /*角丸*/
    background:#ffff00;        /*背景色：黄*/
    overflow:hidden;
}
.text-ani_sample2 p {
    margin:0;
    font-size:1.4rem;         /*文字サイズ*/
    color:#111111;              /*文字の色：黒*/
}
.text-ani_sample2 a { color: #cc6600; }  /*文字の色：橙*/
.text-ani_sample2 a:visited { color: #cc6600; }
.text-ani_sample2 a:hover {
  color: #880000;
  font-weight: bold;
  text-decoration: none;
}
.text-ani_sample3 {
    margin:0 1em 3em;
    border-radius:0.5rem;    /*角丸*/
    background:#008800;        /*背景色：緑*/
    overflow:hidden;
}
.text-ani_sample3 p {
    margin:0;
    font-size:1.4rem;         /*文字サイズ*/
    color:#ffffff;              /*文字の色：白*/
/*    animation: flowing 10s linear infinite;   アニメーション*/
/*   transform:translateX(100%);                最初の位置*/
}
.text-ani_sample3 a { color: #ff6600; }  /*文字の色：橙*/
.text-ani_sample3 a:visited { color: #ff6600; }
.text-ani_sample3 a:hover {
  color: #cc6600;
  font-weight: bold;
  text-decoration: none;
}
.text-ani_sample4 {
    margin:0 1em 3em;
    border-radius:0.5rem;    /*角丸*/
    background:#76c798;        /*背景色：エメラルドグリーン*/
    overflow:hidden;
}
.text-ani_sample4 p {
    margin:0;
    font-size:1.2rem;         /*文字サイズ*/
    color:#111111;              /*文字の色：黒*/
}
.text-ani_sample4 a { color: #cc6600; }  /*文字の色：橙*/
.text-ani_sample4 a:visited { color: #cc6600; }
.text-ani_sample4 a:hover {
  color: #880000;
  font-weight: bold;
  text-decoration: none;
}

.text-ani_sample5 {
    margin:0 1em 3em;
    border-radius:0.5rem;    /*角丸*/
    background:#ff8c00;        /*背景色：オレンジ*/
    overflow:hidden;
}
.text-ani_sample5 p {
    margin:0;
    font-size:1.2rem;         /*文字サイズ*/
    color:#111111;              /*文字の色：黒*/
/*    animation: flowing 10s linear infinite;    アニメーション*/
/*    transform:translateX(100%);                最初の位置*/
}


@keyframes flowing {
  100% {
    transform:translateX(-100%);    /*終了の位置*/
  }
}
#footer_nav1 {
  width: 990px;
  font-size: 10px;
  float: none;
  text-align: left;
  margin: 0 auto;
  overflow: hidden;
}


/* ---------------------------------
メディアクエリー
--------------------------------- */
@media screen and (max-width : 767px){
  /* 基本要素 */
  img {
    max-width: 100%;
  }
  /* Layout */
  header,
  #global_navi,
  #wrapper,
  #sidebar,
  #rightside,
  #footer_nav,
  #footer_nav1
   {
    width: 100%;
  }
  /* ヘッダー */
  header h1 {
    float: none;
    text-align: center;
  }
  header h1 img {
    width: 50%;
  }
  header #header_contact {
    display: none;
  }
  /* ナビゲーション */
  #global_navi ul li {
    width: 50%;
    padding: 0.5px;
    margin: 0;
    box-sizing: border-box;
  }
  #global_navi ul li a {
    margin: 0;
  }
  #global_navi ul li:last-child {
    width: 50%;
  }
  /* メイン部分 */
  #main {
    width: 60%;
    padding: 0 5%;
    box-sizing: border-box;
  }
  #main figure {
    text-align: center;
  }
  /* トップページパーツ */
  #main_visual {
    width: 100%;
    height: auto;
  }
  #point figure {
    float: none;
    margin: 0 0 11px 0;
  }
  /* サイドバー */
  #sidebar {
    width: 50%;
    float: none;
 clear: right;
  }
  #side_banner ul li {
    text-align: center;
    margin: 11px auto;
  }
  #side_contact address img {
    width: 14px;
    height: 20px;
  }
}