
.flex{
  padding: 2.5% 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  ;
}
.flex > *{
  width: 25%;
  background: #fff;
  font-size: 64px;
  text-align: center;
}

figure {
    margin: 8px 8px 8px 8px; /* 外側に余白を加える(右に7px・下に7px) */
    background-color: #ffffff;  /* 背景色 */
}
figure img {
    width: 100%;
    display: block;          /* 余計な余白が出ないようにする */
    margin: 0px 0px 3px 0px; /* 下側にだけ3pxの余白を追加 */
}
figcaption {
    font-size: 0.9em;        /* 文字サイズを90%に */
    text-align: center;      /* 中身をセンタリング */
}
div.imagearea:after {
    content: "";      /* ※Clearfix */
    clear: both;
    display: block;
}

/* フレックスボックスの基本設定 等間隔（両端揃え）折返しあり */
[class^="flex-col"] {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* コンテンツ下のマージン */
.flex-child { margin-bottom: 10px; }

/* 各カラム毎のコンテンツと疑似要素の横幅 */
.flex-col2 .flex-child { width: calc( (100% - 100px) / 2 ); }

.flex-col3::after,
.flex-col3 .flex-child { width: calc( (100% - 100px) / 3 ); }

.flex-col4::before,
.flex-col4::after,
.flex-col4 .flex-child { width: calc( (100% - 100px) / 4 ); }

.flex-col6::before,
.flex-col6::after,
.flex-col6 .flex-child { width: calc( (100% - 100px) / 6 ); }
	
/* 最終行は両端揃えにしない */
.flex-col3::after,
.flex-col4::before,
.flex-col4::after { content: ""; }
.flex-col4::before { order: 1; }
.flex-col6::after { content: ""; }
.flex-col6::before { order: 1; }

/* レスポンシブ対応 */

/* 991px以下で4列 → 3列 */
@media screen and (max-width: 991px) {
	.flex-col4::after,
	.flex-col4 .flex-child { width: calc( (100% - 100px) / 3 ); }
	.flex-col6::after,
	.flex-col6 .flex-child { width: calc( (100% - 100px) / 3 ); }
}

/* 767px以下で4列・3列 → 2列 */
@media screen and (max-width: 767px) {
	.flex-col3 .flex-child,	
	.flex-col4 .flex-child { width: calc( (100% - 100px) / 2 ); }
	.flex-col6 .flex-child { width: calc( (100% - 100px) / 1 ); }
}

/* 575px以下で全て1列 */
@media screen and (max-width: 766px) {
	.flex-col2 .flex-child,
	.flex-col3 .flex-child,
	.flex-col4 .flex-child { width: 100%; }
	.flex-col6::after,
	.flex-col6 .flex-child { width: calc( (100% - 100px) / 2 ); }
}

table{
  border-collapse:collapse;
  margin:0 auto;
}
td,th{
  border:1px solid #ccc;
  padding:10px;
}
th{
  background:#EFEFEF;
}

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 0 auto;}

/*タブのスタイル*/
.tab_item {
  width: calc(50%);
  height: 50px;
  border-bottom: 3px solid #e6432e;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0 40px;
  clear: both;
  overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/
#aaa:checked ~ #aaa_content,
#bbb:checked ~ #bbb_content,
#ccc:checked ~ #ccc_content,
#ddd:checked ~ #ddd_content,
#eee:checked ~ #eee_content,
#fff:checked ~ #fff_content,
#ggg:checked ~ #ggg_content,
#hhh:checked ~ #hhh_content,
#iii:checked ~ #iii_content,
#aaa2:checked ~ #aaa2_content,
#bbb2:checked ~ #bbb2_content,
#ccc2:checked ~ #ccc2_content,
#ddd2:checked ~ #ddd2_content,
#eee2:checked ~ #eee2_content,
#fff2:checked ~ #fff2_content,
#ggg2:checked ~ #ggg2_content,
#hhh2:checked ~ #hhh2_content,
#iii2:checked ~ #iii2_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #e6432e;
  color: #fff;
}

/*タブ切り替え全体のスタイル2*/
.tabs2 {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 0 auto;}
.tabs3 {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 0 auto;}

