/*--------------
下層ページ 共通
--------------*/

/* kv */

.underKv {
  margin-top: 200px;
  margin-right: 5%;
  display: flex;
  justify-content: space-between;

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

    justify-content: flex-start;
    gap: 50px;

  }

}

.underKv__image {
  width: 88%;
  border-radius: 0 30px 30px 0;
  overflow: hidden;
}

.underKv__title {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
}

.underKv__mainTitle, .underKv__subTitle {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-family: var(--font-ZenMaru);
  line-height: 1;
}

.underKv__mainTitle {
  font-size: min(4.8rem, 4vw);
  font-weight: var(--font-medium);
}

.underKv__subTitle {
  font-size: min(3rem, 2.4vw);
  color: var(--color-Blue);
}

/* under__secContainer */

.underSec, #medical-check, #vaccine {
  scroll-margin-top: 170px
}

.underSec {
  max-width: 1440px;
  width: 90%;
  margin: 150px auto 0;
}

.underSecTitle {
  margin-bottom: 50px;
  font-size: 4rem;
  line-height: 1;
  font-weight: var(--font-medium);
  font-family: var(--font-ZenMaru);
  display: flex;
  align-items: center;
  gap: 10px;
}

.underSecTitle::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-Blue);
}

/* 動きの設定 */

.underKv-fadeIn {
  opacity: 0;
  animation: underKv-fadeIn 1.5s forwards;
}

@keyframes underKv-fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@media screen and (max-width:1024px) {

  /* under__secContainer */

  .underSec {
    margin-top: 100px;
  }

  .underSecTitle {
    margin-bottom: 40px;
    font-size: min(3.6rem, 3.6vw);
  }

}

@media screen and (max-width:768px) {

  /* kv */

  .underKv {
    margin-top: 110px;
    margin-right: 0;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .underKv__image {
    width: 95%;
    height: 50vw;
    border-radius: 0 20px 20px 0;
  }

  .underKv__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .underKv__title {
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  .underKv__mainTitle, .underKv__subTitle {
    -ms-writing-mode: initial;
    writing-mode: initial;
  }

  .underKv__mainTitle {
    margin-top: 10px;
    font-size: 4rem;
  }

  .underKv__subTitle {
    font-size: 2rem;
  }

  /* under__secContainer */

  .underSec, #medical-check, #vaccine {
    scroll-margin-top: 110px
  }

  .underSecTitle {
    font-size: 3.2rem;
  }

  .underSecTitle::before {
    width: 8px;
    height: 8px;
  }

}

@media screen and (max-width:521px) {

  /* kv */

  .underKv {
    margin-top: 100px;
    gap: 20px;
  }

  .underKv__image {
    height: 70vw;
  }

  .underKv__subTitle {
    font-size: 1.6rem;
  }

  .underKv__mainTitle {
    font-size: 3rem;
  }

  /* under__secContainer */

  .underSec, #medical-check, #vaccine {
    scroll-margin-top: 100px
  }

  .underSec {
    margin-top: 60px;
  }

  .underSecTitle {
    margin-bottom: 30px;
    font-size: 2.6rem;
  }

  .underSecTitle::before {
    width: 6px;
    height: 6px;
  }

}


/*---- page navigation ----*/

.pageNation{
  padding-top: min(8rem, 8vw);
}

