@media (min-width: 1400px) { 
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1400px;
  }
}

@media (min-width: 1500px) { 
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    /* max-width: 1500px; */
    max-width: 100%;
    padding: 0px 100px;
  }
}

.disp_pc { 
  display: block;
}
.disp_sp { 
  display: none;
}
@media (max-width: 767.98px){
  .disp_pc { 
    display: none;
  }
  .disp_sp { 
    display: block;
  }
}

/* ===============================================================================
    index.html
================================================================================== */
/* =========================================
   hero
========================================= */
.rb-hero-split {
  background-image: url(../images/hero.png);
  background-size: cover;
  background-position-y: clamp(15rem,25vw,22rem);
  background-repeat: no-repeat;
  padding-bottom: 10vw;
}

.rb-hero-intro {
  padding-top:5rem!important;
  padding-bottom:5rem!important;
  overflow-x: clip;
}
.rb-hero-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.rb-hero-copy {
    width: 100%;
}
.rb-hero-copy img {
  width: 75%;
}
.rb-hero-photo {
    padding-top: 5vw;
    aspect-ratio: unset;
    box-shadow: none;
}
.rb-hero-copy {
    position: unset;
    filter: unset;
}
.rb-hero-copy h1 {
    font-size: clamp(7rem, 14vw, 12rem);
    opacity: 0.2;
    font-family: Poppins;
    font-weight: 400;
    line-height: 90%;
    text-transform: uppercase;
}
.rb-hero-copy p {
    position: absolute;
    top: clamp(1.5rem, 6vw, 9rem);
    left: clamp(26rem, 43vw, 40rem);
    letter-spacing: 3px;
    font-weight: 500;
    font-size: 1.2rem;
}
.rb-hero-photo img{
    width: 100vw;
    margin-left: calc(50% - 100vw / 2);
}

.rb-hero-intro img {
  height: auto;
  overflow: hidden;
  border-radius: 0px !important;
}

/* 流れる全体 */
.bg-flow {
  position: absolute;
  top: 0;
  left: 0;
  display: flex; /* 横方向に並ぶ */
  width: 500%; /* 2セット分 */
  animation: flow-left 120s linear infinite;
}

/* 画像セット */
.flow-set {
  display: flex; /* 横並び */
  flex-direction: row; /* 横方向 */
  gap: 20px; /* 画像間の横間隔 */
}

/* 画像 */
.flow-item {
  border-radius: 10px;
  object-fit: cover;
}

.hero-mid-message {
  margin-top: 29vw
}
.hero-mid-message h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: 4px;
  line-height: 1.3;
}
.hero-mid-message p {
  font-size: 1rem;
  font-weight: 500;
}

/* 右 → 左アニメーション */
@keyframes flow-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-115.8%); /* 半分ずらして無限ループ */
  }
}

@media (max-width: 767.98px){
  .rb-hero-split {
    background-image: url(../images/hero_sp.png);
    background-position-y: 320px;
  }
  .rb-hero-photo {
      padding-top: 50px;
  }
  .rb-hero-copy{
    width: 100%;
    top: 2.5%;
    z-index: 2;
  }
  .rb-hero-copy p {
    top: 130px;
    left: 138px;
    font-size: 0.86rem;
    letter-spacing:1px;
  }
  .rb-hero-copy img {
    width: 100%;
  }
  .bg-flow {
    animation: flow-left 30s linear infinite;
  }
  .hero-mid-message {
    margin-top: calc(20 * 6vw);
  }
  .hero-subtitle {
    margin-top: 50px;
  }
  #message {
    margin-top:50px;
  }
}
@media (max-width: 1199.98px) {
    .rb-hero-photo {
        max-width: unset;
    }
}

/* =========================================
   message
========================================= */
#message .container {
  background-color: #F2F2F2;
}
#message .message_collapse button {
    font-family: poppins;
    background: #005AC7;
}

