:root {
  --black: #524E4E;
  --gray: #F5F5F5;
  --white: #ffffff;
  --blue: #004EA2;
  --red: #B10000;
}

/* =========================
   PC↔︎Mobile Switch
========================= */
.pc {
  display: block;
}
.sp {
  display: none;
}
@media (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
/* デフォルトは非表示 */
.br-mid {
  display: none;
}

.bg_black {
  background: var(--black);
}
.bg_gray {
  background: var(--gray);
}
.bg_white {
  background: var(--white);
}
.bg_blue {
  background: var(--blue);
}
.bg_blue-20 {
  background: color-mix(in srgb, var(--blue) 20%, transparent);
}
.bg_blue-50 {
  background: color-mix(in srgb, var(--blue) 50%, transparent);
}

.c_black {
  color: var(--black);
}
.c_white {
  color: var(--white);
}
.c_blue {
  color: var(--blue);
}
.c_blue-20 {
  color: color-mix(in srgb, var(--blue) 20%, transparent);
}
.c_blue-50 {
  color: color-mix(in srgb, var(--blue) 50%, transparent);
}
.c_red {
  color: var(--red);
}

body.show_hamburger {
  overflow: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
}

.top_scroll {
  width: 50px;
  height: 50px;
  transition: all 0.4s;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  top: 85%;
  display: block;
  cursor: pointer;
  z-index: 10;
  right: 25px;
  border: 1px solid var(--blue);
  transition: all 0.4s;
}
/*.top_scroll.hide {
  opacity: 0;
}*/
@media screen and (max-width: 768px) {
  .top_scroll {
    width: 40px;
    height: 40px;
    right: 15px;
  }
}
@media screen and (max-width: 480px) {
  .top_scroll {
    width: 35px;
    height: 35px;
    right: 5px;
    top: 90%;
  }
}

.top_scroll::after {
  position: absolute;
  transition: all 0.4s;
  border-radius: 50%;
  content: "";
  width: 0;
  height: 0;
  background: var(--blue);
  border: 1px solid var(--blue);
  opacity: 0;
  width: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

.top_scroll:hover::after {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.top_scroll .arrow {
  width: 26%;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  transition: all 0.4s;
  z-index: 2;
}
.top_scroll:hover .arrow.arrow_blue {
  opacity: 0;
  width: 0;
}

.top_scroll .arrow.arrow_white {
  opacity: 0;
  width: 0;
}
.top_scroll:hover .arrow.arrow_white {
  opacity: 1;
  width: 26%;
}

.opa {
  transition: all 0.4s;
}

.opa:hover {
  opacity: 0.6;
}

/* テキストリンクスタイル */
a.txt_link {
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
}

/* ホバーアクション（線引き） */
.border_action {
  position: relative;
  padding-bottom: 5px;
}
.border_action::before {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  background: var(--black);
  left: 0;
  right: 0;
  margin: auto;
  bottom: 0;
  opacity: 0;
  transition: all 0.3s;
}
.border_action.white::before {
  background: var(--white);
}
.border_action:hover:before {
  width: 100%;
  opacity: 1;
}

/* common_link */
.common_link {
  width: fit-content;
  transition: all 0.4s;
    margin-left: auto;
}

.common_link .circle {
  width: 50px;
  height: 50px;
  margin-left: 24px;
  border: 1px solid #404F79;
  border-radius: 50%;
  transition: all 0.4s;
  position: relative;
}

.common_link .circle::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  background: var(--blue);
  transition: all 0.4s;
  border-radius: 50%;
  border: 1px solid #404F79;
}

.common_link p {
  transition: all 0.4s;
}
.common_link:hover p {
  opacity: 0.6;
}

.common_link:hover .circle::after {
  width: 100%;
  height: 100%;
}

.common_link .circle .arrow {
  width: 13px;
  height: fit-content;
  transition: all 0.2s;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 2;
}
.common_link:hover .circle .arrow {
  opacity: 0;
  width: 0;
}

.common_link .circle .arrow.arrow_white {
  opacity: 0;
}
.common_link:hover .circle .arrow.arrow_white {
  opacity: 1;
  width: 13px;
}

@media screen and (max-width: 768px) {
  .common_link .circle {
    width: 40px;
    height: 40px;
    margin-left: 15px;
  }
}


/* --- card --- */
.bis-card{
  position: relative;
  padding-bottom: 80px; /* 右下ボタンの逃げ */
}

/* --- CTA circle button --- */
.bis-card__cta{
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* 白い円が広がるやつ */
.bis-card__cta::after{
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  inset: 0;
  margin: auto;
  background: var(--white);
  transition: all 0.4s;
  border-radius: 50%;
  border: 1px solid #404f79; /* 既存に合わせるならそのまま */
}

.bis-card__cta .arrow{
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  transition: all 0.2s;
  width: 13px;  /* 見た目に合わせて調整 */
  height: auto;
}

/* 初期表示：白矢印ON / 青矢印OFF */
.bis-card__cta .arrow_blue{
  opacity: 0;
}
.bis-card__cta .arrow:not(.arrow_blue){
  opacity: 1;
}

/* ホバー：白円が広がって、矢印を青に切替 */
.bis-card:hover .bis-card__cta::after{
  width: 100%;
  height: 100%;
}
.bis-card:hover .bis-card__cta .arrow:not(.arrow_blue){
  opacity: 0;
  width: 0;
}
.bis-card:hover .bis-card__cta .arrow.arrow_blue{
  opacity: 1;
  width: 13px;
}

/* キーボード操作でも同じ見え方に */
.bis-card__cta:focus-visible{
  outline: 3px solid rgba(0,0,0,.25);
  outline-offset: 4px;
}




/* subheading_txt */
.subheading_txt {
  position: relative;
  padding-left: 12px;
}

.subheading_txt::before {
  position: absolute;
  content: "";
  width: 2px;
  height: 80%;
  background: var(--blue);
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.footer_bg{
    background-image: url("../img/common/footer_bg.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* pnavi */
.pnavi {
  margin-top: 90px;
  display: flex;
  justify-content: center;
}

.pnavi .page-numbers {
  font-size: calc(12px + 2 * (100vw - 375px) / 905);
  color: var(--black);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #D3D3D3;
  border-radius: 50%;
  margin: 0px 8px;
}

.pnavi .page-numbers.current {
  color: var(--white);
  background: #7184BD;
}

.pnavi .page-numbers.next,
.pnavi .page-numbers.prev {
  background: unset;
  width: fit-content;
}

.breadcrumb {
  font-size: 14px;
    margin-top: 1em;
    text-align: right;
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb span.current-item {
  opacity: .9;
}
.breadcrumb a,.breadcrumb span.current-item {
    margin-left: 2.5em;
}

