.mv-wrap {
  background: url("../img/mv_bg.png") no-repeat center center / cover;
  min-height: 785px;
}
@media (max-width: 1124px) {
  .mv-wrap {
    background-position-x: right -820px;
    background-position-y: top 20px;
  }
}
@media (max-width: 912px) {
  .mv-wrap {
    background-size: 315%;
    background-position-x: right -885px;
  }
}
@media (max-width: 853px) {
  .mv-wrap {
    background-size: 241%;
    min-height: 500px;
    background-position-x: center;
    background-position-y: top 50px;
  }
}
@media (max-width: 768px) {
  .mv-wrap {
    background-size: 256%;
  }
}
@media (max-width: 540px) {
  .mv-wrap {
    background: url("../img/mv_bg_sp.png") no-repeat center center / cover;
    min-height: 1235px;
    padding-bottom: 70px;
    background-position-x: center;
    background-position-y: top -50px;
    background-size: cover;
  }
}
@media (max-width: 430px) {
  .mv-wrap {
    min-height: 1025px;
    background-position-y: top -30px;
  }
}
@media (max-width: 375px) {
  .mv-wrap {
    min-height: 1025px;
    padding-bottom: 70px;
  }
}
.header {
  height: 80px;
  position: relative;
  z-index: 10;
  background: transparent;
  border-bottom: none;
  border-top: solid var(--main__color) 7px;
}
.logo {
  width: 215px;
  vector-effect: non-scaling-stroke;
}
@media (max-width: 1130px) {
  .logo {
    width: 200px;
  }
}
@media (max-width: 768px) {
  .logo {
    width: 190px;
  }
}
@media (max-width: 430px) {
  .logo {
    width: 170px;
  }
}
@media (max-width: 375px) {
  .logo {
    width: 160px;
  }
}
@media (max-width: 1300px) {
  .header {
    padding: 0 3%;
  }
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
/* ナビ */
.nav__list {
  display: flex;
  gap: 50px;
  color: #2d2e2e;
  font-size: 15px;
  font-weight: 500;
}
.nav__list li a {
  position: relative;
  line-height: 1;
  padding-bottom: 5px;
}
.nav__list li a::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 18px;
  height: 9px;
  background: url("../img/nav_list_item.png") no-repeat;
  background-position: right center;
  transition: transform 0.3s ease;
}