/* =========================================
   interview
========================================= */
#interview  {
  background: #005AC7;
}
.rb-intv-text {
  background: white;
  color: #000;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
}
.rb-intv-name {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 10px;
  border-bottom: 2px solid rgb(234 234 234);
  padding: 10px 0;
  min-height:60px;
}
.rb-intv-role {
  font-size: .85rem;
  opacity: 1;
  font-weight: 500;
  margin: 5px 10px 9px;
}
.slick-dots {
  text-align: left;
  bottom: -30px;
  width: auto;
  max-width: calc(100% - 100px);
  right: 70px;
}
.slick-dots li {
  width: 25px;
  margin: 0 2px;
}
.slick-dots li button:before {
    width: 100%;
    height: 1px;
    background: #FFF;
    content: '';
    opacity: 1;
    margin-top: 10px;
}
.slick-dots li.slick-active button:before {
  background: #000 !important;
  height: 2px;
  margin-top: 10px;
  opacity: 1 !important;
}
.slick-arrow {
  top: calc(100% + 20px);
  width: 18px;
  height: 18px;
}
.slick-prev {
  right: 40px;
  left: unset;
}
.slick-next {
  right: 15px;
}
.slick-next:before{
  background: url(../images/arrow-right.svg);
  background-size: 17px 17px;
  background-repeat: no-repeat;
  margin: 0;
}
.slick-prev:before{
  background: url(../images/arrow-left.svg);
  background-size: 17px 17px;
  background-repeat: no-repeat;
  margin: 0;
}
.slick-arrow:before{
  content: "" !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  background-color: #F2F2F2
}
.interviewee-pc {
  display: block;
}

.interviewee-sp {
  display: none;
}

.left-col {
  width: 15%;      /* 最低幅 */
  min-width: 15%;
  white-space: nowrap; /* 改行禁止 */
  font-size: 0.9rem;
  vertical-align:top;
  padding: 5px 0px 5px 5px;
}
.right-col {
  width: 85%;
  font-size: 0.9rem;
  padding: 5px 0px 5px 15px;
}

@media (max-width: 992px) {
  .slick-list {
    padding-right: 25%;
  }
  .slick-dots {
    display: none !important;
  }
  .rb-intv-name {
    font-size: 0.75em;
  }
  .rb-intv-text {
    bottom:0;
  }
  .rb-intv-role {
    font-size: .7rem;
  }
  .interviewee-pc {
    display: none;
  }
  
  .interviewee-sp {
    display: block;
  }
}
@media (max-width: 767px) {
  #interviewList article{
    margin-right: 0px !important;
  }
  #interview-list .flex-column-reverse {
    margin-bottom: 1rem !important;
  }
}

/* =========================================
   about
========================================= */
#about .rb-card .card-img {
  border-radius: unset;
}
#about .rb-card .card-img-overlay{
  font-family: Poppins;
  line-height: 0.5;
}
.rb-link-grid {
  background: #F3F3F3;
}
.rb-link-text {
  font-size: 0.9rem;
  font-weight: 500;
}
@media (max-width: 767px) {
  .rb-link-text {
    font-size: 0.8rem;
  }
  .rb-link-icon {
    margin-left:0rem;
    font-size: 12px;
  }
}

/* =========================================
   company data grid
========================================= */
.cdb-title {
  background: #F3F3F3;
  font-family: Poppins;
  color: #000;
  text-align: start;
  font-size: calc(1.3rem + .6vw);
  font-weight: 500;
  margin: 5px 0 3px;
}
.cdb-title-message {
  color: #A1A1A1;
}
.cdb-title-message-jp {
font-size: 1rem;
line-height: 1.2;
}
.cdb-title small{
  font-size: 0.8rem;
}

.cdb-panel {
  box-shadow: unset;
  gap: 5px;
}

.cdb-sales-meta {
  width: 160px;      /* ← ここが答え */
  flex-shrink: 0;    /* 縮まらないようにする */
}

.panel1 {
  display: grid;
  grid-template-columns: 2fr 4fr 4fr;
}
.panel2 {
  grid-template-columns: 4fr 3fr 3fr;
  grid-template-rows: repeat(2, 1fr);
  grid-template-areas: 'chart . .' 'chart . .';
}
.panel3 {
  /* grid-template-columns: 23% 23% 22% 30%; */
  grid-template-rows: repeat(3, 1fr);
  grid-template-areas: 'chart1 chart2 chart3 item1' 'chart1 chart2 chart3 item2' 'chart1 chart2 chart3 item3';
}
.chart1 {
  grid-area: chart1;
}
.chart2 {
  grid-area: chart2;
}
.chart3 {
  grid-area: chart3;
}

