/* ================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   Customized to include a flexible grid system, flexible image
   ================================================================ */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
  margin: 20px;
  background: #ffae00;
  border: 4px solid #ffe98e;
  color: #000;
  padding: 20px;
}

.chromeframe a {
  color: #ff0000;
  background: #ffe98e;
  padding: 3px;
}

.chromeframe a:hover {
  color:#ff0000;
  text-decoration: underline;
}


/* ================================================================
   Author's custom styles
   ================================================================ */
/*--ヘッダ関係--------------------------------------------------------------- */
h1 {
	text-indent: 40px;
	background: url(../img/mark-s.jpg) no-repeat;
	font-size: 1.7em;
	padding-bottom: 0.5em;
}
h1 a{
	color: black;
  text-decoration: none;
	visited: black;
}
 
.top {
	border-bottom: solid 2px #669900;
	margin-bottom: 1em;
}

@media only screen and (max-width: 30em) {
h1 {
	font-size: 1.5em;
}
}

/*navi-------------------------------------------------------------------- */

#menu {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0;
	font-size: 0.9em;
	background: #e5e5e5;
	border-top: 1px solid #e5e5e5;
	border-left: 1px solid #e5e5e5;
}
#menu li {
	display: block;
	float: left;
	width: 16.666%;
	margin: 0;
	padding: 0;
	border-right: 1px solid #dcdcdc;
}
#menu li a {
	display: block;
	padding: 12px 0 10px;
	background: url(../img/bg-navi.jpg);
	color: #5C5C5C;
	
	text-align: center;
	text-decoration: none;
}
/*bodyidはこちらを利用してください。---------------------------------*/
#menu li a:hover {
	background: url(../img/bg-navi-on.jpg);
}
body#home ul#menu li a#home-n {
	background: url(../img/bg-navi-on.jpg);
}
body#gaiyo ul#menu li a#gaiyo-n {
	background: url(../img/bg-navi-on.jpg);
}
body#info ul#menu li a#info-n {
	background: url(../img/bg-navi-on.jpg);
}
body#bl ul#menu li a#boylady-n {
	background: url(../img/bg-navi-on.jpg);
}
body#access ul#menu li a#access-n {
	background: url(../img/bg-navi-on.jpg);
}
body#link ul#menu li a#link-n {
	background: url(../img/bg-navi-on.jpg);
}
#toggle {
	display: none;
}

@media only screen and (max-width: 61.25em) {
#menu {
	font-size: 0.8em;
}
}

@media only screen and (max-width: 49.25em) {
#menu {
	font-size: 0.8em;
}
#menu li {
	width: 33.333%;
	border-bottom: 1px solid #E4E4E4;
}
}

@media only screen and (max-width: 30em) {
.bgtab {
	background: none;
	border-bottom: none;
	border-top: none;
}
#menu {
	display: none;
}
#menu li {
	width: 100%;
	border-bottom: 1px solid #E4E4E4;
	border-left: 1px solid #E4E4E4;
}
#menu li a {
	background: url(../img/bg-navi.jpg);
}
#toggle {
	display: block;
	position: relative;
	width: 100%;
	background: url(../img/bg-navi.jpg);
}
#toggle a {
	display: block;
	position: relative;
	padding: 12px 0 10px;
	border: 1px solid #E4E4E4;
	color: #000;
	text-align: center;
	text-decoration: none;
}
#toggle:before {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 10px;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: #669900;
}
#toggle a:before, #toggle a:after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 9px;
	width: 20px;
	height: 5px;
	background: url(../img/bg-navi.jpg);
}
#toggle a:before {
	margin-top: -6px;
}
#toggle a:after {
	margin-top: 2px;
}
}
/*スライドショー及びメイン画像----------------------------------------------*/
#show {
	background: url(../img/bg-show.jpg);
}
.shiro {
	background: #FFFFFF;
}
.box-slide {
  margin: 1em 0;
}

