@charset "utf-8";

/* ==========================================================================
   Post h2（プログラムページ専用）
========================================================================== */
#post-program .post h2 {
  padding-top: 1em;
  padding-bottom: 1em;
}
@media screen and (max-width: 767px) {
  #post-program .post h2 {
    width: 100vw;
    max-width: 1040px;
    margin-left: calc(-1 * var(--s-inner-padding));
    margin-right: calc(-1 * var(--s-inner-padding));
  }
}

/* ==========================================================================
   Page Title（プログラムページ専用）
========================================================================== */
#post-program .pagetitle {
  padding-left: var(--s-inner-padding);
  padding-right: var(--s-inner-padding);
  background-position: center top;
}
#post-program .pagetitle::after {
  display: none;
}
#post-program .pagetitle__title {
  text-align: center;
  text-shadow: none;
}
#post-program .pagetitle__title span {
  color: #fff;
}
#post-program .pagetitle__title span.pagetitle__ja {
  position: relative;
  margin-bottom: 1.2em;
}
#post-program .pagetitle__title span.pagetitle__ja::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.6em;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 20%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.45) 80%, rgba(255, 255, 255, 0) 100%);
}
@media screen and (min-width: 768px) {
  #post-program .pagetitle br {
    display: none;
  }
  #post-program .pagetitle__title span.pagetitle__ja::after {
    width: 400px;
  }
}

/* ==========================================================================
   Button（案件専用）
========================================================================== */

/* submit-btn style02
----------------------------------------------- */
.submit-btn.style02 a.txt-btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  padding: 1.2em 2em;
  border-color: #fff;
  color: #fff;
  background-color: rgb(3, 34, 141);
  background-image: linear-gradient(to top, rgb(3, 34, 141) 0%, rgb(42, 76, 175) 100%);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto;
  font-size: 1.1em;
}
.submit-btn.style02 a.txt-btn:hover {
  border-color: #85c6f8;
  color: var(--color-main);
}
.submit-btn.style02 a.txt-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #85c6f8;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.submit-btn.style02 a.txt-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.5em;
  transform: translateY(-50%);
  z-index: 1;
  width: 1.5em;
  height: 1.5em;
  background: url("../images/common/icon-arrow04.png") no-repeat center center;
  background-size: 1.5em;
  pointer-events: none;
}
.submit-btn.style02 a.txt-btn:hover::before {
  opacity: 1;
}
.submit-btn.style02 a.txt-btn:hover::after {
  background-image: url("../images/common/icon-arrow04-white.png");
}

/* ==========================================================================
   Background（案件専用）
========================================================================== */
.bg-main {
  background-image: -webkit-linear-gradient(90deg, rgb(14, 24, 117) 0%, rgb(42, 75, 174) 100%);
}

/* ==========================================================================
   Program
========================================================================== */

/* プログラムメッセージ
----------------------------------------------- */
#program-message {
  position: relative;
  background: url("../images/contents/bg-flare.jpg") no-repeat center top;
  background-size: 100vw;
}