.item1, .item2, .item3 {
  height: 128px;
}
.item1 {
  grid-area: item1;
}
.item2 {
  grid-area: item2;
}
.item3 {
  grid-area: item3;
}
.panel4 {
  grid-template-columns: repeat(5, 1fr);
}
.chart-cell {
  grid-area: chart;
  margin: 0;
  min-width: 360px;
}
.cdb-wrap {
  font-family: Poppins;
  color: #000;
}
.cdb-cell {
  background: #F3F3F3;
  min-height: unset;
  min-width: unset;
  /* min-height: 145px;
  min-width: 370px; */
  border-top: unset;
  margin: 0;
  padding: 22px 18px !important;
}
.cdb-rborder {
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  padding-right: 15px;
 }
 .cdb-bborder {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
 }
.cdb-pill {
  background: unset;
  padding: 0;
  font-weight: 700;
  color: #000;
  font-size: 1rem;
  vertical-align: top;
}
.cdb-pill::before {
  display: inline-block;
  content: "";
  margin-top: 8px;
  margin-right: 5px;
  width: 5px;
  height: 5px;
  vertical-align: top;
  border-radius: 5px;
  background-color: #0062b5;
}
.cdb-big {
    font-size: 1.2rem;
    color: #0155C4;
    text-box: trim-end;
}
.cdb-big em {
    font-size: 4.7rem;
    position: relative;
}
.cdb-mid {
    font-size: 1rem;
    color: #0155C4;
    text-align: end;
    margin: 0;
}
.cdb-mid em {
    font-size: 4.7rem;
    position: relative;
}
.cdb-small {
  font-size: 0.85rem;
  font-weight: 600;
}
.cdb-small em{
    font-size: 1.6rem;
    line-height: 1;
    color: #0155C4;
    font-style: normal;
    font-weight: 500;
}
.cdb-small span{
    color: #0155C4;
}
.cdb-note {
    font-weight: 500;
}
.cdb-footnotes {
    color: #000;
    opacity: 1;
    display: flex;
    gap: 0;
    list-style: none;
    margin: 5px 5px 20px;
    padding: 0;
    font-size: 0.8rem;
    justify-content: flex-end;
}
.scroll-arrow {
  display: none;
  top: 0px;
  right: 0px;
  width: 20px;
  height: 100%;
  align-items: center;     /* 上下中央 */
  justify-content: center; /* 左右中央（不要なら消してOK） */
  background-color: rgb(13 110 253 / 44%) !important;
  margin-right: 10px;
}
.chart {
    width: 170px;
}
.cdb-line {
    font-size: 0.8rem;
    font-weight: 600;
    color: #005AC7;
    margin: 4px 0;
}
.cdb-line i {
  display: inline-block;
  width: 12px;
  height: 3px;
  margin: 0 10px;
  vertical-align: middle;
}
.line-color-1 i {
  background: #005AC7;
}
.line-color-1-1 i {
  background: #3469da;
}
.line-color-2 i {
  background: #40A2E3;
}
.line-color-3 i {
  background: #82C7F6;
}
.line-color-4 i {
  background: #555555;
}
.line-color-5 i {
  background: #DADADA;
}
/* .dot-color-1 i {
    background-color: #0049AA;
}
.dot-color-2 i {
    background-color: #0969DA;
}
.dot-color-3 i {
    background-color: #218BFF;
}
.dot-color-4 i {
    background-color: #61B3FF;
}
.dot-color-5 i {
    background-color: #97D3FF;
} */
.dli-caret-circle-fill-right {
  display: inline-block;
  vertical-align: middle;
  color: #ffffff;
  line-height: 1;
  position: relative;
  width: 0.8em;
  height: 0.8em;
  border: 0.075em solid currentColor;
  background: currentColor;
  border-radius: 50%;
  box-sizing: content-box;
  animation: blink 5s infinite;
}

