/* Page ID: 8738 rev.20260807 */

:root {
    --edi-primary: #1941b4;
    --edi-secondary: #666;
    --edi-primary-light: #e9effa;
    --edi-primary-dark: #0f276c;
    --edi-secondary-dark: #666;
    --edi-border: #d7deeb;
    --edi-accent: #1941b4;
}

body .main {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(18px, 2vw, 1.8rem);
    line-height: 3rem;
}

.main h2,
.main .h2 {
    margin: 30px 0px 30px -30px;
    background: transparent;
    border-left: solid 30px var(--edi-primary);

    font-size: 30px;
    font-size: 3rem;
}

@media print,
screen and (min-width: 992px) {

    .main h2,
    .main .h2 {
        font-size: 40px;
        font-size: 4rem;
    }
}

.main h2.text-white,
.main .h2.text-white {
    border-left: solid 30px #fff;
}

.main h3 {
    font-weight: bold;
    color: var(--edi-primary-dark);
    border-bottom: 5px double var(--edi-primary-dark);
    width: 100%;
}

@media print,
screen and (min-width: 960px) {
    .main h3 {
        font-size: 20px;
        font-size: 2rem;
    }
}

.main h3.text-white {
    color: #fff;
    border-bottom: 5px double #fff;
}

.main ol,
.main ul {
    padding: 0;
    position: relative;
}

.main ul>li {
    line-height: 1.5;
    padding: 0 0.5em 0 2em;
    list-style-type: none !important;
}

.main ul>li:before {
    font-family: "Material Symbols Outlined";
    content: "\e92f";
    position: absolute;
    left: 0.5em;
    color: var(--edi-secondary)
}

.main ul>li ul>li:before {
    font-family: "Material Symbols Outlined";
    content: "\f81c";
    position: absolute;
    left: 0.5em;
    color: var(--edi-secondary);
}

.carousel.custom .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

/*** Hero ***/
.hero .carousel-inner .carousel-item.active>img {
    max-height: 20vh;
    object-fit: cover;
}

.hero .carousel-inner .carousel-item.active>img {
    min-height: 200px;
}

@media print,
screen and (max-width: 960px) {
    .hero .carousel-inner .carousel-item.active>img {
        min-height: 250px;
    }
}

/*** CTA ***/
.cta .carousel-inner .carousel-item.active>img {
    max-height: 200px;
    object-fit: cover;
}

@media print,
screen and (max-width: 960px) {
    .cta .carousel-inner .carousel-item.active>img {
        min-height: 200px;
    }
}

.cta .carousel-inner .carousel-item.active a.btn {
    border-radius: 9999px;
    display: grid;
    height: 100%;
    place-content: center;
    position: relative;
    width: 100%;
    z-index: 0;
    background-color: #fff;
    color: #f30;
    outline: 2px solid #f60;
}

.cta .carousel-inner .carousel-item.active a.btn span {
    font-size: 3.5vw;
    padding: 6vw;
    text-decoration: none;
}

.cta .carousel-inner .carousel-item.active a.btn:after {
    background-image: linear-gradient(90deg, #ff6204 1%, #ffc12c 50%, #ffc12c 51%, #ff6204);
    background-size: 200%;
    border-radius: 9999px;
    box-shadow: 0 3px 10px 0 #0003;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: .3s;
    width: 100%;
    z-index: -1
}

@media (any-hover: hover) {
    .cta .carousel-inner .carousel-item.active a.btn:hover {
        color: #fff;
        outline: 0;
    }

    .cta .carousel-inner .carousel-item.active a.btn:hover:after {
        opacity: 1;
    }
}

@media (any-hover: none) {
    .cta .carousel-inner .carousel-item.active a.btn:active {
        color: #fff;
        outline: 0;
    }

    .cta .carousel-inner .carousel-item.active a.btn:active:after {
        opacity: 1;
    }
}

.cta .carousel-inner .carousel-item.active a.btn {
    height: auto;
    max-width: 200px;
    min-width: 200px;
}

.cta .carousel-inner .carousel-item.active a.btn span {
    font-size: 1.8rem;
    padding: 20px 20px;
}

.card {
    background: #fff;
    border: 1px solid var(--edi-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .18);
}

.segment .card h3.title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: large;
    color: var(--edi-primary-dark);
    border: 0;
}

.segment div a.btn,
.solution div a.btn {
    background: #fff;
    color: var(--edi-accent);
    outline: 2px solid var(--edi-accent);
    display: inline-grid;
    place-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: initial;
    border: 0;
    position: relative;
}

