/*----------------------------------------------------------------------------******************************************************************************PC******************************************************************************----------------------------------------------------------------------------*/
@media screen and (min-width: 769px) {
  /*----------------------------------------------------------------------------

******************************************************************************

Layout

******************************************************************************

----------------------------------------------------------------------------*/
  /* ==== Base === */
  body {
    background: url(../images/common/body_box_bg.png) top center, #FF801a;
  }
  #body_box {
    width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding-bottom: 20px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 1.0);
  }
  .layout {
    max-width: 1150px;
    margin: 0 auto;
    overflow: hidden;
  }
  /* ==== Backgraund === */
  #wrap {
    background: #fff;
    border-top: 3px solid #FF801a;
  }
  /* ==== Header === */
  #hd {
    height: 90px;
    position: relative;
    border-bottom: 1px solid #FF801a;
  }
  /* ==== Navigation === */
  #nav {
    height: 58px;
    margin-top: 20px;
  }
  #nav_bg {}
  #nav ul {}
  #nav li {
    float: left;
    width: 15.6%;
    margin: 0 0.5%;
    line-height: 50px;
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  #nav li a {
    color: #fff;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: url(../images/common/nav_bg.png) top center #FF801a;
    -moz-transition: All 0.5s ease;
    -o-transition: All 0.5s ease;
    -ms-transition: All 0.5s ease;
    transition: All 0.5s ease;
    border-radius: 60px;
  }
  #nav li a:hover {
    color: #020;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    background: url(../images/common/nav_bg.png) top center #FC813F;
  }
  .current {
    color: #020 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
    background: url(../images/common/nav_bg.png) top center #FC813F !important;
  }
  #menu {
    display: none;
  }
  #nav {
    overflow: visible;
  }
  .nav_list {
    display: flex;
    width: 100%;
  }
  .nav_clist {
    display: none;
    transition: All 0.5s ease;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0
  }
  .nav_clist > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    position: relative
  }
  .nav_clist > li > a {
    background-color: #000;
    color: #fff;
    display: block;
    padding: 10px;
    text-decoration: none
  }
  .nav_clist > li > a:hover, .nav_clist > li > a.current {
    opacity: 0.8
  }
  .nav_clist > li:hover .nav_glist {
    display: block;
    animation: nav_active 1s ease 0s 1 alternate
  }
  /*サブメニュー*/
  #nav li {
    position: relative
  }
  #nav li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000
  }
  #nav ul li:hover > ul {
    display: block;
  }
  #nav li ul li a:hover > ul {}
  #nav li ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    height: 100%;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: url(../images/common/nav_bg.png) top center #CF2E2E;
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  #nav li ul li {
    width: 180px;
    color: #fff;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: url(../images/common/nav_bg.png) top center #CF2E2E;
  }
  #nav li ul li a {}
  #nav li ul li a:hover {
    color: #000;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    background: url(../images/common/nav_bg.png) top center #DF7171;
  }
  #nav li ul li {
    overflow: hidden;
    height: 0;
    transition: .2s;
  }
  #nav li:hover ul li {
    overflow: visible;
    height: auto;
  }
  /* ==== Content === */
  #con_bg {
    background: url(../images/common/con_bg.jpg) repeat-x top center;
    margin-top: 10px;
  }
  #con {}
  #sidenav {
    width: 23%;
    max-width: 220px;
    float: right;
    margin-top: 20px;
    margin-left: 20px;
    border: 1px solid #FF801a;
  }
  #sidenav ul {
    padding: 0px;
  }
  #sidenav li {}
  #sidenav li a {
    width: 100%;
    box-sizing: border-box;
    height: auto;
    padding: 12px 5px 5px 23px;
    display: block;
    text-decoration: none;
    background: url(../images/common/sidenav_icon.png) no-repeat 6px 16px;
    font-size: 12px;
    color: #333333;
    border-bottom: dotted 1px #CCC;
  }
  #main {
    width: 85%;
    max-width: 820px;
    float: right;
    margin-top: 20px;
  }
  /* ol,ul */
  #main ol, #main ul {
    padding: 5px 0px 5px 25px;
  }
  #main ul {
    list-style-type: disc;
  }
  #main ol li, #main ul li {
    padding: 5px 0px;
  }
  /* table */
  #main table {
    margin: 10px 0px;
  }
  #main table th, #main table td {
    padding: 5px;
  }
  /* img */
  #main img {
    max-width: 100%
  }
  #main a img {
    display: inline-block;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  #main a img:hover, .shrink:focus, .shrink:active {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  .img_txt {
    position: relative
  }
  .img_txt p {
    position: absolute;
    top: 10px;
    left: 0;
    margin: 0;
    color: #fff;
    width: 100%;
    background: #FF801A;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    padding: 10px 0 6px 10px;
  }
  .img_txt02 {
    position: relative
  }
  .img_txt02 p {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    color: #fff;
    width: 100%;
    background: #FF801A;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    padding: 10px;
  }
  /* ==== Footer === */
  #ft {
    margin-top: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
    text-align: center;
    color: #fff;
    background: #FF801a;
  }
  /*----------------------------------------------------------------------------

******************************************************************************

Head

******************************************************************************

----------------------------------------------------------------------------*/
  h1, h2, h3, h4, h5, h6 {}
  h1 {
    position: absolute;
    top: 35px;
    left: 0px;
    line-height: 1.0em;
  }
  h1 a {
    color: #000 !important;
    text-decoration: none;
  }
  h1 span {
    display: block;
    font-size: 0.65em;
  }
  h2 {
    color: #fff;
    border: 1px solid #FF801a;
    font-size: 34px;
    font-weight: normal;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1.0), 2px 2px 2px rgba(255, 255, 255, 0.5);
    height: 80px;
    padding: 0.9em 0 0.0em 0.5em;
    background: url(../images/i_img.jpg);
  }
  .h2_02 {
    color: #fff;
    border: 1px solid #FF801a;
    font-size: 34px;
    line-height: 0.7;
    font-weight: normal;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1.0), 2px 2px 2px rgba(255, 255, 255, 0.5);
    height: 80px;
    padding: 0.6em 0 0.0em 0.5em;
    background: url(../images/i_img.jpg);
  }
  .h2_02 span {
    font-size: 20px;
  }
  #sidenav h2 {
    color: #fff;
    border: 1px solid #FF801a;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    height: 50px;
    text-shadow: 1px 2px 0px rgba(0, 0, 0, 1.0), 2px 2px 2px rgba(255, 255, 255, 0.5);
    background: url(../images/nav_bag.png) top center #FF801a;
  }
  h3 {
    margin: 0.8em 0 0.4em 0;
    font-size: 1.4em;
    font-weight: normal;
    height: 40px;
    padding: 0.4em 0 0.0em 1.5em;
    background: url(../images/common/h3_bg.png) left center no-repeat;
  }
  h4 {
    font-size: 1.2em;
    font-weight: normal;
    padding: 0.0em 0 0.0em 0.4em;
    border-left: 5px double #FF801a;
    margin: 0.6em 0 0.4em 0;
  }
  h5 {
    font-size: 1.2em;
    font-weight: bold;
    color: #FB7A35;
    padding: 0;
    margin: 0.8em 0 0.4em 0;
  }
  h1.img, h2.img, h3.img, h4.img, h5.img, h6.img {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
  }
  /*----------------------------------------------------------------------------

******************************************************************************

Original

******************************************************************************

----------------------------------------------------------------------------*/
  /* ==== Index === */
  #i_img {
    margin-top: 20px;
  }
  #i_img img {
    width: 100%;
  }
  #i_main {
    width: 90%;
    max-width: 900px;
    float: left;
    margin-top: 20px;
  }
  #i_main a img {
    display: inline-block;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  #i_main a img:hover, .shrink:focus, .shrink:active {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  #i_news {
    height: 300px;
    overflow: auto;
    border: none;
  }
  #i_news table {}
  #i_news table td {
    vertical-align: top;
    font-size: 1.0em;
    padding: 10px;
  }
  #i_news table tr {
    border-bottom: 1px dotted #CCC;
  }
  #i_news table td.date {
    width: 145px;
    background: url(../images/common/news_icon.gif) 4px 14px no-repeat;
    padding-left: 20px;
  }
  #i_bnr {
    margin-top: 20px;
    width: 23%;
    max-width: 220px;
    float: right;
  }
  #i_bnr ul {}
  #i_bnr li {
    float: left;
    margin-bottom: 4px;
    width: 100%;
  }
  #i_bnr li a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #000;
    padding: 15px 0 15px 30px;
    border: 1px solid #FF801a;
    border-radius: 3px;
    background: url(../images/common/bnr_bg.png) 8px center no-repeat;
    -webkit-transition: All 0.5s ease;
    -moz-transition: All 0.5s ease;
    -o-transition: All 0.5s ease;
    -ms-transition: All 0.5s ease;
    transition: All 0.5s ease;
  }
  #i_bnr li a:hover {
    color: #fff;
    background: url(../images/common/bnr_bg_hover.png) 8px center no-repeat #FF801a;
  }
  
  .keijiban {
  width: 100%;
  height: auto;
  padding:30px;
  color:#fff;
  background: #0D3923;
  border: 22px ridge #A96622;
  box-shadow: 5px 9px 15px 2px #777;
  }

  
  /*----pagetop----*/
  #page-top {
    position: fixed;
    bottom: 5px;
    right: 20px;
    font-size: 77%;
  }
  #page-top a {
    background: #FF801a;
    border: #fff 1px solid;
    text-decoration: none;
    color: #fff;
    width: 120px;
    padding: 20px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
  }
  #page-top a:hover {
    text-decoration: none;
  }
  
}
/*----------------------------------------------------------------------------******************************************************************************スマートフォン******************************************************************************----------------------------------------------------------------------------*/
@media screen and (max-width:769px) {
  /*----------------------------------------------------------------------------

******************************************************************************

Layout

******************************************************************************

----------------------------------------------------------------------------*/
  /* ==== Base === */
  body {
    background: url(../images/body_bg.jpg);
  }
  .layout {
    width: 100%;
    overflow: hidden;
  }
  /* ==== Backgraund === */
  #wrap {
    background: #fff;
    border-top: 3px solid #FF801a;
  }
  /* ==== Header === */
  #hd {
    width: calc(100% - 80px);
    height: 100px;
    position: relative;
    background: url(../images/hd_bg.jpg) no-repeat;
  }
  /* ==== Navigation === */
  #nav {
    position: fixed;
    top: 0px;
    right: -300px;
    height: 100%;
    z-index: 100;
    width: 300px;
    overflow-x: none;
    overflow-y: auto;
    font-size: 16px;
    background: url(../images/common/nav_bg.png) top center #000;
    color: #fff;
    -webkit-box-shadow: inset 0 0 5px 5px #222;
    -moz-box-shadow: inset 0 0 5px 5px #222;
    box-shadow: inset 0 0 5px 5px #222;
  }
  #nav ul {
    display: block;
    margin: 0 0 15px;
    padding: 0;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #4d4d4d
  }
  #nav ul li {
    display: block;
    margin: 0;
    line-height: 48px;
    border-top: 1px solid #4d4d4d;
    border-bottom: 1px solid #1a1a1a
  }
  #nav ul li img {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0;
  }
  #nav ul li:hover {
    border-top: none;
    line-height: 49px
  }
  #nav ul li:hover > a {
    -webkit-box-shadow: inset 0 0 15px 3px #222;
    -moz-box-shadow: inset 0 0 15px 3px #222;
    box-shadow: inset 0 0 15px 3px #222
  }
  #nav ul li a {
    padding: 0 15px;
    display: block;
    text-decoration: none;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 1.0);
  }
  #nav ul li ul {
    border-bottom: none;
    margin: 0
  }
  #nav ul li ul li {
    line-height: 40px;
    font-size: 13px;
    line-height: 1.4;
    padding: 10px 0 10px 5px;
  }
  #nav ul li ul li:last-child {
    border-bottom: none
  }
  #menu {
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
  }
  /*#nav ul li ul li a:hover{
    line-height: 40px!important;
    }
*/
  /* ==== Content === */
  #con_bg {}
  #con {}
  #sidenav {
    width: 220px;
    float: left;
    margin-top: 20px;
    border: 1px solid #FF801a;
    display: none;
  }
  #main {
    width: 100%;
    margin-top: 20px;
  }
  /* ol,ul */
  #main ol, #main ul {
    padding: 5px 0px 5px 25px;
  }
  #main ul {
    list-style-type: disc;
  }
  #main ol li, #main ul li {
    padding: 5px 0px;
  }
  /* table */
  #main table {
    margin: 10px 0px;
  }
  #main table th, #main table td {
    padding: 5px;
  }
  /* img */
  #main img {
    max-width: 100%;
    display: block;
    margin: 5px auto;
    float: none;
  }
  #main a img {
    display: inline-block;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  #main a img:hover, .shrink:focus, .shrink:active {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  .img_txt {
    position: relative
  }
  .img_txt p {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    color: #fff;
    width: 100%;
    background: #FF801A;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    padding: 10px 0 6px 10px;
  }
  .img_txt02 {
    position: relative
  }
  .img_txt02 p {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    color: #fff;
    width: 100%;
    background: #FF801A;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    padding: 10px;
  }
  #main > p {
    margin: 0 10px !important;
  }
  #main > .box p {
    margin: 0 10px !important;
  }
  /* ==== Footer === */
  #ft {
    margin-top: 0px;
    padding-top: 25px;
    padding-bottom: 25px;
    text-align: center;
    color: #fff;
    background: #FF801a;
  }
  /*----------------------------------------------------------------------------

******************************************************************************

Head

******************************************************************************

----------------------------------------------------------------------------*/
  h1, h2, h3, h4, h5, h6 {}
  h1 {
    position: absolute;
    top: 30px;
    left: 20px;
    line-height: 1.2em;
  }
  h1 a {
    color: #000 !important;
    text-decoration: none;
  }
  h1 span {
    display: block;
    font-size: 0.65em;
  }
  h2 {
    color: #fff;
    border: 1px solid #FF801a;
    font-size: 28px;
    line-height: 1.2;
    font-weight: normal;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1.0), 2px 2px 2px rgba(255, 255, 255, 0.5);
    height: 80px;
    padding: 0.9em 0 0.0em 0.5em;
    background: url(../images/i_img.jpg);
  }
  .h2_sp {
    color: #fff;
    border: 1px solid #FF801a;
    font-size: 28px;
    line-height: 1.2;
    font-weight: normal;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1.0), 2px 2px 2px rgba(255, 255, 255, 0.5);
    height: 80px;
    padding: 0.4em 0 0.0em 0.5em;
    background: url(../images/i_img.jpg);
  }
  .h2_02 {
    color: #fff;
    border: 1px solid #FF801a;
    font-size: 30px;
    line-height: 0.7;
    font-weight: normal;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1.0), 2px 2px 2px rgba(255, 255, 255, 0.5);
    height: 80px;
    padding: 0.6em 0 0.0em 0.5em;
    background: url(../images/i_img.jpg);
  }
  .h2_02 span {
    font-size: 10px;
  }
  #sidenav h2 {
    color: #fff;
    border: 1px solid #FF801a;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    height: 50px;
    text-shadow: 1px 2px 0px rgba(0, 0, 0, 1.0), 2px 2px 2px rgba(255, 255, 255, 0.5);
    background: url(../images/nav_bag.png) top center #FF801a;
  }
  h3 {
    margin: 0.8em 0 0.4em 0;
    font-size: 1.4em;
    font-weight: normal;
    height: 40px;
    padding: 0.4em 0 0.0em 1.5em;
    background: url(../images/common/h3_bg.png) left center no-repeat;
  }
  h3 span {
    font-size: 0.8em;
  }
  h4 {
    font-size: 1.2em;
    font-weight: normal;
    padding: 0.0em 0 0.0em 0.4em;
    border-left: 5px double #FF801a;
    margin: 0.6em 0 0.4em 0.2em;
  }
  h5 {
    font-size: 1.2em;
    font-weight: bold;
    color: #FB7A35;
    padding: 0;
    margin: 0.8em 0 0.4em 0.2em;
  }
  h1.img, h2.img, h3.img, h4.img, h5.img, h6.img {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
  }
  /*----------------------------------------------------------------------------

******************************************************************************

Original

******************************************************************************

----------------------------------------------------------------------------*/
  /* ==== Index === */
  #i_img {}
  #i_img img {
    width: 100%;
  }
  #i_main {
    width: 100%;
    margin-top: 20px;
  }
  #i_main > p {
    margin: 0 10px !important;
  }
  #i_main > .box p {
    margin: 0 10px !important;
  }
  #i_news {
    height: 300px;
    overflow: auto;
    border: none;
  }
  #i_news table {}
  #i_news table td {
    vertical-align: top;
    font-size: 1.0em;
    padding: 10px;
    display: block;
  }
  #i_news table tr {
    border-bottom: 1px dotted #CCC;
  }
  #i_news table td.date {
    background: url(../images/common/news_icon.gif) 4px 14px no-repeat;
    padding-left: 20px;
  }
  #i_bnr {
    margin-top: 20px;
    width: 100%;
  }
  #i_bnr ul {}
  #i_bnr li {
    width: 100%;
    margin-bottom: 4px;
  }
  #i_bnr li a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #000;
    padding: 15px 0 15px 30px;
    border: 1px solid #FF801a;
    border-radius: 0px;
    background: url(../images/common/bnr_bg.png) 8px center no-repeat;
    -webkit-transition: All 0.5s ease;
    -moz-transition: All 0.5s ease;
    -o-transition: All 0.5s ease;
    -ms-transition: All 0.5s ease;
    transition: All 0.5s ease;
  }
  #i_bnr li a:hover {
    color: #fff;
    background: url(../images/common/bnr_bg_hover.png) 8px center no-repeat #FF801a;
  }
  .keijiban {
    width: 95%;
    height: auto;
    padding: 15px;
    color: #fff;
    background: #0D3923;
    border: 15px ridge #A96622;
    box-shadow: 4px 5px 15px 3px #777;
  }

  /*----pagetop----*/
  #page-top {
    width: 100%;
  }
  #page-top a {
    background: #666;
    border: none;
    text-decoration: none;
    color: #fff;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    display: block;
  }
  #page-top a:hover {
    text-decoration: none;
  }
}