/*文字スタイル-------------------------------------------*/
h2 {
	padding-bottom: .5em;
	border-bottom: 2px solid #669900;
	font-weight:normal;
	margin-top: 1.2em;
}
h2 span {
	display: block;
	margin-bottom: .2em;
	color: #aaa;
	font-size: .7em;
}
/*TOPPAGE ホバースタイル*/
.hover{
	/*background:url(../img/h2-hover.png) repeat-x bottom;*/
	border: 1px solid #eeeeee;
	font-size: 1.3em;
	/*box-shadow: 0 10px 6px -6px #eeeeee;*/
	text-align: center;
	padding:  .5em;
	color: #FFFFFF;
	margin-top: 2em;
}
.shadow01 {
  position: relative;
	background:url(../img/bg-show2.jpg) bottom;
}
.shadow01::before,
.shadow01::after {
  position: absolute;
  bottom: 10px;
  z-index: -1;
  content: '';
  width: 50%;
  height: 50%;
  box-shadow: 0 10px 15px rgba(0,0,0,.5);	
}
.shadow01::before {
  left: 10px;
  -webkit-transform: rotate(-4deg);
  transform: rotate(-4deg);
}
.shadow01::after {
  right: 10px;
  -webkit-transform: rotate(4deg);
  transform: rotate(4deg);
}

/*商工会からのお知らせ--------------------------------------------------------*/
.box01{
	border: 1px solid #C3C3C3;
	position: relative;
	padding: 15px;
	max-height: 300px;
	overflow: auto;
}
/*SNS--------------------------------------------------------*/
@media screen and (max-width:30em) {
.sns {
    width: 65px;
    margin: .5em;
}
}
.sns2 {
    width: 65px;
    margin: .5em;
}
a img.sns2:hover {
    cursor: pointer;
    filter: alpha(opacity=60);        /* ie lt 8 */
    -ms-filter: "alpha(opacity=60)";  /* ie 8 */
    -moz-opacity: 0.6;                 /* FF lt 1.5, Netscape */
    -khtml-opacity: 0.6;              /* Safari 1.x */
    opacity: 0.6;
    zoom: 1;
}
/*スペース調整----------------------------*/
.bottom-sp {
	margin-bottom: 0.5em;
}
/*フッダ-----------------------------------------------------------*/
#fbar {
	margin-top: 2em;
	border-top: solid 2px #669900;
	background: #FFFFFF
}
.f-sho {
	text-align: center;
	padding: 2em;
}

/*追尾メニュー-----------------------------------------------*/

#page-top {
	display: block;
	position: fixed;
	z-index: 9999;
	bottom: 0.5em;
	right: 0.5em;
	width: 4em;
	padding: 1em 0.5em;
	background: rgba(102,153,0,.6);
	color: #fff;
	text-align: center;
	text-decoration: none;
}
#page-top:hover {
	background: rgba(102,153,0,.8);
}
/*下階層-----------------------------------------------*/
#main-second p{	
	margin: 0 0 0 1em;
	padding: 0;
	line-height: 1.6em;
	text-indent: 1em;
}
#main-second p.last{
	margin-bottom: 2em;
	padding-bottom: 1em;
}
h3{
	background: url("../img/bg-show2.jpg");
	padding: 0.8em;
	font-weight: normal;
	color: #FCFCFC;
	margin-top: 2em;
}
h4{
	font-weight: normal;
	margin-left: .5em;
	padding: 1em 1em 1em .5em;
	background:  url("../img/bg-show4.jpg");
	border-bottom: solid 1px #669900;
	border-top: solid 1px #669900;
	font-size: 1.2em;
}
@media only screen and (max-width: 49.25em) {
	h4{
	padding: .5em;
	font-size: 1.1em;
}
}
#main-second li{
	line-height: 1.8em;
	margin-left: 2em;
}
@media only screen and (max-width: 49.25em) {
	#main-second li{
	margin-left: 1em;
}
}
#main-second p.comment{
	margin: 3em 0 0 0;
	padding: 1em;
	font-size:  0.8em;
	border: 1px solid #B0B0B0;
}
/* ボックスモデルの指定 */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (max-width:31.25em) {
/* 500px以下で強制的に1カラムにするクラス */
.row .cols.force-one {
	float: none;
	width: auto !important;
	height: 100%;
}
}

/* ----------
   フレキシブル・メディア
   ---------- */
img {
  width: 100%;
  max-width: 100%;
}
video {
  max-width: 100%;
  height: auto;
}

/* YouTubeやVimeoなどのiFrameを使った埋め込み動画用スタイル */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ================================================================
   Flexible Grid Sytem
   - Based on Foundation "The Grid" http://foundation.zurb.com/
   ================================================================ */

.row {
  width: 1140px;
  max-width: 100%;
  min-width: 768px;
  margin: 0 auto;
  overflow: hidden;
}