/*タブのスタイル*/
.tab2_item {
  width: calc(11.1%);
  height: 60px;
  border-bottom: 3px solid #e6432e;
  background-color: #d9d9d9;
  line-height: 1.5;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.paditop-18 {
  padding-top: 18px;
}
.paditop-6 {
  padding-top: 6px;
}
.tab2_item span {
  font-size: 13px;
}
.tab3_item {
  width: calc(11.1%);
  height: 50px;
  border-bottom: 3px solid #e6432e;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab2_item:hover {
  opacity: 0.75;
}
.tab3_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab2_item"] {
  display: none;
}
input[name="tab3_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab2_content {
  display: none;
  padding: 40px 40px 0 40px;
  clear: both;
  overflow: hidden;
}
.tab3_content {
  display: none;
  padding: 40px 40px 0 40px;
  clear: both;
  overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/
#aaa:checked ~ #aaa_content,
#bbb:checked ~ #bbb_content,
#ccc:checked ~ #ccc_content,
#ddd:checked ~ #ddd_content,
#eee:checked ~ #eee_content,
#fff:checked ~ #fff_content,
#ggg:checked ~ #ggg_content,
#hhh:checked ~ #hhh_content,
#iii:checked ~ #iii_content,
#aaa2:checked ~ #aaa2_content,
#bbb2:checked ~ #bbb2_content,
#ccc2:checked ~ #ccc2_content,
#ddd2:checked ~ #ddd2_content,
#eee2:checked ~ #eee2_content,
#fff2:checked ~ #fff2_content,
#ggg2:checked ~ #ggg2_content,
#hhh2:checked ~ #hhh2_content,
#iii2:checked ~ #iii2_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs2 input:checked + .tab2_item {
  background-color: #e6432e;
  color: #fff;
}
.tabs3 input:checked + .tab3_item {
  background-color: #e6432e;
  color: #fff;
}
@media only screen and (max-width:767px) {
  .tab2_item {
    width: calc(33.3%);
  }
  .tab2_content {
    padding: 30px 8px 0 8px;
  }
}

tablea{
  width: 100%;
  border-collapse:separate;
  border-spacing: 0;
}

tablea th:first-child{
  border-radius: 5px 0 0 0;
}

table th:last-child{
  border-radius: 0 5px 0 0;
  border-right: 1px solid #3c6690;
}

tablea th{
  text-align: center;
  color:white;
  background: linear-gradient(#829ebc,#225588);
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  width: 20%;
  padding: 10px 0;
}

tablea td{
  text-align: center;
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  width: 20%;
  padding: 10px 0;
}

tablea td:last-child{
  border-right: 1px solid #a8b7c5;
}

tablea tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

tablea tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}


/*文字調整*/
.calculation {
  
}
.calculation h4 {
  font-size: 22px;
}
.calculation p {
  margin-bottom: 10px;
  line-height: 2;
}
.calculation p span {
  font-weight: 600;
}

/*ボタンバナー*/
.btn-sticky {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #f7f7f7;
  border-left: solid 6px #e6432e;/*左線*/
  color: #e6432e;/*文字色*/
  font-weight: bold;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
}
.btn-sticky:active {
  box-shadow: inset 0 0 2px rgba(128, 128, 128, 0.1);
  transform: translateY(2px);
}

/* 文字装飾囲い */
.demo {
  width: 80%;
  margin: 0 auto;
  padding: 10px 0;
  font-family: sans-serif;
  font-size: 20px;
  color:#e6432e;
}
.heading {
  margin: 10px 0
}

.demo1 .wrapper {
  padding: 5px;
  text-align: center;
  border: 3px solid;
  border-top: none;
  width: 500px;
}

.demo1 .wrapper .caption {
  -ms-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  overflow: hidden;
  margin: -5px -8px 0 -8px;
  position: absolute;
  width: 516px;
  font-size: 16px;
}

.demo1 .wrapper .caption:before,
.demo1 .wrapper .caption:after {
  content: "";
  position: absolute;
  width: 100%;
  margin-top: -2px;
  border-top: 3px solid;
  top: 50%;
}

.demo1 .wrapper .caption:before {
  -ms-transform: translate(-100%, 0);
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
  margin-left: -30px;
}

.demo1 .wrapper .caption:after {
  margin-left: 30px;
}

.demo4 .heading {
  padding: 15px 5px;
  margin: 10px -20px;
  border: solid 3px #e6432e;
  position:relative;
  text-align: center;
  border-radius: 3px;
  background: #fff;
}
.demo4 .heading:after,
.demo4 .heading:before {
  content: '';
  position: absolute;
  bottom: -7px;
  background: #e6432e;
  border: solid 2px #e6432e;
  width: 25px;
  height: 20px;
  z-index: -1;
}
.demo4 .heading:after {
     left: 2px;
     transform: rotate(120deg);
}
.demo4 .heading:before {
    right: 2px;
    transform: rotate(60deg);
}