/* プログラムナビゲーション
----------------------------------------------- */
.program-nav {
  padding: 2em var(--s-inner-padding);
  border-bottom: solid 1px #c0c5de;
}
.program-nav__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5em;
  max-width: 1400px;
  margin: 0 auto;
}
.program-nav__list li a {
  position: relative;
  display: block;
  padding: 0.8em 1.5em 0.8em 1em;
  background: var(--color-main-light);
  color: var(--color-text);
  font-size: 0.8em;
  text-decoration: none;
  transition: all 0.3s ease;
}
.program-nav__list li a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.5em;
  z-index: 1;
  transform: translateY(-50%);
  width: 18px;
  aspect-ratio: 1/1;
  background: url("../images/common/icon-arrow-u02.png") no-repeat right 0.2em center;
  background-size: contain;
}
.program-nav__list li a:hover {
  background: #85c6f8;
  color: var(--color-main);
}
@media screen and (min-width: 768px) {
  .program-nav__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1200px) {
  .program-nav__list {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* プログラム特徴
----------------------------------------------- */
.programAbout-feature__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.2em;
}
.programAbout-feature__item {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  text-align: center;
}
.programAbout-feature__item p {
  margin: 0;
  padding: 1em 0.5em;
  line-height: 1.6;
}
@media screen and (min-width: 600px) {
  .programAbout-feature__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 992px) {
  .programAbout-feature__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* surgeryBanner
----------------------------------------------- */
.surgeryBanner {
  display: flex;
  align-items: stretch;
  min-height: 100px;
  max-width: 520px;
  margin: 0 auto 1.2em;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.surgeryBanner__copy {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6em;
  width: 70%;
  padding: 1.2em 0.8em;
}
.surgeryBanner__copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: -29px;
  width: 30px;
  height: 100%;
  background: inherit;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.surgeryBanner__bar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 3px;
  height: 50px;
  border-radius: 999px;
  background: var(--color-main);
}
.surgeryBanner__text {
  position: relative;
  z-index: 1;
}
.surgeryBanner__text p {
  margin: 0;
  color: var(--color-main);
  font-size: 0.9em;
  line-height: 1.6;
}
.surgeryBanner__image {
  width: 30%;
}
.surgeryBanner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.surgeryBanner--grad01 .surgeryBanner__copy {
  background-image: -webkit-linear-gradient(90deg, rgb(219, 242, 255) 0%, rgb(237, 249, 255) 33%, rgb(255, 255, 255) 100%);
}
.surgeryBanner--grad02 .surgeryBanner__copy {
  background-image: -webkit-linear-gradient(90deg, rgb(233, 254, 233) 0%, rgb(244, 255, 244) 33%, rgb(255, 255, 255) 100%);
}
.surgeryBanner--grad03 .surgeryBanner__copy {
  background-image: -webkit-linear-gradient(90deg, rgb(211, 223, 255) 0%, rgb(233, 239, 255) 33%, rgb(255, 255, 255) 100%);
}
.surgeryBanner--grad04 .surgeryBanner__copy {
  background-image: -webkit-linear-gradient(90deg, rgb(255, 227, 228) 0%, rgb(255, 241, 242) 33%, rgb(255, 255, 255) 100%);
}
.surgeryBanner--grad05 .surgeryBanner__copy {
  background-image: -webkit-linear-gradient(90deg, rgb(255, 254, 230) 0%, rgb(255, 255, 243) 33%, rgb(255, 255, 255) 100%);
}
.surgeryBanner--grad06 .surgeryBanner__copy {
  background-image: -webkit-linear-gradient(90deg, rgb(255, 238, 253) 0%, rgb(255, 247, 254) 33%, rgb(255, 255, 255) 100%);
}
.surgeryBanner--grad07 .surgeryBanner__copy {
  background-image: -webkit-linear-gradient(90deg, rgb(255, 244, 221) 0%, rgb(255, 250, 238) 33%, rgb(255, 255, 255) 100%);
}
@media screen and (min-width: 600px) {
  .surgeryBanner__text p {
    font-size: 1.1em;
  }
  .surgeryBanner__bar {
    width: 5px;
    height: 60px;
  }
  .surgeryBanner__copy {
    gap: 0.8em;
    padding: 1.5em;
  }
}
@media screen and (min-width: 992px) {
  .programAbout-banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em;
  }
  .surgeryBanner {
    margin: 0;
  }
}

/* supportMessage
----------------------------------------------- */
.supportMessage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8em;
  margin-top: 2em;
}
.supportMessage__balloon {
  position: relative;
  width: 90%;
  max-width: 400px;
  padding: 1.5em 1.2em;
  border-radius: 30px;
  border: 2px solid var(--color-main);
  background: var(--color-main-light);
}
.supportMessage__balloon::before,
.supportMessage__balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.supportMessage__balloon::before {
  bottom: -22px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid #233f99;
}
.supportMessage__balloon::after {
  bottom: -18px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid var(--color-main-light);
}
.supportMessage__balloon p {
  margin: 0;
  color: var(--color-main);
  line-height: 1.7;
  text-align: center;
}
.supportMessage__image {
  width: 200px;
}
@media screen and (max-width: 767px) {
  .supportMessage__image {
    margin-top: 1em;
    transform: translateX(40px);
  }
}
@media screen and (min-width: 768px) {
  .supportMessage {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2em;
  }
  .supportMessage__balloon {
    max-width: 360px;
  }
  .supportMessage__balloon::before,
  .supportMessage__balloon::after {
    top: 60%;
    left: auto;
    transform: translateY(-50%);
  }
  .supportMessage__balloon::before {
    right: -22px;
    bottom: auto;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 22px solid #233f99;
    border-right: none;
  }
  .supportMessage__balloon::after {
    right: -19px;
    bottom: auto;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 19px solid var(--color-main-light);
    border-right: none;
  }
}
@media screen and (min-width: 992px) {
  .programAbout-info {
    position: relative;
    padding-bottom: 100px;
  }
  .supportMessage {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48%;
  }
  .supportMessage__balloon p {
    font-size: 0.9em;
  }
}