.segment div a.btn:hover,
.solution div a.btn:hover {
    background: var(--edi-accent);
    color: #fff;
    outline: 0;
}

.segment div a.btn.fill {
    background: var(--edi-accent);
    color: #fff;
    font-size: small;
}

.segment div a.btn.fill:hover {
    background: #fff;
    color: var(--edi-accent);
    outline: 2px solid var(--edi-accent);
    ;
}

.advantage-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.advantage-title h3 {
    margin: 0;
}

.advantage-title~p {
    margin-left: 35px;
}

.functions table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.functions table caption {
    text-align: left;
}

.functions thead {
    border-bottom: double 3px var(--edi-primary-dark);
}

.functions table th,
.functions table td {
    border: 1px solid var(--edi-primary-dark);
    padding: 8px;
    text-align: left;
}

.before-after .triangle {
    background-color: var(--edi-primary-dark);
    width: 16px;
    height: 20px;
    top: 0;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    align-self: center;
    margin: auto auto auto 15px;
}

.before-after .ba {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 16px;
    align-items: stretch
}

.before-after .ba .box {
    position: relative;
    background: #fff;
    border: 1px solid var(--edi-border);
    border-radius: 12px;
    padding: 20px
}

.before-after .ba .box .tag {
    position: absolute;
    left: 20px;
    top: -20px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    padding: 4px 10px;
    /* border-radius: 999px */
}

.before-after .ba .box .tag.before {
    background: #b93b3b
}

.before-after .ba .box .tag.after {
    background: #2b8a60
}

@media print,
screen and (max-width: 990px) {

    .before-after .triangle {
        width: 20px;
        height: 16px;
        clip-path: polygon(0 0, 100% 0, 50% 100%);
        align-self: center;
        margin: 10px auto;
    }

    .before-after .ba {
        grid-template-columns: 1fr;
    }
}

.faq details {
    background: #fff;
    border: 1px solid var(--edi-border);
    border-radius: 12px;
    padding: 0;
    margin: 12px 0;
    box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .18);
    overflow: clip;
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 56px 16px 56px;
    position: relative;
    font-weight: 700;
    color: var(--edi-primary-dark);
    line-height: 1.6;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::before {
    content: "Q";
    display: inline-grid;
    place-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: var(--edi-primary-light);
    color: var(--edi-primary-dark);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 0.9em;
}

.faq summary::after {
    content: "expand_more";
    font-family: "Material Icons";
    font-weight: normal;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform .2s ease;
    color: var(--edi-primary-dark);
}

@media (any-hover: hover) {
    .faq summary:hover {
        background: #f8fafe;
    }
}

.faq summary:focus-visible {
    outline: 3px solid var(--edi-primary);
    outline-offset: 2px;
    border-radius: 8px;
}

.faq details[open] summary {
    border-bottom: 1px solid var(--edi-border);
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq details>div {
    padding: 16px 20px 20px 56px;
    font-size: clamp(16px, 1.8vw, 1.6rem);
}

.faq {
    counter-reset: q;
}

.faq details {
    counter-increment: q;
}

.faq summary::before {
    content: "Q" counter(q);
}

@media print {
    .faq details>div {
        display: block !important;
    }

    .faq summary::after {
        content: "";
    }

    .faq {
        font-size: 14px;
    }
}

/* Badge */
.hero .hero-caption-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    width: 100%;
    min-width: 0;
}

.hero .hero-caption-copy {
    min-width: 0;
}

.hero .hero-award-box {
    justify-self: end;
    align-self: end;
}

.hero .hero-award-badge {
    position: static;
    display: block;
    width: clamp(160px, 20vw, 250px);
    height: auto;

    object-fit: contain;
    pointer-events: none;
}

@media screen and (max-width: 767.98px) {

  .hero .carousel-inner .carousel-item.active > img {
    height: 420px;
    min-height: 420px;
    max-height: none;
    object-fit: cover;
  }

  .hero .carousel-caption {
    align-items: stretch;
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .hero .carousel-caption > .container {
    height: 100%;
  }

  .hero .hero-caption-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;

    width: 100%;
    height: 100%;
    min-width: 0;
  }

  .hero .hero-caption-copy {
    margin-block: auto;
    min-width: 0;
  }

  .hero .hero-award-box {
    align-self: center;
    flex: 0 0 auto;
    max-width: 100%;
  }

  .hero .hero-award-badge {
    display: block;
    width: clamp(140px, 38vw, 190px);
    max-width: 100%;
    height: auto;
  }
}