﻿
body {
   -webkit-text-size-adjust: 100%;
    margin: 0 auto;
    padding-top: 0px;
    background-color: #fff;
    font-size: 80%;
    font-family:Verdana, "メイリオ", sans-serif;
    line-height: 1.5;
}



/*-----------------------------------------------------------------------*/
/* 固定Header */
/*-----------------------------------------------------------------------*/
#header2 {
    /* width: 1020px; */
    width: 100%;
    padding-top: 0px;
    background-color: #fff;
    margin: 0 auto;
}

#header2 div {
    /* position: relative; */
    margin: 0 auto;
}

#header2 #flame2 {
    /* width: 1020px; */
    width: 100%;
    background-color: #fff;
    color: #333;
    padding: 5px 0;
    -webkit-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px 0px #ccc; /*shadow*/
    opacity: 0.85; /*ここで透明度を指定*/
    z-index: 1260;
    margin: 0 auto;
    position: fixed;
}

#header2 .logo {
    width: 1020px;
    margin: 0 auto;
    z-index: 1300;
    background: url('img/common/img_logo.jpg') no-repeat;
    vertical-align: middle;
}



/*-----------------------------------------------------------------------*/
/* ALL */
/*-----------------------------------------------------------------------*/
#all {
    /* width: 100%; */
    width: 1020px; /*横幅指定*/
    margin-top: -10px;
    padding-top: 0px;
    background-color: #fff;
    margin: 0 auto;
}

#all div {
    position: relative;
    margin: 0 auto;
}

#all #wrap {
    margin: 0 auto;
    margin-top: 70px; /* (※index専用)全体位置の制御---※最終改編項目※ */
    background-color: #fff;
    box-shadow: 0px 0px 30px #ccc; /*shadow*/
    position: absolute;
}

#all .hidden {
    display: none !important;
    height:0;
}

#all .p {
    z-index: 80;
    color: #333333;
    margin: 0 auto;
    letter-spacing: 0.9px;
    line-height: 1.5;
    font-size: 10px;
}

#all #top {
    /*position: relative;*/
    z-index: 15;
    width:100%;
    height: 0px;
    margin:0 auto;
    background-color: #000;
    /*background: url('./img/common/img_header007.jpg');*/
    /*background-repeat: repeat-x;*/
    -webkit-box-shadow: 0 0 30px 0 #bbb; box-shadow: 0 0 30px 0 #bbb; /*shadow*/
    /*display: flexd;*/
    /*position: fixed;*/
    position: sticky;
}

#all #back {
    *background-color: #fff;
    position: relative;
    z-index: 13;
    background: url('./img/common/img_header007.jpg')
    background-repeat: repeat;
    position: sticky;
}



/*-----------------------------------------------------------------------*/
/* Header */
/*-----------------------------------------------------------------------*/
/*
#header {
    width: 1020px;
    float: left;
    display: inline;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
}

#header banner {
    float: left;
    margin: 0px 0px;
}

#header.img{
    float: left;
    margin-left: auto;
    margin-right: auto;
    margin: 0px 0px 0px 0px;
    padding-left: 0px;
}

#header h1 {
    display: inline;
    margin: 0px 0px 5px 0px;
}
*/



/*-----------------------------------------------------------------------*/
/* DropMenu */
/*-----------------------------------------------------------------------*/

#dropmenu {
    position: absolute;
    z-index: 9;
    list-style-type: none;
    width: 1020px;
    height: 40px;
    margin: 5px auto 50px;
    padding: 0;
    background: #BF8D5F;
    border-bottom: 1px solid #CCB199;
    border-radius: 4px 4px 0 0;
}

#dropmenu li {
    position: relative;
    width: 16.66%;
    float: left;
    margin: 0;
    padding: 0;
    text-align: center;
}

#dropmenu li a {
    display: block;
    margin: 0;
    padding: 15px 0 11px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
}

#dropmenu li ul {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    border-radius: 0 0 4px 4px;
}