/* scheduleTable
----------------------------------------------- */
.scheduleTable {
  width: 100%;
  margin: 0 0 2em;
  border-collapse: collapse;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
}
.scheduleTable,
.scheduleTable tbody,
.scheduleTable tr,
.scheduleTable th,
.scheduleTable td {
  display: block;
  width: 100%;
}
.scheduleTable tr:first-child {
  display: none;
}
.scheduleTable tr:last-child {
  display: grid;
  grid-template-columns: 1fr;
}
.scheduleTable td {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-weight: normal;
}
.scheduleTable td::before {
  content: attr(data-label);
  padding: 0.8em 0.6em;
  background: #f6f6f6;
  border-right: solid 1px #ddd;
}
@media screen and (min-width: 768px) {
  .scheduleTable,
  .scheduleTable tbody,
  .scheduleTable tr {
    display: table;
    width: 100%;
  }
  .scheduleTable tbody {
    display: table-row-group;
  }
  .scheduleTable tr {
    display: table-row !important;
  }
  .scheduleTable th,
  .scheduleTable td {
    display: table-cell;
    padding: 1em 1.2em;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-weight: normal;
  }
  .scheduleTable th {
    width: 25%;
    background: #f6f6f6;
    text-align: center;
  }
  .scheduleTable td {
    width: 25%;
  }
  .scheduleTable td::before {
    display: none;
  }
}
/* ==========================================================================
   Hospital List
========================================================================== */
.hosp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hosp-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding: 14px 40px 14px 16px;
  border: solid 1px var(--color-border);
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}
.hosp-item a:hover {
  background: var(--color-main-light);
}
.hosp-item a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url(../images/common/icon-arrow02.png) no-repeat center;
  background-size: contain;
}
.hosp-item__name {
  font-size: 1.1em;
  font-weight: 500;
  color: var(--color-main);
}
.hosp-item__addr {
  margin-bottom: 0;
  font-size: 0.9em;
  color: var(--color-text);
}
/* ==========================================================================
   Table Scroll（横スクロール対応テーブル）
========================================================================== */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2em;
}
.table-scroll::-webkit-scrollbar {
  height: 6px;
}
.table-scroll::-webkit-scrollbar-track {
  background: var(--color-main-light);
}
.table-scroll::-webkit-scrollbar-thumb {
  background: var(--color-main);
  border-radius: 3px;
}

