:root {
  --main-color: #ffeded;
  --accent-color: #ff8bcb;
  --gradation-color: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 227, 242, 1) 100%
  );
  --sub-color: #236ab9;
  --sub-color-2: #c8def6;
  --sub-color-3: #8bffcb;
}

body {
  margin: 0;
  font-family: sans-serif;
  background: var(--main-color);
  box-sizing: border-box;
}

.back_ground {
  position: fixed;
  z-index: -100;
}

header {
  position: fixed;
  width: 100vw;
  z-index: 20;
  top: 0px;
  border-bottom: var(--accent-color) dotted 0.5px;
}

.header_bt {
  display: flex;
  justify-content: right;
  background-color: #ffffff;
}

.top_bt {
  display: flex;
  list-style: none;
  padding: 0;
  right: 0;
  border: var(--accent-color) dotted 0.5px;
  border-bottom: none;
}
.top_bt a {
  text-decoration: none;
  font-size: 14px;
  color: var(--accent-color);
  transition: 0.5s;
  border-right: var(--accent-color) dotted 0.5px;
}
.top_bt a:last-of-type {
  border-right: none;
}
.top_bt a:hover {
  color: #ffffff;
  background-color: var(--accent-color);
}
.top_bt li {
  line-height: 70px;
  width: 160px;
  text-align: center;
}

.header_logo {
  display: none;
}

.main_hamburger {
  width: 100px;
  margin-top: auto;
  margin-bottom: auto;
}

.main_hamburger_line {
  width: 50px;
  height: 5px;
  border-radius: 5px;
  background-color: var(--accent-color);
  display: block;
  margin: 8px auto;
  transition: all 0.3s ease-in-out;
}
.main_hamburger_line.active:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.main_hamburger_line.active:nth-child(2) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu_map {
  display: none;
  width: 1000px;
  height: 600px;
  position: fixed;
  right: 0;
  background-color: #ffffff;
  border-bottom-left-radius: 30px;
  grid-template-areas: "top-left top-right" "center-left center-right" "bottom-left bottom-right";
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}
.menu_map.active {
  display: grid;
}

.menu_box {
  padding: 20px 50px;
}

.category_title a {
  text-decoration: none;
  font-size: 16px;
  color: #5f5f5f;
}

.subsection {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: 100px;
}
.subsection a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: #535353;
}

@media screen and (max-width: 1024px) {
  .header_bt {
    justify-content: space-between;
  }
  .top_bt {
    display: none;
  }
  .header_logo {
    display: block;
    padding: 15px 5px;
    height: 71px;
  }
  .menu_map {
    width: 100vw;
    height: auto;
  }
  .menu_map.active {
    display: block;
  }
  .menu_map .subsection {
    display: none;
  }
  .subsection {
    margin-left: 15%;
  }
}
.breadcrumb {
  position: fixed;
  top: 70px;
  display: flex;
  font-size: 14px;
  height: 40px;
  background-color: #ffffff;
  width: 100%;
  padding-bottom: 10px;
  padding-left: 40px;
  z-index: 5;
}

.item {
  background: #ffeeee;
  padding: 0 30px;
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}
.item a {
  text-decoration: none;
  color: #000;
}
.item.arrow {
  background: #ffeded;
  color: black;
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%);
  margin: 0 -10px;
}
.item.arrow.pink {
  background: #ffb9df;
  color: #ffffff;
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%);
  margin: 0 -10px;
  z-index: 1;
}

@media screen and (max-width: 1024px) {
  .breadcrumb {
    display: none;
  }
}
.footer > ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
}
.footer > ul > li {
  width: 100%;
  background-color: var(--sub-color-2);
  border: #ffffff 1px solid;
  align-items: center;
  transition: 0.6s ease-in-out;
}
.footer > ul > li:hover {
  background-color: var(--sub-color);
}
.footer > ul > li > a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;
}

.footer_contents {
  display: flex;
  width: 100%;
  background-color: var(--sub-color);
  position: relative;
  justify-content: space-around;
  padding-top: 35px;
}

.footer_bg {
  position: absolute;
  top: 0;
  right: 5%;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.7);
  z-index: 10;
}

.footer_overview {
  color: white;
}

.footer_map {
  display: flex;
}

.footer_map_list {
  padding: 20px;
  color: white;
}