#dropmenu li ul li{
   overflow: hidden;
   width: 200%;
   height: 0;
   color: #fff;
   -moz-transition: .2s;
   -webkit-transition: .2s;
   -o-transition: .2s;
   -ms-transition: .2s;
   transition: .2s;
}

#dropmenu li ul li a{
   padding: 13px 15px;
   background: #99714C;
   text-align: left;
   font-size: 12px;
   font-weight: normal;
}

#dropmenu li:hover > a{
   background: #99714C;
   color: #FFFFFF;
}
#dropmenu > li:hover > a{
   border-radius: 4px 4px 0 0;
}

#dropmenu li:hover ul li{
   overflow: visible;
   height: 38px;
   border-top: 1px solid #CC9966;
   border-bottom: 1px solid #FFFFFF;
}

#dropmenu li:hover ul li:first-child{
   border-top: 0;
}

#dropmenu li:hover ul li:last-child{
   border-bottom: 0;
}

#dropmenu li:hover ul li:last-child a{
   border-radius: 0 0 4px 4px;
}


   a.btn{ 
	display: inline-block; 
	width: 140px; 
	margin: 10px 5px 5px; 
	padding: 10px 5px; 
	border: 1px solid #FFFFFF; 
	background: transparent; 
	color: #fff; 
	font-size: 12px;
	text-align: center; 
	text-decoration: none; 
	line-height: 1; 
	transition: .3s; 
   } 



/*-----------------------------------------------------------------------*/
/* Contents */
/*-----------------------------------------------------------------------*/

#contents {
    width: 1020px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

#contents h2 {
    margin-bottom: 40px;
    padding-bottom: 20px;
}

#contents h3 {
    margin-bottom: 40px;
    padding-bottom: 20px;
}



/*-----------------------------------------------------------------------*/
/* Main */
/*-----------------------------------------------------------------------*/

#main {
    /* position: relative; */
    z-index: 1;
    width: 800px;
    float: right;
    padding: 5px 0px 10px 0px;
    margin: 10 auto;
    color: #333333;
    line-height: 1.7;
}

#main. p {
    font-size: 14px;
    padding: 2px 2px 2px 2px;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.7;
}

/*---------- h2 ----------*/
#main h2 {
    width: 780px;
    font-family: ヒラギノ,メイリオ;
    font-size: 16px;
    font-weight: normal;
    color: #333333;
    position: relative;
    padding-top: 20px;
    padding-bottom: 2px;
    margin-bottom: 20px;
}
    
h2::before,
h2::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    height: 5px;
}
        
h2::before {
    z-index: 2;
    width: 15%;
    background-color: #FF6600;
}
        
h2::after {
    width: 100%;
    background: -webkit-repeating-linear-gradient(45deg, #fff, #fff 2px, #aaa 2px, #aaa 4px);
    background: repeating-linear-gradient(45deg, #fff, #fff 2px, #aaa 2px, #aaa 4px);
}

/*---------- h3 ----------*/
#main h3 {
    width: 760px;
    float: left;
    font-family: Mangal;
    font-size: 14px;
    color: #336666;
    font-weight: bold;
    border-bottom: 1px dashed #f5f5f5; 
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    padding: .5em .75em;
    background-color: #ffffff;
    }

h3::before,
h3::after {
    position: absolute;
    bottom: 8px;
    z-index: -1;
    content: '';
    width: 30%;
    height: 50%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, .2);
}

h3::after {
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg);
    right: .3em;
}

main. table{
    width: 780px;
    float: left;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 10px 10px 10px;
    color: #333333;
    line-height: 2.0;
    border: none;
}

main. th{
    width: 360px;
    font-size: 12px;
}

main. td{
    width: 360px;
    font-size: 12px;   
} 

#main h3 {
    width: 780px;
    float: left;
    font-size: 16px;
    color: #ffb6c1;
    font-weight: normal;
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc; 
    margin-top: 10px; 
    padding: .6em .6em; 
}