.row .row {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0 -10px;
}

.cols {
  float: left;
  min-height: 1px;
  padding: 0 10px;
  position: relative;
}

/* カラムのpaddingをなくすcollapseクラス */
.row.collapse .cols, .row.collapse .cols { padding: 0; }
.row .row.collapse { margin: 0; }

[class*="cols"] + [class*="cols"]:last-child { float: right; }
[class*="cols"] + [class*="cols"].end { float: left; }

.row .one { width: 8.33%; }
.row .two { width: 16.66%; }
.row .three { width: 25%; }
.row .four { width: 33.33%; }
.row .five { width: 41.66%; }
.row .six { width: 50%; }
.row .seven { width: 58.33%; }
.row .eight { width: 66.66%; }
.row .nine { width: 75%; }
.row .ten { width: 83.33%; }
.row .eleven { width: 91.66%; }
.row .twelve { width: 100%; }

/* PUSH & PULL */
.push-two { left: 16.66%; }
.pull-two { right: 16.66%; }
.push-three { left: 25%; }
.pull-three { right: 25%; }
.push-four { left: 33.33%; }
.pull-four { right: 33.33%; }
.push-five { left: 41.66%; }
.pull-five { right: 41.66%; }
.push-six { left: 50%; }
.pull-six { right: 50%; }
.push-seven { left: 58.33%; }
.pull-seven { right: 58.33%; }
.push-eight { left: 66.66%; }
.pull-eight { right: 66.66%; }
.push-nine { left: 75%; }
.pull-nine { right: 75%; }
.push-ten { left: 83.33%; }
.pull-ten { right: 83.33%; }

@media screen and (max-width:49.25em){
/* 788px以下向けのモバイル版グリッド・スタイル */
  .cols {
    float: none;
    width: auto !important;
    height: 100%;
  }
  .row { width: auto; min-width: 0; margin-left: 0; margin-right: 0; }
  [class*="cols"] + [class*="cols"]:last-child { float: none; }
  [class*="cols"] + [class*="cols"].end { float: none; }

  /* PUSH & PULLの調整*/
  .push-two, .push-three, .push-four, .push-five, .push-six, .push-seven, .push-eight, .push-nine, .push-ten { left: auto; }
  .pull-two, .pull-three, .pull-four, .pull-five, .pull-six, .pull-seven, .pull-eight, .pull-nine, .pull-ten { right: auto; }

  /* モバイル版4カラムグリッド */
  .row .mobile-one { width: 25% !important; float: left; padding: 0 10px; }
  .row .mobile-one:last-child { float: right; }
  .row .mobile-one.end { float: left; }
  .row.collapse .mobile-one { padding: 0; }

  .row .mobile-two { width: 50% !important; float: left; padding: 0 10px; }
  .row .mobile-two:last-child { float: right; }
  .row .mobile-two.end { float: left; }
  .row.collapse .mobile-two { padding: 0; }

  .row .mobile-three { width: 75% !important; float: left; padding: 0 10px; }
  .row .mobile-three:last-child { float: right; }
  .row .mobile-three.end { float: left; }
  .row.collapse .mobile-three { padding: 0; }

  .row .mobile-four { width: 100% !important; float: left; padding: 0 10px; }
  .row .mobile-four:last-child { float: right; }
  .row .mobile-four.end { float: left; }
  .row.collapse .mobile-four { padding: 0; }

  /* モバイル用 PUSH & PULL */
  .mobile-push-one { left: 25%; }
  .mobile-pull-one { right: 25%; }
  .mobile-push-two { left: 50%; }
  .mobile-pull-two { right: 50%; }
  .mobile-push-three { left: 75%; }
  .mobile-pull-three { right: 75%; }

  /* モバイル用collapseクラス */
  .row.mobile-collapse .cols, .row.mobile-collapse .cols { padding: 0; }
  .row .row.mobile-collapse { margin: 0; }
  .row.mobile-collapse .mobile-one { padding: 0; }
  .row.mobile-collapse .mobile-two { padding: 0; }
  .row.mobile-collapse .mobile-three { padding: 0; }
  .row.mobile-collapse .mobile-four { padding: 0; }
}


/* ================================================================
   Media Queries
   ================================================================ */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

/* ================================================================
   Helper classes
   ================================================================ */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ================================================================
   Print styles
   ================================================================ */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}