.wp-pagenavi{
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-pagenavi a, .wp-pagenavi span{
  border: none;
  margin: 4px;
  padding: 0;
}

.wp-pagenavi span.currensinglet{
  background: var(--color-navy);
  color: var(--color-white);
  font-weight:500;
}

.wp-pagenavi span.current,
.wp-pagenavi a.page{
  width: min(5rem, 10vw);
  height: min(5rem, 10vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  color: var(--color-black);
  border-radius: 50%;
  transition: var(--transition);
}

.wp-pagenavi span.current{
  background: var(--color-gray);
  color: var(--color-white);
  font-weight: 500;
}

a.nextpostslink,a.previouspostslink{
  color: var(--color-black);
}


/*--------------
お知らせ
--------------*/

/*---- 一覧ページ ----*/

.news__list--category .news__listItem {
  position: relative;
}

.news__list--category .news__listItem a {
  justify-content: flex-start;
}

.news__list--category .news__listItem a::after {
  content: "";
  background-image: url(./img/common/circleArrow-blue.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0;
  right: 0;
}

.news__list--category .news__listItem a:hover {
  color: initial;
  opacity: 0.5;
}

.news__list--category .news__listTitle::after {
  display: none;
}

/* ここから一覧ページ、記事ページ 共通 */

.cateNews__dateArea, .single__dateArea {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cateName {
  display: block;
  padding: 0.5em 0.8em;
  border-radius: 4px;
  background-color: var(--color-Blue);
  color: var(--color-White);
  font-size: 1.6rem;
  font-weight: var(--font-medium);
  line-height: 1;
}

.cateName::marker {
  display: none;
}

.cateName.cate-important-news{
  background: var(--color-Pink);
}

/* ここまで一覧ページ、記事ページ 共通 */

/*---- 記事ページ ----*/

.underKv__image--news img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.single__titleArea {
  padding-bottom: 40px;
  border-bottom: 1px solid rgb(51 51 51 / 20%);
  margin-bottom: 40px;
}

.single__dateArea {
  font-weight: var(--font-medium);
}

.single__title {
  margin-top: 15px;
  font-size: 3rem;
  font-weight: var(--font-medium);
}

.single__mainText h1,
.single__mainText h2,
.single__mainText h3,
.single__mainText h4 {
  font-weight: var(--font-bold);
  color: var(--color-Blue);
}

.single__mainText h1,
.single__mainText h2 {
  margin-top: 2em;
}

.single__mainText h1 {
  border-radius: 10px;
  padding: 0.5em 0.7em;
  background-color: var(--color-LightBlue);
  font-size: 2.8rem;
}

.single__mainText h2 {
  border-left: 5px solid var(--color-Blue);
  padding: 0.2em 0 0.2em 0.5em;
  font-size: 2.4rem;
}

.single__mainText h3 {
  margin-top: 1.5em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--color-Blue);
  font-size: var(--font-22px);
}

.single__mainText h4 {
  margin-top: 1.2em;
  font-size: var(--font-18px);
}

.single__mainText p {
  margin-top: 1em;
  line-height: 1.8;
}

.single__mainText ul {
  margin-top: 1em;
}

.single__mainText ul li {
  margin-top: 0.5em;
  padding-left: 1em;
  position: relative;
}

.single__mainText ul li::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-Blue);
  position: absolute;
  top: 11px;
  left: 0;
}

.single__mainText img {
  max-width: 800px;
}

.single__mainText a {
  color: var(--color-Blue);
  text-decoration: underline;
}

.single__mainText a:hover {
  opacity: 0.5;
}

.single__mainText strong {
  font-weight: var(--font-bold);
}

.single__pageNation {
  margin-top: 80px;
}

.single__pageNation a {
  margin: 0 auto;
  font-weight: var(--font-medium);
}

@media screen and (max-width:1024px) {

  .news__list--category .news__listItem a::after {
    display: none;
  }

  .news__list--category .news__listItem a {
    display: block;
  }

  .news__list--category .news__listTitle {
    margin-top: 1%;
    position: relative;
  }

  .news__list--category .news__listTitle::after {
    display: initial;
    content: "";
    background-image: url(./img/common/circleArrow-blue.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

}


@media screen and (max-width:768px) {

  .news__list--category .news__listTitle {
    width: 100%;
    margin-top: 2%;
  }

  .cateNews__dateArea {
    width: initial;
  }

  /* ここから一覧ページ、記事ページ 共通 */

  .cateNews__dateArea, .single__dateArea {
    gap: 15px;
  }

  .cateName {
    font-size: 1.4rem;
  }

  /* ここまで一覧ページ、記事ページ 共通 */

  /*---- 記事ページ ----*/

  .single__title {
    margin-top: 10px;
    font-size: 2.6rem;
  }

  .single__titleArea {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .single__mainText h1 {
    font-size: 2.4rem;
  }

  .single__mainText h2 {
    font-size: 2rem;
  }

  .single__mainText ul li::before {
    width: 4px;
    height: 4px;
    top: 9px;
  }

  .single__pageNation {
    margin-top: 50px;
  }

}

@media screen and (max-width:521px) {

  /* ここから一覧ページ、記事ページ 共通 */

  .cateNews__dateArea, .single__dateArea {
    gap: 10px;
  }

  .cateName {
    font-size: 1.2rem;
  }

  /* ここまで一覧ページ、記事ページ 共通 */

  /*---- 記事ページ ----*/

  .single__title {
    margin-top: 6px;
    font-size: 2.4rem;
  }

  .single__titleArea {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .single__mainText h1 {
    font-size: 2.2rem;
  }

  .single__mainText h2 {
    font-size: 2rem;
    border-left: 3px solid var(--color-Blue);
  }

  .single__mainText h3 {
    font-size: 1.8rem;
  }

  .single__mainText h4 {
    font-size: 1.6rem;
    line-height: 1.6;
  }

  .single__mainText p {
    line-height: 1.6;
  }

  .single__pageNation {
    margin-top: 30px;
  }

}


/*--------------
コラム
--------------*/

/* 一覧ページ */

.column__list--category {
  display: flex;
  flex-wrap: wrap;
  gap: 80px min(48px, 3.1vw);
}

.column__list--category .column__listItem {
  width: 31%;
}

/* 記事ページ */

.single__othersColumn {
  margin-top: 100px;
}

.single__othersColumn .underSecTitle {
  margin-bottom: 40px;
  font-size: 2.8rem;
}

.single__othersColumn .underSecTitle::before {
  width: 8px;
  height: 8px;
}

.column__list--single .column__listItem:nth-of-type(4) {
  display: none;
}


@media screen and (max-width:768px) {

  .column__list--category {
    gap: 50px 3.6vw;
  }

  .column__list--category .column__listItem {
    width: 48%;
  }

  /* 記事ページ */

  .single__othersColumn {
    margin-top: 60px;
  }

  .single__othersColumn .underSecTitle {
    margin-bottom: 25px;
    font-size: 2.4rem;
  }

  .single__othersColumn .underSecTitle::before {
    width: 6px;
    height: 6px;
  }

  .single__othersColumn .column__list--category {
    gap: 80px min(48px, 3.1vw);
  }

  .single__othersColumn .column__list--category .column__listItem {
    width: 31%;
  }

  .single__othersColumn .thumbnail {
    border-radius: 15px;
  }

  .single__othersColumn .column__dateArea {
    display: block;
  }

  .cateName {
    width: fit-content;
    margin-top: 1%;
  }

}

@media screen and (max-width:521px) {

  .column__list--category {
    gap: 35px 3.6vw;
  }

  .column__list--category .column__listItem {
    width: 48%;
  }

  .column__list--category .column__listItem .thumbnail {
    border-radius: 10px;
  }

  /* 記事ページ */

  .single__othersColumn {
    margin-top: 40px;
  }

  .single__othersColumn .underSecTitle {
    margin-bottom: 20px;
    font-size: 2rem;
  }

  .single__othersColumn .underSecTitle::before {
    width: 4px;
    height: 4px;
  }

  .single__othersColumn .column__list--category {
    gap: 35px 3.6vw;
  }

  .single__othersColumn .column__list--category .column__listItem {
    width: 48%;
  }

  .single__othersColumn .thumbnail {
    border-radius: 10px;
  }

  .single__othersColumn .column__dateArea {
    display: flex;
  }

  .cateName {
    width: fit-content;
    margin-top: 0;
  }

  .column__list--single .column__listItem:nth-of-type(4) {
    display: block;
  }

}


/*--------------
当院について
--------------*/

/* 理念 */

.AboutPhilosophy__content {
  align-items: center;
}

.AboutPhilosophy__image, .AboutPhilosophy__text {
  width: 48%;
}

.AboutPhilosophy__image {
  border-radius: 20px;
  overflow: hidden;
}

.AboutPhilosophy__copy {
  font-size: min(2.6rem, 2vw);
  font-weight: var(--font-medium);
  font-family: var(--font-ZenMaru);
  color: var(--color-Blue);
}

.AboutPhilosophy__textInner {
  margin-top: 1.2em;
  font-size: min(1.8rem, 1.6vw);
  line-height: 2;
}

/* 当院の特徴 */

.AboutFeatures__contentItem {
  width: 48%;
}

.AboutFeatures__image {
  border-radius: 20px;
  overflow: hidden;
}

.AboutFeatures__subTitle {
  width: fit-content;
  margin-top: 30px;
  border-radius: 20px;
  padding: 8px 15px;
  background-color: var(--color-Pink);
  color: var(--color-White);
  font-weight: var(--font-medium);
  font-family: var(--font-ZenMaru);
  line-height: 1;
}

.AboutFeatures__subTitle span {
  font-size: var(--font-18px);
}

.AboutFeatures__title {
  margin-top: 20px;
  font-size: min(3rem, 2.4vw);
  line-height: 1;
  font-weight: var(--font-medium);
  font-family: var(--font-ZenMaru);
  color: var(--color-Blue);
}

.AboutFeatures__text {
  margin-top: 20px;
  font-size: min(1.8rem, 1.6vw);
  line-height: 2;
}

/* 院長メッセージ */

.AboutMessage__top {
  align-items: center;
}

.AboutMessage__topImage {
  width: 40%;
  border-radius: 20px;
  overflow: hidden;
}

.AboutMessage__topText {
  width: 56%;
}

.AboutMessage__topCopy {
  font-size: min(3rem, 2.4vw);
  font-weight: var(--font-medium);
  font-family: var(--font-ZenMaru);
  color: var(--color-Blue);
}

.AboutMessage__topInner {
  margin-top: 1.2em;
  font-size: min(1.8rem, 1.6vw);
  line-height: 2;
}

.banner--about {
  margin-top: 30px;
}

.AboutMessage__name {
  margin-top: 1em;
  text-align: right;
  font-size: min(1.8rem, 1.6vw);
  font-weight: var(--font-medium);
}

.AboutMessage__name span {
  display: inline-block;
  padding-left: 0.5em;
  font-size: min(2.4rem, 2.4vw);
}

.AboutMessage__profile {
  margin-top: 50px;
}

.AboutMessage__profileContent {
  width: 48%;
}

.AboutMessage__profileTitle {
  font-size: min(2.4rem, 2.4vw);
  font-weight: var(--font-medium);
  font-family: var(--font-ZenMaru);
  padding-bottom: 0.6em;
  border-bottom: 1px solid var(--color-Blue);
  margin-bottom: 0.6em;
}

.AboutMessage__profileListItem {
  margin-top: 0.6em;
  font-size: min(1.6rem, 1.6vw);
  font-weight: var(--font-medium);
}

.AboutMessage__profileListItem:first-of-type {
  margin-top: 0;
}

.AboutMessage__profileListItem span {
  display: block;
}

.AboutMessage__profileListItem span:nth-of-type(1) {
  width: min(80px, 8vw);
  text-align: right;
}

.AboutMessage__profileListItem span:nth-of-type(2) {
  width: calc(100% - min(100px, 10vw));
}

.AboutMessage__profileItem {
  margin-top: 40px;
}

.AboutMessage__profileItem:first-of-type {
  margin-top: 0;
}

.AboutMessage__list--career li {
  display: flex;
  justify-content: space-between;
}

.AboutMessage__profileContent--qualification .AboutMessage__profileList li {
  padding-left: 0.8em;
  position: relative;
}

.AboutMessage__profileContent--qualification .AboutMessage__profileList li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background-color: var(--color-Pink);
  position: absolute;
  top: min(10px, 0.9vw);
  left: 0;
}

@media screen and (max-width:768px) {

  /* 理念 */

  .AboutPhilosophy__image, .AboutPhilosophy__text {
    width: 100%;
  }

  .AboutPhilosophy__image, .AboutMessage__topImage {
    height: 60vw;
    margin: 0 auto;
  }

  .AboutPhilosophy__image img, .AboutMessage__topImage img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
  }

  .AboutPhilosophy__text, .AboutMessage__topText {
    margin-top: 25px;
  }

  .AboutPhilosophy__copy, .AboutMessage__topCopy {
    font-size: 2rem;
  }

  .AboutPhilosophy__textInner, .AboutMessage__topInner {
    margin-top: 15px;
    font-size: var(--font-18px);
  }

  /* 当院の特徴 */

  .AboutFeatures__content {
    display: flex;
  }

  .AboutFeatures__subTitle {
    margin-top: 15px;
  }

  .AboutFeatures__title {
    margin-top: 20px;
    font-size: 2rem;
    line-height: 1.4;
  }

  .AboutFeatures__text {
    margin-top: 10px;
    font-size: 1.4rem;
    line-height: 1.8;
  }

  /* 院長メッセージ */

  .AboutMessage__topImage, .AboutMessage__topText {
    width: 100%;
  }

  .AboutMessage__name {
    font-size: var(--font-18px);
  }

  .AboutMessage__name span {
    font-size: 2.2rem;
  }

  .AboutMessage__profileContent {
    width: 100%;
  }

  .AboutMessage__profile {
    margin-top: 30px;
  }

  .AboutMessage__profileTitle {
    font-size: 2.2rem;
  }

  .AboutMessage__profileListItem {
    font-size: var(--font-18px);
  }

  .AboutMessage__profileListItem span:nth-of-type(1) {
    width: 80px;
  }

  .AboutMessage__profileListItem span:nth-of-type(2) {
    width: calc(100% - 90px);
  }

  .AboutMessage__profileItem:first-of-type {
    margin-top: 0;
  }

  .AboutMessage__profileContent--qualification .AboutMessage__profileItem {
    margin-top: 30px;
  }

  .AboutMessage__profileContent--qualification .AboutMessage__profileList li::before {
    top: 10px;
  }

}

@media screen and (max-width:521px) {

  /* 理念 */

  .AboutPhilosophy__image, .AboutMessage__topImage {
    height: initial;
  }

  .AboutPhilosophy__text, .AboutMessage__topText {
    margin-top: 20px;
  }

  .AboutPhilosophy__copy, .AboutMessage__topCopy {
    font-size: min(1.8rem, 4.7vw);
  }

  .AboutPhilosophy__copy br {
    display: none;
  }

  .AboutPhilosophy__textInner, .AboutMessage__topInner {
    margin-top: 10px;
  }

  /* 当院の特徴 */

  .AboutFeatures__content {
    display: block;
  }

  .AboutFeatures__contentItem {
    width: 100%;
    margin-top: 30px;
  }

  .AboutFeatures__contentItem:first-of-type {
    margin-top: 0;
  }

  .AboutFeatures__title {
    margin-top: 10px;
    font-size: 1.8rem;
  }

  /* 院長メッセージ */

  .AboutMessage__name span {
    font-size: 2rem;
  }

  .AboutMessage__profile {
    margin-top: 20px;
  }

  .AboutMessage__profileTitle {
    font-size: 2rem;
  }

  .AboutMessage__profileListItem span:nth-of-type(1) {
    width: 70px;
  }

  .AboutMessage__profileListItem span:nth-of-type(2) {
    width: calc(100% - 80px);
  }

  .AboutMessage__profileContent--qualification .AboutMessage__profileItem {
    margin-top: 25px;
  }

}


/*--------------
診療案内
--------------*/

.guide-linkList {
  max-width: 1440px;
  width: 90%;
  margin: 150px auto 0;
  display: flex;
  justify-content: space-between;
}

.guide-linkItem {
  width: 23%;
}

.guide-linkItem a {
  display: block;
  border-radius: 10px;
  padding: 30px;
  background-color: var(--color-LightBlue);
}

.guide-linkItem a:hover {
  opacity: 0.6;
}

.guide-linkDeco {
  max-width: 70px;
  width: 35%;
  margin: 0 auto;
}

.guide-linkTitle {
  margin-top: 10px;
  font-size: min(2.6rem, 2.5vw);
  font-family: var(--font-ZenMaru);
  font-weight: var(--font-medium);
  text-align: center;
}

.guide-linkArrow {
  width: 25px;
  height: 25px;
  margin: 10px auto 0;
}

/* 内科・糖尿病内科・内分泌内科 */

.guideSecTitle {
  gap: 15px;
}

.guideSecTitle::before {
  content: "";
  display: block;
  border-radius: initial;
  width: 52px;
  height: 53px;
}

.guideSecTitle--internal::before {
  background: url(./img/guide/internal-icon.png);
  background-size: contain;
}

.guideSecTitle--diabetes::before {
  background: url(./img/guide/diabetes-icon.png);
  background-size: contain;
}

.guideSecTitle--endocrinology::before {
  background: url(./img/guide/endocrinology-icon.png);
  background-size: contain;
}

.guideSecTitle--privateCare::before {
  background: url(./img/guide/vaccine-icon.png);
  background-size: contain;
}

.guideSec__content {
  align-items: center;
}

.guideSec__image, .guideSec__text {
  width: 48%;
}

.guideSec__image {
  border-radius: 20px;
  overflow: hidden;
}

.guideSec__copy {
  font-size: min(3rem, 2.4vw);
  font-weight: var(--font-medium);
  font-family: var(--font-ZenMaru);
  color: var(--color-Blue);
}

.guideSec__textInner {
  margin-top: 1.2em;
  font-size: min(1.8rem, 1.7vw);
  line-height: 2;
}

.guideSec__conditions {
  margin-top: 70px;
}

.guideSec__conditionsTitle {
  font-size: min(2.6rem, 2.6vw);
  font-weight: var(--font-medium);
  font-family: var(--font-ZenMaru);
  padding-bottom: 0.8em;
  border-bottom: 1px dotted var(--color-Blue);
  margin-bottom: 1em;
}

.guideSec__symptomsList {
  display: flex;
  flex-wrap: wrap;
  gap: min(16px, 1.6vw);
}

.guideSec__symptomsListItem {
  background-color: var(--color-Blue);
  border-radius: 30px;
  padding: 0.5em 1em;
  font-size: min(1.8rem, 1.6vw);
  font-weight: var(--font-medium);
  color: var(--color-White);
}

/* ここから診療案内、院内案内 共通 */

.underSec__infoList {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 30px;
}

.underSec__infoListItem {
  width: 48%;
}

.underSec__infoTitle {
  font-size: min(2.2rem, 2.2vw);
  line-height: 1.4;
  font-weight: var(--font-medium);
  font-family: var(--font-ZenMaru);
}

.underSec__infoText {
  margin-top: 0.4em;
  font-size: min(1.8rem, 1.6vw);
  line-height: 1.8;
}

/* ここまで診療案内、院内案内 共通 */

.underSec__infoList--guide .underSec__infoTitle {
  padding-left: 1em;
  position: relative;
}

.underSec__infoList--guide .underSec__infoTitle::before {
  content: "";
  display: block;
  width: min(8px, 0.6vw);
  height: min(8px, 0.6vw);
  border-radius: 50%;
  background-color: var(--color-Blue);
  position: absolute;
  top: min(12px, 1.2vw);
  left: 0;
}

.underSec__infoList--guide .underSec__infoText {
  padding-left: min(22px, 2.2vw);
}

.guideSec__diseaseNote {
  margin-top: 35px;
  border-radius: 10px;
  padding: 1.5em;
  background-color: var(--color-LightBlue);
}

.guideSec__diseaseNoteItem {
  margin-top: 0.5em;
  padding-left: 1em;
  text-indent: -1em;
  font-size: min(1.6rem, 1.6vw);
}

.guideSec__diseaseNoteItem:first-of-type {
  margin-top: 0;
}

.guideSec__diseaseNoteItem::before {
  content: "※";
}

@media screen and (max-width:768px) {

  .guide-linkList {
    margin-top: 100px;
    flex-wrap: wrap;
    gap: 4vw 0;
  }

  .guide-linkItem {
    width: 48%;
  }

  .guide-linkItem a {
    padding: 25px;
  }

  .guide-linkTitle {
    font-size: min(2rem, 3.6vw);
  }

  .guideSecTitle::before {
    width: 42px;
    height: 43px;
  }

  /* 内科・糖尿病内科・内分泌内科 */

  .guideSecTitle {
    gap: 10px;
  }

  .guideSec__image, .guideSec__text {
    width: 100%;
  }

  .guideSec__image {
    height: 50vw;
    margin: 0 auto;
  }

  .guideSec__image img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
  }

  .guideSec__image--endocrinology img {
    object-position: center;
  }

  .guideSec__copy {
    margin-top: 25px;
    font-size: 2rem;
  }

  .guideSec__textInner {
    margin-top: 15px;
    font-size: var(--font-18px);
  }

  .guideSec__conditions {
    margin-top: 50px;
  }

  .guideSec__conditionsTitle {
    font-size: 2.2rem;
  }

  .guideSec__symptomsListItem {
    font-size: var(--font-18px);
  }

  /* ここから診療案内、院内案内 共通 */

  .underSec__infoList {
    row-gap: 25px;
  }

  .underSec__infoListItem {
    width: 100%;
  }

  .underSec__infoTitle {
    font-size: 20px;
  }

  .underSec__infoText {
    font-size: var(--font-18px);
  }

  /* ここまで診療案内、院内案内 共通 */

  .underSec__infoList--guide .underSec__infoTitle::before {
    width: 7px;
    height: 7px;
    top: 10px;
  }

  .underSec__infoList--guide .underSec__infoText {
    padding-left: 20px;
  }

  .guideSec__diseaseNoteItem {
    font-size: var(--font-16px);
  }

}

@media screen and (max-width:521px) {

  .guide-linkList {
    margin-top: 60px;
    gap: 15px;
  }

  .guide-linkItem {
    width: 100%;
  }

  .guide-linkItem a {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
  }

  .guide-linkDeco {
    width: 30px;
    margin: 0;
  }

  .guide-linkTitle {
    margin-top: 0;
    font-size: 1.8rem;
  }

  .guide-linkArrow {
    width: 20px;
    height: 20px;
    margin: 0;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }

  /* 内科・糖尿病内科・内分泌内科 */

  .guideSecTitle::before {
    width: 32px;
    height: 33px;
  }

  .guideSec__copy {
    margin-top: 20px;
    font-size: 1.8rem;
  }

  .guideSec__textInner {
    margin-top: 10px;
  }

  .guideSec__conditions {
    margin-top: 30px;
  }

  .guideSec__conditionsTitle {
    font-size: 1.8rem;
  }

  .guideSec__symptomsList {
    gap: 8px;
  }

  /* ここから診療案内、院内案内 共通 */

  .underSec__infoList {
    row-gap: 20px;
  }

  .underSec__infoTitle {
    font-size: 1.6rem;
  }

  /* ここまで診療案内、院内案内 共通 */

  .underSec__infoList--guide .underSec__infoTitle::before {
    width: 5px;
    height: 5px;
  }

  .underSec__infoList--guide .underSec__infoText {
    padding-left: 16px;
  }

  .guideSec__diseaseNote {
    margin-top: 20px;
    padding: 1em;
  }

}


/*--------------
院内案内
--------------*/

/* 施設紹介 */

.facilityList {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: min(60px, 5.8vw);
}

.facilityListItem {
  width: 31%;
}

.facilityListImage {
  border-radius: 15px;
  overflow: hidden;
}

.facilityListName {
  margin-top: 0.6em;
  font-size: min(2.2rem, 2.2vw);
  font-weight: var(--font-medium);
}

/* 働きやすい環境 */

.environmentSec {
  max-width: initial;
  width: initial;
}

.environment__titleBox {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
}

.environmentText {
  font-size: min(1.8rem, 1.6vw);
  line-height: 2;
}

.swiper--environment {
  margin-top: 50px;
}

.swiper--environment .swiper-wrapper {
  transition-timing-function: linear;
}

@media screen and (max-width:768px) {

  /* 施設紹介 */

  .facilityListItem {
    width: 48%;
  }

  .facilityListName {
    font-size: 2rem;
  }

  /* 働きやすい環境 */

  .environmentText {
    font-size: var(--font-18px);
  }

  .swiper--environment {
    margin-top: 40px;
  }

}

@media screen and (max-width:521px) {

  /* 施設紹介 */

  .facilityListImage {
    border-radius: 10px;
  }

  .facilityListName {
    font-size: 1.6rem;
  }

  /* 働きやすい環境 */

  .swiper--environment {
    margin-top: 30px;
  }

}


/*--------------
よくあるご質問
--------------*/

.qaSecInner {
  margin-top: 100px;
}

.qaSecInner:first-of-type {
  margin-top: 0;
}

.qa__content {
  margin-top: 60px;
}

.qa__contentItem {
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.5);
  margin-bottom: 35px;
}

.qa__contentItem:last-of-type {
  margin-bottom: 0;
}

.qa__title, .qa__box {
  padding-left: min(35px, 3.5vw);
  position: relative;
}

.qa__title::before, .qa__box::before {
  font-size: min(3rem, 2.8vw);
  line-height: 1;
  position: absolute;
  left: 0;
  top: 0;
}

.qa__title {
  padding-right: 2em;
  cursor: pointer;
  font-size: min(2rem, 2vw);
  font-weight: var(--font-medium);
  transition: 0.4s;
}

.qa__title:hover {
  opacity: 0.5;
}

.qa__title::before {
  content: "Q";
  color: var(--color-Blue);
}

.qa__title::after {
  content: "";
  background-image: url(./img/qa/qa-plus.svg);
  background-repeat: no-repeat;
  display: block;
  width: min(26px, 2.6vw);
  height: min(26px, 2.6vw);
  position: absolute;
  right: 0;
  top: 10%;
}

.qa__title.close::after {
  background-image: url(./img/qa/qa-minus.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.qa__box {
  display: none;
  margin-top: 1.2em;
  font-size: min(1.8rem, 1.8vw);
  line-height: 2;
}

.qa__box::before {
  content: "A";
  color: var(--color-Pink);
}

.qa__box a {
  color: var(--color-Blue);
  text-decoration: underline;
}

.qa__box a:hover {
  opacity: 0.5;
}

@media screen and (max-width:768px) {

  .qaSecInner {
    margin-top: 80px;
  }

  .qa__content {
    margin-top: 50px;
  }

  .qa__contentItem {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .qa__title, .qa__box {
    padding-left: 30px;
  }

  .qa__title::before, .qa__box::before {
    font-size: 2.6rem;
  }

  .qa__title {
    font-size: 1.8rem;
  }

  .qa__title::after {
    width: 22px;
    height: 22px;
  }

  .qa__box {
    font-size: 1.6rem;
  }

}

@media screen and (max-width:521px) {

  .qaSecInner {
    margin-top: 60px;
  }

  .qa__content {
    margin-top: 40px;
  }

  .qa__contentItem {
    padding-bottom: 25px;
    margin-bottom: 25px;
  }

  .qa__title, .qa__box {
    padding-left: 24px;
  }

  .qa__title::before, .qa__box::before {
    font-size: 2rem;
  }

  .qa__title {
    font-size: 1.6rem;
    line-height: 1.5;
  }

  .qa__title::after {
    width: 20px;
    height: 20px;
  }

  .qa__box {
    font-size: 1.4rem;
    line-height: 1.8;
  }

}