html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Meiryo, "Kozuka Gothic Pr6N R", "Kozuka Gothic Pr6N B",
    "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", "MS Pゴシック", "MS PGothic",
    sans-serif;
  font-size: 100%;
  vertical-align: baseline;
}
a {
  color: #333;
  text-decoration: none;
}
a:visited,
a:link {
  color: #083896;
}
/* PC styles */
@media print, screen and (width >= 768px) {
  .wrapInner {
    max-width: 1200px;
    margin: 0 auto;
  }
  .spOnly {
    display: none;
  }
}

/* SP styles */
@media screen and ( width < 768px ) {
  .pcOnly {
    display: none;
  }
  .tbOnly{
    display: none;
  }
  .wrapInner {
    padding: 0 12px;
  }
  .spFlex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

/* PC Styles */
@media screen and (min-width: 1024px) {
  .tbOnly {
    display: none;
  }
}

/* TABLET STYLES */
@media only screen and (width >= 768px) and ( width < 1024px ) {
  .pcOnly {
    display: none;
  }
  .spOnly {
    display: none;
  }
}
/* Text Color */
.textGray {
  color: #333 !important;
}
.textBlue {
  color: #002060 !important;
}
.textGreen {
  color: #007a61 !important;
}
.textRed {
  color: #e96969 !important;
}
.textIndigo {
  color: #3b76c6 !important;
}
/* Icons */
.windowIcon {
  padding-left: 5px;
}
.pdfIcon {
  padding-left: 15px;
}
.windowIcon img,
.pdfIcon img {
  vertical-align: middle;
}
/* ========== Root variables ========== */
:root {
  --text-color1: #273c4b;
  --text-color2: #fff;
  --text-color3: #7c8a95;
  --primary-color: #2e6aae;
  --accent-color1: #407bbe;
  --error-color: #da093b;
  --bg1: #fff;
  --bg3: #fff;
}
/* ========== Reset / Base ========== */
html {
  margin: 0;
  padding: 0;
  height: 100%;
  height: -webkit-fill-available;
  font-size: 62.5%;
  word-break: break-word;
  overflow-wrap: break-word;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.8;
  font-size: 1.6rem;
  color: var(--text-color1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  max-height: 100000000px;
}
dfn {
  font-style: normal;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul[class],
ol[class] {
  list-style: none;
}
a {
  text-decoration: none;
  word-break: break-all;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
a:focus-visible {
  outline: var(--accent-color1) auto 1px;
}
img {
  max-width: 100%;
  height: auto;
}
article>*+* {
  margin-top: 1em;
}
sub {
  vertical-align: bottom;
  position: relative;
  top: 0.1rem;
}
input,
button,
textarea,
select {
  font-family: inherit;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
input[type="text"],
input[type="search"] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
}
select,
textarea,
button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
}
textarea {
  resize: none;
  padding: 0;
}
button {
  padding: 0;
  cursor: pointer;
}
iframe {
  width: 100%;
  border: none;
  overflow-y: hidden;
}
[tabindex="-1"]:focus {
  outline: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/*
------------------------------------------
PARTS: HEADER
patients/common/include/header_patients.html
------------------------------------------ */
header {
  position: relative;
  transition: 0.4s;
}
#headerPatientsArea1 {
  min-height: 82px;
  overflow: hidden;
  border-bottom: 5px solid var(--accent-color1);
  background: #fff;
}
#headerPatientsArea1 img {
  display: block;
}
#headerPatientsArea1 .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}
.headerPatientsArea1_inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 0 0;
}
.headerPatientsArea1_inner .headLogo {
  position: relative;
  width: 100%;
}
/* ========== Site search (header) ========== */
.search-drop {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.search-drop .search-icon circle,
.search-drop .search-icon path {
  stroke: var(--primary-color);
}
.search-drop span {
  display: inline-block;
  margin-right: 4px;
  font-size: 1.4rem;
  color: var(--primary-color);
}
.header-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.header-search.active {
  opacity: 1;
  visibility: visible;
}
.header-search .search-form {
  display: flex;
  width: 100%;
  max-width: 550px;
}
.header-search .search-form .search-input {
  padding: 0 48px 0 24px;
  min-height: 40px;
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--accent-color1);
}
.header-search .search-form .search-btn {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translate(0, -50%);
}
.search-btn img {
  display: block;
}
.header-search .search-form .search-btn:before,
.header-search .search-form .search-btn:after {
  display: none;
}
.header-search .search-close {
  display: flex;
  width: 24px;
  height: 24px;
}
.header-search .search-close button {
  cursor: pointer;
}
/* headerPatientsBlock の検索オープン状態 */
.headerPatientsBlock.search-open .nav-sub ul,
.headerPatientsBlock.search-open .sp-search-button,
.headerPatientsBlock.search-open .nav-toggle {
  opacity: 0;
  visibility: hidden;
}
.searchInner fieldset {
  background-color: #fff;
}
/* ========== Global sub navigation (right, PC) ========== */
.nav-sub {
  display: flex;
  justify-content: end;
  align-items: center;
  padding-top: 16px;
  background: var(--bg1);
  transition: 0.4s;
}
.nav-sub ul {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}
.nav-sub ul li a {
  color: var(--text-color1);
  font-size: 1.4rem;
}
@media (hover: hover) {
  .nav-sub ul li a:hover {
    text-decoration: underline;
  }
}
.nav-sub ul li.current a {
  color: var(--primary-color);
}
/* ========== Primary navigation (globalLinksMain 内の nav-main) ========== */
.nav-wrapper {
  display: contents;
}
.nav-main>ul {
  display: grid;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  padding: 4px 4px 4px 6px;
}
.nav-main>ul>li {
  height: 100%;
}
.nav-main>ul>li>button,
.nav-main>ul>li>a {
  width: 100%;
  height: 100%;
  padding: 12px;
  text-align: center;
  border-radius: 9999px;
  transition: 0.4s;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-color1);
  white-space: nowrap;
  cursor: pointer;
}
.nav-main>ul>li>a {
  display: inline-block;
}
@media (hover: hover) {
  .nav-main>ul>li>button:hover,
  .nav-main>ul>li>a:hover {
    color: var(--text-color2);
    background: var(--primary-color);
  }
  .nav-main>ul>li>button:hover::after,
  .nav-main>ul>li>a:hover::after {
    border-color: #fff;
  }
}
.nav-main>ul>li.current>button,
.nav-main>ul>li.current>a {
  color: var(--primary-color);
}
.nav-main>ul>li.current>button::after,
.nav-main>ul>li.current>a::after {
  border-color: var(--primary-color);
}
@media (hover: hover) {
  .nav-main>ul>li.current>button:hover,
  .nav-main>ul>li.current>a:hover {
    color: var(--text-color2);
  }
  .nav-main>ul>li.current>button:hover::after,
  .nav-main>ul>li.current>a:hover::after {
    border-color: #fff;
  }
}
/* has-subnav 共通 */
.has-subnav>button {
  display: flex;
  align-items: center;
  justify-content: center;
}
.has-subnav>button::after {
  content: "";
  display: block;
  margin-left: 12px;
  width: 6px;
  height: 6px;
  border-bottom: 0.094rem solid var(--text-color1);
  border-right: 0.094rem solid var(--text-color1);
  transform: rotate(45deg) translate(-0.3rem, 0.15rem);
}
.has-subnav[aria-expanded="true"]>button {
  background: var(--primary-color);
  color: var(--text-color2) !important;
}
.has-subnav[aria-expanded="true"]>button::after {
  transform: rotate(-135deg) translate(0.15rem, -0.3rem);
  border-color: var(--text-color2) !important;
}
/* ========== Desktop subnav (>=960px) ========== */
@media screen and (width >=960px) {
  .has-subnav[aria-expanded="true"] .subnav-wrapper {
    visibility: visible;
    opacity: 1;
  }
  .has-subnav[aria-expanded="true"] .subnav-section,
  .has-subnav[aria-expanded="true"] .subnav-list {
    opacity: 1;
    visibility: visible;
  }
  .has-subnav[aria-expanded="false"] .subnav-section a,
  .has-subnav[aria-expanded="false"] .subnav-list a {
    pointer-events: none;
    cursor: default;
  }
  .subnav-section,
  .subnav-list {
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
  }
  .subnav-wrapper {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 16px 2.5vw 0;
    transition: 0.4s;
    background: var(--bg1);
  }
  .subnav-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 16px;
    top: -16px;
  }
  .subnav {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding: 48px 80px 48px 48px;
    border-radius: 12px;
    background: var(--primary-color);
    box-shadow: 0px 1px 3px 0px rgba(27, 31, 36, 0.12),
      0px 8px 24px 0px rgba(66, 74, 83, 0.12);
    color: var(--text-color2);
  }
  .subnav-head {
    display: contents;
  }
  .sp-menu-back-button {
    display: none;
  }
  .subnav-section {
    width: 320px;
  }
  .subnav-section>a {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 2.4rem;
    color: var(--text-color2);
    border-bottom: 1px solid var(--primary-color);
    transition: 0.4s;
  }
  .subnav-section>a::after {
    content: "";
    display: block;
    margin-left: 8px;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12' fill='none'%3E%3Cpath d='M12.8047 6H0.804688' stroke='white' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.14062 1.32812L12.8073 5.99479L8.14062 10.6615' stroke='white' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
  }
  .subnav-section>p {
    font-size: 1.4rem;
  }
  .subnav-list {
    width: calc(100% - 320px - 48px);
  }
  .subnav-list>ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 16px;
    height: max-content;
  }
  .subnav-list>ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 24px;
    color: var(--text-color2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: 0.4s;
  }
  .subnav-list>ul li a::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12' fill='none'%3E%3Cpath d='M12.8047 6H0.804688' stroke='white' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.14062 1.32812L12.8073 5.99479L8.14062 10.6615' stroke='white' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
  }
  .subnav-list>ul li:nth-child(n + 4) a {
    padding-top: 24px;
    align-items: center;
  }
  .subnav-list.owned-media>span {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 1.8rem;
  }
  .subnav-list.owned-media>ul {
    grid-template-columns: repeat(4, 1fr);
  }
  .subnav-list.owned-media>ul li a {
    display: block;
    overflow: hidden;
    height: 100%;
    padding-bottom: 0;
    border-bottom: none;
    border-radius: 12px;
    background: var(--bg1);
  }
  .subnav-list.owned-media>ul li a::after {
    display: none;
  }
  .subnav-list.owned-media>ul li a .title {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.4rem;
    color: var(--text-color1);
  }
  .subnav-list.owned-media>ul li a .title p {
    height: 100%;
    min-height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .subnav-list.owned-media>ul li a img {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1/1;
  }
}
@media screen and (width >=960px) and (hover: hover) {
  .subnav-section>a:hover {
    border-color: #fff;
  }
  .subnav-list>ul li a:hover {
    border-color: #fff;
  }
}
/* ========== Tablet 微調整 (<1200px) ========== */
@media screen and (width < 1201px) {
  .headerPatientsArea1_inner {
    padding: 22px 12px 0;
  }
  .nav-main>ul {
    gap: 8px;
  }
  .subnav {
    display: flex;
    flex-direction: column;
  }
  .subnav-list {
    width: 100%;
  }
  /* タブレット時の検索アイコン色 */
  .search-drop .search-icon circle,
  .search-drop .search-icon path {
    stroke: #7c8a95;
  }
}
/* ========== Mobile header/menu (<1024px) ========== */
@media screen and (width < 1024px) {
  #headerPatientsArea2.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
  }
  .headerPatientsArea1_inner {
    padding: 22px 4px 0 12px;
  }
  .leftContent {
    width: 100%;
  }
  .headerPatientsArea1_inner .headLogo {
    display: flex;
    justify-content: space-between;
  }
  .search-drop span {
    display: none;
  }
  .header-search {
    display: none;
  }
  /* nav-main のSP化 */
  .nav-wrapper {
    visibility: hidden;
    opacity: 0;
    overflow-y: auto;
    transition: 0.4s;
    position: absolute;
    top: -16px;
    left: -2.5vw;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    padding: 24px 24px 40px;
    background: var(--primary-color);
  }
  .nav-wrapper.sp-menu-open {
    visibility: visible;
    opacity: 1;
  }
  .nav-main ul {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    padding: 0;
  }
  .nav-main ul li {
    transition: all 0.4s;
  }
  .nav-main ul li a,
  .nav-main ul li button {
    display: flex;
    padding: 24px 0 16px;
    text-align: left;
    justify-content: space-between;
    color: var(--text-color2);
    font-size: 1.6rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    white-space: initial;
  }
  .has-subnav .subnav-wrapper {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 100;
    top: 24px;
    width: calc(100% - 48px);
    height: 100%;
    background: var(--primary-color);
    transition: 0.4s;
  }
  .has-subnav>button::after {
    width: 10px;
    height: 10px;
    border-bottom: 1px solid var(--text-color2);
    border-right: 1px solid var(--text-color2);
    transform: rotate(-45deg) translate(-6px, -6px);
  }
  .has-subnav[aria-expanded="true"] .subnav-wrapper {
    visibility: visible;
    opacity: 1;
  }
  .has-subnav[aria-expanded="true"]>button {
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .has-subnav[aria-expanded="true"]>button::after {
    transform: rotate(-45deg) translate(-6px, -6px);
  }
  .has-subnav[aria-expanded="true"] .subnav {
    padding-bottom: 20vh;
  }
  .sp-menu-back-button button {
    align-items: center;
    gap: 7px;
    padding: 0 !important;
    font-size: 1.4rem;
    border-bottom: none !important;
  }
  .sp-menu-back-button button::before {
    content: "";
    display: block;
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M0.804688 5L11.3047 5' stroke='white' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.89062 9.08594L0.807292 5.0026L4.89063 0.919269' stroke='white' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
  }
  .sp-subnav-title {
    display: block;
    margin-top: 24px;
    font-size: 2rem;
    color: var(--text-color2);
  }
  .subnav-section a::after {
    display: none;
  }
  .subnav-section p {
    display: none;
  }
  .subnav-list.owned-media>span {
    display: inline-block;
    margin-top: 16px;
    color: var(--text-color2);
  }
  .subnav-list.owned-media>ul li a {
    justify-content: start;
  }
  .subnav-list.owned-media>ul li a .title {
    margin-left: 12px;
    color: var(--text-color2);
  }
  .subnav-list.owned-media>ul li a img {
    width: 22vw;
    object-fit: cover;
    aspect-ratio: 1/1;
  }
  .subnav-list.owned-media>ul li.next-stories-link a .title {
    padding-bottom: 32px;
  }
  .globalLinksMain {
    overflow-y: auto;
  }
  .globalNav02 .globalLogo a {
    padding: 8px 14px;
  }
  .globalNav02.spOnly {
    position: relative;
    z-index: 50;
  }
  /* オーバーレイ類（SP用） */
  #modWrap {
    display: none;
    position: fixed;
    top: 164px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    transition: top 0.2s;
  }
  #modWrapMain {
    display: none;
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1099;
    background: rgba(0, 0, 0, 0.6);
    transition: top 0.2s;
  }
  .globalNav02.spOnly .globalLinks {
    display: none;
    z-index: 1099;
    width: 100%;
  }
  .globalLinksMain {
    display: none;
    position: fixed;
    top: 82px;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: calc(100% - 82px);
    padding: 0 24px 40px;
    border-bottom: 1px solid #d2d2d2;
    background: var(--primary-color);
  }
  .globalNav02.spOnly .topNav {
    width: 100%;
  }
  .globalNav02.spOnly .topNav .topNavInner {
    display: flex;
    background-color: #002060;
    justify-content: space-between;
    align-items: center;
  }
  .globalNav02.spOnly .topNavInner {
    padding: 0 120px 0 12px;
  }
  .globalNav02.spOnly .topNav .topNavInner>p {
    padding: 19px 0;
    color: #fff;
    font-size: 21px;
    font-weight: bold;
  }
  .globalNav02.spOnly .globalLinks.open {
    position: absolute;
    top: 76px;
    left: 0;
    z-index: 1099;
    width: 100%;
    overflow-y: auto;
  }
  .globalNav02.spOnly .globalLinks a {
    display: block;
    position: relative;
    padding: 19px 40px 19px 12px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    background: #fff;
  }
  .globalNav02.spOnly .globalLinks a:after {
    display: block;
    position: absolute;
    top: 50%;
    right: 1.3em;
    width: 11px;
    height: 11px;
    border-right: 3px solid;
    border-bottom: 3px solid;
    color: #fff;
    content: "";
    box-sizing: border-box;
    transform: translateY(-50%) rotate(-45deg);
  }
  .globalNav02.spOnly .globalLinks a:before {
    display: block;
    position: absolute;
    top: 50%;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background-color: #002060;
    content: "";
    transform: translateY(-50%);
  }
  .globalNav02.spOnly .globalLinks a:hover:after {
    color: #002060;
  }
  .globalNav02.spOnly .globalLinks a:hover:before {
    background-color: #fff;
  }
  .globalNav02.spOnly .globalLinks li {
    border-bottom: 1px solid #d2d2d2;
  }
  .globalLinksMain ul.first li a {
    display: block;
    position: relative;
    padding: 19px 40px 19px 12px;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
  }
  .globalLinksMain ul.first li {
    border-bottom: 1px solid #d2d2d2;
  }
  .globalNav02.spOnly .globalLinks a:hover {
    background: url("/patients/common/images/icon_arrow_blue_invert.png") no-repeat center right 12px #002060;
  }
  .globalNav02.spOnly a.icon {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background: black;
  }
  .globalNav02.spOnly a:hover {
    color: #fff;
  }
  .globalNav02.spOnly li:nth-child(4) a .windowIcon div {
    display: inline-block;
    width: 20px;
    height: 16px;
    background: url("/patients/common/images/icon_window_blue.png") no-repeat center right 0;
    background-size: contain;
  }
  .globalNav02.spOnly li:nth-child(4) a:hover .windowIcon div {
    background: url("/patients/common/images/icon_window_white.png") no-repeat center right 0;
    background-size: contain;
  }
  .menu_icon {
    display: inline-block;
    position: absolute;
    top: 11px;
    right: 9px;
    max-width: 49px;
    width: 49px;
    height: 43px;
    background: url("/patients/common/images/icon_menu.png") 0% 0% / contain no-repeat;
    background-size: contain;
    z-index: 50;
  }
  .menu_iconMain {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 0;
    max-width: 60px;
    width: 100%;
    height: 100%;
    background: url("/patients/common/images/icon_main_menu.png") center no-repeat;
    background-size: contain;
    transform: translateY(-50%);
  }
  .menu_iconMain.spOnly {
    display: block !important;
  }
  .globalLinksMainFooter {
    display: flex;
    margin: 35px 0;
    justify-content: center;
  }
  .globalLinksMainFooter .globalLinksMainCloseBtn {
    position: relative;
    padding-left: 23px;
    color: #fff;
    font-size: 13px;
  }
  .globalLinksMainFooter .globalLinksMainCloseBtn:before {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: url("/patients/common/images/icon_main_menu_close.png") no-repeat;
    content: "";
    background-size: contain;
    box-sizing: border-box;
    transform: translateY(-50%);
  }
  #headerPatientsArea1 .inner {
    padding: 0 4px 0 12px;
  }
}
/* Tablet（768–1023 の別挙動版） */
@media screen and (768px <=width < 1024px) {
  .globalLinksMain {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #d2d2d2;
    background: var(--primary-color);
  }
  .globalLinksMain ul.first li a {
    display: block;
    position: relative;
    padding: 19px 40px 19px 12px;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
  }
  .globalLinksMain ul.first li {
    border-bottom: 1px solid #d2d2d2;
  }
  .globalLinksMainFooter {
    display: flex;
    margin: 35px 0;
    justify-content: center;
  }
  .globalLinksMainFooter .globalLinksMainCloseBtn {
    position: relative;
    padding-left: 23px;
    color: #fff;
    font-size: 13px;
  }
  .globalLinksMainFooter .globalLinksMainCloseBtn:before {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: url("/patients/common/images/icon_main_menu_close.png") no-repeat;
    content: "";
    background-size: contain;
    box-sizing: border-box;
    transform: translateY(-50%);
  }
  #headerPatientsArea2 {
    border-top: 0;
    border-bottom: 0;
  }
  .globalNav02.pcOnly {
    display: none;
  }
  #headerPatientsArea2 .wrapInner {
    padding: 0;
  }
  .globalNav02 .globalLogo a {
    padding: 8px 14px;
  }
  .globalNav02.spOnly {
    display: block;
    position: relative;
    z-index: 50;
  }
  #modWrap,
  #modWrapMain {
    display: none;
    position: fixed;
    top: 69px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    transition: top 0.2s;
  }
  .globalNav02.spOnly .globalLinks {
    display: none;
    z-index: 1099;
    width: 100%;
  }
  .globalLinksMain {
    display: none;
    position: fixed;
    top: 82px;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: calc(100% - 82px);
    padding: 0 24px 40px;
    border-bottom: 1px solid #d2d2d2;
    background: var(--primary-color);
    overflow-y: auto;
  }
  .globalNav02.spOnly .topNav {
    width: 100%;
  }
  .globalNav02.spOnly .topNav .topNavInner {
    display: flex;
    background-color: #002060;
    justify-content: space-between;
    align-items: center;
  }
  .globalNav02.spOnly .topNavInner {
    padding: 0 120px 0 12px;
  }
  .globalNav02.spOnly .topNav .topNavInner>p {
    padding: 19px 0;
    color: #fff;
    font-size: 21px;
    font-weight: bold;
  }
  .globalNav02.spOnly .globalLinks.open {
    position: absolute;
    top: 76px;
    left: 0;
    z-index: 1099;
    width: 100%;
    overflow-y: auto;
  }
  .globalNav02.spOnly .globalLinks a {
    display: block;
    position: relative;
    padding: 19px 40px 19px 12px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    background: #fff;
  }
  .globalNav02.spOnly .globalLinks a:after {
    display: block;
    position: absolute;
    top: 50%;
    right: 1.1em;
    width: 11px;
    height: 11px;
    border-right: 3px solid;
    border-bottom: 3px solid;
    color: #fff;
    content: "";
    box-sizing: border-box;
    transform: translateY(-50%) rotate(-45deg);
  }
  .globalNav02.spOnly .globalLinks a:before {
    display: block;
    position: absolute;
    top: 50%;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background-color: #002060;
    content: "";
    transform: translateY(-50%);
  }
  .globalNav02.spOnly .globalLinks a:hover:after {
    color: #002060;
  }
  .globalNav02.spOnly .globalLinks a:hover:before {
    background-color: #fff;
  }
  .globalNav02.spOnly .globalLinks li {
    width: 100%;
    border-bottom: 1px solid #d2d2d2;
  }
  .globalNav02.spOnly .globalLinks a:hover {
    background: url("/patients/common/images/icon_arrow_blue_invert.png") no-repeat center right 12px #002060;
  }
  .globalNav02.spOnly a.icon {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background: black;
  }
  .globalNav02.spOnly a:hover {
    color: #fff;
  }
  .menu_icon {
    max-width: 49px;
    display: inline-block;
    position: absolute;
    top: 11px;
    right: 9px;
    width: 49px;
    height: 43px;
    background: url("/patients/common/images/icon_menu.png") 0% 0% / contain no-repeat;
    background-size: contain;
  }
  .globalNav02.spOnly li:nth-child(4) a .windowIcon div {
    display: inline-block;
    width: 20px;
    height: 16px;
    background: url("/patients/common/images/icon_window_blue.png") no-repeat center right 0;
    background-size: contain;
  }
}
/* ========== 1023px以下：オーバーレイ系の振る舞いの改善（フェード/高さ確保） ========== */
@media screen and (width < 1024px) {
  /* display:none を打ち消し、visibilityで制御 */
  #modWrapMain,
  .globalLinksMain {
    display: block !important;
  }
  #modWrapMain {
    position: fixed;
    top: var(--main-overlay-top, 82px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  #modWrapMain.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .globalLinksMain {
    position: fixed;
    left: 0;
    top: var(--main-top, 82px);
    z-index: 1099;
    width: 100%;
    height: calc(100% - var(--main-top, 82px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .globalLinksMain.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease;
  }
  .globalNav02.spOnly .globalLinks {
    display: block !important;
    position: fixed;
    top: var(--sub-top, 76px);
    left: 0;
    width: 100%;
    height: calc(100% - var(--sub-top, 76px));
    z-index: 1099;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .globalNav02.spOnly .globalLinks.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease;
  }
  .globalNav02.spOnly .globalLinks li {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .globalNav02.spOnly .globalLinks.open li {
    opacity: 1;
    transform: translateY(0);
  }
  .globalNav02.spOnly .globalLinks.closing li {
    opacity: 0;
    transform: translateY(-8px);
  }
  #modWrap {
    position: fixed;
    top: var(--sub-overlay-top, 82px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    display: block !important;
  }
  #modWrap.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease;
  }
  /* dvh対応 */
  .globalLinksMain {
    height: calc(100dvh - var(--main-top, 82px));
  }
  @supports not (height: 100dvh) {
    .globalLinksMain {
      height: calc(100vh - var(--main-top, 82px));
    }
  }
  .globalNav02.spOnly .globalLinks {
    height: calc(100dvh - var(--sub-top, 76px));
  }
  @supports not (height: 100dvh) {
    .globalNav02.spOnly .globalLinks {
      height: calc(100vh - var(--sub-top, 76px));
    }
  }
  #modWrapMain {
    height: calc(100dvh - var(--main-overlay-top, 82px));
  }
  #modWrap {
    height: calc(100dvh - var(--sub-overlay-top, 82px));
  }
  @supports not (height: 100dvh) {
    #modWrapMain {
      height: calc(100vh - var(--main-overlay-top, 82px));
    }
    #modWrap {
      height: calc(100vh - var(--sub-overlay-top, 82px));
    }
  }
  /* サブナビ展開中は検索ボックス非表示（現行マークアップ準拠） */
  .globalLinksMain:has(.has-subnav[aria-expanded="true"]) .searchInner {
    display: none !important;
  }
  /* フェード無効化バージョン（白チラ抑止） */
  .globalNav02.spOnly .globalLinks {
    transition: none !important;
    opacity: 1 !important;
    visibility: hidden;
    pointer-events: none;
  }
  .globalNav02.spOnly .globalLinks.open {
    transition: none !important;
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
  }
}
/* ========== Desktop (>=1024px) 固有 ========== */
@media screen and (width >=1024px) {
  #globalLinksMain {
    display: none !important;
  }
  .globalNav02.spOnly .topNavInner>p {
    display: none;
  }
  .globalNav02 .globalLinks li {
    border-right: 1px solid #002060;
    height: 100%;
  }
  .globalNav02 .globalLinks li:first-child {
    border-left: 1px solid #002060;
  }
  .globalNav02 .globalLinks li a {
    transition: all 0.3s;
  }
  /* JS開閉を無効化（安全策） */
  .globalLinksMain,
  .globalNav02.spOnly .globalLinks,
  #modWrapMain,
  #modWrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: static;
    height: auto;
    overflow: visible;
    transition: none;
  }
}
/* ========== Wide tablet (768–1239px) ========== */
@media screen and (768px <=width < 1240px) {
  .globalNav02 .globalLinks {
    width: 1140px;
  }
  #headerPatientsArea2 .wrapInner {
    padding: 0;
  }
}
/* ========== Tablet padding tweaks (768–1139px) ========== */
@media screen and (768px <=width < 1140px) {
  .globalNav02 .globalLinks li a {
    padding: 0 3em;
  }
}
/* ========== Small tablet font tweak (768–1023px) ========== */
@media screen and (768px <=width < 1024px) {
  .globalNav02 .globalLinks li a {
    padding: 0 1.5em;
    font-size: 1.3em !important;
  }
}
/* ========== 細かい幅の調整 ========== */
@media screen and (width < 449px) {
  .search-close button {
    width: 24px;
  }
}
/* ========== globalNav02 base ========== */
.globalNav02 .globalLogo {
  max-width: 60px;
}
.globalNav02 .globalLogo a {
  display: flex;
  width: 60px;
  height: 61px;
  padding: 15px 14px;
  border-left: 1px solid #002060;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}
.globalNav02 .globalLogo a.active {
  background-color: #002060;
}
.globalNav02 .globalLogo a.globalLogoLink {
  display: block;
  background: url("/patients/common/images/icon_home.png") no-repeat center #002060;
  background-size: 33px 25px;
}
.globalNav02 .globalLogo a.globalLogoLink:hover {
  background: url("/patients/common/images/icon_home_blue.png") center no-repeat;
}
.noPatientsTop .globalNav02 .globalLogo a.globalLogoLink {
  display: block;
  background: url("/patients/common/images/icon_home_blue.png") center no-repeat;
}
.noPatientsTop .globalNav02 .globalLogo a {
  display: block;
}
.noPatientsTop .globalNav02 .globalLogo a:hover {
  background-color: #002060;
}
.noPatientsTop .globalNav02 .globalLogo a.globalLogoLink:hover {
  background: url("/patients/common/images/icon_home.png") no-repeat center #002060;
}
/* globalLinks base */
.globalLinks {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.globalNav02 .globalLinks {
  width: 100%;
}
.globalNav02.pcOnly .globalLinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}
.globalNav02 .globalLinks li {
  width: 100%;
}
.globalNav02 .globalLinks li a {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0 50px;
  font-size: 17px;
  font-weight: bold;
  justify-content: center;
  align-items: center;
}
.globalNav02 .globalLinks li a:hover {
  background-color: #002060;
  color: #fff !important;
  text-decoration: none;
}
.globalNav02 .globalLinks li.active a {
  background-color: #002060;
  color: #fff !important;
  text-decoration: none;
}
.globalNav02 li:last-child a .windowIcon div {
  display: inline-block;
  width: 20px;
  height: 16px;
  background: url("/patients/common/images/icon_window_blue.png") no-repeat center right 0;
  background-size: contain;
}
.globalNav02 li:last-child a:hover .windowIcon div {
  background: url("/patients/common/images/icon_window_white.png") no-repeat center right 0;
  background-size: contain;
}
/* headerPatientsArea2（>=768pxでボーダー） */
@media screen and (width >=768px) {
  #headerPatientsArea2 {
    border-bottom: 1px solid #002060;
  }
}
/* ========== 開いている間は header-wrapper の transform を無効化（保険） ========== */
.menu-open .header-wrapper {
  transform: none !important;
}
/* 互換用：header-wrapper自体は未使用 */
/* 1) スクロールロック：メニュー/モーダル両対応 */
html.menu-lock,
body.menu-lock,
body.modal-lock {
  overflow: hidden !important;
}
/* 2) SPサブナビ展開時、第一階層をフェードアウト（JSが #nav-main に noshow を付与） */
@media screen and (width < 1024px) {
  .nav-main.noshow .has-subnav>button {
    visibility: hidden;
    opacity: 0;
  }
  .nav-main.noshow>ul>li:not(.has-subnav) {
    opacity: 0;
  }
}
/* 3) 互換用：メニュー開時にヘッダーのtransformを無効化（JSが menu-open を付与） */
/* header-wrapper が無い環境でも害はありません。 */
.menu-open .header-wrapper {
  transform: none !important;
}
/* headerUtility */
.headerPatientsArea1_inner .headerUtility {
  width: 100%;
  height: 20px;
  margin: 13px 0 0 0;
}
/* Desktop (>=1024px) 配置 */
@media screen and (width >=1024px) {
  #headerPatientsArea1 .headerPatientsArea1_inner .leftContent {
    flex-shrink: 0;
    width: 32%;
  }
  .headerPatientsArea1_inner .headLogo a img {
    max-width: 249px;
  }
  .headerUtility {
    display: flex;
    justify-content: flex-end;
  }
  .globalNav02.pcOnly {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
  }
}
/* 1240px未満：ロゴ縮小 */
@media only screen and (width < 1240px) {
  .headerPatientsArea1_inner .headLogo a img {
    max-width: 225px;
  }
}
/* 検索UI（SP/Tabletのオーバーレイ側）: headerの.header-searchと分離して適用 */
@media screen and (width < 1024px) {
  .globalLinksMain .searchInner fieldset {
    display: flex;
    position: relative;
    z-index: 999999;
    width: 100%;
    border: 1px solid #d2d2d2;
    border-radius: 5px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .globalLinksMain .searchInner .customSearchBox {
    position: relative;
    z-index: 9999999;
    width: 94%;
    overflow: hidden;
    padding: 17px 20px;
    border: none;
    outline: none;
  }
  .globalLinksMain .searchInner .customSearchBtn {
    padding: 0 20px;
  }
  .globalLinksMain .searchBox form {
    position: relative;
    z-index: 10000;
  }
}
/*
------------------------------------------
PARTS: FOOTER
patients/common/include/footer_patients.html
------------------------------------------ */
#footerPatientsArea {
  margin: 0 auto;
  padding: 40px 5vw;
  background: var(--bg3);
  border-top: 2px solid var(--accent-color1);
}
.footerPatientsNav>ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.footerPatientsNav>ul li a {
  transition: 0.4s;
}
@media (hover: hover) {
  .footerPatientsNav>ul li a:hover {
    text-decoration: underline;
  }
}
.footerPatientsNav {
  position: relative;
  width: 100%;
}
.footerPatientsNav a {
  font-size: 1.4rem;
  color: var(--text-color1);
}
.footer-blank-link {
  padding-right: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M9.20513 13H13V3H3V6.79487' stroke='%237C8A95' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 12V9M7 9H4M7 9L3 13' stroke='%237C8A95' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center/16px 16px;
}
.footer-copyright {
  margin-top: 24px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-color3);
}
/* Footer: mobile */
@media screen and (max-width: 959px) and (hover: hover) {
  .footerPatientsNav>ul {
    gap: 4px 12px;
  }
}
/*
------------------------------------------
PARTS: OTHER AREA
------------------------------------------ */
.otherArea {
  max-width: 1200px;
  margin: 60px auto 22px;
}
@media (width < 1240px) {
  .otherArea {
    padding: 0 12px;
  }
}
@media (width < 768px) {
  .otherArea {
    margin-top: 75px;
  }
}
/* otherAreaLinkBlock */
.otherAreaLinkBlock {
  position: relative;
}
.otherAreaLinkBlock:before {
  display: block;
  position: absolute;
  top: 50%;
  left: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50px;
  background-color: #002060;
  content: "";
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.otherAreaLinkBlock:after {
  display: block;
  position: absolute;
  top: 50%;
  left: 11px;
  width: 8px;
  height: 8px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  color: #fff;
  content: "";
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transform: translateY(-50%) rotate(-45deg);
  -ms-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
}
.otherAreaLink {
  display: inline-block;
  position: relative;
  margin-left: 42px;
  color: #083896;
  word-break: break-all;
  font-size: 17px;
}
.otherAreaLink::before {
  top: 0;
}
.otherAreaLink:hover {
  color: #083896;
      text-decoration: none;
}
.otherAreaLink::after {
  background: #083896;
   position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  -webkit-transform: scale(0, 1);
      -ms-transform: scale(0, 1);
          transform: scale(0, 1);
  -webkit-transform-origin: left top;
      -ms-transform-origin: left top;
          transform-origin: left top;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  -o-transition: transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.otherAreaLink:hover::after {
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}
/* MOBILE STYLES */
@media screen and (width < 768px) {
  .otherAreaLink {
    font-size: 16px;
  }
  .sp_underline:hover {
    text-decoration: underline !important;
  }
  .otherAreaLink.sp_underline::after {
    content: none;
  }
}
/* ------------------------------------------
PARTS: PAGE TOP
------------------------------------------ */
.patientsPagetop {
  position: fixed;
  bottom: 45px;
  left: 0;
  width: 100%;
  z-index: 99;
}
@media print,
screen and (width >=768px) {
  .patientsPagetop-inner {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
  }
}
.patientsPagetop-button {
  display: none;
}
.patientsPagetop-button::before {
  content: "";
  display: block;
  width: 24px;
  height: 14px;
  margin: 6px 0;
  background: url("/patients/common/images/icon_pagetop.png") no-repeat center center/contain;
  transition: margin 0.2s ease-in;
}
.patientsPagetop-button:hover::before {
  margin: 2px 0 10px;
}
.patientsPagetop-button.show {
  position: absolute;
  right: 24px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background-color: #bababa;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  border: 0;
  border-radius: 50%;
  outline: none;
}
@media only screen and (width < 1240px) {
  .patientsPagetop-button.show {
    right: 60px;
  }
}
.patientsPagetop-button.bottom {
  position: absolute;
  bottom: var(--footer-overlap);
}
@media screen and (width < 768px) {
  .patientsPagetop-button.show {
    right: 12px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  .patientsPagetop-button::before {
    width: 16px;
    height: 8px;
  }
}