@charset "utf-8";
/* CSS Document */

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ヘッダー
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

header#glo_header,
header#recruit_glo_header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
メニュー
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/*--------------------*/
/* PC */
/*--------------------*/
@media screen and (min-width: 1281px) {
  header#glo_header {
    padding: 2.4rem clamp(2rem, 1vw, 4rem);
    box-sizing: border-box;
    .header_inner_wrap {
      padding: 0.2rem 0;
      border-radius: 0.8rem;
      box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
      background-color: #fff;
      .header_inner {
        position: relative;

        .header_logo {
          padding: 2rem min(2.8vw, 3.8rem);

          a {
            display: flex;
            align-items: center;
            color: var(--col-dark-gray);
            .logo {
              width: 3.2rem;
              margin-right: 1.7rem;
            }
            .text {
              font-size: var(--fsize_m);

              line-height: 1.4;
              position: relative;
              &.university {
                margin-right: 1.6rem;
                &::after {
                  content: "";
                  width: 1px;
                  height: 3.2rem;
                  background-color: #000;
                  position: absolute;
                  top: 50%;
                  right: -0.8rem;
                  transform: translateY(-50%);
                }
              }
              &.hospital {
                margin-right: 0.8rem;
              }
            }
            .border {
              border: 1px solid #000;
              writing-mode: vertical-rl;
              font-size: 0.9rem;
              height: 4.8rem;
              text-align: center;
              padding: 0 0.5em;
              font-weight: 500;
            }
          }
        }
        .header_nav_wrap {
          z-index: 100;
          position: absolute;
          top: 0;
          right: 1.2rem;
          height: 100%;
          max-width: 88.4rem;
          width: 69%;
          /* メニュー背景   */
          .menu_bg {
            display: none;
          }
          /* ハンバーガーボタン */
          .menu_btn {
            display: none;
          }
          /* メニュー */
          .glo_menu_wrap {
            height: 100%;

            .glo_menu {
              display: flex;
              height: 100%;
              width: 100%;
              /* spのみ表示 */
              li.home {
                display: none;
              }
              li.menu-item {
                border-left: 1px solid #e9e9e9;
                position: relative;
                width: 16.3%;
                max-width: 14.4rem;
                /* メニュー項目 */
                &.icon-menu {
                  a {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 0.6rem;
                    height: 100%;
                    text-align: center;
                    box-sizing: border-box;
                    color: var(--col-dark-gray);

                    padding-top: 0.4rem;
                    figure {
                      width: 2.4rem;
                      svg {
                        fill: var(--col-light-green);
                      }
                    }
                    span {
                      font-size: var(--fsize_s);
                      line-height: 1.6;
                      position: relative;
                      &.arrow {
                        padding-right: 1em;
                        &::after {
                          content: "";
                          display: block;
                          width: 0.3em;
                          aspect-ratio: 1/1;
                          border-right: 1px solid var(--col-blue);
                          border-bottom: 1px solid var(--col-blue);
                          transform: rotate(45deg);
                          position: absolute;
                          right: 0;
                          top: 37.5%;
                        }
                      }
                    }
                    &:hover {
                      color: #fff;
                      background-color: var(--col-light-green);
                      figure {
                        svg {
                          fill: #fff;
                        }
                      }
                      span {
                        &.arrow {
                          &::after {
                            transition: all 0.2s ease-in-out;
                            transform: rotate(-135deg);
                            border-color: #fff;
                            right: 0;
                            top: 37.5%;
                          }
                        }
                      }
                    }
                  }
                }
                /* 入局ボタン */
                &.recruit {
                  padding: 0.8rem 0 0.8rem 0.8rem;
                  max-width: 16.4rem;
                  width: 16.4rem;
                  a {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    gap: 0.4rem;
                    padding-top: 0.4rem;
                    gap: 2px;
                    position: relative;

                    height: 7.4rem;
                    box-sizing: border-box;
                    background: linear-gradient(
                      100.9deg,
                      #48b7ea 2.93%,
                      #3aefa4 96.6%
                    );
                    border-radius: 0.4rem;
                    span {
                      font-size: var(--fsize_m);

                      color: #fff;
                      line-height: 1.6;
                    }
                    figure {
                      width: 2.4rem;
                      svg {
                        fill: #fff;
                      }
                    }
                  }
                }

                .dropdown_menu {
                  visibility: hidden;
                  opacity: 0;
                  &.single {
                    position: absolute;
                    top: 100%;
                    padding-top: 1.3rem;
                    left: 50%;
                    transform: translate(-50%, 0);
                    transition: 0.2s;
                    min-width: 14.4rem;
                    box-sizing: border-box;
                    visibility: hidden;
                    opacity: 0;
                    .dropdown_menu_inner {
                      background: #ffffff;
                      box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
                      border-radius: 8px;
                      width: 100%;
                      padding: 0;
                      ul {
                        flex-direction: column;
                        li {
                          a {
                            display: block;
                            padding: 0.7rem 2rem;
                            font-size: var(--fsize_s);

                            line-height: 1.6;
                            text-align: left;

                            span {
                              display: inline-block;
                              padding-left: 1.285em;
                              position: relative;
                              white-space: nowrap;
                              &::before {
                                content: "";
                                display: block;
                                width: 1rem;
                                height: 2px;
                                border-radius: 9999px;
                                background: var(--grad-green_blue);
                                position: absolute;
                                left: 0;
                                top: 50%;
                                transform: translateY(-50%);
                              }
                            }
                            &:hover {
                              span {
                                color: #fff;
                                &::before {
                                  background: #fff;
                                }
                              }
                            }
                          }
                          &:first-child {
                            a {
                              padding-top: 1.7rem;
                            }
                          }
                          &:last-child {
                            a {
                              padding-bottom: 1.7rem;
                            }
                          }
                        }
                      }
                    }
                  }
                }
                /* 表示非表示 */
                &:hover {
                  .dropdown_menu {
                    visibility: visible;
                    opacity: 1;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

/*--------------------*/
/* スマートフォン */
/*--------------------*/
@media screen and (max-width: 1280px) {
  .header_inner_wrap {
    background-color: #fff;
    .header_inner {
      position: relative;
      .header_logo {
        padding: 1.3rem 1.8rem;

        a {
          display: flex;
          align-items: center;
          color: var(--col-dark-gray);
          .logo {
            width: 2.4rem;
            margin-right: 0.8rem;
          }
          .text {
            font-size: var(--fsize_l);

            line-height: 1.4;
            position: relative;
            &.university {
              br {
                display: none;
              }
            }
            &.hospital {
              display: none;
            }
          }
          .border {
            display: none;
          }
        }
      }
      .header_nav_wrap {
        /* ハンバーガーボタン */

        .menu_btn {
          position: absolute;
          z-index: 20000;
          width: 4.4rem;
          height: 4.4rem;
          border: none;
          right: 1.5rem;
          top: 0.8rem;
          padding: 0.6rem;
          box-sizing: border-box;
          border-radius: 0.4rem;
          background: #fff;
          transition: all 0.2s;

          &:focus {
            /*ボタンクリック時の枠線消し*/
            outline: 0;
          }

          span.bar {
            transform-origin: center;
            display: block;
            transition: all 0.2s;
            background: var(--grad-green_blue);
            border-radius: 8px;
            height: 3px;
            margin: 0.5rem 0;
          }

          &.open {
            .bar {
              background-color: #fff;
            }

            .bar1 {
              transform: rotate(45deg);
            }

            .bar2 {
              opacity: 0;
            }

            .bar3 {
              transform: rotate(-45deg);
              margin-top: -1.6rem;
            }
          }
        }
        /* 背景 */
        .menu_bg {
          display: none;
          position: fixed;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(0, 0, 0, 0.5);
          z-index: 1005;
          &.open {
            display: block;
            animation: manufadein 0.1s ease-in;
          }
        }
        .glo_menu_wrap {
          width: 100%;
          height: 100%;
          box-sizing: border-box;
          padding: 2.4rem 2rem;
          top: 0;
          left: 0;
          z-index: 1010;
          transition: 0.3s;
          position: fixed;
          overflow-y: auto;
          display: none;
          opacity: 0;
          &.open {
            display: block;
            animation: manufadein 0.2s ease-in 0.1s both;
          }

          /* メニューの中身 */
          .glo_menu {
            box-sizing: border-box;
            background-color: #f3f3f3;
            margin: auto;
            max-width: 680px;
            padding: 0 2rem 1.2rem;
            border-radius: 0.8rem;

            /* ロゴ */
            li.home {
              a {
                font-size: var(--fsize_l);
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 0.444em;
                padding: 1.444em 0;
                color: var(--col-dark-gray);
                figure {
                  width: 1.333em;
                }
                span {
                }
              }
            }
            li.menu-item {
              border-top: 1px solid var(--col-light-gray);
              > a {
                font-size: var(--fsize_l);

                display: flex;
                justify-content: flex-end;
                flex-direction: row-reverse;
                align-items: center;
                gap: 1rem;
                padding: 1.8rem 0.4rem;
                color: var(--col-dark-gray);
                position: relative;

                figure {
                  width: 1.5em;
                  svg {
                    fill: var(--col-light-green);
                  }
                }
                span {
                  line-height: 1.6;
                  display: inline-block;

                  padding-right: 1em;
                  &.arrow {
                    &::after {
                      transition: all 0.2s ease-in-out;
                      content: "";
                      display: block;
                      width: 0.3em;
                      aspect-ratio: 1/1;
                      border-right: 1px solid var(--col-blue);
                      border-bottom: 1px solid var(--col-blue);
                      transform: rotate(45deg);
                      position: absolute;
                      right: 0.4rem;
                      top: 37.5%;
                    }
                  }
                }
                &.open {
                  span {
                    &.arrow {
                      &::after {
                        transform: rotate(-135deg);
                      }
                    }
                  }
                }
              }
              &.aco_title {
                cursor: pointer;
                > a {
                  pointer-events: none;
                }
              }
              /* ドロップダウンメニュー */
              .dropdown_menu {
                display: grid;
                grid-template-rows: 0fr;
                transition: grid-template-rows 0.2s ease;
                &.open {
                  grid-template-rows: 1fr;
                }
                .dropdown_menu_inner {
                  overflow: hidden;
                  ul {
                    font-size: var(--fsize_m);
                    padding-bottom: 0.5em;
                    li {
                      a {
                        display: block;
                        padding: 0.5em 0.25em;

                        line-height: 1.6;
                        text-align: left;
                        color: var(--col-dark-gray);
                        span {
                          display: inline-block;
                          padding-left: 1.285em;
                          position: relative;
                          word-break: keep-all;
                          &::before {
                            content: "";
                            display: block;
                            width: 1rem;
                            height: 2px;
                            border-radius: 9999px;
                            background: var(--grad-green_blue);
                            position: absolute;
                            left: 0;
                            top: 50%;
                            transform: translateY(-50%);
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
    &.recruit_inner_wrap {
      background: none;
      a {
        display: block;
        position: relative;
        width: 20rem;
        aspect-ratio: 409/79;
        .mark {
          width: 16.13%;
          position: absolute;
          top: 0;
          left: 0;
        }
        .text {
          width: 100%;
          bottom: 0;
          right: 0;
          svg {
            fill: #fff;
          }
        }
        &:hover {
          opacity: 1;
          .text {
            svg {
              fill: #000;
            }
          }
        }
      }
    }
  }
}
@keyframes manufadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
タイトルイメージ
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

#title_img {
  padding-top: 11.8rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #fff;
  background-image: url(../img/title_img/header_bg_illust.webp);
  position: relative;
  overflow: hidden;
  &::before {
    content: "";
    display: block;
    aspect-ratio: 1/1;
    filter: blur(min(1vw, 1.4rem));
    position: absolute;
    border-radius: 0.4rem;
    opacity: 0.4;
    width: min(10vw, 9rem);
    background-color: var(--col-blue);
    left: 50%;
    top: 0;
    transform: translate(-164%, 0);
  }
  @media screen and (max-width: 1280px) {
    padding-top: 8rem;
    &::before {
      left: 70%;
      top: auto;
      bottom: 0;
      transform: translate(0, 20%);
    }
  }
  @media screen and (max-width: 768px) {
    padding-top: 6rem;
  }
  @media screen and (max-width: 480px) {
    padding-top: 4rem;
  }
  /*   &.dispensary {
    background-image: url(../img/title_img/title_img-dispensary.webp);
  }
  &.dl {
    background-image: url(../img/title_img/title_img-dl.webp);
  }
  &.formedical {
    background-image: url(../img/title_img/title_img-formedical.webp?ver20260623);
  }
  &.medical_info {
    background-image: url(../img/title_img/title_img-medical_info.webp);
  }
  &.news {
    background-image: url(../img/title_img/title_img-news.webp?ver20260623);
  }
  &.optout {
    background-image: url(../img/title_img/title_img-optout.webp);
  }
  &.record {
    background-image: url(../img/title_img/title_img-record.webp);
  }
  &.research {
    background-image: url(../img/title_img/title_img-research.webp);
  }
  &.results,
  &.sitemap {
    background-image: url(../img/title_img/title_img-results.webp);
  }
  &.staff {
    background-image: url(../img/title_img/title_img-staff.webp);
  }
  &.notfound {
  } */
  .title_wrap {
    max-width: 110.2rem;
    margin: auto;
    height: 24.6rem;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    &::before,
    &::after {
      content: "";
      display: block;
      aspect-ratio: 1/1;
      filter: blur(min(1vw, 1.4rem));
      position: absolute;
      border-radius: 0.4rem;
      opacity: 0.4;
    }
    &::before {
      width: min(8.7vw, 11.8rem);
      background-color: var(--col-light-green);
      left: 0;
      bottom: 1.4rem;
      transform: translate(-50%, 0);
    }
    &::after {
      right: 0;
      bottom: 16.5rem;
      width: min(5.3vw, 7.2rem);
      background-color: var(--col-blue);
      transform: translate(0, 0);
    }
    @media screen and (max-width: 1280px) {
      height: 16rem;
      &::before {
        width: min(8.7vw, 11.8rem);
        top: 2rem;
        bottom: auto;
        transform: translate(-20%, -20%);
      }
      &::after {
        right: 0;
        bottom: auto;
        top: 4rem;
      }
    }
    @media screen and (max-width: 480px) {
      height: 8rem;
      &::before {
        width: 12vw;
      }
      &::after {
        width: 7vw;
      }
    }
    .title_text {
      font-weight: inherit;
    }
    span {
      font-size: 4rem;
      line-height: 1.5;
      color: var(--col-dark-gray);
      letter-spacing: 0.03em;
      position: relative;
      @media screen and (max-width: 768px) {
        font-size: 3.2rem;
      }
      @media screen and (max-width: 480px) {
        font-size: var(--fsize_xxl);
      }
    }
  }
}

.pankuzu {
  font-size: var(--fsize_s);
  color: var(--col-dark-gray);
  letter-spacing: 0.04em;
  padding: 0 2rem;
  max-width: 110.2rem;
  margin: 2rem auto 4.4rem;
  font-weight: 400;
  position: relative;
  a {
    color: var(--col-dark-gray);
    text-decoration: underline;
  }
}
