* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 100%;
    /*   overflow-x: hidden; */
}

.nav {
    width: 100vw;
    /* ← 画面幅に固定 */
    overflow-x: hidden;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic", sans-serif;
    overflow-x: hidden;
}

.header,
.nav,
.hamburger {
    box-sizing: border-box;
    max-width: 100%;
}

/* spでは改行 */
.br-sp {
    display: none;
}

@media (max-width: 768px) {
    .br-sp {
        display: block;
    }
}

/* spでは改行解除 */

@media (max-width: 768px) {
    .br-pc {
        display: none;
    }
}

/* すべて共通の中央寄せ */
.container {
    /* max-width: 1080px; */
    margin: 0 auto;
    width: 100%;
}

/* ヘッダー外枠 */
.header {
    /* background: linear-gradient(to right, #7d5fff, #a29bfe); */
    /* padding: 10px 0; */
    height: 70px;
}

/* ヘッダー内部のみflex */
.header-inner {
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* 以下は変更なし */
.logo img {
    height: 70px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
}

.nav-list a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.cta .btn {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

/* ハンバーガー + レスポンシブもそのままでOK */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 20;
    position: relative;
}

.hamburger span {
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 10px;
}

.hamburger span:nth-child(2) {
    top: 18px;
}

.hamburger span:nth-child(3) {
    top: 26px;
}

/* チェック時：×に変形 */
.menu-toggle:checked+.hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 18px;
}

.menu-toggle:checked+.hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked+.hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 18px;
}

