@charset "UTF-8";
/* ==========================================================================
   施術一覧ページ（/treatment-list/）
   設置先： /assets/css/treatment-list.css
   ※ コンテンツ幅・配色・カードの体裁は症例写真一覧（case-photo.css）に準拠
   ========================================================================== */

.p-tlist {
  padding: 60px 0 100px;
  background-color: #F5F5F5;
}
@media only screen and (max-width: 767px) {
  .p-tlist {
    padding: 40px 0 70px;
  }
}

/* --- カードグリッド --- */
.p-tlist__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
@media only screen and (max-width: 767px) {
  .p-tlist__grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 5.333vw 2.667vw;
    padding: 0 5.333vw;
  }
}

/* --- カード --- */
.p-tlist__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 6.84px 18.794px 35px 0px rgba(83, 82, 78, 0.1);
}
@media print, screen and (min-width: 768px) {
  .p-tlist__card {
    transition: opacity ease 0.4s, transform ease 0.4s;
  }
  .p-tlist__card:hover {
    opacity: 0.85;
    transform: translateY(-4px);
  }
}

/* --- サムネイル --- */
.p-tlist__thumb {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f5f5f5;
}
.p-tlist__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media print, screen and (min-width: 768px) {
  .p-tlist__thumb img {
    transition: transform ease 0.4s;
  }
  .p-tlist__card:hover .p-tlist__thumb img {
    transform: scale(1.04);
  }
}
.p-tlist__thumb.is-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14%;
  background: #EFEAE4;
}
/* 画像が無い施術のプレースホルダー（サイトロゴ） */
.p-tlist__thumb.is-noimg .p-tlist__thumb__logo {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
@media print, screen and (min-width: 768px) {
  /* ロゴは拡大させない */
  .p-tlist__card:hover .p-tlist__thumb.is-noimg .p-tlist__thumb__logo {
    -webkit-transform: none;
            transform: none;
  }
}
@media only screen and (max-width: 767px) {
  .p-tlist__thumb.is-noimg {
    padding: 0 22%;
  }
}

/* --- テキスト --- */
.p-tlist__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
}
@media only screen and (max-width: 767px) {
  .p-tlist__body {
    padding: 3.2vw 2.667vw 3.733vw;
  }
}

.p-tlist__name {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  color: #1D4964;
  margin: 0;
}
@media only screen and (max-width: 767px) {
  .p-tlist__name {
    font-size: 3.733vw;
  }
}

.p-tlist__more {
  display: inline-block;
  position: relative;
  align-self: flex-start;
  margin-top: 12px;
  padding-right: 1.8em;
  font-size: 12px;
  color: #1D4964;
}
.p-tlist__more:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.4em;
  width: 0.5em;
  height: 0.5em;
  border-top: 1px solid #1D4964;
  border-right: 1px solid #1D4964;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}
@media only screen and (max-width: 767px) {
  .p-tlist__more {
    margin-top: 2.4vw;
    font-size: 2.933vw;
  }
}

/* --- 下部：各院料金への導線 --- */
.p-tlist__bnr {
  max-width: 1040px;
  margin: 60px auto 0;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 8px;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .p-tlist__bnr {
    margin: 10.667vw 5.333vw 0;
    padding: 6.667vw 5.333vw;
  }
}

.p-tlist__bnr__txt {
  margin: 0 0 24px;
  font-size: 16px;
  color: #53524E;
}
@media only screen and (max-width: 767px) {
  .p-tlist__bnr__txt {
    margin-bottom: 4.267vw;
    font-size: 3.467vw;
  }
}

.p-tlist__bnr__btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}
@media only screen and (max-width: 767px) {
  .p-tlist__bnr__btns {
    display: block;
  }
}

.p-tlist__bnr__btns li a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 300px;
  padding: 1em 2.5em 1em 1.5em;
  background-color: #1D4964;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.p-tlist__bnr__btns li a:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.2em;
  width: 0.5em;
  height: 0.5em;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}
@media print, screen and (min-width: 768px) {
  .p-tlist__bnr__btns li a {
    transition: opacity ease 0.4s;
  }
  .p-tlist__bnr__btns li a:hover {
    opacity: 0.8;
  }
}
@media only screen and (max-width: 767px) {
  .p-tlist__bnr__btns li {
    margin-bottom: 3.2vw;
  }
  .p-tlist__bnr__btns li:last-child {
    margin-bottom: 0;
  }
  .p-tlist__bnr__btns li a {
    min-width: 0;
    width: 100%;
    padding: 1.2em 2.5em 1.2em 1.5em;
    font-size: 3.467vw;
  }
}