/* 連携病院テーブル
----------------------------------------------- */
:root {
  --color-table-border: #bbb;
}
.table-related {
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  border-top: 1px solid var(--color-table-border);
  border-left: 1px solid var(--color-table-border);
  font-size: 0.85em;
}
.table-related th,
.table-related td {
  padding: 0.4em 0.8em;
  border-right: 1px solid var(--color-table-border);
  border-bottom: 1px solid var(--color-table-border);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.table-related th {
  background: var(--color-main-light);
  color: var(--color-main);
  font-weight: 500;
  line-height: 1.2;
}

/* 担当分野列（ヘッダー2行目）
----------------------------------------------- */
.table-related thead tr:last-child th {
  font-size: 0.8em;
  width: 64px;
  min-width: 64px;
  max-width: 64px;
}

/* 病院名列（左固定）
----------------------------------------------- */
.table-related thead tr:first-child th:first-child,
.table-related tbody td:first-child {
  position: sticky;
  left: 0;
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  text-align: left;
  white-space: normal;
  word-break: keep-all;
}
.table-related thead tr:first-child th:first-child {
  background: var(--color-main-light);
  z-index: 2;
}
.table-related tbody td:first-child {
  background: #fff;
  z-index: 1;
}

/* マーク・数値
----------------------------------------------- */
.table-related .is-check {
  color: var(--color-main);
  font-weight: 500;
}
.table-related .is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ふきだし */
.balloon {
  position: relative;
  margin-bottom: 2em;
  padding: 1em 5%;
  background: var(--color-main-light);
  color: var(--color-main);
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
}
.balloon::after {
  content: "";
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 20px;
  background: var(--color-main-light);
  clip-path: polygon(0 0, 0 100%, 100% 0);
}
.balloon2 {
  position: relative;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2em;
  margin-bottom: 1.5em;
  text-align: center;
  line-height: 1.6;
  color: #fff;
  font-weight: 600;
}
.balloon2::before,
.balloon2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2px;
  height: 82%;
  background: #fff;
  transform-origin: center;
}
.balloon2::before {
  left: 6%;
  transform: translateY(-50%) rotate(-20deg);
}
.balloon2::after {
  right: 6%;
  transform: translateY(-50%) rotate(20deg);
}
/* ==========================================================================
   Group List（グループ紹介一覧）
========================================================================== */
.group-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5em;
}
.group-list__link {
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}
.group-list__link:hover {
  opacity: 0.6;
}
.group-list__image {
  aspect-ratio: 5/2;
  overflow: hidden;
}
.group-list__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.group-list__body {
  padding: 0.8em 1em;
  background-color: rgb(3, 34, 141);
  background-image: linear-gradient(to top, rgb(3, 34, 141) 0%, rgb(42, 76, 175) 100%);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto;
}
.group-list__name {
  margin: 0;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .group-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }
  .group-list__name {
    font-size: 1.15em;
  }
}

/* ==========================================================================
   Staff Card（スタッフ情報）
========================================================================== */

/* ==========================================================================
   Staff Card
========================================================================== */
.staff-card {
  display: flex;
  gap: 2em;
  margin-bottom: 2em;
  padding: 1.5em;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: #fff;
}
.staff-card__photo {
  flex-shrink: 0;
  width: 200px;
}
.staff-card__photo img {
  display: block;
  width: 200px;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.staff-card__body {
  flex: 1;
  min-width: 0;
}
.staff-card__name {
  margin: 0 0 1em;
  line-height: 1.6;
}
.staff-card__position {
  display: inline-block;
  margin-bottom: 0.4em;
  padding: 0.3em 0.6em;
  background: var(--color-main);
  color: #fff;
  font-size: 0.9em;
  font-weight: 500;
}
.staff-card__name-ja {
  display: block;
  color: var(--color-main);
  font-size: 1.6em;
  font-weight: 500;
}
.staff-card__group {
  font-size: 13px;
}
.staff-card__name-en {
  display: block;
  margin-top: 0.3em;
  font-size: 0.8em;
  font-family: var(--font-en);
  font-weight: 500;
}
.staff-card__dl {
  border-top: solid 1px var(--color-border);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.5em 1em;
  margin: 1.2em 0 0;
  padding-top: 1em;
  font-size: 0.9em;
}
.staff-card__dl dt {
  font-weight: 500;
  padding-top: 1px;
}
.staff-card__dl dd {
  line-height: 1.7;
}
@media screen and (max-width: 767px) {
  .staff-card {
    flex-direction: column;
    gap: 1em;
  }
  .staff-card__group {
    display: block;
  }
  .staff-card__photo {
    width: 100%;
    text-align: center;
  }
  .staff-card__photo img {
    width: 120px;
    margin: 0 auto;
  }
  .staff-card__name {
    text-align: center;
  }
  .staff-card__dl {
    grid-template-columns: 80px 1fr;
  }
}
.staff-list {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
