a {
    word-wrap: break-word;
    color: rgb(0, 20, 120);
}

h5 {
    font-size: 1.2em;
}

.caption {
    color: #333333; /* Dark gray for light backgrounds */
    font-weight: 400; /* Regular weight for balanced visibility */
    font-size: 0.9em; /* Slightly smaller than the main text */
    text-align: center; /* Center-aligned, often suitable for captions */
}

center {
    margin-top: 10px; /* Space between the image and the caption */
}

#hero {
    width: 100%;
    min-height: 360px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e69de+0,3690f0+50,54a3ee+50,6db3f2+100 */
    background: rgb(30, 105, 222);
    /* Old browsers */
    background: -moz-linear-gradient(-65deg, rgba(30, 105, 222, 1) 0%, rgba(54, 144, 240, 1) 50%, rgba(84, 163, 238, 1) 50%, rgba(109, 179, 242, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(-65deg, rgba(30, 105, 222, 1) 0%, rgba(54, 144, 240, 1) 50%, rgba(84, 163, 238, 1) 50%, rgba(109, 179, 242, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(115deg, rgba(30, 105, 222, 1) 0%, rgba(54, 144, 240, 1) 50%, rgba(84, 163, 238, 1) 50%, rgba(109, 179, 242, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e69de', endColorstr='#6db3f2', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}

#hero .hero-padding {
    padding: 5em 0 !important;
}

#hero h3 {
    padding: .5em 0;
    opacity: .8;
}

#hero .image {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 35px rgba(50, 50, 93, 0.1), 0 3px 15px rgba(0, 0, 0, 0.07);
    padding: 1.2em 0.4em;
    position: relative;
}

#hero p {
    padding-bottom: 1.2em;
}

#hero a.btn {
    border: none;
    text-shadow: none;
    font-size: 14px;
    line-height: 20px;
    padding: 8px 50px 8px 30px;
}

/*match styling to home page button*/
.casestudy {
    margin-top: 2%;
    margin-bottom: 5%;
}

.py-4 {
    padding-top: 4em;
}
.casestudy p {
    line-height: 2em;
    margin-top: 2rem;
    margin-bottom: 1.6rem;
    font-size: 1.3rem;
  }

  .casestudy li {
    line-height: 2.25em!important;
    font-size: 1.3rem;
  }

.casestudy h1 {
    margin: 1em 0 1em 0;
    font-weight: 700;
    margin-top: 15px;
    max-width: 768px;
    line-height: 1.1;
}

.casestudy h2 {
    margin: 1.5em 0 .5em 0;
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
}

.casestudy h3 {
    margin: 1.5em 0 .5em 0;
    font-weight: 500;
}

.casestudy ul {
    margin: 10px;
    margin-bottom: 20px;
}

.casestudy ul li {
    margin-left: 25px;
    line-height: 1.7em;
}

.casestudy ol li {
    line-height: 1.7em;
    margin-bottom: .7em;
}

.casestudy hr {
    margin: 3em 0 2em 0;
}

.swiper-pagination .primaryOrange {
    background: #fb9218;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fb9218;
    opacity: 1;
}

.swiper-pagination-bullet {
    background: #fb9218;
}

.partner-solution p {
    line-height: 2em;
    margin-top: 2rem;
    margin-bottom: 2.6rem;
    font-size: 1.3rem;
  }

.partner-solution h1 {
    font-weight: 700;
    margin-top: 15px;
    max-width: 768px;
    line-height: 1.1;
  }
  .partner-solution h2 {
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    color: #231e20;
  }
  .partner-solution h3 {
    font-size: 22px;
    color: #231e20;
    font-weight: 500;
  }
  .partner-solution h4 {
    font-weight: 700;
    color: #231e20;
    font-size: 18px;
    line-height: 26px;
  }

/* Fix blockquotes from old case studies that use h3 and h4; inherit <blockquote> style */
/*.casestudy blockquote h2{ color:#00A0FF; margin: .5em 0; font-size: 1.8em;}*/
.casestudy blockquote {
    padding: 1.5em;
    display: inline-block;
    line-height: 26px;
}

.casestudy blockquote h2,
.casestudy blockquote h3 {
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin-bottom: 0;
    color: inherit;
}

.casestudy blockquote h2:after,
.casestudy blockquote h3:after {
    height: 10px;
    display: block;
    content: " ";
}

.casestudy blockquote h4 {
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    margin-bottom: 0;
}

.casestudy .content blockquote br {
    height: 10px;
    display: block;
    content: " ";
}

.casestudy .highlights {
    min-height: 180px;
    margin-bottom: 3em;
    border-bottom: 1px solid gainsboro;
}

.casestudy .highlights {
    display: flex;
}

.casestudy .highlights div {
    list-style: none;
    display: inline-block;
    padding: 0 2em 2em;
    flex: 1 1 0;
}

.casestudy .highlights li img {
    padding: 1em .6em;
}

.casestudy .highlights li img {
    height: 120px;
    width: 120px;
    margin: 0 auto;
    display: block;
    margin-bottom: 1.5em;
}

.casestudy .sidebar {
    width: 25%;
    margin-right: 5%;
    margin-bottom: 50px;
    background: #ebe7e770;
    padding: 30px 30px 50px;
    float: left;
    text-align: left;
    z-index: -1;
    display: inline-block;
}

.casestudy .sidebar ul {
    padding: none;
}

.casestudy .sidebar li {
    list-style: none;
    margin: 0px;
}

.casestudy .sidebar h5 {
    margin-bottom: 0px;
    font-size:0.9em;
}

.casestudy .sidebar p {
    margin-bottom: 0px;
    font-size:0.8em;
}

.casestudy .sidebar a {
    margin-bottom: 0px;
    font-size:0.8em;
}

.casestudy .sidebar div {
    margin-bottom: 1em;
}

.casestudy .content {
    display: inline-block;
    width: 70%;
}

.get-connected {
        margin-top: 0 !important;
}

.casestudy .content h2:first-of-type {
    margin-top: .5em;
}

/* Style for mobile */
@media screen and (max-width:640px) {
    div.full {
        width: auto;
    }

    .casestudy .highlights {
        display: inline-block;
    }

    .casestudy .sidebar {
        display: none;
    }

    .casestudy .content {
        width: 100%;
    }

    .get-connected {
        margin-top: 0 !important;
    }

    #hero .image {
        max-width: 1000%;
        margin: 0 auto 4em;
    }

}

@media screen and (max-width: 979px) {
    #hero .hero-padding {
        padding: 2em 0 !important;
    }

    #hero .image {
        max-width: 60%;
        margin: 0 auto 2em;
    }

    .mobilecenter {
        display: flex;
        justify-content: center;
        min-width: 245px;
    }
}

@media screen and (min-width: 980px) {
    .casestudy #sidebar {
        margin-left: -10%;
    }
}

/* パンくずリストのスタイル */
.breadcrumbs {
  padding: 1rem 0;
  background: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumbs .container {
  padding: 0 15px;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumbs p {
  margin: 0;
  font-size: 14px;
  color: #718096;
}

.breadcrumbs a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 0 0.5em;
}

.breadcrumbs a:first-child {
  padding-left: 0;
}

.breadcrumbs a:hover {
  color: #0b59ce;
}

/* 矢印のスタイル改善 */
.breadcrumbs a + a::before {
  content: '/';
  position: absolute;
  left: -4px;
  color: #cbd5e0;
}

/* 現在のページ */
.breadcrumbs a.selected {
  color: #718096;
  pointer-events: none;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 0.8rem 0;
  }

  .breadcrumbs p {
    font-size: 13px;
  }
}