.dli-caret-circle-fill-right::before {
  content: '';
  color: rgb(0, 5, 255);
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.18em 0.31177em;
  border-left-color: currentColor;
  border-right: 0;
  transform: translateX(15%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.slash {
  font-size: 2.5rem;
}

@media (max-width: 767px) {
  .slash {
    margin: 0 0px 0px 20px;
    font-size: 2rem;
  }
}

@media (max-width: 1200px) {
  .cdb-panel {
    overflow-x: auto;   /* 横スクロール有効 */
    overflow-y: hidden; /* 縦スクロールは抑制 */
    white-space: nowrap; /* 子要素を折り返さず横に並べる */
    -webkit-overflow-scrolling: touch; /* iOSでスムーズスクロール */
    margin: 0;
  }

  .cdb-panel .cdb-cell {
    display: inline-block; /* 横並びにする */
    vertical-align: top;
    white-space: normal;   /* 内部テキストは折り返しOK */
  }
  .scroll-arrow {
    display: flex;
  }
}

/* =========================================
   environment
========================================= */
#environment {
  background-image: url(../images/env_background.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.rb-env-links.is-tight {
  --env-height: clamp(100px, 28vw, 250px);
  padding: 10px;
}

.rb-env-pill {
    align-items: center;
    justify-content: start;
    background: unset;
    color: #fff;
    padding: 5px 0;
    box-shadow: unset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    margin: 8px;
    width: unset;
}
.rb-env-text {
    font-weight: 500;
    font-size: 0.9rem;
}
.slick-track {
  display: flex;
  align-items: stretch;
}
.slick-slide {
  height: auto;
}

/* =========================================
   news
========================================= */
.news-list {
  border-bottom: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
  border-color: rgba(0, 0, 0, .06);
}

/* ===============================================================================
    interview.html
================================================================================== */
#interview-list {
  background: #F2F8FF;
}
.rb-sec-sub-c {
  font-size: clamp(0.9rem, 0.9vw, 1rem);
  color: #0057C7;
  font-weight: 500;
}
#interview-list {
  counter-reset: number 0;
}
.interview-title {
  color: #000;
  font-size: clamp(1.7rem, 2.5vw, 2rem);
  letter-spacing:2px;
}
.interview-q1::before, .interview-q2::before, .interview-q3::before, .interview-q4::before, .interview-q5::before {
  counter-increment: number 1;
  content: "Q" counter(number);
  background: #009BF0;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  margin-right: 15px;
  padding: 2px 10px 4px;
  border-radius: 10px;
  font-weight: 300;
  font-size: 1.1rem;
}

/* ===============================================================================
    environment.html
================================================================================== */
#environment-list {
    background: #F2F8FF;
}
#environment-list2 {
    background: #40B3FF;
}
#environment-list3 {
    background: #F2F8FF;
}
#environment-list4 {
    background: #F2F8FF;
}
#environment-list5 {
    background: #F2F8FF;
}
#career {
  counter-reset: number 0;
}
.career-model::before {
  counter-increment: number 1;
  content: "Case 0" counter(number);
  background: #40B3FF;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  margin-right: 15px;
  padding: 3px 15px 5px;
  border-radius: 10px;
  font-weight: 300;
}
.career-model a {
  cursor: pointer;
}
.env-item {
    background: #F2F2F2;
}

