@charset "UTF-8";

.subhero {
  position: relative;
  width: 100%;
  height: clamp(180px, 26vw, 280px);
  background: #eee center/cover no-repeat;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.subhero[data-bg] { background-image: attr(data-bg url); }

.subhero__title {
  display: inline-block;
  background: #009795;
  color: #fff;
  padding: 10px 18px;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
  border-radius: 0;
  max-width: min(90vw, 1000px);
  text-align: center;
  word-break: normal;
  overflow-wrap: anywhere;
}

.subcontent {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 20px;
  color: #333;
}
.subcontent::after {
  content: "";
  display: block;
  clear: both;
}

.subcontent strong { color: #009795; font-weight: 700; }

.subcontent h2 {
  margin: 48px 0 18px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
  padding-left: 14px;
}
.subcontent h2::before {
  content: "";
  position: absolute;
  left: 0; top: .15em;
  bottom: .15em;
  width: 4px;
  background: linear-gradient(180deg, #009795, #33BDB7);
}

.subcontent h3 {
  margin: 36px 0 12px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: .02em;
  border-bottom: 2px solid #E2F5F4;
  padding-bottom: 6px;
}

.subcontent h4 {
  margin: 28px 0 10px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: #1FB1AC;
}

.subcontent h5 {
  margin: 22px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #666;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.subcontent p { line-height: 1.9; margin: 0 0 1.1em; }
.subcontent ul, .subcontent ol { padding-left: 1.2em; margin: .6em 0 1.2em; }

.subcontent .media {
  display: grid;
  align-items: start;
  gap: 16px;
  grid-template-columns: 1fr;
  margin: 18px 0 24px;
}
.media__img { max-width: 100%; height: auto; display: block; }
.media--left   { justify-items: start;  }
.media--center { justify-items: center; }
.media--right  { justify-items: end;    }

@media (max-width: 768px) {
  .media--left, .media--right { justify-items: center; }
}

/* PC�ł� media--right ��u���e�L�X�g�^�E�摜�v��2�J�����ɂ��� */
@media (min-width: 769px) {
  .subcontent .media--right {
    grid-template-columns: 1.3fr auto;  /* ���e�L�X�g����L�߂� */
    justify-items: stretch;
    align-items: start;
	  margin-top: 8px;     /* ��]�� ������ */
    margin-bottom: 8px;  /* ���]�� ������ */
    padding-top: 15px;      /* �K�v�Ȃ�ǉ� */
    padding-bottom: 15px;   /* �K�v�Ȃ�ǉ� */
  }

  /* �e�L�X�g�͍��񂹂ɌŒ� */
  .subcontent .media--right p {
    margin: 0;              /* �㉺�̗]���𑵂������ꍇ */
    text-align: left;       /* �O�̂��ߖ����I�ɍ��� */
  }

  /* �摜������傫�߂Ɂ��E�[�� */
  .subcontent .media--right .media__img {
    width: 180px;           /* ���D�݂� 160?220px ���炢�ɒ��� */
    max-width: 180px;
    height: auto;
    justify-self: end;      /* �E�[�Ɋ񂹂� */
  }
}



.img-narrow-sp { max-width: 72%; }
@media (min-width: 769px) { .img-narrow-sp { max-width: 100%; } }

.pointbox {
  background: #E2F5F4;
  border: 1px solid #E5D6EC;
  padding: 18px 18px;
  margin: 28px 0;
}
.pointbox__title {
  font-weight: 700;
  margin: 0 0 8px;
  color: #5CC9C4;
  font-size: 18px;
}
.pointbox p { margin: 0.6em 0 0; }

.tablewrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}
.table th, .table td {
  border: 1px solid #E6E2E8;
  padding: 12px 10px;
  vertical-align: top;
}
.table thead th { text-align: left; }

.table--soft th { background: #E2F5F4; color: #333; }
.table--deep thead th { background: #009795; color: #fff; }

.staffgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 36px 0 0;
}
@media (max-width: 900px)  { .staffgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .staffgrid { grid-template-columns: 1fr; } }

.staffcard {
  background: #fff;
  border: 1px solid #E5D6EC;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* ===============================
   院長カード（PCで2枠ぶんにして中央配置）
   =============================== */

/* グリッド上で1行全体を占めるラッパー */
.staffgrid__row--principal {
  grid-column: 1 / -1; /* 3列ぶち抜きで1行まるごと使う */
}

/* PC（3カラム表示）だけ「2枠ぶんの幅＋中央寄せ」にする */
@media (min-width: 901px) {
  .staffgrid__row--principal {
    display: flex;
    justify-content: center; /* 中央寄せ */
  }

  .staffgrid__row--principal .staffcard--principal {
    /* 3カラムのうち2カラム＋隙間1つぶんの幅
       → gap: 22px を前提にした計算式 */
    flex: 0 1 calc((200% - 22px) / 3);
  }
}


.doctorcard__cover {
  width: 100%;
  height: 140px;
  background: #f3f3f6 center/cover no-repeat;
}
.doctorcard__avatarwrap {
  position: static;
  height: auto;
}

.doctorcard__avatar {
  position: static;
  transform: none;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.staffcard__body {
  padding: 16px;
}

/* ��E�{���O�{��ʐ^������тɂ��� */
.doctorcard__head {
  display: flex;
  align-items: center;        /* �c�ʒu�𑵂��� */
  justify-content: space-between;
  gap: 16px;                  /* �e�L�X�g�Ǝʐ^�̊Ԃ̗]�� */
  margin-bottom: 16px;        /* ���́u����v�Ƃ̊� */
}

.staffcard__headtext {
  flex: 1;                    /* �����e�L�X�g�G���A��L���� */
}

.doctorcard__avatarwrap {
  flex: 0 0 auto;             /* �E���̎ʐ^�͕K�v�ŏ����̕� */
}


.staffcard__role {
  font-size: 13px; color: #009795; font-weight: 700; letter-spacing: .06em;
}
.staffcard__name {
  font-size: 20px; font-weight: 700; margin: 4px 0 10px;
}
.staffcard__section {
  margin: 10px 0;
}
.staffcard__section h5 {
  font-size: 13px;
  color: #5CC9C4;
  margin: 0 0 6px;
  letter-spacing: .06em;
  text-transform: none;
}
.staffcard__section ul { margin: 0; padding-left: 1.2em; }

.certlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.certlist__item {
  flex: 0 0 auto;
  width: auto;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: zoom-in;
}

.certlist__img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


.certlist__img.is-zoomed {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  max-width: 92vw;
  max-height: 92vh;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  cursor: zoom-out;
}
.lightbox-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 10000;
}

.staffcard--member .staffcard__body { padding-top: 16px; }
.membercard__image img {
  width: 100%; height: 240px; object-fit: cover; display: block;
}
.membercard__role { composes: staffcard__role; }
.membercard__role { font-size: 13px; color: #009795; font-weight: 700; letter-spacing: .06em; }
.membercard__name { font-size: 18px; font-weight: 700; margin: 6px 0 10px; }
.membercard__greet { font-size: 14px; line-height: 1.8; color: #555; }

@media (max-width: 768px) {
  .subcontent { padding: 36px 16px; }
  .certlist__item { height: 96px; }
}

@media (max-width: 480px) {
  .table th, .table td { padding: 10px 8px; }
}

.subcontent img[class^="media__img__"] {
  display: block;
  height: auto;
  max-width: 100%;
}

.media__img__left {
  float: left;
  max-width: 44%;
  margin: 0 16px 12px 0;
}

.media__img__right {
  float: right;
  max-width: 44%;
  margin: 0 0 12px 16px;
}

.media__img__center {
  float: none;
  margin: 10px auto 16px;
  max-width: 88%;
  text-align: center;
}

.subcontent h2,
.subcontent h3,
.subcontent .pointbox,
.subcontent .tablewrap,
.subcontent .staffgrid {
  clear: both;
}

@media (max-width: 768px) {
  .media__img__left,
  .media__img__right {
    float: none;
    margin: 10px auto 16px;
    max-width: 100%;
  }
  .media__img__center {
    max-width: 100%;
  }
  .is-narrow-sp {
    max-width: 72%;
  }
}

.clear{
	clear: both;
}

.lightbox-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 10000;
}

.cert-zoom-clone {
  position: fixed;
  top: 0; left: 0;
  transform-origin: top left;
  transition: transform .35s ease, box-shadow .35s ease, opacity .2s ease;
  will-change: transform;
  z-index: 10001;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  cursor: zoom-out;
}

html.is-zooming { overflow: hidden; }

.certlist__img.is-source {
  outline: 2px solid rgba(173,32,126,.2);
  outline-offset: 2px;
}
.cert-zoom-clone {
  max-width: none !important;
  max-height: none !important;
  width: auto;
  height: auto;
  display: block;
}

/* ===============================
   �V�X�^�b�t 4�J�����ꗗ
   =============================== */

.staff-mini__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0;
}

.staff-mini__item {
  position: relative;
  cursor: pointer;
	  aspect-ratio: 1 / 1; /* �� ����Ő����`�ɂȂ� */
  overflow: hidden;
}

.staff-mini__img {
  width: 100%;
  height: 100%;     /* �� �e�v�f�̍����Ƀt�B�b�g */
  object-fit: cover; /* �� �͂ݏo����g���~���O���ăo�����X�ێ� */
  display: block;
}

.staff-mini__badge {
  position: absolute;
  top: 0px;
  left: 0px;

  /* �� �����`�ɂ��� */
  width: 50px;      /* ���D�݂Œ����\�F40?60px���x���ڈ� */
  height: 50px;

  background: rgba(255,255,255,0.75);

  /* �� ���̗v�f��c���тɂ��� */
  display: flex;
  flex-direction: column;       /* �� �c���� */
  align-items: center;          /* ���E�������� */
  justify-content: center;      /* �㉺�������� */

  gap: 2px;                     /* �s�N�g�O�����ƕ����̊Ԋu */
  padding: 0;                   /* �s�v�ȗ]����r�� */
  font-size: 9px;               /* �����T�C�Y�����i���D�݂Łj */
  border-radius: 0 0 6px 0;
}

/* �s�N�g�O�����̃T�C�Y�����i�K�v�ɉ����āj */
.staff-mini__badge img {
  width: 18px;   /* ���D�݂Œ��� */
  height: 18px;
  object-fit: contain;
}


/* SP�F2�J���� */
@media (max-width: 768px) {
  .staff-mini__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* ===============================
   �|�b�v�A�b�v
   =============================== */

.staff-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  z-index: 5000;
  padding: 40px 16px;
}

.staff-popup.is-open {
  display: flex;
}

.staff-popup__inner {
  background: #fff;
  max-width: 900px;
  width: 100%;
  padding: 26px;
  position: relative;
  border-radius: 10px;
}

/* ����{�^�� */
.staff-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #984394;
  border: none;
  cursor: pointer;
}
.staff-popup__close::before,
.staff-popup__close::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 2px;
  background: #fff;
  transform-origin: center;
}
.staff-popup__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.staff-popup__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ��E�J�o�[ */
.staff-popup__rolearea {
  background: #E2F5F4;
  text-align: center;
  padding: 22px 10px;
  font-size: 24px;
  font-weight: 700;
  color: #984392;
}

/* �{�����C�A�E�g�iPC:2�J�����j */
.staff-popup__body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  margin: 28px 0;
}

.staff-popup__photo img {
  width: 100%;
}

.staff-popup__namewrap {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.staff-popup__name {
  font-size: 24px;
  font-weight: 700;
}
.staff-popup__name-en {
  font-size: 13px;
  color: #666;
}

.staff-popup__meta {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
}
.staff-popup__message {
  padding: 20px;
  margin-top: 30px;
}

/* �|�b�v�A�b�v��F�w�i�F�̂���l�p�̕\�� */
.staff-popup__message h3 {
  text-align: left;       /* ����ɔz�u */
  color: #5CC9C4;         /* �� ���D�݂̐F�ɕύX */
  font-weight: 700;       /* �^�C�g���Ƃ��ċ��߂� */
  margin: 0 0 12px;       /* ���ɗ]�� */
}


.staff-popup__message--filled {
  background: #E2F5F4;
  border: 1px solid #E5D6EC;
}

.staff-popup__message--border {
  border: 1px solid #E5D6EC;
  margin-top: 14px;
}

/* �ؖ����G���A */
.staff-popup__certs {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.staff-popup__certs img {
  max-width: 200px;   /* ���� 200px �܂Łi�����͂��D�݂Łj */
  width: auto;        /* �䗦��ۂ����܂܏k�� */
  height: auto;       /* �������d�v�F�����Œ肵�Ȃ� */
  object-fit: contain;/* �O�̂��߁F�䗦�ێ��Řg��Ɏ��߂� */
  display: block;
  cursor: zoom-in;    /* �N���b�N�ł��銴����o�������Ȃ� */
}

/* SP�F�c���тɕύX */
@media (max-width: 768px) {
  .staff-popup__body {
    grid-template-columns: 1fr;
  }
}

h2 + .staff-mini__grid {
  clear: both;
  margin-top: 24px;   /* �� ���D�݂Œ����� */
}
.staff-mini__item {
  position: relative;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease; /* �� �ǉ� */
}

.staff-mini__item:hover,
.staff-mini__item:focus-visible {
  transform: translateY(-4px); /* ������Ɏ����グ�� */
  box-shadow: 0 8px 18px rgba(0,0,0,0.18); /* �e��t���� */
}
.staff-mini__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;  /* �� �ǉ� */
}

.staff-mini__item:hover .staff-mini__img,
.staff-mini__item:focus-visible .staff-mini__img {
  transform: scale(1.04);          /* 4%�����g�� */
}
@media (max-width: 768px) {
  .staff-popup__certs img {
    max-width: 100%;   /* �� �|�b�v�A�b�v�̉����Ƀt�B�b�g */
    width: 100%;       /* �� ���������ς� */
    height: auto;      /* �� �䗦�͕����Ȃ� */
  }
}
/* ===============================
   �w����̃A�N�Z�X �X�e�b�v�ꗗ
   =============================== */
.access-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* PC 3�� */
  gap: 24px;                                        /* �J�[�h�Ԃ̗]�� */
  margin: 24px 0 40px;
}

.access-step {
  display: flex;
  flex-direction: column;
}

.access-step__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ������F�����Ƃ��͎������s������ */
.access-step__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;    /* �p��Ȃǒ������܂�Ԃ� */
  overflow-wrap: anywhere;   /* ����ɔO�̂��ߐ܂�Ԃ����� */
}

/* SP�ł�1��\�� */
@media (max-width: 768px) {
  .access-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* �T�u�y�[�W�S�̂̃����N�F�ݒ� */
.subcontent a {
  color: #5CC9C4;          /* �� �D���ȐF�ɕύX */
  text-decoration: underline;  /* �K�v�Ȃ� */
}

/* �}�E�X�I�[�o�[���̐F */
.subcontent a:hover {
  color: #009795;          /* �� �Z���F�ȂǂɕύX */
  text-decoration: none;   /* �����̗L���͍D�݂� */
}

/* �ėp�F�摜�̑傫����PC��SP�ōœK������ */
.img-responsive-small {
  display: block;
  width: 90%;          /* SP �ł͂��傫�� */
  max-width: 320px;    /* ��� */
  margin: 0 auto;      /* ������ */
}

/* PC �̂Ƃ��F���́u��������v���߂Ă��� */
@media (min-width: 769px) {
  .subcontent img.media__img__right.img-responsive-small {
    width: auto;
    max-width: 320px;
    margin: 0 0 12px 16px;
    float: right;
  }
}

/* ===============================
   �Ԃ���񗈉@���̗��� 4�X�e�b�v
   =============================== */

.baby-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* PC�F4�� */
  gap: 24px;
  margin: 24px 0 40px;
}

.baby-step {
  display: flex;
  flex-direction: column;
}

.baby-step__title {
  font-size: 15px;
  font-weight: 700;
  color: #5CC9C4;
  margin-bottom: 8px;
}

.baby-step__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;         /* �p�ۂ��s�v�Ȃ�폜�� */
  margin-bottom: 8px;
}

.baby-step__text {
  font-size: 14px;
  line-height: 1.8;
}

/* SP�ł�1��\���ɕύX */
@media (max-width: 768px) {
  .baby-steps {
    grid-template-columns: 1fr;  /* �c��� */
    gap: 16px;
  }
}
/* ===============================
   �e�[�u����摜�̃��X�|���V�u����
   =============================== */

/* �X�}�z�i�f�t�H���g�j�F����100% */
.table-img {
  width: 100% !important;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* PC�F50% */
@media (min-width: 769px) {
  .table-img {
    width: 50% !important;
  }
}
/* ======================================
   料金表（スマホのみカードレイアウトに変換）
   ====================================== */

/* スマホレイアウト（SP縦並び） */
@media (max-width: 768px) {

  /* テーブルを縦積みに変換 */
  .table--price thead {
    display: none; /* ヘッダーは非表示 */
  }

  .table--price,
  .table--price tbody,
  .table--price tr,
  .table--price td,
  .table--price th {
    display: block;
    width: 100%;
  }

  /* 1行＝1カード化 */
  .table--price:not(.table--price-rows) tr {
    background: #fff;
    border: 1px solid #E5D6EC;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 8px;
  }

  /* 素材（画像2枚） */
  .table--price td:nth-child(1) {
    text-align: center;
    margin-bottom: 12px;
  }
  .table--price td:nth-child(1) img {
    width: 80%;
    height: auto;
    margin-bottom: 8px;
  }

  /* 保険・料金・審美性・耐久性・安全性・特徴 — 全て1行ずつ */
  .table--price td:nth-child(n + 2):nth-child(-n + 7) {
    padding: 6px 0;
    border-bottom: 1px dashed #ddd;
  }

  /* 見出しラベルを追加（スマホのみ） */
  .table--price td:nth-child(2)::before { content: "保険： "; font-weight: 700; }
  .table--price td:nth-child(3)::before { content: "料金： "; font-weight: 700; }
  .table--price td:nth-child(4)::before { content: "審美性： "; font-weight: 700; }
  .table--price td:nth-child(5)::before { content: "耐久性： "; font-weight: 700; }
  .table--price td:nth-child(6)::before { content: "安全性： "; font-weight: 700; }

  /* 特徴 → セル全体を一番下に表示（横幅100％） */
  .table--price td:nth-child(7) {
    padding-top: 12px;
    font-size: 14px;
    line-height: 1.7;
    border-bottom: none;
  }
}

/* 料金表用：中央寄せセル */
.table--price .pricecell__center {
  text-align: center;
  vertical-align: middle;
}
/* ギャラリー全体をグリッド化 */
.media-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* PC：4列 */
  gap: 16px;  /* 画像同士の余白 */
}

/* 各ボックス */
.media_box {
  margin: 0;             /* 既存の mr05 等による右マージンを打ち消し */
}

/* 画像は枠いっぱいに収める */
.media_box img {
  display: block;
  width: 100%;
  height: auto;
}

/* SP では2列 */
@media (max-width: 768px) {
  .media-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* SP：2列 */
    gap: 10px;
  }
}

/* 親：画像を横 or 縦に並べるラッパー */
.imgrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* PC・SP 共通でセンター寄せ */
  gap: 20px;                /* 画像間の余白 */
  margin: 20px 0;
}

