/* Add this file after the existing main.css. Header, fixed sidebar/footer, and feature CSS can stay as-is. */
.fv2026 {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: url("../img/fv_pc.webp") center top / cover no-repeat;
}

.fv2026_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.fv2026_doctor {
  position: absolute;
  top: 70px;
  left: 4.2%;
  z-index: 2;
  width: min(28.7vw, 600px);
  padding: 24px 26px 28px;
  border: 1px solid var(--top-green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.fv2026_doctor_head {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin: 0;
  border-radius: 4px;
  background: var(--top-green);
  color: #fff;
  font-size: clamp(17px, 1.26vw, 28px);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.fv2026_doctor_body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(92px, 7.4vw, 142px);
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
  margin-top: 20px;
}

.fv2026_doctor li {
  position: relative;
  padding-left: 20px;
  color: #565351;
  font-size: clamp(14px, 0.98vw, 21px);
  font-weight: 700;
  line-height: 1.86;
  white-space: nowrap;
}

.fv2026_doctor li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--top-green);
  content: "";
}

.fv2026_doctor img {
  width: 100%;
  height: auto;
}

.fv2026_copy {
  position: absolute;
  top: 45.08%;
  left: 4.1667%;
  bottom: auto;
  z-index: 3;
  color: var(--top-green);
}

.fv2026_copy h1 {
  margin: 0;
  width: min(671px, 64vw);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
  background: linear-gradient(180deg, #43ac9d 0%, #448a84 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fv2026_message {
  width: min(479px, 54vw);
  margin: 24px 0 0;
  color: #439589;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.8;
}

.fv2026_lead {
  width: min(720px, 66vw);
  margin: 16px 0 0;
  color: #439589;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.8;
}

.fv2026_machine {
  position: absolute;
  right: 5.8%;
  bottom: 155px;
  z-index: 2;
  width: clamp(500px, 39.2vw, 620px);
  height: auto;
}

.fv2026_badges {
  position: absolute;
  right: 4.7%;
  bottom: 70px;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 1.6vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv2026_badge {
  position: relative;
  width: clamp(142px, 11.55vw, 250px);
  aspect-ratio: 1;
  background-image: url("../img/shape_bg_green.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: #fff;
  text-align: center;
}

.fv2026_badge_gold {
  background-image: url("../img/shape_bg_brown.webp");
}

.fv2026_badge > div {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 13%;
}

.fv2026_badge span {
  font-size: clamp(12px, 0.98vw, 21px);
  font-weight: 700;
  line-height: 1.45;
}

.fv2026_badge strong {
  margin-top: 6px;
  font-size: clamp(18px, 1.42vw, 31px);
  font-weight: 800;
  line-height: 1.42;
  white-space: nowrap;
}

.sp_fv_links {
  display: none;
}

@media screen and (max-width: 1439px) {
  .fv2026_copy h1 {
    font-size: max(28px, 28px + 28 * (100vw - 390px) / 1049);
  }

  .fv2026_message {
    font-size: max(24px, 24px + 16 * (100vw - 390px) / 1049);
  }

  .fv2026_lead {
    font-size: max(14px, 14px + 10 * (100vw - 390px) / 1049);
  }
}

@media screen and (max-width: 767px) {
  .fv2026 {
    min-height: 640px;
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
    background-image: url("../img/fv_sp.webp");
    background-size: cover;
    background-position: center top;
  }

  .fv2026_inner {
    width: 100%;
  }

  .fv2026_doctor {
    top: auto;
    right: 20px;
    bottom: 112px;
    left: 20px;
    width: auto;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
  }

  .fv2026_doctor_head {
    height: 25px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
  }

  .fv2026_doctor_body {
    grid-template-columns: minmax(0, 1fr) 37px;
    gap: 10px;
    margin-top: 7px;
  }

  .fv2026_doctor ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .fv2026_doctor li {
    padding-left: 8px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
  }

  .fv2026_doctor li::before {
    top: 0.62em;
    width: 5px;
    height: 5px;
  }

  .fv2026_doctor img {
    width: 37px;
  }

  .fv2026_copy {
    top: clamp(116px, calc(236px + (100svh - 812px) * 0.93), 259px);
    right: 20px;
    bottom: auto;
    left: 20px;
  }

  .fv2026_copy h1 {
    display: block;
    width: 100%;
    font-size: clamp(23px, 7.15vw, 56px);
    font-weight: 800;
    line-height: 1.46;
    letter-spacing: 0;
    white-space: nowrap;
    transform: none;
    background: linear-gradient(180deg, #43ac9d 0%, #2f837c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .fv2026_message {
    width: 100%;
    margin-top: 10px;
    font-size: clamp(25px, 5.25vw, 40px);
    line-height: 1.45;
    text-align: left;
    white-space: nowrap;
    transform: none;
	text-shadow:1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff, 0 0 5px rgba(255, 255, 255, 0.95);
  }

  .fv2026_lead {
    width: 100%;
    margin-top: clamp(8px, 2vw, 16px);
    font-size: clamp(9.2px, 2.9vw, 12px);
    line-height: 1.6;
    text-align: left;
    white-space: nowrap;
    transform: none;
    text-shadow:
      1px 1px 0 #fff,
      -1px 1px 0 #fff,
      1px -1px 0 #fff,
      -1px -1px 0 #fff,
      0 0 5px rgba(255, 255, 255, 0.95);
  }

  .fv2026_machine {
    right: auto;
    bottom: 265px;
    left: 20px;
    width: calc(100% - 40px);
  }

  .fv2026_badges {
    right: 20px;
    bottom: 220px;
    left: 20px;
    justify-content: space-between;
    gap: 0;
  }

  .fv2026_badge {
    width: min(190px, calc((100vw - 56px) / 3));
    background-image: url("../img/shape_bg_green_sp.webp");
  }

  .fv2026_badge_gold {
    background-image: url("../img/shape_bg_brown_sp.webp");
  }

  .fv2026_badge > div {
    padding: 9%;
  }

  .fv2026_badge span {
    font-size: clamp(9px, 1.9vw, 15px);
    line-height: 1.38;
  }

  .fv2026_badge strong {
    margin-top: 3px;
    font-size: clamp(15px, 3.3vw, 25px);
    line-height: 1.35;
  }

  .sp_fv_links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: calc(100% - 38px);
    max-width: 720px;
    margin: 0;
    position: fixed;
    right: auto;
    bottom: 58px;
    left: 50%;
    z-index: 102;
    transform: translateX(-50%);
	font-size:10px
  }

  .sp_fv_links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 36px;
    border: 1px solid var(--top-green-light);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.93);
    color: var(--top-green-light);
    font-size: clamp(8.8px, 2.45vw, 9.8px);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
  }

  .sp_fv_links img {
    width: 13px;
    height: 13px;
    object-fit: contain;
  }
}

/* Add after the existing header.css. Keeps existing class names and only extends the new LINE/fixed-button layout. */
.header .header_inner .header_contact {
  grid-template-columns: 280px 350px 220px;
  gap: 40px;
}

.header .header_inner {
  gap: 20px;
  padding-right: 20px;
}

.header .header_inner .header_logo_area {
  flex: 0 1 260px;
  width: 260px;
  min-width: 0;
}

.header .header_inner .header_logo_area .header_h1 {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  font-size: clamp(6px, 0.7vw, 10px);
  line-height: 1;
  white-space: nowrap;
}

.header .header_inner .header_logo {
  width: 260px;
}

.header .header_inner .header_contact .header_outpatient_tel > span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
}

