.title-frame,
.title-frame-with-picture {
  display: flex;
  margin: 0 auto 40px;
  padding: 0px 0px 40px 0px;
  border-radius: 60px 0px 60px 0px;
  flex-direction: column;
  gap: 20px;
  position: relative;
  background: var(--hrsblue, linear-gradient(122.32deg, rgba(28, 80, 161, 1) 1.4999999664723873%, rgba(70, 96, 215, 1) 53.473079204559326%, rgba(127, 230, 252, 1) 100%));
  width: 1132px;
  height: 240px;
  letter-spacing: 0.1rem;
}
.title-txt {
  display: flex;
  position: absolute;
  left: 0px;
  top: 10px;
  padding: 0px 0px 0px 36px;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 230px;
}
.title-frame-with-picture .title-txt {
  width: 420px;
}
.title-txt p {
  position: relative;
  align-self: stretch;
  color: #ffffff;
  text-align: left;
  font-family: "NotoSansJp-Bold", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}
.title-txt p span {
  position: relative;
  align-self: stretch;
  color: #ffffff;
  text-align: left;
  font-family: "NotoSansJp-Bold", sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.title-txt p span.sp-size {
  font-size: 28px;
}
.button-menu-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}
.button-menu-box {
  display: flex;
  position: relative;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  overflow-y: hidden !important;
}  
.button-menu-box::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.button-menu {
  display: flex;
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  border-style: solid;
  border-color: #e7456d;
  border-width: 1px;
  padding: 10px 14px 10px 14px;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  height: 38px;
  color: #e7456d;
  text-align: left;
  font-family: "NotoSansJp-Regular", sans-serif;
  font-size: 13px;
  font-weight: 400;
}
.button-menu-active {
  background: #e7456d;
  color: #FFFFFF;
}
.button-menu-top {
  display: flex;
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  border-style: solid;
  border-color: #e7456d;
  border-width: 1px;
  padding: 10px 14px 10px 14px;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  height: 38px;
  color: #e7456d;
  text-align: left;
  font-family: "NotoSansJp-Regular", sans-serif;
  font-size: 13px;
  font-weight: 400;
}
@media (hover: hover) and (pointer: fine) {
  .button-menu:hover,
  .button-menu-top:hover {
    border-color: #D9D9D9;
    background: #D9D9D9;
    color: #FFFFFF;
  }
}
._3rd-explanation {
  position: relative;
  margin: 20px auto;
  color: #595757;
  text-align: center;
  font-family: "NotoSansJp-Bold", sans-serif;
  font-size: 16px;
  line-height: 30px;
  font-weight: 700;
}
._3rd-layer-contents {
  display: flex;
  position: relative;
  margin: 0 auto;
  padding: 40px 0px 0px 0px;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 1132px;
}
._3rd-layer-contents-frame {
  display: flex;
  position: relative;
  flex-direction: row;
  margin-bottom: 40px;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
}
.side-menu-container {
  display: flex;
  position: relative;
  flex-direction: column;
  padding: 20px 0;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 222px;
  background: #ffffff;
  border-radius: 20px;
}
.side-menu,
.side-menu-fixed {
  display: flex;
  position: relative;
  background: #FFFFFF;
  border-style: solid;
  border-color: #f5f5f5;
  border-width: 1px 0px 0px 0px;
  padding: 10px;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between; 
  align-self: stretch;
  flex-shrink: 0;
  color: #1c50a1;
  text-align: left;
  font-family: "NotoSansJp-Bold", sans-serif;
  font-size: 13px;
  font-weight: 700;
  width: 222px;
  line-height: normal;
}
.side-menu-container > a.side-menu:last-of-type {
  border-bottom: 1px solid #f5f5f5;
}
.side-submenu-frame {
  display: flex;
  flex-direction: column;
}
.submenu-hidden {
  display: none;
}
.side-submenu {
  display: flex;
  flex-direction: row;
  padding: 3px 10px 3px 10px;
  gap: 10px;
  text-align: left;
  align-items: center;
  width: 222px;
  min-height: 30px;
  color: #444444;
  background: #ffffff;
  font-family: "NotoSansJp-Regular", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}
