/*
Theme Name:teniku Child
Template:tenjiku_tcd091
*/

a {
  cursor: pointer;
}

p.left {
  text-align: left;
}

p.center {
  text-align: center;
}

h3 .rich_font_type2 {
  font-family: serif;
}

/*ーーーーーーーーー　スマホPC表示　ーーーーーーーーー*/
@media(min-width:751px) {

  /*PCのとき非表示*/
  .sp {
    display: none !important;
  }
}

@media(max-width:750px) {

  /*スマホのとき非表示*/
  .pc {
    display: none !important;
  }
}

/*ーーーーーーーーー　スマホcss　ーーーーーーーーー*/
@media(max-width:750px) {
  .spleft {
    text-align: left !important;
  }
}

/*ーーーーーーーーー　image関係　ーーーーーーーーー*/
.content img.w100 {
  width: 100%;
  margin: auto;
  height: auto;
}

.content img.w50 {
  width: 50%;
  margin: auto;
  height: auto;
}

.content img.w30 {
  width: 30%;
  margin: auto;
  height: auto;
}

.content img.col3_image {
  width: 100%;
  margin: auto;
  height: auto;
}

img.img800 {
  max-width: 800px;
  margin: auto;
}

/*flex-box*/
*, *:before, *:after {
  box-sizing: border-box;
}

.col_3 {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}

.col_3 img {
  width: 100%;
}

.col_3>* {
  width: calc(33.33333% - 8px);
  margin-right: 12px;
  margin-bottom: 12px;
}

.col_3>*:nth-child(3n) {
  margin-right: auto;
}

.col_3>*>* {
  background: #ff0000;
  height: 260px;
  position: relative;
  overflow: hidden
}

@media screen and (max-width: 960px) {
  .col_3>* {
    width: calc(50% - 6px);
  }

  .col_3>*:nth-child(3n) {
    margin-right: 12px;
  }

  .col_3>*:nth-child(2n) {
    margin-right: auto;
  }
}

@media screen and (max-width: 580px) {
  .col_3>* {
    width: 100%;
    margin-right: auto;
  }

  .col_3>*:nth-child(3n) {
    margin-right: auto;
  }
}

*, *:before, *:after {
  box-sizing: border-box;
}

.col_2 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.col_2>* {
  width: calc(50% - 6px);
  margin-right: 12px;
  margin-bottom: 12px;
}

.col_2>*:nth-child(2n) {
  margin-right: auto;
}

.col_2>*>* {
  background: #ff0000;
  height: 120px;
  position: relative;
  overflow: hidden
}

@media screen and (max-width: 960px) {
  .col_2>* {
    width: 100%;
    margin-right: auto;
  }
}

/*ーーーーーーーーー　余白関連　ーーーーーーーーー*/
.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

/*ーーーーーーーーー　footer　ーーーーーーーーー*/
div.shop {
  display: block;
  padding: 10%;
  margin: auto;
  text-align: center;
}

.cb_design_content .content .flex3box {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  text-align: center;
}

.cb_design_content .content .flex3box .item {
  margin-left: 20px;
  width: 390px;
}

.cb_design_content .content .flex3box .item img {
  width: 390px;
  margin: auto;
}

.cb_design_content .content {
  width: 1130px;
  margin: 0 auto;
  z-index: 3;
  position: relative;
  text-align: center;
}

/* -------------------------------------
 * timeline
 * ------------------------------------- */
.timeline {
  width: 96%;
  max-width: 940px;
  margin: 28px auto;
  /*border: 1px solid #eeeeee;*/
}

.timeline-list {
  padding: 40px 0;
}

.timeline-list-item {
  display: flex;
  line-height: 1.5;
  font-size: 16px;
}

.timeline-list-item .date {
  width: 20%;
  padding: 0 0 0 20px;
  color: #888888;
  font-weight: bold;
}
@media(min-width:751px) {
  .date {
    width: 20%;
    padding: 0 0 0 20px;
    color: #888888;
    font-size: 10px;
  }
}
.timeline-list-item .content {
  position: relative;
  width: 90%;
  padding: 0 20px 30px 30px;
  border-left: 1px solid #aaaaaa;
}

.timeline-list-item .content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px; //widthの半分の値を指定
  width: 20px;
  height: 20px;
  background-color: #00c2bc;
  border-radius: 10px;
}

/* 社長メッセージ */
div.boss {
  width: 80%;
  margin: 30px auto;
  display: block;
}

div.boss div.boss-left {
  width: 20%;
  margin: 0 0 auto;
  float: left;
  clear: both;
}

@media(max-width:750px) {
  div.boss {
    width: 100%;
    margin: auto;
  }

  div.boss div.boss-left, div.boss {
    width: 100% !important;
    margin: auto;
  }

  div.boss div.boss-right, div.boss {
    width: 100% !important;
    margin: auto;
  }
}

div.boss div.boss-left img {
  max-width: 300px;
  margin: auto;
}

div.boss div.boss-right {
  width: 60%;
  text-align: left;
  float: right;
  margin: auto;
}