.header .header_inner .header_contact .header_outpatient_tel strong {
  gap: 5px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  padding-bottom: 1px;
}

.header .header_inner .header_contact .header_outpatient_tel strong img {
  width: 16px;
  height: 20px;
}

.header .header_inner .header_contact .contact-box h2 {
  font-size: 16px;
}

.header .header_inner .header_contact .contact-box .contact-box_inner {
  gap: 10px;
}

.header .header_inner .header_contact .contact-box .contact-box_inner .contact-box_tel span {
  font-size: 12px;
}

.header .header_inner .header_contact .contact-box .contact-box_inner .contact-box_tel strong {
  font-size: 16px;
}

.header .header_inner .header_contact .contact-box .contact-box_inner a.contact-box_btn {
  width: 200px;
  font-size: 16px;
  font-weight: 500;
}

.header .header_inner .header_contact .contact-box_line {
  color: var(--top-green-light);
}

.header .header_inner .header_contact .contact-box_line .contact-box_btn {
  width: 180px;
  border-color: var(--top-green-light);
  background: var(--top-green-light);
}

.header .header_inner .header_contact .contact-box_line .contact-box_btn img {
  width: 19px;
  height: 19px;
  filter: brightness(0) invert(1);
}

.pc_fixed_group {
  position: fixed;
  z-index: 101;
  top: 21.8%;
  right: 0;
  display: grid;
  gap: 8px;
}

.pc_fixed_group .pc_fixed_btn {
  position: static;
  transform: none;
}

.pc_fixed_group .pc_fixed_btn .icon {
  flex-basis: 49px;
}

.pc_fixed_group .pc_fixed_btn .text {
  padding-top: 14px;
  font-size: 16px;
  font-weight: 400;
}

.pc_fixed_group .pc_fixed_btn_check,
.pc_fixed_group .pc_fixed_btn_visit {
  height: auto;
  background: #fff;
  color: var(--top-green-light);
}

.pc_fixed_group .pc_fixed_btn_check .text,
.pc_fixed_group .pc_fixed_btn_visit .text {
  padding-top: 0;
  padding-bottom: 15px;
  font-size: 16px;
  line-height: 1.1;
}