/*---------- コメント14px 通常使用 ----------*/
.p_com {
    width: 770px;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    padding-right: 10px;
    text-align: left;
    line-height: 1.75;
}
	
/*---------- コメント マーク-2行目字下げ ----------*/
.p_com2 {
    width: 770px;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    text-align: left;
    padding-left: 1em;
    text-indent: -1em;
    padding-right: 10px;
    line-height: 1.75;
}

/*----------コメント 12px 注釈等使用----------*/
.p_com3 {
    width: 770px;
    font-size: 12px;
    margin-top: 5px;
    margin-left: 2px;
    margin-right: 10px;
    margin-bottom: 10px;
    text-align: left;
    padding-right: 10px;
    line-height: 1.75;
}

/*---------- コメント-マーク-2行目字下げ 12px 注釈等使用 ----------*/
.p_com4 {
    width: 770px;
    font-size: 12x;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    text-align: left;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 1.75;
}

/*画像右*/  
p .migi {
    float: right;
    font-size: 12px;
    line-height: 1.5em;
    margin-right: 2em;
    margin-left: 1em;
    margin-top: 5px;
    margin-bottom: 10px;
}

/*画像左*/
p .hidari {
    float: left;
    font-size: 12px;
    line-height: 1.5em;
    margin-left: 1em;
    margin-right: 2em; 
    margin-top: 5px;
    margin-bottom: 10px;
}
   
p .clear {
    clear: both;/*floatの解除、ここがポイント*/ 
}

p .no-wrap {
    overflow: hidden; 
    _zoom: 1; 
} 

p .hr1 {
    border-width: 750px;
    border-style: solid;
    border-color: #333333;
    border-bottom-style: dotted;
    margin: 0 0 0 1px;
}

p .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*---------- itemBox 2列 ----------*/
.box1 {
    float: left;
    width: 360px;
    margin: 20px 5px 2px 20px;
    border: 1px solid #fff;
    border-radius: 6px 6px 6px 6px;
}

.box0 {
    float: left;
    width: 360px;
    margin: 20px 5px 2px 20px;
    border: 1px solid #fff;
    border-radius: 6px 6px 6px 6px;
    -webkit-box-shadow: 0 0 30px 0 #bbb; box-shadow: 0 0 30px 0 #bbb; /*shadow*/
}

.box0Container {
    overflow: hidden;
}

.box0name{
    float: left;
    width: 360px;
    margin: 0px 0px 2px 20px;
    border-top: 0px;
    padding: 6px;
    overflow: hidden;
    text-align: left;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.box0text_red{
    float: left;
    width: 360px;
    margin: 0px 0px 30px 20px;
    border-top: 0px;
    padding: 6px;
    overflow: hidden;
    text-align: center;
    font-size: 12px;
    color: #CC0000;
    line-height: 1.5;
    border-left: 2px sorid #231815;
    border-radius: 8px 8px 8px 8px;
}

/* clearfix */
    .box0Container:before,
    .box0Container:after {
    content: "";
    display: table; 
}

.box0Container:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
    .box0Container {
    zoom: 1;
}

/*---------- ニュースbox ----------*/
.box_news table {
    width: 720px;
    table-layout: fixed;
    border-collapse: separate;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.box_news td {
    width: 718px;
    padding: 0px;
    background-color: #fff;
    border: 1px solid　#fff;
    font-size: 13px;
    color: #333333;
}

.box_news p{
    width: 670px;
    font-size: 13px;
    margin-top: 10px;
    margin-left: 0em;
    margin-right: 0em;
    margin-bottom: 10px;
    padding: 0px 10px 0px 20px;
    line-height: 1.5;
}



/*-----------------------------------------------------------------------*/
/* Side */
/*-----------------------------------------------------------------------*/
#side {
    width: 220px;
    float: left;
    padding: 0px 0px 30px 0px;
    margin: 0px;
    background-color: #fff;
}

#side h3 {
    margin-bottom: 10px;
    padding-bottom: 30px;
}