div.boss div.boss-full {
  width: 100%;
  margin: 10px 0 0 0;
  text-align: left;
  clear: both;
}

div.boss div.boss-full h2.hl2 {
  margin: 40px auto 20px auto;
  font-size: 20px;
  text-align: center;
  display: block;
}

/* 左右２カラム */
.container2 {
  display: flex;
  max-width: 1180px;
  margin: auto;
  justify-content: space-between;
}

@media screen and (max-width: 599px) {
  .container1 {
    flex-direction: column;
  }
}

.container1 {
  display: flex;
  max-width: 1180px;
  margin: 0 auto;
}

.container1 ol {
  margin: 20px 30px;
}

.container1 ol li {
  list-style-type: decimal;
}

.container1 h3 {
  font-size: 130%;
  margin: 10px auto;
}

.container1 h3 small {
  font-size: 50%;
}

@media screen and (max-width: 599px) {
  .container1 {
    flex-direction: column;
  }
}

.main1 {
  width: calc(100% - 200px);
  line-height: 2em;
  padding-left: 30px;
  vertical-align: middle;
  margin: auto;
}

@media screen and (max-width: 599px) {
  .main1 {
    width: 100%;
    padding: 10px 0 0 0;
  }
}

.side1 {
  width: 200px;
  vertical-align: middle;
  margin: auto;
}

@media screen and (max-width: 599px) {
  .side1 {
    width: 100%;
  }
}

.side1 img {
  width: 100%;
}

.main2 {
  width: calc(100% - 200px);
  line-height: 2em;
  padding-right: 30px;
  vertical-align: middle;
  margin: auto;
  text-align: left;
}

@media screen and (max-width: 599px) {
  .main2 {
    width: 100%;
    padding: 0 0 10px 0;
  }
}

.side2 {
  width: 200px;
  vertical-align: middle;
  margin: auto;
}

@media screen and (max-width: 599px) {
  .side2 {
    width: 100%;
  }
}

.side2 img {
  width: 100%;
}

.main300 {
  width: calc(100% - 300px);
  line-height: 2em;
  padding-left: 30px;
  vertical-align: middle;
  margin: auto;
  text-align: left;
}

@media screen and (max-width: 599px) {
  .main300 {
    width: 100%;
    padding: 10px 0 0 0;
  }
}

.side300 {
  width: 300px;
  margin: auto;
  display: flex;
  /*子要素に追加*/
  flex-direction: column;
  height: auto;
}

@media screen and (max-width: 599px) {
  .side300 {
    width: 100%;
  }
}

.side300 img {
  width: 100%;
}

/*table*/
.table_design03 {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
}
.table_design03 th, .table_design03 td {
  border-bottom: 2px solid #c1c7c6;
  padding: 1em;
}
.table_design03 th {
  border-bottom: 2px solid #FFCC00;;
  font-weight: bold;
  text-align: center;
  width: 20%;
  min-width: 4em;
}

/*　table　３カラム　*/
table.tb3{
  border-collapse: collapse;
  width: 100%;
  margin: 30px;
}
table.tb3 th,
table.tb3 td{
  padding: 10px;
  text-align:center;
  box-sizing:border-box;
}
table.tb3 th {
  color: #fff;
}
@media screen and (max-width: 640px) {
table.tb3 {
    width: 100%;
    margin: 20px auto;
  }
  table.tb3 th,
  table.tb3 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  table.tb3 tr:last-child{

  }
}

p.right{
  display: block;
  text-align: right;
}
span.sign{
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 200%;
}