.pc_fixed_group .pc_fixed_btn_check .text,
.pc_fixed_group .pc_fixed_btn_visit .text {
  color: var(--top-green-light);
}

.pc_fixed_group .pc_fixed_btn_access {
  background: var(--top-green);
  color: #fff;
}

.pc_fixed_group .pc_fixed_btn_access .text {
  color: #fff;
}

.icon_doc,
.icon_stethoscope {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  overflow: visible;
}

.icon_doc::before {
  position: absolute;
  inset: 2px 5px 2px 3px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.icon_doc::after {
  position: absolute;
  right: 4px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  box-shadow: -8px 8px 0 -6px currentColor, -4px 8px 0 -6px currentColor;
  content: "";
  transform: rotate(45deg);
}

.icon_stethoscope::before {
  position: absolute;
  left: 5px;
  top: 3px;
  width: 15px;
  height: 18px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  content: "";
}

.icon_stethoscope::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 9px;
  height: 9px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: -8px -5px 0 -6px currentColor;
  content: "";
}

@media screen and (max-width: 1439px) {
  .header .header_inner {
    gap: 20px;
    padding-right: 20px;
  }

  .header .header_inner .header_logo_area {
    flex-basis: max(180px, 180px + 80 * (100vw - 768px) / 671);
    width: max(180px, 180px + 80 * (100vw - 768px) / 671);
  }

  .header .header_inner .header_logo {
    width: max(200px, 200px + 60 * (100vw - 768px) / 671);
    max-width: 100%;
  }

  .header .header_inner .header_contact {
    grid-template-columns:
      max(170px, 170px + 110 * (100vw - 768px) / 671)
      max(210px, 210px + 140 * (100vw - 768px) / 671)
      max(130px, 130px + 90 * (100vw - 768px) / 671);
    gap: max(12px, 12px + 28 * (100vw - 768px) / 671);
  }

  .header .header_inner .header_contact .header_outpatient_tel strong {
    font-size: max(20px, 20px + 8 * (100vw - 768px) / 671);
    letter-spacing: max(0.04em, 0.04em + 0.06 * (100vw - 768px) / 671);
  }

  .header .header_inner .header_contact .header_outpatient_tel > span,
  .header .header_inner .header_contact .contact-box h2 {
    font-size: max(12px, 12px + 4 * (100vw - 768px) / 671);
  }

  .header .header_inner .header_contact .contact-box .contact-box_inner .contact-box_tel span {
    font-size: max(10px, 10px + 2 * (100vw - 768px) / 671);
  }

  .header .header_inner .header_contact .contact-box .contact-box_inner .contact-box_tel strong {
    font-size: max(12px, 12px + 4 * (100vw - 768px) / 671);
  }

  .header .header_inner .header_contact .contact-box .contact-box_inner a.contact-box_btn {
    width: max(130px, 130px + 80 * (100vw - 768px) / 671);
    font-size: max(11px, 11px + 5 * (100vw - 768px) / 671);
  }

  .header .header_inner .header_contact .contact-box_line .contact-box_btn {
    width: max(135px, 135px + 55 * (100vw - 768px) / 671);
  }
}

@media screen and (min-width: 768px) and (max-width: 900px) {
  .header .header_inner {
    gap: 8px;
    padding-right: 8px;
  }

  .header .header_inner .header_logo_area .header_logo {
    width: 180px;
  }

  .header .header_inner .header_contact {
    grid-template-columns: 160px 194px 110px;
    gap: 8px;
  }

  .header .header_inner .header_contact .header_outpatient_tel strong {
    font-size: 18px;
    letter-spacing: 0.04em;
  }

  .header .header_inner .header_contact .header_outpatient_tel strong img {
    width: 13px;
    height: 16px;
  }

  .header .header_inner .header_contact .contact-box .contact-box_inner a.contact-box_btn {
    width: 118px;
    font-size: 13px;
  }

  .header .header_inner .header_contact .contact-box_line .contact-box_btn {
    width: 96px;
  }
}

@media screen and (max-width: 767px) {
  .header .header_sp .drawer-navbar .drawer-container .drawer-navbar-header .header_sp_actions {
    display: grid;
    grid-template-columns: 70px 80px;
    height: 55px;
  }

  .header .header_sp .drawer-navbar .drawer-container .drawer-navbar-header .header_sp_actions .header_sp_action {
    width: auto;
  }

  .header .header_sp .drawer-navbar .drawer-container .drawer-navbar-header .drawer-hamburger {
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .header .header_sp .drawer-navbar .drawer-container .drawer-navbar-header .drawer-hamburger .icon_open,
  .header .header_sp .drawer-navbar .drawer-container .drawer-navbar-header .drawer-hamburger .icon_close {
    width: 50px;
    height: 55px;
  }

  .pc_fixed_group {
    display: none;
  }
}