#benefit {
  counter-reset: number 0;
}
.benefit-num {
  font-weight: 600;
  font-size: 0.9rem;
}
.benefit-num::before {
  counter-increment: number 1;
  content: "0" counter(number);
  font-family: Outfit;
  color: #0046FF;
  margin-right: 5px;
}
.benefit-collapse-btn {
  background: #40B3FF;
  border: none;
  color: #FFFFFF;
  font-size: 1.3rem;
  text-align: start;
  position: relative;
}
.benefit-collapse-btn[aria-expanded="true"]:after {
    content: url(../images/environment/benefit_arrow.svg);
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1.5rem;
}
.benefit-collapse-btn[aria-expanded="false"]:after {
    content: url(../images/environment/benefit_arrow.svg);
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1.8rem;
    rotate: 180deg;
    top: 1.2rem;
}
.benefit-collapse-small {
  font-size: 0.9rem;
}
.benefit-collapse-small[aria-expanded="false"]:after {
    top: 0.5rem;
}
.benefit-contents::before {
    display: inline-block;
    content: "";
    margin-top: 8px;
    margin-right: 5px;
    width: 6px;
    height: 6px;
    vertical-align: top;
    border-radius: 5px;
    background-color: #FF8040;
}
.benefit-title {
  font-size: 1.18rem;
  color: #0155C4;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 2px;
}
.benefit-text {
  font-size: 1rem;
}
.training-title {
  font-family: poppins, sans-serif;
}
.title2 {
  font-size: clamp(1.4rem, 1.2vw + 1.2rem, 1.5rem);
}
.curr-title {
  color: #005AC7;
  font-weight: 600;
  font-size: 0.9rem;
}
.curr-subtitle {
  font-weight: 600;
  font-size: 0.9rem;
}
.curr-text {
  font-size: 0.8rem;
}
.rb-feature-schedule {
  background: #EAF5FF;
  font-size: 1rem;
}
.rb-feature-schedule b {
  margin-right: 1rem;
}
.rb-feature-career {
background: #F2F2F2;
}
.rb-feature-career-arrow {
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 15px solid #424A53;
  width: 0;
  height: 0;
  margin: 10px;
  margin-left: calc(50% - 30px);
}


/* ==============================================================================
    recruit.html
================================================================================== */
#recruit-list {
  background: #F2F8FF;
}
#job-list {
  background: #40B3FF;
} 

.rec-item {
    background: #F2F2F2;
}
.rec-link {
  color: #000000;
  border-left: 1px solid #828282;
  font-weight: 500;
}
.job-list-head {
  color: #FFFFFF;
  font-weight: 600;
  background: #229BEC;
  text-align: center;
  padding: 5px 0;
  border-radius: 40px;
}
.job-list-body {
  color: #000000;
  background: #FFFFFF;
  padding: 20px;
  cursor: pointer;
}
.rb-sec-sub-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 2;
  letter-spacing: .02em;
  text-align: center;
}
.rb-sec-sub-text {
  font-size: 1rem;
  line-height: 2;
  letter-spacing: .02em;
  text-align: center;
}
.flow-card {
  background: #F2F2F2;
  font-size: 0.8rem;
}
#flow {
  counter-reset: number 0;
}
.flow-num::before {
    counter-increment: number 1;
    content: "Step 0" counter(number);
    background: #40B3FF;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    margin-right: 15px;
    padding: 3px 15px 5px;
    border-radius: 10px;
    font-weight: 300;
    font-size: 1.1rem;
}
.ideal-item {
    background: #FFFFFF;
    color: #000000;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 10px;
    margin-left: 12px;
    margin-bottom: 12px;
}
.ideal-item img {
  width:35%;
  margin-right: 5px;
}
#faq {
  counter-reset: number 0;
}
.faq-collapse-btn::before {
    counter-increment: number 1;
    content: "Q" counter(number);
    background: #40B3FF;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    margin-right: 15px;
    padding: 2px 17px;
    border-radius: 15px;
    font-weight: 100;
    font-size: 1rem;
}
.faq-collapse-btn {
  background: #F2F2F2;
  border: none;
  color: #000000;
  font-size: 0.9rem;
  text-align: start;
  position: relative;
}
.faq-collapse-btn[aria-expanded="true"]:after {
    content: url(../images/environment/benefit_arrow.svg);
    filter: invert(100%);
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
}
.faq-collapse-btn[aria-expanded="false"]:after {
    content: url(../images/environment/benefit_arrow.svg);
    filter: invert(100%);
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1.8rem;
    rotate: 180deg;
    top: 0.5rem;
}
@media (max-width: 992px) {
  .rec-link {
    font-size: 0.9rem;
  }
  .rec-link-start {
    border-left: none;
  }
  .row .col-12:nth-child(even) .job-list-body {
    margin-right: unset;
  }
  .row .col-12:nth-child(odd) .job-list-body {
    margin-left: unset;
  }
  .ideal-item img {
    width:20%;
    margin-right: 5px;
  }
}

