﻿/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
/**
 * Correct `inline-block` display not defined in IE 8/9.
 */
audio,
canvas,
video {
  display: inline-block;
}
/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
[hidden] {
  display: none;
}
/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 2 */
}
/**
 * Remove default margin.
 */
body {
	overflow-x: hidden;  /* 水平方向のスクロールバーが出ないようにする（もともとはなかったので後から追加したもの） */

	margin: 0;
}
/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}
/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}
/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}
/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
  font-weight: bold;
}
/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}
/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}
/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre-wrap;
}
/**
 * Set consistent quote types.
 */
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9.
 */
img {
  border: 0;
}
/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}
/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari 5.
 */
figure {
  margin: 0;
}
/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */
button,
input,
select,
textarea {
	font-family: inherit; /* 1 */;
	font-size: large;
  /* 2 */
	margin: 0;
	color: #333333;
}
/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}
/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button, html input[type=button], input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}
/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}
/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */
input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}
/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */
}


/* ==========================================================================
   基本CSS
   ========================================================================== */

/* 基本CSSより上にあるものは元々設定されているものなので、よほどのことがない限りいじらない！ */
/* 何か設定したい場合は、ここで設定。bodyなど元から設定がされているものに新しい設定を追加することも可能！ */

body{
text-align: center;  /* 画面の中央に配置 */
-webkit-text-size-adjust: 100%;  /* スマホで横向きにしても拡大表示させない */
background-color: #fefefe;  /* 全体の背景色（白） */
color: #333  /* 文字色（暗めのグレー） */
}
.container{
position: relative;  /* 相対位置への配置 */
margin: auto;  /* 中央配置 */
background-color: #fff  /* 背景色（青） */
}
.ads{
	margin: 1em auto  /* 中央配置 */
}

h2{
border-style: solid;  /* 囲み線（1本線） */
color: #3d5b99;  /* 線色（青） */
border-width: thin  /* 線の細さ（細い） */
}


article,aside,.inner,#sidebar nav, .breadcrumb{
	margin:10px  /* 領域間のスペース（上下左右） */
}

header{
	padding: 0% 5% 0% 5%;
	margin: 0% -5% 0% -5%;
	background-image: url('image/index/haikei_gradation.png');
	background-repeat: repeat-x;
}
header h1{
	padding: 0px;
	margin: 0  /* 領域間のスペース（上下左右） */;
}

header p{
	margin-top: 0.5em  /* 領域間のスペース（上） */
}
footer{
	/* 領域内のスペース（上下左右） */margin: 0% -5% 0% -5%;
	padding: 0% 5% 0% 5%;
	clear: both; /* 全ての要素に対する回り込みを解除 */;
	text-align: left; /*　footerの文字を左寄せに設定　*/;
	line-height: 120%;
	background-color: #37a0bf;
	color: #FFFFFF;
	background-image: url('image/index/line2.jpg');
	background-repeat: repeat-x;
}

footer p{
	margin:0;  /* 領域間のスペース（上下左右） */
	padding:.2em  /* 領域内のスペース（上下左右） */
}
footer a:link {
	font-weight: bold; /* footerの中のリンクをかけた文字の太さ */;
	color: #FFFFFF;  /* footerの中のリンクをかけた文字の太さ */
}
footer a:hover {
	color: #FFFF00; /* footerの中のリンクをかけた文字にマウスを置いた時の文字色設定（赤）*/
	font-weight: bold;
	text-decoration: underline;
}
.sanbonsen {
	position: absolute; /* 相対位置への配置 */
	background-image: url('image/line2.jpg'); /* 背景の画像の設定（三色の画像） */;
	background-repeat: repeat-x; /* 画像の水平方向への繰り返し設定 */;
}
.sanbonsen:before, .sanbonsen:after {
	content: "";
	top: 0;
	bottom: 0;
	width: 100%;
	background-image: url('image/line2.jpg'); /* 背景の画像の設定（三色の画像） */;
	background-repeat: repeat-x; /* 画像の水平方向への繰り返し設定 */;
	color: transparent; /* h3に文字の設定をしていないので、スペースタグを入れ込み。その空白に文字色が設定されないように透明になるように設定 */
}
.sanbonsen:before {
	right: 100%; /* 疑似要素を使い、 幅を拡張 */
	color: transparent; /* h3に文字の設定をしていないので、スペースタグを入れ込み。その空白に文字色が設定されないように透明になるように設定 */
}
.sanbonsen:after {
	left: 100%; /* 疑似要素を使い、 幅を拡張 */
	color: transparent; /* h3に文字の設定をしていないので、スペースタグを入れ込み。その空白に文字色が設定されないように透明になるように設定 */
}

