

/*
 * 内容 : ページ先頭の目次
 * 使い方例 : 
 * <div class="toc-001">
 * <div>
 *      目次
 *  </div>
 *  <ol>
 *      <li><a href="#">見出し1</a></li>
 *      <li>
 *          <a href="#">見出し2</a>
 *          <ol>
 *              <li><a href="#">見出し2-1</a></li>
 *              <li><a href="#">見出し2-2</a></li>
 *          </ol>
 *      </li>
 *  </ol>
 * </div>
 */

.toc-001 {
    margin-bottom: 30px;
    padding: 1em 1em 1em 2em;
    border: 1px solid #999;
    background-color: #f7f7f7;
    color: #333333;
}

.toc-001 div {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 5px 0;
}

.toc-001 ol {
    list-style-type: decimal;
    margin: 0;
    padding: 0 1.2em;
    overflow: hidden;
}

.toc-001 ol ol {
    margin-top: 5px;
}

.toc-001 li {
    padding: 5px 0;
}

.toc-001 a {
    color: #166c9d;
}


/*
 * 内容 : ワンポイント見出し
 * <h2 class="circle">見出し２</h2>
 */

.circle {
	position: relative;
	padding: 0 .5em .5em 2em;
	border-bottom: 1px solid #ff5a5f;
    display:inline-block;
}
.circle::before,
.circle::after {
	position: absolute;
	content: '';
	border-radius: 100%
}
.circle::before {
	top: .2em;
	left: .2em;
	width: 18px;
	height: 18px;
	background-color: rgba(255,90,95,.5);
	z-index: 2;
}
.circle::after {
	top: .7em;
	left: .7em;
	width: 13px;
	height: 13px;
	background-color: rgba(255,90,95,.2);

}

/*
 * 内容 : 影付きbox
 * 使い方
<div class="flame04">
<p>ここに文章</p>
</div>
 *
 */
.flame04 {
    margin: 2em auto;
    padding: 1em;
    width: 100%;
    border: 1px solid #a9a9a9;
    background-color: #fff;
    box-shadow: 1.5px 1.5px 2px #696969;
}


/*
 * 内容 : ボックス上にラベル
 * 使い方例 :
<div class="box27">
    <span class="box-title">ここにタイトル</span>
    <p>ここに文章</p>
</div>
 * */

.box27 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
}
.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box27 p {
    margin: 0; 
    padding: 0;
}


/*
 * 内容 : ボックス内にラベル
 * 使い方例 :
 * <div class="box28">
 *    <span class="box-title">ここにタイトル</span>
 *    <p>ここに文章</p>
 * </div>
 * */

.box28 {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px #FFC107;
}
.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #FFC107;
    color: #ffffff;
    font-weight: bold;
}
.box28 p {
    margin: 0; 
    padding: 0;
}



/*
 * 内容 : google map 整形
 * */

/* 横幅を指定するための要素 */
.map-wrap {
  max-width: 80%; /* ここに横幅を指定 */
}

.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}
 
/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*
 * 内容 : テキストの両端に棒
 * 使い方例 : <h2 class="heading">あしらい</h2>
 * */
.heading {
  display: flex;
  align-items: center;
/*font-size: 20px;  */
/*color: #000;      */
  &::before,&::after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #000;
  }
  &::before {
    margin-right: 1rem;
  }
  &::after {
    margin-left: 1rem;
  }
}

/*
 * 内容 : テキストの右側に棒
 * 使い方例 : <h2 class="heading_right">あしらい</h2>
 * */

.heading_right {
  display: flex;
  align-items: center;
  &::after {
    border-top: 1px solid;
    content: "";
    flex-grow: 1;
    display: block;
    height: 1px;
  }

  &::after {
    margin-left: 1rem;
  }
}

/*
 * 内容 : テキストの左側に棒
 * 使い方例 : <h2 class="heading_left">あしらい</h2>
 * */

.heading_left {
  display: flex;
  align-items: center;
  &::before {
    border-top: 1px solid;
    content: "";
    flex-grow: 1;
    display: block;
    height: 1px;
  }
  &::before {
    margin-right: 1rem;
  }
}

.toppage_icon {
    /*
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    */
    width: 200px;
    height: 200px;
}

.toppage_icon_wide {

    width: 400px;
    height: 200px;

}

.toppage_icon_text {
    font-size: 18px;
}


/* ---------- 文字列点滅 ---------- */

.blinking{
	-webkit-animation:blink 1.5s ease-in-out infinite alternate;
    -moz-animation:blink 1.5s ease-in-out infinite alternate;
    animation:blink 1.5s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}



/* ------------------------- */


.newinfo {
  position: relative;
  padding: 1rem 2rem;
/*text-align: center;*/
  border: 3px solid #000;
}

.newinfo:before {
  font-size: 18px;
/*font-size: 1.2rem;*/
  position: absolute;
  top: -39px;
  left: -3px;
  height: 12px;
  padding: 0.5em 1em 1em 1em;
  content: '新着情報';
  color: #fff;
  background: #000;
}