.footer_btn > ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
}
.footer_btn > ul > li {
  width: 100%;
  background-color: var(--sub-color-2);
  border: #ffffff 1px solid;
  align-items: center;
  transition: 0.6s ease-in-out;
}
.footer_btn > ul > li > a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;
}
.footer_btn > ul > li:hover {
  background-color: var(--sub-color);
}

@media screen and (max-width: 1024px) {
  .footer_contents {
    display: block;
  }
  .footer_btn > ul > li {
    background-color: var(--sub-color);
    align-items: center;
  }
  .footer_map {
    display: block;
  }
  .footer_map_list {
    padding: 0 20px;
  }
}
.hover-container {
  display: flex;
  width: 1000px;
  height: 350px;
  position: relative;
  margin: 120px auto;
}
.hover-container:first-child {
  margin-top: 50px;
}

.image-side {
  width: 35%;
}

.hover-container:nth-child(1) > .image-side {
  background: url("../img/intro_img.png") center/cover no-repeat;
}
.hover-container:nth-child(2) > .image-side {
  background: url("../img/education_img.png") center/cover no-repeat;
}
.hover-container:nth-child(3) > .image-side {
  background: url("../img/recruit_img.png") center/cover no-repeat;
}
.hover-container:nth-child(4) > .image-side {
  background: url("../img/voice_img.png") center/cover no-repeat;
}
.hover-container:nth-child(5) > .image-side {
  background: url("../img/welfare_img.png") center/cover no-repeat;
}
.hover-container.reverse {
  flex-direction: row-reverse;
}
.hover-container.reverse .diagonal-bg {
  left: 0;
  right: auto;
  clip-path: polygon(0 0, 0 100%, 40% 100%, 20% 0);
  transition: clip-path 0.6s ease-in-out;
}
.hover-container.reverse .hover-links a {
  transform: translateX(-20px);
}
.hover-container.reverse:hover .diagonal-bg {
  clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
}
.hover-container.reverse:hover .hover-links a {
  transform: translateX(0);
  opacity: 1;
}
.hover-container:hover .diagonal-bg {
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
}
.hover-container:hover .text-group {
  opacity: 0;
}
.hover-container:hover .hover-links {
  opacity: 1;
}
.hover-container:hover .hover-links a {
  transform: translateX(0);
  opacity: 1;
}
.hover-container:hover .hover-links a:nth-child(1) {
  transition-delay: 0.2s;
}
.hover-container:hover .hover-links a:nth-child(2) {
  transition-delay: 0.4s;
}
.hover-container:hover .hover-links a:nth-child(3) {
  transition-delay: 0.6s;
}
.hover-container:hover .hover-links a:nth-child(4) {
  transition-delay: 0.8s;
}
.hover-container:hover .hover-links a:nth-child(5) {
  transition-delay: 1s;
}
.hover-container:hover .hover-links a:nth-child(6) {
  transition-delay: 1.2s;
}
.hover-container:hover .hover-links a:nth-child(7) {
  transition-delay: 1.4s;
}

.content-side {
  width: 65%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.diagonal-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  clip-path: polygon(100% 0, 100% 100%, 60% 100%, 80% 0);
  transition: clip-path 0.6s ease-in-out;
  z-index: 1;
}

.text-group {
  position: relative;
  text-align: center;
  z-index: 2;
  transition: opacity 0.6s ease;
}
.text-group h2 {
  font-size: 24px;
  margin-bottom: 0.3em;
  border-bottom: #555 solid 1px;
}
.text-group p {
  font-size: 14px;
  color: #555;
}