.side-submenu span {
  color: #8EB7F7;
}
.current {
  background: #1C50A1;
}
.current,
.current p,
.current span {
  color: #FFFFFF;
}
@media (hover: hover) and (pointer: fine) {
  .side-menu:hover {
    background: #8EB7F7;
    color: #1C50A1;
  }
  .side-submenu:hover {
    background: #8EB7F7;
    color: #444444;
  }
  .side-submenu:hover span {
    color: #FFFFFF;
  }
}
._3rd-layer-h2 {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 40px;
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  height: auto;
}
._3rd-layer-contents2 {
  display: flex;
  position: relative;
  margin-top: -40px;
  padding: 0;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
}
.overview-left,
.overview-center,
.overview-with-img {
  position: relative;
  color: #444444;
  text-align: left;
  font-family: "NotoSansJp-Regular", sans-serif;
  font-size: 16px;
  line-height: 30px;
  font-weight: 700;
  width: 964px;
  height: auto;
  letter-spacing: 0.1rem;
}
.overview-center {
  text-align: center;
}
.overview-with-img {
  width: 513px;
}
.overview-left span,
.overview-center span,
.overview-with-img span { 
  font-size: 14px;
  font-weight: 400;
}
.overview-frame {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 964px;
}
.overview-frame img {
  width: 420px;
  height: autp;
}
._3rd-full-img {
  width: 965px;
  height: auto;
}

@media screen and (max-width: 768px) {
  .title-frame {
    margin-bottom: 20px;
    padding: 0;
    width: 336px;
    height: 180px;
  }
  .title-frame-with-picture {
    border-radius: 60px 0px 60px 0px;
    margin-bottom: 40px;
    padding: 0;
    width: 336px;
    height: 335px;
  }
.title-frame .title-txt,
.title-frame-with-picture .title-txt {
    top: 0;
    width: 320px;
    height: 180px;
  }
  .title-txt p {
    line-height: 1.5;
  }
  .title-txt p span.sp-size {
    font-size: 20px !important;
  } 
  .title-img {
    position: absolute;
    overflow: visible;
    top: 180px;
    width: 336px;
    height: 155px;
  }
  ._3rd-explanation {
    width: 335px;
  }
  ._3rd-layer-contents {
    padding: 0;
    width: 375px;
  }
  ._3rd-layer-contents-frame {
    flex-direction: column;
    margin-bottom: 0;
  }
  ._3rd-layer-h2 {
    margin: 0 auto;
    text-align: center;
    width: 320px;
  }
  .side-menu {
    align-items: center;
    width: 320px;
    height: 50px;
  }
  .side-menu p {
    width: 270px;
  }
  .sp-side-menu-container {
    display: flex;
    position: relative;
    margin: 0 auto 40px;
    padding: 20px 0px;
    flex-shrink: 0;
    width: 320px;
    height: auto;
    background: #FFFFFF;
    border-radius: 20px;
  }
  .sp-side-menu {
    display: flex;
    position: relative;
    background: #ffffff;
    border-style: solid;
    border-color: #f5f5f5;
    border-width: 1px 0px 0px 0px;
    padding: 10px;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 320px;
    height: 50px;
    color: #1c50a1;
    text-align: left;
    font-family: "NotoSansJp-Bold", sans-serif;
    font-size: 13px;
    font-weight: 700;
    flex: 1;
  }
  .sp-side-menu-container > a.side-menu:last-of-type {
    border-bottom: 1px solid #f5f5f5;
  }
  .sp-side-menu-active {
    background: #1C50A1;
    color: #FFFFFF;
  }
  .side-submenu {
    width: 320px;
  }
  .button-menu-frame {
    margin: 0 auto;
    width: 320px;
  }
  .button-menu-top {
    margin: 0 auto;
    width: 320px;
  }
  .button-menu-box {
    margin: 0 auto;
    padding-bottom: 55px;
    width: 320px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
  }
  .button-menu-box::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  .scroll-hint-icon {
    top: 0 !important;
    bottom: auto !important;
  }
  .related-info {
    margin: 40px auto 20px;
    padding: 0;
    text-align: left;
    width: 320px;
  }
  .overview-left,
  .overview-center,
  .overview-with-img {
    width: 320px;
  }
  .overview-frame {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: 320px;
  }
  .overview-frame img {
    width: 320px;
    margin: 20px auto;
  }
  ._3rd-full-img {
    width: 340px;
  }
}
