/* ================================================================
   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;
	font-family: "Noto Sans JP";
}

::-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
   ================================================================ */
/*サイト名-------------------------------------------------------------------- */
.lead{
	margin: 10px 0 0;
	padding: 0;
	font-family: "Sawarabi Mincho";
}
.link-r1{
	text-align: right;
	font-size: 0.9em;
	display: inline-block;
}
.lead2{
	margin: 0 0 10px;
	/*padding: 0;*/
	padding: .25em 0 .25em .75em;
  border-left: 6px solid #F57C03;
	font-size: 1.5em;
}

h1{
	margin: 5px 0 8px;
	padding: 10px 0 6px;
	font-size: 1.8em;
	font-weight: normal;
	font-family: "Sawarabi Mincho";
	color: #313856;
	/*border-top: 1px solid #313856;*/
	border-bottom: 2px solid #313856;
	letter-spacing: 5px;
}
h1 span {
  display: block;
  margin-bottom: .1em;
  font-size: .6em;
  letter-spacing: 1px;
}
@media only screen and (max-width: 49.25em) 
	{
	h1{	
	font-size: 1.3em;
	letter-spacing: 3px;
}
}
h2 {
  position: relative;
  padding-bottom: .5em;
  border-bottom: 4px solid #ccc;
	font-weight: normal;
	font-size: 1.5em;
	margin-top: 30px;
}
h2::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #339999;
}
h3 {
  position: relative;
  padding: 1.5rem 2rem;
  border: 3px solid #d8d8d8;
  border-radius: 10px;
  background: #f9f9f9;
}

h3:before {
  position: absolute;
  bottom: -14px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #d8d8d8 transparent transparent transparent;
}

h3:after {
  position: absolute;
  bottom: -10px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #f9f9f9 transparent transparent transparent;
}
h4{
	font-size: 1.1em;
	border-bottom: 1px solid #ccc;
}
h5{
  padding: .25em 0 .25em .75em;
  border-left: 6px solid #393C4E;
	font-size: 1em;
	margin-bottom: 0;
	font-weight: normal;
}
.asta{
	font-size: 0.8em;
	font-weight: normal;
}
.asta2{
	font-size: 0.8em;
	margin-left: 20px;
	margin-top: 0;
	padding-top: 0;
}
/*新着情報------------------------------------------------------*/
.newbox1 {
	margin: 20px;
	position: relative;
	padding: 15px;
	max-height: 500px;
	overflow: auto;
	margin-bottom: 1.5em;
	border: #E3E3E3 1px solid;
	background: #FFFFFF;
}
.newbox1 li{
	margin-bottom: 20px;
	font-size: 0.9em;
	border-bottom: dotted 1px #B9B9B9;
	padding-bottom: 5px
}
#logo{background-image: url(../img/logobg.jpg);
}
.logo{
	width: 18%;
	text-align: right;
	margin: 2px;
}
@media only screen and (max-width: 49.25em){
.logo{
	width: 150px;
	height: auto;
	text-align: right;
	margin: 2px;	
	}
}
@media only screen and (min-width: 1140px) {
#header{
position: fixed; /*ヘッダーの固定*/
  z-index: 10; /*レイヤーの重なり順を指定*/
  background-color: #ffffff;
  width: 100%;
  top: 0; /*ブラウザのウィンドウを基準にヘッダーの位置を指定*/
}
#main{
	padding-top: 300px;
	}
}
/*navi-------------------------------------------------------------------- */
#gnavi{
	/*background: #778ca3;*/
	border-top: 1px solid #313856;
	border-bottom: 1px solid #313856;
}
#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 #e0e2e3;
	
}
#menu li {
	display: block;
	float: left;
	width: 20%;
	padding: 0;
	border-right: 1px solid #e0e2e3;
	background: #669999;
	margin: 3px 0;
}
#menu li a {
	display: block;
	padding: 12px 0 10px;
	color: #fff;
	text-align: center;
	text-decoration: none;
}
#menu li a:hover {
	background: #336666;
	color: #F9F9F9;
}
body#top ul#menu li a#top-n {
	background: #336666;
	color: #F9F9F9;
}
body#shinsei ul#menu li a#shinsei-n {
	background: #336666;
	color: #F9F9F9;
}
body#ichiran ul#menu li a#ichiran-n {
	background: #336666;
}
body#info ul#menu li a#info-n {
	background: #336666;
	color: #F9F9F9;
}
body#question ul#menu li a#question-n {
	background: #336666;
	color: #F9F9F9;
}
body#toi ul#menu li a#toi-n {
	background: #336666;
	color: #F9F9F9;
}
#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: 25%;
	border-bottom: 1px solid #E4E4E4;
}
	#gnavi {
	display: none;
}
	#toggle{
		display: block;
	}
	#linkarea{
	height: 20px;	
	}
}
@media only screen and (max-width: 30em) {
.bgtab {
	background: none;
	border-bottom: none;
	border-top: none;
}
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

p {
	line-height: 1.5em;
/*margin: 20px;*/	
}
.bold{
	font-weight: bold;
}
.torikeshi{
	text-decoration: line-through;
}
.inden3{
	padding-left:40px;
	margin-top: 0;
	text-indent: -3rem;
}
.inden2{
	padding-left:30px;
	text-indent: -2.5rem;
}
.inden{
	padding-left:30px;
	text-indent: -1rem;
}
.blok{
	margin: 0 0;
}
.left-s30{
	margin-left: 30px;
}
	/*フッダ-----------------------------------------------------------*/
#fbar {
	margin-top: 2em;
	border-top: solid 2px #313856;
	background: #FFFFFF
}
.f-sho {
	text-align: center;
	padding: 2em;
}

/*追尾メニュー-----------------------------------------------*/
#page_top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 0;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #336666;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after{
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
  color: #336666;
}
/*テーブル*/
.design1 {
 width: 100%;
 text-align: center;
 border-collapse: collapse;
 border-spacing: 0;
 color: #ffffff;
}
.design1 th {
 padding: 10px;
 border: solid 1px #fff;
	font-weight: normal;	
 background: #336666;
}
.design1 td {
 padding: 10px;
 border: solid 1px #336666;
	text-align: left;
	color: #336666;
}
/* ----------
   フレキシブル・メディア
   ---------- */
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;
    }
}
.waku_saitaku {
  margin-left: 2em;
  margin-right: 2em;
  padding: 1em;
  width: 60%;
  border: 1px solid #a9a9a9;
  background-color: #fff;
  box-shadow: 1.5px 1.5px 2px #696969;
}
.waku_top_side {
  margin-left: 0em;
  margin-right: 0em;
  padding: 1em;
  width: 85%;
  border: 1px solid #a9a9a9;
  background-color: #fff;
  box-shadow: 1.5px 1.5px 2px #696969;
}