/* =========================================
    entry form
========================================= */
#entry-list {
  background: #F2F8FF;
}
.required::after {
    content: "必須";
    color: #FFFFFF;
    background: #F24C3D;
    font-size: 0.65rem;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 20px;
}
.btn-entry {
  width: 200px;
  padding: 12px 20px;
  background: #0155C4;
  color: #FFFFFF;
  border-radius: 25px;
  border: none;
}
.btn-entry:hover {
  background: #2466bb;
  border: none;
}
.text-complete {
  max-width: 600px;
}
.form-select, .form-control {
  border-radius: 50px;
}

/* ===============================================================================
    news.html
================================================================================== */
#news-list {
  background: #F2F8FF;
}
#news-list-container {
  margin-bottom: 0;
  background: #FFFFFF;
}
#news-list-container li {
  display: none;
  padding: 20px 0;
  border-bottom: 1px solid #AFB8C1;
}
#news-list-container li.on {
    display: block;
}
.pagination{
  background: #FFFFFF;
}
.item-date {
  margin: 0;
  color: #005AC7;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
}
.item-title {
  margin: 0;
  color: #000000;
  text-decoration: none;
}
.pagination .number > a.active {
  background-color: #FFFFFF;
  color: #0969DA;
  border: 1px solid #61B3FF;
  border-radius: 30px;
  padding: 15px;
}
.pagination {
  width: 100%;
  margin: 0 auto 50px;
  display: flex;
  align-items: center;
  justify-content:center;
  gap: 5px;
}
.page-link {
  border: unset !important;
  background: unset !important;
  font-size: 0.8rem;
  font-weight: 500;
}
.active>.page-link, .page-link.active {
  color: #0d6efd !important;
  border: 1px solid #0d6efd !important;
  border-radius: 100px !important;
  padding: 15px;
}
.pagination .number {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 5px;
}
.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0 20px;
  color: #000;
}
#news-year-list-container {
  margin-bottom: 20px;
  list-style: none;
}
#news-year-list-container li {
  text-align: center;
  padding: 20px 0;
  border-bottom: 2px solid #FFFFFF;
}
.item-link {
  font-size: 0.95rem;
  color: #001B34;
  text-decoration: none;
}
@media (max-width: 767.98px){
  #news-list-container {
    background: unset;
  }
  .pagination{
    background: unset;
  }
  #breadcrumb .news-title{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #news-year-list-container {
    padding-left:0px;
  }
  #news-year-list-container li {
    text-align: start;
    border-bottom: 1px solid #AFB8C1;
    flex-shrink: 0;
    padding: 10px 0px;
  }
}

/* ==============================================================================
    news-detail.html
================================================================================== */
.news-text img{
  max-width: 100%;
  height: auto;
  margin: 30px 0;
}

/* ==============================================================================
    privacy.html
================================================================================== */
#privacy-list {
    background: #F2F8FF;
}

/* ===============================================================================
    共通スタイル
================================================================================== */
/* =========================================
   header
========================================= */
.site-header {
  background: rgba(255, 255, 255, 0.8);
}
.navbar-brand {
  height: 100%;
  padding-top: 18px;
}
#breadcrumb {
  overflow: hidden;
  word-break: keep-all;
}
#breadcrumb span {
  font-size: 0.9rem;
}
#breadcrumb span:not(.material-symbols-outlined) {
  font-size: 0.7rem;
}
header .navbar-nav .btn {
    font-weight: 500;
}
.entry-item {
    margin-left: 1rem;
}
.entry-btn {
    background: #005AC7;
    font-size: 0.8rem;
    border-radius: 30px;
}
.logo-img {
  width: 340px;
}
.logo-img2 {
  width: 180px;
}
@media (min-width: 992px) {
  #rbNav {
    height: 100%;
  }
  .navbar-nav {
    height: 100%;
  }
}
@media (max-width: 992px) {
  .nav-item {
    background: #FFFFFF;
  }
  header .navbar-nav .nav-link:hover, header .navbar-nav .nav-link:focus, header .navbar-nav .nav-link.active {
    background-color: rgb(13, 110, 253) !important;
    color: #fff;
    cursor: pointer;
  }
  .navbar-toggler, .navbar-toggler:focus {
    border: unset;
    box-shadow: unset;
  }
}