.ipponnsen {
	position: relative; /* 相対位置への配置 */;
	background-color: #3d7d80; /* 背景色の設定（三色の画像） */;
	background-repeat: repeat-x; /* 画像の水平方向への繰り返し設定 */;
	color: transparent;
	height: 0.33em;
}
.ipponnsen:before, .ipponnsen:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 3000px;
	background-color: #3d7d80; /* 背景色の設定（三色の画像） */;
	background-repeat: repeat-x; /* 画像の水平方向への繰り返し設定 */;
	color: transparent;
	height: 0.33ex;
}
.ipponnsen:before {
	right: 100%; /* 疑似要素を使い、 幅を拡張 */;
	color: transparent;
	height: 0.33em;
}
.ipponnsen:after {
	left: 100%; /* 疑似要素を使い、 幅を拡張 */;
	color: transparent;
	height: 0.33em;
}

dt{
	font-weight: bold; /* 文字を太くする（Wordのbold設定と同じようなもの） */
}
nav ul{
	margin: auto;  /* 領域間のスペース（上下左右） */
	padding: 0px;  /* 領域内のスペース（上下左右） */
	list-style: none  /* リストの先頭に表示するマーカー文字設定（なし） */
}

 /* 横並びメニュー */
#snav{
	background-color: #37a0bf; /* 背景色（白） */; /* 要素のボックスからはみ出てしまった部分は非表示 */;
	padding-right: 5%;
	padding-left: 5%;
	margin-right: -5%;
	margin-left: -5%;
}
#snav ul{
	overflow: hidden; /* 要素のボックスからはみ出てしまった部分は非表示 */
	text-align: center;  /* 画面の中央に配置 */
	font-size:0;
}
#snav li{
	display: inline-block; /* li をインラインブロック（改行なし、横並び）で表示 */;
	margin: 0;  /* 領域間のスペース（上下左右） */
	padding: 0;  /* 領域内のスペース（上下左右） */
}

#snav a:link,#snav a:visited {
	color: #3e3a39;  /* 文字色（グレー）　*/
	display: block;  /* 上から下に並び前後に改行が入る　*/
}
#snav a:hover {
}

 /* 横並びメニューa */
#snava{
	background-color: #FFF630; /* 背景色（白） */; /* 要素のボックスからはみ出てしまった部分は非表示 */;
	padding-right: 5%;
	padding-left: 5%;
	margin-right: -5%;
	margin-left: -5%;
}
#snava ul{
	overflow: hidden; /* 要素のボックスからはみ出てしまった部分は非表示 */
	text-align: center;  /* 画面の中央に配置 */
	font-size:0;
}
#snava li{
	display: inline-block; /* li をインラインブロック（改行なし、横並び）で表示 */;
	margin: 0;  /* 領域間のスペース（上下左右） */
	padding: 0;  /* 領域内のスペース（上下左右） */
}

#snava a:link,#snava a:visited {
	color: #00000;  /* 文字色（グレー）　*/
	display: block;  /* 上から下に並び前後に改行が入る　*/
}
#snava a:hover {
}

#page_content,#sidebar{
	text-align:left;  /* 左寄せ表示　*/
}

/*  フェード点滅　*/
/* 表示領域全体 */
div.container.itmFade_2 {
  position : relative;
  max-width : 100px;
  max-height : 90px;
  margin : 0px 0px 0px 0px ;
  <!-- margin : 1em auto 1em auto; -->
}
/* 表示領域の「position: relative;」により，領域高さが0になるため，paddingで高さを確保する */
div.container.itmFade_2::before {
  content : "";
  display : inline;
  padding-top : 20%;
}


/* アニメーションの設定 */
div.container.itmFade_2 div.item {
  position : absolute;
  top : 0;
  left : 0;
  max-width : 100%;
  max-height : 100%;
  opacity : 0;
  animation : itmFade2-chg-itm-anim 2s infinite;  /* アニメーション : 下記「@keyframes chg-itm-anim の 0% から 100% まで」を「10秒」で「無限」に繰り返す */
}
/* 1つ目のアイテム */
div.container.itmFade_2 div.item:nth-of-type( 1 ) {
  animation-delay : 0s;  /* アニメーション(下記「@keyframes chg-itm-anim」)の開始を0秒遅らせる */
}
/* 2つ目のアイテム */
div.container.itmFade_2 div.item:nth-of-type( 2 ) {
  /**
   * アニメーションの進行(下記「@keyframes chg-itm-anim」)の開始を5秒遅らせる
   * (上記アニメーション全体10秒の1/2，1枚目のアニメーションが50%に到達(フェードアウト開始)した時に2枚目のアニメーション(フェードイン)開始)
  **/
  animation-delay : 1s;
}

/* アニメーションの進行 */
@keyframes itmFade2-chg-itm-anim {
  0% {
    opacity : 0;
    z-index : 2;
  }
  17%{
    opacity : 1;
  }
  50%{
    opacity : 1;
  }
  /**
   * 画像が2枚のため1枚当たり50%
   * 1枚目->2枚目(50%・不透明から65%・透明)にフェードして切り替える
   * 表示されている画像が一番手前に来るように「z-index」で奥行きの並び順を変更
   */
  65%{
    opacity : 0;
    z-index : 1;
  }
  100% {
    opacity : 0;
  }
}

 /* サイドバーのメニューリスト */