@media (max-width: 768px) {
    .header-inner {
        padding-right: 0;
    }

    .logo img {
        height: 45px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100vw;
        /* ← 画面幅ピッタリ */
        height: 100vh;

        background: #fff;
        z-index: 10;
        overflow-x: hidden;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .menu-toggle:checked~.nav {
        display: block;
    }

    .mobile-only {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

.hero-section {
    background: linear-gradient(to top, #f0f8ff, #ffffff);
    padding: 80px 20px;
    position: relative;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.hero-section .container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.hero-text {
    flex: 1 1 55%;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 20px;
}

.sub-lead {
    font-size: 21px;
    color: #5a4dd5;
    margin-bottom: 20px;
    font-weight: 500;
}

.keywords {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.keywords span {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid #5a4dd5;
    color: #5a4dd5;
    font-weight: bold;
    font-size: 23px;
    background-color: #ffffff;
    letter-spacing: 2px;
}

.desc {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-main-btn {
    display: inline-block;
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin-left: 50px;

}

.cta-main-btn img {
    width: 100%;
}

.hero-image {
    flex: 1 1 45%;
    margin-left: -5%;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.side-cta {
    position: fixed;
    /* ← 追従させるために fixed */
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    background: #5a4dd5;
    padding: 12px 8px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 999;
    /* 他要素より前面に */
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.2);
}

.side-cta a {
    color: #fff;
    text-decoration: none;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 30px;
    }

    .hero-section .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        width: 100%;
    }

    .side-cta {
        display: none;
    }

    .hero-text h1 {
        font-size: 22px;
    }

    .sub-lead {
        font-size: 16px;
    }

    .keywords span {
        font-size: 18px;
    }

    .hero-image {
        margin-left: 0;
    }
}


.rpa-intro {
    background-color: #eaf3fd;
    padding: 100px 20px 0;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.rpa-intro .container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    /* align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; */
}

.rpa-intro__image {
    width: 300px;
}

.rpa-intro__image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.rpa-intro__text {
    width: 600px;
    text-align: left;
}

.rpa-intro__label {
    display: inline-block;
    background-color: #ff5e6c;
    color: #fff;
    padding: 3px 20px;
    border-radius: 9999px;
    font-size: 27px;
    margin-bottom: 20px;
}

.rpa-intro__text h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 0px;
}

.rpa-intro__line-img img,
.rpa-intro__solution-img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0px;
    margin-left: 30px;
}

.rpa-intro__text p {
    font-size: 26px;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .rpa-intro__image {
        width: 150px;
        margin: 0 auto;
    }

    .rpa-intro__label {
        font-size: 18px;
    }

    .rpa-intro__text h2 {
        font-size: 22px;
    }

    .rpa-intro .container {
        flex-direction: column;
        text-align: center;
    }

    .rpa-intro__text {
        max-width: 100%;
    }

    .rpa-intro__solution-img {
        width: 250px;
        margin: 0 auto;
    }

    .rpa-intro__line-img img,
    .rpa-intro__solution-img img {
        margin: 0 auto 20px;
    }

    .rpa-intro__text p {
        text-align: center;
        font-size: 22px;
    }
}

.rpa-problems {
    background-color: #eaf3fd;
    padding: 50px 20px 100px;
}

.rpa-problems .container {
    max-width: 900px;
    margin: 0 auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.problem-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.problem-box h3 {
    font-size: 27px;
    color: #4b4bc1;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.5;
}

.problem-box p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .problem-box h3 {
        font-size: 20px;
    }
}


.rpa-review {
    background-color: #f8f9fb;
    padding: 60px 20px;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.rpa-review .container {
    max-width: 900px;
    margin: 0 auto;
}

.rpa-review__header {
    text-align: center;
    margin-bottom: 40px;
}

.rpa-review__label {
    display: inline-block;
    background-color: #4a4a4a;
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 16px;
}

.rpa-review__header h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.rpa-review__line {
    width: 80px;
    height: 3px;
    background-color: #333;
    margin: 10px auto 20px;
}

.rpa-review__header p {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
}

.rpa-review__header .highlight {
    color: #4b4bc1;
    font-weight: bold;
}

.rpa-review__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.review-box:nth-child(5) {
    height: max-content;
}

.review-box:nth-child(6) {
    background-color: unset;
    box-shadow: unset;
    text-align: center;
}

.review-box h3 {
    font-size: 27px;
    color: #6165d7;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.review-box p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .rpa-warning__wrapper {
        flex-direction: column;
    }

    .rpa-warning__image {
        width: 150px;
    }

    .rpa-review__grid {
        grid-template-columns: 1fr;
    }

    .label {
        font-size: 18px;
    }

    .title-block h2 {
        font-size: 22px;
    }

    .title-line img {
        max-width: 300px;
    }

    .rpa-warning__text p {
        font-size: 20px;
    }

    .review-box h3 {
        font-size: 20px;
    }
}


.rpa-origin {
    background-color: #fff;
    padding: 60px 20px;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.rpa-origin .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.rpa-origin__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.rpa-origin__image img {
    max-width: 160px;
    height: auto;
}

.rpa-origin__text {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}

.rpa-origin__text p {
    margin-bottom: 10px;
    font-size: 21px;
}

.highlight {
    font-size: 24px;
    background: linear-gradient(transparent 30%, #ffd7e0 30%);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .support-text p {
        font-size: 18px;
    }

    .support-text .emphasis {
        font-size: 22px;
    }

    .rpa-origin__wrapper {
        flex-direction: column;
        text-align: center;
    }

    .rpa-origin__image img {
        margin-bottom: 20px;
    }
}




.compare-block {
    flex: 1;
    min-width: 260px;
}

.compare-title {
    font-size: 30px;
    margin-bottom: 10px;
    text-align: center;
    color: #fff;
    padding: 6px 12px;
    display: block;
}

.compare-title.before {
    background-color: #8d9cd0;
}

.compare-title.before2 {
    background-color: #f49fa3;
}

.compare-title.after {
    background: #5a59d2;
}

.compare-title.after2 {
    background: #f15b5b;
}

.compare-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-block li {
    font-size: 18px;
    margin-bottom: 8px;
    padding: 10px 12px;
    background-color: #fff;
}

.compare-ul1 {
    color: #6165d7;
}

.compare-ul2 {
    color: #f15b5b;
}

@media (max-width: 768px) {

    .voice-main,
    .voice-compare {
        flex-direction: column;
    }

    .voice-case-title h3 {
        font-size: 22px;
    }

    .voice-case-title h3.sec {
        font-size: 22px;
    }

    .voice-image {
        width: 100%;
    }

    .voice-company {
        font-size: 16px;
    }

    .voice-description p {
        font-size: 16px;
    }

    .compare-block li {
        font-size: 14px;
    }

    .compare-title {
        font-size: 20px;
    }
}


.support-section {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.support-title {
    font-size: 50px;
    font-style: italic;
    font-weight: bold;
    color: #5a59d2;
    margin-bottom: 10px;
}

.support-subtitle {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
}

.support-icon img {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

.support-text {
    font-size: 22px;
    margin-bottom: 40px;
}

.support-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.support-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    max-width: 320px;
    text-align: left;
    flex: 1 1 280px;
}

.card-header {
    background: #f15b5b;
    color: #fff;
    font-weight: bold;
    padding: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    text-align: center;
    font-size: 23px;
}

.card-body {
    padding: 16px;
    font-size: 14px;
    line-height: 2;
}

@media (max-width: 768px) {
    .support-cards {
        flex-direction: column;
        align-items: center;
    }

    .clients-title {
        font-size: 40px;
    }

    .clients-subtitle {
        font-size: 18px;
    }

    .support-title {
        font-size: 40px;
    }

    .support-subtitle {
        font-size: 18px;
    }

    .support-text {
        font-size: 18px;
    }
}


.rpa-warning {
    background-color: #f4f4f4;
    padding: 60px 20px;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.rpa-warning .container {
    max-width: 900px;
    justify-content: center;
    margin: 0 auto;
}

.rpa-warning__wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.rpa-warning__image {
    width: 280px;
}

.rpa-warning__image img {
    width: 100%;
    height: auto;
}

.rpa-warning__text {
    flex: 1;
    width: 400px;
}

.label {
    display: inline-block;
    background-color: #4a4a4a;
    color: #fff;
    padding: 6px 20px;
    border-radius: 99px;
    font-size: 27px;
    margin-bottom: 20px;
}

.title-block {
    position: relative;
    margin-bottom: 30px;
}

.title-block h2 {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 10px;
}

.title-line img {
    max-width: 500px;
    width: 100%;
}

.rpa-warning__text p {
    font-size: 24px;
}


.clients-section {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.clients-title {
    font-size: 50px;
    font-weight: bold;
    font-style: italic;
    color: #5a59d2;
    margin-bottom: 10px;
}

.clients-subtitle {
    font-size: 25px;
    color: #000;
    margin-bottom: 40px;
}

.clients-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    font-size: 20px;
}

.clients-highlight span {
    background: #fff5c2;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
}

.clients-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

.clients-tags .tag {
    background: #5a59d2;
    color: #fff;
    padding: 8px 14px;
    font-size: 20px;
    border-radius: 8px;
}

.clients-tags .tag:nth-child(2n) {
    background: #8d9cd0;
    color: #fff;
    padding: 8px 14px;
    font-size: 20px;
    border-radius: 8px;
}

.cta-download {
    background: linear-gradient(to bottom, #5a59d2, #a29bfe);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.cta-download .cta-text {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-download .cta-button {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    font-size: 20px;
}

.cta-download .cta-button:hover {
    background: #333;
}


.faq-section {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.faq-title {
    font-size: 50px;
    font-style: italic;
    font-weight: bold;
    color: #5a59d2;
    margin-bottom: 10px;
}

.faq-subtitle {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 32px;
}

.faq-q {
    display: flex;
    align-items: flex-start;
    font-size: 23px;
    margin-bottom: 12px;
}

.faq-q::before {
    content: "Q";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    font-size: 18px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: bold;
}

.faq-a {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.8;
}

.faq-a::before {
    content: "A";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    border: 2px solid #000;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}


.rpa-about {
    background-color: #fff;
    padding: 50px 20px 100px;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.rpa-about .container {
    max-width: 1080px;
    margin: 0 auto;
}

/* ★ 大きなパネル全体（タイトル含む） */
.rpa-panel {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 50px 30px;
    text-align: center;
}

/* タイトル */
.rpa-about__title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 40px;
}

/* 3カラムレイアウト */
.rpa-about__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

/* 各カード */
.rpa-card {
    flex: 1;
    padding: 30px 20px;
    border-left: 1px solid #eee;
}

.rpa-card:first-child {
    border-left: none;
}

.rpa-card img {
    /* width: 60px; */
    height: 100px;
    margin-bottom: 16px;
}

.rpa-card__label {
    color: #5a59d2;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
}

.rpa-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

.rpa-card__text {
    font-size: 14px;
    text-align: left;
    line-height: 1.8;
}

/* スマホ対応（1カラム＋横線） */
@media (max-width: 768px) {
    .rpa-about__grid {
        flex-direction: column;
    }

    .rpa-card {
        border-left: none;
        border-top: 1px solid #eee;
    }

    .rpa-card:first-child {
        border-top: none;
    }

    .rpa-card {
        padding: 20px 0;
    }
}


.features-section {
    padding: 80px 20px;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
    position: relative;
}

.features-section .image-bg {
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    z-index: -1;
}

.features-section .image-bg img {
    width: 100%;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.features-section .container {
    max-width: 1080px;
}

.heading-en {
    font-size: 50px;
    font-weight: 900;
    font-style: italic;
    color: #5a59d2;
    margin-bottom: 10px;
}

.heading-ja {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    min-width: 280px;
}

.feature-badge {
    background: #5a59d2;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    height: 70px;
    width: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
}

.feature-text h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
}

.feature-text p {
    font-size: 14px;
    line-height: 2;
    color: #333;
    margin-bottom: 12px;
}

.feature-row .feature-text .highlight {
    color: #5a59d2;
    font-weight: bold;
    font-size: 22px;
    background: unset;
}

.feature-btn {
    width: 350px;
    display: inline-block;
}

.feature-btn img {
    width: 100%;
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
    }

    .feature-text h3 {
        font-size: 20px;
    }

    .feature-row .feature-text .highlight {
        font-size: 18px;
    }
}


.grant-section {
    position: relative;
    padding: 80px 20px;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
    text-align: center;
}

.grant-section .image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: -1;
}

.grant-section .container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.grant-section .image-bg img {
    width: 100%;
}

.grant-en {
    font-size: 50px;
    font-style: italic;
    font-weight: bold;
    color: #5a59d2;
    margin-bottom: 10px;
}

.grant-lead {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 50px;
}

.grant-sub {
    font-size: 30px;
    font-weight: bold;
    color: #5a59d2;
    margin-bottom: 16px;
}

.grant-highlight {
    display: inline-block;
    background: #ff6b6b;
    color: #fff;
    font-weight: bold;
    padding: 5px 20px;
    width: 100%;
    max-width: 550px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 30px;
}

.grant-note {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* グリッド：2列 × 2行 */
.grant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: left;
    margin-bottom: 40px;
}

.grant-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.grant-card-item {
    background: #5a59d2;
    color: #fff;
    font-size: 16px;
    padding: 20px 12px;
    margin-bottom: 8px;
    text-align: center;
}

.grant-card-text {
    padding: 20px 12px;
}

.grant-card-text li {
    list-style: none;
}

.grant-card-text li span {
    display: inline-block;
    width: 10px;
    height: 10px;
    padding-right: 5px;
    border-radius: 50px;
    background-color: #4b4bc1;
    list-style: none;
}

.grant-card h3 {
    font-size: 23px;
}

.grant-card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.grant-card ul {
    font-size: 16px;
    padding-left: 16px;
    color: #333;
}

.grant-card li {
    margin-bottom: 6px;
}

/* 下部補足文 */
.grant-bottom-note {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* レスポンシブ（1カラムに） */
@media (max-width: 768px) {
    .grant-grid {
        grid-template-columns: 1fr;
    }

    .grant-highlight {
        font-size: 15px;
    }

    .grant-en {
        font-size: 40px;
    }

    .grant-lead {
        font-size: 18px;
    }

    .grant-sub {
        font-size: 18px;
    }

    .grant-card h3 {
        font-size: 18px;
    }
}


.voice-heading {
    background: linear-gradient(to bottom, #ff5a5a, #ff9a9a);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.voice-en {
    font-size: 50px;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 10px;
}

.voice-ja {
    font-size: 25px;
    font-weight: bold;
}

.voice-section {
    /* padding: 80px 20px; */
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.voice-section .container {
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    padding: 50px 20px;
}

.voice-case-box01 {
    background-color: #e7f2ff;
}

.voice-case-box02 {
    background-color: #ffddde;
}

.voice-case-box03 {
    background-color: #e7f2ff;
}

.voice-case-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .voice-case-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .voice-en {
        font-size: 40px;
    }

    .voice-ja {
        font-size: 18px;
    }
}

.voice-case-badge {
    background: #5a59d2;
    color: #fff;
    font-weight: bold;
    font-size: 46px;
    padding: 8px 16px;
    border-radius: 4px;
}

.badge-blue {
    background: #5a59d2;
}

.badge-red {
    background: #f15b5b;
}

.badge-purple {
    background: #665fd2;
}

.voice-case-title h3 {
    font-size: 31px;
    font-weight: bold;
    margin: 0;
    color: #6165d7;
}

.voice-case-title h3.sec {
    font-size: 31px;
    font-weight: bold;
    margin: 0;
    color: #f15b5b;
}

.voice-main {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.voice-image {
    width: 50%;
}

.voice-image img {
    width: 100%;
    border-radius: 8px;
}

.voice-description {
    flex: 1;
    min-width: 300px;
}

.voice-company {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 8px 14px;
    margin-bottom: 30px;
    display: inline-block;
    font-size: 22px;
}

.voice-description p {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
}

.voice-compare {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 0px;
}


.rpa-notice {
    padding: 30px 20px;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.rpa-notice .container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* ← 追加 */
    /* gap: 30px; */
    flex-wrap: wrap;
}

.rpa-badge {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 99;
}

.rpa-badge img {
    width: 100%;
}

.rpa-text h2 {
    color: #ff5b67;
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.rpa-text .label {
    background-color: #ff5b67;
    color: white;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 14px;
    margin-left: 10px;
    white-space: nowrap;
    margin-bottom: 0;
}

.rpa-text p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .rpa-notice {
        padding: 50px 20px;
    }

    .rpa-notice .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .rpa-text h2 {
        font-size: 22px;
    }

    .rpa-badge {
        display: none;
    }
}


.rpa-support {
    background-color: #fff;
    padding: 60px 20px;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
    text-align: center;
}

.rpa-support .container {
    max-width: 900px;
    margin: 0 auto;
}

.support-text {
    margin-bottom: 40px;
}

.arrow-icon {
    font-size: 40px;
    color: #5a59d2;
    margin-bottom: 20px;
}

.support-text p {
    font-size: 21px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 10px;
}

.support-text .emphasis {
    font-weight: bold;
    color: #5a59d2;
    font-size: 31px;
}

.support-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.materials-card-section {
    background: #7d5fff;
    color: #fff;
    padding: 80px 20px 0;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.materials-title {
    font-size: 50px;
    font-style: italic;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
}

.materials-subtitle {
    font-size: 25px;
    color: #e0e0ff;
    margin-bottom: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.materials-card {
    background: #fff;
    border-radius: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.materials-header {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.materials-image {
    width: 50%;
}

.materials-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.materials-description {
    flex: 1 1 400px;
}

.materials-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.materials-form {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.materials-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 16px;
    color: #000;
}

.materials-form input,
.materials-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 6px;
}

.materials-form .checkbox {
    width: unset;
    margin-bottom: 40px;
}

.required {
    color: red;
    font-size: 12px;
    margin-left: 6px;
}

.privacy-note {
    font-size: 12px;
    color: #555;
    margin: 20px 0;
    line-height: 1.6;
}

.agree-check {
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.agree-check input {
    margin-right: 6px;
}

.materials-button-box {
    text-align: center;
}

.materials-button {
    background: #000;
    color: #fff;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 20px;
    max-width: 300px;
    width: 100%;
}

.materials-button:hover {
    background: #333;
}

.materials-footer {
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 300px;
    margin-right: 30px;
}

.footer-logo img {
    width: 100%;
}

.footer-text,
.footer-company {
    margin-bottom: 4px;
    margin-right: 30px;
}

@media (max-width: 768px) {
    .faq-q {
        font-size: 16px;
    }

    .materials-header {
        flex-direction: column;
        text-align: center;
    }

    .materials-description {
        text-align: left;
    }

    .materials-card {
        padding: 30px 20px;
    }

    .materials-description {
        flex: unset;
    }

    .materials-footer {
        flex-direction: column;
    }

    .footer-logo {
        margin: 0 0 20px 0;
    }

    .materials-title {
        font-size: 40px;
    }

    .materials-subtitle {
        font-size: 18px;
    }

    .materials-text {
        font-size: 14px;
    }
}

.wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.wpcf7-list-item input[type="checkbox"] {
    margin: 0;
}

.wpcf7-spinner {
    display: none !important;
}


.wpcf7-form-control .wpcf7-submit .has-spinner .materials-button {
    background-color: #000;
    color: #ffffff;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: #000;
}

/* ボタン */

@keyframes zoomInOut {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

.cta-main-btn,
.cta-button,
.feature-btn {
    display: inline-block;
    animation: zoomInOut 2s ease-in-out infinite;
}

.wpcf7-response-output {
    color: #000000 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #000000 !important;
}

.wpcf7 form .wpcf7-response-output {
    color: #000000 !important;
}