@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size:16px;
	font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height:1.6;
}

#contents {
	width:780px;
	margin:0 auto;
}

header {
	width:780px;
	margin:0 auto;
}

a {
	color:#0000FF;
}
a:hover {
	color:#4b00ff;
}

h1 {
	font-size:28px;
	line-height:1.4;
}

h2 {
	margin-bottom:0.5em;
	font-size:24px;
	color:#483d8b;
	border-bottom:3px solid #444;
}

h3 {
	margin-bottom:0.25em;
	font-size:18px;
	color:#32cd32;
	border-bottom:1px solid #444;
}
h3:before {
	content:"\002714\00a0";
	color:#cf0c0c;
}

h4 {
	margin-bottom:0.25em;
	font-size:16px;
}
h4:before {
	content:"\00ab";
}
h4:after {
	content:"\00bb";
}

h5 {
	margin-bottom:0.25em;
	padding:2px;
	font-size:16px;
	border-top:1px dotted #ddd;
	border-bottom:1px dotted #ddd;
	background:#f3f3f3;
}

h6 {
	margin-bottom:0.25em;
	padding-left:5px;
	font-size:16px;
	border-left:5px solid #cf0c0c;
}

p {
	margin:0 0 1em 0;
}

img {
	vertical-align:bottom;
}

em {
	font-weight:bold;
}

strong {
	font-weight:bold;
	color:#1f3134;
}

pre {
	margin:1em 0;
	padding:1em;
}

blockquote {
	margin-bottom:1em;
	padding:1em;
	border:1px dotted #ddd;
	border-left:5px solid #ddd;
}

ul,ol,dl {
	margin:0 0 1em 0;
}
ul li {
	list-style:disc;
}
ol li {
	list-style:decimal;
}
li {
	margin-left:2em;
}

dt {
	margin-bottom:0.5em;
	border-bottom:1px dotted #ddd;
}
dt:before {
	content:"\0025a0";
}
dd {
	margin-bottom:1em;
}

table {
	width:100%;
	margin-bottom:1em;
	border-collapse:collapse;
	border:1px solid #ddd;
}
th {
	padding:10px;
	text-align:center;
	vertical-align:middle;
	border:1px solid #ddd;
	background:#95bbc6;
}
td {
	padding:10px;
	text-align:left;
	border:1px solid #ddd;
}

ol.schema {
list-style-type: none;
  font-size: 9px;
   color:#7b8d42;
}

ol.schema li {
display: inline;
}

div.box29 {
    margin: 2em 0;
    background: #dcefff;
}

div.box29 .box-title {
    font-size: 1.2em;
    background: #5fb3f5;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}

div.box29 p {
    padding: 15px 20px;
    margin: 0;
}

div.back1 {
   width:430px;
  height:160px;
   padding:70px 20px 0 30px;
color: #000000;
background-color: #f8dce0;
background:url("../images/back1.png")
}

div.back2 {
   width:430px;
  height:160px;
   padding:70px 20px 0 30px;
color: #000000;
background-color: #f8dce0;
background:url("../images/back2.jpg")
}

div.back3 {
   width:430px;
  height:160px;
   padding:70px 20px 0 30px;
color: #000000;
background-color: #f8dce0;
background:url("../images/back3-b.jpg")
}

div.back4 {
   width:430px;
  height:160px;
   padding:70px 20px 0 30px;
color: #000000;
background-color: #f8dce0;
background:url("../images/back4-r.jpg")
}

div.back5 {
   width:430px;
  height:160px;
   padding:70px 20px 0 30px;
color: #000000;
background-color: #f8dce0;
background:url("../images/back4-s.jpg")
}

div.box123 {
  position    : relative;
  margin      : auto;                 /* サンプル用 中央寄せ     */
  box-sizing  : border-box;           /* 罫線も含む長さ          */
  border      : 1px solid #ccc;       /* サンプル用 枠線指定     */
  width       : 800px;                /* BOXの幅                 */
  max-width   : 100%;                 /* 最大のBOX幅             */
  height      : 150px;                /* BOXの高さ               */
  background  : linear-gradient(46deg, rgba(102, 255, 102, 0.89), #ffff1a, #7f7f00);  /* BOXのグラデーション */
}
div.box123 span {
  position    : absolute;             /* 親要素からの絶対位置    */
  display     : inline-block;         /* Transform用にブロック化 */
  color       : #ffffff;              /* 文字色                  */
  font-size   : 24pt;                 /* 文字サイズ              */
  top         : 50%;                  /* 文字位置（縦）          */
  left        : 50%;                  /* 文字位置（横）          */
  transform   : translateY(-50%)
                translateX(-50%);     /* 文字の高さ分ずらす      */
}

.h2box {
  position    : relative;
  margin      : auto;                 /* サンプル用 中央寄せ     */
  box-sizing  : border-box;           /* 罫線も含む長さ          */
  border      : 1px solid #ccc;       /* サンプル用 枠線指定     */
  width       : 780px;                /* BOXの幅                 */
  max-width   : 100%;                 /* 最大のBOX幅             */
  height      : 35px;                /* BOXの高さ               */
  background  : linear-gradient(135deg, #1a1aff, #6666ff, #ffffff);  /* BOXのグラデーション */
}
.h2box span {
  position    : absolute;             /* 親要素からの絶対位置    */
  display     : inline-block;         /* Transform用にブロック化 */
  color       : #ffffff;              /* 文字色                  */
  font-size   : 18pt;                 /* 文字サイズ              */
  top         : 50%;                  /* 文字位置（縦）          */
  left        : 50%;                  /* 文字位置（横）          */
  transform   : translateY(-50%)
                translateX(-50%);     /* 文字の高さ分ずらす      */
}

.prbox {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}
.prbox .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 16px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}
.prbox p {
    margin: 0; 
    padding: 0;
}

.prbox2 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #f5b199;
    border-radius: 8px;
}
.prbox2 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 16px;
    background: #FFF;
    color: #f5b199;
    font-weight: bold;
}
.prbox2 p {
    margin: 0; 
    padding: 0;
}