#side .comm {
    background-color: #ffffff;
    width: 190px;
    font-size:12px;
    color: #333;
    text-align: left;
    line-height: 20px;
    list-style-type: none; 
    margin-left: 10px; 
    margin-right: 0px; 
    margin-top: 20px;
    margin-bottom: 0px;
    padding-left: 5px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

#side .comm_s {
    background-color: #ffffff;
    width: 210px;
    font-size: 10.5px;
    color: #888888;
    text-align: left;
    line-height: 1.5;
    list-style-type: none; 
    margin-left:  0px; 
    margin-right: 0px; 
    margin-top: 20px;
    margin-bottom: 0px;
    padding-left: 5px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    vertical-align: top;
}

#side #navi {
    width: 200px;
    margin: 0px auto;
    padding: 2px 2px 2px 2px;
    vertical-align: top;
}

#side .picbn {
    width: 200px;
    margin: 0px auto;
    padding: 5px 5px 2px 2px;
    vertical-align: top;
}

#side .btn {
    width: 190px;
    margin-left: 0px;
    margin-right: auto;
    margin-bottom: 30px;
    font-size: 12px;
    color: #fff;
    line-height: 10px;
    list-style: none;
}

#side .btn li {
    background-color: #ffffff;
    border-bottom: 1px dotted #9B68A9;
    width: 190px;
    height: 50px;
    font-size: 12px;
    color: #FFFFFF;
    text-align: left;
    line-height: 50px;
    text-decoration: none; 
    list-style-type: none; 
    margin-left: 10px; 
    margin-right: -10px; 
    margin-top: 0px;
    margin-bottom: 1px;
    padding-left: 5px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 2px;
    border-radius: 4px 2px 2px 4px;
}

#side .btn li a {
    background-repeat: repeat-x;
    filter: alpha ( opacity=75 ) ;
    width: 190px;
    height: 50x;
    text-decoration: none;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    border-bottom: 1px dotted #231815;
}

#side .btn li a: hover {
    font-color: #9B68A9;
    letter-spacing: 5px;
    background-color: rgba(255, 255, 255, .2);
}

#side .btn　li a: visited {
    font-color: #ffffff;
}



/*-----------------------------------------------------------------------*/
/* Bread */
/*-----------------------------------------------------------------------*/

/* リスト */
ol.topic-path {
    margin: 0; /* マージン（上下左右） */
    padding: 7px 5px; /* パディング（上下、左右） */
    background-color: #fff; /* 背景色 */
    list-style-type: none; /* リストマーク非表示 */
    font-size: 12px; /* 文字サイズ */
    color: #666666;
}

/* リスト項目 */
ol.topic-path li {
    padding-left: 5px; /* 左パディング */
    display: inline; /* 項目を横並び */
}

/* リスト項目（最初の項目） */
    ol.topic-path li.first {
    padding-left: 25px; /* 左パディング */
    background: url('img/common/bread/topic-path-home-green.png') no-repeat left; /* ホーム記号（※） */
}

/* リンクエリア */
ol.topic-path li a {
    padding-right: 18px; /* 右パディング */
    background: url('img/common/bread/topic-path-gray.gif') no-repeat right; /* 矢印記号（※） */
}

/* リンク色 */
ol.topic-path li a {
    color: #4682b4;
}

/* リンク色（マウスオーバー） */
ol.topic-path li a:hover {
    color: #79a7cc;
}



/*-----------------------------------------------------------------------*/
/* Footer */
/*-----------------------------------------------------------------------*/

#footer {
    width: 1020px;
    clear: both;
    color: #fff;
    background: #fff;
    margin-left: auto;
    margin-right: auto;
}

#footer #border {
    border-top: solid 2px #888888;
    border-style: dotted;
    margin-top: 5px;
    margin-bottom: 5px;
}

#footer #address {
    padding: 10px 10px;
    text-align: right;
    font-size:  12px;
    color: #FFFFFF;
    background: #CC9966;
    font-style: normal;
    margin-right: auto;
    margin-bottom: 30px;
    border-radius: 0 0 4px 4px;	
}