/* 子（画像） */
.imgrow__item {
  max-width: 100%;
  height: auto;
  display: block;
}

/* PC版：横並び・画像幅を調整 */
@media screen and (min-width: 768px) {
  .imgrow__item {
    width: 400px; /* 任意・調整可能、揃って見える幅 */
  }
}

/* SP版：縦並び（幅100%） */
@media screen and (max-width: 767px) {
  .imgrow {
    flex-direction: column;
    align-items: center;
  }
  .imgrow__item {
    width: 100%;
    max-width: 320px; /* 適度な最大幅を設定（お好みで調整） */
  }
}


@media screen and (min-width: 769px) {

  /* 各行で列幅を均等化 */
  .table--price-rows td,
  .table--price-rows th {
    vertical-align: middle;
    text-align: center;
  }

  /* 1行目・2行目は4列 */
  .price-row-basic td,
  .price-row-basic th,
  .price-row-performance td {
    width: 25%;
  }

  /* 3行目：特徴は2セル分を占有 */
  .price-row-detail td[colspan="2"] {
    text-align: left;
    padding: 10px 12px;
  }

  .price-row-detail td {
    width: auto;
  }
}
@media screen and (min-width: 769px) {

  /* 行の見出し（大見出し） */
  .price-head {
    background: #f7f7f7;
    font-weight: bold;
    text-align: left;
    padding: 10px;
    border-top: 2px solid #ddd;
  }

  /* 各行のセル幅調整（4列構成） */
  .price-row-basic th,
  .price-row-basic td,
  .price-row-performance th,
  .price-row-performance td {
    width: 25%;
  }

  /* 特徴の幅を広げる */
  .price-row-detail td[colspan="2"] {
    text-align: left;
    padding: 12px;
  }
}
/* ===========================
   料金表（table--price-rows）
   スマホ版：1つの表として縦並び
   =========================== */
