:root {
  --blue: #2F509F;
  --black: #333;
  --red: #e60012;
  --ice: #f5f7fa;
  --blue-gradient: linear-gradient(to right, #2F509F 0%, #4e87d8 100%);
  --red-gradient: linear-gradient(to right, #e60012 0%, #f83a4a 100%);
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  color: #333;
  letter-spacing: 0.1em;
  background-color: var(--ice);
  font-size: 1.4rem;
  line-height: 2em;
  min-width: 320px;
}

div {
  box-sizing: border-box;
}

p {
  font-size: 1.4rem;
  line-height: 2;
  margin: 0;
}

img {
  /* width: 100%; */
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #333;
  position: relative;
}

a:hover {
  cursor: pointer;
  transition: 0.3s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

ul,
dt,
dd,
dl {
  margin: 0;
  padding-inline-start: 0;
}

ul {
  font-size: 0;
}

li {
  list-style-type: none;
  font-size: 1.4rem;
  box-sizing: border-box;
}

table {
  width: 100%;
  border-spacing: 0;
}

h2 {
  font-weight: bold;
  margin: 0 auto;
  font-size: 2rem;
  display: flex;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  display: inline-block;
  position: relative;
}

h3::after{
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--red);
  bottom: -8px;
  left: 0;
}

h4 {
  font-size: 1.6rem;
  margin: 0 0 20px;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

.form-group {
  padding: 5px 0;
}

.form-group select {
  padding: 20px 40px 20px 20px;
}

.submit-wrap {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.select-wrap {
  display: inline;
  position: relative;
}

.select-wrap:after {
  content: "";
  position: absolute;
  right: 21px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--blue);
  border-left: 1px solid var(--blue);
  transform: translateY(-50%) rotate(-135deg);
  font-size: 20px;
  pointer-events: none;
}

select {
  background: #fff;
  border: 1px solid #e3e3e3;
  width: 100%;
  border-radius: 6px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

select:focus {
  outline: none;
}

.pc {
  display: inline-block !important;
}

.sp {
  display: none !important;
}

.mb--small {
  margin-bottom: 40px;
}

.mb--large {
  margin-bottom: 60px;
}

.box--small {
  width: 50%;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.03);
}

.box--large {
  width: 100%;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.03);
}

.table-wrap.box--large {
  padding: 20px 0;
}

.angle--right {
  color: var(--blue);
  font-size: 3rem;
}

.link__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: var(--blue);
  color: white;
  font-size: 16px;
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  transition: 0.3s;
}

a:hover .link__arrow {
  background-color: #fff;
  color: var(--blue);
  transition: 0.3s;
  border: 1px solid var(--blue);
}

.arrow-animate {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

a:hover .arrow-animate,
button:hover .arrow-animate {
  animation: fadeSlideOutIn 0.6s ease forwards;
}

@keyframes fadeSlideOutIn {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  30% {
    opacity: 0;
    transform: translateX(8px);
  }
  60% {
    opacity: 0;
    transform: translateX(-8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

a:hover .arrow-animate.fa-arrow-left,
button:hover .arrow-animate.fa-arrow-left {
  animation: fadeSlideOutInLeft 0.6s ease forwards;
}

@keyframes fadeSlideOutInLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  30% {
    opacity: 0;
    transform: translateX(-8px);
  }
  60% {
    opacity: 0;
    transform: translateX(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.border {
  border-top: 1px solid #eee;
  margin: 0 -30px;
}

.content {
  padding-left: 300px;
}

.content__body {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.copyright {
  margin-top: 100px;
  padding: 30px 0;
  color: #ccc;
  text-align: right;
}

.btn {
  background: var(--blue-gradient);
    color: #fff;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    height: 76px;
    text-decoration: none;
    overflow: hidden;
    border-radius: 3px;
    font-weight: 600;
    font-size: 1.5rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.btn.reverse:hover {
  background: #fff;
  color: var(--blue);
  outline: 1px solid var(--blue);
  opacity: 1;
}

.btn--border {
  text-align: center;
  color: var(--blue);
  border: 1px solid var(--blue);
  font-weight: bold;
  font-size: 1.4rem;
  border-radius: 3px;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.btn--border.reverse:hover {
  background: var(--blue);
  color: #fff;
  opacity: 1;
}

.btn:disabled {
  background: #ccc;
  outline: none;
  pointer-events: none;
}

.bottom-menu,
.open-nav-btn,
.sp-nav,
.fixed-menu {
  display: none;
}

.table__row {
  display: flex;
  align-items: center;
  padding: 28px 40px;
  border-bottom: solid 1px #eee;
}

.table__row:last-child {
  border-bottom: none;
}

.table__heading {
  font-weight: bold;
  width: 40%;
  margin-right: 3%;
}

.table__content {
  width: 100%;
}

.table__pdf-link {
  text-decoration-line: underline;
}

.table__note {
  padding-left: 40px;
}

.text_link {
  color: var(--red);
  text-decoration: underline;
  word-wrap: break-word;
}

/* header */
header {
  height: 100px;
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 0 40px;
  display: flex;
  align-items: center;
}

.breadcrumb {
  color: #a7a7a7;
  font-size: 1.2rem;
}

.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.header-nav__list {
  margin-left: 40px;
}

.header-nav__link {
  text-align: center;
  font-weight: 400;
  display: block;
}

.header-nav i {
  font-size: 2rem;
  display: inline-block;
}

.fa-envelope {
  color: #a3a3a3;
  position: relative;
}

.notice__badge {
  display: none;
  position: absolute;
  top: -6px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.nav__notice.active .notice__badge {
  display: block;
}

.icon__notice{
  width: 25px;
}

.icon__logout{
  width: 30px;
}

.header-nav__link-text {
  display: block;
  margin-top: -5px;
  font-weight: 500;
}

.header-nav__list .fa-arrow-right-from-bracket {
  color: var(--blue);
}

.header__previous-link {
  display: none;
}

/* sidebar */
.sidebar {
  position: fixed;
  z-index: 2;
  width: 300px;
  height: 100%;
  background: linear-gradient(180deg, #2F509F 0%, #4E87D8 100%);
  box-shadow: 4px 0px 12px rgba(0, 0, 0, 0.05);
  padding: 65px 0;
  overflow-y: scroll;
}

.logo {
  width: 150px;
  margin: 0 auto;
  display: block;
}

/* nav */
.sidebar-nav {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar-nav li{
border-radius: 10px;
}

.sidebar-nav li:hover{
  background-color: #fff;
  transition: 0.3s;
  color: var(--blue);
  }

.nav__link {
  padding: 18px 10px;
  font-size: 1.4rem;
  font-weight: 500;
  vertical-align: middle;
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.nav__icon {
  width: 30px;
  margin-right: 10px;
  vertical-align: middle;
}

.nav__icon_blue{
  display: none;
}

.nav__link:hover {
  color: var(--blue);
}

 .sidebar-nav .active {
  background-color: #fff;
  color: var(--blue);
}

.sidebar-nav .active .nav__link{
  color: var(--blue);
}

.sidebar-nav li:hover .nav__icon_blue,
.sidebar-nav .active .nav__icon_blue{
 display: inline-block;
}

.sidebar-nav li:hover .nav__icon_white,
.sidebar-nav .active .nav__icon_white{
  display: none;
}

.nopc {
  display: none;
}

@media (max-width: 1200px) {
  .sidebar {
    display: none;
  }

  .notice__badge {
    right: -2px;
  }

  header {
    background: #fff;
    width: 100%;
    max-width: 100%;
    padding: 0;
    position: fixed;
    z-index: 2;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.05);
    justify-content: center;
    align-items: center;
  }

  .breadcrumb {
    display: none;
  }

  .header-nav {
    position: fixed;
    top: 37px;
    right: 30px;
  }

  .header-nav i {
    font-size: 2.6rem;
  }

  .header-nav__list {
    margin-left: 0;
    line-height: 1;
  }

  .nav__logout,
  .header-nav__link-text {
    display: none;
  }

  .content {
    padding-left: 0;
  }

  .content__body {
    width: 93%;
    padding: 160px 0 90px;
  }

  .fixed-menu {
    position: fixed;
    width: 100%;
    bottom: 0px;
    z-index: 2;
    height: 18vw;
    max-height: 100px;
    background: #ffffff;
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: end;
  }

  .fixed-menu__lists {
    display: flex;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    align-items: center;
    padding: 0 2%;
  }

  .fixed-menu__lists.fixed-menu__lists__left{
    justify-content: right;
  }

  .fixed-menu__list {
    width: 30%;
  }

  .fixed-menu .nav__link {
    padding: 0;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1;
    color: var(--blue);
  }

  .fixed-menu .nav__link img {
    display: block;
    margin: 0 auto 5px;
    width: auto;
    height: 35px;
  }

  .open-nav-btn {
    height: 22vw;
    width: 55vw;
    max-width: 140px;
    min-width: 65px;
    max-height: 125px;
    background: var(--blue-gradient);
    border: 1px solid #ffffff;
    border-radius: 20px 20px 0px 0px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    margin-bottom: -1px;
  }

  .open-nav-btn:hover,
  .close-nav-btn {
    cursor: pointer;
  }

  .open-nav-btn i {
    font-size: 3rem;
  }

  .open-nav-btn__text {
    font-size: 2.3rem;
    margin-top: -17px;
  }

  .sp-nav {
    position: fixed;
    z-index: 999;
    bottom: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: all 0.6s;
    display: block;
  }

  .sp-nav.panelactive {
    bottom: 0;
  }

  .sp-nav .nav__link {
    text-align: center;
  }

  .sp-nav__head {
    position: relative;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
  }

  .logo-wrap {
    width: 150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
  }

  .sp-nav__notice {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    line-height: 1;
  }

  .sp-nav__notice .fa-envelope {
    font-size: 2.6rem;
  }

  .sp-nav__body {
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
  }

  .sp-nav__lists {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
  }

  .sp-nav__list {
    width: 30%;
    display: block;
    border-radius: 5px;
    margin: 1.66%;
    padding: 30% 0 0;
    position: relative;
    outline: 1px solid #e3e3e3;
    outline-offset: -1px;
  }

  .sp-nav__list:hover {
    transition: 0.3s;
    outline-offset: -1px;
  }

  .sp-nav__list.active {
    outline: 1px solid var(--blue);
  }

  .sp-nav__list-inner {
    width: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }

  .sp-nav__list-text {
    display: block;
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
    margin-top: 10px;
  }

  .sp-nav__list a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .sp-nav__list .nav__icon {
    display: block;
    margin: 0 auto 6px;
    width: auto;
    height: 45px;
  }

  .sp-nav__inner {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sp-nav__logout {
    border: 1px solid #e3e3e3;
    display: block;
    margin-top: 45px;
    text-align: center;
    padding: 20px 0;
    border-radius: 10px;
    font-size: 1.6rem;
  }

  .sp-nav__logout .fa-arrow-right-from-bracket {
    color: var(--blue);
    margin-right: 5px;
  }

  .close-nav-btn {
    height: 22vw;
    width: 24vw;
    max-width: 140px;
    max-height: 125px;
    background: var(--blue-gradient);
    border-radius: 0px 0px 20px 20px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 60px;
  }

  .close-nav-btn i {
    font-size: 3rem;
  }

  body.active {
    height: 100%;
    overflow: hidden;
  }

  .header__previous-link {
    display: block;
    position: fixed;
    top: 38px;
    left: 30px;
  }

  .header__previous-link i {
    font-size: 2.5rem;
    color: #aaa;
  }
}

@media (max-width: 768px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: inline-block !important;
  }

  header {
    height: 70px;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  h4 {
    margin: 0 0 10px;
  }

  .btn {
    font-size: 1.4rem;
    padding: 10px 5px;
  }

  .header-nav {
    top: 23px;
    right: 23px;
  }

  .header-nav i {
    font-size: 2.4rem;
  }

  .content__body {
    padding: 110px 0 90px;
  }

  .box--small {
    width: 100%;
    padding: 20px;
  }

  .box--large {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .mb--large {
    margin-bottom: 40px;
  }

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

  .border {
    margin: 0 -20px;
  }

  .form-group {
    padding: 5px 0 10px;
  }

  .submit-wrap {
    max-width: 100%;
  }

  .sp-nav__list-text {
    margin-top: 7px;
    font-size: 3vw;
    font-size: min(3vw, 14px);
  }

  .open-nav-btn__text {
    font-size: min(4vw, 18px);
    margin-top: -15px;
  }

  .copyright {
    margin-top: 0;
  }

  .fixed-menu {
    height: 70px;
  }

  .fixed-menu__lists {
    width: 95%;
  }

  .fixed-menu__list {
    width: 100%;
  }

  .fixed-menu .nav__link {
    font-size: 1rem;
  }

  .fixed-menu .nav__link img {
    height: 7.5vw;
    max-height: 30px;
  }

  .open-nav-btn {
    height: 85px;
    width: 65vw;
    max-width: 120px;
    border-radius: 6px 6px 0px 0px;
  }

  .open-nav-btn i {
    font-size: 2rem;
  }

  .close-nav-btn {
    border-radius: 0px 0px 6px 6px;
    max-width: 92px;
    max-height: 82px;
    margin-bottom: 40px;
  }

  .sp-nav__notice .fa-envelope {
    font-size: 2.4rem;
  }

  .sp-nav__body {
    width: 95%;
    margin: 40px auto;
  }

  .sp-nav__logout {
    margin-top: 40px;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sp-nav__logout .icon__logout{
    width: 30px;
    margin-right: 10px;
  }

  .sp-nav__list .nav__icon {
    height: 9vw;
    max-height: 35px;
  }

  .close-nav-btn i {
    font-size: 2.4rem;
  }

  .table__row {
    padding: 20px 10px;
  }

  .table__heading {
    font-weight: 500;
  }

  .table__heading,
  .table__content {
    font-size: 1.2rem;
  }

  .header__previous-link {
    display: block;
    position: fixed;
    top: 24px;
    left: 23px;
  }

  .header__previous-link i {
    font-size: 2rem;
  }

  .select-wrap {
    display: block;
  }

  .nosp {
    display: none;
  }

  .nopc {
    display: block;
  }
}

.explanation_txt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px; 
  margin: 20px 0;
}

.explanation_txt .close_woman,
.explanation_txt .balloon_img {
  width: 150px !important;
  max-width: none !important;
  flex-shrink: 0;
}

.explanation_txt .balloon-left {
  position: relative; 
  background: #fff;
  padding: 16px 24px;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  line-height: 1.7; 
  color: #333;
}

.explanation_txt .balloon-left::before,
.explanation_txt .balloon-left::after {
  content: '';
  position: absolute;
  top: 24px;
  border: 10px solid transparent;
}

.explanation_txt .balloon-left::before {
  left: -21px; 
  border-right-color: #e3e3e3; 
}

.explanation_txt .balloon-left::after {
  left: -20px; 
  border-right-color: #fff;
}

@media (max-width: 768px) {
  .explanation_txt {
    flex-direction: column; 
    align-items: center;
    gap: 16px;
  }

  .explanation_txt .balloon_img {
    width: 120px !important;
    margin: 0 auto;
  }

  .explanation_txt .balloon-left::before,
  .explanation_txt .balloon-left::after {
    top: -20px; 
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
  }

  .explanation_txt .balloon-left::before {
    top: -22px; 
    border-bottom-color: #e3e3e3; 
  }

  .explanation_txt .balloon-left::after {
    top: -20px;
    border-bottom-color: #fff; 
  }
}