#footer ul {
    list-style-type: none;
    padding-left: 0px;
    text-align: center;
    margin: 5px 0px;
}

#footer li {
    background: #fff;
    padding: 0px;
    margin: 0px 10px;
    font-size: 12px;
    display: inline;
}
    
#all #footer {
    position: relative;
    z-index: 15;
    height: 150px;
    background-color: #ffffff;
    background-repeat: repeat-x;
    -webkit-box-shadow: 0 0 30px 0 #bbb; box-shadow: 0 0 30px 0 #bbb; /*shadow*/
}



/*-----------------------------------------------------------------------*/
/* Image */
/*-----------------------------------------------------------------------*/

.image img {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}



/*-----------------------------------------------------------------------*/
/* Anchor */
/*-----------------------------------------------------------------------*/

a:link {
    color:#231815;
    text-decoration:none;
}

a:visited {
    color:#231815;
    text-decoration:none;
}

a:hover {
    color: #9B68A9;
    text-decoration:none;
}

a.current {
    color:#231815;
    cursor:default;
}



/*-----------------------------------------------------------------------*/
/* PageTop */
/*-----------------------------------------------------------------------*/

#page-top {
    z-index: 40;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}

#page-top a {
    background: #888;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
    background: #666;
}



/*-----------------------------------------------------------------------*/
/* Hr */
/*-----------------------------------------------------------------------*/

hr {
    width: 780px;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 1px;
    background: #bbb;
    background-image: -webkit-linear-gradient(left, #eee, #888, #eee);
    background-image: -moz-linear-gradient(left, #eee, #888, #eee);
    background-image: -ms-linear-gradient(left, #eee, #888, #eee);
    background-image: -o-linear-gradient(left, #eee, #888, #eee);
}



/*-----------------------------------------------------------------------*/
/* H1 */
/*-----------------------------------------------------------------------*/

h1 {
    position: relative;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-family: メイリオ;
    font-weight: normal;
}

h1 span {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: 0 4em;
    padding: 0 1em;
    background-color: #fff;
    text-align: left;
}

h1::before {
    position: absolute;
    top: 50%;
    z-index: 1;
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #ccc;
    background: -webkit-linear-gradient(-45deg, transparent, #ccc 10%, #ccc 90%, transparent);
    background: linear-gradient(-45deg, transparent, #ccc 10%, #ccc 90%, transparent);
}



/*-----------------------------------------------------------------------*/
/* H4 */
/*-----------------------------------------------------------------------*/
h4 {
    position: relative;
    padding: 1em 4em 1em 1em;
    -webkit-background: linear-gradient(-155deg, rgba(0, 0, 0, 0) 1.5em, #f6f6f6 0%);
    background: linear-gradient(-155deg, rgba(0, 0, 0, 0) 1.5em, #f6f6f6 0%);
    border-radius: 6px;
}

h4::after {
    position: absolute;
    top: 0;
    right: 0;
    content: '';
    width: 1.65507em;
    height: 3.5493em;
    background: -webkit-linear-gradient(to left bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .2));
    background: linear-gradient(to left bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .2));
    border-bottom-left-radius: 6px;
    box-shadow: -.2em .2em .3em -.1em rgba(0, 0, 0, .15);
    -webkit-transform: translateY(-1.89424em) rotate(-40deg);
    transform: translateY(-1.89424em) rotate(-40deg);
    -webkit-transform-origin: bottom right;
    transform-origin: bottom right;
}



/*-----------------------------------------------------------------------*/
/* margin-bottom */
/*-----------------------------------------------------------------------*/

.mab10 {
    margin-bottom: 10px;
}

.mab20 {
    margin-bottom: 20px;
}

.mab30 {
    margin-bottom: 30px;
}

.mab50 {
    margin-bottom: 50px;
}

.mab80 {
    margin-bottom: 80px;
}
