@charset "UTF-8";


.p-2col {
    width: 48%;
    max-width: 490px;
    float: left;
}

.p-2col:nth-child(even) {
    float: right;
}

.p-table {
    width: 100%;
    font-size: 18px;
    font-size: 1.8rem;
}

.p-table tr {
    border-bottom: dashed 1px #595757;
}

.p-table th {
    letter-spacing: 0.02em;
    text-align: left;
    width: 154px;
    vertical-align: top;
    padding: 25px 0;
}

.p-table td {
    vertical-align: top;
    padding: 25px 0;
}

.p-history {
  position: relative;
  border-collapse: separate;
  border-spacing: 0 20px;
}

.p-history::before {
  content: "";
  position: absolute;
  top: 80px; /* 最初の●の中心に合わせて調整 */
  height: calc(94% - 80px); /* 全体高さから上下を差し引いて終点を最後の●の中心に */
  left: 9px; /* ●の中心にあわせる */
  width: 2px;
  border-left: 2px solid;
  border-image: repeating-linear-gradient(
    to bottom,
    #4caf50 0,
    #4caf50 4px,
    transparent 4px,
    transparent 12px
  ) 1;
  z-index: 0;
}

.p-history tr {
    border-bottom: dashed 1px #595757;
}

.p-history th {
  display: flex;
  align-items: center; /* ←縦中央揃えのカギ！ */
  position: relative;
  padding: 25px 0 25px 30px;
  text-align: left;
  width: 160px;
  vertical-align: top;
  white-space: nowrap;
}

.p-history th::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 14px;
  height: 14px;
  background-color: #4caf50;
  border-radius: 50%;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}

.p-history td {
    padding: 25px 0;
    vertical-align: top;
}

.p-history th span {
    position: relative;
}

.p-history th span:before {
    content: none;
}


.p-line {
    position: relative;
}

.p-detail dt {
    font-size: 20px;
    font-size: 2.0rem;
    letter-spacing: 0.02em;
    border-bottom: dashed 1px #595757;
    padding-bottom: 20px;
}

.p-detail dt span {
    display: block;
    font-size: 22px;
    font-size: 2.2rem;
}

.p-detail dd {
  padding-top: 20px;
}

.p-head {
    display: block;
    font-size: 30px;
    font-size: 3rem;
    padding-bottom: 10px;
}

.p-map {
    border-radius: 20px;
    height: 460px;
    width: 100%;
    overflow: hidden;
}

.p-map iframe {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1300px) {
  .p-table {
      font-size: 1.6rem;
  }

  .p-table th {
      width: 110px;
  }

  .p-history {
      font-size: 1.8rem;      
  }

  .p-history th {
      width: 200px;
  }

  .p-line:before {
      height: 840px;
  }

  .p-detail dt {
    font-size: 2.2rem;
  }

  .p-detail dt span {
      font-size: 1.6rem;
  }

  .p-detail dd {
      line-height: 1.5;
  }

  .p-head {
    font-size: 2.5rem;
  }

}


@media screen and (max-width: 767px){

  .p-2col {
      width: 100%;
      max-width: inherit;
      float: inherit;
  }

  .p-table {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .p-table th {
      width: 90px;
      padding: 20px 0;
  }

  .p-table td {
      padding: 20px 0;
  }

  .p-table tr:first-child th,
  .p-table tr:first-child td {
      padding-top: 0;
  }

  .p-history th span:before {
    width: 12px;
    height: 12px;
    left: -27px;
    top: 1px;
  }

  .p-history th {
　    display: flex;
  　  align-items: center;      
      width: 100%;
      display: block;
      padding: 15px 0 0 42px;
  }

  .p-history td {
      display: block;
      padding: 5px 0 15px 42px;
  }

  .p-history {
      font-size: 1.3rem;
  }

.p-history::before {
  content: "";
  position: absolute;
  top: 60px; /* 最初の●の中心に合わせて調整 */
  height: calc(92% - 80px); /* 全体高さから上下を差し引いて終点を最後の●の中心に */
  left: 9px; /* ●の中心にあわせる */
  width: 2px;
  border-left: 2px solid;
  border-image: repeating-linear-gradient(
    to bottom,
    #4caf50 0,
    #4caf50 4px,
    transparent 4px,
    transparent 12px
  ) 1;
  z-index: 0;
}    
    

  .p-history tr:first-child th {
      padding-top: 0;
  }

  .p-line:before {
    top: 13px;
    left: 21px;
    height: 840px;
  }

  .p-detail {
    margin-top: 20px;
  }

  .p-detail dt {
      font-size: 1.8rem;
      padding-bottom: 10px;
  }

  .p-detail dt span {
      font-size: 1.4rem;
  }

  .p-detail dd {
      padding-top: 10px;
  }

  .p-map {
    height: 210px;
    border-radius: 10px;
  }

  .p-head {
      font-size: 2rem;
      padding-bottom: 20px;
      line-height: 1;
  }


}
