@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*
フッターロゴサイズ
　.footer-bottom-logo img {
　	height: auto;
　}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
}
 
/*1030px以下*/
@media screen and (max-width: 1030px){
}
 
/*768px以下*/
@media screen and (max-width: 768px){
}
 
/*480px以下*/
@media screen and (max-width: 480px){

margin-left: 10px;
margin-right: 10px;

}

.my-timeline > .timeline {
  display: flex;
  flex-direction: row;
  gap: 15px;
  padding: 0;
}

/************************************
** タイムライン横表示
************************************/
/* タイムラインアイテム */
.my-timeline > .timeline > .timeline-item {
  border: 0;
  overflow: unset;
  padding: 10px;
  width: 100%;
}

/* ポイント */
.my-timeline > .timeline > .timeline-item:before {
  border-radius: unset;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  height: 26px;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
}

.my-timeline > .timeline > .timeline-item:first-child:before {
  content: none;
}

/* ラベル */
.my-timeline > .timeline > .timeline-item .timeline-item-label {
  text-align: center;
  float: unset;
  padding: 0 0 0.5em 0;
  width: unset;
}

.my-timeline > .timeline > .timeline-item .timeline-item-content {
  border: 0;
  float: unset;
  padding: 0;
  width: unset;
}

@media (width <=480px) {
  .my-timeline > .timeline {
    flex-direction: column;
  }

  .my-timeline > .timeline > .timeline-item:not(:last-child) {
    border-bottom: 1px dashed var(--cocoon-custom-point-color);
  }

  .my-timeline > .timeline > .timeline-item:before {
    left: 50%;
    top: -22px;
    transform: translateX(-50%) rotate(90deg);
  }
}