
/* 共通
-------------------------------------------------- */

html {
    font-size: 62.5%;

    @media (min-width: 768px) and (max-width: 1040px) {
        font-size: calc(10 / 1040 * 100vw);
    }

    @media (min-width: 320px) and (max-width: 767px) {
        font-size: calc(10 / 767 * 100vw);
    }

    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Noto Sans JP", serif;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

a, span {
    display: inline-block;
}

.section__title {
    position: relative;
    margin-bottom: 1.6rem;
    color: #333;
    font-size: 3.2rem;
    font-weight: bold;
    text-align: center;
}

.section__title::before {
    content: "";
    position: absolute;
    top: -2.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 15.3rem;
    height: 12px;
    background: linear-gradient(to right, #52d681, #09b7d9);
    border-radius: 10px;
}

.section__subtitle {
    margin-bottom: 5.5rem;
    color: #828282;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

.section__subtitle span {
    color: #feba01;
}

.sp-only {
    display: none;
}

/* swiper */

.swiper-container {
    position: relative;
}

.swiper {
    padding: 30px 0 !important;
}

.swiper-button-prev::before,
.swiper-button-next::before,
.swiper-button-prev::after,
.swiper-button-next::after {
    position: absolute;
    content: "";
    margin: auto;
    bottom: 0;
    background: none;
}

.swiper-button-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.swiper-button-prev,
.swiper-button-next {
    display: flex;
    align-items: center;
    width: 10%;
}

.swiper-button-prev {
    justify-content: flex-start;
    transform: rotate(180deg);
}

.swiper-button-next {
    justify-content: flex-end;
}

.swiper-pagination {
    position: static !important;
    width: 100% !important;
    margin-top: 10px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin-inline: 10px !important;
    background-color: #d9d9d9;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    background-color: #333;
}

@media screen and (max-width: 767px) {

    .section__title {
        font-size: 5rem;
    }

    .section__title::before {
        top: -4rem;
        width: 24rem;
        height: 8px;
    }

    .section__subtitle {
        margin-bottom: 50px;
        font-size: 3.2rem;
    }

    .sp-only {
        display: block;
    }

}

/* ヘッダー
-------------------------------------------------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 70px;
    background-color: #fff;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    height: 100%;
    margin-inline: auto;
    padding-inline: 20px;
}

.header__logo {
    width: 17%;
    transition: all 0.3s;
}

.header__logo:hover {
    opacity: 0.8;
}

.nav-pc {
    display: flex;
    align-items: center;
    gap: 3.2rem;
}

.nav-pc__list--left {
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

.nav-pc__item {
    color: #07a6bc;
    font-weight: bold;
    transition: all 0.3s;
}

.nav-pc__item:hover {
    opacity: 0.7;
}

.nav-pc__list--right {
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

.nav-pc__consult {
    border: 2px solid #07a6bc;
    border-radius: 90px;
    transition: all 0.3s;
}

.nav-pc__consult:hover {
    opacity: 0.7;
}

.nav-pc__consult a {
    padding: 1.2rem 2.4rem;
    color: #07a6bc;
    font-weight: bold;
}

.nav-pc__contact {
    border: 2px solid #fff;
    border-radius: 90px;
    box-shadow: 0 0 4px 0 rgba(1, 42, 68, 0.25);
    background: linear-gradient(to right, #f0400a, #ffc300);
    transition: all 0.3s;
}

.nav-pc__contact:hover {
    opacity: 0.7;
}

.nav-pc__contact-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 2.4rem;
}

.nav-pc__contact-link img {
    width: 1.6rem;
}

.nav-pc__contact-link span {
    color: #fff;
    font-weight: bold;
}

.nav-sp {
    display: none;
}

@media screen and (max-width: 767px) {

    .header {
        height: 56px;
    }

    .header__logo {
        width: 140px;
    }

    .nav-pc {
        display: none;
    }

    .nav-sp {
        position: fixed;
        top: 56px;
        right: -100%;
        z-index: 100;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        transition: all 0.7s;
    }

    .nav-sp.open {
        right: 0;
    }

    .nav-sp__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-bottom: 35px;
        padding-top: 90px;
    }

    .nav-sp__item a {
        color: #07a6bc;
        font-size: 24px;
        font-weight: bold;
        transition: all 0.3s;
    }
    
    .nav-sp__item a:hover {
        opacity: 0.7;
    }

    .nav-sp__list--right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .nav-sp__consult a {
        padding: 12px 24px;
        color: #07a6bc;
        font-size: 24px;
        font-weight: bold;
        border: 2px solid #07a6bc;
        border-radius: 90px;
        transition: all 0.3s;
    }

    .nav-sp__consult a:hover {
        opacity: 0.7;
    }

    .nav-sp__contact {
        border: 2px solid #fff;
        border-radius: 90px;
        box-shadow: 0 0 4px 0 rgba(1, 42, 68, 0.25);
        background: linear-gradient(to right, #f0400a, #ffc300);
        transition: all 0.3s;
    }

    .nav-sp__contact:hover {
        opacity: 0.7;
    }

    .nav-sp__contact-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 24px;
    }

    .nav-sp__contact-link img {
        width: 24px;
    }

    .nav-sp__contact-link span {
        color: #fff;
        font-size: 24px;
        font-weight: bold;
    }

}

@media screen and (max-width: 576px) {
    .nav-sp {
        width: 100%;
    }
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
}

@media screen and (max-width: 767px) {

    .hamburger {
        position: relative;
        top: 0;
        right: -20px;
        z-index: 200;
        display: block;
        width: 72px;
        height: 50px;
        transition: all 0.3s;
    }

    .hamburger__line,
    .hamburger__line::before,
    .hamburger__line::after {
        content: "";
        position: absolute;
        width: 32px;
        height: 3px;
        background-color: #07a6bc;
        border-radius: 30px;
        transition: all 0.3s;
    }

    .hamburger__line {
        top: 23px;
        left: 20px;
    }

    .hamburger__line::before {
        top: 10px;
        transition: all 0.3s;
    }

    .hamburger__line::after {
        bottom: 10px;
        transition: all 0.3s;
    }

    .hamburger.open .hamburger__line {
        background-color: transparent;
    }

    .hamburger.open .hamburger__line::before {
        top: 0;
        transform: rotate(45deg);
    }

    .hamburger.open .hamburger__line::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
}


/* fv
-------------------------------------------------- */

.fv {
    position: relative;
    margin-bottom: 11rem;
    padding: 14rem 0 12rem 0;
    background: linear-gradient(135deg, #0069aa, #b2e1ff);
    overflow: hidden;
}

.fv__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* 共通設定 */
.fv__bg-item {
    position: absolute;
    background: url("../img/common-logo.png") no-repeat center / contain;
    will-change: transform;

    /* ✅ 全部スピード統一 */
    animation: drift-left-to-right 26s linear infinite;
}

/* ✅ 左 → 右 に流す（全ロゴ共通） */
@keyframes drift-left-to-right {
    0%   { transform: translateX(-35vw); }
    100% { transform: translateX(135vw); }
}

/* ✅ “均等に配置” ：top を等間隔にする
    ✅ “常に5つ見える” ：delay を均等にマイナスで散らす
    ✅ サイズも少しだけ変えて単調さを防ぐ（速度は同じ） */

.fv__bg-item.is-1 {
    top: 10%;
    left: 0;
    width: 200px;
    height: 200px;
    animation-delay: -0s;
}

.fv__bg-item.is-2 {
    top: 30%;
    left: 0;
    width: 160px;
    height: 160px;
    animation-delay: -5.2s; /* 26s / 5 */
}

.fv__bg-item.is-3 {
    top: 50%;
    left: 0;
    width: 240px;
    height: 240px;
    animation-delay: -10.4s;
}

.fv__bg-item.is-4 {
    top: 70%;
    left: 0;
    width: 140px;
    height: 140px;
    animation-delay: -15.6s;
}

.fv__bg-item.is-5 {
    top: 90%;
    left: 0;
    width: 190px;
    height: 190px;
    animation-delay: -20.8s;
}

.fv__inner {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    height: 100%;
    margin-inline: auto;
    padding-inline: 20px;
}

.fv__theme {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.fv__theme--top {
    color: #fff;
    font-size: 6.4rem;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(1, 42, 68, 1);
}

.fv__theme--top span {
    color: #feba01;
}

.fv__theme--bottom {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 0 4px rgba(1, 42, 68, 1);
}

.fv__icon {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.fv__icon img {
    width: 24%;
}

.fv__content--bottom {
    display: flex;
    gap: 1rem;
}

.fv__text-box {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 58%;
}

.fv__text-box--download {
    display: none;
}

.fv__text {
    position: relative;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.fv__text--32px {
    font-size: 3.2rem;
}

.fv__text--24px {
    font-size: 2.4rem;
}

.fv__text::before,
.fv__text::after {
    content: "";
    position: absolute;
    top: 60%;
    width: 22px;
    height: 1px;
    background-color: #fff;
}

.fv__text::before {
    left: 0;
    rotate: 70deg;
}

.fv__text::after {
    right: 0;
    rotate: -70deg;
}

.fv__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(to right, #f0400a, #ffc300);
    border: 2px solid #fff;
    border-radius: 10px;
    transition: all 0.3s;
}

.fv__cta:hover {
    opacity: 0.7;
}

.fv__image {
    position: absolute;
    bottom: -8vh;
    right: 50%;
    transform: translateX(50%);
    z-index: -1;
    width: 50%;
    max-width: 680px;
}

/* form */

.form-wrapper {
    position: relative;
    z-index: 10;
    padding: 3.2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 4px rgba(1, 42, 68, 1);
}

.form-wrapper__close {
    display: none;
}

.form-wrapper__text {
    margin-bottom: 1.2rem;
    color: #333;
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
}

.form-wrapper__note {
    margin-bottom: 3rem;
    color: #333;
    font-size: 1.2rem;
    text-align: center;
}

.form__item {
    margin-bottom: 2rem;
}

.form__label {
    display: block;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: bold;
}

.form__label--required {
    color: #f0400a;
}

.form__input {
    width: 100%;
    padding: 1.2rem;
    background: #f8f8f8;
    border: 1px solid #333;
    border-radius: 10px;
}

.form__item--privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.checkbox__label {
    position: relative;
    display: inline-block;
    padding-left: 25px;
    font-size: 1.2rem;
}

.checkbox__label::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 3px;
}

.checkbox__input:checked ~ .checkbox__label::before {
    border-color: #3498db;
}

.checkbox__input:checked ~ .checkbox__label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%) rotate(45deg);
    display: block;
    width: 8px;
    height: 16px;
    border: solid #000;
    border-width: 0 2px 2px 0;
}

.checkbox__input:focus ~ .checkbox__label::before {
    outline: 2px solid #3498db;
}

.checkbox__link {
    color: #0a8ad9;
    font-size: 1.2rem;
}

.form__item__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #f0400a, #ffc300);
    border: 2px solid #fff;
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(1, 42, 68, 0.25);
    transition: all 0.3s;
}

.form__item__submit:hover {
    opacity: 0.7;
}

.form__submit {
    padding: 1.2rem 2.4rem;
    color: #fff;
    font-weight: bold;
}

.fv .wpforms-hidden {
    display: none;
}

.fv .wpforms-field  {
    margin-bottom: 2rem;
}

.fv .wpforms-field-label  {
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: bold;
}

.fv .wpforms-required-label {
    color: #f0400a;
}

.fv .wpforms-field-large {
    width: 100%;
    padding: 1.2rem;
    background: #f8f8f8;
    border: 1px solid #333;
    border-radius: 10px;
}

.fv .wpforms-field-required {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.fv [type='checkbox'] {
    width: 20px;
    height: 20px;
    border: 1px solid #333;
    border-radius: 3px;
}

.fv .wpforms-label-hide {
    display: none;
}

.fv .wpforms-field-label-inline {
    position: relative;
    display: inline-block;
    padding-left: 10px;
    font-size: 1.2rem;
}

.fv .wpforms-field-label-inline a {
    color: #0a8ad9;
    font-size: 1.2rem;
}

.fv .wpforms-field-checkbox {
    margin-bottom: 1.5rem;
}

.fv .wpforms-submit-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #f0400a, #ffc300);
    border: 2px solid #fff;
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(1, 42, 68, 0.25);
    transition: all 0.3s;
}

.form__item__submit:hover {
    opacity: 0.7;
}

.fv .wpforms-submit {
    padding: 1.2rem 2.4rem;
    color: #fff;
    font-weight: bold;
}




/* モーダル */

@media screen and (max-width: 767px) {

    .form-wrapper {
        background: transparent;
    }

    .form-wrapper__close {
        position: absolute;
        top: 10px;
        right: 15px;
        display: block;
        width: 20px;
        height: 20px;
        font-size: 24px;
    }

    /* SPモーダル時の背景暗転は wrapper 自体に持たせる */
    .form-wrapper.is-modal {
        position: fixed;
        inset: 0;                 /* 画面いっぱいにする */
        z-index: 9999;            /* これが最前面の土台 */
        display: grid;
        place-items: center;
    }

    /* 暗転レイヤー（form-wrapperの疑似要素） */
    .form-wrapper.is-modal::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.55);
        opacity: 0;
        transition: opacity .25s ease;
    }

    /* フォーム本体の箱（中身）を最前面に */
    .form-wrapper.is-modal > * {
        position: relative;
        z-index: 1;
    }

    /* 開いたら暗転ON */
    .form-wrapper.is-modal.is-open::before {
        opacity: 1;
    }

    /* 初期は非表示 */
    .form-wrapper.is-modal {
        visibility: hidden;
        opacity: 0;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .form-wrapper.is-modal.is-open {
        visibility: visible;
        opacity: 1;
    }

    /* 中身（白いカード）だけスタイル維持したいならラップ推奨 */
    .form-wrapper__panel {
        width: min(92vw, 520px);
        max-height: 86vh;
        overflow: auto;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 0 4px rgba(1,42,68,1);
        padding: 3.2rem;
    }

}

@media screen and (max-width: 767px) {

    .fv {
        padding: 110px 0 0 0;
    }

    .fv__inner {
        justify-content: center;
    }

    .fv__bg-item {
        animation: drift-left-to-right 10s linear infinite;
    }

    .fv__bg-item.is-1 {
        width: 150px;
        height: 150px;
        animation-delay: -0s;
    }

    .fv__bg-item.is-2 {
        width: 120px;
        height: 120px;
        animation-delay: -2s; /* 10s / 5 */
    }

    .fv__bg-item.is-3 {
        width: 180px;
        height: 180px;
        animation-delay: -8s; /* 10s / 2.5 */
    }

    .fv__bg-item.is-4 {
        width: 100px;
        height: 100px;
        animation-delay: -4s; /* 10s / 1.6666666666666667 */
    }

    .fv__bg-item.is-5 {
        width: 130px;
        height: 130px;
        animation-delay: -6s; /* 10s / 1.25 */
    }

    .fv__theme--top {
        font-size: 8.2rem;
    }

    .fv__theme--bottom {
        font-size: 3.6rem;
    }

    .fv__icon {
        display: none;
    }

    .fv__content--bottom {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .fv__text-box {
        width: calc(301 / 335 * 100%);
    }

    .fv__text-box--trial {
        display: none;
    }

    .fv__text-box--download {
        display: flex;
    }

    .fv__text {
        font-size: 3.2rem;
    }

    .fv__text--32px {
        font-size: 6.4rem;
    }

    .fv__text--24px {
        font-size: 5rem;
    }

    .fv__cta {
        padding: 3.2rem;
        font-size: 3.2rem;
    }

    .fv__image {
        position: static;
        transform: none;
        z-index: 1;
        width: calc(315 / 335 * 100%);
        margin-inline: auto;
    }

    .form-wrapper__panel {
        padding: 30px;
    }

    .form-wrapper__text {
        font-size: 3.6rem;
    }

    .form-wrapper__note {
        margin-bottom: 30px;
        font-size: 2rem;
    }

    .form__item {
        margin-bottom: 15px;
    }

    .form__label {
        font-size: 3.2rem;
    }

    .form__input {
        padding: 12px;
    }

    .form__item--privacy {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .checkbox__label {
        font-size: 2.8rem;
    }

    .checkbox__link {
        font-size: 2.8rem;
    }

    .form__submit {
        padding: 20px;
        font-size: 3.2rem;
    }

}


/* case
-------------------------------------------------- */

.case {
    margin-bottom: 11rem;
    scroll-margin-top: 100px;
}

.case__inner {
    max-width: 1040px;
    margin-inline: auto;
    padding-inline: 20px;
}

.case__sp {
    display: none;
}

.case__glid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
}

.case__item {
    position: relative;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 0 8px rgba(0, 76, 124, 0.25);
}

.case__item--number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    padding: 8px;
    color: #fff;
    font-size: 1.8rem;
    background-color: #0375bb;
    border-radius: 10px;
}

.case__item--bottom {
    padding: 3.2rem;
}

.case__item-title {
    margin-bottom: 3.2rem;
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
}

.case__item-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.4rem;
    padding: 1.6rem 2.6rem;
    background-color: #eff4fa;
    border-radius: 16px;
}

.case__item-content::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 4rem;
    background-color: #0375bb;
}