/*吹き出し*/
/* 全体 */
.sb-box {
  position: relative;
  overflow: hidden;
}
/* アイコン画像 */
.icon-img {
  position: absolute;
  overflow: hidden;
  top: 0; /* 画像の位置を上から0に */
  width: 80px; /* 画像の幅 */
  height: 80px; /* 画像の高さ */
  display: flex;
}
/* アイコン画像（左） */
.icon-img-left {
  left: 0; /* 画像の位置を左から0に */
}
/* アイコン画像（右） */
.icon-img-right {
  right: 0; /* 画像の位置を右から0に */
}
/* アイコン画像 */
.icon-img img {


}
/* アイコンネーム */
.icon-name {
  position: absolute;
  width: 80px; /* ネームの最大幅を画像と同じに */
  text-align: center; /* ネームの位置をセンターに */
  top: 83px; /* ネームの位置を上から83に */
  color: #777; /* ネームのカラー */
  font-size: 10px; /* ネームのフォントサイズ */
}
/* アイコンネーム（左） */
.icon-name-left {
  left: 0; /* ネームの位置を左から0に */
}
/* アイコンネーム（右） */
.icon-name-right {
  right: 0; /* ネームの位置を右から0に */
}
/* 吹き出し */
.sb-side {
  position: relative;
  float: left;
  margin: 0 105px 40px 105px; /* 吹き出しの上下左右の余白 */
}
.sb-side-right {
  float: right;
}
/* 吹き出し内のテキスト */
.sb-txt {
  position: relative;
  border: 2px solid #eee; /* 吹き出しの縁取りの太さとカラー */
  border-radius: 6px; /* 吹き出しを角丸に */
  background: #fff; /* 吹き出しの背景色 */
  color: #333; /* 吹き出し内のテキストのカラー */
  font-size: 15px; /* 吹き出し内のフォントサイズ */
  line-height: 1.7; /* 吹き出し内のテキストが2行以上になった時の行間 */
  padding: 18px; /* 吹き出し内の上下左右の余白 */
}
.sb-txt > p:last-of-type {
  padding-bottom: 0; /* 吹き出し内のテキストを改行した場合、最後のpタグにpadding-bottomをつけない */
  margin-bottom: 0; /* 吹き出し内のテキストを改行した場合、最後のpタグにmargin-bottomをつけない */
}
/* 吹き出しの三角 */
.sb-txt:before {
  content: "";
  position: absolute;
  border-style: solid;
  top: 16px; /* 吹き出し内の三角の位置 */
  z-index: 3;
}
.sb-txt:after {
  content: "";
  position: absolute;
  border-style: solid;
  top: 15px; /* beforeより-1px */
  z-index: 2; /* beforeより-1 */
}
/* 吹き出しの三角（左） */
.sb-txt-left:before {
  left: -7px;
  border-width: 7px 10px 7px 0;
  border-color: transparent #fff transparent transparent; /* 背景色と同じカラーに */
}
.sb-txt-left:after {
  left: -10px; /* beforeより-3px */
  border-width: 8px 10px 8px 0; /* beforeより上下+1px */
  border-color: transparent #eee transparent transparent; /* 縁取りと同じカラーに */
}
/* 吹き出しの三角（右） */
.sb-txt-right:before {
  right: -7px;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #fff; /* 背景色と同じカラーに */
}
.sb-txt-right:after {
  right: -10px; /* beforeより-3px */
  border-width: 8px 0 8px 10px; /* beforeより上下+1px */
  border-color: transparent transparent transparent #eee; /* 縁取りと同じカラーに */
}

/* 767px（iPad）以下 */

@media (max-width: 767px) {
  /* アイコン画像 */
  .icon-img {
    width: 60px; /* 画像の幅を-20px */
    height: 60px; /* 画像の高さを-20px */
  }
  /* アイコンネーム */
  .icon-name {
    width: 60px; /* 画像の幅に合わせて-20px */
    top: 62px; /* ネームの位置を上から62に */
    font-size: 9px; /* ネームのフォントサイズを-1px */
  }
  /* 吹き出し（左） */
  .sb-side-left {
    margin: 0 0 30px 78px; /* 吹き出し（左）の上下左右の余白を狭く */
  }
  /* 吹き出し（右） */
  .sb-side-right {
    margin: 0 78px 30px 0; /* 吹き出し（右）の上下左右の余白を狭く */
  }
  /* 吹き出し内のテキスト */
  .sb-txt {
    padding: 12px; /* 吹き出し内の上下左右の余白を-6px */
  }
}

li.timeline-list-item div.content{
  text-align: left;
}

/*　テーブルレスポンシブ　*/
.tb01 {/*　スマホ　*/
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%; /* table幅を100%に指定 */
    background: #fff;
    border: none;
}
.tb01 th,
.tb01 td {
    display: block; /* セルをブロック要素に指定 */
    width: 100%; /* セルを親要素いっぱいの幅に指定 */
    border: none;
    font-size: 16px;
    padding: 10px;
    vertical-align: top;
    text-align: left;
    box-sizing: border-box;
    line-height: 2em;
}
.tb01 th {
    font-weight: 700;
    color: #fff;
    background: #14116e; /* thの背景色 */
    white-space: nowrap;
    margin: auto;
    text-align: center;
}


@media screen and (min-width: 768px) {/*　PC　768以上に適応　*/
    .tb01 th,
    .tb01 td {
        display: table-cell; /* デフォルト値に指定 */
        border-bottom: 1px solid #ccc;
        color: #000;
        background: #fff;
        margin: auto;
    }
    .tb01 th {
        color: #000;
        background: #fff; /* thの背景色 */
        width: 10em;
    }

}

/*サンプルのまま*/
.tb02 {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%; /* table幅を100%に指定 */
    background: #fff;
    border: none;
}
.sample1 th,
.sample1 td {
    display: block; /* セルをブロック要素に指定 */
    width: 100%; /* セルを親要素いっぱいの幅に指定 */
    border: none;
    font-size: 14px;
    padding: 10px;
    vertical-align: top;
    text-align: left;
    box-sizing: border-box;
}
.sample1 th {
    font-weight: 700;
    color: #fff;
    background: #14116e; /* thの背景色 */
}

@media screen and (min-width: 768px) {
    .sample1 th,
    .sample1 td {
        display: table-cell; /* デフォルト値に指定 */
        border-bottom: 1px solid #ccc;
        color: #000;
        background: #fff;
    }
    .sample1 th {
        color: #000;
        background: #fff; /* thの背景色 */
    }
    .sample1 tr th:first-child {
        width: 100px; /* thの固定幅 */
    }
}