@media (max-width: 767.98px){
  .logo-img {
    width: 210px;
  }
}

/* =========================================
   recruit
========================================= */
#recruit  {
  background: linear-gradient(90deg, #005AC7 0%, #005AC7 46%, #F3F3F3 46%, #F3F3F3 100%);
}
#recruit2  {
  background: linear-gradient(90deg, #005AC7 0%, #005AC7 46%, #F3F3F3 46%, #F3F3F3 100%);
}
.rb-rec-icon {
    font-size: 20px;
    color: #0B67E8;
    transform: translateY(1px);
}
.rb-rec-icon2 {
    font-size: 20px;
    color: #FFFFFF;
    transform: translateY(1px);
}

.entry-btn i {
  text-decoration: none;
}

@media (max-width: 991.98px) {
  #recruit {
    background: linear-gradient(180deg, #005AC7 0%, #005AC7 45%, #F3F3F3 45%, #F3F3F3 100%);
  }
  #recruit2 {
    background: linear-gradient(180deg, #005AC7 0%, #005AC7 40%, #F3F3F3 40%, #F3F3F3 100%);
  }
}
.rb-recruit {
  background: unset;
  padding: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  margin: 20px 8px 30px 0px;
}
.rb-recruit:hover{
  text-decoration: none;
}
.recruit-position {
  width: 57.5%;
  padding-right:15px;
}
.dots-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 40px;
  position: relative;
}
.dots-icon::before {
  background: url(../images/dots.png);
  content: "";
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: -40px;
  top: 0;
}
@media (max-width: 1200px) {
  #recruit .card .flex-md-row {
      flex-direction: column!important;
  }
}
@media (max-width: 767px) {
  .recruit-position {
    width: 100%;
    padding-right:0px;
  }
}
@media (max-width: 700px) {
  .entry-link2 {
    width: 100%;
  }
}

/* =========================================
   footer
========================================= */
.rb-footer {
    background: #001B34;
}
.footer-menu ul{
  padding-left:0px;
}
.rb-footer-pill {
    display: flex;
    align-items: center;
    color: #fff;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    width: 25%;
    min-width: 150px;
}
.rb-footer-pill:hover {
    text-decoration: none;
}
.footer-menu li{
  list-style: none; /* デフォルトのマーカーを消す */
  padding: 5px 0px 5px 0px;
  margin-left: 2rem;   /* 必要に応じて */
  display: inline;
  font-size: 1rem;
}
@media (max-width: 767px) {
  .footer-menu ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    grid-template-rows: repeat(2, auto);   /* 2行 */
    row-gap: 8px;
    column-gap: 10px;
    justify-items: center; /* 中央寄せ */
  }
  .footer-menu li{
    margin-left: 0rem;   /* 必要に応じて */
  }

  .footer-menu li:nth-child(4),
  .footer-menu li:nth-child(5) {
    grid-column: span 1;
  }

  /* 4番目以降は2段目に */
  .footer-menu li:nth-child(4) {
    grid-column-start: 2; /* 4番目を真ん中寄せに */
  }
}