.prbox3 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #ffd900;
    border-radius: 8px;
}
.prbox3 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 16px;
    background: #FFF;
    color: #ffd900;
    font-weight: bold;
}
.prbox3 p {
    margin: 0; 
    padding: 0;
}

.prbox4 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #00a497;
    border-radius: 8px;
}
.prbox4 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 16px;
    background: #FFF;
    color: #00a497;
    font-weight: bold;
}
.prbox4 p {
    margin: 0; 
    padding: 0;
}

.tel-fixed{
  position : fixed;
  right: 5px;
  bottom : 100px;
}

 /*=== 画像の表示エリア ================================= */
.slide {
  position   : relative;
  overflow   : hidden;
                    /* 画像のサイズに合わせて変更ください */
  width      : 100%;
  height     : 130px;
  margin     : auto;      /* サンプルは中央寄せの背景：白 */
  background : #fff;
}
 
 /*=== 画像の設定 ======================================= */
.slide img {
  display    : block;
  position   : absolute;
                      /* 画像のサイズを表示エリアに合せる */
  width      : inherit;
  height     : inherit;
  left       : -100%;
  animation  : slideAnime 35s ease infinite;
}
 
 /*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) { animation-delay: 0s }
.slide img:nth-of-type(2) { animation-delay: 7s }
.slide img:nth-of-type(3) { animation-delay: 14s }
.slide img:nth-of-type(4) { animation-delay: 21s }
.slide img:nth-of-type(5) { animation-delay: 28s }
 
 /*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
   0% { left: -100% }
   2% { left: 0     }
  18% { left: 0     }
  20% { left: 100%  }
 100% { left: 100%  }
}




/*================================================
 *  汎用クラス
 ================================================*/
.list {
	padding:0 0 0 2em;
}

.list li {
	margin:0;
	padding:0;
	list-style:none;
	text-indent:-1.3em;
}
.list li:before {
	content:"\002605\00a0";
	color:#ffc720;
}

.temp {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}

.img {
	float:left;
	width:300px;
}

.text {
	float:right;
	width:450px;
}

.photo {
	margin:20px 0;
	padding:10px;
	box-shadow:rgba(113, 135, 164, 0.8) 0 3px 15px 0;
	background:#fff;
}

.photo img {
	max-width:100%;
}

.slide-container {
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide-wrapper {
  display: flex;
  animation: slide-flow 20s infinite linear 1s both;
}
.slide{
  width: 300px;
  object-fit:cover;
  border: 1px solid #ddd;
}
@keyframes slide-flow {
     0% {transform: translateX(0);}
 100% {transform: translateX(-100%);}
}



/*================================================
 *  ヘッダー
 ================================================*/
header {
	margin-top:30px;
	margin-bottom:50px;
}
header h1 {
	margin-bottom:30px;
}
h1 span {
	font-size:12px;
}

/*================================================
 *  グローバルナビゲーション
 ================================================*/
nav {
	width:100%;
	position:fixed;
	top:0;
	left:0;
	padding:5px 0;
	opacity:0.8;
	background:#191970;
	z-index:10;
}
nav ul {
	position:relative;
	float:left;
	left:50%;
	margin:0;
}
nav li {
	position:relative;
	left:-50%;
	float:left;
	list-style:none;
	margin:0;
	padding:0 20px;
}
nav li a {
	color:#fff;
	text-decoration:none;
}
nav li a:hover {
	color:#dfdfdf;
	text-decoration:underline;;
}

/*================================================
 *  メイン
 ================================================*/
section {
	margin-bottom:100px;
}

/*================================================
 *  フッター
 ================================================*/
footer {
	clear:both;
	padding:20px 0;
	font-size:10px;
	text-align:center;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
	position:fixed;
	bottom:15px;
	right:10px;
}
.totop a {
	display:block;
	text-decoration:none;
}
.totop img {
	background:#000;
}
.totop img:hover {
	background:#333;
}

/*================================================
 *  タブレット/スマートフォン向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width:799px) {
	body {
		box-sizing:border-box;
		width:100%;
		padding:0 10px;
	}

	#contents {
		width:100%;
	}

	header {
		width:100%;
	}

}