@media (max-width: 768px) {

  /* 角丸＆外枠ナシにする */
  .table--price-rows {
    border: none;
    border-radius: 0;
    border-collapse: collapse;
    overflow: visible;
  }

  /* 見出し行（PC用）は非表示 */
  .table--price-rows .price-row-basic,
  .table--price-rows .price-row-performance,
  .table--price-rows .price-row-detail {
    display: none;
  }

  /* 行・セルをブロック化して縦積み */
  .table--price-rows tbody,
  .table--price-rows tr,
  .table--price-rows td {
    display: block;
    width: 100%;
  }

  .table--price-rows tr {
    margin: 0;
  }

  .table--price-rows td {
    border: 0;
    border-bottom: 1px solid #E6E2E8;
    padding: 8px 10px;
    text-align: left;
  }

  /* 一番最後だけ下線を消す → 1つの表としてつながって見える */
  .table--price-rows tr:last-child td:last-child {
    border-bottom: none;
  }

  /* 各セルの上にラベルを表示（素材 / 種類 / 主材質 / …） */
  .table--price-rows td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 700;
    color: #009795;
  }

  /* 素材画像（e.max の画像）は横幅100％で表示 */
  .table--price-rows .pricecell__images img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 6px;
  }

  /* ★アイコン：元の比率のまま（横が細くならないように） */
  .table--price-rows td img[src*="star"] {
    width: auto;      /* ← ここがポイント：幅固定をやめる */
    height: auto;     /* 高さも元の指定に任せる */
    vertical-align: middle;
  }
}