.case__content-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

.case__content-item-text {
    color: #333;
    font-weight: 500;
}

.case__content-item-number {
    color: #0375bb;
    font-size: 3.2rem;
    font-weight: bold;
    line-height: 0.8;
    text-align: center;
}

.case__content-item-number span {
    font-size: 1.6rem;
}

.case__item-result {
    margin-bottom: 1.2rem;
    color: #0375bb;
    font-weight: 500;
}

.case__item-gauge {
    position: relative;
    width: 100%;
    height: 24px;
    margin-bottom: 2.4rem;
    background-color: #e5eaed;
    border-radius: 90px;
}

.case__gauge-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #0375bb;
    border-radius: 90px;
}

.case__gauge-bar.is-active {
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.case__gauge-bar--1.is-active {
    animation-name: fill-gauge--1;
    animation-delay: 0.3s;
}

.case__gauge-bar--2.is-active {
    animation-name: fill-gauge--2;
    animation-delay: 0.6s;
}

.case__gauge-bar--3.is-active {
    animation-name: fill-gauge--3;
    animation-delay: 0.9s;
}


@keyframes fill-gauge--1 {
    0% {
        width: 0;
    }
    100% {
        width: 80%;
    }
}

@keyframes fill-gauge--2 {
    0% {
        width: 0;
    }
    100% {
        width: 70%;
    }
}

@keyframes fill-gauge--3 {
    0% {
        width: 0;
    }
    100% {
        width: 60%;
    }
}

.case__item-comment {
    color: #333;
    font-size: 1.4rem;
    line-height: 1.5;
}

@media screen and (max-width: 767px) {

    .case {
        margin-bottom: 70px;
    }

    .case__pc {
        display: none;
    }

    .case__sp {
        display: block;
    }

    .case__item--number {
        font-size: 3.2rem;
    }

    .case__item--bottom {
        padding: 30px;
    }

    .case__item-title {
        margin-bottom: 30px;
        font-size: 2.8rem;
    }

    .case__item-content {
        margin-bottom: 40px;
        padding: 15px 25px;
    }

    .case__item-content::before {
        width: 1px;
        height: 40px;
    }

    .case__content-item-text {
        font-size: 3.2rem;
        text-align: center;
    }

    .case__content-item-number {
        font-size: 6rem;
    }

    .case__content-item-number span {
        font-size: 3.2rem;
    }

    .case__item-result {
        margin-bottom: 20px;
        font-size: 3.2rem;
    }

    .case__item-comment {
        font-size: 2.4rem;
    }

}


/* solution
-------------------------------------------------- */

.solution {
    scroll-margin-top: 100px;
}

.solution__inner {
    position: relative;
    max-width: 1040px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 13rem;
}

.solution__bg-text {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #eaf4fa;
    font-size: 11.1rem;
    font-weight: bold;
}

/* manga */

.comic-slider {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
}

.comic-slider img {
    max-width: 640px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.slide {
    display: none;
    animation: fade 0.6s ease-in-out;
}
.slide.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* ←重なり順を上げる */
}

.prev:hover,
.next:hover {
    background: #ffffff;
}

.prev {
    left: 20px;
}
.next {
    right: 20px;
}

.comic-slider {
    position: relative;
    display: flex;
    align-items: center; /* ←追加：中央揃えを安定化 */
    justify-content: center;
    padding: 0 20px;
}

.indicator {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    color: #004c8b;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

/* trial
-------------------------------------------------- */

.trial {
    position: relative;
    padding-top: 10rem;
    background-color: #0375bb;
    overflow: hidden;
}

.trial__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* 共通設定 */
.trial__bg-item {
    position: absolute;
    background: url("../img/common-logo.png") no-repeat center / contain;
    will-change: transform;

    /* ✅ 全部スピード統一 */
    animation: drift-bottom-to-top 10s linear infinite;
}

/* ✅ 左 → 右 に流す（全ロゴ共通） */
@keyframes drift-bottom-to-top {
    0%   { transform: translateY(100%); }
    100% { transform: translateY(-100vh); }
}

/* ✅ “均等に配置” ：top を等間隔にする
    ✅ “常に5つ見える” ：delay を均等にマイナスで散らす
    ✅ サイズも少しだけ変えて単調さを防ぐ（速度は同じ） */

.trial__bg-item.is-1 {
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    animation-delay: -0s;
}

.trial__bg-item.is-2 {
    bottom: 0;
    left: 20%;
    width: 160px;
    height: 160px;
    animation-delay: -3.2s; /* 26s / 5 */
}

.trial__bg-item.is-3 {
    bottom: 0;
    left: 50%;
    width: 240px;
    height: 240px;
    animation-delay: -0.8s;
}

.trial__bg-item.is-4 {
    bottom: 0;
    left: 70%;
    width: 140px;
    height: 140px;
    animation-delay: -1.2s;
}

.trial__bg-item.is-5 {
    bottom: 0;
    left: 90%;
    width: 190px;
    height: 190px;
    animation-delay: -4s;
}

.trial__inner {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 14rem;
}

.trial__title-color {
    color: #fff;
}

.trial__subtitle-color {
    color: #dbe9f3;
}

.trial__bg-text {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #4199cf;
    font-size: 11.1rem;
    font-weight: bold;
}

/* AI-bot */

/* 既存の固定位置指定を打ち消す */
.free-code .chat-container {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.free-code .chat-container.size-pc-medium.minimized iframe {
    width: 400px !important;
    height: 100px !important;
}

.free-code .chat-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* レンスポンシブ調整 */
@media (max-width: 900px) {
    .free-code__title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 600px) {
    .free-code .chat-container {
        width: 95% !important;
        height: 75vh;
    }
    .free-code .chat-container.size-pc-medium.minimized iframe {
        width: 100% !important;
    }
}

@media (max-width: 495px) {
    .free-code__title {
        font-size: 1.8rem;
    }
    .free-code .chat-container {
        height: 85vh;
    }
}

/* cta
-------------------------------------------------- */

.cta {
    padding: 6.8rem 0 10.8rem 0;
    background: linear-gradient(to right, #52d681, #09b7d9);
    text-align: center;
}

.cta-text {
    position: relative;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 2.4rem;
    color: #fff;
    font-weight: bold;
}

.cta-text::before,
.cta-text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 22px;
    height: 1px;
    background-color: #fff;
}

.cta-text::before {
    left: -30px;
    rotate: 70deg;
}

.cta-text::after {
    right: -30px;
    rotate: -70deg;
}

.cta-link {
    width: 50rem;
    padding: 2.4rem;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(to right, #f0400a, #ffc300);
    border: 2px solid #fff;
    border-radius: 10px;
    transition: all 0.3s;
}

.cta-link:hover {
    opacity: 0.7;
}

@media screen and (max-width: 767px) {

    .cta-text {
        font-size: 3.6rem;
    }

    .cta-link {
        width: 80%;
        padding: 20px;
        font-size: 3.6rem;
    }

}


/* flow
-------------------------------------------------- */

.flow {
    padding-top: 14.5rem;
}

.flow__inner {
    position: relative;
    max-width: 1040px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 14rem;
}

.flow__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    margin-bottom: 2rem;
}

.flow__item {
    position: relative;
    padding: 3.2rem 2.8rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 76, 124, 0.25);
}

.triangle-right {
    position: relative;
    height: 100%;
}

.triangle-right::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -13%;
    transform: translateY(-50%);
    z-index: 10;
    width: 3rem;
    height: 7rem;
    background-image: url("../img/icon-triangle.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.flow__item-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    color: #fff;
    font-size: 2.4rem;
    font-weight: bold;
    background-color: #0375bb;
    border-radius: 50%;
}

.flow__item-title {
    margin-bottom: 2.4rem;
    color: #0375bb;
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
}

.flow__item-text {
    color: #333;
    line-height: 1.5;
    text-align: center;
}

.flow__item-link {
    color: #4cabe5;
    text-decoration: underline;
}

.flow__bg-text {
    position: absolute;
    bottom: 0;
    right: -10%;
    color: #eaf4fa;
    font-size: 11.1rem;
    font-weight: bold;
}

@media screen and (max-width: 1370px) {
    .flow__bg-text {
        right: 0;
    }
}

@media screen and (max-width: 767px) {

    .flow__inner {
        padding-inline: 65px;
    }

    .flow__list {
        grid-template-columns: repeat(1, 1fr);
        gap: 45px;
    }

    .flow__item {
        padding: 30px;
    }

    .triangle-right::after {
        top: 20rem;
        right: calc(50% - 15px);
        transform: translateX(50%);
        width: 30px;
        height: 70px;
        rotate: 90deg;
    }

    .triangle-right-2::after {
        
    }

    .flow__item-number {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 6rem;
        height: 6rem;
        font-size: 4rem;
    }

    .flow__item-title {
        margin-bottom: 25px;
        font-size: 4.6rem;
    }

    .flow__item-text {
        font-size: 3.2rem;
    }

}

@media screen and (max-width: 571px) {

    .triangle-right::after {
        top: 19.5rem;
    }

    .triangle-right-2::after {
        top: 25.5rem;
    }

}

@media screen and (max-width: 400px) {

    .triangle-right::after {
        top: 21.5rem;
    }

    .triangle-right-2::after {
        top: 27.5rem;
    }

}


/* price
-------------------------------------------------- */

.price {
    padding-top: 14.4rem;
    background-color: #eaf4fa;
}

.price__inner {
    position: relative;
    max-width: 550px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 14rem;
}

.price__item {
    margin-bottom: 3.2rem;
}

.price__item-title {
    padding: 1.6rem 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    background-color: #0375bb;
    border: 3px solid #0375bb;
    border-radius: 30px 30px 0 0;
    text-align: center;
}

.price__item-content {
    padding: 4rem;
    background-color: #fff;
    border: 3px solid #0375bb;
    border-radius: 0 0 30px 30px;
    text-align: center;
}

.price__content-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.price__content-price-label {
    padding: 1.6rem 2.4rem;
    color: #fff;
    font-size: 2.4rem;
    font-weight: bold;
    background-color: #0375bb;
    border-radius: 10px;
}

.price__content-price-number {
    color: #333;
    font-size: 5.4rem;
    font-weight: bold;
}

.price__price-text-32px {
    font-size: 3.2rem;
}

.price__price-text-24px {
    font-size: 2.4rem;
}

.price__content-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.price__option-icon {
    width: 3.4rem;
    height: 3.4rem;
    background-image: url("../img/icon-plus.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.price__option-text {
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
}

.price__option-text span {
    font-size: 1.2rem;
    font-weight: 400;
}

.price__feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.price__feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
}

.price__feature-icon {
    width: 3.2rem;
    height: 3.2rem;
    background-image: url("../img/icon-check.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.price__link {
    width: 100%;
    margin-bottom: 4.4rem;
    padding: 2.4rem;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(to right, #f0400a, #ffc300);
    border: 2px solid #fff;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.price__link:hover {
    opacity: 0.7;
}

.price__bg-text {
    position: absolute;
    bottom: 0;
    left: -70%;
    color: #fff;
    font-size: 12rem;
    font-weight: bold;
}

@media screen and (max-width: 1370px) {
    .price__bg-text {
        left: 0;
    }
}

@media screen and (max-width: 767px) {

    .price__subtitle {
        font-size: 3rem;
    }

    .price__item-title {
        font-size: 3.6rem;
    }

    .price__content-price-label {
        font-size: 4rem;
    }

    .price__content-price-number {
        font-size: 10rem;
    }

    .price__price-text-32px {
        font-size: 6rem;
    }

    .price__price-text-24px {
        font-size: 4rem;
    }

    .price__option-icon {
        width: 6rem;
        height: 6rem;
    }

    .price__option-text {
        font-size: 3.6rem;
    }

    .price__option-text span {
        font-size: 2.4rem;
    }

    .price__feature {
        font-size: 2.8rem;
    }

    .price__feature-icon {
        width: 5rem;
        height: 5rem;
    }

    .price__link {
        font-size: 3.6rem;
    }

}


/* faq
-------------------------------------------------- */

.faq {
    padding-top: 14.4rem;
}

.faq__inner {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 14rem;
}

.faq__title {
    margin-bottom: 8rem;
}

.faq__accordion {
    margin-bottom: 2.4rem;
    padding: 3.2rem 4.8rem;
    background-color: #eaf4fa;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 76, 124, 0.25);
}

.faq__accordion-title {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    list-style: none;
    transition: all 0.3s;
}

.faq__accordion-title:hover .faq__accordion-question--ja {
    color: #0375bb;
    opacity: 0.7;
}

.faq__accordion-title::-webkit-details-marker {
    display: none;
}

.faq__accordion-question--en {
    color: #0375bb;
    font-size: 2.4rem;
    font-weight: bold;
}

.faq__accordion-question--ja {
    flex: 1;
    color: #333;
    font-size: 2.4rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.faq__accordion-icon {
    width: 3.3rem;
    height: 1.1rem;
    background-image: url("../img/icon-toggle.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

/* details が open のときにアイコン回転 */
.faq__accordion[open] .faq__accordion-icon {
    transform: rotate(0deg);
}


.faq__accordion-content {
    margin-top: 2.4rem;
    padding-inline: 4.2rem;
}

.faq__accordion-text {
    color: #000;
}

.faq__bg-text {
    position: absolute;
    bottom: 0;
    right: -25%;
    color: #eaf4fa;
    font-size: 12rem;
    font-weight: bold;
}

@media screen and (max-width: 1370px) {
    .faq__bg-text {
        right: 0;
    }
}

@media screen and (max-width: 767px) {

    .faq__accordion {
        margin-bottom: 5rem;
        padding: 3.2rem 2.4rem;
    }

    .faq__accordion-question--en {
        font-size: 3.6rem;
    }

    .faq__accordion-question--ja {
        font-size: 3.6rem;
    }

    .faq__accordion-text {
        font-size: 3.4rem;
    }

}


/* consultant
-------------------------------------------------- */

.consultant {
    padding-top: 14.4rem;
    background-color: #eaf4fa;
}

.consultant__inner {
    position: relative;
    max-width: 750px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 14rem;
}

.consultant__bg-text {
    position: absolute;
    bottom: 0;
    left: -40%;
    color: #fff;
    font-size: 10rem;
    font-weight: bold;
}

@media screen and (max-width: 1370px) {
    .consultant__bg-text {
        left: 0;
    }
}

/* timerex */

/* company
-------------------------------------------------- */

.company {
    padding-top: 14.4rem;
}

.company__inner {
    position: relative;
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 14rem;
}

.company__flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
}

.company__flex-item {
    width: 50%;
    min-height: 49.5rem;
    padding: 4.2rem 2.8rem 4.8rem 2.8rem;
    background: #fffaed;
    border-radius: 10px;
}

.company__item--top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    margin-bottom: 2.4rem;
}

.company__item--image {
    width: 8.8rem;
    height: 8.8rem;
}

.company__item--info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.company__item--name {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company__item-name--ja {
    color: #333;
    font-size: 2.4rem;
    font-weight: bold;
}

.company__item-name--en {
    color: #878787;
    font-size: 1.2rem;
}

.company__item--etc {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.company__item-position {
    padding: 0.8rem;
    color: #0375bb;
    background-color: #eaf4fa;
    border: 1px solid #0375bb;
    border-radius: 90px;
}

.company__item-account {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    color: #333;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.company__item-account:hover {
    color: #0375bb;
    opacity: 0.7;
}

.company__item-account-icon {
    width: 1.6rem;
    height: 1.6rem;
    background-image: url("../img/icon-x.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.company__item-text {
    color: #333;
    line-height: 1.5;
}

.company__bg-text {
    position: absolute;
    bottom: 0;
    right: -13%;
    color: #eaf4fa;
    font-size: 12rem;
    font-weight: bold;
}

@media screen and (max-width: 1370px) {
    .company__bg-text {
        right: 0;
    }
}

@media screen and (max-width: 767px) {

    .company__flex {
        flex-direction: column;
    }

    .company__flex-item {
        width: 100%;
        min-height: auto;
        padding: 35px;
    }

    .company__item--image {
        width: 18rem;
        height: 18rem;
    }

    .company__item-name--ja {
        font-size: 4rem;
    }

    .company__item-name--en {
        font-size: 2.4rem;
    }

    .company__item--etc {
        flex-direction: column;
        align-items: flex-start;
        font-size: 3.6rem;
    }

    .company__item-position {
        padding: 1.8rem;
        font-size: 2.8rem;
    }

    .company__item-account-icon {
        width: 3rem;
        height: 3rem;
    }

    .company__item-text {
        font-size: 3.4rem;
    }

}

/* pre-footer
-------------------------------------------------- */

.pre-footer {
    position: relative;
    padding: 7.2rem 0;
    background-color: #0375bb;
    overflow: hidden;
}

.pre-footer__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.pre-footer__bg-item {
    position: absolute;
    transform: translateX(-50%);
    background: url("../img/common-logo.png") no-repeat center / contain;
    will-change: transform;
}

.pre-footer__bg-item.is-1 {
    top: 10%;
    left: 1%;
    width: 100px;
    height: 100px;
}

.pre-footer__bg-item.is-2 {
    bottom: 5%;
    left: 15%;
    width: 60px;
    height: 60px;
}

.pre-footer__bg-item.is-3 {
    top: 15%;
    left: 46%;
    width: 50px;
    height: 50px;
}

.pre-footer__bg-item.is-4 {
    top: 0%;
    right: 14%;
    width: 100px;
    height: 100px;
}

.pre-footer__bg-item.is-5 {
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
}

.pre-footer__inner {
    position: relative;
    z-index: 10;
    max-width: 980px;
    margin-inline: auto;
    padding-inline: 20px;
}

.pre-footer__flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
}

.pre-footer__item-img {
    width: 26.3rem;
}

.pre-footer__item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.2rem;
    flex: 1;
}

.pre-footer__item-title {
    color: #fff;
    font-size: 3.2rem;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}

.pre-footer__item-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.2rem;
}

.pre-footer__download {
    width: 30rem;
    padding: 2.4rem;
    color: #0375bb;
    font-weight: bold;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.pre-footer__download:hover {
    color: #0375bb;
    opacity: 0.7;
}

.pre-footer__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 30rem;
    padding: 2rem;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(to right, #f0400a, #ffc300);
    border: 2px solid #fff;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.pre-footer__contact:hover {
    opacity: 0.7;
}

.pre-footer__contact-icon {
    width: 2.4rem;
    height: 2.4rem;
    background-image: url("../img/icon-contact.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 767px) {

    .pre-footer__flex {
        flex-direction: column;
        gap: 35px;
    }

    .pre-footer__item-img {
        width: 80%;
    }

    .pre-footer__item-title {
        font-size: 4rem;
    }

    .pre-footer__item-button {
        flex-direction: column;
        gap: 25px;
    }

    .pre-footer__download {
        width: 45rem;
        padding: 2.4rem;
        font-size: 3.6rem;
    }

    .pre-footer__contact {
        width: 45rem;
        padding: 2rem;
        font-size: 3.6rem;
    }

    .pre-footer__contact-icon {
        width: 3rem;
        height: 3rem;
    }

}



/* footer
-------------------------------------------------- */

.footer {
    padding: 4.8rem 0;
    background-color: #00314f;
}

.footer__inner {
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: 20px;
}

.footer__flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copyright {
    color: #fff;
    font-size: 1.2rem;
}

.footer__nav {
    display: flex;
    align-items: center;
    gap: 3.2rem;
}

.footer__item {
    color: #fff;
    font-size: 1.2rem;
}

.footer__link {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease-in-out;
}

.footer__link:hover {
    opacity: 0.7;
}

@media screen and (max-width: 767px) {

    .footer {
        padding: 70px 0 25px 0;
    }

    .footer__flex {
        flex-direction: column;
        gap: 80px;
    }

    .footer__copyright {
        order: 2;
        font-size: 2.4rem;
    }

    .footer__nav {
        flex-direction: column;
        order: 1;
        gap: 25px;
    }

    .footer__item {
        font-size: 2.4rem;
    }

    .footer__link {
        font-size: 2.4rem;
    }
}