@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ================================
   Travel Dogger 旅行ルート
================================ */

.td-route {
  counter-reset: route;
  width: 100%;
  max-width: 760px;
  margin: 30px auto;
  padding: 24px;
  box-sizing: border-box;
  background: #dceff7;
  border-radius: 18px;
  list-style: none;
}

.td-route li {
  counter-increment: route;
  position: relative;
  margin: 0;
  padding: 20px 20px 20px 82px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  line-height: 1.7;
}

/* 01・02・03...を自動表示 */
.td-route li::before {
  content: counter(route, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #79bfd3;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* 次のスポットを示す▼ */
.td-route li:not(:last-child)::after {
  content: "▼";
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  color: #5ca7bd;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
}

/* ▼用の余白 */
.td-route li:not(:last-child) {
  margin-bottom: 34px;
}

/* スポット名 */
.td-route li strong {
  display: inline-block;
  margin-bottom: 2px;
  font-size: 1.08em;
  line-height: 1.5;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/*1023px以下*/
@media screen and (max-width: 1023px){

  .td-route {
    max-width: 100%;
  }

}

/*834px以下*/
@media screen and (max-width: 834px){

  .td-route {
    padding: 20px;
    border-radius: 16px;
  }

  .td-route li {
    padding: 18px 18px 18px 76px;
  }

  .td-route li::before {
    left: 18px;
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

}

/*480px以下*/
@media screen and (max-width: 480px){

  .td-route {
    margin: 24px 0;
    padding: 14px;
    border-radius: 14px;
  }

  .td-route li {
    padding: 16px 14px 16px 64px;
    border-radius: 12px;
    font-size: 0.95em;
  }

  .td-route li::before {
    left: 12px;
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .td-route li strong {
    font-size: 1em;
  }

  .td-route li:not(:last-child) {
    margin-bottom: 32px;
  }

  .td-route li:not(:last-child)::after {
    bottom: -26px;
    font-size: 16px;
  }

}