@media (max-width: 768px) {

  /* 外枠だけつけて、行ごとの角丸はなし */
  .table--price-rows {
    border: 1px solid #DCD2E6;
    border-radius: 10px;
    border-collapse: separate;
    overflow: hidden;
    padding: 0;
  }

  /* 行単位のカード風デザインは無効化（＝3つに見えない） */
  .table--price:not(.table--price-rows) tr {
    /* 他の表にはカードデザインを残す */
  }
  .table--price-rows tr {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
  }

  /* テーブルを縦積みに変換して1つの表として見せる */
  .table--price-rows tbody,
  .table--price-rows tr,
  .table--price-rows td {
    display: block;
    width: 100%;
  }

  /* 各セルの境界の線だけ残す（表が繋がって見える） */
  .table--price-rows td {
    border-bottom: 1px solid #E6E2E8;
    padding: 10px 12px;
    text-align: left;
  }
  .table--price-rows tr:last-child td:last-child {
    border-bottom: none;
  }

  /* 各セルの上にラベル（項目名）を出す */
  .table--price-rows td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    color: #009795;
    margin-bottom: 5px;
    font-size: 14px;
  }

  /* 素材画像 */
  .table--price-rows .pricecell__images img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 6px;
  }

  /* 星アイコンの横つぶれ防止 */
  .table--price-rows td img[src*="star"] {
    width: auto;
    height: 12px;
    vertical-align: middle;
  }
}
/* ▼ スマホ版（〜767px）では素材画像を小さくする */
@media screen and (max-width: 767px) {
  .pricecell__img {
    width: 60% !important;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}
/* =========================
   患者さんアンケート ボタン
   ========================= */

.survey-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 32px 0;
}

.survey-btn {
  display: inline-block;
  min-width: 140px;
  padding: 14px 20px;
  text-align: center;
  background-color: #009795;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px; /* しっかり角丸 */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.survey-btn:hover,
.survey-btn:focus {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .survey-btn {
    min-width: 100%;
    font-size: 16px;
  }
}
/* =========================
   患者さんアンケート ボタン（文字色修正）
   ========================= */

.survey-btn,
.survey-btn:visited,
.survey-btn:hover,
.survey-btn:focus {
  color: #ffffff !important;
}

/* パソコンでは本来のサイズ、スマホでは100%にする設定 */
.img-pc-fit-sp-full {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%; /* PCで親要素を突き抜けないように */
  height: auto;
}

@media (max-width: 768px) {
  .img-pc-fit-sp-full {
    width: 100% !important;
  }
}