#sidebar ul {
	list-style-type: none; /* リストの先頭に表示するマーカー文字設定（なし） */;
	margin: 0px 0px 1em 0px; /* 領域間のスペース（下のみ:1em） */
	padding: 0px; /* 領域内のスペース（上下左右） */
	border-top: dotted 1px;
	border-top-color: #717071;
	border-top-width: 0.08em;
}
#sidebar ul li{
	padding: 0.8em 0px; /* 領域内のスペース（上下:0.8em 左右:0px） */
	margin: 0px; /* 領域間のスペース（上下左右） */
	border-bottom: dotted 1px;
	border-bottom-color: #717071;
	border-bottom-width: 0.08em;
}
#sidebar ol li{
margin: 0px; /* 領域間のスペース（上下左右） */
padding: 5px 0px; /* 領域内のスペース（上下:5px 左右:0px） */
}
#sidebar li a{
display: block;  /* 上から下に並び前後に改行が入る　*/
}

#sidebar ol {
margin: 0px 0px 10px 2em;padding: 0px;
}

 /* 文字色・段落のスタイル */

a:link {
	color: #3d5b99; /* リンク設定されいてる文字色（濃いグレー） */
	text-decoration: none; /* リンク設定されいてる文字に下線を付けない */
}
a:hover{
	color: #E8464C /* リンク設定されいてる文字にマウスを置いた時の色（赤） */;
	text-decoration: none;
}
.center{
	text-align: center /* 画面中央 */;
	font-size: small;
}
.right{
	text-align:right /* 画面右寄せ */
}


 /* 新着情報 */
 
#pickup ul {list-style-type: none;margin: 0px 0px 1em 0px;padding: 0px; } /* リスト表示の際の点を非表示にする */
#pickup ul li{padding: 0.8em 0px;margin: 0px;border-bottom: dotted 1px; }
.side_top_buttom {
	font-family: "ヒラギノ角ゴ Pro W3", ", ", "Hiragino Kaku Gothic Pro", ", メイリオ, Meiryo, Osaka, ", "ＭＳ Ｐゴシック", ", ", "MS PGothic";
}
.font_xsmall {
	font-size: x-small;
	color: #666666;
}
.font_small {
	font-size: small;
}
.font_small_m {
	font-size: 12pt;
	line-height: 100%;
}
.square_btn {
	display: inline-block;
	padding: 0.3em 1em;
	text-decoration: none;
	color: #3d5b99;
	border: 1.5px solid #3d5b99;
	transition: .4s;
	margin-bottom: 0.5em;
}
.square_btn:hover {
	background: #3d5b99;
	color: white;
}


.font_red {
	color: #FF0000;
}


 /* ページトップへの設定 */
.font_blue {
	color: #3d5b99;
}
.font_green {
	color: #21AB38;
}
.font_komidasi {
	color: #37a0bf;
	font-weight: bold;
}
#page_top{
	width: 100px; /* 幅 */
	height: 100px; /* 高さ */
	position: fixed; /* スクロースしても位置を変えない */
	right: 0;
	bottom: 0;
	background-image: url('image/index/page_top_button.png');
	background-repeat: no-repeat; /* 繰り返さない */
}
#page_top a{
  width: 100px; /* 幅 */
  height: 100px; /* 高さ */
  position: relative;
  display: block;
  text-decoration: none;
}
#page_top a::before{
	position: absolute;
	top: -40px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}
#page_top a::after{
	position: absolute;
	top: 45px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;	
}
.indent {
	padding-left: 1em;/* 文字を全部一文字下げる */
	text-indent: -1em;/* 1行目だけ1文字だす */

}
.day {
	background-image: url('image/index/hizuke_back.png');
	background-repeat: no-repeat;
	font-size: small;
	color: #000000;
	text-align: right;
	position: absolute;
}
.index_image {
	text-align: center;
}



/* ==========================================================================
   レスポンシブWebデザインの定義
   ========================================================================== */
/* ※基本的にはいじらない！！何か個別に設定したいときだけ！ */

/* 画像をメインコンテンツエリアからはみ出さないようにする */
/* ↓スマホの設定 */
@media only screen{ 
	img{
	max-width:100%;
	height:auto
}
/* ↓スマホで見たときは"sp"のclassがついた画像が表示される */
.pc { display: none !important; }
.sp { display: inline !important; }
/* ↓スマホではトップページの動画は非表示 */
.index_image { display: none !important;
}
}

/* ↓タブレットの設定 */
@media(min-width:1024px){
.container{
	width:1000px
}
#page_content {
	margin: auto 0px;
	width: 680px;
	float: right;
}
#sidebar {
	float: left;
	width: 320px;
	margin: auto 0px 10px 0px;
}
#page_content img{
	margin: auto 0px;
}
/* ↓タブレット・パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: inline !important;
}
.sp { display: none !important;
}
/* ↓画面サイズが1024px以上ならトップページの動画は表示 */
.index_image { display: block !important;
}
}

/* ↓パソコンの設定 */
@media only screen and (min-width: 1124px) {
.container{width:1070px}
#page_content {
width: 750px;
float: right;
}
.side_top{
width: 320px;
float: left;
}
.side_buttom{
width: 320px;
float: left;
}

}