.circle{
	width:100%;
	text-align:center;
}
.circle h2{
	position:relative;
	display:inline-block;
	padding:16px 40px;
	border-top:2px solid #111;
}
.circle h2:before, .circle h2:after{
	content:"";
	display:block;
	width:8px;
	height:8px;
	border-radius:50%;
	background:#111;
	position:absolute;
	top:-5px;
}
.circle h2:before{left:-4px;}
.circle h2:after{right:-4px;}


/*ボタンバナー*/
.btn-sticky {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #f7f7f7;
  border-left: solid 6px #e6432e;/*左線*/
  color: #e6432e;/*文字色*/
  font-weight: bold;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
}
.btn-sticky:active {
  box-shadow: inset 0 0 2px rgba(128, 128, 128, 0.1);
  transform: translateY(2px);
}

/* スマート　囲み枠　2 */
.kakomi-smart2 {
 position: relative;
 margin: 2em auto;
 padding: 3em 1em .8em;
 width: 90%; /* ボックス幅 */
 border-style: solid;
 border-width: 5px 0 0 0;
 border-color: #e6432e; /* 枠の色 */
 background-color: #f5f5f5; /* 背景色 */
 color: #666; /* テキスト色 */
 box-shadow: 0 0 3px #999; /* 影の色 */
}
.title-smart2{
 position: absolute;
 display: inline-block;
 width: 90%;
 text-align: center;
 top: 8px;
 left: 15px;
 background-color: #f5f5f5; /* タイトル背景色 */
 color: #907b6e; /* タイトル色 */
 font-size: 1.1em;
 font-weight: bold;
}

/* ステップ */
.step{
  list-style-type: none;
  padding: 30px 0 0 0;
  margin:0;
}
.step li{
  position: relative;
  width:100%;
  background: #504944;
  padding: 1em;
  margin-bottom: 1em;
  text-align:center;
  color: #fff;
}

.step li:after{
  content: "";
  position: absolute;
  width: 90%;
  height: 0;
  bottom: -10px;
  left: 0;
  border-style: solid;
  border-color: #504944 transparent transparent transparent;
  border-width: 10px 125px 0 125px;
  z-index: 1;
}

.step li.is-current{
  background: #808080;
  font-weight: bold;
}
.step li.is-current:after{
  border-color: #808080 transparent transparent transparent;
  border-width: 10px 2em;
  left: 50%;
  margin-left: -28px;
  top: 54px;
}

/* 文字装飾囲い */
.demo {
  width: 80%;
  margin: 0 auto;
  padding: 10px 0;
  font-family: sans-serif;
  font-size: 20px;
  color:#e6432e;
}
.heading {
  margin: 10px 0
}


.demo1 .wrapper {
  padding: 5px;
  text-align: center;
  border: 3px solid;
  border-top: none;
  width: 500px;
}

.demo1 .wrapper .caption {
  -ms-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  overflow: hidden;
  margin: -5px -8px 0 -8px;
  position: absolute;
  width: 516px;
  font-size: 16px;
}

.demo1 .wrapper .caption:before,
.demo1 .wrapper .caption:after {
  content: "";
  position: absolute;
  width: 100%;
  margin-top: -2px;
  border-top: 3px solid;
  top: 50%;
}

.demo1 .wrapper .caption:before {
  -ms-transform: translate(-100%, 0);
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
  margin-left: -30px;
}

.demo1 .wrapper .caption:after {
  margin-left: 30px;
}

.demo4 .heading {
  padding: 15px 5px;
  margin: 10px -20px;
  border: solid 3px #e6432e;
  position:relative;
  text-align: center;
  border-radius: 3px;
  background: #fff;
}
.demo4 .heading:after,
.demo4 .heading:before {
  content: '';
  position: absolute;
  bottom: -7px;
  background: #e6432e;
  border: solid 2px #e6432e;
  width: 25px;
  height: 20px;
  z-index: -1;
}
.demo4 .heading:after {
     left: 2px;
     transform: rotate(120deg);
}
.demo4 .heading:before {
    right: 2px;
    transform: rotate(60deg);
}