.nav__list li a:hover::after {
  transform: translateX(-50%) translateY(4px);
}
.nav__list li a:hover {
  opacity: 0.8;
}
/* ハンバーガー */
.hamburger {
  display: none;
  background: none;
  border: none;
}
.nav-close {
  display: none;
}
@media (max-width: 768px) {
  .header {
    position: relative;
    z-index: 1000;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    background: linear-gradient(to bottom, #d8efdd, #e9f1ce);
    transition: 0.3s;
    padding: 60px 20px;
    z-index: 999;
  }
  .nav-close {
    position: absolute;
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    width: 24px;
    z-index: 1001;
    cursor: pointer;
  }
  .hamburger {
    display: block;
    width: 30px;
    padding: 0;
  }
  .nav.active .nav-close {
    display: block;
    padding: 0;
  }
  .nav.active {
    right: 0;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    font-size: 18px;
  }
  .nav__list li {
    border-bottom: solid 2px var(--main__color);
    padding: 20px 0;
  }
  .nav__list li a {
    position: static; /* ← relativeを解除 */
    display: block;
    position: relative;
  }
  .nav__list li a::after {
    content: "";
    position: absolute;
    left: auto;
    bottom: auto;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url("../img/menu_item.svg") no-repeat;
    background-position: right center;
  }
}
@media (max-width: 375px) {
  .header {
    padding: 0 15px;
    border-top: solid var(--main__color) 3px;
    height: 60px;
  }
}
/* MV */
.mv {
  min-height: 708px;
}
.mv__catch {
  position: relative;

  margin: 40px 0 70px;
  padding: 10px 0;

  display: flex;
  justify-content: center;

  opacity: 0;
  transform: translateX(-30px);
  animation: mvCatch 0.8s ease forwards;
}
.mv__catch::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 44%;
  height: 100%;

  background-color: rgba(255,255,255,.6);

  z-index: -1;
}
.mv__catch p {
  width: min(1120px, 100%);
  padding-left: 0;

  font-size: 26px;
  font-family: "Noto Serif JP";
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--main__color);

  opacity: 0;
  transform: translateX(-40px);

  animation: mvCatchText .8s ease forwards;
  animation-delay: .45s;
}
@keyframes mvCatch {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes mvCatchText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mv__inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: flex-start;
  position: relative;
}
.mv__content {
  width: 324px;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 16px;
}
.mv__content p {
  font-size: 16px;
  color: var(--text__color);
}
@media (max-width: 1200px) {
  .mv__content {
    margin-left: 30px;
  }
  .mv__catch p {
    padding-left: 30px;
    font-size: 24px;
  }
}
.mv__menu {
  width: min-content;
  display: grid;
  grid-template-columns: repeat(2, 154px);
  gap: 12px;
  padding-left: 0;
  margin-bottom: 50px;
}
.mv__menu li {
  width: 154px;
  height: 154px;
  background-color: #fff;
  border-radius: 15px;
  /* アイコン */
  background-repeat: no-repeat;
  background-position: center 28px; /* ← 上からの位置調整 */
  /* 文字中央下寄せ */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 22px;
  font-size: 26px;
  font-weight: 500;
}
.mv__menu li:nth-child(1) {
  background-image: url("../img/icon-ear.svg");
  background-size: 45px;
}
.mv__menu li:nth-child(2) {
  background-image: url("../img/icon-nose.svg");
  background-size: 44px;
}
.mv__menu li:nth-child(3) {
  background-image: url("../img/icon-throat.svg");
  background-size: 53px;
}
.mv__menu li:nth-child(4) {
  background-image: url("../img/icon-general.svg");
  background-size: 45px;
}
/*
@media (max-width: 1130px) {
  .mv__catch {
    width: 46%;
    padding: 10px 70px 10px 0;
  }
}
*/
@media (max-width: 912px) {
/*
  .mv__catch {
    padding: 10px 43px 10px 0;
  }
*/
  .mv__catch p {
    font-size: 24px;
  }
}
@media (max-width: 853px) {
  .mv {
    min-height: 500px;
  }
	.mv__catch::before {
  width: 50%;
}
/*
  .mv__catch {
    width: 48%;
  }
*/
  /*
  .mv__catch p {
    font-size: 24px;
  }
*/
  .mv__content {
    width: 262px;
    top: -30px;
  }
  .mv__menu {
    width: min-content;
    display: grid;
    grid-template-columns: repeat(2, 125px);
    gap: 12px;
    margin: 0 auto 30px;
  }
  .mv__menu li {
    width: 125px;
    height: 125px;
    background-position: center 18px; /* ← 上からの位置調整 */
    padding: 18px;
    font-size: 21px;
  }
  .mv__menu li:nth-child(1) {
    background-size: 37px;
  }
  .mv__menu li:nth-child(2) {
    background-size: 36px;
  }
  .mv__menu li:nth-child(3) {
    background-size: 43px;
  }
  .mv__menu li:nth-child(4) {
    background-size: 37px;
    background-position: center 22px;
  }
}
@media (max-width: 768px) {
  .mv__catch {
    margin: 20px 0;
/*    padding: 5px 24px 5px 0;*/
/*    bottom: 175px;*/
  }
  .mv__catch p {
    font-size: 22px;
  }
  .mv__content {
    top: 10px;
  }
}
@media (max-width: 668px) {
	.mv__catch::before {
  width: 54%;
}
}
@media (max-width: 598px) {
	.mv__catch::before {
  width: 60%;
}
}
@media (max-width: 540px) {
  .mv {
    min-height: 708px;
    position: relative;
  }
  .mv__catch {
	 text-align: right;
    width: 92%;
    margin: 20px 0;
    padding: 5px 68px 5px 0;
    position: absolute;
    bottom: 10px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 6px rgba(11, 3, 6, 0.16);
  }
  .mv__catch p {
    font-size: 22px;
  }
  .mv__content {
    width: 262px;
    position: relative;
    top: 725px;
    margin: 0 auto;
  }
  .mv__content p {
    font-size: 16px;
  }
}
@media (max-width: 430px) {
  .mv__catch {
    padding: 5px 24px 5px 0;
    bottom: 175px;
  }
  .mv__content {
    top: 540px;
  }
}
@media (max-width: 390px) {
  .mv__catch {
    bottom: 190px;
  }
  .mv__content {
    top: 540px;
  }
}
@media (max-width: 375px) {
  .mv {
    position: relative;
  }
  .mv__catch {
    width: 90%;
    margin: 20px 0;
    padding: 5px 30px 5px 0;
    position: absolute;
    bottom: 207px;
    left: 0;
/*
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 6px rgba(11, 3, 6, 0.16);
*/
  }
  .mv__catch p {
    font-size: 18px;
  }
  .mv__content {
    width: 262px;
    position: relative;
    top: 540px;
    margin: 0 auto;
  }
  .mv__content p {
    font-size: 14px;
  }
  .mv__menu {
    width: min-content;
    display: grid;
    grid-template-columns: repeat(2, 125px);
    gap: 12px;
    margin: 0 auto 30px;
  }
  .mv__menu li {
    width: 125px;
    height: 125px;
    background-position: center 18px; /* ← 上からの位置調整 */
    padding: 18px;
    font-size: 21px;
  }
}
@media (max-width: 344px) {
  .mv__catch {
    bottom: 220px;
    padding: 5px 10px 5px 0;
  }
  .mv__content {
    top: 528px;
  }
}
/* セクション */
section {
  width: 100%;
}
.section {
  padding: 100px 0;
  margin: 0 auto;
}
.section__inner {
  opacity: 0;
  transition: opacity 2.4s cubic-bezier(.19,1,.22,1);
}
.section__inner.is-show {
  opacity: 1;
}
.section--bg {
  width: 100%;
  background: #e9e5d9;
}
.section__inner {
  max-width: 960px;
  margin: 0 auto;
}
/* 共通タイトル */
.section__title {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 60px;
  position: relative;
}
.section__title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 78px;
  height: 6px;
  background: var(--main__color);
}
.section__subtitle {
  position: relative;
  font-size: 20px;
  font-weight: 500;
  padding-left: 30px;
  margin-bottom: 15px;
}
.section__subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(to bottom, #259984, #c4dc82);
  border-radius: 50%;
}
dt.section__subtitle {
  font-weight: 500;
}
@media (max-width: 1200px) {
  .section__inner {
    padding: 0 5%;
  }
}
@media (max-width: 375px) {
  .section {
    padding: 70px 0;
  }
  .section__inner {
    padding: 0 20px;
  }
  .section__title {
    font-size: 22px;
    margin-bottom: 40px;
  }
  .section__subtitle {
    font-size: 17px;
    padding-bottom: 7px;
  }
}
/* はじめての方へ */
/* LINE */
.line-banner {
  display: flex;
  gap: 9%;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  padding: 30px 8%;
  margin-top: 60px;
  align-items: center;
}
.line-banner img {
  max-width: 252px;
}
.line-banner_text {
  width: 60%;
}
.line-banner a {
  display: inline-block;
}
.line-banner a:hover {
  opacity: 0.8;
}
@media (max-width: 650px) {
  .line-banner .modal-trigger {
    order: 1;
  }
  .line-banner {
    display: flex;
    flex-direction: column;
    padding: 30px 5.9%;
  }
  .line-banner_text {
    width: 100%;
    order: 2;
  }
  .line-banner img {
    content: url("../img/line_bannar_sp.jpg");
    width: 100%;
    max-width: 282px;
    margin-bottom: 30px;
  }
}
@media (max-width: 375px) {
  .line-banner .modal-trigger {
    order: 1;
  }
  .line-banner {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
  }
  .line-banner_text {
    width: 100%;
    order: 2;
  }
}
/* 診療案内 */
/* WEB問診 */
.web-banner {
  display: flex;
  gap: 10.5%;
  background: linear-gradient(to bottom, #d8efdd, #e9f1ce);
  border-radius: 25px;
  padding: 30px 6.3%;
  margin: 60px 0;
  align-items: center;
}
.web-banner a:hover {
  opacity: 0.8;
}
.web-banner_text {
  width: 65%;
}
.web-banner_btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 207px;
  height: 124px;
  background-color: var(--main__color);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(37, 147, 127, 0.22);
}
.web-banner_btn::before {
  content: "";
  position: absolute;
  bottom: 20px;
  right: -30px;
  width: 60px;
  height: 60px;
  background: #fff;
  transform: skew(-50deg) translate(50%, 50%);
}
.web-banner_btn::after {
  content: "→";
  position: absolute;
  bottom: -5px;
  right: 2px;
  color: #c4dc82;
  font-size: 30px;
  font-weight: bold;
}
.medical__block {
  display: flex;
  gap: 40px;
  margin-top: 60px;
}
.web-banner_icon {
  width: 74px;
  height: 74px;
  background: #fff;
  border-radius: 50%;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.web-banner_icon img {
  width: 32px;
  height: auto;
}
@media (max-width: 650px) {
  .web-banner {
    flex-direction: column;
    padding: 30px 3%;
  }
  .web-banner_text {
    width: 100%;
  }
  .web-banner_btn {
    width: 100%;
    height: 60%;
    flex-direction: row;
    padding: 2% 10%;
    margin: 0 auto 15px;
    border-radius: 15px;
  }
  .web-banner_icon {
    width: 55px;
    height: 55px;
    margin-bottom: 0;
    margin-right: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .web-banner_label {
    font-size: 22px;
  }
  .web-banner_icon img {
    width: 29px;
    height: auto;
  }
}
@media (max-width: 375px) {
  .web-banner {
    padding: 30px 15px;
  }
  .web-banner_text {
    width: 100%;
  }
  .web-banner_btn {
    width: 100%;
    height: 50px;
    flex-direction: row;
    padding: 5px 25px;
    margin: 0 auto 15px;
  }
  .web-banner_icon {
    width: 37px;
    height: 37px;
    margin-bottom: 0;
  }
  .web-banner_icon img {
    width: 21px;
  }
  .web-banner_label {
    padding: 0 20% 0 15%;
  }
  .web-banner_btn::before {
    display: none;
  }
  .web-banner_btn::after {
    content: "〉";
    position: absolute;
    bottom: 7px;
    right: 2px;
    color: #c4dc82;
    font-size: 25px;
  }
}
.medical__items {
  display: grid;
  gap: 8px 40px; /* 縦 横 */
  margin-top: 10px;
}
.medical__items li {
  position: relative;
  padding-left: 14px;
}
.medical__items li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.medical__row {
  display: flex;
  width: 100%;
  margin-bottom: 60px;
  gap: 35px;
}
.medical__col dt {
  border-bottom: solid 2px var(--main__color);
}
.medical__col--category {
  flex: 0 0 25%;
}
.medical__col--detail {
  flex: 1;
}
.medical__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 30px;
}
/* モーダル部分 */
.medical__modal-links {
  display: block;
}
.medical_about {
  display: block;
  width: fit-content;
  cursor: pointer;
  text-decoration: underline;
  margin: 0;
}
.medical_about:first-child {
  margin-bottom: 60px;
}
.medical_about:hover {
  opacity: 0.8;
}
.medical_about span {
  background: url("../img/modal_icon.svg") no-repeat right center;
  background-size: 23px;
  padding-right: 30px;
}
@media (max-width: 768px) {
  .medical__row {
    flex-direction: column;
  }
  .medical__items {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 375px) {
  .medical__row {
    gap: 40px;
    margin-bottom: 40px;
  }
  .medical_about:first-child {
    margin-bottom: 40px;
  }
  .medical_about span {
    background-size: 18px;
  }
}
/* 診療時間 */
.time {
  display: flex;
}
.time__info {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.time__table {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.border_bottom {
  /* 枠線を削除 */
  border-bottom: none;
  /* 背景画像として線を引く */
  background-image: linear-gradient(
    to right,
    transparent 5%,
    /* 左側の余白（5%分透明） */ #333 5%,
    /* 線開始 */ #333 95%,
    /* 線終了 */ transparent 95% /* 右側の余白（5%分透明） */
  );
  /* 背景のサイズ指定 */
  background-repeat: no-repeat;
  background-position: bottom; /* 下寄せ */
  background-size: 100% 1px; /* 幅100%、高さ1pxの線 */
}
thead {
  background-color: var(--main__color);
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
}
tbody tr {
  background-color: #ffffff;
  font-size: 17px;
}
.time-table {
  width: 100%;
  border-collapse: separate; /* ←変更 */
  border-spacing: 0;
  border-radius: 15px;
  overflow: hidden; /* ←これ重要 */
}
.time-table th {
  text-align: right;
}
.time-table th,
.time-table td {
  text-align: center;
  padding: 15px;
  font-weight: 500;
}
.spacer_line td {
  padding: 0; /* 高さを出さないようにする */
}
.spacer_line div {
  width: 95%; /* ここで線の長さを調整 */
  margin: 0 auto; /* 中央寄せ */
  height: 1px;
  background-color: #333;
}
@media (max-width: 889px) {
  .time {
    flex-direction: column;
  }
  .time__table {
    order: 1;
    margin-bottom: 60px;
  }
  .time-table {
    margin-bottom: 20px;
    width: 100%;
    height: auto;
  }
  .time__info {
    order: 2;
  }
  .time__info,
  .time__table {
    width: 100%;
  }
}
@media (max-width: 504px) {
  .time-table {
    font-size: 15px;
  }
  thead {
    font-size: 15px;
  }
  tbody tr {
    font-size: 15px;
  }
  .time-table th,
  .time-table td {
    padding: 10px;
  }
  .spacer_line td {
    padding: 0;
  }
}
@media (max-width: 376px) {
  .time-table {
    font-size: 13px;
  }
  thead {
    font-size: 13px;
  }
  tbody tr {
    font-size: 13px;
  }
  .time-table th,
  .time-table td {
    padding: 6px;
  }
  .spacer_line td {
    padding: 0;
  }
}
/* アクセス */
.map {
  margin-bottom: 60px;
}
iframe {
  width: 960px;
  height: 299px;
}
.parking__photos {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.parking__item {
  display: flex;
  flex-direction: column;
  width: 50%;
}
.parking__item p {
  margin-top: 20px;
}
.parking__item span {
  color: #ffffff;
  margin-right: 10px;
}
.parking__item span.p2 {
  background-color: #2d79d9;
  padding: 2px 8px;
}
.parking__item span.p1 {
  background-color: #e26e6f;
  padding: 2px 8px;
}
.parking__item span.p1-f1 {
  background-color: #f2f042;
  border: solid 1px #333;
  border-radius: 70%;
  padding: 0 18px;
}
.parking__item iframe {
  width: 100%;
  margin-top: auto;
  aspect-ratio: 16 / 9;
}
.item_p1 iframe {
  margin-top: 30px;
}
.parking__map_sp {
  display: none;
}
@media (max-width: 1200px) {
  iframe {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .item_p1 {
    order: 1;
  }
  .item_p1 img {
    width: 100%;
    order: 2;
  }
  .item_p1 p {
    order: 1;
  }
  .item_p1 iframe {
    order: 3;
  }
  .item_p2 {
    order: 2;
  }
  .item_p2 img {
    width: 100%;
    order: 2;
  }
  .item_p2 p {
    order: 1;
  }
  .item_p2 iframe {
    order: 3;
  }
  .parking__item {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .parking__item img {
    margin-top: 10px;
  }
  .parking__item p {
    margin-top: 10px;
  }
  .item_p1 iframe {
    margin-top: 15px;
  }
  .item_p2 iframe {
    margin-top: 15px;
  }
  .parking__photos {
    flex-direction: column;
    gap: 40px;
  }
  .parking__map {
    display: none;
  }
  .parking__map_sp {
    display: block;
  }
  .parking__map_sp img {
    width: 100%;
    margin-bottom: 35px;
  }
}

@media (max-width: 375px) {
  .parking__item {
    width: 100%;
  }
  iframe {
    width: 100%;
    height: 220px;
  }
}
/* トップへ戻る */
button.to-top {
  width: 60px;
  height: 60px;
  position: fixed;
  right: 40px;
  bottom: 40px;
  padding: 10px;
  border-radius: 50%;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: linear-gradient(to bottom, #259984, #c4dc82);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.3s;
}
@media (max-width: 768px) {
  button.to-top {
    right: 20px;
    bottom: 20px;
  }
}
button.to-top:hover {
  opacity: 0.8;
}
.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top img {
  width: 32px;
  display: inline-block;
  text-align: center;
}
/* フッター */
.footer {
  background: var(--main__color);
  margin-top: 120px;
  padding: 60px 0 10px 0;
}
/* 1200px内に収める */
.footer__inner {
  max-width: 960px;
  margin: 0 auto;
}
/* 横並び（等間隔にはしない） */
.footer__row {
  display: flex;
  align-items: flex-start;
  margin: 40px 0 60px 0;
}
/* 左 */
.footer__info {
  text-align: left;
}
/* 右（余白で位置調整） */
.footer__clinic {
  margin-left: 40px; /* ←ここで距離調整 */
  text-align: left;
}
/* テキスト整え */
.footer p {
  line-height: 1.6;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
}
/* コピーライト */
.copy {
  text-align: center;
  margin-top: 40px;
}
p.copy {
  font-size: 14px;
}
@media (max-width: 1300px) {
  .footer__inner {
    padding: 0 3%;
  }
}
@media (min-width: 769px) {
  .tel-link {
    pointer-events: none;
    cursor: default;
  }
}
@media (max-width: 697px) {
  .footer__inner {
    padding: 0 5%;
  }
  .footer__row {
    flex-direction: column;
    margin: 40px 0 60px 0;
  }
  .footer__clinic {
    margin: 50px 0 0;
  }
  p.copy {
    text-align: center;
  }
}
/* モーダル全体 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
/* 表示時 */
.modal.active {
  display: block;
  opacity: 1;
  visibility: visible;
}
/* 背景 */
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
/* 中身 */
.modal__content {
  position: absolute;
  margin: 0;
  max-width: 960px;
  width: 90%;
  /*  margin: 80px auto;*/
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* タイトル */
.modal__title {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: bold;
  background-color: #def1db;
  color: var(--main__color);
  padding: 10px;
}
/* 本文 */
.modal__body p {
  margin-bottom: 16px;
  line-height: 1.8;
}
/* 署名（右揃え） */
.modal__sign {
  text-align: right;
  margin-top: 30px;
}
.line_qr {
  text-align: center;
  margin: 40px 0;
}
.line_qr img {
  width: 250px;
  height: 250px;
  display: inline-block;
}
/* 閉じるボタン */
.modal__close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #808080;
}
@media (max-width: 1200px) {
  .modal__content {
    width: 80%;
  }
  .line_qr img {
    width: 180px;
    height: 180px;
  }
}
@media (max-width: 768px) {
  .modal__content {
    max-height: 80vh;
    overflow-y: auto;
  }
  .modal__title {
    font-size: 18px;
  }
  .modal__body p {
    font-size: 16px;
    line-height: 1.8;
  }
}
@media (max-width: 375px) {
  .modal__content {
    width: 92%;
    padding: 30px 20px;
  }
  .modal__close {
    font-size: 35px;
  }
}
