body {
  margin: 0;
  font-family: sans-serif;
  background: #ffeded;
  box-sizing: border-box;
}

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

header {
  position: fixed;
  width: 100%;
  z-index: 20;
  top: 0px;
}


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

}



.top_bt {
  display: flex;
  list-style: none;
  right: 0;
  border: #ff8bcb dotted .5px;
}

.top_bt a {
  text-decoration: none;
  font-size: 14px;
  color: #ff8bcb;
  transition: 0.5s;
  border-right: #ff8bcb dotted .5px;
}

.top_bt a:last-of-type {
  border-right: none;
}

.top_bt a:hover {
  color: #ffffff;
  background-color: #ff8bcb;
}

.top_bt li {
  line-height: 70px;
  width: 160px;
  text-align: center;
}

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


.main_hamburger_line {
  width: 50px;
  height: 5px;
  border-radius: 5px;
  background-color: #ff8bcb;
  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;
  margin-left: auto;
  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;
}

.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.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;
}

.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 a {
  text-decoration: none;
  color: #000;
}



.hover-container {
  display: flex;
  width: 1000px;
  height: 350px;
  position: relative;
  margin: 120px auto;
}

.hover-container:first-child {
  margin-top: 50px;
}

.image-side {
  width: 35%;
  background: url('../img/32403722_s.jpg') center/cover no-repeat;
}

.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: rgb(255, 152, 203);
  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;
}

.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: 1.0s;
}

/* ==== 2つ目用：左右反転 ==== */
.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 .diagonal-bg {
  clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
}

.hover-container.reverse .hover-links a {
  transform: translateX(-20px);
}

.hover-container.reverse:hover .hover-links a {
  transform: translateX(0);
  opacity: 1;
}

.news {
  position: relative;
  border-top-right-radius: 30px;
  background-color: #ffffff;
  width: 640px;
  padding: 40px 0 30px 30px;
  margin-top: -120px;
  margin-left: 250px;
  z-index: 10;
}

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

.news h2 {
  display: inline-block;
  font-size: 24px;
  letter-spacing: .5em;
  margin-bottom: 0.3em;
  border-bottom: #555 solid 1px;
}

.news p {
  font-size: 14px;
  color: #555;
  text-align: center;
}


.news_list {
  list-style: none;
  margin-top: 15px;
}

.news_list>li {
  line-height: 2em;
}

.news_list>li>span {
  color: #ffffff;
  background-color: #ff8bcb;
  padding: 0 10px;
  border-radius: 1em;
  margin-right: 1.5em;
}



.main_img {
  position: relative;
  width: 100%;
  display: block;

  z-index: 1;
}

.main_contents {
  clear: both;
}

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

.page_title {
  font-size: 48px;
  letter-spacing: .3em;
  width: 100%;
  height: 480px;
  background: url('../img/title_back.jpg');
  display: flex;
  align-items: center;
  justify-content: center;
}

.content_title {
  display: inline-block;
  border-bottom: #ff8bcb 3px double;
  margin-bottom: 15px;
}

.content_sub_title {
  margin: 15px 0;
}

.content_block {
  width: 90%;
  max-width: 1440px;
  margin: 50px auto;
  padding: 50px 100px;
  background: #ffffff;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 227, 242, 1) 100%);
  text-align: left;
}

.sub_block {
  margin-bottom: 20px;
}

.content_block .sub_block:last-of-type {
  margin-bottom: 10px;
}

.flex_block {
  display: flex;
}

.paragraph {
  padding: 0 15px;
}

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

/* テーブル */
.recruit_table {
  border-collapse: separate;
  border-spacing: 0 30px;
}

.recruit_sub_table tr th {
  width: 7em;
  height: 3em;
  font-weight: 400;
  text-align: center;
  background-color: #ffeeee;
}

.recruit_sub_table tr td {
  padding-left: 1em;
}



/* リスト */
.list-style-none {
  list-style: none;
}