/* メインビジュアル */

.main-visual {
  padding: 0;
  height: 426px;
  background-image: url("/-/media/ind/fs/top/image/main_visual_bg.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.main-visual .wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.main-visual .text {
  max-width: 700px;
  margin-top: 78px;
  font-weight: 600;
}

.main-visual .text h1 {
  margin-top: 33px;
  color: #fff;
}

.main-visual .text h1 img {
  width: 300px;
  margin-right: 11px;
}

.main-visual .cta-block {
  margin-top: 29px;
  font-size: 18px;
  display: flex;
  align-items: end;
  gap: 20px;
}

.main-visual .cta-block .button-box p {
    margin-bottom: 10px;
    text-align: center;
    color: #fff;
}

@media screen and (max-width: 767px) {
  .main-visual {
    height: unset;
    padding: 3rem 0;
    background: linear-gradient(113deg, #AC020E 26.99%, #91000A 85.99%);
  }

  .main-visual .inner {
    padding: 0 1rem;
  }
  .main-visual .text {
    margin-top: 0;
  }
  .main-visual .text h1 {
    margin-top: 1rem;
    font-size: 2.3rem;
    line-height: 1.2;
  }

  .main-visual img {
    width: 100%;
  }
  .main-visual .text h1 img {
    margin-bottom: 4px;
  }
  .main-visual .cta-block {
    margin-top: 20px;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .main-visual .cta-block .button-box {
    text-align: center;
  }
  .main-visual .cta-block .button-box p {
    font-size: .8rem;
  }
}

/* お知らせ */

.news .wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.news .content-block ul {
    width: 100%;
    border-top: 2px solid #B1000E;
    border-bottom: 2px solid #B1000E;
    list-style: none;
    padding: 0;
}
.news .content-block ul li {
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    min-height: 94px;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #c02;
}

.news .content-block ul li:last-child {
    border-bottom: none;
}

.news .content-block ul li .category {
    width: 135px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #333;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.6px;
}

.news .content-block ul li .date {
    width: 130px;
    flex-shrink: 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.7px;
}

.news .content-block ul li a {
    padding-right: 20px;
    display: block;
    width: 100%;
    position: relative;
    color: #3E3E3E;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.7px;
}

.news .content-block ul li a:hover {
    color: #b1000e;
    text-decoration: underline;
}

.news .content-block ul li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 13px;
    height: 21px;
    margin-left: 8px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="13" height="21" viewBox="0 0 13 21" fill="none"><path d="M2.33398 2L10.2253 10.3616L2.33398 18.7232" stroke="%23CC0022" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center / contain;
    transition: all 0.3s ease;
}

.news .content-block ul li .text-box a h3 {
    margin-bottom: .5rem;
    font-size: 1.4rem;
    line-height: 1.3;
}
.news .content-block ul li .text-box a p {
    font-size: 1rem;
    line-height: 1.3;
}

.news .cta-block {
    margin-top: 60px;
    text-align: center;
}

.news .cta-block a {
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .news .content-block ul li {
        padding: 20px 0;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: "category date" "link link";
        align-items: center;
        gap: 20px;
    }

    .news .content-block ul li .category {
        grid-area: category;
    }

    .news .content-block ul li .date-box {
        grid-area: date;
        padding: 10px 0;
        text-align: left;
        width: 100%;
    }

    .news .content-block ul li .date-box .date {
        font-size: .8rem;
    }

    .news .content-block ul li a {
        grid-area: link;
    }

    .news .content-block ul li a::after {
        width: 9px;
    }
}

/* とは */

.about {
    background: #f2f2f2;
}

.about .content-block {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.about .content-block .image-box {
    width: calc(570 / 1235 * 100%);
    max-width: 570px;
    flex-shrink: 0;
}

.about .content-block .image-box img {
    width: 100%;
}

.about .content-block .text-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    flex: 1;
}

.about .content-block .text-box .button-box a {
    margin: 0;
}

@media screen and (max-width: 767px) {
    .about .content-block {
        flex-direction: column;
        align-items: center;
    }

    .about .content-block .image-box {
        width: 100%;
    }

    .about .content-block img {
        width: 100%;
        max-width: 400px;
    }

    .about .content-block .text-box .button-box a {
        margin: 0 auto;
    }
}

/* モデル */

.product-models .wrapper {
    max-width: 970px;
    margin: 0 auto;
}

.product-models .hedding-block .subtext strong {
    color: #c02;
}

.product-models .content-block .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* iOSでスムーズスクロール */
    margin: 0 auto;
}

.product-models .content-block table {
    width: 100%;
    min-width: 924px;
    border-collapse: separate;
    border-spacing: 11px;
    table-layout: fixed;
}

.product-models .content-block table thead th {
    box-sizing: border-box;
    height: 73px;
    background: linear-gradient(113deg, #AC020E 26.99%, #91000A 85.99%);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    color: #fff;
}

.product-models .content-block table thead th:first-child {
    background: none;
}

.product-models .content-block table thead th:nth-child(2) {
    border-radius: 20px 0 0 0;
}

.product-models .content-block table thead th:nth-child(3) {
    border-radius: 0 20px 0 0;
}

.product-models .content-block table tbody th {
    box-sizing: border-box;
    width: 267px;
    height: 106px;
    border: 3px solid #c02;
    background: #fff;
    color: #c02;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
}

.product-models .content-block table tbody tr:nth-child(1) th {
    border-radius: 20px 0 0 0;
}

.product-models .content-block table tbody tr:nth-child(3) th {
    border-radius: 0 0 0 20px;
}

.product-models .content-block table tbody td {
    width: 317px;
    background: #F2F2F2;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.7px;
}

.product-models .cta-block {
    margin-top: 60px;
}

.product-models .cta-block a {
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .product-models .content-block table {
        min-width: 616px;
    }

    .product-models .content-block table thead th {
        font-size: 1rem;
    }

    .product-models .content-block table tbody th {
        width: 178px;
        height: 90px;
        font-size: 1rem;
    }

    .product-models .content-block table tbody td p {
        padding: 5px;
    }

    .product-models .content-block table tbody td img {
        width: 1.5rem;
    }
}

/* 機能 */

.function {
    background: #f2f2f2;
}

.function .content-block .image-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.function .cta-block {
    margin-top: 60px;
    text-align: center;
}

.function .cta-block a {
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .functions .content-block img {
    width: 100%;
    max-width: 400px;
  }
}

/* ユースケース */

.usecase .content-block {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.usecase .content-block .image-box {
    max-width: 570px;
    flex-shrink: 0;
    width: calc(570 / 1235 * 100%);
}

.usecase .content-block .image-box img {
    width: 100%;
}

.usecase .content-block .text-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    flex: 1;
}

.usecase .content-block .text-box .button-box a {
    margin: 0;
}

@media screen and (max-width: 767px) {
    .usecase .content-block {
        flex-direction: column;
        align-items: center;
    }

    .usecase .content-block .image-box {
        width: 100%;
    }

    .usecase .content-block img {
        width: 100%;
        max-width: 400px;
    }

    .usecase .content-block .text-box .button-box a {
        margin: 0 auto;
    }
}

/* 導入事例 */

.case-studies {
    background: #f2f2f2;
}

.case-studies .wrapper {
    max-width: 960px;
}

.case-studies .hedding-block .subtext {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.case-studies .hedding-block .subtext h3 {
    color: #000;
}

.case-studies .hedding-block .subtext .color-red {
    color: #c02;
}

.case-studies .content-block .image-box img {
    width: 100%;
}

.case-studies .hedding-block .subtext strong {
    color: #c02;
}

.case-studies .content-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.case-studies .content-block .image-box img {
    width: 100%;
}

.case-studies .content-block h3 {
    text-align: center;
    color: #333;
}

.case-studies .content-block .case-list .item {
    margin-bottom: 50px;
    overflow: hidden;
}

.case-studies .content-block .case-list .item:last-child {
    margin-bottom: 0;
}

.case-studies .content-block .case-list .item a {
    padding: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-studies .content-block .case-list .item a .image-box img {
    width: 377px;
    max-width: unset!important;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.case-studies .content-block .case-list .item a:hover {
    opacity: .8;
}

.case-studies .content-block .case-list .item a:hover .image-box img {
    transform: scale(1.05);
}

.case-studies .content-block .case-list .item a .text-box {
    padding: 10px 38px;
}

.case-studies .content-block .case-list .item a .text-box .text {
    margin-bottom: 30px;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    color: #000;
}

.case-studies .content-block .case-list .item a .text-box h3 {
    padding-bottom: 20px;
    border-bottom: 1px solid #4e4e4e;
    text-align: left;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.7px;
    color: #333;
}

.case-studies .content-block .case-list .item a .text-box .description {
    margin-top: 20px;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.5px;
    color: #333;
}

.case-studies .content-block .case-list .item a .text-box .description strong {
    color: #333;
    font-weight: 700;
    font-family: var(--bold-font-family);
}

.case-studies .cta-block {
    margin-top: 60px;
}

.case-studies .cta-block a {
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .case-studies .content-block .case-list .item a {
        flex-direction: column;
    }

    .case-studies .content-block .case-list .item a .image-box img {
        max-width: 100% !important;
    }

    .case-studies .content-block .case-list .item a .text-box {
        padding: 1rem;
    }
}

/* FAQ */

.faq .wrapper {
    max-width: 923px;
    margin: 0 auto;
}

.faq .content-block ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.faq .content-block ul li {
    padding: 28px 102px 30px 44px;
    border: 1px solid #91000a;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.faq .content-block ul li .question,
.faq .content-block ul li .answer {
    padding-left: calc(24px + 34px);
    position: relative;
}

.faq .content-block ul li .question::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 24px;
    height: 24px;
    background: url("/-/media/ind/fs/top/image/faq_question.svg") no-repeat center center / contain;
}

.faq .content-block ul li .question::after {
    content: "";
    position: absolute;
    top: 4px;
    right: calc((24px + 41px) * -1);
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="16" viewBox="0 0 28 16" fill="none"><path d="M2 2L14 14L26 2" stroke="%234E4E4E" stroke-width="2.4186" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center / contain;
    transition: transform 0.3s ease;
}

.faq .content-block ul li.open .question::after {
    transform: rotate(180deg);
}

.faq .content-block ul li .answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq .content-block ul li.open .answer {
    margin-top: 26px;
    max-height: 2000px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    min-width: 0;
}

.faq .content-block ul li .answer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    background: url("/-/media/ind/fs/top/image/faq_answer.svg") no-repeat center center / contain;
}

.faq .content-block ul li .answer a,
.faq .content-block ul li .answer a:link,
.faq .content-block ul li .answer a:visited {
    color: #b1000e;
}

.faq .content-block ul li .answer a:hover {
    color: #b1000e;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .faq .content-block ul li {
        padding: 1rem 2rem 1rem 1rem;
    }

    .faq .content-block ul li .question,
    .faq .content-block ul li .answer {
        padding-left: 2rem;
    }

    .faq .content-block ul li .question::before {
        width: 22px;
        height: 36px;
    }

    .faq .content-block ul li .question::after {
        right: -17px;
        width: 18px;
        height: 20px;
    }

    .faq .content-block ul li .answer::before {
        width: 22px;
        height: 36px;
    }
}

/* お役立ちコンテンツ */

.useful-contents {
    background: var(--bg-color1);
}

.useful-contents .content-block {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.useful-contents .content-block a {
    position: relative;
    border-radius: 20px;
    transition: all 0.3s ease;
    width: fit-content;
}

.useful-contents .content-block a:hover {
    box-shadow: 0 10px 10px 2px rgb(0 0 0 / 30%);
    opacity: .8;
    top: -2px;
}

@media screen and (max-width: 767px) {
    .useful-contents .wrapper {
        padding-bottom: 20px;
    }
    .useful-contents .content-block {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