.hover-links {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
  text-align: left;
  transition: opacity 0.6s ease;
}
.hover-links a {
  display: block;
  border-bottom: #ffffff solid 1px;
  margin: 15px 0;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transform: translateX(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.mobile_text-group {
  display: none;
}

@media screen and (max-width: 1024px) {
  .hover-container {
    width: 100%;
    height: auto;
    display: block;
  }
  .hover-container.reverse .diagonal-bg {
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  }
  .hover-container.reverse .hover-links a {
    transform: translateX(0);
    opacity: 1;
  }
  .hover-container .diagonal-bg {
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
  }
  .hover-container .text-group {
    opacity: 0;
  }
  .hover-container .hover-links {
    opacity: 1;
  }
  .hover-container .hover-links a {
    transform: translateX(0);
    opacity: 1;
  }
  .hover-container .hover-links a:nth-child(1) {
    transition-delay: 0.2s;
  }
  .hover-container .hover-links a:nth-child(2) {
    transition-delay: 0.4s;
  }
  .hover-container .hover-links a:nth-child(3) {
    transition-delay: 0.6s;
  }
  .hover-container .hover-links a:nth-child(4) {
    transition-delay: 0.8s;
  }
  .hover-container .hover-links a:nth-child(5) {
    transition-delay: 1s;
  }
  .hover-container .hover-links a:nth-child(6) {
    transition-delay: 1.2s;
  }
  .hover-container .hover-links a:nth-child(7) {
    transition-delay: 1.4s;
  }
  .image-side {
    display: block;
    border-radius: 50%;
    width: 50vw;
    height: 50vw;
    overflow: hidden;
    margin: 0 auto 50px;
  }
  .content-side {
    margin: 0 auto;
    height: 15em;
  }
  .hover-links {
    width: 100%;
    text-align: center;
  }
  .hover-links a {
    border-bottom: none;
  }
  .mobile_text-group {
    display: block;
    width: auto;
    position: relative;
    text-align: center;
    margin-bottom: 2em;
  }
  .mobile_text-group h2 {
    display: inline;
    font-size: 24px;
    margin-bottom: 0.3em;
    border-bottom: #555 solid 1px;
  }
  .mobile_text-group p {
    font-size: 14px;
    color: #555;
  }
}
.news {
  position: relative;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  background-color: #ffffff;
  width: 640px;
  padding: 40px 0 30px 30px;
  margin-top: -120px;
  margin-left: 10%;
  z-index: 10;
}
.news h2 {
  display: inline-block;
  font-size: 24px;
  letter-spacing: 0.5em;
  margin-bottom: 0.3em;
  border-bottom: #555 solid 1px;
}
.news p {
  font-size: 14px;
  color: #555;
  text-align: center;
}

.news_title {
  margin-left: 4em;
  display: inline-block;
}

.news_list {
  list-style: none;
  margin-top: 15px;
}
.news_list > li {
  line-height: 2em;
}
.news_list > li > span {
  color: #ffffff;
  background-color: var(--accent-color);
  padding: 0 10px;
  border-radius: 1em;
  margin-right: 1.5em;
}

@media screen and (max-width: 1024px) {
  .news {
    margin: 10px auto;
    width: 95%;
  }
}
.hero_img {
  position: relative;
  width: 90vw;
  display: block;
  z-index: 1;
  margin: 70px auto 0;
}

@media screen and (max-width: 1024px) {
  .hero_img {
    width: 100vw;
  }
}
.main_contents {
  clear: both;
}

.container {
  width: 100%;
  margin-top: 110px;
  text-align: center;
}

.page_title {
  font-size: 52px;
  letter-spacing: 0.3em;
  width: 100%;
  height: 480px;
  background: url("https://nagato.or.jp/nurse/img/title_bg.png") top/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-shadow: rgb(255, 255, 255) 0px 0px 4px;
}

.content_title {
  display: inline-block;
  border-bottom: var(--accent-color) 3px double;
  margin-bottom: 15px;
}
.content_title::first-letter {
  color: var(--accent-color);
  font-size: 154%;
}

.content_sub_title {
  margin: 15px 0;
  font-size: 20px;
  font-weight: normal;
  border-left: solid 5px var(--sub-color);
  padding-left: 5px;
  line-height: 2em;
}

.content_block {
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  padding: 50px 100px;
  background: var(--gradation-color);
  text-align: left;
}

.sub_block {
  margin-bottom: 20px;
}

.paragraph {
  padding: 0 15px;
  text-align: justify;
  display: block;
}

.right_position {
  display: inline-block;
  margin-left: auto;
}

@media screen and (max-width: 1024px) {
  .container {
    margin-top: 70px;
  }
  .page_title {
    height: 120px;
    font-size: 24px;
    letter-spacing: 0;
  }
  .content_title {
    font-size: 18px;
    display: block;
    text-align: center;
    margin-bottom: 25px;
  }
  .content_block {
    padding: 20px 10px;
  }
}
.message_block {
  display: flex;
  align-items: flex-start;
}
.message_block > img {
  width: 300px;
  height: auto;
}

@media screen and (max-width: 1024px) {
  .message_block {
    flex-direction: column-reverse;
    align-items: center;
  }
  .message_block > img {
    display: block;
    width: 200px;
    margin: 0 auto;
  }
}
.ladder_img {
  max-width: 500px;
  display: block;
  margin: -50px auto 0;
}

@media screen and (max-width: 1024px) {
  .ladder_img {
    max-width: 300px;
    margin-top: 20px;
  }
}
.menu_list {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(2, 45%);
  justify-content: space-around;
}

.menu_btn {
  text-align: left;
  margin-bottom: 20px;
  text-decoration: none;
  font-size: 20px;
  color: #000;
}

.recruit_table {
  border-collapse: separate;
  border-spacing: 0 30px;
}
.recruit_table th {
  font-size: 108%;
  font-weight: normal;
  width: 8em;
  vertical-align: top;
  -webkit-text-decoration: underline solid 1px var(--sub-color);
          text-decoration: underline solid 1px var(--sub-color);
  line-height: 1.5em;
}

.recruit_sub_table tr th {
  width: 8em;
  height: 3em;
  font-weight: 400;
  background-color: #ffeeee;
  padding-left: 1em;
  line-height: 3em;
}
.recruit_sub_table tr td {
  padding-left: 1em;
}

@media screen and (max-width: 1024px) {
  .recruit_table th {
    width: 1em;
    padding-right: 5px;
  }
}
.staff_name {
  display: block;
  font-size: 115%;
  text-align: right;
  padding-top: 10px;
  padding-right: 10px;
}

.layout-container {
  width: 90%;
  max-width: 900px;
  margin: 50px auto;
  padding: 50px 100px;
  background: var(--gradation-color);
  text-align: left;
}
.layout-container img {
  text-align: center;
}

.article__title {
  text-align: center;
  line-height: 1.5em;
  border-bottom: var(--accent-color) 3px double;
  margin-bottom: 15px;
}

.article__date {
  display: inline-block;
  margin-bottom: 1em;
}

@media screen and (max-width: 1024px) {
  .layout-container {
    margin-top: 30px;
    padding: 20px 10px;
  }
  .article__title {
    font-size: 21px;
    display: block;
    text-align: center;
    margin-bottom: 25px;
  }
}
.pc_hidden {
  display: none;
}
.pc_hidden > .content_sub_title {
  margin-top: 40px;
}
.pc_hidden > .content_sub_title:first-child {
  margin-top: 20px;
}

.mobile_hidden {
  display: block;
}

.flex-container_row-column {
  display: flex;
  flex-direction: row;
}

@media screen and (max-width: 1024px) {
  .pc_hidden {
    display: block;
  }
  .mobile_hidden {
    display: none;
  }
  .flex-container_row-column {
    flex-direction: column;
  }
}
.margin-bottom-10 {
  margin-bottom: 10px;
}

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

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

.list-style-none {
  list-style: none;
  padding: 0;
}

.list-style-normal {
  padding-left: 2em;
}

.list-style-footer_map_list {
  list-style: none;
}
.list-style-footer_map_list > li {
  position: relative;
  margin: 0 0 20px 20px;
  padding: 0 0 0 25px;
  line-height: 2em;
}
.list-style-footer_map_list > li::before {
  position: absolute;
  content: "";
  width: 5px;
  height: 1px;
  top: 1em;
  left: 0;
  background-color: white;
}
.list-style-footer_map_list > li > a {
  text-decoration: none;
  color: white;
}
.list-style-footer_map_list > li > ul {
  list-style: none;
}
.list-style-footer_map_list > li > ul > li {
  padding-left: 2em;
  font-size: 88%;
  line-height: 1.5em;
}
.list-style-footer_map_list > li > ul > li > a {
  text-decoration: none;
  color: white;
}

@media screen and (max-width: 1024px) {
  .list-style-footer_map_list > li {
    margin: 0;
    padding-bottom: 10px;
  }
  .list-style-footer_map_list > li > ul > li {
    display: none;
  }
}
.btn-icon-arrow {
  background: var(--sub-color);
  color: white;
  border: none;
  padding: 14px 32px 14px 36px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 400;
  display: inline-flex;
}