/* =========================================
   global
========================================= */
.rb-sec-title {
font-family: poppins, sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
}
.rb-sec-title2 {
    font-family: poppins, sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
}
.rb-sec-sub {
    font-weight: 500;
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    letter-spacing:1px;
}
.rb-sec-sub2 {
    font-weight: 500;
    font-size: 1.2rem;
}
.link-btn {
  font-size: 1.2rem;
  font-family: Poppins;
  border-radius: 20px;
  padding: 1px;
  background: #FFFFFF;
}
.link-btn-small {
  font-size: 0.9rem;
  border: 1px solid #E3E3E3;
}
.link-btn::before {
    display: inline-block;
    content: "";
    margin-top: 8px;
    margin-right: 5px;
    width: 6px;
    height: 6px;
    vertical-align: top;
    border-radius: 5px;
    background-color: #0062b5;
}
.link-btn span{
  font-size: 0.8rem;
}
.link-btn-small span{
  font-size: 0.7rem;
}
@media (max-width: 991.98px) {
  .pt-header {
      padding-top: 80px;
  }
  .rb-link-list {
    font-size: 0.8rem;
  }
}
.title-blue {
  color: #005AC7;
}
.title-blue2 {
  color: #40B3FF;
}
.title-bg-blue {
  background: #005AC7;
}

/* =========================================
   modal
========================================= */
.rb-feature-grid {
  display: flex;
}
.rb-feature-left,
.rb-feature-right {
  width: 50%;
}

.rb-glass-backdrop {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rb-glass-modal, .rb-glass-modal-btn {
  width: min(1040px, 90vw);
}
.rb-feature-right {
  --rb-feature-img-ratio: 4/3;
}
.entry-link {
  display: inline-block;
  padding: 34px 42px;
  color: rgb(255, 255, 255);
  background: #0155C4;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 18px;
}

@media (max-width: 992px) {
  .rb-feature-right {
    --rb-feature-img-ratio: unset;
  }
}

@media (max-width: 767px) {
  .rb-feature-left,
  .rb-feature-right {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .rb-feature-grid {
    grid-template-columns:1fr;
    display: flex;
    flex-direction: column-reverse;
  }
  .rb-feature-right {
    --rb-feature-img-ratio: unset;
  }
  .rb-feature-right img{ height:320px; }
}

.custom-scroll-margin {
  scroll-margin-top: 70px; /* 固定ヘッダーの高さなどを指定 */
}

.manager-message {
  max-width: 90%;
  margin: auto;
}

.manager-message  p {
  line-height: 1.6;
}

.sub-title-message {
  font-size: 1rem;
}

.rb-intv-media {
  min-height: 280px;
}

/* タブレット小〜中（768px〜700px は矛盾するので整理） */
/* 例：768px〜1024px を 400px にしたい場合 */
@media (min-width: 768px) and (max-width: 1024px) {
  .rb-intv-media {
    min-height: 400px;
  }
  .rb-env-row {
    padding: 0 10%;
  }
}

/* 1400px以上 */
@media (min-width: 1400px) {
  .rb-intv-media {
    min-height: 450px;
  }
  .rb-env-row {
    padding: 0 10%;
  }
}


.rb-intv-media img {
  aspect-ratio:4/5 !important;
}

.rb-card {
  position: relative;
}

/* 画像枠が高さを持つ */
.rb-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 24 / 10;
  overflow: hidden;
}

/* 画像は枠にフィットさせるだけ */
.rb-card-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 36, 131, 0.85) 0%,
    rgba(0, 36, 131, 0.6) 30%,
    rgba(0, 36, 131, 0.25) 55%,
    rgba(0, 36, 131, 0) 75%
  );
  pointer-events: none;
}

.interview-nav-wrapper {
  height: 100%;
}

.interview-nav {
  top: 80px;
  background-color: #CEDFF3;
  padding: 25px;
  font-size: 0.9rem;
  font-weight:600;
  border-radius:10px
}

.interview-nav span{
  padding-right: 10px;
  color: #000;
}

.interview-nav li {
  margin-bottom: 10px;
  padding: 6px 0;
}

.interview-nav li:hover {
  color: #005AC7;
}
.interview-nav li:hover span {
  color: #005AC7;
}

.interview-nav a {
  color: #333;
  text-decoration: none;
  display: block;
}

.interview-nav a:hover {
  text-decoration: underline;
}

.interview-q1, .interview-q2, .interview-q3, .interview-q4, .interview-q5 {
  scroll-margin-top: 100px;
}

.view-more-btn {
  font-family: poppins;
  background: #005AC7;
}

@media (min-width: 992px) { /* PC（lg以上） */
  .insurance-text {
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 15px;
  }
}